diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c5f11716e6eb..9ee71afa47d7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,13 +6,16 @@ on: pull_request: branches: - main +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: dedupe: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Use Node.js 16.x - uses: actions/setup-node@v2.5.1 + uses: actions/setup-node@v3 with: node-version: '16.x' - name: Run yarn dedupe @@ -23,7 +26,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Use Node.js 16.x - uses: actions/setup-node@v2.5.1 + uses: actions/setup-node@v3 with: node-version: '16.x' - name: Install dependencies @@ -36,7 +39,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Use Node.js 16.x - uses: actions/setup-node@v2.5.1 + uses: actions/setup-node@v3 with: node-version: '16.x' - name: Install dependencies @@ -51,7 +54,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Use Node.js 16.x - uses: actions/setup-node@v2.5.1 + uses: actions/setup-node@v3 with: node-version: '16.x' - uses: actions/cache@v2.1.7 @@ -77,7 +80,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Use Node.js 16.x - uses: actions/setup-node@v2.5.1 + uses: actions/setup-node@v3 with: node-version: '16.x' - uses: actions/cache@v2.1.7 @@ -113,7 +116,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Use Node.js 16.x - uses: actions/setup-node@v2.5.1 + uses: actions/setup-node@v3 with: node-version: '16.x' - uses: actions/cache@v2.1.7 diff --git a/.github/workflows/deploy-react-storybook.yml b/.github/workflows/deploy-react-storybook.yml index 76ad5f39672f..a64c2d31b66f 100644 --- a/.github/workflows/deploy-react-storybook.yml +++ b/.github/workflows/deploy-react-storybook.yml @@ -18,7 +18,7 @@ jobs: steps: - uses: actions/checkout@main - name: Use Node.js 16.x - uses: actions/setup-node@v2.5.1 + uses: actions/setup-node@v3 with: node-version: '16.x' - name: Install dependencies diff --git a/.github/workflows/deploy-vanilla-devenv.yml b/.github/workflows/deploy-vanilla-devenv.yml index 9fb160cc3ce2..4d165214d445 100644 --- a/.github/workflows/deploy-vanilla-devenv.yml +++ b/.github/workflows/deploy-vanilla-devenv.yml @@ -17,7 +17,7 @@ jobs: steps: - uses: actions/checkout@main - name: Use Node.js 16.x - uses: actions/setup-node@v2.5.1 + uses: actions/setup-node@v3 with: node-version: '16.x' - name: Install dependencies diff --git a/.github/workflows/nightly-release.yml b/.github/workflows/nightly-release.yml index 31d07918030d..701d569358aa 100644 --- a/.github/workflows/nightly-release.yml +++ b/.github/workflows/nightly-release.yml @@ -11,7 +11,7 @@ jobs: steps: - uses: actions/checkout@main - name: Use Node.js 16.x - uses: actions/setup-node@v2.5.1 + uses: actions/setup-node@v3 with: node-version: '16.x' - name: Install dependencies diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d6c13bb70db3..b189be7f9067 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v2 - name: Use Node.js 16.x - uses: actions/setup-node@v2.5.1 + uses: actions/setup-node@v3 with: node-version: '16.x' registry-url: 'https://registry.npmjs.org' diff --git a/.github/workflows/sync-generated-files.yml b/.github/workflows/sync-generated-files.yml index f6ec3595e652..0d5f8e2e28f1 100644 --- a/.github/workflows/sync-generated-files.yml +++ b/.github/workflows/sync-generated-files.yml @@ -9,7 +9,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Use Node.js 16.x - uses: actions/setup-node@v2.5.1 + uses: actions/setup-node@v3 with: node-version: '16.x' - name: Install dependencies diff --git a/.yarn/cache/@es-joy-jsdoccomment-npm-0.10.2-99ab396701-5790d13b74.zip b/.yarn/cache/@es-joy-jsdoccomment-npm-0.10.2-99ab396701-5790d13b74.zip deleted file mode 100644 index 28c11adab769..000000000000 Binary files a/.yarn/cache/@es-joy-jsdoccomment-npm-0.10.2-99ab396701-5790d13b74.zip and /dev/null differ diff --git a/.yarn/cache/@es-joy-jsdoccomment-npm-0.20.1-0616326f46-b64afeaddc.zip b/.yarn/cache/@es-joy-jsdoccomment-npm-0.20.1-0616326f46-b64afeaddc.zip new file mode 100644 index 000000000000..3abd135392ad Binary files /dev/null and b/.yarn/cache/@es-joy-jsdoccomment-npm-0.20.1-0616326f46-b64afeaddc.zip differ diff --git a/.yarn/cache/comment-parser-npm-1.2.1-2743575765-3057a7304c.zip b/.yarn/cache/comment-parser-npm-1.3.0-f53b44186d-e7b41b8a5f.zip similarity index 54% rename from .yarn/cache/comment-parser-npm-1.2.1-2743575765-3057a7304c.zip rename to .yarn/cache/comment-parser-npm-1.3.0-f53b44186d-e7b41b8a5f.zip index 3c7abf77ad16..0c8daafd2113 100644 Binary files a/.yarn/cache/comment-parser-npm-1.2.1-2743575765-3057a7304c.zip and b/.yarn/cache/comment-parser-npm-1.3.0-f53b44186d-e7b41b8a5f.zip differ diff --git a/.yarn/cache/eslint-plugin-jsdoc-npm-36.0.3-6a37308396-f15e1d2e1e.zip b/.yarn/cache/eslint-plugin-jsdoc-npm-36.0.3-6a37308396-f15e1d2e1e.zip deleted file mode 100644 index c65d44f747a7..000000000000 Binary files a/.yarn/cache/eslint-plugin-jsdoc-npm-36.0.3-6a37308396-f15e1d2e1e.zip and /dev/null differ diff --git a/.yarn/cache/eslint-plugin-jsdoc-npm-37.9.4-c40620cafc-1e338f0302.zip b/.yarn/cache/eslint-plugin-jsdoc-npm-37.9.4-c40620cafc-1e338f0302.zip new file mode 100644 index 000000000000..2a2ae7a39539 Binary files /dev/null and b/.yarn/cache/eslint-plugin-jsdoc-npm-37.9.4-c40620cafc-1e338f0302.zip differ diff --git a/.yarn/cache/fs-access-npm-1.0.1-6e1bcfb968-6792b115a5.zip b/.yarn/cache/fs-access-npm-1.0.1-6e1bcfb968-6792b115a5.zip deleted file mode 100644 index a9e2ffeba137..000000000000 Binary files a/.yarn/cache/fs-access-npm-1.0.1-6e1bcfb968-6792b115a5.zip and /dev/null differ diff --git a/.yarn/cache/jsdoc-type-pratt-parser-npm-1.0.4-d9563f414a-f80df71fc5.zip b/.yarn/cache/jsdoc-type-pratt-parser-npm-1.0.4-d9563f414a-f80df71fc5.zip deleted file mode 100644 index 73b8002c3ffc..000000000000 Binary files a/.yarn/cache/jsdoc-type-pratt-parser-npm-1.0.4-d9563f414a-f80df71fc5.zip and /dev/null differ diff --git a/.yarn/cache/jsdoc-type-pratt-parser-npm-1.0.8-6766196e7d-21f8c08918.zip b/.yarn/cache/jsdoc-type-pratt-parser-npm-1.0.8-6766196e7d-21f8c08918.zip deleted file mode 100644 index b085f241f0a3..000000000000 Binary files a/.yarn/cache/jsdoc-type-pratt-parser-npm-1.0.8-6766196e7d-21f8c08918.zip and /dev/null differ diff --git a/.yarn/cache/jsdoc-type-pratt-parser-npm-2.2.3-855681446d-202a6c1f88.zip b/.yarn/cache/jsdoc-type-pratt-parser-npm-2.2.3-855681446d-202a6c1f88.zip new file mode 100644 index 000000000000..ac860559dac8 Binary files /dev/null and b/.yarn/cache/jsdoc-type-pratt-parser-npm-2.2.3-855681446d-202a6c1f88.zip differ diff --git a/.yarn/cache/karma-chrome-launcher-npm-2.2.0-a56f6835c7-08f319ad51.zip b/.yarn/cache/karma-chrome-launcher-npm-2.2.0-a56f6835c7-08f319ad51.zip deleted file mode 100644 index e10ede4d18eb..000000000000 Binary files a/.yarn/cache/karma-chrome-launcher-npm-2.2.0-a56f6835c7-08f319ad51.zip and /dev/null differ diff --git a/.yarn/cache/karma-chrome-launcher-npm-3.1.0-999405afd7-63431ddec9.zip b/.yarn/cache/karma-chrome-launcher-npm-3.1.0-999405afd7-63431ddec9.zip new file mode 100644 index 000000000000..e752cbdad975 Binary files /dev/null and b/.yarn/cache/karma-chrome-launcher-npm-3.1.0-999405afd7-63431ddec9.zip differ diff --git a/.yarn/cache/lolex-npm-3.1.0-fa2f70ad73-7fa8d5b4c0.zip b/.yarn/cache/lolex-npm-3.1.0-fa2f70ad73-7fa8d5b4c0.zip deleted file mode 100644 index e4f56abe81a4..000000000000 Binary files a/.yarn/cache/lolex-npm-3.1.0-fa2f70ad73-7fa8d5b4c0.zip and /dev/null differ diff --git a/.yarn/cache/null-check-npm-1.0.0-ca9daf775a-6569fb2d74.zip b/.yarn/cache/null-check-npm-1.0.0-ca9daf775a-6569fb2d74.zip deleted file mode 100644 index 017f688793ce..000000000000 Binary files a/.yarn/cache/null-check-npm-1.0.0-ca9daf775a-6569fb2d74.zip and /dev/null differ diff --git a/config/eslint-config-carbon/package.json b/config/eslint-config-carbon/package.json index 5ff410539b43..f31a1b6c328a 100644 --- a/config/eslint-config-carbon/package.json +++ b/config/eslint-config-carbon/package.json @@ -39,7 +39,7 @@ "eslint-plugin-cypress": "^2.11.3", "eslint-plugin-import": "^2.23.4", "eslint-plugin-jest": "^26.0.0", - "eslint-plugin-jsdoc": "^36.0.3", + "eslint-plugin-jsdoc": "^37.0.0", "eslint-plugin-jsx-a11y": "^6.4.1", "eslint-plugin-prettier": "^3.4.0", "eslint-plugin-react": "^7.24.0", diff --git a/docs/migration/v11.md b/docs/migration/v11.md index 25ee9eb29d04..147cc139d5de 100644 --- a/docs/migration/v11.md +++ b/docs/migration/v11.md @@ -946,7 +946,7 @@ below. | `TimePicker` | Updated from a class to functional component | | `TimePickerSelect` | Updated from a class to functional component | | `ToastNotification` | View changes [here](#notifications) | -| `Toggle` | Updated from a class to functional component | +| `Toggle` | View changes [here](#toggle) | | `ToggleSkeleton` | Removed | | `ToggleSmall` | Removed | | `ToggleSmallSkeleton` | Removed | @@ -1056,6 +1056,26 @@ ToastNotification` updates: - The `closeOnEscape` prop toggles the closing of notifications via the `escape` key. +### Toggle + +The toggle component has been updated to improve its accessibility, rtl +compatibility and flexibility to layout. + +- The underlying element has been changed from a checkbox + (``) to a switch button (``). + - `props.onChange` has been removed since it's not available on `` + elements. + - `props.onClick` has been added to substitute the previous `onChange` event. +- `props['aria-label']` is no longer required. + - `props.labelText` will always be available to screen readers without the use + of `aria-label`. + - If `props['aria-label']` is still passed, it will be emitted on the + `` element. +- `props.hideLabel` has been added. This hides `labelA` and `labelB` while + moving `labelText` to the side for height-restricted layouts. +- `props.labelA` and `props.labelB` have been made optional and default to "Off" + and "On" respectively. + ### Tabs ### Tooltips diff --git a/packages/carbon-react/.storybook/preview.js b/packages/carbon-react/.storybook/preview.js index 25319807bd36..0e28a0c5e790 100644 --- a/packages/carbon-react/.storybook/preview.js +++ b/packages/carbon-react/.storybook/preview.js @@ -11,7 +11,7 @@ import { configureActions } from '@storybook/addon-actions'; import { white, g10, g90, g100 } from '@carbon/themes'; import React from 'react'; import { breakpoints } from '@carbon/layout'; -import { unstable_ThemeContext as ThemeContext } from '../src'; +import { ThemeContext } from '../src'; import { addParameters } from '@storybook/react'; export const globalTypes = { diff --git a/packages/carbon-react/__tests__/index-test.js b/packages/carbon-react/__tests__/index-test.js index edbd0fb71a99..175da5c22757 100644 --- a/packages/carbon-react/__tests__/index-test.js +++ b/packages/carbon-react/__tests__/index-test.js @@ -80,6 +80,7 @@ describe('Carbon Components React', () => { "Heading", "IconButton", "IconSkeleton", + "IconTab", "InlineLoading", "InlineNotification", "Layer", @@ -106,6 +107,7 @@ describe('Carbon Components React', () => { "Popover", "PopoverContent", "PrimaryButton", + "ProgressBar", "ProgressIndicator", "ProgressIndicatorSkeleton", "ProgressStep", @@ -157,6 +159,9 @@ describe('Carbon Components React', () => { "SwitcherItem", "Tab", "TabContent", + "TabList", + "TabPanel", + "TabPanels", "Table", "TableActionList", "TableBatchAction", @@ -186,6 +191,7 @@ describe('Carbon Components React', () => { "TextInput", "TextInputSkeleton", "Theme", + "ThemeContext", "Tile", "TileAboveTheFoldContent", "TileBelowTheFoldContent", @@ -206,7 +212,6 @@ describe('Carbon Components React', () => { "Tooltip", "UnorderedList", "VStack", - "unstable_IconTab", "unstable_Menu", "unstable_MenuDivider", "unstable_MenuGroup", @@ -215,11 +220,6 @@ describe('Carbon Components React', () => { "unstable_MenuSelectableItem", "unstable_PageSelector", "unstable_Pagination", - "unstable_ProgressBar", - "unstable_TabList", - "unstable_TabPanel", - "unstable_TabPanels", - "unstable_ThemeContext", "unstable_TreeNode", "unstable_TreeView", "unstable_useContextMenu", diff --git a/packages/carbon-react/src/index.js b/packages/carbon-react/src/index.js index c1fc827e82ff..e6d4df4a0e81 100644 --- a/packages/carbon-react/src/index.js +++ b/packages/carbon-react/src/index.js @@ -187,7 +187,6 @@ export { Grid, Column, unstable_FlexGrid as FlexGrid, - // Experimental unstable_useContextMenu, unstable_FeatureFlags as FeatureFlags, unstable_Heading as Heading, @@ -204,14 +203,14 @@ export { unstable_Pagination, unstable_Popover as Popover, unstable_PopoverContent as PopoverContent, - unstable_ProgressBar, + unstable_ProgressBar as ProgressBar, unstable_Section as Section, unstable_Stack as Stack, - unstable_TabPanel, - unstable_TabPanels, - unstable_TabList, - unstable_IconTab, - unstable_ThemeContext, + unstable_TabPanel as TabPanel, + unstable_TabPanels as TabPanels, + unstable_TabList as TabList, + unstable_IconTab as IconTab, + unstable_ThemeContext as ThemeContext, unstable_Theme as Theme, unstable_Tooltip as Tooltip, unstable_DefinitionTooltip as DefinitionTooltip, diff --git a/packages/components/package.json b/packages/components/package.json index ac085f87a31a..50a767613e57 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -128,7 +128,7 @@ "html-loader": "^0.5.0", "jasmine-core": "^4.0.0", "karma": "^6.0.0", - "karma-chrome-launcher": "^2.2.0", + "karma-chrome-launcher": "^3.0.0", "karma-coverage": "^2.0.3", "karma-firefox-launcher": "^2.1.0", "karma-html2js-preprocessor": "^1.1.0", @@ -138,7 +138,7 @@ "karma-sourcemap-loader": "~0.3.7", "karma-spec-reporter": "0.0.33", "karma-webpack": "^3.0.0", - "lolex": "^3.0.0", + "lolex": "^5.0.0", "markdown-it": "^12.0.4", "minimatch": "^3.0.4", "mkdirp": "^0.5.0", diff --git a/packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap b/packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap index 066d79402c4b..f41cc69220fe 100644 --- a/packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap +++ b/packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap @@ -4532,6 +4532,7 @@ Map { "ariaLabel": "open and close list of options", "direction": "bottom", "flipped": false, + "focusTrap": true, "iconDescription": "open and close list of options", "light": false, "menuOffset": [Function], @@ -4569,6 +4570,9 @@ Map { "flipped": Object { "type": "bool", }, + "focusTrap": Object { + "type": "bool", + }, "iconClass": Object { "type": "string", }, diff --git a/packages/react/src/components/DataTable/__tests__/__snapshots__/DataTable-test.js.snap b/packages/react/src/components/DataTable/__tests__/__snapshots__/DataTable-test.js.snap index 0fadd38c2273..55dd06f74c80 100644 --- a/packages/react/src/components/DataTable/__tests__/__snapshots__/DataTable-test.js.snap +++ b/packages/react/src/components/DataTable/__tests__/__snapshots__/DataTable-test.js.snap @@ -2394,6 +2394,7 @@ exports[`DataTable should render 1`] = ` className="bx--toolbar-action bx--overflow-menu" direction="bottom" flipped={true} + focusTrap={true} iconDescription="Settings" light={false} menuOffset={[Function]} @@ -3381,6 +3382,7 @@ exports[`DataTable sticky header should render 1`] = ` className="bx--toolbar-action bx--overflow-menu" direction="bottom" flipped={true} + focusTrap={true} iconDescription="Settings" light={false} menuOffset={[Function]} diff --git a/packages/react/src/components/DataTable/__tests__/__snapshots__/TableToolbarMenu-test.js.snap b/packages/react/src/components/DataTable/__tests__/__snapshots__/TableToolbarMenu-test.js.snap index 66301ddaf821..215d91af38a5 100644 --- a/packages/react/src/components/DataTable/__tests__/__snapshots__/TableToolbarMenu-test.js.snap +++ b/packages/react/src/components/DataTable/__tests__/__snapshots__/TableToolbarMenu-test.js.snap @@ -16,6 +16,7 @@ exports[`DataTable.TableToolbarMenu should render 1`] = ` className="custom-class bx--toolbar-action bx--overflow-menu" direction="bottom" flipped={true} + focusTrap={true} iconDescription="Add" light={false} menuOffset={[Function]} diff --git a/packages/react/src/components/IconButton/next/IconButton.stories.js b/packages/react/src/components/IconButton/next/IconButton.stories.js index 8ba3cfe82012..fef8a3757d4d 100644 --- a/packages/react/src/components/IconButton/next/IconButton.stories.js +++ b/packages/react/src/components/IconButton/next/IconButton.stories.js @@ -10,7 +10,7 @@ import React from 'react'; import { IconButton } from '../'; export default { - title: 'Experimental/unstable_IconButton', + title: 'Components/IconButton', component: IconButton, parameters: { controls: { diff --git a/packages/react/src/components/OverflowMenu/OverflowMenu.js b/packages/react/src/components/OverflowMenu/OverflowMenu.js index f5dfbe99a169..ef4e871907ce 100644 --- a/packages/react/src/components/OverflowMenu/OverflowMenu.js +++ b/packages/react/src/components/OverflowMenu/OverflowMenu.js @@ -123,6 +123,11 @@ class OverflowMenu extends Component { */ flipped: PropTypes.bool, + /** + * Enable or disable focus trap behavior + */ + focusTrap: PropTypes.bool, + /** * The CSS class for the icon. */ @@ -234,6 +239,7 @@ class OverflowMenu extends Component { open: false, direction: DIRECTION_BOTTOM, flipped: false, + focusTrap: true, renderIcon: OverflowMenuVertical16, onClick: () => {}, onKeyDown: () => {}, @@ -461,6 +467,7 @@ class OverflowMenu extends Component { iconDescription, direction, flipped, + focusTrap, menuOffset, menuOffsetFlip, iconClass, @@ -528,7 +535,7 @@ class OverflowMenu extends Component { const wrappedMenuBody = ( `) to a switch button (``) | The switch button better resembles the toggle component from an accessibility standpoint: _"A type of checkbox that represents on/off values, as opposed to checked/unchecked values" (https://www.w3.org/TR/2017/REC-wai-aria-1.1-20171214/#switch)_ A toggle cannot present a mixed state which a checkbox can A switch button natively supports being toggled on Enter | -| `props['aria-label']` is no longer required | The new markup ensures `props.labelText` will always be available to screen readers without the use of `aria-label` | - -### New markup - -```html - - - - Toggle label - - On - - - -``` - -### Old markup - -```html - - - - Toggle label - - Off - On - - - -``` - -## Props - -| v7 | v11 | Note | -| :----------- | :---------- | :------------------------------------------------------------------------------------------- | -| `aria-label` | - | Removed. No longer required. If still passed, it will be emitted on the `` element. | -| - | `hideLabel` | New. Visually hides the label above the toggle while keeping it available to screen readers. | -| `onChange` | - | Removed. Not available on `` elements. | -| - | `onClick` | New. To substitute previous `props.onChange`. | -| `labelA` | `labelA` | Made optional. Default: "Off". | -| `labelB` | `labelB` | Made optional. Default: "On". | diff --git a/packages/react/src/components/Tooltip/next/Tooltip.stories.js b/packages/react/src/components/Tooltip/next/Tooltip.stories.js index e0abfcda687d..0369d4d3a7c0 100644 --- a/packages/react/src/components/Tooltip/next/Tooltip.stories.js +++ b/packages/react/src/components/Tooltip/next/Tooltip.stories.js @@ -13,7 +13,7 @@ import { Tooltip } from '../next'; import { DefinitionTooltip } from './DefinitionTooltip.js'; export default { - title: 'Experimental/unstable_Tooltip', + title: 'Components/Tooltip', component: Tooltip, parameters: { controls: { diff --git a/yarn.lock b/yarn.lock index 75bfb306a3c7..4ea6cb915a52 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2792,14 +2792,14 @@ __metadata: languageName: node linkType: hard -"@es-joy/jsdoccomment@npm:0.10.2": - version: 0.10.2 - resolution: "@es-joy/jsdoccomment@npm:0.10.2" +"@es-joy/jsdoccomment@npm:~0.20.1": + version: 0.20.1 + resolution: "@es-joy/jsdoccomment@npm:0.20.1" dependencies: - comment-parser: 1.2.1 + comment-parser: 1.3.0 esquery: ^1.4.0 - jsdoc-type-pratt-parser: 1.0.4 - checksum: 5790d13b74cdc647ea2e3e7df7b7c593ed69d86682aecf54db6da5644c82f360867961579e4e85fbf648d6ccf286279f4adb4cafb355996c93e2dd2839ccf0d8 + jsdoc-type-pratt-parser: ~2.2.3 + checksum: b64afeaddccbc8da185c640e608496f6d6f8ee564c6255cdb44b16e00fe441e1f0552b5748033df2baf42187cfbfa9f31c46716982945d4343f8eaf44e253087 languageName: node linkType: hard @@ -11980,7 +11980,7 @@ __metadata: html-loader: ^0.5.0 jasmine-core: ^4.0.0 karma: ^6.0.0 - karma-chrome-launcher: ^2.2.0 + karma-chrome-launcher: ^3.0.0 karma-coverage: ^2.0.3 karma-firefox-launcher: ^2.1.0 karma-html2js-preprocessor: ^1.1.0 @@ -11991,7 +11991,7 @@ __metadata: karma-spec-reporter: 0.0.33 karma-webpack: ^3.0.0 lodash.debounce: ^4.0.8 - lolex: ^3.0.0 + lolex: ^5.0.0 markdown-it: ^12.0.4 minimatch: ^3.0.4 mkdirp: ^0.5.0 @@ -13159,10 +13159,10 @@ __metadata: languageName: node linkType: hard -"comment-parser@npm:1.2.1": - version: 1.2.1 - resolution: "comment-parser@npm:1.2.1" - checksum: 3057a7304c6a06148e7aeae79db7b8dc326ba80c4caf1ed41ab30bdc2d55191d2d65a9c2b5370a6c86f89d95d502013c64a8c691d681b22860fc8a7fcb2d8a3a +"comment-parser@npm:1.3.0": + version: 1.3.0 + resolution: "comment-parser@npm:1.3.0" + checksum: e7b41b8a5f3d8b974e5b4bd8796acd41ec6635989f2a402bbf13098ad459c0598275a7b75b98d29c48d8f0b340a828d1a5d6948c8cf65ab41ae7e00040fb082a languageName: node linkType: hard @@ -16737,7 +16737,7 @@ __metadata: eslint-plugin-cypress: ^2.11.3 eslint-plugin-import: ^2.23.4 eslint-plugin-jest: ^26.0.0 - eslint-plugin-jsdoc: ^36.0.3 + eslint-plugin-jsdoc: ^37.0.0 eslint-plugin-jsx-a11y: ^6.4.1 eslint-plugin-prettier: ^3.4.0 eslint-plugin-react: ^7.24.0 @@ -16888,22 +16888,21 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-jsdoc@npm:^36.0.3": - version: 36.0.3 - resolution: "eslint-plugin-jsdoc@npm:36.0.3" +"eslint-plugin-jsdoc@npm:^37.0.0": + version: 37.9.4 + resolution: "eslint-plugin-jsdoc@npm:37.9.4" dependencies: - "@es-joy/jsdoccomment": 0.10.2 - comment-parser: 1.2.1 - debug: ^4.3.2 + "@es-joy/jsdoccomment": ~0.20.1 + comment-parser: 1.3.0 + debug: ^4.3.3 + escape-string-regexp: ^4.0.0 esquery: ^1.4.0 - jsdoc-type-pratt-parser: ^1.0.4 - lodash: ^4.17.21 regextras: ^0.8.0 semver: ^7.3.5 spdx-expression-parse: ^3.0.1 peerDependencies: - eslint: ^6.0.0 || ^7.0.0 - checksum: f15e1d2e1e4b5e5e3c09597e2866976c3cb4e71329c8eed3522f4fbff430d89942b6a752b37875e4fc772ffddc87609e7090a5e92f9fcbcc8ed8dba8e76d06ed + eslint: ^7.0.0 || ^8.0.0 + checksum: 1e338f03020b2efab6077c91f2a8c251f1ee8be4a2299fa49db84ecb1f8f1e362be2d005ac7b9d9ceff5596bd7c0a9a5ed816edb8b3e904ed3edb0aab8b88799 languageName: node linkType: hard @@ -18634,15 +18633,6 @@ __metadata: languageName: node linkType: hard -"fs-access@npm:^1.0.0": - version: 1.0.1 - resolution: "fs-access@npm:1.0.1" - dependencies: - null-check: ^1.0.0 - checksum: 6792b115a5fc5095b3dbc42ea329afff372e0056fde8214a5b0c9c7559806378db9316660bac1682b295cc576bab3c19571f50f8a39ab4605c3d194bee0087c9 - languageName: node - linkType: hard - "fs-constants@npm:^1.0.0": version: 1.0.0 resolution: "fs-constants@npm:1.0.0" @@ -23511,17 +23501,10 @@ __metadata: languageName: node linkType: hard -"jsdoc-type-pratt-parser@npm:1.0.4": - version: 1.0.4 - resolution: "jsdoc-type-pratt-parser@npm:1.0.4" - checksum: f80df71fc5d90714a035283136485c518dca74f1aa263e66d7ea79d563dd04fe73602156a6683f32a6218bc9d0d15d1a767a7d3e8b67227ec663183296250330 - languageName: node - linkType: hard - -"jsdoc-type-pratt-parser@npm:^1.0.4": - version: 1.0.8 - resolution: "jsdoc-type-pratt-parser@npm:1.0.8" - checksum: 21f8c08918c885df70cad4e8c625351e3bcea6d1c918d438fb02f5aaf274d4cd3309899216985df044462bf3d1e1d4a391dff8a23fc5c75da36ecb586d4385b4 +"jsdoc-type-pratt-parser@npm:~2.2.3": + version: 2.2.3 + resolution: "jsdoc-type-pratt-parser@npm:2.2.3" + checksum: 202a6c1f884234f0927fea82648f2401c24477231e127f28cdf4f5e169ca37535e694379eb440c627f7032504b5225155d8113a67499bec07cf8ce131265f1ed languageName: node linkType: hard @@ -23884,13 +23867,12 @@ __metadata: languageName: node linkType: hard -"karma-chrome-launcher@npm:^2.2.0": - version: 2.2.0 - resolution: "karma-chrome-launcher@npm:2.2.0" +"karma-chrome-launcher@npm:^3.0.0": + version: 3.1.0 + resolution: "karma-chrome-launcher@npm:3.1.0" dependencies: - fs-access: ^1.0.0 which: ^1.2.1 - checksum: 08f319ad51c70016f5f6a7c38f32cdb85a1c1bb03b6c440830b09a0e097cce87c1bd52879acbfbd613181e07f5d26ca2c1645b8f0072528ce542bf557aa00321 + checksum: 63431ddec9aa40e2a0439d9e2bcfa58a6822efd08e2666bdbc3f55dfbe8fcc0b401035b71b1f6f21340339dc56c172edaed8e8c0ddc6949873318ad1666b2dd9 languageName: node linkType: hard @@ -25176,14 +25158,7 @@ __metadata: languageName: node linkType: hard -"lolex@npm:^3.0.0": - version: 3.1.0 - resolution: "lolex@npm:3.1.0" - checksum: 7fa8d5b4c0c20adbc8990203af5305ffb9f42bd53fd92fe141ac3ca2e583ee7595a98abe2adb7decf8341f6729f7a8be7097d568e5429a078c121f8ca79de541 - languageName: node - linkType: hard - -"lolex@npm:^5.0.1": +"lolex@npm:^5.0.0, lolex@npm:^5.0.1": version: 5.1.2 resolution: "lolex@npm:5.1.2" dependencies: @@ -27480,13 +27455,6 @@ __metadata: languageName: node linkType: hard -"null-check@npm:^1.0.0": - version: 1.0.0 - resolution: "null-check@npm:1.0.0" - checksum: 6569fb2d74399e436eb4b05c7fdd341f22e87f3e0598a97309681073a364d6684997100cd329f2107d149663c506b2bfa47a0afdff23739ac1ba6ca5c4c6aa19 - languageName: node - linkType: hard - "num2fraction@npm:^1.2.2": version: 1.2.2 resolution: "num2fraction@npm:1.2.2"