@instructure/ui-number-input
Advanced tools
Comparing version 10.6.2-snapshot-9 to 10.7.0
@@ -6,5 +6,10 @@ # Change Log | ||
## [10.6.2-snapshot-9](https://github.com/instructure/instructure-ui/compare/v10.6.1...v10.6.2-snapshot-9) (2024-12-03) | ||
# [10.7.0](https://github.com/instructure/instructure-ui/compare/v10.6.1...v10.7.0) (2024-12-03) | ||
### Bug Fixes | ||
* **many:** hide required asterisks from screenreaders ([78aec71](https://github.com/instructure/instructure-ui/commit/78aec71d1056df3a43ffd226d993c451a8fe9c1d)) | ||
### Features | ||
@@ -11,0 +16,0 @@ |
@@ -186,4 +186,5 @@ var _dec, _dec2, _dec3, _class, _NumberInput, _IconArrowOpenUpLine, _IconArrowOpenDownLin; | ||
const label = hasVisibleChildren(rawLabel) ? jsx(React.Fragment, null, rawLabel, isRequired && jsx("span", { | ||
css: this.invalid ? styles === null || styles === void 0 ? void 0 : styles.requiredInvalid : {} | ||
}, " *")) : rawLabel; | ||
css: this.invalid ? styles === null || styles === void 0 ? void 0 : styles.requiredInvalid : {}, | ||
"aria-hidden": true | ||
}, ' ', "*")) : rawLabel; | ||
return jsx(FormField, Object.assign({}, pickProps(this.props, FormField.allowedProps), { | ||
@@ -190,0 +191,0 @@ label: label, |
@@ -198,4 +198,5 @@ "use strict"; | ||
const label = (0, _hasVisibleChildren.hasVisibleChildren)(rawLabel) ? (0, _emotion.jsx)(_react.default.Fragment, null, rawLabel, isRequired && (0, _emotion.jsx)("span", { | ||
css: this.invalid ? styles === null || styles === void 0 ? void 0 : styles.requiredInvalid : {} | ||
}, " *")) : rawLabel; | ||
css: this.invalid ? styles === null || styles === void 0 ? void 0 : styles.requiredInvalid : {}, | ||
"aria-hidden": true | ||
}, ' ', "*")) : rawLabel; | ||
return (0, _emotion.jsx)(_FormField.FormField, Object.assign({}, (0, _pickProps.pickProps)(this.props, _FormField.FormField.allowedProps), { | ||
@@ -202,0 +203,0 @@ label: label, |
{ | ||
"name": "@instructure/ui-number-input", | ||
"version": "10.6.2-snapshot-9", | ||
"version": "10.7.0", | ||
"description": "A UI component library made by Instructure Inc.", | ||
@@ -26,7 +26,7 @@ "author": "Instructure, Inc. Engineering and Product Design", | ||
"devDependencies": { | ||
"@instructure/ui-axe-check": "10.6.2-snapshot-9", | ||
"@instructure/ui-babel-preset": "10.6.2-snapshot-9", | ||
"@instructure/ui-scripts": "10.6.2-snapshot-9", | ||
"@instructure/ui-test-utils": "10.6.2-snapshot-9", | ||
"@instructure/ui-themes": "10.6.2-snapshot-9", | ||
"@instructure/ui-axe-check": "10.7.0", | ||
"@instructure/ui-babel-preset": "10.7.0", | ||
"@instructure/ui-scripts": "10.7.0", | ||
"@instructure/ui-test-utils": "10.7.0", | ||
"@instructure/ui-themes": "10.7.0", | ||
"@testing-library/jest-dom": "^6.4.6", | ||
@@ -39,10 +39,10 @@ "@testing-library/react": "^16.0.1", | ||
"@babel/runtime": "^7.25.6", | ||
"@instructure/emotion": "10.6.2-snapshot-9", | ||
"@instructure/shared-types": "10.6.2-snapshot-9", | ||
"@instructure/ui-form-field": "10.6.2-snapshot-9", | ||
"@instructure/ui-icons": "10.6.2-snapshot-9", | ||
"@instructure/ui-react-utils": "10.6.2-snapshot-9", | ||
"@instructure/ui-testable": "10.6.2-snapshot-9", | ||
"@instructure/ui-utils": "10.6.2-snapshot-9", | ||
"@instructure/uid": "10.6.2-snapshot-9", | ||
"@instructure/emotion": "10.7.0", | ||
"@instructure/shared-types": "10.7.0", | ||
"@instructure/ui-form-field": "10.7.0", | ||
"@instructure/ui-icons": "10.7.0", | ||
"@instructure/ui-react-utils": "10.7.0", | ||
"@instructure/ui-testable": "10.7.0", | ||
"@instructure/ui-utils": "10.7.0", | ||
"@instructure/uid": "10.7.0", | ||
"keycode": "^2", | ||
@@ -49,0 +49,0 @@ "prop-types": "^15.8.1" |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
409528
2912
0
+ Added@instructure/console@10.7.0(transitive)
+ Added@instructure/emotion@10.7.0(transitive)
+ Added@instructure/shared-types@10.7.0(transitive)
+ Added@instructure/theme-registry@10.7.0(transitive)
+ Added@instructure/ui-a11y-content@10.7.0(transitive)
+ Added@instructure/ui-a11y-utils@10.7.0(transitive)
+ Added@instructure/ui-decorator@10.7.0(transitive)
+ Added@instructure/ui-dom-utils@10.7.0(transitive)
+ Added@instructure/ui-form-field@10.7.0(transitive)
+ Added@instructure/ui-grid@10.7.0(transitive)
+ Added@instructure/ui-i18n@10.7.0(transitive)
+ Added@instructure/ui-icons@10.7.0(transitive)
+ Added@instructure/ui-prop-types@10.7.0(transitive)
+ Added@instructure/ui-react-utils@10.7.0(transitive)
+ Added@instructure/ui-svg-images@10.7.0(transitive)
+ Added@instructure/ui-testable@10.7.0(transitive)
+ Added@instructure/ui-themes@10.7.0(transitive)
+ Added@instructure/ui-utils@10.7.0(transitive)
+ Added@instructure/uid@10.7.0(transitive)
- Removed@instructure/console@10.6.2-snapshot-9(transitive)
- Removed@instructure/emotion@10.6.2-snapshot-9(transitive)
- Removed@instructure/shared-types@10.6.2-snapshot-9(transitive)
- Removed@instructure/theme-registry@10.6.2-snapshot-9(transitive)
- Removed@instructure/ui-a11y-content@10.6.2-snapshot-9(transitive)
- Removed@instructure/ui-a11y-utils@10.6.2-snapshot-9(transitive)
- Removed@instructure/ui-decorator@10.6.2-snapshot-9(transitive)
- Removed@instructure/ui-dom-utils@10.6.2-snapshot-9(transitive)
- Removed@instructure/ui-form-field@10.6.2-snapshot-9(transitive)
- Removed@instructure/ui-grid@10.6.2-snapshot-9(transitive)
- Removed@instructure/ui-i18n@10.6.2-snapshot-9(transitive)
- Removed@instructure/ui-icons@10.6.2-snapshot-9(transitive)
- Removed@instructure/ui-prop-types@10.6.2-snapshot-9(transitive)
- Removed@instructure/ui-react-utils@10.6.2-snapshot-9(transitive)
- Removed@instructure/ui-svg-images@10.6.2-snapshot-9(transitive)
- Removed@instructure/ui-testable@10.6.2-snapshot-9(transitive)
- Removed@instructure/ui-themes@10.6.2-snapshot-9(transitive)
- Removed@instructure/ui-utils@10.6.2-snapshot-9(transitive)
- Removed@instructure/uid@10.6.2-snapshot-9(transitive)
Updated@instructure/emotion@10.7.0
Updated@instructure/ui-icons@10.7.0
Updated@instructure/ui-utils@10.7.0
Updated@instructure/uid@10.7.0