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

@react-aria/tag

Package Overview
Dependencies
Maintainers
2
Versions
633
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-aria/tag - npm Package Compare versions

Comparing version 3.0.0-nightly.1662 to 3.0.0-nightly.1663

30

dist/main.js

@@ -7,18 +7,2 @@ var $bSzeT$reactariagrid = require("@react-aria/grid");

function $parcel$exportWildcard(dest, source) {
Object.keys(source).forEach(function(key) {
if (key === 'default' || key === '__esModule' || dest.hasOwnProperty(key)) {
return;
}
Object.defineProperty(dest, key, {
enumerable: true,
get: function get() {
return source[key];
}
});
});
return dest;
}
function $parcel$export(e, n, v, s) {

@@ -30,5 +14,6 @@ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});

}
var $d3d7c73f2e3f4edb$exports = {};
$parcel$export($d3d7c73f2e3f4edb$exports, "TagKeyboardDelegate", () => $d3d7c73f2e3f4edb$export$b00754732e683b92);
$parcel$export(module.exports, "TagKeyboardDelegate", () => $d3d7c73f2e3f4edb$export$b00754732e683b92);
$parcel$export(module.exports, "useTag", () => $a442534c81d8ad16$export$3f568fff7dff2f03);
$parcel$export(module.exports, "useTagGroup", () => $09704b0efefe5140$export$4f8b5cda58b7e8ff);

