@react-aria/tag 3.4.0 → 3.4.1

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.mjs CHANGED
@@ -6,4 +6,4 @@ $84925f526f90eebd$exports = {
6
6
 
7
7
 
8
8
  export {$84925f526f90eebd$exports as default};
9
- //# sourceMappingURL=ar-AE.mjs.map
9
+ //# sourceMappingURL=ar-AE.module.js.map
package/dist/bg-BG.mjs CHANGED
@@ -6,4 +6,4 @@ $c0650163dc1b6f9d$exports = {
6
6
 
7
7
 
8
8
  export {$c0650163dc1b6f9d$exports as default};
9
- //# sourceMappingURL=bg-BG.mjs.map
9
+ //# sourceMappingURL=bg-BG.module.js.map
package/dist/cs-CZ.mjs CHANGED
@@ -6,4 +6,4 @@ $b2b55661291de587$exports = {
6
6
 
7
7
 
8
8
  export {$b2b55661291de587$exports as default};
9
- //# sourceMappingURL=cs-CZ.mjs.map
9
+ //# sourceMappingURL=cs-CZ.module.js.map
package/dist/da-DK.mjs CHANGED
@@ -6,4 +6,4 @@ $deb83970956f6d5b$exports = {
6
6
 
7
7
 
8
8
  export {$deb83970956f6d5b$exports as default};
9
- //# sourceMappingURL=da-DK.mjs.map
9
+ //# sourceMappingURL=da-DK.module.js.map
package/dist/de-DE.mjs CHANGED
@@ -6,4 +6,4 @@ $aea1cb4c7ec97e1c$exports = {
6
6
 
7
7
 
8
8
  export {$aea1cb4c7ec97e1c$exports as default};
9
- //# sourceMappingURL=de-DE.mjs.map
9
+ //# sourceMappingURL=de-DE.module.js.map
package/dist/el-GR.mjs CHANGED
@@ -6,4 +6,4 @@ $3618d917e503a8d3$exports = {
6
6
 
7
7
 
8
8
  export {$3618d917e503a8d3$exports as default};
9
- //# sourceMappingURL=el-GR.mjs.map
9
+ //# sourceMappingURL=el-GR.module.js.map
package/dist/en-US.mjs CHANGED
@@ -6,4 +6,4 @@ $9eb56bbbe8e31294$exports = {
6
6
 
7
7
 
8
8
  export {$9eb56bbbe8e31294$exports as default};
9
- //# sourceMappingURL=en-US.mjs.map
9
+ //# sourceMappingURL=en-US.module.js.map
package/dist/es-ES.mjs CHANGED
@@ -6,4 +6,4 @@ $361c604b0fc269a3$exports = {
6
6
 
7
7
 
8
8
  export {$361c604b0fc269a3$exports as default};
9
- //# sourceMappingURL=es-ES.mjs.map
9
+ //# sourceMappingURL=es-ES.module.js.map
package/dist/et-EE.mjs CHANGED
@@ -6,4 +6,4 @@ $2f00170f4ee3ca01$exports = {
6
6
 
7
7
 
8
8
  export {$2f00170f4ee3ca01$exports as default};
9
- //# sourceMappingURL=et-EE.mjs.map
9
+ //# sourceMappingURL=et-EE.module.js.map
package/dist/fi-FI.mjs CHANGED
@@ -6,4 +6,4 @@ $80ee16b64fab9fb5$exports = {
6
6
 
7
7
 
8
8
  export {$80ee16b64fab9fb5$exports as default};
9
- //# sourceMappingURL=fi-FI.mjs.map
9
+ //# sourceMappingURL=fi-FI.module.js.map
package/dist/fr-FR.mjs CHANGED
@@ -6,4 +6,4 @@ $be9d354476c08087$exports = {
6
6
 
7
7
 
8
8
  export {$be9d354476c08087$exports as default};
9
- //# sourceMappingURL=fr-FR.mjs.map
9
+ //# sourceMappingURL=fr-FR.module.js.map
package/dist/he-IL.mjs CHANGED
@@ -6,4 +6,4 @@ $ffeb903ba092eb35$exports = {
6
6
 
7
7
 
8
8
  export {$ffeb903ba092eb35$exports as default};
9
- //# sourceMappingURL=he-IL.mjs.map
9
+ //# sourceMappingURL=he-IL.module.js.map
package/dist/hr-HR.mjs CHANGED
@@ -6,4 +6,4 @@ $1df6722c6f19728b$exports = {
6
6
 
7
7
 
8
8
  export {$1df6722c6f19728b$exports as default};
9
- //# sourceMappingURL=hr-HR.mjs.map
9
+ //# sourceMappingURL=hr-HR.module.js.map
package/dist/hu-HU.mjs CHANGED
@@ -6,4 +6,4 @@ $093d57e325bc9071$exports = {
6
6
 
7
7
 
8
8
  export {$093d57e325bc9071$exports as default};
9
- //# sourceMappingURL=hu-HU.mjs.map
9
+ //# sourceMappingURL=hu-HU.module.js.map
@@ -107,4 +107,4 @@ $3bb15cc24d006ec5$exports = {
107
107
 
108
108
 
109
109
  export {$3bb15cc24d006ec5$exports as default};
110
- //# sourceMappingURL=intlStrings.mjs.map
110
+ //# sourceMappingURL=intlStrings.module.js.map
package/dist/it-IT.mjs CHANGED
@@ -6,4 +6,4 @@ $609dbdfbcad85bdb$exports = {
6
6
 
7
7
 
8
8
  export {$609dbdfbcad85bdb$exports as default};
9
- //# sourceMappingURL=it-IT.mjs.map
9
+ //# sourceMappingURL=it-IT.module.js.map
package/dist/ja-JP.mjs CHANGED
@@ -6,4 +6,4 @@ $c08e84f882644048$exports = {
6
6
 
7
7
 
8
8
  export {$c08e84f882644048$exports as default};
9
- //# sourceMappingURL=ja-JP.mjs.map
9
+ //# sourceMappingURL=ja-JP.module.js.map
package/dist/ko-KR.mjs CHANGED
@@ -6,4 +6,4 @@ $5cd130489822fa21$exports = {
6
6
 
7
7
 
8
8
  export {$5cd130489822fa21$exports as default};
9
- //# sourceMappingURL=ko-KR.mjs.map
9
+ //# sourceMappingURL=ko-KR.module.js.map
package/dist/lt-LT.mjs CHANGED
@@ -6,4 +6,4 @@ $ab5183739b6c5e7e$exports = {
6
6
 
7
7
 
8
8
  export {$ab5183739b6c5e7e$exports as default};
9
- //# sourceMappingURL=lt-LT.mjs.map
9
+ //# sourceMappingURL=lt-LT.module.js.map
package/dist/lv-LV.mjs CHANGED
@@ -6,4 +6,4 @@ $dd84a0b574be3f23$exports = {
6
6
 
7
7
 
8
8
  export {$dd84a0b574be3f23$exports as default};
9
- //# sourceMappingURL=lv-LV.mjs.map
9
+ //# sourceMappingURL=lv-LV.module.js.map
package/dist/nb-NO.mjs CHANGED
@@ -6,4 +6,4 @@ $85eee97d14eef7b5$exports = {
6
6
 
7
7
 
8
8
  export {$85eee97d14eef7b5$exports as default};
9
- //# sourceMappingURL=nb-NO.mjs.map
9
+ //# sourceMappingURL=nb-NO.module.js.map
package/dist/nl-NL.mjs CHANGED
@@ -6,4 +6,4 @@ $18781839f93b0314$exports = {
6
6
 
7
7
 
8
8
  export {$18781839f93b0314$exports as default};
9
- //# sourceMappingURL=nl-NL.mjs.map
9
+ //# sourceMappingURL=nl-NL.module.js.map
package/dist/pl-PL.mjs CHANGED
@@ -6,4 +6,4 @@ $1c40ffbbfe9f3bda$exports = {
6
6
 
7
7
 
8
8
  export {$1c40ffbbfe9f3bda$exports as default};
9
- //# sourceMappingURL=pl-PL.mjs.map
9
+ //# sourceMappingURL=pl-PL.module.js.map
package/dist/pt-BR.mjs CHANGED
@@ -6,4 +6,4 @@ $156880e329b1c717$exports = {
6
6
 
7
7
 
8
8
  export {$156880e329b1c717$exports as default};
9
- //# sourceMappingURL=pt-BR.mjs.map
9
+ //# sourceMappingURL=pt-BR.module.js.map
package/dist/pt-PT.mjs CHANGED
@@ -6,4 +6,4 @@ $b6d50b1d20768ce4$exports = {
6
6
 
7
7
 
8
8
  export {$b6d50b1d20768ce4$exports as default};
9
- //# sourceMappingURL=pt-PT.mjs.map
9
+ //# sourceMappingURL=pt-PT.module.js.map
package/dist/ro-RO.mjs CHANGED
@@ -6,4 +6,4 @@ $d8c38c691b006187$exports = {
6
6
 
7
7
 
8
8
  export {$d8c38c691b006187$exports as default};
9
- //# sourceMappingURL=ro-RO.mjs.map
9
+ //# sourceMappingURL=ro-RO.module.js.map
package/dist/ru-RU.mjs CHANGED
@@ -6,4 +6,4 @@ $ed9b4bf7ce1fb1d7$exports = {
6
6
 
7
7
 
8
8
  export {$ed9b4bf7ce1fb1d7$exports as default};
9
- //# sourceMappingURL=ru-RU.mjs.map
9
+ //# sourceMappingURL=ru-RU.module.js.map
package/dist/sk-SK.mjs CHANGED
@@ -6,4 +6,4 @@ $51d8721afda4d678$exports = {
6
6
 
7
7
 
8
8
  export {$51d8721afda4d678$exports as default};
9
- //# sourceMappingURL=sk-SK.mjs.map
9
+ //# sourceMappingURL=sk-SK.module.js.map
package/dist/sl-SI.mjs CHANGED
@@ -6,4 +6,4 @@ $fd37a27baae493e8$exports = {
6
6
 
7
7
 
8
8
  export {$fd37a27baae493e8$exports as default};
9
- //# sourceMappingURL=sl-SI.mjs.map
9
+ //# sourceMappingURL=sl-SI.module.js.map
package/dist/sr-SP.mjs CHANGED
@@ -6,4 +6,4 @@ $5505a1ca71ffd6f4$exports = {
6
6
 
7
7
 
8
8
  export {$5505a1ca71ffd6f4$exports as default};
9
- //# sourceMappingURL=sr-SP.mjs.map
9
+ //# sourceMappingURL=sr-SP.module.js.map
package/dist/sv-SE.mjs CHANGED
@@ -6,4 +6,4 @@ $33670e148c84ad02$exports = {
6
6
 
7
7
 
8
8
  export {$33670e148c84ad02$exports as default};
9
- //# sourceMappingURL=sv-SE.mjs.map
9
+ //# sourceMappingURL=sv-SE.module.js.map
package/dist/tr-TR.mjs CHANGED
@@ -6,4 +6,4 @@ $0bf46fdcdd7cb5f6$exports = {
6
6
 
7
7
 
8
8
  export {$0bf46fdcdd7cb5f6$exports as default};
9
- //# sourceMappingURL=tr-TR.mjs.map
9
+ //# sourceMappingURL=tr-TR.module.js.map
package/dist/uk-UA.mjs CHANGED
@@ -6,4 +6,4 @@ $9d9765222bc08ca2$exports = {
6
6
 
7
7
 
8
8
  export {$9d9765222bc08ca2$exports as default};
9
- //# sourceMappingURL=uk-UA.mjs.map
9
+ //# sourceMappingURL=uk-UA.module.js.map
@@ -33,7 +33,7 @@ $parcel$export(module.exports, "useTag", () => $a442534c81d8ad16$export$3f568fff
33
33
 
34
34
  function $a442534c81d8ad16$export$3f568fff7dff2f03(props, state, ref) {
35
35
  let { item: item } = props;
36
- let stringFormatter = (0, $8p8DL$reactariai18n.useLocalizedStringFormatter)((0, ($parcel$interopDefault($b6a2538ff098a9ff$exports))), "@react-aria/tag");
36
+ let stringFormatter = (0, $8p8DL$reactariai18n.useLocalizedStringFormatter)((0, ($parcel$interopDefault($b6a2538ff098a9ff$exports))), '@react-aria/tag');
37
37
  let buttonId = (0, $8p8DL$reactariautils.useId)();
38
38
  let { onRemove: onRemove } = (0, $09704b0efefe5140$exports.hookData).get(state) || {};
39
39
  let { rowProps: rowProps, gridCellProps: gridCellProps, ...states } = (0, $8p8DL$reactariagridlist.useGridListItem)({
@@ -44,7 +44,7 @@ function $a442534c81d8ad16$export$3f568fff7dff2f03(props, state, ref) {
44
44
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
45
45
  let { descriptionProps: _, ...stateWithoutDescription } = states;
46
46
  let onKeyDown = (e)=>{
47
- if (e.key === "Delete" || e.key === "Backspace") {
47
+ if (e.key === 'Delete' || e.key === 'Backspace') {
48
48
  e.preventDefault();
49
49
  if (state.selectionManager.isSelected(item.key)) onRemove === null || onRemove === void 0 ? void 0 : onRemove(new Set(state.selectionManager.selectedKeys));
50
50
  else onRemove === null || onRemove === void 0 ? void 0 : onRemove(new Set([
@@ -53,8 +53,8 @@ function $a442534c81d8ad16$export$3f568fff7dff2f03(props, state, ref) {
53
53
  }
54
54
  };
55
55
  let modality = (0, $8p8DL$reactariainteractions.useInteractionModality)();
56
- if (modality === "virtual" && typeof window !== "undefined" && "ontouchstart" in window) modality = "pointer";
57
- let description = onRemove && (modality === "keyboard" || modality === "virtual") ? stringFormatter.format("removeDescription") : "";
56
+ if (modality === 'virtual' && typeof window !== 'undefined' && 'ontouchstart' in window) modality = 'pointer';
57
+ let description = onRemove && (modality === 'keyboard' || modality === 'virtual') ? stringFormatter.format('removeDescription') : '';
58
58
  let descProps = (0, $8p8DL$reactariautils.useDescription)(description);
59
59
  let isFocused = item.key === state.selectionManager.focusedKey;
60
60
  // @ts-ignore - data attributes are ok but TS doesn't know about them.
@@ -62,8 +62,8 @@ function $a442534c81d8ad16$export$3f568fff7dff2f03(props, state, ref) {
62
62
  let linkProps = (0, $8p8DL$reactariautils.getSyntheticLinkProps)(item.props);
63
63
  return {
64
64
  removeButtonProps: {
65
- "aria-label": stringFormatter.format("removeButtonLabel"),
66
- "aria-labelledby": `${buttonId} ${rowProps.id}`,
65
+ 'aria-label': stringFormatter.format('removeButtonLabel'),
66
+ 'aria-labelledby': `${buttonId} ${rowProps.id}`,
67
67
  id: buttonId,
68
68
  onPress: ()=>onRemove ? onRemove(new Set([
69
69
  item.key
@@ -73,11 +73,11 @@ function $a442534c81d8ad16$export$3f568fff7dff2f03(props, state, ref) {
73
73
  rowProps: (0, $8p8DL$reactariautils.mergeProps)(rowProps, domProps, linkProps, {
74
74
  tabIndex: isFocused || state.selectionManager.focusedKey == null ? 0 : -1,
75
75
  onKeyDown: onRemove ? onKeyDown : undefined,
76
- "aria-describedby": descProps["aria-describedby"]
76
+ 'aria-describedby': descProps['aria-describedby']
77
77
  }),
78
78
  gridCellProps: (0, $8p8DL$reactariautils.mergeProps)(gridCellProps, {
79
- "aria-errormessage": props["aria-errormessage"],
80
- "aria-label": props["aria-label"]
79
+ 'aria-errormessage': props['aria-errormessage'],
80
+ 'aria-label': props['aria-label']
81
81
  }),
82
82
  ...stateWithoutDescription,
83
83
  allowsRemoving: !!onRemove
package/dist/useTag.mjs CHANGED
@@ -27,7 +27,7 @@ function $parcel$interopDefault(a) {
27
27
 
28
28
  function $fc6126c82a4601f1$export$3f568fff7dff2f03(props, state, ref) {
29
29
  let { item: item } = props;
30
- let stringFormatter = (0, $ioKwR$useLocalizedStringFormatter)((0, ($parcel$interopDefault($ioKwR$intlStringsmodulejs))), "@react-aria/tag");
30
+ let stringFormatter = (0, $ioKwR$useLocalizedStringFormatter)((0, ($parcel$interopDefault($ioKwR$intlStringsmodulejs))), '@react-aria/tag');
31
31
  let buttonId = (0, $ioKwR$useId)();
32
32
  let { onRemove: onRemove } = (0, $d7323bca8d074eeb$export$653eddfc964b0f8a).get(state) || {};
33
33
  let { rowProps: rowProps, gridCellProps: gridCellProps, ...states } = (0, $ioKwR$useGridListItem)({
@@ -38,7 +38,7 @@ function $fc6126c82a4601f1$export$3f568fff7dff2f03(props, state, ref) {
38
38
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
39
39
  let { descriptionProps: _, ...stateWithoutDescription } = states;
40
40
  let onKeyDown = (e)=>{
41
- if (e.key === "Delete" || e.key === "Backspace") {
41
+ if (e.key === 'Delete' || e.key === 'Backspace') {
42
42
  e.preventDefault();
43
43
  if (state.selectionManager.isSelected(item.key)) onRemove === null || onRemove === void 0 ? void 0 : onRemove(new Set(state.selectionManager.selectedKeys));
44
44
  else onRemove === null || onRemove === void 0 ? void 0 : onRemove(new Set([
@@ -47,8 +47,8 @@ function $fc6126c82a4601f1$export$3f568fff7dff2f03(props, state, ref) {
47
47
  }
48
48
  };
49
49
  let modality = (0, $ioKwR$useInteractionModality)();
50
- if (modality === "virtual" && typeof window !== "undefined" && "ontouchstart" in window) modality = "pointer";
51
- let description = onRemove && (modality === "keyboard" || modality === "virtual") ? stringFormatter.format("removeDescription") : "";
50
+ if (modality === 'virtual' && typeof window !== 'undefined' && 'ontouchstart' in window) modality = 'pointer';
51
+ let description = onRemove && (modality === 'keyboard' || modality === 'virtual') ? stringFormatter.format('removeDescription') : '';
52
52
  let descProps = (0, $ioKwR$useDescription)(description);
53
53
  let isFocused = item.key === state.selectionManager.focusedKey;
54
54
  // @ts-ignore - data attributes are ok but TS doesn't know about them.
@@ -56,8 +56,8 @@ function $fc6126c82a4601f1$export$3f568fff7dff2f03(props, state, ref) {
56
56
  let linkProps = (0, $ioKwR$getSyntheticLinkProps)(item.props);
57
57
  return {
58
58
  removeButtonProps: {
59
- "aria-label": stringFormatter.format("removeButtonLabel"),
60
- "aria-labelledby": `${buttonId} ${rowProps.id}`,
59
+ 'aria-label': stringFormatter.format('removeButtonLabel'),
60
+ 'aria-labelledby': `${buttonId} ${rowProps.id}`,
61
61
  id: buttonId,
62
62
  onPress: ()=>onRemove ? onRemove(new Set([
63
63
  item.key
@@ -67,11 +67,11 @@ function $fc6126c82a4601f1$export$3f568fff7dff2f03(props, state, ref) {
67
67
  rowProps: (0, $ioKwR$mergeProps)(rowProps, domProps, linkProps, {
68
68
  tabIndex: isFocused || state.selectionManager.focusedKey == null ? 0 : -1,
69
69
  onKeyDown: onRemove ? onKeyDown : undefined,
70
- "aria-describedby": descProps["aria-describedby"]
70
+ 'aria-describedby': descProps['aria-describedby']
71
71
  }),
72
72
  gridCellProps: (0, $ioKwR$mergeProps)(gridCellProps, {
73
- "aria-errormessage": props["aria-errormessage"],
74
- "aria-label": props["aria-label"]
73
+ 'aria-errormessage': props['aria-errormessage'],
74
+ 'aria-label': props['aria-label']
75
75
  }),
76
76
  ...stateWithoutDescription,
77
77
  allowsRemoving: !!onRemove
@@ -80,4 +80,4 @@ function $fc6126c82a4601f1$export$3f568fff7dff2f03(props, state, ref) {
80
80
 
81
81
 
82
82
  export {$fc6126c82a4601f1$export$3f568fff7dff2f03 as useTag};
83
- //# sourceMappingURL=useTag.mjs.map
83
+ //# sourceMappingURL=useTag.module.js.map
@@ -27,7 +27,7 @@ function $parcel$interopDefault(a) {
27
27
 
28
28
  function $fc6126c82a4601f1$export$3f568fff7dff2f03(props, state, ref) {
29
29
  let { item: item } = props;
30
- let stringFormatter = (0, $ioKwR$useLocalizedStringFormatter)((0, ($parcel$interopDefault($ioKwR$intlStringsmodulejs))), "@react-aria/tag");
30
+ let stringFormatter = (0, $ioKwR$useLocalizedStringFormatter)((0, ($parcel$interopDefault($ioKwR$intlStringsmodulejs))), '@react-aria/tag');
31
31
  let buttonId = (0, $ioKwR$useId)();
32
32
  let { onRemove: onRemove } = (0, $d7323bca8d074eeb$export$653eddfc964b0f8a).get(state) || {};
33
33
  let { rowProps: rowProps, gridCellProps: gridCellProps, ...states } = (0, $ioKwR$useGridListItem)({
@@ -38,7 +38,7 @@ function $fc6126c82a4601f1$export$3f568fff7dff2f03(props, state, ref) {
38
38
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
39
39
  let { descriptionProps: _, ...stateWithoutDescription } = states;
40
40
  let onKeyDown = (e)=>{
41
- if (e.key === "Delete" || e.key === "Backspace") {
41
+ if (e.key === 'Delete' || e.key === 'Backspace') {
42
42
  e.preventDefault();
43
43
  if (state.selectionManager.isSelected(item.key)) onRemove === null || onRemove === void 0 ? void 0 : onRemove(new Set(state.selectionManager.selectedKeys));
44
44
  else onRemove === null || onRemove === void 0 ? void 0 : onRemove(new Set([
@@ -47,8 +47,8 @@ function $fc6126c82a4601f1$export$3f568fff7dff2f03(props, state, ref) {
47
47
  }
48
48
  };
49
49
  let modality = (0, $ioKwR$useInteractionModality)();
50
- if (modality === "virtual" && typeof window !== "undefined" && "ontouchstart" in window) modality = "pointer";
51
- let description = onRemove && (modality === "keyboard" || modality === "virtual") ? stringFormatter.format("removeDescription") : "";
50
+ if (modality === 'virtual' && typeof window !== 'undefined' && 'ontouchstart' in window) modality = 'pointer';
51
+ let description = onRemove && (modality === 'keyboard' || modality === 'virtual') ? stringFormatter.format('removeDescription') : '';
52
52
  let descProps = (0, $ioKwR$useDescription)(description);
53
53
  let isFocused = item.key === state.selectionManager.focusedKey;
54
54
  // @ts-ignore - data attributes are ok but TS doesn't know about them.
@@ -56,8 +56,8 @@ function $fc6126c82a4601f1$export$3f568fff7dff2f03(props, state, ref) {
56
56
  let linkProps = (0, $ioKwR$getSyntheticLinkProps)(item.props);
57
57
  return {
58
58
  removeButtonProps: {
59
- "aria-label": stringFormatter.format("removeButtonLabel"),
60
- "aria-labelledby": `${buttonId} ${rowProps.id}`,
59
+ 'aria-label': stringFormatter.format('removeButtonLabel'),
60
+ 'aria-labelledby': `${buttonId} ${rowProps.id}`,
61
61
  id: buttonId,
62
62
  onPress: ()=>onRemove ? onRemove(new Set([
63
63
  item.key
@@ -67,11 +67,11 @@ function $fc6126c82a4601f1$export$3f568fff7dff2f03(props, state, ref) {
67
67
  rowProps: (0, $ioKwR$mergeProps)(rowProps, domProps, linkProps, {
68
68
  tabIndex: isFocused || state.selectionManager.focusedKey == null ? 0 : -1,
69
69
  onKeyDown: onRemove ? onKeyDown : undefined,
70
- "aria-describedby": descProps["aria-describedby"]
70
+ 'aria-describedby': descProps['aria-describedby']
71
71
  }),
72
72
  gridCellProps: (0, $ioKwR$mergeProps)(gridCellProps, {
73
- "aria-errormessage": props["aria-errormessage"],
74
- "aria-label": props["aria-label"]
73
+ 'aria-errormessage': props['aria-errormessage'],
74
+ 'aria-label': props['aria-label']
75
75
  }),
76
76
  ...stateWithoutDescription,
77
77
  allowsRemoving: !!onRemove
@@ -36,21 +36,21 @@ function $09704b0efefe5140$export$4f8b5cda58b7e8ff(props, state, ref) {
36
36
  let keyboardDelegate = props.keyboardDelegate || new (0, $jLhmn$reactariaselection.ListKeyboardDelegate)({
37
37
  collection: state.collection,
38
38
  ref: ref,
39
- orientation: "horizontal",
39
+ orientation: 'horizontal',
40
40
  direction: direction,
41
41
  disabledKeys: state.disabledKeys,
42
42
  disabledBehavior: state.selectionManager.disabledBehavior
43
43
  });
44
44
  let { labelProps: labelProps, fieldProps: fieldProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps } = (0, $jLhmn$reactarialabel.useField)({
45
45
  ...props,
46
- labelElementType: "span"
46
+ labelElementType: 'span'
47
47
  });
48
48
  let { gridProps: gridProps } = (0, $jLhmn$reactariagridlist.useGridList)({
49
49
  ...props,
50
50
  ...fieldProps,
51
51
  keyboardDelegate: keyboardDelegate,
52
52
  shouldFocusWrap: true,
53
- linkBehavior: "override"
53
+ linkBehavior: 'override'
54
54
  }, state, ref);
55
55
  let [isFocusWithin, setFocusWithin] = (0, $jLhmn$react.useState)(false);
56
56
  let { focusWithinProps: focusWithinProps } = (0, $jLhmn$reactariainteractions.useFocusWithin)({
@@ -72,10 +72,10 @@ function $09704b0efefe5140$export$4f8b5cda58b7e8ff(props, state, ref) {
72
72
  });
73
73
  return {
74
74
  gridProps: (0, $jLhmn$reactariautils.mergeProps)(gridProps, domProps, {
75
- role: state.collection.size ? "grid" : null,
76
- "aria-atomic": false,
77
- "aria-relevant": "additions",
78
- "aria-live": isFocusWithin ? "polite" : "off",
75
+ role: state.collection.size ? 'grid' : null,
76
+ 'aria-atomic': false,
77
+ 'aria-relevant': 'additions',
78
+ 'aria-live': isFocusWithin ? 'polite' : 'off',
79
79
  ...focusWithinProps,
80
80
  ...fieldProps
81
81
  }),
@@ -29,21 +29,21 @@ function $d7323bca8d074eeb$export$4f8b5cda58b7e8ff(props, state, ref) {
29
29
  let keyboardDelegate = props.keyboardDelegate || new (0, $eUtJD$ListKeyboardDelegate)({
30
30
  collection: state.collection,
31
31
  ref: ref,
32
- orientation: "horizontal",
32
+ orientation: 'horizontal',
33
33
  direction: direction,
34
34
  disabledKeys: state.disabledKeys,
35
35
  disabledBehavior: state.selectionManager.disabledBehavior
36
36
  });
37
37
  let { labelProps: labelProps, fieldProps: fieldProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps } = (0, $eUtJD$useField)({
38
38
  ...props,
39
- labelElementType: "span"
39
+ labelElementType: 'span'
40
40
  });
41
41
  let { gridProps: gridProps } = (0, $eUtJD$useGridList)({
42
42
  ...props,
43
43
  ...fieldProps,
44
44
  keyboardDelegate: keyboardDelegate,
45
45
  shouldFocusWrap: true,
46
- linkBehavior: "override"
46
+ linkBehavior: 'override'
47
47
  }, state, ref);
48
48
  let [isFocusWithin, setFocusWithin] = (0, $eUtJD$useState)(false);
49
49
  let { focusWithinProps: focusWithinProps } = (0, $eUtJD$useFocusWithin)({
@@ -65,10 +65,10 @@ function $d7323bca8d074eeb$export$4f8b5cda58b7e8ff(props, state, ref) {
65
65
  });
66
66
  return {
67
67
  gridProps: (0, $eUtJD$mergeProps)(gridProps, domProps, {
68
- role: state.collection.size ? "grid" : null,
69
- "aria-atomic": false,
70
- "aria-relevant": "additions",
71
- "aria-live": isFocusWithin ? "polite" : "off",
68
+ role: state.collection.size ? 'grid' : null,
69
+ 'aria-atomic': false,
70
+ 'aria-relevant': 'additions',
71
+ 'aria-live': isFocusWithin ? 'polite' : 'off',
72
72
  ...focusWithinProps,
73
73
  ...fieldProps
74
74
  }),
@@ -80,4 +80,4 @@ function $d7323bca8d074eeb$export$4f8b5cda58b7e8ff(props, state, ref) {
80
80
 
81
81
 
82
82
  export {$d7323bca8d074eeb$export$653eddfc964b0f8a as hookData, $d7323bca8d074eeb$export$4f8b5cda58b7e8ff as useTagGroup};
83
- //# sourceMappingURL=useTagGroup.mjs.map
83
+ //# sourceMappingURL=useTagGroup.module.js.map
@@ -29,21 +29,21 @@ function $d7323bca8d074eeb$export$4f8b5cda58b7e8ff(props, state, ref) {
29
29
  let keyboardDelegate = props.keyboardDelegate || new (0, $eUtJD$ListKeyboardDelegate)({
30
30
  collection: state.collection,
31
31
  ref: ref,
32
- orientation: "horizontal",
32
+ orientation: 'horizontal',
33
33
  direction: direction,
34
34
  disabledKeys: state.disabledKeys,
35
35
  disabledBehavior: state.selectionManager.disabledBehavior
36
36
  });
37
37
  let { labelProps: labelProps, fieldProps: fieldProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps } = (0, $eUtJD$useField)({
38
38
  ...props,
39
- labelElementType: "span"
39
+ labelElementType: 'span'
40
40
  });
41
41
  let { gridProps: gridProps } = (0, $eUtJD$useGridList)({
42
42
  ...props,
43
43
  ...fieldProps,
44
44
  keyboardDelegate: keyboardDelegate,
45
45
  shouldFocusWrap: true,
46
- linkBehavior: "override"
46
+ linkBehavior: 'override'
47
47
  }, state, ref);
48
48
  let [isFocusWithin, setFocusWithin] = (0, $eUtJD$useState)(false);
49
49
  let { focusWithinProps: focusWithinProps } = (0, $eUtJD$useFocusWithin)({
@@ -65,10 +65,10 @@ function $d7323bca8d074eeb$export$4f8b5cda58b7e8ff(props, state, ref) {
65
65
  });
66
66
  return {
67
67
  gridProps: (0, $eUtJD$mergeProps)(gridProps, domProps, {
68
- role: state.collection.size ? "grid" : null,
69
- "aria-atomic": false,
70
- "aria-relevant": "additions",
71
- "aria-live": isFocusWithin ? "polite" : "off",
68
+ role: state.collection.size ? 'grid' : null,
69
+ 'aria-atomic': false,
70
+ 'aria-relevant': 'additions',
71
+ 'aria-live': isFocusWithin ? 'polite' : 'off',
72
72
  ...focusWithinProps,
73
73
  ...fieldProps
74
74
  }),
package/dist/zh-CN.mjs CHANGED
@@ -6,4 +6,4 @@ $d737296cedcdee9f$exports = {
6
6
 
7
7
 
8
8
  export {$d737296cedcdee9f$exports as default};
9
- //# sourceMappingURL=zh-CN.mjs.map
9
+ //# sourceMappingURL=zh-CN.module.js.map
package/dist/zh-TW.mjs CHANGED
@@ -6,4 +6,4 @@ $09cd168ab18773f4$exports = {
6
6
 
7
7
 
8
8
  export {$09cd168ab18773f4$exports as default};
9
- //# sourceMappingURL=zh-TW.mjs.map
9
+ //# sourceMappingURL=zh-TW.module.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-aria/tag",
3
- "version": "3.4.0",
3
+ "version": "3.4.1",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -22,15 +22,15 @@
22
22
  "url": "https://github.com/adobe/react-spectrum"
23
23
  },
24
24
  "dependencies": {
25
- "@react-aria/gridlist": "^3.8.0",
26
- "@react-aria/i18n": "^3.11.0",
27
- "@react-aria/interactions": "^3.21.2",
28
- "@react-aria/label": "^3.7.7",
29
- "@react-aria/selection": "^3.18.0",
30
- "@react-aria/utils": "^3.24.0",
31
- "@react-stately/list": "^3.10.4",
32
- "@react-types/button": "^3.9.3",
33
- "@react-types/shared": "^3.23.0",
25
+ "@react-aria/gridlist": "^3.8.1",
26
+ "@react-aria/i18n": "^3.11.1",
27
+ "@react-aria/interactions": "^3.21.3",
28
+ "@react-aria/label": "^3.7.8",
29
+ "@react-aria/selection": "^3.18.1",
30
+ "@react-aria/utils": "^3.24.1",
31
+ "@react-stately/list": "^3.10.5",
32
+ "@react-types/button": "^3.9.4",
33
+ "@react-types/shared": "^3.23.1",
34
34
  "@swc/helpers": "^0.5.0"
35
35
  },
36
36
  "peerDependencies": {
@@ -40,5 +40,5 @@
40
40
  "publishConfig": {
41
41
  "access": "public"
42
42
  },
43
- "gitHead": "f645f29edc1322153fd60af4640cbcab1d992dbd"
43
+ "gitHead": "b77d7d594dff4dcfb5359bffbcfd18142b146433"
44
44
  }