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

@react-aria/tag

Package Overview
Dependencies
Maintainers
2
Versions
599
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-alpha.1 to 3.0.0-alpha.2

266

dist/main.js

@@ -1,6 +0,6 @@

var $fbMcw$reactariagrid = require("@react-aria/grid");
var $fbMcw$reactariautils = require("@react-aria/utils");
var $fbMcw$reactariai18n = require("@react-aria/i18n");
var $fbMcw$react = require("react");
var $fbMcw$reactariainteractions = require("@react-aria/interactions");
var $bSzeT$reactariagrid = require("@react-aria/grid");
var $bSzeT$reactariautils = require("@react-aria/utils");
var $bSzeT$reactariai18n = require("@react-aria/i18n");
var $bSzeT$react = require("react");
var $bSzeT$reactariainteractions = require("@react-aria/interactions");

@@ -29,7 +29,7 @@ function $parcel$exportWildcard(dest, source) {

}
var $9949860e867a4f6e$exports = {};
var $d3d7c73f2e3f4edb$exports = {};
$parcel$export($9949860e867a4f6e$exports, "TagKeyboardDelegate", () => $9949860e867a4f6e$export$b00754732e683b92);
$parcel$export($d3d7c73f2e3f4edb$exports, "TagKeyboardDelegate", () => $d3d7c73f2e3f4edb$export$b00754732e683b92);
class $9949860e867a4f6e$export$b00754732e683b92 extends $fbMcw$reactariagrid.GridKeyboardDelegate {
class $d3d7c73f2e3f4edb$export$b00754732e683b92 extends $bSzeT$reactariagrid.GridKeyboardDelegate {
getKeyRightOf(key) {

@@ -88,178 +88,178 @@ return this.direction === 'rtl' ? this.getKeyAbove(key) : this.getKeyBelow(key);

var $7e6365ae3faa3ee9$exports = {};
var $a442534c81d8ad16$exports = {};
$parcel$export($7e6365ae3faa3ee9$exports, "useTag", () => $7e6365ae3faa3ee9$export$3f568fff7dff2f03);
$parcel$export($a442534c81d8ad16$exports, "useTag", () => $a442534c81d8ad16$export$3f568fff7dff2f03);
var $dda6d49b41cc862d$exports = {};
var $00d59d3c0e1bf174$exports = {};
$00d59d3c0e1bf174$exports = JSON.parse("{\"remove\":\"إزالة\"}");
var $29abb9209b62cd49$exports = {};
var $6a4ddf1abe55d42a$exports = {};
$6a4ddf1abe55d42a$exports = JSON.parse("{\"remove\":\"إزالة\"}");
var $b3aa8e3fd46e1e0f$exports = {};
$b3aa8e3fd46e1e0f$exports = JSON.parse("{\"remove\":\"Премахване\"}");
var $1bdc82b10375b4a8$exports = {};
$1bdc82b10375b4a8$exports = JSON.parse("{\"remove\":\"Премахване\"}");
var $6a4390574ed99569$exports = {};
$6a4390574ed99569$exports = JSON.parse("{\"remove\":\"Odebrat\"}");
var $e3fdf009dfe14bbc$exports = {};
$e3fdf009dfe14bbc$exports = JSON.parse("{\"remove\":\"Odebrat\"}");
var $c860f786035205ee$exports = {};
$c860f786035205ee$exports = JSON.parse("{\"remove\":\"Fjern\"}");
var $8e3a8efadaa261b3$exports = {};
$8e3a8efadaa261b3$exports = JSON.parse("{\"remove\":\"Fjern\"}");
var $92855740baa37c33$exports = {};
$92855740baa37c33$exports = JSON.parse("{\"remove\":\"Entfernen\"}");
var $405462110cf9cc8d$exports = {};
$405462110cf9cc8d$exports = JSON.parse("{\"remove\":\"Entfernen\"}");
var $4ec9185c48c283dc$exports = {};
$4ec9185c48c283dc$exports = JSON.parse("{\"remove\":\"Κατάργηση\"}");
var $9ec4c01646bfc149$exports = {};
$9ec4c01646bfc149$exports = JSON.parse("{\"remove\":\"Κατάργηση\"}");
var $e9766593109de8b7$exports = {};
$e9766593109de8b7$exports = JSON.parse("{\"remove\":\"Remove\"}");
var $0b797b6d677cd5c7$exports = {};
$0b797b6d677cd5c7$exports = JSON.parse("{\"remove\":\"Remove\"}");
var $3e9a340d092749be$exports = {};
$3e9a340d092749be$exports = JSON.parse("{\"remove\":\"Quitar\"}");
var $bacdb4955d86e000$exports = {};
$bacdb4955d86e000$exports = JSON.parse("{\"remove\":\"Quitar\"}");
var $937f65b04b6d1c27$exports = {};
$937f65b04b6d1c27$exports = JSON.parse("{\"remove\":\"Eemalda\"}");
var $28e6b3e2003cb89e$exports = {};
$28e6b3e2003cb89e$exports = JSON.parse("{\"remove\":\"Eemalda\"}");
var $98695933533f6c5e$exports = {};
$98695933533f6c5e$exports = JSON.parse("{\"remove\":\"Poista\"}");
var $080ec9a9a4197fc3$exports = {};
$080ec9a9a4197fc3$exports = JSON.parse("{\"remove\":\"Poista\"}");
var $2828f2b5e1e7d438$exports = {};
$2828f2b5e1e7d438$exports = JSON.parse("{\"remove\":\"Supprimer\"}");
var $d186548cad5da12b$exports = {};
$d186548cad5da12b$exports = JSON.parse("{\"remove\":\"Supprimer\"}");
var $4dc535cde05fa3bc$exports = {};
$4dc535cde05fa3bc$exports = JSON.parse("{\"remove\":\"הסר\"}");
var $58694cb16d86dce9$exports = {};
$58694cb16d86dce9$exports = JSON.parse("{\"remove\":\"הסר\"}");
var $728fd11ed4081031$exports = {};
$728fd11ed4081031$exports = JSON.parse("{\"remove\":\"Ukloni\"}");
var $3622620b71bc3eed$exports = {};
$3622620b71bc3eed$exports = JSON.parse("{\"remove\":\"Ukloni\"}");
var $dd153ecb528d7dcb$exports = {};
$dd153ecb528d7dcb$exports = JSON.parse("{\"remove\":\"Eltávolítás\"}");
var $25f88eb7a72b76e1$exports = {};
$25f88eb7a72b76e1$exports = JSON.parse("{\"remove\":\"Eltávolítás\"}");
var $c99b6d476ee2d095$exports = {};
$c99b6d476ee2d095$exports = JSON.parse("{\"remove\":\"Rimuovi\"}");
var $ac7f4b0e2cb68452$exports = {};
$ac7f4b0e2cb68452$exports = JSON.parse("{\"remove\":\"Rimuovi\"}");
var $b7391ca73b07feba$exports = {};
$b7391ca73b07feba$exports = JSON.parse("{\"remove\":\"削除\"}");
var $eb1a168dda0e2196$exports = {};
$eb1a168dda0e2196$exports = JSON.parse("{\"remove\":\"削除\"}");
var $c7aa1d93fda90da2$exports = {};
$c7aa1d93fda90da2$exports = JSON.parse("{\"remove\":\"제거\"}");
var $eee5df414cc6e698$exports = {};
$eee5df414cc6e698$exports = JSON.parse("{\"remove\":\"제거\"}");
var $8fa4d858d710a46a$exports = {};
$8fa4d858d710a46a$exports = JSON.parse("{\"remove\":\"Pašalinti\"}");
var $89b3b12fbd9b247d$exports = {};
$89b3b12fbd9b247d$exports = JSON.parse("{\"remove\":\"Pašalinti\"}");
var $da1366ec97d849e7$exports = {};
$da1366ec97d849e7$exports = JSON.parse("{\"remove\":\"Noņemt\"}");
var $1919b5d1d79b472a$exports = {};
$1919b5d1d79b472a$exports = JSON.parse("{\"remove\":\"Noņemt\"}");
var $75cd1a36e472769f$exports = {};
$75cd1a36e472769f$exports = JSON.parse("{\"remove\":\"Fjern\"}");
var $19c1a9b6c040fcbd$exports = {};
$19c1a9b6c040fcbd$exports = JSON.parse("{\"remove\":\"Fjern\"}");
var $cab62d7076520d69$exports = {};
$cab62d7076520d69$exports = JSON.parse("{\"remove\":\"Verwijderen\"}");
var $be2ec555d5f5fd09$exports = {};
$be2ec555d5f5fd09$exports = JSON.parse("{\"remove\":\"Verwijderen\"}");
var $9a92f8c415dcf6ea$exports = {};
$9a92f8c415dcf6ea$exports = JSON.parse("{\"remove\":\"Usuń\"}");
var $949a33b7200b0e13$exports = {};
$949a33b7200b0e13$exports = JSON.parse("{\"remove\":\"Usuń\"}");
var $6ef233a41373e840$exports = {};
$6ef233a41373e840$exports = JSON.parse("{\"remove\":\"Remover\"}");
var $ae5f6174df72ed0e$exports = {};
$ae5f6174df72ed0e$exports = JSON.parse("{\"remove\":\"Remover\"}");
var $ee2c5edd3ce258ae$exports = {};
$ee2c5edd3ce258ae$exports = JSON.parse("{\"remove\":\"Eliminar\"}");
var $f93b2eb3a2267af4$exports = {};
$f93b2eb3a2267af4$exports = JSON.parse("{\"remove\":\"Eliminar\"}");
var $17207fe2a2fbed12$exports = {};
$17207fe2a2fbed12$exports = JSON.parse("{\"remove\":\"Îndepărtaţi\"}");
var $0986e262b15bfc91$exports = {};
$0986e262b15bfc91$exports = JSON.parse("{\"remove\":\"Îndepărtaţi\"}");
var $1a4095afd253a9ff$exports = {};
$1a4095afd253a9ff$exports = JSON.parse("{\"remove\":\"Удалить\"}");
var $1fc455c3f981c785$exports = {};
$1fc455c3f981c785$exports = JSON.parse("{\"remove\":\"Удалить\"}");
var $7612e415bf6fc44b$exports = {};
$7612e415bf6fc44b$exports = JSON.parse("{\"remove\":\"Odstrániť\"}");
var $93e0f346215d9446$exports = {};
$93e0f346215d9446$exports = JSON.parse("{\"remove\":\"Odstrániť\"}");
var $0fabb0019a297945$exports = {};
$0fabb0019a297945$exports = JSON.parse("{\"remove\":\"Odstrani\"}");
var $fef8a51090f12761$exports = {};
$fef8a51090f12761$exports = JSON.parse("{\"remove\":\"Odstrani\"}");
var $7f10926747c4ac7e$exports = {};
$7f10926747c4ac7e$exports = JSON.parse("{\"remove\":\"Ukloni\"}");
var $04502b7a450fc878$exports = {};
$04502b7a450fc878$exports = JSON.parse("{\"remove\":\"Ukloni\"}");
var $9ba98c5fd3954063$exports = {};
$9ba98c5fd3954063$exports = JSON.parse("{\"remove\":\"Ta bort\"}");
var $95460d4e4c3e3778$exports = {};
$95460d4e4c3e3778$exports = JSON.parse("{\"remove\":\"Ta bort\"}");
var $24b81d984960d760$exports = {};
$24b81d984960d760$exports = JSON.parse("{\"remove\":\"Kaldır\"}");
var $818e5758c72a695c$exports = {};
$818e5758c72a695c$exports = JSON.parse("{\"remove\":\"Kaldır\"}");
var $e0b4479c9d4e997c$exports = {};
$e0b4479c9d4e997c$exports = JSON.parse("{\"remove\":\"Видалити\"}");
var $5c17d07165fb1742$exports = {};
$5c17d07165fb1742$exports = JSON.parse("{\"remove\":\"Видалити\"}");
var $f0e3c840ccb84798$exports = {};
$f0e3c840ccb84798$exports = JSON.parse("{\"remove\":\"删除\"}");
var $c6666cc31aa025e0$exports = {};
$c6666cc31aa025e0$exports = JSON.parse("{\"remove\":\"删除\"}");
var $c4895b7076ce24d3$exports = {};
$c4895b7076ce24d3$exports = JSON.parse("{\"remove\":\"移除\"}");
var $a34b8398aee73e0f$exports = {};
$a34b8398aee73e0f$exports = JSON.parse("{\"remove\":\"移除\"}");
$dda6d49b41cc862d$exports = {
"ar-AE": $00d59d3c0e1bf174$exports,
"bg-BG": $b3aa8e3fd46e1e0f$exports,
"cs-CZ": $6a4390574ed99569$exports,
"da-DK": $c860f786035205ee$exports,
"de-DE": $92855740baa37c33$exports,
"el-GR": $4ec9185c48c283dc$exports,
"en-US": $e9766593109de8b7$exports,
"es-ES": $3e9a340d092749be$exports,
"et-EE": $937f65b04b6d1c27$exports,
"fi-FI": $98695933533f6c5e$exports,
"fr-FR": $2828f2b5e1e7d438$exports,
"he-IL": $4dc535cde05fa3bc$exports,
"hr-HR": $728fd11ed4081031$exports,
"hu-HU": $dd153ecb528d7dcb$exports,
"it-IT": $c99b6d476ee2d095$exports,
"ja-JP": $b7391ca73b07feba$exports,
"ko-KR": $c7aa1d93fda90da2$exports,
"lt-LT": $8fa4d858d710a46a$exports,
"lv-LV": $da1366ec97d849e7$exports,
"nb-NO": $75cd1a36e472769f$exports,
"nl-NL": $cab62d7076520d69$exports,
"pl-PL": $9a92f8c415dcf6ea$exports,
"pt-BR": $6ef233a41373e840$exports,
"pt-PT": $ee2c5edd3ce258ae$exports,
"ro-RO": $17207fe2a2fbed12$exports,
"ru-RU": $1a4095afd253a9ff$exports,
"sk-SK": $7612e415bf6fc44b$exports,
"sl-SI": $0fabb0019a297945$exports,
"sr-SP": $7f10926747c4ac7e$exports,
"sv-SE": $9ba98c5fd3954063$exports,
"tr-TR": $24b81d984960d760$exports,
"uk-UA": $e0b4479c9d4e997c$exports,
"zh-CN": $f0e3c840ccb84798$exports,
"zh-TW": $c4895b7076ce24d3$exports
$29abb9209b62cd49$exports = {
"ar-AE": $6a4ddf1abe55d42a$exports,
"bg-BG": $1bdc82b10375b4a8$exports,
"cs-CZ": $e3fdf009dfe14bbc$exports,
"da-DK": $8e3a8efadaa261b3$exports,
"de-DE": $405462110cf9cc8d$exports,
"el-GR": $9ec4c01646bfc149$exports,
"en-US": $0b797b6d677cd5c7$exports,
"es-ES": $bacdb4955d86e000$exports,
"et-EE": $28e6b3e2003cb89e$exports,
"fi-FI": $080ec9a9a4197fc3$exports,
"fr-FR": $d186548cad5da12b$exports,
"he-IL": $58694cb16d86dce9$exports,
"hr-HR": $3622620b71bc3eed$exports,
"hu-HU": $25f88eb7a72b76e1$exports,
"it-IT": $ac7f4b0e2cb68452$exports,
"ja-JP": $eb1a168dda0e2196$exports,
"ko-KR": $eee5df414cc6e698$exports,
"lt-LT": $89b3b12fbd9b247d$exports,
"lv-LV": $1919b5d1d79b472a$exports,
"nb-NO": $19c1a9b6c040fcbd$exports,
"nl-NL": $be2ec555d5f5fd09$exports,
"pl-PL": $949a33b7200b0e13$exports,
"pt-BR": $ae5f6174df72ed0e$exports,
"pt-PT": $f93b2eb3a2267af4$exports,
"ro-RO": $0986e262b15bfc91$exports,
"ru-RU": $1fc455c3f981c785$exports,
"sk-SK": $93e0f346215d9446$exports,
"sl-SI": $fef8a51090f12761$exports,
"sr-SP": $04502b7a450fc878$exports,
"sv-SE": $95460d4e4c3e3778$exports,
"tr-TR": $818e5758c72a695c$exports,
"uk-UA": $5c17d07165fb1742$exports,
"zh-CN": $c6666cc31aa025e0$exports,
"zh-TW": $a34b8398aee73e0f$exports
};

@@ -270,10 +270,10 @@

function $7e6365ae3faa3ee9$export$3f568fff7dff2f03(props, state) {
function $a442534c81d8ad16$export$3f568fff7dff2f03(props, state) {
let { isFocused: isFocused } = props;
const { isDisabled: isDisabled , isRemovable: isRemovable , onRemove: onRemove , children: children , item: item , tagRef: tagRef , tagRowRef: tagRowRef } = props;
const formatMessage = $fbMcw$reactariai18n.useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($dda6d49b41cc862d$exports)));
const formatMessage = $bSzeT$reactariai18n.useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($29abb9209b62cd49$exports)));
const removeString = formatMessage('remove');
const labelId = $fbMcw$reactariautils.useId();
const buttonId = $fbMcw$reactariautils.useId();
let { rowProps: rowProps } = $fbMcw$reactariagrid.useGridRow({
const labelId = $bSzeT$reactariautils.useId();
const buttonId = $bSzeT$reactariautils.useId();
let { rowProps: rowProps } = $bSzeT$reactariagrid.useGridRow({
node: item

@@ -284,3 +284,3 @@ }, state, tagRowRef);

let { tabIndex: tabIndex , ...otherRowProps } = rowProps;
let { gridCellProps: gridCellProps } = $fbMcw$reactariagrid.useGridCell({
let { gridCellProps: gridCellProps } = $bSzeT$reactariagrid.useGridCell({
node: [

@@ -303,5 +303,5 @@ ...item.childNodes

isFocused = isFocused || state.selectionManager.focusedKey === item.childNodes[0].key;
let domProps = $fbMcw$reactariautils.filterDOMProps(props);
let domProps = $bSzeT$reactariautils.filterDOMProps(props);
return {
clearButtonProps: $fbMcw$reactariautils.mergeProps(pressProps, {
clearButtonProps: $bSzeT$reactariautils.mergeProps(pressProps, {
'aria-label': removeString,

@@ -316,3 +316,3 @@ 'aria-labelledby': `${buttonId} ${labelId}`,

tagRowProps: otherRowProps,
tagProps: $fbMcw$reactariautils.mergeProps(domProps, gridCellProps, {
tagProps: $bSzeT$reactariautils.mergeProps(domProps, gridCellProps, {
'aria-disabled': isDisabled,

@@ -332,12 +332,12 @@ 'aria-errormessage': props['aria-errormessage'],

var $0bed33a3a01edef1$exports = {};
var $09704b0efefe5140$exports = {};
$parcel$export($0bed33a3a01edef1$exports, "useTagGroup", () => $0bed33a3a01edef1$export$4f8b5cda58b7e8ff);
$parcel$export($09704b0efefe5140$exports, "useTagGroup", () => $09704b0efefe5140$export$4f8b5cda58b7e8ff);
function $0bed33a3a01edef1$export$4f8b5cda58b7e8ff(props, listState) {
function $09704b0efefe5140$export$4f8b5cda58b7e8ff(props, listState) {
let { isDisabled: isDisabled } = props;
let [isFocusWithin, setFocusWithin] = $fbMcw$react.useState(false);
let { focusWithinProps: focusWithinProps } = $fbMcw$reactariainteractions.useFocusWithin({
let [isFocusWithin, setFocusWithin] = $bSzeT$react.useState(false);
let { focusWithinProps: focusWithinProps } = $bSzeT$reactariainteractions.useFocusWithin({
onFocusWithinChange: setFocusWithin

@@ -350,5 +350,5 @@ });

)) isDisabled = true;
let domProps = $fbMcw$reactariautils.filterDOMProps(props);
let domProps = $bSzeT$reactariautils.filterDOMProps(props);
return {
tagGroupProps: $fbMcw$reactariautils.mergeProps(domProps, {
tagGroupProps: $bSzeT$reactariautils.mergeProps(domProps, {
'aria-atomic': false,

@@ -364,7 +364,7 @@ 'aria-relevant': 'additions',

$parcel$exportWildcard(module.exports, $9949860e867a4f6e$exports);
$parcel$exportWildcard(module.exports, $7e6365ae3faa3ee9$exports);
$parcel$exportWildcard(module.exports, $0bed33a3a01edef1$exports);
$parcel$exportWildcard(module.exports, $d3d7c73f2e3f4edb$exports);
$parcel$exportWildcard(module.exports, $a442534c81d8ad16$exports);
$parcel$exportWildcard(module.exports, $09704b0efefe5140$exports);
//# sourceMappingURL=main.js.map

@@ -1,6 +0,6 @@

import {GridKeyboardDelegate as $jwmN4$GridKeyboardDelegate, useGridRow as $jwmN4$useGridRow, useGridCell as $jwmN4$useGridCell} from "@react-aria/grid";
import {useId as $jwmN4$useId, filterDOMProps as $jwmN4$filterDOMProps, mergeProps as $jwmN4$mergeProps} from "@react-aria/utils";
import {useMessageFormatter as $jwmN4$useMessageFormatter} from "@react-aria/i18n";
import {useState as $jwmN4$useState} from "react";
import {useFocusWithin as $jwmN4$useFocusWithin} from "@react-aria/interactions";
import {GridKeyboardDelegate as $aIvin$GridKeyboardDelegate, useGridRow as $aIvin$useGridRow, useGridCell as $aIvin$useGridCell} from "@react-aria/grid";
import {useId as $aIvin$useId, filterDOMProps as $aIvin$filterDOMProps, mergeProps as $aIvin$mergeProps} from "@react-aria/utils";
import {useMessageFormatter as $aIvin$useMessageFormatter} from "@react-aria/i18n";
import {useState as $aIvin$useState} from "react";
import {useFocusWithin as $aIvin$useFocusWithin} from "@react-aria/interactions";

@@ -13,7 +13,7 @@ function $parcel$export(e, n, v, s) {

}
var $49a8b54c6d106eb7$exports = {};
var $542448901dbd2c36$exports = {};
$parcel$export($49a8b54c6d106eb7$exports, "TagKeyboardDelegate", () => $49a8b54c6d106eb7$export$b00754732e683b92);
$parcel$export($542448901dbd2c36$exports, "TagKeyboardDelegate", () => $542448901dbd2c36$export$b00754732e683b92);
class $49a8b54c6d106eb7$export$b00754732e683b92 extends $jwmN4$GridKeyboardDelegate {
class $542448901dbd2c36$export$b00754732e683b92 extends $aIvin$GridKeyboardDelegate {
getKeyRightOf(key) {

@@ -72,178 +72,178 @@ return this.direction === 'rtl' ? this.getKeyAbove(key) : this.getKeyBelow(key);

var $72adfd28c36c897c$exports = {};
var $fc6126c82a4601f1$exports = {};
$parcel$export($72adfd28c36c897c$exports, "useTag", () => $72adfd28c36c897c$export$3f568fff7dff2f03);
$parcel$export($fc6126c82a4601f1$exports, "useTag", () => $fc6126c82a4601f1$export$3f568fff7dff2f03);
var $9d8c899a9be9c9c5$exports = {};
var $a00b94d82a524a32$exports = {};
$a00b94d82a524a32$exports = JSON.parse("{\"remove\":\"إزالة\"}");
var $4d1b62e0e67c00a4$exports = {};
var $84925f526f90eebd$exports = {};
$84925f526f90eebd$exports = JSON.parse("{\"remove\":\"إزالة\"}");
var $5311f195733538d6$exports = {};
$5311f195733538d6$exports = JSON.parse("{\"remove\":\"Премахване\"}");
var $c0650163dc1b6f9d$exports = {};
$c0650163dc1b6f9d$exports = JSON.parse("{\"remove\":\"Премахване\"}");
var $2a83136279c3e8be$exports = {};
$2a83136279c3e8be$exports = JSON.parse("{\"remove\":\"Odebrat\"}");
var $b2b55661291de587$exports = {};
$b2b55661291de587$exports = JSON.parse("{\"remove\":\"Odebrat\"}");
var $dce76e6d3fb16830$exports = {};
$dce76e6d3fb16830$exports = JSON.parse("{\"remove\":\"Fjern\"}");
var $deb83970956f6d5b$exports = {};
$deb83970956f6d5b$exports = JSON.parse("{\"remove\":\"Fjern\"}");
var $6ac119ea33375625$exports = {};
$6ac119ea33375625$exports = JSON.parse("{\"remove\":\"Entfernen\"}");
var $aea1cb4c7ec97e1c$exports = {};
$aea1cb4c7ec97e1c$exports = JSON.parse("{\"remove\":\"Entfernen\"}");
var $23e6f9fad90ed691$exports = {};
$23e6f9fad90ed691$exports = JSON.parse("{\"remove\":\"Κατάργηση\"}");
var $3618d917e503a8d3$exports = {};
$3618d917e503a8d3$exports = JSON.parse("{\"remove\":\"Κατάργηση\"}");
var $eecde5e627ef2c49$exports = {};
$eecde5e627ef2c49$exports = JSON.parse("{\"remove\":\"Remove\"}");
var $9eb56bbbe8e31294$exports = {};
$9eb56bbbe8e31294$exports = JSON.parse("{\"remove\":\"Remove\"}");
var $c35a4383d94b6cdc$exports = {};
$c35a4383d94b6cdc$exports = JSON.parse("{\"remove\":\"Quitar\"}");
var $361c604b0fc269a3$exports = {};
$361c604b0fc269a3$exports = JSON.parse("{\"remove\":\"Quitar\"}");
var $e9e8d9c5f6761136$exports = {};
$e9e8d9c5f6761136$exports = JSON.parse("{\"remove\":\"Eemalda\"}");
var $2f00170f4ee3ca01$exports = {};
$2f00170f4ee3ca01$exports = JSON.parse("{\"remove\":\"Eemalda\"}");
var $884138742f74c5cb$exports = {};
$884138742f74c5cb$exports = JSON.parse("{\"remove\":\"Poista\"}");
var $80ee16b64fab9fb5$exports = {};
$80ee16b64fab9fb5$exports = JSON.parse("{\"remove\":\"Poista\"}");
var $0afcf3f93e11533c$exports = {};
$0afcf3f93e11533c$exports = JSON.parse("{\"remove\":\"Supprimer\"}");
var $be9d354476c08087$exports = {};
$be9d354476c08087$exports = JSON.parse("{\"remove\":\"Supprimer\"}");
var $c3e4891cbcbee919$exports = {};
$c3e4891cbcbee919$exports = JSON.parse("{\"remove\":\"הסר\"}");
var $ffeb903ba092eb35$exports = {};
$ffeb903ba092eb35$exports = JSON.parse("{\"remove\":\"הסר\"}");
var $71be7d1c8219977b$exports = {};
$71be7d1c8219977b$exports = JSON.parse("{\"remove\":\"Ukloni\"}");
var $1df6722c6f19728b$exports = {};
$1df6722c6f19728b$exports = JSON.parse("{\"remove\":\"Ukloni\"}");
var $425a642f93b67a27$exports = {};
$425a642f93b67a27$exports = JSON.parse("{\"remove\":\"Eltávolítás\"}");
var $093d57e325bc9071$exports = {};
$093d57e325bc9071$exports = JSON.parse("{\"remove\":\"Eltávolítás\"}");
var $b5ffe6186678fbfc$exports = {};
$b5ffe6186678fbfc$exports = JSON.parse("{\"remove\":\"Rimuovi\"}");
var $609dbdfbcad85bdb$exports = {};
$609dbdfbcad85bdb$exports = JSON.parse("{\"remove\":\"Rimuovi\"}");
var $8390a6db301323a6$exports = {};
$8390a6db301323a6$exports = JSON.parse("{\"remove\":\"削除\"}");
var $c08e84f882644048$exports = {};
$c08e84f882644048$exports = JSON.parse("{\"remove\":\"削除\"}");
var $f8f4f0cf3efe52a6$exports = {};
$f8f4f0cf3efe52a6$exports = JSON.parse("{\"remove\":\"제거\"}");
var $5cd130489822fa21$exports = {};
$5cd130489822fa21$exports = JSON.parse("{\"remove\":\"제거\"}");
var $e81888726b6b6a37$exports = {};
$e81888726b6b6a37$exports = JSON.parse("{\"remove\":\"Pašalinti\"}");
var $ab5183739b6c5e7e$exports = {};
$ab5183739b6c5e7e$exports = JSON.parse("{\"remove\":\"Pašalinti\"}");
var $84ae7c296a6c462f$exports = {};
$84ae7c296a6c462f$exports = JSON.parse("{\"remove\":\"Noņemt\"}");
var $dd84a0b574be3f23$exports = {};
$dd84a0b574be3f23$exports = JSON.parse("{\"remove\":\"Noņemt\"}");
var $0f77edeca891ffdf$exports = {};
$0f77edeca891ffdf$exports = JSON.parse("{\"remove\":\"Fjern\"}");
var $85eee97d14eef7b5$exports = {};
$85eee97d14eef7b5$exports = JSON.parse("{\"remove\":\"Fjern\"}");
var $554a04556163e439$exports = {};
$554a04556163e439$exports = JSON.parse("{\"remove\":\"Verwijderen\"}");
var $18781839f93b0314$exports = {};
$18781839f93b0314$exports = JSON.parse("{\"remove\":\"Verwijderen\"}");
var $e62e15e0fa1cca0f$exports = {};
$e62e15e0fa1cca0f$exports = JSON.parse("{\"remove\":\"Usuń\"}");
var $1c40ffbbfe9f3bda$exports = {};
$1c40ffbbfe9f3bda$exports = JSON.parse("{\"remove\":\"Usuń\"}");
var $5f3b4cded8f01589$exports = {};
$5f3b4cded8f01589$exports = JSON.parse("{\"remove\":\"Remover\"}");
var $156880e329b1c717$exports = {};
$156880e329b1c717$exports = JSON.parse("{\"remove\":\"Remover\"}");
var $a478d81dda41c2db$exports = {};
$a478d81dda41c2db$exports = JSON.parse("{\"remove\":\"Eliminar\"}");
var $b6d50b1d20768ce4$exports = {};
$b6d50b1d20768ce4$exports = JSON.parse("{\"remove\":\"Eliminar\"}");
var $29a298eba97e0005$exports = {};
$29a298eba97e0005$exports = JSON.parse("{\"remove\":\"Îndepărtaţi\"}");
var $d8c38c691b006187$exports = {};
$d8c38c691b006187$exports = JSON.parse("{\"remove\":\"Îndepărtaţi\"}");
var $2d92ca7756315fb7$exports = {};
$2d92ca7756315fb7$exports = JSON.parse("{\"remove\":\"Удалить\"}");
var $ed9b4bf7ce1fb1d7$exports = {};
$ed9b4bf7ce1fb1d7$exports = JSON.parse("{\"remove\":\"Удалить\"}");
var $1f05374736f82205$exports = {};
$1f05374736f82205$exports = JSON.parse("{\"remove\":\"Odstrániť\"}");
var $51d8721afda4d678$exports = {};
$51d8721afda4d678$exports = JSON.parse("{\"remove\":\"Odstrániť\"}");
var $61fcf14489978bd5$exports = {};
$61fcf14489978bd5$exports = JSON.parse("{\"remove\":\"Odstrani\"}");
var $fd37a27baae493e8$exports = {};
$fd37a27baae493e8$exports = JSON.parse("{\"remove\":\"Odstrani\"}");
var $d6491ef0daadf12a$exports = {};
$d6491ef0daadf12a$exports = JSON.parse("{\"remove\":\"Ukloni\"}");
var $5505a1ca71ffd6f4$exports = {};
$5505a1ca71ffd6f4$exports = JSON.parse("{\"remove\":\"Ukloni\"}");
var $ee3d9862bdac7e0e$exports = {};
$ee3d9862bdac7e0e$exports = JSON.parse("{\"remove\":\"Ta bort\"}");
var $33670e148c84ad02$exports = {};
$33670e148c84ad02$exports = JSON.parse("{\"remove\":\"Ta bort\"}");
var $361201537b98fcac$exports = {};
$361201537b98fcac$exports = JSON.parse("{\"remove\":\"Kaldır\"}");
var $0bf46fdcdd7cb5f6$exports = {};
$0bf46fdcdd7cb5f6$exports = JSON.parse("{\"remove\":\"Kaldır\"}");
var $f733182630f150f2$exports = {};
$f733182630f150f2$exports = JSON.parse("{\"remove\":\"Видалити\"}");
var $9d9765222bc08ca2$exports = {};
$9d9765222bc08ca2$exports = JSON.parse("{\"remove\":\"Видалити\"}");
var $85ac9cb256ec7a81$exports = {};
$85ac9cb256ec7a81$exports = JSON.parse("{\"remove\":\"删除\"}");
var $d737296cedcdee9f$exports = {};
$d737296cedcdee9f$exports = JSON.parse("{\"remove\":\"删除\"}");
var $03d9c23ba8958b6c$exports = {};
$03d9c23ba8958b6c$exports = JSON.parse("{\"remove\":\"移除\"}");
var $09cd168ab18773f4$exports = {};
$09cd168ab18773f4$exports = JSON.parse("{\"remove\":\"移除\"}");
$9d8c899a9be9c9c5$exports = {
"ar-AE": $a00b94d82a524a32$exports,
"bg-BG": $5311f195733538d6$exports,
"cs-CZ": $2a83136279c3e8be$exports,
"da-DK": $dce76e6d3fb16830$exports,
"de-DE": $6ac119ea33375625$exports,
"el-GR": $23e6f9fad90ed691$exports,
"en-US": $eecde5e627ef2c49$exports,
"es-ES": $c35a4383d94b6cdc$exports,
"et-EE": $e9e8d9c5f6761136$exports,
"fi-FI": $884138742f74c5cb$exports,
"fr-FR": $0afcf3f93e11533c$exports,
"he-IL": $c3e4891cbcbee919$exports,
"hr-HR": $71be7d1c8219977b$exports,
"hu-HU": $425a642f93b67a27$exports,
"it-IT": $b5ffe6186678fbfc$exports,
"ja-JP": $8390a6db301323a6$exports,
"ko-KR": $f8f4f0cf3efe52a6$exports,
"lt-LT": $e81888726b6b6a37$exports,
"lv-LV": $84ae7c296a6c462f$exports,
"nb-NO": $0f77edeca891ffdf$exports,
"nl-NL": $554a04556163e439$exports,
"pl-PL": $e62e15e0fa1cca0f$exports,
"pt-BR": $5f3b4cded8f01589$exports,
"pt-PT": $a478d81dda41c2db$exports,
"ro-RO": $29a298eba97e0005$exports,
"ru-RU": $2d92ca7756315fb7$exports,
"sk-SK": $1f05374736f82205$exports,
"sl-SI": $61fcf14489978bd5$exports,
"sr-SP": $d6491ef0daadf12a$exports,
"sv-SE": $ee3d9862bdac7e0e$exports,
"tr-TR": $361201537b98fcac$exports,
"uk-UA": $f733182630f150f2$exports,
"zh-CN": $85ac9cb256ec7a81$exports,
"zh-TW": $03d9c23ba8958b6c$exports
$4d1b62e0e67c00a4$exports = {
"ar-AE": $84925f526f90eebd$exports,
"bg-BG": $c0650163dc1b6f9d$exports,
"cs-CZ": $b2b55661291de587$exports,
"da-DK": $deb83970956f6d5b$exports,
"de-DE": $aea1cb4c7ec97e1c$exports,
"el-GR": $3618d917e503a8d3$exports,
"en-US": $9eb56bbbe8e31294$exports,
"es-ES": $361c604b0fc269a3$exports,
"et-EE": $2f00170f4ee3ca01$exports,
"fi-FI": $80ee16b64fab9fb5$exports,
"fr-FR": $be9d354476c08087$exports,
"he-IL": $ffeb903ba092eb35$exports,
"hr-HR": $1df6722c6f19728b$exports,
"hu-HU": $093d57e325bc9071$exports,
"it-IT": $609dbdfbcad85bdb$exports,
"ja-JP": $c08e84f882644048$exports,
"ko-KR": $5cd130489822fa21$exports,
"lt-LT": $ab5183739b6c5e7e$exports,
"lv-LV": $dd84a0b574be3f23$exports,
"nb-NO": $85eee97d14eef7b5$exports,
"nl-NL": $18781839f93b0314$exports,
"pl-PL": $1c40ffbbfe9f3bda$exports,
"pt-BR": $156880e329b1c717$exports,
"pt-PT": $b6d50b1d20768ce4$exports,
"ro-RO": $d8c38c691b006187$exports,
"ru-RU": $ed9b4bf7ce1fb1d7$exports,
"sk-SK": $51d8721afda4d678$exports,
"sl-SI": $fd37a27baae493e8$exports,
"sr-SP": $5505a1ca71ffd6f4$exports,
"sv-SE": $33670e148c84ad02$exports,
"tr-TR": $0bf46fdcdd7cb5f6$exports,
"uk-UA": $9d9765222bc08ca2$exports,
"zh-CN": $d737296cedcdee9f$exports,
"zh-TW": $09cd168ab18773f4$exports
};

@@ -254,10 +254,10 @@

function $72adfd28c36c897c$export$3f568fff7dff2f03(props, state) {
function $fc6126c82a4601f1$export$3f568fff7dff2f03(props, state) {
let { isFocused: isFocused } = props;
const { isDisabled: isDisabled , isRemovable: isRemovable , onRemove: onRemove , children: children , item: item , tagRef: tagRef , tagRowRef: tagRowRef } = props;
const formatMessage = $jwmN4$useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($9d8c899a9be9c9c5$exports)));
const formatMessage = $aIvin$useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($4d1b62e0e67c00a4$exports)));
const removeString = formatMessage('remove');
const labelId = $jwmN4$useId();
const buttonId = $jwmN4$useId();
let { rowProps: rowProps } = $jwmN4$useGridRow({
const labelId = $aIvin$useId();
const buttonId = $aIvin$useId();
let { rowProps: rowProps } = $aIvin$useGridRow({
node: item

@@ -268,3 +268,3 @@ }, state, tagRowRef);

let { tabIndex: tabIndex , ...otherRowProps } = rowProps;
let { gridCellProps: gridCellProps } = $jwmN4$useGridCell({
let { gridCellProps: gridCellProps } = $aIvin$useGridCell({
node: [

@@ -287,5 +287,5 @@ ...item.childNodes

isFocused = isFocused || state.selectionManager.focusedKey === item.childNodes[0].key;
let domProps = $jwmN4$filterDOMProps(props);
let domProps = $aIvin$filterDOMProps(props);
return {
clearButtonProps: $jwmN4$mergeProps(pressProps, {
clearButtonProps: $aIvin$mergeProps(pressProps, {
'aria-label': removeString,

@@ -300,3 +300,3 @@ 'aria-labelledby': `${buttonId} ${labelId}`,

tagRowProps: otherRowProps,
tagProps: $jwmN4$mergeProps(domProps, gridCellProps, {
tagProps: $aIvin$mergeProps(domProps, gridCellProps, {
'aria-disabled': isDisabled,

@@ -316,12 +316,12 @@ 'aria-errormessage': props['aria-errormessage'],

var $e0ac83e10cc83958$exports = {};
var $d7323bca8d074eeb$exports = {};
$parcel$export($e0ac83e10cc83958$exports, "useTagGroup", () => $e0ac83e10cc83958$export$4f8b5cda58b7e8ff);
$parcel$export($d7323bca8d074eeb$exports, "useTagGroup", () => $d7323bca8d074eeb$export$4f8b5cda58b7e8ff);
function $e0ac83e10cc83958$export$4f8b5cda58b7e8ff(props, listState) {
function $d7323bca8d074eeb$export$4f8b5cda58b7e8ff(props, listState) {
let { isDisabled: isDisabled } = props;
let [isFocusWithin, setFocusWithin] = $jwmN4$useState(false);
let { focusWithinProps: focusWithinProps } = $jwmN4$useFocusWithin({
let [isFocusWithin, setFocusWithin] = $aIvin$useState(false);
let { focusWithinProps: focusWithinProps } = $aIvin$useFocusWithin({
onFocusWithinChange: setFocusWithin

@@ -334,5 +334,5 @@ });

)) isDisabled = true;
let domProps = $jwmN4$filterDOMProps(props);
let domProps = $aIvin$filterDOMProps(props);
return {
tagGroupProps: $jwmN4$mergeProps(domProps, {
tagGroupProps: $aIvin$mergeProps(domProps, {
'aria-atomic': false,

@@ -350,3 +350,3 @@ 'aria-relevant': 'additions',

export {$49a8b54c6d106eb7$export$b00754732e683b92 as TagKeyboardDelegate, $72adfd28c36c897c$export$3f568fff7dff2f03 as useTag, $e0ac83e10cc83958$export$4f8b5cda58b7e8ff as useTagGroup};
export {$542448901dbd2c36$export$b00754732e683b92 as TagKeyboardDelegate, $fc6126c82a4601f1$export$3f568fff7dff2f03 as useTag, $d7323bca8d074eeb$export$4f8b5cda58b7e8ff as useTagGroup};
//# sourceMappingURL=module.js.map
{
"name": "@react-aria/tag",
"version": "3.0.0-alpha.1",
"version": "3.0.0-alpha.2",
"description": "Spectrum UI components in React",

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

"@babel/runtime": "^7.6.2",
"@react-aria/grid": "^3.2.2",
"@react-aria/grid": "^3.2.3",
"@react-aria/i18n": "^3.3.6",

@@ -37,3 +37,3 @@ "@react-aria/interactions": "^3.8.1",

},
"gitHead": "404d41859b7d6f56201d7fc01bd9f22ae3512937"
"gitHead": "b98f0e60590d784afd54140916576021d4c1bfd7"
}
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