@instructure/ui-react-utils
Advanced tools
Comparing version 10.6.1-snapshot-9 to 10.6.1
@@ -6,10 +6,13 @@ # Change Log | ||
## [10.6.1-snapshot-9](https://github.com/instructure/instructure-ui/compare/v10.6.0...v10.6.1-snapshot-9) (2024-11-22) | ||
## [10.6.1](https://github.com/instructure/instructure-ui/compare/v10.6.0...v10.6.1) (2024-11-26) | ||
**Note:** Version bump only for package @instructure/ui-react-utils | ||
### Bug Fixes | ||
* **ui-date-input:** fix DateInput2 not working with NVDA ([34fb8e0](https://github.com/instructure/instructure-ui/commit/34fb8e0d0882d7b45580533ed4218b5b306f6075)) | ||
# [10.6.0](https://github.com/instructure/instructure-ui/compare/v10.5.0...v10.6.0) (2024-11-18) | ||
@@ -16,0 +19,0 @@ |
@@ -36,3 +36,9 @@ /* | ||
* --- | ||
* Get the React element type for a component. | ||
* Get the React element type for a component. It uses the following logic: | ||
* 1. type defined by the `as` prop | ||
* 2. type returned by the `getDefault()` parameter | ||
* 3. `<a>` if it has a `href` or `to` prop | ||
* 4. `<button>` if it has an `onClick` prop | ||
* 5. the component's defaultProp's `as` field | ||
* 6. `<span>` if none of the above | ||
* | ||
@@ -39,0 +45,0 @@ * @module getElementType |
@@ -42,3 +42,9 @@ "use strict"; | ||
* --- | ||
* Get the React element type for a component. | ||
* Get the React element type for a component. It uses the following logic: | ||
* 1. type defined by the `as` prop | ||
* 2. type returned by the `getDefault()` parameter | ||
* 3. `<a>` if it has a `href` or `to` prop | ||
* 4. `<button>` if it has an `onClick` prop | ||
* 5. the component's defaultProp's `as` field | ||
* 6. `<span>` if none of the above | ||
* | ||
@@ -45,0 +51,0 @@ * @module getElementType |
{ | ||
"name": "@instructure/ui-react-utils", | ||
"version": "10.6.1-snapshot-9", | ||
"version": "10.6.1", | ||
"description": "A React utility library made by Instructure Inc.", | ||
@@ -25,3 +25,3 @@ "author": "Instructure, Inc. Engineering and Product Design", | ||
"devDependencies": { | ||
"@instructure/ui-babel-preset": "10.6.1-snapshot-9", | ||
"@instructure/ui-babel-preset": "10.6.1", | ||
"@testing-library/jest-dom": "^6.4.6", | ||
@@ -34,7 +34,7 @@ "@testing-library/react": "^16.0.1", | ||
"@emotion/is-prop-valid": "^1.3.1", | ||
"@instructure/console": "10.6.1-snapshot-9", | ||
"@instructure/shared-types": "10.6.1-snapshot-9", | ||
"@instructure/ui-decorator": "10.6.1-snapshot-9", | ||
"@instructure/ui-dom-utils": "10.6.1-snapshot-9", | ||
"@instructure/ui-utils": "10.6.1-snapshot-9", | ||
"@instructure/console": "10.6.1", | ||
"@instructure/shared-types": "10.6.1", | ||
"@instructure/ui-decorator": "10.6.1", | ||
"@instructure/ui-dom-utils": "10.6.1", | ||
"@instructure/ui-utils": "10.6.1", | ||
"hoist-non-react-statics": "^3.3.2", | ||
@@ -41,0 +41,0 @@ "prop-types": "^15.8.1" |
@@ -44,3 +44,9 @@ /* | ||
* --- | ||
* Get the React element type for a component. | ||
* Get the React element type for a component. It uses the following logic: | ||
* 1. type defined by the `as` prop | ||
* 2. type returned by the `getDefault()` parameter | ||
* 3. `<a>` if it has a `href` or `to` prop | ||
* 4. `<button>` if it has an `onClick` prop | ||
* 5. the component's defaultProp's `as` field | ||
* 6. `<span>` if none of the above | ||
* | ||
@@ -47,0 +53,0 @@ * @module getElementType |
@@ -17,3 +17,9 @@ import { ComponentType } from 'react'; | ||
* --- | ||
* Get the React element type for a component. | ||
* Get the React element type for a component. It uses the following logic: | ||
* 1. type defined by the `as` prop | ||
* 2. type returned by the `getDefault()` parameter | ||
* 3. `<a>` if it has a `href` or `to` prop | ||
* 4. `<button>` if it has an `onClick` prop | ||
* 5. the component's defaultProp's `as` field | ||
* 6. `<span>` if none of the above | ||
* | ||
@@ -20,0 +26,0 @@ * @module getElementType |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
493844
7806
0
+ Added@instructure/console@10.6.1(transitive)
+ Added@instructure/shared-types@10.6.1(transitive)
+ Added@instructure/ui-decorator@10.6.1(transitive)
+ Added@instructure/ui-dom-utils@10.6.1(transitive)
+ Added@instructure/ui-utils@10.6.1(transitive)
- Removed@instructure/console@10.6.1-snapshot-9(transitive)
- Removed@instructure/shared-types@10.6.1-snapshot-9(transitive)
- Removed@instructure/ui-decorator@10.6.1-snapshot-9(transitive)
- Removed@instructure/ui-dom-utils@10.6.1-snapshot-9(transitive)
- Removed@instructure/ui-utils@10.6.1-snapshot-9(transitive)
Updated@instructure/console@10.6.1
Updated@instructure/ui-utils@10.6.1