@react-aria/tag 3.3.2 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ar-AE.main.js +7 -0
- package/dist/ar-AE.main.js.map +1 -0
- package/dist/ar-AE.mjs +9 -0
- package/dist/ar-AE.module.js +9 -0
- package/dist/ar-AE.module.js.map +1 -0
- package/dist/bg-BG.main.js +7 -0
- package/dist/bg-BG.main.js.map +1 -0
- package/dist/bg-BG.mjs +9 -0
- package/dist/bg-BG.module.js +9 -0
- package/dist/bg-BG.module.js.map +1 -0
- package/dist/cs-CZ.main.js +7 -0
- package/dist/cs-CZ.main.js.map +1 -0
- package/dist/cs-CZ.mjs +9 -0
- package/dist/cs-CZ.module.js +9 -0
- package/dist/cs-CZ.module.js.map +1 -0
- package/dist/da-DK.main.js +7 -0
- package/dist/da-DK.main.js.map +1 -0
- package/dist/da-DK.mjs +9 -0
- package/dist/da-DK.module.js +9 -0
- package/dist/da-DK.module.js.map +1 -0
- package/dist/de-DE.main.js +7 -0
- package/dist/de-DE.main.js.map +1 -0
- package/dist/de-DE.mjs +9 -0
- package/dist/de-DE.module.js +9 -0
- package/dist/de-DE.module.js.map +1 -0
- package/dist/el-GR.main.js +7 -0
- package/dist/el-GR.main.js.map +1 -0
- package/dist/el-GR.mjs +9 -0
- package/dist/el-GR.module.js +9 -0
- package/dist/el-GR.module.js.map +1 -0
- package/dist/en-US.main.js +7 -0
- package/dist/en-US.main.js.map +1 -0
- package/dist/en-US.mjs +9 -0
- package/dist/en-US.module.js +9 -0
- package/dist/en-US.module.js.map +1 -0
- package/dist/es-ES.main.js +7 -0
- package/dist/es-ES.main.js.map +1 -0
- package/dist/es-ES.mjs +9 -0
- package/dist/es-ES.module.js +9 -0
- package/dist/es-ES.module.js.map +1 -0
- package/dist/et-EE.main.js +7 -0
- package/dist/et-EE.main.js.map +1 -0
- package/dist/et-EE.mjs +9 -0
- package/dist/et-EE.module.js +9 -0
- package/dist/et-EE.module.js.map +1 -0
- package/dist/fi-FI.main.js +7 -0
- package/dist/fi-FI.main.js.map +1 -0
- package/dist/fi-FI.mjs +9 -0
- package/dist/fi-FI.module.js +9 -0
- package/dist/fi-FI.module.js.map +1 -0
- package/dist/fr-FR.main.js +7 -0
- package/dist/fr-FR.main.js.map +1 -0
- package/dist/fr-FR.mjs +9 -0
- package/dist/fr-FR.module.js +9 -0
- package/dist/fr-FR.module.js.map +1 -0
- package/dist/he-IL.main.js +7 -0
- package/dist/he-IL.main.js.map +1 -0
- package/dist/he-IL.mjs +9 -0
- package/dist/he-IL.module.js +9 -0
- package/dist/he-IL.module.js.map +1 -0
- package/dist/hr-HR.main.js +7 -0
- package/dist/hr-HR.main.js.map +1 -0
- package/dist/hr-HR.mjs +9 -0
- package/dist/hr-HR.module.js +9 -0
- package/dist/hr-HR.module.js.map +1 -0
- package/dist/hu-HU.main.js +7 -0
- package/dist/hu-HU.main.js.map +1 -0
- package/dist/hu-HU.mjs +9 -0
- package/dist/hu-HU.module.js +9 -0
- package/dist/hu-HU.module.js.map +1 -0
- package/dist/import.mjs +2 -427
- package/dist/intlStrings.main.js +108 -0
- package/dist/intlStrings.main.js.map +1 -0
- package/dist/intlStrings.mjs +110 -0
- package/dist/intlStrings.module.js +110 -0
- package/dist/intlStrings.module.js.map +1 -0
- package/dist/it-IT.main.js +7 -0
- package/dist/it-IT.main.js.map +1 -0
- package/dist/it-IT.mjs +9 -0
- package/dist/it-IT.module.js +9 -0
- package/dist/it-IT.module.js.map +1 -0
- package/dist/ja-JP.main.js +7 -0
- package/dist/ja-JP.main.js.map +1 -0
- package/dist/ja-JP.mjs +9 -0
- package/dist/ja-JP.module.js +9 -0
- package/dist/ja-JP.module.js.map +1 -0
- package/dist/ko-KR.main.js +7 -0
- package/dist/ko-KR.main.js.map +1 -0
- package/dist/ko-KR.mjs +9 -0
- package/dist/ko-KR.module.js +9 -0
- package/dist/ko-KR.module.js.map +1 -0
- package/dist/lt-LT.main.js +7 -0
- package/dist/lt-LT.main.js.map +1 -0
- package/dist/lt-LT.mjs +9 -0
- package/dist/lt-LT.module.js +9 -0
- package/dist/lt-LT.module.js.map +1 -0
- package/dist/lv-LV.main.js +7 -0
- package/dist/lv-LV.main.js.map +1 -0
- package/dist/lv-LV.mjs +9 -0
- package/dist/lv-LV.module.js +9 -0
- package/dist/lv-LV.module.js.map +1 -0
- package/dist/main.js +4 -429
- package/dist/main.js.map +1 -1
- package/dist/module.js +2 -427
- package/dist/module.js.map +1 -1
- package/dist/nb-NO.main.js +7 -0
- package/dist/nb-NO.main.js.map +1 -0
- package/dist/nb-NO.mjs +9 -0
- package/dist/nb-NO.module.js +9 -0
- package/dist/nb-NO.module.js.map +1 -0
- package/dist/nl-NL.main.js +7 -0
- package/dist/nl-NL.main.js.map +1 -0
- package/dist/nl-NL.mjs +9 -0
- package/dist/nl-NL.module.js +9 -0
- package/dist/nl-NL.module.js.map +1 -0
- package/dist/pl-PL.main.js +7 -0
- package/dist/pl-PL.main.js.map +1 -0
- package/dist/pl-PL.mjs +9 -0
- package/dist/pl-PL.module.js +9 -0
- package/dist/pl-PL.module.js.map +1 -0
- package/dist/pt-BR.main.js +7 -0
- package/dist/pt-BR.main.js.map +1 -0
- package/dist/pt-BR.mjs +9 -0
- package/dist/pt-BR.module.js +9 -0
- package/dist/pt-BR.module.js.map +1 -0
- package/dist/pt-PT.main.js +7 -0
- package/dist/pt-PT.main.js.map +1 -0
- package/dist/pt-PT.mjs +9 -0
- package/dist/pt-PT.module.js +9 -0
- package/dist/pt-PT.module.js.map +1 -0
- package/dist/ro-RO.main.js +7 -0
- package/dist/ro-RO.main.js.map +1 -0
- package/dist/ro-RO.mjs +9 -0
- package/dist/ro-RO.module.js +9 -0
- package/dist/ro-RO.module.js.map +1 -0
- package/dist/ru-RU.main.js +7 -0
- package/dist/ru-RU.main.js.map +1 -0
- package/dist/ru-RU.mjs +9 -0
- package/dist/ru-RU.module.js +9 -0
- package/dist/ru-RU.module.js.map +1 -0
- package/dist/sk-SK.main.js +7 -0
- package/dist/sk-SK.main.js.map +1 -0
- package/dist/sk-SK.mjs +9 -0
- package/dist/sk-SK.module.js +9 -0
- package/dist/sk-SK.module.js.map +1 -0
- package/dist/sl-SI.main.js +7 -0
- package/dist/sl-SI.main.js.map +1 -0
- package/dist/sl-SI.mjs +9 -0
- package/dist/sl-SI.module.js +9 -0
- package/dist/sl-SI.module.js.map +1 -0
- package/dist/sr-SP.main.js +7 -0
- package/dist/sr-SP.main.js.map +1 -0
- package/dist/sr-SP.mjs +9 -0
- package/dist/sr-SP.module.js +9 -0
- package/dist/sr-SP.module.js.map +1 -0
- package/dist/sv-SE.main.js +7 -0
- package/dist/sv-SE.main.js.map +1 -0
- package/dist/sv-SE.mjs +9 -0
- package/dist/sv-SE.module.js +9 -0
- package/dist/sv-SE.module.js.map +1 -0
- package/dist/tr-TR.main.js +7 -0
- package/dist/tr-TR.main.js.map +1 -0
- package/dist/tr-TR.mjs +9 -0
- package/dist/tr-TR.module.js +9 -0
- package/dist/tr-TR.module.js.map +1 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/uk-UA.main.js +7 -0
- package/dist/uk-UA.main.js.map +1 -0
- package/dist/uk-UA.mjs +9 -0
- package/dist/uk-UA.module.js +9 -0
- package/dist/uk-UA.module.js.map +1 -0
- package/dist/useTag.main.js +88 -0
- package/dist/useTag.main.js.map +1 -0
- package/dist/useTag.mjs +83 -0
- package/dist/useTag.module.js +83 -0
- package/dist/useTag.module.js.map +1 -0
- package/dist/useTagGroup.main.js +89 -0
- package/dist/useTagGroup.main.js.map +1 -0
- package/dist/useTagGroup.mjs +83 -0
- package/dist/useTagGroup.module.js +83 -0
- package/dist/useTagGroup.module.js.map +1 -0
- package/dist/zh-CN.main.js +7 -0
- package/dist/zh-CN.main.js.map +1 -0
- package/dist/zh-CN.mjs +9 -0
- package/dist/zh-CN.module.js +9 -0
- package/dist/zh-CN.module.js.map +1 -0
- package/dist/zh-TW.main.js +7 -0
- package/dist/zh-TW.main.js.map +1 -0
- package/dist/zh-TW.mjs +9 -0
- package/dist/zh-TW.module.js +9 -0
- package/dist/zh-TW.module.js.map +1 -0
- package/package.json +11 -11
- package/src/useTagGroup.ts +2 -1
package/dist/module.js
CHANGED
|
@@ -1,36 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {useInteractionModality as $aIvin$useInteractionModality, useFocusWithin as $aIvin$useFocusWithin} from "@react-aria/interactions";
|
|
4
|
-
import {useLocalizedStringFormatter as $aIvin$useLocalizedStringFormatter, useLocale as $aIvin$useLocale} from "@react-aria/i18n";
|
|
5
|
-
import {ListKeyboardDelegate as $aIvin$ListKeyboardDelegate} from "@react-aria/selection";
|
|
6
|
-
import {useState as $aIvin$useState, useRef as $aIvin$useRef, useEffect as $aIvin$useEffect} from "react";
|
|
7
|
-
import {useField as $aIvin$useField} from "@react-aria/label";
|
|
1
|
+
import {useTag as $fc6126c82a4601f1$export$3f568fff7dff2f03} from "./useTag.module.js";
|
|
2
|
+
import {useTagGroup as $d7323bca8d074eeb$export$4f8b5cda58b7e8ff} from "./useTagGroup.module.js";
|
|
8
3
|
|
|
9
|
-
|
|
10
|
-
function $parcel$interopDefault(a) {
|
|
11
|
-
return a && a.__esModule ? a.default : a;
|
|
12
|
-
}
|
|
13
|
-
/*
|
|
14
|
-
* Copyright 2020 Adobe. All rights reserved.
|
|
15
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
16
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
17
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
18
|
-
*
|
|
19
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
20
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
21
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
22
|
-
* governing permissions and limitations under the License.
|
|
23
|
-
*/ /*
|
|
24
|
-
* Copyright 2020 Adobe. All rights reserved.
|
|
25
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
26
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
27
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
28
|
-
*
|
|
29
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
30
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
31
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
32
|
-
* governing permissions and limitations under the License.
|
|
33
|
-
*/
|
|
34
4
|
/*
|
|
35
5
|
* Copyright 2020 Adobe. All rights reserved.
|
|
36
6
|
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
@@ -45,400 +15,5 @@ function $parcel$interopDefault(a) {
|
|
|
45
15
|
|
|
46
16
|
|
|
47
17
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
const $d7323bca8d074eeb$export$653eddfc964b0f8a = new WeakMap();
|
|
52
|
-
function $d7323bca8d074eeb$export$4f8b5cda58b7e8ff(props, state, ref) {
|
|
53
|
-
let { direction: direction } = (0, $aIvin$useLocale)();
|
|
54
|
-
let keyboardDelegate = props.keyboardDelegate || new (0, $aIvin$ListKeyboardDelegate)({
|
|
55
|
-
collection: state.collection,
|
|
56
|
-
ref: ref,
|
|
57
|
-
orientation: "horizontal",
|
|
58
|
-
direction: direction,
|
|
59
|
-
disabledKeys: state.disabledKeys
|
|
60
|
-
});
|
|
61
|
-
let { labelProps: labelProps, fieldProps: fieldProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps } = (0, $aIvin$useField)({
|
|
62
|
-
...props,
|
|
63
|
-
labelElementType: "span"
|
|
64
|
-
});
|
|
65
|
-
let { gridProps: gridProps } = (0, $aIvin$useGridList)({
|
|
66
|
-
...props,
|
|
67
|
-
...fieldProps,
|
|
68
|
-
keyboardDelegate: keyboardDelegate,
|
|
69
|
-
shouldFocusWrap: true,
|
|
70
|
-
linkBehavior: "override"
|
|
71
|
-
}, state, ref);
|
|
72
|
-
let [isFocusWithin, setFocusWithin] = (0, $aIvin$useState)(false);
|
|
73
|
-
let { focusWithinProps: focusWithinProps } = (0, $aIvin$useFocusWithin)({
|
|
74
|
-
onFocusWithinChange: setFocusWithin
|
|
75
|
-
});
|
|
76
|
-
let domProps = (0, $aIvin$filterDOMProps)(props);
|
|
77
|
-
// If the last tag is removed, focus the container.
|
|
78
|
-
let prevCount = (0, $aIvin$useRef)(state.collection.size);
|
|
79
|
-
(0, $aIvin$useEffect)(()=>{
|
|
80
|
-
if (ref.current && prevCount.current > 0 && state.collection.size === 0 && isFocusWithin) ref.current.focus();
|
|
81
|
-
prevCount.current = state.collection.size;
|
|
82
|
-
}, [
|
|
83
|
-
state.collection.size,
|
|
84
|
-
isFocusWithin,
|
|
85
|
-
ref
|
|
86
|
-
]);
|
|
87
|
-
$d7323bca8d074eeb$export$653eddfc964b0f8a.set(state, {
|
|
88
|
-
onRemove: props.onRemove
|
|
89
|
-
});
|
|
90
|
-
return {
|
|
91
|
-
gridProps: (0, $aIvin$mergeProps)(gridProps, domProps, {
|
|
92
|
-
role: state.collection.size ? "grid" : null,
|
|
93
|
-
"aria-atomic": false,
|
|
94
|
-
"aria-relevant": "additions",
|
|
95
|
-
"aria-live": isFocusWithin ? "polite" : "off",
|
|
96
|
-
...focusWithinProps,
|
|
97
|
-
...fieldProps
|
|
98
|
-
}),
|
|
99
|
-
labelProps: labelProps,
|
|
100
|
-
descriptionProps: descriptionProps,
|
|
101
|
-
errorMessageProps: errorMessageProps
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
var $3bb15cc24d006ec5$exports = {};
|
|
107
|
-
var $84925f526f90eebd$exports = {};
|
|
108
|
-
$84925f526f90eebd$exports = {
|
|
109
|
-
"removeButtonLabel": `\u{625}\u{632}\u{627}\u{644}\u{629}`,
|
|
110
|
-
"removeDescription": `\u{627}\u{636}\u{63A}\u{637} \u{639}\u{644}\u{649} \u{645}\u{641}\u{62A}\u{627}\u{62D} DELETE \u{644}\u{625}\u{632}\u{627}\u{644}\u{629} \u{639}\u{644}\u{627}\u{645}\u{629}.`
|
|
111
|
-
};
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
var $c0650163dc1b6f9d$exports = {};
|
|
115
|
-
$c0650163dc1b6f9d$exports = {
|
|
116
|
-
"removeButtonLabel": `\u{41F}\u{440}\u{435}\u{43C}\u{430}\u{445}\u{432}\u{430}\u{43D}\u{435}`,
|
|
117
|
-
"removeDescription": `\u{41D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{435}\u{442}\u{435} Delete, \u{437}\u{430} \u{434}\u{430} \u{43F}\u{440}\u{435}\u{43C}\u{430}\u{445}\u{43D}\u{435}\u{442}\u{435} \u{43C}\u{430}\u{440}\u{43A}\u{435}\u{440}\u{430}.`
|
|
118
|
-
};
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
var $b2b55661291de587$exports = {};
|
|
122
|
-
$b2b55661291de587$exports = {
|
|
123
|
-
"removeButtonLabel": `Odebrat`,
|
|
124
|
-
"removeDescription": `Stisknut\xedm kl\xe1vesy Delete odeberete zna\u{10D}ku.`
|
|
125
|
-
};
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
var $deb83970956f6d5b$exports = {};
|
|
129
|
-
$deb83970956f6d5b$exports = {
|
|
130
|
-
"removeButtonLabel": `Fjern`,
|
|
131
|
-
"removeDescription": `Tryk p\xe5 Slet for at fjerne tag.`
|
|
132
|
-
};
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
var $aea1cb4c7ec97e1c$exports = {};
|
|
136
|
-
$aea1cb4c7ec97e1c$exports = {
|
|
137
|
-
"removeButtonLabel": `Entfernen`,
|
|
138
|
-
"removeDescription": `Auf \u{201E}L\xf6schen\u{201C} dr\xfccken, um das Tag zu entfernen.`
|
|
139
|
-
};
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
var $3618d917e503a8d3$exports = {};
|
|
143
|
-
$3618d917e503a8d3$exports = {
|
|
144
|
-
"removeButtonLabel": `\u{39A}\u{3B1}\u{3C4}\u{3AC}\u{3C1}\u{3B3}\u{3B7}\u{3C3}\u{3B7}`,
|
|
145
|
-
"removeDescription": `\u{3A0}\u{3B1}\u{3C4}\u{3AE}\u{3C3}\u{3C4}\u{3B5} \u{394}\u{3B9}\u{3B1}\u{3B3}\u{3C1}\u{3B1}\u{3C6}\u{3AE} \u{3B3}\u{3B9}\u{3B1} \u{3BD}\u{3B1} \u{3BA}\u{3B1}\u{3C4}\u{3B1}\u{3C1}\u{3B3}\u{3AE}\u{3C3}\u{3B5}\u{3C4}\u{3B5} \u{3C4}\u{3B7}\u{3BD} \u{3B5}\u{3C4}\u{3B9}\u{3BA}\u{3AD}\u{3C4}\u{3B1}.`
|
|
146
|
-
};
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
var $9eb56bbbe8e31294$exports = {};
|
|
150
|
-
$9eb56bbbe8e31294$exports = {
|
|
151
|
-
"removeDescription": `Press Delete to remove tag.`,
|
|
152
|
-
"removeButtonLabel": `Remove`
|
|
153
|
-
};
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
var $361c604b0fc269a3$exports = {};
|
|
157
|
-
$361c604b0fc269a3$exports = {
|
|
158
|
-
"removeButtonLabel": `Quitar`,
|
|
159
|
-
"removeDescription": `Pulse Eliminar para quitar la etiqueta.`
|
|
160
|
-
};
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
var $2f00170f4ee3ca01$exports = {};
|
|
164
|
-
$2f00170f4ee3ca01$exports = {
|
|
165
|
-
"removeButtonLabel": `Eemalda`,
|
|
166
|
-
"removeDescription": `Sildi eemaldamiseks vajutage kustutusklahvi Delete.`
|
|
167
|
-
};
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
var $80ee16b64fab9fb5$exports = {};
|
|
171
|
-
$80ee16b64fab9fb5$exports = {
|
|
172
|
-
"removeButtonLabel": `Poista`,
|
|
173
|
-
"removeDescription": `Poista tunniste painamalla Poista-painiketta.`
|
|
174
|
-
};
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
var $be9d354476c08087$exports = {};
|
|
178
|
-
$be9d354476c08087$exports = {
|
|
179
|
-
"removeButtonLabel": `Supprimer`,
|
|
180
|
-
"removeDescription": `Appuyez sur Supprimer pour supprimer l\u{2019}\xe9tiquette.`
|
|
181
|
-
};
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
var $ffeb903ba092eb35$exports = {};
|
|
185
|
-
$ffeb903ba092eb35$exports = {
|
|
186
|
-
"removeButtonLabel": `\u{5D4}\u{5E1}\u{5E8}`,
|
|
187
|
-
"removeDescription": `\u{5DC}\u{5D7}\u{5E5} \u{5E2}\u{5DC} \u{5DE}\u{5D7}\u{5E7} \u{5DB}\u{5D3}\u{5D9} \u{5DC}\u{5D4}\u{5E1}\u{5D9}\u{5E8} \u{5EA}\u{5D2}.`
|
|
188
|
-
};
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
var $1df6722c6f19728b$exports = {};
|
|
192
|
-
$1df6722c6f19728b$exports = {
|
|
193
|
-
"removeButtonLabel": `Ukloni`,
|
|
194
|
-
"removeDescription": `Pritisnite Delete za uklanjanje oznake.`
|
|
195
|
-
};
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
var $093d57e325bc9071$exports = {};
|
|
199
|
-
$093d57e325bc9071$exports = {
|
|
200
|
-
"removeButtonLabel": `Elt\xe1vol\xedt\xe1s`,
|
|
201
|
-
"removeDescription": `Nyomja meg a Delete billenty\u{171}t a c\xedmke elt\xe1vol\xedt\xe1s\xe1hoz.`
|
|
202
|
-
};
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
var $609dbdfbcad85bdb$exports = {};
|
|
206
|
-
$609dbdfbcad85bdb$exports = {
|
|
207
|
-
"removeButtonLabel": `Rimuovi`,
|
|
208
|
-
"removeDescription": `Premi Elimina per rimuovere il tag.`
|
|
209
|
-
};
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
var $c08e84f882644048$exports = {};
|
|
213
|
-
$c08e84f882644048$exports = {
|
|
214
|
-
"removeButtonLabel": `\u{524A}\u{9664}`,
|
|
215
|
-
"removeDescription": `\u{30BF}\u{30B0}\u{3092}\u{524A}\u{9664}\u{3059}\u{308B}\u{306B}\u{306F}\u{3001}Delete \u{30AD}\u{30FC}\u{3092}\u{62BC}\u{3057}\u{307E}\u{3059}\u{3002}`
|
|
216
|
-
};
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
var $5cd130489822fa21$exports = {};
|
|
220
|
-
$5cd130489822fa21$exports = {
|
|
221
|
-
"removeButtonLabel": `\u{C81C}\u{AC70}`,
|
|
222
|
-
"removeDescription": `\u{D0DC}\u{ADF8}\u{B97C} \u{C81C}\u{AC70}\u{D558}\u{B824}\u{BA74} Delete \u{D0A4}\u{B97C} \u{B204}\u{B974}\u{C2ED}\u{C2DC}\u{C624}.`
|
|
223
|
-
};
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
var $ab5183739b6c5e7e$exports = {};
|
|
227
|
-
$ab5183739b6c5e7e$exports = {
|
|
228
|
-
"removeButtonLabel": `Pa\u{161}alinti`,
|
|
229
|
-
"removeDescription": `Nor\u{117}dami pa\u{161}alinti \u{17E}ym\u{105}, paspauskite \u{201E}Delete\u{201C} klavi\u{161}\u{105}.`
|
|
230
|
-
};
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
var $dd84a0b574be3f23$exports = {};
|
|
234
|
-
$dd84a0b574be3f23$exports = {
|
|
235
|
-
"removeButtonLabel": `No\u{146}emt`,
|
|
236
|
-
"removeDescription": `Nospiediet Delete [Dz\u{113}st], lai no\u{146}emtu tagu.`
|
|
237
|
-
};
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
var $85eee97d14eef7b5$exports = {};
|
|
241
|
-
$85eee97d14eef7b5$exports = {
|
|
242
|
-
"removeButtonLabel": `Fjern`,
|
|
243
|
-
"removeDescription": `Trykk p\xe5 Slett for \xe5 fjerne taggen.`
|
|
244
|
-
};
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
var $18781839f93b0314$exports = {};
|
|
248
|
-
$18781839f93b0314$exports = {
|
|
249
|
-
"removeButtonLabel": `Verwijderen`,
|
|
250
|
-
"removeDescription": `Druk op Verwijderen om de tag te verwijderen.`
|
|
251
|
-
};
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
var $1c40ffbbfe9f3bda$exports = {};
|
|
255
|
-
$1c40ffbbfe9f3bda$exports = {
|
|
256
|
-
"removeButtonLabel": `Usu\u{144}`,
|
|
257
|
-
"removeDescription": `Naci\u{15B}nij Usu\u{144}, aby usun\u{105}\u{107} znacznik.`
|
|
258
|
-
};
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
var $156880e329b1c717$exports = {};
|
|
262
|
-
$156880e329b1c717$exports = {
|
|
263
|
-
"removeButtonLabel": `Remover`,
|
|
264
|
-
"removeDescription": `Pressione Delete para remover a tag.`
|
|
265
|
-
};
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
var $b6d50b1d20768ce4$exports = {};
|
|
269
|
-
$b6d50b1d20768ce4$exports = {
|
|
270
|
-
"removeButtonLabel": `Eliminar`,
|
|
271
|
-
"removeDescription": `Prima Delete para eliminar a tag.`
|
|
272
|
-
};
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
var $d8c38c691b006187$exports = {};
|
|
276
|
-
$d8c38c691b006187$exports = {
|
|
277
|
-
"removeButtonLabel": `\xcendep\u{103}rta\u{163}i`,
|
|
278
|
-
"removeDescription": `Ap\u{103}sa\u{21B}i pe Delete (\u{218}tergere) pentru a elimina eticheta.`
|
|
279
|
-
};
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
var $ed9b4bf7ce1fb1d7$exports = {};
|
|
283
|
-
$ed9b4bf7ce1fb1d7$exports = {
|
|
284
|
-
"removeButtonLabel": `\u{423}\u{434}\u{430}\u{43B}\u{438}\u{442}\u{44C}`,
|
|
285
|
-
"removeDescription": `\u{41D}\u{430}\u{436}\u{43C}\u{438}\u{442}\u{435} DELETE, \u{447}\u{442}\u{43E}\u{431}\u{44B} \u{443}\u{434}\u{430}\u{43B}\u{438}\u{442}\u{44C} \u{442}\u{435}\u{433}.`
|
|
286
|
-
};
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
var $51d8721afda4d678$exports = {};
|
|
290
|
-
$51d8721afda4d678$exports = {
|
|
291
|
-
"removeButtonLabel": `Odstr\xe1ni\u{165}`,
|
|
292
|
-
"removeDescription": `Ak chcete odstr\xe1ni\u{165} zna\u{10D}ku, stla\u{10D}te kl\xe1ves Delete.`
|
|
293
|
-
};
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
var $fd37a27baae493e8$exports = {};
|
|
297
|
-
$fd37a27baae493e8$exports = {
|
|
298
|
-
"removeButtonLabel": `Odstrani`,
|
|
299
|
-
"removeDescription": `Pritisnite Delete, da odstranite oznako.`
|
|
300
|
-
};
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
var $5505a1ca71ffd6f4$exports = {};
|
|
304
|
-
$5505a1ca71ffd6f4$exports = {
|
|
305
|
-
"removeButtonLabel": `Ukloni`,
|
|
306
|
-
"removeDescription": `Pritisnite Obri\u{161}i da biste uklonili oznaku.`
|
|
307
|
-
};
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
var $33670e148c84ad02$exports = {};
|
|
311
|
-
$33670e148c84ad02$exports = {
|
|
312
|
-
"removeButtonLabel": `Ta bort`,
|
|
313
|
-
"removeDescription": `Tryck p\xe5 Radera f\xf6r att ta bort taggen.`
|
|
314
|
-
};
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
var $0bf46fdcdd7cb5f6$exports = {};
|
|
318
|
-
$0bf46fdcdd7cb5f6$exports = {
|
|
319
|
-
"removeButtonLabel": `Kald\u{131}r`,
|
|
320
|
-
"removeDescription": `Etiketi kald\u{131}rmak i\xe7in Sil tu\u{15F}una bas\u{131}n.`
|
|
321
|
-
};
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
var $9d9765222bc08ca2$exports = {};
|
|
325
|
-
$9d9765222bc08ca2$exports = {
|
|
326
|
-
"removeButtonLabel": `\u{412}\u{438}\u{43B}\u{443}\u{447}\u{438}\u{442}\u{438}`,
|
|
327
|
-
"removeDescription": `\u{41D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{456}\u{442}\u{44C} Delete, \u{449}\u{43E}\u{431} \u{432}\u{438}\u{43B}\u{443}\u{447}\u{438}\u{442}\u{438} \u{442}\u{435}\u{433}.`
|
|
328
|
-
};
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
var $d737296cedcdee9f$exports = {};
|
|
332
|
-
$d737296cedcdee9f$exports = {
|
|
333
|
-
"removeButtonLabel": `\u{5220}\u{9664}`,
|
|
334
|
-
"removeDescription": `\u{6309}\u{4E0B}\u{201C}\u{5220}\u{9664}\u{201D}\u{4EE5}\u{5220}\u{9664}\u{6807}\u{8BB0}\u{3002}`
|
|
335
|
-
};
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
var $09cd168ab18773f4$exports = {};
|
|
339
|
-
$09cd168ab18773f4$exports = {
|
|
340
|
-
"removeButtonLabel": `\u{79FB}\u{9664}`,
|
|
341
|
-
"removeDescription": `\u{6309} Delete \u{9375}\u{4EE5}\u{79FB}\u{9664}\u{6A19}\u{8A18}\u{3002}`
|
|
342
|
-
};
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
$3bb15cc24d006ec5$exports = {
|
|
346
|
-
"ar-AE": $84925f526f90eebd$exports,
|
|
347
|
-
"bg-BG": $c0650163dc1b6f9d$exports,
|
|
348
|
-
"cs-CZ": $b2b55661291de587$exports,
|
|
349
|
-
"da-DK": $deb83970956f6d5b$exports,
|
|
350
|
-
"de-DE": $aea1cb4c7ec97e1c$exports,
|
|
351
|
-
"el-GR": $3618d917e503a8d3$exports,
|
|
352
|
-
"en-US": $9eb56bbbe8e31294$exports,
|
|
353
|
-
"es-ES": $361c604b0fc269a3$exports,
|
|
354
|
-
"et-EE": $2f00170f4ee3ca01$exports,
|
|
355
|
-
"fi-FI": $80ee16b64fab9fb5$exports,
|
|
356
|
-
"fr-FR": $be9d354476c08087$exports,
|
|
357
|
-
"he-IL": $ffeb903ba092eb35$exports,
|
|
358
|
-
"hr-HR": $1df6722c6f19728b$exports,
|
|
359
|
-
"hu-HU": $093d57e325bc9071$exports,
|
|
360
|
-
"it-IT": $609dbdfbcad85bdb$exports,
|
|
361
|
-
"ja-JP": $c08e84f882644048$exports,
|
|
362
|
-
"ko-KR": $5cd130489822fa21$exports,
|
|
363
|
-
"lt-LT": $ab5183739b6c5e7e$exports,
|
|
364
|
-
"lv-LV": $dd84a0b574be3f23$exports,
|
|
365
|
-
"nb-NO": $85eee97d14eef7b5$exports,
|
|
366
|
-
"nl-NL": $18781839f93b0314$exports,
|
|
367
|
-
"pl-PL": $1c40ffbbfe9f3bda$exports,
|
|
368
|
-
"pt-BR": $156880e329b1c717$exports,
|
|
369
|
-
"pt-PT": $b6d50b1d20768ce4$exports,
|
|
370
|
-
"ro-RO": $d8c38c691b006187$exports,
|
|
371
|
-
"ru-RU": $ed9b4bf7ce1fb1d7$exports,
|
|
372
|
-
"sk-SK": $51d8721afda4d678$exports,
|
|
373
|
-
"sl-SI": $fd37a27baae493e8$exports,
|
|
374
|
-
"sr-SP": $5505a1ca71ffd6f4$exports,
|
|
375
|
-
"sv-SE": $33670e148c84ad02$exports,
|
|
376
|
-
"tr-TR": $0bf46fdcdd7cb5f6$exports,
|
|
377
|
-
"uk-UA": $9d9765222bc08ca2$exports,
|
|
378
|
-
"zh-CN": $d737296cedcdee9f$exports,
|
|
379
|
-
"zh-TW": $09cd168ab18773f4$exports
|
|
380
|
-
};
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
function $fc6126c82a4601f1$export$3f568fff7dff2f03(props, state, ref) {
|
|
387
|
-
let { item: item } = props;
|
|
388
|
-
let stringFormatter = (0, $aIvin$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($3bb15cc24d006ec5$exports))), "@react-aria/tag");
|
|
389
|
-
let buttonId = (0, $aIvin$useId)();
|
|
390
|
-
let { onRemove: onRemove } = (0, $d7323bca8d074eeb$export$653eddfc964b0f8a).get(state) || {};
|
|
391
|
-
let { rowProps: rowProps, gridCellProps: gridCellProps, ...states } = (0, $aIvin$useGridListItem)({
|
|
392
|
-
node: item
|
|
393
|
-
}, state, ref);
|
|
394
|
-
// We want the group to handle keyboard navigation between tags.
|
|
395
|
-
delete rowProps.onKeyDownCapture;
|
|
396
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
397
|
-
let { descriptionProps: _, ...stateWithoutDescription } = states;
|
|
398
|
-
let onKeyDown = (e)=>{
|
|
399
|
-
if (e.key === "Delete" || e.key === "Backspace") {
|
|
400
|
-
e.preventDefault();
|
|
401
|
-
if (state.selectionManager.isSelected(item.key)) onRemove === null || onRemove === void 0 ? void 0 : onRemove(new Set(state.selectionManager.selectedKeys));
|
|
402
|
-
else onRemove === null || onRemove === void 0 ? void 0 : onRemove(new Set([
|
|
403
|
-
item.key
|
|
404
|
-
]));
|
|
405
|
-
}
|
|
406
|
-
};
|
|
407
|
-
let modality = (0, $aIvin$useInteractionModality)();
|
|
408
|
-
if (modality === "virtual" && typeof window !== "undefined" && "ontouchstart" in window) modality = "pointer";
|
|
409
|
-
let description = onRemove && (modality === "keyboard" || modality === "virtual") ? stringFormatter.format("removeDescription") : "";
|
|
410
|
-
let descProps = (0, $aIvin$useDescription)(description);
|
|
411
|
-
let isFocused = item.key === state.selectionManager.focusedKey;
|
|
412
|
-
// @ts-ignore - data attributes are ok but TS doesn't know about them.
|
|
413
|
-
let domProps = (0, $aIvin$filterDOMProps)(item.props);
|
|
414
|
-
let linkProps = (0, $aIvin$getSyntheticLinkProps)(item.props);
|
|
415
|
-
return {
|
|
416
|
-
removeButtonProps: {
|
|
417
|
-
"aria-label": stringFormatter.format("removeButtonLabel"),
|
|
418
|
-
"aria-labelledby": `${buttonId} ${rowProps.id}`,
|
|
419
|
-
id: buttonId,
|
|
420
|
-
onPress: ()=>onRemove ? onRemove(new Set([
|
|
421
|
-
item.key
|
|
422
|
-
])) : null,
|
|
423
|
-
excludeFromTabOrder: true
|
|
424
|
-
},
|
|
425
|
-
rowProps: (0, $aIvin$mergeProps)(rowProps, domProps, linkProps, {
|
|
426
|
-
tabIndex: isFocused || state.selectionManager.focusedKey == null ? 0 : -1,
|
|
427
|
-
onKeyDown: onRemove ? onKeyDown : undefined,
|
|
428
|
-
"aria-describedby": descProps["aria-describedby"]
|
|
429
|
-
}),
|
|
430
|
-
gridCellProps: (0, $aIvin$mergeProps)(gridCellProps, {
|
|
431
|
-
"aria-errormessage": props["aria-errormessage"],
|
|
432
|
-
"aria-label": props["aria-label"]
|
|
433
|
-
}),
|
|
434
|
-
...stateWithoutDescription,
|
|
435
|
-
allowsRemoving: !!onRemove
|
|
436
|
-
};
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
18
|
export {$fc6126c82a4601f1$export$3f568fff7dff2f03 as useTag, $d7323bca8d074eeb$export$4f8b5cda58b7e8ff as useTagGroup};
|
|
444
19
|
//# sourceMappingURL=module.js.map
|
package/dist/module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;ACAA;;;;;;;;;;CAUC;ACVD;;;;;;;;;;CAUC;;;;;;;AA4CM,MAAM,4CAAW,IAAI;AASrB,SAAS,0CAAe,KAA6B,EAAE,KAAmB,EAAE,GAA2B;IAC5G,IAAI,aAAC,SAAS,EAAC,GAAG,CAAA,GAAA,gBAAQ;IAC1B,IAAI,mBAAmB,MAAM,gBAAgB,IAAI,IAAI,CAAA,GAAA,2BAAmB,EAAE;QACxE,YAAY,MAA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IAAI;oBAAC,KAAK,GAAG;iBAAC,KAAK;YAC1D,qBAAqB;QACvB;QACA,UAAU,CAAA,GAAA,iBAAS,EAAE,UAAU,UAAU,WAAW;YAClD,UAAU,AAAC,aAAa,MAAM,gBAAgB,CAAC,UAAU,IAAI,OAAQ,IAAI;YACzE,WAAW,WAAW,YAAY;YAClC,oBAAoB,SAAS,CAAC,mBAAmB;QACnD;QACA,eAAe,CAAA,GAAA,iBAAS,EAAE,eAAe;YACvC,qBAAqB,KAAK,CAAC,oBAAoB;YAC/C,cAAc,KAAK,CAAC,aAAa;QACnC;QACA,GAAG,uBAAuB;QAC1B,gBAAgB,CAAC,CAAC;IACpB;AACF;;CD/FC","sources":["packages/@react-aria/tag/src/index.ts","packages/@react-aria/tag/src/useTag.ts","packages/@react-aria/tag/src/useTagGroup.ts","packages/@react-aria/tag/src/*.js","packages/@react-aria/tag/intl/ar-AE.json","packages/@react-aria/tag/intl/bg-BG.json","packages/@react-aria/tag/intl/cs-CZ.json","packages/@react-aria/tag/intl/da-DK.json","packages/@react-aria/tag/intl/de-DE.json","packages/@react-aria/tag/intl/el-GR.json","packages/@react-aria/tag/intl/en-US.json","packages/@react-aria/tag/intl/es-ES.json","packages/@react-aria/tag/intl/et-EE.json","packages/@react-aria/tag/intl/fi-FI.json","packages/@react-aria/tag/intl/fr-FR.json","packages/@react-aria/tag/intl/he-IL.json","packages/@react-aria/tag/intl/hr-HR.json","packages/@react-aria/tag/intl/hu-HU.json","packages/@react-aria/tag/intl/it-IT.json","packages/@react-aria/tag/intl/ja-JP.json","packages/@react-aria/tag/intl/ko-KR.json","packages/@react-aria/tag/intl/lt-LT.json","packages/@react-aria/tag/intl/lv-LV.json","packages/@react-aria/tag/intl/nb-NO.json","packages/@react-aria/tag/intl/nl-NL.json","packages/@react-aria/tag/intl/pl-PL.json","packages/@react-aria/tag/intl/pt-BR.json","packages/@react-aria/tag/intl/pt-PT.json","packages/@react-aria/tag/intl/ro-RO.json","packages/@react-aria/tag/intl/ru-RU.json","packages/@react-aria/tag/intl/sk-SK.json","packages/@react-aria/tag/intl/sl-SI.json","packages/@react-aria/tag/intl/sr-SP.json","packages/@react-aria/tag/intl/sv-SE.json","packages/@react-aria/tag/intl/tr-TR.json","packages/@react-aria/tag/intl/uk-UA.json","packages/@react-aria/tag/intl/zh-CN.json","packages/@react-aria/tag/intl/zh-TW.json"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nexport {useTag} from './useTag';\nexport {useTagGroup} from './useTagGroup';\n\nexport type {TagGroupAria, AriaTagGroupProps} from './useTagGroup';\nexport type {AriaTagProps, TagAria} from './useTag';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaButtonProps} from '@react-types/button';\nimport {DOMAttributes, FocusableElement, Node} from '@react-types/shared';\nimport {filterDOMProps, getSyntheticLinkProps, mergeProps, useDescription, useId} from '@react-aria/utils';\nimport {hookData} from './useTagGroup';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {KeyboardEvent, RefObject} from 'react';\nimport type {ListState} from '@react-stately/list';\nimport {SelectableItemStates} from '@react-aria/selection';\nimport {useGridListItem} from '@react-aria/gridlist';\nimport {useInteractionModality} from '@react-aria/interactions';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\n\n\nexport interface TagAria extends Omit<SelectableItemStates, 'hasAction'> {\n /** Props for the tag row element. */\n rowProps: DOMAttributes,\n /** Props for the tag cell element. */\n gridCellProps: DOMAttributes,\n /** Props for the tag remove button. */\n removeButtonProps: AriaButtonProps,\n /** Whether the tag can be removed. */\n allowsRemoving: boolean\n}\n\nexport interface AriaTagProps<T> {\n /** An object representing the tag. Contains all the relevant information that makes up the tag. */\n item: Node<T>\n}\n\n/**\n * Provides the behavior and accessibility implementation for a tag component.\n * @param props - Props to be applied to the tag.\n * @param state - State for the tag group, as returned by `useListState`.\n * @param ref - A ref to a DOM element for the tag.\n */\nexport function useTag<T>(props: AriaTagProps<T>, state: ListState<T>, ref: RefObject<FocusableElement>): TagAria {\n let {item} = props;\n let stringFormatter = useLocalizedStringFormatter(intlMessages, '@react-aria/tag');\n let buttonId = useId();\n\n let {onRemove} = hookData.get(state) || {};\n let {rowProps, gridCellProps, ...states} = useGridListItem({\n node: item\n }, state, ref);\n\n // We want the group to handle keyboard navigation between tags.\n delete rowProps.onKeyDownCapture;\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n let {descriptionProps: _, ...stateWithoutDescription} = states;\n\n let onKeyDown = (e: KeyboardEvent) => {\n if (e.key === 'Delete' || e.key === 'Backspace') {\n e.preventDefault();\n if (state.selectionManager.isSelected(item.key)) {\n onRemove?.(new Set(state.selectionManager.selectedKeys));\n } else {\n onRemove?.(new Set([item.key]));\n }\n }\n };\n\n let modality = useInteractionModality();\n if (modality === 'virtual' && (typeof window !== 'undefined' && 'ontouchstart' in window)) {\n modality = 'pointer';\n }\n let description = onRemove && (modality === 'keyboard' || modality === 'virtual') ? stringFormatter.format('removeDescription') : '';\n let descProps = useDescription(description);\n\n let isFocused = item.key === state.selectionManager.focusedKey;\n // @ts-ignore - data attributes are ok but TS doesn't know about them.\n let domProps = filterDOMProps(item.props);\n let linkProps = getSyntheticLinkProps(item.props);\n return {\n removeButtonProps: {\n 'aria-label': stringFormatter.format('removeButtonLabel'),\n 'aria-labelledby': `${buttonId} ${rowProps.id}`,\n id: buttonId,\n onPress: () => onRemove ? onRemove(new Set([item.key])) : null,\n excludeFromTabOrder: true\n },\n rowProps: mergeProps(rowProps, domProps, linkProps, {\n tabIndex: (isFocused || state.selectionManager.focusedKey == null) ? 0 : -1,\n onKeyDown: onRemove ? onKeyDown : undefined,\n 'aria-describedby': descProps['aria-describedby']\n }),\n gridCellProps: mergeProps(gridCellProps, {\n 'aria-errormessage': props['aria-errormessage'],\n 'aria-label': props['aria-label']\n }),\n ...stateWithoutDescription,\n allowsRemoving: !!onRemove\n };\n}\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaLabelingProps, CollectionBase, DOMAttributes, DOMProps, HelpTextProps, Key, KeyboardDelegate, LabelableProps, MultipleSelection, SelectionBehavior} from '@react-types/shared';\nimport {filterDOMProps, mergeProps} from '@react-aria/utils';\nimport {ListKeyboardDelegate} from '@react-aria/selection';\nimport type {ListState} from '@react-stately/list';\nimport {ReactNode, RefObject, useEffect, useRef, useState} from 'react';\nimport {useField} from '@react-aria/label';\nimport {useFocusWithin} from '@react-aria/interactions';\nimport {useGridList} from '@react-aria/gridlist';\nimport {useLocale} from '@react-aria/i18n';\n\nexport interface TagGroupAria {\n /** Props for the tag grouping element. */\n gridProps: DOMAttributes,\n /** Props for the tag group's visible label (if any). */\n labelProps: DOMAttributes,\n /** Props for the tag group description element, if any. */\n descriptionProps: DOMAttributes,\n /** Props for the tag group error message element, if any. */\n errorMessageProps: DOMAttributes\n}\n\nexport interface AriaTagGroupProps<T> extends CollectionBase<T>, MultipleSelection, DOMProps, LabelableProps, AriaLabelingProps, Omit<HelpTextProps, 'errorMessage'> {\n /** How multiple selection should behave in the collection. */\n selectionBehavior?: SelectionBehavior,\n /** Handler that is called when a user deletes a tag. */\n onRemove?: (keys: Set<Key>) => void,\n /** An error message for the field. */\n errorMessage?: ReactNode\n}\n\nexport interface AriaTagGroupOptions<T> extends Omit<AriaTagGroupProps<T>, 'children'> {\n /**\n * An optional keyboard delegate to handle arrow key navigation,\n * to override the default.\n */\n keyboardDelegate?: KeyboardDelegate\n}\n\ninterface HookData {\n onRemove?: (keys: Set<Key>) => void\n}\n\nexport const hookData = new WeakMap<ListState<any>, HookData>();\n\n/**\n * Provides the behavior and accessibility implementation for a tag group component.\n * A tag group is a focusable list of labels, categories, keywords, filters, or other items, with support for keyboard navigation, selection, and removal.\n * @param props - Props to be applied to the tag group.\n * @param state - State for the tag group, as returned by `useListState`.\n * @param ref - A ref to a DOM element for the tag group.\n */\nexport function useTagGroup<T>(props: AriaTagGroupOptions<T>, state: ListState<T>, ref: RefObject<HTMLElement>): TagGroupAria {\n let {direction} = useLocale();\n let keyboardDelegate = props.keyboardDelegate || new ListKeyboardDelegate({\n collection: state.collection,\n ref,\n orientation: 'horizontal',\n direction,\n disabledKeys: state.disabledKeys\n });\n let {labelProps, fieldProps, descriptionProps, errorMessageProps} = useField({\n ...props,\n labelElementType: 'span'\n });\n let {gridProps} = useGridList({\n ...props,\n ...fieldProps,\n keyboardDelegate,\n shouldFocusWrap: true,\n linkBehavior: 'override'\n }, state, ref);\n\n let [isFocusWithin, setFocusWithin] = useState(false);\n let {focusWithinProps} = useFocusWithin({\n onFocusWithinChange: setFocusWithin\n });\n let domProps = filterDOMProps(props);\n\n // If the last tag is removed, focus the container.\n let prevCount = useRef(state.collection.size);\n useEffect(() => {\n if (ref.current && prevCount.current > 0 && state.collection.size === 0 && isFocusWithin) {\n ref.current.focus();\n }\n prevCount.current = state.collection.size;\n }, [state.collection.size, isFocusWithin, ref]);\n\n hookData.set(state, {onRemove: props.onRemove});\n\n return {\n gridProps: mergeProps(gridProps, domProps, {\n role: state.collection.size ? 'grid' : null,\n 'aria-atomic': false,\n 'aria-relevant': 'additions',\n 'aria-live': isFocusWithin ? 'polite' : 'off',\n ...focusWithinProps,\n ...fieldProps\n }),\n labelProps,\n descriptionProps,\n errorMessageProps\n };\n}\n","const _temp0 = require(\"../intl/ar-AE.json\");\nconst _temp1 = require(\"../intl/bg-BG.json\");\nconst _temp2 = require(\"../intl/cs-CZ.json\");\nconst _temp3 = require(\"../intl/da-DK.json\");\nconst _temp4 = require(\"../intl/de-DE.json\");\nconst _temp5 = require(\"../intl/el-GR.json\");\nconst _temp6 = require(\"../intl/en-US.json\");\nconst _temp7 = require(\"../intl/es-ES.json\");\nconst _temp8 = require(\"../intl/et-EE.json\");\nconst _temp9 = require(\"../intl/fi-FI.json\");\nconst _temp10 = require(\"../intl/fr-FR.json\");\nconst _temp11 = require(\"../intl/he-IL.json\");\nconst _temp12 = require(\"../intl/hr-HR.json\");\nconst _temp13 = require(\"../intl/hu-HU.json\");\nconst _temp14 = require(\"../intl/it-IT.json\");\nconst _temp15 = require(\"../intl/ja-JP.json\");\nconst _temp16 = require(\"../intl/ko-KR.json\");\nconst _temp17 = require(\"../intl/lt-LT.json\");\nconst _temp18 = require(\"../intl/lv-LV.json\");\nconst _temp19 = require(\"../intl/nb-NO.json\");\nconst _temp20 = require(\"../intl/nl-NL.json\");\nconst _temp21 = require(\"../intl/pl-PL.json\");\nconst _temp22 = require(\"../intl/pt-BR.json\");\nconst _temp23 = require(\"../intl/pt-PT.json\");\nconst _temp24 = require(\"../intl/ro-RO.json\");\nconst _temp25 = require(\"../intl/ru-RU.json\");\nconst _temp26 = require(\"../intl/sk-SK.json\");\nconst _temp27 = require(\"../intl/sl-SI.json\");\nconst _temp28 = require(\"../intl/sr-SP.json\");\nconst _temp29 = require(\"../intl/sv-SE.json\");\nconst _temp30 = require(\"../intl/tr-TR.json\");\nconst _temp31 = require(\"../intl/uk-UA.json\");\nconst _temp32 = require(\"../intl/zh-CN.json\");\nconst _temp33 = require(\"../intl/zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","{\n \"removeButtonLabel\": \"إزالة\",\n \"removeDescription\": \"اضغط على مفتاح DELETE لإزالة علامة.\"\n}\n","{\n \"removeButtonLabel\": \"Премахване\",\n \"removeDescription\": \"Натиснете Delete, за да премахнете маркера.\"\n}\n","{\n \"removeButtonLabel\": \"Odebrat\",\n \"removeDescription\": \"Stisknutím klávesy Delete odeberete značku.\"\n}\n","{\n \"removeButtonLabel\": \"Fjern\",\n \"removeDescription\": \"Tryk på Slet for at fjerne tag.\"\n}\n","{\n \"removeButtonLabel\": \"Entfernen\",\n \"removeDescription\": \"Auf „Löschen“ drücken, um das Tag zu entfernen.\"\n}\n","{\n \"removeButtonLabel\": \"Κατάργηση\",\n \"removeDescription\": \"Πατήστε Διαγραφή για να καταργήσετε την ετικέτα.\"\n}\n","{ \n \"removeDescription\": \"Press Delete to remove tag.\",\n \"removeButtonLabel\": \"Remove\"\n}\n","{\n \"removeButtonLabel\": \"Quitar\",\n \"removeDescription\": \"Pulse Eliminar para quitar la etiqueta.\"\n}\n","{\n \"removeButtonLabel\": \"Eemalda\",\n \"removeDescription\": \"Sildi eemaldamiseks vajutage kustutusklahvi Delete.\"\n}\n","{\n \"removeButtonLabel\": \"Poista\",\n \"removeDescription\": \"Poista tunniste painamalla Poista-painiketta.\"\n}\n","{\n \"removeButtonLabel\": \"Supprimer\",\n \"removeDescription\": \"Appuyez sur Supprimer pour supprimer l’étiquette.\"\n}\n","{\n \"removeButtonLabel\": \"הסר\",\n \"removeDescription\": \"לחץ על מחק כדי להסיר תג.\"\n}\n","{\n \"removeButtonLabel\": \"Ukloni\",\n \"removeDescription\": \"Pritisnite Delete za uklanjanje oznake.\"\n}\n","{\n \"removeButtonLabel\": \"Eltávolítás\",\n \"removeDescription\": \"Nyomja meg a Delete billentyűt a címke eltávolításához.\"\n}\n","{\n \"removeButtonLabel\": \"Rimuovi\",\n \"removeDescription\": \"Premi Elimina per rimuovere il tag.\"\n}\n","{\n \"removeButtonLabel\": \"削除\",\n \"removeDescription\": \"タグを削除するには、Delete キーを押します。\"\n}\n","{\n \"removeButtonLabel\": \"제거\",\n \"removeDescription\": \"태그를 제거하려면 Delete 키를 누르십시오.\"\n}\n","{\n \"removeButtonLabel\": \"Pašalinti\",\n \"removeDescription\": \"Norėdami pašalinti žymą, paspauskite „Delete“ klavišą.\"\n}\n","{\n \"removeButtonLabel\": \"Noņemt\",\n \"removeDescription\": \"Nospiediet Delete [Dzēst], lai noņemtu tagu.\"\n}\n","{\n \"removeButtonLabel\": \"Fjern\",\n \"removeDescription\": \"Trykk på Slett for å fjerne taggen.\"\n}\n","{\n \"removeButtonLabel\": \"Verwijderen\",\n \"removeDescription\": \"Druk op Verwijderen om de tag te verwijderen.\"\n}\n","{\n \"removeButtonLabel\": \"Usuń\",\n \"removeDescription\": \"Naciśnij Usuń, aby usunąć znacznik.\"\n}\n","{\n \"removeButtonLabel\": \"Remover\",\n \"removeDescription\": \"Pressione Delete para remover a tag.\"\n}\n","{\n \"removeButtonLabel\": \"Eliminar\",\n \"removeDescription\": \"Prima Delete para eliminar a tag.\"\n}\n","{\n \"removeButtonLabel\": \"Îndepărtaţi\",\n \"removeDescription\": \"Apăsați pe Delete (Ștergere) pentru a elimina eticheta.\"\n}\n","{\n \"removeButtonLabel\": \"Удалить\",\n \"removeDescription\": \"Нажмите DELETE, чтобы удалить тег.\"\n}\n","{\n \"removeButtonLabel\": \"Odstrániť\",\n \"removeDescription\": \"Ak chcete odstrániť značku, stlačte kláves Delete.\"\n}\n","{\n \"removeButtonLabel\": \"Odstrani\",\n \"removeDescription\": \"Pritisnite Delete, da odstranite oznako.\"\n}\n","{\n \"removeButtonLabel\": \"Ukloni\",\n \"removeDescription\": \"Pritisnite Obriši da biste uklonili oznaku.\"\n}\n","{\n \"removeButtonLabel\": \"Ta bort\",\n \"removeDescription\": \"Tryck på Radera för att ta bort taggen.\"\n}\n","{\n \"removeButtonLabel\": \"Kaldır\",\n \"removeDescription\": \"Etiketi kaldırmak için Sil tuşuna basın.\"\n}\n","{\n \"removeButtonLabel\": \"Вилучити\",\n \"removeDescription\": \"Натисніть Delete, щоб вилучити тег.\"\n}\n","{\n \"removeButtonLabel\": \"删除\",\n \"removeDescription\": \"按下“删除”以删除标记。\"\n}\n","{\n \"removeButtonLabel\": \"移除\",\n \"removeDescription\": \"按 Delete 鍵以移除標記。\"\n}\n"],"names":[],"version":3,"file":"module.js.map"}
|
|
1
|
+
{"mappings":";;;AAAA;;;;;;;;;;CAUC","sources":["packages/@react-aria/tag/src/index.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nexport {useTag} from './useTag';\nexport {useTagGroup} from './useTagGroup';\n\nexport type {TagGroupAria, AriaTagGroupProps} from './useTagGroup';\nexport type {AriaTagProps, TagAria} from './useTag';\n"],"names":[],"version":3,"file":"module.js.map"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAAA,iBAAiB;IAAG,qBAAqB,CAAC,KAAK,CAAC;IAC9C,qBAAqB,CAAC,yCAAmC,CAAC;AAC5D","sources":["packages/@react-aria/tag/intl/nb-NO.json"],"sourcesContent":["{\n \"removeButtonLabel\": \"Fjern\",\n \"removeDescription\": \"Trykk på Slett for å fjerne taggen.\"\n}\n"],"names":[],"version":3,"file":"nb-NO.main.js.map"}
|
package/dist/nb-NO.mjs
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
var $85eee97d14eef7b5$exports = {};
|
|
2
|
+
$85eee97d14eef7b5$exports = {
|
|
3
|
+
"removeButtonLabel": `Fjern`,
|
|
4
|
+
"removeDescription": `Trykk p\xe5 Slett for \xe5 fjerne taggen.`
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
export {$85eee97d14eef7b5$exports as default};
|
|
9
|
+
//# sourceMappingURL=nb-NO.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":";AAAA,4BAAiB;IAAG,qBAAqB,CAAC,KAAK,CAAC;IAC9C,qBAAqB,CAAC,yCAAmC,CAAC;AAC5D","sources":["packages/@react-aria/tag/intl/nb-NO.json"],"sourcesContent":["{\n \"removeButtonLabel\": \"Fjern\",\n \"removeDescription\": \"Trykk på Slett for å fjerne taggen.\"\n}\n"],"names":[],"version":3,"file":"nb-NO.module.js.map"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAAA,iBAAiB;IAAG,qBAAqB,CAAC,WAAW,CAAC;IACpD,qBAAqB,CAAC,6CAA6C,CAAC;AACtE","sources":["packages/@react-aria/tag/intl/nl-NL.json"],"sourcesContent":["{\n \"removeButtonLabel\": \"Verwijderen\",\n \"removeDescription\": \"Druk op Verwijderen om de tag te verwijderen.\"\n}\n"],"names":[],"version":3,"file":"nl-NL.main.js.map"}
|
package/dist/nl-NL.mjs
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
var $18781839f93b0314$exports = {};
|
|
2
|
+
$18781839f93b0314$exports = {
|
|
3
|
+
"removeButtonLabel": `Verwijderen`,
|
|
4
|
+
"removeDescription": `Druk op Verwijderen om de tag te verwijderen.`
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
export {$18781839f93b0314$exports as default};
|
|
9
|
+
//# sourceMappingURL=nl-NL.mjs.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
var $18781839f93b0314$exports = {};
|
|
2
|
+
$18781839f93b0314$exports = {
|
|
3
|
+
"removeButtonLabel": `Verwijderen`,
|
|
4
|
+
"removeDescription": `Druk op Verwijderen om de tag te verwijderen.`
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
export {$18781839f93b0314$exports as default};
|
|
9
|
+
//# sourceMappingURL=nl-NL.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":";AAAA,4BAAiB;IAAG,qBAAqB,CAAC,WAAW,CAAC;IACpD,qBAAqB,CAAC,6CAA6C,CAAC;AACtE","sources":["packages/@react-aria/tag/intl/nl-NL.json"],"sourcesContent":["{\n \"removeButtonLabel\": \"Verwijderen\",\n \"removeDescription\": \"Druk op Verwijderen om de tag te verwijderen.\"\n}\n"],"names":[],"version":3,"file":"nl-NL.module.js.map"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAAA,iBAAiB;IAAG,qBAAqB,CAAC,UAAI,CAAC;IAC7C,qBAAqB,CAAC,2DAAmC,CAAC;AAC5D","sources":["packages/@react-aria/tag/intl/pl-PL.json"],"sourcesContent":["{\n \"removeButtonLabel\": \"Usuń\",\n \"removeDescription\": \"Naciśnij Usuń, aby usunąć znacznik.\"\n}\n"],"names":[],"version":3,"file":"pl-PL.main.js.map"}
|
package/dist/pl-PL.mjs
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
var $1c40ffbbfe9f3bda$exports = {};
|
|
2
|
+
$1c40ffbbfe9f3bda$exports = {
|
|
3
|
+
"removeButtonLabel": `Usu\u{144}`,
|
|
4
|
+
"removeDescription": `Naci\u{15B}nij Usu\u{144}, aby usun\u{105}\u{107} znacznik.`
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
export {$1c40ffbbfe9f3bda$exports as default};
|
|
9
|
+
//# sourceMappingURL=pl-PL.mjs.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
var $1c40ffbbfe9f3bda$exports = {};
|
|
2
|
+
$1c40ffbbfe9f3bda$exports = {
|
|
3
|
+
"removeButtonLabel": `Usu\u{144}`,
|
|
4
|
+
"removeDescription": `Naci\u{15B}nij Usu\u{144}, aby usun\u{105}\u{107} znacznik.`
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
export {$1c40ffbbfe9f3bda$exports as default};
|
|
9
|
+
//# sourceMappingURL=pl-PL.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":";AAAA,4BAAiB;IAAG,qBAAqB,CAAC,UAAI,CAAC;IAC7C,qBAAqB,CAAC,2DAAmC,CAAC;AAC5D","sources":["packages/@react-aria/tag/intl/pl-PL.json"],"sourcesContent":["{\n \"removeButtonLabel\": \"Usuń\",\n \"removeDescription\": \"Naciśnij Usuń, aby usunąć znacznik.\"\n}\n"],"names":[],"version":3,"file":"pl-PL.module.js.map"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAAA,iBAAiB;IAAG,qBAAqB,CAAC,OAAO,CAAC;IAChD,qBAAqB,CAAC,oCAAoC,CAAC;AAC7D","sources":["packages/@react-aria/tag/intl/pt-BR.json"],"sourcesContent":["{\n \"removeButtonLabel\": \"Remover\",\n \"removeDescription\": \"Pressione Delete para remover a tag.\"\n}\n"],"names":[],"version":3,"file":"pt-BR.main.js.map"}
|
package/dist/pt-BR.mjs
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
var $156880e329b1c717$exports = {};
|
|
2
|
+
$156880e329b1c717$exports = {
|
|
3
|
+
"removeButtonLabel": `Remover`,
|
|
4
|
+
"removeDescription": `Pressione Delete para remover a tag.`
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
export {$156880e329b1c717$exports as default};
|
|
9
|
+
//# sourceMappingURL=pt-BR.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":";AAAA,4BAAiB;IAAG,qBAAqB,CAAC,OAAO,CAAC;IAChD,qBAAqB,CAAC,oCAAoC,CAAC;AAC7D","sources":["packages/@react-aria/tag/intl/pt-BR.json"],"sourcesContent":["{\n \"removeButtonLabel\": \"Remover\",\n \"removeDescription\": \"Pressione Delete para remover a tag.\"\n}\n"],"names":[],"version":3,"file":"pt-BR.module.js.map"}
|