Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency sweep #1214

Merged
merged 5 commits into from
May 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const config = {
configFile: true
}
}
}, '@storybook/addon-a11y', '@storybook/addon-actions', '@storybook/addon-backgrounds', '@storybook/addon-controls', '@storybook/addon-links', '@storybook/addon-storysource', '@storybook/addon-mdx-gfm', '@storybook/addon-webpack5-compiler-babel', ({
}, '@storybook/addon-a11y', '@storybook/addon-actions', '@storybook/addon-backgrounds', '@storybook/addon-controls', '@storybook/addon-links', '@storybook/addon-storysource', '@storybook/addon-webpack5-compiler-babel', ({
name: "@storybook/addon-styling-webpack",

options: {
Expand Down
2 changes: 1 addition & 1 deletion .storybook/manager.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { addons } from '@storybook/addons';
import { addons } from '@storybook/manager-api';

import userInterviewsTheme from './user-interviews-theme';

Expand Down
135 changes: 67 additions & 68 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@
"@tiptap/pm": "^2.0.3",
"@tiptap/react": "^2.0.3",
"@tiptap/suggestion": "^2.1.13",
"react-bootstrap": "^2.5.0",
"react-currency-input-field": "^3.6.10",
"react-loading-skeleton": "^3.1.0",
"react-router-dom": "^5.2.0",
"react-select": "^5.0.0",
"react-bootstrap": "^2.10.2",
"react-currency-input-field": "^3.8.0",
"react-loading-skeleton": "^3.4.0",
"react-router-dom": "^5.3.4",
"react-select": "^5.8.0",
"react-toggle": "^4.1.3",
"react-transition-group": "^4.3.0",
"sanitize-html": "^2.12.1",
"react-transition-group": "^4.4.5",
"sanitize-html": "^2.13.0",
"tippy.js": "^6.3.7",
"uuid": "^7.0.2"
"uuid": "^7.0.3"
},
"scripts": {
"build": "NODE_ENV=production babel src --out-dir lib --copy-files --extensions '.js,.jsx,.ts,.tsx' && tsc",
Expand Down Expand Up @@ -76,86 +76,85 @@
"react-tracking": "^9.3"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.4",
"@babel/cli": "^7.24.5",
"@babel/core": "^7.24.5",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.8.3",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@babel/plugin-proposal-private-property-in-object": "^7.21.0",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/preset-env": "^7.8.4",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@babel/plugin-transform-runtime": "^7.24.3",
"@babel/preset-env": "^7.24.5",
"@babel/preset-react": "^7.24.1",
"@babel/preset-typescript": "^7.22.5",
"@babel/runtime": "^7.12.5",
"@fortawesome/fontawesome-svg-core": "^1.2.28",
"@fortawesome/free-brands-svg-icons": "^5.15.3",
"@fortawesome/pro-regular-svg-icons": "^6.4.0",
"@fortawesome/pro-solid-svg-icons": "^6.4.0",
"@babel/preset-typescript": "^7.24.1",
"@babel/runtime": "^7.24.5",
"@fortawesome/fontawesome-svg-core": "^6.5.2",
"@fortawesome/free-brands-svg-icons": "^6.5.2",
"@fortawesome/pro-regular-svg-icons": "^6.5.2",
"@fortawesome/pro-solid-svg-icons": "^6.5.2",
"@fortawesome/react-fontawesome": "^0.2.0",
"@popperjs/core": "^2.5.3",
"@storybook/addon-a11y": "^8.0.5",
"@storybook/addon-actions": "^8.0.5",
"@storybook/addon-backgrounds": "^8.0.5",
"@storybook/addon-controls": "^8.0.5",
"@storybook/addon-docs": "^8.0.5",
"@storybook/addon-jest": "^8.0.5",
"@storybook/addon-links": "^8.0.5",
"@storybook/addon-mdx-gfm": "^8.0.5",
"@storybook/addon-storysource": "^8.0.5",
"@popperjs/core": "^2.11.8",
"@storybook/addon-a11y": "^8.0.9",
"@storybook/addon-actions": "^8.0.9",
"@storybook/addon-backgrounds": "^8.0.9",
"@storybook/addon-controls": "^8.0.9",
"@storybook/addon-docs": "^8.0.9",
"@storybook/addon-jest": "^8.0.9",
"@storybook/addon-links": "^8.0.9",
"@storybook/addon-storysource": "^8.0.9",
"@storybook/addon-styling-webpack": "^1.0.0",
"@storybook/addon-webpack5-compiler-babel": "^3.0.3",
"@storybook/addons": "^7.6.17",
"@storybook/react": "^8.0.5",
"@storybook/react-webpack5": "^8.0.5",
"@testing-library/dom": "^9.3.4",
"@testing-library/jest-dom": "^6.1.3",
"@testing-library/react": "^14.2.2",
"@testing-library/react-hooks": "^3.2.1",
"@storybook/react": "^8.0.9",
"@storybook/react-webpack5": "^8.0.9",
"@testing-library/dom": "^10.1.0",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/react": "^15.0.6",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.5",
"@types/react-dom": "^16.0.0",
"@types/jest": "^29.5.12",
"@types/react-dom": "^18.3.0",
"@types/react-toggle": "^4",
"@types/testing-library__jest-dom": "^6.0.0",
"@typescript-eslint/eslint-plugin": "^6.21",
"@typescript-eslint/parser": "^6.21",
"babel-eslint": "^10.0.3",
"babel-jest": "^27.4.6",
"babel-loader": "^8.0.6",
"babel-plugin-module-resolver": "^5.0.0",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^29.7.0",
"babel-loader": "^9.1.3",
"babel-plugin-module-resolver": "^5.0.2",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"babel-preset-react": "^6.24.1",
"bootstrap": "5.1",
"chromatic": "^6.7.0",
"classnames": "^2.2.5",
"css-loader": "^6.8.1",
"bootstrap": "5.1.3",
"chromatic": "^6.24.1",
"classnames": "^2.5.1",
"css-loader": "^6.11.0",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-plugin-babel": "^5.3.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-flowtype": "^4.7.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.18.3",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-utils": "^1.4.3",
"file-loader": "^6.2.0",
"jest": "^27.4.6",
"jest-css-modules-transform": "^4.3.0",
"jest": "^29.7.0",
"jest-css-modules-transform": "^4.4.2",
"jest-environment-jsdom": "^29.7.0",
"node-sass": "^9.0.0",
"nodemon": "^3.0.1",
"prop-types": "^15.6.1",
"react": "^18.2.0",
"react-copy-to-clipboard": "^5.0.2",
"nodemon": "^3.1.0",
"prop-types": "^15.8.1",
"react": "^18.3.1",
"react-copy-to-clipboard": "^5.1.0",
"react-dom": "^18.3.1",
"react-modal": "^3.12.1",
"react-popper": "^2.2.3",
"react-test-renderer": "^18.0.2",
"react-tracking": "^9.3",
"react-modal": "^3.16.1",
"react-popper": "^2.3.0",
"react-test-renderer": "^18.3.1",
"react-tracking": "^9.3.2",
"sass-loader": "^14.2.1",
"storybook": "^8.0.5",
"storybook": "^8.0.9",
"storybook-addon-designs": "6.3.1",
"style-loader": "^1.1.3",
"style-loader": "^1.3.0",
"typescript": "^4.9.5",
"webpack": "^5.80.0",
"webpack": "^5.91.0",
"yalc": "^1.0.0-pre.53"
},
"resolutions": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ exports[`<RichTextEditor /> renders snapshot 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L489.3 358.2l91-91c56.2-56.2 56.2-147.3 0-203.5C526.8 10.2 440.9 7.3 383.9 57.2l-6.1 5.4c-10 8.7-11 23.9-2.3 33.9s23.9 11 33.9 2.3l6.1-5.4c38-33.2 95.2-31.3 130.9 4.4c37.4 37.4 37.4 98.1 0 135.6l-95.1 95.1-45.5-35.7c24.2-53.3 14.1-117.9-29.3-161.3c-52.1-52.1-134.4-55.9-190.8-11.2L38.8 5.1zm186.3 146c36.9-22.3 85.6-17.6 117.4 14.3c26 26 34 63.3 23.7 96.4L225.1 151.1zM406.9 416.6l-54.2-42.7c-20.2-2.7-39.7-11.7-55.2-27.3c-9.8-9.8-17-21.2-21.7-33.3l-54.2-42.7c-2.2 39.6 11.9 79.9 41.9 109.9c38.8 38.8 94.2 50.8 143.4 36zM116.6 187.9L59.7 244.8C3.5 301 3.5 392.1 59.7 448.2c53.6 53.6 139.5 56.4 196.5 6.5l6.1-5.4c10-8.7 11-23.9 2.3-33.9s-23.9-11-33.9-2.3l-6.1 5.4c-38 33.2-95.2 31.3-130.9-4.4c-37.4-37.4-37.4-98.1 0-135.6l60.9-60.9-38-29.9z"
d="M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L489.3 358.2l91-91c56.2-56.2 56.2-147.3 0-203.5C526.8 10.2 440.9 7.3 383.9 57.2l-6.1 5.4c-10 8.7-11 23.9-2.3 33.9s23.9 11 33.9 2.3l6.1-5.4c38-33.2 95.2-31.3 130.9 4.4c37.4 37.4 37.4 98.1 0 135.6l-95.1 95.1-45.5-35.7c24.2-53.3 14.1-117.9-29.3-161.3c-52.1-52.1-134.4-55.9-190.8-11.2L38.8 5.1zm186.3 146c36.9-22.3 85.6-17.6 117.4 14.3c26 26 34 63.3 23.7 96.4L225.1 151.1zM352.6 373.8c-20.2-2.7-39.7-11.7-55.2-27.3c-9.8-9.8-17-21.2-21.7-33.3l-54.2-42.7c-2.2 39.6 11.9 79.9 41.9 109.9c38.8 38.8 94.2 50.8 143.4 36l-54.2-42.7zm-236-186L59.7 244.8C3.5 301 3.5 392.1 59.7 448.2c53.6 53.6 139.5 56.4 196.5 6.5l6.1-5.4c10-8.7 11-23.9 2.3-33.9s-23.9-11-33.9-2.3l-6.1 5.4c-38 33.2-95.2 31.3-130.9-4.4c-37.4-37.4-37.4-98.1 0-135.6l60.9-60.9-38-29.9z"
fill="currentColor"
/>
</svg>
Expand Down
8 changes: 6 additions & 2 deletions src/Tabs/__snapshots__/Tabs.test.tsx.snap
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Tabs controlled tabs renders the expected snapshot 1`] = `
Object {
{
"asFragment": [Function],
"baseElement": <body>
<div>
<ul
class="nav nav-tabs"
id="tabID"
role="tablist"
>
<li
Expand Down Expand Up @@ -95,6 +96,7 @@ Object {
"container": <div>
<ul
class="nav nav-tabs"
id="tabID"
role="tablist"
>
<li
Expand Down Expand Up @@ -234,12 +236,13 @@ Object {
`;

exports[`Tabs uncontrolled tabs renders the expected snapshot 1`] = `
Object {
{
"asFragment": [Function],
"baseElement": <body>
<div>
<ul
class="nav nav-tabs"
id="tabID"
role="tablist"
>
<li
Expand Down Expand Up @@ -328,6 +331,7 @@ Object {
"container": <div>
<ul
class="nav nav-tabs"
id="tabID"
role="tablist"
>
<li
Expand Down
22 changes: 11 additions & 11 deletions src/Toast/__snapshots__/withToast.test.jsx.snap
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`test withToast it can create a new Toast message 1`] = `
Array [
[
<div
className="Alert Alert-success"
style={null}
Expand All @@ -20,25 +20,25 @@ Array [
focusable="false"
role="img"
style={
Object {
{
"transformOrigin": "0.5em 0.5em",
}
}
viewBox="0 0 512 512"
xmlns="http://www.w3.org/2000/svg"
>
<g
style={Object {}}
style={{}}
transform="translate(256 256)"
>
<g
style={Object {}}
style={{}}
transform="translate(0, 0) scale(1.5, 1.5) rotate(0 0 0)"
>
<path
d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512z"
fill="currentColor"
style={Object {}}
style={{}}
transform="translate(-256 -256)"
/>
</g>
Expand All @@ -52,25 +52,25 @@ Array [
focusable="false"
role="img"
style={
Object {
{
"transformOrigin": "0.4375em 0.5em",
}
}
viewBox="0 0 448 512"
xmlns="http://www.w3.org/2000/svg"
>
<g
style={Object {}}
style={{}}
transform="translate(224 256)"
>
<g
style={Object {}}
style={{}}
transform="translate(0, 0) scale(0.75, 0.75) rotate(0 0 0)"
>
<path
d="M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"
fill="currentColor"
style={Object {}}
style={{}}
transform="translate(-224 -256)"
/>
</g>
Expand Down Expand Up @@ -103,14 +103,14 @@ Array [
data-prefix="fas"
focusable="false"
role="img"
style={Object {}}
style={{}}
viewBox="0 0 384 512"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"
fill="currentColor"
style={Object {}}
style={{}}
/>
</svg>
</button>
Expand Down
Loading