@react-spectrum/provider
Advanced tools
Comparing version 3.0.0-nightly-ab9fd5c68-241126 to 3.0.0-nightly-b0f156972-241128
@@ -55,3 +55,3 @@ var $a5b4f4e252b5a021$exports = require("./context.main.js"); | ||
}; | ||
function $96cabdf5b0aed55b$var$Provider(props, ref) { | ||
const $96cabdf5b0aed55b$export$2881499e37b75b9a = /*#__PURE__*/ (0, ($parcel$interopDefault($dbjUM$react))).forwardRef(function Provider(props, ref) { | ||
let prevContext = (0, $dbjUM$react.useContext)((0, $a5b4f4e252b5a021$exports.Context)); | ||
@@ -111,8 +111,3 @@ let prevColorScheme = prevContext && prevContext.colorScheme; | ||
}, /*#__PURE__*/ (0, ($parcel$interopDefault($dbjUM$react))).createElement((0, $dbjUM$reactariaoverlays.ModalProvider), null, contents)))); | ||
} | ||
/** | ||
* Provider is the container for all React Spectrum applications. | ||
* It defines the theme, locale, and other application level settings, | ||
* and can also be used to provide common properties to a group of components. | ||
*/ let $96cabdf5b0aed55b$export$2881499e37b75b9a = /*#__PURE__*/ (0, ($parcel$interopDefault($dbjUM$react))).forwardRef($96cabdf5b0aed55b$var$Provider); | ||
}); | ||
const $96cabdf5b0aed55b$var$ProviderWrapper = /*#__PURE__*/ (0, ($parcel$interopDefault($dbjUM$react))).forwardRef(function ProviderWrapper(props, ref) { | ||
@@ -119,0 +114,0 @@ let { children: children, ...otherProps } = props; |
@@ -47,3 +47,3 @@ import {Context as $a8430f637b4ccbce$export$841858b892ce1f4c} from "./context.module.js"; | ||
}; | ||
function $7167f8da3cce35e4$var$Provider(props, ref) { | ||
const $7167f8da3cce35e4$export$2881499e37b75b9a = /*#__PURE__*/ (0, $dyW1v$react).forwardRef(function Provider(props, ref) { | ||
let prevContext = (0, $dyW1v$useContext)((0, $a8430f637b4ccbce$export$841858b892ce1f4c)); | ||
@@ -103,8 +103,3 @@ let prevColorScheme = prevContext && prevContext.colorScheme; | ||
}, /*#__PURE__*/ (0, $dyW1v$react).createElement((0, $dyW1v$ModalProvider), null, contents)))); | ||
} | ||
/** | ||
* Provider is the container for all React Spectrum applications. | ||
* It defines the theme, locale, and other application level settings, | ||
* and can also be used to provide common properties to a group of components. | ||
*/ let $7167f8da3cce35e4$export$2881499e37b75b9a = /*#__PURE__*/ (0, $dyW1v$react).forwardRef($7167f8da3cce35e4$var$Provider); | ||
}); | ||
const $7167f8da3cce35e4$var$ProviderWrapper = /*#__PURE__*/ (0, $dyW1v$react).forwardRef(function ProviderWrapper(props, ref) { | ||
@@ -111,0 +106,0 @@ let { children: children, ...otherProps } = props; |
@@ -9,3 +9,3 @@ import { ProviderContext, ProviderProps } from "@react-types/provider"; | ||
*/ | ||
export let Provider: React.ForwardRefExoticComponent<ProviderProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>; | ||
export const Provider: React.ForwardRefExoticComponent<ProviderProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>; | ||
/** | ||
@@ -12,0 +12,0 @@ * Returns the various settings and styles applied by the nearest parent Provider. |
{ | ||
"name": "@react-spectrum/provider", | ||
"version": "3.0.0-nightly-ab9fd5c68-241126", | ||
"version": "3.0.0-nightly-b0f156972-241128", | ||
"description": "Spectrum UI components in React", | ||
@@ -39,8 +39,8 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-aria/i18n": "^3.0.0-nightly-ab9fd5c68-241126", | ||
"@react-aria/overlays": "^3.0.0-nightly-ab9fd5c68-241126", | ||
"@react-aria/utils": "^3.0.0-nightly-ab9fd5c68-241126", | ||
"@react-spectrum/utils": "^3.0.0-nightly-ab9fd5c68-241126", | ||
"@react-types/provider": "^3.0.0-nightly-ab9fd5c68-241126", | ||
"@react-types/shared": "^3.0.0-nightly-ab9fd5c68-241126", | ||
"@react-aria/i18n": "^3.0.0-nightly-b0f156972-241128", | ||
"@react-aria/overlays": "^3.0.0-nightly-b0f156972-241128", | ||
"@react-aria/utils": "^3.0.0-nightly-b0f156972-241128", | ||
"@react-spectrum/utils": "^3.0.0-nightly-b0f156972-241128", | ||
"@react-types/provider": "^3.0.0-nightly-b0f156972-241128", | ||
"@react-types/shared": "^3.0.0-nightly-b0f156972-241128", | ||
"@swc/helpers": "^0.5.0", | ||
@@ -47,0 +47,0 @@ "clsx": "^2.0.0" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
150645
1318