canvas-lms/packages/canvas-planner/package.json

141 lines
4.5 KiB
JSON
Raw Normal View History

{
"name": "@instructure/canvas-planner",
"version": "1.0.16",
"description": "UI portion of planner application for canvas-lms.",
"main": "lib/index.js",
"module": "es/index.js",
"repository": {
"type": "git",
"url": "https://github.com/instructure/canvas-planner.git"
},
"scripts": {
"check-transifex": "node -r esm ./scripts/check-transifex.js",
"i18n:extract": "format-message extract $(find src -name \"*.js\") -g underscored_crc32 -o locales/en.json",
"lint-staged": "lint-staged",
"lint": "eslint src/",
"lint:fix": "eslint src/ --fix",
"build:es": "babel src --out-dir es --ignore '**/__tests__' --quiet",
"build:cjs": "JEST_WORKER_ID=true babel src --out-dir lib --ignore '**/__tests__'",
"build": "yarn build:es && yarn build:cjs",
"build:canvas": "yarn build",
"build:dev": "NODE_ENV=development BABEL_ENV=production babel src --out-dir es --ignore '**/__tests__'",
"build:watch": "yarn run build:dev --watch",
"test": "jest --color --runInBand",
"test:coverage": "yarn test --coverage",
"test:watch": "yarn test --watch",
"test:update": "yarn test --updateSnapshot",
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
"generate-themeable": "./scripts/generate-themeable",
"clean": "rm -rf lib && rm -rf es && rm -rf coverage"
},
"files": [
"config/",
"lib/",
"es/",
"README.md"
],
"keywords": [
"planner",
"canvas"
],
"author": "Instructure, Inc.",
"license": "AGPL-3.0",
"browserslist": [
"extends @instructure/browserslist-config-canvas-lms"
],
"dependencies": {
"@instructure/babel-plugin-themeable-styles": "7",
"@instructure/canvas-theme": "7",
"@instructure/js-utils": ">=1",
"@instructure/ui-a11y-content": "7",
"@instructure/ui-a11y-utils": "7",
"@instructure/ui-alerts": "7",
"@instructure/ui-avatar": "7",
"@instructure/ui-badge": "7",
"@instructure/ui-buttons": "7",
"@instructure/ui-checkbox": "7",
"@instructure/ui-flex": "7",
"@instructure/ui-forms": "6",
"@instructure/ui-form-field": "7",
"@instructure/ui-heading": "7",
"@instructure/ui-icons": "7",
"@instructure/ui-link": "7",
"@instructure/ui-list": "7",
"@instructure/ui-modal": "7",
"@instructure/ui-overlays": "7",
"@instructure/ui-pill": "7",
"@instructure/ui-popover": "7",
"@instructure/ui-portal": "7",
"@instructure/ui-prop-types": "7",
"@instructure/ui-react-utils": "7",
"@instructure/ui-select": "7",
"@instructure/ui-simple-select": "7",
"@instructure/ui-spinner": "7",
"@instructure/ui-tabs": "7",
"@instructure/ui-text": "7",
"@instructure/ui-text-area": "7",
"@instructure/ui-text-input": "7",
"@instructure/ui-themeable": "7",
"@instructure/ui-toggle-details": "7",
"@instructure/ui-tray": "7",
"@instructure/ui-utils": "7",
"@instructure/ui-view": "7",
"axios": "^0.21.1",
"babel-plugin-inline-react-svg": "^1",
"change-case": "^3.0.1",
"classnames": "^2.2.5",
"esrever": "^0.2.0",
"format-message": "^6",
"format-message-parse": "^6",
"format-message-print": "^6",
"keycode": "^2.1.9",
"lodash": "^4",
"moment-timezone": "^0.5.13",
"parse-link-header": "^1.0.1",
"prop-types": "^15.5.9",
Fix K-5 planner auto-focus on navigation This change updates the K-5 schedule tab navigation to no longer focus on the first item due today or missing items section when switching tabs and navigating through the weeks. However, it will still focus on those elements when navigating to the schedule tab from the K-5 card links (# due today and # missing). fixes LS-2124 fixes LS-2130 flag = canvas_for_elementary Test plan: - Log in to the dashboard of a student enrolled in K-5 courses - Set up assignments due in the past, the future, and today if none already exist - From the homeroom tab on the dashboard, click the schedule tab. Expect focus to stay on the schedule tab - Navigate forward and backward through the weeks. Expect the focus to stay on the weekly navigation buttons when doing so - Click "today" to jump to today from another week. Expect focus to stay on the "today" button - Back on the homeroom tab of the dashboard, click on the "# due today" link on a course card. Expect to switch to the schedule tab and scroll to and focus the first item due today. - From the homerrom tab again, click on the "# missing" link on a course card. Expect to switch to the schedule tab and scroll to and focus the "missing items" section Change-Id: I4a3b391f5fb97282ebb5e3885704cc14d2224dd0 Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/262993 Reviewed-by: Jackson Howe <jackson.howe@instructure.com> QA-Review: Jackson Howe <jackson.howe@instructure.com> Product-Review: Jeff Largent <jeff.largent@instructure.com> Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2021-04-16 00:23:37 +08:00
"qs": "^6.6.0",
"react": "^0.14.7 || ^15 || 16",
"react-dom": "^0.14.7 || ^15 || 16",
"react-moment-proptypes": "^1.4.0",
"react-redux": "^5.0.3",
"redux": "^4",
"redux-actions": "^2.0.1",
"redux-logger": "^3.0.1",
"redux-promise": "^0.6",
"redux-saga": "^0.16.0",
"redux-thunk": "^2.2.0",
"timezone": "^1.0.18",
"velocity-animate": "^1.5.0"
},
"devDependencies": {
"@babel/cli": "^7",
"@babel/core": "^7",
"@instructure/browserslist-config-canvas-lms": ">=2",
"@instructure/ui-babel-preset": "^6",
"@sheerun/mutationobserver-shim": "^0.3.2",
"babel-jest": "^24",
"enzyme": "^3",
"enzyme-adapter-react-16": "^1",
"enzyme-to-json": "^3",
"esm": "^3.2.25",
"format-message-cli": "^6",
"identity-obj-proxy": "^3.0.0",
"jest": "^24",
"jest-canvas-mock": "^2",
"jest-environment-jsdom-fourteen": "^0.1.0",
"jest-junit": "^7",
"jest-moxios-utils": "^1",
"lint-staged": "^9",
"mockdate": "^2.0.2",
"moxios": "^0.4.0",
"redux-devtools-extension": "^2.13.2",
"@testing-library/dom": "^7",
"@testing-library/jest-dom": "^5",
"@testing-library/react": "^11",
"@testing-library/user-event": "^12"
},
"lint-staged": {
"*.js": "eslint"
}
}