@@ -113,6 +98,3 @@ class $d3d7c73f2e3f4edb$export$b00754732e683b92 extends $bSzeT$reactariagrid.GridKeyboardDelegate {

var $a442534c81d8ad16$exports = {};
$parcel$export($a442534c81d8ad16$exports, "useTag", () => $a442534c81d8ad16$export$3f568fff7dff2f03);
var $29abb9209b62cd49$exports = {};

@@ -349,8 +331,5 @@ var $6a4ddf1abe55d42a$exports = {};

var $09704b0efefe5140$exports = {};
$parcel$export($09704b0efefe5140$exports, "useTagGroup", () => $09704b0efefe5140$export$4f8b5cda58b7e8ff);
function $09704b0efefe5140$export$4f8b5cda58b7e8ff(props, listState) {

@@ -380,7 +359,4 @@ let { isDisabled: isDisabled } = props;

$parcel$exportWildcard(module.exports, $d3d7c73f2e3f4edb$exports);
$parcel$exportWildcard(module.exports, $a442534c81d8ad16$exports);
$parcel$exportWildcard(module.exports, $09704b0efefe5140$exports);
//# sourceMappingURL=main.js.map

@@ -7,12 +7,6 @@ import {GridKeyboardDelegate as $aIvin$GridKeyboardDelegate, useGridRow as $aIvin$useGridRow, useGridCell as $aIvin$useGridCell} from "@react-aria/grid";

function $parcel$export(e, n, v, s) {
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
}
function $parcel$interopDefault(a) {
return a && a.__esModule ? a.default : a;
}
var $542448901dbd2c36$exports = {};
$parcel$export($542448901dbd2c36$exports, "TagKeyboardDelegate", () => $542448901dbd2c36$export$b00754732e683b92);
class $542448901dbd2c36$export$b00754732e683b92 extends $aIvin$GridKeyboardDelegate {

@@ -96,6 +90,3 @@ getFirstKey() {

var $fc6126c82a4601f1$exports = {};
$parcel$export($fc6126c82a4601f1$exports, "useTag", () => $fc6126c82a4601f1$export$3f568fff7dff2f03);
var $4d1b62e0e67c00a4$exports = {};

@@ -332,8 +323,5 @@ var $84925f526f90eebd$exports = {};

var $d7323bca8d074eeb$exports = {};
$parcel$export($d7323bca8d074eeb$exports, "useTagGroup", () => $d7323bca8d074eeb$export$4f8b5cda58b7e8ff);
function $d7323bca8d074eeb$export$4f8b5cda58b7e8ff(props, listState) {

@@ -340,0 +328,0 @@ let { isDisabled: isDisabled } = props;

20

dist/types.d.ts

@@ -1,7 +0,14 @@

import { GridCollection } from "@react-types/grid";
import { GridKeyboardDelegate } from "@react-aria/grid";
import { Key, ButtonHTMLAttributes, ReactNode } from "react";
import { ButtonHTMLAttributes, Key, ReactNode } from "react";
import { DOMAttributes, DOMProps } from "@react-types/shared";
import { GridState } from "@react-stately/grid";
import { TagProps } from "@react-types/tag";
import { GridCollection } from "@react-types/grid";
import { GridKeyboardDelegate } from "@react-aria/grid";
export interface TagAria {
labelProps: DOMAttributes;
tagProps: DOMAttributes;
tagRowProps: DOMAttributes;
clearButtonProps: ButtonHTMLAttributes<HTMLButtonElement>;
}
export function useTag(props: TagProps<any>, state: GridState<any, any>): TagAria;
export class TagKeyboardDelegate<T> extends GridKeyboardDelegate<T, GridCollection<T>> {

@@ -17,9 +24,2 @@ getFirstKey(): any;

}
export interface TagAria {
labelProps: DOMAttributes;
tagProps: DOMAttributes;
tagRowProps: DOMAttributes;
clearButtonProps: ButtonHTMLAttributes<HTMLButtonElement>;
}
export function useTag(props: TagProps<any>, state: GridState<any, any>): TagAria;
interface AriaTagGroupProps extends DOMProps {

@@ -26,0 +26,0 @@ children: ReactNode;

{
"name": "@react-aria/tag",
"version": "3.0.0-nightly.1662+d667676bd",
"version": "3.0.0-nightly.1663+2a6c48eb0",
"description": "Spectrum UI components in React",

@@ -21,10 +21,10 @@ "license": "Apache-2.0",

"@babel/runtime": "^7.6.2",
"@react-aria/grid": "3.3.2-nightly.3362+d667676bd",
"@react-aria/i18n": "3.0.0-nightly.1662+d667676bd",
"@react-aria/interactions": "3.0.0-nightly.1662+d667676bd",
"@react-aria/utils": "3.0.0-nightly.1662+d667676bd",
"@react-stately/grid": "3.2.2-nightly.3362+d667676bd",
"@react-types/grid": "3.1.2-nightly.3362+d667676bd",
"@react-types/shared": "3.0.0-nightly.1662+d667676bd",
"@react-types/tag": "3.0.0-nightly.1662+d667676bd"
"@react-aria/grid": "3.3.2-nightly.3363+2a6c48eb0",
"@react-aria/i18n": "3.0.0-nightly.1663+2a6c48eb0",
"@react-aria/interactions": "3.0.0-nightly.1663+2a6c48eb0",
"@react-aria/utils": "3.0.0-nightly.1663+2a6c48eb0",
"@react-stately/grid": "3.2.2-nightly.3363+2a6c48eb0",
"@react-types/grid": "3.1.2-nightly.3363+2a6c48eb0",
"@react-types/shared": "3.0.0-nightly.1663+2a6c48eb0",
"@react-types/tag": "3.0.0-nightly.1663+2a6c48eb0"
},

@@ -37,3 +37,3 @@ "peerDependencies": {

},
"gitHead": "d667676bd59eeb00eb087597579315841c352077"
"gitHead": "2a6c48eb0099671cf9b530ec3d75882c549e9cb5"
}

@@ -13,4 +13,5 @@ /*

export * from './TagKeyboardDelegate';
export * from './useTag';
export * from './useTagGroup';
export type {TagAria} from './useTag';
export {TagKeyboardDelegate} from './TagKeyboardDelegate';
export {useTag} from './useTag';
export {useTagGroup} from './useTagGroup';

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