From 06e4e089bd1555f221966ada9833ee32adc63cfe Mon Sep 17 00:00:00 2001 From: jeremywiebe Date: Tue, 12 Nov 2024 18:34:21 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20Khan/per?= =?UTF-8?q?seus@592b41eea22573cf1b0ad424587f169f3ec97209=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/answer-choices.stories-kkYIrtgR.js | 2 +- assets/article-editor.stories-vAQRmXTk.js | 2 +- assets/article-renderer-HHw6mvZH.js | 2 +- assets/article-renderer.stories-_fAZUBcr.js | 2 +- assets/base-radio.stories-hOlftvr6.js | 2 +- assets/behavior.stories-Jb0nDYNN.js | 2 +- assets/categorizer-editor.stories-zvQf5qzF.js | 2 +- assets/categorizer.stories-U0XPRHA9.js | 2 +- assets/choice-I73s7vIV.js | 2 +- assets/choice-none-above.stories-mwphnDnG.js | 2 +- assets/choice.stories-8Al8ddbo.js | 2 +- assets/color-select.stories-CjA_rMv_.js | 2 +- assets/color-swatch.stories-9OHS1D-H.js | 2 +- assets/content-preview.stories-JlkBM8qF.js | 2 +- assets/cs-program.stories-Hs3R7Zno.js | 2 +- assets/definition-editor.stories-b7zfPU2h.js | 2 +- assets/definition.stories-qYzT6tjf.js | 2 +- assets/deprecated-standin.stories-UKVT6SfW.js | 2 +- assets/dropdown-editor.stories-HM2okDep.js | 2 +- assets/dropdown.stories-5bKlSHTr.js | 2 +- assets/editor-page.stories-TQy8jC5s.js | 2 +- assets/editor.stories-M1tQvs_8.js | 2 +- assets/explanation-editor.stories-t23BbThw.js | 2 +- assets/explanation.stories-x4k60bN8.js | 2 +- assets/expression-editor.stories-jT1kvkVk.js | 2 +- assets/expression.stories-Zq3u729j.js | 2 +- assets/full-keypad.stories-Rwy66K-l.js | 2 +- assets/full-mobile-input.stories-jwUl9wLW.js | 2 +- assets/graded-group-set.stories-kzlzz78_.js | 2 +- assets/graded-group.stories-eKKm_Jqy.js | 2 +- assets/graph-settings.stories-Gel_A3Jm.js | 2 +- assets/grapher.stories-8_Vaef-F.js | 2 +- assets/graphie.stories-cARQJrHq.js | 2 +- assets/group.stories-TjnFklj5.js | 2 +- assets/iframe-NuRA7b3O.js | 2 +- assets/iframe.stories-TfS3d_iY.js | 2 +- assets/image-editor.stories-BHe0vbGh.js | 2 +- assets/image.stories-5HtbntN1.js | 2 +- .../input-number-editor.stories-_Y9DcBg1.js | 2 +- assets/input-number.stories-Iqu61V0x.js | 2 +- assets/interaction-editor.stories-JRM5mHpo.js | 2 +- assets/interaction.stories-Z_LwwSF_.js | 2 +- ...teractive-graph-editor.stories-K38bkhhY.js | 2 +- ...teractive-graph-editor.stories-VPBlQJOs.js | 2 +- ...ractive-graph-settings.stories-8xbUVR8u.js | 2 +- assets/interactive-graph.stories-JdSGcGW5.js | 2 +- assets/item-X9tjzx12.js | 2 +- assets/item-editor.stories-Mqq5n0pv.js | 2 +- assets/keypad-button-rKskH7oM.js | 2 +- assets/keypad-button.stories-tDGMB8WS.js | 2 +- assets/keypad-mathquill.stories-anFRYGcO.js | 2 +- assets/keypad-pages.stories-UYZo0hoJ.js | 2 +- assets/label-image-editor.stories-ziMT1NPm.js | 2 +- assets/label-image.stories-RcCbc0DS.js | 2 +- ...ocked-ellipse-settings.stories-QJ2hV1JI.js | 2 +- ...locked-figures-section.stories-sWPQn6Cv.js | 2 +- ...cked-function-settings.stories-DziG6F_S.js | 2 +- assets/locked-functions.stories-haTk3GIx.js | 2 +- .../locked-label-settings.stories-vgigZlp3.js | 2 +- .../locked-line-settings.stories-MlcAZ4Qe.js | 2 +- .../locked-point-settings.stories-hrM-9C8k.js | 2 +- ...ocked-polygon-settings.stories-EDEmE--3.js | 2 +- ...locked-vector-settings.stories-L6i9CDNV.js | 2 +- assets/marker.stories-trCGe7a6.js | 2 +- assets/matcher-editor.stories-IoTXWeVR.js | 2 +- assets/matcher.stories-VSohpxqD.js | 2 +- assets/math-input-JZMGF6RZ.js | 2 +- assets/math-input.stories-OWlCE0fl.js | 2 +- assets/matrix.stories-3CaPxNsR.js | 2 +- assets/multi-renderer.stories-nHsX3iNz.js | 2 +- assets/navigation-pad-ss7r0FKW.js | 2 +- assets/navigation-pad.stories-qTnieBG4.js | 2 +- assets/number-line-editor.stories-dWQiKTpZ.js | 2 +- assets/number-line.stories-InwcUeQf.js | 2 +- .../numeric-input-editor.stories-gPHCmh3r.js | 2 +- assets/numeric-input.stories-N0mA1UvX.js | 2 +- assets/orderer.stories-TT5mT_qv.js | 2 +- assets/passage-ref.stories-rKZIeybh.js | 2 +- assets/passage.stories-xZzvfX73.js | 2 +- ...phet-simulation-editor.stories-Tc7zzF3e.js | 2 +- assets/plotter.stories-aIZfL8Zi.js | 2 +- assets/preview-YxkJo6n2.js | 2 +- .../python-program-editor.stories-W6xwBFiC.js | 2 +- assets/python-program.stories-nHJsBCoe.js | 2 +- assets/question-markers.stories-z8gmXEvR.js | 2 +- assets/radio-editor.stories-6GhFswye.js | 2 +- assets/radio.stories-0XscglXh.js | 2 +- ...section-control-button.stories--fxR7ngO.js | 2 +- assets/select-image.stories-QfaFTweM.js | 2 +- .../server-item-renderer.stories--DPn5_9j.js | 2 +- .../simple-keypad-input.stories-7zCo_AQF.js | 2 +- assets/sorter-editor.stories-36exoH82.js | 2 +- assets/sorter.stories-tFtUI76Y.js | 2 +- .../structured-item-diff.stories-PGUNi6sb.js | 2 +- assets/tabbar.stories-XOe59aSK.js | 2 +- assets/tabbaritem.stories-mdibAqRo.js | 2 +- assets/tags-diff.stories-miDpoYze.js | 2 +- assets/text-diff.stories-L9HXTKEw.js | 2 +- assets/video.stories-W_qKcuDL.js | 2 +- assets/viewport-resizer.stories-K8MlXKfV.js | 2 +- preview-stats.json | 5406 ++++++++--------- project.json | 2 +- 102 files changed, 2804 insertions(+), 2804 deletions(-) diff --git a/assets/answer-choices.stories-kkYIrtgR.js b/assets/answer-choices.stories-kkYIrtgR.js index de990a49b9..d53a461455 100644 --- a/assets/answer-choices.stories-kkYIrtgR.js +++ b/assets/answer-choices.stories-kkYIrtgR.js @@ -1,4 +1,4 @@ -import{j as o}from"./jsx-runtime-FVsy8kgq.js";import{a as y}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{l as C}from"./index-awljIyHI.js";import{r as S}from"./index-TT1qJ6UJ.js";import{A as v}from"./answer-choices-AZkfMHUH.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./form-wrapped-text-field-A2kf-LD-.js";import"./global-colors-VIVU4Od4.js";const ut={title:"PerseusEditor/Widgets/Label Image/Answer Choices"},E=C.StyleSheet.create({wrapper:{width:338}}),s=r=>o("div",{className:C.css(E.wrapper),children:o(v,{...r,onChange:(...t)=>{y("onChange")(...t),r.onChange(...t)}})});class N extends S.Component{constructor(){super(...arguments),this.state={choices:[]}}render(){const{choices:t}=this.state;return o(s,{choices:t,onChange:m=>this.setState({choices:m})})}}const i=r=>o(s,{...{choices:[],onChange:(...m)=>{}}}),e=r=>o(s,{...{choices:["Lamborghini","BMW","Volkswagen","Fiat","Porsche","Ferrari"],onChange:(...m)=>{}}}),p=r=>o(N,{});i.__docgenInfo={description:"",methods:[],displayName:"EmptyNonInteractive"};e.__docgenInfo={description:"",methods:[],displayName:"FilledNonInteractive"};p.__docgenInfo={description:"",methods:[],displayName:"Interactive"};var a,n,c;i.parameters={...i.parameters,docs:{...(a=i.parameters)==null?void 0:a.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { +import{j as o}from"./jsx-runtime-FVsy8kgq.js";import{a as y}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{l as C}from"./index-awljIyHI.js";import{r as S}from"./index-TT1qJ6UJ.js";import{A as v}from"./answer-choices-AZkfMHUH.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./form-wrapped-text-field-A2kf-LD-.js";import"./global-colors-VIVU4Od4.js";const ut={title:"PerseusEditor/Widgets/Label Image/Answer Choices"},E=C.StyleSheet.create({wrapper:{width:338}}),s=r=>o("div",{className:C.css(E.wrapper),children:o(v,{...r,onChange:(...t)=>{y("onChange")(...t),r.onChange(...t)}})});class N extends S.Component{constructor(){super(...arguments),this.state={choices:[]}}render(){const{choices:t}=this.state;return o(s,{choices:t,onChange:m=>this.setState({choices:m})})}}const i=r=>o(s,{...{choices:[],onChange:(...m)=>{}}}),e=r=>o(s,{...{choices:["Lamborghini","BMW","Volkswagen","Fiat","Porsche","Ferrari"],onChange:(...m)=>{}}}),p=r=>o(N,{});i.__docgenInfo={description:"",methods:[],displayName:"EmptyNonInteractive"};e.__docgenInfo={description:"",methods:[],displayName:"FilledNonInteractive"};p.__docgenInfo={description:"",methods:[],displayName:"Interactive"};var a,n,c;i.parameters={...i.parameters,docs:{...(a=i.parameters)==null?void 0:a.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { const props = ({ choices: [], onChange: (...args) => {} diff --git a/assets/article-editor.stories-vAQRmXTk.js b/assets/article-editor.stories-vAQRmXTk.js index 333547a94e..e27189ab9b 100644 --- a/assets/article-editor.stories-vAQRmXTk.js +++ b/assets/article-editor.stories-vAQRmXTk.js @@ -1,4 +1,4 @@ -import{a as d,F as u,j as r}from"./jsx-runtime-FVsy8kgq.js";import"./article-renderer-HHw6mvZH.js";import"./jquery-yG1GhClm.js";import"./util-F8-MDmsT.js";import"./phet-simulation-qZOVvVJP.js";import"./version-akiLXZts.js";import"./dependencies-d8cZibFS.js";import{A as f}from"./perseus-api-Nq3s7IMx.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./renderer-6wjvxpTF.js";import"./base-radio-m6RczYwQ.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./svg-image-4Vh9uTQ6.js";import"./hud-4BOtaFc1.js";import"./icon-R5gZamfG.js";import"./index-K9BSJPWl.js";import"./inline-icon-NjJlm7d0.js";import"./math-input-JZMGF6RZ.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./text-input-15gEhfDF.js";import"./text-list-editor-Jz35fIN1.js";import"./index-k-0mNqHS.js";import"./i18n-context-P5sgPFep.js";import"./index-IIMKO4_x.js";import{r as i}from"./index-TT1qJ6UJ.js";import{A as g}from"./article-editor-1oiBkyK2.js";import{r as h}from"./register-all-widgets-and-editors-for-testing-JM_52AK4.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./index-h_CiYGGb.js";import"./index-dnMhQZ-1.js";import"./input-with-examples-il70I6Ir.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./icon-paths-5JCXzGsq.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./shared-4TdECMLk.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./Popper-kGnKOid7.js";import"./answer-choices-G9U2Ia5j.js";import"./index-xuPsLuPk.js";import"./minus-bold-ONmDo3Ve.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./asset-context-I7yIqWki.js";import"./tiny-invariant-bHgPayXn.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./video-transcript-link-MKIRfGVo.js";import"./arrow-square-out-bold-090vdhrx.js";import"./stub-tag-editor-74YQ4o9G.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./choice-none-above-kJRmN7Nm.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./index-QCAhLhLD.js";import"./bundle.esm-7jAAHVxW.js";import"./components-yT7oveOH.js";import"./device-framer-eGajQcXC.js";import"./constants-p_UgHLsb.js";import"./section-control-button-vQyzwRZ4.js";import"./index-tFzzSRL2.js";import"./editor-cnaLgEab.js";import"./index-fuycm_QE.js";import"./index-0C4KXdeC.js";import"./index-SM3muJE2.js";import"./icon-paths-EoBkHOLI.js";import"./tex-error-view-Y2BSLjwB.js";import"./toggleable-caret-lFiCktzo.js";import"./categorizer-editor-kqwa18UH.js";import"./editor-jsonify-WkTEQia9.js";import"./blur-input-hjJsfoK9.js";import"./definition-editor-aDxWnBk6.js";import"./dropdown-editor-ZTJVO7bh.js";import"./explanation-editor-4Trz12sz.js";import"./expression-editor-tuy9wQAn.js";import"./graph-settings-Mbta6LHt.js";import"./image-editor-2dlEqrx6.js";import"./input-number-editor-Ilx_eLUz.js";import"./index-Cp703TN-.js";import"./interactive-graph-editor-Mi3BWbQ2.js";import"./heading-8aCiuWUg.js";import"./interactive-graph-settings-1wZZGu7U.js";import"./locked-figures-section-rXMZLdUH.js";import"./locked-ellipse-settings-GZN1lNrc.js";import"./locked-figure-aria-mxtuWC2p.js";import"./scrollless-number-text-field-U5Bx_xXb.js";import"./util-qk2aeK8X.js";import"./locked-label-settings-XMKrDtPv.js";import"./color-select-Xh8LIYQw.js";import"./util-EIbodz9l.js";import"./line-stroke-select-OYlhdy6-.js";import"./locked-function-settings-I4_zr2ES.js";import"./line-swatch-O74cEI5A.js";import"./locked-line-settings-QDeW1LoV.js";import"./locked-point-settings-wAoKZaB8.js";import"./labeled-switch-zVOryGbL.js";import"./locked-polygon-settings-FI5GR0gw.js";import"./locked-vector-settings-VEpB_970.js";import"./label-image-editor-5i-CRSxH.js";import"./form-wrapped-text-field-A2kf-LD-.js";import"./global-colors-VIVU4Od4.js";import"./answer-choices-AZkfMHUH.js";import"./behavior-i1Yr0m7G.js";import"./question-markers-u6WvyWqg.js";import"./marker-9Sjiskse.js";import"./select-image-1nPhQNuF.js";import"./matcher-editor-PqRjEL6H.js";import"./number-line-editor-ZyufmhvC.js";import"./numeric-input-editor-DxBZYkog.js";import"./phet-simulation-editor-_qNrTNuz.js";import"./python-program-editor-otiNFbeA.js";import"./editor-fBCZKp66.js";import"./sorter-editor-s1FSGhza.js";h();const so={title:"PerseusEditor/ArticleEditor"},t=()=>{const[s,n]=i.useState(),o=i.useRef();function a(c){n(c.json)}function l(){console.log(o.current.serialize())}return d(u,{children:[r("button",{onClick:l,children:"Serialize"}),r("hr",{}),r(g,{apiOptions:f.defaults,imageUploader:()=>{},json:s,onChange:a,previewURL:"/perseus/frame",ref:o})]})};t.__docgenInfo={description:"",methods:[],displayName:"Base"};var p,m,e;t.parameters={...t.parameters,docs:{...(p=t.parameters)==null?void 0:p.docs,source:{originalSource:`(): React.ReactElement => { +import{a as d,F as u,j as r}from"./jsx-runtime-FVsy8kgq.js";import"./article-renderer-HHw6mvZH.js";import"./jquery-yG1GhClm.js";import"./util-F8-MDmsT.js";import"./phet-simulation-qZOVvVJP.js";import"./version-akiLXZts.js";import"./dependencies-d8cZibFS.js";import{A as f}from"./perseus-api-Nq3s7IMx.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./renderer-6wjvxpTF.js";import"./base-radio-m6RczYwQ.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./svg-image-4Vh9uTQ6.js";import"./hud-4BOtaFc1.js";import"./icon-R5gZamfG.js";import"./index-K9BSJPWl.js";import"./inline-icon-NjJlm7d0.js";import"./math-input-JZMGF6RZ.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./text-input-15gEhfDF.js";import"./text-list-editor-Jz35fIN1.js";import"./index-k-0mNqHS.js";import"./i18n-context-P5sgPFep.js";import"./index-IIMKO4_x.js";import{r as i}from"./index-TT1qJ6UJ.js";import{A as g}from"./article-editor-1oiBkyK2.js";import{r as h}from"./register-all-widgets-and-editors-for-testing-JM_52AK4.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./index-h_CiYGGb.js";import"./index-dnMhQZ-1.js";import"./input-with-examples-il70I6Ir.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./icon-paths-5JCXzGsq.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./shared-4TdECMLk.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./Popper-kGnKOid7.js";import"./answer-choices-G9U2Ia5j.js";import"./index-xuPsLuPk.js";import"./minus-bold-ONmDo3Ve.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./asset-context-I7yIqWki.js";import"./tiny-invariant-bHgPayXn.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./video-transcript-link-MKIRfGVo.js";import"./arrow-square-out-bold-090vdhrx.js";import"./stub-tag-editor-74YQ4o9G.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./choice-none-above-kJRmN7Nm.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./index-QCAhLhLD.js";import"./bundle.esm-7jAAHVxW.js";import"./components-yT7oveOH.js";import"./device-framer-eGajQcXC.js";import"./constants-p_UgHLsb.js";import"./section-control-button-vQyzwRZ4.js";import"./index-tFzzSRL2.js";import"./editor-cnaLgEab.js";import"./index-fuycm_QE.js";import"./index-0C4KXdeC.js";import"./index-SM3muJE2.js";import"./icon-paths-EoBkHOLI.js";import"./tex-error-view-Y2BSLjwB.js";import"./toggleable-caret-lFiCktzo.js";import"./categorizer-editor-kqwa18UH.js";import"./editor-jsonify-WkTEQia9.js";import"./blur-input-hjJsfoK9.js";import"./definition-editor-aDxWnBk6.js";import"./dropdown-editor-ZTJVO7bh.js";import"./explanation-editor-4Trz12sz.js";import"./expression-editor-tuy9wQAn.js";import"./graph-settings-Mbta6LHt.js";import"./image-editor-2dlEqrx6.js";import"./input-number-editor-Ilx_eLUz.js";import"./index-Cp703TN-.js";import"./interactive-graph-editor-Mi3BWbQ2.js";import"./heading-8aCiuWUg.js";import"./interactive-graph-settings-1wZZGu7U.js";import"./locked-figures-section-rXMZLdUH.js";import"./locked-ellipse-settings-GZN1lNrc.js";import"./locked-figure-aria-mxtuWC2p.js";import"./scrollless-number-text-field-U5Bx_xXb.js";import"./util-qk2aeK8X.js";import"./locked-label-settings-XMKrDtPv.js";import"./color-select-Xh8LIYQw.js";import"./util-EIbodz9l.js";import"./line-stroke-select-OYlhdy6-.js";import"./locked-function-settings-I4_zr2ES.js";import"./line-swatch-O74cEI5A.js";import"./locked-line-settings-QDeW1LoV.js";import"./locked-point-settings-wAoKZaB8.js";import"./labeled-switch-zVOryGbL.js";import"./locked-polygon-settings-FI5GR0gw.js";import"./locked-vector-settings-VEpB_970.js";import"./label-image-editor-5i-CRSxH.js";import"./form-wrapped-text-field-A2kf-LD-.js";import"./global-colors-VIVU4Od4.js";import"./answer-choices-AZkfMHUH.js";import"./behavior-i1Yr0m7G.js";import"./question-markers-u6WvyWqg.js";import"./marker-9Sjiskse.js";import"./select-image-1nPhQNuF.js";import"./matcher-editor-PqRjEL6H.js";import"./number-line-editor-ZyufmhvC.js";import"./numeric-input-editor-DxBZYkog.js";import"./phet-simulation-editor-_qNrTNuz.js";import"./python-program-editor-otiNFbeA.js";import"./editor-fBCZKp66.js";import"./sorter-editor-s1FSGhza.js";h();const so={title:"PerseusEditor/ArticleEditor"},t=()=>{const[s,n]=i.useState(),o=i.useRef();function a(c){n(c.json)}function l(){console.log(o.current.serialize())}return d(u,{children:[r("button",{onClick:l,children:"Serialize"}),r("hr",{}),r(g,{apiOptions:f.defaults,imageUploader:()=>{},json:s,onChange:a,previewURL:"/perseus/frame",ref:o})]})};t.__docgenInfo={description:"",methods:[],displayName:"Base"};var p,m,e;t.parameters={...t.parameters,docs:{...(p=t.parameters)==null?void 0:p.docs,source:{originalSource:`(): React.ReactElement => { const [state, setState] = useState(); const articleEditorRef = useRef(); function handleChange(value) { diff --git a/assets/article-renderer-HHw6mvZH.js b/assets/article-renderer-HHw6mvZH.js index 87456cd9f2..bfbb1d8608 100644 --- a/assets/article-renderer-HHw6mvZH.js +++ b/assets/article-renderer-HHw6mvZH.js @@ -1,4 +1,4 @@ -import{a as f,j as u,F as M}from"./jsx-runtime-FVsy8kgq.js";import{P as _e,E as we,p as cr,g as $r,K as Ge,U as L,e as Yn,D as Go,h as za,t as Bo,c as Ko}from"./util-F8-MDmsT.js";import{M as Yo}from"./prop-types-SKtvHVtl.js";import"./key-translator-Bl2XtQm9.js";import"./mobile-keypad-wPUeR8mM.js";import"./button-assets-txIojR3b.js";import{K as Jo}from"./enums-x5qaTru7.js";import{l as Y,S as V,R as K,P as Na,D as Xo,k as Jn,J as Qo,p as Zo}from"./renderer-6wjvxpTF.js";import{V as G,U as el,c as rl,d as tl,b as Di,u as Vi,_ as en}from"./index-6h5t6F0w.js";import{T as Xn}from"./index-K9BSJPWl.js";import{b as Ea,a as Hi}from"./index-h_CiYGGb.js";import{l as j}from"./index-awljIyHI.js";import{c as je}from"./index-dnMhQZ-1.js";import{r as v,R as Gi}from"./index-TT1qJ6UJ.js";import{R as B,r as Tr}from"./index-7vsPyIck.js";import{_ as g,$ as P}from"./jquery-yG1GhClm.js";import{P as S,u as Fr}from"./i18n-context-P5sgPFep.js";import{a as St,M as nl}from"./math-input-JZMGF6RZ.js";import{u as Qn,g as qe,D as al}from"./dependencies-d8cZibFS.js";import"./version-akiLXZts.js";import{P as il}from"./index-k-0mNqHS.js";import{A as he,C as $e}from"./perseus-api-Nq3s7IMx.js";import{L as Zn,a as J,r as sl,K as W,s as La,b as Ir,I as z,S as Ur,W as zr,c as ol,d as Mt,f as ir,v as sr,p as ll,g as ul,h as Bi,i as ot,j as lt,k as Ki,e as dl,n as ee,q as Bt,t as _a,u as We,w as Pa,x as yl,y as $a,z as ml,G as Or,A as Fa,C as gl,B as ea}from"./svg-image-4Vh9uTQ6.js";import{s as de,c as N,a as hl,b as pl}from"./index-deFLJwr4.js";import{I as Yi}from"./input-with-examples-il70I6Ir.js";import{S as Sr}from"./simple-keypad-input-LEkrmlga.js";import{B as cl}from"./base-radio-m6RczYwQ.js";import{I as or}from"./inline-icon-NjJlm7d0.js";import{d as bl,e as vl,f as wl,g as fl,h as kl,j as ql}from"./icon-paths-5JCXzGsq.js";import{m as rn}from"./media-queries-gbofTbz-.js";import{s as Ua}from"./shared-4TdECMLk.js";import{u as Tl,n as Be,s as Le,g as ut,v as Ji,e as Al,i as Xi}from"./constants-iPV6vHZm.js";import{g as Xe,B as Rl,a as Ol}from"./phet-simulation-qZOVvVJP.js";import{C as ra}from"./index-2dmvOE3q.js";import{P as xl,a as jl}from"./index-BPSWBbj5.js";import{O as Sa,S as Wl,A as Cl}from"./answer-choices-G9U2Ia5j.js";import{B as xe}from"./choice-I73s7vIV.js";import{B as Il}from"./button-group-nsoLlHtM.js";import{c as ta}from"./asset-context-I7yIqWki.js";import{c as Hr,g as zl}from"./_commonjsHelpers-4gQjN7DL.js";import{G as Nl}from"./graph-2fIs0C28.js";import{w as Fe}from"./index-J2t_5nK1.js";import{v as R,C as El,E as Ll,P as dt,a as yt,L as Ma,b as Nr,T as _l,u as Pl,c as Qi,M as Da}from"./index-IIMKO4_x.js";import"./hud-4BOtaFc1.js";import"./icon-R5gZamfG.js";import"./multi-button-group-atHe8dYZ.js";import{N as Zi}from"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import{T as $l}from"./text-input-15gEhfDF.js";import"./text-list-editor-Jz35fIN1.js";import{i as ie}from"./tiny-invariant-bHgPayXn.js";import{m as Fl,c as Ul,u as Sl,a as Ml,T as Dl}from"./index-rfN0X25E.js";import{M as Vl}from"./marker-06uReQHz.js";import{S as tn}from"./sortable-9Lw4jI0B.js";import{F as Hl}from"./fixed-to-responsive-AkRQxH3P.js";import{V as Gl}from"./video-transcript-link-MKIRfGVo.js";const Bl=["PLUS","MINUS","NEGATIVE","TIMES","DIVIDE","DECIMAL","PERIOD","PERCENT","CDOT","EQUAL","NEQ","GT","LT","GEQ","LEQ","FRAC_INCLUSIVE","FRAC_EXCLUSIVE","FRAC","EXP","EXP_2","EXP_3","SQRT","CUBE_ROOT","RADICAL","LEFT_PAREN","RIGHT_PAREN","LN","LOG","LOG_N","SIN","COS","TAN","PI","THETA","UP","RIGHT","DOWN","LEFT","BACKSPACE","DISMISS","JUMP_OUT_PARENTHESES","JUMP_OUT_EXPONENT","JUMP_OUT_BASE","JUMP_INTO_NUMERATOR","JUMP_OUT_NUMERATOR","JUMP_OUT_DENOMINATOR","NUM_0","NUM_1","NUM_2","NUM_3","NUM_4","NUM_5","NUM_6","NUM_7","NUM_8","NUM_9","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],Kl=["key","ref","containerSizeClass","widgetId","onChange","problemNum","apiOptions","widgetIsOpen","questionCompleted","findWidgets","onRemove","id","onBlur","onFocus","trackInteraction","keypadElement"],Yl=`Usage: +import{a as f,j as u,F as M}from"./jsx-runtime-FVsy8kgq.js";import{P as _e,E as we,p as cr,g as $r,K as Ge,U as L,e as Yn,D as Go,h as za,t as Bo,c as Ko}from"./util-F8-MDmsT.js";import{M as Yo}from"./prop-types-SKtvHVtl.js";import"./key-translator-Bl2XtQm9.js";import"./mobile-keypad-wPUeR8mM.js";import"./button-assets-txIojR3b.js";import{K as Jo}from"./enums-x5qaTru7.js";import{l as Y,S as V,R as K,P as Na,D as Xo,k as Jn,J as Qo,p as Zo}from"./renderer-6wjvxpTF.js";import{V as G,U as el,c as rl,d as tl,b as Di,u as Vi,_ as en}from"./index-6h5t6F0w.js";import{T as Xn}from"./index-K9BSJPWl.js";import{b as Ea,a as Hi}from"./index-h_CiYGGb.js";import{l as j}from"./index-awljIyHI.js";import{c as je}from"./index-dnMhQZ-1.js";import{r as v,R as Gi}from"./index-TT1qJ6UJ.js";import{R as B,r as Tr}from"./index-7vsPyIck.js";import{_ as g,$ as P}from"./jquery-yG1GhClm.js";import{P as S,u as Fr}from"./i18n-context-P5sgPFep.js";import{a as St,M as nl}from"./math-input-JZMGF6RZ.js";import{u as Qn,g as qe,D as al}from"./dependencies-d8cZibFS.js";import"./version-akiLXZts.js";import{P as il}from"./index-k-0mNqHS.js";import{A as he,C as $e}from"./perseus-api-Nq3s7IMx.js";import{L as Zn,a as J,r as sl,K as W,s as La,b as Ir,I as z,S as Ur,W as zr,c as ol,d as Mt,f as ir,v as sr,p as ll,g as ul,h as Bi,i as ot,j as lt,k as Ki,e as dl,n as ee,q as Bt,t as _a,u as We,w as Pa,x as yl,y as $a,z as ml,G as Or,A as Fa,C as gl,B as ea}from"./svg-image-4Vh9uTQ6.js";import{s as de,c as N,a as hl,b as pl}from"./index-deFLJwr4.js";import{I as Yi}from"./input-with-examples-il70I6Ir.js";import{S as Sr}from"./simple-keypad-input-LEkrmlga.js";import{B as cl}from"./base-radio-m6RczYwQ.js";import{I as or}from"./inline-icon-NjJlm7d0.js";import{d as bl,e as vl,f as wl,g as fl,h as kl,j as ql}from"./icon-paths-5JCXzGsq.js";import{m as rn}from"./media-queries-gbofTbz-.js";import{s as Ua}from"./shared-4TdECMLk.js";import{u as Tl,n as Be,s as Le,g as ut,v as Ji,e as Al,i as Xi}from"./constants-iPV6vHZm.js";import{g as Xe,B as Rl,a as Ol}from"./phet-simulation-qZOVvVJP.js";import{C as ra}from"./index-WNT3sUKf.js";import{P as xl,a as jl}from"./index-BPSWBbj5.js";import{O as Sa,S as Wl,A as Cl}from"./answer-choices-G9U2Ia5j.js";import{B as xe}from"./choice-I73s7vIV.js";import{B as Il}from"./button-group-nsoLlHtM.js";import{c as ta}from"./asset-context-I7yIqWki.js";import{c as Hr,g as zl}from"./_commonjsHelpers-4gQjN7DL.js";import{G as Nl}from"./graph-2fIs0C28.js";import{w as Fe}from"./index-J2t_5nK1.js";import{v as R,C as El,E as Ll,P as dt,a as yt,L as Ma,b as Nr,T as _l,u as Pl,c as Qi,M as Da}from"./index-IIMKO4_x.js";import"./hud-4BOtaFc1.js";import"./icon-R5gZamfG.js";import"./multi-button-group-atHe8dYZ.js";import{N as Zi}from"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import{T as $l}from"./text-input-15gEhfDF.js";import"./text-list-editor-Jz35fIN1.js";import{i as ie}from"./tiny-invariant-bHgPayXn.js";import{m as Fl,c as Ul,u as Sl,a as Ml,T as Dl}from"./index-rfN0X25E.js";import{M as Vl}from"./marker-06uReQHz.js";import{S as tn}from"./sortable-9Lw4jI0B.js";import{F as Hl}from"./fixed-to-responsive-AkRQxH3P.js";import{V as Gl}from"./video-transcript-link-MKIRfGVo.js";const Bl=["PLUS","MINUS","NEGATIVE","TIMES","DIVIDE","DECIMAL","PERIOD","PERCENT","CDOT","EQUAL","NEQ","GT","LT","GEQ","LEQ","FRAC_INCLUSIVE","FRAC_EXCLUSIVE","FRAC","EXP","EXP_2","EXP_3","SQRT","CUBE_ROOT","RADICAL","LEFT_PAREN","RIGHT_PAREN","LN","LOG","LOG_N","SIN","COS","TAN","PI","THETA","UP","RIGHT","DOWN","LEFT","BACKSPACE","DISMISS","JUMP_OUT_PARENTHESES","JUMP_OUT_EXPONENT","JUMP_OUT_BASE","JUMP_INTO_NUMERATOR","JUMP_OUT_NUMERATOR","JUMP_OUT_DENOMINATOR","NUM_0","NUM_1","NUM_2","NUM_3","NUM_4","NUM_5","NUM_6","NUM_7","NUM_8","NUM_9","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],Kl=["key","ref","containerSizeClass","widgetId","onChange","problemNum","apiOptions","widgetIsOpen","questionCompleted","findWidgets","onRemove","id","onBlur","onFocus","trackInteraction","keypadElement"],Yl=`Usage: this.change({propName: 5}, callback); this.change("propName", 5, callback); this.change("propName")`,es=function(r,e,t){const n=g.omit(r.props,Kl),a=g.extend(n,e);r.props.onChange(a,t)},rs=function(r,e,t,n){if(t===void 0)return g.partial(rs,r,e);const a={};a[e]=t,es(r,a,n)},ne=function(r,e,t){if(g.isObject(r)&&t===void 0)return t=e,es(this,r,t);if(typeof r=="string")return rs(this,r,e,t);throw new _e("Invalid types sent to this.change(): "+g.toArray(arguments).join()+` diff --git a/assets/article-renderer.stories-_fAZUBcr.js b/assets/article-renderer.stories-_fAZUBcr.js index 232d33e8b5..f3c3738407 100644 --- a/assets/article-renderer.stories-_fAZUBcr.js +++ b/assets/article-renderer.stories-_fAZUBcr.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-FVsy8kgq.js";import{a as _}from"./mobile-keypad-wPUeR8mM.js";import{a as j}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{s as p}from"./test-dependencies-QSTpbU20.js";import{s as k,m as M,p as W,a as T,b as D}from"./article-renderer.testdata-spwNviYy.js";import{A as m}from"./article-renderer-HHw6mvZH.js";import{T as b}from"./test-keypad-context-wrapper-3gH8DCC_.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";import"./renderer-6wjvxpTF.js";import"./version-akiLXZts.js";import"./util-F8-MDmsT.js";import"./jquery-yG1GhClm.js";import"./invariant-bu5zBsRS.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./prop-types-SKtvHVtl.js";import"./enums-x5qaTru7.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";const Rr={title:"Perseus/Renderers/Article Renderer",argTypes:{useNewStyles:{control:"boolean"}}},t=e=>r(m,{json:k,dependencies:p,useNewStyles:e.useNewStyles}),o=e=>r(m,{json:M,dependencies:p,useNewStyles:e.useNewStyles}),i=({useNewStyles:e})=>r(m,{json:W,dependencies:p,useNewStyles:e}),s=({useNewStyles:e})=>r(b,{children:r(_.Consumer,{children:({keypadElement:a,setRenderer:c})=>r(m,{ref:d=>{c(d)},json:T,dependencies:p,useNewStyles:e,apiOptions:{isMobile:!0,customKeypad:!0,onFocusChange:j("onFocusChange")},keypadElement:a})})}),n=({useNewStyles:e})=>r(b,{children:r(_.Consumer,{children:({keypadElement:a,setRenderer:c})=>r(m,{ref:d=>{c(d)},json:D,dependencies:p,useNewStyles:e,apiOptions:{isMobile:!0,customKeypad:!0},keypadElement:a})})});t.__docgenInfo={description:"",methods:[],displayName:"ASingleSectionArticle"};o.__docgenInfo={description:"",methods:[],displayName:"BMultiSectionArticle"};i.__docgenInfo={description:"",methods:[],displayName:"PassageArticle"};s.__docgenInfo={description:"",methods:[],displayName:"ExpressionArticle"};n.__docgenInfo={description:"",methods:[],displayName:"MultiSectionedExpressionArticle"};var l,u,y;t.parameters={...t.parameters,docs:{...(l=t.parameters)==null?void 0:l.docs,source:{originalSource:`(args: { +import{j as r}from"./jsx-runtime-FVsy8kgq.js";import{a as _}from"./mobile-keypad-wPUeR8mM.js";import{a as j}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{s as p}from"./test-dependencies-QSTpbU20.js";import{s as k,m as M,p as W,a as T,b as D}from"./article-renderer.testdata-spwNviYy.js";import{A as m}from"./article-renderer-HHw6mvZH.js";import{T as b}from"./test-keypad-context-wrapper-3gH8DCC_.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";import"./renderer-6wjvxpTF.js";import"./version-akiLXZts.js";import"./util-F8-MDmsT.js";import"./jquery-yG1GhClm.js";import"./invariant-bu5zBsRS.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./prop-types-SKtvHVtl.js";import"./enums-x5qaTru7.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";const Rr={title:"Perseus/Renderers/Article Renderer",argTypes:{useNewStyles:{control:"boolean"}}},t=e=>r(m,{json:k,dependencies:p,useNewStyles:e.useNewStyles}),o=e=>r(m,{json:M,dependencies:p,useNewStyles:e.useNewStyles}),i=({useNewStyles:e})=>r(m,{json:W,dependencies:p,useNewStyles:e}),s=({useNewStyles:e})=>r(b,{children:r(_.Consumer,{children:({keypadElement:a,setRenderer:c})=>r(m,{ref:d=>{c(d)},json:T,dependencies:p,useNewStyles:e,apiOptions:{isMobile:!0,customKeypad:!0,onFocusChange:j("onFocusChange")},keypadElement:a})})}),n=({useNewStyles:e})=>r(b,{children:r(_.Consumer,{children:({keypadElement:a,setRenderer:c})=>r(m,{ref:d=>{c(d)},json:D,dependencies:p,useNewStyles:e,apiOptions:{isMobile:!0,customKeypad:!0},keypadElement:a})})});t.__docgenInfo={description:"",methods:[],displayName:"ASingleSectionArticle"};o.__docgenInfo={description:"",methods:[],displayName:"BMultiSectionArticle"};i.__docgenInfo={description:"",methods:[],displayName:"PassageArticle"};s.__docgenInfo={description:"",methods:[],displayName:"ExpressionArticle"};n.__docgenInfo={description:"",methods:[],displayName:"MultiSectionedExpressionArticle"};var l,u,y;t.parameters={...t.parameters,docs:{...(l=t.parameters)==null?void 0:l.docs,source:{originalSource:`(args: { useNewStyles; }): React.ReactElement => { return ; diff --git a/assets/base-radio.stories-hOlftvr6.js b/assets/base-radio.stories-hOlftvr6.js index 88e84c9444..2351133f0d 100644 --- a/assets/base-radio.stories-hOlftvr6.js +++ b/assets/base-radio.stories-hOlftvr6.js @@ -1,4 +1,4 @@ -import{j as o}from"./jsx-runtime-FVsy8kgq.js";import{a as U}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{B as n}from"./base-radio-m6RczYwQ.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./index-awljIyHI.js";import"./index-dnMhQZ-1.js";import"./index-7vsPyIck.js";import"./jquery-yG1GhClm.js";import"./i18n-context-P5sgPFep.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./constants-iPV6vHZm.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./renderer-6wjvxpTF.js";import"./index-J2t_5nK1.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";function r(t){return{...{checked:!1,crossedOut:!1,content:"",rationale:"",hasRationale:!1,showRationale:!1,showCorrectness:!1,correct:!1,isNoneOfTheAbove:!1,highlighted:!1,previouslyAnswered:!1,revealNoneOfTheAbove:!1,disabled:!1},...t}}const Ge={title:"Perseus/Widgets/Radio/Base Radio",args:{multipleSelect:!1,editMode:!1,countChoices:!1}},i={apiOptions:{},reviewMode:!1,choices:[r({content:"Content 1"}),r({content:"Content 2"}),r({content:"Content 3",correct:!0}),r({isNoneOfTheAbove:!0})],deselectEnabled:!1,editMode:!1,labelWrap:!1,countChoices:!1,numCorrect:1,multipleSelect:!1,onChange:U("changed"),isLastUsedWidget:!1},a=t=>{const e={...i,...t};return o(n,{...e})},l=t=>{const e={...i,multipleSelect:!1};return o(n,{...e})},p=t=>{const e={...i,multipleSelect:!0};return o(n,{...e})},u=t=>{const e={...i,multipleSelect:!0,numCorrect:2,countChoices:!0};return o(n,{...e})},d=t=>{const e=Array(4).fill(null).map((g,c)=>r({content:`Choice ${c+1}`}));e[1].checked=!0;const s={...i,multipleSelect:!1,choices:e};return o(n,{...s})},m=t=>{const e=Array(4).fill(null).map((g,c)=>r({content:`Choice ${c+1}`}));e[1].checked=!0,e[2].checked=!0;const s={...i,multipleSelect:!0,choices:e};return o(n,{...s})},h=t=>{const e=Array(4).fill(null).map((g,c)=>r({content:`Choice ${c+1}`,rationale:"This is a neat rationale",hasRationale:!0,showRationale:!0,correct:!1,showCorrectness:!0}));e[1].checked=!0,e[2].correct=!0;const s={...i,multipleSelect:!1,choices:e};return o(n,{...s})},S=t=>{const e=Array(4).fill(null).map((g,c)=>r({content:`Choice ${c+1}`,rationale:"This is a neat rationale",hasRationale:!0,showRationale:!0,correct:!1,showCorrectness:!0}));e[1].checked=!0,e[2].checked=!0,e[2].correct=!0,e[3].correct=!0;const s={...i,multipleSelect:!0,numCorrect:2,choices:e};return o(n,{...s})};a.__docgenInfo={description:"",methods:[],displayName:"Interactive",props:{multipleSelect:{required:!0,tsType:{name:"boolean"},description:""},editMode:{required:!0,tsType:{name:"boolean"},description:""},countChoices:{required:!0,tsType:{name:"boolean"},description:""}}};l.__docgenInfo={description:"",methods:[],displayName:"SingleSelectWithNothingSelected",props:{multipleSelect:{required:!0,tsType:{name:"boolean"},description:""},editMode:{required:!0,tsType:{name:"boolean"},description:""},countChoices:{required:!0,tsType:{name:"boolean"},description:""}}};p.__docgenInfo={description:"",methods:[],displayName:"MultipleSelectWithNothingSelected",props:{multipleSelect:{required:!0,tsType:{name:"boolean"},description:""},editMode:{required:!0,tsType:{name:"boolean"},description:""},countChoices:{required:!0,tsType:{name:"boolean"},description:""}}};u.__docgenInfo={description:"",methods:[],displayName:"MultipleSelectWithCountChoicesLabel",props:{multipleSelect:{required:!0,tsType:{name:"boolean"},description:""},editMode:{required:!0,tsType:{name:"boolean"},description:""},countChoices:{required:!0,tsType:{name:"boolean"},description:""}}};d.__docgenInfo={description:"",methods:[],displayName:"SingleSelected",props:{multipleSelect:{required:!0,tsType:{name:"boolean"},description:""},editMode:{required:!0,tsType:{name:"boolean"},description:""},countChoices:{required:!0,tsType:{name:"boolean"},description:""}}};m.__docgenInfo={description:"",methods:[],displayName:"MultipleSelected",props:{multipleSelect:{required:!0,tsType:{name:"boolean"},description:""},editMode:{required:!0,tsType:{name:"boolean"},description:""},countChoices:{required:!0,tsType:{name:"boolean"},description:""}}};h.__docgenInfo={description:"",methods:[],displayName:"SingleKitchenSink",props:{multipleSelect:{required:!0,tsType:{name:"boolean"},description:""},editMode:{required:!0,tsType:{name:"boolean"},description:""},countChoices:{required:!0,tsType:{name:"boolean"},description:""}}};S.__docgenInfo={description:"",methods:[],displayName:"MultipleKitchenSink",props:{multipleSelect:{required:!0,tsType:{name:"boolean"},description:""},editMode:{required:!0,tsType:{name:"boolean"},description:""},countChoices:{required:!0,tsType:{name:"boolean"},description:""}}};var f,y,C;a.parameters={...a.parameters,docs:{...(f=a.parameters)==null?void 0:f.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { +import{j as o}from"./jsx-runtime-FVsy8kgq.js";import{a as U}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{B as n}from"./base-radio-m6RczYwQ.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./index-awljIyHI.js";import"./index-dnMhQZ-1.js";import"./index-7vsPyIck.js";import"./jquery-yG1GhClm.js";import"./i18n-context-P5sgPFep.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./constants-iPV6vHZm.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./renderer-6wjvxpTF.js";import"./index-J2t_5nK1.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";function r(t){return{...{checked:!1,crossedOut:!1,content:"",rationale:"",hasRationale:!1,showRationale:!1,showCorrectness:!1,correct:!1,isNoneOfTheAbove:!1,highlighted:!1,previouslyAnswered:!1,revealNoneOfTheAbove:!1,disabled:!1},...t}}const Ge={title:"Perseus/Widgets/Radio/Base Radio",args:{multipleSelect:!1,editMode:!1,countChoices:!1}},i={apiOptions:{},reviewMode:!1,choices:[r({content:"Content 1"}),r({content:"Content 2"}),r({content:"Content 3",correct:!0}),r({isNoneOfTheAbove:!0})],deselectEnabled:!1,editMode:!1,labelWrap:!1,countChoices:!1,numCorrect:1,multipleSelect:!1,onChange:U("changed"),isLastUsedWidget:!1},a=t=>{const e={...i,...t};return o(n,{...e})},l=t=>{const e={...i,multipleSelect:!1};return o(n,{...e})},p=t=>{const e={...i,multipleSelect:!0};return o(n,{...e})},u=t=>{const e={...i,multipleSelect:!0,numCorrect:2,countChoices:!0};return o(n,{...e})},d=t=>{const e=Array(4).fill(null).map((g,c)=>r({content:`Choice ${c+1}`}));e[1].checked=!0;const s={...i,multipleSelect:!1,choices:e};return o(n,{...s})},m=t=>{const e=Array(4).fill(null).map((g,c)=>r({content:`Choice ${c+1}`}));e[1].checked=!0,e[2].checked=!0;const s={...i,multipleSelect:!0,choices:e};return o(n,{...s})},h=t=>{const e=Array(4).fill(null).map((g,c)=>r({content:`Choice ${c+1}`,rationale:"This is a neat rationale",hasRationale:!0,showRationale:!0,correct:!1,showCorrectness:!0}));e[1].checked=!0,e[2].correct=!0;const s={...i,multipleSelect:!1,choices:e};return o(n,{...s})},S=t=>{const e=Array(4).fill(null).map((g,c)=>r({content:`Choice ${c+1}`,rationale:"This is a neat rationale",hasRationale:!0,showRationale:!0,correct:!1,showCorrectness:!0}));e[1].checked=!0,e[2].checked=!0,e[2].correct=!0,e[3].correct=!0;const s={...i,multipleSelect:!0,numCorrect:2,choices:e};return o(n,{...s})};a.__docgenInfo={description:"",methods:[],displayName:"Interactive",props:{multipleSelect:{required:!0,tsType:{name:"boolean"},description:""},editMode:{required:!0,tsType:{name:"boolean"},description:""},countChoices:{required:!0,tsType:{name:"boolean"},description:""}}};l.__docgenInfo={description:"",methods:[],displayName:"SingleSelectWithNothingSelected",props:{multipleSelect:{required:!0,tsType:{name:"boolean"},description:""},editMode:{required:!0,tsType:{name:"boolean"},description:""},countChoices:{required:!0,tsType:{name:"boolean"},description:""}}};p.__docgenInfo={description:"",methods:[],displayName:"MultipleSelectWithNothingSelected",props:{multipleSelect:{required:!0,tsType:{name:"boolean"},description:""},editMode:{required:!0,tsType:{name:"boolean"},description:""},countChoices:{required:!0,tsType:{name:"boolean"},description:""}}};u.__docgenInfo={description:"",methods:[],displayName:"MultipleSelectWithCountChoicesLabel",props:{multipleSelect:{required:!0,tsType:{name:"boolean"},description:""},editMode:{required:!0,tsType:{name:"boolean"},description:""},countChoices:{required:!0,tsType:{name:"boolean"},description:""}}};d.__docgenInfo={description:"",methods:[],displayName:"SingleSelected",props:{multipleSelect:{required:!0,tsType:{name:"boolean"},description:""},editMode:{required:!0,tsType:{name:"boolean"},description:""},countChoices:{required:!0,tsType:{name:"boolean"},description:""}}};m.__docgenInfo={description:"",methods:[],displayName:"MultipleSelected",props:{multipleSelect:{required:!0,tsType:{name:"boolean"},description:""},editMode:{required:!0,tsType:{name:"boolean"},description:""},countChoices:{required:!0,tsType:{name:"boolean"},description:""}}};h.__docgenInfo={description:"",methods:[],displayName:"SingleKitchenSink",props:{multipleSelect:{required:!0,tsType:{name:"boolean"},description:""},editMode:{required:!0,tsType:{name:"boolean"},description:""},countChoices:{required:!0,tsType:{name:"boolean"},description:""}}};S.__docgenInfo={description:"",methods:[],displayName:"MultipleKitchenSink",props:{multipleSelect:{required:!0,tsType:{name:"boolean"},description:""},editMode:{required:!0,tsType:{name:"boolean"},description:""},countChoices:{required:!0,tsType:{name:"boolean"},description:""}}};var f,y,C;a.parameters={...a.parameters,docs:{...(f=a.parameters)==null?void 0:f.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { const overwrittenProps = ({ ...defaultProps, ...args diff --git a/assets/behavior.stories-Jb0nDYNN.js b/assets/behavior.stories-Jb0nDYNN.js index bcbf46c3c6..c72b9c2290 100644 --- a/assets/behavior.stories-Jb0nDYNN.js +++ b/assets/behavior.stories-Jb0nDYNN.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-FVsy8kgq.js";import{a}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{r as c}from"./index-TT1qJ6UJ.js";import{B as l}from"./behavior-i1Yr0m7G.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./global-colors-VIVU4Od4.js";const ir={title:"PerseusEditor/Widgets/Label Image/Behavior"},t=u=>{const[r,e]=c.useState({multipleAnswers:!1,hideChoicesFromInstructions:!1}),s={multipleAnswers:r.multipleAnswers,hideChoicesFromInstructions:r.hideChoicesFromInstructions,onChange:o=>{a("onChange")(o),e({...r,...o})}};return n(l,{preferredPopoverDirection:"NONE",...s})};t.__docgenInfo={description:"",methods:[],displayName:"Default"};var i,m,p;t.parameters={...t.parameters,docs:{...(i=t.parameters)==null?void 0:i.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { +import{j as n}from"./jsx-runtime-FVsy8kgq.js";import{a}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{r as c}from"./index-TT1qJ6UJ.js";import{B as l}from"./behavior-i1Yr0m7G.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./global-colors-VIVU4Od4.js";const ir={title:"PerseusEditor/Widgets/Label Image/Behavior"},t=u=>{const[r,e]=c.useState({multipleAnswers:!1,hideChoicesFromInstructions:!1}),s={multipleAnswers:r.multipleAnswers,hideChoicesFromInstructions:r.hideChoicesFromInstructions,onChange:o=>{a("onChange")(o),e({...r,...o})}};return n(l,{preferredPopoverDirection:"NONE",...s})};t.__docgenInfo={description:"",methods:[],displayName:"Default"};var i,m,p;t.parameters={...t.parameters,docs:{...(i=t.parameters)==null?void 0:i.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { const [state, setState] = React.useState({ multipleAnswers: false, hideChoicesFromInstructions: false diff --git a/assets/categorizer-editor.stories-zvQf5qzF.js b/assets/categorizer-editor.stories-zvQf5qzF.js index 1c0bded05e..485b654be9 100644 --- a/assets/categorizer-editor.stories-zvQf5qzF.js +++ b/assets/categorizer-editor.stories-zvQf5qzF.js @@ -1,3 +1,3 @@ -import{j as p}from"./jsx-runtime-FVsy8kgq.js";import"./article-renderer-HHw6mvZH.js";import"./jquery-yG1GhClm.js";import"./util-F8-MDmsT.js";import"./phet-simulation-qZOVvVJP.js";import"./version-akiLXZts.js";import"./dependencies-d8cZibFS.js";import{A as m}from"./perseus-api-Nq3s7IMx.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./renderer-6wjvxpTF.js";import"./base-radio-m6RczYwQ.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./svg-image-4Vh9uTQ6.js";import"./hud-4BOtaFc1.js";import"./icon-R5gZamfG.js";import"./index-K9BSJPWl.js";import"./inline-icon-NjJlm7d0.js";import"./math-input-JZMGF6RZ.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./text-input-15gEhfDF.js";import"./text-list-editor-Jz35fIN1.js";import"./index-k-0mNqHS.js";import"./i18n-context-P5sgPFep.js";import"./index-IIMKO4_x.js";import{a as e}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{C as a}from"./categorizer-editor-kqwa18UH.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./index-h_CiYGGb.js";import"./index-dnMhQZ-1.js";import"./input-with-examples-il70I6Ir.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./icon-paths-5JCXzGsq.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./shared-4TdECMLk.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./Popper-kGnKOid7.js";import"./answer-choices-G9U2Ia5j.js";import"./index-xuPsLuPk.js";import"./minus-bold-ONmDo3Ve.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./asset-context-I7yIqWki.js";import"./tiny-invariant-bHgPayXn.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./video-transcript-link-MKIRfGVo.js";import"./arrow-square-out-bold-090vdhrx.js";import"./stub-tag-editor-74YQ4o9G.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./choice-none-above-kJRmN7Nm.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./index-QCAhLhLD.js";import"./bundle.esm-7jAAHVxW.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./components-yT7oveOH.js";import"./editor-jsonify-WkTEQia9.js";import"./index-0C4KXdeC.js";const tt={title:"PerseusEditor/Widgets/Categorizer Editor"},r=s=>p(a,{onChange:e("onChange"),apiOptions:m.defaults});r.__docgenInfo={description:"",methods:[],displayName:"Default"};var t,o,i;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { +import{j as p}from"./jsx-runtime-FVsy8kgq.js";import"./article-renderer-HHw6mvZH.js";import"./jquery-yG1GhClm.js";import"./util-F8-MDmsT.js";import"./phet-simulation-qZOVvVJP.js";import"./version-akiLXZts.js";import"./dependencies-d8cZibFS.js";import{A as m}from"./perseus-api-Nq3s7IMx.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./renderer-6wjvxpTF.js";import"./base-radio-m6RczYwQ.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./svg-image-4Vh9uTQ6.js";import"./hud-4BOtaFc1.js";import"./icon-R5gZamfG.js";import"./index-K9BSJPWl.js";import"./inline-icon-NjJlm7d0.js";import"./math-input-JZMGF6RZ.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./text-input-15gEhfDF.js";import"./text-list-editor-Jz35fIN1.js";import"./index-k-0mNqHS.js";import"./i18n-context-P5sgPFep.js";import"./index-IIMKO4_x.js";import{a as e}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{C as a}from"./categorizer-editor-kqwa18UH.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./index-h_CiYGGb.js";import"./index-dnMhQZ-1.js";import"./input-with-examples-il70I6Ir.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./icon-paths-5JCXzGsq.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./shared-4TdECMLk.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./Popper-kGnKOid7.js";import"./answer-choices-G9U2Ia5j.js";import"./index-xuPsLuPk.js";import"./minus-bold-ONmDo3Ve.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./asset-context-I7yIqWki.js";import"./tiny-invariant-bHgPayXn.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./video-transcript-link-MKIRfGVo.js";import"./arrow-square-out-bold-090vdhrx.js";import"./stub-tag-editor-74YQ4o9G.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./choice-none-above-kJRmN7Nm.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./index-QCAhLhLD.js";import"./bundle.esm-7jAAHVxW.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./components-yT7oveOH.js";import"./editor-jsonify-WkTEQia9.js";import"./index-0C4KXdeC.js";const tt={title:"PerseusEditor/Widgets/Categorizer Editor"},r=s=>p(a,{onChange:e("onChange"),apiOptions:m.defaults});r.__docgenInfo={description:"",methods:[],displayName:"Default"};var t,o,i;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { return ; }`,...(i=(o=r.parameters)==null?void 0:o.docs)==null?void 0:i.source}}};const ot=["Default"];export{r as Default,ot as __namedExportsOrder,tt as default}; diff --git a/assets/categorizer.stories-U0XPRHA9.js b/assets/categorizer.stories-U0XPRHA9.js index 7ef4810523..5ec2a102c6 100644 --- a/assets/categorizer.stories-U0XPRHA9.js +++ b/assets/categorizer.stories-U0XPRHA9.js @@ -1,4 +1,4 @@ -import{j as p}from"./jsx-runtime-FVsy8kgq.js";import{R as e}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const m={content:`**Classify each graph according to the kind of relationship it suggests.** +import{j as p}from"./jsx-runtime-FVsy8kgq.js";import{R as e}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const m={content:`**Classify each graph according to the kind of relationship it suggests.** $\\qquad\\qquad\\quad\\text{Graph 1}\\qquad\\qquad\\quad\\qquad\\qquad\\quad\\text{Graph 2}$ diff --git a/assets/choice-I73s7vIV.js b/assets/choice-I73s7vIV.js index 5e75dcb92c..9b5adb5917 100644 --- a/assets/choice-I73s7vIV.js +++ b/assets/choice-I73s7vIV.js @@ -1 +1 @@ -import{j as m,a as N}from"./jsx-runtime-FVsy8kgq.js";import{b as V,a as K,_ as L,V as D}from"./index-6h5t6F0w.js";import{r as a}from"./index-TT1qJ6UJ.js";import{c as Z,L as ae}from"./react-router-dom-W_e8xVUu.js";import{i as ne,g as de}from"./index-o3wWn3Y5.js";import{l as H}from"./index-awljIyHI.js";import{b as le,L as se}from"./index-h_CiYGGb.js";import{C as ce}from"./index-ngddCaVG.js";import{m as ue,c as fe,u as pe,a as be,T as me}from"./index-rfN0X25E.js";import{c as i,b as k,s as h,a as M}from"./index-deFLJwr4.js";import{P as U}from"./index-xuPsLuPk.js";import{C as X}from"./index-2dmvOE3q.js";import{S as ge}from"./index-qUyqkRvh.js";import{P as ye,b as he}from"./index-BPSWBbj5.js";import{c as Y}from"./index-dnMhQZ-1.js";import{u as xe}from"./i18n-context-P5sgPFep.js";import{I as ve}from"./icon-R5gZamfG.js";import{C as Ce,A as ke}from"./perseus-api-Nq3s7IMx.js";import{m as we}from"./media-queries-gbofTbz-.js";import{g as j,C as Se}from"./choice-icon-StuadxRF.js";import{O as Ie}from"./option-status-Yr5mIJZ4.js";const q={color:{bg:{action:{default:i.blue,active:i.activeBlue,inverse:i.fadedBlue},critical:{default:i.red,active:i.activeRed,inverse:i.fadedRed},primary:{default:i.white,disabled:i.offBlack32,inverse:i.darkBlue},secondary:{default:"none",inverse:"none",focus:i.white,active:{action:i.fadedBlue,critical:i.fadedRed}},tertiary:{hover:i.white},icon:{secondaryHover:"transparent"}},text:{disabled:i.offBlack32,inverse:i.white,primary:{disabled:i.white64},secondary:{inverse:i.white50},icon:{secondaryHover:"inherit"}},border:{disabled:i.offBlack32,primary:{inverse:i.white},secondary:{action:i.offBlack50,critical:i.offBlack50,inverse:i.white50},tertiary:{inverse:i.white}}},border:{width:{secondary:k.width.hairline,focused:k.width.thin,disabled:k.width.thin},radius:{default:k.radius.medium_4,tertiary:k.radius.xSmall_2,small:k.radius.medium_4,large:k.radius.large_6,icon:k.radius.full}},size:{height:{tertiaryHover:h.xxxxSmall_2,small:h.xLarge_32,medium:40,large:56}},margin:{icon:{offset:-h.xxxxSmall_2}},padding:{xsmall:h.xxxxSmall_2,small:h.xxSmall_6,medium:h.small_12,large:h.medium_16,xLarge:h.xLarge_32},font:{size:{large:18},lineHeight:{large:M.lineHeight.medium},weight:{default:M.weight.bold}}},Be=ue(q,{color:{bg:{secondary:{default:i.offWhite,active:{action:i.fadedBlue8,critical:i.fadedRed8},focus:i.offWhite},icon:{secondaryHover:i.fadedBlue16}},border:{secondary:{action:i.fadedBlue,critical:i.fadedRed}},text:{icon:{secondaryHover:i.blue}}},border:{radius:{default:k.radius.xLarge_12,small:k.radius.large_6,large:k.radius.xLarge_12},width:{focused:k.width.hairline}},margin:{icon:{offset:-h.xSmall_8}},font:{weight:{default:M.weight.regular}}}),Oe={default:q,khanmigo:Be},ee=fe(q);function ze(o){const n=a.useContext(me),r=Oe[n]||q;return a.createElement(ee.Provider,{value:r},o.children)}function G({icon:o,size:n,style:r,testId:l}){const e={"aria-hidden":!0,color:"currentColor",style:r,testId:l};switch(n){case"small":return a.createElement(U,L({},e,{size:"small",icon:o}));case"medium":default:return a.createElement(U,L({},e,{size:"medium",icon:o}))}}const Ee=["children","skipClientNav","color","disabled","focused","hovered","href","kind","labelStyle","light","pressed","size","style","testId","type","spinner","startIcon","endIcon","id","waiting"],Le=V("a"),_e=V("button"),Te=V(ae),We=a.forwardRef(function(n,r){const{theme:l,themeName:e}=pe(ee),t=be(Re,l),s=x=>{const{children:d,skipClientNav:u,color:g,disabled:C,focused:f,hovered:S,href:I=void 0,kind:v="primary",labelStyle:_,light:B=!1,pressed:c,size:y="medium",style:$,testId:p,type:T=void 0,spinner:O,startIcon:z,endIcon:b,id:W}=n,R=K(n,Ee),w=Ne(g,v,B,y,l,e),E=O||C,re=[t.shared,E&&t.disabled,z&&t.withStartIcon,b&&t.withEndIcon,w.default,E&&w.disabled,v!=="tertiary"&&!E&&(c?w.active:(S||f)&&w.focus),v==="tertiary"&&!c&&f&&[w.focus,E&&w.disabledFocus],y==="small"&&t.small,y==="large"&&t.large],A=L({"data-testid":p,id:W,role:"button",style:[re,$]},R),oe=y==="small"?le:se,te=a.createElement(oe,{style:[t.text,y==="large"&&t.largeText,_,O&&t.hiddenText,v==="tertiary"&&t.textWithFocus,v==="tertiary"&&!E&&(c?[w.hover,w.active]:S&&w.hover)],testId:p?`${p}-inner-label`:void 0},d),ie={medium:"small",small:"xsmall",large:"medium"},Q=y==="small"?"small":"medium",F=a.createElement(a.Fragment,null,z&&a.createElement(D,{style:t.iconWrapper},a.createElement(G,{size:Q,icon:z,style:[t.startIcon,v==="tertiary"&&t.tertiaryStartIcon],testId:p?`${p}-start-icon`:void 0})),te,O&&a.createElement(ce,{style:t.spinner,size:ie[y],light:v==="primary",testId:`${p||"button"}-spinner`}),b&&a.createElement(D,{testId:p?`${p}-end-icon-wrapper`:void 0,style:[P.endIcon,t.iconWrapper,t.endIconWrapper,v==="tertiary"&&t.endIconWrapperTertiary,(f||S)&&v!=="primary"&&t.iconWrapperSecondaryHovered]},a.createElement(G,{size:Q,icon:b,testId:p?`${p}-end-icon`:void 0})));return I&&!E?x&&!u&&ne(I)?a.createElement(Te,L({},A,{to:I,ref:r}),F):a.createElement(Le,L({},A,{href:I,ref:r}),F):a.createElement(_e,L({type:T||"button"},A,{"aria-disabled":E,ref:r}),F)};return a.createElement(Z.Consumer,null,x=>s(x))}),Re=o=>({shared:{position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",height:o.size.height.medium,paddingTop:0,paddingBottom:0,paddingLeft:o.padding.large,paddingRight:o.padding.large,border:"none",borderRadius:o.border.radius.default,cursor:"pointer",outline:"none",textDecoration:"none",boxSizing:"border-box",touchAction:"manipulation",userSelect:"none",":focus":{WebkitTapHighlightColor:"rgba(0,0,0,0)"}},disabled:{cursor:"auto"},small:{borderRadius:o.border.radius.small,height:o.size.height.small},large:{borderRadius:o.border.radius.large,height:o.size.height.large},text:{alignItems:"center",fontWeight:o.font.weight.default,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",display:"inline-block",pointerEvents:"none"},largeText:{fontSize:o.font.size.large,lineHeight:`${o.font.lineHeight.large}px`},textWithFocus:{position:"relative"},hiddenText:{visibility:"hidden"},spinner:{position:"absolute"},startIcon:{marginRight:o.padding.small,marginLeft:o.margin.icon.offset},tertiaryStartIcon:{marginLeft:0},endIcon:{marginLeft:o.padding.small},iconWrapper:{borderRadius:o.border.radius.icon,padding:o.padding.xsmall,minWidth:"auto"},iconWrapperSecondaryHovered:{backgroundColor:o.color.bg.icon.secondaryHover,color:o.color.text.icon.secondaryHover},endIconWrapper:{marginLeft:o.padding.small,marginRight:o.margin.icon.offset},endIconWrapperTertiary:{marginRight:0}}),P={},Ne=(o="default",n,r,l,e,t)=>{const s=o==="destructive"?e.color.bg.critical.default:e.color.bg.action.default,x=`${s}-${n}-${r}-${l}-${t}`;if(P[x])return P[x];const d=o==="destructive"?e.color.bg.critical.inverse:e.color.bg.action.inverse,u=o==="destructive"?e.color.bg.critical.active:e.color.bg.action.active,g=l==="large"?e.padding.xLarge:e.padding.large;let C={};if(n==="primary"){const f=r?e.color.bg.primary.inverse:e.color.bg.primary.default;C={default:{background:r?e.color.bg.primary.default:s,color:r?s:e.color.text.inverse,paddingLeft:g,paddingRight:g},focus:{boxShadow:`0 0 0 1px ${f}, 0 0 0 3px ${r?e.color.bg.primary.default:s}`},active:{boxShadow:`0 0 0 1px ${f}, 0 0 0 3px ${r?d:u}`,background:r?d:u,color:r?u:d},disabled:{background:r?d:e.color.bg.primary.disabled,color:r?s:e.color.text.primary.disabled,cursor:"default",":focus":{boxShadow:`0 0 0 1px ${r?e.color.bg.primary.disabled:e.color.bg.primary.default}, 0 0 0 3px ${r?d:e.color.bg.primary.disabled}`}}}}else if(n==="secondary"){const f=o==="destructive"?e.color.border.secondary.critical:e.color.border.secondary.action,S=o==="destructive"?e.color.bg.secondary.active.critical:e.color.bg.secondary.active.action;C={default:{background:r?e.color.bg.secondary.inverse:e.color.bg.secondary.default,color:r?e.color.text.inverse:s,borderColor:r?e.color.border.secondary.inverse:f,borderStyle:"solid",borderWidth:e.border.width.secondary,paddingLeft:g,paddingRight:g},focus:{background:r?e.color.bg.secondary.inverse:e.color.bg.secondary.focus,borderColor:"transparent",outlineColor:r?e.color.border.primary.inverse:s,outlineStyle:"solid",outlineWidth:e.border.width.focused},active:{background:r?u:S,color:r?d:u,borderColor:"transparent",outlineColor:r?d:u,outlineStyle:"solid",outlineWidth:e.border.width.focused},disabled:{color:r?e.color.text.secondary.inverse:e.color.text.disabled,outlineColor:r?d:e.color.border.disabled,cursor:"default",":focus":{outlineColor:r?e.color.border.secondary.inverse:e.color.border.disabled,outlineStyle:"solid",outlineWidth:e.border.width.disabled}}}}else if(n==="tertiary")C={default:{background:"none",color:r?e.color.text.inverse:s,paddingLeft:0,paddingRight:0},hover:{":after":{content:"''",position:"absolute",height:e.size.height.tertiaryHover,width:"100%",right:0,bottom:0,background:r?e.color.bg.tertiary.hover:s,borderRadius:e.border.radius.tertiary}},focus:{outlineStyle:"solid",outlineColor:r?e.color.border.tertiary.inverse:s,outlineWidth:e.border.width.focused,borderRadius:e.border.radius.default},active:{color:r?d:u,":after":{height:e.size.height.tertiaryHover,background:r?d:u}},disabled:{color:r?d:e.color.text.disabled,cursor:"default"},disabledFocus:{outlineColor:r?e.color.border.tertiary.inverse:e.color.border.disabled}};else throw new Error("Button kind not recognized");return P[x]=H.StyleSheet.create(C),P[x]},$e=["href","type","children","skipClientNav","onClick","beforeNav","safeWithNav","tabIndex","target","rel","color","kind","light","size","disabled","spinner"],Pe=a.forwardRef(function(n,r){const{href:l=void 0,type:e=void 0,children:t,skipClientNav:s,onClick:x,beforeNav:d=void 0,safeWithNav:u=void 0,tabIndex:g,target:C,rel:f,color:S="default",kind:I="primary",light:v=!1,size:_="medium",disabled:B=!1,spinner:c=!1}=n,y=K(n,$e),$=p=>{const T=de(l,s,p),O=(z,b)=>a.createElement(We,L({},y,z,b,{disabled:B,spinner:c||z.waiting,color:S,kind:I,light:v,size:_,skipClientNav:s,href:l,target:C,type:e,tabIndex:g,ref:r}),t);return d?a.createElement(T,{disabled:c||B,href:l,role:"button",type:e,onClick:x,beforeNav:d,safeWithNav:u,rel:f},O):a.createElement(T,{disabled:c||B,href:l,role:"button",type:e,onClick:x,safeWithNav:u,target:C,rel:f},O)};return a.createElement(ze,null,a.createElement(Z.Consumer,null,p=>$(p)))});function He(o,n,r,l,e,t){return e&&r?n?t.choiceCheckedCorrect({letter:o}):l?t.choiceCrossedOutCorrect({letter:o}):t.choiceCorrect({letter:o}):e&&!r?n?t.choiceCheckedIncorrect({letter:o}):l?t.choiceCrossedOutIncorrect({letter:o}):t.choiceIncorrect({letter:o}):n?t.choiceChecked({letter:o}):l?t.choiceCrossedOut({letter:o}):t.choice({letter:o})}const qe="16px 16px",Ae="12px 16px",Fe={path:"M27.218 6.82l0 13.578q0 2.852-1.984 4.836t-4.836 1.984l-13.578 0q-2.852 0-4.836-1.984t-1.984-4.836l0-13.578q0-2.852 1.984-4.836t4.836-1.984l13.578 0q2.852 0 4.836 1.984t1.984 4.836zm36.27 0l0 13.578q0 2.852-1.984 4.836t-4.836 1.984l-13.578 0q-2.852 0-4.836-1.984t-1.984-4.836l0-13.578q0-2.852 1.984-4.836t4.836-1.984l13.578 0q2.852 0 4.836 1.984t1.984 4.836zm36.27 0l0 13.578q0 2.852-1.984 4.836t-4.836 1.984l-13.578 0q-2.852 0-4.836-1.984t-1.984-4.836l0-13.578q0-2.852 1.984-4.836t4.836-1.984l13.578 0q2.852 0 4.836 1.984t1.984 4.836z",width:100,height:27.284},je=function(o){const{disabled:n=!1,checked:r=!1,content:l,crossedOut:e,showCorrectness:t,multipleSelect:s,onChange:x=b=>{},reviewMode:d,correct:u=!1,apiOptions:g=ke.defaults,previouslyAnswered:C=!1,pos:f=0,showRationale:S=!1,rationale:I,forwardedRef:v}=o,[_,B]=a.useState(!1),{strings:c}=xe();a.useEffect(()=>{_&&n&&B(!1)},[n,_,B]);function y(b){const W=b.checked??r,R=b.crossedOut??e;x({checked:W,crossedOut:R})}const $=Y("description",H.css(J.description)),p=Y("perseus-radio-rationale-content",H.css(J.rationale)),T=!d&&g.readOnly||e,O=j(f,c),z=He(O,r,u,e,t,c);return N("div",{style:{dispay:"flex",flexDirection:"column",color:i.offBlack},className:$,children:[N("div",{style:{display:"flex",flexDirection:"row",opacity:T?.5:1,overflowX:"auto",overflowY:"hidden"},children:[m("div",{className:"perseus-sr-only",children:N("label",{children:[z,"   ",l,m("input",{type:s?"checkbox":"radio",checked:r,onClick:()=>{y({checked:!r,crossedOut:!1})},onChange:()=>{},disabled:n||g.readOnly,tabIndex:-1,className:Ce.RADIO.OPTION_CONTENT})]})}),m(X,{onClick:()=>{y({checked:!r,crossedOut:!1})},disabled:n||g.readOnly,style:{flex:1,color:i.offBlack,userSelect:"text"},ref:v,"aria-hidden":"true",children:({hovered:b,focused:W,pressed:R})=>N("div",{style:{display:"flex",flexDirection:"row",justifyContent:"center",alignContent:"center",paddingTop:h.xSmall_8,paddingBottom:h.xSmall_8,paddingLeft:h.xSmall_8},children:[m(Se,{pos:f,correct:u,crossedOut:e,pressed:R,focused:W,checked:r,hovered:b,showCorrectness:t,multipleSelect:s,reviewMode:d,previouslyAnswered:C}),N("span",{style:{paddingLeft:h.small_12,textAlign:"left",flex:1,paddingTop:4},children:[m("div",{children:m(Ie,{checked:r,correct:u,crossedOut:e,previouslyAnswered:C,reviewMode:d})}),m("div",{children:l})]})]})}),g.crossOutEnabled&&!d&&m(ye,{dismissEnabled:!0,content:({close:b})=>m(he,{title:c.crossOut,content:c.crossOutOption,closeButtonVisible:!0,actions:N(D,{children:[m(ge,{size:h.medium_16}),m(Pe,{kind:"primary","aria-label":c.crossOutChoice({letter:j(f,c)}),disabled:g.readOnly||d,onClick:()=>{y(e?{crossedOut:!1}:{checked:!1,crossedOut:!0}),b()},children:e?c.bringBack:c.crossOut})]})}),children:({open:b})=>m(X,{onClick:b,"aria-label":c.openMenuForChoice({letter:j(f,c)}),style:{alignSelf:"center",padding:"5px",display:"flex",justifyContent:"center",alignItems:"center",marginLeft:"10px"},children:({hovered:W,focused:R,pressed:w})=>m(ve,{icon:Fe,size:3,color:i.offBlack64})})})]}),S&&m("div",{className:p,"data-testid":`perseus-radio-rationale-content-${f}`,children:I})]})},J=H.StyleSheet.create({description:{display:"inline-block",width:"100%"},rationale:{display:"block",padding:qe,paddingTop:0,marginLeft:54,color:i.offBlack64,[we.smOrSmaller]:{padding:Ae,paddingTop:0}}}),cr=a.forwardRef((o,n)=>m(je,{...o,forwardedRef:n}));export{Pe as B,cr as C}; +import{j as m,a as N}from"./jsx-runtime-FVsy8kgq.js";import{b as V,a as K,_ as L,V as D}from"./index-6h5t6F0w.js";import{r as a}from"./index-TT1qJ6UJ.js";import{c as Z,L as ae}from"./react-router-dom-W_e8xVUu.js";import{i as ne,g as de}from"./index-o3wWn3Y5.js";import{l as H}from"./index-awljIyHI.js";import{b as le,L as se}from"./index-h_CiYGGb.js";import{C as ce}from"./index-ngddCaVG.js";import{m as ue,c as fe,u as pe,a as be,T as me}from"./index-rfN0X25E.js";import{c as i,b as k,s as h,a as M}from"./index-deFLJwr4.js";import{P as U}from"./index-xuPsLuPk.js";import{C as X}from"./index-WNT3sUKf.js";import{S as ge}from"./index-qUyqkRvh.js";import{P as ye,b as he}from"./index-BPSWBbj5.js";import{c as Y}from"./index-dnMhQZ-1.js";import{u as xe}from"./i18n-context-P5sgPFep.js";import{I as ve}from"./icon-R5gZamfG.js";import{C as Ce,A as ke}from"./perseus-api-Nq3s7IMx.js";import{m as we}from"./media-queries-gbofTbz-.js";import{g as j,C as Se}from"./choice-icon-StuadxRF.js";import{O as Ie}from"./option-status-Yr5mIJZ4.js";const q={color:{bg:{action:{default:i.blue,active:i.activeBlue,inverse:i.fadedBlue},critical:{default:i.red,active:i.activeRed,inverse:i.fadedRed},primary:{default:i.white,disabled:i.offBlack32,inverse:i.darkBlue},secondary:{default:"none",inverse:"none",focus:i.white,active:{action:i.fadedBlue,critical:i.fadedRed}},tertiary:{hover:i.white},icon:{secondaryHover:"transparent"}},text:{disabled:i.offBlack32,inverse:i.white,primary:{disabled:i.white64},secondary:{inverse:i.white50},icon:{secondaryHover:"inherit"}},border:{disabled:i.offBlack32,primary:{inverse:i.white},secondary:{action:i.offBlack50,critical:i.offBlack50,inverse:i.white50},tertiary:{inverse:i.white}}},border:{width:{secondary:k.width.hairline,focused:k.width.thin,disabled:k.width.thin},radius:{default:k.radius.medium_4,tertiary:k.radius.xSmall_2,small:k.radius.medium_4,large:k.radius.large_6,icon:k.radius.full}},size:{height:{tertiaryHover:h.xxxxSmall_2,small:h.xLarge_32,medium:40,large:56}},margin:{icon:{offset:-h.xxxxSmall_2}},padding:{xsmall:h.xxxxSmall_2,small:h.xxSmall_6,medium:h.small_12,large:h.medium_16,xLarge:h.xLarge_32},font:{size:{large:18},lineHeight:{large:M.lineHeight.medium},weight:{default:M.weight.bold}}},Be=ue(q,{color:{bg:{secondary:{default:i.offWhite,active:{action:i.fadedBlue8,critical:i.fadedRed8},focus:i.offWhite},icon:{secondaryHover:i.fadedBlue16}},border:{secondary:{action:i.fadedBlue,critical:i.fadedRed}},text:{icon:{secondaryHover:i.blue}}},border:{radius:{default:k.radius.xLarge_12,small:k.radius.large_6,large:k.radius.xLarge_12},width:{focused:k.width.hairline}},margin:{icon:{offset:-h.xSmall_8}},font:{weight:{default:M.weight.regular}}}),Oe={default:q,khanmigo:Be},ee=fe(q);function ze(o){const n=a.useContext(me),r=Oe[n]||q;return a.createElement(ee.Provider,{value:r},o.children)}function G({icon:o,size:n,style:r,testId:l}){const e={"aria-hidden":!0,color:"currentColor",style:r,testId:l};switch(n){case"small":return a.createElement(U,L({},e,{size:"small",icon:o}));case"medium":default:return a.createElement(U,L({},e,{size:"medium",icon:o}))}}const Ee=["children","skipClientNav","color","disabled","focused","hovered","href","kind","labelStyle","light","pressed","size","style","testId","type","spinner","startIcon","endIcon","id","waiting"],Le=V("a"),_e=V("button"),Te=V(ae),We=a.forwardRef(function(n,r){const{theme:l,themeName:e}=pe(ee),t=be(Re,l),s=x=>{const{children:d,skipClientNav:u,color:g,disabled:C,focused:f,hovered:S,href:I=void 0,kind:v="primary",labelStyle:_,light:B=!1,pressed:c,size:y="medium",style:$,testId:p,type:T=void 0,spinner:O,startIcon:z,endIcon:b,id:W}=n,R=K(n,Ee),w=Ne(g,v,B,y,l,e),E=O||C,re=[t.shared,E&&t.disabled,z&&t.withStartIcon,b&&t.withEndIcon,w.default,E&&w.disabled,v!=="tertiary"&&!E&&(c?w.active:(S||f)&&w.focus),v==="tertiary"&&!c&&f&&[w.focus,E&&w.disabledFocus],y==="small"&&t.small,y==="large"&&t.large],A=L({"data-testid":p,id:W,role:"button",style:[re,$]},R),oe=y==="small"?le:se,te=a.createElement(oe,{style:[t.text,y==="large"&&t.largeText,_,O&&t.hiddenText,v==="tertiary"&&t.textWithFocus,v==="tertiary"&&!E&&(c?[w.hover,w.active]:S&&w.hover)],testId:p?`${p}-inner-label`:void 0},d),ie={medium:"small",small:"xsmall",large:"medium"},Q=y==="small"?"small":"medium",F=a.createElement(a.Fragment,null,z&&a.createElement(D,{style:t.iconWrapper},a.createElement(G,{size:Q,icon:z,style:[t.startIcon,v==="tertiary"&&t.tertiaryStartIcon],testId:p?`${p}-start-icon`:void 0})),te,O&&a.createElement(ce,{style:t.spinner,size:ie[y],light:v==="primary",testId:`${p||"button"}-spinner`}),b&&a.createElement(D,{testId:p?`${p}-end-icon-wrapper`:void 0,style:[P.endIcon,t.iconWrapper,t.endIconWrapper,v==="tertiary"&&t.endIconWrapperTertiary,(f||S)&&v!=="primary"&&t.iconWrapperSecondaryHovered]},a.createElement(G,{size:Q,icon:b,testId:p?`${p}-end-icon`:void 0})));return I&&!E?x&&!u&&ne(I)?a.createElement(Te,L({},A,{to:I,ref:r}),F):a.createElement(Le,L({},A,{href:I,ref:r}),F):a.createElement(_e,L({type:T||"button"},A,{"aria-disabled":E,ref:r}),F)};return a.createElement(Z.Consumer,null,x=>s(x))}),Re=o=>({shared:{position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",height:o.size.height.medium,paddingTop:0,paddingBottom:0,paddingLeft:o.padding.large,paddingRight:o.padding.large,border:"none",borderRadius:o.border.radius.default,cursor:"pointer",outline:"none",textDecoration:"none",boxSizing:"border-box",touchAction:"manipulation",userSelect:"none",":focus":{WebkitTapHighlightColor:"rgba(0,0,0,0)"}},disabled:{cursor:"auto"},small:{borderRadius:o.border.radius.small,height:o.size.height.small},large:{borderRadius:o.border.radius.large,height:o.size.height.large},text:{alignItems:"center",fontWeight:o.font.weight.default,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",display:"inline-block",pointerEvents:"none"},largeText:{fontSize:o.font.size.large,lineHeight:`${o.font.lineHeight.large}px`},textWithFocus:{position:"relative"},hiddenText:{visibility:"hidden"},spinner:{position:"absolute"},startIcon:{marginRight:o.padding.small,marginLeft:o.margin.icon.offset},tertiaryStartIcon:{marginLeft:0},endIcon:{marginLeft:o.padding.small},iconWrapper:{borderRadius:o.border.radius.icon,padding:o.padding.xsmall,minWidth:"auto"},iconWrapperSecondaryHovered:{backgroundColor:o.color.bg.icon.secondaryHover,color:o.color.text.icon.secondaryHover},endIconWrapper:{marginLeft:o.padding.small,marginRight:o.margin.icon.offset},endIconWrapperTertiary:{marginRight:0}}),P={},Ne=(o="default",n,r,l,e,t)=>{const s=o==="destructive"?e.color.bg.critical.default:e.color.bg.action.default,x=`${s}-${n}-${r}-${l}-${t}`;if(P[x])return P[x];const d=o==="destructive"?e.color.bg.critical.inverse:e.color.bg.action.inverse,u=o==="destructive"?e.color.bg.critical.active:e.color.bg.action.active,g=l==="large"?e.padding.xLarge:e.padding.large;let C={};if(n==="primary"){const f=r?e.color.bg.primary.inverse:e.color.bg.primary.default;C={default:{background:r?e.color.bg.primary.default:s,color:r?s:e.color.text.inverse,paddingLeft:g,paddingRight:g},focus:{boxShadow:`0 0 0 1px ${f}, 0 0 0 3px ${r?e.color.bg.primary.default:s}`},active:{boxShadow:`0 0 0 1px ${f}, 0 0 0 3px ${r?d:u}`,background:r?d:u,color:r?u:d},disabled:{background:r?d:e.color.bg.primary.disabled,color:r?s:e.color.text.primary.disabled,cursor:"default",":focus":{boxShadow:`0 0 0 1px ${r?e.color.bg.primary.disabled:e.color.bg.primary.default}, 0 0 0 3px ${r?d:e.color.bg.primary.disabled}`}}}}else if(n==="secondary"){const f=o==="destructive"?e.color.border.secondary.critical:e.color.border.secondary.action,S=o==="destructive"?e.color.bg.secondary.active.critical:e.color.bg.secondary.active.action;C={default:{background:r?e.color.bg.secondary.inverse:e.color.bg.secondary.default,color:r?e.color.text.inverse:s,borderColor:r?e.color.border.secondary.inverse:f,borderStyle:"solid",borderWidth:e.border.width.secondary,paddingLeft:g,paddingRight:g},focus:{background:r?e.color.bg.secondary.inverse:e.color.bg.secondary.focus,borderColor:"transparent",outlineColor:r?e.color.border.primary.inverse:s,outlineStyle:"solid",outlineWidth:e.border.width.focused},active:{background:r?u:S,color:r?d:u,borderColor:"transparent",outlineColor:r?d:u,outlineStyle:"solid",outlineWidth:e.border.width.focused},disabled:{color:r?e.color.text.secondary.inverse:e.color.text.disabled,outlineColor:r?d:e.color.border.disabled,cursor:"default",":focus":{outlineColor:r?e.color.border.secondary.inverse:e.color.border.disabled,outlineStyle:"solid",outlineWidth:e.border.width.disabled}}}}else if(n==="tertiary")C={default:{background:"none",color:r?e.color.text.inverse:s,paddingLeft:0,paddingRight:0},hover:{":after":{content:"''",position:"absolute",height:e.size.height.tertiaryHover,width:"100%",right:0,bottom:0,background:r?e.color.bg.tertiary.hover:s,borderRadius:e.border.radius.tertiary}},focus:{outlineStyle:"solid",outlineColor:r?e.color.border.tertiary.inverse:s,outlineWidth:e.border.width.focused,borderRadius:e.border.radius.default},active:{color:r?d:u,":after":{height:e.size.height.tertiaryHover,background:r?d:u}},disabled:{color:r?d:e.color.text.disabled,cursor:"default"},disabledFocus:{outlineColor:r?e.color.border.tertiary.inverse:e.color.border.disabled}};else throw new Error("Button kind not recognized");return P[x]=H.StyleSheet.create(C),P[x]},$e=["href","type","children","skipClientNav","onClick","beforeNav","safeWithNav","tabIndex","target","rel","color","kind","light","size","disabled","spinner"],Pe=a.forwardRef(function(n,r){const{href:l=void 0,type:e=void 0,children:t,skipClientNav:s,onClick:x,beforeNav:d=void 0,safeWithNav:u=void 0,tabIndex:g,target:C,rel:f,color:S="default",kind:I="primary",light:v=!1,size:_="medium",disabled:B=!1,spinner:c=!1}=n,y=K(n,$e),$=p=>{const T=de(l,s,p),O=(z,b)=>a.createElement(We,L({},y,z,b,{disabled:B,spinner:c||z.waiting,color:S,kind:I,light:v,size:_,skipClientNav:s,href:l,target:C,type:e,tabIndex:g,ref:r}),t);return d?a.createElement(T,{disabled:c||B,href:l,role:"button",type:e,onClick:x,beforeNav:d,safeWithNav:u,rel:f},O):a.createElement(T,{disabled:c||B,href:l,role:"button",type:e,onClick:x,safeWithNav:u,target:C,rel:f},O)};return a.createElement(ze,null,a.createElement(Z.Consumer,null,p=>$(p)))});function He(o,n,r,l,e,t){return e&&r?n?t.choiceCheckedCorrect({letter:o}):l?t.choiceCrossedOutCorrect({letter:o}):t.choiceCorrect({letter:o}):e&&!r?n?t.choiceCheckedIncorrect({letter:o}):l?t.choiceCrossedOutIncorrect({letter:o}):t.choiceIncorrect({letter:o}):n?t.choiceChecked({letter:o}):l?t.choiceCrossedOut({letter:o}):t.choice({letter:o})}const qe="16px 16px",Ae="12px 16px",Fe={path:"M27.218 6.82l0 13.578q0 2.852-1.984 4.836t-4.836 1.984l-13.578 0q-2.852 0-4.836-1.984t-1.984-4.836l0-13.578q0-2.852 1.984-4.836t4.836-1.984l13.578 0q2.852 0 4.836 1.984t1.984 4.836zm36.27 0l0 13.578q0 2.852-1.984 4.836t-4.836 1.984l-13.578 0q-2.852 0-4.836-1.984t-1.984-4.836l0-13.578q0-2.852 1.984-4.836t4.836-1.984l13.578 0q2.852 0 4.836 1.984t1.984 4.836zm36.27 0l0 13.578q0 2.852-1.984 4.836t-4.836 1.984l-13.578 0q-2.852 0-4.836-1.984t-1.984-4.836l0-13.578q0-2.852 1.984-4.836t4.836-1.984l13.578 0q2.852 0 4.836 1.984t1.984 4.836z",width:100,height:27.284},je=function(o){const{disabled:n=!1,checked:r=!1,content:l,crossedOut:e,showCorrectness:t,multipleSelect:s,onChange:x=b=>{},reviewMode:d,correct:u=!1,apiOptions:g=ke.defaults,previouslyAnswered:C=!1,pos:f=0,showRationale:S=!1,rationale:I,forwardedRef:v}=o,[_,B]=a.useState(!1),{strings:c}=xe();a.useEffect(()=>{_&&n&&B(!1)},[n,_,B]);function y(b){const W=b.checked??r,R=b.crossedOut??e;x({checked:W,crossedOut:R})}const $=Y("description",H.css(J.description)),p=Y("perseus-radio-rationale-content",H.css(J.rationale)),T=!d&&g.readOnly||e,O=j(f,c),z=He(O,r,u,e,t,c);return N("div",{style:{dispay:"flex",flexDirection:"column",color:i.offBlack},className:$,children:[N("div",{style:{display:"flex",flexDirection:"row",opacity:T?.5:1,overflowX:"auto",overflowY:"hidden"},children:[m("div",{className:"perseus-sr-only",children:N("label",{children:[z,"   ",l,m("input",{type:s?"checkbox":"radio",checked:r,onClick:()=>{y({checked:!r,crossedOut:!1})},onChange:()=>{},disabled:n||g.readOnly,tabIndex:-1,className:Ce.RADIO.OPTION_CONTENT})]})}),m(X,{onClick:()=>{y({checked:!r,crossedOut:!1})},disabled:n||g.readOnly,style:{flex:1,color:i.offBlack,userSelect:"text"},ref:v,"aria-hidden":"true",children:({hovered:b,focused:W,pressed:R})=>N("div",{style:{display:"flex",flexDirection:"row",justifyContent:"center",alignContent:"center",paddingTop:h.xSmall_8,paddingBottom:h.xSmall_8,paddingLeft:h.xSmall_8},children:[m(Se,{pos:f,correct:u,crossedOut:e,pressed:R,focused:W,checked:r,hovered:b,showCorrectness:t,multipleSelect:s,reviewMode:d,previouslyAnswered:C}),N("span",{style:{paddingLeft:h.small_12,textAlign:"left",flex:1,paddingTop:4},children:[m("div",{children:m(Ie,{checked:r,correct:u,crossedOut:e,previouslyAnswered:C,reviewMode:d})}),m("div",{children:l})]})]})}),g.crossOutEnabled&&!d&&m(ye,{dismissEnabled:!0,content:({close:b})=>m(he,{title:c.crossOut,content:c.crossOutOption,closeButtonVisible:!0,actions:N(D,{children:[m(ge,{size:h.medium_16}),m(Pe,{kind:"primary","aria-label":c.crossOutChoice({letter:j(f,c)}),disabled:g.readOnly||d,onClick:()=>{y(e?{crossedOut:!1}:{checked:!1,crossedOut:!0}),b()},children:e?c.bringBack:c.crossOut})]})}),children:({open:b})=>m(X,{onClick:b,"aria-label":c.openMenuForChoice({letter:j(f,c)}),style:{alignSelf:"center",padding:"5px",display:"flex",justifyContent:"center",alignItems:"center",marginLeft:"10px"},children:({hovered:W,focused:R,pressed:w})=>m(ve,{icon:Fe,size:3,color:i.offBlack64})})})]}),S&&m("div",{className:p,"data-testid":`perseus-radio-rationale-content-${f}`,children:I})]})},J=H.StyleSheet.create({description:{display:"inline-block",width:"100%"},rationale:{display:"block",padding:qe,paddingTop:0,marginLeft:54,color:i.offBlack64,[we.smOrSmaller]:{padding:Ae,paddingTop:0}}}),cr=a.forwardRef((o,n)=>m(je,{...o,forwardedRef:n}));export{Pe as B,cr as C}; diff --git a/assets/choice-none-above.stories-mwphnDnG.js b/assets/choice-none-above.stories-mwphnDnG.js index 9371b2cd71..baff85519e 100644 --- a/assets/choice-none-above.stories-mwphnDnG.js +++ b/assets/choice-none-above.stories-mwphnDnG.js @@ -1,4 +1,4 @@ -import{j as m}from"./jsx-runtime-FVsy8kgq.js";import{a as s}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{C as a}from"./choice-none-above-kJRmN7Nm.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./i18n-context-P5sgPFep.js";import"./renderer-6wjvxpTF.js";import"./version-akiLXZts.js";import"./util-F8-MDmsT.js";import"./jquery-yG1GhClm.js";import"./invariant-bu5zBsRS.js";import"./index-J2t_5nK1.js";import"./index-dnMhQZ-1.js";import"./index-7vsPyIck.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./index-awljIyHI.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./choice-I73s7vIV.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./icon-R5gZamfG.js";import"./media-queries-gbofTbz-.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";const lo={title:"Perseus/Widgets/Radio/Choice None of the Above",args:{showContent:!1,content:"This is a possible choice"}},n={checked:!1,rationale:"This is a good rational",correct:!0,disabled:!1,pos:0,reviewMode:!1,showRationale:!1,showCorrectness:!1,multipleSelect:!1,crossedOut:!1,previouslyAnswered:!1,apiOptions:{},onChange:s("changed")},o=i=>{const p={...n,...i};return m(a,{...p})};o.__docgenInfo={description:"",methods:[],displayName:"Example",props:{content:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},showContent:{required:!1,tsType:{name:"boolean"},description:""}}};var t,r,e;o.parameters={...o.parameters,docs:{...(t=o.parameters)==null?void 0:t.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { +import{j as m}from"./jsx-runtime-FVsy8kgq.js";import{a as s}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{C as a}from"./choice-none-above-kJRmN7Nm.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./i18n-context-P5sgPFep.js";import"./renderer-6wjvxpTF.js";import"./version-akiLXZts.js";import"./util-F8-MDmsT.js";import"./jquery-yG1GhClm.js";import"./invariant-bu5zBsRS.js";import"./index-J2t_5nK1.js";import"./index-dnMhQZ-1.js";import"./index-7vsPyIck.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./index-awljIyHI.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./choice-I73s7vIV.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./icon-R5gZamfG.js";import"./media-queries-gbofTbz-.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";const lo={title:"Perseus/Widgets/Radio/Choice None of the Above",args:{showContent:!1,content:"This is a possible choice"}},n={checked:!1,rationale:"This is a good rational",correct:!0,disabled:!1,pos:0,reviewMode:!1,showRationale:!1,showCorrectness:!1,multipleSelect:!1,crossedOut:!1,previouslyAnswered:!1,apiOptions:{},onChange:s("changed")},o=i=>{const p={...n,...i};return m(a,{...p})};o.__docgenInfo={description:"",methods:[],displayName:"Example",props:{content:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},showContent:{required:!1,tsType:{name:"boolean"},description:""}}};var t,r,e;o.parameters={...o.parameters,docs:{...(t=o.parameters)==null?void 0:t.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { const combineProps = ({ ...ChoiceDefaults, ...args diff --git a/assets/choice.stories-8Al8ddbo.js b/assets/choice.stories-8Al8ddbo.js index f8b0d28e84..cfa04b8d6c 100644 --- a/assets/choice.stories-8Al8ddbo.js +++ b/assets/choice.stories-8Al8ddbo.js @@ -1,4 +1,4 @@ -import{j as r,a as p,F as l}from"./jsx-runtime-FVsy8kgq.js";import{a as C}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{C as t}from"./choice-I73s7vIV.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";const i={checked:!1,rationale:"This is a good rationale",content:"This is a possible choice",correct:!0,disabled:!1,pos:0,reviewMode:!1,showRationale:!1,showCorrectness:!1,multipleSelect:!1,crossedOut:!1,previouslyAnswered:!1,onChange:C("changed")},le={title:"Perseus/Widgets/Radio/Choice",args:i},o=a=>r(t,{...a}),n=a=>{const e={...i,checked:!0,showCorrectness:!0},d={...e,correct:!0,content:"This choice is correct"},u={...e,correct:!1,content:"This choice is incorrect"};return p(l,{children:[r(t,{...d}),r(t,{...u})]})},s=a=>{const e={...i,showCorrectness:!0,reviewMode:!0,multipleSelect:!0};return p(l,{children:[r(t,{...e,correct:!0,checked:!0,content:"This choice was correct and checked"}),r(t,{...e,correct:!0,content:"This choice was also correct and not checked"}),r(t,{...e,correct:!1,checked:!0,content:"This choice was incorrect and checked"}),r(t,{...e,correct:!1,content:"This choice was also incorrect and not checked"})]})},c=a=>{const e={...i,checked:!0,showCorrectness:!0,showRationale:!0,reviewMode:!0},d={...e,correct:!0,content:"This choice is correct",rationale:"It was correct because of the way it is"},u={...e,correct:!1,content:"This choice is incorrect",rationale:"It was incorrect because of the way it is"};return p(l,{children:[r(t,{...d}),r(t,{...u})]})};o.__docgenInfo={description:"",methods:[],displayName:"Interactive",props:{checked:{required:!0,tsType:{name:"boolean"},description:""},rationale:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},content:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},correct:{required:!0,tsType:{name:"boolean"},description:""},disabled:{required:!0,tsType:{name:"boolean"},description:""},pos:{required:!0,tsType:{name:"number"},description:""},reviewMode:{required:!0,tsType:{name:"boolean"},description:""},showRationale:{required:!0,tsType:{name:"boolean"},description:""},showCorrectness:{required:!0,tsType:{name:"boolean"},description:""},multipleSelect:{required:!0,tsType:{name:"boolean"},description:""},crossedOut:{required:!0,tsType:{name:"boolean"},description:""},previouslyAnswered:{required:!0,tsType:{name:"boolean"},description:""},onChange:{required:!0,tsType:{name:"signature",type:"function",raw:"(newValues: {checked: boolean; crossedOut: boolean}) => void",signature:{arguments:[{type:{name:"signature",type:"object",raw:"{checked: boolean; crossedOut: boolean}",signature:{properties:[{key:"checked",value:{name:"boolean",required:!0}},{key:"crossedOut",value:{name:"boolean",required:!0}}]}},name:"newValues"}],return:{name:"void"}}},description:""}}};n.__docgenInfo={description:"",methods:[],displayName:"Checked",props:{checked:{required:!0,tsType:{name:"boolean"},description:""},rationale:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},content:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},correct:{required:!0,tsType:{name:"boolean"},description:""},disabled:{required:!0,tsType:{name:"boolean"},description:""},pos:{required:!0,tsType:{name:"number"},description:""},reviewMode:{required:!0,tsType:{name:"boolean"},description:""},showRationale:{required:!0,tsType:{name:"boolean"},description:""},showCorrectness:{required:!0,tsType:{name:"boolean"},description:""},multipleSelect:{required:!0,tsType:{name:"boolean"},description:""},crossedOut:{required:!0,tsType:{name:"boolean"},description:""},previouslyAnswered:{required:!0,tsType:{name:"boolean"},description:""},onChange:{required:!0,tsType:{name:"signature",type:"function",raw:"(newValues: {checked: boolean; crossedOut: boolean}) => void",signature:{arguments:[{type:{name:"signature",type:"object",raw:"{checked: boolean; crossedOut: boolean}",signature:{properties:[{key:"checked",value:{name:"boolean",required:!0}},{key:"crossedOut",value:{name:"boolean",required:!0}}]}},name:"newValues"}],return:{name:"void"}}},description:""}}};s.__docgenInfo={description:"",methods:[],displayName:"ReviewMode",props:{checked:{required:!0,tsType:{name:"boolean"},description:""},rationale:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},content:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},correct:{required:!0,tsType:{name:"boolean"},description:""},disabled:{required:!0,tsType:{name:"boolean"},description:""},pos:{required:!0,tsType:{name:"number"},description:""},reviewMode:{required:!0,tsType:{name:"boolean"},description:""},showRationale:{required:!0,tsType:{name:"boolean"},description:""},showCorrectness:{required:!0,tsType:{name:"boolean"},description:""},multipleSelect:{required:!0,tsType:{name:"boolean"},description:""},crossedOut:{required:!0,tsType:{name:"boolean"},description:""},previouslyAnswered:{required:!0,tsType:{name:"boolean"},description:""},onChange:{required:!0,tsType:{name:"signature",type:"function",raw:"(newValues: {checked: boolean; crossedOut: boolean}) => void",signature:{arguments:[{type:{name:"signature",type:"object",raw:"{checked: boolean; crossedOut: boolean}",signature:{properties:[{key:"checked",value:{name:"boolean",required:!0}},{key:"crossedOut",value:{name:"boolean",required:!0}}]}},name:"newValues"}],return:{name:"void"}}},description:""}}};c.__docgenInfo={description:"",methods:[],displayName:"Rationale",props:{checked:{required:!0,tsType:{name:"boolean"},description:""},rationale:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},content:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},correct:{required:!0,tsType:{name:"boolean"},description:""},disabled:{required:!0,tsType:{name:"boolean"},description:""},pos:{required:!0,tsType:{name:"number"},description:""},reviewMode:{required:!0,tsType:{name:"boolean"},description:""},showRationale:{required:!0,tsType:{name:"boolean"},description:""},showCorrectness:{required:!0,tsType:{name:"boolean"},description:""},multipleSelect:{required:!0,tsType:{name:"boolean"},description:""},crossedOut:{required:!0,tsType:{name:"boolean"},description:""},previouslyAnswered:{required:!0,tsType:{name:"boolean"},description:""},onChange:{required:!0,tsType:{name:"signature",type:"function",raw:"(newValues: {checked: boolean; crossedOut: boolean}) => void",signature:{arguments:[{type:{name:"signature",type:"object",raw:"{checked: boolean; crossedOut: boolean}",signature:{properties:[{key:"checked",value:{name:"boolean",required:!0}},{key:"crossedOut",value:{name:"boolean",required:!0}}]}},name:"newValues"}],return:{name:"void"}}},description:""}}};var m,h,y;o.parameters={...o.parameters,docs:{...(m=o.parameters)==null?void 0:m.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { +import{j as r,a as p,F as l}from"./jsx-runtime-FVsy8kgq.js";import{a as C}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{C as t}from"./choice-I73s7vIV.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";const i={checked:!1,rationale:"This is a good rationale",content:"This is a possible choice",correct:!0,disabled:!1,pos:0,reviewMode:!1,showRationale:!1,showCorrectness:!1,multipleSelect:!1,crossedOut:!1,previouslyAnswered:!1,onChange:C("changed")},le={title:"Perseus/Widgets/Radio/Choice",args:i},o=a=>r(t,{...a}),n=a=>{const e={...i,checked:!0,showCorrectness:!0},d={...e,correct:!0,content:"This choice is correct"},u={...e,correct:!1,content:"This choice is incorrect"};return p(l,{children:[r(t,{...d}),r(t,{...u})]})},s=a=>{const e={...i,showCorrectness:!0,reviewMode:!0,multipleSelect:!0};return p(l,{children:[r(t,{...e,correct:!0,checked:!0,content:"This choice was correct and checked"}),r(t,{...e,correct:!0,content:"This choice was also correct and not checked"}),r(t,{...e,correct:!1,checked:!0,content:"This choice was incorrect and checked"}),r(t,{...e,correct:!1,content:"This choice was also incorrect and not checked"})]})},c=a=>{const e={...i,checked:!0,showCorrectness:!0,showRationale:!0,reviewMode:!0},d={...e,correct:!0,content:"This choice is correct",rationale:"It was correct because of the way it is"},u={...e,correct:!1,content:"This choice is incorrect",rationale:"It was incorrect because of the way it is"};return p(l,{children:[r(t,{...d}),r(t,{...u})]})};o.__docgenInfo={description:"",methods:[],displayName:"Interactive",props:{checked:{required:!0,tsType:{name:"boolean"},description:""},rationale:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},content:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},correct:{required:!0,tsType:{name:"boolean"},description:""},disabled:{required:!0,tsType:{name:"boolean"},description:""},pos:{required:!0,tsType:{name:"number"},description:""},reviewMode:{required:!0,tsType:{name:"boolean"},description:""},showRationale:{required:!0,tsType:{name:"boolean"},description:""},showCorrectness:{required:!0,tsType:{name:"boolean"},description:""},multipleSelect:{required:!0,tsType:{name:"boolean"},description:""},crossedOut:{required:!0,tsType:{name:"boolean"},description:""},previouslyAnswered:{required:!0,tsType:{name:"boolean"},description:""},onChange:{required:!0,tsType:{name:"signature",type:"function",raw:"(newValues: {checked: boolean; crossedOut: boolean}) => void",signature:{arguments:[{type:{name:"signature",type:"object",raw:"{checked: boolean; crossedOut: boolean}",signature:{properties:[{key:"checked",value:{name:"boolean",required:!0}},{key:"crossedOut",value:{name:"boolean",required:!0}}]}},name:"newValues"}],return:{name:"void"}}},description:""}}};n.__docgenInfo={description:"",methods:[],displayName:"Checked",props:{checked:{required:!0,tsType:{name:"boolean"},description:""},rationale:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},content:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},correct:{required:!0,tsType:{name:"boolean"},description:""},disabled:{required:!0,tsType:{name:"boolean"},description:""},pos:{required:!0,tsType:{name:"number"},description:""},reviewMode:{required:!0,tsType:{name:"boolean"},description:""},showRationale:{required:!0,tsType:{name:"boolean"},description:""},showCorrectness:{required:!0,tsType:{name:"boolean"},description:""},multipleSelect:{required:!0,tsType:{name:"boolean"},description:""},crossedOut:{required:!0,tsType:{name:"boolean"},description:""},previouslyAnswered:{required:!0,tsType:{name:"boolean"},description:""},onChange:{required:!0,tsType:{name:"signature",type:"function",raw:"(newValues: {checked: boolean; crossedOut: boolean}) => void",signature:{arguments:[{type:{name:"signature",type:"object",raw:"{checked: boolean; crossedOut: boolean}",signature:{properties:[{key:"checked",value:{name:"boolean",required:!0}},{key:"crossedOut",value:{name:"boolean",required:!0}}]}},name:"newValues"}],return:{name:"void"}}},description:""}}};s.__docgenInfo={description:"",methods:[],displayName:"ReviewMode",props:{checked:{required:!0,tsType:{name:"boolean"},description:""},rationale:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},content:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},correct:{required:!0,tsType:{name:"boolean"},description:""},disabled:{required:!0,tsType:{name:"boolean"},description:""},pos:{required:!0,tsType:{name:"number"},description:""},reviewMode:{required:!0,tsType:{name:"boolean"},description:""},showRationale:{required:!0,tsType:{name:"boolean"},description:""},showCorrectness:{required:!0,tsType:{name:"boolean"},description:""},multipleSelect:{required:!0,tsType:{name:"boolean"},description:""},crossedOut:{required:!0,tsType:{name:"boolean"},description:""},previouslyAnswered:{required:!0,tsType:{name:"boolean"},description:""},onChange:{required:!0,tsType:{name:"signature",type:"function",raw:"(newValues: {checked: boolean; crossedOut: boolean}) => void",signature:{arguments:[{type:{name:"signature",type:"object",raw:"{checked: boolean; crossedOut: boolean}",signature:{properties:[{key:"checked",value:{name:"boolean",required:!0}},{key:"crossedOut",value:{name:"boolean",required:!0}}]}},name:"newValues"}],return:{name:"void"}}},description:""}}};c.__docgenInfo={description:"",methods:[],displayName:"Rationale",props:{checked:{required:!0,tsType:{name:"boolean"},description:""},rationale:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},content:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},correct:{required:!0,tsType:{name:"boolean"},description:""},disabled:{required:!0,tsType:{name:"boolean"},description:""},pos:{required:!0,tsType:{name:"number"},description:""},reviewMode:{required:!0,tsType:{name:"boolean"},description:""},showRationale:{required:!0,tsType:{name:"boolean"},description:""},showCorrectness:{required:!0,tsType:{name:"boolean"},description:""},multipleSelect:{required:!0,tsType:{name:"boolean"},description:""},crossedOut:{required:!0,tsType:{name:"boolean"},description:""},previouslyAnswered:{required:!0,tsType:{name:"boolean"},description:""},onChange:{required:!0,tsType:{name:"signature",type:"function",raw:"(newValues: {checked: boolean; crossedOut: boolean}) => void",signature:{arguments:[{type:{name:"signature",type:"object",raw:"{checked: boolean; crossedOut: boolean}",signature:{properties:[{key:"checked",value:{name:"boolean",required:!0}},{key:"crossedOut",value:{name:"boolean",required:!0}}]}},name:"newValues"}],return:{name:"void"}}},description:""}}};var m,h,y;o.parameters={...o.parameters,docs:{...(m=o.parameters)==null?void 0:m.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { return ; }`,...(y=(h=o.parameters)==null?void 0:h.docs)==null?void 0:y.source}}};var b,w,T;n.parameters={...n.parameters,docs:{...(b=n.parameters)==null?void 0:b.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { const sharedProps = ({ diff --git a/assets/color-select.stories-CjA_rMv_.js b/assets/color-select.stories-CjA_rMv_.js index ccbbebeade..772d27a09c 100644 --- a/assets/color-select.stories-CjA_rMv_.js +++ b/assets/color-select.stories-CjA_rMv_.js @@ -1,4 +1,4 @@ -import{j as s}from"./jsx-runtime-FVsy8kgq.js";import{r as g}from"./index-TT1qJ6UJ.js";import{C as t}from"./color-select-Xh8LIYQw.js";import{g as f}from"./util-EIbodz9l.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";const pr={title:"PerseusEditor/Components/Color Select",component:t},o=e=>s(t,{...e}),c=f("point").color;o.args={id:"color-select",selectedValue:c,onChange:()=>{}};const r={render:function(){const[d,u]=g.useState(c);return s(t,{selectedValue:d,onChange:C=>{u(C)}})}};o.__docgenInfo={description:"",methods:[],displayName:"Default"};var m,i,p;o.parameters={...o.parameters,docs:{...(m=o.parameters)==null?void 0:m.docs,source:{originalSource:`(args): React.ReactElement => { +import{j as s}from"./jsx-runtime-FVsy8kgq.js";import{r as g}from"./index-TT1qJ6UJ.js";import{C as t}from"./color-select-Xh8LIYQw.js";import{g as f}from"./util-EIbodz9l.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";const pr={title:"PerseusEditor/Components/Color Select",component:t},o=e=>s(t,{...e}),c=f("point").color;o.args={id:"color-select",selectedValue:c,onChange:()=>{}};const r={render:function(){const[d,u]=g.useState(c);return s(t,{selectedValue:d,onChange:C=>{u(C)}})}};o.__docgenInfo={description:"",methods:[],displayName:"Default"};var m,i,p;o.parameters={...o.parameters,docs:{...(m=o.parameters)==null?void 0:m.docs,source:{originalSource:`(args): React.ReactElement => { return ; }`,...(p=(i=o.parameters)==null?void 0:i.docs)==null?void 0:p.source}}};var a,l,n;r.parameters={...r.parameters,docs:{...(a=r.parameters)==null?void 0:a.docs,source:{originalSource:`{ render: function Render() { diff --git a/assets/color-swatch.stories-9OHS1D-H.js b/assets/color-swatch.stories-9OHS1D-H.js index 87b31bfdfe..cd0533ce41 100644 --- a/assets/color-swatch.stories-9OHS1D-H.js +++ b/assets/color-swatch.stories-9OHS1D-H.js @@ -1,3 +1,3 @@ -import{j as e}from"./jsx-runtime-FVsy8kgq.js";import{C as p,g as a}from"./util-EIbodz9l.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";const Wo={title:"PerseusEditor/Components/Color Swatch",component:p},o=i=>e(p,{...i});o.args={color:a("point").color,filled:!0};o.__docgenInfo={description:"",methods:[],displayName:"Default"};var r,t,m;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:`(args): React.ReactElement => { +import{j as e}from"./jsx-runtime-FVsy8kgq.js";import{C as p,g as a}from"./util-EIbodz9l.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";const Wo={title:"PerseusEditor/Components/Color Swatch",component:p},o=i=>e(p,{...i});o.args={color:a("point").color,filled:!0};o.__docgenInfo={description:"",methods:[],displayName:"Default"};var r,t,m;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:`(args): React.ReactElement => { return ; }`,...(m=(t=o.parameters)==null?void 0:t.docs)==null?void 0:m.source}}};const Xo=["Default"];export{o as Default,Xo as __namedExportsOrder,Wo as default}; diff --git a/assets/content-preview.stories-JlkBM8qF.js b/assets/content-preview.stories-JlkBM8qF.js index 7fed4aa9c1..a85796fa16 100644 --- a/assets/content-preview.stories-JlkBM8qF.js +++ b/assets/content-preview.stories-JlkBM8qF.js @@ -1,4 +1,4 @@ -import{j as e,a as x,F as W}from"./jsx-runtime-FVsy8kgq.js";import"./article-renderer-HHw6mvZH.js";import"./jquery-yG1GhClm.js";import"./util-F8-MDmsT.js";import"./phet-simulation-qZOVvVJP.js";import"./version-akiLXZts.js";import"./dependencies-d8cZibFS.js";import"./perseus-api-Nq3s7IMx.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import{R as D}from"./renderer-6wjvxpTF.js";import"./base-radio-m6RczYwQ.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./svg-image-4Vh9uTQ6.js";import"./hud-4BOtaFc1.js";import"./icon-R5gZamfG.js";import"./index-K9BSJPWl.js";import"./inline-icon-NjJlm7d0.js";import"./math-input-JZMGF6RZ.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./text-input-15gEhfDF.js";import"./text-list-editor-Jz35fIN1.js";import"./index-k-0mNqHS.js";import{u as R,a as A,m as $}from"./i18n-context-P5sgPFep.js";import"./index-IIMKO4_x.js";import{V as m}from"./index-6h5t6F0w.js";import{s as b}from"./index-deFLJwr4.js";import{r as I}from"./index-TT1qJ6UJ.js";import{c as L}from"./article-renderer.testdata-spwNviYy.js";import{b as O}from"./radio.testdata-sITJ8lxE.js";import{D as _}from"./device-framer-eGajQcXC.js";import{V as k}from"./viewport-resizer-CoOyl6DY.js";import{S as V,a as H,M}from"./mobile-keypad-wPUeR8mM.js";import"./prop-types-SKtvHVtl.js";import"./key-translator-Bl2XtQm9.js";import"./button-assets-txIojR3b.js";import{l as j}from"./index-awljIyHI.js";import{l as z}from"./constants-p_UgHLsb.js";/* empty css */import"./enums-x5qaTru7.js";import"./index-h_CiYGGb.js";import"./index-dnMhQZ-1.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-7vsPyIck.js";import"./input-with-examples-il70I6Ir.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./icon-paths-5JCXzGsq.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./shared-4TdECMLk.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-BPSWBbj5.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./answer-choices-G9U2Ia5j.js";import"./index-xuPsLuPk.js";import"./minus-bold-ONmDo3Ve.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./asset-context-I7yIqWki.js";import"./index-J2t_5nK1.js";import"./tiny-invariant-bHgPayXn.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./video-transcript-link-MKIRfGVo.js";import"./arrow-square-out-bold-090vdhrx.js";import"./stub-tag-editor-74YQ4o9G.js";import"./invariant-bu5zBsRS.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./choice-none-above-kJRmN7Nm.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./index-QCAhLhLD.js";import"./bundle.esm-7jAAHVxW.js";import"./components-yT7oveOH.js";import"./icon-paths-EoBkHOLI.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";function p({question:t,apiOptions:r,seamless:s,linterContext:P,legacyPerseusLint:T,previewDevice:q}){const C=R(),a=q!=="desktop";return e(m,{className:`framework-perseus ${a?"perseus-mobile":""}`,style:[c.container,s?void 0:c.gutter],children:e(V,{children:e(H.Consumer,{children:({setKeypadActive:S,keypadElement:E,setKeypadElement:N})=>x(W,{children:[e(D,{strings:C.strings,apiOptions:{...r,isMobile:a},keypadElement:E,linterContext:P,legacyPerseusLint:T,...t}),e(M,{onAnalyticsEvent:()=>Promise.resolve(),onDismiss:()=>S(!1),onElementMounted:N})]})})})})}const c=j.StyleSheet.create({container:{padding:b.xxxSmall_4,containerType:"inline-size",containerName:"perseus-root"},gutter:{marginRight:z}});p.__docgenInfo={description:"The `ContentPreview` component provides a simple preview system for Perseus\nContent. Due to how Persus styles are built, the preview styling matches the\ncurrent device based on the viewport width (using `@media` queries for\n`min-width` and `max-width`).\n\nThe preview will render the mobile variant (styling and layout) when the\n`previewDevice` is phone or tablet. Note that the styling cannot be matched\n100% due to the above `@media` query limitation.",methods:[],displayName:"ContentPreview",props:{question:{required:!1,tsType:{name:"PerseusRenderer"},description:""},apiOptions:{required:!1,tsType:{name:"APIOptions"},description:""},seamless:{required:!1,tsType:{name:"boolean"},description:""},linterContext:{required:!1,tsType:{name:"LinterContextProps"},description:""},legacyPerseusLint:{required:!1,tsType:{name:"ReadonlyArray",elements:[{name:"string"}],raw:"ReadonlyArray"},description:""},previewDevice:{required:!0,tsType:{name:"DeviceType"},description:""}}};const F=t=>{const[r,s]=I.useState("phone");return x(m,{children:[e(k,{deviceType:r,onViewportSizeChanged:s}),e(_,{nochrome:!1,deviceType:r,children:e(p,{...t})})]})},Vt={title:"PerseusEditor/Content Preview",component:p,decorators:[t=>e(m,{style:{margin:b.xxSmall_6},children:e(A,{strings:$,locale:"en",children:e(t,{})})})],render:t=>e(F,{...t})},o={args:{question:O}},i={args:{question:L}},n={args:{linterContext:{contentType:"exercise",highlightLint:!0,stack:[],paths:[]},question:{content:`# H1s bad +import{j as e,a as x,F as W}from"./jsx-runtime-FVsy8kgq.js";import"./article-renderer-HHw6mvZH.js";import"./jquery-yG1GhClm.js";import"./util-F8-MDmsT.js";import"./phet-simulation-qZOVvVJP.js";import"./version-akiLXZts.js";import"./dependencies-d8cZibFS.js";import"./perseus-api-Nq3s7IMx.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import{R as D}from"./renderer-6wjvxpTF.js";import"./base-radio-m6RczYwQ.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./svg-image-4Vh9uTQ6.js";import"./hud-4BOtaFc1.js";import"./icon-R5gZamfG.js";import"./index-K9BSJPWl.js";import"./inline-icon-NjJlm7d0.js";import"./math-input-JZMGF6RZ.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./text-input-15gEhfDF.js";import"./text-list-editor-Jz35fIN1.js";import"./index-k-0mNqHS.js";import{u as R,a as A,m as $}from"./i18n-context-P5sgPFep.js";import"./index-IIMKO4_x.js";import{V as m}from"./index-6h5t6F0w.js";import{s as b}from"./index-deFLJwr4.js";import{r as I}from"./index-TT1qJ6UJ.js";import{c as L}from"./article-renderer.testdata-spwNviYy.js";import{b as O}from"./radio.testdata-sITJ8lxE.js";import{D as _}from"./device-framer-eGajQcXC.js";import{V as k}from"./viewport-resizer-CoOyl6DY.js";import{S as V,a as H,M}from"./mobile-keypad-wPUeR8mM.js";import"./prop-types-SKtvHVtl.js";import"./key-translator-Bl2XtQm9.js";import"./button-assets-txIojR3b.js";import{l as j}from"./index-awljIyHI.js";import{l as z}from"./constants-p_UgHLsb.js";/* empty css */import"./enums-x5qaTru7.js";import"./index-h_CiYGGb.js";import"./index-dnMhQZ-1.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-7vsPyIck.js";import"./input-with-examples-il70I6Ir.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./icon-paths-5JCXzGsq.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./shared-4TdECMLk.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-BPSWBbj5.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./answer-choices-G9U2Ia5j.js";import"./index-xuPsLuPk.js";import"./minus-bold-ONmDo3Ve.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./asset-context-I7yIqWki.js";import"./index-J2t_5nK1.js";import"./tiny-invariant-bHgPayXn.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./video-transcript-link-MKIRfGVo.js";import"./arrow-square-out-bold-090vdhrx.js";import"./stub-tag-editor-74YQ4o9G.js";import"./invariant-bu5zBsRS.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./choice-none-above-kJRmN7Nm.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./index-QCAhLhLD.js";import"./bundle.esm-7jAAHVxW.js";import"./components-yT7oveOH.js";import"./icon-paths-EoBkHOLI.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";function p({question:t,apiOptions:r,seamless:s,linterContext:P,legacyPerseusLint:T,previewDevice:q}){const C=R(),a=q!=="desktop";return e(m,{className:`framework-perseus ${a?"perseus-mobile":""}`,style:[c.container,s?void 0:c.gutter],children:e(V,{children:e(H.Consumer,{children:({setKeypadActive:S,keypadElement:E,setKeypadElement:N})=>x(W,{children:[e(D,{strings:C.strings,apiOptions:{...r,isMobile:a},keypadElement:E,linterContext:P,legacyPerseusLint:T,...t}),e(M,{onAnalyticsEvent:()=>Promise.resolve(),onDismiss:()=>S(!1),onElementMounted:N})]})})})})}const c=j.StyleSheet.create({container:{padding:b.xxxSmall_4,containerType:"inline-size",containerName:"perseus-root"},gutter:{marginRight:z}});p.__docgenInfo={description:"The `ContentPreview` component provides a simple preview system for Perseus\nContent. Due to how Persus styles are built, the preview styling matches the\ncurrent device based on the viewport width (using `@media` queries for\n`min-width` and `max-width`).\n\nThe preview will render the mobile variant (styling and layout) when the\n`previewDevice` is phone or tablet. Note that the styling cannot be matched\n100% due to the above `@media` query limitation.",methods:[],displayName:"ContentPreview",props:{question:{required:!1,tsType:{name:"PerseusRenderer"},description:""},apiOptions:{required:!1,tsType:{name:"APIOptions"},description:""},seamless:{required:!1,tsType:{name:"boolean"},description:""},linterContext:{required:!1,tsType:{name:"LinterContextProps"},description:""},legacyPerseusLint:{required:!1,tsType:{name:"ReadonlyArray",elements:[{name:"string"}],raw:"ReadonlyArray"},description:""},previewDevice:{required:!0,tsType:{name:"DeviceType"},description:""}}};const F=t=>{const[r,s]=I.useState("phone");return x(m,{children:[e(k,{deviceType:r,onViewportSizeChanged:s}),e(_,{nochrome:!1,deviceType:r,children:e(p,{...t})})]})},Vt={title:"PerseusEditor/Content Preview",component:p,decorators:[t=>e(m,{style:{margin:b.xxSmall_6},children:e(A,{strings:$,locale:"en",children:e(t,{})})})],render:t=>e(F,{...t})},o={args:{question:O}},i={args:{question:L}},n={args:{linterContext:{contentType:"exercise",highlightLint:!0,stack:[],paths:[]},question:{content:`# H1s bad Here is some unclosed math: $1+1=3 diff --git a/assets/cs-program.stories-Hs3R7Zno.js b/assets/cs-program.stories-Hs3R7Zno.js index 7a750b5d91..709b552f65 100644 --- a/assets/cs-program.stories-Hs3R7Zno.js +++ b/assets/cs-program.stories-Hs3R7Zno.js @@ -1,4 +1,4 @@ -import{j as m}from"./jsx-runtime-FVsy8kgq.js";import{R as p}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const e={content:`[[☃ cs-program 1]] +import{j as m}from"./jsx-runtime-FVsy8kgq.js";import{R as p}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const e={content:`[[☃ cs-program 1]] `,images:{},widgets:{"cs-program 1":{graded:!0,version:{major:0,minor:0},static:!1,type:"cs-program",options:{settings:[{name:"",value:""},{name:"",value:""}],height:540,width:640,programID:"6293105639817216",static:!1,showButtons:!1,showEditor:!1},alignment:"block"}}},Xr={title:"Perseus/Widgets/CS Program"},r=s=>m(p,{question:e});r.__docgenInfo={description:"",methods:[],displayName:"Question1"};var t,o,i;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { return ; diff --git a/assets/definition-editor.stories-b7zfPU2h.js b/assets/definition-editor.stories-b7zfPU2h.js index c9bc854f12..31b4b9936a 100644 --- a/assets/definition-editor.stories-b7zfPU2h.js +++ b/assets/definition-editor.stories-b7zfPU2h.js @@ -1,3 +1,3 @@ -import{j as m}from"./jsx-runtime-FVsy8kgq.js";import{a as p}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{D as e}from"./definition-editor-aDxWnBk6.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./editor-jsonify-WkTEQia9.js";import"./index-0C4KXdeC.js";import"./editor-cnaLgEab.js";import"./index-fuycm_QE.js";import"./index-SM3muJE2.js";import"./icon-paths-EoBkHOLI.js";import"./section-control-button-vQyzwRZ4.js";import"./index-tFzzSRL2.js";import"./tex-error-view-Y2BSLjwB.js";import"./toggleable-caret-lFiCktzo.js";const st={title:"PerseusEditor/Widgets/Definition Editor"},o=a=>m(e,{onChange:p("onChange")});o.__docgenInfo={description:"",methods:[],displayName:"Default"};var t,r,i;o.parameters={...o.parameters,docs:{...(t=o.parameters)==null?void 0:t.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { +import{j as m}from"./jsx-runtime-FVsy8kgq.js";import{a as p}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{D as e}from"./definition-editor-aDxWnBk6.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./editor-jsonify-WkTEQia9.js";import"./index-0C4KXdeC.js";import"./editor-cnaLgEab.js";import"./index-fuycm_QE.js";import"./index-SM3muJE2.js";import"./icon-paths-EoBkHOLI.js";import"./section-control-button-vQyzwRZ4.js";import"./index-tFzzSRL2.js";import"./tex-error-view-Y2BSLjwB.js";import"./toggleable-caret-lFiCktzo.js";const st={title:"PerseusEditor/Widgets/Definition Editor"},o=a=>m(e,{onChange:p("onChange")});o.__docgenInfo={description:"",methods:[],displayName:"Default"};var t,r,i;o.parameters={...o.parameters,docs:{...(t=o.parameters)==null?void 0:t.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { return ; }`,...(i=(r=o.parameters)==null?void 0:r.docs)==null?void 0:i.source}}};const dt=["Default"];export{o as Default,dt as __namedExportsOrder,st as default}; diff --git a/assets/definition.stories-qYzT6tjf.js b/assets/definition.stories-qYzT6tjf.js index 604a204564..4a1f8c5489 100644 --- a/assets/definition.stories-qYzT6tjf.js +++ b/assets/definition.stories-qYzT6tjf.js @@ -1,4 +1,4 @@ -import{j as o}from"./jsx-runtime-FVsy8kgq.js";import{R as f}from"./renderer-with-debug-ui-duQdKc-n.js";import{s as h}from"./test-dependencies-QSTpbU20.js";import{A as g}from"./article-renderer-HHw6mvZH.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./side-by-side-kGWaKY6T.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./dependencies-d8cZibFS.js";import"./perseus-item-CzcHcXKx.js";import"./renderer-6wjvxpTF.js";import"./index-J2t_5nK1.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./hints-renderer-0tODKVPs.js";import"./shared-4TdECMLk.js";import"./base-radio-m6RczYwQ.js";import"./choice-none-above-kJRmN7Nm.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./hud-4BOtaFc1.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./enums-x5qaTru7.js";import"./input-with-examples-il70I6Ir.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./answer-choices-G9U2Ia5j.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";const mt={title:"Perseus/Widgets/Definition"},w={content:`Read the excerpt and answer the question below. +import{j as o}from"./jsx-runtime-FVsy8kgq.js";import{R as f}from"./renderer-with-debug-ui-duQdKc-n.js";import{s as h}from"./test-dependencies-QSTpbU20.js";import{A as g}from"./article-renderer-HHw6mvZH.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./side-by-side-kGWaKY6T.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./dependencies-d8cZibFS.js";import"./perseus-item-CzcHcXKx.js";import"./renderer-6wjvxpTF.js";import"./index-J2t_5nK1.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./hints-renderer-0tODKVPs.js";import"./shared-4TdECMLk.js";import"./base-radio-m6RczYwQ.js";import"./choice-none-above-kJRmN7Nm.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./hud-4BOtaFc1.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./enums-x5qaTru7.js";import"./input-with-examples-il70I6Ir.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./answer-choices-G9U2Ia5j.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";const mt={title:"Perseus/Widgets/Definition"},w={content:`Read the excerpt and answer the question below. The Governor and Council of the Massachusetts had much conference many days; and at last . . . . concluded a peace and friendship with [[☃ definition 1]], upon these conditions.`,images:{},widgets:{"definition 1":{graded:!0,version:{major:0,minor:0},static:!1,type:"definition",options:{definition:"A Native American people in Connecticut; white settlers in New England, the Pequots, and their respective allies were at war from 1636-1638.",togglePrompt:"the Pequots",static:!1},alignment:"default"}}},y={content:`Read the excerpt and answer the question below. diff --git a/assets/deprecated-standin.stories-UKVT6SfW.js b/assets/deprecated-standin.stories-UKVT6SfW.js index 39e9db284c..8755dcc92c 100644 --- a/assets/deprecated-standin.stories-UKVT6SfW.js +++ b/assets/deprecated-standin.stories-UKVT6SfW.js @@ -1,4 +1,4 @@ -import{j as p}from"./jsx-runtime-FVsy8kgq.js";import{R as m}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const Vt={title:"Perseus/Widgets/Deprecated Standin"},e={content:`$\\overleftrightarrow{MN}$ is the perpendicular bisector of segment $\\overline{JL}$. +import{j as p}from"./jsx-runtime-FVsy8kgq.js";import{R as m}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const Vt={title:"Perseus/Widgets/Deprecated Standin"},e={content:`$\\overleftrightarrow{MN}$ is the perpendicular bisector of segment $\\overline{JL}$. **Perform a reflection that proves $M$ must be equidistant from $J$ and $L$ and select the option which explains the proof.** The statement must be true for any point $M$ which lies on the perpendicular bisector. diff --git a/assets/dropdown-editor.stories-HM2okDep.js b/assets/dropdown-editor.stories-HM2okDep.js index 1fc23a8563..5fced574cb 100644 --- a/assets/dropdown-editor.stories-HM2okDep.js +++ b/assets/dropdown-editor.stories-HM2okDep.js @@ -1,3 +1,3 @@ -import{j as p}from"./jsx-runtime-FVsy8kgq.js";import{a as m}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{D as e}from"./dropdown-editor-ZTJVO7bh.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./editor-jsonify-WkTEQia9.js";import"./index-0C4KXdeC.js";import"./icon-paths-EoBkHOLI.js";const tr={title:"PerseusEditor/Widgets/Dropdown Editor"},o=a=>p(e,{onChange:m("onChange")});o.__docgenInfo={description:"",methods:[],displayName:"Default"};var r,t,i;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { +import{j as p}from"./jsx-runtime-FVsy8kgq.js";import{a as m}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{D as e}from"./dropdown-editor-ZTJVO7bh.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./editor-jsonify-WkTEQia9.js";import"./index-0C4KXdeC.js";import"./icon-paths-EoBkHOLI.js";const tr={title:"PerseusEditor/Widgets/Dropdown Editor"},o=a=>p(e,{onChange:m("onChange")});o.__docgenInfo={description:"",methods:[],displayName:"Default"};var r,t,i;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { return ; }`,...(i=(t=o.parameters)==null?void 0:t.docs)==null?void 0:i.source}}};const ir=["Default"];export{o as Default,ir as __namedExportsOrder,tr as default}; diff --git a/assets/dropdown.stories-5bKlSHTr.js b/assets/dropdown.stories-5bKlSHTr.js index ca8f2be9a1..93f71a58a8 100644 --- a/assets/dropdown.stories-5bKlSHTr.js +++ b/assets/dropdown.stories-5bKlSHTr.js @@ -1,3 +1,3 @@ -import{j as p}from"./jsx-runtime-FVsy8kgq.js";import{R as m}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const e={content:"The total number of boxes the forklift can carry is [[☃ dropdown 1]] $60$.",images:{},widgets:{"dropdown 1":{type:"dropdown",alignment:"default",static:!1,graded:!0,options:{static:!1,placeholder:"greater/less than or equal to",choices:[{content:"greater than or equal to",correct:!1},{content:"less than or equal to",correct:!0}]},version:{major:0,minor:0}}}},Vt={title:"Perseus/Widgets/Dropdown"},t=s=>p(m,{question:e});t.__docgenInfo={description:"",methods:[],displayName:"Question1"};var o,r,i;t.parameters={...t.parameters,docs:{...(o=t.parameters)==null?void 0:o.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { +import{j as p}from"./jsx-runtime-FVsy8kgq.js";import{R as m}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const e={content:"The total number of boxes the forklift can carry is [[☃ dropdown 1]] $60$.",images:{},widgets:{"dropdown 1":{type:"dropdown",alignment:"default",static:!1,graded:!0,options:{static:!1,placeholder:"greater/less than or equal to",choices:[{content:"greater than or equal to",correct:!1},{content:"less than or equal to",correct:!0}]},version:{major:0,minor:0}}}},Vt={title:"Perseus/Widgets/Dropdown"},t=s=>p(m,{question:e});t.__docgenInfo={description:"",methods:[],displayName:"Question1"};var o,r,i;t.parameters={...t.parameters,docs:{...(o=t.parameters)==null?void 0:o.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { return ; }`,...(i=(r=t.parameters)==null?void 0:r.docs)==null?void 0:i.source}}};const Xt=["Question1"];export{t as Question1,Xt as __namedExportsOrder,Vt as default}; diff --git a/assets/editor-page.stories-TQy8jC5s.js b/assets/editor-page.stories-TQy8jC5s.js index 834d8b4075..d1bef04a16 100644 --- a/assets/editor-page.stories-TQy8jC5s.js +++ b/assets/editor-page.stories-TQy8jC5s.js @@ -1,3 +1,3 @@ -import{j as m}from"./jsx-runtime-FVsy8kgq.js";import{r as p}from"./register-all-widgets-and-editors-for-testing-JM_52AK4.js";import{E as e}from"./editor-page-with-storybook-preview-xrdk_zOd.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-fuycm_QE.js";import"./invariant-bu5zBsRS.js";import"./jquery-yG1GhClm.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./categorizer-editor-kqwa18UH.js";import"./components-yT7oveOH.js";import"./editor-jsonify-WkTEQia9.js";import"./index-0C4KXdeC.js";import"./blur-input-hjJsfoK9.js";import"./definition-editor-aDxWnBk6.js";import"./editor-cnaLgEab.js";import"./index-SM3muJE2.js";import"./icon-paths-EoBkHOLI.js";import"./section-control-button-vQyzwRZ4.js";import"./index-tFzzSRL2.js";import"./tex-error-view-Y2BSLjwB.js";import"./toggleable-caret-lFiCktzo.js";import"./dropdown-editor-ZTJVO7bh.js";import"./explanation-editor-4Trz12sz.js";import"./expression-editor-tuy9wQAn.js";import"./graph-settings-Mbta6LHt.js";import"./image-editor-2dlEqrx6.js";import"./input-number-editor-Ilx_eLUz.js";import"./index-Cp703TN-.js";import"./interactive-graph-editor-Mi3BWbQ2.js";import"./heading-8aCiuWUg.js";import"./interactive-graph-settings-1wZZGu7U.js";import"./locked-figures-section-rXMZLdUH.js";import"./locked-ellipse-settings-GZN1lNrc.js";import"./locked-figure-aria-mxtuWC2p.js";import"./scrollless-number-text-field-U5Bx_xXb.js";import"./util-qk2aeK8X.js";import"./locked-label-settings-XMKrDtPv.js";import"./color-select-Xh8LIYQw.js";import"./util-EIbodz9l.js";import"./line-stroke-select-OYlhdy6-.js";import"./locked-function-settings-I4_zr2ES.js";import"./line-swatch-O74cEI5A.js";import"./locked-line-settings-QDeW1LoV.js";import"./locked-point-settings-wAoKZaB8.js";import"./labeled-switch-zVOryGbL.js";import"./locked-polygon-settings-FI5GR0gw.js";import"./locked-vector-settings-VEpB_970.js";import"./label-image-editor-5i-CRSxH.js";import"./form-wrapped-text-field-A2kf-LD-.js";import"./global-colors-VIVU4Od4.js";import"./answer-choices-AZkfMHUH.js";import"./behavior-i1Yr0m7G.js";import"./question-markers-u6WvyWqg.js";import"./marker-9Sjiskse.js";import"./select-image-1nPhQNuF.js";import"./matcher-editor-PqRjEL6H.js";import"./number-line-editor-ZyufmhvC.js";import"./numeric-input-editor-DxBZYkog.js";import"./phet-simulation-editor-_qNrTNuz.js";import"./python-program-editor-otiNFbeA.js";import"./editor-fBCZKp66.js";import"./sorter-editor-s1FSGhza.js";import"./chunk-WFFRPTHA-zlNDxfrq.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./editor-page-TZeqpLDg.js";import"./viewport-resizer-CoOyl6DY.js";import"./constants-p_UgHLsb.js";import"./device-framer-eGajQcXC.js";import"./item-extras-editor-WXA6-UrE.js";import"./flags-for-api-options-He-T2tS8.js";p();const pt={title:"PerseusEditor/EditorPage"},r=()=>m(e,{});r.__docgenInfo={description:"",methods:[],displayName:"Demo"};var o,t,i;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`(): React.ReactElement => { +import{j as m}from"./jsx-runtime-FVsy8kgq.js";import{r as p}from"./register-all-widgets-and-editors-for-testing-JM_52AK4.js";import{E as e}from"./editor-page-with-storybook-preview-xrdk_zOd.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-fuycm_QE.js";import"./invariant-bu5zBsRS.js";import"./jquery-yG1GhClm.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./categorizer-editor-kqwa18UH.js";import"./components-yT7oveOH.js";import"./editor-jsonify-WkTEQia9.js";import"./index-0C4KXdeC.js";import"./blur-input-hjJsfoK9.js";import"./definition-editor-aDxWnBk6.js";import"./editor-cnaLgEab.js";import"./index-SM3muJE2.js";import"./icon-paths-EoBkHOLI.js";import"./section-control-button-vQyzwRZ4.js";import"./index-tFzzSRL2.js";import"./tex-error-view-Y2BSLjwB.js";import"./toggleable-caret-lFiCktzo.js";import"./dropdown-editor-ZTJVO7bh.js";import"./explanation-editor-4Trz12sz.js";import"./expression-editor-tuy9wQAn.js";import"./graph-settings-Mbta6LHt.js";import"./image-editor-2dlEqrx6.js";import"./input-number-editor-Ilx_eLUz.js";import"./index-Cp703TN-.js";import"./interactive-graph-editor-Mi3BWbQ2.js";import"./heading-8aCiuWUg.js";import"./interactive-graph-settings-1wZZGu7U.js";import"./locked-figures-section-rXMZLdUH.js";import"./locked-ellipse-settings-GZN1lNrc.js";import"./locked-figure-aria-mxtuWC2p.js";import"./scrollless-number-text-field-U5Bx_xXb.js";import"./util-qk2aeK8X.js";import"./locked-label-settings-XMKrDtPv.js";import"./color-select-Xh8LIYQw.js";import"./util-EIbodz9l.js";import"./line-stroke-select-OYlhdy6-.js";import"./locked-function-settings-I4_zr2ES.js";import"./line-swatch-O74cEI5A.js";import"./locked-line-settings-QDeW1LoV.js";import"./locked-point-settings-wAoKZaB8.js";import"./labeled-switch-zVOryGbL.js";import"./locked-polygon-settings-FI5GR0gw.js";import"./locked-vector-settings-VEpB_970.js";import"./label-image-editor-5i-CRSxH.js";import"./form-wrapped-text-field-A2kf-LD-.js";import"./global-colors-VIVU4Od4.js";import"./answer-choices-AZkfMHUH.js";import"./behavior-i1Yr0m7G.js";import"./question-markers-u6WvyWqg.js";import"./marker-9Sjiskse.js";import"./select-image-1nPhQNuF.js";import"./matcher-editor-PqRjEL6H.js";import"./number-line-editor-ZyufmhvC.js";import"./numeric-input-editor-DxBZYkog.js";import"./phet-simulation-editor-_qNrTNuz.js";import"./python-program-editor-otiNFbeA.js";import"./editor-fBCZKp66.js";import"./sorter-editor-s1FSGhza.js";import"./chunk-WFFRPTHA-zlNDxfrq.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./editor-page-TZeqpLDg.js";import"./viewport-resizer-CoOyl6DY.js";import"./constants-p_UgHLsb.js";import"./device-framer-eGajQcXC.js";import"./item-extras-editor-WXA6-UrE.js";import"./flags-for-api-options-He-T2tS8.js";p();const pt={title:"PerseusEditor/EditorPage"},r=()=>m(e,{});r.__docgenInfo={description:"",methods:[],displayName:"Demo"};var o,t,i;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`(): React.ReactElement => { return ; }`,...(i=(t=r.parameters)==null?void 0:t.docs)==null?void 0:i.source}}};const et=["Demo"];export{r as Demo,et as __namedExportsOrder,pt as default}; diff --git a/assets/editor.stories-M1tQvs_8.js b/assets/editor.stories-M1tQvs_8.js index f404076c2c..f29d19c742 100644 --- a/assets/editor.stories-M1tQvs_8.js +++ b/assets/editor.stories-M1tQvs_8.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-FVsy8kgq.js";import{V as R}from"./index-6h5t6F0w.js";import{a as O}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{r as e}from"./index-TT1qJ6UJ.js";import"./index-px9Q0n_I.js";import{S as C}from"./side-by-side-kGWaKY6T.js";import{r as x}from"./register-all-widgets-and-editors-for-testing-JM_52AK4.js";import{a as u}from"./flags-for-api-options-He-T2tS8.js";import{E as f}from"./editor-cnaLgEab.js";import"./index-awljIyHI.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./version-akiLXZts.js";import"./article-editor-1oiBkyK2.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./device-framer-eGajQcXC.js";import"./constants-p_UgHLsb.js";import"./section-control-button-vQyzwRZ4.js";import"./index-tFzzSRL2.js";import"./icon-paths-EoBkHOLI.js";import"./viewport-resizer-CoOyl6DY.js";import"./index-0C4KXdeC.js";import"./structured-item-diff-wGcOsiRQ.js";import"./text-diff-XAqFDyA8.js";import"./tags-diff-GS9LLcEz.js";import"./editor-page-TZeqpLDg.js";import"./item-extras-editor-WXA6-UrE.js";import"./multi-items-ISSf6-13.js";import"./index-fuycm_QE.js";/* empty css */import"./categorizer-editor-kqwa18UH.js";import"./editor-jsonify-WkTEQia9.js";import"./blur-input-hjJsfoK9.js";import"./definition-editor-aDxWnBk6.js";import"./dropdown-editor-ZTJVO7bh.js";import"./explanation-editor-4Trz12sz.js";import"./expression-editor-tuy9wQAn.js";import"./graph-settings-Mbta6LHt.js";import"./image-editor-2dlEqrx6.js";import"./input-number-editor-Ilx_eLUz.js";import"./index-Cp703TN-.js";import"./interactive-graph-editor-Mi3BWbQ2.js";import"./heading-8aCiuWUg.js";import"./toggleable-caret-lFiCktzo.js";import"./interactive-graph-settings-1wZZGu7U.js";import"./locked-figures-section-rXMZLdUH.js";import"./locked-ellipse-settings-GZN1lNrc.js";import"./locked-figure-aria-mxtuWC2p.js";import"./scrollless-number-text-field-U5Bx_xXb.js";import"./util-qk2aeK8X.js";import"./locked-label-settings-XMKrDtPv.js";import"./color-select-Xh8LIYQw.js";import"./util-EIbodz9l.js";import"./line-stroke-select-OYlhdy6-.js";import"./locked-function-settings-I4_zr2ES.js";import"./line-swatch-O74cEI5A.js";import"./locked-line-settings-QDeW1LoV.js";import"./locked-point-settings-wAoKZaB8.js";import"./labeled-switch-zVOryGbL.js";import"./locked-polygon-settings-FI5GR0gw.js";import"./locked-vector-settings-VEpB_970.js";import"./label-image-editor-5i-CRSxH.js";import"./form-wrapped-text-field-A2kf-LD-.js";import"./global-colors-VIVU4Od4.js";import"./answer-choices-AZkfMHUH.js";import"./behavior-i1Yr0m7G.js";import"./question-markers-u6WvyWqg.js";import"./marker-9Sjiskse.js";import"./select-image-1nPhQNuF.js";import"./matcher-editor-PqRjEL6H.js";import"./number-line-editor-ZyufmhvC.js";import"./numeric-input-editor-DxBZYkog.js";import"./phet-simulation-editor-_qNrTNuz.js";import"./python-program-editor-otiNFbeA.js";import"./editor-fBCZKp66.js";import"./sorter-editor-s1FSGhza.js";import"./index-SM3muJE2.js";import"./tex-error-view-Y2BSLjwB.js";const n={content:`A sequence is defined recursively as follows: +import{j as r}from"./jsx-runtime-FVsy8kgq.js";import{V as R}from"./index-6h5t6F0w.js";import{a as O}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{r as e}from"./index-TT1qJ6UJ.js";import"./index-px9Q0n_I.js";import{S as C}from"./side-by-side-kGWaKY6T.js";import{r as x}from"./register-all-widgets-and-editors-for-testing-JM_52AK4.js";import{a as u}from"./flags-for-api-options-He-T2tS8.js";import{E as f}from"./editor-cnaLgEab.js";import"./index-awljIyHI.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./version-akiLXZts.js";import"./article-editor-1oiBkyK2.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./device-framer-eGajQcXC.js";import"./constants-p_UgHLsb.js";import"./section-control-button-vQyzwRZ4.js";import"./index-tFzzSRL2.js";import"./icon-paths-EoBkHOLI.js";import"./viewport-resizer-CoOyl6DY.js";import"./index-0C4KXdeC.js";import"./structured-item-diff-wGcOsiRQ.js";import"./text-diff-XAqFDyA8.js";import"./tags-diff-GS9LLcEz.js";import"./editor-page-TZeqpLDg.js";import"./item-extras-editor-WXA6-UrE.js";import"./multi-items-ISSf6-13.js";import"./index-fuycm_QE.js";/* empty css */import"./categorizer-editor-kqwa18UH.js";import"./editor-jsonify-WkTEQia9.js";import"./blur-input-hjJsfoK9.js";import"./definition-editor-aDxWnBk6.js";import"./dropdown-editor-ZTJVO7bh.js";import"./explanation-editor-4Trz12sz.js";import"./expression-editor-tuy9wQAn.js";import"./graph-settings-Mbta6LHt.js";import"./image-editor-2dlEqrx6.js";import"./input-number-editor-Ilx_eLUz.js";import"./index-Cp703TN-.js";import"./interactive-graph-editor-Mi3BWbQ2.js";import"./heading-8aCiuWUg.js";import"./toggleable-caret-lFiCktzo.js";import"./interactive-graph-settings-1wZZGu7U.js";import"./locked-figures-section-rXMZLdUH.js";import"./locked-ellipse-settings-GZN1lNrc.js";import"./locked-figure-aria-mxtuWC2p.js";import"./scrollless-number-text-field-U5Bx_xXb.js";import"./util-qk2aeK8X.js";import"./locked-label-settings-XMKrDtPv.js";import"./color-select-Xh8LIYQw.js";import"./util-EIbodz9l.js";import"./line-stroke-select-OYlhdy6-.js";import"./locked-function-settings-I4_zr2ES.js";import"./line-swatch-O74cEI5A.js";import"./locked-line-settings-QDeW1LoV.js";import"./locked-point-settings-wAoKZaB8.js";import"./labeled-switch-zVOryGbL.js";import"./locked-polygon-settings-FI5GR0gw.js";import"./locked-vector-settings-VEpB_970.js";import"./label-image-editor-5i-CRSxH.js";import"./form-wrapped-text-field-A2kf-LD-.js";import"./global-colors-VIVU4Od4.js";import"./answer-choices-AZkfMHUH.js";import"./behavior-i1Yr0m7G.js";import"./question-markers-u6WvyWqg.js";import"./marker-9Sjiskse.js";import"./select-image-1nPhQNuF.js";import"./matcher-editor-PqRjEL6H.js";import"./number-line-editor-ZyufmhvC.js";import"./numeric-input-editor-DxBZYkog.js";import"./phet-simulation-editor-_qNrTNuz.js";import"./python-program-editor-otiNFbeA.js";import"./editor-fBCZKp66.js";import"./sorter-editor-s1FSGhza.js";import"./index-SM3muJE2.js";import"./tex-error-view-Y2BSLjwB.js";const n={content:`A sequence is defined recursively as follows: $\\qquad\\displaystyle{{a}_{n}}=-\\frac{1}{a_{n-1}-1} diff --git a/assets/explanation-editor.stories-t23BbThw.js b/assets/explanation-editor.stories-t23BbThw.js index 6f5cee09c5..180c946c75 100644 --- a/assets/explanation-editor.stories-t23BbThw.js +++ b/assets/explanation-editor.stories-t23BbThw.js @@ -1,3 +1,3 @@ -import{j as p}from"./jsx-runtime-FVsy8kgq.js";import{a as m}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{E as a}from"./explanation-editor-4Trz12sz.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./editor-jsonify-WkTEQia9.js";import"./index-0C4KXdeC.js";import"./editor-cnaLgEab.js";import"./index-fuycm_QE.js";import"./index-SM3muJE2.js";import"./icon-paths-EoBkHOLI.js";import"./section-control-button-vQyzwRZ4.js";import"./index-tFzzSRL2.js";import"./tex-error-view-Y2BSLjwB.js";import"./toggleable-caret-lFiCktzo.js";const st={title:"PerseusEditor/Widgets/Explanation Editor"},o=e=>p(a,{onChange:m("onChange")});o.__docgenInfo={description:"",methods:[],displayName:"Default"};var t,r,i;o.parameters={...o.parameters,docs:{...(t=o.parameters)==null?void 0:t.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { +import{j as p}from"./jsx-runtime-FVsy8kgq.js";import{a as m}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{E as a}from"./explanation-editor-4Trz12sz.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./editor-jsonify-WkTEQia9.js";import"./index-0C4KXdeC.js";import"./editor-cnaLgEab.js";import"./index-fuycm_QE.js";import"./index-SM3muJE2.js";import"./icon-paths-EoBkHOLI.js";import"./section-control-button-vQyzwRZ4.js";import"./index-tFzzSRL2.js";import"./tex-error-view-Y2BSLjwB.js";import"./toggleable-caret-lFiCktzo.js";const st={title:"PerseusEditor/Widgets/Explanation Editor"},o=e=>p(a,{onChange:m("onChange")});o.__docgenInfo={description:"",methods:[],displayName:"Default"};var t,r,i;o.parameters={...o.parameters,docs:{...(t=o.parameters)==null?void 0:t.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { return ; }`,...(i=(r=o.parameters)==null?void 0:r.docs)==null?void 0:i.source}}};const dt=["Default"];export{o as Default,dt as __namedExportsOrder,st as default}; diff --git a/assets/explanation.stories-x4k60bN8.js b/assets/explanation.stories-x4k60bN8.js index 1b174d23ca..db6c612b0d 100644 --- a/assets/explanation.stories-x4k60bN8.js +++ b/assets/explanation.stories-x4k60bN8.js @@ -1,4 +1,4 @@ -import{j as i}from"./jsx-runtime-FVsy8kgq.js";import{R as a}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const v={content:`Here's the explanation +import{j as i}from"./jsx-runtime-FVsy8kgq.js";import{R as a}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const v={content:`Here's the explanation [[☃ explanation 1]] Did you get that?`,images:{},widgets:{"explanation 1":{graded:!0,version:{major:0,minor:0},static:!1,type:"explanation",options:{hidePrompt:"Hide explanation!",widgets:{},explanation:"This is an explanation",static:!1,showPrompt:"Explanation"},alignment:"default"}}},b={content:`Here's the explanation [[☃ explanation 1]] diff --git a/assets/expression-editor.stories-jT1kvkVk.js b/assets/expression-editor.stories-jT1kvkVk.js index e252124798..a769d6ca73 100644 --- a/assets/expression-editor.stories-jT1kvkVk.js +++ b/assets/expression-editor.stories-jT1kvkVk.js @@ -1,4 +1,4 @@ -import{j as i,a as c}from"./jsx-runtime-FVsy8kgq.js";import{l as p}from"./index-awljIyHI.js";import{r as u}from"./index-TT1qJ6UJ.js";import{R as g}from"./renderer-with-debug-ui-duQdKc-n.js";import{E as l}from"./expression-editor-tuy9wQAn.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";import"./components-yT7oveOH.js";import"./index-fuycm_QE.js";import"./index-0C4KXdeC.js";const nr={title:"PerseusEditor/Widgets/Expression Editor"};class f extends u.Component{constructor(e){super(e);const t=r.widgets["expression 1"].options;this.state={answerForms:t.answerForms,times:t.times,buttonSets:t.buttonSets,functions:t.functions}}mergeQuestionWithState(){return{...r,widgets:{...r.widgets,"expression 1":{...r.widgets["expression 1"],options:{...r.widgets["expression 1"].options,...this.state}}}}}render(){const e=Object.freeze({});return c("div",{className:p.css(m.wrapper),children:[i("div",{className:p.css(m.editorWrapper),children:i(l,{...this.state,onChange:t=>{this.setState({...t})}})}),i(g,{question:this.mergeQuestionWithState(),apiOptions:e,reviewMode:!0})]})}}const o=d=>i(f,{}),r={content:`This is a cool expression question +import{j as i,a as c}from"./jsx-runtime-FVsy8kgq.js";import{l as p}from"./index-awljIyHI.js";import{r as u}from"./index-TT1qJ6UJ.js";import{R as g}from"./renderer-with-debug-ui-duQdKc-n.js";import{E as l}from"./expression-editor-tuy9wQAn.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";import"./components-yT7oveOH.js";import"./index-fuycm_QE.js";import"./index-0C4KXdeC.js";const nr={title:"PerseusEditor/Widgets/Expression Editor"};class f extends u.Component{constructor(e){super(e);const t=r.widgets["expression 1"].options;this.state={answerForms:t.answerForms,times:t.times,buttonSets:t.buttonSets,functions:t.functions}}mergeQuestionWithState(){return{...r,widgets:{...r.widgets,"expression 1":{...r.widgets["expression 1"],options:{...r.widgets["expression 1"].options,...this.state}}}}}render(){const e=Object.freeze({});return c("div",{className:p.css(m.wrapper),children:[i("div",{className:p.css(m.editorWrapper),children:i(l,{...this.state,onChange:t=>{this.setState({...t})}})}),i(g,{question:this.mergeQuestionWithState(),apiOptions:e,reviewMode:!0})]})}}const o=d=>i(f,{}),r={content:`This is a cool expression question [[☃ expression 1]] diff --git a/assets/expression.stories-Zq3u729j.js b/assets/expression.stories-Zq3u729j.js index 0b4f4e9644..30a41b6e2a 100644 --- a/assets/expression.stories-Zq3u729j.js +++ b/assets/expression.stories-Zq3u729j.js @@ -1,4 +1,4 @@ -import{j as r,a as l}from"./jsx-runtime-FVsy8kgq.js";import{a as R}from"./mobile-keypad-wPUeR8mM.js";import"./prop-types-SKtvHVtl.js";import"./key-translator-Bl2XtQm9.js";import"./button-assets-txIojR3b.js";import{K as _}from"./enums-x5qaTru7.js";import{a as W}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{S as L}from"./server-item-renderer-with-debug-ui-PVeyAuGu.js";import{T as M}from"./test-keypad-context-wrapper-3gH8DCC_.js";import{I as N,e as j}from"./article-renderer-HHw6mvZH.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./version-akiLXZts.js";import"./invariant-bu5zBsRS.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./choice-I73s7vIV.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-YCTzZMik.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./util-F8-MDmsT.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./dependencies-d8cZibFS.js";import"./perseus-item-CzcHcXKx.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./hints-renderer-0tODKVPs.js";import"./shared-4TdECMLk.js";import"./base-radio-m6RczYwQ.js";import"./choice-none-above-kJRmN7Nm.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./hud-4BOtaFc1.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./ke-score-ui-VwVxZMGJ.js";import"./side-by-side-kGWaKY6T.js";import"./test-dependencies-QSTpbU20.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";import"./input-with-examples-il70I6Ir.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./answer-choices-G9U2Ia5j.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";const c=(e,t)=>({question:{content:"[[☃ expression 1]]",images:{},widgets:{"expression 1":{type:"expression",graded:!0,options:e,version:t}}},answer:null,answerArea:Object.fromEntries(N.map(m=>[m,!1])),itemDataVersion:{major:0,minor:1},hints:[]});c({answerForms:[],times:!1,buttonSets:["basic"],functions:[],buttonsVisible:"always",ariaLabel:"Test aria label",visibleLabel:"Test visible label"},{major:1,minor:0});const D=c({answerForms:[{considered:"correct",form:!1,simplify:!1,value:"123-x"},{considered:"correct",form:!1,simplify:!1,value:"x-123"}],times:!1,buttonSets:["basic"],functions:["f","g","h"],buttonsVisible:"always"},{major:1,minor:0}),A={answerForms:[{considered:"ungraded",form:!1,simplify:!1,value:"x+1"},{considered:"wrong",form:!1,simplify:!1,value:"y+1"},{considered:"correct",form:!1,simplify:!1,value:"z+1"},{considered:"correct",form:!1,simplify:!1,value:"a+1"}],times:!1,buttonSets:["basic"],functions:["f","g","h"],buttonsVisible:"focused",visibleLabel:"number of cm",ariaLabel:"number of centimeters"},d=c(A,{major:1,minor:0}),n=({item:e,customKeypad:t,isMobile:m=!1})=>r(M,{children:r(R.Consumer,{children:({keypadElement:T})=>r(L,{item:e,keypadElement:T,apiOptions:{isMobile:m,customKeypad:t,onFocusChange:W("onFocusChange")}})})}),o=e=>{const t={keypadType:_.EXPRESSION,extraKeys:["x","y","z"]};return r("div",{style:{padding:"2rem"},children:r(j.widget,{alignment:null,value:"",visibleLabel:"",ariaLabel:"",containerSizeClass:"small",findWidgets:m=>[],isLastUsedWidget:!1,onChange:()=>{},problemNum:1,static:!1,trackInteraction:()=>{},widgetId:"expression",keypadConfiguration:t,reviewMode:!1})})},s=e=>r(n,{item:d,customKeypad:!1}),i=e=>l("div",{children:[l("p",{children:["MathInput uses touch events;"," ",r("a",{href:"https://developer.chrome.com/docs/devtools/device-mode/",children:"emulate mobile"})," ","to use the custom keypad."]}),r(n,{item:d,customKeypad:!0,isMobile:!0})]}),a=e=>r(n,{item:D,customKeypad:e.customKeypad}),p=e=>r(n,{item:d,customKeypad:e.customKeypad}),Lr={title:"Perseus/Widgets/Expression",argTypes:{customKeypad:{control:"boolean"}}};o.__docgenInfo={description:"",methods:[],displayName:"DesktopKitchenSink",props:{customKeypad:{required:!0,tsType:{name:"boolean"},description:""}}};s.__docgenInfo={description:"",methods:[],displayName:"Desktop",props:{customKeypad:{required:!0,tsType:{name:"boolean"},description:""}}};i.__docgenInfo={description:"",methods:[],displayName:"Mobile",props:{customKeypad:{required:!0,tsType:{name:"boolean"},description:""}}};a.__docgenInfo={description:"",methods:[],displayName:"ExpressionItem2",props:{customKeypad:{required:!0,tsType:{name:"boolean"},description:""}}};p.__docgenInfo={description:"",methods:[],displayName:"ExpressionItem3",props:{customKeypad:{required:!0,tsType:{name:"boolean"},description:""}}};var u,y,f;o.parameters={...o.parameters,docs:{...(u=o.parameters)==null?void 0:u.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { +import{j as r,a as l}from"./jsx-runtime-FVsy8kgq.js";import{a as R}from"./mobile-keypad-wPUeR8mM.js";import"./prop-types-SKtvHVtl.js";import"./key-translator-Bl2XtQm9.js";import"./button-assets-txIojR3b.js";import{K as _}from"./enums-x5qaTru7.js";import{a as W}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{S as L}from"./server-item-renderer-with-debug-ui-PVeyAuGu.js";import{T as M}from"./test-keypad-context-wrapper-3gH8DCC_.js";import{I as N,e as j}from"./article-renderer-HHw6mvZH.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./version-akiLXZts.js";import"./invariant-bu5zBsRS.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./choice-I73s7vIV.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-YCTzZMik.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./util-F8-MDmsT.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./dependencies-d8cZibFS.js";import"./perseus-item-CzcHcXKx.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./hints-renderer-0tODKVPs.js";import"./shared-4TdECMLk.js";import"./base-radio-m6RczYwQ.js";import"./choice-none-above-kJRmN7Nm.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./hud-4BOtaFc1.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./ke-score-ui-VwVxZMGJ.js";import"./side-by-side-kGWaKY6T.js";import"./test-dependencies-QSTpbU20.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";import"./input-with-examples-il70I6Ir.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./answer-choices-G9U2Ia5j.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";const c=(e,t)=>({question:{content:"[[☃ expression 1]]",images:{},widgets:{"expression 1":{type:"expression",graded:!0,options:e,version:t}}},answer:null,answerArea:Object.fromEntries(N.map(m=>[m,!1])),itemDataVersion:{major:0,minor:1},hints:[]});c({answerForms:[],times:!1,buttonSets:["basic"],functions:[],buttonsVisible:"always",ariaLabel:"Test aria label",visibleLabel:"Test visible label"},{major:1,minor:0});const D=c({answerForms:[{considered:"correct",form:!1,simplify:!1,value:"123-x"},{considered:"correct",form:!1,simplify:!1,value:"x-123"}],times:!1,buttonSets:["basic"],functions:["f","g","h"],buttonsVisible:"always"},{major:1,minor:0}),A={answerForms:[{considered:"ungraded",form:!1,simplify:!1,value:"x+1"},{considered:"wrong",form:!1,simplify:!1,value:"y+1"},{considered:"correct",form:!1,simplify:!1,value:"z+1"},{considered:"correct",form:!1,simplify:!1,value:"a+1"}],times:!1,buttonSets:["basic"],functions:["f","g","h"],buttonsVisible:"focused",visibleLabel:"number of cm",ariaLabel:"number of centimeters"},d=c(A,{major:1,minor:0}),n=({item:e,customKeypad:t,isMobile:m=!1})=>r(M,{children:r(R.Consumer,{children:({keypadElement:T})=>r(L,{item:e,keypadElement:T,apiOptions:{isMobile:m,customKeypad:t,onFocusChange:W("onFocusChange")}})})}),o=e=>{const t={keypadType:_.EXPRESSION,extraKeys:["x","y","z"]};return r("div",{style:{padding:"2rem"},children:r(j.widget,{alignment:null,value:"",visibleLabel:"",ariaLabel:"",containerSizeClass:"small",findWidgets:m=>[],isLastUsedWidget:!1,onChange:()=>{},problemNum:1,static:!1,trackInteraction:()=>{},widgetId:"expression",keypadConfiguration:t,reviewMode:!1})})},s=e=>r(n,{item:d,customKeypad:!1}),i=e=>l("div",{children:[l("p",{children:["MathInput uses touch events;"," ",r("a",{href:"https://developer.chrome.com/docs/devtools/device-mode/",children:"emulate mobile"})," ","to use the custom keypad."]}),r(n,{item:d,customKeypad:!0,isMobile:!0})]}),a=e=>r(n,{item:D,customKeypad:e.customKeypad}),p=e=>r(n,{item:d,customKeypad:e.customKeypad}),Lr={title:"Perseus/Widgets/Expression",argTypes:{customKeypad:{control:"boolean"}}};o.__docgenInfo={description:"",methods:[],displayName:"DesktopKitchenSink",props:{customKeypad:{required:!0,tsType:{name:"boolean"},description:""}}};s.__docgenInfo={description:"",methods:[],displayName:"Desktop",props:{customKeypad:{required:!0,tsType:{name:"boolean"},description:""}}};i.__docgenInfo={description:"",methods:[],displayName:"Mobile",props:{customKeypad:{required:!0,tsType:{name:"boolean"},description:""}}};a.__docgenInfo={description:"",methods:[],displayName:"ExpressionItem2",props:{customKeypad:{required:!0,tsType:{name:"boolean"},description:""}}};p.__docgenInfo={description:"",methods:[],displayName:"ExpressionItem3",props:{customKeypad:{required:!0,tsType:{name:"boolean"},description:""}}};var u,y,f;o.parameters={...o.parameters,docs:{...(u=o.parameters)==null?void 0:u.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { const keypadConfiguration = { keypadType: KeypadType.EXPRESSION, extraKeys: (["x", "y", "z"] as Array) diff --git a/assets/full-keypad.stories-Rwy66K-l.js b/assets/full-keypad.stories-Rwy66K-l.js index 877b544834..83f4f3b3ba 100644 --- a/assets/full-keypad.stories-Rwy66K-l.js +++ b/assets/full-keypad.stories-Rwy66K-l.js @@ -1 +1 @@ -import{j as O}from"./jsx-runtime-FVsy8kgq.js";import{a as c}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{I as x}from"./index-VDi1Le_1.js";import{K as F}from"./mobile-keypad-wPUeR8mM.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";const s="Operators Page",l="Numbers Page",S="Geometry Page",I="Fractions Page",re={title:"math-input/Full Keypad",parameters:{backgrounds:{values:[{name:"light background",value:"white",default:!0}]},viewport:{defaultViewport:"iphone6",viewports:x}},component:F,args:{advancedRelations:!1,basicRelations:!1,divisionKey:!1,logarithms:!1,fractionsOnly:!1,convertDotToTimes:!1,preAlgebra:!1,trigonometry:!1,sendEvent:()=>{},onAnalyticsEvent:async()=>{}},argTypes:{advancedRelations:{control:"boolean",table:{category:s}},basicRelations:{control:"boolean",table:{category:s}},divisionKey:{control:"boolean",table:{category:l}},logarithms:{control:"boolean",table:{category:s}},fractionsOnly:{control:"boolean",table:{category:I}},multiplicationDot:{control:"boolean",table:{category:l}},preAlgebra:{control:"boolean",table:{category:s}},trigonometry:{control:"boolean",table:{category:S}}}},e=w=>O(F,{...w,onClickKey:c("onClickKey"),onAnalyticsEvent:async D=>c("onAnalyticsEvent")(D)}),i=e.bind({}),a=e.bind({});a.args={preAlgebra:!0};const o=e.bind({});o.args={preAlgebra:!0,trigonometry:!0};const t=e.bind({});t.args={fractionsOnly:!0};const r=e.bind({});r.args={advancedRelations:!0,basicRelations:!0,divisionKey:!0,logarithms:!0,convertDotToTimes:!1,preAlgebra:!0,trigonometry:!0,expandedView:!0,showDismiss:!0,extraKeys:["a","b","c"]};const n=e.bind({});n.args={advancedRelations:!0,basicRelations:!0,divisionKey:!0,logarithms:!0,convertDotToTimes:!1,preAlgebra:!0,trigonometry:!0,expandedView:!1,showDismiss:!0,extraKeys:["a","b","c"]};var p,y,m;i.parameters={...i.parameters,docs:{...(p=i.parameters)==null?void 0:p.docs,source:{originalSource:'(args: PropsFor): React.ReactElement => action("onAnalyticsEvent")(e)} />',...(m=(y=i.parameters)==null?void 0:y.docs)==null?void 0:m.source}}};var g,d,u;a.parameters={...a.parameters,docs:{...(g=a.parameters)==null?void 0:g.docs,source:{originalSource:'(args: PropsFor): React.ReactElement => action("onAnalyticsEvent")(e)} />',...(u=(d=a.parameters)==null?void 0:d.docs)==null?void 0:u.source}}};var b,v,K;o.parameters={...o.parameters,docs:{...(b=o.parameters)==null?void 0:b.docs,source:{originalSource:'(args: PropsFor): React.ReactElement => action("onAnalyticsEvent")(e)} />',...(K=(v=o.parameters)==null?void 0:v.docs)==null?void 0:K.source}}};var f,E,A;t.parameters={...t.parameters,docs:{...(f=t.parameters)==null?void 0:f.docs,source:{originalSource:'(args: PropsFor): React.ReactElement => action("onAnalyticsEvent")(e)} />',...(A=(E=t.parameters)==null?void 0:E.docs)==null?void 0:A.source}}};var R,P,k;r.parameters={...r.parameters,docs:{...(R=r.parameters)==null?void 0:R.docs,source:{originalSource:'(args: PropsFor): React.ReactElement => action("onAnalyticsEvent")(e)} />',...(k=(P=r.parameters)==null?void 0:P.docs)==null?void 0:k.source}}};var h,C,T;n.parameters={...n.parameters,docs:{...(h=n.parameters)==null?void 0:h.docs,source:{originalSource:'(args: PropsFor): React.ReactElement => action("onAnalyticsEvent")(e)} />',...(T=(C=n.parameters)==null?void 0:C.docs)==null?void 0:T.source}}};const ne=["Default","PreAlgebra","Trigonometry","FractionsOnly","Everything","EverythingMinusNavigationPad"];export{i as Default,r as Everything,n as EverythingMinusNavigationPad,t as FractionsOnly,a as PreAlgebra,o as Trigonometry,ne as __namedExportsOrder,re as default}; +import{j as O}from"./jsx-runtime-FVsy8kgq.js";import{a as c}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{I as x}from"./index-VDi1Le_1.js";import{K as F}from"./mobile-keypad-wPUeR8mM.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";const s="Operators Page",l="Numbers Page",S="Geometry Page",I="Fractions Page",re={title:"math-input/Full Keypad",parameters:{backgrounds:{values:[{name:"light background",value:"white",default:!0}]},viewport:{defaultViewport:"iphone6",viewports:x}},component:F,args:{advancedRelations:!1,basicRelations:!1,divisionKey:!1,logarithms:!1,fractionsOnly:!1,convertDotToTimes:!1,preAlgebra:!1,trigonometry:!1,sendEvent:()=>{},onAnalyticsEvent:async()=>{}},argTypes:{advancedRelations:{control:"boolean",table:{category:s}},basicRelations:{control:"boolean",table:{category:s}},divisionKey:{control:"boolean",table:{category:l}},logarithms:{control:"boolean",table:{category:s}},fractionsOnly:{control:"boolean",table:{category:I}},multiplicationDot:{control:"boolean",table:{category:l}},preAlgebra:{control:"boolean",table:{category:s}},trigonometry:{control:"boolean",table:{category:S}}}},e=w=>O(F,{...w,onClickKey:c("onClickKey"),onAnalyticsEvent:async D=>c("onAnalyticsEvent")(D)}),i=e.bind({}),a=e.bind({});a.args={preAlgebra:!0};const o=e.bind({});o.args={preAlgebra:!0,trigonometry:!0};const t=e.bind({});t.args={fractionsOnly:!0};const r=e.bind({});r.args={advancedRelations:!0,basicRelations:!0,divisionKey:!0,logarithms:!0,convertDotToTimes:!1,preAlgebra:!0,trigonometry:!0,expandedView:!0,showDismiss:!0,extraKeys:["a","b","c"]};const n=e.bind({});n.args={advancedRelations:!0,basicRelations:!0,divisionKey:!0,logarithms:!0,convertDotToTimes:!1,preAlgebra:!0,trigonometry:!0,expandedView:!1,showDismiss:!0,extraKeys:["a","b","c"]};var p,y,m;i.parameters={...i.parameters,docs:{...(p=i.parameters)==null?void 0:p.docs,source:{originalSource:'(args: PropsFor): React.ReactElement => action("onAnalyticsEvent")(e)} />',...(m=(y=i.parameters)==null?void 0:y.docs)==null?void 0:m.source}}};var g,d,u;a.parameters={...a.parameters,docs:{...(g=a.parameters)==null?void 0:g.docs,source:{originalSource:'(args: PropsFor): React.ReactElement => action("onAnalyticsEvent")(e)} />',...(u=(d=a.parameters)==null?void 0:d.docs)==null?void 0:u.source}}};var b,v,K;o.parameters={...o.parameters,docs:{...(b=o.parameters)==null?void 0:b.docs,source:{originalSource:'(args: PropsFor): React.ReactElement => action("onAnalyticsEvent")(e)} />',...(K=(v=o.parameters)==null?void 0:v.docs)==null?void 0:K.source}}};var f,E,A;t.parameters={...t.parameters,docs:{...(f=t.parameters)==null?void 0:f.docs,source:{originalSource:'(args: PropsFor): React.ReactElement => action("onAnalyticsEvent")(e)} />',...(A=(E=t.parameters)==null?void 0:E.docs)==null?void 0:A.source}}};var R,P,k;r.parameters={...r.parameters,docs:{...(R=r.parameters)==null?void 0:R.docs,source:{originalSource:'(args: PropsFor): React.ReactElement => action("onAnalyticsEvent")(e)} />',...(k=(P=r.parameters)==null?void 0:P.docs)==null?void 0:k.source}}};var h,C,T;n.parameters={...n.parameters,docs:{...(h=n.parameters)==null?void 0:h.docs,source:{originalSource:'(args: PropsFor): React.ReactElement => action("onAnalyticsEvent")(e)} />',...(T=(C=n.parameters)==null?void 0:C.docs)==null?void 0:T.source}}};const ne=["Default","PreAlgebra","Trigonometry","FractionsOnly","Everything","EverythingMinusNavigationPad"];export{i as Default,r as Everything,n as EverythingMinusNavigationPad,t as FractionsOnly,a as PreAlgebra,o as Trigonometry,ne as __namedExportsOrder,re as default}; diff --git a/assets/full-mobile-input.stories-jwUl9wLW.js b/assets/full-mobile-input.stories-jwUl9wLW.js index fc44f7dbd4..866d9d61b7 100644 --- a/assets/full-mobile-input.stories-jwUl9wLW.js +++ b/assets/full-mobile-input.stories-jwUl9wLW.js @@ -1,4 +1,4 @@ -import{j as e,a as u}from"./jsx-runtime-FVsy8kgq.js";import{S,a as M,M as T}from"./mobile-keypad-wPUeR8mM.js";import{a as I}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{r}from"./index-TT1qJ6UJ.js";import{M as b}from"./prop-types-SKtvHVtl.js";import"./key-translator-Bl2XtQm9.js";import"./button-assets-txIojR3b.js";import{K as d}from"./enums-x5qaTru7.js";import"./index-awljIyHI.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./version-akiLXZts.js";import"./invariant-bu5zBsRS.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";const ot={title:"math-input/Full Mobile MathInput",parameters:{backgrounds:{default:"light background",values:[{name:"light background",value:"lightgrey",default:!0}]}}},N=({keypadElement:t,setKeypadElement:a})=>{const[h,v]=r.useState(""),[i,g]=r.useState(!1),[n,y]=r.useState(!0),[m,K]=r.useState(!0),x=r.useRef(null),C=n?"CDOT":"TIMES";return r.useEffect(()=>{t==null||t.configure({keypadType:i?d.EXPRESSION:d.FRACTION,extraKeys:i?["x","y","PI","THETA"]:[],times:n},()=>{})},[t,i,n]),u("div",{style:{padding:"1rem 2rem"},children:[u("div",{children:[e("div",{children:"NOTE: To properly test the input interaction, you will need to simulate a device using the dev tools. MathInput requires touch events (not click events)."}),u("div",{style:{padding:"1rem 0"},children:[e("button",{onClick:()=>g(!i),children:`Use ${i?"Fraction":"Expression"} Keypad`}),e("button",{onClick:()=>K(!m),children:`Use ${m?"Legacy":"New"} Keypad`}),e("button",{onClick:()=>y(!n),children:"Toggle to "+C})]})]}),e(b,{value:h,ref:x,keypadElement:t,onChange:(o,p)=>{v(o),p==null||p()},onFocus:()=>{t==null||t.activate()},onBlur:()=>{t==null||t.dismiss()},ariaLabel:"Mobile input"}),e(T,{onElementMounted:o=>{o&&a(o)},onDismiss:()=>{},onAnalyticsEvent:async o=>I("onAnalyticsEvent")(o)})]})};function s(){return e(S,{children:e(M.Consumer,{children:({keypadElement:t,setKeypadElement:a})=>e(N,{keypadElement:t,setKeypadElement:a})})})}s.__docgenInfo={description:"",methods:[],displayName:"Wrapped"};var c,l,f;s.parameters={...s.parameters,docs:{...(c=s.parameters)==null?void 0:c.docs,source:{originalSource:`function Wrapped() { +import{j as e,a as u}from"./jsx-runtime-FVsy8kgq.js";import{S,a as M,M as T}from"./mobile-keypad-wPUeR8mM.js";import{a as I}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{r}from"./index-TT1qJ6UJ.js";import{M as b}from"./prop-types-SKtvHVtl.js";import"./key-translator-Bl2XtQm9.js";import"./button-assets-txIojR3b.js";import{K as d}from"./enums-x5qaTru7.js";import"./index-awljIyHI.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./version-akiLXZts.js";import"./invariant-bu5zBsRS.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";const ot={title:"math-input/Full Mobile MathInput",parameters:{backgrounds:{default:"light background",values:[{name:"light background",value:"lightgrey",default:!0}]}}},N=({keypadElement:t,setKeypadElement:a})=>{const[h,v]=r.useState(""),[i,g]=r.useState(!1),[n,y]=r.useState(!0),[m,K]=r.useState(!0),x=r.useRef(null),C=n?"CDOT":"TIMES";return r.useEffect(()=>{t==null||t.configure({keypadType:i?d.EXPRESSION:d.FRACTION,extraKeys:i?["x","y","PI","THETA"]:[],times:n},()=>{})},[t,i,n]),u("div",{style:{padding:"1rem 2rem"},children:[u("div",{children:[e("div",{children:"NOTE: To properly test the input interaction, you will need to simulate a device using the dev tools. MathInput requires touch events (not click events)."}),u("div",{style:{padding:"1rem 0"},children:[e("button",{onClick:()=>g(!i),children:`Use ${i?"Fraction":"Expression"} Keypad`}),e("button",{onClick:()=>K(!m),children:`Use ${m?"Legacy":"New"} Keypad`}),e("button",{onClick:()=>y(!n),children:"Toggle to "+C})]})]}),e(b,{value:h,ref:x,keypadElement:t,onChange:(o,p)=>{v(o),p==null||p()},onFocus:()=>{t==null||t.activate()},onBlur:()=>{t==null||t.dismiss()},ariaLabel:"Mobile input"}),e(T,{onElementMounted:o=>{o&&a(o)},onDismiss:()=>{},onAnalyticsEvent:async o=>I("onAnalyticsEvent")(o)})]})};function s(){return e(S,{children:e(M.Consumer,{children:({keypadElement:t,setKeypadElement:a})=>e(N,{keypadElement:t,setKeypadElement:a})})})}s.__docgenInfo={description:"",methods:[],displayName:"Wrapped"};var c,l,f;s.parameters={...s.parameters,docs:{...(c=s.parameters)==null?void 0:c.docs,source:{originalSource:`function Wrapped() { return {({ diff --git a/assets/graded-group-set.stories-kzlzz78_.js b/assets/graded-group-set.stories-kzlzz78_.js index 7b41389a11..863c21dcc5 100644 --- a/assets/graded-group-set.stories-kzlzz78_.js +++ b/assets/graded-group-set.stories-kzlzz78_.js @@ -1,4 +1,4 @@ -import{j as a}from"./jsx-runtime-FVsy8kgq.js";import{R as s}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const n={content:`#Section 1: Adding tenths less than one +import{j as a}from"./jsx-runtime-FVsy8kgq.js";import{R as s}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const n={content:`#Section 1: Adding tenths less than one [[☃ graded-group-set 1]] diff --git a/assets/graded-group.stories-eKKm_Jqy.js b/assets/graded-group.stories-eKKm_Jqy.js index 88df697142..24995fad81 100644 --- a/assets/graded-group.stories-eKKm_Jqy.js +++ b/assets/graded-group.stories-eKKm_Jqy.js @@ -1,4 +1,4 @@ -import{j as s}from"./jsx-runtime-FVsy8kgq.js";import{R as a}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const m={content:`--- +import{j as s}from"./jsx-runtime-FVsy8kgq.js";import{R as a}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const m={content:`--- ##Check your understanding! diff --git a/assets/graph-settings.stories-Gel_A3Jm.js b/assets/graph-settings.stories-Gel_A3Jm.js index 832f1983b8..5e3e9fe2ee 100644 --- a/assets/graph-settings.stories-Gel_A3Jm.js +++ b/assets/graph-settings.stories-Gel_A3Jm.js @@ -1,3 +1,3 @@ -import{j as e}from"./jsx-runtime-FVsy8kgq.js";import{G as i}from"./graph-settings-Mbta6LHt.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./index-fuycm_QE.js";import"./index-0C4KXdeC.js";const a={editableSettings:{control:{type:"array",options:["canvas","graph","snap","image","measure"]}},box:{control:{type:"array"}},range:{control:{type:"object"}},labels:{control:{type:"object"}},step:{control:{type:"object"}},gridStep:{control:{type:"object"}},snapStep:{control:{type:"object"}},valid:{control:{type:"text"}},backgroundImage:{control:{type:"object"}},markings:{control:{type:"select"},table:{type:{summary:'"graph" | "grid" | "none"'}},type:{name:"enum",value:["graph","grid","none"],required:!1}},rulerLabel:{control:{type:"text"}},rulerTicks:{control:{type:"number"}},showTooltips:{control:{type:"boolean"}},onChange:{control:{type:"function"}}},Yt={title:"PerseusEditor/Components/Graph Settings",component:i,argTypes:a},t=m=>e(i,{...m});t.args={range:[[-10,10],[-10,10]]};t.__docgenInfo={description:"",methods:[],displayName:"Default"};var r,o,p;t.parameters={...t.parameters,docs:{...(r=t.parameters)==null?void 0:r.docs,source:{originalSource:`(args): React.ReactElement => { +import{j as e}from"./jsx-runtime-FVsy8kgq.js";import{G as i}from"./graph-settings-Mbta6LHt.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./index-fuycm_QE.js";import"./index-0C4KXdeC.js";const a={editableSettings:{control:{type:"array",options:["canvas","graph","snap","image","measure"]}},box:{control:{type:"array"}},range:{control:{type:"object"}},labels:{control:{type:"object"}},step:{control:{type:"object"}},gridStep:{control:{type:"object"}},snapStep:{control:{type:"object"}},valid:{control:{type:"text"}},backgroundImage:{control:{type:"object"}},markings:{control:{type:"select"},table:{type:{summary:'"graph" | "grid" | "none"'}},type:{name:"enum",value:["graph","grid","none"],required:!1}},rulerLabel:{control:{type:"text"}},rulerTicks:{control:{type:"number"}},showTooltips:{control:{type:"boolean"}},onChange:{control:{type:"function"}}},Yt={title:"PerseusEditor/Components/Graph Settings",component:i,argTypes:a},t=m=>e(i,{...m});t.args={range:[[-10,10],[-10,10]]};t.__docgenInfo={description:"",methods:[],displayName:"Default"};var r,o,p;t.parameters={...t.parameters,docs:{...(r=t.parameters)==null?void 0:r.docs,source:{originalSource:`(args): React.ReactElement => { return ; }`,...(p=(o=t.parameters)==null?void 0:o.docs)==null?void 0:p.source}}};const Zt=["Default"];export{t as Default,Zt as __namedExportsOrder,Yt as default}; diff --git a/assets/grapher.stories-8_Vaef-F.js b/assets/grapher.stories-8_Vaef-F.js index a3bc45e993..b655c1de79 100644 --- a/assets/grapher.stories-8_Vaef-F.js +++ b/assets/grapher.stories-8_Vaef-F.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-FVsy8kgq.js";import{R as r}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const A={content:`The graph of the function $h(x)=2|x|$ is shown on the grid below. +import{j as e}from"./jsx-runtime-FVsy8kgq.js";import{R as r}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const A={content:`The graph of the function $h(x)=2|x|$ is shown on the grid below. **Graph the function $f(x)=2|x-8|+1$ in the interactive graph. ** diff --git a/assets/graphie.stories-cARQJrHq.js b/assets/graphie.stories-cARQJrHq.js index 2450abfac5..d9b6cb8634 100644 --- a/assets/graphie.stories-cARQJrHq.js +++ b/assets/graphie.stories-cARQJrHq.js @@ -1,3 +1,3 @@ -import{j as l}from"./jsx-runtime-FVsy8kgq.js";import{S as u}from"./server-item-renderer-with-debug-ui-PVeyAuGu.js";import{I as h}from"./article-renderer-HHw6mvZH.js";import{a as g}from"./svg-image-4Vh9uTQ6.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./dependencies-d8cZibFS.js";import"./perseus-item-CzcHcXKx.js";import"./renderer-6wjvxpTF.js";import"./index-J2t_5nK1.js";import"./asset-context-I7yIqWki.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./hints-renderer-0tODKVPs.js";import"./shared-4TdECMLk.js";import"./base-radio-m6RczYwQ.js";import"./choice-none-above-kJRmN7Nm.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./hud-4BOtaFc1.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./ke-score-ui-VwVxZMGJ.js";import"./side-by-side-kGWaKY6T.js";import"./test-dependencies-QSTpbU20.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";import"./enums-x5qaTru7.js";import"./input-with-examples-il70I6Ir.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./answer-choices-G9U2Ia5j.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./video-transcript-link-MKIRfGVo.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";const f={answerArea:Object.fromEntries(h.map(d=>[d,!1])),hints:[],itemDataVersion:{major:0,minor:1},question:{content:"[[☃ image 1]]",images:{},widgets:{"image 1":{alignment:"block",graded:!0,options:{alt:"This chart presents a pie graph divided into 2 sectors: 28 percent are unsuccessful and 72 percent are successful.",backgroundImage:{height:210,url:"web+graphie://cdn.kastatic.org/ka-perseus-graphie/7c0a5afb8670fad738df800ffe16c5e516b48777",width:210},box:[210,210],caption:"Source: NASA “Current and Past Missions”",labels:[],range:[[0,10],[0,10]],static:!1,title:"Percentage of Successful Cometary Missions (1978-2014)"},static:!1,type:"image",version:{major:0,minor:0}}}},answer:null},i=200,at={title:"Perseus/Components/Graphie",component:g,args:{box:[i,i],setup:()=>{},setDrawingAreaAvailable:()=>{}}},t={},r=()=>l(u,{item:f});r.__docgenInfo={description:"A demonstration of a Graphie rendered using the Perseus `Renderer` complete\nwith overlaid labels and an image caption below.",methods:[],displayName:"PieChartGraphieLabels"};var o,e,m;t.parameters={...t.parameters,docs:{...(o=t.parameters)==null?void 0:o.docs,source:{originalSource:"{}",...(m=(e=t.parameters)==null?void 0:e.docs)==null?void 0:m.source}}};var p,a,s,n,c;r.parameters={...r.parameters,docs:{...(p=r.parameters)==null?void 0:p.docs,source:{originalSource:`() => { +import{j as l}from"./jsx-runtime-FVsy8kgq.js";import{S as u}from"./server-item-renderer-with-debug-ui-PVeyAuGu.js";import{I as h}from"./article-renderer-HHw6mvZH.js";import{a as g}from"./svg-image-4Vh9uTQ6.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./dependencies-d8cZibFS.js";import"./perseus-item-CzcHcXKx.js";import"./renderer-6wjvxpTF.js";import"./index-J2t_5nK1.js";import"./asset-context-I7yIqWki.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./hints-renderer-0tODKVPs.js";import"./shared-4TdECMLk.js";import"./base-radio-m6RczYwQ.js";import"./choice-none-above-kJRmN7Nm.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./hud-4BOtaFc1.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./ke-score-ui-VwVxZMGJ.js";import"./side-by-side-kGWaKY6T.js";import"./test-dependencies-QSTpbU20.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";import"./enums-x5qaTru7.js";import"./input-with-examples-il70I6Ir.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./answer-choices-G9U2Ia5j.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./video-transcript-link-MKIRfGVo.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";const f={answerArea:Object.fromEntries(h.map(d=>[d,!1])),hints:[],itemDataVersion:{major:0,minor:1},question:{content:"[[☃ image 1]]",images:{},widgets:{"image 1":{alignment:"block",graded:!0,options:{alt:"This chart presents a pie graph divided into 2 sectors: 28 percent are unsuccessful and 72 percent are successful.",backgroundImage:{height:210,url:"web+graphie://cdn.kastatic.org/ka-perseus-graphie/7c0a5afb8670fad738df800ffe16c5e516b48777",width:210},box:[210,210],caption:"Source: NASA “Current and Past Missions”",labels:[],range:[[0,10],[0,10]],static:!1,title:"Percentage of Successful Cometary Missions (1978-2014)"},static:!1,type:"image",version:{major:0,minor:0}}}},answer:null},i=200,at={title:"Perseus/Components/Graphie",component:g,args:{box:[i,i],setup:()=>{},setDrawingAreaAvailable:()=>{}}},t={},r=()=>l(u,{item:f});r.__docgenInfo={description:"A demonstration of a Graphie rendered using the Perseus `Renderer` complete\nwith overlaid labels and an image caption below.",methods:[],displayName:"PieChartGraphieLabels"};var o,e,m;t.parameters={...t.parameters,docs:{...(o=t.parameters)==null?void 0:o.docs,source:{originalSource:"{}",...(m=(e=t.parameters)==null?void 0:e.docs)==null?void 0:m.source}}};var p,a,s,n,c;r.parameters={...r.parameters,docs:{...(p=r.parameters)==null?void 0:p.docs,source:{originalSource:`() => { return ; }`,...(s=(a=r.parameters)==null?void 0:a.docs)==null?void 0:s.source},description:{story:"A demonstration of a Graphie rendered using the Perseus `Renderer` complete\nwith overlaid labels and an image caption below.",...(c=(n=r.parameters)==null?void 0:n.docs)==null?void 0:c.description}}};const st=["SquareBoxSizeAndOtherwiseEmpty","PieChartGraphieLabels"];export{r as PieChartGraphieLabels,t as SquareBoxSizeAndOtherwiseEmpty,st as __namedExportsOrder,at as default}; diff --git a/assets/group.stories-TjnFklj5.js b/assets/group.stories-TjnFklj5.js index a8be05dec3..bd6adf32fc 100644 --- a/assets/group.stories-TjnFklj5.js +++ b/assets/group.stories-TjnFklj5.js @@ -1,4 +1,4 @@ -import{j as i}from"./jsx-runtime-FVsy8kgq.js";import{R as n}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const a={content:`![](https://ka-perseus-graphie.s3.amazonaws.com/3e6d0981127dea205c2becc0ead24702fbe862a1.png) +import{j as i}from"./jsx-runtime-FVsy8kgq.js";import{R as n}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const a={content:`![](https://ka-perseus-graphie.s3.amazonaws.com/3e6d0981127dea205c2becc0ead24702fbe862a1.png) ===== diff --git a/assets/iframe-NuRA7b3O.js b/assets/iframe-NuRA7b3O.js index 3849f9965b..bcb266289c 100644 --- a/assets/iframe-NuRA7b3O.js +++ b/assets/iframe-NuRA7b3O.js @@ -1,7 +1,7 @@ import"../sb-preview/runtime.js";(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))p(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const r of t.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&p(r)}).observe(document,{childList:!0,subtree:!0});function a(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?t.credentials="include":e.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function p(e){if(e.ep)return;e.ep=!0;const t=a(e);fetch(e.href,t)}})();const l="modulepreload",g=function(_,i){return new URL(_,i).href},d={},s=function(i,a,p){let e=Promise.resolve();if(a&&a.length>0){const t=document.getElementsByTagName("link");e=Promise.all(a.map(r=>{if(r=g(r,p),r in d)return;d[r]=!0;const c=r.endsWith(".css"),E=c?'[rel="stylesheet"]':"";if(!!p)for(let m=t.length-1;m>=0;m--){const u=t[m];if(u.href===r&&(!c||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${E}`))return;const o=document.createElement("link");if(o.rel=c?"stylesheet":l,c||(o.as="script",o.crossOrigin=""),o.href=r,document.head.appendChild(o),c)return new Promise((m,u)=>{o.addEventListener("load",m),o.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${r}`)))})}))}return e.then(()=>i()).catch(t=>{const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=t,window.dispatchEvent(r),!r.defaultPrevented)throw t})},{createBrowserChannel:O}=__STORYBOOK_MODULE_CHANNELS__,{addons:v}=__STORYBOOK_MODULE_PREVIEW_API__,n=O({page:"preview"});v.setChannel(n);window.__STORYBOOK_ADDONS_CHANNEL__=n;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=n);const R={"./packages/math-input/src/components/keypad/keypad-button.stories.tsx":async()=>s(()=>import("./keypad-button.stories-tDGMB8WS.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]),import.meta.url),"./packages/math-input/src/components/keypad/keypad-mathquill.stories.tsx":async()=>s(()=>import("./keypad-mathquill.stories-anFRYGcO.js"),__vite__mapDeps([15,1,2,3,16,10,11,17,18,19,12,13,20,14,21,22,23,7,24,25,26,27,9,8,28,29,30,31]),import.meta.url),"./packages/math-input/src/components/keypad/keypad-pages/keypad-pages.stories.tsx":async()=>s(()=>import("./keypad-pages.stories-UYZo0hoJ.js"),__vite__mapDeps([32,1,2,3,4,5,6,33,28,7,8,9,10,11,12,13,14]),import.meta.url),"./packages/math-input/src/components/keypad/navigation-pad.stories.tsx":async()=>s(()=>import("./navigation-pad.stories-qTnieBG4.js"),__vite__mapDeps([34,1,2,3,4,5,6,29,10,11,14,7,9,12,13]),import.meta.url),"./packages/math-input/src/components/tabbar/tabbar.stories.tsx":async()=>s(()=>import("./tabbar.stories-XOe59aSK.js"),__vite__mapDeps([35,1,2,3,26,10,11,27,9,12,13,14]),import.meta.url),"./packages/math-input/src/components/tabbar/tabbaritem.stories.tsx":async()=>s(()=>import("./tabbaritem.stories-mdibAqRo.js"),__vite__mapDeps([36,27,1,2,3,9,10,11,12,13,14]),import.meta.url),"./packages/math-input/src/full-keypad.stories.tsx":async()=>s(()=>import("./full-keypad.stories-Rwy66K-l.js"),__vite__mapDeps([37,1,2,3,4,5,6,33,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29]),import.meta.url),"./packages/math-input/src/full-mobile-input.stories.tsx":async()=>s(()=>import("./full-mobile-input.stories-jwUl9wLW.js"),__vite__mapDeps([38,1,2,3,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,4,5,6,39,40,30,31,41,42,43]),import.meta.url),"./packages/perseus-editor/src/__stories__/article-editor.stories.tsx":async()=>s(()=>import("./article-editor.stories-vAQRmXTk.js"),__vite__mapDeps([44,1,2,3,45,46,40,47,39,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167]),import.meta.url),"./packages/perseus-editor/src/__stories__/content-preview.stories.tsx":async()=>s(()=>import("./content-preview.stories-JlkBM8qF.js"),__vite__mapDeps([168,1,2,3,45,46,40,47,39,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,169,170,111,112,171,110,122,172]),import.meta.url),"./packages/perseus-editor/src/__stories__/editor-page.stories.tsx":async()=>s(()=>import("./editor-page.stories-TQy8jC5s.js"),__vite__mapDeps([173,1,2,3,113,114,41,47,45,46,40,39,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,115,110,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,174,4,5,6,175,171,112,111,176,177]),import.meta.url),"./packages/perseus-editor/src/__stories__/editor.stories.tsx":async()=>s(()=>import("./editor.stories-M1tQvs_8.js"),__vite__mapDeps([178,1,2,3,10,11,4,5,6,179,40,109,45,46,47,39,24,17,21,25,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,171,180,181,182,175,176,183,172,184,177]),import.meta.url),"./packages/perseus-editor/src/__stories__/interactive-graph-editor.stories.tsx":async()=>s(()=>import("./interactive-graph-editor.stories-K38bkhhY.js"),__vite__mapDeps([185,1,2,3,10,11,84,14,23,4,5,6,179,40,109,45,46,47,39,24,17,21,25,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,171,180,181,182,175,176,183,172,186,187,174,177]),import.meta.url),"./packages/perseus-editor/src/__stories__/item-editor.stories.tsx":async()=>s(()=>import("./item-editor.stories-Mqq5n0pv.js"),__vite__mapDeps([188,1,2,3,176,45,46,40,47,39,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,110,172]),import.meta.url),"./packages/perseus-editor/src/__stories__/tex-error-view.stories.tsx":async()=>s(()=>import("./tex-error-view.stories-vwGgGZvn.js"),__vite__mapDeps([189,125,1,2,3,10,11,126,70]),import.meta.url),"./packages/perseus-editor/src/components/__stories__/blur-input.stories.tsx":async()=>s(()=>import("./blur-input.stories-6PTTWtP8.js"),__vite__mapDeps([190,1,2,3,4,5,6,118]),import.meta.url),"./packages/perseus-editor/src/components/__stories__/color-select.stories.tsx":async()=>s(()=>import("./color-select.stories-CjA_rMv_.js"),__vite__mapDeps([191,1,2,3,143,45,46,40,47,39,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,144]),import.meta.url),"./packages/perseus-editor/src/components/__stories__/color-swatch.stories.tsx":async()=>s(()=>import("./color-swatch.stories-9OHS1D-H.js"),__vite__mapDeps([192,1,2,3,144,45,46,40,47,39,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108]),import.meta.url),"./packages/perseus-editor/src/components/__stories__/device-framer.stories.tsx":async()=>s(()=>import("./device-framer.stories-biQrBk9x.js"),__vite__mapDeps([193,1,2,3,121,14,111,112]),import.meta.url),"./packages/perseus-editor/src/components/__stories__/graph-settings.stories.tsx":async()=>s(()=>import("./graph-settings.stories-Gel_A3Jm.js"),__vite__mapDeps([194,1,2,3,130,45,46,40,47,39,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,110,114,117]),import.meta.url),"./packages/perseus-editor/src/components/__stories__/interactive-graph-settings.stories.tsx":async()=>s(()=>import("./interactive-graph-settings.stories-8xbUVR8u.js"),__vite__mapDeps([195,1,2,3,136,45,46,40,47,39,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,110,135,124,126,196]),import.meta.url),"./packages/perseus-editor/src/components/__stories__/locked-ellipse-settings.stories.tsx":async()=>s(()=>import("./locked-ellipse-settings.stories-QJ2hV1JI.js"),__vite__mapDeps([197,1,2,3,138,45,46,40,47,39,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,110,139,140,141,142,143,144,145]),import.meta.url),"./packages/perseus-editor/src/components/__stories__/locked-figures-section.stories.tsx":async()=>s(()=>import("./locked-figures-section.stories-sWPQn6Cv.js"),__vite__mapDeps([198,1,2,3,10,11,14,137,82,12,13,20,23,83,19,70,72,84,16,17,18,21,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88,135,124,126,92,76,48,40,46,25,50,52,53,54,56,59,60,61,62,67,68,138,45,39,24,26,27,9,7,8,28,29,30,31,42,43,69,71,73,74,75,77,78,79,81,89,90,91,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,110,139,140,141,142,143,144,145,146,147,148,149,150,151,152]),import.meta.url),"./packages/perseus-editor/src/components/__stories__/locked-function-settings.stories.tsx":async()=>s(()=>import("./locked-function-settings.stories-DziG6F_S.js"),__vite__mapDeps([199,1,2,3,146,82,10,11,12,13,20,14,23,83,19,70,72,84,16,17,18,21,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88,92,76,48,40,46,25,50,52,53,54,56,59,60,61,62,67,68,75,142,45,39,24,26,27,9,7,8,28,29,30,31,42,43,69,71,73,74,77,78,79,81,89,90,91,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,110,140,143,144,139,145,147]),import.meta.url),"./packages/perseus-editor/src/components/__stories__/locked-label-settings.stories.tsx":async()=>s(()=>import("./locked-label-settings.stories-vgigZlp3.js"),__vite__mapDeps([200,1,2,3,142,45,46,40,47,39,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,110,140,143,144]),import.meta.url),"./packages/perseus-editor/src/components/__stories__/locked-line-settings.stories.tsx":async()=>s(()=>import("./locked-line-settings.stories-MlcAZ4Qe.js"),__vite__mapDeps([201,1,2,3,148,46,40,47,52,11,10,14,49,53,54,55,17,25,56,57,58,59,82,12,13,20,23,83,19,70,72,84,16,18,21,22,51,85,63,64,41,65,66,80,86,87,88,92,76,48,50,60,61,62,67,68,139,45,39,24,26,27,9,7,8,28,29,30,31,42,43,69,71,73,74,75,77,78,79,81,89,90,91,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,110,142,140,143,144,145,147,149,150]),import.meta.url),"./packages/perseus-editor/src/components/__stories__/locked-point-settings.stories.tsx":async()=>s(()=>import("./locked-point-settings.stories-hrM-9C8k.js"),__vite__mapDeps([202,1,2,3,149,82,10,11,12,13,20,14,23,83,19,70,72,84,16,17,18,21,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88,139,45,46,40,39,24,25,26,27,9,7,8,28,29,30,31,42,43,48,50,52,53,54,56,59,60,61,62,67,68,69,71,73,74,75,76,77,78,79,81,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,110,142,140,143,144,150]),import.meta.url),"./packages/perseus-editor/src/components/__stories__/locked-polygon-settings.stories.tsx":async()=>s(()=>import("./locked-polygon-settings.stories-EDEmE--3.js"),__vite__mapDeps([203,1,2,3,151,45,46,40,47,39,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,142,110,140,143,144,139,150,145]),import.meta.url),"./packages/perseus-editor/src/components/__stories__/locked-vector-settings.stories.tsx":async()=>s(()=>import("./locked-vector-settings.stories-L6i9CDNV.js"),__vite__mapDeps([204,1,2,3,152,46,40,47,52,11,10,14,49,53,54,55,17,25,56,57,58,59,82,12,13,20,23,83,19,70,72,84,16,18,21,22,51,85,63,64,41,65,66,80,86,87,88,139,45,39,24,26,27,9,7,8,28,29,30,31,42,43,48,50,60,61,62,67,68,69,71,73,74,75,76,77,78,79,81,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,110,142,140,143,144,147]),import.meta.url),"./packages/perseus-editor/src/components/__stories__/scrollless-number-text-field.stories.tsx":async()=>s(()=>import("./scrollless-number-text-field.stories-AQl7_jva.js"),__vite__mapDeps([205,1,2,3,10,11,23,140,75,14,70,76]),import.meta.url),"./packages/perseus-editor/src/components/__stories__/section-control-button.stories.tsx":async()=>s(()=>import("./section-control-button.stories--fxR7ngO.js"),__vite__mapDeps([206,1,2,3,45,46,40,47,39,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,123,110,124]),import.meta.url),"./packages/perseus-editor/src/components/__stories__/toggleable-caret.stories.tsx":async()=>s(()=>import("./toggleable-caret.stories-nhN-z0SF.js"),__vite__mapDeps([207,1,2,3,21,126,70,10,11]),import.meta.url),"./packages/perseus-editor/src/components/__stories__/viewport-resizer.stories.tsx":async()=>s(()=>import("./viewport-resizer.stories-K8MlXKfV.js"),__vite__mapDeps([208,1,2,3,4,5,6,171,45,46,40,47,39,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,110,112,122]),import.meta.url),"./packages/perseus-editor/src/diffs/__stories__/structured-item-diff.stories.tsx":async()=>s(()=>import("./structured-item-diff.stories-PGUNi6sb.js"),__vite__mapDeps([209,1,2,3,180,45,46,40,47,39,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,181,110,117,182,210]),import.meta.url),"./packages/perseus-editor/src/diffs/__stories__/tags-diff.stories.tsx":async()=>s(()=>import("./tags-diff.stories-miDpoYze.js"),__vite__mapDeps([211,1,2,3,182,181,45,46,40,47,39,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,110,117,210]),import.meta.url),"./packages/perseus-editor/src/diffs/__stories__/text-diff.stories.tsx":async()=>s(()=>import("./text-diff.stories-L9HXTKEw.js"),__vite__mapDeps([212,1,2,3,181,45,46,40,47,39,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,110,117,210]),import.meta.url),"./packages/perseus-editor/src/widgets/__stories__/categorizer-editor.stories.tsx":async()=>s(()=>import("./categorizer-editor.stories-zvQf5qzF.js"),__vite__mapDeps([213,1,2,3,45,46,40,47,39,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,4,5,6,115,110,116,117]),import.meta.url),"./packages/perseus-editor/src/widgets/__stories__/definition-editor.stories.tsx":async()=>s(()=>import("./definition-editor.stories-b7zfPU2h.js"),__vite__mapDeps([214,1,2,3,4,5,6,119,45,46,40,47,39,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,110,116,117,120,114,121,122,123,124,125,126]),import.meta.url),"./packages/perseus-editor/src/widgets/__stories__/dropdown-editor.stories.tsx":async()=>s(()=>import("./dropdown-editor.stories-HM2okDep.js"),__vite__mapDeps([215,1,2,3,4,5,6,127,45,46,40,47,39,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,110,116,117,122]),import.meta.url),"./packages/perseus-editor/src/widgets/__stories__/explanation-editor.stories.tsx":async()=>s(()=>import("./explanation-editor.stories-t23BbThw.js"),__vite__mapDeps([216,1,2,3,4,5,6,128,45,46,40,47,39,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,110,116,117,120,114,121,122,123,124,125,126]),import.meta.url),"./packages/perseus-editor/src/widgets/__stories__/expression-editor.stories.tsx":async()=>s(()=>import("./expression-editor.stories-jT1kvkVk.js"),__vite__mapDeps([217,1,2,3,11,218,82,10,12,13,20,14,23,83,19,70,72,84,16,17,18,21,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88,45,46,40,39,24,25,26,27,9,7,8,28,29,30,31,42,43,48,50,52,53,54,56,59,60,61,62,67,68,69,71,73,74,75,76,77,78,79,81,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,184,107,108,219,129,110,114,117]),import.meta.url),"./packages/perseus-editor/src/widgets/__stories__/image-editor.stories.tsx":async()=>s(()=>import("./image-editor.stories-BHe0vbGh.js"),__vite__mapDeps([220,1,2,3,45,46,40,47,39,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,4,5,6,131,110,116,118,120,114,117,121,122,123,124,125,126]),import.meta.url),"./packages/perseus-editor/src/widgets/__stories__/input-number-editor.stories.tsx":async()=>s(()=>import("./input-number-editor.stories-_Y9DcBg1.js"),__vite__mapDeps([221,1,2,3,4,5,6,132,45,46,40,47,39,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,110,118]),import.meta.url),"./packages/perseus-editor/src/widgets/__stories__/interaction-editor.stories.tsx":async()=>s(()=>import("./interaction-editor.stories-JRM5mHpo.js"),__vite__mapDeps([222,1,2,3,133,45,46,40,47,39,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,116,130,110,114,117,122]),import.meta.url),"./packages/perseus-editor/src/widgets/__stories__/interactive-graph-editor.stories.tsx":async()=>s(()=>import("./interactive-graph-editor.stories-VPBlQJOs.js"),__vite__mapDeps([223,1,2,3,177,45,46,40,47,39,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,134,110,135,124,126,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,196]),import.meta.url),"./packages/perseus-editor/src/widgets/__stories__/label-image-editor.stories.tsx":async()=>s(()=>import("./label-image-editor.stories-ziMT1NPm.js"),__vite__mapDeps([224,1,2,3,11,153,45,46,40,47,39,24,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,116,154,155,156,110,157,158,159,141,160]),import.meta.url),"./packages/perseus-editor/src/widgets/__stories__/matcher-editor.stories.tsx":async()=>s(()=>import("./matcher-editor.stories-IoTXWeVR.js"),__vite__mapDeps([225,1,2,3,4,5,6,161,45,46,40,47,39,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,110,117]),import.meta.url),"./packages/perseus-editor/src/widgets/__stories__/number-line-editor.stories.tsx":async()=>s(()=>import("./number-line-editor.stories-dWQiKTpZ.js"),__vite__mapDeps([226,1,2,3,4,5,6,162,46,40,47,45,39,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,110,116,117]),import.meta.url),"./packages/perseus-editor/src/widgets/__stories__/numeric-input-editor.stories.tsx":async()=>s(()=>import("./numeric-input-editor.stories-gPHCmh3r.js"),__vite__mapDeps([227,1,2,3,4,5,6,163,45,46,40,47,39,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,110,116,120,114,117,121,122,123,124,125,126]),import.meta.url),"./packages/perseus-editor/src/widgets/__stories__/phet-simulation-editor.stories.tsx":async()=>s(()=>import("./phet-simulation-editor.stories-Tc7zzF3e.js"),__vite__mapDeps([228,4,5,6,164,1,2,3,45,46,40,47,39,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108]),import.meta.url),"./packages/perseus-editor/src/widgets/__stories__/python-program-editor.stories.tsx":async()=>s(()=>import("./python-program-editor.stories-W6xwBFiC.js"),__vite__mapDeps([229,1,2,3,4,5,6,165,45,46,40,47,39,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,110]),import.meta.url),"./packages/perseus-editor/src/widgets/__stories__/radio-editor.stories.tsx":async()=>s(()=>import("./radio-editor.stories-6GhFswye.js"),__vite__mapDeps([230,1,2,3,11,166,45,46,40,47,39,24,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,110,117,120,114,121,122,123,124,125,126]),import.meta.url),"./packages/perseus-editor/src/widgets/__stories__/sorter-editor.stories.tsx":async()=>s(()=>import("./sorter-editor.stories-36exoH82.js"),__vite__mapDeps([231,1,2,3,4,5,6,167,45,46,40,47,39,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,110,117]),import.meta.url),"./packages/perseus-editor/src/widgets/label-image/__stories__/answer-choices.stories.tsx":async()=>s(()=>import("./answer-choices.stories-kkYIrtgR.js"),__vite__mapDeps([232,1,2,3,4,5,6,11,156,45,46,40,47,39,24,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,110,154,155]),import.meta.url),"./packages/perseus-editor/src/widgets/label-image/__stories__/behavior.stories.tsx":async()=>s(()=>import("./behavior.stories-Jb0nDYNN.js"),__vite__mapDeps([233,1,2,3,4,5,6,157,45,46,40,47,39,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,155]),import.meta.url),"./packages/perseus-editor/src/widgets/label-image/__stories__/marker.stories.tsx":async()=>s(()=>import("./marker.stories-trCGe7a6.js"),__vite__mapDeps([234,1,2,3,4,5,6,11,159,45,46,40,47,39,24,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,110,155,141,154]),import.meta.url),"./packages/perseus-editor/src/widgets/label-image/__stories__/question-markers.stories.tsx":async()=>s(()=>import("./question-markers.stories-z8gmXEvR.js"),__vite__mapDeps([235,1,2,3,11,158,45,46,40,47,39,24,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,155,159,110,141,154]),import.meta.url),"./packages/perseus-editor/src/widgets/label-image/__stories__/select-image.stories.tsx":async()=>s(()=>import("./select-image.stories-QfaFTweM.js"),__vite__mapDeps([236,1,2,3,11,160,45,46,40,47,39,24,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,154,155]),import.meta.url),"./packages/perseus/src/__stories__/article-renderer.stories.tsx":async()=>s(()=>import("./article-renderer.stories-_fAZUBcr.js"),__vite__mapDeps([237,1,2,3,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,4,5,6,238,219,45,46,40,47,39,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,239,169,240]),import.meta.url),"./packages/perseus/src/__stories__/hints-renderer.stories.tsx":async()=>s(()=>import("./hints-renderer.stories-i7K2pnyi.js"),__vite__mapDeps([241,1,2,3,10,11,108,48,40,46,47,41,25,49,17,50,51,52,14,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,80,81,186,95,96,97]),import.meta.url),"./packages/perseus/src/__stories__/server-item-renderer.stories.tsx":async()=>s(()=>import("./server-item-renderer.stories--DPn5_9j.js"),__vite__mapDeps([242,1,2,3,243,82,10,11,12,13,20,14,23,83,19,70,72,84,16,17,18,21,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88,45,46,40,39,24,25,26,27,9,7,8,28,29,30,31,42,43,48,50,52,53,54,56,59,60,61,62,67,68,69,71,73,74,75,76,77,78,79,81,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,244,184,238,219,239]),import.meta.url),"./packages/perseus/src/components/__stories__/button-group.stories.tsx":async()=>s(()=>import("./button-group.stories-Jd2GkQu3.js"),__vite__mapDeps([245,1,2,3,93,11]),import.meta.url),"./packages/perseus/src/components/__stories__/fixed-to-responsive.stories.tsx":async()=>s(()=>import("./fixed-to-responsive.stories-8DiLgWgI.js"),__vite__mapDeps([246,1,2,3,53,54,49,55]),import.meta.url),"./packages/perseus/src/components/__stories__/graph.stories.tsx":async()=>s(()=>import("./graph.stories-oiGBefIM.js"),__vite__mapDeps([247,94,1,2,3,46,40,47,52,11,10,14,49,53,54,55,17,25,56,57,58,59,50]),import.meta.url),"./packages/perseus/src/components/__stories__/graphie.stories.tsx":async()=>s(()=>import("./graphie.stories-cARQJrHq.js"),__vite__mapDeps([248,1,2,3,243,82,10,11,12,13,20,14,23,83,19,70,72,84,16,17,18,21,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88,45,46,40,39,24,25,26,27,9,7,8,28,29,30,31,42,43,48,50,52,53,54,56,59,60,61,62,67,68,69,71,73,74,75,76,77,78,79,81,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,244,184,238,219,239]),import.meta.url),"./packages/perseus/src/components/__stories__/hud.stories.tsx":async()=>s(()=>import("./hud.stories-T0i3oZ90.js"),__vite__mapDeps([249,4,5,6,98,1,2,3,11,55]),import.meta.url),"./packages/perseus/src/components/__stories__/icon.stories.tsx":async()=>s(()=>import("./icon.stories-RiaEljVU.js"),__vite__mapDeps([250,58,85,1,2,3]),import.meta.url),"./packages/perseus/src/components/__stories__/image-loader.stories.tsx":async()=>s(()=>import("./image-loader.stories-9Gky6BXL.js"),__vite__mapDeps([251,1,2,3,59,53]),import.meta.url),"./packages/perseus/src/components/__stories__/info-tip.stories.tsx":async()=>s(()=>import("./info-tip.stories-B2rhY5TT.js"),__vite__mapDeps([252,1,2,3,69,70,10,11,14,17,18,19,12,13,20,21,23,22]),import.meta.url),"./packages/perseus/src/components/__stories__/inline-icon.stories.tsx":async()=>s(()=>import("./inline-icon.stories-_HhRJW2V.js"),__vite__mapDeps([253,57,1,2,3]),import.meta.url),"./packages/perseus/src/components/__stories__/input-with-examples.stories.tsx":async()=>s(()=>import("./input-with-examples.stories-EbyPnfiu.js"),__vite__mapDeps([254,4,5,6,73,1,2,3,48,40,46,47,41,25,49,17,50,51,52,11,10,14,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,74,75,23,70,76,77]),import.meta.url),"./packages/perseus/src/components/__stories__/lint.stories.tsx":async()=>s(()=>import("./lint.stories-urElbILQ.js"),__vite__mapDeps([255,1,2,3,67,11,17,55,57]),import.meta.url),"./packages/perseus/src/components/__stories__/math-input.stories.tsx":async()=>s(()=>import("./math-input.stories-OWlCE0fl.js"),__vite__mapDeps([256,4,5,6,71,1,2,3,39,40,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,72,16,18,19,20,22,23,49,47,51]),import.meta.url),"./packages/perseus/src/components/__stories__/multi-button-group.stories.tsx":async()=>s(()=>import("./multi-button-group.stories-9s3YVelT.js"),__vite__mapDeps([257,1,2,3,99,11,17]),import.meta.url),"./packages/perseus/src/components/__stories__/number-input.stories.tsx":async()=>s(()=>import("./number-input.stories-N2epCWoI.js"),__vite__mapDeps([258,4,5,6,100,1,2,3,46,40,47,49,64,41,17,51]),import.meta.url),"./packages/perseus/src/components/__stories__/range-input.stories.tsx":async()=>s(()=>import("./range-input.stories-023ObPzr.js"),__vite__mapDeps([259,4,5,6,101,1,2,3,64,41,100,46,40,47,49,17,51]),import.meta.url),"./packages/perseus/src/components/__stories__/simple-keypad-input.stories.tsx":async()=>s(()=>import("./simple-keypad-input.stories-7zCo_AQF.js"),__vite__mapDeps([260,4,5,6,78,1,2,3,39,40,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,30,31,41,42,43,64]),import.meta.url),"./packages/perseus/src/components/__stories__/sortable.stories.tsx":async()=>s(()=>import("./sortable.stories-mtnbVD1p.js"),__vite__mapDeps([261,104,1,2,3,48,40,46,47,41,25,49,17,50,51,52,11,10,14,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68]),import.meta.url),"./packages/perseus/src/components/__stories__/stub-tag-editor.stories.tsx":async()=>s(()=>import("./stub-tag-editor.stories-U5MGBv2T.js"),__vite__mapDeps([262,4,5,6,65,1,2,3,64,41,66,47,17]),import.meta.url),"./packages/perseus/src/components/__stories__/svg-image.stories.tsx":async()=>s(()=>import("./svg-image.stories-xeWK_IUJ.js"),__vite__mapDeps([263,52,1,2,3,40,46,47,11,10,14,49,53,54,55,17,25,56,57,58,59]),import.meta.url),"./packages/perseus/src/components/__stories__/tex.stories.tsx":async()=>s(()=>import("./tex.stories-RdMEbt3U.js"),__vite__mapDeps([264,60,1,2,3,53]),import.meta.url),"./packages/perseus/src/components/__stories__/text-input.stories.tsx":async()=>s(()=>import("./text-input.stories-UYGFQ8Hb.js"),__vite__mapDeps([265,4,5,6,74,1,2,3,75,10,11,14,23,70,76,17]),import.meta.url),"./packages/perseus/src/components/__stories__/text-list-editor.stories.tsx":async()=>s(()=>import("./text-list-editor.stories-FO3Wg0lT.js"),__vite__mapDeps([266,1,2,3,4,5,6,66,47,64,41,17]),import.meta.url),"./packages/perseus/src/components/__stories__/tooltip.stories.tsx":async()=>s(()=>import("./tooltip.stories-rkAvVxsE.js"),__vite__mapDeps([267,1,2,3,10,11,77,17]),import.meta.url),"./packages/perseus/src/components/__stories__/zoomable-tex.stories.tsx":async()=>s(()=>import("./zoomable-tex.stories-4XZZtFwQ.js"),__vite__mapDeps([268,1,2,3,62,50,60,53,61,17]),import.meta.url),"./packages/perseus/src/components/__stories__/zoomable.stories.tsx":async()=>s(()=>import("./zoomable.stories-biidOpnJ.js"),__vite__mapDeps([269,1,2,3,61,17]),import.meta.url),"./packages/perseus/src/components/visibility-observer/__stories__/visibility-observer.stories.tsx":async()=>s(()=>import("./visibility-observer.stories-pidMot5o.js"),__vite__mapDeps([270,1,2,3,17]),import.meta.url),"./packages/perseus/src/multi-items/__stories__/multi-renderer.stories.tsx":async()=>s(()=>import("./multi-renderer.stories-nHsX3iNz.js"),__vite__mapDeps([271,1,2,3,10,11,23,82,12,13,20,14,83,19,70,72,84,16,17,18,21,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88,45,46,40,39,24,25,26,27,9,7,8,28,29,30,31,42,43,48,50,52,53,54,56,59,60,61,62,67,68,69,71,73,74,75,76,77,78,79,81,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,183,244,184,238,219,239]),import.meta.url),"./packages/perseus/src/widgets/categorizer/categorizer.stories.tsx":async()=>s(()=>import("./categorizer.stories-U0XPRHA9.js"),__vite__mapDeps([272,1,2,3,218,82,10,11,12,13,20,14,23,83,19,70,72,84,16,17,18,21,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88,45,46,40,39,24,25,26,27,9,7,8,28,29,30,31,42,43,48,50,52,53,54,56,59,60,61,62,67,68,69,71,73,74,75,76,77,78,79,81,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,184,107,108,219]),import.meta.url),"./packages/perseus/src/widgets/cs-program/cs-program.stories.tsx":async()=>s(()=>import("./cs-program.stories-Hs3R7Zno.js"),__vite__mapDeps([273,1,2,3,218,82,10,11,12,13,20,14,23,83,19,70,72,84,16,17,18,21,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88,45,46,40,39,24,25,26,27,9,7,8,28,29,30,31,42,43,48,50,52,53,54,56,59,60,61,62,67,68,69,71,73,74,75,76,77,78,79,81,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,184,107,108,219]),import.meta.url),"./packages/perseus/src/widgets/definition/definition.stories.tsx":async()=>s(()=>import("./definition.stories-qYzT6tjf.js"),__vite__mapDeps([274,1,2,3,218,82,10,11,12,13,20,14,23,83,19,70,72,84,16,17,18,21,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88,45,46,40,39,24,25,26,27,9,7,8,28,29,30,31,42,43,48,50,52,53,54,56,59,60,61,62,67,68,69,71,73,74,75,76,77,78,79,81,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,184,107,108,219,238,239]),import.meta.url),"./packages/perseus/src/widgets/deprecated-standin/__stories__/deprecated-standin.stories.tsx":async()=>s(()=>import("./deprecated-standin.stories-UKVT6SfW.js"),__vite__mapDeps([275,1,2,3,218,82,10,11,12,13,20,14,23,83,19,70,72,84,16,17,18,21,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88,45,46,40,39,24,25,26,27,9,7,8,28,29,30,31,42,43,48,50,52,53,54,56,59,60,61,62,67,68,69,71,73,74,75,76,77,78,79,81,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,184,107,108,219]),import.meta.url),"./packages/perseus/src/widgets/dropdown/dropdown.stories.tsx":async()=>s(()=>import("./dropdown.stories-5bKlSHTr.js"),__vite__mapDeps([276,1,2,3,218,82,10,11,12,13,20,14,23,83,19,70,72,84,16,17,18,21,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88,45,46,40,39,24,25,26,27,9,7,8,28,29,30,31,42,43,48,50,52,53,54,56,59,60,61,62,67,68,69,71,73,74,75,76,77,78,79,81,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,184,107,108,219]),import.meta.url),"./packages/perseus/src/widgets/explanation/explanation.stories.tsx":async()=>s(()=>import("./explanation.stories-x4k60bN8.js"),__vite__mapDeps([277,1,2,3,218,82,10,11,12,13,20,14,23,83,19,70,72,84,16,17,18,21,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88,45,46,40,39,24,25,26,27,9,7,8,28,29,30,31,42,43,48,50,52,53,54,56,59,60,61,62,67,68,69,71,73,74,75,76,77,78,79,81,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,184,107,108,219]),import.meta.url),"./packages/perseus/src/widgets/expression/expression.stories.tsx":async()=>s(()=>import("./expression.stories-Zq3u729j.js"),__vite__mapDeps([278,1,2,3,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,39,40,30,31,41,42,43,4,5,6,243,82,20,23,83,19,70,72,84,16,18,22,49,51,85,63,64,65,66,47,80,55,86,57,58,87,88,45,46,48,50,52,53,54,56,59,60,61,62,67,68,69,71,73,74,75,76,77,78,79,81,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,244,184,238,219,239,240]),import.meta.url),"./packages/perseus/src/widgets/graded-group-set/graded-group-set.stories.tsx":async()=>s(()=>import("./graded-group-set.stories-kzlzz78_.js"),__vite__mapDeps([279,1,2,3,218,82,10,11,12,13,20,14,23,83,19,70,72,84,16,17,18,21,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88,45,46,40,39,24,25,26,27,9,7,8,28,29,30,31,42,43,48,50,52,53,54,56,59,60,61,62,67,68,69,71,73,74,75,76,77,78,79,81,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,184,107,108,219]),import.meta.url),"./packages/perseus/src/widgets/graded-group/graded-group.stories.tsx":async()=>s(()=>import("./graded-group.stories-eKKm_Jqy.js"),__vite__mapDeps([280,1,2,3,218,82,10,11,12,13,20,14,23,83,19,70,72,84,16,17,18,21,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88,45,46,40,39,24,25,26,27,9,7,8,28,29,30,31,42,43,48,50,52,53,54,56,59,60,61,62,67,68,69,71,73,74,75,76,77,78,79,81,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,184,107,108,219]),import.meta.url),"./packages/perseus/src/widgets/grapher/grapher.stories.tsx":async()=>s(()=>import("./grapher.stories-8_Vaef-F.js"),__vite__mapDeps([281,1,2,3,218,82,10,11,12,13,20,14,23,83,19,70,72,84,16,17,18,21,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88,45,46,40,39,24,25,26,27,9,7,8,28,29,30,31,42,43,48,50,52,53,54,56,59,60,61,62,67,68,69,71,73,74,75,76,77,78,79,81,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,184,107,108,219]),import.meta.url),"./packages/perseus/src/widgets/group/group.stories.tsx":async()=>s(()=>import("./group.stories-TjnFklj5.js"),__vite__mapDeps([282,1,2,3,218,82,10,11,12,13,20,14,23,83,19,70,72,84,16,17,18,21,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88,45,46,40,39,24,25,26,27,9,7,8,28,29,30,31,42,43,48,50,52,53,54,56,59,60,61,62,67,68,69,71,73,74,75,76,77,78,79,81,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,184,107,108,219]),import.meta.url),"./packages/perseus/src/widgets/iframe/iframe.stories.tsx":async()=>s(()=>import("./iframe.stories-TfS3d_iY.js"),__vite__mapDeps([283,1,2,3,218,82,10,11,12,13,20,14,23,83,19,70,72,84,16,17,18,21,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88,45,46,40,39,24,25,26,27,9,7,8,28,29,30,31,42,43,48,50,52,53,54,56,59,60,61,62,67,68,69,71,73,74,75,76,77,78,79,81,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,184,107,108,219]),import.meta.url),"./packages/perseus/src/widgets/image/image.stories.tsx":async()=>s(()=>import("./image.stories-5HtbntN1.js"),__vite__mapDeps([284,1,2,3,218,82,10,11,12,13,20,14,23,83,19,70,72,84,16,17,18,21,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88,45,46,40,39,24,25,26,27,9,7,8,28,29,30,31,42,43,48,50,52,53,54,56,59,60,61,62,67,68,69,71,73,74,75,76,77,78,79,81,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,184,107,108,219]),import.meta.url),"./packages/perseus/src/widgets/input-number/input-number.stories.tsx":async()=>s(()=>import("./input-number.stories-Iqu61V0x.js"),__vite__mapDeps([285,1,2,3,218,82,10,11,12,13,20,14,23,83,19,70,72,84,16,17,18,21,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88,45,46,40,39,24,25,26,27,9,7,8,28,29,30,31,42,43,48,50,52,53,54,56,59,60,61,62,67,68,69,71,73,74,75,76,77,78,79,81,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,184,107,108,219]),import.meta.url),"./packages/perseus/src/widgets/interaction/interaction.stories.tsx":async()=>s(()=>import("./interaction.stories-Z_LwwSF_.js"),__vite__mapDeps([286,1,2,3,218,82,10,11,12,13,20,14,23,83,19,70,72,84,16,17,18,21,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88,45,46,40,39,24,25,26,27,9,7,8,28,29,30,31,42,43,48,50,52,53,54,56,59,60,61,62,67,68,69,71,73,74,75,76,77,78,79,81,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,184,107,108,219]),import.meta.url),"./packages/perseus/src/widgets/interactive-graphs/interactive-graph-regression.stories.tsx":async()=>s(()=>import("./interactive-graph-regression.stories-aH5jNarV.js"),__vite__mapDeps([287,1,2,3,48,40,46,47,41,25,49,17,50,51,52,11,10,14,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,186,95,96,97]),import.meta.url),"./packages/perseus/src/widgets/interactive-graphs/interactive-graph.stories.tsx":async()=>s(()=>import("./interactive-graph.stories-JdSGcGW5.js"),__vite__mapDeps([288,1,2,3,90,11,19,10,12,13,20,14,83,70,91,23,51,53,55,82,72,84,16,17,18,21,22,49,85,63,64,41,65,66,47,80,86,57,58,87,88,105,69,25,45,46,40,39,24,26,27,9,7,8,28,29,30,31,42,43,48,50,52,54,56,59,60,61,62,67,68,71,73,74,75,76,77,78,79,81,89,92,93,94,95,96,97,98,99,100,101,102,103,104,106,107,108,218,184,219,187,186]),import.meta.url),"./packages/perseus/src/widgets/interactive-graphs/locked-figures/locked-functions.stories.tsx":async()=>s(()=>import("./locked-functions.stories-haTk3GIx.js"),__vite__mapDeps([289,1,2,3,218,82,10,11,12,13,20,14,23,83,19,70,72,84,16,17,18,21,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88,45,46,40,39,24,25,26,27,9,7,8,28,29,30,31,42,43,48,50,52,53,54,56,59,60,61,62,67,68,69,71,73,74,75,76,77,78,79,81,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,184,107,108,219,187,186]),import.meta.url),"./packages/perseus/src/widgets/label-image/__stories__/answer-choices.stories.tsx":async()=>s(()=>import("./answer-choices.stories-neoqPzW_.js"),__vite__mapDeps([290,1,2,3,23,10,11,92,20,12,13,14,70,76,17,19,21,22,18,51,48,40,46,47,41,25,49,50,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68]),import.meta.url),"./packages/perseus/src/widgets/label-image/__stories__/answer-pill.stories.tsx":async()=>s(()=>import("./answer-pill.stories-mAx8u1Np.js"),__vite__mapDeps([291,1,2,3,103,10,11,20,12,13,14,23,22,17,51,48,40,46,47,41,25,49,50,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68]),import.meta.url),"./packages/perseus/src/widgets/label-image/__stories__/label-image.stories.tsx":async()=>s(()=>import("./label-image.stories-RcCbc0DS.js"),__vite__mapDeps([292,1,2,3,218,82,10,11,12,13,20,14,23,83,19,70,72,84,16,17,18,21,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88,45,46,40,39,24,25,26,27,9,7,8,28,29,30,31,42,43,48,50,52,53,54,56,59,60,61,62,67,68,69,71,73,74,75,76,77,78,79,81,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,184,107,108,219]),import.meta.url),"./packages/perseus/src/widgets/label-image/__stories__/marker.stories.tsx":async()=>s(()=>import("./marker.stories-nl5ZdOAM.js"),__vite__mapDeps([293,1,2,3,11,102,10,14,51,85,58,103,20,12,13,23,22,17,48,40,46,47,41,25,49,50,52,53,54,55,56,57,59,60,61,62,63,64,65,66,67,68]),import.meta.url),"./packages/perseus/src/widgets/matcher/matcher.stories.tsx":async()=>s(()=>import("./matcher.stories-VSohpxqD.js"),__vite__mapDeps([294,1,2,3,218,82,10,11,12,13,20,14,23,83,19,70,72,84,16,17,18,21,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88,45,46,40,39,24,25,26,27,9,7,8,28,29,30,31,42,43,48,50,52,53,54,56,59,60,61,62,67,68,69,71,73,74,75,76,77,78,79,81,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,184,107,108,219]),import.meta.url),"./packages/perseus/src/widgets/matrix/matrix.stories.tsx":async()=>s(()=>import("./matrix.stories-3CaPxNsR.js"),__vite__mapDeps([295,1,2,3,218,82,10,11,12,13,20,14,23,83,19,70,72,84,16,17,18,21,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88,45,46,40,39,24,25,26,27,9,7,8,28,29,30,31,42,43,48,50,52,53,54,56,59,60,61,62,67,68,69,71,73,74,75,76,77,78,79,81,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,184,107,108,219]),import.meta.url),"./packages/perseus/src/widgets/number-line/number-line.stories.tsx":async()=>s(()=>import("./number-line.stories-InwcUeQf.js"),__vite__mapDeps([296,1,2,3,24,11,17,21,25,10,14,26,27,9,12,13,7,8,28,29,218,82,20,23,83,19,70,72,84,16,18,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88,45,46,40,39,30,31,42,43,48,50,52,53,54,56,59,60,61,62,67,68,69,71,73,74,75,76,77,78,79,81,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,184,107,108,219,243,244,238,239,240,4,5,6]),import.meta.url),"./packages/perseus/src/widgets/numeric-input/numeric-input.stories.tsx":async()=>s(()=>import("./numeric-input.stories-N0mA1UvX.js"),__vite__mapDeps([297,1,2,3,4,5,6,218,82,10,11,12,13,20,14,23,83,19,70,72,84,16,17,18,21,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88,45,46,40,39,24,25,26,27,9,7,8,28,29,30,31,42,43,48,50,52,53,54,56,59,60,61,62,67,68,69,71,73,74,75,76,77,78,79,81,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,184,107,108,219]),import.meta.url),"./packages/perseus/src/widgets/orderer/orderer.stories.tsx":async()=>s(()=>import("./orderer.stories-TT5mT_qv.js"),__vite__mapDeps([298,1,2,3,218,82,10,11,12,13,20,14,23,83,19,70,72,84,16,17,18,21,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88,45,46,40,39,24,25,26,27,9,7,8,28,29,30,31,42,43,48,50,52,53,54,56,59,60,61,62,67,68,69,71,73,74,75,76,77,78,79,81,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,184,107,108,219]),import.meta.url),"./packages/perseus/src/widgets/passage-ref/passage-ref.stories.tsx":async()=>s(()=>import("./passage-ref.stories-rKZIeybh.js"),__vite__mapDeps([299,1,2,3,10,11,218,82,12,13,20,14,23,83,19,70,72,84,16,17,18,21,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88,45,46,40,39,24,25,26,27,9,7,8,28,29,30,31,42,43,48,50,52,53,54,56,59,60,61,62,67,68,69,71,73,74,75,76,77,78,79,81,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,184,107,108,219]),import.meta.url),"./packages/perseus/src/widgets/passage/passage.stories.tsx":async()=>s(()=>import("./passage.stories-xZzvfX73.js"),__vite__mapDeps([300,1,2,3,10,11,218,82,12,13,20,14,23,83,19,70,72,84,16,17,18,21,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88,45,46,40,39,24,25,26,27,9,7,8,28,29,30,31,42,43,48,50,52,53,54,56,59,60,61,62,67,68,69,71,73,74,75,76,77,78,79,81,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,184,107,108,219]),import.meta.url),"./packages/perseus/src/widgets/phet-simulation/phet-simulation.stories.tsx":async()=>s(()=>import("./phet-simulation.stories-gP7-PJWt.js"),__vite__mapDeps([301,90,1,2,3,11,19,10,12,13,20,14,83,70,91,23,51,53,55]),import.meta.url),"./packages/perseus/src/widgets/plotter/plotter.stories.tsx":async()=>s(()=>import("./plotter.stories-aIZfL8Zi.js"),__vite__mapDeps([302,1,2,3,10,11,218,82,12,13,20,14,23,83,19,70,72,84,16,17,18,21,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88,45,46,40,39,24,25,26,27,9,7,8,28,29,30,31,42,43,48,50,52,53,54,56,59,60,61,62,67,68,69,71,73,74,75,76,77,78,79,81,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,184,107,108,219]),import.meta.url),"./packages/perseus/src/widgets/python-program/python-program.stories.tsx":async()=>s(()=>import("./python-program.stories-nHJsBCoe.js"),__vite__mapDeps([303,1,2,3,218,82,10,11,12,13,20,14,23,83,19,70,72,84,16,17,18,21,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88,45,46,40,39,24,25,26,27,9,7,8,28,29,30,31,42,43,48,50,52,53,54,56,59,60,61,62,67,68,69,71,73,74,75,76,77,78,79,81,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,184,107,108,219]),import.meta.url),"./packages/perseus/src/widgets/radio/__stories__/base-radio.stories.tsx":async()=>s(()=>import("./base-radio.stories-hOlftvr6.js"),__vite__mapDeps([304,1,2,3,4,5,6,79,11,49,17,47,51,63,64,41,65,66,55,80,81,46,40,82,10,12,13,20,14,23,83,19,70,72,84,16,18,21,22,85,86,57,58,87,88,89,48,25,50,52,53,54,56,59,60,61,62,67,68]),import.meta.url),"./packages/perseus/src/widgets/radio/__stories__/choice-icon.stories.tsx":async()=>s(()=>import("./choice-icon.stories-8ni1pQVV.js"),__vite__mapDeps([305,1,2,3,86,14,11,51,57,58,55,87]),import.meta.url),"./packages/perseus/src/widgets/radio/__stories__/choice-none-above.stories.tsx":async()=>s(()=>import("./choice-none-above.stories-mwphnDnG.js"),__vite__mapDeps([306,1,2,3,4,5,6,89,51,48,40,46,47,41,25,49,17,50,52,11,10,14,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,82,12,13,20,23,83,19,70,72,84,16,18,21,22,85,80,86,87,88]),import.meta.url),"./packages/perseus/src/widgets/radio/__stories__/choice.stories.tsx":async()=>s(()=>import("./choice.stories-8Al8ddbo.js"),__vite__mapDeps([307,1,2,3,4,5,6,82,10,11,12,13,20,14,23,83,19,70,72,84,16,17,18,21,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88]),import.meta.url),"./packages/perseus/src/widgets/radio/__stories__/focus-ring.stories.tsx":async()=>s(()=>import("./focus-ring.stories-S-6rUCVt.js"),__vite__mapDeps([308,1,2,3,55,87,11]),import.meta.url),"./packages/perseus/src/widgets/radio/__stories__/option-status.stories.tsx":async()=>s(()=>import("./option-status.stories-j32PjSOc.js"),__vite__mapDeps([309,1,2,3,88,14,11,51]),import.meta.url),"./packages/perseus/src/widgets/radio/__stories__/radio.stories.tsx":async()=>s(()=>import("./radio.stories-0XscglXh.js"),__vite__mapDeps([310,1,2,3,218,82,10,11,12,13,20,14,23,83,19,70,72,84,16,17,18,21,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88,45,46,40,39,24,25,26,27,9,7,8,28,29,30,31,42,43,48,50,52,53,54,56,59,60,61,62,67,68,69,71,73,74,75,76,77,78,79,81,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,184,107,108,219,170]),import.meta.url),"./packages/perseus/src/widgets/sorter/sorter.stories.tsx":async()=>s(()=>import("./sorter.stories-tFtUI76Y.js"),__vite__mapDeps([311,1,2,3,218,82,10,11,12,13,20,14,23,83,19,70,72,84,16,17,18,21,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88,45,46,40,39,24,25,26,27,9,7,8,28,29,30,31,42,43,48,50,52,53,54,56,59,60,61,62,67,68,69,71,73,74,75,76,77,78,79,81,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,184,107,108,219]),import.meta.url),"./packages/perseus/src/widgets/video/video-transcript-link.stories.tsx":async()=>s(()=>import("./video-transcript-link.stories-La4j2ZS0.js"),__vite__mapDeps([312,1,2,3,105,10,11,84,14,91,12,13,20,70,51,53]),import.meta.url),"./packages/perseus/src/widgets/video/video.stories.tsx":async()=>s(()=>import("./video.stories-W_qKcuDL.js"),__vite__mapDeps([313,1,2,3,218,82,10,11,12,13,20,14,23,83,19,70,72,84,16,17,18,21,22,49,51,85,63,64,41,65,66,47,80,55,86,57,58,87,88,45,46,40,39,24,25,26,27,9,7,8,28,29,30,31,42,43,48,50,52,53,54,56,59,60,61,62,67,68,69,71,73,74,75,76,77,78,79,81,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,184,107,108,219]),import.meta.url)};async function y(_){return R[_]()}const{composeConfigs:P,PreviewWeb:T,ClientApi:L}=__STORYBOOK_MODULE_PREVIEW_API__,I=async()=>{const _=await Promise.all([s(()=>import("./entry-preview-X1b_vaBy.js"),__vite__mapDeps([314,2,3,315,56,17]),import.meta.url),s(()=>import("./entry-preview-docs-9fNegKGE.js"),__vite__mapDeps([316,317,3,13,6,2]),import.meta.url),s(()=>import("./preview-VI2eoWmp.js"),__vite__mapDeps([318,319]),import.meta.url),s(()=>import("./preview-yJxamLMK.js"),__vite__mapDeps([]),import.meta.url),s(()=>import("./preview-98732p1V.js"),__vite__mapDeps([320,5,6]),import.meta.url),s(()=>import("./preview-FekBEZxm.js"),__vite__mapDeps([321,6]),import.meta.url),s(()=>import("./preview-1MSgikpN.js"),__vite__mapDeps([322,96]),import.meta.url),s(()=>import("./preview-u8M_OEO2.js"),__vite__mapDeps([323,6]),import.meta.url),s(()=>import("./preview-bEa2SesL.js"),__vite__mapDeps([]),import.meta.url),s(()=>import("./preview-56wfZXD_.js"),__vite__mapDeps([]),import.meta.url),s(()=>import("./preview-YxkJo6n2.js"),__vite__mapDeps([324,1,2,3,14,10,11,45,46,40,47,39,24,17,21,25,26,27,9,12,13,7,8,28,29,30,31,41,42,43,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,18,19,20,23,22,71,72,16,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,238,219,239]),import.meta.url)]);return P(_)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new T;window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;window.__STORYBOOK_CLIENT_API__=window.__STORYBOOK_CLIENT_API__||new L({storyStore:window.__STORYBOOK_PREVIEW__.storyStore});window.__STORYBOOK_PREVIEW__.initialize({importFn:y,getProjectAnnotations:I});export{s as _}; function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./keypad-button.stories-tDGMB8WS.js","./jsx-runtime-FVsy8kgq.js","./index-TT1qJ6UJ.js","./_commonjsHelpers-4gQjN7DL.js","./chunk-WFFRPTHA-zlNDxfrq.js","./preview-errors-7FWlPnjy.js","./index-PPLHz8o0.js","./button-assets-txIojR3b.js","./keypad-button-rKskH7oM.js","./index-WNT3sUKf.js","./index-6h5t6F0w.js","./index-awljIyHI.js","./react-router-dom-W_e8xVUu.js","./index-tvtfaFq4.js","./index-deFLJwr4.js","./keypad-mathquill.stories-anFRYGcO.js","./index-BPSWBbj5.js","./index-7vsPyIck.js","./index-YCTzZMik.js","./index-rfN0X25E.js","./index-o3wWn3Y5.js","./index-CkAxGj88.js","./Popper-kGnKOid7.js","./index-h_CiYGGb.js","./mobile-keypad-wPUeR8mM.js","./index-J2t_5nK1.js","./tabbar-WYCYDof0.js","./item-X9tjzx12.js","./operators-page-C_EsmjPW.js","./navigation-pad-ss7r0FKW.js","./key-translator-Bl2XtQm9.js","./_commonjs-dynamic-modules-h-SxKiO4.js","./keypad-pages.stories-UYZo0hoJ.js","./index-VDi1Le_1.js","./navigation-pad.stories-qTnieBG4.js","./tabbar.stories-XOe59aSK.js","./tabbaritem.stories-mdibAqRo.js","./full-keypad.stories-Rwy66K-l.js","./full-mobile-input.stories-jwUl9wLW.js","./prop-types-SKtvHVtl.js","./version-akiLXZts.js","./invariant-bu5zBsRS.js","./prop-types-mRar-0kQ.css","./enums-x5qaTru7.js","./article-editor.stories-vAQRmXTk.js","./article-renderer-HHw6mvZH.js","./util-F8-MDmsT.js","./jquery-yG1GhClm.js","./renderer-6wjvxpTF.js","./index-dnMhQZ-1.js","./asset-context-I7yIqWki.js","./i18n-context-P5sgPFep.js","./svg-image-4Vh9uTQ6.js","./dependencies-d8cZibFS.js","./fixed-to-responsive-AkRQxH3P.js","./constants-iPV6vHZm.js","./client-rbWgHzHN.js","./inline-icon-NjJlm7d0.js","./icon-paths-5JCXzGsq.js","./image-loader-3HliPbpF.js","./tex-6yhnhbtf.js","./zoomable-CA1NzpZD.js","./zoomable-tex-hbM7rxrP.js","./perseus-api-Nq3s7IMx.js","./index-k-0mNqHS.js","./stub-tag-editor-74YQ4o9G.js","./text-list-editor-Jz35fIN1.js","./lint-kpBgzQ8K.js","./renderer-qr6V1vrR.css","./index-K9BSJPWl.js","./index-xuPsLuPk.js","./math-input-JZMGF6RZ.js","./index-2dmvOE3q.js","./input-with-examples-il70I6Ir.js","./text-input-15gEhfDF.js","./index-QCAhLhLD.js","./minus-bold-ONmDo3Ve.js","./tooltip--mhQefx0.js","./simple-keypad-input-LEkrmlga.js","./base-radio-m6RczYwQ.js","./media-queries-gbofTbz-.js","./shared-4TdECMLk.js","./choice-I73s7vIV.js","./index-ngddCaVG.js","./index-qUyqkRvh.js","./icon-R5gZamfG.js","./choice-icon-StuadxRF.js","./focus-ring-2b4ybtc7.js","./option-status-Yr5mIJZ4.js","./choice-none-above-kJRmN7Nm.js","./phet-simulation-qZOVvVJP.js","./arrow-square-out-bold-090vdhrx.js","./answer-choices-G9U2Ia5j.js","./button-group-nsoLlHtM.js","./graph-2fIs0C28.js","./index-IIMKO4_x.js","./tiny-invariant-bHgPayXn.js","./bundle.esm-7jAAHVxW.js","./hud-4BOtaFc1.js","./multi-button-group-atHe8dYZ.js","./number-input-AfYHd3vF.js","./range-input-gZ_c3T2F.js","./marker-06uReQHz.js","./answer-pill-bgCwLR7r.js","./sortable-9Lw4jI0B.js","./video-transcript-link-MKIRfGVo.js","./article-renderer-Fup2g6Rr.css","./perseus-item-CzcHcXKx.js","./hints-renderer-0tODKVPs.js","./article-editor-1oiBkyK2.js","./components-yT7oveOH.js","./device-framer-eGajQcXC.js","./constants-p_UgHLsb.js","./register-all-widgets-and-editors-for-testing-JM_52AK4.js","./index-fuycm_QE.js","./categorizer-editor-kqwa18UH.js","./editor-jsonify-WkTEQia9.js","./index-0C4KXdeC.js","./blur-input-hjJsfoK9.js","./definition-editor-aDxWnBk6.js","./editor-cnaLgEab.js","./index-SM3muJE2.js","./icon-paths-EoBkHOLI.js","./section-control-button-vQyzwRZ4.js","./index-tFzzSRL2.js","./tex-error-view-Y2BSLjwB.js","./toggleable-caret-lFiCktzo.js","./dropdown-editor-ZTJVO7bh.js","./explanation-editor-4Trz12sz.js","./expression-editor-tuy9wQAn.js","./graph-settings-Mbta6LHt.js","./image-editor-2dlEqrx6.js","./input-number-editor-Ilx_eLUz.js","./index-Cp703TN-.js","./interactive-graph-editor-Mi3BWbQ2.js","./heading-8aCiuWUg.js","./interactive-graph-settings-1wZZGu7U.js","./locked-figures-section-rXMZLdUH.js","./locked-ellipse-settings-GZN1lNrc.js","./locked-figure-aria-mxtuWC2p.js","./scrollless-number-text-field-U5Bx_xXb.js","./util-qk2aeK8X.js","./locked-label-settings-XMKrDtPv.js","./color-select-Xh8LIYQw.js","./util-EIbodz9l.js","./line-stroke-select-OYlhdy6-.js","./locked-function-settings-I4_zr2ES.js","./line-swatch-O74cEI5A.js","./locked-line-settings-QDeW1LoV.js","./locked-point-settings-wAoKZaB8.js","./labeled-switch-zVOryGbL.js","./locked-polygon-settings-FI5GR0gw.js","./locked-vector-settings-VEpB_970.js","./label-image-editor-5i-CRSxH.js","./form-wrapped-text-field-A2kf-LD-.js","./global-colors-VIVU4Od4.js","./answer-choices-AZkfMHUH.js","./behavior-i1Yr0m7G.js","./question-markers-u6WvyWqg.js","./marker-9Sjiskse.js","./select-image-1nPhQNuF.js","./matcher-editor-PqRjEL6H.js","./number-line-editor-ZyufmhvC.js","./numeric-input-editor-DxBZYkog.js","./phet-simulation-editor-_qNrTNuz.js","./python-program-editor-otiNFbeA.js","./editor-fBCZKp66.js","./sorter-editor-s1FSGhza.js","./content-preview.stories-JlkBM8qF.js","./article-renderer.testdata-spwNviYy.js","./radio.testdata-sITJ8lxE.js","./viewport-resizer-CoOyl6DY.js","./perseus-editor-1P1vlgv9.css","./editor-page.stories-TQy8jC5s.js","./editor-page-with-storybook-preview-xrdk_zOd.js","./editor-page-TZeqpLDg.js","./item-extras-editor-WXA6-UrE.js","./flags-for-api-options-He-T2tS8.js","./editor.stories-M1tQvs_8.js","./index-px9Q0n_I.js","./structured-item-diff-wGcOsiRQ.js","./text-diff-XAqFDyA8.js","./tags-diff-GS9LLcEz.js","./multi-items-ISSf6-13.js","./side-by-side-kGWaKY6T.js","./interactive-graph-editor.stories-K38bkhhY.js","./interactive-graph-question-builder-Mh2lh4tI.js","./interactive-graph.testdata-MyLmvD1G.js","./item-editor.stories-Mqq5n0pv.js","./tex-error-view.stories-vwGgGZvn.js","./blur-input.stories-6PTTWtP8.js","./color-select.stories-CjA_rMv_.js","./color-swatch.stories-9OHS1D-H.js","./device-framer.stories-biQrBk9x.js","./graph-settings.stories-Gel_A3Jm.js","./interactive-graph-settings.stories-8xbUVR8u.js","./interactive-graph-settings.argtypes-6T40gg9D.js","./locked-ellipse-settings.stories-QJ2hV1JI.js","./locked-figures-section.stories-sWPQn6Cv.js","./locked-function-settings.stories-DziG6F_S.js","./locked-label-settings.stories-vgigZlp3.js","./locked-line-settings.stories-MlcAZ4Qe.js","./locked-point-settings.stories-hrM-9C8k.js","./locked-polygon-settings.stories-EDEmE--3.js","./locked-vector-settings.stories-L6i9CDNV.js","./scrollless-number-text-field.stories-AQl7_jva.js","./section-control-button.stories--fxR7ngO.js","./toggleable-caret.stories-nhN-z0SF.js","./viewport-resizer.stories-K8MlXKfV.js","./structured-item-diff.stories-PGUNi6sb.js","./perseus-diff-wrapper-dJxBlkDd.js","./tags-diff.stories-miDpoYze.js","./text-diff.stories-L9HXTKEw.js","./categorizer-editor.stories-zvQf5qzF.js","./definition-editor.stories-b7zfPU2h.js","./dropdown-editor.stories-HM2okDep.js","./explanation-editor.stories-t23BbThw.js","./expression-editor.stories-jT1kvkVk.js","./renderer-with-debug-ui-duQdKc-n.js","./register-all-widgets-for-testing-qEdr4aQT.js","./image-editor.stories-BHe0vbGh.js","./input-number-editor.stories-_Y9DcBg1.js","./interaction-editor.stories-JRM5mHpo.js","./interactive-graph-editor.stories-VPBlQJOs.js","./label-image-editor.stories-ziMT1NPm.js","./matcher-editor.stories-IoTXWeVR.js","./number-line-editor.stories-dWQiKTpZ.js","./numeric-input-editor.stories-gPHCmh3r.js","./phet-simulation-editor.stories-Tc7zzF3e.js","./python-program-editor.stories-W6xwBFiC.js","./radio-editor.stories-6GhFswye.js","./sorter-editor.stories-36exoH82.js","./answer-choices.stories-kkYIrtgR.js","./behavior.stories-Jb0nDYNN.js","./marker.stories-trCGe7a6.js","./question-markers.stories-z8gmXEvR.js","./select-image.stories-QfaFTweM.js","./article-renderer.stories-_fAZUBcr.js","./test-dependencies-QSTpbU20.js","./test-dependencies-vi99l57r.css","./test-keypad-context-wrapper-3gH8DCC_.js","./hints-renderer.stories-i7K2pnyi.js","./server-item-renderer.stories--DPn5_9j.js","./server-item-renderer-with-debug-ui-PVeyAuGu.js","./ke-score-ui-VwVxZMGJ.js","./button-group.stories-Jd2GkQu3.js","./fixed-to-responsive.stories-8DiLgWgI.js","./graph.stories-oiGBefIM.js","./graphie.stories-cARQJrHq.js","./hud.stories-T0i3oZ90.js","./icon.stories-RiaEljVU.js","./image-loader.stories-9Gky6BXL.js","./info-tip.stories-B2rhY5TT.js","./inline-icon.stories-_HhRJW2V.js","./input-with-examples.stories-EbyPnfiu.js","./lint.stories-urElbILQ.js","./math-input.stories-OWlCE0fl.js","./multi-button-group.stories-9s3YVelT.js","./number-input.stories-N2epCWoI.js","./range-input.stories-023ObPzr.js","./simple-keypad-input.stories-7zCo_AQF.js","./sortable.stories-mtnbVD1p.js","./stub-tag-editor.stories-U5MGBv2T.js","./svg-image.stories-xeWK_IUJ.js","./tex.stories-RdMEbt3U.js","./text-input.stories-UYGFQ8Hb.js","./text-list-editor.stories-FO3Wg0lT.js","./tooltip.stories-rkAvVxsE.js","./zoomable-tex.stories-4XZZtFwQ.js","./zoomable.stories-biidOpnJ.js","./visibility-observer.stories-pidMot5o.js","./multi-renderer.stories-nHsX3iNz.js","./categorizer.stories-U0XPRHA9.js","./cs-program.stories-Hs3R7Zno.js","./definition.stories-qYzT6tjf.js","./deprecated-standin.stories-UKVT6SfW.js","./dropdown.stories-5bKlSHTr.js","./explanation.stories-x4k60bN8.js","./expression.stories-Zq3u729j.js","./graded-group-set.stories-kzlzz78_.js","./graded-group.stories-eKKm_Jqy.js","./grapher.stories-8_Vaef-F.js","./group.stories-TjnFklj5.js","./iframe.stories-TfS3d_iY.js","./image.stories-5HtbntN1.js","./input-number.stories-Iqu61V0x.js","./interaction.stories-Z_LwwSF_.js","./interactive-graph-regression.stories-aH5jNarV.js","./interactive-graph.stories-JdSGcGW5.js","./locked-functions.stories-haTk3GIx.js","./answer-choices.stories-neoqPzW_.js","./answer-pill.stories-mAx8u1Np.js","./label-image.stories-RcCbc0DS.js","./marker.stories-nl5ZdOAM.js","./matcher.stories-VSohpxqD.js","./matrix.stories-3CaPxNsR.js","./number-line.stories-InwcUeQf.js","./numeric-input.stories-N0mA1UvX.js","./orderer.stories-TT5mT_qv.js","./passage-ref.stories-rKZIeybh.js","./passage.stories-xZzvfX73.js","./phet-simulation.stories-gP7-PJWt.js","./plotter.stories-aIZfL8Zi.js","./python-program.stories-nHJsBCoe.js","./base-radio.stories-hOlftvr6.js","./choice-icon.stories-8ni1pQVV.js","./choice-none-above.stories-mwphnDnG.js","./choice.stories-8Al8ddbo.js","./focus-ring.stories-S-6rUCVt.js","./option-status.stories-j32PjSOc.js","./radio.stories-0XscglXh.js","./sorter.stories-tFtUI76Y.js","./video-transcript-link.stories-La4j2ZS0.js","./video.stories-W_qKcuDL.js","./entry-preview-X1b_vaBy.js","./react-18-N0svEjlN.js","./entry-preview-docs-9fNegKGE.js","./_getPrototype-bjD8Yebc.js","./preview-VI2eoWmp.js","./index-ogXoivrg.js","./preview-98732p1V.js","./preview-FekBEZxm.js","./preview-1MSgikpN.js","./preview-u8M_OEO2.js","./preview-YxkJo6n2.js"] + __vite__mapDeps.viteFileDeps = ["./keypad-button.stories-tDGMB8WS.js","./jsx-runtime-FVsy8kgq.js","./index-TT1qJ6UJ.js","./_commonjsHelpers-4gQjN7DL.js","./chunk-WFFRPTHA-zlNDxfrq.js","./preview-errors-7FWlPnjy.js","./index-PPLHz8o0.js","./button-assets-txIojR3b.js","./keypad-button-rKskH7oM.js","./index-2dmvOE3q.js","./index-6h5t6F0w.js","./index-awljIyHI.js","./react-router-dom-W_e8xVUu.js","./index-tvtfaFq4.js","./index-deFLJwr4.js","./keypad-mathquill.stories-anFRYGcO.js","./index-BPSWBbj5.js","./index-7vsPyIck.js","./index-YCTzZMik.js","./index-rfN0X25E.js","./index-o3wWn3Y5.js","./index-CkAxGj88.js","./Popper-kGnKOid7.js","./index-h_CiYGGb.js","./mobile-keypad-wPUeR8mM.js","./index-J2t_5nK1.js","./tabbar-WYCYDof0.js","./item-X9tjzx12.js","./operators-page-C_EsmjPW.js","./navigation-pad-ss7r0FKW.js","./key-translator-Bl2XtQm9.js","./_commonjs-dynamic-modules-h-SxKiO4.js","./keypad-pages.stories-UYZo0hoJ.js","./index-VDi1Le_1.js","./navigation-pad.stories-qTnieBG4.js","./tabbar.stories-XOe59aSK.js","./tabbaritem.stories-mdibAqRo.js","./full-keypad.stories-Rwy66K-l.js","./full-mobile-input.stories-jwUl9wLW.js","./prop-types-SKtvHVtl.js","./version-akiLXZts.js","./invariant-bu5zBsRS.js","./prop-types-mRar-0kQ.css","./enums-x5qaTru7.js","./article-editor.stories-vAQRmXTk.js","./article-renderer-HHw6mvZH.js","./util-F8-MDmsT.js","./jquery-yG1GhClm.js","./renderer-6wjvxpTF.js","./index-dnMhQZ-1.js","./asset-context-I7yIqWki.js","./i18n-context-P5sgPFep.js","./svg-image-4Vh9uTQ6.js","./dependencies-d8cZibFS.js","./fixed-to-responsive-AkRQxH3P.js","./constants-iPV6vHZm.js","./client-rbWgHzHN.js","./inline-icon-NjJlm7d0.js","./icon-paths-5JCXzGsq.js","./image-loader-3HliPbpF.js","./tex-6yhnhbtf.js","./zoomable-CA1NzpZD.js","./zoomable-tex-hbM7rxrP.js","./perseus-api-Nq3s7IMx.js","./index-k-0mNqHS.js","./stub-tag-editor-74YQ4o9G.js","./text-list-editor-Jz35fIN1.js","./lint-kpBgzQ8K.js","./renderer-qr6V1vrR.css","./index-K9BSJPWl.js","./index-xuPsLuPk.js","./math-input-JZMGF6RZ.js","./index-WNT3sUKf.js","./input-with-examples-il70I6Ir.js","./text-input-15gEhfDF.js","./index-QCAhLhLD.js","./minus-bold-ONmDo3Ve.js","./tooltip--mhQefx0.js","./simple-keypad-input-LEkrmlga.js","./base-radio-m6RczYwQ.js","./media-queries-gbofTbz-.js","./shared-4TdECMLk.js","./choice-I73s7vIV.js","./index-ngddCaVG.js","./index-qUyqkRvh.js","./icon-R5gZamfG.js","./choice-icon-StuadxRF.js","./focus-ring-2b4ybtc7.js","./option-status-Yr5mIJZ4.js","./choice-none-above-kJRmN7Nm.js","./phet-simulation-qZOVvVJP.js","./arrow-square-out-bold-090vdhrx.js","./answer-choices-G9U2Ia5j.js","./button-group-nsoLlHtM.js","./graph-2fIs0C28.js","./index-IIMKO4_x.js","./tiny-invariant-bHgPayXn.js","./bundle.esm-7jAAHVxW.js","./hud-4BOtaFc1.js","./multi-button-group-atHe8dYZ.js","./number-input-AfYHd3vF.js","./range-input-gZ_c3T2F.js","./marker-06uReQHz.js","./answer-pill-bgCwLR7r.js","./sortable-9Lw4jI0B.js","./video-transcript-link-MKIRfGVo.js","./article-renderer-Fup2g6Rr.css","./perseus-item-CzcHcXKx.js","./hints-renderer-0tODKVPs.js","./article-editor-1oiBkyK2.js","./components-yT7oveOH.js","./device-framer-eGajQcXC.js","./constants-p_UgHLsb.js","./register-all-widgets-and-editors-for-testing-JM_52AK4.js","./index-fuycm_QE.js","./categorizer-editor-kqwa18UH.js","./editor-jsonify-WkTEQia9.js","./index-0C4KXdeC.js","./blur-input-hjJsfoK9.js","./definition-editor-aDxWnBk6.js","./editor-cnaLgEab.js","./index-SM3muJE2.js","./icon-paths-EoBkHOLI.js","./section-control-button-vQyzwRZ4.js","./index-tFzzSRL2.js","./tex-error-view-Y2BSLjwB.js","./toggleable-caret-lFiCktzo.js","./dropdown-editor-ZTJVO7bh.js","./explanation-editor-4Trz12sz.js","./expression-editor-tuy9wQAn.js","./graph-settings-Mbta6LHt.js","./image-editor-2dlEqrx6.js","./input-number-editor-Ilx_eLUz.js","./index-Cp703TN-.js","./interactive-graph-editor-Mi3BWbQ2.js","./heading-8aCiuWUg.js","./interactive-graph-settings-1wZZGu7U.js","./locked-figures-section-rXMZLdUH.js","./locked-ellipse-settings-GZN1lNrc.js","./locked-figure-aria-mxtuWC2p.js","./scrollless-number-text-field-U5Bx_xXb.js","./util-qk2aeK8X.js","./locked-label-settings-XMKrDtPv.js","./color-select-Xh8LIYQw.js","./util-EIbodz9l.js","./line-stroke-select-OYlhdy6-.js","./locked-function-settings-I4_zr2ES.js","./line-swatch-O74cEI5A.js","./locked-line-settings-QDeW1LoV.js","./locked-point-settings-wAoKZaB8.js","./labeled-switch-zVOryGbL.js","./locked-polygon-settings-FI5GR0gw.js","./locked-vector-settings-VEpB_970.js","./label-image-editor-5i-CRSxH.js","./form-wrapped-text-field-A2kf-LD-.js","./global-colors-VIVU4Od4.js","./answer-choices-AZkfMHUH.js","./behavior-i1Yr0m7G.js","./question-markers-u6WvyWqg.js","./marker-9Sjiskse.js","./select-image-1nPhQNuF.js","./matcher-editor-PqRjEL6H.js","./number-line-editor-ZyufmhvC.js","./numeric-input-editor-DxBZYkog.js","./phet-simulation-editor-_qNrTNuz.js","./python-program-editor-otiNFbeA.js","./editor-fBCZKp66.js","./sorter-editor-s1FSGhza.js","./content-preview.stories-JlkBM8qF.js","./article-renderer.testdata-spwNviYy.js","./radio.testdata-sITJ8lxE.js","./viewport-resizer-CoOyl6DY.js","./perseus-editor-1P1vlgv9.css","./editor-page.stories-TQy8jC5s.js","./editor-page-with-storybook-preview-xrdk_zOd.js","./editor-page-TZeqpLDg.js","./item-extras-editor-WXA6-UrE.js","./flags-for-api-options-He-T2tS8.js","./editor.stories-M1tQvs_8.js","./index-px9Q0n_I.js","./structured-item-diff-wGcOsiRQ.js","./text-diff-XAqFDyA8.js","./tags-diff-GS9LLcEz.js","./multi-items-ISSf6-13.js","./side-by-side-kGWaKY6T.js","./interactive-graph-editor.stories-K38bkhhY.js","./interactive-graph-question-builder-Mh2lh4tI.js","./interactive-graph.testdata-MyLmvD1G.js","./item-editor.stories-Mqq5n0pv.js","./tex-error-view.stories-vwGgGZvn.js","./blur-input.stories-6PTTWtP8.js","./color-select.stories-CjA_rMv_.js","./color-swatch.stories-9OHS1D-H.js","./device-framer.stories-biQrBk9x.js","./graph-settings.stories-Gel_A3Jm.js","./interactive-graph-settings.stories-8xbUVR8u.js","./interactive-graph-settings.argtypes-6T40gg9D.js","./locked-ellipse-settings.stories-QJ2hV1JI.js","./locked-figures-section.stories-sWPQn6Cv.js","./locked-function-settings.stories-DziG6F_S.js","./locked-label-settings.stories-vgigZlp3.js","./locked-line-settings.stories-MlcAZ4Qe.js","./locked-point-settings.stories-hrM-9C8k.js","./locked-polygon-settings.stories-EDEmE--3.js","./locked-vector-settings.stories-L6i9CDNV.js","./scrollless-number-text-field.stories-AQl7_jva.js","./section-control-button.stories--fxR7ngO.js","./toggleable-caret.stories-nhN-z0SF.js","./viewport-resizer.stories-K8MlXKfV.js","./structured-item-diff.stories-PGUNi6sb.js","./perseus-diff-wrapper-dJxBlkDd.js","./tags-diff.stories-miDpoYze.js","./text-diff.stories-L9HXTKEw.js","./categorizer-editor.stories-zvQf5qzF.js","./definition-editor.stories-b7zfPU2h.js","./dropdown-editor.stories-HM2okDep.js","./explanation-editor.stories-t23BbThw.js","./expression-editor.stories-jT1kvkVk.js","./renderer-with-debug-ui-duQdKc-n.js","./register-all-widgets-for-testing-qEdr4aQT.js","./image-editor.stories-BHe0vbGh.js","./input-number-editor.stories-_Y9DcBg1.js","./interaction-editor.stories-JRM5mHpo.js","./interactive-graph-editor.stories-VPBlQJOs.js","./label-image-editor.stories-ziMT1NPm.js","./matcher-editor.stories-IoTXWeVR.js","./number-line-editor.stories-dWQiKTpZ.js","./numeric-input-editor.stories-gPHCmh3r.js","./phet-simulation-editor.stories-Tc7zzF3e.js","./python-program-editor.stories-W6xwBFiC.js","./radio-editor.stories-6GhFswye.js","./sorter-editor.stories-36exoH82.js","./answer-choices.stories-kkYIrtgR.js","./behavior.stories-Jb0nDYNN.js","./marker.stories-trCGe7a6.js","./question-markers.stories-z8gmXEvR.js","./select-image.stories-QfaFTweM.js","./article-renderer.stories-_fAZUBcr.js","./test-dependencies-QSTpbU20.js","./test-dependencies-vi99l57r.css","./test-keypad-context-wrapper-3gH8DCC_.js","./hints-renderer.stories-i7K2pnyi.js","./server-item-renderer.stories--DPn5_9j.js","./server-item-renderer-with-debug-ui-PVeyAuGu.js","./ke-score-ui-VwVxZMGJ.js","./button-group.stories-Jd2GkQu3.js","./fixed-to-responsive.stories-8DiLgWgI.js","./graph.stories-oiGBefIM.js","./graphie.stories-cARQJrHq.js","./hud.stories-T0i3oZ90.js","./icon.stories-RiaEljVU.js","./image-loader.stories-9Gky6BXL.js","./info-tip.stories-B2rhY5TT.js","./inline-icon.stories-_HhRJW2V.js","./input-with-examples.stories-EbyPnfiu.js","./lint.stories-urElbILQ.js","./math-input.stories-OWlCE0fl.js","./multi-button-group.stories-9s3YVelT.js","./number-input.stories-N2epCWoI.js","./range-input.stories-023ObPzr.js","./simple-keypad-input.stories-7zCo_AQF.js","./sortable.stories-mtnbVD1p.js","./stub-tag-editor.stories-U5MGBv2T.js","./svg-image.stories-xeWK_IUJ.js","./tex.stories-RdMEbt3U.js","./text-input.stories-UYGFQ8Hb.js","./text-list-editor.stories-FO3Wg0lT.js","./tooltip.stories-rkAvVxsE.js","./zoomable-tex.stories-4XZZtFwQ.js","./zoomable.stories-biidOpnJ.js","./visibility-observer.stories-pidMot5o.js","./multi-renderer.stories-nHsX3iNz.js","./categorizer.stories-U0XPRHA9.js","./cs-program.stories-Hs3R7Zno.js","./definition.stories-qYzT6tjf.js","./deprecated-standin.stories-UKVT6SfW.js","./dropdown.stories-5bKlSHTr.js","./explanation.stories-x4k60bN8.js","./expression.stories-Zq3u729j.js","./graded-group-set.stories-kzlzz78_.js","./graded-group.stories-eKKm_Jqy.js","./grapher.stories-8_Vaef-F.js","./group.stories-TjnFklj5.js","./iframe.stories-TfS3d_iY.js","./image.stories-5HtbntN1.js","./input-number.stories-Iqu61V0x.js","./interaction.stories-Z_LwwSF_.js","./interactive-graph-regression.stories-aH5jNarV.js","./interactive-graph.stories-JdSGcGW5.js","./locked-functions.stories-haTk3GIx.js","./answer-choices.stories-neoqPzW_.js","./answer-pill.stories-mAx8u1Np.js","./label-image.stories-RcCbc0DS.js","./marker.stories-nl5ZdOAM.js","./matcher.stories-VSohpxqD.js","./matrix.stories-3CaPxNsR.js","./number-line.stories-InwcUeQf.js","./numeric-input.stories-N0mA1UvX.js","./orderer.stories-TT5mT_qv.js","./passage-ref.stories-rKZIeybh.js","./passage.stories-xZzvfX73.js","./phet-simulation.stories-gP7-PJWt.js","./plotter.stories-aIZfL8Zi.js","./python-program.stories-nHJsBCoe.js","./base-radio.stories-hOlftvr6.js","./choice-icon.stories-8ni1pQVV.js","./choice-none-above.stories-mwphnDnG.js","./choice.stories-8Al8ddbo.js","./focus-ring.stories-S-6rUCVt.js","./option-status.stories-j32PjSOc.js","./radio.stories-0XscglXh.js","./sorter.stories-tFtUI76Y.js","./video-transcript-link.stories-La4j2ZS0.js","./video.stories-W_qKcuDL.js","./entry-preview-X1b_vaBy.js","./react-18-N0svEjlN.js","./entry-preview-docs-9fNegKGE.js","./_getPrototype-bjD8Yebc.js","./preview-VI2eoWmp.js","./index-ogXoivrg.js","./preview-98732p1V.js","./preview-FekBEZxm.js","./preview-1MSgikpN.js","./preview-u8M_OEO2.js","./preview-YxkJo6n2.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } diff --git a/assets/iframe.stories-TfS3d_iY.js b/assets/iframe.stories-TfS3d_iY.js index cef9ac0fb5..be67c1099b 100644 --- a/assets/iframe.stories-TfS3d_iY.js +++ b/assets/iframe.stories-TfS3d_iY.js @@ -1,4 +1,4 @@ -import{j as m}from"./jsx-runtime-FVsy8kgq.js";import{R as p}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const e={content:`Try matching the target image +import{j as m}from"./jsx-runtime-FVsy8kgq.js";import{R as p}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const e={content:`Try matching the target image [[☃ iframe 1]] `,images:{"https://ka-perseus-images.s3.amazonaws.com/8e518475587bc83767c72b49ff094e5870c3edc3.png":{width:760,height:688}},widgets:{"iframe 1":{graded:!0,version:{major:0,minor:0},static:!1,type:"iframe",options:{settings:[{name:"hue",value:"210"},{name:"subdivisions",value:"0"},{name:"zoom",value:"2"},{name:"seed",value:"6"},{name:"",value:""}],url:"4960944252",height:"410",width:"410",allowFullScreen:!0,static:!1},alignment:"default"}}},Xt={title:"Perseus/Widgets/IFrame"},t=s=>m(p,{question:e});t.__docgenInfo={description:"",methods:[],displayName:"Question1"};var r,i,o;t.parameters={...t.parameters,docs:{...(r=t.parameters)==null?void 0:r.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { return ; diff --git a/assets/image-editor.stories-BHe0vbGh.js b/assets/image-editor.stories-BHe0vbGh.js index 47b172a580..60fb58b3ab 100644 --- a/assets/image-editor.stories-BHe0vbGh.js +++ b/assets/image-editor.stories-BHe0vbGh.js @@ -1,3 +1,3 @@ -import{j as o,a as p}from"./jsx-runtime-FVsy8kgq.js";import"./article-renderer-HHw6mvZH.js";import"./jquery-yG1GhClm.js";import"./util-F8-MDmsT.js";import"./phet-simulation-qZOVvVJP.js";import"./version-akiLXZts.js";import"./dependencies-d8cZibFS.js";import{A as d}from"./perseus-api-Nq3s7IMx.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./renderer-6wjvxpTF.js";import"./base-radio-m6RczYwQ.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./svg-image-4Vh9uTQ6.js";import"./hud-4BOtaFc1.js";import"./icon-R5gZamfG.js";import"./index-K9BSJPWl.js";import"./inline-icon-NjJlm7d0.js";import"./math-input-JZMGF6RZ.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./text-input-15gEhfDF.js";import"./text-list-editor-Jz35fIN1.js";import"./index-k-0mNqHS.js";import"./i18n-context-P5sgPFep.js";import"./index-IIMKO4_x.js";import{V as u}from"./index-6h5t6F0w.js";import{s as f}from"./index-deFLJwr4.js";import{b as g}from"./index-h_CiYGGb.js";import{a as h}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{l as y}from"./index-awljIyHI.js";import{r as e}from"./index-TT1qJ6UJ.js";import{I as S}from"./image-editor-2dlEqrx6.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-7vsPyIck.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./index-dnMhQZ-1.js";import"./input-with-examples-il70I6Ir.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./icon-paths-5JCXzGsq.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./shared-4TdECMLk.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./Popper-kGnKOid7.js";import"./answer-choices-G9U2Ia5j.js";import"./index-xuPsLuPk.js";import"./minus-bold-ONmDo3Ve.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./asset-context-I7yIqWki.js";import"./tiny-invariant-bHgPayXn.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./video-transcript-link-MKIRfGVo.js";import"./arrow-square-out-bold-090vdhrx.js";import"./stub-tag-editor-74YQ4o9G.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./choice-none-above-kJRmN7Nm.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./index-QCAhLhLD.js";import"./bundle.esm-7jAAHVxW.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./components-yT7oveOH.js";import"./editor-jsonify-WkTEQia9.js";import"./blur-input-hjJsfoK9.js";import"./editor-cnaLgEab.js";import"./index-fuycm_QE.js";import"./index-0C4KXdeC.js";import"./index-SM3muJE2.js";import"./icon-paths-EoBkHOLI.js";import"./section-control-button-vQyzwRZ4.js";import"./index-tFzzSRL2.js";import"./tex-error-view-Y2BSLjwB.js";import"./toggleable-caret-lFiCktzo.js";const xr={title:"PerseusEditor/Widgets/Image Editor"},b=y.StyleSheet.create({wrapper:{width:338,margin:20}}),w=h("onChange"),E=()=>{const r=e.useRef(null),[l,c]=e.useState({backgroundImage:{url:"https://ka-perseus-images.s3.amazonaws.com/2ee5fc32e35c5178373b39fd304b325b2994c913.png"}});return p(u,{style:b.wrapper,children:[p(g,{style:{fontStyle:"italic",marginBottom:f.small_12},children:[o("b",{children:"Note"})," that this editor has a known-issue where it does not calculate the image dimensions initially if they aren't provided. It does update the dimensions when you blur the 'Image url:' field."]}),o(S,{...l,apiOptions:d.defaults,onChange:i=>{var m;w(i),c({...(m=r.current)==null?void 0:m.serialize(),...i})},ref:r})]})},t=r=>o(E,{});t.__docgenInfo={description:"",methods:[],displayName:"Default"};var a,s,n;t.parameters={...t.parameters,docs:{...(a=t.parameters)==null?void 0:a.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { +import{j as o,a as p}from"./jsx-runtime-FVsy8kgq.js";import"./article-renderer-HHw6mvZH.js";import"./jquery-yG1GhClm.js";import"./util-F8-MDmsT.js";import"./phet-simulation-qZOVvVJP.js";import"./version-akiLXZts.js";import"./dependencies-d8cZibFS.js";import{A as d}from"./perseus-api-Nq3s7IMx.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./renderer-6wjvxpTF.js";import"./base-radio-m6RczYwQ.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./svg-image-4Vh9uTQ6.js";import"./hud-4BOtaFc1.js";import"./icon-R5gZamfG.js";import"./index-K9BSJPWl.js";import"./inline-icon-NjJlm7d0.js";import"./math-input-JZMGF6RZ.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./text-input-15gEhfDF.js";import"./text-list-editor-Jz35fIN1.js";import"./index-k-0mNqHS.js";import"./i18n-context-P5sgPFep.js";import"./index-IIMKO4_x.js";import{V as u}from"./index-6h5t6F0w.js";import{s as f}from"./index-deFLJwr4.js";import{b as g}from"./index-h_CiYGGb.js";import{a as h}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{l as y}from"./index-awljIyHI.js";import{r as e}from"./index-TT1qJ6UJ.js";import{I as S}from"./image-editor-2dlEqrx6.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-7vsPyIck.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./index-dnMhQZ-1.js";import"./input-with-examples-il70I6Ir.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./icon-paths-5JCXzGsq.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./shared-4TdECMLk.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./Popper-kGnKOid7.js";import"./answer-choices-G9U2Ia5j.js";import"./index-xuPsLuPk.js";import"./minus-bold-ONmDo3Ve.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./asset-context-I7yIqWki.js";import"./tiny-invariant-bHgPayXn.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./video-transcript-link-MKIRfGVo.js";import"./arrow-square-out-bold-090vdhrx.js";import"./stub-tag-editor-74YQ4o9G.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./choice-none-above-kJRmN7Nm.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./index-QCAhLhLD.js";import"./bundle.esm-7jAAHVxW.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./components-yT7oveOH.js";import"./editor-jsonify-WkTEQia9.js";import"./blur-input-hjJsfoK9.js";import"./editor-cnaLgEab.js";import"./index-fuycm_QE.js";import"./index-0C4KXdeC.js";import"./index-SM3muJE2.js";import"./icon-paths-EoBkHOLI.js";import"./section-control-button-vQyzwRZ4.js";import"./index-tFzzSRL2.js";import"./tex-error-view-Y2BSLjwB.js";import"./toggleable-caret-lFiCktzo.js";const xr={title:"PerseusEditor/Widgets/Image Editor"},b=y.StyleSheet.create({wrapper:{width:338,margin:20}}),w=h("onChange"),E=()=>{const r=e.useRef(null),[l,c]=e.useState({backgroundImage:{url:"https://ka-perseus-images.s3.amazonaws.com/2ee5fc32e35c5178373b39fd304b325b2994c913.png"}});return p(u,{style:b.wrapper,children:[p(g,{style:{fontStyle:"italic",marginBottom:f.small_12},children:[o("b",{children:"Note"})," that this editor has a known-issue where it does not calculate the image dimensions initially if they aren't provided. It does update the dimensions when you blur the 'Image url:' field."]}),o(S,{...l,apiOptions:d.defaults,onChange:i=>{var m;w(i),c({...(m=r.current)==null?void 0:m.serialize(),...i})},ref:r})]})},t=r=>o(E,{});t.__docgenInfo={description:"",methods:[],displayName:"Default"};var a,s,n;t.parameters={...t.parameters,docs:{...(a=t.parameters)==null?void 0:a.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { return ; }`,...(n=(s=t.parameters)==null?void 0:s.docs)==null?void 0:n.source}}};const _r=["Default"];export{t as Default,_r as __namedExportsOrder,xr as default}; diff --git a/assets/image.stories-5HtbntN1.js b/assets/image.stories-5HtbntN1.js index 9c1db92a4b..bb998e4168 100644 --- a/assets/image.stories-5HtbntN1.js +++ b/assets/image.stories-5HtbntN1.js @@ -1,4 +1,4 @@ -import{j as d}from"./jsx-runtime-FVsy8kgq.js";import{R as c}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const t={content:`[[☃ image 1]] +import{j as d}from"./jsx-runtime-FVsy8kgq.js";import{R as c}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const t={content:`[[☃ image 1]] ===== diff --git a/assets/input-number-editor.stories-_Y9DcBg1.js b/assets/input-number-editor.stories-_Y9DcBg1.js index 706008d901..24865f2560 100644 --- a/assets/input-number-editor.stories-_Y9DcBg1.js +++ b/assets/input-number-editor.stories-_Y9DcBg1.js @@ -1,3 +1,3 @@ -import{j as m}from"./jsx-runtime-FVsy8kgq.js";import{a as p}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{I as e}from"./input-number-editor-Ilx_eLUz.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./blur-input-hjJsfoK9.js";const $r={title:"PerseusEditor/Widgets/InputNumber Editor"},r=a=>m(e,{onChange:p("onChange")});r.__docgenInfo={description:"",methods:[],displayName:"Default"};var t,o,i;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { +import{j as m}from"./jsx-runtime-FVsy8kgq.js";import{a as p}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{I as e}from"./input-number-editor-Ilx_eLUz.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./blur-input-hjJsfoK9.js";const $r={title:"PerseusEditor/Widgets/InputNumber Editor"},r=a=>m(e,{onChange:p("onChange")});r.__docgenInfo={description:"",methods:[],displayName:"Default"};var t,o,i;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { return ; }`,...(i=(o=r.parameters)==null?void 0:o.docs)==null?void 0:i.source}}};const rt=["Default"];export{r as Default,rt as __namedExportsOrder,$r as default}; diff --git a/assets/input-number.stories-Iqu61V0x.js b/assets/input-number.stories-Iqu61V0x.js index 1b61145325..8877707d44 100644 --- a/assets/input-number.stories-Iqu61V0x.js +++ b/assets/input-number.stories-Iqu61V0x.js @@ -1,4 +1,4 @@ -import{j as a}from"./jsx-runtime-FVsy8kgq.js";import{R as o}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const f={content:`Denis baked a peach pie and cut it into $3$ equal-sized pieces. Denis's dad eats $1$ section of the pie. +import{j as a}from"./jsx-runtime-FVsy8kgq.js";import{R as o}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const f={content:`Denis baked a peach pie and cut it into $3$ equal-sized pieces. Denis's dad eats $1$ section of the pie. **What fraction of the pie did Denis's dad eat?** ![](https://ka-perseus-graphie.s3.amazonaws.com/74a2b7583a2c26ebfb3ad714e29867541253fc97.png) diff --git a/assets/interaction-editor.stories-JRM5mHpo.js b/assets/interaction-editor.stories-JRM5mHpo.js index 2ea5b5317b..19f0078995 100644 --- a/assets/interaction-editor.stories-JRM5mHpo.js +++ b/assets/interaction-editor.stories-JRM5mHpo.js @@ -1,4 +1,4 @@ -import{j as l}from"./jsx-runtime-FVsy8kgq.js";import{r as o}from"./index-TT1qJ6UJ.js";import{I as h}from"./index-Cp703TN-.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./editor-jsonify-WkTEQia9.js";import"./graph-settings-Mbta6LHt.js";import"./components-yT7oveOH.js";import"./index-fuycm_QE.js";import"./index-0C4KXdeC.js";import"./icon-paths-EoBkHOLI.js";const er={title:"PerseusEditor/Widgets/Interaction Editor"},t=d=>{const[e,n]=o.useState(),[s,a]=o.useState();function c(r){r.graph&&a(r.graph),r.elements&&n(r.elements)}return l(h,{onChange:c,elements:e,graph:s})};t.__docgenInfo={description:"",methods:[],displayName:"Default"};var i,m,p;t.parameters={...t.parameters,docs:{...(i=t.parameters)==null?void 0:i.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { +import{j as l}from"./jsx-runtime-FVsy8kgq.js";import{r as o}from"./index-TT1qJ6UJ.js";import{I as h}from"./index-Cp703TN-.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./editor-jsonify-WkTEQia9.js";import"./graph-settings-Mbta6LHt.js";import"./components-yT7oveOH.js";import"./index-fuycm_QE.js";import"./index-0C4KXdeC.js";import"./icon-paths-EoBkHOLI.js";const er={title:"PerseusEditor/Widgets/Interaction Editor"},t=d=>{const[e,n]=o.useState(),[s,a]=o.useState();function c(r){r.graph&&a(r.graph),r.elements&&n(r.elements)}return l(h,{onChange:c,elements:e,graph:s})};t.__docgenInfo={description:"",methods:[],displayName:"Default"};var i,m,p;t.parameters={...t.parameters,docs:{...(i=t.parameters)==null?void 0:i.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { const [elements, setElements] = useState(); const [graph, setGraph] = useState(); function handleChange(next) { diff --git a/assets/interaction.stories-Z_LwwSF_.js b/assets/interaction.stories-Z_LwwSF_.js index 882f4af1a6..f7d9cc42db 100644 --- a/assets/interaction.stories-Z_LwwSF_.js +++ b/assets/interaction.stories-Z_LwwSF_.js @@ -1,4 +1,4 @@ -import{j as i}from"./jsx-runtime-FVsy8kgq.js";import{R as a}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const p={content:`Drag the dot all the way to the right. +import{j as i}from"./jsx-runtime-FVsy8kgq.js";import{R as a}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const p={content:`Drag the dot all the way to the right. [[☃ interaction 1]] diff --git a/assets/interactive-graph-editor.stories-K38bkhhY.js b/assets/interactive-graph-editor.stories-K38bkhhY.js index 755d90f6ce..1efec0d9e3 100644 --- a/assets/interactive-graph-editor.stories-K38bkhhY.js +++ b/assets/interactive-graph-editor.stories-K38bkhhY.js @@ -1,4 +1,4 @@ -import{j as e,a as C}from"./jsx-runtime-FVsy8kgq.js";import{V as A}from"./index-6h5t6F0w.js";import{S as ct}from"./index-qUyqkRvh.js";import{s as l,c as Q}from"./index-deFLJwr4.js";import{L as pt,B as dt}from"./index-h_CiYGGb.js";import{a as mt}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{l as ut}from"./index-awljIyHI.js";import{r as s}from"./index-TT1qJ6UJ.js";import"./index-px9Q0n_I.js";import{i as ft}from"./interactive-graph-question-builder-Mh2lh4tI.js";import{i as gt,s as ht,a as bt,l as kt,b as vt,r as St,c as Wt,q as yt,d as Lt,p as Pt,e as Rt,f as It,g as r}from"./interactive-graph.testdata-MyLmvD1G.js";import{r as wt}from"./register-all-widgets-and-editors-for-testing-JM_52AK4.js";import{E as t}from"./editor-page-with-storybook-preview-xrdk_zOd.js";import{f as a}from"./flags-for-api-options-He-T2tS8.js";import{E as Et}from"./editor-page-TZeqpLDg.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./version-akiLXZts.js";import"./article-editor-1oiBkyK2.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./device-framer-eGajQcXC.js";import"./constants-p_UgHLsb.js";import"./section-control-button-vQyzwRZ4.js";import"./index-tFzzSRL2.js";import"./editor-cnaLgEab.js";import"./index-fuycm_QE.js";import"./index-0C4KXdeC.js";import"./index-SM3muJE2.js";import"./icon-paths-EoBkHOLI.js";import"./tex-error-view-Y2BSLjwB.js";import"./toggleable-caret-lFiCktzo.js";import"./viewport-resizer-CoOyl6DY.js";import"./structured-item-diff-wGcOsiRQ.js";import"./text-diff-XAqFDyA8.js";import"./tags-diff-GS9LLcEz.js";import"./multi-items-ISSf6-13.js";/* empty css */import"./categorizer-editor-kqwa18UH.js";import"./editor-jsonify-WkTEQia9.js";import"./blur-input-hjJsfoK9.js";import"./definition-editor-aDxWnBk6.js";import"./dropdown-editor-ZTJVO7bh.js";import"./explanation-editor-4Trz12sz.js";import"./expression-editor-tuy9wQAn.js";import"./graph-settings-Mbta6LHt.js";import"./image-editor-2dlEqrx6.js";import"./input-number-editor-Ilx_eLUz.js";import"./index-Cp703TN-.js";import"./interactive-graph-editor-Mi3BWbQ2.js";import"./heading-8aCiuWUg.js";import"./interactive-graph-settings-1wZZGu7U.js";import"./locked-figures-section-rXMZLdUH.js";import"./locked-ellipse-settings-GZN1lNrc.js";import"./locked-figure-aria-mxtuWC2p.js";import"./scrollless-number-text-field-U5Bx_xXb.js";import"./util-qk2aeK8X.js";import"./locked-label-settings-XMKrDtPv.js";import"./color-select-Xh8LIYQw.js";import"./util-EIbodz9l.js";import"./line-stroke-select-OYlhdy6-.js";import"./locked-function-settings-I4_zr2ES.js";import"./line-swatch-O74cEI5A.js";import"./locked-line-settings-QDeW1LoV.js";import"./locked-point-settings-wAoKZaB8.js";import"./labeled-switch-zVOryGbL.js";import"./locked-polygon-settings-FI5GR0gw.js";import"./locked-vector-settings-VEpB_970.js";import"./label-image-editor-5i-CRSxH.js";import"./form-wrapped-text-field-A2kf-LD-.js";import"./global-colors-VIVU4Od4.js";import"./answer-choices-AZkfMHUH.js";import"./behavior-i1Yr0m7G.js";import"./question-markers-u6WvyWqg.js";import"./marker-9Sjiskse.js";import"./select-image-1nPhQNuF.js";import"./matcher-editor-PqRjEL6H.js";import"./number-line-editor-ZyufmhvC.js";import"./numeric-input-editor-DxBZYkog.js";import"./phet-simulation-editor-_qNrTNuz.js";import"./python-program-editor-otiNFbeA.js";import"./editor-fBCZKp66.js";import"./sorter-editor-s1FSGhza.js";import"./item-extras-editor-WXA6-UrE.js";wt();const Na={title:"PerseusEditor/Widgets/Interactive Graph"},qt=mt("onChange"),c=()=>e(t,{question:gt}),p=()=>e(t,{question:ht}),d=()=>e(t,{question:bt}),m=()=>e(t,{question:kt}),u=()=>e(t,{question:vt}),f=()=>e(t,{question:St}),g=()=>e(t,{question:Wt}),h=()=>e(t,{question:yt}),b=()=>e(t,{question:Lt}),k=()=>e(t,{question:Pt}),v=()=>e(t,{question:Rt}),S=()=>e(t,{question:It}),W=()=>e(t,{question:ft().withNoInteractiveFigure().addLockedFunction("5*sin(x)",{color:"red"}).build()}),i=()=>e(t,{apiOptions:{isMobile:!1,flags:{mafs:{...a.mafs,"interactive-graph-locked-features-labels":!1,"locked-figures-aria":!1,"locked-point-labels":!1,"locked-line-labels":!1,"locked-vector-labels":!1,"locked-ellipse-labels":!1,"locked-polygon-labels":!1,"locked-function-labels":!1}}},question:r});i.parameters={chromatic:{disableSnapshot:!0}};const y=()=>e(t,{apiOptions:{flags:{mafs:{...a.mafs,"interactive-graph-locked-features-labels":!0,"locked-point-labels":!1,"locked-line-labels":!1,"locked-vector-labels":!1,"locked-ellipse-labels":!1,"locked-polygon-labels":!1,"locked-function-labels":!1}}},question:r}),L=()=>e(t,{apiOptions:{flags:{mafs:{...a.mafs,"interactive-graph-locked-features-labels":!0,"locked-point-labels":!0,"locked-line-labels":!1,"locked-vector-labels":!1,"locked-ellipse-labels":!1,"locked-polygon-labels":!1,"locked-function-labels":!1}}},question:r}),P=()=>e(t,{apiOptions:{flags:{mafs:{...a.mafs,"interactive-graph-locked-features-labels":!0,"locked-point-labels":!1,"locked-line-labels":!0,"locked-vector-labels":!1,"locked-ellipse-labels":!1,"locked-polygon-labels":!1,"locked-function-labels":!1}}},question:r}),R=()=>e(t,{apiOptions:{flags:{mafs:{...a.mafs,"interactive-graph-locked-features-labels":!0,"locked-point-labels":!1,"locked-line-labels":!1,"locked-vector-labels":!0,"locked-ellipse-labels":!1,"locked-polygon-labels":!1,"locked-function-labels":!1}}},question:r}),I=()=>e(t,{apiOptions:{flags:{mafs:{...a.mafs,"interactive-graph-locked-features-labels":!0,"locked-point-labels":!1,"locked-line-labels":!1,"locked-vector-labels":!1,"locked-ellipse-labels":!0,"locked-polygon-labels":!1,"locked-function-labels":!1}}},question:r}),w=()=>e(t,{apiOptions:{flags:{mafs:{...a.mafs,"interactive-graph-locked-features-labels":!0,"locked-point-labels":!1,"locked-line-labels":!1,"locked-vector-labels":!1,"locked-ellipse-labels":!1,"locked-polygon-labels":!0,"locked-function-labels":!1}}},question:r}),E=()=>e(t,{apiOptions:{flags:{mafs:{...a.mafs,"interactive-graph-locked-features-labels":!0,"locked-point-labels":!1,"locked-line-labels":!1,"locked-vector-labels":!1,"locked-ellipse-labels":!1,"locked-polygon-labels":!1,"locked-function-labels":!0}}},question:r}),q=()=>e(t,{question:r}),n=()=>{const[Xe,Ze]=s.useState("phone"),[et,tt]=s.useState(!1),[ot,rt]=s.useState(),[M,at]=s.useState(r),[G,st]=s.useState(),[it,nt]=s.useState([]),_=s.useRef(null);return s.useEffect(()=>{if(_.current){const o=_.current.getSaveWarnings();nt(o)}},[_,M,G]),C(A,{style:F.container,children:[e(Et,{ref:_,apiOptions:{isMobile:!1,flags:a},previewDevice:Xe,onPreviewDeviceChange:o=>Ze(o),developerMode:!0,jsonMode:et,answerArea:ot,question:M,hints:G,frameSource:"about:blank",previewURL:"about:blank",itemId:"1",onChange:o=>{qt(o),"jsonMode"in o&&tt(o.jsonMode),"answerArea"in o&&rt(o.answerArea),"question"in o&&at(o.question),"hints"in o&&st(o.hints)}}),C(A,{style:F.errorContainer,children:[e(pt,{children:"Save Warnings:"}),e(ct,{size:l.small_12}),it.map((o,lt)=>e(dt,{style:F.errorMessage,children:o},lt))]})]})};n.parameters={chromatic:{disableSnapshot:!0}};const F=ut.StyleSheet.create({container:{flexDirection:"row"},errorContainer:{border:`1px solid ${Q.offBlack}`,padding:l.medium_16,flexGrow:1,marginRight:l.xLarge_32,height:"80vh",position:"sticky",top:l.xLarge_32,overflowY:"auto"},errorMessage:{color:Q.red,marginBottom:l.small_12}});c.__docgenInfo={description:"",methods:[],displayName:"InteractiveGraphWithAriaLabel"};p.__docgenInfo={description:"",methods:[],displayName:"InteractiveGraphSegment"};d.__docgenInfo={description:"",methods:[],displayName:"InteractiveGraphSegments"};m.__docgenInfo={description:"",methods:[],displayName:"InteractiveGraphLinear"};u.__docgenInfo={description:"",methods:[],displayName:"InteractiveGraphLinearSystem"};f.__docgenInfo={description:"",methods:[],displayName:"InteractiveGraphRay"};g.__docgenInfo={description:"",methods:[],displayName:"InteractiveGraphCircle"};h.__docgenInfo={description:"",methods:[],displayName:"InteractiveGraphQuadratic"};b.__docgenInfo={description:"",methods:[],displayName:"InteractiveGraphSinusoid"};k.__docgenInfo={description:"",methods:[],displayName:"InteractiveGraphPoint"};v.__docgenInfo={description:"",methods:[],displayName:"InteractiveGraphPolygon"};S.__docgenInfo={description:"",methods:[],displayName:"InteractiveGraphAngle"};W.__docgenInfo={description:"",methods:[],displayName:"InteractiveGraphNone"};i.__docgenInfo={description:"",methods:[],displayName:"MafsWithLockedFiguresCurrent"};y.__docgenInfo={description:"",methods:[],displayName:"MafsWithLockedLabelsFlag"};L.__docgenInfo={description:"",methods:[],displayName:"MafsWithLockedPointLabelsFlag"};P.__docgenInfo={description:"",methods:[],displayName:"MafsWithLockedLineLabelsFlag"};R.__docgenInfo={description:"",methods:[],displayName:"MafsWithLockedVectorLabelsFlag"};I.__docgenInfo={description:"",methods:[],displayName:"MafsWithLockedEllipseLabelsFlag"};w.__docgenInfo={description:"",methods:[],displayName:"MafsWithLockedPolygonLabelsFlag"};E.__docgenInfo={description:"",methods:[],displayName:"MafsWithLockedFunctionLabelsFlag"};q.__docgenInfo={description:"",methods:[],displayName:"MafsWithLockedFigureLabelsAllFlags"};n.__docgenInfo={description:"",methods:[],displayName:"WithSaveWarnings"};var N,O,x;c.parameters={...c.parameters,docs:{...(N=c.parameters)==null?void 0:N.docs,source:{originalSource:"(): React.ReactElement => ",...(x=(O=c.parameters)==null?void 0:O.docs)==null?void 0:x.source}}};var D,j,V;p.parameters={...p.parameters,docs:{...(D=p.parameters)==null?void 0:D.docs,source:{originalSource:`(): React.ReactElement => { +import{j as e,a as C}from"./jsx-runtime-FVsy8kgq.js";import{V as A}from"./index-6h5t6F0w.js";import{S as ct}from"./index-qUyqkRvh.js";import{s as l,c as Q}from"./index-deFLJwr4.js";import{L as pt,B as dt}from"./index-h_CiYGGb.js";import{a as mt}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{l as ut}from"./index-awljIyHI.js";import{r as s}from"./index-TT1qJ6UJ.js";import"./index-px9Q0n_I.js";import{i as ft}from"./interactive-graph-question-builder-Mh2lh4tI.js";import{i as gt,s as ht,a as bt,l as kt,b as vt,r as St,c as Wt,q as yt,d as Lt,p as Pt,e as Rt,f as It,g as r}from"./interactive-graph.testdata-MyLmvD1G.js";import{r as wt}from"./register-all-widgets-and-editors-for-testing-JM_52AK4.js";import{E as t}from"./editor-page-with-storybook-preview-xrdk_zOd.js";import{f as a}from"./flags-for-api-options-He-T2tS8.js";import{E as Et}from"./editor-page-TZeqpLDg.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./version-akiLXZts.js";import"./article-editor-1oiBkyK2.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./device-framer-eGajQcXC.js";import"./constants-p_UgHLsb.js";import"./section-control-button-vQyzwRZ4.js";import"./index-tFzzSRL2.js";import"./editor-cnaLgEab.js";import"./index-fuycm_QE.js";import"./index-0C4KXdeC.js";import"./index-SM3muJE2.js";import"./icon-paths-EoBkHOLI.js";import"./tex-error-view-Y2BSLjwB.js";import"./toggleable-caret-lFiCktzo.js";import"./viewport-resizer-CoOyl6DY.js";import"./structured-item-diff-wGcOsiRQ.js";import"./text-diff-XAqFDyA8.js";import"./tags-diff-GS9LLcEz.js";import"./multi-items-ISSf6-13.js";/* empty css */import"./categorizer-editor-kqwa18UH.js";import"./editor-jsonify-WkTEQia9.js";import"./blur-input-hjJsfoK9.js";import"./definition-editor-aDxWnBk6.js";import"./dropdown-editor-ZTJVO7bh.js";import"./explanation-editor-4Trz12sz.js";import"./expression-editor-tuy9wQAn.js";import"./graph-settings-Mbta6LHt.js";import"./image-editor-2dlEqrx6.js";import"./input-number-editor-Ilx_eLUz.js";import"./index-Cp703TN-.js";import"./interactive-graph-editor-Mi3BWbQ2.js";import"./heading-8aCiuWUg.js";import"./interactive-graph-settings-1wZZGu7U.js";import"./locked-figures-section-rXMZLdUH.js";import"./locked-ellipse-settings-GZN1lNrc.js";import"./locked-figure-aria-mxtuWC2p.js";import"./scrollless-number-text-field-U5Bx_xXb.js";import"./util-qk2aeK8X.js";import"./locked-label-settings-XMKrDtPv.js";import"./color-select-Xh8LIYQw.js";import"./util-EIbodz9l.js";import"./line-stroke-select-OYlhdy6-.js";import"./locked-function-settings-I4_zr2ES.js";import"./line-swatch-O74cEI5A.js";import"./locked-line-settings-QDeW1LoV.js";import"./locked-point-settings-wAoKZaB8.js";import"./labeled-switch-zVOryGbL.js";import"./locked-polygon-settings-FI5GR0gw.js";import"./locked-vector-settings-VEpB_970.js";import"./label-image-editor-5i-CRSxH.js";import"./form-wrapped-text-field-A2kf-LD-.js";import"./global-colors-VIVU4Od4.js";import"./answer-choices-AZkfMHUH.js";import"./behavior-i1Yr0m7G.js";import"./question-markers-u6WvyWqg.js";import"./marker-9Sjiskse.js";import"./select-image-1nPhQNuF.js";import"./matcher-editor-PqRjEL6H.js";import"./number-line-editor-ZyufmhvC.js";import"./numeric-input-editor-DxBZYkog.js";import"./phet-simulation-editor-_qNrTNuz.js";import"./python-program-editor-otiNFbeA.js";import"./editor-fBCZKp66.js";import"./sorter-editor-s1FSGhza.js";import"./item-extras-editor-WXA6-UrE.js";wt();const Na={title:"PerseusEditor/Widgets/Interactive Graph"},qt=mt("onChange"),c=()=>e(t,{question:gt}),p=()=>e(t,{question:ht}),d=()=>e(t,{question:bt}),m=()=>e(t,{question:kt}),u=()=>e(t,{question:vt}),f=()=>e(t,{question:St}),g=()=>e(t,{question:Wt}),h=()=>e(t,{question:yt}),b=()=>e(t,{question:Lt}),k=()=>e(t,{question:Pt}),v=()=>e(t,{question:Rt}),S=()=>e(t,{question:It}),W=()=>e(t,{question:ft().withNoInteractiveFigure().addLockedFunction("5*sin(x)",{color:"red"}).build()}),i=()=>e(t,{apiOptions:{isMobile:!1,flags:{mafs:{...a.mafs,"interactive-graph-locked-features-labels":!1,"locked-figures-aria":!1,"locked-point-labels":!1,"locked-line-labels":!1,"locked-vector-labels":!1,"locked-ellipse-labels":!1,"locked-polygon-labels":!1,"locked-function-labels":!1}}},question:r});i.parameters={chromatic:{disableSnapshot:!0}};const y=()=>e(t,{apiOptions:{flags:{mafs:{...a.mafs,"interactive-graph-locked-features-labels":!0,"locked-point-labels":!1,"locked-line-labels":!1,"locked-vector-labels":!1,"locked-ellipse-labels":!1,"locked-polygon-labels":!1,"locked-function-labels":!1}}},question:r}),L=()=>e(t,{apiOptions:{flags:{mafs:{...a.mafs,"interactive-graph-locked-features-labels":!0,"locked-point-labels":!0,"locked-line-labels":!1,"locked-vector-labels":!1,"locked-ellipse-labels":!1,"locked-polygon-labels":!1,"locked-function-labels":!1}}},question:r}),P=()=>e(t,{apiOptions:{flags:{mafs:{...a.mafs,"interactive-graph-locked-features-labels":!0,"locked-point-labels":!1,"locked-line-labels":!0,"locked-vector-labels":!1,"locked-ellipse-labels":!1,"locked-polygon-labels":!1,"locked-function-labels":!1}}},question:r}),R=()=>e(t,{apiOptions:{flags:{mafs:{...a.mafs,"interactive-graph-locked-features-labels":!0,"locked-point-labels":!1,"locked-line-labels":!1,"locked-vector-labels":!0,"locked-ellipse-labels":!1,"locked-polygon-labels":!1,"locked-function-labels":!1}}},question:r}),I=()=>e(t,{apiOptions:{flags:{mafs:{...a.mafs,"interactive-graph-locked-features-labels":!0,"locked-point-labels":!1,"locked-line-labels":!1,"locked-vector-labels":!1,"locked-ellipse-labels":!0,"locked-polygon-labels":!1,"locked-function-labels":!1}}},question:r}),w=()=>e(t,{apiOptions:{flags:{mafs:{...a.mafs,"interactive-graph-locked-features-labels":!0,"locked-point-labels":!1,"locked-line-labels":!1,"locked-vector-labels":!1,"locked-ellipse-labels":!1,"locked-polygon-labels":!0,"locked-function-labels":!1}}},question:r}),E=()=>e(t,{apiOptions:{flags:{mafs:{...a.mafs,"interactive-graph-locked-features-labels":!0,"locked-point-labels":!1,"locked-line-labels":!1,"locked-vector-labels":!1,"locked-ellipse-labels":!1,"locked-polygon-labels":!1,"locked-function-labels":!0}}},question:r}),q=()=>e(t,{question:r}),n=()=>{const[Xe,Ze]=s.useState("phone"),[et,tt]=s.useState(!1),[ot,rt]=s.useState(),[M,at]=s.useState(r),[G,st]=s.useState(),[it,nt]=s.useState([]),_=s.useRef(null);return s.useEffect(()=>{if(_.current){const o=_.current.getSaveWarnings();nt(o)}},[_,M,G]),C(A,{style:F.container,children:[e(Et,{ref:_,apiOptions:{isMobile:!1,flags:a},previewDevice:Xe,onPreviewDeviceChange:o=>Ze(o),developerMode:!0,jsonMode:et,answerArea:ot,question:M,hints:G,frameSource:"about:blank",previewURL:"about:blank",itemId:"1",onChange:o=>{qt(o),"jsonMode"in o&&tt(o.jsonMode),"answerArea"in o&&rt(o.answerArea),"question"in o&&at(o.question),"hints"in o&&st(o.hints)}}),C(A,{style:F.errorContainer,children:[e(pt,{children:"Save Warnings:"}),e(ct,{size:l.small_12}),it.map((o,lt)=>e(dt,{style:F.errorMessage,children:o},lt))]})]})};n.parameters={chromatic:{disableSnapshot:!0}};const F=ut.StyleSheet.create({container:{flexDirection:"row"},errorContainer:{border:`1px solid ${Q.offBlack}`,padding:l.medium_16,flexGrow:1,marginRight:l.xLarge_32,height:"80vh",position:"sticky",top:l.xLarge_32,overflowY:"auto"},errorMessage:{color:Q.red,marginBottom:l.small_12}});c.__docgenInfo={description:"",methods:[],displayName:"InteractiveGraphWithAriaLabel"};p.__docgenInfo={description:"",methods:[],displayName:"InteractiveGraphSegment"};d.__docgenInfo={description:"",methods:[],displayName:"InteractiveGraphSegments"};m.__docgenInfo={description:"",methods:[],displayName:"InteractiveGraphLinear"};u.__docgenInfo={description:"",methods:[],displayName:"InteractiveGraphLinearSystem"};f.__docgenInfo={description:"",methods:[],displayName:"InteractiveGraphRay"};g.__docgenInfo={description:"",methods:[],displayName:"InteractiveGraphCircle"};h.__docgenInfo={description:"",methods:[],displayName:"InteractiveGraphQuadratic"};b.__docgenInfo={description:"",methods:[],displayName:"InteractiveGraphSinusoid"};k.__docgenInfo={description:"",methods:[],displayName:"InteractiveGraphPoint"};v.__docgenInfo={description:"",methods:[],displayName:"InteractiveGraphPolygon"};S.__docgenInfo={description:"",methods:[],displayName:"InteractiveGraphAngle"};W.__docgenInfo={description:"",methods:[],displayName:"InteractiveGraphNone"};i.__docgenInfo={description:"",methods:[],displayName:"MafsWithLockedFiguresCurrent"};y.__docgenInfo={description:"",methods:[],displayName:"MafsWithLockedLabelsFlag"};L.__docgenInfo={description:"",methods:[],displayName:"MafsWithLockedPointLabelsFlag"};P.__docgenInfo={description:"",methods:[],displayName:"MafsWithLockedLineLabelsFlag"};R.__docgenInfo={description:"",methods:[],displayName:"MafsWithLockedVectorLabelsFlag"};I.__docgenInfo={description:"",methods:[],displayName:"MafsWithLockedEllipseLabelsFlag"};w.__docgenInfo={description:"",methods:[],displayName:"MafsWithLockedPolygonLabelsFlag"};E.__docgenInfo={description:"",methods:[],displayName:"MafsWithLockedFunctionLabelsFlag"};q.__docgenInfo={description:"",methods:[],displayName:"MafsWithLockedFigureLabelsAllFlags"};n.__docgenInfo={description:"",methods:[],displayName:"WithSaveWarnings"};var N,O,x;c.parameters={...c.parameters,docs:{...(N=c.parameters)==null?void 0:N.docs,source:{originalSource:"(): React.ReactElement => ",...(x=(O=c.parameters)==null?void 0:O.docs)==null?void 0:x.source}}};var D,j,V;p.parameters={...p.parameters,docs:{...(D=p.parameters)==null?void 0:D.docs,source:{originalSource:`(): React.ReactElement => { return ; }`,...(V=(j=p.parameters)==null?void 0:j.docs)==null?void 0:V.source}}};var B,H,J;d.parameters={...d.parameters,docs:{...(B=d.parameters)==null?void 0:B.docs,source:{originalSource:`(): React.ReactElement => { return ; diff --git a/assets/interactive-graph-editor.stories-VPBlQJOs.js b/assets/interactive-graph-editor.stories-VPBlQJOs.js index b844096b9d..4eaef0713b 100644 --- a/assets/interactive-graph-editor.stories-VPBlQJOs.js +++ b/assets/interactive-graph-editor.stories-VPBlQJOs.js @@ -1,4 +1,4 @@ -import{j as p}from"./jsx-runtime-FVsy8kgq.js";import{r as c}from"./index-TT1qJ6UJ.js";import{f as $}from"./flags-for-api-options-He-T2tS8.js";import{I as s}from"./interactive-graph-editor-Mi3BWbQ2.js";import{g as ee}from"./util-EIbodz9l.js";import{I as te}from"./interactive-graph-settings.argtypes-6T40gg9D.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./heading-8aCiuWUg.js";import"./index-tFzzSRL2.js";import"./toggleable-caret-lFiCktzo.js";import"./interactive-graph-settings-1wZZGu7U.js";import"./locked-figures-section-rXMZLdUH.js";import"./locked-ellipse-settings-GZN1lNrc.js";import"./locked-figure-aria-mxtuWC2p.js";import"./scrollless-number-text-field-U5Bx_xXb.js";import"./util-qk2aeK8X.js";import"./locked-label-settings-XMKrDtPv.js";import"./color-select-Xh8LIYQw.js";import"./line-stroke-select-OYlhdy6-.js";import"./locked-function-settings-I4_zr2ES.js";import"./line-swatch-O74cEI5A.js";import"./locked-line-settings-QDeW1LoV.js";import"./locked-point-settings-wAoKZaB8.js";import"./labeled-switch-zVOryGbL.js";import"./locked-polygon-settings-FI5GR0gw.js";import"./locked-vector-settings-VEpB_970.js";const re={apiOptions:{control:{type:"object"},type:{name:"object",required:!0}},correct:{control:{type:null},type:{name:"object",required:!1}},graph:{control:{type:"object"},type:{name:"object",required:!0}},lockedFigures:{control:{type:"object"},type:{name:"Array",required:!1}},onChange:{control:{type:"function"},type:{name:"(props: Partial) => void",required:!0}},...te},m={apiOptions:{flags:$},graph:{type:"segment"},correct:{type:"segment"}},a=ee("point"),lr={title:"PerseusEditor/Widgets/Interactive Graph Editor",component:s,argTypes:re},d=i=>p(s,{...i});d.args={box:[288,288],gridStep:[1,1],labels:["x","y"],markings:"graph",range:[[-10,10],[-10,10]],rulerLabel:"",rulerTicks:10,showProtractor:!1,showRuler:!1,showTooltips:!1,snapStep:[1,1],step:[1,1]};const l={render:function(){const e=(n,o)=>({...n,...o}),[t,r]=c.useReducer(e,{});return p(s,{...t,onChange:r})}},u={render:function(){const e=(n,o)=>({...n,...o}),[t,r]=c.useReducer(e,m);return p(s,{...t,onChange:r})}},h={render:function(){const e=(n,o)=>({...n,...o}),[t,r]=c.useReducer(e,{...m,graph:{type:"polygon"},correct:{type:"polygon",numSides:4,showAngles:!0,showSides:!0,snapTo:"angles"}});return p(s,{...t,onChange:r})}},g={render:function(){const e=(n,o)=>({...n,...o}),[t,r]=c.useReducer(e,{...m,lockedFigures:[{...a,coord:[1,1]},{...a,coord:[-1,-1]}]});return p(s,{...t,onChange:r})}},f={render:function(){const e=(n,o)=>({...n,...o}),[t,r]=c.useReducer(e,{...m,lockedFigures:[{type:"line",kind:"line",points:[{...a,coord:[0,2]},{...a,coord:[2,3]}],color:"green",lineStyle:"solid",showPoint1:!1,showPoint2:!1},{type:"line",kind:"ray",points:[{...a,color:"pink",coord:[0,0]},{...a,color:"pink",coord:[4,2]}],color:"pink",lineStyle:"solid",showPoint1:!0,showPoint2:!1},{type:"line",kind:"segment",points:[{...a,color:"grayH",coord:[0,-2]},{...a,color:"grayH",coord:[4,0]}],color:"grayH",lineStyle:"solid",showPoint1:!0,showPoint2:!0}]});return p(s,{...t,onChange:r})}},y={render:function(){const e=(n,o)=>({...n,...o}),[t,r]=c.useReducer(e,{...m,lockedFigures:[{type:"ellipse",center:[0,0],radius:[5,2],angle:0,color:"green",fillStyle:"translucent",strokeStyle:"solid"}]});return p(s,{...t,onChange:r})}},k={render:function(){const e=(n,o)=>({...n,...o}),[t,r]=c.useReducer(e,{...m,lockedFigures:[{type:"polygon",points:[[-9,4],[-6,4],[-6,1],[-9,1]],color:"green",fillStyle:"translucent",strokeStyle:"solid"}]});return p(s,{...t,onChange:r})}};d.__docgenInfo={description:"",methods:[],displayName:"Default"};var w,S,P;d.parameters={...d.parameters,docs:{...(w=d.parameters)==null?void 0:w.docs,source:{originalSource:`(args): React.ReactElement => { +import{j as p}from"./jsx-runtime-FVsy8kgq.js";import{r as c}from"./index-TT1qJ6UJ.js";import{f as $}from"./flags-for-api-options-He-T2tS8.js";import{I as s}from"./interactive-graph-editor-Mi3BWbQ2.js";import{g as ee}from"./util-EIbodz9l.js";import{I as te}from"./interactive-graph-settings.argtypes-6T40gg9D.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./heading-8aCiuWUg.js";import"./index-tFzzSRL2.js";import"./toggleable-caret-lFiCktzo.js";import"./interactive-graph-settings-1wZZGu7U.js";import"./locked-figures-section-rXMZLdUH.js";import"./locked-ellipse-settings-GZN1lNrc.js";import"./locked-figure-aria-mxtuWC2p.js";import"./scrollless-number-text-field-U5Bx_xXb.js";import"./util-qk2aeK8X.js";import"./locked-label-settings-XMKrDtPv.js";import"./color-select-Xh8LIYQw.js";import"./line-stroke-select-OYlhdy6-.js";import"./locked-function-settings-I4_zr2ES.js";import"./line-swatch-O74cEI5A.js";import"./locked-line-settings-QDeW1LoV.js";import"./locked-point-settings-wAoKZaB8.js";import"./labeled-switch-zVOryGbL.js";import"./locked-polygon-settings-FI5GR0gw.js";import"./locked-vector-settings-VEpB_970.js";const re={apiOptions:{control:{type:"object"},type:{name:"object",required:!0}},correct:{control:{type:null},type:{name:"object",required:!1}},graph:{control:{type:"object"},type:{name:"object",required:!0}},lockedFigures:{control:{type:"object"},type:{name:"Array",required:!1}},onChange:{control:{type:"function"},type:{name:"(props: Partial) => void",required:!0}},...te},m={apiOptions:{flags:$},graph:{type:"segment"},correct:{type:"segment"}},a=ee("point"),lr={title:"PerseusEditor/Widgets/Interactive Graph Editor",component:s,argTypes:re},d=i=>p(s,{...i});d.args={box:[288,288],gridStep:[1,1],labels:["x","y"],markings:"graph",range:[[-10,10],[-10,10]],rulerLabel:"",rulerTicks:10,showProtractor:!1,showRuler:!1,showTooltips:!1,snapStep:[1,1],step:[1,1]};const l={render:function(){const e=(n,o)=>({...n,...o}),[t,r]=c.useReducer(e,{});return p(s,{...t,onChange:r})}},u={render:function(){const e=(n,o)=>({...n,...o}),[t,r]=c.useReducer(e,m);return p(s,{...t,onChange:r})}},h={render:function(){const e=(n,o)=>({...n,...o}),[t,r]=c.useReducer(e,{...m,graph:{type:"polygon"},correct:{type:"polygon",numSides:4,showAngles:!0,showSides:!0,snapTo:"angles"}});return p(s,{...t,onChange:r})}},g={render:function(){const e=(n,o)=>({...n,...o}),[t,r]=c.useReducer(e,{...m,lockedFigures:[{...a,coord:[1,1]},{...a,coord:[-1,-1]}]});return p(s,{...t,onChange:r})}},f={render:function(){const e=(n,o)=>({...n,...o}),[t,r]=c.useReducer(e,{...m,lockedFigures:[{type:"line",kind:"line",points:[{...a,coord:[0,2]},{...a,coord:[2,3]}],color:"green",lineStyle:"solid",showPoint1:!1,showPoint2:!1},{type:"line",kind:"ray",points:[{...a,color:"pink",coord:[0,0]},{...a,color:"pink",coord:[4,2]}],color:"pink",lineStyle:"solid",showPoint1:!0,showPoint2:!1},{type:"line",kind:"segment",points:[{...a,color:"grayH",coord:[0,-2]},{...a,color:"grayH",coord:[4,0]}],color:"grayH",lineStyle:"solid",showPoint1:!0,showPoint2:!0}]});return p(s,{...t,onChange:r})}},y={render:function(){const e=(n,o)=>({...n,...o}),[t,r]=c.useReducer(e,{...m,lockedFigures:[{type:"ellipse",center:[0,0],radius:[5,2],angle:0,color:"green",fillStyle:"translucent",strokeStyle:"solid"}]});return p(s,{...t,onChange:r})}},k={render:function(){const e=(n,o)=>({...n,...o}),[t,r]=c.useReducer(e,{...m,lockedFigures:[{type:"polygon",points:[[-9,4],[-6,4],[-6,1],[-9,1]],color:"green",fillStyle:"translucent",strokeStyle:"solid"}]});return p(s,{...t,onChange:r})}};d.__docgenInfo={description:"",methods:[],displayName:"Default"};var w,S,P;d.parameters={...d.parameters,docs:{...(w=d.parameters)==null?void 0:w.docs,source:{originalSource:`(args): React.ReactElement => { return ; }`,...(P=(S=d.parameters)==null?void 0:S.docs)==null?void 0:P.source}}};var R,E,v,I,G;l.parameters={...l.parameters,docs:{...(R=l.parameters)==null?void 0:R.docs,source:{originalSource:`{ render: function Render() { diff --git a/assets/interactive-graph-settings.stories-8xbUVR8u.js b/assets/interactive-graph-settings.stories-8xbUVR8u.js index dd814bfbc1..a21f3d5ea1 100644 --- a/assets/interactive-graph-settings.stories-8xbUVR8u.js +++ b/assets/interactive-graph-settings.stories-8xbUVR8u.js @@ -1,4 +1,4 @@ -import{j as u}from"./jsx-runtime-FVsy8kgq.js";import{r as x}from"./index-TT1qJ6UJ.js";import{I as o}from"./interactive-graph-settings-1wZZGu7U.js";import{I}from"./interactive-graph-settings.argtypes-6T40gg9D.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./heading-8aCiuWUg.js";import"./index-tFzzSRL2.js";import"./toggleable-caret-lFiCktzo.js";const dt={title:"PerseusEditor/Components/Interactive Graph Settings",component:o,argTypes:I},r=p=>u(o,{...p});r.args={box:[288,288],gridStep:[1,1],labels:["x","y"],markings:"graph",range:[[-10,10],[-10,10]],rulerLabel:"",rulerTicks:10,showProtractor:!1,showRuler:!1,showTooltips:!1,snapStep:[1,1],step:[1,1]};const t={render:function(){const l=(f,S)=>({...f,...S}),[h,g]=x.useReducer(l,{});return u(o,{...h,onChange:g})}};r.__docgenInfo={description:"",methods:[],displayName:"Default"};var i,e,m;r.parameters={...r.parameters,docs:{...(i=r.parameters)==null?void 0:i.docs,source:{originalSource:`(args): React.ReactElement => { +import{j as u}from"./jsx-runtime-FVsy8kgq.js";import{r as x}from"./index-TT1qJ6UJ.js";import{I as o}from"./interactive-graph-settings-1wZZGu7U.js";import{I}from"./interactive-graph-settings.argtypes-6T40gg9D.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./heading-8aCiuWUg.js";import"./index-tFzzSRL2.js";import"./toggleable-caret-lFiCktzo.js";const dt={title:"PerseusEditor/Components/Interactive Graph Settings",component:o,argTypes:I},r=p=>u(o,{...p});r.args={box:[288,288],gridStep:[1,1],labels:["x","y"],markings:"graph",range:[[-10,10],[-10,10]],rulerLabel:"",rulerTicks:10,showProtractor:!1,showRuler:!1,showTooltips:!1,snapStep:[1,1],step:[1,1]};const t={render:function(){const l=(f,S)=>({...f,...S}),[h,g]=x.useReducer(l,{});return u(o,{...h,onChange:g})}};r.__docgenInfo={description:"",methods:[],displayName:"Default"};var i,e,m;r.parameters={...r.parameters,docs:{...(i=r.parameters)==null?void 0:i.docs,source:{originalSource:`(args): React.ReactElement => { return ; }`,...(m=(e=r.parameters)==null?void 0:e.docs)==null?void 0:m.source}}};var s,a,n,c,d;t.parameters={...t.parameters,docs:{...(s=t.parameters)==null?void 0:s.docs,source:{originalSource:`{ render: function Render() { diff --git a/assets/interactive-graph.stories-JdSGcGW5.js b/assets/interactive-graph.stories-JdSGcGW5.js index 151188a80b..ef82944197 100644 --- a/assets/interactive-graph.stories-JdSGcGW5.js +++ b/assets/interactive-graph.stories-JdSGcGW5.js @@ -1,4 +1,4 @@ -import{j as o,a as y,F as X}from"./jsx-runtime-FVsy8kgq.js";import{B as Kt}from"./phet-simulation-qZOVvVJP.js";import{B as ne}from"./choice-I73s7vIV.js";import{b as pe,a as Dt,_ as k,V as b}from"./index-6h5t6F0w.js";import{r as c}from"./index-TT1qJ6UJ.js";import{l as Z}from"./index-awljIyHI.js";import{L as Ht,c as Jt}from"./react-router-dom-W_e8xVUu.js";import{i as Yt}from"./index-o3wWn3Y5.js";import{P as he}from"./index-xuPsLuPk.js";import{m as Xt,c as Zt,u as eo,T as to}from"./index-rfN0X25E.js";import{c as n,b as L,s as g}from"./index-deFLJwr4.js";import{S as oe}from"./index-qUyqkRvh.js";import{L as oo}from"./video-transcript-link-MKIRfGVo.js";import{a as ro,S as no}from"./index-CkAxGj88.js";import{b as so,L as io,H as ao}from"./index-h_CiYGGb.js";import{T as fe}from"./index-K9BSJPWl.js";import{w as co}from"./index-J2t_5nK1.js";import"./article-renderer-HHw6mvZH.js";import"./jquery-yG1GhClm.js";import{a as lo}from"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./dependencies-d8cZibFS.js";import"./perseus-api-Nq3s7IMx.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import{R as uo}from"./renderer-6wjvxpTF.js";import"./base-radio-m6RczYwQ.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import{S as po}from"./svg-image-4Vh9uTQ6.js";import"./hud-4BOtaFc1.js";import"./icon-R5gZamfG.js";import"./inline-icon-NjJlm7d0.js";import"./math-input-JZMGF6RZ.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./text-input-15gEhfDF.js";import"./text-list-editor-Jz35fIN1.js";import"./index-k-0mNqHS.js";import{m as mo}from"./i18n-context-P5sgPFep.js";import"./index-IIMKO4_x.js";import{R as d}from"./renderer-with-debug-ui-duQdKc-n.js";import{j as Mt,k as go,m as ho,n as fo,o as yo,t as me,u as bo,v as So,w as vo,x as ko,y as Ro,z as Io,A as wo,B as xo,C as Lo,D as qo,E as _o,F as Co,G as Wo,H as Ao}from"./interactive-graph.testdata-MyLmvD1G.js";import"./index-ngddCaVG.js";import"./arrow-square-out-bold-090vdhrx.js";import"./constants-iPV6vHZm.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-YCTzZMik.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./media-queries-gbofTbz-.js";import"./choice-icon-StuadxRF.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./index-tvtfaFq4.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./input-with-examples-il70I6Ir.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./shared-4TdECMLk.js";import"./answer-choices-G9U2Ia5j.js";import"./minus-bold-ONmDo3Ve.js";import"./asset-context-I7yIqWki.js";import"./tiny-invariant-bHgPayXn.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./stub-tag-editor-74YQ4o9G.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./choice-none-above-kJRmN7Nm.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./index-QCAhLhLD.js";import"./bundle.esm-7jAAHVxW.js";import"./side-by-side-kGWaKY6T.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";import"./interactive-graph-question-builder-Mh2lh4tI.js";const Eo=e=>{switch(e){case"xsmall":return"small";case"small":return"medium";case"medium":return"medium";case"large":return"medium"}},Oo=e=>({xsmall:24,small:32,medium:40,large:48})[e],se={color:{bg:{hovered:"transparent",active:"transparent",disabled:"transparent",filled:{action:{hovered:"transparent",active:"transparent"},critical:{hovered:"transparent",active:"transparent"}}},stroke:{disabled:{default:n.offBlack32,inverse:n.white50},inverse:n.white,action:{default:n.blue,active:n.activeBlue,inverse:n.fadedBlue},critical:{default:n.red,active:n.activeRed,inverse:n.fadedRed},primary:{action:{hovered:n.blue,active:n.activeBlue},critical:{hovered:n.red,active:n.activeRed},inverse:{default:n.white,hovered:n.white}},secondary:{default:n.offBlack},tertiary:{default:n.offBlack64},filled:{action:{hovered:n.blue,active:n.activeBlue},critical:{hovered:n.red,active:n.activeRed}}}},border:{width:{default:L.width.thin,active:L.width.none,hovered:L.width.thin,hoveredInverse:L.width.thin},radius:{default:L.radius.medium_4}}},No=Xt(se,{color:{bg:{hovered:n.white,active:n.white64,filled:{action:{hovered:n.blue,active:n.activeBlue},critical:{hovered:n.red,active:n.activeRed}}},stroke:{action:{inverse:n.eggplant},critical:{inverse:n.eggplant},primary:{action:{hovered:n.eggplant,active:n.eggplant},critical:{hovered:n.eggplant,active:n.eggplant},inverse:{hovered:n.eggplant}},filled:{action:{hovered:n.white,active:n.white},critical:{hovered:n.white,active:n.white}}}},border:{width:{hovered:L.width.none,hoveredInverse:L.width.none}}}),Qo={default:se,khanmigo:No},Tt=Zt(se);function Po(e){var t;const s=c.useContext(to),a=(t=Qo[s])!=null?t:se;return c.createElement(Tt.Provider,{value:a},e.children)}const Bo=["color","disabled","href","icon","kind","light","size","skipClientNav","style","testId"];function Do({icon:e,size:t}){switch(Eo(t)){case"small":return c.createElement(he,{size:"small",color:"currentColor",icon:e});case"medium":default:return c.createElement(he,{size:"medium",color:"currentColor",icon:e})}}const Mo=pe("a"),To=pe("button"),Uo=pe(Ht),zo=c.forwardRef(function(t,s){const{color:a,disabled:r,href:l,icon:u,kind:m="primary",light:p=!1,size:i="medium",skipClientNav:v,style:q,testId:I}=t,w=Dt(t,Bo),{theme:x,themeName:S}=eo(Tt),R=ce=>{const ge=Fo(a,m,p,i,x,S),jt=[Go.shared,ge.default,r&&ge.disabled],le=c.createElement(Do,{size:i,icon:u}),de=k({"data-testid":I,style:[jt,q]},w);return l&&!r?ce&&!v&&Yt(l)?c.createElement(Uo,k({},de,{to:l,ref:s}),le):c.createElement(Mo,k({},de,{href:l,ref:s}),le):c.createElement(To,k({type:"button"},de,{onClick:r?void 0:w.onClick,"aria-disabled":r,ref:s}),le)};return c.createElement(Jt.Consumer,null,ce=>R(ce))}),Go=Z.StyleSheet.create({shared:{position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",boxSizing:"border-box",padding:0,cursor:"pointer",border:"none",outline:"none",textDecoration:"none",background:"none",margin:-8,touchAction:"manipulation"}}),re={};function $o(e,t,s,a,r){switch(e){case"primary":const l=r==="destructive"?t.color.stroke.primary.critical.hovered:t.color.stroke.primary.action.hovered;return{":hover":{backgroundColor:t.color.bg.hovered,color:a?t.color.stroke.primary.inverse.hovered:l,outlineColor:a?t.color.stroke.inverse:s,outlineOffset:1,outlineStyle:"solid",outlineWidth:a?t.border.width.hoveredInverse:t.border.width.hovered},":active":{backgroundColor:t.color.bg.active}};case"secondary":case"tertiary":return{":hover":{backgroundColor:r==="destructive"?t.color.bg.filled.critical.hovered:t.color.bg.filled.action.hovered,color:r==="destructive"?t.color.stroke.filled.critical.hovered:t.color.stroke.filled.action.hovered,outlineWidth:t.border.width.active},":active":{backgroundColor:r==="destructive"?t.color.bg.filled.critical.active:t.color.bg.filled.action.active,color:r==="destructive"?t.color.stroke.filled.critical.active:t.color.stroke.filled.action.active,outlineWidth:t.border.width.active}};default:return{":focus-visible":{},":hover":{},":active":{}}}}const Fo=(e="default",t,s,a,r,l)=>{const u=e==="destructive"?r.color.stroke.critical.default:r.color.stroke.action.default,m=`${u}-${t}-${s}-${a}-${l}`;if(re[m])return re[m];if(s&&t!=="primary")throw new Error("Light is only supported for primary IconButtons");const p=(()=>{switch(t){case"primary":return s?r.color.stroke.primary.inverse.default:u;case"secondary":return r.color.stroke.secondary.default;case"tertiary":return r.color.stroke.tertiary.default;default:throw new Error("IconButton kind not recognized")}})(),i=Oo(a),v=$o(t,r,u,s,e),q=e==="destructive"?r.color.stroke.critical.inverse:r.color.stroke.action.inverse,I=e==="destructive"?r.color.stroke.critical.active:r.color.stroke.action.active,w=s?r.color.stroke.inverse:u,x=s?r.color.stroke.disabled.inverse:r.color.stroke.disabled.default,S={backgroundColor:r.color.bg.disabled,color:x,outlineColor:x},R={default:{height:i,width:i,color:p,borderRadius:r.border.radius.default,":hover":k({boxShadow:"none",color:w,borderRadius:r.border.radius.default,outlineWidth:r.border.width.default},v[":hover"]),"@media not (hover: hover)":{":hover":{boxShadow:"none",color:p,borderRadius:r.border.radius.default,outline:"none",backgroundColor:"transparent"}},":focus":{boxShadow:`0 0 0 ${r.border.width.default}px ${w}`,borderRadius:r.border.radius.default},":focus:not(:focus-visible)":{boxShadow:"none"},":focus-visible":k({boxShadow:"none",outlineWidth:r.border.width.default,outlineColor:w,outlineOffset:1,outlineStyle:"solid",borderRadius:r.border.radius.default},v[":focus-visible"]),":active":k({color:s?q:I,outlineWidth:r.border.width.default,outlineColor:s?q:I,outlineOffset:1,outlineStyle:"solid",borderRadius:r.border.radius.default},v[":active"])},disabled:{color:x,cursor:"not-allowed",":hover":k({},S,{outline:"none"}),":active":k({},S,{outline:"none"}),":focus":{boxShadow:`0 0 0 ${r.border.width.default}px ${x}`,borderRadius:r.border.radius.default},":focus:not(:focus-visible)":{boxShadow:"none"},":focus-visible":S}};return re[m]=Z.StyleSheet.create(R),re[m]},Vo=["color","disabled","href","kind","light","size","skipClientNav","tabIndex","target"],ye=c.forwardRef(function(t,s){const{color:a="default",disabled:r=!1,href:l,kind:u="primary",light:m=!1,size:p="medium",skipClientNav:i,tabIndex:v,target:q}=t,I=Dt(t,Vo);function w(S){const R=S.key;!l&&(R==="Enter"||R==="Space")&&S.preventDefault()}function x(S){const R=S.key;!l&&(R==="Enter"||R==="Space")&&I.onClick&&I.onClick(S)}return c.createElement(Po,null,c.createElement(zo,k({},I,{color:a,disabled:r,href:l,kind:u,light:m,ref:s,skipClientNav:i,size:p,target:q,tabIndex:v,onKeyDown:w,onKeyUp:x})))});class ie extends c.Component{render(){const{color:t,leftContent:s,rightContent:a,size:r,subtitle:l,title:u}=this.props,m=l?io:ao;return c.createElement(b,{style:[h.container,t==="dark"&&h.dark,r==="small"&&h.small]},c.createElement(b,{style:[h.column,h.leftColumn,u?h.withTitle:null]},s),u&&c.createElement(b,{style:[h.column,h.wideColumn]},c.createElement(b,{style:[h.titles,h.center]},c.createElement(m,{id:"wb-toolbar-title"},u),l&&c.createElement(so,{style:t==="light"&&h.subtitle},l))),c.createElement(b,{style:[h.column,h.rightColumn,u?h.withTitle:null]},a))}}ie.defaultProps={color:"light",leftContent:null,rightContent:null,size:"medium"};const h=Z.StyleSheet.create({container:{border:`1px solid ${n.offBlack16}`,flex:1,flexDirection:"row",justifyContent:"space-between",minHeight:66,paddingLeft:g.medium_16,paddingRight:g.medium_16,width:"100%"},small:{minHeight:50},dark:{backgroundColor:n.darkBlue,boxShadow:`0 1px 0 0 ${n.white64}`,color:"white"},column:{justifyContent:"center"},withTitle:{flex:1},wideColumn:{flex:1,flexBasis:"50%"},leftColumn:{alignItems:"center",flexDirection:"row",flexShrink:0,justifyContent:"flex-start"},rightColumn:{alignItems:"center",flexDirection:"row",justifyContent:"flex-end"},center:{textAlign:"center"},subtitle:{color:n.offBlack64},titles:{padding:g.small_12}}),jo=""+new URL("camera-slash-Oge78uaV.svg",import.meta.url).href,Ko=""+new URL("graph-RU2fqeKx.svg",import.meta.url).href,Ho=""+new URL("image-PFUjt3DK.svg",import.meta.url).href,Jo=["angle","segment","linear","linear-system","ray","polygon","point","circle","quadratic","sinusoid","unlimited-point","unlimited-polygon"],Yo=Jo.reduce((e,t)=>(e[t]=!0,e),{});function Ut(e){const{value:t,onInput:s,...a}=e,[r,l]=c.useState(!1),[u,m]=c.useState("");return o("input",{...a,value:r?u:t,onChange:p=>{m(p.target.value),s(p.target.value)},onFocus:()=>{m(t),l(!0)},onBlur:()=>{l(!1)}})}Ut.__docgenInfo={description:"",methods:[],displayName:"EditableControlledInput",props:{value:{required:!0,tsType:{name:"string"},description:""},onInput:{required:!0,tsType:{name:"signature",type:"function",raw:"(newValue: string) => unknown",signature:{arguments:[{type:{name:"string"},name:"newValue"}],return:{name:"unknown"}}},description:""}}};function ee(e){let t;return s=>((t==null||s!==t.arg)&&(t={arg:s,result:e(s)}),t.result)}const Xo={type:"next"},Zo={type:"previous"},er=e=>lr(e)?{type:"jump-to-index",index:parseInt(e,10)-1}:{type:"noop"};function tr(e){return{type:"set-questions",questions:e}}function or(e){return{type:"load-questions-from-storage",questions:e}}const rr={type:"remove-current-question"};function nr(e,t){switch(t.type){case"next":return ue(e,s=>s+1);case"previous":return ue(e,s=>s-1);case"jump-to-index":return ue(e,()=>t.index);case"set-questions":return{...e,questions:t.questions};case"load-questions-from-storage":return e.questions||!t.questions?e:{...e,questions:t.questions};case"remove-current-question":{const s=te(e);return{...e,questions:e.questions.split(` +import{j as o,a as y,F as X}from"./jsx-runtime-FVsy8kgq.js";import{B as Kt}from"./phet-simulation-qZOVvVJP.js";import{B as ne}from"./choice-I73s7vIV.js";import{b as pe,a as Dt,_ as k,V as b}from"./index-6h5t6F0w.js";import{r as c}from"./index-TT1qJ6UJ.js";import{l as Z}from"./index-awljIyHI.js";import{L as Ht,c as Jt}from"./react-router-dom-W_e8xVUu.js";import{i as Yt}from"./index-o3wWn3Y5.js";import{P as he}from"./index-xuPsLuPk.js";import{m as Xt,c as Zt,u as eo,T as to}from"./index-rfN0X25E.js";import{c as n,b as L,s as g}from"./index-deFLJwr4.js";import{S as oe}from"./index-qUyqkRvh.js";import{L as oo}from"./video-transcript-link-MKIRfGVo.js";import{a as ro,S as no}from"./index-CkAxGj88.js";import{b as so,L as io,H as ao}from"./index-h_CiYGGb.js";import{T as fe}from"./index-K9BSJPWl.js";import{w as co}from"./index-J2t_5nK1.js";import"./article-renderer-HHw6mvZH.js";import"./jquery-yG1GhClm.js";import{a as lo}from"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./dependencies-d8cZibFS.js";import"./perseus-api-Nq3s7IMx.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import{R as uo}from"./renderer-6wjvxpTF.js";import"./base-radio-m6RczYwQ.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import{S as po}from"./svg-image-4Vh9uTQ6.js";import"./hud-4BOtaFc1.js";import"./icon-R5gZamfG.js";import"./inline-icon-NjJlm7d0.js";import"./math-input-JZMGF6RZ.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./text-input-15gEhfDF.js";import"./text-list-editor-Jz35fIN1.js";import"./index-k-0mNqHS.js";import{m as mo}from"./i18n-context-P5sgPFep.js";import"./index-IIMKO4_x.js";import{R as d}from"./renderer-with-debug-ui-duQdKc-n.js";import{j as Mt,k as go,m as ho,n as fo,o as yo,t as me,u as bo,v as So,w as vo,x as ko,y as Ro,z as Io,A as wo,B as xo,C as Lo,D as qo,E as _o,F as Co,G as Wo,H as Ao}from"./interactive-graph.testdata-MyLmvD1G.js";import"./index-ngddCaVG.js";import"./arrow-square-out-bold-090vdhrx.js";import"./constants-iPV6vHZm.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-YCTzZMik.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./media-queries-gbofTbz-.js";import"./choice-icon-StuadxRF.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./index-tvtfaFq4.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./input-with-examples-il70I6Ir.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./shared-4TdECMLk.js";import"./answer-choices-G9U2Ia5j.js";import"./minus-bold-ONmDo3Ve.js";import"./asset-context-I7yIqWki.js";import"./tiny-invariant-bHgPayXn.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./stub-tag-editor-74YQ4o9G.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./choice-none-above-kJRmN7Nm.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./index-QCAhLhLD.js";import"./bundle.esm-7jAAHVxW.js";import"./side-by-side-kGWaKY6T.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";import"./interactive-graph-question-builder-Mh2lh4tI.js";const Eo=e=>{switch(e){case"xsmall":return"small";case"small":return"medium";case"medium":return"medium";case"large":return"medium"}},Oo=e=>({xsmall:24,small:32,medium:40,large:48})[e],se={color:{bg:{hovered:"transparent",active:"transparent",disabled:"transparent",filled:{action:{hovered:"transparent",active:"transparent"},critical:{hovered:"transparent",active:"transparent"}}},stroke:{disabled:{default:n.offBlack32,inverse:n.white50},inverse:n.white,action:{default:n.blue,active:n.activeBlue,inverse:n.fadedBlue},critical:{default:n.red,active:n.activeRed,inverse:n.fadedRed},primary:{action:{hovered:n.blue,active:n.activeBlue},critical:{hovered:n.red,active:n.activeRed},inverse:{default:n.white,hovered:n.white}},secondary:{default:n.offBlack},tertiary:{default:n.offBlack64},filled:{action:{hovered:n.blue,active:n.activeBlue},critical:{hovered:n.red,active:n.activeRed}}}},border:{width:{default:L.width.thin,active:L.width.none,hovered:L.width.thin,hoveredInverse:L.width.thin},radius:{default:L.radius.medium_4}}},No=Xt(se,{color:{bg:{hovered:n.white,active:n.white64,filled:{action:{hovered:n.blue,active:n.activeBlue},critical:{hovered:n.red,active:n.activeRed}}},stroke:{action:{inverse:n.eggplant},critical:{inverse:n.eggplant},primary:{action:{hovered:n.eggplant,active:n.eggplant},critical:{hovered:n.eggplant,active:n.eggplant},inverse:{hovered:n.eggplant}},filled:{action:{hovered:n.white,active:n.white},critical:{hovered:n.white,active:n.white}}}},border:{width:{hovered:L.width.none,hoveredInverse:L.width.none}}}),Qo={default:se,khanmigo:No},Tt=Zt(se);function Po(e){var t;const s=c.useContext(to),a=(t=Qo[s])!=null?t:se;return c.createElement(Tt.Provider,{value:a},e.children)}const Bo=["color","disabled","href","icon","kind","light","size","skipClientNav","style","testId"];function Do({icon:e,size:t}){switch(Eo(t)){case"small":return c.createElement(he,{size:"small",color:"currentColor",icon:e});case"medium":default:return c.createElement(he,{size:"medium",color:"currentColor",icon:e})}}const Mo=pe("a"),To=pe("button"),Uo=pe(Ht),zo=c.forwardRef(function(t,s){const{color:a,disabled:r,href:l,icon:u,kind:m="primary",light:p=!1,size:i="medium",skipClientNav:v,style:q,testId:I}=t,w=Dt(t,Bo),{theme:x,themeName:S}=eo(Tt),R=ce=>{const ge=Fo(a,m,p,i,x,S),jt=[Go.shared,ge.default,r&&ge.disabled],le=c.createElement(Do,{size:i,icon:u}),de=k({"data-testid":I,style:[jt,q]},w);return l&&!r?ce&&!v&&Yt(l)?c.createElement(Uo,k({},de,{to:l,ref:s}),le):c.createElement(Mo,k({},de,{href:l,ref:s}),le):c.createElement(To,k({type:"button"},de,{onClick:r?void 0:w.onClick,"aria-disabled":r,ref:s}),le)};return c.createElement(Jt.Consumer,null,ce=>R(ce))}),Go=Z.StyleSheet.create({shared:{position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",boxSizing:"border-box",padding:0,cursor:"pointer",border:"none",outline:"none",textDecoration:"none",background:"none",margin:-8,touchAction:"manipulation"}}),re={};function $o(e,t,s,a,r){switch(e){case"primary":const l=r==="destructive"?t.color.stroke.primary.critical.hovered:t.color.stroke.primary.action.hovered;return{":hover":{backgroundColor:t.color.bg.hovered,color:a?t.color.stroke.primary.inverse.hovered:l,outlineColor:a?t.color.stroke.inverse:s,outlineOffset:1,outlineStyle:"solid",outlineWidth:a?t.border.width.hoveredInverse:t.border.width.hovered},":active":{backgroundColor:t.color.bg.active}};case"secondary":case"tertiary":return{":hover":{backgroundColor:r==="destructive"?t.color.bg.filled.critical.hovered:t.color.bg.filled.action.hovered,color:r==="destructive"?t.color.stroke.filled.critical.hovered:t.color.stroke.filled.action.hovered,outlineWidth:t.border.width.active},":active":{backgroundColor:r==="destructive"?t.color.bg.filled.critical.active:t.color.bg.filled.action.active,color:r==="destructive"?t.color.stroke.filled.critical.active:t.color.stroke.filled.action.active,outlineWidth:t.border.width.active}};default:return{":focus-visible":{},":hover":{},":active":{}}}}const Fo=(e="default",t,s,a,r,l)=>{const u=e==="destructive"?r.color.stroke.critical.default:r.color.stroke.action.default,m=`${u}-${t}-${s}-${a}-${l}`;if(re[m])return re[m];if(s&&t!=="primary")throw new Error("Light is only supported for primary IconButtons");const p=(()=>{switch(t){case"primary":return s?r.color.stroke.primary.inverse.default:u;case"secondary":return r.color.stroke.secondary.default;case"tertiary":return r.color.stroke.tertiary.default;default:throw new Error("IconButton kind not recognized")}})(),i=Oo(a),v=$o(t,r,u,s,e),q=e==="destructive"?r.color.stroke.critical.inverse:r.color.stroke.action.inverse,I=e==="destructive"?r.color.stroke.critical.active:r.color.stroke.action.active,w=s?r.color.stroke.inverse:u,x=s?r.color.stroke.disabled.inverse:r.color.stroke.disabled.default,S={backgroundColor:r.color.bg.disabled,color:x,outlineColor:x},R={default:{height:i,width:i,color:p,borderRadius:r.border.radius.default,":hover":k({boxShadow:"none",color:w,borderRadius:r.border.radius.default,outlineWidth:r.border.width.default},v[":hover"]),"@media not (hover: hover)":{":hover":{boxShadow:"none",color:p,borderRadius:r.border.radius.default,outline:"none",backgroundColor:"transparent"}},":focus":{boxShadow:`0 0 0 ${r.border.width.default}px ${w}`,borderRadius:r.border.radius.default},":focus:not(:focus-visible)":{boxShadow:"none"},":focus-visible":k({boxShadow:"none",outlineWidth:r.border.width.default,outlineColor:w,outlineOffset:1,outlineStyle:"solid",borderRadius:r.border.radius.default},v[":focus-visible"]),":active":k({color:s?q:I,outlineWidth:r.border.width.default,outlineColor:s?q:I,outlineOffset:1,outlineStyle:"solid",borderRadius:r.border.radius.default},v[":active"])},disabled:{color:x,cursor:"not-allowed",":hover":k({},S,{outline:"none"}),":active":k({},S,{outline:"none"}),":focus":{boxShadow:`0 0 0 ${r.border.width.default}px ${x}`,borderRadius:r.border.radius.default},":focus:not(:focus-visible)":{boxShadow:"none"},":focus-visible":S}};return re[m]=Z.StyleSheet.create(R),re[m]},Vo=["color","disabled","href","kind","light","size","skipClientNav","tabIndex","target"],ye=c.forwardRef(function(t,s){const{color:a="default",disabled:r=!1,href:l,kind:u="primary",light:m=!1,size:p="medium",skipClientNav:i,tabIndex:v,target:q}=t,I=Dt(t,Vo);function w(S){const R=S.key;!l&&(R==="Enter"||R==="Space")&&S.preventDefault()}function x(S){const R=S.key;!l&&(R==="Enter"||R==="Space")&&I.onClick&&I.onClick(S)}return c.createElement(Po,null,c.createElement(zo,k({},I,{color:a,disabled:r,href:l,kind:u,light:m,ref:s,skipClientNav:i,size:p,target:q,tabIndex:v,onKeyDown:w,onKeyUp:x})))});class ie extends c.Component{render(){const{color:t,leftContent:s,rightContent:a,size:r,subtitle:l,title:u}=this.props,m=l?io:ao;return c.createElement(b,{style:[h.container,t==="dark"&&h.dark,r==="small"&&h.small]},c.createElement(b,{style:[h.column,h.leftColumn,u?h.withTitle:null]},s),u&&c.createElement(b,{style:[h.column,h.wideColumn]},c.createElement(b,{style:[h.titles,h.center]},c.createElement(m,{id:"wb-toolbar-title"},u),l&&c.createElement(so,{style:t==="light"&&h.subtitle},l))),c.createElement(b,{style:[h.column,h.rightColumn,u?h.withTitle:null]},a))}}ie.defaultProps={color:"light",leftContent:null,rightContent:null,size:"medium"};const h=Z.StyleSheet.create({container:{border:`1px solid ${n.offBlack16}`,flex:1,flexDirection:"row",justifyContent:"space-between",minHeight:66,paddingLeft:g.medium_16,paddingRight:g.medium_16,width:"100%"},small:{minHeight:50},dark:{backgroundColor:n.darkBlue,boxShadow:`0 1px 0 0 ${n.white64}`,color:"white"},column:{justifyContent:"center"},withTitle:{flex:1},wideColumn:{flex:1,flexBasis:"50%"},leftColumn:{alignItems:"center",flexDirection:"row",flexShrink:0,justifyContent:"flex-start"},rightColumn:{alignItems:"center",flexDirection:"row",justifyContent:"flex-end"},center:{textAlign:"center"},subtitle:{color:n.offBlack64},titles:{padding:g.small_12}}),jo=""+new URL("camera-slash-Oge78uaV.svg",import.meta.url).href,Ko=""+new URL("graph-RU2fqeKx.svg",import.meta.url).href,Ho=""+new URL("image-PFUjt3DK.svg",import.meta.url).href,Jo=["angle","segment","linear","linear-system","ray","polygon","point","circle","quadratic","sinusoid","unlimited-point","unlimited-polygon"],Yo=Jo.reduce((e,t)=>(e[t]=!0,e),{});function Ut(e){const{value:t,onInput:s,...a}=e,[r,l]=c.useState(!1),[u,m]=c.useState("");return o("input",{...a,value:r?u:t,onChange:p=>{m(p.target.value),s(p.target.value)},onFocus:()=>{m(t),l(!0)},onBlur:()=>{l(!1)}})}Ut.__docgenInfo={description:"",methods:[],displayName:"EditableControlledInput",props:{value:{required:!0,tsType:{name:"string"},description:""},onInput:{required:!0,tsType:{name:"signature",type:"function",raw:"(newValue: string) => unknown",signature:{arguments:[{type:{name:"string"},name:"newValue"}],return:{name:"unknown"}}},description:""}}};function ee(e){let t;return s=>((t==null||s!==t.arg)&&(t={arg:s,result:e(s)}),t.result)}const Xo={type:"next"},Zo={type:"previous"},er=e=>lr(e)?{type:"jump-to-index",index:parseInt(e,10)-1}:{type:"noop"};function tr(e){return{type:"set-questions",questions:e}}function or(e){return{type:"load-questions-from-storage",questions:e}}const rr={type:"remove-current-question"};function nr(e,t){switch(t.type){case"next":return ue(e,s=>s+1);case"previous":return ue(e,s=>s-1);case"jump-to-index":return ue(e,()=>t.index);case"set-questions":return{...e,questions:t.questions};case"load-questions-from-storage":return e.questions||!t.questions?e:{...e,questions:t.questions};case"remove-current-question":{const s=te(e);return{...e,questions:e.questions.split(` `).filter((a,r)=>r!==s).join(` `)}}}return e}function ue(e,t){const s=te(e),a=ae(e);return{...e,requestedIndex:zt(t(s),a)}}function zt(e,t){return t.length===0||e<0?0:e>=t.length?t.length-1:e}const Gt=ee(e=>e.questions.split(` `).map(t=>t.trim()).filter(Boolean)),ae=ee(e=>Gt(e).map(cr)),sr=ee(e=>ae(e)[te(e)]??null),ir=ee(e=>Gt(e)[te(e)]??null),ar=ee(e=>ae(e).length),te=e=>zt(e.requestedIndex,ae(e));function cr(e){try{return JSON.parse(e)}catch{return{content:"**Could not parse the JSON for this question.**\n\n```\n"+e+"\n```",widgets:{},images:{}}}}function lr(e){return/^\d+$/.test(e)&&+e>0}const dr=Z.StyleSheet.create({header:{display:"flex",alignItems:"center",boxShadow:"0 0 10px #0002",borderBlockEnd:`1px solid ${n.offBlack32}`,background:n.offBlack8,padding:g.small_12,justifyContent:"space-between",flexDirection:"row-reverse",flexWrap:"wrap"}}),$t=({children:e})=>o("header",{className:Z.css(dr.header),children:e});$t.__docgenInfo={description:"",methods:[],displayName:"Header"};const ur=` diff --git a/assets/item-X9tjzx12.js b/assets/item-X9tjzx12.js index 86eb13fcb9..e87bf561de 100644 --- a/assets/item-X9tjzx12.js +++ b/assets/item-X9tjzx12.js @@ -1,4 +1,4 @@ -import{j as e,a as h}from"./jsx-runtime-FVsy8kgq.js";import{C as w}from"./index-WNT3sUKf.js";import{V as m}from"./index-6h5t6F0w.js";import{c as a}from"./index-deFLJwr4.js";import{l as g}from"./index-awljIyHI.js";import{r as f}from"./index-TT1qJ6UJ.js";const b=function({tintColor:l,type:n}){switch(n){case"Geometry":return e("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.57584 7.09442c.35139-.16458.76626-.11103 1.06434.13737L26.6402 22.2318c.3234.2695.4434.7128.3001 1.1086C26.7969 23.7363 26.421 24 26 24H8c-.55228 0-1-.4477-1-1V8.00001c0-.38802.22446-.74101.57584-.90559zM9 10.1351V17h4c.5523 0 1 .4477 1 1v4h9.238L9 10.1351zM12 22v-3H9v3h3z",fill:l})});case"Operators":return e("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M29 6h1v1h-1V6zm-2 0c0-1.10457.8954-2 2-2h1c1.1046 0 2 .89543 2 2v1c0 1.10457-.8954 2-2 2h-1c-1.1046 0-2-.89543-2-2V6zm-15.8682.50386C11.3098 6.19229 11.6411 6 12 6h2c.5523 0 1 .44772 1 1s-.4477 1-1 1h-1.4197l-3.71206 6.4961c-.18297.3202-.52733.5137-.89599.5035-.36865-.0102-.70175-.2225-.86668-.5524l-2-4c-.24699-.49396-.04676-1.09464.44722-1.34163.49397-.24699 1.09465-.04676 1.34164.44722L8.0588 11.8815l3.073-5.37764zM7.70676 16.2925c.39072.3904.39103 1.0235.00069 1.4143-.42202.4224-.86362 1.0235-1.19588 1.659C6.17039 20.0184 6 20.601 6 21c0 .3789.17235.9897.51638 1.6649.33677.661.7685 1.2472 1.15148 1.5908.41106.3689.44528 1.0011.07643 1.4122-.36885.411-1.00109.4452-1.41215.0764-.61604-.5528-1.18431-1.3599-1.5978-2.1715C4.32813 22.7755 3.99999 21.8345 4 21c.00001-.8609.3301-1.7783.73917-2.5608.41798-.7995.97637-1.5684 1.55338-2.146.39033-.3907 1.0235-.391 1.41421-.0007zm3.58644 0c.3908-.3903 1.0239-.39 1.4143.0007.577.5776 1.1353 1.3465 1.5533 2.146C14.6699 19.2217 15 20.1391 15 21c0 .8345-.3281 1.7755-.7343 2.5728-.4135.8116-.9818 1.6187-1.5978 2.1715-.4111.3688-1.0433.3346-1.4122-.0764-.3688-.4111-.3346-1.0433.0764-1.4122.383-.3436.8148-.9298 1.1515-1.5908.344-.6752.5164-1.286.5164-1.6649 0-.399-.1704-.9816-.5116-1.6342-.3322-.6355-.7738-1.2366-1.1959-1.659-.3903-.3908-.39-1.0239.0007-1.4143zm16.6431 1.3564c.1939.5171-.0681 1.0935-.5852 1.2874L21.848 21l5.5031 2.0637c.5171.1939.7791.7703.5852 1.2874-.1939.5171-.7703.7791-1.2874.5852l-8-3C18.2586 21.79 18 21.4168 18 21c0-.4168.2586-.79.6489-.9363l8-3c.5171-.1939 1.0935.0681 1.2874.5852zM21 8v5h3V8h-3zm-1-2c-.5523 0-1 .44772-1 1v7c0 .5523.4477 1 1 1h5c.5523 0 1-.4477 1-1V7c0-.55228-.4477-1-1-1h-5z",fill:l})});case"Numbers":return e("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M10.4123 19.5794v1.421H4.71434v-1.421h2.016v-5.558c0-.1213.00233-.245.007-.371.00466-.126.01166-.2543.021-.385l-1.33 1.106c-.09334.07-.18434.1144-.273.133-.08867.0187-.17267.021-.252.007-.07934-.0186-.14934-.0466-.21-.084-.06067-.042-.10734-.084-.14-.126l-.609-.819 3.122-2.646h1.589v8.743h1.75696zm8.3801-.35c.21 0 .3734.0584.49.175.1214.1167.182.2707.182.462v1.134h-7.042v-.63c0-.1213.0257-.252.077-.392.0514-.1446.1377-.2753.259-.392l3.01-3.017c.2567-.2566.483-.5016.679-.735.196-.238.3594-.469.49-.693.1307-.2286.2287-.4596.294-.693.0654-.2333.098-.4783.098-.735 0-.4526-.1166-.7956-.35-1.029-.2333-.238-.5623-.357-.987-.357-.1866 0-.3593.028-.518.084-.154.0514-.294.1237-.42.217-.1213.0934-.2263.203-.315.329-.0886.126-.154.2637-.196.413-.084.2334-.1983.3897-.343.469-.14.0747-.3406.091-.602.049l-1.022-.182c.0747-.4946.2147-.9286.42-1.302.2054-.3733.462-.6836.77-.931.308-.2473.6604-.4316 1.057-.553.3967-.126.8237-.189 1.281-.189.4807 0 .917.0724 1.309.217.3967.14.735.3384 1.015.595.28.252.497.5577.651.917.154.3594.231.756.231 1.19 0 .3734-.0536.7187-.161 1.036-.1073.3174-.2543.6207-.441.91-.182.2847-.3943.5624-.637.833-.2426.2707-.4993.5437-.77.819l-2.156 2.205c.238-.07.4737-.1236.707-.161.2334-.042.4527-.063.658-.063h2.282zm2.6611-5.523c.0747-.4946.2147-.9286.42-1.302.2054-.3733.462-.6836.77-.931.308-.2473.658-.4316 1.05-.553.3967-.126.8237-.189 1.281-.189.4854 0 .9194.07 1.302.21.3874.1354.714.322.98.56.266.238.469.5157.609.833.1447.3174.217.658.217 1.022 0 .322-.035.6067-.105.854-.0653.2427-.1656.455-.301.637-.1306.182-.294.336-.49.462-.1913.126-.413.231-.665.315 1.1667.3827 1.75 1.1597 1.75 2.331 0 .518-.0956.9754-.287 1.372-.1913.392-.448.721-.77.987s-.6976.4667-1.127.602c-.4246.1307-.8703.196-1.337.196-.4946 0-.931-.056-1.309-.168-.378-.112-.7116-.28-1.001-.504-.2846-.224-.5296-.504-.735-.84-.2053-.3406-.385-.7373-.539-1.19l.854-.35c.224-.0933.4317-.119.623-.077.196.042.336.1447.42.308.0934.1774.1914.3407.294.49.1074.1494.2264.28.357.392.1307.1074.2777.1914.441.252.168.0607.3594.091.574.091.2707 0 .5064-.0443.707-.133.2007-.0886.3687-.203.504-.343.1354-.1446.2357-.3056.301-.483.07-.182.105-.3616.105-.539 0-.2333-.021-.4433-.063-.63-.042-.1913-.14-.3523-.294-.483-.1493-.1353-.3733-.238-.672-.308-.294-.0746-.6953-.112-1.204-.112v-1.358c.4247 0 .7724-.035 1.043-.105.2707-.07.483-.168.637-.294.154-.126.259-.2776.315-.455.0607-.1773.091-.371.091-.581 0-.4433-.1166-.7816-.35-1.015-.2286-.2333-.5553-.35-.98-.35-.1866 0-.3593.028-.518.084-.154.0514-.294.1237-.42.217-.1213.0934-.2263.203-.315.329-.0886.126-.154.2637-.196.413-.0886.2334-.203.3897-.343.469-.14.0747-.343.091-.609.049l-1.015-.182z",fill:l})});case"Extras":return h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",fill:"none",viewBox:"0 0 32 32",children:[h("g",{clipPath:"url(#a)",children:[e("path",{fill:l,fillRule:"evenodd",d:"M6.127 10.454c.224-.032.403-.05.53-.05.591 0 1.137.153 1.63.459.398.239.713.529.94.872l.188-.248.005-.007.006-.006c.619-.703 1.347-1.07 2.178-1.07.691 0 1.269.204 1.71.626.454.403.686.91.686 1.51 0 .533-.156.994-.476 1.37-.312.383-.738.574-1.254.574-.345 0-.643-.101-.878-.317a1.1 1.1 0 0 1-.353-.843c0-.405.11-.76.342-1.051.153-.193.354-.352.596-.479a1.416 1.416 0 0 0-.492-.07c-.195 0-.316.016-.38.035-.53.226-.938.694-1.208 1.445l-.001.003c-.02.05-.085.289-.202.74-.115.443-.275 1.077-.481 1.901-.414 1.641-.633 2.547-.662 2.74l-.002.01a3.423 3.423 0 0 0-.067.673c0 .337.097.581.272.756.176.177.413.272.733.272.6 0 1.15-.247 1.657-.768.518-.549.864-1.146 1.044-1.791l.001-.004a1.2 1.2 0 0 1 .088-.224.368.368 0 0 1 .161-.164.564.564 0 0 1 .198-.056 2.19 2.19 0 0 1 .276-.014c.159 0 .305.016.42.064.059.025.12.063.167.122.05.063.073.137.073.213 0 .023-.004.048-.005.057a12.52 12.52 0 0 1-.046.245l-.004.015c-.281 1.026-.86 1.917-1.73 2.67l-.007.007c-.776.611-1.605.925-2.484.925-1.08 0-1.93-.45-2.53-1.33-.453.605-1.015 1.024-1.685 1.248l-.01.003-.011.002a3.23 3.23 0 0 1-.664.053c-.974 0-1.703-.35-2.13-1.078A2.05 2.05 0 0 1 2 19.437c0-.52.158-.975.478-1.349.326-.38.749-.572 1.252-.572.372 0 .69.091.913.31.224.218.318.531.318.898 0 .327-.078.621-.241.874a1.706 1.706 0 0 1-.707.597l-.018.009c.158.063.331.095.52.095.467 0 .902-.285 1.295-.966l.002-.005c.071-.115.185-.417.341-.938.154-.51.341-1.209.563-2.096v-.002c.095-.364.198-.767.31-1.21.11-.444.188-.78.235-1.014l.002-.013c.058-.216.098-.36.119-.425.077-.42.113-.709.113-.877 0-.342-.092-.588-.254-.762-.159-.171-.384-.267-.704-.267-.652 0-1.217.251-1.704.768l-.002.002A4.215 4.215 0 0 0 3.79 14.28a1.084 1.084 0 0 1-.065.207.41.41 0 0 1-.14.176l-.01.007-.012.006a.35.35 0 0 1-.104.03 1.16 1.16 0 0 1-.095.01 5.04 5.04 0 0 1-.275.006H2.67l-.061-.061c-.109-.11-.204-.247-.204-.41v-.015l.003-.015c.07-.472.335-1.05.768-1.723l.001-.002c.771-1.165 1.754-1.857 2.949-2.042h.002Z",clipRule:"evenodd"}),e("path",{fill:l,d:"M21.084 10.284c.932-.008 2.301-.013 4.107-.013 1.325 0 2.327.003 3.007.007a75.812 75.812 0 0 1 .99.013c.025 0 .047.002.065.003h.002c.01 0 .04.003.067.01l.01.002.011.004c.201.07.37.183.488.347a.966.966 0 0 1 .169.574c0 .3-.078.568-.248.79-.168.221-.411.377-.708.479h-.002a1.01 1.01 0 0 1-.221.034 8.213 8.213 0 0 1-.35.016c-.29.008-.696.012-1.219.012h-1.39l-.038.223v.001c-.198 1.185-.295 2.156-.295 2.916 0 1.446.251 2.746.75 3.905l.004.007c.059.153.105.284.137.393.03.103.053.205.053.29 0 .359-.16.68-.44.961-.278.296-.63.445-1.041.445-.255 0-.492-.03-.654-.139l-.009-.006-.008-.006c-.126-.101-.236-.274-.338-.477l-.006-.012c-.331-.768-.49-1.722-.49-2.852 0-.595.007-1.002.025-1.212v-.005c.118-1.157.377-2.551.776-4.18v-.002c.024-.096.045-.18.061-.25h-1.948c-.008.038-.02.086-.034.143l-.002.007a35.14 35.14 0 0 0-.146.537c-.05.232-.1.448-.15.648v.001a230.673 230.673 0 0 1-1.312 4.936 41.285 41.285 0 0 1-.411 1.384c-.104.322-.19.557-.256.681-.115.262-.28.473-.5.617-.225.146-.49.212-.783.212-.449 0-.807-.173-1.006-.549l-.006-.011-.005-.012a1.37 1.37 0 0 1-.067-.486v-.326l.346-.745c1.24-2.61 2.136-4.858 2.695-6.747l.002-.008.094-.281h-.463c-.662 0-1.105.025-1.346.07-.198.04-.47.173-.824.43l-.007.005-.007.005c-.366.228-.69.542-.97.947-.044.069-.085.13-.125.18a.651.651 0 0 1-.141.136l-.027.017-.03.01a.8.8 0 0 1-.19.03c-.07.005-.156.008-.258.008-.17 0-.335-.021-.465-.09a.437.437 0 0 1-.216-.546c.014-.042.034-.086.057-.132.047-.093.113-.208.198-.343l.003-.005c1.147-1.745 2.311-2.774 3.508-2.96a2.345 2.345 0 0 1 .158-.015 60.295 60.295 0 0 1 1.369-.026Z"})]}),e("defs",{children:e("clipPath",{id:"a",children:e("path",{fill:"#fff",d:"M0 0h28v11.457H0z",transform:"translate(2 10.271)"})})})]});case"Dismiss":return e("svg",{width:"44",height:"44",viewBox:"0 0 44 44",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M28.7071 15.2929C28.3166 14.9024 27.6834 14.9024 27.2929 15.2929L22 20.5858L16.7071 15.2929C16.3166 14.9024 15.6834 14.9024 15.2929 15.2929C14.9024 15.6834 14.9024 16.3166 15.2929 16.7071L20.5858 22L15.2929 27.2929C14.9024 27.6834 14.9024 28.3166 15.2929 28.7071C15.6834 29.0976 16.3166 29.0976 16.7071 28.7071L22 23.4142L27.2929 28.7071C27.6834 29.0976 28.3166 29.0976 28.7071 28.7071C29.0976 28.3166 29.0976 27.6834 28.7071 27.2929L23.4142 22L28.7071 16.7071C29.0976 16.3166 29.0976 15.6834 28.7071 15.2929Z",fill:l})});case"Fractions":return e("svg",{width:"44",height:"44",viewBox:"0 0 44 44",fill:"none",xmlns:"http://www.w3.org/2000/svg"});default:throw new Error(`Invalid icon type: ${n}`)}};b.__docgenInfo={description:"",methods:[],displayName:"IconAsset",props:{tintColor:{required:!0,tsType:{name:"string"},description:""},type:{required:!0,tsType:{name:"union",raw:`| "Geometry" +import{j as e,a as h}from"./jsx-runtime-FVsy8kgq.js";import{C as w}from"./index-2dmvOE3q.js";import{V as m}from"./index-6h5t6F0w.js";import{c as a}from"./index-deFLJwr4.js";import{l as g}from"./index-awljIyHI.js";import{r as f}from"./index-TT1qJ6UJ.js";const b=function({tintColor:l,type:n}){switch(n){case"Geometry":return e("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.57584 7.09442c.35139-.16458.76626-.11103 1.06434.13737L26.6402 22.2318c.3234.2695.4434.7128.3001 1.1086C26.7969 23.7363 26.421 24 26 24H8c-.55228 0-1-.4477-1-1V8.00001c0-.38802.22446-.74101.57584-.90559zM9 10.1351V17h4c.5523 0 1 .4477 1 1v4h9.238L9 10.1351zM12 22v-3H9v3h3z",fill:l})});case"Operators":return e("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M29 6h1v1h-1V6zm-2 0c0-1.10457.8954-2 2-2h1c1.1046 0 2 .89543 2 2v1c0 1.10457-.8954 2-2 2h-1c-1.1046 0-2-.89543-2-2V6zm-15.8682.50386C11.3098 6.19229 11.6411 6 12 6h2c.5523 0 1 .44772 1 1s-.4477 1-1 1h-1.4197l-3.71206 6.4961c-.18297.3202-.52733.5137-.89599.5035-.36865-.0102-.70175-.2225-.86668-.5524l-2-4c-.24699-.49396-.04676-1.09464.44722-1.34163.49397-.24699 1.09465-.04676 1.34164.44722L8.0588 11.8815l3.073-5.37764zM7.70676 16.2925c.39072.3904.39103 1.0235.00069 1.4143-.42202.4224-.86362 1.0235-1.19588 1.659C6.17039 20.0184 6 20.601 6 21c0 .3789.17235.9897.51638 1.6649.33677.661.7685 1.2472 1.15148 1.5908.41106.3689.44528 1.0011.07643 1.4122-.36885.411-1.00109.4452-1.41215.0764-.61604-.5528-1.18431-1.3599-1.5978-2.1715C4.32813 22.7755 3.99999 21.8345 4 21c.00001-.8609.3301-1.7783.73917-2.5608.41798-.7995.97637-1.5684 1.55338-2.146.39033-.3907 1.0235-.391 1.41421-.0007zm3.58644 0c.3908-.3903 1.0239-.39 1.4143.0007.577.5776 1.1353 1.3465 1.5533 2.146C14.6699 19.2217 15 20.1391 15 21c0 .8345-.3281 1.7755-.7343 2.5728-.4135.8116-.9818 1.6187-1.5978 2.1715-.4111.3688-1.0433.3346-1.4122-.0764-.3688-.4111-.3346-1.0433.0764-1.4122.383-.3436.8148-.9298 1.1515-1.5908.344-.6752.5164-1.286.5164-1.6649 0-.399-.1704-.9816-.5116-1.6342-.3322-.6355-.7738-1.2366-1.1959-1.659-.3903-.3908-.39-1.0239.0007-1.4143zm16.6431 1.3564c.1939.5171-.0681 1.0935-.5852 1.2874L21.848 21l5.5031 2.0637c.5171.1939.7791.7703.5852 1.2874-.1939.5171-.7703.7791-1.2874.5852l-8-3C18.2586 21.79 18 21.4168 18 21c0-.4168.2586-.79.6489-.9363l8-3c.5171-.1939 1.0935.0681 1.2874.5852zM21 8v5h3V8h-3zm-1-2c-.5523 0-1 .44772-1 1v7c0 .5523.4477 1 1 1h5c.5523 0 1-.4477 1-1V7c0-.55228-.4477-1-1-1h-5z",fill:l})});case"Numbers":return e("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M10.4123 19.5794v1.421H4.71434v-1.421h2.016v-5.558c0-.1213.00233-.245.007-.371.00466-.126.01166-.2543.021-.385l-1.33 1.106c-.09334.07-.18434.1144-.273.133-.08867.0187-.17267.021-.252.007-.07934-.0186-.14934-.0466-.21-.084-.06067-.042-.10734-.084-.14-.126l-.609-.819 3.122-2.646h1.589v8.743h1.75696zm8.3801-.35c.21 0 .3734.0584.49.175.1214.1167.182.2707.182.462v1.134h-7.042v-.63c0-.1213.0257-.252.077-.392.0514-.1446.1377-.2753.259-.392l3.01-3.017c.2567-.2566.483-.5016.679-.735.196-.238.3594-.469.49-.693.1307-.2286.2287-.4596.294-.693.0654-.2333.098-.4783.098-.735 0-.4526-.1166-.7956-.35-1.029-.2333-.238-.5623-.357-.987-.357-.1866 0-.3593.028-.518.084-.154.0514-.294.1237-.42.217-.1213.0934-.2263.203-.315.329-.0886.126-.154.2637-.196.413-.084.2334-.1983.3897-.343.469-.14.0747-.3406.091-.602.049l-1.022-.182c.0747-.4946.2147-.9286.42-1.302.2054-.3733.462-.6836.77-.931.308-.2473.6604-.4316 1.057-.553.3967-.126.8237-.189 1.281-.189.4807 0 .917.0724 1.309.217.3967.14.735.3384 1.015.595.28.252.497.5577.651.917.154.3594.231.756.231 1.19 0 .3734-.0536.7187-.161 1.036-.1073.3174-.2543.6207-.441.91-.182.2847-.3943.5624-.637.833-.2426.2707-.4993.5437-.77.819l-2.156 2.205c.238-.07.4737-.1236.707-.161.2334-.042.4527-.063.658-.063h2.282zm2.6611-5.523c.0747-.4946.2147-.9286.42-1.302.2054-.3733.462-.6836.77-.931.308-.2473.658-.4316 1.05-.553.3967-.126.8237-.189 1.281-.189.4854 0 .9194.07 1.302.21.3874.1354.714.322.98.56.266.238.469.5157.609.833.1447.3174.217.658.217 1.022 0 .322-.035.6067-.105.854-.0653.2427-.1656.455-.301.637-.1306.182-.294.336-.49.462-.1913.126-.413.231-.665.315 1.1667.3827 1.75 1.1597 1.75 2.331 0 .518-.0956.9754-.287 1.372-.1913.392-.448.721-.77.987s-.6976.4667-1.127.602c-.4246.1307-.8703.196-1.337.196-.4946 0-.931-.056-1.309-.168-.378-.112-.7116-.28-1.001-.504-.2846-.224-.5296-.504-.735-.84-.2053-.3406-.385-.7373-.539-1.19l.854-.35c.224-.0933.4317-.119.623-.077.196.042.336.1447.42.308.0934.1774.1914.3407.294.49.1074.1494.2264.28.357.392.1307.1074.2777.1914.441.252.168.0607.3594.091.574.091.2707 0 .5064-.0443.707-.133.2007-.0886.3687-.203.504-.343.1354-.1446.2357-.3056.301-.483.07-.182.105-.3616.105-.539 0-.2333-.021-.4433-.063-.63-.042-.1913-.14-.3523-.294-.483-.1493-.1353-.3733-.238-.672-.308-.294-.0746-.6953-.112-1.204-.112v-1.358c.4247 0 .7724-.035 1.043-.105.2707-.07.483-.168.637-.294.154-.126.259-.2776.315-.455.0607-.1773.091-.371.091-.581 0-.4433-.1166-.7816-.35-1.015-.2286-.2333-.5553-.35-.98-.35-.1866 0-.3593.028-.518.084-.154.0514-.294.1237-.42.217-.1213.0934-.2263.203-.315.329-.0886.126-.154.2637-.196.413-.0886.2334-.203.3897-.343.469-.14.0747-.343.091-.609.049l-1.015-.182z",fill:l})});case"Extras":return h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",fill:"none",viewBox:"0 0 32 32",children:[h("g",{clipPath:"url(#a)",children:[e("path",{fill:l,fillRule:"evenodd",d:"M6.127 10.454c.224-.032.403-.05.53-.05.591 0 1.137.153 1.63.459.398.239.713.529.94.872l.188-.248.005-.007.006-.006c.619-.703 1.347-1.07 2.178-1.07.691 0 1.269.204 1.71.626.454.403.686.91.686 1.51 0 .533-.156.994-.476 1.37-.312.383-.738.574-1.254.574-.345 0-.643-.101-.878-.317a1.1 1.1 0 0 1-.353-.843c0-.405.11-.76.342-1.051.153-.193.354-.352.596-.479a1.416 1.416 0 0 0-.492-.07c-.195 0-.316.016-.38.035-.53.226-.938.694-1.208 1.445l-.001.003c-.02.05-.085.289-.202.74-.115.443-.275 1.077-.481 1.901-.414 1.641-.633 2.547-.662 2.74l-.002.01a3.423 3.423 0 0 0-.067.673c0 .337.097.581.272.756.176.177.413.272.733.272.6 0 1.15-.247 1.657-.768.518-.549.864-1.146 1.044-1.791l.001-.004a1.2 1.2 0 0 1 .088-.224.368.368 0 0 1 .161-.164.564.564 0 0 1 .198-.056 2.19 2.19 0 0 1 .276-.014c.159 0 .305.016.42.064.059.025.12.063.167.122.05.063.073.137.073.213 0 .023-.004.048-.005.057a12.52 12.52 0 0 1-.046.245l-.004.015c-.281 1.026-.86 1.917-1.73 2.67l-.007.007c-.776.611-1.605.925-2.484.925-1.08 0-1.93-.45-2.53-1.33-.453.605-1.015 1.024-1.685 1.248l-.01.003-.011.002a3.23 3.23 0 0 1-.664.053c-.974 0-1.703-.35-2.13-1.078A2.05 2.05 0 0 1 2 19.437c0-.52.158-.975.478-1.349.326-.38.749-.572 1.252-.572.372 0 .69.091.913.31.224.218.318.531.318.898 0 .327-.078.621-.241.874a1.706 1.706 0 0 1-.707.597l-.018.009c.158.063.331.095.52.095.467 0 .902-.285 1.295-.966l.002-.005c.071-.115.185-.417.341-.938.154-.51.341-1.209.563-2.096v-.002c.095-.364.198-.767.31-1.21.11-.444.188-.78.235-1.014l.002-.013c.058-.216.098-.36.119-.425.077-.42.113-.709.113-.877 0-.342-.092-.588-.254-.762-.159-.171-.384-.267-.704-.267-.652 0-1.217.251-1.704.768l-.002.002A4.215 4.215 0 0 0 3.79 14.28a1.084 1.084 0 0 1-.065.207.41.41 0 0 1-.14.176l-.01.007-.012.006a.35.35 0 0 1-.104.03 1.16 1.16 0 0 1-.095.01 5.04 5.04 0 0 1-.275.006H2.67l-.061-.061c-.109-.11-.204-.247-.204-.41v-.015l.003-.015c.07-.472.335-1.05.768-1.723l.001-.002c.771-1.165 1.754-1.857 2.949-2.042h.002Z",clipRule:"evenodd"}),e("path",{fill:l,d:"M21.084 10.284c.932-.008 2.301-.013 4.107-.013 1.325 0 2.327.003 3.007.007a75.812 75.812 0 0 1 .99.013c.025 0 .047.002.065.003h.002c.01 0 .04.003.067.01l.01.002.011.004c.201.07.37.183.488.347a.966.966 0 0 1 .169.574c0 .3-.078.568-.248.79-.168.221-.411.377-.708.479h-.002a1.01 1.01 0 0 1-.221.034 8.213 8.213 0 0 1-.35.016c-.29.008-.696.012-1.219.012h-1.39l-.038.223v.001c-.198 1.185-.295 2.156-.295 2.916 0 1.446.251 2.746.75 3.905l.004.007c.059.153.105.284.137.393.03.103.053.205.053.29 0 .359-.16.68-.44.961-.278.296-.63.445-1.041.445-.255 0-.492-.03-.654-.139l-.009-.006-.008-.006c-.126-.101-.236-.274-.338-.477l-.006-.012c-.331-.768-.49-1.722-.49-2.852 0-.595.007-1.002.025-1.212v-.005c.118-1.157.377-2.551.776-4.18v-.002c.024-.096.045-.18.061-.25h-1.948c-.008.038-.02.086-.034.143l-.002.007a35.14 35.14 0 0 0-.146.537c-.05.232-.1.448-.15.648v.001a230.673 230.673 0 0 1-1.312 4.936 41.285 41.285 0 0 1-.411 1.384c-.104.322-.19.557-.256.681-.115.262-.28.473-.5.617-.225.146-.49.212-.783.212-.449 0-.807-.173-1.006-.549l-.006-.011-.005-.012a1.37 1.37 0 0 1-.067-.486v-.326l.346-.745c1.24-2.61 2.136-4.858 2.695-6.747l.002-.008.094-.281h-.463c-.662 0-1.105.025-1.346.07-.198.04-.47.173-.824.43l-.007.005-.007.005c-.366.228-.69.542-.97.947-.044.069-.085.13-.125.18a.651.651 0 0 1-.141.136l-.027.017-.03.01a.8.8 0 0 1-.19.03c-.07.005-.156.008-.258.008-.17 0-.335-.021-.465-.09a.437.437 0 0 1-.216-.546c.014-.042.034-.086.057-.132.047-.093.113-.208.198-.343l.003-.005c1.147-1.745 2.311-2.774 3.508-2.96a2.345 2.345 0 0 1 .158-.015 60.295 60.295 0 0 1 1.369-.026Z"})]}),e("defs",{children:e("clipPath",{id:"a",children:e("path",{fill:"#fff",d:"M0 0h28v11.457H0z",transform:"translate(2 10.271)"})})})]});case"Dismiss":return e("svg",{width:"44",height:"44",viewBox:"0 0 44 44",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M28.7071 15.2929C28.3166 14.9024 27.6834 14.9024 27.2929 15.2929L22 20.5858L16.7071 15.2929C16.3166 14.9024 15.6834 14.9024 15.2929 15.2929C14.9024 15.6834 14.9024 16.3166 15.2929 16.7071L20.5858 22L15.2929 27.2929C14.9024 27.6834 14.9024 28.3166 15.2929 28.7071C15.6834 29.0976 16.3166 29.0976 16.7071 28.7071L22 23.4142L27.2929 28.7071C27.6834 29.0976 28.3166 29.0976 28.7071 28.7071C29.0976 28.3166 29.0976 27.6834 28.7071 27.2929L23.4142 22L28.7071 16.7071C29.0976 16.3166 29.0976 15.6834 28.7071 15.2929Z",fill:l})});case"Fractions":return e("svg",{width:"44",height:"44",viewBox:"0 0 44 44",fill:"none",xmlns:"http://www.w3.org/2000/svg"});default:throw new Error(`Invalid icon type: ${n}`)}};b.__docgenInfo={description:"",methods:[],displayName:"IconAsset",props:{tintColor:{required:!0,tsType:{name:"string"},description:""},type:{required:!0,tsType:{name:"union",raw:`| "Geometry" | "Operators" | "Numbers" | "Fractions" diff --git a/assets/item-editor.stories-Mqq5n0pv.js b/assets/item-editor.stories-Mqq5n0pv.js index 7f7930d353..33f3c4c5d5 100644 --- a/assets/item-editor.stories-Mqq5n0pv.js +++ b/assets/item-editor.stories-Mqq5n0pv.js @@ -1,4 +1,4 @@ -import{j as s}from"./jsx-runtime-FVsy8kgq.js";import{r as E}from"./index-TT1qJ6UJ.js";import{I as o}from"./item-extras-editor-WXA6-UrE.js";/* empty css */import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";const g=t=>{const{onChange:x,...n}=t,[c,d]=E.useState(n);return s(o,{...c,onChange:m=>{var i;(i=t.onChange)==null||i.call(t,m),d(u=>({...u,...m}))}})},ir={title:"PerseusEditor/Item Extras Editor",component:o,render:t=>s(g,{...t}),argTypes:{onChange:{action:"changed"}}},r={args:{...o.defaultProps}};var p,e,a;r.parameters={...r.parameters,docs:{...(p=r.parameters)==null?void 0:p.docs,source:{originalSource:`{ +import{j as s}from"./jsx-runtime-FVsy8kgq.js";import{r as E}from"./index-TT1qJ6UJ.js";import{I as o}from"./item-extras-editor-WXA6-UrE.js";/* empty css */import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";const g=t=>{const{onChange:x,...n}=t,[c,d]=E.useState(n);return s(o,{...c,onChange:m=>{var i;(i=t.onChange)==null||i.call(t,m),d(u=>({...u,...m}))}})},ir={title:"PerseusEditor/Item Extras Editor",component:o,render:t=>s(g,{...t}),argTypes:{onChange:{action:"changed"}}},r={args:{...o.defaultProps}};var p,e,a;r.parameters={...r.parameters,docs:{...(p=r.parameters)==null?void 0:p.docs,source:{originalSource:`{ args: { ...ItemExtrasEditor.defaultProps } diff --git a/assets/keypad-button-rKskH7oM.js b/assets/keypad-button-rKskH7oM.js index ad0f0cf8bc..f2c7457bae 100644 --- a/assets/keypad-button-rKskH7oM.js +++ b/assets/keypad-button-rKskH7oM.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-FVsy8kgq.js";import{C as c}from"./index-WNT3sUKf.js";import{V as i}from"./index-6h5t6F0w.js";import{c as t}from"./index-deFLJwr4.js";import{l as m}from"./index-awljIyHI.js";import{B as g}from"./button-assets-txIojR3b.js";const h=({coord:a,keyConfig:o,onClickKey:s,style:u,secondary:l,action:p})=>{const d=l?"#F6F6F7":p?"#DBDCDD":void 0;return n(i,{style:{gridColumn:a[0]+1,gridRow:a[1]+1,...u},testId:o.id,children:n(c,{onClick:r=>s(o.id,r),onMouseDown:r=>r.preventDefault(),style:e.clickable,"aria-label":o.ariaLabel,children:({hovered:r,focused:y,pressed:b})=>n(i,{style:[e.outerBoxBase],children:n(i,{style:[e.base,d!=null?{background:d}:void 0,r&&e.hovered,y&&e.focused,b&&e.pressed],children:n(g,{id:o.id})})})})})},e=m.StyleSheet.create({base:{display:"flex",justifyContent:"center",alignItems:"center",boxShadow:`0px 1px 0px ${t.offBlack32}`,boxSizing:"border-box",background:t.white,borderRadius:4,borderWidth:2,borderStyle:"solid",borderColor:"transparent",flex:1,minHeight:42,minWidth:42,padding:1,fontFamily:'Lato, "Noto Sans", sans-serif'},hovered:{borderColor:t.blue,padding:1,boxShadow:"none"},focused:{borderColor:t.blue,padding:0,boxShadow:"none"},pressed:{border:"2px solid #1B50B3",padding:0,background:`linear-gradient(0deg, rgba(24, 101, 242, 0.32), rgba(24, 101, 242, 0.32)), ${t.white}`,boxShadow:"none"},outerBoxBase:{padding:1,height:"100%",width:"100%",boxSizing:"border-box",borderRadius:7,border:"2px solid transparent"},clickable:{width:"100%",height:"100%",boxSizing:"border-box",":focus":{outline:"none"}}});h.__docgenInfo={description:"",methods:[],displayName:"KeypadButton",props:{coord:{required:!0,tsType:{name:"unknown"},description:""},keyConfig:{required:!0,tsType:{name:"signature",type:"object",raw:`{ +import{j as n}from"./jsx-runtime-FVsy8kgq.js";import{C as c}from"./index-2dmvOE3q.js";import{V as i}from"./index-6h5t6F0w.js";import{c as t}from"./index-deFLJwr4.js";import{l as m}from"./index-awljIyHI.js";import{B as g}from"./button-assets-txIojR3b.js";const h=({coord:a,keyConfig:o,onClickKey:s,style:u,secondary:l,action:p})=>{const d=l?"#F6F6F7":p?"#DBDCDD":void 0;return n(i,{style:{gridColumn:a[0]+1,gridRow:a[1]+1,...u},testId:o.id,children:n(c,{onClick:r=>s(o.id,r),onMouseDown:r=>r.preventDefault(),style:e.clickable,"aria-label":o.ariaLabel,children:({hovered:r,focused:y,pressed:b})=>n(i,{style:[e.outerBoxBase],children:n(i,{style:[e.base,d!=null?{background:d}:void 0,r&&e.hovered,y&&e.focused,b&&e.pressed],children:n(g,{id:o.id})})})})})},e=m.StyleSheet.create({base:{display:"flex",justifyContent:"center",alignItems:"center",boxShadow:`0px 1px 0px ${t.offBlack32}`,boxSizing:"border-box",background:t.white,borderRadius:4,borderWidth:2,borderStyle:"solid",borderColor:"transparent",flex:1,minHeight:42,minWidth:42,padding:1,fontFamily:'Lato, "Noto Sans", sans-serif'},hovered:{borderColor:t.blue,padding:1,boxShadow:"none"},focused:{borderColor:t.blue,padding:0,boxShadow:"none"},pressed:{border:"2px solid #1B50B3",padding:0,background:`linear-gradient(0deg, rgba(24, 101, 242, 0.32), rgba(24, 101, 242, 0.32)), ${t.white}`,boxShadow:"none"},outerBoxBase:{padding:1,height:"100%",width:"100%",boxSizing:"border-box",borderRadius:7,border:"2px solid transparent"},clickable:{width:"100%",height:"100%",boxSizing:"border-box",":focus":{outline:"none"}}});h.__docgenInfo={description:"",methods:[],displayName:"KeypadButton",props:{coord:{required:!0,tsType:{name:"unknown"},description:""},keyConfig:{required:!0,tsType:{name:"signature",type:"object",raw:`{ id: Key; type: KeyType; icon: IconConfig; diff --git a/assets/keypad-button.stories-tDGMB8WS.js b/assets/keypad-button.stories-tDGMB8WS.js index cb0f418cbb..2d3485d3b0 100644 --- a/assets/keypad-button.stories-tDGMB8WS.js +++ b/assets/keypad-button.stories-tDGMB8WS.js @@ -1,4 +1,4 @@ -import{j as t,a as g}from"./jsx-runtime-FVsy8kgq.js";import{a as c}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{K as m,m as k}from"./button-assets-txIojR3b.js";import{K as l}from"./keypad-button-rKskH7oM.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./index-WNT3sUKf.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-deFLJwr4.js";const a=m(k),E={title:"math-input/components/Keypad Button",args:{keyConfig:a.PLUS,coord:[0,0]},argTypes:{keyConfig:{control:"select",options:{...a}}}},n=({keyConfig:o=m.PLUS,coord:e=[0,0]})=>t("div",{style:{width:200,height:200,backgroundColor:"#DBDCDD",display:"flex"},children:t("div",{style:{width:58,margin:"auto"},children:t(l,{keyConfig:o,coord:e,onClickKey:c("pressed")})})}),r=({...o})=>t("div",{style:{backgroundColor:"#DBDCDD",display:"grid",gridTemplateColumns:"repeat(6, 1fr)",gap:"25px"},children:Object.keys(a).map(e=>g("div",{style:{width:58,margin:"auto",overflowWrap:"break-word"},children:[e,t(l,{keyConfig:a[e],onClickKey:c("pressed"),coord:[0,0]})]},e))});n.__docgenInfo={description:"",methods:[],displayName:"Default",props:{coord:{required:!1,tsType:{name:"unknown"},description:"",defaultValue:{value:"[0, 0]",computed:!1}},keyConfig:{required:!1,tsType:{name:"signature",type:"object",raw:`{ +import{j as t,a as g}from"./jsx-runtime-FVsy8kgq.js";import{a as c}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{K as m,m as k}from"./button-assets-txIojR3b.js";import{K as l}from"./keypad-button-rKskH7oM.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./index-2dmvOE3q.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-deFLJwr4.js";const a=m(k),E={title:"math-input/components/Keypad Button",args:{keyConfig:a.PLUS,coord:[0,0]},argTypes:{keyConfig:{control:"select",options:{...a}}}},n=({keyConfig:o=m.PLUS,coord:e=[0,0]})=>t("div",{style:{width:200,height:200,backgroundColor:"#DBDCDD",display:"flex"},children:t("div",{style:{width:58,margin:"auto"},children:t(l,{keyConfig:o,coord:e,onClickKey:c("pressed")})})}),r=({...o})=>t("div",{style:{backgroundColor:"#DBDCDD",display:"grid",gridTemplateColumns:"repeat(6, 1fr)",gap:"25px"},children:Object.keys(a).map(e=>g("div",{style:{width:58,margin:"auto",overflowWrap:"break-word"},children:[e,t(l,{keyConfig:a[e],onClickKey:c("pressed"),coord:[0,0]})]},e))});n.__docgenInfo={description:"",methods:[],displayName:"Default",props:{coord:{required:!1,tsType:{name:"unknown"},description:"",defaultValue:{value:"[0, 0]",computed:!1}},keyConfig:{required:!1,tsType:{name:"signature",type:"object",raw:`{ id: Key; type: KeyType; icon: IconConfig; diff --git a/assets/keypad-mathquill.stories-anFRYGcO.js b/assets/keypad-mathquill.stories-anFRYGcO.js index e72bcf171d..4a87aae3af 100644 --- a/assets/keypad-mathquill.stories-anFRYGcO.js +++ b/assets/keypad-mathquill.stories-anFRYGcO.js @@ -1,4 +1,4 @@ -import{a as k,j as n}from"./jsx-runtime-FVsy8kgq.js";import{P as F,a as g}from"./index-BPSWBbj5.js";import{c as K}from"./index-deFLJwr4.js";import{r as o}from"./index-TT1qJ6UJ.js";import{m as v}from"./button-assets-txIojR3b.js";import{C as b,K as M}from"./mobile-keypad-wPUeR8mM.js";import{c as R,g as p,a as S}from"./key-translator-Bl2XtQm9.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-h_CiYGGb.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";const te={title:"math-input/components/v2 Keypad With Mathquill"};function a(){const i=o.useRef(null),[t,h]=o.useState(),[s,l]=o.useState(!0),[y,d]=o.useState(b.NONE);o.useEffect(()=>{if(!t&&i.current){const e=R(i.current,"en",v,r=>({...r,handlers:{edit:x=>{d(p(x))}}}));h(e)}},[t]);const f=S("en",{sin:"sin",cos:"cos",tan:"tan"});function C(e){if(!t)return;e==="DISMISS"&&l(!1);const r=f[e];r?(r(t,e),d(p(t))):console.warn(`No translation to Mathquill for: ${e}`)}return k("div",{style:{maxWidth:"400px",margin:"2em"},children:[n(F,{content:n(g,{style:{padding:10,maxWidth:"initial"},children:n(M,{extraKeys:["x","y","PI","THETA"],onClickKey:C,cursorContext:y,advancedRelations:!0,basicRelations:!0,divisionKey:!0,logarithms:!0,convertDotToTimes:!0,preAlgebra:!0,trigonometry:!0,onAnalyticsEvent:async()=>{},showDismiss:!0})}),dismissEnabled:!0,opened:s,children:n("div",{style:{width:"100%",marginBottom:"1em",border:`1px solid ${K.offBlack16}`},ref:i})}),n("button",{onClick:()=>l(!s),children:s?"close keypad":"open keypad"})]})}a.__docgenInfo={description:"",methods:[],displayName:"V2KeypadWithMathquill"};var c,m,u;a.parameters={...a.parameters,docs:{...(c=a.parameters)==null?void 0:c.docs,source:{originalSource:`function V2KeypadWithMathquill() { +import{a as k,j as n}from"./jsx-runtime-FVsy8kgq.js";import{P as F,a as g}from"./index-BPSWBbj5.js";import{c as K}from"./index-deFLJwr4.js";import{r as o}from"./index-TT1qJ6UJ.js";import{m as v}from"./button-assets-txIojR3b.js";import{C as b,K as M}from"./mobile-keypad-wPUeR8mM.js";import{c as R,g as p,a as S}from"./key-translator-Bl2XtQm9.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-h_CiYGGb.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";const te={title:"math-input/components/v2 Keypad With Mathquill"};function a(){const i=o.useRef(null),[t,h]=o.useState(),[s,l]=o.useState(!0),[y,d]=o.useState(b.NONE);o.useEffect(()=>{if(!t&&i.current){const e=R(i.current,"en",v,r=>({...r,handlers:{edit:x=>{d(p(x))}}}));h(e)}},[t]);const f=S("en",{sin:"sin",cos:"cos",tan:"tan"});function C(e){if(!t)return;e==="DISMISS"&&l(!1);const r=f[e];r?(r(t,e),d(p(t))):console.warn(`No translation to Mathquill for: ${e}`)}return k("div",{style:{maxWidth:"400px",margin:"2em"},children:[n(F,{content:n(g,{style:{padding:10,maxWidth:"initial"},children:n(M,{extraKeys:["x","y","PI","THETA"],onClickKey:C,cursorContext:y,advancedRelations:!0,basicRelations:!0,divisionKey:!0,logarithms:!0,convertDotToTimes:!0,preAlgebra:!0,trigonometry:!0,onAnalyticsEvent:async()=>{},showDismiss:!0})}),dismissEnabled:!0,opened:s,children:n("div",{style:{width:"100%",marginBottom:"1em",border:`1px solid ${K.offBlack16}`},ref:i})}),n("button",{onClick:()=>l(!s),children:s?"close keypad":"open keypad"})]})}a.__docgenInfo={description:"",methods:[],displayName:"V2KeypadWithMathquill"};var c,m,u;a.parameters={...a.parameters,docs:{...(c=a.parameters)==null?void 0:c.docs,source:{originalSource:`function V2KeypadWithMathquill() { const mathFieldWrapperRef = React.useRef(null); const [mathField, setMathField] = React.useState(); const [keypadOpen, setKeypadOpen] = React.useState(true); diff --git a/assets/keypad-pages.stories-UYZo0hoJ.js b/assets/keypad-pages.stories-UYZo0hoJ.js index 309cf4a229..2a86655245 100644 --- a/assets/keypad-pages.stories-UYZo0hoJ.js +++ b/assets/keypad-pages.stories-UYZo0hoJ.js @@ -1 +1 @@ -import{j as o}from"./jsx-runtime-FVsy8kgq.js";import{a}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{I as g}from"./index-VDi1Le_1.js";import{N as y,O as I,G as k}from"./operators-page-C_EsmjPW.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./index-WNT3sUKf.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-deFLJwr4.js";const x={title:"math-input/components/Keypad pages",parameters:{backgrounds:{values:[{name:"light background",value:"white",default:!0}]},viewport:{defaultViewport:"iphone6",viewports:g}}},e=()=>o(y,{onClickKey:a("onClickKey")}),r=()=>o(I,{onClickKey:a("onClickKey"),preAlgebra:!0,logarithms:!0,basicRelations:!0,advancedRelations:!0}),t=()=>o(k,{onClickKey:a("onClickKey")});e.__docgenInfo={description:"",methods:[],displayName:"NumericInput"};r.__docgenInfo={description:"",methods:[],displayName:"PreAlgebraInput"};t.__docgenInfo={description:"",methods:[],displayName:"TrigonometryInput"};var i,s,n;e.parameters={...e.parameters,docs:{...(i=e.parameters)==null?void 0:i.docs,source:{originalSource:'(): React.ReactElement => ',...(n=(s=e.parameters)==null?void 0:s.docs)==null?void 0:n.source}}};var c,p,m;r.parameters={...r.parameters,docs:{...(c=r.parameters)==null?void 0:c.docs,source:{originalSource:'(): React.ReactElement => ',...(m=(p=r.parameters)==null?void 0:p.docs)==null?void 0:m.source}}};var u,l,d;t.parameters={...t.parameters,docs:{...(u=t.parameters)==null?void 0:u.docs,source:{originalSource:'(): React.ReactElement => ',...(d=(l=t.parameters)==null?void 0:l.docs)==null?void 0:d.source}}};const G=["NumericInput","PreAlgebraInput","TrigonometryInput"];export{e as NumericInput,r as PreAlgebraInput,t as TrigonometryInput,G as __namedExportsOrder,x as default}; +import{j as o}from"./jsx-runtime-FVsy8kgq.js";import{a}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{I as g}from"./index-VDi1Le_1.js";import{N as y,O as I,G as k}from"./operators-page-C_EsmjPW.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./index-2dmvOE3q.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-deFLJwr4.js";const x={title:"math-input/components/Keypad pages",parameters:{backgrounds:{values:[{name:"light background",value:"white",default:!0}]},viewport:{defaultViewport:"iphone6",viewports:g}}},e=()=>o(y,{onClickKey:a("onClickKey")}),r=()=>o(I,{onClickKey:a("onClickKey"),preAlgebra:!0,logarithms:!0,basicRelations:!0,advancedRelations:!0}),t=()=>o(k,{onClickKey:a("onClickKey")});e.__docgenInfo={description:"",methods:[],displayName:"NumericInput"};r.__docgenInfo={description:"",methods:[],displayName:"PreAlgebraInput"};t.__docgenInfo={description:"",methods:[],displayName:"TrigonometryInput"};var i,s,n;e.parameters={...e.parameters,docs:{...(i=e.parameters)==null?void 0:i.docs,source:{originalSource:'(): React.ReactElement => ',...(n=(s=e.parameters)==null?void 0:s.docs)==null?void 0:n.source}}};var c,p,m;r.parameters={...r.parameters,docs:{...(c=r.parameters)==null?void 0:c.docs,source:{originalSource:'(): React.ReactElement => ',...(m=(p=r.parameters)==null?void 0:p.docs)==null?void 0:m.source}}};var u,l,d;t.parameters={...t.parameters,docs:{...(u=t.parameters)==null?void 0:u.docs,source:{originalSource:'(): React.ReactElement => ',...(d=(l=t.parameters)==null?void 0:l.docs)==null?void 0:d.source}}};const G=["NumericInput","PreAlgebraInput","TrigonometryInput"];export{e as NumericInput,r as PreAlgebraInput,t as TrigonometryInput,G as __namedExportsOrder,x as default}; diff --git a/assets/label-image-editor.stories-ziMT1NPm.js b/assets/label-image-editor.stories-ziMT1NPm.js index 0018e7085c..55f5915b3c 100644 --- a/assets/label-image-editor.stories-ziMT1NPm.js +++ b/assets/label-image-editor.stories-ziMT1NPm.js @@ -1,3 +1,3 @@ -import{j as o}from"./jsx-runtime-FVsy8kgq.js";import{l as e}from"./index-awljIyHI.js";import{r as s}from"./index-TT1qJ6UJ.js";import{L as n}from"./label-image-editor-5i-CRSxH.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./editor-jsonify-WkTEQia9.js";import"./form-wrapped-text-field-A2kf-LD-.js";import"./global-colors-VIVU4Od4.js";import"./answer-choices-AZkfMHUH.js";import"./components-yT7oveOH.js";import"./behavior-i1Yr0m7G.js";import"./question-markers-u6WvyWqg.js";import"./marker-9Sjiskse.js";import"./util-qk2aeK8X.js";import"./select-image-1nPhQNuF.js";const st={title:"PerseusEditor/Widgets/Label Image Editor"},l=e.StyleSheet.create({wrapper:{width:338}});class c extends s.Component{constructor(){super(...arguments),this.state={imageAlt:"Map of Europe",choices:["Lamborghini","BMW","Volkswagen","Fiat","Porsche","Ferrari"],imageUrl:"https://ka-perseus-images.s3.amazonaws.com/2ee5fc32e35c5178373b39fd304b325b2994c913.png",imageWidth:1280,imageHeight:1024,markers:[{answers:["BMW","Volkswagen","Porsche"],label:"Germany",x:37.3,y:53.6},{answers:[],label:"",x:21,y:46},{answers:["Lamborghini","Fiat","Ferrari"],label:"Italy",x:41.4,y:78.8}]}}render(){return o("div",{className:e.css(l.wrapper),children:o(n,{...this.state,onChange:t=>this.setState({...this._widget.serialize(),...t}),ref:t=>this._widget=t})})}}const r=a=>o(c,{});r.__docgenInfo={description:"",methods:[],displayName:"Default"};var i,m,p;r.parameters={...r.parameters,docs:{...(i=r.parameters)==null?void 0:i.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { +import{j as o}from"./jsx-runtime-FVsy8kgq.js";import{l as e}from"./index-awljIyHI.js";import{r as s}from"./index-TT1qJ6UJ.js";import{L as n}from"./label-image-editor-5i-CRSxH.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./editor-jsonify-WkTEQia9.js";import"./form-wrapped-text-field-A2kf-LD-.js";import"./global-colors-VIVU4Od4.js";import"./answer-choices-AZkfMHUH.js";import"./components-yT7oveOH.js";import"./behavior-i1Yr0m7G.js";import"./question-markers-u6WvyWqg.js";import"./marker-9Sjiskse.js";import"./util-qk2aeK8X.js";import"./select-image-1nPhQNuF.js";const st={title:"PerseusEditor/Widgets/Label Image Editor"},l=e.StyleSheet.create({wrapper:{width:338}});class c extends s.Component{constructor(){super(...arguments),this.state={imageAlt:"Map of Europe",choices:["Lamborghini","BMW","Volkswagen","Fiat","Porsche","Ferrari"],imageUrl:"https://ka-perseus-images.s3.amazonaws.com/2ee5fc32e35c5178373b39fd304b325b2994c913.png",imageWidth:1280,imageHeight:1024,markers:[{answers:["BMW","Volkswagen","Porsche"],label:"Germany",x:37.3,y:53.6},{answers:[],label:"",x:21,y:46},{answers:["Lamborghini","Fiat","Ferrari"],label:"Italy",x:41.4,y:78.8}]}}render(){return o("div",{className:e.css(l.wrapper),children:o(n,{...this.state,onChange:t=>this.setState({...this._widget.serialize(),...t}),ref:t=>this._widget=t})})}}const r=a=>o(c,{});r.__docgenInfo={description:"",methods:[],displayName:"Default"};var i,m,p;r.parameters={...r.parameters,docs:{...(i=r.parameters)==null?void 0:i.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { return ; }`,...(p=(m=r.parameters)==null?void 0:m.docs)==null?void 0:p.source}}};const nt=["Default"];export{r as Default,nt as __namedExportsOrder,st as default}; diff --git a/assets/label-image.stories-RcCbc0DS.js b/assets/label-image.stories-RcCbc0DS.js index 8ea04201df..28a622370f 100644 --- a/assets/label-image.stories-RcCbc0DS.js +++ b/assets/label-image.stories-RcCbc0DS.js @@ -1,4 +1,4 @@ -import{j as s}from"./jsx-runtime-FVsy8kgq.js";import{R as l}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const W={content:`Carol created a chart and a bar graph to show how many of each type of vehicle were in her supermarket parking lot. +import{j as s}from"./jsx-runtime-FVsy8kgq.js";import{R as l}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const W={content:`Carol created a chart and a bar graph to show how many of each type of vehicle were in her supermarket parking lot. Vehicle Type | Number in the parking lot :- | :-: diff --git a/assets/locked-ellipse-settings.stories-QJ2hV1JI.js b/assets/locked-ellipse-settings.stories-QJ2hV1JI.js index 1d7323eeeb..0fd8912465 100644 --- a/assets/locked-ellipse-settings.stories-QJ2hV1JI.js +++ b/assets/locked-ellipse-settings.stories-QJ2hV1JI.js @@ -1,4 +1,4 @@ -import{j as d}from"./jsx-runtime-FVsy8kgq.js";import{r as a}from"./index-TT1qJ6UJ.js";import{L as e}from"./locked-ellipse-settings-GZN1lNrc.js";import{g as C}from"./util-EIbodz9l.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./locked-figure-aria-mxtuWC2p.js";import"./scrollless-number-text-field-U5Bx_xXb.js";import"./util-qk2aeK8X.js";import"./locked-label-settings-XMKrDtPv.js";import"./color-select-Xh8LIYQw.js";import"./line-stroke-select-OYlhdy6-.js";const Eo={title:"PerseusEditor/Components/Locked Ellipse Settings",component:e},r=i=>d(e,{...i}),c={...C("ellipse"),onChangeProps:()=>{},onMove:()=>{},onRemove:()=>{}};r.args=c;const o={render:function(){const[t,m]=a.useState(c);return d(e,{...t,onChangeProps:n=>{m({...t,...n})}})}};o.parameters={chromatic:{disableSnapshot:!0}};const p={render:function(){const[t,m]=a.useState(!0),[s,n]=a.useState(c);return d(e,{...s,expanded:t,onToggle:m,onChangeProps:R=>{n({...s,...R})}})}};r.__docgenInfo={description:"",methods:[],displayName:"Default"};var l,u,P;r.parameters={...r.parameters,docs:{...(l=r.parameters)==null?void 0:l.docs,source:{originalSource:`(args): React.ReactElement => { +import{j as d}from"./jsx-runtime-FVsy8kgq.js";import{r as a}from"./index-TT1qJ6UJ.js";import{L as e}from"./locked-ellipse-settings-GZN1lNrc.js";import{g as C}from"./util-EIbodz9l.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./locked-figure-aria-mxtuWC2p.js";import"./scrollless-number-text-field-U5Bx_xXb.js";import"./util-qk2aeK8X.js";import"./locked-label-settings-XMKrDtPv.js";import"./color-select-Xh8LIYQw.js";import"./line-stroke-select-OYlhdy6-.js";const Eo={title:"PerseusEditor/Components/Locked Ellipse Settings",component:e},r=i=>d(e,{...i}),c={...C("ellipse"),onChangeProps:()=>{},onMove:()=>{},onRemove:()=>{}};r.args=c;const o={render:function(){const[t,m]=a.useState(c);return d(e,{...t,onChangeProps:n=>{m({...t,...n})}})}};o.parameters={chromatic:{disableSnapshot:!0}};const p={render:function(){const[t,m]=a.useState(!0),[s,n]=a.useState(c);return d(e,{...s,expanded:t,onToggle:m,onChangeProps:R=>{n({...s,...R})}})}};r.__docgenInfo={description:"",methods:[],displayName:"Default"};var l,u,P;r.parameters={...r.parameters,docs:{...(l=r.parameters)==null?void 0:l.docs,source:{originalSource:`(args): React.ReactElement => { return ; }`,...(P=(u=r.parameters)==null?void 0:u.docs)==null?void 0:P.source}}};var g,f,h;o.parameters={...o.parameters,docs:{...(g=o.parameters)==null?void 0:g.docs,source:{originalSource:`{ render: function Render() { diff --git a/assets/locked-figures-section.stories-sWPQn6Cv.js b/assets/locked-figures-section.stories-sWPQn6Cv.js index 2790fc43f2..f5f12218f5 100644 --- a/assets/locked-figures-section.stories-sWPQn6Cv.js +++ b/assets/locked-figures-section.stories-sWPQn6Cv.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-FVsy8kgq.js";import{V as y}from"./index-6h5t6F0w.js";import{s as c,c as R}from"./index-deFLJwr4.js";import{l as w}from"./index-awljIyHI.js";import{r as C}from"./index-TT1qJ6UJ.js";import{L as i}from"./locked-figures-section-rXMZLdUH.js";import{g as d}from"./util-EIbodz9l.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./heading-8aCiuWUg.js";import"./index-tFzzSRL2.js";import"./toggleable-caret-lFiCktzo.js";import"./answer-choices-G9U2Ia5j.js";import"./minus-bold-ONmDo3Ve.js";import"./renderer-6wjvxpTF.js";import"./version-akiLXZts.js";import"./util-F8-MDmsT.js";import"./index-J2t_5nK1.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./locked-ellipse-settings-GZN1lNrc.js";import"./article-renderer-HHw6mvZH.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./locked-figure-aria-mxtuWC2p.js";import"./scrollless-number-text-field-U5Bx_xXb.js";import"./util-qk2aeK8X.js";import"./locked-label-settings-XMKrDtPv.js";import"./color-select-Xh8LIYQw.js";import"./line-stroke-select-OYlhdy6-.js";import"./locked-function-settings-I4_zr2ES.js";import"./line-swatch-O74cEI5A.js";import"./locked-line-settings-QDeW1LoV.js";import"./locked-point-settings-wAoKZaB8.js";import"./labeled-switch-zVOryGbL.js";import"./locked-polygon-settings-FI5GR0gw.js";import"./locked-vector-settings-VEpB_970.js";const To={title:"PerseusEditor/Components/Locked Figures Section",component:i},r=p=>e(i,{...p});r.args={};const o={render:function(){const[m,s]=C.useState([]);return e(i,{figures:m,onChange:n=>{s(n.lockedFigures)}})}},t={render:function(){const[m,s]=C.useState([d("point"),d("line")]),a=n=>{s(n.lockedFigures)};return e(y,{style:D.prodSizeContainer,children:e(i,{figures:m,onChange:a})})}},U=310,x=10,_=U+2*x,D=w.StyleSheet.create({prodSizeContainer:{width:_,padding:x,marginInlineStart:c.medium_16,border:`1px solid ${R.offBlack32}`,borderRadius:c.xxxSmall_4}});r.__docgenInfo={description:"",methods:[],displayName:"Default"};var u,g,l;r.parameters={...r.parameters,docs:{...(u=r.parameters)==null?void 0:u.docs,source:{originalSource:`(args): React.ReactElement => { +import{j as e}from"./jsx-runtime-FVsy8kgq.js";import{V as y}from"./index-6h5t6F0w.js";import{s as c,c as R}from"./index-deFLJwr4.js";import{l as w}from"./index-awljIyHI.js";import{r as C}from"./index-TT1qJ6UJ.js";import{L as i}from"./locked-figures-section-rXMZLdUH.js";import{g as d}from"./util-EIbodz9l.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./heading-8aCiuWUg.js";import"./index-tFzzSRL2.js";import"./toggleable-caret-lFiCktzo.js";import"./answer-choices-G9U2Ia5j.js";import"./minus-bold-ONmDo3Ve.js";import"./renderer-6wjvxpTF.js";import"./version-akiLXZts.js";import"./util-F8-MDmsT.js";import"./index-J2t_5nK1.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./locked-ellipse-settings-GZN1lNrc.js";import"./article-renderer-HHw6mvZH.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./locked-figure-aria-mxtuWC2p.js";import"./scrollless-number-text-field-U5Bx_xXb.js";import"./util-qk2aeK8X.js";import"./locked-label-settings-XMKrDtPv.js";import"./color-select-Xh8LIYQw.js";import"./line-stroke-select-OYlhdy6-.js";import"./locked-function-settings-I4_zr2ES.js";import"./line-swatch-O74cEI5A.js";import"./locked-line-settings-QDeW1LoV.js";import"./locked-point-settings-wAoKZaB8.js";import"./labeled-switch-zVOryGbL.js";import"./locked-polygon-settings-FI5GR0gw.js";import"./locked-vector-settings-VEpB_970.js";const To={title:"PerseusEditor/Components/Locked Figures Section",component:i},r=p=>e(i,{...p});r.args={};const o={render:function(){const[m,s]=C.useState([]);return e(i,{figures:m,onChange:n=>{s(n.lockedFigures)}})}},t={render:function(){const[m,s]=C.useState([d("point"),d("line")]),a=n=>{s(n.lockedFigures)};return e(y,{style:D.prodSizeContainer,children:e(i,{figures:m,onChange:a})})}},U=310,x=10,_=U+2*x,D=w.StyleSheet.create({prodSizeContainer:{width:_,padding:x,marginInlineStart:c.medium_16,border:`1px solid ${R.offBlack32}`,borderRadius:c.xxxSmall_4}});r.__docgenInfo={description:"",methods:[],displayName:"Default"};var u,g,l;r.parameters={...r.parameters,docs:{...(u=r.parameters)==null?void 0:u.docs,source:{originalSource:`(args): React.ReactElement => { return ; }`,...(l=(g=r.parameters)==null?void 0:g.docs)==null?void 0:l.source}}};var f,F,S;o.parameters={...o.parameters,docs:{...(f=o.parameters)==null?void 0:f.docs,source:{originalSource:`{ render: function Render() { diff --git a/assets/locked-function-settings.stories-DziG6F_S.js b/assets/locked-function-settings.stories-DziG6F_S.js index 6ddd76e26e..e31f79bd7b 100644 --- a/assets/locked-function-settings.stories-DziG6F_S.js +++ b/assets/locked-function-settings.stories-DziG6F_S.js @@ -1,4 +1,4 @@ -import{j as d}from"./jsx-runtime-FVsy8kgq.js";import{r as f}from"./index-TT1qJ6UJ.js";import{L as t}from"./locked-function-settings-I4_zr2ES.js";import{g as P}from"./util-EIbodz9l.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./answer-choices-G9U2Ia5j.js";import"./minus-bold-ONmDo3Ve.js";import"./renderer-6wjvxpTF.js";import"./version-akiLXZts.js";import"./util-F8-MDmsT.js";import"./index-J2t_5nK1.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-QCAhLhLD.js";import"./locked-label-settings-XMKrDtPv.js";import"./article-renderer-HHw6mvZH.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./scrollless-number-text-field-U5Bx_xXb.js";import"./color-select-Xh8LIYQw.js";import"./locked-figure-aria-mxtuWC2p.js";import"./line-stroke-select-OYlhdy6-.js";import"./line-swatch-O74cEI5A.js";const gr={title:"PerseusEditor/Components/Locked Function Settings",component:t},o=p=>d(t,{...p}),u={...P("function"),onChangeProps:()=>{},onMove:()=>{},onRemove:()=>{}};o.args=u;const r={render:function(){const[i,g]=f.useState(u);return d(t,{...i,expanded:!0,onChangeProps:l=>{g({...i,...l})}})}};o.__docgenInfo={description:"",methods:[],displayName:"Default"};var m,e,n;o.parameters={...o.parameters,docs:{...(m=o.parameters)==null?void 0:m.docs,source:{originalSource:`(args): React.ReactElement => { +import{j as d}from"./jsx-runtime-FVsy8kgq.js";import{r as f}from"./index-TT1qJ6UJ.js";import{L as t}from"./locked-function-settings-I4_zr2ES.js";import{g as P}from"./util-EIbodz9l.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./answer-choices-G9U2Ia5j.js";import"./minus-bold-ONmDo3Ve.js";import"./renderer-6wjvxpTF.js";import"./version-akiLXZts.js";import"./util-F8-MDmsT.js";import"./index-J2t_5nK1.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-QCAhLhLD.js";import"./locked-label-settings-XMKrDtPv.js";import"./article-renderer-HHw6mvZH.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./scrollless-number-text-field-U5Bx_xXb.js";import"./color-select-Xh8LIYQw.js";import"./locked-figure-aria-mxtuWC2p.js";import"./line-stroke-select-OYlhdy6-.js";import"./line-swatch-O74cEI5A.js";const gr={title:"PerseusEditor/Components/Locked Function Settings",component:t},o=p=>d(t,{...p}),u={...P("function"),onChangeProps:()=>{},onMove:()=>{},onRemove:()=>{}};o.args=u;const r={render:function(){const[i,g]=f.useState(u);return d(t,{...i,expanded:!0,onChangeProps:l=>{g({...i,...l})}})}};o.__docgenInfo={description:"",methods:[],displayName:"Default"};var m,e,n;o.parameters={...o.parameters,docs:{...(m=o.parameters)==null?void 0:m.docs,source:{originalSource:`(args): React.ReactElement => { return ; }`,...(n=(e=o.parameters)==null?void 0:e.docs)==null?void 0:n.source}}};var s,a,c;r.parameters={...r.parameters,docs:{...(s=r.parameters)==null?void 0:s.docs,source:{originalSource:`{ render: function Render() { diff --git a/assets/locked-functions.stories-haTk3GIx.js b/assets/locked-functions.stories-haTk3GIx.js index e77c049f55..579b7bf5a7 100644 --- a/assets/locked-functions.stories-haTk3GIx.js +++ b/assets/locked-functions.stories-haTk3GIx.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-FVsy8kgq.js";import{R as t}from"./renderer-with-debug-ui-duQdKc-n.js";import{h as o}from"./interactive-graph.testdata-MyLmvD1G.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";import"./interactive-graph-question-builder-Mh2lh4tI.js";const Ct={title:"Perseus/Widgets/Interactive Graph/Locked Functions"},r={apiOptions:{flags:{mafs:{segment:!0}}}},i=s=>e(t,{...r,question:o()}),a=s=>e(t,{...r,question:o("x^2",{color:"green",strokeStyle:"dashed"})}),n=s=>e(t,{...r,question:o("y^2",{directionalAxis:"y"})}),m=s=>e(t,{...r,question:o("sin(x)",{domain:[-5,1/0]})}),c=s=>e(t,{...r,question:o("sin(x)",{domain:[-1/0,5]})}),p=s=>e(t,{...r,question:o("sin(x)",{domain:[-5,5]})}),d=s=>e(t,{...r,question:o("x^2 + 2x + 3")}),u=s=>e(t,{...r,question:o("(1/3)x^3 - 2x^2 + 3x - 4")}),g=s=>e(t,{...r,question:o("tan(x)")}),l=s=>e(t,{...r,question:o("arctan(x)")}),h=s=>e(t,{...r,question:o("log(x)")}),R=s=>e(t,{...r,question:o("e^x")}),f=s=>e(t,{...r,question:o("abs(x)")});i.__docgenInfo={description:"",methods:[],displayName:"DefaultSettings"};a.__docgenInfo={description:"",methods:[],displayName:"StyledSettings"};n.__docgenInfo={description:"",methods:[],displayName:"FunctionOfY"};m.__docgenInfo={description:"",methods:[],displayName:"DomainRestrictedMin"};c.__docgenInfo={description:"",methods:[],displayName:"DomainRestrictedMax"};p.__docgenInfo={description:"",methods:[],displayName:"DomainRestrictedBoth"};d.__docgenInfo={description:"",methods:[],displayName:"Quadratic"};u.__docgenInfo={description:"",methods:[],displayName:"QubicPolynomial"};g.__docgenInfo={description:"",methods:[],displayName:"Tangent"};l.__docgenInfo={description:"",methods:[],displayName:"ArcTangent"};h.__docgenInfo={description:"",methods:[],displayName:"Logarithmic"};R.__docgenInfo={description:"",methods:[],displayName:"Exponent"};f.__docgenInfo={description:"",methods:[],displayName:"AbsoluteValue"};var y,x,S;i.parameters={...i.parameters,docs:{...(y=i.parameters)==null?void 0:y.docs,source:{originalSource:"(args: StoryArgs): React.ReactElement => ",...(S=(x=i.parameters)==null?void 0:x.docs)==null?void 0:S.source}}};var I,W,_;a.parameters={...a.parameters,docs:{...(I=a.parameters)==null?void 0:I.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => e(t,{...r,question:o()}),a=s=>e(t,{...r,question:o("x^2",{color:"green",strokeStyle:"dashed"})}),n=s=>e(t,{...r,question:o("y^2",{directionalAxis:"y"})}),m=s=>e(t,{...r,question:o("sin(x)",{domain:[-5,1/0]})}),c=s=>e(t,{...r,question:o("sin(x)",{domain:[-1/0,5]})}),p=s=>e(t,{...r,question:o("sin(x)",{domain:[-5,5]})}),d=s=>e(t,{...r,question:o("x^2 + 2x + 3")}),u=s=>e(t,{...r,question:o("(1/3)x^3 - 2x^2 + 3x - 4")}),g=s=>e(t,{...r,question:o("tan(x)")}),l=s=>e(t,{...r,question:o("arctan(x)")}),h=s=>e(t,{...r,question:o("log(x)")}),R=s=>e(t,{...r,question:o("e^x")}),f=s=>e(t,{...r,question:o("abs(x)")});i.__docgenInfo={description:"",methods:[],displayName:"DefaultSettings"};a.__docgenInfo={description:"",methods:[],displayName:"StyledSettings"};n.__docgenInfo={description:"",methods:[],displayName:"FunctionOfY"};m.__docgenInfo={description:"",methods:[],displayName:"DomainRestrictedMin"};c.__docgenInfo={description:"",methods:[],displayName:"DomainRestrictedMax"};p.__docgenInfo={description:"",methods:[],displayName:"DomainRestrictedBoth"};d.__docgenInfo={description:"",methods:[],displayName:"Quadratic"};u.__docgenInfo={description:"",methods:[],displayName:"QubicPolynomial"};g.__docgenInfo={description:"",methods:[],displayName:"Tangent"};l.__docgenInfo={description:"",methods:[],displayName:"ArcTangent"};h.__docgenInfo={description:"",methods:[],displayName:"Logarithmic"};R.__docgenInfo={description:"",methods:[],displayName:"Exponent"};f.__docgenInfo={description:"",methods:[],displayName:"AbsoluteValue"};var y,x,S;i.parameters={...i.parameters,docs:{...(y=i.parameters)==null?void 0:y.docs,source:{originalSource:"(args: StoryArgs): React.ReactElement => ",...(S=(x=i.parameters)==null?void 0:x.docs)==null?void 0:S.source}}};var I,W,_;a.parameters={...a.parameters,docs:{...(I=a.parameters)==null?void 0:I.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => `,...(_=(W=a.parameters)==null?void 0:W.docs)==null?void 0:_.source}}};var q,D,b;n.parameters={...n.parameters,docs:{...(q=n.parameters)==null?void 0:q.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => c(t,{...p}),u={...f("label"),onChangeProps:()=>{},onMove:()=>{},onRemove:()=>{}};r.args=u;const o={render:function(){const[m,l]=P.useState(u);return c(t,{...m,expanded:!0,onChangeProps:g=>{l({...m,...g})}})}};r.__docgenInfo={description:"",methods:[],displayName:"Default"};var i,e,s;r.parameters={...r.parameters,docs:{...(i=r.parameters)==null?void 0:i.docs,source:{originalSource:`(args): React.ReactElement => { +import{j as c}from"./jsx-runtime-FVsy8kgq.js";import{r as P}from"./index-TT1qJ6UJ.js";import{L as t}from"./locked-label-settings-XMKrDtPv.js";import{g as f}from"./util-EIbodz9l.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./scrollless-number-text-field-U5Bx_xXb.js";import"./color-select-Xh8LIYQw.js";const no={title:"PerseusEditor/Components/Locked Label Settings",component:t},r=p=>c(t,{...p}),u={...f("label"),onChangeProps:()=>{},onMove:()=>{},onRemove:()=>{}};r.args=u;const o={render:function(){const[m,l]=P.useState(u);return c(t,{...m,expanded:!0,onChangeProps:g=>{l({...m,...g})}})}};r.__docgenInfo={description:"",methods:[],displayName:"Default"};var i,e,s;r.parameters={...r.parameters,docs:{...(i=r.parameters)==null?void 0:i.docs,source:{originalSource:`(args): React.ReactElement => { return ; }`,...(s=(e=r.parameters)==null?void 0:e.docs)==null?void 0:s.source}}};var n,a,d;o.parameters={...o.parameters,docs:{...(n=o.parameters)==null?void 0:n.docs,source:{originalSource:`{ render: function Render() { diff --git a/assets/locked-line-settings.stories-MlcAZ4Qe.js b/assets/locked-line-settings.stories-MlcAZ4Qe.js index 910768bb32..d80e9f4fd4 100644 --- a/assets/locked-line-settings.stories-MlcAZ4Qe.js +++ b/assets/locked-line-settings.stories-MlcAZ4Qe.js @@ -1,4 +1,4 @@ -import{j as m}from"./jsx-runtime-FVsy8kgq.js";import{r as n}from"./index-TT1qJ6UJ.js";import{L as s}from"./locked-line-settings-QDeW1LoV.js";import{g}from"./util-EIbodz9l.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./svg-image-4Vh9uTQ6.js";import"./index-awljIyHI.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./index-dnMhQZ-1.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./index-7vsPyIck.js";import"./index-J2t_5nK1.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./choice-I73s7vIV.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./media-queries-gbofTbz-.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./answer-choices-G9U2Ia5j.js";import"./minus-bold-ONmDo3Ve.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./locked-figure-aria-mxtuWC2p.js";import"./article-renderer-HHw6mvZH.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./locked-label-settings-XMKrDtPv.js";import"./scrollless-number-text-field-U5Bx_xXb.js";import"./color-select-Xh8LIYQw.js";import"./line-stroke-select-OYlhdy6-.js";import"./line-swatch-O74cEI5A.js";import"./locked-point-settings-wAoKZaB8.js";import"./labeled-switch-zVOryGbL.js";const Dt={title:"PerseusEditor/Components/Locked Line Settings",component:s},p=i=>m(s,{...i}),c={...g("line"),onChangeProps:()=>{},onMove:()=>{},onRemove:()=>{}};p.args=c;const d={render:function(){const[e,r]=n.useState(c);return m(s,{...e,onChangeProps:o=>{r({...e,...o})}})}};d.parameters={chromatic:{disableSnapshot:!0}};const a={render:function(){const[e,r]=n.useState(c),t=o=>{r({...e,...o})};return m(s,{...e,points:[g("point"),g("point")],expanded:!0,onChangeProps:t})}},u={render:function(){const[e,r]=n.useState(!0),[t,o]=n.useState(c);return m(s,{...t,expanded:e,onToggle:r,onChangeProps:P=>{o({...t,...P})}})}},l={render:function(){const[e,r]=n.useState(!0),[t,o]=n.useState({...c,kind:"segment",color:"green",lineStyle:"dashed"});return m(s,{...t,expanded:e,onToggle:r,onChangeProps:P=>{o({...t,...P})}})}};p.__docgenInfo={description:"",methods:[],displayName:"Default"};var h,f,S;p.parameters={...p.parameters,docs:{...(h=p.parameters)==null?void 0:h.docs,source:{originalSource:`(args): React.ReactElement => { +import{j as m}from"./jsx-runtime-FVsy8kgq.js";import{r as n}from"./index-TT1qJ6UJ.js";import{L as s}from"./locked-line-settings-QDeW1LoV.js";import{g}from"./util-EIbodz9l.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./svg-image-4Vh9uTQ6.js";import"./index-awljIyHI.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./index-dnMhQZ-1.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./index-7vsPyIck.js";import"./index-J2t_5nK1.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./choice-I73s7vIV.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./media-queries-gbofTbz-.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./answer-choices-G9U2Ia5j.js";import"./minus-bold-ONmDo3Ve.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./locked-figure-aria-mxtuWC2p.js";import"./article-renderer-HHw6mvZH.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./locked-label-settings-XMKrDtPv.js";import"./scrollless-number-text-field-U5Bx_xXb.js";import"./color-select-Xh8LIYQw.js";import"./line-stroke-select-OYlhdy6-.js";import"./line-swatch-O74cEI5A.js";import"./locked-point-settings-wAoKZaB8.js";import"./labeled-switch-zVOryGbL.js";const Dt={title:"PerseusEditor/Components/Locked Line Settings",component:s},p=i=>m(s,{...i}),c={...g("line"),onChangeProps:()=>{},onMove:()=>{},onRemove:()=>{}};p.args=c;const d={render:function(){const[e,r]=n.useState(c);return m(s,{...e,onChangeProps:o=>{r({...e,...o})}})}};d.parameters={chromatic:{disableSnapshot:!0}};const a={render:function(){const[e,r]=n.useState(c),t=o=>{r({...e,...o})};return m(s,{...e,points:[g("point"),g("point")],expanded:!0,onChangeProps:t})}},u={render:function(){const[e,r]=n.useState(!0),[t,o]=n.useState(c);return m(s,{...t,expanded:e,onToggle:r,onChangeProps:P=>{o({...t,...P})}})}},l={render:function(){const[e,r]=n.useState(!0),[t,o]=n.useState({...c,kind:"segment",color:"green",lineStyle:"dashed"});return m(s,{...t,expanded:e,onToggle:r,onChangeProps:P=>{o({...t,...P})}})}};p.__docgenInfo={description:"",methods:[],displayName:"Default"};var h,f,S;p.parameters={...p.parameters,docs:{...(h=p.parameters)==null?void 0:h.docs,source:{originalSource:`(args): React.ReactElement => { return ; }`,...(S=(f=p.parameters)==null?void 0:f.docs)==null?void 0:S.source}}};var x,R,L;d.parameters={...d.parameters,docs:{...(x=d.parameters)==null?void 0:x.docs,source:{originalSource:`{ render: function Render() { diff --git a/assets/locked-point-settings.stories-hrM-9C8k.js b/assets/locked-point-settings.stories-hrM-9C8k.js index 83ed560015..a4646b32db 100644 --- a/assets/locked-point-settings.stories-hrM-9C8k.js +++ b/assets/locked-point-settings.stories-hrM-9C8k.js @@ -1,4 +1,4 @@ -import{j as c}from"./jsx-runtime-FVsy8kgq.js";import{r as s}from"./index-TT1qJ6UJ.js";import{L as i}from"./locked-point-settings-wAoKZaB8.js";import{g as T}from"./util-EIbodz9l.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./locked-figure-aria-mxtuWC2p.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./locked-label-settings-XMKrDtPv.js";import"./scrollless-number-text-field-U5Bx_xXb.js";import"./color-select-Xh8LIYQw.js";import"./labeled-switch-zVOryGbL.js";const Ur={title:"PerseusEditor/Components/Locked Point Settings",component:i},t=a=>c(i,{...a}),u={...T("point"),onChangeProps:()=>{},onMove:()=>{},onRemove:()=>{}};t.args=u;const n={render:function(){const[o,e]=s.useState(u);return c(i,{...o,onChangeProps:p=>{e({...o,...p})}})}};n.parameters={chromatic:{disableSnapshot:!0}};const m={render:function(){const[o,e]=s.useState(!0),[r,p]=s.useState(u);return c(i,{...r,expanded:o,onToggle:e,onChangeProps:P=>{p({...r,...P})}})}},d={render:function(){const[o,e]=s.useState(!0),[r,p]=s.useState(u);return c(i,{...r,expanded:o,onToggle:e,onChangeProps:P=>{p({...r,...P})}})}};t.__docgenInfo={description:"",methods:[],displayName:"Default"};var l,g,f;t.parameters={...t.parameters,docs:{...(l=t.parameters)==null?void 0:l.docs,source:{originalSource:`(args): React.ReactElement => { +import{j as c}from"./jsx-runtime-FVsy8kgq.js";import{r as s}from"./index-TT1qJ6UJ.js";import{L as i}from"./locked-point-settings-wAoKZaB8.js";import{g as T}from"./util-EIbodz9l.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./locked-figure-aria-mxtuWC2p.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./locked-label-settings-XMKrDtPv.js";import"./scrollless-number-text-field-U5Bx_xXb.js";import"./color-select-Xh8LIYQw.js";import"./labeled-switch-zVOryGbL.js";const Ur={title:"PerseusEditor/Components/Locked Point Settings",component:i},t=a=>c(i,{...a}),u={...T("point"),onChangeProps:()=>{},onMove:()=>{},onRemove:()=>{}};t.args=u;const n={render:function(){const[o,e]=s.useState(u);return c(i,{...o,onChangeProps:p=>{e({...o,...p})}})}};n.parameters={chromatic:{disableSnapshot:!0}};const m={render:function(){const[o,e]=s.useState(!0),[r,p]=s.useState(u);return c(i,{...r,expanded:o,onToggle:e,onChangeProps:P=>{p({...r,...P})}})}},d={render:function(){const[o,e]=s.useState(!0),[r,p]=s.useState(u);return c(i,{...r,expanded:o,onToggle:e,onChangeProps:P=>{p({...r,...P})}})}};t.__docgenInfo={description:"",methods:[],displayName:"Default"};var l,g,f;t.parameters={...t.parameters,docs:{...(l=t.parameters)==null?void 0:l.docs,source:{originalSource:`(args): React.ReactElement => { return ; }`,...(f=(g=t.parameters)==null?void 0:g.docs)==null?void 0:f.source}}};var h,x,S;n.parameters={...n.parameters,docs:{...(h=n.parameters)==null?void 0:h.docs,source:{originalSource:`{ render: function Render() { diff --git a/assets/locked-polygon-settings.stories-EDEmE--3.js b/assets/locked-polygon-settings.stories-EDEmE--3.js index a86d8225a3..13a17b77bf 100644 --- a/assets/locked-polygon-settings.stories-EDEmE--3.js +++ b/assets/locked-polygon-settings.stories-EDEmE--3.js @@ -1,4 +1,4 @@ -import{j as d}from"./jsx-runtime-FVsy8kgq.js";import{r as a}from"./index-TT1qJ6UJ.js";import{L as e}from"./locked-polygon-settings-FI5GR0gw.js";import{g as E}from"./util-EIbodz9l.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./locked-label-settings-XMKrDtPv.js";import"./components-yT7oveOH.js";import"./scrollless-number-text-field-U5Bx_xXb.js";import"./color-select-Xh8LIYQw.js";import"./locked-figure-aria-mxtuWC2p.js";import"./labeled-switch-zVOryGbL.js";import"./line-stroke-select-OYlhdy6-.js";const xr={title:"PerseusEditor/Components/Locked Polygon Settings",component:e},o=i=>d(e,{...i}),c={...E("polygon"),onChangeProps:()=>{},onMove:()=>{},onRemove:()=>{}};o.args=c;const r={render:function(){const[t,m]=a.useState(c);return d(e,{...t,onChangeProps:s=>{m({...t,...s})}})}};r.parameters={chromatic:{disableSnapshot:!0}};const p={render:function(){const[t,m]=a.useState(!0),[n,s]=a.useState(c);return d(e,{...n,expanded:t,onToggle:m,onChangeProps:y=>{s({...n,...y})}})}};o.__docgenInfo={description:"",methods:[],displayName:"Default"};var u,l,P;o.parameters={...o.parameters,docs:{...(u=o.parameters)==null?void 0:u.docs,source:{originalSource:`(args): React.ReactElement => { +import{j as d}from"./jsx-runtime-FVsy8kgq.js";import{r as a}from"./index-TT1qJ6UJ.js";import{L as e}from"./locked-polygon-settings-FI5GR0gw.js";import{g as E}from"./util-EIbodz9l.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./locked-label-settings-XMKrDtPv.js";import"./components-yT7oveOH.js";import"./scrollless-number-text-field-U5Bx_xXb.js";import"./color-select-Xh8LIYQw.js";import"./locked-figure-aria-mxtuWC2p.js";import"./labeled-switch-zVOryGbL.js";import"./line-stroke-select-OYlhdy6-.js";const xr={title:"PerseusEditor/Components/Locked Polygon Settings",component:e},o=i=>d(e,{...i}),c={...E("polygon"),onChangeProps:()=>{},onMove:()=>{},onRemove:()=>{}};o.args=c;const r={render:function(){const[t,m]=a.useState(c);return d(e,{...t,onChangeProps:s=>{m({...t,...s})}})}};r.parameters={chromatic:{disableSnapshot:!0}};const p={render:function(){const[t,m]=a.useState(!0),[n,s]=a.useState(c);return d(e,{...n,expanded:t,onToggle:m,onChangeProps:y=>{s({...n,...y})}})}};o.__docgenInfo={description:"",methods:[],displayName:"Default"};var u,l,P;o.parameters={...o.parameters,docs:{...(u=o.parameters)==null?void 0:u.docs,source:{originalSource:`(args): React.ReactElement => { return ; }`,...(P=(l=o.parameters)==null?void 0:l.docs)==null?void 0:P.source}}};var g,f,h;r.parameters={...r.parameters,docs:{...(g=r.parameters)==null?void 0:g.docs,source:{originalSource:`{ render: function Render() { diff --git a/assets/locked-vector-settings.stories-L6i9CDNV.js b/assets/locked-vector-settings.stories-L6i9CDNV.js index a8e01b9cc7..749921a9f4 100644 --- a/assets/locked-vector-settings.stories-L6i9CDNV.js +++ b/assets/locked-vector-settings.stories-L6i9CDNV.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-FVsy8kgq.js";import{r as R}from"./index-TT1qJ6UJ.js";import{L as e}from"./locked-vector-settings-VEpB_970.js";import{g as k}from"./util-EIbodz9l.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./svg-image-4Vh9uTQ6.js";import"./index-awljIyHI.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./index-dnMhQZ-1.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./index-7vsPyIck.js";import"./index-J2t_5nK1.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./choice-I73s7vIV.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./media-queries-gbofTbz-.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./locked-figure-aria-mxtuWC2p.js";import"./article-renderer-HHw6mvZH.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./locked-label-settings-XMKrDtPv.js";import"./scrollless-number-text-field-U5Bx_xXb.js";import"./color-select-Xh8LIYQw.js";import"./line-swatch-O74cEI5A.js";const ft={title:"PerseusEditor/Components/Locked Vector Settings",component:e},r=i=>n(e,{...i}),a={...k("vector"),onChangeProps:()=>{},onMove:()=>{},onRemove:()=>{}};r.args=a;const p={render:function(){const[t,s]=R.useState(a);return n(e,{...t,expanded:!0,onChangeProps:m=>{s({...t,...m})}})}},o={render:function(){const[t,s]=R.useState(a);return n(e,{...t,points:[[0,0],[0,0]],expanded:!0,onChangeProps:m=>{s({...t,...m})}})}};r.__docgenInfo={description:"",methods:[],displayName:"Default"};var d,c,u;r.parameters={...r.parameters,docs:{...(d=r.parameters)==null?void 0:d.docs,source:{originalSource:`(args): React.ReactElement => { +import{j as n}from"./jsx-runtime-FVsy8kgq.js";import{r as R}from"./index-TT1qJ6UJ.js";import{L as e}from"./locked-vector-settings-VEpB_970.js";import{g as k}from"./util-EIbodz9l.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./svg-image-4Vh9uTQ6.js";import"./index-awljIyHI.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./index-dnMhQZ-1.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./index-7vsPyIck.js";import"./index-J2t_5nK1.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./choice-I73s7vIV.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./media-queries-gbofTbz-.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./locked-figure-aria-mxtuWC2p.js";import"./article-renderer-HHw6mvZH.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./locked-label-settings-XMKrDtPv.js";import"./scrollless-number-text-field-U5Bx_xXb.js";import"./color-select-Xh8LIYQw.js";import"./line-swatch-O74cEI5A.js";const ft={title:"PerseusEditor/Components/Locked Vector Settings",component:e},r=i=>n(e,{...i}),a={...k("vector"),onChangeProps:()=>{},onMove:()=>{},onRemove:()=>{}};r.args=a;const p={render:function(){const[t,s]=R.useState(a);return n(e,{...t,expanded:!0,onChangeProps:m=>{s({...t,...m})}})}},o={render:function(){const[t,s]=R.useState(a);return n(e,{...t,points:[[0,0],[0,0]],expanded:!0,onChangeProps:m=>{s({...t,...m})}})}};r.__docgenInfo={description:"",methods:[],displayName:"Default"};var d,c,u;r.parameters={...r.parameters,docs:{...(d=r.parameters)==null?void 0:d.docs,source:{originalSource:`(args): React.ReactElement => { return ; }`,...(u=(c=r.parameters)==null?void 0:c.docs)==null?void 0:u.source}}};var l,P,g;p.parameters={...p.parameters,docs:{...(l=p.parameters)==null?void 0:l.docs,source:{originalSource:`{ render: function Render() { diff --git a/assets/marker.stories-trCGe7a6.js b/assets/marker.stories-trCGe7a6.js index 2d28baebb9..f8510ae962 100644 --- a/assets/marker.stories-trCGe7a6.js +++ b/assets/marker.stories-trCGe7a6.js @@ -1,4 +1,4 @@ -import{j as i}from"./jsx-runtime-FVsy8kgq.js";import{a as p}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{l as h}from"./index-awljIyHI.js";import{M as u}from"./marker-9Sjiskse.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./global-colors-VIVU4Od4.js";import"./util-qk2aeK8X.js";import"./form-wrapped-text-field-A2kf-LD-.js";const co={title:"PerseusEditor/Widgets/Label Image/Marker"},y=h.StyleSheet.create({wrapper:{marginTop:150,position:"relative",width:32,height:32}}),l=m=>i("div",{className:h.css(y.wrapper),children:i(u,{...m})}),o=m=>i(l,{...{answers:[],choices:[],label:"",onChange:(...r)=>{p("onChange")(...r)},onRemove:(...r)=>{p("onRemove")(...r)},x:50,y:50}}),t=m=>i(l,{...{answers:["BMW","Ferrari"],choices:["Lamborghini","BMW","Volkswagen","Fiat","Porsche","Ferrari"],label:"Automotive",onChange:(...r)=>{p("onChange")(...r)},onRemove:(...r)=>{p("onRemove")(...r)},x:50,y:50}});o.__docgenInfo={description:"",methods:[],displayName:"Empty"};t.__docgenInfo={description:"",methods:[],displayName:"WithAnswers"};var e,s,n;o.parameters={...o.parameters,docs:{...(e=o.parameters)==null?void 0:e.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { +import{j as i}from"./jsx-runtime-FVsy8kgq.js";import{a as p}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{l as h}from"./index-awljIyHI.js";import{M as u}from"./marker-9Sjiskse.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./global-colors-VIVU4Od4.js";import"./util-qk2aeK8X.js";import"./form-wrapped-text-field-A2kf-LD-.js";const co={title:"PerseusEditor/Widgets/Label Image/Marker"},y=h.StyleSheet.create({wrapper:{marginTop:150,position:"relative",width:32,height:32}}),l=m=>i("div",{className:h.css(y.wrapper),children:i(u,{...m})}),o=m=>i(l,{...{answers:[],choices:[],label:"",onChange:(...r)=>{p("onChange")(...r)},onRemove:(...r)=>{p("onRemove")(...r)},x:50,y:50}}),t=m=>i(l,{...{answers:["BMW","Ferrari"],choices:["Lamborghini","BMW","Volkswagen","Fiat","Porsche","Ferrari"],label:"Automotive",onChange:(...r)=>{p("onChange")(...r)},onRemove:(...r)=>{p("onRemove")(...r)},x:50,y:50}});o.__docgenInfo={description:"",methods:[],displayName:"Empty"};t.__docgenInfo={description:"",methods:[],displayName:"WithAnswers"};var e,s,n;o.parameters={...o.parameters,docs:{...(e=o.parameters)==null?void 0:e.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { const props = ({ answers: [], choices: [], diff --git a/assets/matcher-editor.stories-IoTXWeVR.js b/assets/matcher-editor.stories-IoTXWeVR.js index 7faac167f3..7fec778a50 100644 --- a/assets/matcher-editor.stories-IoTXWeVR.js +++ b/assets/matcher-editor.stories-IoTXWeVR.js @@ -1,3 +1,3 @@ -import{j as m}from"./jsx-runtime-FVsy8kgq.js";import{a as p}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{M as e}from"./matcher-editor-PqRjEL6H.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./index-0C4KXdeC.js";const $r={title:"PerseusEditor/Widgets/Matcher Editor"},r=a=>m(e,{onChange:p("onChange")});r.__docgenInfo={description:"",methods:[],displayName:"Default"};var t,o,i;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { +import{j as m}from"./jsx-runtime-FVsy8kgq.js";import{a as p}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{M as e}from"./matcher-editor-PqRjEL6H.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./index-0C4KXdeC.js";const $r={title:"PerseusEditor/Widgets/Matcher Editor"},r=a=>m(e,{onChange:p("onChange")});r.__docgenInfo={description:"",methods:[],displayName:"Default"};var t,o,i;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { return ; }`,...(i=(o=r.parameters)==null?void 0:o.docs)==null?void 0:i.source}}};const rt=["Default"];export{r as Default,rt as __namedExportsOrder,$r as default}; diff --git a/assets/matcher.stories-VSohpxqD.js b/assets/matcher.stories-VSohpxqD.js index 0529bc2cf4..755515f90a 100644 --- a/assets/matcher.stories-VSohpxqD.js +++ b/assets/matcher.stories-VSohpxqD.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-FVsy8kgq.js";import{R as m}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const p={content:`**Match each claim with its supporting evidence.** +import{j as e}from"./jsx-runtime-FVsy8kgq.js";import{R as m}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const p={content:`**Match each claim with its supporting evidence.** [[☃ matcher 1]]`,images:{},widgets:{"matcher 1":{version:{major:0,minor:0},type:"matcher",graded:!0,options:{labels:["**Claims**","**Evidence**"],padding:!0,orderMatters:!1,right:["Medium-sized stars typically exist for roughly 10 billion years","The current trajectory of the Earth’s tectonic plate movement","The life cycle of medium-sized stars includes a red giant stage and ends in a whimper as a white dwarf","Rapid escalation of greenhouse gas emissions","The current trajectory of the Milky Way galaxy and those in its immediate proximity"],left:["Our Sun will run out of fuel and die in around 5 billion years ","Plate tectonics will rearrange the continents: the Pacific will narrow, bringing Australia closer to the Americas, and the Atlantic will expand to form the largest of the oceans ","Our Sun will run out of hydrogen, swell into a red giant, gobble up the inner rocky planets, and then collapse and die ","Average global temperatures will rise ","In 3 to 4 billion years, our galaxy will begin a slow collision with its closest large neighbor, Andromeda "]}}}},Xt={title:"Perseus/Widgets/Matcher"},t=a=>e(m,{question:p});t.__docgenInfo={description:"",methods:[],displayName:"Question1"};var r,i,o;t.parameters={...t.parameters,docs:{...(r=t.parameters)==null?void 0:r.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { return ; diff --git a/assets/math-input-JZMGF6RZ.js b/assets/math-input-JZMGF6RZ.js index 840c71683a..1d592cbbfc 100644 --- a/assets/math-input-JZMGF6RZ.js +++ b/assets/math-input-JZMGF6RZ.js @@ -1,4 +1,4 @@ -import{j as i,a as v,F as q}from"./jsx-runtime-FVsy8kgq.js";import"./prop-types-SKtvHVtl.js";import{a as x,c as K,g as h,m as _}from"./key-translator-Bl2XtQm9.js";import{C as A,K as B}from"./mobile-keypad-wPUeR8mM.js";import{M as E,c as V}from"./button-assets-txIojR3b.js";import{C as D}from"./index-2dmvOE3q.js";import{V as R}from"./index-6h5t6F0w.js";import{P as O,a as U}from"./index-BPSWBbj5.js";import{c as l,s as k}from"./index-deFLJwr4.js";import{e as W}from"./index-h_CiYGGb.js";import{l as S}from"./index-awljIyHI.js";import{c as I}from"./index-dnMhQZ-1.js";import{_ as L,$ as P}from"./jquery-yG1GhClm.js";import{r as b}from"./index-TT1qJ6UJ.js";import{P as H}from"./i18n-context-P5sgPFep.js";var n=[];for(var y=0;y<256;++y)n.push((y+256).toString(16).slice(1));function N(a,e=0){return(n[a[e+0]]+n[a[e+1]]+n[a[e+2]]+n[a[e+3]]+"-"+n[a[e+4]]+n[a[e+5]]+"-"+n[a[e+6]]+n[a[e+7]]+"-"+n[a[e+8]]+n[a[e+9]]+"-"+n[a[e+10]]+n[a[e+11]]+n[a[e+12]]+n[a[e+13]]+n[a[e+14]]+n[a[e+15]]).toLowerCase()}var p,M=new Uint8Array(16);function j(){if(!p&&(p=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!p))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return p(M)}var Z=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const w={randomUUID:Z};function $(a,e,t){if(w.randomUUID&&!e&&!a)return w.randomUUID();a=a||{};var r=a.random||(a.rng||j)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,e){t=t||0;for(var s=0;s<16;++s)e[t+s]=r[s];return e}return N(r)}const z=S.StyleSheet.create({srOnly:{border:0,clip:"rect(0,0,0,0)",height:1,margin:-1,overflow:"hidden",padding:0,position:"absolute",width:1}}),G=(a,e)=>{let t=null;return(...r)=>{t&&clearTimeout(t),t=window.setTimeout(()=>{a(...r)},e)}},u=class u extends b.Component{constructor(){super(...arguments),this.__mathFieldWrapperRef=null,this.__mathField=null,this.state={focused:!1,keypadOpen:this.props.buttonsVisible==="always",cursorContext:A.NONE},this.insert=e=>{const t=this.mathField(),{locale:r}=this.context,o={...x(r,this.context.strings),FRAC:d=>{const F=d.latex();d.typedText("/"),d.latex()===F&&d.cmd("\\frac")}}[e];if(o){o(t,e),t==null||t.focus();return}L(e).isFunction()?e(t):e[0]==="\\"?t==null||t.cmd(e).focus():t==null||t.write(e).focus(),t==null||t.focus()},this.mathField=()=>{var e;if(!this.__mathField&&this.__mathFieldWrapperRef){const{locale:t}=this.context;this.__mathField=K(this.__mathFieldWrapperRef,t,this.props.mathInputStrings,r=>({...r,handlers:{edit:G(s=>{let o=s.latex();if(o=o.replace(/<>/g,"\\ne"),V(t,this.props.convertDotToTimes)){o=o.replace(/\\cdot/g,"\\times");const d=s.cursor()[_.L];d&&d.ctrlSeq==="\\cdot "&&(s.controller().backspace(),s.cmd("\\times"))}else o=o.replace(/\\times/g,"\\cdot");this.props.value!==o&&this.props.onChange(o),this.setState({cursorContext:h(s)})},100),enter:()=>{this.__mathFieldWrapperRef&&P(this.__mathFieldWrapperRef).submit()},upOutOf:s=>{s.typedText("^")}}}))}return(e=this.__mathField)==null||e.setAriaLabel(this.props.ariaLabel),this.__mathField},this.focus=()=>{var e;(e=this.mathField())==null||e.focus(),this.setState({focused:!0})},this.blur=()=>this.setState({focused:!1}),this.handleKeypadPress=(e,t)=>{const{locale:r}=this.context,s=x(r,this.context.strings)[e],o=this.mathField();o&&(s&&s(o,e),this.setState({cursorContext:h(o)})),t.type==="click"&&this.focus()}}componentDidMount(){var e;(e=this.mathField())==null||e.latex(this.props.value)}openKeypad(){this.props.buttonsVisible!=="never"&&this.setState({keypadOpen:!0})}closeKeypad(){this.setState({keypadOpen:!1})}render(){let e=I({"perseus-math-input":!0,"mq-editable-field":!0,"mq-math-mode":!0});const t=$().slice(0,8);return this.props.className&&(e=e+" "+this.props.className),i(R,{style:[c.outerWrapper,this.state.focused&&c.wrapperFocused,this.props.hasError&&c.wrapperError],children:v("div",{style:{display:"flex",padding:1},onClick:r=>{r.stopPropagation();const s=this.mathField();s&&this.setState({cursorContext:h(s)})},children:[i("span",{className:e,ref:r=>this.__mathFieldWrapperRef=r,onFocus:()=>this.focus(),onBlur:()=>this.blur()}),i(O,{rootBoundary:"document",opened:this.state.keypadOpen,onClose:()=>this.closeKeypad(),dismissEnabled:!0,"aria-label":this.context.strings.mathInputTitle,"aria-describedby":`popover-content-${t}`,content:()=>{var r;return v(q,{children:[i(W,{id:`popover-content-${t}`,style:z.srOnly,children:this.context.strings.mathInputDescription}),i(U,{closeButtonVisible:!0,style:c.popoverContent,children:i(B,{onAnalyticsEvent:this.props.onAnalyticsEvent,extraKeys:this.props.extraKeys,onClickKey:this.handleKeypadPress,cursorContext:this.state.cursorContext,convertDotToTimes:this.props.convertDotToTimes,...this.props.keypadButtonSets??J((r=this.props)==null?void 0:r.buttonSets)})})]})},children:this.props.buttonsVisible==="never"?i(C,{hovered:!1,focused:!1,active:!1}):i(D,{"aria-label":this.state.keypadOpen?this.context.strings.closeKeypad:this.context.strings.openKeypad,role:"button",onClick:()=>this.state.keypadOpen?this.closeKeypad():this.openKeypad(),children:r=>i(C,{active:this.state.keypadOpen,...r})})})]})})}};u.contextType=H,u.defaultProps={value:"",convertDotToTimes:!1};let f=u;const m=class m extends b.Component{constructor(){super(...arguments),this.inputRef=b.createRef()}blur(){var e;(e=this.inputRef.current)==null||e.blur()}focus(){var e;(e=this.inputRef.current)==null||e.focus()}insert(e){var t;(t=this.inputRef.current)==null||t.insert(e)}render(){return i(f,{...this.props,ref:this.inputRef,mathInputStrings:this.context.strings})}};m.contextType=E,m.defaultProps={ariaLabel:"Math input"};let g=m;const C=({hovered:a,focused:e,active:t})=>{let r;switch(!0){case(e||t):r=l.white;break;case a:r=l.blue;break;default:r=l.offBlack;break}const s=t||e?c.iconActive:c.iconInactive;return i(R,{style:[c.iconContainer,s],children:i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:r,viewBox:"0 0 256 256",children:i("path",{d:"M112,72a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16h64A8,8,0,0,1,112,72Zm-8,104H80V152a8,8,0,0,0-16,0v24H40a8,8,0,0,0,0,16H64v24a8,8,0,0,0,16,0V192h24a8,8,0,0,0,0-16Zm48,0h64a8,8,0,0,0,0-16H152a8,8,0,0,0,0,16Zm64,16H152a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16Zm-61.66-90.34a8,8,0,0,0,11.32,0L184,83.31l18.34,18.35a8,8,0,0,0,11.32-11.32L195.31,72l18.35-18.34a8,8,0,0,0-11.32-11.32L184,60.69,165.66,42.34a8,8,0,0,0-11.32,11.32L172.69,72,154.34,90.34A8,8,0,0,0,154.34,101.66Z"})})})},J=a=>{const e={};return a&&a.forEach(t=>{switch(t){case"advanced relations":e.advancedRelations=!0;break;case"basic relations":e.basicRelations=!0;break;case"basic+div":e.divisionKey=!0;break;case"logarithms":e.logarithms=!0;break;case"prealgebra":e.preAlgebra=!0;break;case"trig":e.trigonometry=!0;break}}),e},T={borderWidth:2,borderColor:l.blue,margin:-1},c=S.StyleSheet.create({iconContainer:{display:"flex",justifyContent:"center",height:"100%",padding:k.xxxSmall_4,borderRadius:1},iconInactive:{border:"2px solid transparent",backgroundColor:l.offBlack8},iconActive:{border:`2px solid ${l.white}`,backgroundColor:l.offBlack64},outerWrapper:{display:"inline-block",borderStyle:"solid",borderWidth:1,borderColor:l.offBlack50,borderRadius:3,background:l.white,":hover":T},wrapperFocused:T,wrapperError:{borderColor:l.red,background:l.fadedRed8,":hover":{borderColor:l.red}},popoverContent:{padding:0,paddingBottom:k.xxSmall_6,maxWidth:"initial"}});g.__docgenInfo={description:"",methods:[{name:"blur",docblock:null,modifiers:[],params:[],returns:null},{name:"focus",docblock:null,modifiers:[],params:[],returns:null},{name:"insert",docblock:null,modifiers:[],params:[{name:"value",optional:!1,type:{name:"any"}}],returns:null}],displayName:"MathInput",props:{className:{required:!1,tsType:{name:"string"},description:""},value:{required:!0,tsType:{name:"string"},description:""},onChange:{required:!0,tsType:{name:"any"},description:""},convertDotToTimes:{required:!0,tsType:{name:"boolean"},description:""},buttonSets:{required:!1,tsType:{name:"ReadonlyArray",elements:[{name:"union",raw:`| "basic" +import{j as i,a as v,F as q}from"./jsx-runtime-FVsy8kgq.js";import"./prop-types-SKtvHVtl.js";import{a as x,c as K,g as h,m as _}from"./key-translator-Bl2XtQm9.js";import{C as A,K as B}from"./mobile-keypad-wPUeR8mM.js";import{M as E,c as V}from"./button-assets-txIojR3b.js";import{C as D}from"./index-WNT3sUKf.js";import{V as R}from"./index-6h5t6F0w.js";import{P as O,a as U}from"./index-BPSWBbj5.js";import{c as l,s as k}from"./index-deFLJwr4.js";import{e as W}from"./index-h_CiYGGb.js";import{l as S}from"./index-awljIyHI.js";import{c as I}from"./index-dnMhQZ-1.js";import{_ as L,$ as P}from"./jquery-yG1GhClm.js";import{r as b}from"./index-TT1qJ6UJ.js";import{P as H}from"./i18n-context-P5sgPFep.js";var n=[];for(var y=0;y<256;++y)n.push((y+256).toString(16).slice(1));function N(a,e=0){return(n[a[e+0]]+n[a[e+1]]+n[a[e+2]]+n[a[e+3]]+"-"+n[a[e+4]]+n[a[e+5]]+"-"+n[a[e+6]]+n[a[e+7]]+"-"+n[a[e+8]]+n[a[e+9]]+"-"+n[a[e+10]]+n[a[e+11]]+n[a[e+12]]+n[a[e+13]]+n[a[e+14]]+n[a[e+15]]).toLowerCase()}var p,M=new Uint8Array(16);function j(){if(!p&&(p=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!p))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return p(M)}var Z=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const w={randomUUID:Z};function $(a,e,t){if(w.randomUUID&&!e&&!a)return w.randomUUID();a=a||{};var r=a.random||(a.rng||j)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,e){t=t||0;for(var s=0;s<16;++s)e[t+s]=r[s];return e}return N(r)}const z=S.StyleSheet.create({srOnly:{border:0,clip:"rect(0,0,0,0)",height:1,margin:-1,overflow:"hidden",padding:0,position:"absolute",width:1}}),G=(a,e)=>{let t=null;return(...r)=>{t&&clearTimeout(t),t=window.setTimeout(()=>{a(...r)},e)}},u=class u extends b.Component{constructor(){super(...arguments),this.__mathFieldWrapperRef=null,this.__mathField=null,this.state={focused:!1,keypadOpen:this.props.buttonsVisible==="always",cursorContext:A.NONE},this.insert=e=>{const t=this.mathField(),{locale:r}=this.context,o={...x(r,this.context.strings),FRAC:d=>{const F=d.latex();d.typedText("/"),d.latex()===F&&d.cmd("\\frac")}}[e];if(o){o(t,e),t==null||t.focus();return}L(e).isFunction()?e(t):e[0]==="\\"?t==null||t.cmd(e).focus():t==null||t.write(e).focus(),t==null||t.focus()},this.mathField=()=>{var e;if(!this.__mathField&&this.__mathFieldWrapperRef){const{locale:t}=this.context;this.__mathField=K(this.__mathFieldWrapperRef,t,this.props.mathInputStrings,r=>({...r,handlers:{edit:G(s=>{let o=s.latex();if(o=o.replace(/<>/g,"\\ne"),V(t,this.props.convertDotToTimes)){o=o.replace(/\\cdot/g,"\\times");const d=s.cursor()[_.L];d&&d.ctrlSeq==="\\cdot "&&(s.controller().backspace(),s.cmd("\\times"))}else o=o.replace(/\\times/g,"\\cdot");this.props.value!==o&&this.props.onChange(o),this.setState({cursorContext:h(s)})},100),enter:()=>{this.__mathFieldWrapperRef&&P(this.__mathFieldWrapperRef).submit()},upOutOf:s=>{s.typedText("^")}}}))}return(e=this.__mathField)==null||e.setAriaLabel(this.props.ariaLabel),this.__mathField},this.focus=()=>{var e;(e=this.mathField())==null||e.focus(),this.setState({focused:!0})},this.blur=()=>this.setState({focused:!1}),this.handleKeypadPress=(e,t)=>{const{locale:r}=this.context,s=x(r,this.context.strings)[e],o=this.mathField();o&&(s&&s(o,e),this.setState({cursorContext:h(o)})),t.type==="click"&&this.focus()}}componentDidMount(){var e;(e=this.mathField())==null||e.latex(this.props.value)}openKeypad(){this.props.buttonsVisible!=="never"&&this.setState({keypadOpen:!0})}closeKeypad(){this.setState({keypadOpen:!1})}render(){let e=I({"perseus-math-input":!0,"mq-editable-field":!0,"mq-math-mode":!0});const t=$().slice(0,8);return this.props.className&&(e=e+" "+this.props.className),i(R,{style:[c.outerWrapper,this.state.focused&&c.wrapperFocused,this.props.hasError&&c.wrapperError],children:v("div",{style:{display:"flex",padding:1},onClick:r=>{r.stopPropagation();const s=this.mathField();s&&this.setState({cursorContext:h(s)})},children:[i("span",{className:e,ref:r=>this.__mathFieldWrapperRef=r,onFocus:()=>this.focus(),onBlur:()=>this.blur()}),i(O,{rootBoundary:"document",opened:this.state.keypadOpen,onClose:()=>this.closeKeypad(),dismissEnabled:!0,"aria-label":this.context.strings.mathInputTitle,"aria-describedby":`popover-content-${t}`,content:()=>{var r;return v(q,{children:[i(W,{id:`popover-content-${t}`,style:z.srOnly,children:this.context.strings.mathInputDescription}),i(U,{closeButtonVisible:!0,style:c.popoverContent,children:i(B,{onAnalyticsEvent:this.props.onAnalyticsEvent,extraKeys:this.props.extraKeys,onClickKey:this.handleKeypadPress,cursorContext:this.state.cursorContext,convertDotToTimes:this.props.convertDotToTimes,...this.props.keypadButtonSets??J((r=this.props)==null?void 0:r.buttonSets)})})]})},children:this.props.buttonsVisible==="never"?i(C,{hovered:!1,focused:!1,active:!1}):i(D,{"aria-label":this.state.keypadOpen?this.context.strings.closeKeypad:this.context.strings.openKeypad,role:"button",onClick:()=>this.state.keypadOpen?this.closeKeypad():this.openKeypad(),children:r=>i(C,{active:this.state.keypadOpen,...r})})})]})})}};u.contextType=H,u.defaultProps={value:"",convertDotToTimes:!1};let f=u;const m=class m extends b.Component{constructor(){super(...arguments),this.inputRef=b.createRef()}blur(){var e;(e=this.inputRef.current)==null||e.blur()}focus(){var e;(e=this.inputRef.current)==null||e.focus()}insert(e){var t;(t=this.inputRef.current)==null||t.insert(e)}render(){return i(f,{...this.props,ref:this.inputRef,mathInputStrings:this.context.strings})}};m.contextType=E,m.defaultProps={ariaLabel:"Math input"};let g=m;const C=({hovered:a,focused:e,active:t})=>{let r;switch(!0){case(e||t):r=l.white;break;case a:r=l.blue;break;default:r=l.offBlack;break}const s=t||e?c.iconActive:c.iconInactive;return i(R,{style:[c.iconContainer,s],children:i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:r,viewBox:"0 0 256 256",children:i("path",{d:"M112,72a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16h64A8,8,0,0,1,112,72Zm-8,104H80V152a8,8,0,0,0-16,0v24H40a8,8,0,0,0,0,16H64v24a8,8,0,0,0,16,0V192h24a8,8,0,0,0,0-16Zm48,0h64a8,8,0,0,0,0-16H152a8,8,0,0,0,0,16Zm64,16H152a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16Zm-61.66-90.34a8,8,0,0,0,11.32,0L184,83.31l18.34,18.35a8,8,0,0,0,11.32-11.32L195.31,72l18.35-18.34a8,8,0,0,0-11.32-11.32L184,60.69,165.66,42.34a8,8,0,0,0-11.32,11.32L172.69,72,154.34,90.34A8,8,0,0,0,154.34,101.66Z"})})})},J=a=>{const e={};return a&&a.forEach(t=>{switch(t){case"advanced relations":e.advancedRelations=!0;break;case"basic relations":e.basicRelations=!0;break;case"basic+div":e.divisionKey=!0;break;case"logarithms":e.logarithms=!0;break;case"prealgebra":e.preAlgebra=!0;break;case"trig":e.trigonometry=!0;break}}),e},T={borderWidth:2,borderColor:l.blue,margin:-1},c=S.StyleSheet.create({iconContainer:{display:"flex",justifyContent:"center",height:"100%",padding:k.xxxSmall_4,borderRadius:1},iconInactive:{border:"2px solid transparent",backgroundColor:l.offBlack8},iconActive:{border:`2px solid ${l.white}`,backgroundColor:l.offBlack64},outerWrapper:{display:"inline-block",borderStyle:"solid",borderWidth:1,borderColor:l.offBlack50,borderRadius:3,background:l.white,":hover":T},wrapperFocused:T,wrapperError:{borderColor:l.red,background:l.fadedRed8,":hover":{borderColor:l.red}},popoverContent:{padding:0,paddingBottom:k.xxSmall_6,maxWidth:"initial"}});g.__docgenInfo={description:"",methods:[{name:"blur",docblock:null,modifiers:[],params:[],returns:null},{name:"focus",docblock:null,modifiers:[],params:[],returns:null},{name:"insert",docblock:null,modifiers:[],params:[{name:"value",optional:!1,type:{name:"any"}}],returns:null}],displayName:"MathInput",props:{className:{required:!1,tsType:{name:"string"},description:""},value:{required:!0,tsType:{name:"string"},description:""},onChange:{required:!0,tsType:{name:"any"},description:""},convertDotToTimes:{required:!0,tsType:{name:"boolean"},description:""},buttonSets:{required:!1,tsType:{name:"ReadonlyArray",elements:[{name:"union",raw:`| "basic" | "basic+div" | "trig" | "prealgebra" diff --git a/assets/math-input.stories-OWlCE0fl.js b/assets/math-input.stories-OWlCE0fl.js index 3bb1ef9e12..fa950cf68a 100644 --- a/assets/math-input.stories-OWlCE0fl.js +++ b/assets/math-input.stories-OWlCE0fl.js @@ -1,4 +1,4 @@ -import{a as y}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{M as h}from"./math-input-JZMGF6RZ.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./jsx-runtime-FVsy8kgq.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./prop-types-SKtvHVtl.js";import"./version-akiLXZts.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./Popper-kGnKOid7.js";import"./index-h_CiYGGb.js";import"./index-dnMhQZ-1.js";import"./jquery-yG1GhClm.js";import"./i18n-context-P5sgPFep.js";const er={title:"Perseus/Components/Math Input",component:h,args:{keypadButtonSets:{advancedRelations:!0,basicRelations:!0,divisionKey:!0,logarithms:!0,preAlgebra:!0,trigonometry:!0},convertDotToTimes:!1,value:"",onChange:y("onChange"),analytics:{onAnalyticsEvent:()=>Promise.resolve()},labelText:"Math input"},argTypes:{onChange:{control:{type:null}},analytics:{control:{type:null}}},parameters:{controls:{exclude:["onChange","analytics"]}}},r={},t={args:{ariaLabel:"Sample label"}},e={args:{buttonsVisible:"always"}},o={args:{buttonsVisible:"never"}};var a,s,i;r.parameters={...r.parameters,docs:{...(a=r.parameters)==null?void 0:a.docs,source:{originalSource:"{}",...(i=(s=r.parameters)==null?void 0:s.docs)==null?void 0:i.source}}};var p,m,n;t.parameters={...t.parameters,docs:{...(p=t.parameters)==null?void 0:p.docs,source:{originalSource:`{ +import{a as y}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{M as h}from"./math-input-JZMGF6RZ.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./jsx-runtime-FVsy8kgq.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./prop-types-SKtvHVtl.js";import"./version-akiLXZts.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./Popper-kGnKOid7.js";import"./index-h_CiYGGb.js";import"./index-dnMhQZ-1.js";import"./jquery-yG1GhClm.js";import"./i18n-context-P5sgPFep.js";const er={title:"Perseus/Components/Math Input",component:h,args:{keypadButtonSets:{advancedRelations:!0,basicRelations:!0,divisionKey:!0,logarithms:!0,preAlgebra:!0,trigonometry:!0},convertDotToTimes:!1,value:"",onChange:y("onChange"),analytics:{onAnalyticsEvent:()=>Promise.resolve()},labelText:"Math input"},argTypes:{onChange:{control:{type:null}},analytics:{control:{type:null}}},parameters:{controls:{exclude:["onChange","analytics"]}}},r={},t={args:{ariaLabel:"Sample label"}},e={args:{buttonsVisible:"always"}},o={args:{buttonsVisible:"never"}};var a,s,i;r.parameters={...r.parameters,docs:{...(a=r.parameters)==null?void 0:a.docs,source:{originalSource:"{}",...(i=(s=r.parameters)==null?void 0:s.docs)==null?void 0:i.source}}};var p,m,n;t.parameters={...t.parameters,docs:{...(p=t.parameters)==null?void 0:p.docs,source:{originalSource:`{ args: { ariaLabel: "Sample label" } diff --git a/assets/matrix.stories-3CaPxNsR.js b/assets/matrix.stories-3CaPxNsR.js index 1b6e58321f..b11c4d1104 100644 --- a/assets/matrix.stories-3CaPxNsR.js +++ b/assets/matrix.stories-3CaPxNsR.js @@ -1,4 +1,4 @@ -import{j as m}from"./jsx-runtime-FVsy8kgq.js";import{R as p}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const e={content:`**Perform the row operation, $R_3 \\leftrightarrow R_2$, on the following matrix.** +import{j as m}from"./jsx-runtime-FVsy8kgq.js";import{R as p}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const e={content:`**Perform the row operation, $R_3 \\leftrightarrow R_2$, on the following matrix.** $\\left[\\begin{array} {ccc} 5 & -2 & 1 & 1 \\\\ diff --git a/assets/multi-renderer.stories-nHsX3iNz.js b/assets/multi-renderer.stories-nHsX3iNz.js index 9a1c841a83..8d09ee892f 100644 --- a/assets/multi-renderer.stories-nHsX3iNz.js +++ b/assets/multi-renderer.stories-nHsX3iNz.js @@ -1,4 +1,4 @@ -import{j as e,a as i,F as f}from"./jsx-runtime-FVsy8kgq.js";import{V as t}from"./index-6h5t6F0w.js";import{H as d}from"./index-h_CiYGGb.js";import{l as k}from"./index-awljIyHI.js";import{B as q}from"./choice-I73s7vIV.js";import{r as g}from"./index-TT1qJ6UJ.js";import"./article-renderer-HHw6mvZH.js";import"./jquery-yG1GhClm.js";import"./util-F8-MDmsT.js";import"./phet-simulation-qZOVvVJP.js";import"./version-akiLXZts.js";import"./dependencies-d8cZibFS.js";import"./perseus-api-Nq3s7IMx.js";import{s as l}from"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./renderer-6wjvxpTF.js";import"./base-radio-m6RczYwQ.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./svg-image-4Vh9uTQ6.js";import"./hud-4BOtaFc1.js";import"./icon-R5gZamfG.js";import"./index-K9BSJPWl.js";import"./inline-icon-NjJlm7d0.js";import"./math-input-JZMGF6RZ.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./text-input-15gEhfDF.js";import"./text-list-editor-Jz35fIN1.js";import{M as T}from"./multi-items-ISSf6-13.js";import"./i18n-context-P5sgPFep.js";import"./index-IIMKO4_x.js";import{K as R}from"./ke-score-ui-VwVxZMGJ.js";import{S as A}from"./side-by-side-kGWaKY6T.js";import{s as O}from"./test-dependencies-QSTpbU20.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./index-k-0mNqHS.js";import"./input-with-examples-il70I6Ir.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./shared-4TdECMLk.js";import"./answer-choices-G9U2Ia5j.js";import"./minus-bold-ONmDo3Ve.js";import"./asset-context-I7yIqWki.js";import"./tiny-invariant-bHgPayXn.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./video-transcript-link-MKIRfGVo.js";import"./arrow-square-out-bold-090vdhrx.js";import"./stub-tag-editor-74YQ4o9G.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./choice-none-above-kJRmN7Nm.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./index-QCAhLhLD.js";import"./bundle.esm-7jAAHVxW.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const j=l.shape({blurb:l.content,question:l.content,hints:l.hints}),h={_multi:{blurb:{__type:"content",content:"",images:{},widgets:{}},hints:[{__type:"hint",content:"If two triangles are congruent, then they have the same side lengths and angle measures.",images:{},replace:!1,widgets:{}},{__type:"hint",content:"A triangle congruent to triangle $ABC$ must also have side lengths of $12$, $14$ and $20$.",images:{},replace:!1,widgets:{}},{__type:"hint",content:`The following triangle is congruent to triangle $ABC$: +import{j as e,a as i,F as f}from"./jsx-runtime-FVsy8kgq.js";import{V as t}from"./index-6h5t6F0w.js";import{H as d}from"./index-h_CiYGGb.js";import{l as k}from"./index-awljIyHI.js";import{B as q}from"./choice-I73s7vIV.js";import{r as g}from"./index-TT1qJ6UJ.js";import"./article-renderer-HHw6mvZH.js";import"./jquery-yG1GhClm.js";import"./util-F8-MDmsT.js";import"./phet-simulation-qZOVvVJP.js";import"./version-akiLXZts.js";import"./dependencies-d8cZibFS.js";import"./perseus-api-Nq3s7IMx.js";import{s as l}from"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./renderer-6wjvxpTF.js";import"./base-radio-m6RczYwQ.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./svg-image-4Vh9uTQ6.js";import"./hud-4BOtaFc1.js";import"./icon-R5gZamfG.js";import"./index-K9BSJPWl.js";import"./inline-icon-NjJlm7d0.js";import"./math-input-JZMGF6RZ.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./text-input-15gEhfDF.js";import"./text-list-editor-Jz35fIN1.js";import{M as T}from"./multi-items-ISSf6-13.js";import"./i18n-context-P5sgPFep.js";import"./index-IIMKO4_x.js";import{K as R}from"./ke-score-ui-VwVxZMGJ.js";import{S as A}from"./side-by-side-kGWaKY6T.js";import{s as O}from"./test-dependencies-QSTpbU20.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./index-k-0mNqHS.js";import"./input-with-examples-il70I6Ir.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./shared-4TdECMLk.js";import"./answer-choices-G9U2Ia5j.js";import"./minus-bold-ONmDo3Ve.js";import"./asset-context-I7yIqWki.js";import"./tiny-invariant-bHgPayXn.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./video-transcript-link-MKIRfGVo.js";import"./arrow-square-out-bold-090vdhrx.js";import"./stub-tag-editor-74YQ4o9G.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./choice-none-above-kJRmN7Nm.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./index-QCAhLhLD.js";import"./bundle.esm-7jAAHVxW.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const j=l.shape({blurb:l.content,question:l.content,hints:l.hints}),h={_multi:{blurb:{__type:"content",content:"",images:{},widgets:{}},hints:[{__type:"hint",content:"If two triangles are congruent, then they have the same side lengths and angle measures.",images:{},replace:!1,widgets:{}},{__type:"hint",content:"A triangle congruent to triangle $ABC$ must also have side lengths of $12$, $14$ and $20$.",images:{},replace:!1,widgets:{}},{__type:"hint",content:`The following triangle is congruent to triangle $ABC$: * A triangle with side lengths of $12$, $14$, and $20$`,images:{},replace:!1,widgets:{}}],question:{__type:"content",content:`Triangle $ABC$ has side lengths of $12$, $14$, and $20$. Which of the following triangles is congruent to triangle $ABC$ ? diff --git a/assets/navigation-pad-ss7r0FKW.js b/assets/navigation-pad-ss7r0FKW.js index d4d475983f..ccbe24eae6 100644 --- a/assets/navigation-pad-ss7r0FKW.js +++ b/assets/navigation-pad-ss7r0FKW.js @@ -1,4 +1,4 @@ -import{j as e,a as b}from"./jsx-runtime-FVsy8kgq.js";import{V as s}from"./index-6h5t6F0w.js";import{c as i}from"./index-deFLJwr4.js";import{l}from"./index-awljIyHI.js";import{B as h,u as f,K as w}from"./button-assets-txIojR3b.js";import{C as k}from"./index-WNT3sUKf.js";function v(o){switch(o){case"UP":return t.up;case"RIGHT":return t.right;case"DOWN":return t.down;case"LEFT":return t.left;default:throw new Error(`Invalid key: ${o}`)}}function d({coord:o,keyConfig:r,onClickKey:u}){const a=r.id,p=v(a);return e(s,{style:{gridColumn:o[0]+1,gridRow:o[1]+1},children:e(k,{onClick:c=>u(r.id,c),style:t.clickable,"aria-label":r.ariaLabel,children:({hovered:c,focused:m,pressed:g})=>e(s,{style:t.outerBoxBase,children:e(s,{style:[t.base,p,c&&t.hovered,m&&t.focused,g&&t.pressed],children:e(h,{id:r.id})})})})})}const n=4,t=l.StyleSheet.create({clickable:{width:"100%",height:"100%",":focus":{outline:"none"}},outerBoxBase:{height:"100%",width:"100%"},base:{boxShadow:`0px 1px 0px ${i.offBlack32}`,display:"flex",justifyContent:"center",alignItems:"center",background:i.white,borderWidth:2,borderColor:i.white},up:{borderTopLeftRadius:n,borderTopRightRadius:n},right:{borderTopRightRadius:n,borderBottomRightRadius:n},down:{borderBottomLeftRadius:n,borderBottomRightRadius:n},left:{borderTopLeftRadius:n,borderBottomLeftRadius:n},hovered:{borderColor:i.blue,boxShadow:"none"},focused:{borderColor:i.blue,boxShadow:"none"},pressed:{border:"2px solid #1B50B3",background:`linear-gradient(0deg, rgba(24, 101, 242, 0.32), rgba(24, 101, 242, 0.32)), ${i.white}`,boxShadow:"none"}});d.__docgenInfo={description:"",methods:[],displayName:"NavigationButton",props:{coord:{required:!0,tsType:{name:"unknown"},description:""},keyConfig:{required:!0,tsType:{name:"signature",type:"object",raw:`{ +import{j as e,a as b}from"./jsx-runtime-FVsy8kgq.js";import{V as s}from"./index-6h5t6F0w.js";import{c as i}from"./index-deFLJwr4.js";import{l}from"./index-awljIyHI.js";import{B as h,u as f,K as w}from"./button-assets-txIojR3b.js";import{C as k}from"./index-2dmvOE3q.js";function v(o){switch(o){case"UP":return t.up;case"RIGHT":return t.right;case"DOWN":return t.down;case"LEFT":return t.left;default:throw new Error(`Invalid key: ${o}`)}}function d({coord:o,keyConfig:r,onClickKey:u}){const a=r.id,p=v(a);return e(s,{style:{gridColumn:o[0]+1,gridRow:o[1]+1},children:e(k,{onClick:c=>u(r.id,c),style:t.clickable,"aria-label":r.ariaLabel,children:({hovered:c,focused:m,pressed:g})=>e(s,{style:t.outerBoxBase,children:e(s,{style:[t.base,p,c&&t.hovered,m&&t.focused,g&&t.pressed],children:e(h,{id:r.id})})})})})}const n=4,t=l.StyleSheet.create({clickable:{width:"100%",height:"100%",":focus":{outline:"none"}},outerBoxBase:{height:"100%",width:"100%"},base:{boxShadow:`0px 1px 0px ${i.offBlack32}`,display:"flex",justifyContent:"center",alignItems:"center",background:i.white,borderWidth:2,borderColor:i.white},up:{borderTopLeftRadius:n,borderTopRightRadius:n},right:{borderTopRightRadius:n,borderBottomRightRadius:n},down:{borderBottomLeftRadius:n,borderBottomRightRadius:n},left:{borderTopLeftRadius:n,borderBottomLeftRadius:n},hovered:{borderColor:i.blue,boxShadow:"none"},focused:{borderColor:i.blue,boxShadow:"none"},pressed:{border:"2px solid #1B50B3",background:`linear-gradient(0deg, rgba(24, 101, 242, 0.32), rgba(24, 101, 242, 0.32)), ${i.white}`,boxShadow:"none"}});d.__docgenInfo={description:"",methods:[],displayName:"NavigationButton",props:{coord:{required:!0,tsType:{name:"unknown"},description:""},keyConfig:{required:!0,tsType:{name:"signature",type:"object",raw:`{ id: Key; type: KeyType; icon: IconConfig; diff --git a/assets/navigation-pad.stories-qTnieBG4.js b/assets/navigation-pad.stories-qTnieBG4.js index 8e83457c7c..ce908f3c6d 100644 --- a/assets/navigation-pad.stories-qTnieBG4.js +++ b/assets/navigation-pad.stories-qTnieBG4.js @@ -1,4 +1,4 @@ -import{j as i}from"./jsx-runtime-FVsy8kgq.js";import{a as n}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{N as e}from"./navigation-pad-ss7r0FKW.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./index-deFLJwr4.js";import"./button-assets-txIojR3b.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";const N={title:"math-input/components/MathInput v2 Navigation Pad",parameters:{backgrounds:{default:"light background",values:[{name:"light background",value:"lightgrey",default:!0}]}}};function t(){return i("div",{style:{padding:50},children:i(e,{onClickKey:n("onClickKey")})})}t.__docgenInfo={description:"",methods:[],displayName:"basic"};var a,o,r;t.parameters={...t.parameters,docs:{...(a=t.parameters)==null?void 0:a.docs,source:{originalSource:`function basic() { +import{j as i}from"./jsx-runtime-FVsy8kgq.js";import{a as n}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{N as e}from"./navigation-pad-ss7r0FKW.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./index-deFLJwr4.js";import"./button-assets-txIojR3b.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";const N={title:"math-input/components/MathInput v2 Navigation Pad",parameters:{backgrounds:{default:"light background",values:[{name:"light background",value:"lightgrey",default:!0}]}}};function t(){return i("div",{style:{padding:50},children:i(e,{onClickKey:n("onClickKey")})})}t.__docgenInfo={description:"",methods:[],displayName:"basic"};var a,o,r;t.parameters={...t.parameters,docs:{...(a=t.parameters)==null?void 0:a.docs,source:{originalSource:`function basic() { return
diff --git a/assets/number-line-editor.stories-dWQiKTpZ.js b/assets/number-line-editor.stories-dWQiKTpZ.js index 30b2f5e605..26886dae0f 100644 --- a/assets/number-line-editor.stories-dWQiKTpZ.js +++ b/assets/number-line-editor.stories-dWQiKTpZ.js @@ -1,3 +1,3 @@ -import{j as m}from"./jsx-runtime-FVsy8kgq.js";import{a as p}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{N as e}from"./number-line-editor-ZyufmhvC.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./article-renderer-HHw6mvZH.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./editor-jsonify-WkTEQia9.js";import"./index-0C4KXdeC.js";const ro={title:"PerseusEditor/Widgets/Number Line Editor"},r=a=>m(e,{onChange:p("onChange")});r.__docgenInfo={description:"",methods:[],displayName:"Default"};var o,t,i;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { +import{j as m}from"./jsx-runtime-FVsy8kgq.js";import{a as p}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{N as e}from"./number-line-editor-ZyufmhvC.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./article-renderer-HHw6mvZH.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./editor-jsonify-WkTEQia9.js";import"./index-0C4KXdeC.js";const ro={title:"PerseusEditor/Widgets/Number Line Editor"},r=a=>m(e,{onChange:p("onChange")});r.__docgenInfo={description:"",methods:[],displayName:"Default"};var o,t,i;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { return ; }`,...(i=(t=r.parameters)==null?void 0:t.docs)==null?void 0:i.source}}};const oo=["Default"];export{r as Default,oo as __namedExportsOrder,ro as default}; diff --git a/assets/number-line.stories-InwcUeQf.js b/assets/number-line.stories-InwcUeQf.js index b2e8fd8170..c8decfbde9 100644 --- a/assets/number-line.stories-InwcUeQf.js +++ b/assets/number-line.stories-InwcUeQf.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-FVsy8kgq.js";import{a as q}from"./mobile-keypad-wPUeR8mM.js";import{R as m}from"./renderer-with-debug-ui-duQdKc-n.js";import{S as C}from"./server-item-renderer-with-debug-ui-PVeyAuGu.js";import{T as k}from"./test-keypad-context-wrapper-3gH8DCC_.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./choice-I73s7vIV.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-YCTzZMik.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";import"./ke-score-ui-VwVxZMGJ.js";import"./test-dependencies-QSTpbU20.js";import"./chunk-WFFRPTHA-zlNDxfrq.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";const T={content:`$E=2.5$ +import{j as e}from"./jsx-runtime-FVsy8kgq.js";import{a as q}from"./mobile-keypad-wPUeR8mM.js";import{R as m}from"./renderer-with-debug-ui-duQdKc-n.js";import{S as C}from"./server-item-renderer-with-debug-ui-PVeyAuGu.js";import{T as k}from"./test-keypad-context-wrapper-3gH8DCC_.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./choice-I73s7vIV.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-YCTzZMik.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";import"./ke-score-ui-VwVxZMGJ.js";import"./test-dependencies-QSTpbU20.js";import"./chunk-WFFRPTHA-zlNDxfrq.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";const T={content:`$E=2.5$ **Move the dot to $-E$ on the number line.** diff --git a/assets/numeric-input-editor.stories-gPHCmh3r.js b/assets/numeric-input-editor.stories-gPHCmh3r.js index 5c05c5ea25..d4b3bc1c02 100644 --- a/assets/numeric-input-editor.stories-gPHCmh3r.js +++ b/assets/numeric-input-editor.stories-gPHCmh3r.js @@ -1,3 +1,3 @@ -import{j as m}from"./jsx-runtime-FVsy8kgq.js";import{a as p}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{N as e}from"./numeric-input-editor-DxBZYkog.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./editor-jsonify-WkTEQia9.js";import"./editor-cnaLgEab.js";import"./index-fuycm_QE.js";import"./index-0C4KXdeC.js";import"./index-SM3muJE2.js";import"./icon-paths-EoBkHOLI.js";import"./section-control-button-vQyzwRZ4.js";import"./index-tFzzSRL2.js";import"./tex-error-view-Y2BSLjwB.js";import"./toggleable-caret-lFiCktzo.js";const st={title:"PerseusEditor/Widgets/NumericInput Editor"},r=a=>m(e,{onChange:p("onChange")});r.__docgenInfo={description:"",methods:[],displayName:"Default"};var t,o,i;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { +import{j as m}from"./jsx-runtime-FVsy8kgq.js";import{a as p}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{N as e}from"./numeric-input-editor-DxBZYkog.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./editor-jsonify-WkTEQia9.js";import"./editor-cnaLgEab.js";import"./index-fuycm_QE.js";import"./index-0C4KXdeC.js";import"./index-SM3muJE2.js";import"./icon-paths-EoBkHOLI.js";import"./section-control-button-vQyzwRZ4.js";import"./index-tFzzSRL2.js";import"./tex-error-view-Y2BSLjwB.js";import"./toggleable-caret-lFiCktzo.js";const st={title:"PerseusEditor/Widgets/NumericInput Editor"},r=a=>m(e,{onChange:p("onChange")});r.__docgenInfo={description:"",methods:[],displayName:"Default"};var t,o,i;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { return ; }`,...(i=(o=r.parameters)==null?void 0:o.docs)==null?void 0:i.source}}};const nt=["Default"];export{r as Default,nt as __namedExportsOrder,st as default}; diff --git a/assets/numeric-input.stories-N0mA1UvX.js b/assets/numeric-input.stories-N0mA1UvX.js index e5918e7399..9600ad8829 100644 --- a/assets/numeric-input.stories-N0mA1UvX.js +++ b/assets/numeric-input.stories-N0mA1UvX.js @@ -1,4 +1,4 @@ -import{j as i,a as t}from"./jsx-runtime-FVsy8kgq.js";import{a as o}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{R as A}from"./renderer-with-debug-ui-duQdKc-n.js";import{N as p}from"./article-renderer-HHw6mvZH.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./side-by-side-kGWaKY6T.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./dependencies-d8cZibFS.js";import"./perseus-item-CzcHcXKx.js";import"./renderer-6wjvxpTF.js";import"./index-J2t_5nK1.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./hints-renderer-0tODKVPs.js";import"./shared-4TdECMLk.js";import"./base-radio-m6RczYwQ.js";import"./choice-none-above-kJRmN7Nm.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./hud-4BOtaFc1.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./enums-x5qaTru7.js";import"./input-with-examples-il70I6Ir.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./answer-choices-G9U2Ia5j.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";const N={content:"$5008 \\div 4 =$ [[☃ numeric-input 1]] ",images:{},widgets:{"numeric-input 1":{graded:!0,version:{major:0,minor:0},static:!1,type:"numeric-input",options:{coefficient:!1,static:!1,answers:[{status:"correct",maxError:null,strict:!1,value:1252,simplify:"required",message:""}],labelText:"",size:"normal"},alignment:"default"}}};function l(r){return{...{alignment:"",answers:[],containerSizeClass:"medium",isLastUsedWidget:!0,coefficient:!1,currentValue:"",problemNum:0,rightAlign:!1,size:"normal",static:!1,widgetId:"widgetId",findWidgets:o("findWidgets"),onBlur:o("onBlur"),onChange:o("onChange"),onFocus:o("onFocus"),trackInteraction:o("trackInteraction")},...r}}const be={title:"Perseus/Widgets/NumericInput",args:{coefficient:!1,currentValue:"8675309",rightAlign:!1},argTypes:{size:{options:["normal","small"],control:{type:"radio"},defaultValue:"normal"}}},n=()=>i(A,{question:N}),s=r=>{const e=l(r);return i(p,{...e})},m=r=>{const e=l({...r,size:"small"}),c=l({...r,size:"normal"});return t("div",{children:[t("label",{children:["Small:",i(p,{...e})]}),t("label",{children:["Normal:",i(p,{...c})]})]})},a=r=>{const e=l({...r,rightAlign:!1}),c=l({...r,rightAlign:!0});return t("div",{children:[t("label",{children:["Left:",i(p,{...e})]}),t("label",{children:["Right:",i(p,{...c})]})]})};n.__docgenInfo={description:"",methods:[],displayName:"Question1"};s.__docgenInfo={description:"",methods:[],displayName:"Interactive",props:{coefficient:{required:!0,tsType:{name:"boolean"},description:""},currentValue:{required:!0,tsType:{name:"string"},description:""},rightAlign:{required:!0,tsType:{name:"boolean"},description:""},size:{required:!0,tsType:{name:"union",raw:'"normal" | "small"',elements:[{name:"literal",value:'"normal"'},{name:"literal",value:'"small"'}]},description:""}}};m.__docgenInfo={description:"",methods:[],displayName:"Sizes",props:{coefficient:{required:!0,tsType:{name:"boolean"},description:""},currentValue:{required:!0,tsType:{name:"string"},description:""},rightAlign:{required:!0,tsType:{name:"boolean"},description:""},size:{required:!0,tsType:{name:"union",raw:'"normal" | "small"',elements:[{name:"literal",value:'"normal"'},{name:"literal",value:'"small"'}]},description:""}}};a.__docgenInfo={description:"",methods:[],displayName:"TextAlignment",props:{coefficient:{required:!0,tsType:{name:"boolean"},description:""},currentValue:{required:!0,tsType:{name:"string"},description:""},rightAlign:{required:!0,tsType:{name:"boolean"},description:""},size:{required:!0,tsType:{name:"union",raw:'"normal" | "small"',elements:[{name:"literal",value:'"normal"'},{name:"literal",value:'"small"'}]},description:""}}};var u,d,g;n.parameters={...n.parameters,docs:{...(u=n.parameters)==null?void 0:u.docs,source:{originalSource:`(): React.ReactElement => { +import{j as i,a as t}from"./jsx-runtime-FVsy8kgq.js";import{a as o}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{R as A}from"./renderer-with-debug-ui-duQdKc-n.js";import{N as p}from"./article-renderer-HHw6mvZH.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./side-by-side-kGWaKY6T.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./dependencies-d8cZibFS.js";import"./perseus-item-CzcHcXKx.js";import"./renderer-6wjvxpTF.js";import"./index-J2t_5nK1.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./hints-renderer-0tODKVPs.js";import"./shared-4TdECMLk.js";import"./base-radio-m6RczYwQ.js";import"./choice-none-above-kJRmN7Nm.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./hud-4BOtaFc1.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./enums-x5qaTru7.js";import"./input-with-examples-il70I6Ir.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./answer-choices-G9U2Ia5j.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";const N={content:"$5008 \\div 4 =$ [[☃ numeric-input 1]] ",images:{},widgets:{"numeric-input 1":{graded:!0,version:{major:0,minor:0},static:!1,type:"numeric-input",options:{coefficient:!1,static:!1,answers:[{status:"correct",maxError:null,strict:!1,value:1252,simplify:"required",message:""}],labelText:"",size:"normal"},alignment:"default"}}};function l(r){return{...{alignment:"",answers:[],containerSizeClass:"medium",isLastUsedWidget:!0,coefficient:!1,currentValue:"",problemNum:0,rightAlign:!1,size:"normal",static:!1,widgetId:"widgetId",findWidgets:o("findWidgets"),onBlur:o("onBlur"),onChange:o("onChange"),onFocus:o("onFocus"),trackInteraction:o("trackInteraction")},...r}}const be={title:"Perseus/Widgets/NumericInput",args:{coefficient:!1,currentValue:"8675309",rightAlign:!1},argTypes:{size:{options:["normal","small"],control:{type:"radio"},defaultValue:"normal"}}},n=()=>i(A,{question:N}),s=r=>{const e=l(r);return i(p,{...e})},m=r=>{const e=l({...r,size:"small"}),c=l({...r,size:"normal"});return t("div",{children:[t("label",{children:["Small:",i(p,{...e})]}),t("label",{children:["Normal:",i(p,{...c})]})]})},a=r=>{const e=l({...r,rightAlign:!1}),c=l({...r,rightAlign:!0});return t("div",{children:[t("label",{children:["Left:",i(p,{...e})]}),t("label",{children:["Right:",i(p,{...c})]})]})};n.__docgenInfo={description:"",methods:[],displayName:"Question1"};s.__docgenInfo={description:"",methods:[],displayName:"Interactive",props:{coefficient:{required:!0,tsType:{name:"boolean"},description:""},currentValue:{required:!0,tsType:{name:"string"},description:""},rightAlign:{required:!0,tsType:{name:"boolean"},description:""},size:{required:!0,tsType:{name:"union",raw:'"normal" | "small"',elements:[{name:"literal",value:'"normal"'},{name:"literal",value:'"small"'}]},description:""}}};m.__docgenInfo={description:"",methods:[],displayName:"Sizes",props:{coefficient:{required:!0,tsType:{name:"boolean"},description:""},currentValue:{required:!0,tsType:{name:"string"},description:""},rightAlign:{required:!0,tsType:{name:"boolean"},description:""},size:{required:!0,tsType:{name:"union",raw:'"normal" | "small"',elements:[{name:"literal",value:'"normal"'},{name:"literal",value:'"small"'}]},description:""}}};a.__docgenInfo={description:"",methods:[],displayName:"TextAlignment",props:{coefficient:{required:!0,tsType:{name:"boolean"},description:""},currentValue:{required:!0,tsType:{name:"string"},description:""},rightAlign:{required:!0,tsType:{name:"boolean"},description:""},size:{required:!0,tsType:{name:"union",raw:'"normal" | "small"',elements:[{name:"literal",value:'"normal"'},{name:"literal",value:'"small"'}]},description:""}}};var u,d,g;n.parameters={...n.parameters,docs:{...(u=n.parameters)==null?void 0:u.docs,source:{originalSource:`(): React.ReactElement => { return ; }`,...(g=(d=n.parameters)==null?void 0:d.docs)==null?void 0:g.source}}};var f,h,b;s.parameters={...s.parameters,docs:{...(f=s.parameters)==null?void 0:f.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { const props = generateProps(args); diff --git a/assets/orderer.stories-TT5mT_qv.js b/assets/orderer.stories-TT5mT_qv.js index 2468bfdc5a..385dafbb6f 100644 --- a/assets/orderer.stories-TT5mT_qv.js +++ b/assets/orderer.stories-TT5mT_qv.js @@ -1,4 +1,4 @@ -import{j as a}from"./jsx-runtime-FVsy8kgq.js";import{R as n}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const g={content:`**Without using a calculator, put the numbers in order from least to greatest.** +import{j as a}from"./jsx-runtime-FVsy8kgq.js";import{R as n}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const g={content:`**Without using a calculator, put the numbers in order from least to greatest.** [[☃ orderer 1]]`,images:{},widgets:{"orderer 1":{version:{major:0,minor:0},type:"orderer",graded:!0,options:{otherOptions:[],layout:"horizontal",options:[{content:"$10.9$",images:{},widgets:{}},{content:"$11$",images:{},widgets:{}},{content:"$\\sqrt{120}$",images:{},widgets:{}}],correctOptions:[{content:"$10.9$",images:{},widgets:{}},{content:"$\\sqrt{120}$",images:{},widgets:{}},{content:"$11$",images:{},widgets:{}}],height:"normal"}}}},c={content:`**Put $6$ flowers in the box.** diff --git a/assets/passage-ref.stories-rKZIeybh.js b/assets/passage-ref.stories-rKZIeybh.js index d9dea35a21..c8129fb7e6 100644 --- a/assets/passage-ref.stories-rKZIeybh.js +++ b/assets/passage-ref.stories-rKZIeybh.js @@ -1,4 +1,4 @@ -import{j as o}from"./jsx-runtime-FVsy8kgq.js";import{V as d}from"./index-6h5t6F0w.js";import{R as l}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-awljIyHI.js";import"./choice-I73s7vIV.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const u={content:`[[☃ passage 1]] +import{j as o}from"./jsx-runtime-FVsy8kgq.js";import{V as d}from"./index-6h5t6F0w.js";import{R as l}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-awljIyHI.js";import"./choice-I73s7vIV.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const u={content:`[[☃ passage 1]] We can see the word “promotes” is used in [[☃ passage-ref 1]] diff --git a/assets/passage.stories-xZzvfX73.js b/assets/passage.stories-xZzvfX73.js index 812e217669..716716c755 100644 --- a/assets/passage.stories-xZzvfX73.js +++ b/assets/passage.stories-xZzvfX73.js @@ -1,4 +1,4 @@ -import{j as a}from"./jsx-runtime-FVsy8kgq.js";import{V as g}from"./index-6h5t6F0w.js";import{R as f}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-awljIyHI.js";import"./choice-I73s7vIV.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const y={content:`[[☃ passage 1]] +import{j as a}from"./jsx-runtime-FVsy8kgq.js";import{V as g}from"./index-6h5t6F0w.js";import{R as f}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-awljIyHI.js";import"./choice-I73s7vIV.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const y={content:`[[☃ passage 1]] `,images:{},widgets:{"passage 1":{alignment:"default",graded:!0,options:{footnotes:"",passageText:`Sociologists study folktales because they provide a means of understanding the distinctive values of a culture. However, the folktales in almost all cultures are adaptations of the same ancient narratives to the local milieu. `,passageTitle:"",showLineNumbers:!1,static:!1},static:!1,type:"passage",version:{major:0,minor:0}}}},v={content:`>Select text to highlight it. *(Laptop/desktop only)* diff --git a/assets/phet-simulation-editor.stories-Tc7zzF3e.js b/assets/phet-simulation-editor.stories-Tc7zzF3e.js index 1fcef4b4f5..9106855db6 100644 --- a/assets/phet-simulation-editor.stories-Tc7zzF3e.js +++ b/assets/phet-simulation-editor.stories-Tc7zzF3e.js @@ -1,4 +1,4 @@ -import{a as m}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{P as p}from"./phet-simulation-editor-_qNrTNuz.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./jsx-runtime-FVsy8kgq.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";const Vr={component:p,title:"PerseusEditor/Widgets/PhET Simulation Editor"},r={args:{onChange:m("onChange")}};var o,t,i;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`{ +import{a as m}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{P as p}from"./phet-simulation-editor-_qNrTNuz.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./jsx-runtime-FVsy8kgq.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";const Vr={component:p,title:"PerseusEditor/Widgets/PhET Simulation Editor"},r={args:{onChange:m("onChange")}};var o,t,i;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`{ args: { onChange: action("onChange") } diff --git a/assets/plotter.stories-aIZfL8Zi.js b/assets/plotter.stories-aIZfL8Zi.js index 876be6d36a..abafeb19ff 100644 --- a/assets/plotter.stories-aIZfL8Zi.js +++ b/assets/plotter.stories-aIZfL8Zi.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-FVsy8kgq.js";import{V as m}from"./index-6h5t6F0w.js";import{R as s}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-awljIyHI.js";import"./choice-I73s7vIV.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const a={content:`The elementary school principal asked teachers to report the number of students absent in each grade during the past week. +import{j as r}from"./jsx-runtime-FVsy8kgq.js";import{V as m}from"./index-6h5t6F0w.js";import{R as s}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-awljIyHI.js";import"./choice-I73s7vIV.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const a={content:`The elementary school principal asked teachers to report the number of students absent in each grade during the past week. **Create a bar graph to show how many students were absent in each grade.** diff --git a/assets/preview-YxkJo6n2.js b/assets/preview-YxkJo6n2.js index 9f6653c3df..00ca04138c 100644 --- a/assets/preview-YxkJo6n2.js +++ b/assets/preview-YxkJo6n2.js @@ -1 +1 @@ -import{j as r}from"./jsx-runtime-FVsy8kgq.js";import{c as i}from"./index-deFLJwr4.js";import{R as p}from"./index-6h5t6F0w.js";import"./article-renderer-HHw6mvZH.js";import"./jquery-yG1GhClm.js";import"./util-F8-MDmsT.js";import"./phet-simulation-qZOVvVJP.js";import"./version-akiLXZts.js";import{D as m,s as e}from"./dependencies-d8cZibFS.js";import"./perseus-api-Nq3s7IMx.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./renderer-6wjvxpTF.js";import"./base-radio-m6RczYwQ.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./svg-image-4Vh9uTQ6.js";import"./hud-4BOtaFc1.js";import"./icon-R5gZamfG.js";import"./index-K9BSJPWl.js";import"./inline-icon-NjJlm7d0.js";import"./math-input-JZMGF6RZ.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./text-input-15gEhfDF.js";import"./text-list-editor-Jz35fIN1.js";import"./index-k-0mNqHS.js";import"./i18n-context-P5sgPFep.js";import"./index-IIMKO4_x.js";import{s,a}from"./test-dependencies-QSTpbU20.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-awljIyHI.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./index-h_CiYGGb.js";import"./index-dnMhQZ-1.js";import"./input-with-examples-il70I6Ir.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./icon-paths-5JCXzGsq.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./shared-4TdECMLk.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./Popper-kGnKOid7.js";import"./answer-choices-G9U2Ia5j.js";import"./index-xuPsLuPk.js";import"./minus-bold-ONmDo3Ve.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./asset-context-I7yIqWki.js";import"./tiny-invariant-bHgPayXn.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./video-transcript-link-MKIRfGVo.js";import"./arrow-square-out-bold-090vdhrx.js";import"./stub-tag-editor-74YQ4o9G.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./choice-none-above-kJRmN7Nm.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./index-QCAhLhLD.js";import"./bundle.esm-7jAAHVxW.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";e(a);const Xo={decorators:[o=>r(p,{children:r(m.Provider,{value:s,children:r(o,{})})})],parameters:{options:{storySort:{order:["Perseus","PerseusEditor","Math-Input","*"],includeNames:!0}},actions:{argTypesRegex:"^on[A-Z].*"},controls:{matchers:{color:/(background|color)$/i,date:/Date$/}},backgrounds:{values:Object.entries(i).map(([o,t])=>({name:o,value:t}))}}};export{Xo as default}; +import{j as r}from"./jsx-runtime-FVsy8kgq.js";import{c as i}from"./index-deFLJwr4.js";import{R as p}from"./index-6h5t6F0w.js";import"./article-renderer-HHw6mvZH.js";import"./jquery-yG1GhClm.js";import"./util-F8-MDmsT.js";import"./phet-simulation-qZOVvVJP.js";import"./version-akiLXZts.js";import{D as m,s as e}from"./dependencies-d8cZibFS.js";import"./perseus-api-Nq3s7IMx.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./renderer-6wjvxpTF.js";import"./base-radio-m6RczYwQ.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./svg-image-4Vh9uTQ6.js";import"./hud-4BOtaFc1.js";import"./icon-R5gZamfG.js";import"./index-K9BSJPWl.js";import"./inline-icon-NjJlm7d0.js";import"./math-input-JZMGF6RZ.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./text-input-15gEhfDF.js";import"./text-list-editor-Jz35fIN1.js";import"./index-k-0mNqHS.js";import"./i18n-context-P5sgPFep.js";import"./index-IIMKO4_x.js";import{s,a}from"./test-dependencies-QSTpbU20.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-awljIyHI.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./index-h_CiYGGb.js";import"./index-dnMhQZ-1.js";import"./input-with-examples-il70I6Ir.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./icon-paths-5JCXzGsq.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./shared-4TdECMLk.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./Popper-kGnKOid7.js";import"./answer-choices-G9U2Ia5j.js";import"./index-xuPsLuPk.js";import"./minus-bold-ONmDo3Ve.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./asset-context-I7yIqWki.js";import"./tiny-invariant-bHgPayXn.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./video-transcript-link-MKIRfGVo.js";import"./arrow-square-out-bold-090vdhrx.js";import"./stub-tag-editor-74YQ4o9G.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./choice-none-above-kJRmN7Nm.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./index-QCAhLhLD.js";import"./bundle.esm-7jAAHVxW.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";e(a);const Xo={decorators:[o=>r(p,{children:r(m.Provider,{value:s,children:r(o,{})})})],parameters:{options:{storySort:{order:["Perseus","PerseusEditor","Math-Input","*"],includeNames:!0}},actions:{argTypesRegex:"^on[A-Z].*"},controls:{matchers:{color:/(background|color)$/i,date:/Date$/}},backgrounds:{values:Object.entries(i).map(([o,t])=>({name:o,value:t}))}}};export{Xo as default}; diff --git a/assets/python-program-editor.stories-W6xwBFiC.js b/assets/python-program-editor.stories-W6xwBFiC.js index d12bf915f4..d46dc9c909 100644 --- a/assets/python-program-editor.stories-W6xwBFiC.js +++ b/assets/python-program-editor.stories-W6xwBFiC.js @@ -1,3 +1,3 @@ -import{j as m}from"./jsx-runtime-FVsy8kgq.js";import{a as p}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{P as e}from"./python-program-editor-otiNFbeA.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";const Zr={title:"PerseusEditor/Widgets/Python Program Editor"},r=a=>m(e,{onChange:p("onChange")});r.__docgenInfo={description:"",methods:[],displayName:"Default"};var o,t,i;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { +import{j as m}from"./jsx-runtime-FVsy8kgq.js";import{a as p}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{P as e}from"./python-program-editor-otiNFbeA.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";const Zr={title:"PerseusEditor/Widgets/Python Program Editor"},r=a=>m(e,{onChange:p("onChange")});r.__docgenInfo={description:"",methods:[],displayName:"Default"};var o,t,i;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { return ; }`,...(i=(t=r.parameters)==null?void 0:t.docs)==null?void 0:i.source}}};const $r=["Default"];export{r as Default,$r as __namedExportsOrder,Zr as default}; diff --git a/assets/python-program.stories-nHJsBCoe.js b/assets/python-program.stories-nHJsBCoe.js index 3b722e63dd..f405498331 100644 --- a/assets/python-program.stories-nHJsBCoe.js +++ b/assets/python-program.stories-nHJsBCoe.js @@ -1,4 +1,4 @@ -import{j as m}from"./jsx-runtime-FVsy8kgq.js";import{R as p}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const e={content:`[[☃ python-program 1]] +import{j as m}from"./jsx-runtime-FVsy8kgq.js";import{R as p}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const e={content:`[[☃ python-program 1]] `,images:{},widgets:{"python-program 1":{version:{major:0,minor:0},static:!1,type:"python-program",options:{height:400,programID:"5207287069147136"},alignment:"block"}}},Xr={title:"Perseus/Widgets/Python Program"},r=s=>m(p,{question:e});r.__docgenInfo={description:"",methods:[],displayName:"Question1"};var o,t,i;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { return ; diff --git a/assets/question-markers.stories-z8gmXEvR.js b/assets/question-markers.stories-z8gmXEvR.js index cbec33b4e5..10b0d89445 100644 --- a/assets/question-markers.stories-z8gmXEvR.js +++ b/assets/question-markers.stories-z8gmXEvR.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-FVsy8kgq.js";import{l as p}from"./index-awljIyHI.js";import{r as W}from"./index-TT1qJ6UJ.js";import{Q as b}from"./question-markers-u6WvyWqg.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./global-colors-VIVU4Od4.js";import"./marker-9Sjiskse.js";import"./components-yT7oveOH.js";import"./util-qk2aeK8X.js";import"./form-wrapped-text-field-A2kf-LD-.js";const lt={title:"PerseusEditor/Widgets/Label Image/Question Markers"},f=p.StyleSheet.create({wrapper:{width:338}}),k=t=>r("div",{className:p.css(f.wrapper),children:r(b,{...t})});class w extends W.Component{constructor(){super(...arguments),this.state={markers:[{answers:[],label:"",x:50,y:50}]}}render(){const{markers:m}=this.state;return r("div",{className:p.css(f.wrapper),children:r(b,{choices:["Lamborghini","BMW","Volkswagen","Fiat","Porsche","Ferrari"],imageUrl:"https://ka-perseus-images.s3.amazonaws.com/2ee5fc32e35c5178373b39fd304b325b2994c913.png",imageWidth:1280,imageHeight:1024,markers:m,onChange:y=>this.setState({markers:y})})})}}const o=t=>r(k,{...{choices:[],imageUrl:"",imageWidth:0,imageHeight:0,markers:[],onChange:()=>{}}}),e=t=>r(k,{...{choices:[],imageUrl:"https://ka-perseus-images.s3.amazonaws.com/2ee5fc32e35c5178373b39fd304b325b2994c913.png",imageWidth:1280,imageHeight:1024,markers:[{answers:[],label:"",x:50,y:50}],onChange:()=>{}}}),i=t=>r(w,{});o.__docgenInfo={description:"",methods:[],displayName:"Empty"};e.__docgenInfo={description:"",methods:[],displayName:"Filled"};i.__docgenInfo={description:"",methods:[],displayName:"Interactive"};var s,a,n;o.parameters={...o.parameters,docs:{...(s=o.parameters)==null?void 0:s.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { +import{j as r}from"./jsx-runtime-FVsy8kgq.js";import{l as p}from"./index-awljIyHI.js";import{r as W}from"./index-TT1qJ6UJ.js";import{Q as b}from"./question-markers-u6WvyWqg.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./global-colors-VIVU4Od4.js";import"./marker-9Sjiskse.js";import"./components-yT7oveOH.js";import"./util-qk2aeK8X.js";import"./form-wrapped-text-field-A2kf-LD-.js";const lt={title:"PerseusEditor/Widgets/Label Image/Question Markers"},f=p.StyleSheet.create({wrapper:{width:338}}),k=t=>r("div",{className:p.css(f.wrapper),children:r(b,{...t})});class w extends W.Component{constructor(){super(...arguments),this.state={markers:[{answers:[],label:"",x:50,y:50}]}}render(){const{markers:m}=this.state;return r("div",{className:p.css(f.wrapper),children:r(b,{choices:["Lamborghini","BMW","Volkswagen","Fiat","Porsche","Ferrari"],imageUrl:"https://ka-perseus-images.s3.amazonaws.com/2ee5fc32e35c5178373b39fd304b325b2994c913.png",imageWidth:1280,imageHeight:1024,markers:m,onChange:y=>this.setState({markers:y})})})}}const o=t=>r(k,{...{choices:[],imageUrl:"",imageWidth:0,imageHeight:0,markers:[],onChange:()=>{}}}),e=t=>r(k,{...{choices:[],imageUrl:"https://ka-perseus-images.s3.amazonaws.com/2ee5fc32e35c5178373b39fd304b325b2994c913.png",imageWidth:1280,imageHeight:1024,markers:[{answers:[],label:"",x:50,y:50}],onChange:()=>{}}}),i=t=>r(w,{});o.__docgenInfo={description:"",methods:[],displayName:"Empty"};e.__docgenInfo={description:"",methods:[],displayName:"Filled"};i.__docgenInfo={description:"",methods:[],displayName:"Interactive"};var s,a,n;o.parameters={...o.parameters,docs:{...(s=o.parameters)==null?void 0:s.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { const props = ({ choices: [], imageUrl: "", diff --git a/assets/radio-editor.stories-6GhFswye.js b/assets/radio-editor.stories-6GhFswye.js index d7ba6f88d1..aed393ac90 100644 --- a/assets/radio-editor.stories-6GhFswye.js +++ b/assets/radio-editor.stories-6GhFswye.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-FVsy8kgq.js";import{l as m}from"./index-awljIyHI.js";import{r as a}from"./index-TT1qJ6UJ.js";import{R as n}from"./editor-fBCZKp66.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./index-0C4KXdeC.js";import"./editor-cnaLgEab.js";import"./index-fuycm_QE.js";import"./index-SM3muJE2.js";import"./icon-paths-EoBkHOLI.js";import"./section-control-button-vQyzwRZ4.js";import"./index-tFzzSRL2.js";import"./tex-error-view-Y2BSLjwB.js";import"./toggleable-caret-lFiCktzo.js";const no={title:"PerseusEditor/Widgets/Radio Editor"},l=m.StyleSheet.create({wrapper:{width:338}}),c={content:`Which of the following values of $x$ satisfies the equation $\\sqrt{64}=x$ ? +import{j as r}from"./jsx-runtime-FVsy8kgq.js";import{l as m}from"./index-awljIyHI.js";import{r as a}from"./index-TT1qJ6UJ.js";import{R as n}from"./editor-fBCZKp66.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./index-0C4KXdeC.js";import"./editor-cnaLgEab.js";import"./index-fuycm_QE.js";import"./index-SM3muJE2.js";import"./icon-paths-EoBkHOLI.js";import"./section-control-button-vQyzwRZ4.js";import"./index-tFzzSRL2.js";import"./tex-error-view-Y2BSLjwB.js";import"./toggleable-caret-lFiCktzo.js";const no={title:"PerseusEditor/Widgets/Radio Editor"},l=m.StyleSheet.create({wrapper:{width:338}}),c={content:`Which of the following values of $x$ satisfies the equation $\\sqrt{64}=x$ ? [[☃ radio 1]] diff --git a/assets/radio.stories-0XscglXh.js b/assets/radio.stories-0XscglXh.js index 7bfc536ac6..7c47757181 100644 --- a/assets/radio.stories-0XscglXh.js +++ b/assets/radio.stories-0XscglXh.js @@ -1,4 +1,4 @@ -import{j as M}from"./jsx-runtime-FVsy8kgq.js";import{R as O}from"./renderer-with-debug-ui-duQdKc-n.js";import{q as w,c as b,m as I,a as y}from"./radio.testdata-sITJ8lxE.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const wo={title:"Perseus/Widgets/Radio",args:{static:!1,crossOutEnabled:!1,reviewMode:!1,showSolutions:"none",question:w},argTypes:{showSolutions:{options:["none","all","selected"],control:{type:"select"}}},render:t=>M(O,{question:C(t),apiOptions:E(t),reviewMode:t.reviewMode,showSolutions:t.showSolutions})},C=t=>{const m={...t.question,widgets:{}};for(const[f,W]of Object.entries(t.question.widgets))m.widgets[f]={...W,static:t.static};return m},E=t=>({crossOutEnabled:t.crossOutEnabled}),o={args:{question:w}},i={args:{question:b}},r={args:{question:I}},e={args:{question:y}};var p,s,a;o.parameters={...o.parameters,docs:{...(p=o.parameters)==null?void 0:p.docs,source:{originalSource:`{ +import{j as M}from"./jsx-runtime-FVsy8kgq.js";import{R as O}from"./renderer-with-debug-ui-duQdKc-n.js";import{q as w,c as b,m as I,a as y}from"./radio.testdata-sITJ8lxE.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const wo={title:"Perseus/Widgets/Radio",args:{static:!1,crossOutEnabled:!1,reviewMode:!1,showSolutions:"none",question:w},argTypes:{showSolutions:{options:["none","all","selected"],control:{type:"select"}}},render:t=>M(O,{question:C(t),apiOptions:E(t),reviewMode:t.reviewMode,showSolutions:t.showSolutions})},C=t=>{const m={...t.question,widgets:{}};for(const[f,W]of Object.entries(t.question.widgets))m.widgets[f]={...W,static:t.static};return m},E=t=>({crossOutEnabled:t.crossOutEnabled}),o={args:{question:w}},i={args:{question:b}},r={args:{question:I}},e={args:{question:y}};var p,s,a;o.parameters={...o.parameters,docs:{...(p=o.parameters)==null?void 0:p.docs,source:{originalSource:`{ args: { question: questionWithPassage } diff --git a/assets/section-control-button.stories--fxR7ngO.js b/assets/section-control-button.stories--fxR7ngO.js index 7026399223..e83ef5ff49 100644 --- a/assets/section-control-button.stories--fxR7ngO.js +++ b/assets/section-control-button.stories--fxR7ngO.js @@ -1,3 +1,3 @@ -import{j as m}from"./jsx-runtime-FVsy8kgq.js";import"./article-renderer-HHw6mvZH.js";import"./jquery-yG1GhClm.js";import"./util-F8-MDmsT.js";import"./phet-simulation-qZOVvVJP.js";import"./version-akiLXZts.js";import"./dependencies-d8cZibFS.js";import"./perseus-api-Nq3s7IMx.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./renderer-6wjvxpTF.js";import"./base-radio-m6RczYwQ.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./svg-image-4Vh9uTQ6.js";import"./hud-4BOtaFc1.js";import"./icon-R5gZamfG.js";import"./index-K9BSJPWl.js";import"./inline-icon-NjJlm7d0.js";import"./math-input-JZMGF6RZ.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./text-input-15gEhfDF.js";import"./text-list-editor-Jz35fIN1.js";import{i as p}from"./icon-paths-5JCXzGsq.js";import"./index-k-0mNqHS.js";import"./i18n-context-P5sgPFep.js";import"./index-IIMKO4_x.js";import{S as e}from"./section-control-button-vQyzwRZ4.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./index-h_CiYGGb.js";import"./index-dnMhQZ-1.js";import"./input-with-examples-il70I6Ir.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./shared-4TdECMLk.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./Popper-kGnKOid7.js";import"./answer-choices-G9U2Ia5j.js";import"./index-xuPsLuPk.js";import"./minus-bold-ONmDo3Ve.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./asset-context-I7yIqWki.js";import"./tiny-invariant-bHgPayXn.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./video-transcript-link-MKIRfGVo.js";import"./arrow-square-out-bold-090vdhrx.js";import"./stub-tag-editor-74YQ4o9G.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./choice-none-above-kJRmN7Nm.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./index-QCAhLhLD.js";import"./bundle.esm-7jAAHVxW.js";import"./components-yT7oveOH.js";import"./index-tFzzSRL2.js";const Xt={title:"PerseusEditor/Components/Section Control Button"},t=n=>m(e,{icon:p,onClick:()=>{},title:"Remove image widget"});t.__docgenInfo={description:"",methods:[],displayName:"ButtonForEditingSectionsOfContentWithInArticleEditor"};var o,r,i;t.parameters={...t.parameters,docs:{...(o=t.parameters)==null?void 0:o.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { +import{j as m}from"./jsx-runtime-FVsy8kgq.js";import"./article-renderer-HHw6mvZH.js";import"./jquery-yG1GhClm.js";import"./util-F8-MDmsT.js";import"./phet-simulation-qZOVvVJP.js";import"./version-akiLXZts.js";import"./dependencies-d8cZibFS.js";import"./perseus-api-Nq3s7IMx.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./renderer-6wjvxpTF.js";import"./base-radio-m6RczYwQ.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./svg-image-4Vh9uTQ6.js";import"./hud-4BOtaFc1.js";import"./icon-R5gZamfG.js";import"./index-K9BSJPWl.js";import"./inline-icon-NjJlm7d0.js";import"./math-input-JZMGF6RZ.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./text-input-15gEhfDF.js";import"./text-list-editor-Jz35fIN1.js";import{i as p}from"./icon-paths-5JCXzGsq.js";import"./index-k-0mNqHS.js";import"./i18n-context-P5sgPFep.js";import"./index-IIMKO4_x.js";import{S as e}from"./section-control-button-vQyzwRZ4.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./index-h_CiYGGb.js";import"./index-dnMhQZ-1.js";import"./input-with-examples-il70I6Ir.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./shared-4TdECMLk.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./Popper-kGnKOid7.js";import"./answer-choices-G9U2Ia5j.js";import"./index-xuPsLuPk.js";import"./minus-bold-ONmDo3Ve.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./asset-context-I7yIqWki.js";import"./tiny-invariant-bHgPayXn.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./video-transcript-link-MKIRfGVo.js";import"./arrow-square-out-bold-090vdhrx.js";import"./stub-tag-editor-74YQ4o9G.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./choice-none-above-kJRmN7Nm.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./index-QCAhLhLD.js";import"./bundle.esm-7jAAHVxW.js";import"./components-yT7oveOH.js";import"./index-tFzzSRL2.js";const Xt={title:"PerseusEditor/Components/Section Control Button"},t=n=>m(e,{icon:p,onClick:()=>{},title:"Remove image widget"});t.__docgenInfo={description:"",methods:[],displayName:"ButtonForEditingSectionsOfContentWithInArticleEditor"};var o,r,i;t.parameters={...t.parameters,docs:{...(o=t.parameters)==null?void 0:o.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { return {}} title="Remove image widget" />; }`,...(i=(r=t.parameters)==null?void 0:r.docs)==null?void 0:i.source}}};const Yt=["ButtonForEditingSectionsOfContentWithInArticleEditor"];export{t as ButtonForEditingSectionsOfContentWithInArticleEditor,Yt as __namedExportsOrder,Xt as default}; diff --git a/assets/select-image.stories-QfaFTweM.js b/assets/select-image.stories-QfaFTweM.js index d30f6774cc..221816dcc0 100644 --- a/assets/select-image.stories-QfaFTweM.js +++ b/assets/select-image.stories-QfaFTweM.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-FVsy8kgq.js";import{l as i}from"./index-awljIyHI.js";import{r as I}from"./index-TT1qJ6UJ.js";import{S}from"./select-image-1nPhQNuF.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./form-wrapped-text-field-A2kf-LD-.js";import"./global-colors-VIVU4Od4.js";const ct={title:"PerseusEditor/Widgets/Label Image/Select Image"},f=i.StyleSheet.create({wrapper:{width:338}}),y=t=>r("div",{className:i.css(f.wrapper),children:r(S,{...t})}),_=()=>{const[t,e]=I.useState("");return r("div",{className:i.css(f.wrapper),children:r(S,{onChange:E=>e(E),url:t})})},o=t=>r(y,{...{url:"",onChange:()=>{}}}),p=t=>r(y,{...{url:"https://ka-perseus-images.s3.amazonaws.com/2ee5fc32e35c5178373b39fd304b325b2994c913.png",onChange:()=>{}}}),m=t=>r(_,{});o.__docgenInfo={description:"",methods:[],displayName:"Empty"};p.__docgenInfo={description:"",methods:[],displayName:"Filled"};m.__docgenInfo={description:"",methods:[],displayName:"Interactive"};var s,a,n;o.parameters={...o.parameters,docs:{...(s=o.parameters)==null?void 0:s.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { +import{j as r}from"./jsx-runtime-FVsy8kgq.js";import{l as i}from"./index-awljIyHI.js";import{r as I}from"./index-TT1qJ6UJ.js";import{S}from"./select-image-1nPhQNuF.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./form-wrapped-text-field-A2kf-LD-.js";import"./global-colors-VIVU4Od4.js";const ct={title:"PerseusEditor/Widgets/Label Image/Select Image"},f=i.StyleSheet.create({wrapper:{width:338}}),y=t=>r("div",{className:i.css(f.wrapper),children:r(S,{...t})}),_=()=>{const[t,e]=I.useState("");return r("div",{className:i.css(f.wrapper),children:r(S,{onChange:E=>e(E),url:t})})},o=t=>r(y,{...{url:"",onChange:()=>{}}}),p=t=>r(y,{...{url:"https://ka-perseus-images.s3.amazonaws.com/2ee5fc32e35c5178373b39fd304b325b2994c913.png",onChange:()=>{}}}),m=t=>r(_,{});o.__docgenInfo={description:"",methods:[],displayName:"Empty"};p.__docgenInfo={description:"",methods:[],displayName:"Filled"};m.__docgenInfo={description:"",methods:[],displayName:"Interactive"};var s,a,n;o.parameters={...o.parameters,docs:{...(s=o.parameters)==null?void 0:s.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { const props = ({ url: "", onChange: () => {} diff --git a/assets/server-item-renderer.stories--DPn5_9j.js b/assets/server-item-renderer.stories--DPn5_9j.js index bf1ffb05e0..30b3c6d5e1 100644 --- a/assets/server-item-renderer.stories--DPn5_9j.js +++ b/assets/server-item-renderer.stories--DPn5_9j.js @@ -1,4 +1,4 @@ -import{j as t,a as s,F as K}from"./jsx-runtime-FVsy8kgq.js";import{r as x}from"./index-TT1qJ6UJ.js";import{S as i}from"./server-item-renderer-with-debug-ui-PVeyAuGu.js";import{s as G}from"./test-dependencies-QSTpbU20.js";import{I as Q}from"./article-renderer-HHw6mvZH.js";import{S as Y}from"./perseus-item-CzcHcXKx.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./dependencies-d8cZibFS.js";import"./hints-renderer-0tODKVPs.js";import"./renderer-6wjvxpTF.js";import"./index-J2t_5nK1.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./shared-4TdECMLk.js";import"./base-radio-m6RczYwQ.js";import"./choice-none-above-kJRmN7Nm.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./hud-4BOtaFc1.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./ke-score-ui-VwVxZMGJ.js";import"./side-by-side-kGWaKY6T.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";import"./enums-x5qaTru7.js";import"./input-with-examples-il70I6Ir.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./answer-choices-G9U2Ia5j.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";const X={question:{content:"Enter the number $$-42$$ in the box: [[☃ input-number 1]]",images:{},widgets:{"input-number 1":{type:"input-number",graded:!0,options:{answerType:"number",value:"-42",simplify:"required",size:"normal",inexact:!1,maxError:.1}}}},hints:[{content:"Hint #1",images:{},widgets:{}},{content:"Hint #2",images:{},widgets:{}},{content:"Hint #3",images:{},widgets:{}}],answerArea:null,itemDataVersion:{major:0,minor:0},answer:null},ee={question:{content:`Enter the number $$1$$ in box one: [[☃ input-number 1]] +import{j as t,a as s,F as K}from"./jsx-runtime-FVsy8kgq.js";import{r as x}from"./index-TT1qJ6UJ.js";import{S as i}from"./server-item-renderer-with-debug-ui-PVeyAuGu.js";import{s as G}from"./test-dependencies-QSTpbU20.js";import{I as Q}from"./article-renderer-HHw6mvZH.js";import{S as Y}from"./perseus-item-CzcHcXKx.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./dependencies-d8cZibFS.js";import"./hints-renderer-0tODKVPs.js";import"./renderer-6wjvxpTF.js";import"./index-J2t_5nK1.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./shared-4TdECMLk.js";import"./base-radio-m6RczYwQ.js";import"./choice-none-above-kJRmN7Nm.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./hud-4BOtaFc1.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./ke-score-ui-VwVxZMGJ.js";import"./side-by-side-kGWaKY6T.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";import"./enums-x5qaTru7.js";import"./input-with-examples-il70I6Ir.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./answer-choices-G9U2Ia5j.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";const X={question:{content:"Enter the number $$-42$$ in the box: [[☃ input-number 1]]",images:{},widgets:{"input-number 1":{type:"input-number",graded:!0,options:{answerType:"number",value:"-42",simplify:"required",size:"normal",inexact:!1,maxError:.1}}}},hints:[{content:"Hint #1",images:{},widgets:{}},{content:"Hint #2",images:{},widgets:{}},{content:"Hint #3",images:{},widgets:{}}],answerArea:null,itemDataVersion:{major:0,minor:0},answer:null},ee={question:{content:`Enter the number $$1$$ in box one: [[☃ input-number 1]] Enter the number $$2$$ in box two: [[☃ input-number 2]]`,images:{},widgets:{"input-number 1":{type:"input-number",graded:!0,options:{answerType:"number",value:"1",simplify:"required",size:"normal",inexact:!1,maxError:.1}},"input-number 2":{type:"input-number",graded:!0,options:{answerType:"number",value:"2",simplify:"required",size:"normal",inexact:!1,maxError:.1}}}},hints:[{content:"Hint #1",images:{},widgets:{}},{content:"Hint #2",images:{},widgets:{}},{content:"Hint #3",images:{},widgets:{}}],answerArea:null,itemDataVersion:{major:0,minor:0},answer:null},te={question:{content:`Here's a radio widget: [[☃ radio 1]] diff --git a/assets/simple-keypad-input.stories-7zCo_AQF.js b/assets/simple-keypad-input.stories-7zCo_AQF.js index 9fe806d96c..799ab477dc 100644 --- a/assets/simple-keypad-input.stories-7zCo_AQF.js +++ b/assets/simple-keypad-input.stories-7zCo_AQF.js @@ -1,4 +1,4 @@ -import{a as t}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{S as n}from"./simple-keypad-input-LEkrmlga.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./jsx-runtime-FVsy8kgq.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./prop-types-SKtvHVtl.js";import"./version-akiLXZts.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./index-k-0mNqHS.js";const G={title:"Perseus/Components/Simple Keypad Input",component:n,args:{onChange:t("onChange"),onFocus:t("onFocus"),onBlur:t("onBlur")}},o={},r={args:{value:"Test value"}};var p,m,e;o.parameters={...o.parameters,docs:{...(p=o.parameters)==null?void 0:p.docs,source:{originalSource:"{}",...(e=(m=o.parameters)==null?void 0:m.docs)==null?void 0:e.source}}};var s,a,i;r.parameters={...r.parameters,docs:{...(s=r.parameters)==null?void 0:s.docs,source:{originalSource:`{ +import{a as t}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{S as n}from"./simple-keypad-input-LEkrmlga.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./jsx-runtime-FVsy8kgq.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./prop-types-SKtvHVtl.js";import"./version-akiLXZts.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./index-k-0mNqHS.js";const G={title:"Perseus/Components/Simple Keypad Input",component:n,args:{onChange:t("onChange"),onFocus:t("onFocus"),onBlur:t("onBlur")}},o={},r={args:{value:"Test value"}};var p,m,e;o.parameters={...o.parameters,docs:{...(p=o.parameters)==null?void 0:p.docs,source:{originalSource:"{}",...(e=(m=o.parameters)==null?void 0:m.docs)==null?void 0:e.source}}};var s,a,i;r.parameters={...r.parameters,docs:{...(s=r.parameters)==null?void 0:s.docs,source:{originalSource:`{ args: { value: "Test value" } diff --git a/assets/sorter-editor.stories-36exoH82.js b/assets/sorter-editor.stories-36exoH82.js index 66155c6247..4d2daa2b2f 100644 --- a/assets/sorter-editor.stories-36exoH82.js +++ b/assets/sorter-editor.stories-36exoH82.js @@ -1,3 +1,3 @@ -import{j as m}from"./jsx-runtime-FVsy8kgq.js";import{a as p}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{S as e}from"./sorter-editor-s1FSGhza.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./index-0C4KXdeC.js";const $r={title:"PerseusEditor/Widgets/Sorter Editor"},r=a=>m(e,{onChange:p("onChange")});r.__docgenInfo={description:"",methods:[],displayName:"Default"};var o,t,i;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { +import{j as m}from"./jsx-runtime-FVsy8kgq.js";import{a as p}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{S as e}from"./sorter-editor-s1FSGhza.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./index-0C4KXdeC.js";const $r={title:"PerseusEditor/Widgets/Sorter Editor"},r=a=>m(e,{onChange:p("onChange")});r.__docgenInfo={description:"",methods:[],displayName:"Default"};var o,t,i;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { return ; }`,...(i=(t=r.parameters)==null?void 0:t.docs)==null?void 0:i.source}}};const ro=["Default"];export{r as Default,ro as __namedExportsOrder,$r as default}; diff --git a/assets/sorter.stories-tFtUI76Y.js b/assets/sorter.stories-tFtUI76Y.js index 4ee437e2fc..835439776d 100644 --- a/assets/sorter.stories-tFtUI76Y.js +++ b/assets/sorter.stories-tFtUI76Y.js @@ -1,4 +1,4 @@ -import{j as m}from"./jsx-runtime-FVsy8kgq.js";import{R as p}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const e={content:`**Arrange the following measurements in order from smallest to largest.** +import{j as m}from"./jsx-runtime-FVsy8kgq.js";import{R as p}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const e={content:`**Arrange the following measurements in order from smallest to largest.** [[☃ sorter 1]]`,images:{},widgets:{"sorter 1":{version:{major:0,minor:0},type:"sorter",graded:!0,options:{padding:!0,layout:"horizontal",correct:["$0.005$ kilograms","$15$ grams","$55$ grams"]}}}},Vr={title:"Perseus/Widgets/Sorter"},r=s=>m(p,{question:e});r.__docgenInfo={description:"",methods:[],displayName:"Question1"};var t,o,i;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { return ; diff --git a/assets/structured-item-diff.stories-PGUNi6sb.js b/assets/structured-item-diff.stories-PGUNi6sb.js index 65731b9f65..18ded12aef 100644 --- a/assets/structured-item-diff.stories-PGUNi6sb.js +++ b/assets/structured-item-diff.stories-PGUNi6sb.js @@ -1,4 +1,4 @@ -import{_ as I}from"./iframe-NuRA7b3O.js";import{j as t}from"./jsx-runtime-FVsy8kgq.js";import{S as a}from"./structured-item-diff-wGcOsiRQ.js";import{W as b}from"./perseus-diff-wrapper-dJxBlkDd.js";import"../sb-preview/runtime.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./text-diff-XAqFDyA8.js";import"./components-yT7oveOH.js";import"./index-0C4KXdeC.js";import"./tags-diff-GS9LLcEz.js";I(()=>Promise.resolve({}),__vite__mapDeps([0]),import.meta.url);const qt={title:"PerseusEditor/Diffs/Structured Item Diff",decorators:[e=>t(b,{children:t(e,{})})]},c={a:"a tag",b:"b tag",c:"c tag"},i=e=>t(a,{...{before:{_multi:{directions:{__type:"content",content:"",images:{},widgets:{}},passage:{type:"content",content:"",images:{},widgets:{}},overview:{type:"content",content:"",images:{},widgets:{}},hints:[],questions:[]}},after:{_multi:{directions:{type:"content",content:"directions",images:{},widgets:{}},passage:{type:"content",content:"passage",images:{},widgets:{}},overview:{type:"content",content:"overview",images:{},widgets:{}},hints:[{type:"hint",content:"hint 1",images:{},widgets:{}}],questions:[{hints:[{type:"hint",content:"question hint 1",images:{},widgets:{}}],keepInMind:{type:"content",content:"keep in mind",images:{},widgets:{}},overview:{type:"content",content:"overview",images:{},widgets:{}},question:{type:"content",content:"question",images:{},widgets:{}},tags:["a","b"]}]}},shape:{type:"object",shape:{directions:{type:"content"},overview:{type:"content"},passage:{type:"content"},hints:{type:"array",elementShape:{type:"hint"}},questions:{type:"array",elementShape:{type:"object",shape:{tags:{type:"tags"},question:{type:"content"},overview:{type:"content"},keepInMind:{type:"content"},hints:{type:"array",elementShape:{type:"hint"}}}}}}},tags:{idToName:n=>c[n],nameToId:n=>n[0],names:["a tag","b tag","c tag"]}}}),s=e=>t(a,{...{before:{_multi:{directions:{__type:"content",content:"directions",images:{},widgets:{}},passage:{type:"content",content:"passage",images:{},widgets:{}},overview:{type:"content",content:"overview",images:{},widgets:{}},hints:[{type:"hint",content:"hint 1",images:{},widgets:{}},{type:"hint",content:"hint 2",images:{},widgets:{}}],questions:[{hints:[{type:"hint",content:"question hint 1",images:{},widgets:{}}],keepInMind:{type:"content",content:"keep in mind",images:{},widgets:{}},overview:{type:"content",content:"overview",images:{},widgets:{}},question:{type:"content",content:"question",images:{},widgets:{}},tags:["a","b"]}]}},after:{_multi:{directions:{type:"content",content:"directions",images:{},widgets:{}},passage:{type:"content",content:"passage",images:{},widgets:{}},overview:{type:"content",content:"overview",images:{},widgets:{}},hints:[{type:"hint",content:"hint 1",images:{},widgets:{}}],questions:[{hints:[],keepInMind:{type:"content",content:"keep in mind",images:{},widgets:{}},overview:{type:"content",content:"overview",images:{},widgets:{}},question:{type:"content",content:"question edited",images:{},widgets:{}},tags:["a","c"]},{hints:[{type:"hint",content:"question hint 1",images:{},widgets:{}}],keepInMind:{type:"content",content:"keep in mind",images:{},widgets:{}},overview:{type:"content",content:"overview",images:{},widgets:{}},question:{type:"content",content:"question",images:{},widgets:{}},tags:["a","b"]}]}},shape:{type:"object",shape:{directions:{type:"content"},overview:{type:"content"},passage:{type:"content"},hints:{type:"array",elementShape:{type:"hint"}},questions:{type:"array",elementShape:{type:"object",shape:{tags:{type:"tags"},question:{type:"content"},overview:{type:"content"},keepInMind:{type:"content"},hints:{type:"array",elementShape:{type:"hint"}}}}}}},tags:{idToName:n=>c[n],nameToId:n=>n[0],names:["a tag","b tag","c tag"]}}}),o=e=>t(a,{...{before:{_multi:{directions:{__type:"content",content:"directions",images:{},widgets:{}},passage:{type:"content",content:"passage",images:{},widgets:{}},overview:{type:"content",content:"overview",images:{},widgets:{}},hints:[{type:"hint",content:"hint 1",images:{},widgets:{}},{type:"hint",content:"hint 2",images:{},widgets:{}},{type:"hint",content:"hint 3",images:{},widgets:{}}],questions:[{hints:[{type:"hint",content:"question hint 1",images:{},widgets:{}},{type:"hint",content:"question hint 2",images:{},widgets:{}},{type:"hint",content:"question hint 3",images:{},widgets:{}}],keepInMind:{type:"content",content:"keep in mind",images:{},widgets:{}},overview:{type:"content",content:"overview",images:{},widgets:{}},question:{type:"content",content:"question edited",images:{},widgets:{}},tags:["a","c"]},{hints:[{type:"hint",content:"question hint 1",images:{},widgets:{}}],keepInMind:{type:"content",content:"keep in mind",images:{},widgets:{}},overview:{type:"content",content:"overview",images:{},widgets:{}},question:{type:"content",content:"question",images:{},widgets:{}},tags:["a","b"]},{hints:[{type:"hint",content:"question hint 1",images:{},widgets:{}}],keepInMind:{type:"content",content:"keep in mind",images:{},widgets:{}},overview:{type:"content",content:"overview",images:{},widgets:{}},question:{type:"content",content:"question",images:{},widgets:{}},tags:["a","b"]}]}},after:{_multi:{directions:{__type:"content",content:"directions",images:{},widgets:{}},passage:{type:"content",content:"passage",images:{},widgets:{}},overview:{type:"content",content:"overview",images:{},widgets:{}},hints:[{type:"hint",content:"hint 1",images:{},widgets:{}},{type:"hint",content:"hint 2",images:{},widgets:{}}],questions:[{hints:[{type:"hint",content:"question hint 1 edited",images:{},widgets:{}}],keepInMind:{type:"content",content:"keep in mind",images:{},widgets:{}},overview:{type:"content",content:"overview",images:{},widgets:{}},question:{type:"content",content:"question edited",images:{},widgets:{}},tags:["a","c"]},{hints:[{type:"hint",content:"question hint 1",images:{},widgets:{}}],keepInMind:{type:"content",content:"keep in mind",images:{},widgets:{}},overview:{type:"content",content:"overview",images:{},widgets:{}},question:{type:"content",content:"question",images:{},widgets:{}},tags:["a","b"]}]}},shape:{type:"object",shape:{directions:{type:"content"},overview:{type:"content"},passage:{type:"content"},hints:{type:"array",elementShape:{type:"hint"}},questions:{type:"array",elementShape:{type:"object",shape:{tags:{type:"tags"},question:{type:"content"},overview:{type:"content"},keepInMind:{type:"content"},hints:{type:"array",elementShape:{type:"hint"}}}}}}},tags:{idToName:n=>c[n],nameToId:n=>n[0],names:["a tag","b tag","c tag"]}}}),p=e=>t(a,{...{before:{_multi:{directions:{__type:"content",content:"directions",images:{},widgets:{}},passage:{type:"content",content:"passage",images:{},widgets:{}},overview:{type:"content",content:"overview",images:{},widgets:{}},hints:[{type:"hint",content:"hint 1",images:{},widgets:{}},{type:"hint",content:"hint 2",images:{},widgets:{}}],questions:[{hints:[{type:"hint",content:"question hint 1 edited",images:{},widgets:{}}],keepInMind:{type:"content",content:"keep in mind",images:{},widgets:{}},overview:{type:"content",content:"overview",images:{},widgets:{}},question:{type:"content",content:"question edited",images:{},widgets:{}},tags:["a","c"]},{hints:[{type:"hint",content:"question hint 1",images:{},widgets:{}}],keepInMind:{type:"content",content:"keep in mind",images:{},widgets:{}},overview:{type:"content",content:"overview",images:{},widgets:{}},question:{type:"content",content:"question",images:{},widgets:{}},tags:["a","b"]}]}},after:{_multi:{directions:{__type:"content",content:"",images:{},widgets:{}},passage:{type:"content",content:"",images:{},widgets:{}},overview:{type:"content",content:"",images:{},widgets:{}},hints:[],questions:[]}},shape:{type:"object",shape:{directions:{type:"content"},overview:{type:"content"},passage:{type:"content"},hints:{type:"array",elementShape:{type:"hint"}},questions:{type:"array",elementShape:{type:"object",shape:{tags:{type:"tags"},question:{type:"content"},overview:{type:"content"},keepInMind:{type:"content"},hints:{type:"array",elementShape:{type:"hint"}}}}}}},tags:{idToName:n=>c[n],nameToId:n=>n[0],names:["a tag","b tag","c tag"]}}});i.__docgenInfo={description:"",methods:[],displayName:"ContentAdded"};s.__docgenInfo={description:"",methods:[],displayName:"ContentAddedRemovedAndChanged"};o.__docgenInfo={description:"",methods:[],displayName:"MiscContentChanges"};p.__docgenInfo={description:"",methods:[],displayName:"ContentRemoved"};var r,m,d;i.parameters={...i.parameters,docs:{...(r=i.parameters)==null?void 0:r.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { +import{_ as I}from"./iframe-NuRA7b3O.js";import{j as t}from"./jsx-runtime-FVsy8kgq.js";import{S as a}from"./structured-item-diff-wGcOsiRQ.js";import{W as b}from"./perseus-diff-wrapper-dJxBlkDd.js";import"../sb-preview/runtime.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./text-diff-XAqFDyA8.js";import"./components-yT7oveOH.js";import"./index-0C4KXdeC.js";import"./tags-diff-GS9LLcEz.js";I(()=>Promise.resolve({}),__vite__mapDeps([0]),import.meta.url);const qt={title:"PerseusEditor/Diffs/Structured Item Diff",decorators:[e=>t(b,{children:t(e,{})})]},c={a:"a tag",b:"b tag",c:"c tag"},i=e=>t(a,{...{before:{_multi:{directions:{__type:"content",content:"",images:{},widgets:{}},passage:{type:"content",content:"",images:{},widgets:{}},overview:{type:"content",content:"",images:{},widgets:{}},hints:[],questions:[]}},after:{_multi:{directions:{type:"content",content:"directions",images:{},widgets:{}},passage:{type:"content",content:"passage",images:{},widgets:{}},overview:{type:"content",content:"overview",images:{},widgets:{}},hints:[{type:"hint",content:"hint 1",images:{},widgets:{}}],questions:[{hints:[{type:"hint",content:"question hint 1",images:{},widgets:{}}],keepInMind:{type:"content",content:"keep in mind",images:{},widgets:{}},overview:{type:"content",content:"overview",images:{},widgets:{}},question:{type:"content",content:"question",images:{},widgets:{}},tags:["a","b"]}]}},shape:{type:"object",shape:{directions:{type:"content"},overview:{type:"content"},passage:{type:"content"},hints:{type:"array",elementShape:{type:"hint"}},questions:{type:"array",elementShape:{type:"object",shape:{tags:{type:"tags"},question:{type:"content"},overview:{type:"content"},keepInMind:{type:"content"},hints:{type:"array",elementShape:{type:"hint"}}}}}}},tags:{idToName:n=>c[n],nameToId:n=>n[0],names:["a tag","b tag","c tag"]}}}),s=e=>t(a,{...{before:{_multi:{directions:{__type:"content",content:"directions",images:{},widgets:{}},passage:{type:"content",content:"passage",images:{},widgets:{}},overview:{type:"content",content:"overview",images:{},widgets:{}},hints:[{type:"hint",content:"hint 1",images:{},widgets:{}},{type:"hint",content:"hint 2",images:{},widgets:{}}],questions:[{hints:[{type:"hint",content:"question hint 1",images:{},widgets:{}}],keepInMind:{type:"content",content:"keep in mind",images:{},widgets:{}},overview:{type:"content",content:"overview",images:{},widgets:{}},question:{type:"content",content:"question",images:{},widgets:{}},tags:["a","b"]}]}},after:{_multi:{directions:{type:"content",content:"directions",images:{},widgets:{}},passage:{type:"content",content:"passage",images:{},widgets:{}},overview:{type:"content",content:"overview",images:{},widgets:{}},hints:[{type:"hint",content:"hint 1",images:{},widgets:{}}],questions:[{hints:[],keepInMind:{type:"content",content:"keep in mind",images:{},widgets:{}},overview:{type:"content",content:"overview",images:{},widgets:{}},question:{type:"content",content:"question edited",images:{},widgets:{}},tags:["a","c"]},{hints:[{type:"hint",content:"question hint 1",images:{},widgets:{}}],keepInMind:{type:"content",content:"keep in mind",images:{},widgets:{}},overview:{type:"content",content:"overview",images:{},widgets:{}},question:{type:"content",content:"question",images:{},widgets:{}},tags:["a","b"]}]}},shape:{type:"object",shape:{directions:{type:"content"},overview:{type:"content"},passage:{type:"content"},hints:{type:"array",elementShape:{type:"hint"}},questions:{type:"array",elementShape:{type:"object",shape:{tags:{type:"tags"},question:{type:"content"},overview:{type:"content"},keepInMind:{type:"content"},hints:{type:"array",elementShape:{type:"hint"}}}}}}},tags:{idToName:n=>c[n],nameToId:n=>n[0],names:["a tag","b tag","c tag"]}}}),o=e=>t(a,{...{before:{_multi:{directions:{__type:"content",content:"directions",images:{},widgets:{}},passage:{type:"content",content:"passage",images:{},widgets:{}},overview:{type:"content",content:"overview",images:{},widgets:{}},hints:[{type:"hint",content:"hint 1",images:{},widgets:{}},{type:"hint",content:"hint 2",images:{},widgets:{}},{type:"hint",content:"hint 3",images:{},widgets:{}}],questions:[{hints:[{type:"hint",content:"question hint 1",images:{},widgets:{}},{type:"hint",content:"question hint 2",images:{},widgets:{}},{type:"hint",content:"question hint 3",images:{},widgets:{}}],keepInMind:{type:"content",content:"keep in mind",images:{},widgets:{}},overview:{type:"content",content:"overview",images:{},widgets:{}},question:{type:"content",content:"question edited",images:{},widgets:{}},tags:["a","c"]},{hints:[{type:"hint",content:"question hint 1",images:{},widgets:{}}],keepInMind:{type:"content",content:"keep in mind",images:{},widgets:{}},overview:{type:"content",content:"overview",images:{},widgets:{}},question:{type:"content",content:"question",images:{},widgets:{}},tags:["a","b"]},{hints:[{type:"hint",content:"question hint 1",images:{},widgets:{}}],keepInMind:{type:"content",content:"keep in mind",images:{},widgets:{}},overview:{type:"content",content:"overview",images:{},widgets:{}},question:{type:"content",content:"question",images:{},widgets:{}},tags:["a","b"]}]}},after:{_multi:{directions:{__type:"content",content:"directions",images:{},widgets:{}},passage:{type:"content",content:"passage",images:{},widgets:{}},overview:{type:"content",content:"overview",images:{},widgets:{}},hints:[{type:"hint",content:"hint 1",images:{},widgets:{}},{type:"hint",content:"hint 2",images:{},widgets:{}}],questions:[{hints:[{type:"hint",content:"question hint 1 edited",images:{},widgets:{}}],keepInMind:{type:"content",content:"keep in mind",images:{},widgets:{}},overview:{type:"content",content:"overview",images:{},widgets:{}},question:{type:"content",content:"question edited",images:{},widgets:{}},tags:["a","c"]},{hints:[{type:"hint",content:"question hint 1",images:{},widgets:{}}],keepInMind:{type:"content",content:"keep in mind",images:{},widgets:{}},overview:{type:"content",content:"overview",images:{},widgets:{}},question:{type:"content",content:"question",images:{},widgets:{}},tags:["a","b"]}]}},shape:{type:"object",shape:{directions:{type:"content"},overview:{type:"content"},passage:{type:"content"},hints:{type:"array",elementShape:{type:"hint"}},questions:{type:"array",elementShape:{type:"object",shape:{tags:{type:"tags"},question:{type:"content"},overview:{type:"content"},keepInMind:{type:"content"},hints:{type:"array",elementShape:{type:"hint"}}}}}}},tags:{idToName:n=>c[n],nameToId:n=>n[0],names:["a tag","b tag","c tag"]}}}),p=e=>t(a,{...{before:{_multi:{directions:{__type:"content",content:"directions",images:{},widgets:{}},passage:{type:"content",content:"passage",images:{},widgets:{}},overview:{type:"content",content:"overview",images:{},widgets:{}},hints:[{type:"hint",content:"hint 1",images:{},widgets:{}},{type:"hint",content:"hint 2",images:{},widgets:{}}],questions:[{hints:[{type:"hint",content:"question hint 1 edited",images:{},widgets:{}}],keepInMind:{type:"content",content:"keep in mind",images:{},widgets:{}},overview:{type:"content",content:"overview",images:{},widgets:{}},question:{type:"content",content:"question edited",images:{},widgets:{}},tags:["a","c"]},{hints:[{type:"hint",content:"question hint 1",images:{},widgets:{}}],keepInMind:{type:"content",content:"keep in mind",images:{},widgets:{}},overview:{type:"content",content:"overview",images:{},widgets:{}},question:{type:"content",content:"question",images:{},widgets:{}},tags:["a","b"]}]}},after:{_multi:{directions:{__type:"content",content:"",images:{},widgets:{}},passage:{type:"content",content:"",images:{},widgets:{}},overview:{type:"content",content:"",images:{},widgets:{}},hints:[],questions:[]}},shape:{type:"object",shape:{directions:{type:"content"},overview:{type:"content"},passage:{type:"content"},hints:{type:"array",elementShape:{type:"hint"}},questions:{type:"array",elementShape:{type:"object",shape:{tags:{type:"tags"},question:{type:"content"},overview:{type:"content"},keepInMind:{type:"content"},hints:{type:"array",elementShape:{type:"hint"}}}}}}},tags:{idToName:n=>c[n],nameToId:n=>n[0],names:["a tag","b tag","c tag"]}}});i.__docgenInfo={description:"",methods:[],displayName:"ContentAdded"};s.__docgenInfo={description:"",methods:[],displayName:"ContentAddedRemovedAndChanged"};o.__docgenInfo={description:"",methods:[],displayName:"MiscContentChanges"};p.__docgenInfo={description:"",methods:[],displayName:"ContentRemoved"};var r,m,d;i.parameters={...i.parameters,docs:{...(r=i.parameters)==null?void 0:r.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { const props = ({ before: { _multi: { diff --git a/assets/tabbar.stories-XOe59aSK.js b/assets/tabbar.stories-XOe59aSK.js index 5404962ee2..4b4767a913 100644 --- a/assets/tabbar.stories-XOe59aSK.js +++ b/assets/tabbar.stories-XOe59aSK.js @@ -1,4 +1,4 @@ -import{j as a}from"./jsx-runtime-FVsy8kgq.js";import{r as i}from"./index-TT1qJ6UJ.js";import{T as n}from"./tabbar-WYCYDof0.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-deFLJwr4.js";const O={title:"math-input/components/Tab Bar",component:n};function l(e){const[p,c]=i.useState("Numbers");return a(n,{...e,selectedItem:p,onSelectItem:r=>{e.onSelectItem(r),c(r)}})}const t={argTypes:{selectedItem:{options:["Numbers","Geometry","Operators"]}},args:{items:["Numbers","Geometry","Operators"]},parameters:{controls:{exclude:["items","onSelectItem","selectedItem","onClickClose"]}},render:e=>a(l,{...e})};var o,s,m;t.parameters={...t.parameters,docs:{...(o=t.parameters)==null?void 0:o.docs,source:{originalSource:`{ +import{j as a}from"./jsx-runtime-FVsy8kgq.js";import{r as i}from"./index-TT1qJ6UJ.js";import{T as n}from"./tabbar-WYCYDof0.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-deFLJwr4.js";const O={title:"math-input/components/Tab Bar",component:n};function l(e){const[p,c]=i.useState("Numbers");return a(n,{...e,selectedItem:p,onSelectItem:r=>{e.onSelectItem(r),c(r)}})}const t={argTypes:{selectedItem:{options:["Numbers","Geometry","Operators"]}},args:{items:["Numbers","Geometry","Operators"]},parameters:{controls:{exclude:["items","onSelectItem","selectedItem","onClickClose"]}},render:e=>a(l,{...e})};var o,s,m;t.parameters={...t.parameters,docs:{...(o=t.parameters)==null?void 0:o.docs,source:{originalSource:`{ argTypes: { selectedItem: { options: ["Numbers", "Geometry", "Operators"] diff --git a/assets/tabbaritem.stories-mdibAqRo.js b/assets/tabbaritem.stories-mdibAqRo.js index b7ee914b8a..a216874ffc 100644 --- a/assets/tabbaritem.stories-mdibAqRo.js +++ b/assets/tabbaritem.stories-mdibAqRo.js @@ -1,4 +1,4 @@ -import{T as o}from"./item-X9tjzx12.js";import"./jsx-runtime-FVsy8kgq.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-WNT3sUKf.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-deFLJwr4.js";const g={title:"math-input/components/Tab Bar Item",component:o},t={args:{itemState:"inactive",itemType:"Numbers"}};var e,r,m;t.parameters={...t.parameters,docs:{...(e=t.parameters)==null?void 0:e.docs,source:{originalSource:`{ +import{T as o}from"./item-X9tjzx12.js";import"./jsx-runtime-FVsy8kgq.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-2dmvOE3q.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-deFLJwr4.js";const g={title:"math-input/components/Tab Bar Item",component:o},t={args:{itemState:"inactive",itemType:"Numbers"}};var e,r,m;t.parameters={...t.parameters,docs:{...(e=t.parameters)==null?void 0:e.docs,source:{originalSource:`{ args: { itemState: ("inactive" as const), itemType: "Numbers" diff --git a/assets/tags-diff.stories-miDpoYze.js b/assets/tags-diff.stories-miDpoYze.js index 1b8e24387d..7806854d7a 100644 --- a/assets/tags-diff.stories-miDpoYze.js +++ b/assets/tags-diff.stories-miDpoYze.js @@ -1,3 +1,3 @@ -import{j as t}from"./jsx-runtime-FVsy8kgq.js";import{T as e}from"./tags-diff-GS9LLcEz.js";import{W as s}from"./perseus-diff-wrapper-dJxBlkDd.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./text-diff-XAqFDyA8.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./index-0C4KXdeC.js";const Zr={title:"PerseusEditor/Diffs/Tags Diff",decorators:[o=>t(s,{children:t(o,{})})]},r=o=>t(e,{title:"tags",beforeOnly:["Math","Biology","History"],afterOnly:["World War I"],intersection:["Physics","Chemistry"]});r.__docgenInfo={description:"",methods:[],displayName:"Example"};var i,m,p;r.parameters={...r.parameters,docs:{...(i=r.parameters)==null?void 0:i.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { +import{j as t}from"./jsx-runtime-FVsy8kgq.js";import{T as e}from"./tags-diff-GS9LLcEz.js";import{W as s}from"./perseus-diff-wrapper-dJxBlkDd.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./text-diff-XAqFDyA8.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./index-0C4KXdeC.js";const Zr={title:"PerseusEditor/Diffs/Tags Diff",decorators:[o=>t(s,{children:t(o,{})})]},r=o=>t(e,{title:"tags",beforeOnly:["Math","Biology","History"],afterOnly:["World War I"],intersection:["Physics","Chemistry"]});r.__docgenInfo={description:"",methods:[],displayName:"Example"};var i,m,p;r.parameters={...r.parameters,docs:{...(i=r.parameters)==null?void 0:i.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { return ; }`,...(p=(m=r.parameters)==null?void 0:m.docs)==null?void 0:p.source}}};const $r=["Example"];export{r as Example,$r as __namedExportsOrder,Zr as default}; diff --git a/assets/text-diff.stories-L9HXTKEw.js b/assets/text-diff.stories-L9HXTKEw.js index 250df07f33..59000b0379 100644 --- a/assets/text-diff.stories-L9HXTKEw.js +++ b/assets/text-diff.stories-L9HXTKEw.js @@ -1,3 +1,3 @@ -import{j as t}from"./jsx-runtime-FVsy8kgq.js";import{T as e}from"./text-diff-XAqFDyA8.js";import{W as a}from"./perseus-diff-wrapper-dJxBlkDd.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./index-0C4KXdeC.js";const Yr={title:"PerseusEditor/Diffs/Text Diff",decorators:[o=>t(a,{children:t(o,{})})]},r=o=>t(e,{title:"A day in the life of a text diff",before:"🥱 Hello world!",after:"😴 Goodbye world!"});r.__docgenInfo={description:"",methods:[],displayName:"Example"};var i,m,p;r.parameters={...r.parameters,docs:{...(i=r.parameters)==null?void 0:i.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { +import{j as t}from"./jsx-runtime-FVsy8kgq.js";import{T as e}from"./text-diff-XAqFDyA8.js";import{W as a}from"./perseus-diff-wrapper-dJxBlkDd.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./index-0C4KXdeC.js";const Yr={title:"PerseusEditor/Diffs/Text Diff",decorators:[o=>t(a,{children:t(o,{})})]},r=o=>t(e,{title:"A day in the life of a text diff",before:"🥱 Hello world!",after:"😴 Goodbye world!"});r.__docgenInfo={description:"",methods:[],displayName:"Example"};var i,m,p;r.parameters={...r.parameters,docs:{...(i=r.parameters)==null?void 0:i.docs,source:{originalSource:`(args: StoryArgs): React.ReactElement => { return ; }`,...(p=(m=r.parameters)==null?void 0:m.docs)==null?void 0:p.source}}};const Zr=["Example"];export{r as Example,Zr as __namedExportsOrder,Yr as default}; diff --git a/assets/video.stories-W_qKcuDL.js b/assets/video.stories-W_qKcuDL.js index 8d6f66bd44..f5a8c8e8b9 100644 --- a/assets/video.stories-W_qKcuDL.js +++ b/assets/video.stories-W_qKcuDL.js @@ -1,4 +1,4 @@ -import{j as i}from"./jsx-runtime-FVsy8kgq.js";import{R as e}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-2dmvOE3q.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const h={content:`Watch the Biogeography: Where Life Lives video to find the answer. +import{j as i}from"./jsx-runtime-FVsy8kgq.js";import{R as e}from"./renderer-with-debug-ui-duQdKc-n.js";import"./index-TT1qJ6UJ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./choice-I73s7vIV.js";import"./index-6h5t6F0w.js";import"./index-awljIyHI.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./index-o3wWn3Y5.js";import"./index-deFLJwr4.js";import"./index-h_CiYGGb.js";import"./index-ngddCaVG.js";import"./index-rfN0X25E.js";import"./index-xuPsLuPk.js";import"./index-WNT3sUKf.js";import"./index-qUyqkRvh.js";import"./index-BPSWBbj5.js";import"./index-7vsPyIck.js";import"./index-YCTzZMik.js";import"./index-CkAxGj88.js";import"./Popper-kGnKOid7.js";import"./index-dnMhQZ-1.js";import"./i18n-context-P5sgPFep.js";import"./icon-R5gZamfG.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./invariant-bu5zBsRS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./jquery-yG1GhClm.js";import"./media-queries-gbofTbz-.js";import"./constants-iPV6vHZm.js";import"./choice-icon-StuadxRF.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-J2t_5nK1.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./asset-context-I7yIqWki.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./client-rbWgHzHN.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./math-input-JZMGF6RZ.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./shared-4TdECMLk.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./side-by-side-kGWaKY6T.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./register-all-widgets-for-testing-qEdr4aQT.js";const h={content:`Watch the Biogeography: Where Life Lives video to find the answer. [[☃ video 1]] diff --git a/assets/viewport-resizer.stories-K8MlXKfV.js b/assets/viewport-resizer.stories-K8MlXKfV.js index 801033a331..5c82d87804 100644 --- a/assets/viewport-resizer.stories-K8MlXKfV.js +++ b/assets/viewport-resizer.stories-K8MlXKfV.js @@ -1,4 +1,4 @@ -import{j as s}from"./jsx-runtime-FVsy8kgq.js";import{a}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{r as c}from"./index-TT1qJ6UJ.js";import{V as m}from"./viewport-resizer-CoOyl6DY.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-WNT3sUKf.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-2dmvOE3q.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./constants-p_UgHLsb.js";import"./icon-paths-EoBkHOLI.js";const pt={component:m,title:"PerseusEditor/Components/Viewport Resizer"},o=()=>{const[e,n]=c.useState("phone");return s(m,{deviceType:e,onViewportSizeChanged:t=>{a("onViewportSizeChanged")(t),n(t)}})};o.__docgenInfo={description:"",methods:[],displayName:"Controlled"};var r,i,p;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:`() => { +import{j as s}from"./jsx-runtime-FVsy8kgq.js";import{a}from"./chunk-WFFRPTHA-zlNDxfrq.js";import{r as c}from"./index-TT1qJ6UJ.js";import{V as m}from"./viewport-resizer-CoOyl6DY.js";import"./preview-errors-7FWlPnjy.js";import"./index-PPLHz8o0.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./article-renderer-HHw6mvZH.js";import"./util-F8-MDmsT.js";import"./version-akiLXZts.js";import"./jquery-yG1GhClm.js";import"./prop-types-SKtvHVtl.js";import"./mobile-keypad-wPUeR8mM.js";import"./index-awljIyHI.js";import"./index-7vsPyIck.js";import"./index-CkAxGj88.js";import"./index-J2t_5nK1.js";import"./index-6h5t6F0w.js";import"./index-deFLJwr4.js";import"./tabbar-WYCYDof0.js";import"./item-X9tjzx12.js";import"./index-2dmvOE3q.js";import"./react-router-dom-W_e8xVUu.js";import"./index-tvtfaFq4.js";import"./button-assets-txIojR3b.js";import"./keypad-button-rKskH7oM.js";import"./operators-page-C_EsmjPW.js";import"./navigation-pad-ss7r0FKW.js";import"./key-translator-Bl2XtQm9.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./invariant-bu5zBsRS.js";import"./enums-x5qaTru7.js";import"./renderer-6wjvxpTF.js";import"./index-dnMhQZ-1.js";import"./asset-context-I7yIqWki.js";import"./i18n-context-P5sgPFep.js";import"./svg-image-4Vh9uTQ6.js";import"./dependencies-d8cZibFS.js";import"./fixed-to-responsive-AkRQxH3P.js";import"./constants-iPV6vHZm.js";import"./client-rbWgHzHN.js";import"./inline-icon-NjJlm7d0.js";import"./icon-paths-5JCXzGsq.js";import"./image-loader-3HliPbpF.js";import"./tex-6yhnhbtf.js";import"./zoomable-CA1NzpZD.js";import"./zoomable-tex-hbM7rxrP.js";import"./perseus-api-Nq3s7IMx.js";import"./index-k-0mNqHS.js";import"./stub-tag-editor-74YQ4o9G.js";import"./text-list-editor-Jz35fIN1.js";import"./lint-kpBgzQ8K.js";import"./index-K9BSJPWl.js";import"./index-xuPsLuPk.js";import"./index-YCTzZMik.js";import"./index-rfN0X25E.js";import"./index-o3wWn3Y5.js";import"./index-h_CiYGGb.js";import"./Popper-kGnKOid7.js";import"./math-input-JZMGF6RZ.js";import"./index-WNT3sUKf.js";import"./index-BPSWBbj5.js";import"./input-with-examples-il70I6Ir.js";import"./text-input-15gEhfDF.js";import"./index-QCAhLhLD.js";import"./minus-bold-ONmDo3Ve.js";import"./tooltip--mhQefx0.js";import"./simple-keypad-input-LEkrmlga.js";import"./base-radio-m6RczYwQ.js";import"./media-queries-gbofTbz-.js";import"./shared-4TdECMLk.js";import"./choice-I73s7vIV.js";import"./index-ngddCaVG.js";import"./index-qUyqkRvh.js";import"./icon-R5gZamfG.js";import"./choice-icon-StuadxRF.js";import"./focus-ring-2b4ybtc7.js";import"./option-status-Yr5mIJZ4.js";import"./choice-none-above-kJRmN7Nm.js";import"./phet-simulation-qZOVvVJP.js";import"./arrow-square-out-bold-090vdhrx.js";import"./answer-choices-G9U2Ia5j.js";import"./button-group-nsoLlHtM.js";import"./graph-2fIs0C28.js";import"./index-IIMKO4_x.js";import"./tiny-invariant-bHgPayXn.js";import"./bundle.esm-7jAAHVxW.js";import"./hud-4BOtaFc1.js";import"./multi-button-group-atHe8dYZ.js";import"./number-input-AfYHd3vF.js";import"./range-input-gZ_c3T2F.js";import"./marker-06uReQHz.js";import"./answer-pill-bgCwLR7r.js";import"./sortable-9Lw4jI0B.js";import"./video-transcript-link-MKIRfGVo.js";import"./perseus-item-CzcHcXKx.js";import"./hints-renderer-0tODKVPs.js";import"./components-yT7oveOH.js";import"./constants-p_UgHLsb.js";import"./icon-paths-EoBkHOLI.js";const pt={component:m,title:"PerseusEditor/Components/Viewport Resizer"},o=()=>{const[e,n]=c.useState("phone");return s(m,{deviceType:e,onViewportSizeChanged:t=>{a("onViewportSizeChanged")(t),n(t)}})};o.__docgenInfo={description:"",methods:[],displayName:"Controlled"};var r,i,p;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:`() => { const [deviceType, setDeviceType] = React.useState("phone"); return { action("onViewportSizeChanged")(newDeviceType); diff --git a/preview-stats.json b/preview-stats.json index ddae972189..13dd6c0ac6 100644 --- a/preview-stats.json +++ b/preview-stats.json @@ -1231,104 +1231,107 @@ ] }, { - "id": "./packages/math-input/src/components/keypad/navigation-pad.tsx", - "name": "./packages/math-input/src/components/keypad/navigation-pad.tsx", + "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/color-swatch.tsx", + "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/color-swatch.tsx", "reasons": [ { - "moduleName": "./packages/math-input/src/components/keypad/navigation-pad.stories.tsx" + "moduleName": "./packages/perseus-editor/src/components/__stories__/color-swatch.stories.tsx" }, { - "moduleName": "./packages/math-input/src/components/keypad/keypad.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/color-select.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-point-settings.tsx" } ] }, { - "id": "./packages/math-input/src/data/key-configs.ts", - "name": "./packages/math-input/src/data/key-configs.ts", + "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/util.ts", + "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/util.ts", "reasons": [ { - "moduleName": "./packages/math-input/src/components/keypad/keypad-button.stories.tsx" + "moduleName": "./packages/perseus-editor/src/components/__stories__/color-swatch.stories.tsx" }, { - "moduleName": "./packages/math-input/src/index.ts" + "moduleName": "./packages/perseus-editor/src/components/__stories__/color-select.stories.tsx" }, { - "moduleName": "./packages/math-input/src/components/keypad/keypad-pages/geometry-page.tsx" + "moduleName": "./packages/perseus-editor/src/components/__stories__/locked-ellipse-settings.stories.tsx" }, { - "moduleName": "./packages/math-input/src/components/keypad/keypad-pages/numbers-page.tsx" + "moduleName": "./packages/perseus-editor/src/components/__stories__/locked-function-settings.stories.tsx" }, { - "moduleName": "./packages/math-input/src/components/keypad/keypad-pages/operators-page.tsx" + "moduleName": "./packages/perseus-editor/src/components/__stories__/locked-label-settings.stories.tsx" }, { - "moduleName": "./packages/math-input/src/components/keypad/keypad-pages/extras-page.tsx" + "moduleName": "./packages/perseus-editor/src/components/__stories__/locked-line-settings.stories.tsx" }, { - "moduleName": "./packages/math-input/src/components/keypad/keypad-pages/fractions-page.tsx" + "moduleName": "./packages/perseus-editor/src/components/__stories__/locked-point-settings.stories.tsx" }, { - "moduleName": "./packages/math-input/src/components/keypad/shared-keys.tsx" + "moduleName": "./packages/perseus-editor/src/components/__stories__/locked-polygon-settings.stories.tsx" }, { - "moduleName": "./packages/math-input/src/components/keypad/utils.ts" + "moduleName": "./packages/perseus-editor/src/components/__stories__/locked-vector-settings.stories.tsx" }, { - "moduleName": "./packages/math-input/src/components/keypad/navigation-pad.tsx" - } - ] - }, - { - "id": "./packages/math-input/src/strings.ts", - "name": "./packages/math-input/src/strings.ts", - "reasons": [ + "moduleName": "./packages/perseus-editor/src/widgets/__stories__/interactive-graph-editor.stories.tsx" + }, { - "moduleName": "./packages/math-input/src/components/keypad/keypad-button.stories.tsx" + "moduleName": "./packages/perseus-editor/src/components/__stories__/locked-figures-section.stories.tsx" }, { - "moduleName": "./packages/math-input/src/components/keypad/keypad-mathquill.stories.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-ellipse-settings.tsx" }, { - "moduleName": "./packages/math-input/src/components/i18n-context.tsx" - } - ] - }, - { - "id": "./packages/math-input/src/components/keypad/keypad-button.tsx", - "name": "./packages/math-input/src/components/keypad/keypad-button.tsx", - "reasons": [ + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figures-section.tsx" + }, { - "moduleName": "./packages/math-input/src/components/keypad/keypad-button.stories.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-function-settings.tsx" }, { - "moduleName": "./packages/math-input/src/components/keypad/keypad-pages/geometry-page.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-line-settings.tsx" }, { - "moduleName": "./packages/math-input/src/components/keypad/keypad-pages/numbers-page.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-point-settings.tsx" }, { - "moduleName": "./packages/math-input/src/components/keypad/keypad-pages/operators-page.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-vector-settings.tsx" }, { - "moduleName": "./packages/math-input/src/components/keypad/keypad-pages/extras-page.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-polygon-settings.tsx" + } + ] + }, + { + "id": "./packages/perseus-editor/src/util/register-all-widgets-and-editors-for-testing.ts", + "name": "./packages/perseus-editor/src/util/register-all-widgets-and-editors-for-testing.ts", + "reasons": [ + { + "moduleName": "./packages/perseus-editor/src/__stories__/editor-page.stories.tsx" }, { - "moduleName": "./packages/math-input/src/components/keypad/keypad-pages/fractions-page.tsx" + "moduleName": "./packages/perseus-editor/src/__stories__/editor.stories.tsx" }, { - "moduleName": "./packages/math-input/src/components/keypad/shared-keys.tsx" + "moduleName": "./packages/perseus-editor/src/__stories__/article-editor.stories.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/__stories__/interactive-graph-editor.stories.tsx" } ] }, { - "id": "./packages/math-input/src/components/tabbar/item.tsx", - "name": "./packages/math-input/src/components/tabbar/item.tsx", + "id": "./packages/perseus-editor/src/__stories__/editor-page-with-storybook-preview.tsx", + "name": "./packages/perseus-editor/src/__stories__/editor-page-with-storybook-preview.tsx", "reasons": [ { - "moduleName": "./packages/math-input/src/components/tabbar/tabbaritem.stories.tsx" + "moduleName": "./packages/perseus-editor/src/__stories__/editor-page.stories.tsx" }, { - "moduleName": "./packages/math-input/src/components/tabbar/tabbar.tsx" + "moduleName": "./packages/perseus-editor/src/__stories__/interactive-graph-editor.stories.tsx" } ] }, @@ -1381,131 +1384,128 @@ ] }, { - "id": "./packages/perseus-editor/src/util/register-all-widgets-and-editors-for-testing.ts", - "name": "./packages/perseus-editor/src/util/register-all-widgets-and-editors-for-testing.ts", + "id": "./packages/math-input/src/components/keypad/navigation-pad.tsx", + "name": "./packages/math-input/src/components/keypad/navigation-pad.tsx", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/__stories__/editor-page.stories.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/__stories__/article-editor.stories.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/__stories__/editor.stories.tsx" + "moduleName": "./packages/math-input/src/components/keypad/navigation-pad.stories.tsx" }, { - "moduleName": "./packages/perseus-editor/src/__stories__/interactive-graph-editor.stories.tsx" + "moduleName": "./packages/math-input/src/components/keypad/keypad.tsx" } ] }, { - "id": "./packages/perseus-editor/src/__stories__/editor-page-with-storybook-preview.tsx", - "name": "./packages/perseus-editor/src/__stories__/editor-page-with-storybook-preview.tsx", + "id": "./packages/math-input/src/components/tabbar/item.tsx", + "name": "./packages/math-input/src/components/tabbar/item.tsx", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/__stories__/editor-page.stories.tsx" + "moduleName": "./packages/math-input/src/components/tabbar/tabbaritem.stories.tsx" }, { - "moduleName": "./packages/perseus-editor/src/__stories__/interactive-graph-editor.stories.tsx" + "moduleName": "./packages/math-input/src/components/tabbar/tabbar.tsx" } ] }, { - "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/color-swatch.tsx", - "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/color-swatch.tsx", + "id": "./packages/perseus-editor/src/components/graph-settings.tsx", + "name": "./packages/perseus-editor/src/components/graph-settings.tsx", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/components/__stories__/color-swatch.stories.tsx" + "moduleName": "./packages/perseus-editor/src/components/__stories__/graph-settings.stories.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/color-select.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/interaction-editor.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-point-settings.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/grapher-editor.tsx" } ] }, { - "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/util.ts", - "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/util.ts", + "id": "./packages/perseus-editor/src/components/__stories__/graph-settings.argtypes.ts", + "name": "./packages/perseus-editor/src/components/__stories__/graph-settings.argtypes.ts", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/components/__stories__/color-swatch.stories.tsx" - }, + "moduleName": "./packages/perseus-editor/src/components/__stories__/graph-settings.stories.tsx" + } + ] + }, + { + "id": "./packages/math-input/src/data/key-configs.ts", + "name": "./packages/math-input/src/data/key-configs.ts", + "reasons": [ { - "moduleName": "./packages/perseus-editor/src/components/__stories__/locked-line-settings.stories.tsx" + "moduleName": "./packages/math-input/src/components/keypad/keypad-button.stories.tsx" }, { - "moduleName": "./packages/perseus-editor/src/components/__stories__/locked-ellipse-settings.stories.tsx" + "moduleName": "./packages/math-input/src/index.ts" }, { - "moduleName": "./packages/perseus-editor/src/components/__stories__/locked-point-settings.stories.tsx" + "moduleName": "./packages/math-input/src/components/keypad/keypad-pages/geometry-page.tsx" }, { - "moduleName": "./packages/perseus-editor/src/components/__stories__/color-select.stories.tsx" + "moduleName": "./packages/math-input/src/components/keypad/keypad-pages/numbers-page.tsx" }, { - "moduleName": "./packages/perseus-editor/src/components/__stories__/locked-label-settings.stories.tsx" + "moduleName": "./packages/math-input/src/components/keypad/keypad-pages/operators-page.tsx" }, { - "moduleName": "./packages/perseus-editor/src/components/__stories__/locked-function-settings.stories.tsx" + "moduleName": "./packages/math-input/src/components/keypad/keypad-pages/extras-page.tsx" }, { - "moduleName": "./packages/perseus-editor/src/components/__stories__/locked-polygon-settings.stories.tsx" + "moduleName": "./packages/math-input/src/components/keypad/keypad-pages/fractions-page.tsx" }, { - "moduleName": "./packages/perseus-editor/src/components/__stories__/locked-vector-settings.stories.tsx" + "moduleName": "./packages/math-input/src/components/keypad/utils.ts" }, { - "moduleName": "./packages/perseus-editor/src/widgets/__stories__/interactive-graph-editor.stories.tsx" + "moduleName": "./packages/math-input/src/components/keypad/shared-keys.tsx" }, { - "moduleName": "./packages/perseus-editor/src/components/__stories__/locked-figures-section.stories.tsx" - }, + "moduleName": "./packages/math-input/src/components/keypad/navigation-pad.tsx" + } + ] + }, + { + "id": "./packages/math-input/src/strings.ts", + "name": "./packages/math-input/src/strings.ts", + "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-line-settings.tsx" + "moduleName": "./packages/math-input/src/components/keypad/keypad-button.stories.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-ellipse-settings.tsx" + "moduleName": "./packages/math-input/src/components/keypad/keypad-mathquill.stories.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-point-settings.tsx" - }, + "moduleName": "./packages/math-input/src/components/i18n-context.tsx" + } + ] + }, + { + "id": "./packages/math-input/src/components/keypad/keypad-button.tsx", + "name": "./packages/math-input/src/components/keypad/keypad-button.tsx", + "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figures-section.tsx" + "moduleName": "./packages/math-input/src/components/keypad/keypad-button.stories.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-function-settings.tsx" + "moduleName": "./packages/math-input/src/components/keypad/keypad-pages/geometry-page.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-polygon-settings.tsx" + "moduleName": "./packages/math-input/src/components/keypad/keypad-pages/numbers-page.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-vector-settings.tsx" - } - ] - }, - { - "id": "./packages/perseus-editor/src/components/graph-settings.tsx", - "name": "./packages/perseus-editor/src/components/graph-settings.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/components/__stories__/graph-settings.stories.tsx" + "moduleName": "./packages/math-input/src/components/keypad/keypad-pages/operators-page.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/interaction-editor.tsx" + "moduleName": "./packages/math-input/src/components/keypad/keypad-pages/extras-page.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/grapher-editor.tsx" - } - ] - }, - { - "id": "./packages/perseus-editor/src/components/__stories__/graph-settings.argtypes.ts", - "name": "./packages/perseus-editor/src/components/__stories__/graph-settings.argtypes.ts", - "reasons": [ + "moduleName": "./packages/math-input/src/components/keypad/keypad-pages/fractions-page.tsx" + }, { - "moduleName": "./packages/perseus-editor/src/components/__stories__/graph-settings.stories.tsx" + "moduleName": "./packages/math-input/src/components/keypad/shared-keys.tsx" } ] }, @@ -1519,9 +1519,6 @@ { "moduleName": "./packages/perseus-editor/src/widgets/__stories__/categorizer-editor.stories.tsx" }, - { - "moduleName": "./packages/perseus-editor/src/__stories__/article-editor.stories.tsx" - }, { "moduleName": "./.storybook/preview.tsx" }, @@ -1529,7 +1526,7 @@ "moduleName": "./packages/perseus-editor/src/__stories__/content-preview.stories.tsx" }, { - "moduleName": "./packages/perseus-editor/src/util/register-all-widgets-and-editors-for-testing.ts" + "moduleName": "./packages/perseus-editor/src/__stories__/article-editor.stories.tsx" }, { "moduleName": "./packages/perseus-editor/src/index.ts" @@ -1540,6 +1537,9 @@ { "moduleName": "./packages/perseus-editor/src/components/viewport-resizer.tsx" }, + { + "moduleName": "./packages/perseus-editor/src/util/register-all-widgets-and-editors-for-testing.ts" + }, { "moduleName": "./packages/perseus-editor/src/diffs/structured-item-diff.tsx" }, @@ -1547,61 +1547,58 @@ "moduleName": "./packages/perseus-editor/src/widgets/python-program-editor.tsx" }, { - "moduleName": "./packages/perseus-editor/src/article-editor.tsx" + "moduleName": "./packages/perseus-editor/src/iframe-content-renderer.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/input-number-editor.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/phet-simulation-editor.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/image-editor.tsx" + "moduleName": "./testing/server-item-renderer-with-debug-ui.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/numeric-input-editor.tsx" + "moduleName": "./testing/multi-item-renderer-with-debug-ui.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/phet-simulation-editor.tsx" + "moduleName": "./packages/perseus-editor/src/article-editor.tsx" }, { - "moduleName": "./packages/perseus-editor/src/iframe-content-renderer.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/numeric-input-editor.tsx" }, { - "moduleName": "./testing/server-item-renderer-with-debug-ui.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/image-editor.tsx" }, { - "moduleName": "./testing/multi-item-renderer-with-debug-ui.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/input-number-editor.tsx" }, { - "moduleName": "./packages/perseus-editor/src/i18n.ts" + "moduleName": "./packages/perseus-editor/src/editor-page.tsx" }, { - "moduleName": "./packages/perseus-editor/src/editor-page.tsx" + "moduleName": "./packages/perseus-editor/src/i18n.ts" }, { "moduleName": "./testing/renderer-with-debug-ui.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/start-coords/start-coords-settings.tsx" + "moduleName": "./packages/perseus-editor/src/diffs/renderer-diff.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/start-coords/util.ts" + "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/interaction-editor.tsx" }, { - "moduleName": "./packages/perseus-editor/src/diffs/renderer-diff.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/start-coords/util.ts" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/interaction-editor.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/start-coords/start-coords-settings.tsx" }, { "moduleName": "./dev/flipbook.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/deprecated-standin-editor.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/grapher-editor.tsx" + "moduleName": "./packages/perseus-editor/src/item-editor.tsx" }, { - "moduleName": "./packages/perseus-editor/src/editor.tsx" + "moduleName": "./packages/perseus-editor/src/hint-editor.tsx" }, { "moduleName": "./packages/perseus-editor/src/components/widget-select.tsx" @@ -1610,16 +1607,16 @@ "moduleName": "./packages/perseus-editor/src/components/widget-editor.tsx" }, { - "moduleName": "./packages/perseus-editor/src/item-editor.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/deprecated-standin-editor.tsx" }, { - "moduleName": "./packages/perseus-editor/src/hint-editor.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/grapher-editor.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/element-container.tsx" + "moduleName": "./packages/perseus-editor/src/editor.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/line-editor.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/element-container.tsx" }, { "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/function-editor.tsx" @@ -1627,6 +1624,9 @@ { "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/label-editor.tsx" }, + { + "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/line-editor.tsx" + }, { "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/movable-line-editor.tsx" }, @@ -1634,10 +1634,10 @@ "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/movable-point-editor.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/point-editor.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/parametric-editor.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/parametric-editor.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/point-editor.tsx" }, { "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/rectangle-editor.tsx" @@ -1645,6 +1645,9 @@ { "moduleName": "./packages/perseus-editor/src/diffs/text-diff.tsx" }, + { + "moduleName": "./packages/perseus-editor/src/widgets/explanation-editor.tsx" + }, { "moduleName": "./packages/perseus-editor/src/widgets/definition-editor.tsx" }, @@ -1652,20 +1655,20 @@ "moduleName": "./packages/perseus-editor/src/widgets/categorizer-editor.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/explanation-editor.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/number-line-editor.tsx" }, { "moduleName": "./packages/perseus-editor/src/widgets/matcher-editor.tsx" }, - { - "moduleName": "./packages/perseus-editor/src/widgets/number-line-editor.tsx" - }, { "moduleName": "./packages/perseus-editor/src/widgets/sorter-editor.tsx" }, { "moduleName": "./packages/perseus-editor/src/widgets/radio/editor.tsx" }, + { + "moduleName": "./packages/perseus-editor/src/diffs/widget-diff.tsx" + }, { "moduleName": "./packages/perseus-editor/src/widgets/cs-program-editor.tsx" }, @@ -1679,13 +1682,13 @@ "moduleName": "./packages/perseus-editor/src/widgets/iframe-editor.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/matrix-editor.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/measurer-editor.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/molecule-editor.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/matrix-editor.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/measurer-editor.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/molecule-editor.tsx" }, { "moduleName": "./packages/perseus-editor/src/widgets/orderer-editor.tsx" @@ -1705,18 +1708,15 @@ { "moduleName": "./packages/perseus-editor/src/widgets/table-editor.tsx" }, - { - "moduleName": "./packages/perseus-editor/src/diffs/widget-diff.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/arrow-picker.tsx" - }, { "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/color-picker.tsx" }, { "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/dash-picker.tsx" }, + { + "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/arrow-picker.tsx" + }, { "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/constraint-editor.tsx" }, @@ -1733,17 +1733,14 @@ "moduleName": "./packages/perseus-editor/src/widgets/__stories__/image-editor.stories.tsx" }, { - "moduleName": "./packages/perseus-editor/src/item-extras-editor.tsx" + "moduleName": "./packages/perseus-editor/src/content-preview.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/components/interactive-graph-settings.tsx" + "moduleName": "./packages/perseus-editor/src/item-extras-editor.tsx" }, { "moduleName": "./packages/perseus-editor/src/__stories__/editor-page-with-storybook-preview.tsx" }, - { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-ellipse-settings.tsx" - }, { "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/color-swatch.tsx" }, @@ -1751,43 +1748,40 @@ "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/color-select.tsx" }, { - "moduleName": "./packages/perseus-editor/src/content-preview.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-ellipse-settings.tsx" }, { "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-label-settings.tsx" }, - { - "moduleName": "./packages/perseus-editor/src/components/section-control-button.tsx" - }, { "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-polygon-settings.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/interactive-graph-editor.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/components/interactive-graph-settings.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/expression-editor.tsx" + "moduleName": "./packages/perseus-editor/src/components/section-control-button.tsx" }, { "moduleName": "./packages/perseus-editor/src/widgets/label-image-editor.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/label-image/behavior.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/expression-editor.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/label-image/question-markers.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/interactive-graph-editor.tsx" }, { "moduleName": "./packages/perseus-editor/src/widgets/label-image/answer-choices.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/label-image/select-image.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/label-image/behavior.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/line-swatch.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/label-image/question-markers.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figure-aria.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/label-image/select-image.tsx" }, { "moduleName": "./packages/perseus-editor/src/multirenderer-editor.tsx" @@ -1795,6 +1789,12 @@ { "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/ellipse-swatch.tsx" }, + { + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figure-aria.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/line-swatch.tsx" + }, { "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/polygon-swatch.tsx" }, @@ -1822,14 +1822,17 @@ ] }, { - "id": "./packages/perseus-editor/src/diffs/tags-diff.tsx", - "name": "./packages/perseus-editor/src/diffs/tags-diff.tsx", + "id": "./packages/perseus-editor/src/diffs/text-diff.tsx", + "name": "./packages/perseus-editor/src/diffs/text-diff.tsx", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/diffs/__stories__/tags-diff.stories.tsx" + "moduleName": "./packages/perseus-editor/src/diffs/__stories__/text-diff.stories.tsx" }, { - "moduleName": "./packages/perseus-editor/src/diffs/structured-item-diff.tsx" + "moduleName": "./packages/perseus-editor/src/diffs/tags-diff.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/diffs/renderer-diff.tsx" } ] }, @@ -1837,29 +1840,56 @@ "id": "./packages/perseus-editor/src/diffs/__stories__/perseus-diff-wrapper.tsx", "name": "./packages/perseus-editor/src/diffs/__stories__/perseus-diff-wrapper.tsx", "reasons": [ + { + "moduleName": "./packages/perseus-editor/src/diffs/__stories__/text-diff.stories.tsx" + }, { "moduleName": "./packages/perseus-editor/src/diffs/__stories__/tags-diff.stories.tsx" }, { - "moduleName": "./packages/perseus-editor/src/diffs/__stories__/text-diff.stories.tsx" + "moduleName": "./packages/perseus-editor/src/diffs/__stories__/structured-item-diff.stories.tsx" + } + ] + }, + { + "id": "./packages/perseus-editor/src/diffs/tags-diff.tsx", + "name": "./packages/perseus-editor/src/diffs/tags-diff.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus-editor/src/diffs/__stories__/tags-diff.stories.tsx" }, + { + "moduleName": "./packages/perseus-editor/src/diffs/structured-item-diff.tsx" + } + ] + }, + { + "id": "./packages/perseus-editor/src/diffs/structured-item-diff.tsx", + "name": "./packages/perseus-editor/src/diffs/structured-item-diff.tsx", + "reasons": [ { "moduleName": "./packages/perseus-editor/src/diffs/__stories__/structured-item-diff.stories.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/index.ts" } ] }, { - "id": "./packages/perseus-editor/src/diffs/text-diff.tsx", - "name": "./packages/perseus-editor/src/diffs/text-diff.tsx", + "id": "./packages/perseus-editor/src/styles/perseus-editor.less", + "name": "./packages/perseus-editor/src/styles/perseus-editor.less", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/diffs/__stories__/text-diff.stories.tsx" + "moduleName": "./packages/perseus-editor/src/diffs/__stories__/structured-item-diff.stories.tsx" }, { - "moduleName": "./packages/perseus-editor/src/diffs/tags-diff.tsx" + "moduleName": "./packages/perseus-editor/src/__stories__/content-preview.stories.tsx" }, { - "moduleName": "./packages/perseus-editor/src/diffs/renderer-diff.tsx" + "moduleName": "./packages/perseus-editor/src/__stories__/item-editor.stories.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/index.ts" } ] }, @@ -1876,11 +1906,11 @@ ] }, { - "id": "./packages/perseus-editor/src/widgets/definition-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/definition-editor.tsx", + "id": "./packages/perseus-editor/src/widgets/number-line-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/number-line-editor.tsx", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/__stories__/definition-editor.stories.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/__stories__/number-line-editor.stories.tsx" }, { "moduleName": "./packages/perseus-editor/src/all-editors.ts" @@ -1888,11 +1918,23 @@ ] }, { - "id": "./packages/perseus-editor/src/widgets/input-number-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/input-number-editor.tsx", + "id": "./packages/perseus-editor/src/widgets/explanation-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/explanation-editor.tsx", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/__stories__/input-number-editor.stories.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/__stories__/explanation-editor.stories.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/all-editors.ts" + } + ] + }, + { + "id": "./packages/perseus-editor/src/widgets/definition-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/definition-editor.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus-editor/src/widgets/__stories__/definition-editor.stories.tsx" }, { "moduleName": "./packages/perseus-editor/src/all-editors.ts" @@ -1912,11 +1954,11 @@ ] }, { - "id": "./packages/perseus-editor/src/widgets/explanation-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/explanation-editor.tsx", + "id": "./packages/perseus-editor/src/widgets/numeric-input-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/numeric-input-editor.tsx", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/__stories__/explanation-editor.stories.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/__stories__/numeric-input-editor.stories.tsx" }, { "moduleName": "./packages/perseus-editor/src/all-editors.ts" @@ -1936,41 +1978,35 @@ ] }, { - "id": "./packages/perseus-editor/src/diffs/structured-item-diff.tsx", - "name": "./packages/perseus-editor/src/diffs/structured-item-diff.tsx", + "id": "./packages/perseus-editor/src/widgets/sorter-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/sorter-editor.tsx", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/diffs/__stories__/structured-item-diff.stories.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/__stories__/sorter-editor.stories.tsx" }, { - "moduleName": "./packages/perseus-editor/src/index.ts" + "moduleName": "./packages/perseus-editor/src/all-editors.ts" } ] }, { - "id": "./packages/perseus-editor/src/styles/perseus-editor.less", - "name": "./packages/perseus-editor/src/styles/perseus-editor.less", + "id": "./packages/perseus-editor/src/widgets/phet-simulation-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/phet-simulation-editor.tsx", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/diffs/__stories__/structured-item-diff.stories.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/__stories__/item-editor.stories.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/__stories__/content-preview.stories.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/__stories__/phet-simulation-editor.stories.tsx" }, { - "moduleName": "./packages/perseus-editor/src/index.ts" + "moduleName": "./packages/perseus-editor/src/all-editors.ts" } ] }, { - "id": "./packages/perseus-editor/src/widgets/numeric-input-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/numeric-input-editor.tsx", + "id": "./packages/perseus-editor/src/widgets/input-number-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/input-number-editor.tsx", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/__stories__/numeric-input-editor.stories.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/__stories__/input-number-editor.stories.tsx" }, { "moduleName": "./packages/perseus-editor/src/all-editors.ts" @@ -1978,11 +2014,11 @@ ] }, { - "id": "./packages/perseus-editor/src/widgets/number-line-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/number-line-editor.tsx", + "id": "./packages/perseus-editor/src/widgets/python-program-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/python-program-editor.tsx", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/__stories__/number-line-editor.stories.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/__stories__/python-program-editor.stories.tsx" }, { "moduleName": "./packages/perseus-editor/src/all-editors.ts" @@ -1990,38 +2026,56 @@ ] }, { - "id": "./packages/perseus-editor/src/widgets/phet-simulation-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/phet-simulation-editor.tsx", + "id": "./testing/server-item-renderer-with-debug-ui.tsx", + "name": "./testing/server-item-renderer-with-debug-ui.tsx", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/__stories__/phet-simulation-editor.stories.tsx" + "moduleName": "./packages/perseus/src/components/__stories__/graphie.stories.tsx" }, { - "moduleName": "./packages/perseus-editor/src/all-editors.ts" + "moduleName": "./packages/perseus/src/widgets/expression/expression.stories.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/number-line/number-line.stories.tsx" + }, + { + "moduleName": "./packages/perseus/src/__stories__/server-item-renderer.stories.tsx" } ] }, { - "id": "./packages/perseus-editor/src/widgets/python-program-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/python-program-editor.tsx", + "id": "./packages/perseus/src/__testdata__/graphie.testdata.ts", + "name": "./packages/perseus/src/__testdata__/graphie.testdata.ts", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/__stories__/python-program-editor.stories.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/all-editors.ts" + "moduleName": "./packages/perseus/src/components/__stories__/graphie.stories.tsx" } ] }, { - "id": "./packages/perseus-editor/src/widgets/sorter-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/sorter-editor.tsx", + "id": "./packages/perseus/src/components/graphie.tsx", + "name": "./packages/perseus/src/components/graphie.tsx", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/__stories__/sorter-editor.stories.tsx" + "moduleName": "./packages/perseus/src/components/__stories__/graphie.stories.tsx" }, { - "moduleName": "./packages/perseus-editor/src/all-editors.ts" + "moduleName": "./packages/perseus/src/components.ts" + }, + { + "moduleName": "./packages/perseus/src/widgets/grapher/util.tsx" + }, + { + "moduleName": "./packages/perseus/src/components/svg-image.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/grapher/grapher.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/interaction/interaction.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/number-line/number-line.tsx" } ] }, @@ -2084,10 +2138,10 @@ "moduleName": "./packages/perseus/src/widgets/expression/expression.stories.tsx" }, { - "moduleName": "./packages/math-input/src/full-mobile-input.stories.tsx" + "moduleName": "./packages/perseus/src/widgets/number-line/number-line.stories.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/number-line/number-line.stories.tsx" + "moduleName": "./packages/math-input/src/full-mobile-input.stories.tsx" }, { "moduleName": "./packages/math-input/src/components/keypad/mobile-keypad.tsx" @@ -2114,10 +2168,10 @@ "moduleName": "./packages/perseus/src/widgets/definition/definition.stories.tsx" }, { - "moduleName": "./packages/perseus/src/__stories__/server-item-renderer.stories.tsx" + "moduleName": "./.storybook/preview.tsx" }, { - "moduleName": "./.storybook/preview.tsx" + "moduleName": "./packages/perseus/src/__stories__/server-item-renderer.stories.tsx" }, { "moduleName": "./testing/server-item-renderer-with-debug-ui.tsx" @@ -2170,32 +2224,146 @@ ] }, { - "id": "./packages/perseus/src/components/hud.tsx", - "name": "./packages/perseus/src/components/hud.tsx", + "id": "./packages/perseus/src/components/number-input.tsx", + "name": "./packages/perseus/src/components/number-input.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/components/__stories__/hud.stories.tsx" + "moduleName": "./packages/perseus/src/components/__stories__/number-input.stories.tsx" }, { "moduleName": "./packages/perseus/src/components.ts" - } - ] - }, - { - "id": "./packages/perseus/src/components/graph.tsx", - "name": "./packages/perseus/src/components/graph.tsx", - "reasons": [ + }, { - "moduleName": "./packages/perseus/src/components/__stories__/graph.stories.tsx" + "moduleName": "./packages/perseus/src/components/range-input.tsx" }, { - "moduleName": "./packages/perseus/src/components.ts" + "moduleName": "./packages/perseus/src/widgets/number-line/number-line.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/matrix/matrix.tsx" + } + ] + }, + { + "id": "./packages/perseus/src/components/simple-keypad-input.tsx", + "name": "./packages/perseus/src/components/simple-keypad-input.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus/src/components/__stories__/simple-keypad-input.stories.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/table/table.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/number-line/number-line.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/numeric-input/numeric-input.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/input-number/input-number.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/matrix/matrix.tsx" + } + ] + }, + { + "id": "./packages/perseus/src/components/hud.tsx", + "name": "./packages/perseus/src/components/hud.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus/src/components/__stories__/hud.stories.tsx" + }, + { + "moduleName": "./packages/perseus/src/components.ts" + } + ] + }, + { + "id": "./packages/perseus/src/components/range-input.tsx", + "name": "./packages/perseus/src/components/range-input.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus/src/components/__stories__/range-input.stories.tsx" + }, + { + "moduleName": "./packages/perseus/src/components.ts" + } + ] + }, + { + "id": "./packages/perseus/src/components/sortable.tsx", + "name": "./packages/perseus/src/components/sortable.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus/src/components/__stories__/sortable.stories.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/sorter/sorter.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/matcher/matcher.tsx" + } + ] + }, + { + "id": "./packages/perseus/src/components/graph.tsx", + "name": "./packages/perseus/src/components/graph.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus/src/components/__stories__/graph.stories.tsx" + }, + { + "moduleName": "./packages/perseus/src/components.ts" }, { "moduleName": "./packages/perseus/src/widgets/interactive-graph.tsx" } ] }, + { + "id": "./packages/perseus/src/components/inline-icon.tsx", + "name": "./packages/perseus/src/components/inline-icon.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus/src/components/__stories__/inline-icon.stories.tsx" + }, + { + "moduleName": "./packages/perseus/src/components.ts" + }, + { + "moduleName": "./packages/perseus/src/interactive2/movable-point.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/graded-group/graded-group-answer-bar.tsx" + }, + { + "moduleName": "./packages/perseus/src/components/lint.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/radio/choice-icon/choice-icon.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/categorizer/categorizer.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/graded-group/graded-group.tsx" + } + ] + }, + { + "id": "./packages/perseus/src/components/info-tip/index.tsx", + "name": "./packages/perseus/src/components/info-tip/index.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus/src/components/__stories__/info-tip.stories.tsx" + }, + { + "moduleName": "./packages/perseus/src/components.ts" + } + ] + }, { "id": "./packages/perseus/src/components/image-loader.tsx", "name": "./packages/perseus/src/components/image-loader.tsx", @@ -2208,6 +2376,33 @@ } ] }, + { + "id": "./packages/perseus/src/components/math-input.tsx", + "name": "./packages/perseus/src/components/math-input.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus/src/components/__stories__/math-input.stories.tsx" + }, + { + "moduleName": "./packages/perseus/src/components.ts" + }, + { + "moduleName": "./packages/perseus/src/widgets/expression/expression.tsx" + } + ] + }, + { + "id": "./packages/perseus/src/components/lint.tsx", + "name": "./packages/perseus/src/components/lint.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus/src/components/__stories__/lint.stories.tsx" + }, + { + "moduleName": "./packages/perseus/src/perseus-markdown.tsx" + } + ] + }, { "id": "./packages/perseus/src/dependencies.ts", "name": "./packages/perseus/src/dependencies.ts", @@ -2222,10 +2417,10 @@ "moduleName": "./packages/perseus/src/index.ts" }, { - "moduleName": "./packages/perseus/src/components/tex.tsx" + "moduleName": "./packages/perseus/src/components/image-loader.tsx" }, { - "moduleName": "./packages/perseus/src/components/image-loader.tsx" + "moduleName": "./packages/perseus/src/components/tex.tsx" }, { "moduleName": "./packages/perseus/src/logging/log.ts" @@ -2255,13 +2450,13 @@ "moduleName": "./packages/perseus/src/widgets/video/video.tsx" }, { - "moduleName": "./packages/perseus/src/renderer.tsx" + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/mafs-graph.tsx" }, { - "moduleName": "./packages/perseus/src/widget-container.tsx" + "moduleName": "./packages/perseus/src/renderer.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/mafs-graph.tsx" + "moduleName": "./packages/perseus/src/widget-container.tsx" }, { "moduleName": "./packages/perseus/src/widgets/interactive-graphs/backgrounds/axis-labels.tsx" @@ -2273,13 +2468,13 @@ "moduleName": "./packages/perseus/src/server-item-renderer.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/phet-simulation/phet-simulation.tsx" + "moduleName": "./packages/perseus/src/widgets/video/video-transcript-link.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/expression/expression.tsx" + "moduleName": "./packages/perseus/src/widgets/phet-simulation/phet-simulation.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/video/video-transcript-link.tsx" + "moduleName": "./packages/perseus/src/widgets/expression/expression.tsx" }, { "moduleName": "./packages/perseus/src/multi-items/multi-renderer.tsx" @@ -2320,530 +2515,371 @@ ] }, { - "id": "./packages/perseus/src/components/info-tip/index.tsx", - "name": "./packages/perseus/src/components/info-tip/index.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus/src/components/__stories__/info-tip.stories.tsx" - }, - { - "moduleName": "./packages/perseus/src/components.ts" - } - ] - }, - { - "id": "./testing/server-item-renderer-with-debug-ui.tsx", - "name": "./testing/server-item-renderer-with-debug-ui.tsx", + "id": "./packages/perseus/src/components/input-with-examples.tsx", + "name": "./packages/perseus/src/components/input-with-examples.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/components/__stories__/graphie.stories.tsx" - }, - { - "moduleName": "./packages/perseus/src/widgets/expression/expression.stories.tsx" + "moduleName": "./packages/perseus/src/components/__stories__/input-with-examples.stories.tsx" }, { - "moduleName": "./packages/perseus/src/__stories__/server-item-renderer.stories.tsx" + "moduleName": "./packages/perseus/src/widgets/numeric-input/numeric-input.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/number-line/number-line.stories.tsx" + "moduleName": "./packages/perseus/src/widgets/input-number/input-number.tsx" } ] }, { - "id": "./packages/perseus/src/__testdata__/graphie.testdata.ts", - "name": "./packages/perseus/src/__testdata__/graphie.testdata.ts", + "id": "./packages/perseus/src/components/stub-tag-editor.tsx", + "name": "./packages/perseus/src/components/stub-tag-editor.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/components/__stories__/graphie.stories.tsx" + "moduleName": "./packages/perseus/src/components/__stories__/stub-tag-editor.stories.tsx" + }, + { + "moduleName": "./packages/perseus/src/perseus-api.tsx" } ] }, { - "id": "./packages/perseus/src/components/graphie.tsx", - "name": "./packages/perseus/src/components/graphie.tsx", + "id": "./packages/perseus/src/components/svg-image.tsx", + "name": "./packages/perseus/src/components/svg-image.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/components/__stories__/graphie.stories.tsx" + "moduleName": "./packages/perseus/src/components/__stories__/svg-image.stories.tsx" }, { "moduleName": "./packages/perseus/src/components.ts" }, { - "moduleName": "./packages/perseus/src/widgets/grapher/util.tsx" + "moduleName": "./packages/perseus/src/widgets/grapher/grapher.tsx" }, { - "moduleName": "./packages/perseus/src/components/svg-image.tsx" + "moduleName": "./packages/perseus/src/widgets/image/image.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/grapher/grapher.tsx" + "moduleName": "./packages/perseus/src/components/graph.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/interaction/interaction.tsx" + "moduleName": "./packages/perseus/src/renderer.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/number-line/number-line.tsx" + "moduleName": "./packages/perseus/src/widgets/measurer/measurer.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/label-image/label-image.tsx" } ] }, { - "id": "./packages/perseus/src/components/inline-icon.tsx", - "name": "./packages/perseus/src/components/inline-icon.tsx", + "id": "./packages/perseus/src/components/text-input.tsx", + "name": "./packages/perseus/src/components/text-input.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/components/__stories__/inline-icon.stories.tsx" + "moduleName": "./packages/perseus/src/components/__stories__/text-input.stories.tsx" }, { "moduleName": "./packages/perseus/src/components.ts" }, { - "moduleName": "./packages/perseus/src/interactive2/movable-point.tsx" - }, - { - "moduleName": "./packages/perseus/src/widgets/graded-group/graded-group-answer-bar.tsx" + "moduleName": "./packages/perseus/src/components/input-with-examples.tsx" }, { - "moduleName": "./packages/perseus/src/components/lint.tsx" - }, + "moduleName": "./packages/perseus/src/widgets/matrix/matrix.tsx" + } + ] + }, + { + "id": "./packages/perseus/src/components/text-list-editor.tsx", + "name": "./packages/perseus/src/components/text-list-editor.tsx", + "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/radio/choice-icon/choice-icon.tsx" + "moduleName": "./packages/perseus/src/components/__stories__/text-list-editor.stories.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/categorizer/categorizer.tsx" + "moduleName": "./packages/perseus/src/components.ts" }, { - "moduleName": "./packages/perseus/src/widgets/graded-group/graded-group.tsx" + "moduleName": "./packages/perseus/src/components/stub-tag-editor.tsx" } ] }, { - "id": "./packages/perseus/src/components/input-with-examples.tsx", - "name": "./packages/perseus/src/components/input-with-examples.tsx", + "id": "./packages/perseus/src/components/tex.tsx", + "name": "./packages/perseus/src/components/tex.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/components/__stories__/input-with-examples.stories.tsx" + "moduleName": "./packages/perseus/src/components/__stories__/tex.stories.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/numeric-input/numeric-input.tsx" + "moduleName": "./packages/perseus/src/components/zoomable-tex.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/input-number/input-number.tsx" + "moduleName": "./packages/perseus/src/renderer.tsx" } ] }, { - "id": "./packages/perseus/src/components/lint.tsx", - "name": "./packages/perseus/src/components/lint.tsx", - "reasons": [ + "id": "./packages/perseus/src/components/zoomable-tex.tsx", + "name": "./packages/perseus/src/components/zoomable-tex.tsx", + "reasons": [ { - "moduleName": "./packages/perseus/src/components/__stories__/lint.stories.tsx" + "moduleName": "./packages/perseus/src/components/__stories__/zoomable-tex.stories.tsx" }, { - "moduleName": "./packages/perseus/src/perseus-markdown.tsx" + "moduleName": "./packages/perseus/src/renderer.tsx" } ] }, { - "id": "./packages/perseus/src/components/math-input.tsx", - "name": "./packages/perseus/src/components/math-input.tsx", + "id": "./packages/perseus/src/components/zoomable.tsx", + "name": "./packages/perseus/src/components/zoomable.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/components/__stories__/math-input.stories.tsx" + "moduleName": "./packages/perseus/src/components/__stories__/zoomable.stories.tsx" }, { - "moduleName": "./packages/perseus/src/components.ts" + "moduleName": "./packages/perseus/src/components/zoomable-tex.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/expression/expression.tsx" + "moduleName": "./packages/perseus/src/renderer.tsx" } ] }, { - "id": "./packages/perseus/src/components/number-input.tsx", - "name": "./packages/perseus/src/components/number-input.tsx", + "id": "./testing/renderer-with-debug-ui.tsx", + "name": "./testing/renderer-with-debug-ui.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/components/__stories__/number-input.stories.tsx" + "moduleName": "./packages/perseus/src/widgets/categorizer/categorizer.stories.tsx" }, { - "moduleName": "./packages/perseus/src/components.ts" + "moduleName": "./packages/perseus/src/widgets/explanation/explanation.stories.tsx" }, { - "moduleName": "./packages/perseus/src/components/range-input.tsx" + "moduleName": "./packages/perseus/src/widgets/dropdown/dropdown.stories.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/number-line/number-line.tsx" + "moduleName": "./packages/perseus/src/widgets/cs-program/cs-program.stories.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/matrix/matrix.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/components/range-input.tsx", - "name": "./packages/perseus/src/components/range-input.tsx", - "reasons": [ + "moduleName": "./packages/perseus/src/widgets/definition/definition.stories.tsx" + }, { - "moduleName": "./packages/perseus/src/components/__stories__/range-input.stories.tsx" + "moduleName": "./packages/perseus/src/widgets/deprecated-standin/__stories__/deprecated-standin.stories.tsx" }, { - "moduleName": "./packages/perseus/src/components.ts" - } - ] - }, - { - "id": "./packages/perseus/src/components/simple-keypad-input.tsx", - "name": "./packages/perseus/src/components/simple-keypad-input.tsx", - "reasons": [ + "moduleName": "./packages/perseus/src/widgets/graded-group-set/graded-group-set.stories.tsx" + }, { - "moduleName": "./packages/perseus/src/components/__stories__/simple-keypad-input.stories.tsx" + "moduleName": "./packages/perseus/src/widgets/graded-group/graded-group.stories.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/table/table.tsx" + "moduleName": "./packages/perseus/src/widgets/grapher/grapher.stories.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/number-line/number-line.tsx" + "moduleName": "./packages/perseus/src/widgets/iframe/iframe.stories.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/numeric-input/numeric-input.tsx" + "moduleName": "./packages/perseus/src/widgets/group/group.stories.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/matrix/matrix.tsx" + "moduleName": "./packages/perseus/src/widgets/image/image.stories.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/input-number/input-number.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/components/sortable.tsx", - "name": "./packages/perseus/src/components/sortable.tsx", - "reasons": [ + "moduleName": "./packages/perseus/src/widgets/interaction/interaction.stories.tsx" + }, { - "moduleName": "./packages/perseus/src/components/__stories__/sortable.stories.tsx" + "moduleName": "./packages/perseus/src/widgets/input-number/input-number.stories.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/sorter/sorter.tsx" + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/interactive-graph.stories.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/matcher/matcher.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/components/stub-tag-editor.tsx", - "name": "./packages/perseus/src/components/stub-tag-editor.tsx", - "reasons": [ + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/locked-figures/locked-functions.stories.tsx" + }, { - "moduleName": "./packages/perseus/src/components/__stories__/stub-tag-editor.stories.tsx" + "moduleName": "./packages/perseus/src/widgets/matrix/matrix.stories.tsx" }, { - "moduleName": "./packages/perseus/src/perseus-api.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/components/svg-image.tsx", - "name": "./packages/perseus/src/components/svg-image.tsx", - "reasons": [ + "moduleName": "./packages/perseus/src/widgets/matcher/matcher.stories.tsx" + }, { - "moduleName": "./packages/perseus/src/components/__stories__/svg-image.stories.tsx" + "moduleName": "./packages/perseus/src/widgets/number-line/number-line.stories.tsx" }, { - "moduleName": "./packages/perseus/src/components.ts" + "moduleName": "./packages/perseus/src/widgets/orderer/orderer.stories.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/grapher/grapher.tsx" + "moduleName": "./packages/perseus/src/widgets/numeric-input/numeric-input.stories.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/image/image.tsx" + "moduleName": "./packages/perseus/src/widgets/label-image/__stories__/label-image.stories.tsx" }, { - "moduleName": "./packages/perseus/src/components/graph.tsx" + "moduleName": "./packages/perseus/src/widgets/passage-ref/passage-ref.stories.tsx" }, { - "moduleName": "./packages/perseus/src/renderer.tsx" + "moduleName": "./packages/perseus/src/widgets/passage/passage.stories.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/measurer/measurer.tsx" + "moduleName": "./packages/perseus/src/widgets/python-program/python-program.stories.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/label-image/label-image.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/components/text-input.tsx", - "name": "./packages/perseus/src/components/text-input.tsx", - "reasons": [ + "moduleName": "./packages/perseus/src/widgets/plotter/plotter.stories.tsx" + }, { - "moduleName": "./packages/perseus/src/components/__stories__/text-input.stories.tsx" + "moduleName": "./packages/perseus/src/widgets/sorter/sorter.stories.tsx" }, { - "moduleName": "./packages/perseus/src/components.ts" + "moduleName": "./packages/perseus/src/widgets/video/video.stories.tsx" }, { - "moduleName": "./packages/perseus/src/components/input-with-examples.tsx" + "moduleName": "./packages/perseus/src/widgets/radio/__stories__/radio.stories.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/matrix/matrix.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/__stories__/expression-editor.stories.tsx" } ] }, { - "id": "./packages/perseus/src/components/tex.tsx", - "name": "./packages/perseus/src/components/tex.tsx", + "id": "./packages/perseus/src/widgets/categorizer/categorizer.testdata.ts", + "name": "./packages/perseus/src/widgets/categorizer/categorizer.testdata.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/components/__stories__/tex.stories.tsx" - }, - { - "moduleName": "./packages/perseus/src/components/zoomable-tex.tsx" - }, - { - "moduleName": "./packages/perseus/src/renderer.tsx" + "moduleName": "./packages/perseus/src/widgets/categorizer/categorizer.stories.tsx" } ] }, { - "id": "./packages/perseus/src/components/text-list-editor.tsx", - "name": "./packages/perseus/src/components/text-list-editor.tsx", + "id": "./packages/perseus/src/widgets/explanation/explanation.testdata.ts", + "name": "./packages/perseus/src/widgets/explanation/explanation.testdata.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/components/__stories__/text-list-editor.stories.tsx" - }, - { - "moduleName": "./packages/perseus/src/components.ts" - }, - { - "moduleName": "./packages/perseus/src/components/stub-tag-editor.tsx" + "moduleName": "./packages/perseus/src/widgets/explanation/explanation.stories.tsx" } ] }, { - "id": "./packages/perseus/src/components/zoomable-tex.tsx", - "name": "./packages/perseus/src/components/zoomable-tex.tsx", + "id": "./packages/perseus/src/widgets/dropdown/dropdown.testdata.ts", + "name": "./packages/perseus/src/widgets/dropdown/dropdown.testdata.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/components/__stories__/zoomable-tex.stories.tsx" - }, - { - "moduleName": "./packages/perseus/src/renderer.tsx" + "moduleName": "./packages/perseus/src/widgets/dropdown/dropdown.stories.tsx" } ] }, { - "id": "./packages/perseus/src/components/zoomable.tsx", - "name": "./packages/perseus/src/components/zoomable.tsx", + "id": "./packages/perseus/src/widgets/cs-program/cs-program.testdata.ts", + "name": "./packages/perseus/src/widgets/cs-program/cs-program.testdata.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/components/__stories__/zoomable.stories.tsx" - }, - { - "moduleName": "./packages/perseus/src/components/zoomable-tex.tsx" - }, - { - "moduleName": "./packages/perseus/src/renderer.tsx" + "moduleName": "./packages/perseus/src/widgets/cs-program/cs-program.stories.tsx" } ] }, { - "id": "./testing/renderer-with-debug-ui.tsx", - "name": "./testing/renderer-with-debug-ui.tsx", + "id": "./packages/perseus/src/widgets/graded-group-set/graded-group-set.testdata.ts", + "name": "./packages/perseus/src/widgets/graded-group-set/graded-group-set.testdata.ts", "reasons": [ - { - "moduleName": "./packages/perseus/src/widgets/cs-program/cs-program.stories.tsx" - }, - { - "moduleName": "./packages/perseus/src/widgets/categorizer/categorizer.stories.tsx" - }, - { - "moduleName": "./packages/perseus/src/widgets/dropdown/dropdown.stories.tsx" - }, { "moduleName": "./packages/perseus/src/widgets/graded-group-set/graded-group-set.stories.tsx" - }, - { - "moduleName": "./packages/perseus/src/widgets/graded-group/graded-group.stories.tsx" - }, + } + ] + }, + { + "id": "./packages/math-input/src/index.ts", + "name": "./packages/math-input/src/index.ts", + "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/iframe/iframe.stories.tsx" + "moduleName": "./packages/perseus/src/widgets/expression/expression.stories.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/definition/definition.stories.tsx" + "moduleName": "./packages/math-input/src/full-mobile-input.stories.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/interaction/interaction.stories.tsx" + "moduleName": "./packages/perseus/src/components/simple-keypad-input.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/grapher/grapher.stories.tsx" + "moduleName": "./packages/perseus-editor/src/content-preview.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/explanation/explanation.stories.tsx" + "moduleName": "./packages/perseus/src/widgets/__shared__/test-keypad-context-wrapper.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/interactive-graph.stories.tsx" + "moduleName": "./packages/perseus/src/components/math-input.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/input-number/input-number.stories.tsx" + "moduleName": "./packages/perseus/src/widgets/expression/expression.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/group/group.stories.tsx" - }, + "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/mathquill-input.tsx" + } + ] + }, + { + "id": "./packages/perseus/src/widgets/expression/expression.tsx", + "name": "./packages/perseus/src/widgets/expression/expression.tsx", + "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/image/image.stories.tsx" + "moduleName": "./packages/perseus/src/widgets/expression/expression.stories.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/deprecated-standin/__stories__/deprecated-standin.stories.tsx" - }, + "moduleName": "./packages/perseus/src/widgets/expression/index.ts" + } + ] + }, + { + "id": "./packages/perseus/src/widgets/expression/expression.testdata.ts", + "name": "./packages/perseus/src/widgets/expression/expression.testdata.ts", + "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/locked-figures/locked-functions.stories.tsx" - }, + "moduleName": "./packages/perseus/src/widgets/expression/expression.stories.tsx" + } + ] + }, + { + "id": "./packages/perseus/src/widgets/graded-group/graded-group.testdata.ts", + "name": "./packages/perseus/src/widgets/graded-group/graded-group.testdata.ts", + "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/label-image/__stories__/label-image.stories.tsx" - }, + "moduleName": "./packages/perseus/src/widgets/graded-group/graded-group.stories.tsx" + } + ] + }, + { + "id": "./packages/perseus/src/widgets/grapher/grapher.testdata.ts", + "name": "./packages/perseus/src/widgets/grapher/grapher.testdata.ts", + "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/matcher/matcher.stories.tsx" - }, - { - "moduleName": "./packages/perseus/src/widgets/matrix/matrix.stories.tsx" - }, - { - "moduleName": "./packages/perseus/src/widgets/number-line/number-line.stories.tsx" - }, - { - "moduleName": "./packages/perseus/src/widgets/python-program/python-program.stories.tsx" - }, - { - "moduleName": "./packages/perseus/src/widgets/orderer/orderer.stories.tsx" - }, - { - "moduleName": "./packages/perseus/src/widgets/numeric-input/numeric-input.stories.tsx" - }, - { - "moduleName": "./packages/perseus/src/widgets/radio/__stories__/radio.stories.tsx" - }, - { - "moduleName": "./packages/perseus/src/widgets/plotter/plotter.stories.tsx" - }, - { - "moduleName": "./packages/perseus/src/widgets/passage/passage.stories.tsx" - }, - { - "moduleName": "./packages/perseus/src/widgets/passage-ref/passage-ref.stories.tsx" - }, - { - "moduleName": "./packages/perseus/src/widgets/sorter/sorter.stories.tsx" - }, - { - "moduleName": "./packages/perseus/src/widgets/video/video.stories.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/__stories__/expression-editor.stories.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/widgets/cs-program/cs-program.testdata.ts", - "name": "./packages/perseus/src/widgets/cs-program/cs-program.testdata.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/widgets/cs-program/cs-program.stories.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/widgets/categorizer/categorizer.testdata.ts", - "name": "./packages/perseus/src/widgets/categorizer/categorizer.testdata.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/widgets/categorizer/categorizer.stories.tsx" - } - ] - }, - { - "id": "./packages/math-input/src/index.ts", - "name": "./packages/math-input/src/index.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/widgets/expression/expression.stories.tsx" - }, - { - "moduleName": "./packages/math-input/src/full-mobile-input.stories.tsx" - }, - { - "moduleName": "./packages/perseus/src/components/simple-keypad-input.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/content-preview.tsx" - }, - { - "moduleName": "./packages/perseus/src/widgets/__shared__/test-keypad-context-wrapper.tsx" - }, - { - "moduleName": "./packages/perseus/src/components/math-input.tsx" - }, - { - "moduleName": "./packages/perseus/src/widgets/expression/expression.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/mathquill-input.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/widgets/expression/expression.tsx", - "name": "./packages/perseus/src/widgets/expression/expression.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus/src/widgets/expression/expression.stories.tsx" - }, - { - "moduleName": "./packages/perseus/src/widgets/expression/index.ts" - } - ] - }, - { - "id": "./packages/perseus/src/widgets/expression/expression.testdata.ts", - "name": "./packages/perseus/src/widgets/expression/expression.testdata.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/widgets/expression/expression.stories.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/widgets/dropdown/dropdown.testdata.ts", - "name": "./packages/perseus/src/widgets/dropdown/dropdown.testdata.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/widgets/dropdown/dropdown.stories.tsx" + "moduleName": "./packages/perseus/src/widgets/grapher/grapher.stories.tsx" } ] }, { - "id": "./packages/perseus/src/widgets/graded-group-set/graded-group-set.testdata.ts", - "name": "./packages/perseus/src/widgets/graded-group-set/graded-group-set.testdata.ts", + "id": "./packages/perseus/src/widgets/iframe/iframe.testdata.ts", + "name": "./packages/perseus/src/widgets/iframe/iframe.testdata.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/graded-group-set/graded-group-set.stories.tsx" + "moduleName": "./packages/perseus/src/widgets/iframe/iframe.stories.tsx" } ] }, { - "id": "./packages/perseus/src/widgets/graded-group/graded-group.testdata.ts", - "name": "./packages/perseus/src/widgets/graded-group/graded-group.testdata.ts", + "id": "./packages/perseus/src/widgets/group/group.testdata.ts", + "name": "./packages/perseus/src/widgets/group/group.testdata.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/graded-group/graded-group.stories.tsx" + "moduleName": "./packages/perseus/src/widgets/group/group.stories.tsx" } ] }, { - "id": "./packages/perseus/src/widgets/iframe/iframe.testdata.ts", - "name": "./packages/perseus/src/widgets/iframe/iframe.testdata.ts", + "id": "./packages/perseus/src/widgets/image/image.testdata.ts", + "name": "./packages/perseus/src/widgets/image/image.testdata.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/iframe/iframe.stories.tsx" + "moduleName": "./packages/perseus/src/widgets/image/image.stories.tsx" } ] }, @@ -2857,20 +2893,11 @@ ] }, { - "id": "./packages/perseus/src/widgets/grapher/grapher.testdata.ts", - "name": "./packages/perseus/src/widgets/grapher/grapher.testdata.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/widgets/grapher/grapher.stories.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/widgets/explanation/explanation.testdata.ts", - "name": "./packages/perseus/src/widgets/explanation/explanation.testdata.ts", + "id": "./packages/perseus/src/widgets/input-number/input-number.testdata.ts", + "name": "./packages/perseus/src/widgets/input-number/input-number.testdata.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/explanation/explanation.stories.tsx" + "moduleName": "./packages/perseus/src/widgets/input-number/input-number.stories.tsx" } ] }, @@ -2898,33 +2925,6 @@ } ] }, - { - "id": "./packages/perseus/src/widgets/input-number/input-number.testdata.ts", - "name": "./packages/perseus/src/widgets/input-number/input-number.testdata.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/widgets/input-number/input-number.stories.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/widgets/group/group.testdata.ts", - "name": "./packages/perseus/src/widgets/group/group.testdata.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/widgets/group/group.stories.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/widgets/image/image.testdata.ts", - "name": "./packages/perseus/src/widgets/image/image.testdata.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/widgets/image/image.stories.tsx" - } - ] - }, { "id": "./packages/perseus/src/renderer.tsx", "name": "./packages/perseus/src/renderer.tsx", @@ -3046,234 +3046,195 @@ ] }, { - "id": "./packages/math-input/src/components/tabbar/tabbar.tsx", - "name": "./packages/math-input/src/components/tabbar/tabbar.tsx", + "id": "./packages/perseus/src/widgets/matrix/matrix.testdata.ts", + "name": "./packages/perseus/src/widgets/matrix/matrix.testdata.ts", "reasons": [ { - "moduleName": "./packages/math-input/src/components/tabbar/tabbar.stories.tsx" - }, - { - "moduleName": "./packages/math-input/src/components/tabbar/index.ts" + "moduleName": "./packages/perseus/src/widgets/matrix/matrix.stories.tsx" } ] }, { - "id": "./packages/perseus-editor/src/article-editor.tsx", - "name": "./packages/perseus-editor/src/article-editor.tsx", + "id": "./packages/perseus/src/widgets/matcher/matcher.testdata.ts", + "name": "./packages/perseus/src/widgets/matcher/matcher.testdata.ts", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/__stories__/article-editor.stories.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/index.ts" + "moduleName": "./packages/perseus/src/widgets/matcher/matcher.stories.tsx" } ] }, { - "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/components/interactive-graph-settings.tsx", - "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/components/interactive-graph-settings.tsx", + "id": "./packages/perseus/src/widgets/number-line/number-line.testdata.ts", + "name": "./packages/perseus/src/widgets/number-line/number-line.testdata.ts", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/components/__stories__/interactive-graph-settings.stories.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/interactive-graph-editor.tsx" + "moduleName": "./packages/perseus/src/widgets/number-line/number-line.stories.tsx" } ] }, { - "id": "./packages/perseus-editor/src/components/__stories__/interactive-graph-settings.argtypes.ts", - "name": "./packages/perseus-editor/src/components/__stories__/interactive-graph-settings.argtypes.ts", + "id": "./packages/perseus/src/widgets/orderer/orderer.testdata.ts", + "name": "./packages/perseus/src/widgets/orderer/orderer.testdata.ts", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/components/__stories__/interactive-graph-settings.stories.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/__stories__/interactive-graph-editor.argtypes.ts" + "moduleName": "./packages/perseus/src/widgets/orderer/orderer.stories.tsx" } ] }, { - "id": "./packages/perseus-editor/src/components/blur-input.tsx", - "name": "./packages/perseus-editor/src/components/blur-input.tsx", + "id": "./packages/perseus/src/widgets/numeric-input/numeric-input.tsx", + "name": "./packages/perseus/src/widgets/numeric-input/numeric-input.tsx", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/components/__stories__/blur-input.stories.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/input-number-editor.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/image-editor.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/cs-program-editor.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/iframe-editor.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/video-editor.tsx" + "moduleName": "./packages/perseus/src/widgets/numeric-input/numeric-input.stories.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/plotter-editor.tsx" + "moduleName": "./packages/perseus/src/widgets/numeric-input/index.ts" } ] }, { - "id": "./packages/perseus-editor/src/item-extras-editor.tsx", - "name": "./packages/perseus-editor/src/item-extras-editor.tsx", + "id": "./packages/perseus/src/widgets/numeric-input/numeric-input.testdata.ts", + "name": "./packages/perseus/src/widgets/numeric-input/numeric-input.testdata.ts", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/__stories__/item-editor.stories.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/item-editor.tsx" + "moduleName": "./packages/perseus/src/widgets/numeric-input/numeric-input.stories.tsx" } ] }, { - "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-line-settings.tsx", - "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-line-settings.tsx", + "id": "./packages/perseus/src/widgets/label-image/answer-pill.tsx", + "name": "./packages/perseus/src/widgets/label-image/answer-pill.tsx", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/components/__stories__/locked-line-settings.stories.tsx" + "moduleName": "./packages/perseus/src/widgets/label-image/__stories__/answer-pill.stories.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figure-settings.tsx" + "moduleName": "./packages/perseus/src/widgets/label-image/marker.tsx" } ] }, { - "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-ellipse-settings.tsx", - "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-ellipse-settings.tsx", + "id": "./packages/perseus/src/widgets/label-image/__tests__/label-image.testdata.ts", + "name": "./packages/perseus/src/widgets/label-image/__tests__/label-image.testdata.ts", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/components/__stories__/locked-ellipse-settings.stories.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figure-settings.tsx" + "moduleName": "./packages/perseus/src/widgets/label-image/__stories__/label-image.stories.tsx" } ] }, { - "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-point-settings.tsx", - "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-point-settings.tsx", + "id": "./packages/perseus/src/hints-renderer.tsx", + "name": "./packages/perseus/src/hints-renderer.tsx", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/components/__stories__/locked-point-settings.stories.tsx" + "moduleName": "./packages/perseus/src/__stories__/hints-renderer.stories.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figure-settings.tsx" + "moduleName": "./packages/perseus/src/index.ts" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-line-settings.tsx" + "moduleName": "./packages/perseus/src/server-item-renderer.tsx" + }, + { + "moduleName": "./packages/perseus/src/multi-items/multi-renderer.tsx" } ] }, { - "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/color-select.tsx", - "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/color-select.tsx", + "id": "./packages/perseus/src/components/tooltip.tsx", + "name": "./packages/perseus/src/components/tooltip.tsx", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/components/__stories__/color-select.stories.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-line-settings.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-ellipse-settings.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-point-settings.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-label-settings.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-function-settings.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-polygon-settings.tsx" + "moduleName": "./packages/perseus/src/components/__stories__/tooltip.stories.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-vector-settings.tsx" + "moduleName": "./packages/perseus/src/components/input-with-examples.tsx" } ] }, { - "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-label-settings.tsx", - "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-label-settings.tsx", + "id": "./packages/perseus/src/widgets/passage-ref/passage-ref.testdata.ts", + "name": "./packages/perseus/src/widgets/passage-ref/passage-ref.testdata.ts", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/components/__stories__/locked-label-settings.stories.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figure-settings.tsx" - }, + "moduleName": "./packages/perseus/src/widgets/passage-ref/passage-ref.stories.tsx" + } + ] + }, + { + "id": "./packages/perseus-editor/src/index.ts", + "name": "./packages/perseus-editor/src/index.ts", + "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-line-settings.tsx" + "moduleName": "./packages/perseus-editor/src/__stories__/editor.stories.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-ellipse-settings.tsx" - }, + "moduleName": "./packages/perseus-editor/src/__stories__/interactive-graph-editor.stories.tsx" + } + ] + }, + { + "id": "./testing/side-by-side.tsx", + "name": "./testing/side-by-side.tsx", + "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-point-settings.tsx" + "moduleName": "./packages/perseus-editor/src/__stories__/editor.stories.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-function-settings.tsx" + "moduleName": "./testing/server-item-renderer-with-debug-ui.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-polygon-settings.tsx" + "moduleName": "./testing/multi-item-renderer-with-debug-ui.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-vector-settings.tsx" + "moduleName": "./testing/renderer-with-debug-ui.tsx" } ] }, { - "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-function-settings.tsx", - "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-function-settings.tsx", + "id": "./packages/perseus-editor/src/__testdata__/input-number.testdata.ts", + "name": "./packages/perseus-editor/src/__testdata__/input-number.testdata.ts", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/components/__stories__/locked-function-settings.stories.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figure-settings.tsx" + "moduleName": "./packages/perseus-editor/src/__stories__/editor.stories.tsx" } ] }, { - "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-polygon-settings.tsx", - "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-polygon-settings.tsx", + "id": "./packages/perseus-editor/src/__stories__/flags-for-api-options.ts", + "name": "./packages/perseus-editor/src/__stories__/flags-for-api-options.ts", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/components/__stories__/locked-polygon-settings.stories.tsx" + "moduleName": "./packages/perseus-editor/src/__stories__/editor.stories.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figure-settings.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/__stories__/interactive-graph-editor.stories.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/__stories__/interactive-graph-editor.stories.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/__stories__/editor-page-with-storybook-preview.tsx" } ] }, { - "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-vector-settings.tsx", - "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-vector-settings.tsx", + "id": "./packages/perseus/src/widgets/radio/__tests__/radio.testdata.ts", + "name": "./packages/perseus/src/widgets/radio/__tests__/radio.testdata.ts", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/components/__stories__/locked-vector-settings.stories.tsx" + "moduleName": "./packages/perseus-editor/src/__stories__/content-preview.stories.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figure-settings.tsx" + "moduleName": "./packages/perseus/src/widgets/radio/__stories__/radio.stories.tsx" } ] }, { - "id": "./packages/perseus-editor/src/components/viewport-resizer.tsx", - "name": "./packages/perseus-editor/src/components/viewport-resizer.tsx", + "id": "./packages/perseus-editor/src/components/device-framer.tsx", + "name": "./packages/perseus-editor/src/components/device-framer.tsx", "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/components/__stories__/viewport-resizer.stories.tsx" - }, { "moduleName": "./packages/perseus-editor/src/__stories__/content-preview.stories.tsx" }, @@ -3281,337 +3242,436 @@ "moduleName": "./packages/perseus-editor/src/index.ts" }, { - "moduleName": "./packages/perseus-editor/src/editor-page.tsx" - } - ] - }, - { - "id": "./packages/perseus-editor/src/__stories__/flags-for-api-options.ts", - "name": "./packages/perseus-editor/src/__stories__/flags-for-api-options.ts", - "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/widgets/__stories__/interactive-graph-editor.stories.tsx" + "moduleName": "./packages/perseus-editor/src/components/__stories__/device-framer.stories.tsx" }, { - "moduleName": "./packages/perseus-editor/src/__stories__/editor.stories.tsx" + "moduleName": "./packages/perseus-editor/src/article-editor.tsx" }, { - "moduleName": "./packages/perseus-editor/src/__stories__/interactive-graph-editor.stories.tsx" + "moduleName": "./packages/perseus-editor/src/item-editor.tsx" }, { - "moduleName": "./packages/perseus-editor/src/__stories__/editor-page-with-storybook-preview.tsx" + "moduleName": "./packages/perseus-editor/src/hint-editor.tsx" } ] }, { - "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/interactive-graph-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/interactive-graph-editor.tsx", + "id": "./packages/perseus-editor/src/components/viewport-resizer.tsx", + "name": "./packages/perseus-editor/src/components/viewport-resizer.tsx", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/__stories__/interactive-graph-editor.stories.tsx" + "moduleName": "./packages/perseus-editor/src/__stories__/content-preview.stories.tsx" }, { - "moduleName": "./packages/perseus-editor/src/all-editors.ts" + "moduleName": "./packages/perseus-editor/src/components/__stories__/viewport-resizer.stories.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/index.ts" + }, + { + "moduleName": "./packages/perseus-editor/src/editor-page.tsx" } ] }, { - "id": "./packages/perseus-editor/src/widgets/__stories__/interactive-graph-editor.argtypes.ts", - "name": "./packages/perseus-editor/src/widgets/__stories__/interactive-graph-editor.argtypes.ts", + "id": "./packages/perseus-editor/src/content-preview.tsx", + "name": "./packages/perseus-editor/src/content-preview.tsx", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/__stories__/interactive-graph-editor.stories.tsx" + "moduleName": "./packages/perseus-editor/src/__stories__/content-preview.stories.tsx" } ] }, { - "id": "./packages/perseus-editor/src/widgets/interaction-editor/index.ts", - "name": "./packages/perseus-editor/src/widgets/interaction-editor/index.ts", + "id": "./packages/perseus-editor/src/item-extras-editor.tsx", + "name": "./packages/perseus-editor/src/item-extras-editor.tsx", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/__stories__/interaction-editor.stories.tsx" + "moduleName": "./packages/perseus-editor/src/__stories__/item-editor.stories.tsx" }, { - "moduleName": "./packages/perseus-editor/src/all-editors.ts" + "moduleName": "./packages/perseus-editor/src/item-editor.tsx" } ] }, { - "id": "./packages/perseus-editor/src/widgets/label-image/behavior.tsx", - "name": "./packages/perseus-editor/src/widgets/label-image/behavior.tsx", + "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/color-select.tsx", + "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/color-select.tsx", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/label-image/__stories__/behavior.stories.tsx" + "moduleName": "./packages/perseus-editor/src/components/__stories__/color-select.stories.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/label-image-editor.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-ellipse-settings.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-label-settings.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-function-settings.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-line-settings.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-point-settings.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-vector-settings.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-polygon-settings.tsx" } ] }, { - "id": "./packages/perseus/src/components/button-group.tsx", - "name": "./packages/perseus/src/components/button-group.tsx", + "id": "./packages/perseus-editor/src/components/blur-input.tsx", + "name": "./packages/perseus-editor/src/components/blur-input.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/components/__stories__/button-group.stories.tsx" + "moduleName": "./packages/perseus-editor/src/components/__stories__/blur-input.stories.tsx" }, { - "moduleName": "./packages/perseus/src/components.ts" + "moduleName": "./packages/perseus-editor/src/widgets/image-editor.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/grapher/grapher.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/input-number-editor.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/cs-program-editor.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/iframe-editor.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/video-editor.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/plotter-editor.tsx" } ] }, { - "id": "./packages/perseus/src/__testdata__/server-item-renderer.testdata.ts", - "name": "./packages/perseus/src/__testdata__/server-item-renderer.testdata.ts", + "id": "./packages/perseus-editor/src/article-editor.tsx", + "name": "./packages/perseus-editor/src/article-editor.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/__stories__/server-item-renderer.stories.tsx" + "moduleName": "./packages/perseus-editor/src/__stories__/article-editor.stories.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/index.ts" } ] }, { - "id": "./packages/perseus/src/server-item-renderer.tsx", - "name": "./packages/perseus/src/server-item-renderer.tsx", + "id": "./packages/math-input/src/components/tabbar/tabbar.tsx", + "name": "./packages/math-input/src/components/tabbar/tabbar.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/__stories__/server-item-renderer.stories.tsx" + "moduleName": "./packages/math-input/src/components/tabbar/tabbar.stories.tsx" }, { - "moduleName": "./packages/perseus/src/index.ts" + "moduleName": "./packages/math-input/src/components/tabbar/index.ts" } ] }, { - "id": "./packages/perseus/src/components/multi-button-group.tsx", - "name": "./packages/perseus/src/components/multi-button-group.tsx", + "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/components/interactive-graph-settings.tsx", + "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/components/interactive-graph-settings.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/components/__stories__/multi-button-group.stories.tsx" + "moduleName": "./packages/perseus-editor/src/components/__stories__/interactive-graph-settings.stories.tsx" }, { - "moduleName": "./packages/perseus/src/components.ts" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/interactive-graph-editor.tsx" } ] }, { - "id": "./packages/perseus/src/components/visibility-observer/visibility-observer.tsx", - "name": "./packages/perseus/src/components/visibility-observer/visibility-observer.tsx", + "id": "./packages/perseus-editor/src/components/__stories__/interactive-graph-settings.argtypes.ts", + "name": "./packages/perseus-editor/src/components/__stories__/interactive-graph-settings.argtypes.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/components/visibility-observer/__stories__/visibility-observer.stories.tsx" + "moduleName": "./packages/perseus-editor/src/components/__stories__/interactive-graph-settings.stories.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/__stories__/interactive-graph-editor.argtypes.ts" } ] }, { - "id": "./packages/perseus/src/widgets/label-image/answer-pill.tsx", - "name": "./packages/perseus/src/widgets/label-image/answer-pill.tsx", + "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-ellipse-settings.tsx", + "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-ellipse-settings.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/label-image/__stories__/answer-pill.stories.tsx" + "moduleName": "./packages/perseus-editor/src/components/__stories__/locked-ellipse-settings.stories.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/label-image/marker.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figure-settings.tsx" } ] }, { - "id": "./packages/perseus/src/widgets/label-image/__tests__/label-image.testdata.ts", - "name": "./packages/perseus/src/widgets/label-image/__tests__/label-image.testdata.ts", + "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-function-settings.tsx", + "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-function-settings.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/label-image/__stories__/label-image.stories.tsx" + "moduleName": "./packages/perseus-editor/src/components/__stories__/locked-function-settings.stories.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figure-settings.tsx" } ] }, { - "id": "./packages/perseus/src/widgets/matcher/matcher.testdata.ts", - "name": "./packages/perseus/src/widgets/matcher/matcher.testdata.ts", + "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-label-settings.tsx", + "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-label-settings.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/matcher/matcher.stories.tsx" + "moduleName": "./packages/perseus-editor/src/components/__stories__/locked-label-settings.stories.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figure-settings.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-ellipse-settings.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-function-settings.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-line-settings.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-point-settings.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-vector-settings.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-polygon-settings.tsx" } ] }, { - "id": "./packages/perseus/src/widgets/matrix/matrix.testdata.ts", - "name": "./packages/perseus/src/widgets/matrix/matrix.testdata.ts", + "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-line-settings.tsx", + "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-line-settings.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/matrix/matrix.stories.tsx" + "moduleName": "./packages/perseus-editor/src/components/__stories__/locked-line-settings.stories.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figure-settings.tsx" } ] }, { - "id": "./packages/perseus/src/widgets/number-line/number-line.testdata.ts", - "name": "./packages/perseus/src/widgets/number-line/number-line.testdata.ts", + "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-point-settings.tsx", + "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-point-settings.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/number-line/number-line.stories.tsx" + "moduleName": "./packages/perseus-editor/src/components/__stories__/locked-point-settings.stories.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figure-settings.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-line-settings.tsx" } ] }, { - "id": "./packages/perseus/src/widgets/python-program/python-program.testdata.ts", - "name": "./packages/perseus/src/widgets/python-program/python-program.testdata.ts", + "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-polygon-settings.tsx", + "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-polygon-settings.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/python-program/python-program.stories.tsx" + "moduleName": "./packages/perseus-editor/src/components/__stories__/locked-polygon-settings.stories.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figure-settings.tsx" } ] }, { - "id": "./packages/perseus/src/widgets/orderer/orderer.testdata.ts", - "name": "./packages/perseus/src/widgets/orderer/orderer.testdata.ts", + "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-vector-settings.tsx", + "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-vector-settings.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/orderer/orderer.stories.tsx" + "moduleName": "./packages/perseus-editor/src/components/__stories__/locked-vector-settings.stories.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figure-settings.tsx" } ] }, { - "id": "./packages/perseus/src/widgets/phet-simulation/phet-simulation.tsx", - "name": "./packages/perseus/src/widgets/phet-simulation/phet-simulation.tsx", + "id": "./packages/perseus-editor/src/widgets/interaction-editor/index.ts", + "name": "./packages/perseus-editor/src/widgets/interaction-editor/index.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/phet-simulation/phet-simulation.stories.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/__stories__/interaction-editor.stories.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/phet-simulation/index.ts" + "moduleName": "./packages/perseus-editor/src/all-editors.ts" } ] }, { - "id": "./packages/perseus/src/widgets/numeric-input/numeric-input.tsx", - "name": "./packages/perseus/src/widgets/numeric-input/numeric-input.tsx", + "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/interactive-graph-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/interactive-graph-editor.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/numeric-input/numeric-input.stories.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/__stories__/interactive-graph-editor.stories.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/numeric-input/index.ts" + "moduleName": "./packages/perseus-editor/src/all-editors.ts" } ] }, { - "id": "./packages/perseus/src/widgets/numeric-input/numeric-input.testdata.ts", - "name": "./packages/perseus/src/widgets/numeric-input/numeric-input.testdata.ts", + "id": "./packages/perseus-editor/src/widgets/__stories__/interactive-graph-editor.argtypes.ts", + "name": "./packages/perseus-editor/src/widgets/__stories__/interactive-graph-editor.argtypes.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/numeric-input/numeric-input.stories.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/__stories__/interactive-graph-editor.stories.tsx" } ] }, { - "id": "./packages/perseus/src/styles/constants.ts", - "name": "./packages/perseus/src/styles/constants.ts", + "id": "./packages/perseus-editor/src/widgets/label-image/behavior.tsx", + "name": "./packages/perseus-editor/src/widgets/label-image/behavior.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/radio/__stories__/focus-ring.stories.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/label-image/__stories__/behavior.stories.tsx" }, { - "moduleName": "./packages/perseus/src/index.ts" - }, + "moduleName": "./packages/perseus-editor/src/widgets/label-image-editor.tsx" + } + ] + }, + { + "id": "./packages/perseus/src/components/multi-button-group.tsx", + "name": "./packages/perseus/src/components/multi-button-group.tsx", + "reasons": [ { - "moduleName": "./packages/perseus/src/styles/media-queries.ts" + "moduleName": "./packages/perseus/src/components/__stories__/multi-button-group.stories.tsx" }, { - "moduleName": "./packages/perseus/src/util/sizing-utils.ts" - }, + "moduleName": "./packages/perseus/src/components.ts" + } + ] + }, + { + "id": "./packages/perseus/src/components/button-group.tsx", + "name": "./packages/perseus/src/components/button-group.tsx", + "reasons": [ { - "moduleName": "./testing/side-by-side.tsx" + "moduleName": "./packages/perseus/src/components/__stories__/button-group.stories.tsx" }, { - "moduleName": "./packages/perseus/src/components/fixed-to-responsive.tsx" + "moduleName": "./packages/perseus/src/components.ts" }, { "moduleName": "./packages/perseus/src/widgets/grapher/grapher.tsx" - }, - { - "moduleName": "./packages/perseus/src/components/graph.tsx" - }, - { - "moduleName": "./packages/perseus/src/widget-container.tsx" - }, - { - "moduleName": "./packages/perseus/src/widgets/graded-group/graded-group-answer-bar.tsx" - }, - { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/backgrounds/legacy-grid.tsx" - }, - { - "moduleName": "./packages/perseus/src/components/hud.tsx" - }, - { - "moduleName": "./packages/perseus/src/components/lint.tsx" - }, - { - "moduleName": "./packages/perseus/src/hints-renderer.tsx" - }, - { - "moduleName": "./packages/perseus/src/widgets/phet-simulation/phet-simulation.tsx" - }, - { - "moduleName": "./packages/perseus/src/widgets/radio/focus-ring.tsx" - }, + } + ] + }, + { + "id": "./packages/perseus/src/__testdata__/server-item-renderer.testdata.ts", + "name": "./packages/perseus/src/__testdata__/server-item-renderer.testdata.ts", + "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/radio/choice-icon/choice-icon.tsx" - }, + "moduleName": "./packages/perseus/src/__stories__/server-item-renderer.stories.tsx" + } + ] + }, + { + "id": "./packages/perseus/src/server-item-renderer.tsx", + "name": "./packages/perseus/src/server-item-renderer.tsx", + "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/radio/base-radio.tsx" + "moduleName": "./packages/perseus/src/__stories__/server-item-renderer.stories.tsx" }, { - "moduleName": "./packages/perseus/src/hint-renderer.tsx" - }, + "moduleName": "./packages/perseus/src/index.ts" + } + ] + }, + { + "id": "./packages/perseus/src/components/visibility-observer/visibility-observer.tsx", + "name": "./packages/perseus/src/components/visibility-observer/visibility-observer.tsx", + "reasons": [ { - "moduleName": "./packages/perseus/src/styles/shared.ts" - }, + "moduleName": "./packages/perseus/src/components/visibility-observer/__stories__/visibility-observer.stories.tsx" + } + ] + }, + { + "id": "./packages/perseus/src/widgets/phet-simulation/phet-simulation.tsx", + "name": "./packages/perseus/src/widgets/phet-simulation/phet-simulation.tsx", + "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/cs-program/cs-program.tsx" + "moduleName": "./packages/perseus/src/widgets/phet-simulation/phet-simulation.stories.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/graded-group-set/graded-group-set.tsx" - }, + "moduleName": "./packages/perseus/src/widgets/phet-simulation/index.ts" + } + ] + }, + { + "id": "./packages/perseus/src/widgets/passage/__tests__/passage.testdata.ts", + "name": "./packages/perseus/src/widgets/passage/__tests__/passage.testdata.ts", + "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/graded-group/graded-group.tsx" + "moduleName": "./packages/perseus/src/widgets/passage/passage.stories.tsx" } ] }, { - "id": "./packages/perseus/src/widgets/radio/focus-ring.tsx", - "name": "./packages/perseus/src/widgets/radio/focus-ring.tsx", + "id": "./packages/perseus/src/widgets/python-program/python-program.testdata.ts", + "name": "./packages/perseus/src/widgets/python-program/python-program.testdata.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/radio/__stories__/focus-ring.stories.tsx" - }, + "moduleName": "./packages/perseus/src/widgets/python-program/python-program.stories.tsx" + } + ] + }, + { + "id": "./packages/perseus/src/widgets/plotter/plotter.testdata.ts", + "name": "./packages/perseus/src/widgets/plotter/plotter.testdata.ts", + "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/radio/choice-icon/choice-icon.tsx" + "moduleName": "./packages/perseus/src/widgets/plotter/plotter.stories.tsx" } ] }, { - "id": "./packages/perseus/src/widgets/radio/__tests__/base-radio.testdata.ts", - "name": "./packages/perseus/src/widgets/radio/__tests__/base-radio.testdata.ts", + "id": "./packages/perseus/src/widgets/sorter/sorter.testdata.ts", + "name": "./packages/perseus/src/widgets/sorter/sorter.testdata.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/radio/__stories__/base-radio.stories.tsx" + "moduleName": "./packages/perseus/src/widgets/sorter/sorter.stories.tsx" } ] }, { - "id": "./packages/perseus/src/widgets/radio/base-radio.tsx", - "name": "./packages/perseus/src/widgets/radio/base-radio.tsx", + "id": "./packages/perseus/src/widgets/video/video-transcript-link.tsx", + "name": "./packages/perseus/src/widgets/video/video-transcript-link.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/radio/__stories__/base-radio.stories.tsx" + "moduleName": "./packages/perseus/src/widgets/video/video-transcript-link.stories.tsx" }, { - "moduleName": "./packages/perseus/src/index.ts" - }, + "moduleName": "./packages/perseus/src/widgets/video/video.tsx" + } + ] + }, + { + "id": "./packages/perseus/src/widgets/video/video.testdata.ts", + "name": "./packages/perseus/src/widgets/video/video.testdata.ts", + "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/radio/radio-component.tsx" + "moduleName": "./packages/perseus/src/widgets/video/video.stories.tsx" } ] }, @@ -3640,200 +3700,140 @@ ] }, { - "id": "./packages/perseus/src/widgets/radio/__tests__/radio.testdata.ts", - "name": "./packages/perseus/src/widgets/radio/__tests__/radio.testdata.ts", + "id": "./packages/perseus/src/widgets/radio/__tests__/base-radio.testdata.ts", + "name": "./packages/perseus/src/widgets/radio/__tests__/base-radio.testdata.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/radio/__stories__/radio.stories.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/__stories__/content-preview.stories.tsx" + "moduleName": "./packages/perseus/src/widgets/radio/__stories__/base-radio.stories.tsx" } ] }, { - "id": "./packages/perseus/src/widgets/radio/option-status.tsx", - "name": "./packages/perseus/src/widgets/radio/option-status.tsx", + "id": "./packages/perseus/src/widgets/radio/base-radio.tsx", + "name": "./packages/perseus/src/widgets/radio/base-radio.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/radio/__stories__/option-status.stories.tsx" + "moduleName": "./packages/perseus/src/widgets/radio/__stories__/base-radio.stories.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/radio/choice.tsx" + "moduleName": "./packages/perseus/src/index.ts" + }, + { + "moduleName": "./packages/perseus/src/widgets/radio/radio-component.tsx" } ] }, { - "id": "./packages/perseus/src/widgets/radio/choice.tsx", - "name": "./packages/perseus/src/widgets/radio/choice.tsx", + "id": "./packages/perseus/src/styles/constants.ts", + "name": "./packages/perseus/src/styles/constants.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/radio/__stories__/choice.stories.tsx" + "moduleName": "./packages/perseus/src/widgets/radio/__stories__/focus-ring.stories.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/radio/choice-none-above.tsx" + "moduleName": "./packages/perseus/src/index.ts" }, { - "moduleName": "./packages/perseus/src/widgets/radio/base-radio.tsx" - } - ] - }, - { - "id": "./packages/perseus-editor/src/index.ts", - "name": "./packages/perseus-editor/src/index.ts", - "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/__stories__/editor.stories.tsx" + "moduleName": "./packages/perseus/src/styles/media-queries.ts" }, { - "moduleName": "./packages/perseus-editor/src/__stories__/interactive-graph-editor.stories.tsx" - } - ] - }, - { - "id": "./testing/side-by-side.tsx", - "name": "./testing/side-by-side.tsx", - "reasons": [ + "moduleName": "./packages/perseus/src/util/sizing-utils.ts" + }, { - "moduleName": "./packages/perseus-editor/src/__stories__/editor.stories.tsx" + "moduleName": "./testing/side-by-side.tsx" }, { - "moduleName": "./testing/server-item-renderer-with-debug-ui.tsx" + "moduleName": "./packages/perseus/src/components/fixed-to-responsive.tsx" }, { - "moduleName": "./testing/multi-item-renderer-with-debug-ui.tsx" + "moduleName": "./packages/perseus/src/widgets/grapher/grapher.tsx" }, { - "moduleName": "./testing/renderer-with-debug-ui.tsx" - } - ] - }, - { - "id": "./packages/perseus-editor/src/__testdata__/input-number.testdata.ts", - "name": "./packages/perseus-editor/src/__testdata__/input-number.testdata.ts", - "reasons": [ + "moduleName": "./packages/perseus/src/components/graph.tsx" + }, { - "moduleName": "./packages/perseus-editor/src/__stories__/editor.stories.tsx" - } - ] - }, - { - "id": "./packages/perseus-editor/src/components/device-framer.tsx", - "name": "./packages/perseus-editor/src/components/device-framer.tsx", - "reasons": [ + "moduleName": "./packages/perseus/src/widget-container.tsx" + }, { - "moduleName": "./packages/perseus-editor/src/__stories__/content-preview.stories.tsx" + "moduleName": "./packages/perseus/src/widgets/graded-group/graded-group-answer-bar.tsx" }, { - "moduleName": "./packages/perseus-editor/src/index.ts" + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/backgrounds/legacy-grid.tsx" }, { - "moduleName": "./packages/perseus-editor/src/components/__stories__/device-framer.stories.tsx" + "moduleName": "./packages/perseus/src/components/hud.tsx" }, { - "moduleName": "./packages/perseus-editor/src/article-editor.tsx" + "moduleName": "./packages/perseus/src/components/lint.tsx" }, { - "moduleName": "./packages/perseus-editor/src/item-editor.tsx" + "moduleName": "./packages/perseus/src/hints-renderer.tsx" }, { - "moduleName": "./packages/perseus-editor/src/hint-editor.tsx" - } - ] - }, - { - "id": "./packages/perseus-editor/src/content-preview.tsx", - "name": "./packages/perseus-editor/src/content-preview.tsx", - "reasons": [ + "moduleName": "./packages/perseus/src/widgets/phet-simulation/phet-simulation.tsx" + }, { - "moduleName": "./packages/perseus-editor/src/__stories__/content-preview.stories.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/hints-renderer.tsx", - "name": "./packages/perseus/src/hints-renderer.tsx", - "reasons": [ + "moduleName": "./packages/perseus/src/widgets/radio/focus-ring.tsx" + }, { - "moduleName": "./packages/perseus/src/__stories__/hints-renderer.stories.tsx" + "moduleName": "./packages/perseus/src/widgets/radio/choice-icon/choice-icon.tsx" }, { - "moduleName": "./packages/perseus/src/index.ts" + "moduleName": "./packages/perseus/src/widgets/radio/base-radio.tsx" }, { - "moduleName": "./packages/perseus/src/server-item-renderer.tsx" + "moduleName": "./packages/perseus/src/hint-renderer.tsx" }, { - "moduleName": "./packages/perseus/src/multi-items/multi-renderer.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/components/tooltip.tsx", - "name": "./packages/perseus/src/components/tooltip.tsx", - "reasons": [ + "moduleName": "./packages/perseus/src/styles/shared.ts" + }, { - "moduleName": "./packages/perseus/src/components/__stories__/tooltip.stories.tsx" + "moduleName": "./packages/perseus/src/widgets/cs-program/cs-program.tsx" }, { - "moduleName": "./packages/perseus/src/components/input-with-examples.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/widgets/plotter/plotter.testdata.ts", - "name": "./packages/perseus/src/widgets/plotter/plotter.testdata.ts", - "reasons": [ + "moduleName": "./packages/perseus/src/widgets/graded-group/graded-group.tsx" + }, { - "moduleName": "./packages/perseus/src/widgets/plotter/plotter.stories.tsx" + "moduleName": "./packages/perseus/src/widgets/graded-group-set/graded-group-set.tsx" } ] }, { - "id": "./packages/perseus/src/widgets/passage/__tests__/passage.testdata.ts", - "name": "./packages/perseus/src/widgets/passage/__tests__/passage.testdata.ts", + "id": "./packages/perseus/src/widgets/radio/focus-ring.tsx", + "name": "./packages/perseus/src/widgets/radio/focus-ring.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/passage/passage.stories.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/widgets/passage-ref/passage-ref.testdata.ts", - "name": "./packages/perseus/src/widgets/passage-ref/passage-ref.testdata.ts", - "reasons": [ + "moduleName": "./packages/perseus/src/widgets/radio/__stories__/focus-ring.stories.tsx" + }, { - "moduleName": "./packages/perseus/src/widgets/passage-ref/passage-ref.stories.tsx" + "moduleName": "./packages/perseus/src/widgets/radio/choice-icon/choice-icon.tsx" } ] }, { - "id": "./packages/perseus/src/widgets/sorter/sorter.testdata.ts", - "name": "./packages/perseus/src/widgets/sorter/sorter.testdata.ts", + "id": "./packages/perseus/src/widgets/radio/choice.tsx", + "name": "./packages/perseus/src/widgets/radio/choice.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/sorter/sorter.stories.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/widgets/video/video-transcript-link.tsx", - "name": "./packages/perseus/src/widgets/video/video-transcript-link.tsx", - "reasons": [ + "moduleName": "./packages/perseus/src/widgets/radio/__stories__/choice.stories.tsx" + }, { - "moduleName": "./packages/perseus/src/widgets/video/video-transcript-link.stories.tsx" + "moduleName": "./packages/perseus/src/widgets/radio/choice-none-above.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/video/video.tsx" + "moduleName": "./packages/perseus/src/widgets/radio/base-radio.tsx" } ] }, { - "id": "./packages/perseus/src/widgets/video/video.testdata.ts", - "name": "./packages/perseus/src/widgets/video/video.testdata.ts", + "id": "./packages/perseus/src/widgets/radio/option-status.tsx", + "name": "./packages/perseus/src/widgets/radio/option-status.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/video/video.stories.tsx" + "moduleName": "./packages/perseus/src/widgets/radio/__stories__/option-status.stories.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/radio/choice.tsx" } ] }, @@ -4063,98 +4063,248 @@ ] }, { - "id": "./packages/perseus/src/init.ts", - "name": "./packages/perseus/src/init.ts", + "id": "./packages/perseus-editor/src/version.ts", + "name": "./packages/perseus-editor/src/version.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/index.ts" + "moduleName": "./packages/perseus-editor/src/index.ts" } ] }, { - "id": "./packages/perseus/src/perseus-api.tsx", - "name": "./packages/perseus/src/perseus-api.tsx", + "id": "./packages/perseus-editor/src/diffs/article-diff.tsx", + "name": "./packages/perseus-editor/src/diffs/article-diff.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/index.ts" - }, - { - "moduleName": "./packages/perseus/src/components/input-with-examples.tsx" - }, + "moduleName": "./packages/perseus-editor/src/index.ts" + } + ] + }, + { + "id": "./packages/perseus-editor/src/diffs/item-diff.tsx", + "name": "./packages/perseus-editor/src/diffs/item-diff.tsx", + "reasons": [ { - "moduleName": "./packages/perseus/src/article-renderer.tsx" - }, + "moduleName": "./packages/perseus-editor/src/index.ts" + } + ] + }, + { + "id": "./packages/perseus-editor/src/editor-page.tsx", + "name": "./packages/perseus-editor/src/editor-page.tsx", + "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/group/group.tsx" + "moduleName": "./packages/perseus-editor/src/index.ts" }, { - "moduleName": "./packages/perseus/src/renderer.tsx" + "moduleName": "./packages/perseus-editor/src/stateful-editor-page.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/table/table.tsx" - }, + "moduleName": "./packages/perseus-editor/src/__stories__/editor-page-with-storybook-preview.tsx" + } + ] + }, + { + "id": "./packages/perseus-editor/src/editor.tsx", + "name": "./packages/perseus-editor/src/editor.tsx", + "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/plotter/plotter.tsx" + "moduleName": "./packages/perseus-editor/src/index.ts" }, { - "moduleName": "./packages/perseus/src/widgets/dropdown/dropdown.tsx" + "moduleName": "./packages/perseus-editor/src/article-editor.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/number-line/number-line.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/numeric-input-editor.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/orderer/orderer.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/image-editor.tsx" }, { - "moduleName": "./packages/perseus/src/components/sortable.tsx" + "moduleName": "./packages/perseus-editor/src/item-editor.tsx" }, { - "moduleName": "./packages/perseus/src/hints-renderer.tsx" + "moduleName": "./packages/perseus-editor/src/hint-editor.tsx" }, { - "moduleName": "./packages/perseus/src/server-item-renderer.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/explanation-editor.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/numeric-input/numeric-input.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/definition-editor.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/expression/expression.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/radio/editor.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/radio/choice.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/group-editor.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/radio/base-radio.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/matrix-editor.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/matrix/matrix.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/passage-editor.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/input-number/input-number.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/table-editor.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/categorizer/categorizer.tsx" + "moduleName": "./packages/perseus-editor/src/multirenderer-editor.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/graded-group/graded-group.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/graded-group-editor.tsx" } ] }, { - "id": "./packages/perseus/src/version.ts", - "name": "./packages/perseus/src/version.ts", + "id": "./packages/perseus-editor/src/i18n.ts", + "name": "./packages/perseus-editor/src/i18n.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/index.ts" + "moduleName": "./packages/perseus-editor/src/index.ts" } ] }, { - "id": "./packages/perseus/src/perseus-version.ts", - "name": "./packages/perseus/src/perseus-version.ts", + "id": "./packages/perseus-editor/src/iframe-content-renderer.tsx", + "name": "./packages/perseus-editor/src/iframe-content-renderer.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/index.ts" + "moduleName": "./packages/perseus-editor/src/index.ts" + }, + { + "moduleName": "./packages/perseus-editor/src/article-editor.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/item-editor.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/hint-editor.tsx" + } + ] + }, + { + "id": "./packages/perseus-editor/src/multirenderer-editor.tsx", + "name": "./packages/perseus-editor/src/multirenderer-editor.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus-editor/src/index.ts" + } + ] + }, + { + "id": "./packages/perseus-editor/src/stateful-editor-page.tsx", + "name": "./packages/perseus-editor/src/stateful-editor-page.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus-editor/src/index.ts" + } + ] + }, + { + "id": "./packages/perseus-editor/src/all-editors.ts", + "name": "./packages/perseus-editor/src/all-editors.ts", + "reasons": [ + { + "moduleName": "./packages/perseus-editor/src/index.ts" + }, + { + "moduleName": "./packages/perseus-editor/src/util/register-all-widgets-and-editors-for-testing.ts" + } + ] + }, + { + "id": "./packages/perseus/src/init.ts", + "name": "./packages/perseus/src/init.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/index.ts" + } + ] + }, + { + "id": "./packages/perseus/src/perseus-api.tsx", + "name": "./packages/perseus/src/perseus-api.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus/src/index.ts" + }, + { + "moduleName": "./packages/perseus/src/components/input-with-examples.tsx" + }, + { + "moduleName": "./packages/perseus/src/article-renderer.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/group/group.tsx" + }, + { + "moduleName": "./packages/perseus/src/renderer.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/table/table.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/plotter/plotter.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/dropdown/dropdown.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/number-line/number-line.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/orderer/orderer.tsx" + }, + { + "moduleName": "./packages/perseus/src/components/sortable.tsx" + }, + { + "moduleName": "./packages/perseus/src/hints-renderer.tsx" + }, + { + "moduleName": "./packages/perseus/src/server-item-renderer.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/numeric-input/numeric-input.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/radio/choice.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/radio/base-radio.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/expression/expression.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/input-number/input-number.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/matrix/matrix.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/categorizer/categorizer.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/graded-group/graded-group.tsx" + } + ] + }, + { + "id": "./packages/perseus/src/version.ts", + "name": "./packages/perseus/src/version.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/index.ts" + } + ] + }, + { + "id": "./packages/perseus/src/perseus-version.ts", + "name": "./packages/perseus/src/perseus-version.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/index.ts" }, { "moduleName": "./packages/perseus/src/item-version.ts" @@ -4418,10 +4568,10 @@ "moduleName": "./packages/perseus/src/util/graphie.ts" }, { - "moduleName": "./packages/perseus/src/error-boundary.tsx" + "moduleName": "./packages/perseus/src/widgets/expression/expression-validator.ts" }, { - "moduleName": "./packages/perseus/src/widgets/expression/expression-validator.ts" + "moduleName": "./packages/perseus/src/error-boundary.tsx" }, { "moduleName": "./packages/perseus/src/components/graphie.tsx" @@ -4475,10 +4625,10 @@ "moduleName": "./packages/perseus/src/util/answer-types.ts" }, { - "moduleName": "./packages/perseus/src/util/interactive.ts" + "moduleName": "./packages/perseus/src/util/tex.ts" }, { - "moduleName": "./packages/perseus/src/util/tex.ts" + "moduleName": "./packages/perseus/src/util/interactive.ts" }, { "moduleName": "./packages/perseus/src/interactive2/arrowhead.ts" @@ -4562,10 +4712,10 @@ "moduleName": "./packages/perseus/src/index.ts" }, { - "moduleName": "./packages/perseus/src/__testdata__/server-item-renderer.testdata.ts" + "moduleName": "./packages/perseus/src/__testdata__/graphie.testdata.ts" }, { - "moduleName": "./packages/perseus/src/__testdata__/graphie.testdata.ts" + "moduleName": "./packages/perseus/src/__testdata__/server-item-renderer.testdata.ts" }, { "moduleName": "./packages/perseus/src/widgets/expression/expression.testdata.ts" @@ -4592,10 +4742,10 @@ "moduleName": "./packages/perseus/src/widgets/interactive-graphs/locked-figures/locked-line.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/locked-figures/locked-vector.tsx" + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/locked-figures/locked-polygon.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/locked-figures/locked-polygon.tsx" + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/locked-figures/locked-vector.tsx" } ] }, @@ -4684,11 +4834,14 @@ { "moduleName": "./packages/perseus/src/widgets/video/video.tsx" }, + { + "moduleName": "./packages/perseus/src/widgets/molecule/molecule.tsx" + }, { "moduleName": "./packages/perseus/src/widgets/passage-ref-target/passage-ref-target.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/molecule/molecule.tsx" + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/mafs-graph.tsx" }, { "moduleName": "./packages/perseus/src/components/number-input.tsx" @@ -4709,22 +4862,19 @@ "moduleName": "./packages/perseus/src/widgets/orderer/orderer.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/mafs-graph.tsx" + "moduleName": "./packages/perseus/src/widgets/passage/passage-markdown.tsx" }, { "moduleName": "./packages/perseus/src/widgets/graded-group/graded-group-answer-bar.tsx" }, - { - "moduleName": "./packages/perseus/src/widgets/passage/passage-markdown.tsx" - }, { "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/point.tsx" }, { - "moduleName": "./packages/perseus/src/components/math-input.tsx" + "moduleName": "./packages/perseus/src/components/sortable.tsx" }, { - "moduleName": "./packages/perseus/src/components/sortable.tsx" + "moduleName": "./packages/perseus/src/components/math-input.tsx" }, { "moduleName": "./packages/perseus/src/hints-renderer.tsx" @@ -4733,31 +4883,28 @@ "moduleName": "./packages/perseus/src/server-item-renderer.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/label-image/answer-pill.tsx" - }, - { - "moduleName": "./packages/perseus/src/widgets/label-image/marker.tsx" + "moduleName": "./packages/perseus/src/widgets/video/video-transcript-link.tsx" }, { "moduleName": "./packages/perseus/src/widgets/phet-simulation/phet-simulation.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/numeric-input/numeric-input.tsx" + "moduleName": "./packages/perseus/src/widgets/label-image/answer-pill.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/expression/expression.tsx" + "moduleName": "./packages/perseus/src/widgets/label-image/marker.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/radio/option-status.tsx" + "moduleName": "./packages/perseus/src/widgets/numeric-input/numeric-input.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/radio/choice-icon/choice-icon.tsx" + "moduleName": "./packages/perseus/src/widgets/radio/choice.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/video/video-transcript-link.tsx" + "moduleName": "./packages/perseus/src/widgets/radio/option-status.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/radio/choice.tsx" + "moduleName": "./packages/perseus/src/widgets/radio/choice-icon/choice-icon.tsx" }, { "moduleName": "./packages/perseus/src/widgets/radio/base-radio.tsx" @@ -4766,11 +4913,14 @@ "moduleName": "./packages/perseus/src/hint-renderer.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/matrix/matrix.tsx" + "moduleName": "./packages/perseus/src/widgets/expression/expression.tsx" }, { "moduleName": "./packages/perseus/src/widgets/input-number/input-number.tsx" }, + { + "moduleName": "./packages/perseus/src/widgets/matrix/matrix.tsx" + }, { "moduleName": "./packages/perseus/src/widgets/categorizer/categorizer.tsx" }, @@ -4781,10 +4931,10 @@ "moduleName": "./packages/perseus/src/widgets/explanation/explanation.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/graded-group-set/graded-group-set.tsx" + "moduleName": "./packages/perseus/src/widgets/graded-group/graded-group.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/graded-group/graded-group.tsx" + "moduleName": "./packages/perseus/src/widgets/graded-group-set/graded-group-set.tsx" }, { "moduleName": "./packages/perseus/src/widgets/label-image/label-image.tsx" @@ -4834,24 +4984,24 @@ { "moduleName": "./dev/flipbook.tsx" }, - { - "moduleName": "./packages/perseus/src/renderer-util.ts" - }, { "moduleName": "./packages/perseus/src/widgets/radio/radio.ts" }, { "moduleName": "./packages/perseus/src/widgets/interactive-graph.tsx" }, - { - "moduleName": "./packages/perseus/src/widgets/grapher/grapher.tsx" - }, { "moduleName": "./packages/perseus/src/util/geometry.ts" }, { "moduleName": "./packages/perseus/src/widgets/interactive-graphs/interactive-graph-validator.ts" }, + { + "moduleName": "./packages/perseus/src/widgets/grapher/grapher.tsx" + }, + { + "moduleName": "./packages/perseus/src/renderer-util.ts" + }, { "moduleName": "./packages/perseus/src/util/is-real-json-parse.ts" }, @@ -4871,7 +5021,7 @@ "moduleName": "./packages/perseus/src/widgets/sorter/sorter.tsx" }, { - "moduleName": "./packages/perseus/src/components/graph.tsx" + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/reducer/interactive-graph-reducer.ts" }, { "moduleName": "./packages/perseus/src/components/number-input.tsx" @@ -4879,6 +5029,9 @@ { "moduleName": "./packages/perseus/src/components/graphie.tsx" }, + { + "moduleName": "./packages/perseus/src/components/graph.tsx" + }, { "moduleName": "./packages/perseus/src/renderer.tsx" }, @@ -4888,9 +5041,6 @@ { "moduleName": "./packages/perseus/src/widgets/orderer/orderer.tsx" }, - { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/reducer/interactive-graph-reducer.ts" - }, { "moduleName": "./packages/perseus/src/widgets/sorter/sorter-validator.ts" }, @@ -4931,19 +5081,19 @@ "moduleName": "./packages/perseus/src/index.ts" }, { - "moduleName": "./packages/perseus/src/util/graphie.ts" + "moduleName": "./packages/perseus/src/components/graphie-movables.ts" }, { - "moduleName": "./packages/perseus/src/components/graphie-movables.ts" + "moduleName": "./packages/perseus/src/util/graphie.ts" }, { "moduleName": "./packages/perseus/src/widgets/interactive-graph.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/grapher/grapher.tsx" + "moduleName": "./packages/perseus/src/interactive2.ts" }, { - "moduleName": "./packages/perseus/src/interactive2.ts" + "moduleName": "./packages/perseus/src/widgets/grapher/grapher.tsx" }, { "moduleName": "./packages/perseus/src/util/interactive.ts" @@ -5108,13 +5258,13 @@ "moduleName": "./packages/perseus/src/widgets/interactive-graphs/backgrounds/axis-labels.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/backgrounds/axis-ticks.tsx" + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/backgrounds/grid.tsx" }, { "moduleName": "./packages/perseus/src/widgets/interactive-graphs/backgrounds/legacy-grid.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/backgrounds/grid.tsx" + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/backgrounds/axis-ticks.tsx" }, { "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/angle.tsx" @@ -5122,6 +5272,9 @@ { "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/circle.tsx" }, + { + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/polygon.tsx" + }, { "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/sinusoid.tsx" }, @@ -5129,14 +5282,11 @@ "moduleName": "./packages/perseus/src/widgets/interactive-graphs/protractor.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/polygon.tsx" + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/components/arrowhead.tsx" }, { "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/use-transform.ts" }, - { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/components/arrowhead.tsx" - }, { "moduleName": "./packages/perseus/src/widgets/interactive-graphs/locked-figures/locked-line.tsx" }, @@ -5225,10 +5375,10 @@ "moduleName": "./packages/perseus/src/widgets/explanation/explanation.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/graded-group-set/graded-group-set.tsx" + "moduleName": "./packages/perseus/src/widgets/graded-group/graded-group.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/graded-group/graded-group.tsx" + "moduleName": "./packages/perseus/src/widgets/graded-group-set/graded-group-set.tsx" } ] }, @@ -5329,164 +5479,47 @@ ] }, { - "id": "./packages/keypad-context/src/keypad-context.tsx", - "name": "./packages/keypad-context/src/keypad-context.tsx", + "id": "./packages/perseus-editor/src/styles/constants.ts", + "name": "./packages/perseus-editor/src/styles/constants.ts", "reasons": [ { - "moduleName": "./packages/keypad-context/src/index.ts" + "moduleName": "./packages/perseus-editor/src/components/device-framer.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/components/viewport-resizer.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/content-preview.tsx" } ] }, { - "id": "./packages/perseus-editor/src/all-editors.ts", - "name": "./packages/perseus-editor/src/all-editors.ts", + "id": "./packages/perseus-editor/src/styles/icon-paths.ts", + "name": "./packages/perseus-editor/src/styles/icon-paths.ts", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/util/register-all-widgets-and-editors-for-testing.ts" - }, - { - "moduleName": "./packages/perseus-editor/src/index.ts" - } - ] - }, - { - "id": "./packages/math-input/src/types.ts", - "name": "./packages/math-input/src/types.ts", - "reasons": [ - { - "moduleName": "./packages/math-input/src/components/input/mathquill-helpers.ts" - }, - { - "moduleName": "./packages/math-input/src/components/key-handlers/key-translator.ts" - }, - { - "moduleName": "./packages/math-input/src/components/key-handlers/handle-arrow.ts" - }, - { - "moduleName": "./packages/math-input/src/components/key-handlers/handle-exponent.ts" - }, - { - "moduleName": "./packages/math-input/src/components/key-handlers/handle-jump-out.ts" - }, - { - "moduleName": "./packages/math-input/src/components/key-handlers/handle-backspace.ts" - } - ] - }, - { - "id": "./packages/math-input/src/components/key-handlers/handle-arrow.ts", - "name": "./packages/math-input/src/components/key-handlers/handle-arrow.ts", - "reasons": [ - { - "moduleName": "./packages/math-input/src/components/key-handlers/key-translator.ts" - } - ] - }, - { - "id": "./packages/math-input/src/components/key-handlers/handle-exponent.ts", - "name": "./packages/math-input/src/components/key-handlers/handle-exponent.ts", - "reasons": [ - { - "moduleName": "./packages/math-input/src/components/key-handlers/key-translator.ts" - } - ] - }, - { - "id": "./packages/math-input/src/components/key-handlers/handle-jump-out.ts", - "name": "./packages/math-input/src/components/key-handlers/handle-jump-out.ts", - "reasons": [ - { - "moduleName": "./packages/math-input/src/components/key-handlers/key-translator.ts" - } - ] - }, - { - "id": "./packages/perseus-editor/src/version.ts", - "name": "./packages/perseus-editor/src/version.ts", - "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/index.ts" - } - ] - }, - { - "id": "./packages/perseus-editor/src/diffs/article-diff.tsx", - "name": "./packages/perseus-editor/src/diffs/article-diff.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/index.ts" - } - ] - }, - { - "id": "./packages/perseus-editor/src/diffs/item-diff.tsx", - "name": "./packages/perseus-editor/src/diffs/item-diff.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/index.ts" - } - ] - }, - { - "id": "./packages/perseus-editor/src/editor-page.tsx", - "name": "./packages/perseus-editor/src/editor-page.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/index.ts" - }, - { - "moduleName": "./packages/perseus-editor/src/stateful-editor-page.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/__stories__/editor-page-with-storybook-preview.tsx" - } - ] - }, - { - "id": "./packages/perseus-editor/src/editor.tsx", - "name": "./packages/perseus-editor/src/editor.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/index.ts" + "moduleName": "./packages/perseus-editor/src/components/viewport-resizer.tsx" }, { "moduleName": "./packages/perseus-editor/src/article-editor.tsx" }, - { - "moduleName": "./packages/perseus-editor/src/widgets/image-editor.tsx" - }, { "moduleName": "./packages/perseus-editor/src/widgets/numeric-input-editor.tsx" }, - { - "moduleName": "./packages/perseus-editor/src/item-editor.tsx" - }, { "moduleName": "./packages/perseus-editor/src/hint-editor.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/definition-editor.tsx" + "moduleName": "./packages/perseus-editor/src/components/widget-editor.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/explanation-editor.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/element-container.tsx" }, { "moduleName": "./packages/perseus-editor/src/widgets/radio/editor.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/group-editor.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/matrix-editor.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/passage-editor.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/table-editor.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/multirenderer-editor.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/dropdown-editor.tsx" }, { "moduleName": "./packages/perseus-editor/src/widgets/graded-group-editor.tsx" @@ -5494,95 +5527,62 @@ ] }, { - "id": "./packages/perseus-editor/src/i18n.ts", - "name": "./packages/perseus-editor/src/i18n.ts", + "id": "./packages/keypad-context/src/keypad-context.tsx", + "name": "./packages/keypad-context/src/keypad-context.tsx", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/index.ts" + "moduleName": "./packages/keypad-context/src/index.ts" } ] }, { - "id": "./packages/perseus-editor/src/iframe-content-renderer.tsx", - "name": "./packages/perseus-editor/src/iframe-content-renderer.tsx", + "id": "./packages/math-input/src/types.ts", + "name": "./packages/math-input/src/types.ts", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/index.ts" + "moduleName": "./packages/math-input/src/components/input/mathquill-helpers.ts" }, { - "moduleName": "./packages/perseus-editor/src/article-editor.tsx" + "moduleName": "./packages/math-input/src/components/key-handlers/key-translator.ts" }, { - "moduleName": "./packages/perseus-editor/src/item-editor.tsx" + "moduleName": "./packages/math-input/src/components/key-handlers/handle-arrow.ts" }, { - "moduleName": "./packages/perseus-editor/src/hint-editor.tsx" - } - ] - }, - { - "id": "./packages/perseus-editor/src/multirenderer-editor.tsx", - "name": "./packages/perseus-editor/src/multirenderer-editor.tsx", - "reasons": [ + "moduleName": "./packages/math-input/src/components/key-handlers/handle-exponent.ts" + }, { - "moduleName": "./packages/perseus-editor/src/index.ts" + "moduleName": "./packages/math-input/src/components/key-handlers/handle-jump-out.ts" + }, + { + "moduleName": "./packages/math-input/src/components/key-handlers/handle-backspace.ts" } ] }, { - "id": "./packages/perseus-editor/src/stateful-editor-page.tsx", - "name": "./packages/perseus-editor/src/stateful-editor-page.tsx", + "id": "./packages/math-input/src/components/key-handlers/handle-arrow.ts", + "name": "./packages/math-input/src/components/key-handlers/handle-arrow.ts", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/index.ts" + "moduleName": "./packages/math-input/src/components/key-handlers/key-translator.ts" } ] }, { - "id": "./packages/perseus-editor/src/styles/constants.ts", - "name": "./packages/perseus-editor/src/styles/constants.ts", + "id": "./packages/math-input/src/components/key-handlers/handle-exponent.ts", + "name": "./packages/math-input/src/components/key-handlers/handle-exponent.ts", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/components/device-framer.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/components/viewport-resizer.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/content-preview.tsx" + "moduleName": "./packages/math-input/src/components/key-handlers/key-translator.ts" } ] }, { - "id": "./packages/perseus-editor/src/styles/icon-paths.ts", - "name": "./packages/perseus-editor/src/styles/icon-paths.ts", + "id": "./packages/math-input/src/components/key-handlers/handle-jump-out.ts", + "name": "./packages/math-input/src/components/key-handlers/handle-jump-out.ts", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/components/viewport-resizer.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/article-editor.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/numeric-input-editor.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/components/widget-editor.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/hint-editor.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/element-container.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/radio/editor.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/dropdown-editor.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/graded-group-editor.tsx" + "moduleName": "./packages/math-input/src/components/key-handlers/key-translator.ts" } ] }, @@ -5691,30 +5691,6 @@ } ] }, - { - "id": "./packages/perseus/src/basic-widgets.ts", - "name": "./packages/perseus/src/basic-widgets.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/init.ts" - }, - { - "moduleName": "./packages/perseus/src/all-widgets.ts" - } - ] - }, - { - "id": "./packages/perseus/src/extra-widgets.ts", - "name": "./packages/perseus/src/extra-widgets.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/init.ts" - }, - { - "moduleName": "./packages/perseus/src/all-widgets.ts" - } - ] - }, { "id": "./packages/math-input/src/components/keypad/mobile-keypad-internals.tsx", "name": "./packages/math-input/src/components/keypad/mobile-keypad-internals.tsx", @@ -5729,10 +5705,13 @@ "name": "./packages/perseus-core/src/index.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/version.ts" + "moduleName": "./packages/math-input/src/version.ts" }, { - "moduleName": "./packages/math-input/src/version.ts" + "moduleName": "./packages/perseus-editor/src/version.ts" + }, + { + "moduleName": "./packages/perseus/src/version.ts" }, { "moduleName": "./packages/perseus/src/renderability.ts" @@ -5753,10 +5732,10 @@ "moduleName": "./packages/perseus/src/util.ts" }, { - "moduleName": "./packages/perseus-editor/src/version.ts" + "moduleName": "./packages/perseus/src/components/svg-image.tsx" }, { - "moduleName": "./packages/perseus/src/components/svg-image.tsx" + "moduleName": "./packages/perseus/src/components/graphie-classes.ts" }, { "moduleName": "./packages/perseus/src/interactive2/interactive-util.ts" @@ -5765,23 +5744,20 @@ "moduleName": "./packages/perseus/src/util/graphie.ts" }, { - "moduleName": "./packages/perseus/src/components/graphie-classes.ts" + "moduleName": "./packages/perseus-editor/src/editor.tsx" }, { - "moduleName": "./packages/perseus/src/error-boundary.tsx" + "moduleName": "./packages/perseus/src/widgets/interactive-graph.tsx" }, { "moduleName": "./packages/perseus/src/widgets/expression/expression-validator.ts" }, { - "moduleName": "./packages/perseus/src/widgets/interactive-graph.tsx" + "moduleName": "./packages/perseus/src/error-boundary.tsx" }, { "moduleName": "./packages/perseus/src/util/answer-types.ts" }, - { - "moduleName": "./packages/perseus-editor/src/editor.tsx" - }, { "moduleName": "./packages/kmath/src/version.ts" }, @@ -5789,7 +5765,7 @@ "moduleName": "./packages/kas/src/version.ts" }, { - "moduleName": "./packages/perseus-linter/src/rule.ts" + "moduleName": "./packages/perseus/src/interactive2/movable-helper-methods.ts" }, { "moduleName": "./packages/perseus/src/util/interactive.ts" @@ -5798,19 +5774,16 @@ "moduleName": "./packages/perseus-linter/src/version.ts" }, { - "moduleName": "./packages/perseus-linter/src/tree-transformer.ts" + "moduleName": "./packages/perseus-linter/src/rule.ts" }, { - "moduleName": "./packages/perseus/src/interactive2/movable-helper-methods.ts" - }, - { - "moduleName": "./packages/perseus/src/widgets/grapher/grapher-validator.ts" + "moduleName": "./packages/perseus-linter/src/tree-transformer.ts" }, { "moduleName": "./packages/perseus/src/interactive2/movable.ts" }, { - "moduleName": "./packages/perseus/src/interactive2/movable-point.tsx" + "moduleName": "./packages/perseus/src/widgets/grapher/grapher-validator.ts" }, { "moduleName": "./packages/pure-markdown/src/version.ts" @@ -5819,10 +5792,10 @@ "moduleName": "./packages/simple-markdown/src/version.ts" }, { - "moduleName": "./packages/perseus-editor/src/widgets/cs-program-editor.tsx" + "moduleName": "./packages/perseus/src/interactive2/movable-point.tsx" }, { - "moduleName": "./packages/perseus-linter/src/selector.ts" + "moduleName": "./packages/perseus-editor/src/widgets/cs-program-editor.tsx" }, { "moduleName": "./packages/perseus/src/mixins/changeable.ts" @@ -5830,6 +5803,9 @@ { "moduleName": "./packages/perseus/src/multi-items/prop-type-builders.ts" }, + { + "moduleName": "./packages/perseus-linter/src/selector.ts" + }, { "moduleName": "./packages/perseus/src/components/graphie.tsx" }, @@ -5851,251 +5827,503 @@ ] }, { - "id": "./packages/perseus/src/widgets/radio/radio.ts", - "name": "./packages/perseus/src/widgets/radio/radio.ts", + "id": "./packages/perseus/src/basic-widgets.ts", + "name": "./packages/perseus/src/basic-widgets.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/radio/index.ts" + "moduleName": "./packages/perseus/src/init.ts" + }, + { + "moduleName": "./packages/perseus/src/all-widgets.ts" } ] }, { - "id": "./packages/perseus/src/widgets/categorizer/categorizer.tsx", - "name": "./packages/perseus/src/widgets/categorizer/categorizer.tsx", + "id": "./packages/perseus/src/extra-widgets.ts", + "name": "./packages/perseus/src/extra-widgets.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/categorizer/index.ts" + "moduleName": "./packages/perseus/src/init.ts" + }, + { + "moduleName": "./packages/perseus/src/all-widgets.ts" } ] }, { - "id": "./packages/perseus/src/widgets/matrix/matrix.tsx", - "name": "./packages/perseus/src/widgets/matrix/matrix.tsx", + "id": "./packages/perseus-editor/src/widgets/cs-program-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/cs-program-editor.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/matrix/index.ts" + "moduleName": "./packages/perseus-editor/src/all-editors.ts" + } + ] + }, + { + "id": "./packages/perseus-editor/src/widgets/deprecated-standin-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/deprecated-standin-editor.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus-editor/src/all-editors.ts" + } + ] + }, + { + "id": "./packages/perseus-editor/src/widgets/expression-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/expression-editor.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus-editor/src/all-editors.ts" }, { - "moduleName": "./packages/perseus/src/widgets/matrix/matrix-validator.ts" + "moduleName": "./packages/perseus-editor/src/widgets/__stories__/expression-editor.stories.tsx" } ] }, { - "id": "./packages/perseus/src/widgets/plotter/plotter.tsx", - "name": "./packages/perseus/src/widgets/plotter/plotter.tsx", + "id": "./packages/perseus-editor/src/widgets/graded-group-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/graded-group-editor.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/plotter/index.ts" + "moduleName": "./packages/perseus-editor/src/all-editors.ts" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/graded-group-set-editor.tsx" } ] }, { - "id": "./packages/perseus/src/widgets/grapher/grapher.tsx", - "name": "./packages/perseus/src/widgets/grapher/grapher.tsx", + "id": "./packages/perseus-editor/src/widgets/graded-group-set-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/graded-group-set-editor.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/grapher/index.ts" + "moduleName": "./packages/perseus-editor/src/all-editors.ts" } ] }, { - "id": "./packages/perseus/src/widgets/table/table.tsx", - "name": "./packages/perseus/src/widgets/table/table.tsx", + "id": "./packages/perseus-editor/src/widgets/grapher-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/grapher-editor.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/table/index.ts" + "moduleName": "./packages/perseus-editor/src/all-editors.ts" } ] }, { - "id": "./packages/perseus/src/widgets/input-number/input-number.tsx", - "name": "./packages/perseus/src/widgets/input-number/input-number.tsx", + "id": "./packages/perseus-editor/src/widgets/group-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/group-editor.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/input-number/index.ts" + "moduleName": "./packages/perseus-editor/src/all-editors.ts" } ] }, { - "id": "./packages/simple-markdown/src/index.ts", - "name": "./packages/simple-markdown/src/index.ts", + "id": "./packages/perseus-editor/src/widgets/iframe-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/iframe-editor.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/jipt-paragraphs.ts" - }, + "moduleName": "./packages/perseus-editor/src/all-editors.ts" + } + ] + }, + { + "id": "./packages/perseus-editor/src/widgets/image-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/image-editor.tsx", + "reasons": [ { - "moduleName": "./packages/perseus/src/perseus-markdown.tsx" + "moduleName": "./packages/perseus-editor/src/all-editors.ts" }, { - "moduleName": "./packages/pure-markdown/src/index.ts" + "moduleName": "./packages/perseus-editor/src/widgets/__stories__/image-editor.stories.tsx" + } + ] + }, + { + "id": "./packages/perseus-editor/src/widgets/label-image-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/label-image-editor.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus-editor/src/all-editors.ts" }, { - "moduleName": "./packages/perseus/src/widgets/passage/passage-markdown.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/__stories__/label-image-editor.stories.tsx" } ] }, { - "id": "./packages/perseus/src/util/is-real-json-parse.ts", - "name": "./packages/perseus/src/util/is-real-json-parse.ts", + "id": "./packages/perseus-editor/src/widgets/matrix-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/matrix-editor.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/util/parse-perseus-json/index.ts" + "moduleName": "./packages/perseus-editor/src/all-editors.ts" } ] }, { - "id": "./packages/perseus/src/util/parse-perseus-json/parse.ts", - "name": "./packages/perseus/src/util/parse-perseus-json/parse.ts", + "id": "./packages/perseus-editor/src/widgets/measurer-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/measurer-editor.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/util/parse-perseus-json/index.ts" + "moduleName": "./packages/perseus-editor/src/all-editors.ts" } ] }, { - "id": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/perseus-item.ts", - "name": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/perseus-item.ts", + "id": "./packages/perseus-editor/src/widgets/molecule-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/molecule-editor.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/util/parse-perseus-json/index.ts" + "moduleName": "./packages/perseus-editor/src/all-editors.ts" } ] }, { - "id": "./packages/perseus/src/multi-items/multi-renderer.tsx", - "name": "./packages/perseus/src/multi-items/multi-renderer.tsx", + "id": "./packages/perseus-editor/src/widgets/orderer-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/orderer-editor.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/multi-items.ts" + "moduleName": "./packages/perseus-editor/src/all-editors.ts" } ] }, { - "id": "./packages/perseus/src/multi-items/prop-type-builders.ts", - "name": "./packages/perseus/src/multi-items/prop-type-builders.ts", + "id": "./packages/perseus-editor/src/widgets/passage-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/passage-editor.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/multi-items.ts" + "moduleName": "./packages/perseus-editor/src/all-editors.ts" } ] }, { - "id": "./packages/perseus/src/widgets/interactive-graphs/math/clamp.ts", - "name": "./packages/perseus/src/widgets/interactive-graphs/math/clamp.ts", + "id": "./packages/perseus-editor/src/widgets/passage-ref-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/passage-ref-editor.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/math/index.ts" - }, - { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/math/box.ts" - }, - { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/math/interpolation.ts" + "moduleName": "./packages/perseus-editor/src/all-editors.ts" } ] }, { - "id": "./packages/perseus/src/widgets/interactive-graphs/math/snap.ts", - "name": "./packages/perseus/src/widgets/interactive-graphs/math/snap.ts", + "id": "./packages/perseus-editor/src/widgets/passage-ref-target-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/passage-ref-target-editor.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/math/index.ts" + "moduleName": "./packages/perseus-editor/src/all-editors.ts" } ] }, { - "id": "./packages/perseus/src/widgets/interactive-graphs/math/box.ts", - "name": "./packages/perseus/src/widgets/interactive-graphs/math/box.ts", + "id": "./packages/perseus-editor/src/widgets/plotter-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/plotter-editor.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/math/index.ts" + "moduleName": "./packages/perseus-editor/src/all-editors.ts" } ] }, { - "id": "./packages/perseus/src/widgets/interactive-graphs/math/coordinates.ts", - "name": "./packages/perseus/src/widgets/interactive-graphs/math/coordinates.ts", + "id": "./packages/perseus-editor/src/widgets/radio/editor.tsx", + "name": "./packages/perseus-editor/src/widgets/radio/editor.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/math/index.ts" + "moduleName": "./packages/perseus-editor/src/all-editors.ts" }, { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/math/box.ts" + "moduleName": "./packages/perseus-editor/src/widgets/__stories__/radio-editor.stories.tsx" } ] }, { - "id": "./packages/perseus/src/widgets/interactive-graphs/math/interval.ts", - "name": "./packages/perseus/src/widgets/interactive-graphs/math/interval.ts", + "id": "./packages/perseus-editor/src/widgets/table-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/table-editor.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/math/index.ts" - }, + "moduleName": "./packages/perseus-editor/src/all-editors.ts" + } + ] + }, + { + "id": "./packages/perseus-editor/src/widgets/video-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/video-editor.tsx", + "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/math/box.ts" + "moduleName": "./packages/perseus-editor/src/all-editors.ts" } ] }, { - "id": "./packages/perseus/src/widgets/interactive-graphs/math/interpolation.ts", - "name": "./packages/perseus/src/widgets/interactive-graphs/math/interpolation.ts", + "id": "./packages/perseus/src/widgets/input-number/input-number.tsx", + "name": "./packages/perseus/src/widgets/input-number/input-number.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/math/index.ts" + "moduleName": "./packages/perseus/src/widgets/input-number/index.ts" } ] }, { - "id": "./packages/perseus/src/widgets/interactive-graphs/math/geometry.ts", - "name": "./packages/perseus/src/widgets/interactive-graphs/math/geometry.ts", + "id": "./packages/perseus/src/widgets/radio/radio.ts", + "name": "./packages/perseus/src/widgets/radio/radio.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/math/index.ts" - }, + "moduleName": "./packages/perseus/src/widgets/radio/index.ts" + } + ] + }, + { + "id": "./packages/perseus/src/widgets/categorizer/categorizer.tsx", + "name": "./packages/perseus/src/widgets/categorizer/categorizer.tsx", + "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/angle.tsx" + "moduleName": "./packages/perseus/src/widgets/categorizer/index.ts" } ] }, { - "id": "./packages/perseus/src/widgets/interactive-graphs/math/angles.ts", - "name": "./packages/perseus/src/widgets/interactive-graphs/math/angles.ts", + "id": "./packages/perseus/src/widgets/matrix/matrix.tsx", + "name": "./packages/perseus/src/widgets/matrix/matrix.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/math/index.ts" + "moduleName": "./packages/perseus/src/widgets/matrix/index.ts" }, { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/interactive-graph-validator.ts" + "moduleName": "./packages/perseus/src/widgets/matrix/matrix-validator.ts" } ] }, { - "id": "./packages/perseus-editor/src/components/json-editor.tsx", - "name": "./packages/perseus-editor/src/components/json-editor.tsx", + "id": "./packages/perseus/src/widgets/plotter/plotter.tsx", + "name": "./packages/perseus/src/widgets/plotter/plotter.tsx", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/article-editor.tsx" - }, + "moduleName": "./packages/perseus/src/widgets/plotter/index.ts" + } + ] + }, + { + "id": "./packages/perseus/src/widgets/grapher/grapher.tsx", + "name": "./packages/perseus/src/widgets/grapher/grapher.tsx", + "reasons": [ { - "moduleName": "./packages/perseus-editor/src/editor-page.tsx" - }, + "moduleName": "./packages/perseus/src/widgets/grapher/index.ts" + } + ] + }, + { + "id": "./packages/perseus/src/widgets/table/table.tsx", + "name": "./packages/perseus/src/widgets/table/table.tsx", + "reasons": [ { - "moduleName": "./packages/perseus-editor/src/multirenderer-editor.tsx" + "moduleName": "./packages/perseus/src/widgets/table/index.ts" } ] }, { - "id": "./packages/perseus-linter/src/index.ts", - "name": "./packages/perseus-linter/src/index.ts", + "id": "./packages/simple-markdown/src/index.ts", + "name": "./packages/simple-markdown/src/index.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/components/input-with-examples.tsx" + "moduleName": "./packages/perseus/src/jipt-paragraphs.ts" }, { - "moduleName": "./packages/perseus/src/article-renderer.tsx" + "moduleName": "./packages/perseus/src/perseus-markdown.tsx" }, { - "moduleName": "./packages/perseus/src/translation-linter.ts" + "moduleName": "./packages/pure-markdown/src/index.ts" + }, + { + "moduleName": "./packages/perseus/src/widgets/passage/passage-markdown.tsx" + } + ] + }, + { + "id": "./packages/perseus/src/util/is-real-json-parse.ts", + "name": "./packages/perseus/src/util/is-real-json-parse.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/util/parse-perseus-json/index.ts" + } + ] + }, + { + "id": "./packages/perseus/src/util/parse-perseus-json/parse.ts", + "name": "./packages/perseus/src/util/parse-perseus-json/parse.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/util/parse-perseus-json/index.ts" + } + ] + }, + { + "id": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/perseus-item.ts", + "name": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/perseus-item.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/util/parse-perseus-json/index.ts" + } + ] + }, + { + "id": "./packages/perseus/src/multi-items/multi-renderer.tsx", + "name": "./packages/perseus/src/multi-items/multi-renderer.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus/src/multi-items.ts" + } + ] + }, + { + "id": "./packages/perseus/src/multi-items/prop-type-builders.ts", + "name": "./packages/perseus/src/multi-items/prop-type-builders.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/multi-items.ts" + } + ] + }, + { + "id": "./packages/perseus/src/widgets/interactive-graphs/math/clamp.ts", + "name": "./packages/perseus/src/widgets/interactive-graphs/math/clamp.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/math/index.ts" + }, + { + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/math/box.ts" + }, + { + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/math/interpolation.ts" + } + ] + }, + { + "id": "./packages/perseus/src/widgets/interactive-graphs/math/snap.ts", + "name": "./packages/perseus/src/widgets/interactive-graphs/math/snap.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/math/index.ts" + } + ] + }, + { + "id": "./packages/perseus/src/widgets/interactive-graphs/math/box.ts", + "name": "./packages/perseus/src/widgets/interactive-graphs/math/box.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/math/index.ts" + } + ] + }, + { + "id": "./packages/perseus/src/widgets/interactive-graphs/math/coordinates.ts", + "name": "./packages/perseus/src/widgets/interactive-graphs/math/coordinates.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/math/index.ts" + }, + { + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/math/box.ts" + } + ] + }, + { + "id": "./packages/perseus/src/widgets/interactive-graphs/math/interval.ts", + "name": "./packages/perseus/src/widgets/interactive-graphs/math/interval.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/math/index.ts" + }, + { + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/math/box.ts" + } + ] + }, + { + "id": "./packages/perseus/src/widgets/interactive-graphs/math/interpolation.ts", + "name": "./packages/perseus/src/widgets/interactive-graphs/math/interpolation.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/math/index.ts" + } + ] + }, + { + "id": "./packages/perseus/src/widgets/interactive-graphs/math/geometry.ts", + "name": "./packages/perseus/src/widgets/interactive-graphs/math/geometry.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/math/index.ts" + }, + { + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/angle.tsx" + } + ] + }, + { + "id": "./packages/perseus/src/widgets/interactive-graphs/math/angles.ts", + "name": "./packages/perseus/src/widgets/interactive-graphs/math/angles.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/math/index.ts" + }, + { + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/interactive-graph-validator.ts" + } + ] + }, + { + "id": "./testing/ke-score-ui.tsx", + "name": "./testing/ke-score-ui.tsx", + "reasons": [ + { + "moduleName": "./testing/server-item-renderer-with-debug-ui.tsx" + }, + { + "moduleName": "./testing/multi-item-renderer-with-debug-ui.tsx" + } + ] + }, + { + "id": "./packages/perseus/src/multi-items/__testdata__/multi-renderer.testdata.ts", + "name": "./packages/perseus/src/multi-items/__testdata__/multi-renderer.testdata.ts", + "reasons": [ + { + "moduleName": "./testing/multi-item-renderer-with-debug-ui.tsx" + }, + { + "moduleName": "./packages/perseus/src/multi-items/__stories__/multi-renderer.stories.tsx" + } + ] + }, + { + "id": "./packages/perseus-editor/src/components/json-editor.tsx", + "name": "./packages/perseus-editor/src/components/json-editor.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus-editor/src/article-editor.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/editor-page.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/multirenderer-editor.tsx" + } + ] + }, + { + "id": "./packages/perseus-linter/src/index.ts", + "name": "./packages/perseus-linter/src/index.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/components/input-with-examples.tsx" + }, + { + "moduleName": "./packages/perseus/src/article-renderer.tsx" + }, + { + "moduleName": "./packages/perseus/src/translation-linter.ts" }, { "moduleName": "./packages/perseus/src/widgets/radio/radio-component.tsx" @@ -6136,18 +6364,18 @@ { "moduleName": "./packages/perseus/src/widgets/numeric-input/numeric-input.tsx" }, - { - "moduleName": "./packages/perseus/src/widgets/expression/expression.tsx" - }, { "moduleName": "./packages/perseus/src/hint-renderer.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/matrix/matrix.tsx" + "moduleName": "./packages/perseus/src/widgets/expression/expression.tsx" }, { "moduleName": "./packages/perseus/src/widgets/input-number/input-number.tsx" }, + { + "moduleName": "./packages/perseus/src/widgets/matrix/matrix.tsx" + }, { "moduleName": "./packages/perseus/src/widgets/categorizer/categorizer.tsx" }, @@ -6155,10 +6383,10 @@ "moduleName": "./packages/perseus/src/widgets/explanation/explanation.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/graded-group-set/graded-group-set.tsx" + "moduleName": "./packages/perseus/src/widgets/graded-group/graded-group.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/graded-group/graded-group.tsx" + "moduleName": "./packages/perseus/src/widgets/graded-group-set/graded-group-set.tsx" }, { "moduleName": "./packages/perseus/src/widgets/passage/passage.tsx" @@ -6168,6 +6396,27 @@ } ] }, + { + "id": "./packages/perseus-editor/src/hint-editor.tsx", + "name": "./packages/perseus-editor/src/hint-editor.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus-editor/src/editor-page.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/multirenderer-editor.tsx" + } + ] + }, + { + "id": "./packages/perseus-editor/src/item-editor.tsx", + "name": "./packages/perseus-editor/src/item-editor.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus-editor/src/editor-page.tsx" + } + ] + }, { "id": "./packages/kmath/src/index.ts", "name": "./packages/kmath/src/index.ts", @@ -6176,10 +6425,10 @@ "moduleName": "./packages/perseus/src/widgets/grapher/util.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/start-coords/start-coords-settings.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/start-coords/util.ts" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/start-coords/util.ts" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/start-coords/start-coords-settings.tsx" }, { "moduleName": "./packages/perseus/src/util/math.ts" @@ -6193,9 +6442,6 @@ { "moduleName": "./packages/perseus/src/interactive2/wrapped-line.ts" }, - { - "moduleName": "./packages/perseus/src/widgets/grapher/grapher.tsx" - }, { "moduleName": "./packages/perseus/src/util/geometry.ts" }, @@ -6203,23 +6449,26 @@ "moduleName": "./packages/perseus/src/widgets/interactive-graphs/interactive-graph-validator.ts" }, { - "moduleName": "./packages/perseus/src/util/interactive.ts" + "moduleName": "./packages/perseus/src/widgets/grapher/grapher.tsx" }, { "moduleName": "./packages/perseus/src/interactive2/movable-helper-methods.ts" }, { - "moduleName": "./packages/perseus/src/interactive2/wrapped-drawing.ts" + "moduleName": "./packages/perseus/src/util/interactive.ts" }, { - "moduleName": "./packages/perseus/src/interactive2/movable.ts" + "moduleName": "./packages/perseus/src/interactive2/movable-line.ts" }, { - "moduleName": "./packages/perseus/src/interactive2/movable-line.ts" + "moduleName": "./packages/perseus/src/interactive2/movable.ts" }, { "moduleName": "./packages/perseus/src/interactive2/movable-polygon.ts" }, + { + "moduleName": "./packages/perseus/src/interactive2/wrapped-drawing.ts" + }, { "moduleName": "./packages/perseus/src/interactive2/movable-point.tsx" }, @@ -6236,28 +6485,28 @@ "moduleName": "./packages/perseus/src/widgets/interaction/interaction.tsx" }, { - "moduleName": "./packages/perseus/src/components/graph.tsx" + "moduleName": "./packages/perseus/src/interactive2/movable-line-options.ts" }, { - "moduleName": "./packages/perseus/src/components/number-input.tsx" + "moduleName": "./packages/perseus/src/interactive2/movable-polygon-options.ts" }, { - "moduleName": "./packages/perseus-editor/src/widgets/plotter-editor.tsx" + "moduleName": "./packages/perseus/src/interactive2/movable-point-options.ts" }, { - "moduleName": "./packages/perseus/src/widgets/number-line/number-line.tsx" + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/reducer/interactive-graph-reducer.ts" }, { - "moduleName": "./packages/perseus/src/interactive2/movable-line-options.ts" + "moduleName": "./packages/perseus/src/components/number-input.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/reducer/interactive-graph-reducer.ts" + "moduleName": "./packages/perseus/src/components/graph.tsx" }, { - "moduleName": "./packages/perseus/src/interactive2/movable-polygon-options.ts" + "moduleName": "./packages/perseus-editor/src/widgets/plotter-editor.tsx" }, { - "moduleName": "./packages/perseus/src/interactive2/movable-point-options.ts" + "moduleName": "./packages/perseus/src/widgets/number-line/number-line.tsx" }, { "moduleName": "./packages/perseus/src/interactive2/get-clip-point.ts" @@ -6302,307 +6551,40 @@ "moduleName": "./packages/perseus/src/interactive2/movable-point.tsx" }, { - "moduleName": "./packages/perseus/src/renderer.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/util/answer-types.ts", - "name": "./packages/perseus/src/util/answer-types.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/util.ts" - }, - { - "moduleName": "./packages/perseus/src/widgets/numeric-input/numeric-input-validator.ts" - }, - { - "moduleName": "./packages/perseus/src/widgets/expression/expression-validator.ts" - }, - { - "moduleName": "./packages/perseus/src/widgets/matrix/matrix-validator.ts" - }, - { - "moduleName": "./packages/perseus/src/widgets/table/table-validator.ts" - }, - { - "moduleName": "./packages/perseus/src/widgets/input-number/input-number-validator.ts" - } - ] - }, - { - "id": "./packages/perseus/src/util.graphie.ts", - "name": "./packages/perseus/src/util.graphie.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/util.ts" - } - ] - }, - { - "id": "./packages/perseus-editor/src/widgets/cs-program-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/cs-program-editor.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/all-editors.ts" - } - ] - }, - { - "id": "./packages/perseus-editor/src/widgets/deprecated-standin-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/deprecated-standin-editor.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/all-editors.ts" - } - ] - }, - { - "id": "./packages/perseus-editor/src/widgets/expression-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/expression-editor.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/all-editors.ts" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/__stories__/expression-editor.stories.tsx" - } - ] - }, - { - "id": "./packages/perseus-editor/src/widgets/graded-group-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/graded-group-editor.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/all-editors.ts" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/graded-group-set-editor.tsx" - } - ] - }, - { - "id": "./packages/perseus-editor/src/widgets/graded-group-set-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/graded-group-set-editor.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/all-editors.ts" - } - ] - }, - { - "id": "./packages/perseus-editor/src/widgets/grapher-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/grapher-editor.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/all-editors.ts" - } - ] - }, - { - "id": "./packages/perseus-editor/src/widgets/group-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/group-editor.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/all-editors.ts" - } - ] - }, - { - "id": "./packages/perseus-editor/src/widgets/iframe-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/iframe-editor.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/all-editors.ts" - } - ] - }, - { - "id": "./packages/perseus-editor/src/widgets/image-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/image-editor.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/all-editors.ts" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/__stories__/image-editor.stories.tsx" - } - ] - }, - { - "id": "./packages/perseus-editor/src/widgets/label-image-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/label-image-editor.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/all-editors.ts" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/__stories__/label-image-editor.stories.tsx" - } - ] - }, - { - "id": "./packages/perseus-editor/src/widgets/matrix-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/matrix-editor.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/all-editors.ts" - } - ] - }, - { - "id": "./packages/perseus-editor/src/widgets/measurer-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/measurer-editor.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/all-editors.ts" - } - ] - }, - { - "id": "./packages/perseus-editor/src/widgets/molecule-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/molecule-editor.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/all-editors.ts" - } - ] - }, - { - "id": "./packages/perseus-editor/src/widgets/orderer-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/orderer-editor.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/all-editors.ts" - } - ] - }, - { - "id": "./packages/perseus-editor/src/widgets/passage-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/passage-editor.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/all-editors.ts" - } - ] - }, - { - "id": "./packages/perseus-editor/src/widgets/passage-ref-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/passage-ref-editor.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/all-editors.ts" - } - ] - }, - { - "id": "./packages/perseus-editor/src/widgets/passage-ref-target-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/passage-ref-target-editor.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/all-editors.ts" - } - ] - }, - { - "id": "./packages/perseus-editor/src/widgets/plotter-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/plotter-editor.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/all-editors.ts" - } - ] - }, - { - "id": "./packages/perseus-editor/src/widgets/radio/editor.tsx", - "name": "./packages/perseus-editor/src/widgets/radio/editor.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/all-editors.ts" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/__stories__/radio-editor.stories.tsx" - } - ] - }, - { - "id": "./packages/perseus-editor/src/widgets/table-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/table-editor.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/all-editors.ts" - } - ] - }, - { - "id": "./packages/perseus-editor/src/widgets/video-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/video-editor.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/all-editors.ts" - } - ] - }, - { - "id": "./testing/ke-score-ui.tsx", - "name": "./testing/ke-score-ui.tsx", - "reasons": [ - { - "moduleName": "./testing/server-item-renderer-with-debug-ui.tsx" - }, - { - "moduleName": "./testing/multi-item-renderer-with-debug-ui.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/multi-items/__testdata__/multi-renderer.testdata.ts", - "name": "./packages/perseus/src/multi-items/__testdata__/multi-renderer.testdata.ts", - "reasons": [ - { - "moduleName": "./testing/multi-item-renderer-with-debug-ui.tsx" - }, - { - "moduleName": "./packages/perseus/src/multi-items/__stories__/multi-renderer.stories.tsx" - } - ] - }, - { - "id": "./packages/perseus-core/src/utils/add-library-version-to-perseus-debug.ts", - "name": "./packages/perseus-core/src/utils/add-library-version-to-perseus-debug.ts", - "reasons": [ - { - "moduleName": "./packages/perseus-core/src/index.ts" - }, - { - "moduleName": "./packages/perseus-core/src/version.ts" - } - ] - }, - { - "id": "./packages/perseus-core/src/version.ts", - "name": "./packages/perseus-core/src/version.ts", - "reasons": [ - { - "moduleName": "./packages/perseus-core/src/index.ts" + "moduleName": "./packages/perseus/src/renderer.tsx" } ] }, { - "id": "./packages/perseus-core/src/error/errors.ts", - "name": "./packages/perseus-core/src/error/errors.ts", + "id": "./packages/perseus/src/util/answer-types.ts", + "name": "./packages/perseus/src/util/answer-types.ts", "reasons": [ { - "moduleName": "./packages/perseus-core/src/index.ts" + "moduleName": "./packages/perseus/src/util.ts" + }, + { + "moduleName": "./packages/perseus/src/widgets/numeric-input/numeric-input-validator.ts" + }, + { + "moduleName": "./packages/perseus/src/widgets/expression/expression-validator.ts" + }, + { + "moduleName": "./packages/perseus/src/widgets/input-number/input-number-validator.ts" + }, + { + "moduleName": "./packages/perseus/src/widgets/matrix/matrix-validator.ts" + }, + { + "moduleName": "./packages/perseus/src/widgets/table/table-validator.ts" } ] }, { - "id": "./packages/perseus-core/src/error/perseus-error.ts", - "name": "./packages/perseus-core/src/error/perseus-error.ts", + "id": "./packages/perseus/src/util.graphie.ts", + "name": "./packages/perseus/src/util.graphie.ts", "reasons": [ { - "moduleName": "./packages/perseus-core/src/index.ts" + "moduleName": "./packages/perseus/src/util.ts" } ] }, @@ -6650,10 +6632,10 @@ "moduleName": "./packages/perseus/src/widgets/interactive-graphs/reducer/interactive-graph-reducer.ts" }, { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/protractor.tsx" + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/polygon.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/polygon.tsx" + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/protractor.tsx" }, { "moduleName": "./packages/perseus/src/widgets/interactive-graphs/locked-figures/locked-label.tsx" @@ -6664,23 +6646,68 @@ ] }, { - "id": "./packages/perseus-editor/src/hint-editor.tsx", - "name": "./packages/perseus-editor/src/hint-editor.tsx", + "id": "./packages/perseus-core/src/utils/add-library-version-to-perseus-debug.ts", + "name": "./packages/perseus-core/src/utils/add-library-version-to-perseus-debug.ts", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/editor-page.tsx" + "moduleName": "./packages/perseus-core/src/index.ts" }, { - "moduleName": "./packages/perseus-editor/src/multirenderer-editor.tsx" + "moduleName": "./packages/perseus-core/src/version.ts" } ] }, { - "id": "./packages/perseus-editor/src/item-editor.tsx", - "name": "./packages/perseus-editor/src/item-editor.tsx", + "id": "./packages/perseus-core/src/version.ts", + "name": "./packages/perseus-core/src/version.ts", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/editor-page.tsx" + "moduleName": "./packages/perseus-core/src/index.ts" + } + ] + }, + { + "id": "./packages/perseus-core/src/error/errors.ts", + "name": "./packages/perseus-core/src/error/errors.ts", + "reasons": [ + { + "moduleName": "./packages/perseus-core/src/index.ts" + } + ] + }, + { + "id": "./packages/perseus-core/src/error/perseus-error.ts", + "name": "./packages/perseus-core/src/error/perseus-error.ts", + "reasons": [ + { + "moduleName": "./packages/perseus-core/src/index.ts" + } + ] + }, + { + "id": "./packages/kas/src/version.ts", + "name": "./packages/kas/src/version.ts", + "reasons": [ + { + "moduleName": "./packages/kas/src/index.js" + } + ] + }, + { + "id": "./packages/kas/src/nodes.ts", + "name": "./packages/kas/src/nodes.ts", + "reasons": [ + { + "moduleName": "./packages/kas/src/index.js" + } + ] + }, + { + "id": "./packages/kas/src/compare.ts", + "name": "./packages/kas/src/compare.ts", + "reasons": [ + { + "moduleName": "./packages/kas/src/index.js" } ] }, @@ -6716,13 +6743,13 @@ "moduleName": "./packages/kmath/src/index.ts" }, { - "moduleName": "./packages/kmath/src/line.ts" + "moduleName": "./packages/kmath/src/point.ts" }, { "moduleName": "./packages/kmath/src/ray.ts" }, { - "moduleName": "./packages/kmath/src/point.ts" + "moduleName": "./packages/kmath/src/line.ts" } ] }, @@ -6734,10 +6761,10 @@ "moduleName": "./packages/kmath/src/index.ts" }, { - "moduleName": "./packages/kmath/src/line.ts" + "moduleName": "./packages/kmath/src/ray.ts" }, { - "moduleName": "./packages/kmath/src/ray.ts" + "moduleName": "./packages/kmath/src/line.ts" } ] }, @@ -6771,6 +6798,18 @@ } ] }, + { + "id": "./packages/perseus-editor/src/diffs/widget-diff.tsx", + "name": "./packages/perseus-editor/src/diffs/widget-diff.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus-editor/src/diffs/renderer-diff.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/diffs/item-diff.tsx" + } + ] + }, { "id": "./packages/perseus-editor/src/components/heading.tsx", "name": "./packages/perseus-editor/src/components/heading.tsx", @@ -6782,16 +6821,97 @@ "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/start-coords/start-coords-settings.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/components/interactive-graph-settings.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figures-section.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figures-section.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/components/interactive-graph-settings.tsx" }, { "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/components/interactive-graph-description.tsx" } ] }, + { + "id": "./packages/perseus-editor/src/widgets/interaction-editor/element-container.tsx", + "name": "./packages/perseus-editor/src/widgets/interaction-editor/element-container.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/interaction-editor.tsx" + } + ] + }, + { + "id": "./packages/perseus-editor/src/widgets/interaction-editor/function-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/interaction-editor/function-editor.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/interaction-editor.tsx" + } + ] + }, + { + "id": "./packages/perseus-editor/src/widgets/interaction-editor/label-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/interaction-editor/label-editor.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/interaction-editor.tsx" + } + ] + }, + { + "id": "./packages/perseus-editor/src/widgets/interaction-editor/line-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/interaction-editor/line-editor.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/interaction-editor.tsx" + } + ] + }, + { + "id": "./packages/perseus-editor/src/widgets/interaction-editor/movable-line-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/interaction-editor/movable-line-editor.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/interaction-editor.tsx" + } + ] + }, + { + "id": "./packages/perseus-editor/src/widgets/interaction-editor/movable-point-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/interaction-editor/movable-point-editor.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/interaction-editor.tsx" + } + ] + }, + { + "id": "./packages/perseus-editor/src/widgets/interaction-editor/parametric-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/interaction-editor/parametric-editor.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/interaction-editor.tsx" + } + ] + }, + { + "id": "./packages/perseus-editor/src/widgets/interaction-editor/point-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/interaction-editor/point-editor.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/interaction-editor.tsx" + } + ] + }, + { + "id": "./packages/perseus-editor/src/widgets/interaction-editor/rectangle-editor.tsx", + "name": "./packages/perseus-editor/src/widgets/interaction-editor/rectangle-editor.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/interaction-editor.tsx" + } + ] + }, { "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/start-coords/start-coords-angle.tsx", "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/start-coords/start-coords-angle.tsx", @@ -6877,149 +6997,116 @@ ] }, { - "id": "./packages/kas/src/version.ts", - "name": "./packages/kas/src/version.ts", + "id": "./packages/perseus/src/zoom.ts", + "name": "./packages/perseus/src/zoom.ts", "reasons": [ { - "moduleName": "./packages/kas/src/index.js" + "moduleName": "./packages/perseus/src/components/svg-image.tsx" } ] }, { - "id": "./packages/kas/src/nodes.ts", - "name": "./packages/kas/src/nodes.ts", + "id": "./packages/perseus/src/util/graphie.ts", + "name": "./packages/perseus/src/util/graphie.ts", "reasons": [ { - "moduleName": "./packages/kas/src/index.js" - } - ] - }, - { - "id": "./packages/kas/src/compare.ts", - "name": "./packages/kas/src/compare.ts", - "reasons": [ + "moduleName": "./packages/perseus/src/util/graph-utils.ts" + }, { - "moduleName": "./packages/kas/src/index.js" - } - ] - }, - { - "id": "./packages/perseus-editor/src/diffs/widget-diff.tsx", - "name": "./packages/perseus-editor/src/diffs/widget-diff.tsx", - "reasons": [ + "moduleName": "./packages/perseus/src/widgets/interactive-graph.tsx" + }, { - "moduleName": "./packages/perseus-editor/src/diffs/renderer-diff.tsx" + "moduleName": "./packages/perseus/src/util/interactive.ts" }, { - "moduleName": "./packages/perseus-editor/src/diffs/item-diff.tsx" + "moduleName": "./packages/perseus/src/components/graphie.tsx" } ] }, { - "id": "./packages/perseus-editor/src/widgets/interaction-editor/element-container.tsx", - "name": "./packages/perseus-editor/src/widgets/interaction-editor/element-container.tsx", + "id": "./packages/perseus/src/util/interactive.ts", + "name": "./packages/perseus/src/util/interactive.ts", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/interaction-editor.tsx" + "moduleName": "./packages/perseus/src/util/graph-utils.ts" } ] }, { - "id": "./packages/perseus-editor/src/widgets/interaction-editor/function-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/interaction-editor/function-editor.tsx", + "id": "./packages/perseus/src/interactive2.ts", + "name": "./packages/perseus/src/interactive2.ts", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/interaction-editor.tsx" - } - ] - }, - { - "id": "./packages/perseus-editor/src/widgets/interaction-editor/label-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/interaction-editor/label-editor.tsx", - "reasons": [ + "moduleName": "./packages/perseus/src/components/graphie-movables.ts" + }, + { + "moduleName": "./packages/perseus/src/widgets/interactive-graph.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/grapher/grapher.tsx" + }, { - "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/interaction-editor.tsx" + "moduleName": "./packages/perseus/src/widgets/plotter/plotter.tsx" } ] }, { - "id": "./packages/perseus-editor/src/widgets/interaction-editor/line-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/interaction-editor/line-editor.tsx", + "id": "./packages/perseus/src/components/graphie-classes.ts", + "name": "./packages/perseus/src/components/graphie-classes.ts", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/interaction-editor.tsx" - } - ] - }, - { - "id": "./packages/perseus-editor/src/widgets/interaction-editor/movable-line-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/interaction-editor/movable-line-editor.tsx", - "reasons": [ + "moduleName": "./packages/perseus/src/components/graphie-movables.ts" + }, { - "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/interaction-editor.tsx" + "moduleName": "./packages/perseus/src/components/graphie.tsx" } ] }, { - "id": "./packages/perseus-editor/src/widgets/interaction-editor/movable-point-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/interaction-editor/movable-point-editor.tsx", + "id": "./packages/perseus/src/interactive2/movable-helper-methods.ts", + "name": "./packages/perseus/src/interactive2/movable-helper-methods.ts", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/interaction-editor.tsx" + "moduleName": "./packages/perseus/src/interactive2/interactive-util.ts" } ] }, { - "id": "./packages/perseus-editor/src/widgets/interaction-editor/parametric-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/interaction-editor/parametric-editor.tsx", + "id": "./vendor/raphael/raphael.js", + "name": "./vendor/raphael/raphael.js", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/interaction-editor.tsx" + "moduleName": "./packages/perseus/src/util/graphie.ts" } ] }, { - "id": "./packages/perseus-editor/src/widgets/interaction-editor/point-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/interaction-editor/point-editor.tsx", + "id": "./packages/perseus/src/util/drawing-transform.ts", + "name": "./packages/perseus/src/util/drawing-transform.ts", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/interaction-editor.tsx" + "moduleName": "./packages/perseus/src/util/graphie.ts" } ] }, { - "id": "./packages/perseus-editor/src/widgets/interaction-editor/rectangle-editor.tsx", - "name": "./packages/perseus-editor/src/widgets/interaction-editor/rectangle-editor.tsx", + "id": "./packages/perseus/src/util/graph-bounds.ts", + "name": "./packages/perseus/src/util/graph-bounds.ts", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/interaction-editor.tsx" + "moduleName": "./packages/perseus/src/util/graphie.ts" } ] }, { - "id": "./packages/perseus/src/util/graphie.ts", - "name": "./packages/perseus/src/util/graphie.ts", + "id": "./packages/perseus/src/util/tex.ts", + "name": "./packages/perseus/src/util/tex.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/util/graph-utils.ts" - }, - { - "moduleName": "./packages/perseus/src/widgets/interactive-graph.tsx" - }, - { - "moduleName": "./packages/perseus/src/util/interactive.ts" + "moduleName": "./packages/perseus/src/util/graphie.ts" }, { - "moduleName": "./packages/perseus/src/components/graphie.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/util/interactive.ts", - "name": "./packages/perseus/src/util/interactive.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/util/graph-utils.ts" + "moduleName": "./packages/perseus/src/interactive2/movable-point.tsx" } ] }, @@ -7030,9 +7117,6 @@ { "moduleName": "./packages/perseus-linter/src/index.ts" }, - { - "moduleName": "./packages/perseus-linter/src/rules/blockquoted-math.ts" - }, { "moduleName": "./packages/perseus-linter/src/rules/absolute-url.ts" }, @@ -7040,25 +7124,25 @@ "moduleName": "./packages/perseus-linter/src/rules/blockquoted-widget.ts" }, { - "moduleName": "./packages/perseus-linter/src/rules/double-spacing-after-terminal.ts" + "moduleName": "./packages/perseus-linter/src/rules/blockquoted-math.ts" }, { - "moduleName": "./packages/perseus-linter/src/rules/extra-content-spacing.ts" + "moduleName": "./packages/perseus-linter/src/rules/double-spacing-after-terminal.ts" }, { - "moduleName": "./packages/perseus-linter/src/rules/heading-level-1.ts" + "moduleName": "./packages/perseus-linter/src/rules/extra-content-spacing.ts" }, { "moduleName": "./packages/perseus-linter/src/rules/expression-widget.ts" }, { - "moduleName": "./packages/perseus-linter/src/rules/heading-level-skip.ts" + "moduleName": "./packages/perseus-linter/src/rules/heading-level-1.ts" }, { "moduleName": "./packages/perseus-linter/src/rules/heading-sentence-case.ts" }, { - "moduleName": "./packages/perseus-linter/src/rules/image-alt-text.ts" + "moduleName": "./packages/perseus-linter/src/rules/heading-level-skip.ts" }, { "moduleName": "./packages/perseus-linter/src/rules/heading-title-case.ts" @@ -7067,13 +7151,16 @@ "moduleName": "./packages/perseus-linter/src/rules/image-in-table.ts" }, { - "moduleName": "./packages/perseus-linter/src/rules/image-spaces-around-urls.ts" + "moduleName": "./packages/perseus-linter/src/rules/image-alt-text.ts" + }, + { + "moduleName": "./packages/perseus-linter/src/rules/image-widget.ts" }, { "moduleName": "./packages/perseus-linter/src/rules/link-click-here.ts" }, { - "moduleName": "./packages/perseus-linter/src/rules/image-widget.ts" + "moduleName": "./packages/perseus-linter/src/rules/image-spaces-around-urls.ts" }, { "moduleName": "./packages/perseus-linter/src/rules/long-paragraph.ts" @@ -7088,10 +7175,10 @@ "moduleName": "./packages/perseus-linter/src/rules/math-empty.ts" }, { - "moduleName": "./packages/perseus-linter/src/rules/math-font-size.ts" + "moduleName": "./packages/perseus-linter/src/rules/math-align-linebreaks.ts" }, { - "moduleName": "./packages/perseus-linter/src/rules/math-align-linebreaks.ts" + "moduleName": "./packages/perseus-linter/src/rules/math-font-size.ts" }, { "moduleName": "./packages/perseus-linter/src/rules/math-frac.ts" @@ -7115,10 +7202,10 @@ "moduleName": "./packages/perseus-linter/src/rules/static-widget-in-question-stem.ts" }, { - "moduleName": "./packages/perseus-linter/src/rules/unbalanced-code-delimiters.ts" + "moduleName": "./packages/perseus-linter/src/rules/table-missing-cells.ts" }, { - "moduleName": "./packages/perseus-linter/src/rules/table-missing-cells.ts" + "moduleName": "./packages/perseus-linter/src/rules/unbalanced-code-delimiters.ts" }, { "moduleName": "./packages/perseus-linter/src/rules/unescaped-dollar.ts" @@ -7164,93 +7251,6 @@ } ] }, - { - "id": "./packages/perseus/src/zoom.ts", - "name": "./packages/perseus/src/zoom.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/components/svg-image.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/interactive2/movable-helper-methods.ts", - "name": "./packages/perseus/src/interactive2/movable-helper-methods.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/interactive2/interactive-util.ts" - } - ] - }, - { - "id": "./vendor/raphael/raphael.js", - "name": "./vendor/raphael/raphael.js", - "reasons": [ - { - "moduleName": "./packages/perseus/src/util/graphie.ts" - } - ] - }, - { - "id": "./packages/perseus/src/util/drawing-transform.ts", - "name": "./packages/perseus/src/util/drawing-transform.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/util/graphie.ts" - } - ] - }, - { - "id": "./packages/perseus/src/util/graph-bounds.ts", - "name": "./packages/perseus/src/util/graph-bounds.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/util/graphie.ts" - } - ] - }, - { - "id": "./packages/perseus/src/util/tex.ts", - "name": "./packages/perseus/src/util/tex.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/util/graphie.ts" - }, - { - "moduleName": "./packages/perseus/src/interactive2/movable-point.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/interactive2.ts", - "name": "./packages/perseus/src/interactive2.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/components/graphie-movables.ts" - }, - { - "moduleName": "./packages/perseus/src/widgets/interactive-graph.tsx" - }, - { - "moduleName": "./packages/perseus/src/widgets/grapher/grapher.tsx" - }, - { - "moduleName": "./packages/perseus/src/widgets/plotter/plotter.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/components/graphie-classes.ts", - "name": "./packages/perseus/src/components/graphie-classes.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/components/graphie-movables.ts" - }, - { - "moduleName": "./packages/perseus/src/components/graphie.tsx" - } - ] - }, { "id": "./dev/cache.ts", "name": "./dev/cache.ts", @@ -7321,38 +7321,20 @@ ] }, { - "id": "./packages/kas/src/index.js", - "name": "./packages/kas/src/index.js", + "id": "./packages/math-input/src/components/keypad/utils.ts", + "name": "./packages/math-input/src/components/keypad/utils.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/expression/expression-validator.ts" - }, - { - "moduleName": "./packages/perseus/src/util/answer-types.ts" - }, - { - "moduleName": "./packages/perseus/src/widgets/interaction/interaction.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/expression-editor.tsx" + "moduleName": "./packages/math-input/src/components/keypad/keypad-pages/fractions-page.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/expression/expression.tsx" + "moduleName": "./packages/math-input/src/components/keypad/shared-keys.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/locked-figures/locked-function.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/widgets/expression/get-decimal-separator.ts", - "name": "./packages/perseus/src/widgets/expression/get-decimal-separator.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/widgets/expression/expression-validator.ts" + "moduleName": "./packages/math-input/src/components/keypad/keypad.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/expression/expression.tsx" + "moduleName": "./packages/math-input/src/components/keypad/mobile-keypad-internals.tsx" } ] }, @@ -7386,6 +7368,36 @@ } ] }, + { + "id": "./packages/math-input/src/fake-react-native-web/view.tsx", + "name": "./packages/math-input/src/fake-react-native-web/view.tsx", + "reasons": [ + { + "moduleName": "./packages/math-input/src/fake-react-native-web/index.ts" + } + ] + }, + { + "id": "./packages/math-input/src/components/input/cursor-styles.ts", + "name": "./packages/math-input/src/components/input/cursor-styles.ts", + "reasons": [ + { + "moduleName": "./packages/math-input/src/components/input/cursor-handle.tsx" + }, + { + "moduleName": "./packages/math-input/src/components/input/math-input.tsx" + } + ] + }, + { + "id": "./packages/math-input/src/components/key-handlers/handle-backspace.ts", + "name": "./packages/math-input/src/components/key-handlers/handle-backspace.ts", + "reasons": [ + { + "moduleName": "./packages/math-input/src/components/input/math-wrapper.ts" + } + ] + }, { "id": "./packages/perseus/src/widgets/cs-program/index.ts", "name": "./packages/perseus/src/widgets/cs-program/index.ts", @@ -7580,55 +7592,61 @@ "name": "./packages/perseus/src/widgets/sorter/index.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/extra-widgets.ts" + "moduleName": "./packages/perseus/src/extra-widgets.ts" + } + ] + }, + { + "id": "./packages/perseus/src/widgets/video/index.ts", + "name": "./packages/perseus/src/widgets/video/index.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/extra-widgets.ts" + } + ] + }, + { + "id": "./packages/perseus-editor/src/katex-mhchem/index.js", + "name": "./packages/perseus-editor/src/katex-mhchem/index.js", + "reasons": [ + { + "moduleName": "./packages/perseus-editor/src/editor.tsx" } ] }, { - "id": "./packages/perseus/src/widgets/video/index.ts", - "name": "./packages/perseus/src/widgets/video/index.ts", + "id": "./packages/perseus-editor/src/components/drag-target.tsx", + "name": "./packages/perseus-editor/src/components/drag-target.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/extra-widgets.ts" + "moduleName": "./packages/perseus-editor/src/editor.tsx" } ] }, { - "id": "./packages/math-input/src/components/keypad/utils.ts", - "name": "./packages/math-input/src/components/keypad/utils.ts", + "id": "./packages/perseus-editor/src/components/widget-editor.tsx", + "name": "./packages/perseus-editor/src/components/widget-editor.tsx", "reasons": [ { - "moduleName": "./packages/math-input/src/components/keypad/keypad-pages/fractions-page.tsx" - }, - { - "moduleName": "./packages/math-input/src/components/keypad/shared-keys.tsx" - }, - { - "moduleName": "./packages/math-input/src/components/keypad/keypad.tsx" - }, - { - "moduleName": "./packages/math-input/src/components/keypad/mobile-keypad-internals.tsx" + "moduleName": "./packages/perseus-editor/src/editor.tsx" } ] }, { - "id": "./packages/math-input/src/components/input/cursor-styles.ts", - "name": "./packages/math-input/src/components/input/cursor-styles.ts", + "id": "./packages/perseus-editor/src/components/widget-select.tsx", + "name": "./packages/perseus-editor/src/components/widget-select.tsx", "reasons": [ { - "moduleName": "./packages/math-input/src/components/input/cursor-handle.tsx" - }, - { - "moduleName": "./packages/math-input/src/components/input/math-input.tsx" + "moduleName": "./packages/perseus-editor/src/editor.tsx" } ] }, { - "id": "./packages/math-input/src/components/key-handlers/handle-backspace.ts", - "name": "./packages/math-input/src/components/key-handlers/handle-backspace.ts", + "id": "./packages/perseus-editor/src/katex-mhchem/parser.js", + "name": "./packages/perseus-editor/src/katex-mhchem/parser.js", "reasons": [ { - "moduleName": "./packages/math-input/src/components/input/math-wrapper.ts" + "moduleName": "./packages/perseus-editor/src/katex-mhchem/index.js" } ] }, @@ -7653,15 +7671,6 @@ } ] }, - { - "id": "./packages/math-input/src/fake-react-native-web/view.tsx", - "name": "./packages/math-input/src/fake-react-native-web/view.tsx", - "reasons": [ - { - "moduleName": "./packages/math-input/src/fake-react-native-web/index.ts" - } - ] - }, { "id": "./packages/perseus/src/interactive2/wrapped-line.ts", "name": "./packages/perseus/src/interactive2/wrapped-line.ts", @@ -7679,10 +7688,10 @@ "moduleName": "./packages/perseus/src/interactive2/movable-line.ts" }, { - "moduleName": "./packages/perseus/src/widgets/plotter/plotter.tsx" + "moduleName": "./packages/perseus/src/interactive2/movable-line-options.ts" }, { - "moduleName": "./packages/perseus/src/interactive2/movable-line-options.ts" + "moduleName": "./packages/perseus/src/widgets/plotter/plotter.tsx" } ] }, @@ -7697,10 +7706,10 @@ "moduleName": "./packages/perseus/src/interactive2/movable-polygon.ts" }, { - "moduleName": "./packages/perseus/src/components/graph.tsx" + "moduleName": "./packages/perseus/src/components/graphie.tsx" }, { - "moduleName": "./packages/perseus/src/components/graphie.tsx" + "moduleName": "./packages/perseus/src/components/graph.tsx" }, { "moduleName": "./packages/perseus/src/widgets/plotter/plotter.tsx" @@ -7737,6 +7746,42 @@ } ] }, + { + "id": "./packages/perseus/src/interactive2/movable.ts", + "name": "./packages/perseus/src/interactive2/movable.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/interactive2.ts" + } + ] + }, + { + "id": "./packages/perseus/src/interactive2/movable-line.ts", + "name": "./packages/perseus/src/interactive2/movable-line.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/interactive2.ts" + } + ] + }, + { + "id": "./packages/perseus/src/interactive2/movable-point.tsx", + "name": "./packages/perseus/src/interactive2/movable-point.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus/src/interactive2.ts" + } + ] + }, + { + "id": "./packages/perseus/src/interactive2/movable-polygon.ts", + "name": "./packages/perseus/src/interactive2/movable-polygon.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/interactive2.ts" + } + ] + }, { "id": "./packages/perseus/src/widgets/interactive-graphs/stateful-mafs-graph.tsx", "name": "./packages/perseus/src/widgets/interactive-graphs/stateful-mafs-graph.tsx", @@ -7754,16 +7799,16 @@ "moduleName": "./packages/perseus/src/interactive2/wrapped-line.ts" }, { - "moduleName": "./packages/perseus/src/interactive2/wrapped-drawing.ts" + "moduleName": "./packages/perseus/src/interactive2/movable-line.ts" }, { "moduleName": "./packages/perseus/src/interactive2/movable.ts" }, { - "moduleName": "./packages/perseus/src/interactive2/movable-line.ts" + "moduleName": "./packages/perseus/src/interactive2/movable-polygon.ts" }, { - "moduleName": "./packages/perseus/src/interactive2/movable-polygon.ts" + "moduleName": "./packages/perseus/src/interactive2/wrapped-drawing.ts" }, { "moduleName": "./packages/perseus/src/interactive2/movable-point.tsx" @@ -7819,101 +7864,56 @@ ] }, { - "id": "./packages/perseus/src/interactive2/movable.ts", - "name": "./packages/perseus/src/interactive2/movable.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/interactive2.ts" - } - ] - }, - { - "id": "./packages/perseus/src/interactive2/movable-line.ts", - "name": "./packages/perseus/src/interactive2/movable-line.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/interactive2.ts" - } - ] - }, - { - "id": "./packages/perseus/src/interactive2/movable-point.tsx", - "name": "./packages/perseus/src/interactive2/movable-point.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus/src/interactive2.ts" - } - ] - }, - { - "id": "./packages/perseus/src/interactive2/movable-polygon.ts", - "name": "./packages/perseus/src/interactive2/movable-polygon.ts", + "id": "./packages/pure-markdown/src/version.ts", + "name": "./packages/pure-markdown/src/version.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/interactive2.ts" + "moduleName": "./packages/pure-markdown/src/index.ts" } ] }, { - "id": "./packages/perseus/src/util/parse-perseus-json/general-purpose-parsers/index.ts", - "name": "./packages/perseus/src/util/parse-perseus-json/general-purpose-parsers/index.ts", + "id": "./packages/kas/src/index.js", + "name": "./packages/kas/src/index.js", "reasons": [ { - "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/perseus-item.ts" - }, - { - "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/hint.ts" - }, - { - "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/perseus-renderer.ts" - }, - { - "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/widgets-map.ts" - }, - { - "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/categorizer-widget.ts" - }, - { - "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/definition-widget.ts" - }, - { - "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/cs-program-widget.ts" - }, - { - "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/dropdown-widget.ts" + "moduleName": "./packages/perseus/src/widgets/expression/expression-validator.ts" }, { - "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/explanation-widget.ts" + "moduleName": "./packages/perseus/src/util/answer-types.ts" }, { - "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/expression-widget.ts" + "moduleName": "./packages/perseus/src/widgets/interaction/interaction.tsx" }, { - "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/interactive-graph-widget.ts" + "moduleName": "./packages/perseus-editor/src/widgets/expression-editor.tsx" }, { - "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/widget.ts" + "moduleName": "./packages/perseus/src/widgets/expression/expression.tsx" }, { - "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/perseus-image-background.ts" + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/locked-figures/locked-function.tsx" } ] }, { - "id": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/hint.ts", - "name": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/hint.ts", + "id": "./packages/perseus/src/widgets/expression/get-decimal-separator.ts", + "name": "./packages/perseus/src/widgets/expression/get-decimal-separator.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/perseus-item.ts" + "moduleName": "./packages/perseus/src/widgets/expression/expression-validator.ts" + }, + { + "moduleName": "./packages/perseus/src/widgets/expression/expression.tsx" } ] }, { - "id": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/perseus-renderer.ts", - "name": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/perseus-renderer.ts", + "id": "./packages/simple-markdown/src/version.ts", + "name": "./packages/simple-markdown/src/version.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/perseus-item.ts" + "moduleName": "./packages/simple-markdown/src/index.ts" } ] }, @@ -7945,9 +7945,6 @@ { "moduleName": "./packages/perseus/src/util/parse-perseus-json/error-tracking-parse-context.ts" }, - { - "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/widgets-map.ts" - }, { "moduleName": "./packages/perseus/src/util/parse-perseus-json/general-purpose-parsers/array.ts" }, @@ -7957,6 +7954,9 @@ { "moduleName": "./packages/perseus/src/util/parse-perseus-json/general-purpose-parsers/pair.ts" }, + { + "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/widgets-map.ts" + }, { "moduleName": "./packages/perseus/src/util/parse-perseus-json/general-purpose-parsers/record.ts" }, @@ -7969,74 +7969,65 @@ ] }, { - "id": "./packages/pure-markdown/src/version.ts", - "name": "./packages/pure-markdown/src/version.ts", + "id": "./packages/perseus/src/util/parse-perseus-json/general-purpose-parsers/index.ts", + "name": "./packages/perseus/src/util/parse-perseus-json/general-purpose-parsers/index.ts", "reasons": [ { - "moduleName": "./packages/pure-markdown/src/index.ts" - } - ] - }, - { - "id": "./packages/simple-markdown/src/version.ts", - "name": "./packages/simple-markdown/src/version.ts", - "reasons": [ + "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/perseus-item.ts" + }, { - "moduleName": "./packages/simple-markdown/src/index.ts" - } - ] - }, - { - "id": "./packages/perseus-editor/src/katex-mhchem/index.js", - "name": "./packages/perseus-editor/src/katex-mhchem/index.js", - "reasons": [ + "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/hint.ts" + }, { - "moduleName": "./packages/perseus-editor/src/editor.tsx" - } - ] - }, - { - "id": "./packages/perseus-editor/src/components/drag-target.tsx", - "name": "./packages/perseus-editor/src/components/drag-target.tsx", - "reasons": [ + "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/perseus-renderer.ts" + }, { - "moduleName": "./packages/perseus-editor/src/editor.tsx" - } - ] - }, - { - "id": "./packages/perseus-editor/src/components/widget-editor.tsx", - "name": "./packages/perseus-editor/src/components/widget-editor.tsx", - "reasons": [ + "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/widgets-map.ts" + }, { - "moduleName": "./packages/perseus-editor/src/editor.tsx" - } - ] - }, - { - "id": "./packages/perseus-editor/src/components/widget-select.tsx", - "name": "./packages/perseus-editor/src/components/widget-select.tsx", - "reasons": [ + "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/categorizer-widget.ts" + }, + { + "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/definition-widget.ts" + }, + { + "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/cs-program-widget.ts" + }, + { + "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/dropdown-widget.ts" + }, + { + "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/explanation-widget.ts" + }, { - "moduleName": "./packages/perseus-editor/src/editor.tsx" + "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/expression-widget.ts" + }, + { + "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/interactive-graph-widget.ts" + }, + { + "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/widget.ts" + }, + { + "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/perseus-image-background.ts" } ] }, { - "id": "./packages/perseus-editor/src/katex-mhchem/parser.js", - "name": "./packages/perseus-editor/src/katex-mhchem/parser.js", + "id": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/hint.ts", + "name": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/hint.ts", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/katex-mhchem/index.js" + "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/perseus-item.ts" } ] }, { - "id": "./packages/perseus-editor/src/widgets/interaction-editor/arrow-picker.tsx", - "name": "./packages/perseus-editor/src/widgets/interaction-editor/arrow-picker.tsx", + "id": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/perseus-renderer.ts", + "name": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/perseus-renderer.ts", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/line-editor.tsx" + "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/perseus-item.ts" } ] }, @@ -8044,9 +8035,6 @@ "id": "./packages/perseus-editor/src/widgets/interaction-editor/color-picker.tsx", "name": "./packages/perseus-editor/src/widgets/interaction-editor/color-picker.tsx", "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/line-editor.tsx" - }, { "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/function-editor.tsx" }, @@ -8054,11 +8042,14 @@ "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/label-editor.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/point-editor.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/line-editor.tsx" }, { "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/parametric-editor.tsx" }, + { + "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/point-editor.tsx" + }, { "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/rectangle-editor.tsx" } @@ -8069,10 +8060,10 @@ "name": "./packages/perseus-editor/src/widgets/interaction-editor/dash-picker.tsx", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/line-editor.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/function-editor.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/function-editor.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/line-editor.tsx" }, { "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/parametric-editor.tsx" @@ -8083,15 +8074,15 @@ "id": "./packages/perseus-editor/src/widgets/interaction-editor/mathquill-input.tsx", "name": "./packages/perseus-editor/src/widgets/interaction-editor/mathquill-input.tsx", "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/line-editor.tsx" - }, { "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/function-editor.tsx" }, { "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/label-editor.tsx" }, + { + "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/line-editor.tsx" + }, { "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/movable-line-editor.tsx" }, @@ -8099,10 +8090,10 @@ "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/movable-point-editor.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/point-editor.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/parametric-editor.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/parametric-editor.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/point-editor.tsx" }, { "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/rectangle-editor.tsx" @@ -8112,6 +8103,15 @@ } ] }, + { + "id": "./packages/perseus-editor/src/widgets/interaction-editor/arrow-picker.tsx", + "name": "./packages/perseus-editor/src/widgets/interaction-editor/arrow-picker.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus-editor/src/widgets/interaction-editor/line-editor.tsx" + } + ] + }, { "id": "./packages/perseus-editor/src/widgets/interaction-editor/constraint-editor.tsx", "name": "./packages/perseus-editor/src/widgets/interaction-editor/constraint-editor.tsx", @@ -8124,6 +8124,54 @@ } ] }, + { + "id": "./packages/perseus/src/util/react-render.tsx", + "name": "./packages/perseus/src/util/react-render.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus/src/util/tex.ts" + }, + { + "moduleName": "./packages/perseus/src/interactive2/movable-point.tsx" + } + ] + }, + { + "id": "./packages/perseus/src/jquery.mobile.vmouse.js", + "name": "./packages/perseus/src/jquery.mobile.vmouse.js", + "reasons": [ + { + "moduleName": "./packages/perseus/src/util/interactive.ts" + } + ] + }, + { + "id": "./packages/perseus/src/interactive2/arrowhead.ts", + "name": "./packages/perseus/src/interactive2/arrowhead.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/util/interactive.ts" + }, + { + "moduleName": "./packages/perseus/src/interactive2/movable-line-options.ts" + } + ] + }, + { + "id": "./packages/perseus/src/interactive2/wrapped-ellipse.ts", + "name": "./packages/perseus/src/interactive2/wrapped-ellipse.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/util/interactive.ts" + }, + { + "moduleName": "./packages/perseus/src/interactive2/movable-point.tsx" + }, + { + "moduleName": "./packages/perseus/src/interactive2/movable-point-options.ts" + } + ] + }, { "id": "./packages/perseus-linter/src/rules/absolute-url.ts", "name": "./packages/perseus-linter/src/rules/absolute-url.ts", @@ -8421,54 +8469,6 @@ } ] }, - { - "id": "./packages/perseus/src/jquery.mobile.vmouse.js", - "name": "./packages/perseus/src/jquery.mobile.vmouse.js", - "reasons": [ - { - "moduleName": "./packages/perseus/src/util/interactive.ts" - } - ] - }, - { - "id": "./packages/perseus/src/interactive2/arrowhead.ts", - "name": "./packages/perseus/src/interactive2/arrowhead.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/util/interactive.ts" - }, - { - "moduleName": "./packages/perseus/src/interactive2/movable-line-options.ts" - } - ] - }, - { - "id": "./packages/perseus/src/interactive2/wrapped-ellipse.ts", - "name": "./packages/perseus/src/interactive2/wrapped-ellipse.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/util/interactive.ts" - }, - { - "moduleName": "./packages/perseus/src/interactive2/movable-point.tsx" - }, - { - "moduleName": "./packages/perseus/src/interactive2/movable-point-options.ts" - } - ] - }, - { - "id": "./packages/perseus/src/util/react-render.tsx", - "name": "./packages/perseus/src/util/react-render.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus/src/util/tex.ts" - }, - { - "moduleName": "./packages/perseus/src/interactive2/movable-point.tsx" - } - ] - }, { "id": "./packages/perseus/src/widgets/cs-program/cs-program.tsx", "name": "./packages/perseus/src/widgets/cs-program/cs-program.tsx", @@ -8527,20 +8527,20 @@ ] }, { - "id": "./packages/perseus/src/widgets/graded-group-set/graded-group-set.tsx", - "name": "./packages/perseus/src/widgets/graded-group-set/graded-group-set.tsx", + "id": "./packages/perseus/src/widgets/group/group.tsx", + "name": "./packages/perseus/src/widgets/group/group.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/graded-group-set/index.ts" + "moduleName": "./packages/perseus/src/widgets/group/index.ts" } ] }, { - "id": "./packages/perseus/src/widgets/group/group.tsx", - "name": "./packages/perseus/src/widgets/group/group.tsx", + "id": "./packages/perseus/src/widgets/graded-group-set/graded-group-set.tsx", + "name": "./packages/perseus/src/widgets/graded-group-set/graded-group-set.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/group/index.ts" + "moduleName": "./packages/perseus/src/widgets/graded-group-set/index.ts" } ] }, @@ -8632,20 +8632,20 @@ ] }, { - "id": "./packages/perseus/src/widgets/python-program/python-program.tsx", - "name": "./packages/perseus/src/widgets/python-program/python-program.tsx", + "id": "./packages/perseus/src/widgets/sorter/sorter.tsx", + "name": "./packages/perseus/src/widgets/sorter/sorter.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/python-program/index.ts" + "moduleName": "./packages/perseus/src/widgets/sorter/index.ts" } ] }, { - "id": "./packages/perseus/src/widgets/sorter/sorter.tsx", - "name": "./packages/perseus/src/widgets/sorter/sorter.tsx", + "id": "./packages/perseus/src/widgets/python-program/python-program.tsx", + "name": "./packages/perseus/src/widgets/python-program/python-program.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/sorter/index.ts" + "moduleName": "./packages/perseus/src/widgets/python-program/index.ts" } ] }, @@ -8685,6 +8685,24 @@ } ] }, + { + "id": "./packages/perseus/src/interactive2/movable-line-options.ts", + "name": "./packages/perseus/src/interactive2/movable-line-options.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/interactive2/movable-line.ts" + } + ] + }, + { + "id": "./packages/perseus/src/interactive2/movable-polygon-options.ts", + "name": "./packages/perseus/src/interactive2/movable-polygon-options.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/interactive2/movable-polygon.ts" + } + ] + }, { "id": "./packages/perseus/src/widgets/interactive-graphs/mafs-graph.tsx", "name": "./packages/perseus/src/widgets/interactive-graphs/mafs-graph.tsx", @@ -8717,13 +8735,7 @@ "moduleName": "./packages/perseus/src/widgets/interactive-graphs/reducer/interactive-graph-reducer.ts" }, { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/ray.tsx" - }, - { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/linear-system.tsx" - }, - { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/segment.tsx" + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/linear.tsx" }, { "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/angle.tsx" @@ -8731,6 +8743,9 @@ { "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/quadratic.tsx" }, + { + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/linear-system.tsx" + }, { "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/point.tsx" }, @@ -8738,13 +8753,16 @@ "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/circle.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/linear.tsx" + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/ray.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/sinusoid.tsx" + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/polygon.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/polygon.tsx" + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/segment.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/sinusoid.tsx" } ] }, @@ -8773,11 +8791,20 @@ ] }, { - "id": "./packages/perseus/src/interactive2/movable-line-options.ts", - "name": "./packages/perseus/src/interactive2/movable-line-options.ts", + "id": "./packages/perseus/src/interactive2/movable-point-options.ts", + "name": "./packages/perseus/src/interactive2/movable-point-options.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/interactive2/movable-line.ts" + "moduleName": "./packages/perseus/src/interactive2/movable-point.tsx" + } + ] + }, + { + "id": "./packages/perseus/src/util/parse-perseus-json/object-path.ts", + "name": "./packages/perseus/src/util/parse-perseus-json/object-path.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/util/parse-perseus-json/parse-failure-detail.ts" } ] }, @@ -8796,15 +8823,6 @@ } ] }, - { - "id": "./packages/perseus/src/interactive2/movable-polygon-options.ts", - "name": "./packages/perseus/src/interactive2/movable-polygon-options.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/interactive2/movable-polygon.ts" - } - ] - }, { "id": "./packages/perseus/src/util/parse-perseus-json/general-purpose-parsers/any.ts", "name": "./packages/perseus/src/util/parse-perseus-json/general-purpose-parsers/any.ts", @@ -8929,38 +8947,20 @@ ] }, { - "id": "./packages/perseus/src/util/parse-perseus-json/general-purpose-parsers/trio.ts", - "name": "./packages/perseus/src/util/parse-perseus-json/general-purpose-parsers/trio.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/util/parse-perseus-json/general-purpose-parsers/index.ts" - } - ] - }, - { - "id": "./packages/perseus/src/util/parse-perseus-json/general-purpose-parsers/union.ts", - "name": "./packages/perseus/src/util/parse-perseus-json/general-purpose-parsers/union.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/util/parse-perseus-json/general-purpose-parsers/index.ts" - } - ] - }, - { - "id": "./packages/perseus/src/util/parse-perseus-json/object-path.ts", - "name": "./packages/perseus/src/util/parse-perseus-json/object-path.ts", + "id": "./packages/perseus/src/util/parse-perseus-json/general-purpose-parsers/trio.ts", + "name": "./packages/perseus/src/util/parse-perseus-json/general-purpose-parsers/trio.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/util/parse-perseus-json/parse-failure-detail.ts" + "moduleName": "./packages/perseus/src/util/parse-perseus-json/general-purpose-parsers/index.ts" } ] }, { - "id": "./packages/perseus/src/interactive2/movable-point-options.ts", - "name": "./packages/perseus/src/interactive2/movable-point-options.ts", + "id": "./packages/perseus/src/util/parse-perseus-json/general-purpose-parsers/union.ts", + "name": "./packages/perseus/src/util/parse-perseus-json/general-purpose-parsers/union.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/interactive2/movable-point.tsx" + "moduleName": "./packages/perseus/src/util/parse-perseus-json/general-purpose-parsers/index.ts" } ] }, @@ -9010,11 +9010,23 @@ ] }, { - "id": "./packages/perseus/src/widget-ai-utils/radio/prompt-utils.ts", - "name": "./packages/perseus/src/widget-ai-utils/radio/prompt-utils.ts", + "id": "./packages/perseus/src/interactive2/get-clip-point.ts", + "name": "./packages/perseus/src/interactive2/get-clip-point.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/radio/radio-component.tsx" + "moduleName": "./packages/perseus/src/interactive2/arrowhead.ts" + }, + { + "moduleName": "./packages/perseus/src/interactive2/movable-line-options.ts" + } + ] + }, + { + "id": "./packages/perseus/src/interactive2/wrapped-path.ts", + "name": "./packages/perseus/src/interactive2/wrapped-path.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/interactive2/arrowhead.ts" } ] }, @@ -9028,23 +9040,20 @@ ] }, { - "id": "./packages/perseus/src/interactive2/get-clip-point.ts", - "name": "./packages/perseus/src/interactive2/get-clip-point.ts", + "id": "./packages/perseus/src/widget-ai-utils/radio/prompt-utils.ts", + "name": "./packages/perseus/src/widget-ai-utils/radio/prompt-utils.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/interactive2/arrowhead.ts" - }, - { - "moduleName": "./packages/perseus/src/interactive2/movable-line-options.ts" + "moduleName": "./packages/perseus/src/widgets/radio/radio-component.tsx" } ] }, { - "id": "./packages/perseus/src/interactive2/wrapped-path.ts", - "name": "./packages/perseus/src/interactive2/wrapped-path.ts", + "id": "./packages/math-input/src/components/aphrodite-css-transition-group/transition-child.tsx", + "name": "./packages/math-input/src/components/aphrodite-css-transition-group/transition-child.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/interactive2/arrowhead.ts" + "moduleName": "./packages/math-input/src/components/aphrodite-css-transition-group/index.tsx" } ] }, @@ -9092,10 +9101,10 @@ "moduleName": "./packages/perseus/src/widgets/video/video.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/passage-ref-target/passage-ref-target.tsx" + "moduleName": "./packages/perseus/src/widgets/molecule/molecule.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/molecule/molecule.tsx" + "moduleName": "./packages/perseus/src/widgets/passage-ref-target/passage-ref-target.tsx" }, { "moduleName": "./packages/perseus/src/widgets/measurer/measurer.tsx" @@ -9145,299 +9154,107 @@ ] }, { - "id": "./packages/perseus/src/widget-ai-utils/interaction/prompt-utils.ts", - "name": "./packages/perseus/src/widget-ai-utils/interaction/prompt-utils.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/widgets/interaction/interaction.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/widget-ai-utils/sorter/prompt-utils.ts", - "name": "./packages/perseus/src/widget-ai-utils/sorter/prompt-utils.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/widgets/sorter/sorter.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/widgets/sorter/sorter-validator.ts", - "name": "./packages/perseus/src/widgets/sorter/sorter-validator.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/widgets/sorter/sorter.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/widget-ai-utils/passage-ref/prompt-utils.ts", - "name": "./packages/perseus/src/widget-ai-utils/passage-ref/prompt-utils.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/widgets/passage-ref/passage-ref.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/widgets/passage/utils.ts", - "name": "./packages/perseus/src/widgets/passage/utils.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/widgets/passage-ref/passage-ref.tsx" - }, - { - "moduleName": "./packages/perseus/src/widgets/passage/passage.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/util/a11y.ts", - "name": "./packages/perseus/src/util/a11y.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/widgets/video/video.tsx" - }, - { - "moduleName": "./packages/perseus/src/components/math-input.tsx" - }, - { - "moduleName": "./packages/perseus/src/widgets/expression/expression.tsx" - }, - { - "moduleName": "./packages/perseus/src/widgets/graded-group-set/graded-group-set.tsx" - }, - { - "moduleName": "./packages/perseus/src/widgets/graded-group/graded-group.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/widget-ai-utils/video/prompt-utils.ts", - "name": "./packages/perseus/src/widget-ai-utils/video/prompt-utils.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/widgets/video/video.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/widgets/molecule/molecule-drawing.ts", - "name": "./packages/perseus/src/widgets/molecule/molecule-drawing.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/widgets/molecule/molecule.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/widgets/molecule/molecule-layout.ts", - "name": "./packages/perseus/src/widgets/molecule/molecule-layout.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/widgets/molecule/molecule.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/widgets/molecule/smiles-parser.ts", - "name": "./packages/perseus/src/widgets/molecule/smiles-parser.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/widgets/molecule/molecule.tsx" - } - ] - }, - { - "id": "./packages/math-input/src/components/aphrodite-css-transition-group/transition-child.tsx", - "name": "./packages/math-input/src/components/aphrodite-css-transition-group/transition-child.tsx", - "reasons": [ - { - "moduleName": "./packages/math-input/src/components/aphrodite-css-transition-group/index.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/components/visibility-observer/create-visibility-observer.ts", - "name": "./packages/perseus/src/components/visibility-observer/create-visibility-observer.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/components/visibility-observer/visibility-observer.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/components/visibility-observer/get-scroll-parent.ts", - "name": "./packages/perseus/src/components/visibility-observer/get-scroll-parent.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/components/visibility-observer/visibility-observer.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/components/graphie-movables.ts", - "name": "./packages/perseus/src/components/graphie-movables.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/components/graphie.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/error-boundary.tsx", - "name": "./packages/perseus/src/error-boundary.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus/src/renderer.tsx" - }, - { - "moduleName": "./packages/perseus/src/widget-container.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/interaction-tracker.ts", - "name": "./packages/perseus/src/interaction-tracker.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/renderer.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/question-paragraph.tsx", - "name": "./packages/perseus/src/question-paragraph.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus/src/renderer.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/renderer-util.ts", - "name": "./packages/perseus/src/renderer-util.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/renderer.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/translation-linter.ts", - "name": "./packages/perseus/src/translation-linter.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/renderer.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/widget-container.tsx", - "name": "./packages/perseus/src/widget-container.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus/src/renderer.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/widgets/table/table-validator.ts", - "name": "./packages/perseus/src/widgets/table/table-validator.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/widgets/table/table.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/widget-ai-utils/plotter/prompt-utils.ts", - "name": "./packages/perseus/src/widget-ai-utils/plotter/prompt-utils.ts", + "id": "./packages/perseus/src/widget-ai-utils/interaction/prompt-utils.ts", + "name": "./packages/perseus/src/widget-ai-utils/interaction/prompt-utils.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/plotter/plotter.tsx" + "moduleName": "./packages/perseus/src/widgets/interaction/interaction.tsx" } ] }, { - "id": "./packages/perseus/src/widgets/plotter/plotter-validator.ts", - "name": "./packages/perseus/src/widgets/plotter/plotter-validator.ts", + "id": "./packages/perseus/src/widget-ai-utils/passage-ref/prompt-utils.ts", + "name": "./packages/perseus/src/widget-ai-utils/passage-ref/prompt-utils.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/plotter/plotter.tsx" + "moduleName": "./packages/perseus/src/widgets/passage-ref/passage-ref.tsx" } ] }, { - "id": "./packages/perseus/src/widget-ai-utils/dropdown/prompt-utils.ts", - "name": "./packages/perseus/src/widget-ai-utils/dropdown/prompt-utils.ts", + "id": "./packages/perseus/src/widgets/passage/utils.ts", + "name": "./packages/perseus/src/widgets/passage/utils.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/dropdown/dropdown.tsx" + "moduleName": "./packages/perseus/src/widgets/passage-ref/passage-ref.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/passage/passage.tsx" } ] }, { - "id": "./packages/perseus/src/widgets/dropdown/dropdown-validator.ts", - "name": "./packages/perseus/src/widgets/dropdown/dropdown-validator.ts", + "id": "./packages/perseus/src/widget-ai-utils/sorter/prompt-utils.ts", + "name": "./packages/perseus/src/widget-ai-utils/sorter/prompt-utils.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/dropdown/dropdown.tsx" + "moduleName": "./packages/perseus/src/widgets/sorter/sorter.tsx" } ] }, { - "id": "./packages/perseus/src/widget-ai-utils/number-line/prompt-utils.ts", - "name": "./packages/perseus/src/widget-ai-utils/number-line/prompt-utils.ts", + "id": "./packages/perseus/src/widgets/sorter/sorter-validator.ts", + "name": "./packages/perseus/src/widgets/sorter/sorter-validator.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/number-line/number-line.tsx" + "moduleName": "./packages/perseus/src/widgets/sorter/sorter.tsx" } ] }, { - "id": "./packages/perseus/src/widgets/number-line/number-line-validator.ts", - "name": "./packages/perseus/src/widgets/number-line/number-line-validator.ts", + "id": "./packages/perseus/src/util/a11y.ts", + "name": "./packages/perseus/src/util/a11y.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/number-line/number-line.tsx" + "moduleName": "./packages/perseus/src/widgets/video/video.tsx" + }, + { + "moduleName": "./packages/perseus/src/components/math-input.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/expression/expression.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/graded-group/graded-group.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/graded-group-set/graded-group-set.tsx" } ] }, { - "id": "./packages/perseus/src/widget-ai-utils/orderer/prompt-utils.ts", - "name": "./packages/perseus/src/widget-ai-utils/orderer/prompt-utils.ts", + "id": "./packages/perseus/src/widget-ai-utils/video/prompt-utils.ts", + "name": "./packages/perseus/src/widget-ai-utils/video/prompt-utils.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/orderer/orderer.tsx" + "moduleName": "./packages/perseus/src/widgets/video/video.tsx" } ] }, { - "id": "./packages/perseus/src/widgets/orderer/orderer-validator.ts", - "name": "./packages/perseus/src/widgets/orderer/orderer-validator.ts", + "id": "./packages/perseus/src/widgets/molecule/molecule-drawing.ts", + "name": "./packages/perseus/src/widgets/molecule/molecule-drawing.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/orderer/orderer.tsx" + "moduleName": "./packages/perseus/src/widgets/molecule/molecule.tsx" } ] }, { - "id": "./packages/perseus/src/widget-ai-utils/measurer/prompt-utils.ts", - "name": "./packages/perseus/src/widget-ai-utils/measurer/prompt-utils.ts", + "id": "./packages/perseus/src/widgets/molecule/molecule-layout.ts", + "name": "./packages/perseus/src/widgets/molecule/molecule-layout.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/measurer/measurer.tsx" + "moduleName": "./packages/perseus/src/widgets/molecule/molecule.tsx" } ] }, { - "id": "./packages/math-input/src/components/aphrodite-css-transition-group/util.ts", - "name": "./packages/math-input/src/components/aphrodite-css-transition-group/util.ts", + "id": "./packages/perseus/src/widgets/molecule/smiles-parser.ts", + "name": "./packages/perseus/src/widgets/molecule/smiles-parser.ts", "reasons": [ { - "moduleName": "./packages/math-input/src/components/aphrodite-css-transition-group/transition-child.tsx" + "moduleName": "./packages/perseus/src/widgets/molecule/molecule.tsx" } ] }, @@ -9629,10 +9446,10 @@ "moduleName": "./packages/perseus/src/widgets/interactive-graphs/mafs-graph.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/backgrounds/axis-arrows.tsx" + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/backgrounds/axis-labels.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/backgrounds/axis-labels.tsx" + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/backgrounds/axis-arrows.tsx" }, { "moduleName": "./packages/perseus/src/widgets/interactive-graphs/backgrounds/axis-ticks.tsx" @@ -9646,18 +9463,18 @@ { "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/circle.tsx" }, - { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/protractor.tsx" - }, { "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/polygon.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/use-transform.ts" + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/protractor.tsx" }, { "moduleName": "./packages/perseus/src/widgets/interactive-graphs/locked-figures/locked-label.tsx" }, + { + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/use-transform.ts" + }, { "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/components/movable-line.tsx" }, @@ -9668,94 +9485,271 @@ "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/components/use-control-point.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/components/movable-point-view.tsx" + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/components/movable-point-view.tsx" + } + ] + }, + { + "id": "./packages/perseus/src/widgets/interactive-graphs/mafs-styles.css", + "name": "./packages/perseus/src/widgets/interactive-graphs/mafs-styles.css", + "reasons": [ + { + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/mafs-graph.tsx" + } + ] + }, + { + "id": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/categorizer-widget.ts", + "name": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/categorizer-widget.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/widgets-map.ts" + } + ] + }, + { + "id": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/cs-program-widget.ts", + "name": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/cs-program-widget.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/widgets-map.ts" + } + ] + }, + { + "id": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/definition-widget.ts", + "name": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/definition-widget.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/widgets-map.ts" + } + ] + }, + { + "id": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/dropdown-widget.ts", + "name": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/dropdown-widget.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/widgets-map.ts" + } + ] + }, + { + "id": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/explanation-widget.ts", + "name": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/explanation-widget.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/widgets-map.ts" + } + ] + }, + { + "id": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/expression-widget.ts", + "name": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/expression-widget.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/widgets-map.ts" + } + ] + }, + { + "id": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/interactive-graph-widget.ts", + "name": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/interactive-graph-widget.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/widgets-map.ts" + } + ] + }, + { + "id": "./packages/perseus/src/components/graphie-movables.ts", + "name": "./packages/perseus/src/components/graphie-movables.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/components/graphie.tsx" + } + ] + }, + { + "id": "./packages/perseus/src/components/visibility-observer/create-visibility-observer.ts", + "name": "./packages/perseus/src/components/visibility-observer/create-visibility-observer.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/components/visibility-observer/visibility-observer.tsx" + } + ] + }, + { + "id": "./packages/perseus/src/components/visibility-observer/get-scroll-parent.ts", + "name": "./packages/perseus/src/components/visibility-observer/get-scroll-parent.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/components/visibility-observer/visibility-observer.tsx" + } + ] + }, + { + "id": "./packages/perseus/src/error-boundary.tsx", + "name": "./packages/perseus/src/error-boundary.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus/src/renderer.tsx" + }, + { + "moduleName": "./packages/perseus/src/widget-container.tsx" + } + ] + }, + { + "id": "./packages/perseus/src/interaction-tracker.ts", + "name": "./packages/perseus/src/interaction-tracker.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/renderer.tsx" + } + ] + }, + { + "id": "./packages/perseus/src/question-paragraph.tsx", + "name": "./packages/perseus/src/question-paragraph.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus/src/renderer.tsx" + } + ] + }, + { + "id": "./packages/perseus/src/renderer-util.ts", + "name": "./packages/perseus/src/renderer-util.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/renderer.tsx" + } + ] + }, + { + "id": "./packages/perseus/src/translation-linter.ts", + "name": "./packages/perseus/src/translation-linter.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/renderer.tsx" + } + ] + }, + { + "id": "./packages/perseus/src/widget-container.tsx", + "name": "./packages/perseus/src/widget-container.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus/src/renderer.tsx" + } + ] + }, + { + "id": "./packages/perseus/src/widgets/table/table-validator.ts", + "name": "./packages/perseus/src/widgets/table/table-validator.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/widgets/table/table.tsx" + } + ] + }, + { + "id": "./packages/perseus/src/widget-ai-utils/plotter/prompt-utils.ts", + "name": "./packages/perseus/src/widget-ai-utils/plotter/prompt-utils.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/widgets/plotter/plotter.tsx" } ] }, { - "id": "./packages/perseus/src/widgets/interactive-graphs/mafs-styles.css", - "name": "./packages/perseus/src/widgets/interactive-graphs/mafs-styles.css", + "id": "./packages/perseus/src/widgets/plotter/plotter-validator.ts", + "name": "./packages/perseus/src/widgets/plotter/plotter-validator.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/mafs-graph.tsx" + "moduleName": "./packages/perseus/src/widgets/plotter/plotter.tsx" } ] }, { - "id": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/categorizer-widget.ts", - "name": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/categorizer-widget.ts", + "id": "./packages/perseus/src/widget-ai-utils/dropdown/prompt-utils.ts", + "name": "./packages/perseus/src/widget-ai-utils/dropdown/prompt-utils.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/widgets-map.ts" + "moduleName": "./packages/perseus/src/widgets/dropdown/dropdown.tsx" } ] }, { - "id": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/cs-program-widget.ts", - "name": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/cs-program-widget.ts", + "id": "./packages/perseus/src/widgets/dropdown/dropdown-validator.ts", + "name": "./packages/perseus/src/widgets/dropdown/dropdown-validator.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/widgets-map.ts" + "moduleName": "./packages/perseus/src/widgets/dropdown/dropdown.tsx" } ] }, { - "id": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/definition-widget.ts", - "name": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/definition-widget.ts", + "id": "./packages/math-input/src/components/aphrodite-css-transition-group/util.ts", + "name": "./packages/math-input/src/components/aphrodite-css-transition-group/util.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/widgets-map.ts" + "moduleName": "./packages/math-input/src/components/aphrodite-css-transition-group/transition-child.tsx" } ] }, { - "id": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/dropdown-widget.ts", - "name": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/dropdown-widget.ts", + "id": "./packages/perseus/src/widget-ai-utils/number-line/prompt-utils.ts", + "name": "./packages/perseus/src/widget-ai-utils/number-line/prompt-utils.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/widgets-map.ts" + "moduleName": "./packages/perseus/src/widgets/number-line/number-line.tsx" } ] }, { - "id": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/explanation-widget.ts", - "name": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/explanation-widget.ts", + "id": "./packages/perseus/src/widgets/number-line/number-line-validator.ts", + "name": "./packages/perseus/src/widgets/number-line/number-line-validator.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/widgets-map.ts" + "moduleName": "./packages/perseus/src/widgets/number-line/number-line.tsx" } ] }, { - "id": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/expression-widget.ts", - "name": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/expression-widget.ts", + "id": "./packages/perseus/src/widget-ai-utils/orderer/prompt-utils.ts", + "name": "./packages/perseus/src/widget-ai-utils/orderer/prompt-utils.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/widgets-map.ts" + "moduleName": "./packages/perseus/src/widgets/orderer/orderer.tsx" } ] }, { - "id": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/interactive-graph-widget.ts", - "name": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/interactive-graph-widget.ts", + "id": "./packages/perseus/src/widgets/orderer/orderer-validator.ts", + "name": "./packages/perseus/src/widgets/orderer/orderer-validator.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/util/parse-perseus-json/perseus-parsers/widgets-map.ts" + "moduleName": "./packages/perseus/src/widgets/orderer/orderer.tsx" } ] }, { - "id": "./packages/perseus/src/widgets/interactive-graphs/graphs/components/arrowhead.tsx", - "name": "./packages/perseus/src/widgets/interactive-graphs/graphs/components/arrowhead.tsx", + "id": "./packages/perseus/src/widget-ai-utils/measurer/prompt-utils.ts", + "name": "./packages/perseus/src/widget-ai-utils/measurer/prompt-utils.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/backgrounds/axis-arrows.tsx" - }, - { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/locked-figures/locked-line.tsx" - }, + "moduleName": "./packages/perseus/src/widgets/measurer/measurer.tsx" + } + ] + }, + { + "id": "./packages/perseus/src/widgets/interactive-graphs/locked-figures/locked-label.tsx", + "name": "./packages/perseus/src/widgets/interactive-graphs/locked-figures/locked-label.tsx", + "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/components/vector.tsx" + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graph-locked-labels-layer.tsx" } ] }, @@ -9778,18 +9772,18 @@ { "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/circle.tsx" }, - { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/protractor.tsx" - }, { "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/polygon.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/components/arrowhead.tsx" + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/protractor.tsx" }, { "moduleName": "./packages/perseus/src/widgets/interactive-graphs/locked-figures/locked-label.tsx" }, + { + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/components/arrowhead.tsx" + }, { "moduleName": "./packages/perseus/src/widgets/interactive-graphs/locked-figures/locked-line.tsx" }, @@ -9805,11 +9799,17 @@ ] }, { - "id": "./packages/perseus/src/widgets/interactive-graphs/locked-figures/locked-label.tsx", - "name": "./packages/perseus/src/widgets/interactive-graphs/locked-figures/locked-label.tsx", + "id": "./packages/perseus/src/widgets/interactive-graphs/graphs/components/arrowhead.tsx", + "name": "./packages/perseus/src/widgets/interactive-graphs/graphs/components/arrowhead.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graph-locked-labels-layer.tsx" + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/backgrounds/axis-arrows.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/locked-figures/locked-line.tsx" + }, + { + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/components/vector.tsx" } ] }, @@ -9872,19 +9872,19 @@ "name": "./packages/perseus/src/widgets/interactive-graphs/graphs/components/movable-line.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/ray.tsx" + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/linear.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/linear-system.tsx" + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/angle.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/segment.tsx" + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/linear-system.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/angle.tsx" + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/ray.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/linear.tsx" + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/segment.tsx" } ] }, @@ -9917,10 +9917,10 @@ "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/circle.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/sinusoid.tsx" + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/polygon.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/polygon.tsx" + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/sinusoid.tsx" } ] }, @@ -9995,10 +9995,10 @@ "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/circle.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/protractor.tsx" + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/polygon.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/polygon.tsx" + "moduleName": "./packages/perseus/src/widgets/interactive-graphs/protractor.tsx" }, { "moduleName": "./packages/perseus/src/widgets/interactive-graphs/graphs/components/movable-line.tsx" @@ -10078,11 +10078,11 @@ ] }, { - "id": "./packages/perseus-editor/src/widgets/label-image/question-markers.tsx", - "name": "./packages/perseus-editor/src/widgets/label-image/question-markers.tsx", + "id": "./packages/perseus-editor/src/widgets/label-image/answer-choices.tsx", + "name": "./packages/perseus-editor/src/widgets/label-image/answer-choices.tsx", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/label-image/__stories__/question-markers.stories.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/label-image/__stories__/answer-choices.stories.tsx" }, { "moduleName": "./packages/perseus-editor/src/widgets/label-image-editor.tsx" @@ -10102,11 +10102,11 @@ ] }, { - "id": "./packages/perseus-editor/src/widgets/label-image/answer-choices.tsx", - "name": "./packages/perseus-editor/src/widgets/label-image/answer-choices.tsx", + "id": "./packages/perseus-editor/src/widgets/label-image/question-markers.tsx", + "name": "./packages/perseus-editor/src/widgets/label-image/question-markers.tsx", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/label-image/__stories__/answer-choices.stories.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/label-image/__stories__/question-markers.stories.tsx" }, { "moduleName": "./packages/perseus-editor/src/widgets/label-image-editor.tsx" @@ -10155,6 +10155,15 @@ } ] }, + { + "id": "./packages/math-input/src/components/tabbar/icons.tsx", + "name": "./packages/math-input/src/components/tabbar/icons.tsx", + "reasons": [ + { + "moduleName": "./packages/math-input/src/components/tabbar/item.tsx" + } + ] + }, { "id": "./packages/math-input/src/components/keypad/button-assets.tsx", "name": "./packages/math-input/src/components/keypad/button-assets.tsx", @@ -10168,212 +10177,218 @@ ] }, { - "id": "./packages/math-input/src/components/tabbar/icons.tsx", - "name": "./packages/math-input/src/components/tabbar/icons.tsx", + "id": "./packages/perseus-editor/src/components/angle-input.tsx", + "name": "./packages/perseus-editor/src/components/angle-input.tsx", "reasons": [ { - "moduleName": "./packages/math-input/src/components/tabbar/item.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-ellipse-settings.tsx" } ] }, { - "id": "./packages/perseus-editor/src/components/perseus-editor-accordion.tsx", - "name": "./packages/perseus-editor/src/components/perseus-editor-accordion.tsx", + "id": "./packages/perseus-editor/src/components/coordinate-pair-input.tsx", + "name": "./packages/perseus-editor/src/components/coordinate-pair-input.tsx", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-line-settings.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-ellipse-settings.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-ellipse-settings.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-label-settings.tsx" }, { "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-point-settings.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-label-settings.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-vector-settings.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-function-settings.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-polygon-settings.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-polygon-settings.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/start-coords/start-coords-angle.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-vector-settings.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/start-coords/start-coords-circle.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/start-coords/start-coords-line.tsx" }, { "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/start-coords/start-coords-multiline.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/start-coords/start-coords-point.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/start-coords/start-coords-quadratic.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/start-coords/start-coords-sinusoid.tsx" } ] }, { - "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/line-stroke-select.tsx", - "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/line-stroke-select.tsx", + "id": "./packages/perseus-editor/src/components/perseus-editor-accordion.tsx", + "name": "./packages/perseus-editor/src/components/perseus-editor-accordion.tsx", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-line-settings.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-ellipse-settings.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-ellipse-settings.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-label-settings.tsx" }, { "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-function-settings.tsx" }, + { + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-line-settings.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-point-settings.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-vector-settings.tsx" + }, { "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-polygon-settings.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/start-coords/start-coords-multiline.tsx" } ] }, { - "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/line-swatch.tsx", - "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/line-swatch.tsx", + "id": "./packages/perseus-editor/src/components/util.ts", + "name": "./packages/perseus-editor/src/components/util.ts", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-line-settings.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-ellipse-settings.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-function-settings.tsx" + "moduleName": "./packages/perseus-editor/src/components/angle-input.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-vector-settings.tsx" + "moduleName": "./packages/perseus-editor/src/components/dropdown-option.tsx" } ] }, { - "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figure-aria.tsx", - "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figure-aria.tsx", + "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/ellipse-swatch.tsx", + "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/ellipse-swatch.tsx", "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-line-settings.tsx" - }, { "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-ellipse-settings.tsx" - }, + } + ] + }, + { + "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/line-stroke-select.tsx", + "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/line-stroke-select.tsx", + "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-point-settings.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-ellipse-settings.tsx" }, { "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-function-settings.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-polygon-settings.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-line-settings.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-vector-settings.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-polygon-settings.tsx" } ] }, { - "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figure-settings-actions.tsx", - "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figure-settings-actions.tsx", + "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figure-aria.tsx", + "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figure-aria.tsx", "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-line-settings.tsx" - }, { "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-ellipse-settings.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-point-settings.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-label-settings.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-function-settings.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-function-settings.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-line-settings.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-polygon-settings.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-point-settings.tsx" }, { "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-vector-settings.tsx" - } - ] - }, - { - "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/labeled-row.tsx", - "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/labeled-row.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/components/interactive-graph-settings.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/interactive-graph-editor.tsx" - } - ] - }, - { - "id": "./packages/perseus-editor/src/components/angle-input.tsx", - "name": "./packages/perseus-editor/src/components/angle-input.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-ellipse-settings.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-polygon-settings.tsx" } ] }, { - "id": "./packages/perseus-editor/src/components/coordinate-pair-input.tsx", - "name": "./packages/perseus-editor/src/components/coordinate-pair-input.tsx", + "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figure-settings-actions.tsx", + "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figure-settings-actions.tsx", "reasons": [ { "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-ellipse-settings.tsx" }, - { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-point-settings.tsx" - }, { "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-label-settings.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-polygon-settings.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-vector-settings.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/start-coords/start-coords-angle.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-function-settings.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/start-coords/start-coords-circle.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-line-settings.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/start-coords/start-coords-line.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-point-settings.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/start-coords/start-coords-point.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-vector-settings.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/start-coords/start-coords-multiline.tsx" - }, + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-polygon-settings.tsx" + } + ] + }, + { + "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figure-select.tsx", + "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figure-select.tsx", + "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/start-coords/start-coords-quadratic.tsx" - }, + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figures-section.tsx" + } + ] + }, + { + "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figure-settings.tsx", + "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figure-settings.tsx", + "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/start-coords/start-coords-sinusoid.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figures-section.tsx" } ] }, { - "id": "./packages/perseus-editor/src/components/util.ts", - "name": "./packages/perseus-editor/src/components/util.ts", + "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/line-swatch.tsx", + "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/line-swatch.tsx", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-ellipse-settings.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-function-settings.tsx" }, { - "moduleName": "./packages/perseus-editor/src/components/angle-input.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-line-settings.tsx" }, { - "moduleName": "./packages/perseus-editor/src/components/dropdown-option.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-vector-settings.tsx" } ] }, { - "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/ellipse-swatch.tsx", - "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/ellipse-swatch.tsx", + "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-function-examples.ts", + "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-function-examples.ts", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-ellipse-settings.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-function-settings.tsx" } ] }, @@ -10390,38 +10405,65 @@ ] }, { - "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figure-select.tsx", - "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figure-select.tsx", + "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/polygon-swatch.tsx", + "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/polygon-swatch.tsx", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figures-section.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-polygon-settings.tsx" } ] }, { - "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figure-settings.tsx", - "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figure-settings.tsx", + "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/labeled-row.tsx", + "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/labeled-row.tsx", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-figures-section.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/components/interactive-graph-settings.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/interactive-graph-editor.tsx" } ] }, { - "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-function-examples.ts", - "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-function-examples.ts", + "id": "./packages/perseus-editor/src/components/form-wrapped-text-field.tsx", + "name": "./packages/perseus-editor/src/components/form-wrapped-text-field.tsx", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-function-settings.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/label-image-editor.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/label-image/answer-choices.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/label-image/marker.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/widgets/label-image/select-image.tsx" } ] }, { - "id": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/polygon-swatch.tsx", - "name": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/polygon-swatch.tsx", + "id": "./vendor/hubble/hubble.js", + "name": "./vendor/hubble/hubble.js", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/interactive-graph-editor/locked-figures/locked-polygon-settings.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/expression-editor.tsx" + }, + { + "moduleName": "./packages/perseus-editor/src/multirenderer-editor.tsx" + }, + { + "moduleName": "./packages/perseus/src/multi-items/multi-renderer.tsx" + } + ] + }, + { + "id": "./packages/perseus-editor/src/components/sortable.tsx", + "name": "./packages/perseus-editor/src/components/sortable.tsx", + "reasons": [ + { + "moduleName": "./packages/perseus-editor/src/widgets/expression-editor.tsx" } ] }, @@ -10492,53 +10534,11 @@ ] }, { - "id": "./vendor/hubble/hubble.js", - "name": "./vendor/hubble/hubble.js", - "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/widgets/expression-editor.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/multirenderer-editor.tsx" - }, - { - "moduleName": "./packages/perseus/src/multi-items/multi-renderer.tsx" - } - ] - }, - { - "id": "./packages/perseus-editor/src/components/sortable.tsx", - "name": "./packages/perseus-editor/src/components/sortable.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/widgets/expression-editor.tsx" - } - ] - }, - { - "id": "./packages/perseus-editor/src/components/form-wrapped-text-field.tsx", - "name": "./packages/perseus-editor/src/components/form-wrapped-text-field.tsx", + "id": "./packages/perseus-editor/src/components/link.ts", + "name": "./packages/perseus-editor/src/components/link.ts", "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/widgets/label-image-editor.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/label-image/marker.tsx" - }, { "moduleName": "./packages/perseus-editor/src/widgets/label-image/answer-choices.tsx" - }, - { - "moduleName": "./packages/perseus-editor/src/widgets/label-image/select-image.tsx" - } - ] - }, - { - "id": "./packages/perseus-editor/src/components/checkbox.tsx", - "name": "./packages/perseus-editor/src/components/checkbox.tsx", - "reasons": [ - { - "moduleName": "./packages/perseus-editor/src/widgets/label-image/behavior.tsx" } ] }, @@ -10547,16 +10547,16 @@ "name": "./packages/perseus-editor/src/styles/global-colors.ts", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/label-image/behavior.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/label-image/answer-choices.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/label-image/question-markers.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/label-image/behavior.tsx" }, { "moduleName": "./packages/perseus-editor/src/widgets/label-image/marker.tsx" }, { - "moduleName": "./packages/perseus-editor/src/widgets/label-image/answer-choices.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/label-image/question-markers.tsx" }, { "moduleName": "./packages/perseus-editor/src/widgets/label-image/select-image.tsx" @@ -10573,20 +10573,20 @@ ] }, { - "id": "./packages/perseus-editor/src/components/dropdown-option.tsx", - "name": "./packages/perseus-editor/src/components/dropdown-option.tsx", + "id": "./packages/perseus-editor/src/components/checkbox.tsx", + "name": "./packages/perseus-editor/src/components/checkbox.tsx", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/label-image/marker.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/label-image/behavior.tsx" } ] }, { - "id": "./packages/perseus-editor/src/components/link.ts", - "name": "./packages/perseus-editor/src/components/link.ts", + "id": "./packages/perseus-editor/src/components/dropdown-option.tsx", + "name": "./packages/perseus-editor/src/components/dropdown-option.tsx", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/widgets/label-image/answer-choices.tsx" + "moduleName": "./packages/perseus-editor/src/widgets/label-image/marker.tsx" } ] }, @@ -10642,20 +10642,11 @@ ] }, { - "id": "./packages/perseus/src/widget-ai-utils/expression/prompt-utils.ts", - "name": "./packages/perseus/src/widget-ai-utils/expression/prompt-utils.ts", - "reasons": [ - { - "moduleName": "./packages/perseus/src/widgets/expression/expression.tsx" - } - ] - }, - { - "id": "./packages/perseus/src/widgets/expression/expression-validator.ts", - "name": "./packages/perseus/src/widgets/expression/expression-validator.ts", + "id": "./packages/perseus/src/widgets/radio/choice-a11y-text.ts", + "name": "./packages/perseus/src/widgets/radio/choice-a11y-text.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/expression/expression.tsx" + "moduleName": "./packages/perseus/src/widgets/radio/choice.tsx" } ] }, @@ -10664,10 +10655,10 @@ "name": "./packages/perseus/src/widgets/radio/util.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/radio/choice-icon/choice-icon.tsx" + "moduleName": "./packages/perseus/src/widgets/radio/choice.tsx" }, { - "moduleName": "./packages/perseus/src/widgets/radio/choice.tsx" + "moduleName": "./packages/perseus/src/widgets/radio/choice-icon/choice-icon.tsx" } ] }, @@ -10729,11 +10720,11 @@ ] }, { - "id": "./packages/perseus/src/widgets/radio/choice-a11y-text.ts", - "name": "./packages/perseus/src/widgets/radio/choice-a11y-text.ts", + "id": "./packages/perseus/src/util/scroll-utils.ts", + "name": "./packages/perseus/src/util/scroll-utils.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/radio/choice.tsx" + "moduleName": "./packages/perseus/src/widgets/radio/base-radio.tsx" } ] }, @@ -10786,20 +10777,29 @@ ] }, { - "id": "./packages/perseus/src/util/scroll-utils.ts", - "name": "./packages/perseus/src/util/scroll-utils.ts", + "id": "./packages/perseus-editor/src/components/simple-button.tsx", + "name": "./packages/perseus-editor/src/components/simple-button.tsx", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/radio/base-radio.tsx" + "moduleName": "./packages/perseus-editor/src/multirenderer-editor.tsx" } ] }, { - "id": "./packages/perseus-editor/src/components/simple-button.tsx", - "name": "./packages/perseus-editor/src/components/simple-button.tsx", + "id": "./packages/perseus/src/widget-ai-utils/expression/prompt-utils.ts", + "name": "./packages/perseus/src/widget-ai-utils/expression/prompt-utils.ts", "reasons": [ { - "moduleName": "./packages/perseus-editor/src/multirenderer-editor.tsx" + "moduleName": "./packages/perseus/src/widgets/expression/expression.tsx" + } + ] + }, + { + "id": "./packages/perseus/src/widgets/expression/expression-validator.ts", + "name": "./packages/perseus/src/widgets/expression/expression-validator.ts", + "reasons": [ + { + "moduleName": "./packages/perseus/src/widgets/expression/expression.tsx" } ] }, @@ -10822,38 +10822,38 @@ ] }, { - "id": "./packages/perseus/src/widget-ai-utils/matrix/prompt-utils.ts", - "name": "./packages/perseus/src/widget-ai-utils/matrix/prompt-utils.ts", + "id": "./packages/perseus/src/widget-ai-utils/input-number/prompt-utils.ts", + "name": "./packages/perseus/src/widget-ai-utils/input-number/prompt-utils.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/matrix/matrix.tsx" + "moduleName": "./packages/perseus/src/widgets/input-number/input-number.tsx" } ] }, { - "id": "./packages/perseus/src/widgets/matrix/matrix-validator.ts", - "name": "./packages/perseus/src/widgets/matrix/matrix-validator.ts", + "id": "./packages/perseus/src/widgets/input-number/input-number-validator.ts", + "name": "./packages/perseus/src/widgets/input-number/input-number-validator.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/matrix/matrix.tsx" + "moduleName": "./packages/perseus/src/widgets/input-number/input-number.tsx" } ] }, { - "id": "./packages/perseus/src/widget-ai-utils/input-number/prompt-utils.ts", - "name": "./packages/perseus/src/widget-ai-utils/input-number/prompt-utils.ts", + "id": "./packages/perseus/src/widget-ai-utils/matrix/prompt-utils.ts", + "name": "./packages/perseus/src/widget-ai-utils/matrix/prompt-utils.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/input-number/input-number.tsx" + "moduleName": "./packages/perseus/src/widgets/matrix/matrix.tsx" } ] }, { - "id": "./packages/perseus/src/widgets/input-number/input-number-validator.ts", - "name": "./packages/perseus/src/widgets/input-number/input-number-validator.ts", + "id": "./packages/perseus/src/widgets/matrix/matrix-validator.ts", + "name": "./packages/perseus/src/widgets/matrix/matrix-validator.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/input-number/input-number.tsx" + "moduleName": "./packages/perseus/src/widgets/matrix/matrix.tsx" } ] }, @@ -10924,17 +10924,17 @@ ] }, { - "id": "./packages/perseus/src/widget-ai-utils/graded-group-set/prompt-utils.ts", - "name": "./packages/perseus/src/widget-ai-utils/graded-group-set/prompt-utils.ts", + "id": "./packages/perseus/src/widget-ai-utils/graded-group/prompt-utils.ts", + "name": "./packages/perseus/src/widget-ai-utils/graded-group/prompt-utils.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/graded-group-set/graded-group-set.tsx" + "moduleName": "./packages/perseus/src/widgets/graded-group/graded-group.tsx" } ] }, { - "id": "./packages/perseus/src/widget-ai-utils/graded-group/prompt-utils.ts", - "name": "./packages/perseus/src/widget-ai-utils/graded-group/prompt-utils.ts", + "id": "./packages/perseus/src/widgets/graded-group/graded-group-answer-bar.tsx", + "name": "./packages/perseus/src/widgets/graded-group/graded-group-answer-bar.tsx", "reasons": [ { "moduleName": "./packages/perseus/src/widgets/graded-group/graded-group.tsx" @@ -10942,11 +10942,11 @@ ] }, { - "id": "./packages/perseus/src/widgets/graded-group/graded-group-answer-bar.tsx", - "name": "./packages/perseus/src/widgets/graded-group/graded-group-answer-bar.tsx", + "id": "./packages/perseus/src/widget-ai-utils/graded-group-set/prompt-utils.ts", + "name": "./packages/perseus/src/widget-ai-utils/graded-group-set/prompt-utils.ts", "reasons": [ { - "moduleName": "./packages/perseus/src/widgets/graded-group/graded-group.tsx" + "moduleName": "./packages/perseus/src/widgets/graded-group-set/graded-group-set.tsx" } ] }, diff --git a/project.json b/project.json index 1dec575342..e04b75b6fc 100644 --- a/project.json +++ b/project.json @@ -1 +1 @@ -{"generatedAt":1731110571531,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":true,"refCount":0,"monorepo":"Workspaces","packageManager":{"type":"yarn","version":"1.22.22"},"typescriptOptions":{"reactDocgen":"react-docgen"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/react-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/react","storybookVersion":"7.6.17","storybookVersionSpecifier":"^7.6.17","language":"typescript","storybookPackages":{"@storybook/addon-actions":{"version":"7.6.17"},"@storybook/addon-controls":{"version":"7.6.17"},"@storybook/addon-viewport":{"version":"7.6.17"},"@storybook/react":{"version":"7.6.17"},"@storybook/react-vite":{"version":"7.6.17"},"eslint-plugin-storybook":{"version":"0.8.0"},"storybook":{"version":"7.6.17"}},"addons":{"@storybook/addon-links":{"version":"7.6.17"},"@storybook/addon-essentials":{"version":"7.6.17"},"@storybook/addon-a11y":{"version":"7.6.17"}}} +{"generatedAt":1731436408499,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":true,"refCount":0,"monorepo":"Workspaces","packageManager":{"type":"yarn","version":"1.22.22"},"typescriptOptions":{"reactDocgen":"react-docgen"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/react-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/react","storybookVersion":"7.6.17","storybookVersionSpecifier":"^7.6.17","language":"typescript","storybookPackages":{"@storybook/addon-actions":{"version":"7.6.17"},"@storybook/addon-controls":{"version":"7.6.17"},"@storybook/addon-viewport":{"version":"7.6.17"},"@storybook/react":{"version":"7.6.17"},"@storybook/react-vite":{"version":"7.6.17"},"eslint-plugin-storybook":{"version":"0.8.0"},"storybook":{"version":"7.6.17"}},"addons":{"@storybook/addon-links":{"version":"7.6.17"},"@storybook/addon-essentials":{"version":"7.6.17"},"@storybook/addon-a11y":{"version":"7.6.17"}}}