Skip to content

Commit

Permalink
fix some type issues
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger authored and clintandrewhall committed Sep 21, 2022
1 parent 6f3858c commit 1a4e525
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 6 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,8 @@
"@storybook/node-logger": "^6.5.11",
"@storybook/preview-web": "^6.5.11",
"@storybook/react": "^6.5.11",
"@storybook/testing-react": "^1.2.4",
"@storybook/react-docgen-typescript-plugin": "^1.0.1",
"@storybook/testing-react": "^1.3.0",
"@storybook/theming": "^6.5.11",
"@testing-library/dom": "^8.12.0",
"@testing-library/jest-dom": "^5.16.3",
Expand Down Expand Up @@ -1363,6 +1364,7 @@
"q": "^1.5.1",
"raw-loader": "^3.1.0",
"react-test-renderer": "^17.0.2",
"react-textarea-autosize": "^8.3.4",
"regenerate": "^1.4.0",
"resolve": "^1.22.0",
"rxjs-marbles": "^7.0.1",
Expand Down
5 changes: 5 additions & 0 deletions packages/kbn-ambient-storybook-types/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ NPM_MODULE_EXTRA_FILES = [
# "@npm//name-of-package"
# eg. "@npm//lodash"
RUNTIME_DEPS = [
# Storybook react doesn't depend on these types even though their types use
# them, so we depend on them in this package and import them to make sure that they
# are available to users of the ambient types
"@npm//react-textarea-autosize",
"@npm//@storybook/react-docgen-typescript-plugin",
]

js_library(
Expand Down
32 changes: 27 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5484,6 +5484,19 @@
react-docgen-typescript "^2.1.1"
tslib "^2.0.0"

"@storybook/react-docgen-typescript-plugin@^1.0.1":
version "1.0.1"
resolved "https://registry.yarnpkg.com/@storybook/react-docgen-typescript-plugin/-/react-docgen-typescript-plugin-1.0.1.tgz#d4c94b1863036128e85e625c4ab888169be89f27"
integrity sha512-dqbHa+5gaxaklFCuV1WTvljVPTo3QIJgpW4Ln+QeME7osPZUnUhjN2/djvo+sxrWUrTTuqX5jkn291aDngu9Tw==
dependencies:
debug "^4.1.1"
endent "^2.0.1"
find-cache-dir "^3.3.1"
flat-cache "^3.0.4"
micromatch "^4.0.2"
react-docgen-typescript "^2.0.0"
tslib "^2.0.0"

"@storybook/react@^6.5.11":
version "6.5.12"
resolved "https://registry.yarnpkg.com/@storybook/react/-/react-6.5.12.tgz#0c6b02a583f478ace6cd957a358d84a728a8d232"
Expand Down Expand Up @@ -5599,10 +5612,10 @@
read-pkg-up "^7.0.1"
regenerator-runtime "^0.13.7"

"@storybook/testing-react@^1.2.4":
version "1.2.4"
resolved "https://registry.yarnpkg.com/@storybook/testing-react/-/testing-react-1.2.4.tgz#2cc8bf6685e358e8c570a9d823dacecb5995ef37"
integrity sha512-qkyXpE66zp0iyfhdiMV2jxNF32SWXW8vOo+rqLHg29Vg/ssor+G7o+wgWkGP9PaID6pTMstzotVSp/mUa3oN3w==
"@storybook/testing-react@^1.3.0":
version "1.3.0"
resolved "https://registry.yarnpkg.com/@storybook/testing-react/-/testing-react-1.3.0.tgz#cd69cae6f48b337ee992520e142c7904cb0bbea7"
integrity sha512-TfxzflxwBHSPhetWKuYt239t+1iN8gnnUN8OKo5UGtwwirghKQlApjH23QXW6j8YBqFhmq+yP29Oqf8HgKCFLw==
dependencies:
"@storybook/csf" "0.0.2--canary.87bc651.0"

Expand Down Expand Up @@ -23126,7 +23139,7 @@ react-colorful@^5.1.2:
resolved "https://registry.yarnpkg.com/react-colorful/-/react-colorful-5.5.1.tgz#29d9c4e496f2ca784dd2bb5053a3a4340cfaf784"
integrity sha512-M1TJH2X3RXEt12sWkpa6hLc/bbYS0H6F4rIqjQZ+RxNBstpY67d9TrFXtqdZwhpmBXcCwEi7stKqFue3ZRkiOg==

react-docgen-typescript@^2.1.1:
react-docgen-typescript@^2.0.0, react-docgen-typescript@^2.1.1:
version "2.2.2"
resolved "https://registry.yarnpkg.com/react-docgen-typescript/-/react-docgen-typescript-2.2.2.tgz#4611055e569edc071204aadb20e1c93e1ab1659c"
integrity sha512-tvg2ZtOpOi6QDwsb3GZhOjDkkX0h8Z2gipvTg6OVMUyoYoURhEiRNePT8NZItTVCDh39JJHnLdfCOkzoLbFnTg==
Expand Down Expand Up @@ -23533,6 +23546,15 @@ react-syntax-highlighter@^15.3.1:
react-shallow-renderer "^16.13.1"
scheduler "^0.20.2"

react-textarea-autosize@^8.3.4:
version "8.3.4"
resolved "https://registry.yarnpkg.com/react-textarea-autosize/-/react-textarea-autosize-8.3.4.tgz#270a343de7ad350534141b02c9cb78903e553524"
integrity sha512-CdtmP8Dc19xL8/R6sWvtknD/eCXkQr30dtvC4VmGInhRsfF8X/ihXCq6+9l9qbxmKRiq407/7z5fxE7cVWQNgQ==
dependencies:
"@babel/runtime" "^7.10.2"
use-composed-ref "^1.3.0"
use-latest "^1.2.1"

react-tiny-virtual-list@^2.2.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/react-tiny-virtual-list/-/react-tiny-virtual-list-2.2.0.tgz#eafb6fcf764e4ed41150ff9752cdaad8b35edf4a"
Expand Down

0 comments on commit 1a4e525

Please sign in to comment.