Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@instructure/ui-react-utils

Package Overview
Dependencies
Maintainers
36
Versions
1462
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@instructure/ui-react-utils - npm Package Compare versions

Comparing version 10.6.1-snapshot-9 to 10.6.1

7

CHANGELOG.md

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc