diff --git a/docs/package.json b/docs/package.json index 6247633f62..7d0fe17a51 100644 --- a/docs/package.json +++ b/docs/package.json @@ -16,6 +16,7 @@ "prepare": "patch-package" }, "dependencies": { + "@callstack/react-theme-provider": "^3.0.9", "@docusaurus/core": "^2.3.1", "@docusaurus/preset-classic": "^2.3.1", "@docusaurus/remark-plugin-npm2yarn": "^2.3.1", @@ -32,7 +33,8 @@ "react-dom": "17.0.2", "react-native-safe-area-context": "^4.5.0", "react-native-vector-icons": "^9.2.0", - "react-native-web": "^0.18.12" + "react-native-web": "^0.18.12", + "use-latest-callback": "^0.1.7" }, "devDependencies": { "@docusaurus/module-type-aliases": "^2.3.1", diff --git a/docs/src/components/Showcase.tsx b/docs/src/components/Showcase.tsx index 1da7a8bc39..09cecf22e8 100644 --- a/docs/src/components/Showcase.tsx +++ b/docs/src/components/Showcase.tsx @@ -25,9 +25,17 @@ const data: Data[] = [ ios: 'https://apps.apple.com/app/react-native-paper/id1548934513', github: 'https://github.com/callstack/react-native-paper/tree/main/example', }, + { + color: '#2979FF', + name: 'Bluebirding', + image: '/react-native-paper/showcase/bluebirding.png', + android: + 'https://play.google.com/store/apps/details?id=com.bitzllc.bluebird', + ios: 'https://apps.apple.com/us/app/bluebirding/id1553837668', + }, { color: '#696AC3', - name: 'Weather Forecast ', + name: 'Weather Forecast', image: '/react-native-paper/showcase/weatherforecast.png', android: 'https://play.google.com/store/apps/details?id=com.rehankhalil462.WeatherApp', diff --git a/docs/static/showcase/bluebirding.png b/docs/static/showcase/bluebirding.png new file mode 100644 index 0000000000..909b14384d Binary files /dev/null and b/docs/static/showcase/bluebirding.png differ diff --git a/docs/yarn.lock b/docs/yarn.lock index b0d7cdac8b..4f4171aa9c 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -1386,6 +1386,14 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== +"@callstack/react-theme-provider@^3.0.9": + version "3.0.9" + resolved "https://registry.yarnpkg.com/@callstack/react-theme-provider/-/react-theme-provider-3.0.9.tgz#01035fa1231f1fffc1a806be1b55eb82716e80c1" + integrity sha512-tTQ0uDSCL0ypeMa8T/E9wAZRGKWj8kXP7+6RYgPTfOPs9N07C9xM8P02GJ3feETap4Ux5S69D9nteq9mEj86NA== + dependencies: + deepmerge "^3.2.0" + hoist-non-react-statics "^3.3.0" + "@cnakazawa/watch@^1.0.3": version "1.0.4" resolved "https://registry.yarnpkg.com/@cnakazawa/watch/-/watch-1.0.4.tgz#f864ae85004d0fcab6f50be9141c4da368d1656a" @@ -4379,6 +4387,11 @@ deep-extend@^0.6.0: resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" integrity sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA== +deepmerge@^3.2.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-3.3.0.tgz#d3c47fd6f3a93d517b14426b0628a17b0125f5f7" + integrity sha512-GRQOafGHwMHpjPx9iCvTgpu9NojZ49q794EEL94JVEw6VaeA8XTUyBKvAkOOjBX9oJNiV6G3P+T+tihFjo2TqA== + deepmerge@^4.2.2: version "4.2.2" resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" @@ -5708,7 +5721,7 @@ history@^5.0.0: dependencies: "@babel/runtime" "^7.7.6" -hoist-non-react-statics@^3.1.0: +hoist-non-react-statics@^3.1.0, hoist-non-react-statics@^3.3.0: version "3.3.2" resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45" integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw== @@ -10087,6 +10100,11 @@ use-isomorphic-layout-effect@^1.1.1: resolved "https://registry.yarnpkg.com/use-isomorphic-layout-effect/-/use-isomorphic-layout-effect-1.1.2.tgz#497cefb13d863d687b08477d9e5a164ad8c1a6fb" integrity sha512-49L8yCO3iGT/ZF9QttjwLF/ZD9Iwto5LnH5LmEdk/6cFmXddqi2ulF0edxTwjj+7mqvpVVGQWvbXZdn32wRSHA== +use-latest-callback@^0.1.7: + version "0.1.7" + resolved "https://registry.yarnpkg.com/use-latest-callback/-/use-latest-callback-0.1.7.tgz#f189fa4e58ee18c7a2d9de53f92210e118d1b14f" + integrity sha512-Hlrl0lskgZZpo2vIpZ4rA7qA/rAGn2PcDvDH1M47AogqMPB0qlGEdsa66AVkIUiEEDpfxA9/N6hY6MqtaNoqWA== + use-latest@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/use-latest/-/use-latest-1.2.1.tgz#d13dfb4b08c28e3e33991546a2cee53e14038cf2"