@react-aria/progress
Advanced tools
Comparing version 3.0.0-rc.1 to 3.0.0-rc.2
@@ -1,2 +0,2 @@ | ||
var _babelRuntimeHelpersEsmObjectSpread = $parcel$interopDefault(require("@babel/runtime/helpers/esm/objectSpread2")); | ||
var _babelRuntimeHelpersObjectSpread = $parcel$interopDefault(require("@babel/runtime/helpers/objectSpread2")); | ||
@@ -27,4 +27,4 @@ var clamp = require("@react-aria/utils").clamp; | ||
var _useLabel = useLabel(_babelRuntimeHelpersEsmObjectSpread({}, props, { | ||
// Progress bar is not an HTML input element so it | ||
var _useLabel = useLabel(_babelRuntimeHelpersObjectSpread({}, props, { | ||
// Progress bar is not an HTML input element so it | ||
// shouldn't be labeled by a <label> element. | ||
@@ -46,3 +46,3 @@ labelElementType: 'span' | ||
return { | ||
progressBarProps: _babelRuntimeHelpersEsmObjectSpread({}, fieldProps, { | ||
progressBarProps: _babelRuntimeHelpersObjectSpread({}, fieldProps, { | ||
'aria-valuenow': isIndeterminate ? undefined : value, | ||
@@ -49,0 +49,0 @@ 'aria-valuemin': minValue, |
@@ -20,3 +20,3 @@ import _babelRuntimeHelpersEsmObjectSpread from "@babel/runtime/helpers/esm/objectSpread2"; | ||
} = useLabel(_babelRuntimeHelpersEsmObjectSpread({}, props, { | ||
// Progress bar is not an HTML input element so it | ||
// Progress bar is not an HTML input element so it | ||
// shouldn't be labeled by a <label> element. | ||
@@ -23,0 +23,0 @@ labelElementType: 'span' |
@@ -1,7 +0,7 @@ | ||
import { AllHTMLAttributes } from "react"; | ||
import { DOMProps } from "@react-types/shared"; | ||
import { HTMLAttributes } from "react"; | ||
import { ProgressBarProps } from "@react-types/progress"; | ||
interface ProgressBarAria { | ||
progressBarProps: AllHTMLAttributes<HTMLDivElement>; | ||
labelProps: AllHTMLAttributes<HTMLLabelElement>; | ||
progressBarProps: HTMLAttributes<HTMLDivElement>; | ||
labelProps: HTMLAttributes<HTMLLabelElement>; | ||
} | ||
@@ -8,0 +8,0 @@ interface ProgressBarAriaProps extends ProgressBarProps, DOMProps { |
{ | ||
"name": "@react-aria/progress", | ||
"version": "3.0.0-rc.1", | ||
"version": "3.0.0-rc.2", | ||
"description": "Spectrum UI components in React", | ||
@@ -20,7 +20,7 @@ "license": "Apache-2.0", | ||
"@babel/runtime": "^7.6.2", | ||
"@react-aria/i18n": "^3.0.0-rc.1", | ||
"@react-aria/label": "^3.0.0-rc.1", | ||
"@react-aria/utils": "^3.0.0-rc.1", | ||
"@react-types/progress": "^3.0.0-rc.1", | ||
"@react-types/shared": "^3.0.0-rc.1" | ||
"@react-aria/i18n": "^3.0.0-rc.2", | ||
"@react-aria/label": "^3.0.0-rc.2", | ||
"@react-aria/utils": "^3.0.0-rc.2", | ||
"@react-types/progress": "^3.0.0-rc.2", | ||
"@react-types/shared": "^3.0.0-rc.2" | ||
}, | ||
@@ -33,3 +33,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "5a9784f0bb6c25af7422215efb31ef72caeb9600" | ||
"gitHead": "207e6ee9076905c96638a7f81a367758872e1410" | ||
} |
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
16531
7