From 265ba9b331634f577e696a13cf8f7db67bb8fec2 Mon Sep 17 00:00:00 2001 From: googlemaps-bot Date: Mon, 6 May 2024 04:21:25 +0000 Subject: [PATCH] chore(deps-dev): bump react and @types/react (#817) Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) and [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react). These dependencies needed to be updated together. Updates `react` from 18.2.0 to 18.3.1 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v18.3.1/packages/react) Updates `@types/react` from 18.2.73 to 18.3.1 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) --- updated-dependencies: - dependency-name: react dependency-type: direct:development update-type: version-update:semver-minor - dependency-name: "@types/react" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 92f2ccfb160effa2ef2f7317f05b96131e3db114 --- enums/Status.html | 4 ++-- functions/Wrapper.html | 2 +- interfaces/WrapperProps.html | 8 ++++---- public/basic/basic.js | 2 +- public/basic/index.html | 2 +- public/basic/{vendor-d40ced39.js => vendor-0221873d.js} | 3 ++- 6 files changed, 11 insertions(+), 10 deletions(-) rename public/basic/{vendor-d40ced39.js => vendor-0221873d.js} (99%) diff --git a/enums/Status.html b/enums/Status.html index 449b2312..02e55750 100644 --- a/enums/Status.html +++ b/enums/Status.html @@ -1,4 +1,4 @@ -Status | @googlemaps/react-wrapper

Enumeration Members

FAILURE +Status | @googlemaps/react-wrapper

Enumeration Members

Enumeration Members

FAILURE: "FAILURE"
LOADING: "LOADING"
SUCCESS: "SUCCESS"
\ No newline at end of file +

Enumeration Members

FAILURE: "FAILURE"
LOADING: "LOADING"
SUCCESS: "SUCCESS"
\ No newline at end of file diff --git a/functions/Wrapper.html b/functions/Wrapper.html index fb0a9aec..2a2ffc1a 100644 --- a/functions/Wrapper.html +++ b/functions/Wrapper.html @@ -1,4 +1,4 @@ Wrapper | @googlemaps/react-wrapper
  • A component to wrap the loading of the Google Maps JavaScript API.

    import { Wrapper } from '@googlemaps/react-wrapper';

    const MyApp = () => (
    <Wrapper apiKey={'YOUR_API_KEY'}>
    <MyMapComponent />
    </Wrapper>
    );
    -

    Parameters

    Returns ReactElement<any, string | JSXElementConstructor<any>>

\ No newline at end of file +

Parameters

Returns ReactElement<any, string | JSXElementConstructor<any>>

\ No newline at end of file diff --git a/interfaces/WrapperProps.html b/interfaces/WrapperProps.html index d3374216..5a9fef51 100644 --- a/interfaces/WrapperProps.html +++ b/interfaces/WrapperProps.html @@ -3,11 +3,11 @@ See the reference documentation for LoaderOptions for a complete list of all props that are available.

-
interface WrapperProps {
    callback?: ((status, loader) => void);
    children?: ReactNode;
    render?: ((status) => ReactElement<any, string | JSXElementConstructor<any>>);
}

Hierarchy

  • LoaderOptions
    • WrapperProps

Properties

interface WrapperProps {
    callback?: ((status, loader) => void);
    children?: ReactNode;
    render?: ((status) => ReactElement<any, string | JSXElementConstructor<any>>);
}

Hierarchy

  • LoaderOptions
    • WrapperProps

Properties

callback?: ((status, loader) => void)

Callback prop used to access @googlemaps/js-api-loader and Status.

Note: The callback be executed multiple times in the lifecycle of the component.

-

Type declaration

    • (status, loader): void
    • Parameters

      Returns void

children?: ReactNode

Children wrapped by the <Wrapper>{elements}</Wrapper.

-
render?: ((status) => ReactElement<any, string | JSXElementConstructor<any>>)

Render prop used to switch on the status.

-

Type declaration

    • (status): ReactElement<any, string | JSXElementConstructor<any>>
    • Parameters

      Returns ReactElement<any, string | JSXElementConstructor<any>>

\ No newline at end of file +

Type declaration

    • (status, loader): void
    • Parameters

      Returns void

children?: ReactNode

Children wrapped by the <Wrapper>{elements}</Wrapper.

+
render?: ((status) => ReactElement<any, string | JSXElementConstructor<any>>)

Render prop used to switch on the status.

+

Type declaration

    • (status): ReactElement<any, string | JSXElementConstructor<any>>
    • Parameters

      Returns ReactElement<any, string | JSXElementConstructor<any>>

\ No newline at end of file diff --git a/public/basic/basic.js b/public/basic/basic.js index fb779259..a2d88d1b 100644 --- a/public/basic/basic.js +++ b/public/basic/basic.js @@ -1,4 +1,4 @@ -import { r as reactExports, L as Loader, R as React, a as ReactDOM } from './vendor-d40ced39.js'; +import { r as reactExports, L as Loader, R as React, a as ReactDOM } from './vendor-0221873d.js'; /** * Copyright 2021 Google LLC. All Rights Reserved. diff --git a/public/basic/index.html b/public/basic/index.html index b581da0d..51adfddb 100644 --- a/public/basic/index.html +++ b/public/basic/index.html @@ -16,6 +16,6 @@
- + \ No newline at end of file diff --git a/public/basic/vendor-d40ced39.js b/public/basic/vendor-0221873d.js similarity index 99% rename from public/basic/vendor-d40ced39.js rename to public/basic/vendor-0221873d.js index 5e6a7c57..d62a142c 100644 --- a/public/basic/vendor-d40ced39.js +++ b/public/basic/vendor-0221873d.js @@ -27,7 +27,7 @@ react_development.exports; __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error()); } - var ReactVersion = '18.2.0'; // ATTENTION + var ReactVersion = '18.3.1'; // ATTENTION // When adding new symbols to this file, // Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols' // The Symbol used to tag the ReactElement-like types. @@ -2649,6 +2649,7 @@ react_development.exports; exports.StrictMode = REACT_STRICT_MODE_TYPE; exports.Suspense = REACT_SUSPENSE_TYPE; exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactSharedInternals; + exports.act = act; exports.cloneElement = cloneElement$1; exports.createContext = createContext; exports.createElement = createElement$1;