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

@react-aria/toolbar

Package Overview
Dependencies
Maintainers
2
Versions
275
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-aria/toolbar - npm Package Compare versions

Comparing version 3.0.0-nightly-4baa1b08e-241029 to 3.0.0-nightly-4dd0993da-241224

2

dist/types.d.ts

@@ -22,4 +22,4 @@ import { AriaLabelingProps, Orientation, RefObject } from "@react-types/shared";

*/
export function useToolbar(props: AriaToolbarProps, ref: RefObject<HTMLDivElement | null>): ToolbarAria;
export function useToolbar(props: AriaToolbarProps, ref: RefObject<HTMLElement | null>): ToolbarAria;
//# sourceMappingURL=types.d.ts.map
var $37ePF$reactariafocus = require("@react-aria/focus");
var $37ePF$reactariautils = require("@react-aria/utils");
var $37ePF$react = require("react");
var $37ePF$reactariautils = require("@react-aria/utils");
var $37ePF$reactariai18n = require("@react-aria/i18n");

@@ -82,2 +82,5 @@

toolbarProps: {
...(0, $37ePF$reactariautils.filterDOMProps)(props, {
labelable: true
}),
role: !isInToolbar ? 'toolbar' : 'group',

@@ -84,0 +87,0 @@ 'aria-orientation': orientation,

import {createFocusManager as $k3LOe$createFocusManager} from "@react-aria/focus";
import {useLayoutEffect as $k3LOe$useLayoutEffect, filterDOMProps as $k3LOe$filterDOMProps} from "@react-aria/utils";
import {useState as $k3LOe$useState, useRef as $k3LOe$useRef} from "react";
import {useLayoutEffect as $k3LOe$useLayoutEffect} from "@react-aria/utils";
import {useLocale as $k3LOe$useLocale} from "@react-aria/i18n";

@@ -76,2 +76,5 @@

toolbarProps: {
...(0, $k3LOe$filterDOMProps)(props, {
labelable: true
}),
role: !isInToolbar ? 'toolbar' : 'group',

@@ -78,0 +81,0 @@ 'aria-orientation': orientation,

{
"name": "@react-aria/toolbar",
"version": "3.0.0-nightly-4baa1b08e-241029",
"version": "3.0.0-nightly-4dd0993da-241224",
"description": "Spectrum UI components in React",

@@ -25,15 +25,14 @@ "license": "Apache-2.0",

"dependencies": {
"@react-aria/focus": "^3.0.0-nightly-4baa1b08e-241029",
"@react-aria/i18n": "^3.0.0-nightly-4baa1b08e-241029",
"@react-aria/utils": "^3.0.0-nightly-4baa1b08e-241029",
"@react-types/shared": "^3.0.0-nightly-4baa1b08e-241029",
"@react-aria/focus": "3.0.0-nightly-4dd0993da-241224",
"@react-aria/i18n": "3.0.0-nightly-4dd0993da-241224",
"@react-aria/utils": "3.0.0-nightly-4dd0993da-241224",
"@react-types/shared": "3.0.0-nightly-4dd0993da-241224",
"@swc/helpers": "^0.5.0"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0"
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
},
"publishConfig": {
"access": "public"
},
"stableVersion": "3.0.0-beta.10"
}
}

@@ -15,4 +15,4 @@ /*

import {createFocusManager} from '@react-aria/focus';
import {filterDOMProps, useLayoutEffect} from '@react-aria/utils';
import {HTMLAttributes, KeyboardEventHandler, useRef, useState} from 'react';
import {useLayoutEffect} from '@react-aria/utils';
import {useLocale} from '@react-aria/i18n';

@@ -41,3 +41,3 @@

*/
export function useToolbar(props: AriaToolbarProps, ref: RefObject<HTMLDivElement | null>): ToolbarAria {
export function useToolbar(props: AriaToolbarProps, ref: RefObject<HTMLElement | null>): ToolbarAria {
const {

@@ -123,2 +123,3 @@ 'aria-label': ariaLabel,

toolbarProps: {
...filterDOMProps(props, {labelable: true}),
role: !isInToolbar ? 'toolbar' : 'group',

@@ -125,0 +126,0 @@ 'aria-orientation': orientation,

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

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