New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@loadsmart/loadsmart-ui

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@loadsmart/loadsmart-ui - npm Package Compare versions

Comparing version 6.3.0 to 6.4.0

@@ -17,7 +17,7 @@ declare function isSelectMenuExpanded(input: HTMLElement): boolean;

* Notice that we programatically expand the `Select` menu before select the item
* @param {string} option - Label for the option to be selected.
* @param {string | RegExp} option - Label for the option to be selected.
* @param {HTMLElement} input - You can refer to this element by the label you applied to the `Select`.
* @returns {Promise<void>}
*/
declare function select(option: string, input: HTMLElement): Promise<void>;
declare function select(option: string | RegExp, input: HTMLElement): Promise<void>;
/**

@@ -24,0 +24,0 @@ * Unselect the provided option(s), if they are present in the menu AND are selected.

{
"name": "@loadsmart/loadsmart-ui",
"version": "6.3.0",
"version": "6.4.0",
"description": "Miranda UI, a React UI library",

@@ -5,0 +5,0 @@ "main": "dist",

@@ -119,7 +119,7 @@ import { act, waitFor, within, waitForElementToBeRemoved, fireEvent } from '@testing-library/react'

* Notice that we programatically expand the `Select` menu before select the item
* @param {string} option - Label for the option to be selected.
* @param {string | RegExp} option - Label for the option to be selected.
* @param {HTMLElement} input - You can refer to this element by the label you applied to the `Select`.
* @returns {Promise<void>}
*/
async function select(option: string, input: HTMLElement): Promise<void> {
async function select(option: string | RegExp, input: HTMLElement): Promise<void> {
await expand(input)

@@ -126,0 +126,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet