@react-aria/tree 3.1.6 → 3.2.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.
Files changed (197) hide show
  1. package/dist/import.mjs +2 -4
  2. package/dist/main.js +3 -5
  3. package/dist/main.js.map +1 -1
  4. package/dist/module.js +2 -4
  5. package/dist/module.js.map +1 -1
  6. package/dist/types/src/index.d.ts +4 -0
  7. package/package.json +15 -18
  8. package/src/index.ts +4 -4
  9. package/dist/ar-AE.main.js +0 -7
  10. package/dist/ar-AE.main.js.map +0 -1
  11. package/dist/ar-AE.mjs +0 -9
  12. package/dist/ar-AE.module.js +0 -9
  13. package/dist/ar-AE.module.js.map +0 -1
  14. package/dist/bg-BG.main.js +0 -7
  15. package/dist/bg-BG.main.js.map +0 -1
  16. package/dist/bg-BG.mjs +0 -9
  17. package/dist/bg-BG.module.js +0 -9
  18. package/dist/bg-BG.module.js.map +0 -1
  19. package/dist/cs-CZ.main.js +0 -7
  20. package/dist/cs-CZ.main.js.map +0 -1
  21. package/dist/cs-CZ.mjs +0 -9
  22. package/dist/cs-CZ.module.js +0 -9
  23. package/dist/cs-CZ.module.js.map +0 -1
  24. package/dist/da-DK.main.js +0 -7
  25. package/dist/da-DK.main.js.map +0 -1
  26. package/dist/da-DK.mjs +0 -9
  27. package/dist/da-DK.module.js +0 -9
  28. package/dist/da-DK.module.js.map +0 -1
  29. package/dist/de-DE.main.js +0 -7
  30. package/dist/de-DE.main.js.map +0 -1
  31. package/dist/de-DE.mjs +0 -9
  32. package/dist/de-DE.module.js +0 -9
  33. package/dist/de-DE.module.js.map +0 -1
  34. package/dist/el-GR.main.js +0 -7
  35. package/dist/el-GR.main.js.map +0 -1
  36. package/dist/el-GR.mjs +0 -9
  37. package/dist/el-GR.module.js +0 -9
  38. package/dist/el-GR.module.js.map +0 -1
  39. package/dist/en-US.main.js +0 -7
  40. package/dist/en-US.main.js.map +0 -1
  41. package/dist/en-US.mjs +0 -9
  42. package/dist/en-US.module.js +0 -9
  43. package/dist/en-US.module.js.map +0 -1
  44. package/dist/es-ES.main.js +0 -7
  45. package/dist/es-ES.main.js.map +0 -1
  46. package/dist/es-ES.mjs +0 -9
  47. package/dist/es-ES.module.js +0 -9
  48. package/dist/es-ES.module.js.map +0 -1
  49. package/dist/et-EE.main.js +0 -7
  50. package/dist/et-EE.main.js.map +0 -1
  51. package/dist/et-EE.mjs +0 -9
  52. package/dist/et-EE.module.js +0 -9
  53. package/dist/et-EE.module.js.map +0 -1
  54. package/dist/fi-FI.main.js +0 -7
  55. package/dist/fi-FI.main.js.map +0 -1
  56. package/dist/fi-FI.mjs +0 -9
  57. package/dist/fi-FI.module.js +0 -9
  58. package/dist/fi-FI.module.js.map +0 -1
  59. package/dist/fr-FR.main.js +0 -7
  60. package/dist/fr-FR.main.js.map +0 -1
  61. package/dist/fr-FR.mjs +0 -9
  62. package/dist/fr-FR.module.js +0 -9
  63. package/dist/fr-FR.module.js.map +0 -1
  64. package/dist/he-IL.main.js +0 -7
  65. package/dist/he-IL.main.js.map +0 -1
  66. package/dist/he-IL.mjs +0 -9
  67. package/dist/he-IL.module.js +0 -9
  68. package/dist/he-IL.module.js.map +0 -1
  69. package/dist/hr-HR.main.js +0 -7
  70. package/dist/hr-HR.main.js.map +0 -1
  71. package/dist/hr-HR.mjs +0 -9
  72. package/dist/hr-HR.module.js +0 -9
  73. package/dist/hr-HR.module.js.map +0 -1
  74. package/dist/hu-HU.main.js +0 -7
  75. package/dist/hu-HU.main.js.map +0 -1
  76. package/dist/hu-HU.mjs +0 -9
  77. package/dist/hu-HU.module.js +0 -9
  78. package/dist/hu-HU.module.js.map +0 -1
  79. package/dist/intlStrings.main.js +0 -108
  80. package/dist/intlStrings.main.js.map +0 -1
  81. package/dist/intlStrings.mjs +0 -110
  82. package/dist/intlStrings.module.js +0 -110
  83. package/dist/intlStrings.module.js.map +0 -1
  84. package/dist/it-IT.main.js +0 -7
  85. package/dist/it-IT.main.js.map +0 -1
  86. package/dist/it-IT.mjs +0 -9
  87. package/dist/it-IT.module.js +0 -9
  88. package/dist/it-IT.module.js.map +0 -1
  89. package/dist/ja-JP.main.js +0 -7
  90. package/dist/ja-JP.main.js.map +0 -1
  91. package/dist/ja-JP.mjs +0 -9
  92. package/dist/ja-JP.module.js +0 -9
  93. package/dist/ja-JP.module.js.map +0 -1
  94. package/dist/ko-KR.main.js +0 -7
  95. package/dist/ko-KR.main.js.map +0 -1
  96. package/dist/ko-KR.mjs +0 -9
  97. package/dist/ko-KR.module.js +0 -9
  98. package/dist/ko-KR.module.js.map +0 -1
  99. package/dist/lt-LT.main.js +0 -7
  100. package/dist/lt-LT.main.js.map +0 -1
  101. package/dist/lt-LT.mjs +0 -9
  102. package/dist/lt-LT.module.js +0 -9
  103. package/dist/lt-LT.module.js.map +0 -1
  104. package/dist/lv-LV.main.js +0 -7
  105. package/dist/lv-LV.main.js.map +0 -1
  106. package/dist/lv-LV.mjs +0 -9
  107. package/dist/lv-LV.module.js +0 -9
  108. package/dist/lv-LV.module.js.map +0 -1
  109. package/dist/nb-NO.main.js +0 -7
  110. package/dist/nb-NO.main.js.map +0 -1
  111. package/dist/nb-NO.mjs +0 -9
  112. package/dist/nb-NO.module.js +0 -9
  113. package/dist/nb-NO.module.js.map +0 -1
  114. package/dist/nl-NL.main.js +0 -7
  115. package/dist/nl-NL.main.js.map +0 -1
  116. package/dist/nl-NL.mjs +0 -9
  117. package/dist/nl-NL.module.js +0 -9
  118. package/dist/nl-NL.module.js.map +0 -1
  119. package/dist/pl-PL.main.js +0 -7
  120. package/dist/pl-PL.main.js.map +0 -1
  121. package/dist/pl-PL.mjs +0 -9
  122. package/dist/pl-PL.module.js +0 -9
  123. package/dist/pl-PL.module.js.map +0 -1
  124. package/dist/pt-BR.main.js +0 -7
  125. package/dist/pt-BR.main.js.map +0 -1
  126. package/dist/pt-BR.mjs +0 -9
  127. package/dist/pt-BR.module.js +0 -9
  128. package/dist/pt-BR.module.js.map +0 -1
  129. package/dist/pt-PT.main.js +0 -7
  130. package/dist/pt-PT.main.js.map +0 -1
  131. package/dist/pt-PT.mjs +0 -9
  132. package/dist/pt-PT.module.js +0 -9
  133. package/dist/pt-PT.module.js.map +0 -1
  134. package/dist/ro-RO.main.js +0 -7
  135. package/dist/ro-RO.main.js.map +0 -1
  136. package/dist/ro-RO.mjs +0 -9
  137. package/dist/ro-RO.module.js +0 -9
  138. package/dist/ro-RO.module.js.map +0 -1
  139. package/dist/ru-RU.main.js +0 -7
  140. package/dist/ru-RU.main.js.map +0 -1
  141. package/dist/ru-RU.mjs +0 -9
  142. package/dist/ru-RU.module.js +0 -9
  143. package/dist/ru-RU.module.js.map +0 -1
  144. package/dist/sk-SK.main.js +0 -7
  145. package/dist/sk-SK.main.js.map +0 -1
  146. package/dist/sk-SK.mjs +0 -9
  147. package/dist/sk-SK.module.js +0 -9
  148. package/dist/sk-SK.module.js.map +0 -1
  149. package/dist/sl-SI.main.js +0 -7
  150. package/dist/sl-SI.main.js.map +0 -1
  151. package/dist/sl-SI.mjs +0 -9
  152. package/dist/sl-SI.module.js +0 -9
  153. package/dist/sl-SI.module.js.map +0 -1
  154. package/dist/sr-SP.main.js +0 -7
  155. package/dist/sr-SP.main.js.map +0 -1
  156. package/dist/sr-SP.mjs +0 -9
  157. package/dist/sr-SP.module.js +0 -9
  158. package/dist/sr-SP.module.js.map +0 -1
  159. package/dist/sv-SE.main.js +0 -7
  160. package/dist/sv-SE.main.js.map +0 -1
  161. package/dist/sv-SE.mjs +0 -9
  162. package/dist/sv-SE.module.js +0 -9
  163. package/dist/sv-SE.module.js.map +0 -1
  164. package/dist/tr-TR.main.js +0 -7
  165. package/dist/tr-TR.main.js.map +0 -1
  166. package/dist/tr-TR.mjs +0 -9
  167. package/dist/tr-TR.module.js +0 -9
  168. package/dist/tr-TR.module.js.map +0 -1
  169. package/dist/types.d.ts +0 -50
  170. package/dist/types.d.ts.map +0 -1
  171. package/dist/uk-UA.main.js +0 -7
  172. package/dist/uk-UA.main.js.map +0 -1
  173. package/dist/uk-UA.mjs +0 -9
  174. package/dist/uk-UA.module.js +0 -9
  175. package/dist/uk-UA.module.js.map +0 -1
  176. package/dist/useTree.main.js +0 -29
  177. package/dist/useTree.main.js.map +0 -1
  178. package/dist/useTree.mjs +0 -24
  179. package/dist/useTree.module.js +0 -24
  180. package/dist/useTree.module.js.map +0 -1
  181. package/dist/useTreeItem.main.js +0 -60
  182. package/dist/useTreeItem.main.js.map +0 -1
  183. package/dist/useTreeItem.mjs +0 -55
  184. package/dist/useTreeItem.module.js +0 -55
  185. package/dist/useTreeItem.module.js.map +0 -1
  186. package/dist/zh-CN.main.js +0 -7
  187. package/dist/zh-CN.main.js.map +0 -1
  188. package/dist/zh-CN.mjs +0 -9
  189. package/dist/zh-CN.module.js +0 -9
  190. package/dist/zh-CN.module.js.map +0 -1
  191. package/dist/zh-TW.main.js +0 -7
  192. package/dist/zh-TW.main.js.map +0 -1
  193. package/dist/zh-TW.mjs +0 -9
  194. package/dist/zh-TW.module.js +0 -9
  195. package/dist/zh-TW.module.js.map +0 -1
  196. package/src/useTree.ts +0 -51
  197. package/src/useTreeItem.ts +0 -73
@@ -1,7 +0,0 @@
1
- module.exports = {
2
- "collapse": `Samenvouwen`,
3
- "expand": `Uitvouwen`
4
- };
5
-
6
-
7
- //# sourceMappingURL=nl-NL.main.js.map
@@ -1 +0,0 @@
1
- {"mappings":"AAAA,iBAAiB;IAAG,YAAY,CAAC,WAAW,CAAC;IAC3C,UAAU,CAAC,SAAS,CAAC;AACvB","sources":["packages/@react-aria/tree/intl/nl-NL.json"],"sourcesContent":["{\n \"collapse\": \"Samenvouwen\",\n \"expand\": \"Uitvouwen\"\n}\n"],"names":[],"version":3,"file":"nl-NL.main.js.map"}
package/dist/nl-NL.mjs DELETED
@@ -1,9 +0,0 @@
1
- var $fa99f4a7b08c9c55$exports = {};
2
- $fa99f4a7b08c9c55$exports = {
3
- "collapse": `Samenvouwen`,
4
- "expand": `Uitvouwen`
5
- };
6
-
7
-
8
- export {$fa99f4a7b08c9c55$exports as default};
9
- //# sourceMappingURL=nl-NL.module.js.map
@@ -1,9 +0,0 @@
1
- var $fa99f4a7b08c9c55$exports = {};
2
- $fa99f4a7b08c9c55$exports = {
3
- "collapse": `Samenvouwen`,
4
- "expand": `Uitvouwen`
5
- };
6
-
7
-
8
- export {$fa99f4a7b08c9c55$exports as default};
9
- //# sourceMappingURL=nl-NL.module.js.map
@@ -1 +0,0 @@
1
- {"mappings":";AAAA,4BAAiB;IAAG,YAAY,CAAC,WAAW,CAAC;IAC3C,UAAU,CAAC,SAAS,CAAC;AACvB","sources":["packages/@react-aria/tree/intl/nl-NL.json"],"sourcesContent":["{\n \"collapse\": \"Samenvouwen\",\n \"expand\": \"Uitvouwen\"\n}\n"],"names":[],"version":3,"file":"nl-NL.module.js.map"}
@@ -1,7 +0,0 @@
1
- module.exports = {
2
- "collapse": `Zwi\u{144}`,
3
- "expand": `Rozwi\u{144}`
4
- };
5
-
6
-
7
- //# sourceMappingURL=pl-PL.main.js.map
@@ -1 +0,0 @@
1
- {"mappings":"AAAA,iBAAiB;IAAG,YAAY,CAAC,UAAI,CAAC;IACpC,UAAU,CAAC,YAAM,CAAC;AACpB","sources":["packages/@react-aria/tree/intl/pl-PL.json"],"sourcesContent":["{\n \"collapse\": \"Zwiń\",\n \"expand\": \"Rozwiń\"\n}\n"],"names":[],"version":3,"file":"pl-PL.main.js.map"}
package/dist/pl-PL.mjs DELETED
@@ -1,9 +0,0 @@
1
- var $cfcfda392bc6483e$exports = {};
2
- $cfcfda392bc6483e$exports = {
3
- "collapse": `Zwi\u{144}`,
4
- "expand": `Rozwi\u{144}`
5
- };
6
-
7
-
8
- export {$cfcfda392bc6483e$exports as default};
9
- //# sourceMappingURL=pl-PL.module.js.map
@@ -1,9 +0,0 @@
1
- var $cfcfda392bc6483e$exports = {};
2
- $cfcfda392bc6483e$exports = {
3
- "collapse": `Zwi\u{144}`,
4
- "expand": `Rozwi\u{144}`
5
- };
6
-
7
-
8
- export {$cfcfda392bc6483e$exports as default};
9
- //# sourceMappingURL=pl-PL.module.js.map
@@ -1 +0,0 @@
1
- {"mappings":";AAAA,4BAAiB;IAAG,YAAY,CAAC,UAAI,CAAC;IACpC,UAAU,CAAC,YAAM,CAAC;AACpB","sources":["packages/@react-aria/tree/intl/pl-PL.json"],"sourcesContent":["{\n \"collapse\": \"Zwiń\",\n \"expand\": \"Rozwiń\"\n}\n"],"names":[],"version":3,"file":"pl-PL.module.js.map"}
@@ -1,7 +0,0 @@
1
- module.exports = {
2
- "collapse": `Recolher`,
3
- "expand": `Expandir`
4
- };
5
-
6
-
7
- //# sourceMappingURL=pt-BR.main.js.map
@@ -1 +0,0 @@
1
- {"mappings":"AAAA,iBAAiB;IAAG,YAAY,CAAC,QAAQ,CAAC;IACxC,UAAU,CAAC,QAAQ,CAAC;AACtB","sources":["packages/@react-aria/tree/intl/pt-BR.json"],"sourcesContent":["{\n \"collapse\": \"Recolher\",\n \"expand\": \"Expandir\"\n}\n"],"names":[],"version":3,"file":"pt-BR.main.js.map"}
package/dist/pt-BR.mjs DELETED
@@ -1,9 +0,0 @@
1
- var $3d11d74855233b86$exports = {};
2
- $3d11d74855233b86$exports = {
3
- "collapse": `Recolher`,
4
- "expand": `Expandir`
5
- };
6
-
7
-
8
- export {$3d11d74855233b86$exports as default};
9
- //# sourceMappingURL=pt-BR.module.js.map
@@ -1,9 +0,0 @@
1
- var $3d11d74855233b86$exports = {};
2
- $3d11d74855233b86$exports = {
3
- "collapse": `Recolher`,
4
- "expand": `Expandir`
5
- };
6
-
7
-
8
- export {$3d11d74855233b86$exports as default};
9
- //# sourceMappingURL=pt-BR.module.js.map
@@ -1 +0,0 @@
1
- {"mappings":";AAAA,4BAAiB;IAAG,YAAY,CAAC,QAAQ,CAAC;IACxC,UAAU,CAAC,QAAQ,CAAC;AACtB","sources":["packages/@react-aria/tree/intl/pt-BR.json"],"sourcesContent":["{\n \"collapse\": \"Recolher\",\n \"expand\": \"Expandir\"\n}\n"],"names":[],"version":3,"file":"pt-BR.module.js.map"}
@@ -1,7 +0,0 @@
1
- module.exports = {
2
- "collapse": `Colapsar`,
3
- "expand": `Expandir`
4
- };
5
-
6
-
7
- //# sourceMappingURL=pt-PT.main.js.map
@@ -1 +0,0 @@
1
- {"mappings":"AAAA,iBAAiB;IAAG,YAAY,CAAC,QAAQ,CAAC;IACxC,UAAU,CAAC,QAAQ,CAAC;AACtB","sources":["packages/@react-aria/tree/intl/pt-PT.json"],"sourcesContent":["{\n \"collapse\": \"Colapsar\",\n \"expand\": \"Expandir\"\n}\n"],"names":[],"version":3,"file":"pt-PT.main.js.map"}
package/dist/pt-PT.mjs DELETED
@@ -1,9 +0,0 @@
1
- var $b7a0e914f2f1fc45$exports = {};
2
- $b7a0e914f2f1fc45$exports = {
3
- "collapse": `Colapsar`,
4
- "expand": `Expandir`
5
- };
6
-
7
-
8
- export {$b7a0e914f2f1fc45$exports as default};
9
- //# sourceMappingURL=pt-PT.module.js.map
@@ -1,9 +0,0 @@
1
- var $b7a0e914f2f1fc45$exports = {};
2
- $b7a0e914f2f1fc45$exports = {
3
- "collapse": `Colapsar`,
4
- "expand": `Expandir`
5
- };
6
-
7
-
8
- export {$b7a0e914f2f1fc45$exports as default};
9
- //# sourceMappingURL=pt-PT.module.js.map
@@ -1 +0,0 @@
1
- {"mappings":";AAAA,4BAAiB;IAAG,YAAY,CAAC,QAAQ,CAAC;IACxC,UAAU,CAAC,QAAQ,CAAC;AACtB","sources":["packages/@react-aria/tree/intl/pt-PT.json"],"sourcesContent":["{\n \"collapse\": \"Colapsar\",\n \"expand\": \"Expandir\"\n}\n"],"names":[],"version":3,"file":"pt-PT.module.js.map"}
@@ -1,7 +0,0 @@
1
- module.exports = {
2
- "collapse": `Restr\xe2nge\u{21B}i`,
3
- "expand": `Extinde\u{21B}i`
4
- };
5
-
6
-
7
- //# sourceMappingURL=ro-RO.main.js.map
@@ -1 +0,0 @@
1
- {"mappings":"AAAA,iBAAiB;IAAG,YAAY,CAAC,oBAAW,CAAC;IAC3C,UAAU,CAAC,eAAS,CAAC;AACvB","sources":["packages/@react-aria/tree/intl/ro-RO.json"],"sourcesContent":["{\n \"collapse\": \"Restrângeți\",\n \"expand\": \"Extindeți\"\n}\n"],"names":[],"version":3,"file":"ro-RO.main.js.map"}
package/dist/ro-RO.mjs DELETED
@@ -1,9 +0,0 @@
1
- var $e83474afc7c44eea$exports = {};
2
- $e83474afc7c44eea$exports = {
3
- "collapse": `Restr\xe2nge\u{21B}i`,
4
- "expand": `Extinde\u{21B}i`
5
- };
6
-
7
-
8
- export {$e83474afc7c44eea$exports as default};
9
- //# sourceMappingURL=ro-RO.module.js.map
@@ -1,9 +0,0 @@
1
- var $e83474afc7c44eea$exports = {};
2
- $e83474afc7c44eea$exports = {
3
- "collapse": `Restr\xe2nge\u{21B}i`,
4
- "expand": `Extinde\u{21B}i`
5
- };
6
-
7
-
8
- export {$e83474afc7c44eea$exports as default};
9
- //# sourceMappingURL=ro-RO.module.js.map
@@ -1 +0,0 @@
1
- {"mappings":";AAAA,4BAAiB;IAAG,YAAY,CAAC,oBAAW,CAAC;IAC3C,UAAU,CAAC,eAAS,CAAC;AACvB","sources":["packages/@react-aria/tree/intl/ro-RO.json"],"sourcesContent":["{\n \"collapse\": \"Restrângeți\",\n \"expand\": \"Extindeți\"\n}\n"],"names":[],"version":3,"file":"ro-RO.module.js.map"}
@@ -1,7 +0,0 @@
1
- module.exports = {
2
- "collapse": `\u{421}\u{432}\u{435}\u{440}\u{43D}\u{443}\u{442}\u{44C}`,
3
- "expand": `\u{420}\u{430}\u{437}\u{432}\u{435}\u{440}\u{43D}\u{443}\u{442}\u{44C}`
4
- };
5
-
6
-
7
- //# sourceMappingURL=ru-RU.main.js.map
@@ -1 +0,0 @@
1
- {"mappings":"AAAA,iBAAiB;IAAG,YAAY,CAAC,wDAAQ,CAAC;IACxC,UAAU,CAAC,sEAAU,CAAC;AACxB","sources":["packages/@react-aria/tree/intl/ru-RU.json"],"sourcesContent":["{\n \"collapse\": \"Свернуть\",\n \"expand\": \"Развернуть\"\n}\n"],"names":[],"version":3,"file":"ru-RU.main.js.map"}
package/dist/ru-RU.mjs DELETED
@@ -1,9 +0,0 @@
1
- var $2db6648255dd48ea$exports = {};
2
- $2db6648255dd48ea$exports = {
3
- "collapse": `\u{421}\u{432}\u{435}\u{440}\u{43D}\u{443}\u{442}\u{44C}`,
4
- "expand": `\u{420}\u{430}\u{437}\u{432}\u{435}\u{440}\u{43D}\u{443}\u{442}\u{44C}`
5
- };
6
-
7
-
8
- export {$2db6648255dd48ea$exports as default};
9
- //# sourceMappingURL=ru-RU.module.js.map
@@ -1,9 +0,0 @@
1
- var $2db6648255dd48ea$exports = {};
2
- $2db6648255dd48ea$exports = {
3
- "collapse": `\u{421}\u{432}\u{435}\u{440}\u{43D}\u{443}\u{442}\u{44C}`,
4
- "expand": `\u{420}\u{430}\u{437}\u{432}\u{435}\u{440}\u{43D}\u{443}\u{442}\u{44C}`
5
- };
6
-
7
-
8
- export {$2db6648255dd48ea$exports as default};
9
- //# sourceMappingURL=ru-RU.module.js.map
@@ -1 +0,0 @@
1
- {"mappings":";AAAA,4BAAiB;IAAG,YAAY,CAAC,wDAAQ,CAAC;IACxC,UAAU,CAAC,sEAAU,CAAC;AACxB","sources":["packages/@react-aria/tree/intl/ru-RU.json"],"sourcesContent":["{\n \"collapse\": \"Свернуть\",\n \"expand\": \"Развернуть\"\n}\n"],"names":[],"version":3,"file":"ru-RU.module.js.map"}
@@ -1,7 +0,0 @@
1
- module.exports = {
2
- "collapse": `Zbali\u{165}`,
3
- "expand": `Rozbali\u{165}`
4
- };
5
-
6
-
7
- //# sourceMappingURL=sk-SK.main.js.map
@@ -1 +0,0 @@
1
- {"mappings":"AAAA,iBAAiB;IAAG,YAAY,CAAC,YAAM,CAAC;IACtC,UAAU,CAAC,cAAQ,CAAC;AACtB","sources":["packages/@react-aria/tree/intl/sk-SK.json"],"sourcesContent":["{\n \"collapse\": \"Zbaliť\",\n \"expand\": \"Rozbaliť\"\n}\n"],"names":[],"version":3,"file":"sk-SK.main.js.map"}
package/dist/sk-SK.mjs DELETED
@@ -1,9 +0,0 @@
1
- var $e01b4013a471f6b5$exports = {};
2
- $e01b4013a471f6b5$exports = {
3
- "collapse": `Zbali\u{165}`,
4
- "expand": `Rozbali\u{165}`
5
- };
6
-
7
-
8
- export {$e01b4013a471f6b5$exports as default};
9
- //# sourceMappingURL=sk-SK.module.js.map
@@ -1,9 +0,0 @@
1
- var $e01b4013a471f6b5$exports = {};
2
- $e01b4013a471f6b5$exports = {
3
- "collapse": `Zbali\u{165}`,
4
- "expand": `Rozbali\u{165}`
5
- };
6
-
7
-
8
- export {$e01b4013a471f6b5$exports as default};
9
- //# sourceMappingURL=sk-SK.module.js.map
@@ -1 +0,0 @@
1
- {"mappings":";AAAA,4BAAiB;IAAG,YAAY,CAAC,YAAM,CAAC;IACtC,UAAU,CAAC,cAAQ,CAAC;AACtB","sources":["packages/@react-aria/tree/intl/sk-SK.json"],"sourcesContent":["{\n \"collapse\": \"Zbaliť\",\n \"expand\": \"Rozbaliť\"\n}\n"],"names":[],"version":3,"file":"sk-SK.module.js.map"}
@@ -1,7 +0,0 @@
1
- module.exports = {
2
- "collapse": `Strni`,
3
- "expand": `Raz\u{161}iri`
4
- };
5
-
6
-
7
- //# sourceMappingURL=sl-SI.main.js.map
@@ -1 +0,0 @@
1
- {"mappings":"AAAA,iBAAiB;IAAG,YAAY,CAAC,KAAK,CAAC;IACrC,UAAU,CAAC,aAAO,CAAC;AACrB","sources":["packages/@react-aria/tree/intl/sl-SI.json"],"sourcesContent":["{\n \"collapse\": \"Strni\",\n \"expand\": \"Razširi\"\n}\n"],"names":[],"version":3,"file":"sl-SI.main.js.map"}
package/dist/sl-SI.mjs DELETED
@@ -1,9 +0,0 @@
1
- var $f906d8c9d57a8ac7$exports = {};
2
- $f906d8c9d57a8ac7$exports = {
3
- "collapse": `Strni`,
4
- "expand": `Raz\u{161}iri`
5
- };
6
-
7
-
8
- export {$f906d8c9d57a8ac7$exports as default};
9
- //# sourceMappingURL=sl-SI.module.js.map
@@ -1,9 +0,0 @@
1
- var $f906d8c9d57a8ac7$exports = {};
2
- $f906d8c9d57a8ac7$exports = {
3
- "collapse": `Strni`,
4
- "expand": `Raz\u{161}iri`
5
- };
6
-
7
-
8
- export {$f906d8c9d57a8ac7$exports as default};
9
- //# sourceMappingURL=sl-SI.module.js.map
@@ -1 +0,0 @@
1
- {"mappings":";AAAA,4BAAiB;IAAG,YAAY,CAAC,KAAK,CAAC;IACrC,UAAU,CAAC,aAAO,CAAC;AACrB","sources":["packages/@react-aria/tree/intl/sl-SI.json"],"sourcesContent":["{\n \"collapse\": \"Strni\",\n \"expand\": \"Razširi\"\n}\n"],"names":[],"version":3,"file":"sl-SI.module.js.map"}
@@ -1,7 +0,0 @@
1
- module.exports = {
2
- "collapse": ` Skupi`,
3
- "expand": `Pro\u{161}iri`
4
- };
5
-
6
-
7
- //# sourceMappingURL=sr-SP.main.js.map
@@ -1 +0,0 @@
1
- {"mappings":"AAAA,iBAAiB;IAAG,YAAY,CAAC,MAAM,CAAC;IACtC,UAAU,CAAC,aAAO,CAAC;AACrB","sources":["packages/@react-aria/tree/intl/sr-SP.json"],"sourcesContent":["{\n \"collapse\": \" Skupi\",\n \"expand\": \"Proširi\"\n}\n"],"names":[],"version":3,"file":"sr-SP.main.js.map"}
package/dist/sr-SP.mjs DELETED
@@ -1,9 +0,0 @@
1
- var $bfa21259fd564cea$exports = {};
2
- $bfa21259fd564cea$exports = {
3
- "collapse": ` Skupi`,
4
- "expand": `Pro\u{161}iri`
5
- };
6
-
7
-
8
- export {$bfa21259fd564cea$exports as default};
9
- //# sourceMappingURL=sr-SP.module.js.map
@@ -1,9 +0,0 @@
1
- var $bfa21259fd564cea$exports = {};
2
- $bfa21259fd564cea$exports = {
3
- "collapse": ` Skupi`,
4
- "expand": `Pro\u{161}iri`
5
- };
6
-
7
-
8
- export {$bfa21259fd564cea$exports as default};
9
- //# sourceMappingURL=sr-SP.module.js.map
@@ -1 +0,0 @@
1
- {"mappings":";AAAA,4BAAiB;IAAG,YAAY,CAAC,MAAM,CAAC;IACtC,UAAU,CAAC,aAAO,CAAC;AACrB","sources":["packages/@react-aria/tree/intl/sr-SP.json"],"sourcesContent":["{\n \"collapse\": \" Skupi\",\n \"expand\": \"Proširi\"\n}\n"],"names":[],"version":3,"file":"sr-SP.module.js.map"}
@@ -1,7 +0,0 @@
1
- module.exports = {
2
- "collapse": `D\xf6lj`,
3
- "expand": `Expandera`
4
- };
5
-
6
-
7
- //# sourceMappingURL=sv-SE.main.js.map
@@ -1 +0,0 @@
1
- {"mappings":"AAAA,iBAAiB;IAAG,YAAY,CAAC,OAAI,CAAC;IACpC,UAAU,CAAC,SAAS,CAAC;AACvB","sources":["packages/@react-aria/tree/intl/sv-SE.json"],"sourcesContent":["{\n \"collapse\": \"Dölj\",\n \"expand\": \"Expandera\"\n}\n"],"names":[],"version":3,"file":"sv-SE.main.js.map"}
package/dist/sv-SE.mjs DELETED
@@ -1,9 +0,0 @@
1
- var $0ed2db6e68f48ea3$exports = {};
2
- $0ed2db6e68f48ea3$exports = {
3
- "collapse": `D\xf6lj`,
4
- "expand": `Expandera`
5
- };
6
-
7
-
8
- export {$0ed2db6e68f48ea3$exports as default};
9
- //# sourceMappingURL=sv-SE.module.js.map
@@ -1,9 +0,0 @@
1
- var $0ed2db6e68f48ea3$exports = {};
2
- $0ed2db6e68f48ea3$exports = {
3
- "collapse": `D\xf6lj`,
4
- "expand": `Expandera`
5
- };
6
-
7
-
8
- export {$0ed2db6e68f48ea3$exports as default};
9
- //# sourceMappingURL=sv-SE.module.js.map
@@ -1 +0,0 @@
1
- {"mappings":";AAAA,4BAAiB;IAAG,YAAY,CAAC,OAAI,CAAC;IACpC,UAAU,CAAC,SAAS,CAAC;AACvB","sources":["packages/@react-aria/tree/intl/sv-SE.json"],"sourcesContent":["{\n \"collapse\": \"Dölj\",\n \"expand\": \"Expandera\"\n}\n"],"names":[],"version":3,"file":"sv-SE.module.js.map"}
@@ -1,7 +0,0 @@
1
- module.exports = {
2
- "collapse": `Daralt`,
3
- "expand": `Geni\u{15F}let`
4
- };
5
-
6
-
7
- //# sourceMappingURL=tr-TR.main.js.map
@@ -1 +0,0 @@
1
- {"mappings":"AAAA,iBAAiB;IAAG,YAAY,CAAC,MAAM,CAAC;IACtC,UAAU,CAAC,cAAQ,CAAC;AACtB","sources":["packages/@react-aria/tree/intl/tr-TR.json"],"sourcesContent":["{\n \"collapse\": \"Daralt\",\n \"expand\": \"Genişlet\"\n}\n"],"names":[],"version":3,"file":"tr-TR.main.js.map"}
package/dist/tr-TR.mjs DELETED
@@ -1,9 +0,0 @@
1
- var $384a15a899b42310$exports = {};
2
- $384a15a899b42310$exports = {
3
- "collapse": `Daralt`,
4
- "expand": `Geni\u{15F}let`
5
- };
6
-
7
-
8
- export {$384a15a899b42310$exports as default};
9
- //# sourceMappingURL=tr-TR.module.js.map
@@ -1,9 +0,0 @@
1
- var $384a15a899b42310$exports = {};
2
- $384a15a899b42310$exports = {
3
- "collapse": `Daralt`,
4
- "expand": `Geni\u{15F}let`
5
- };
6
-
7
-
8
- export {$384a15a899b42310$exports as default};
9
- //# sourceMappingURL=tr-TR.module.js.map
@@ -1 +0,0 @@
1
- {"mappings":";AAAA,4BAAiB;IAAG,YAAY,CAAC,MAAM,CAAC;IACtC,UAAU,CAAC,cAAQ,CAAC;AACtB","sources":["packages/@react-aria/tree/intl/tr-TR.json"],"sourcesContent":["{\n \"collapse\": \"Daralt\",\n \"expand\": \"Genişlet\"\n}\n"],"names":[],"version":3,"file":"tr-TR.module.js.map"}
package/dist/types.d.ts DELETED
@@ -1,50 +0,0 @@
1
- import { AriaGridListOptions, AriaGridListProps, GridListProps, AriaGridListItemOptions, GridListItemAria } from "@react-aria/gridlist";
2
- import { DOMAttributes, KeyboardDelegate, RefObject, FocusableElement, Node } from "@react-types/shared";
3
- import { TreeState } from "@react-stately/tree";
4
- import { AriaButtonProps } from "@react-types/button";
5
- export interface TreeProps<T> extends GridListProps<T> {
6
- }
7
- export interface AriaTreeProps<T> extends Omit<AriaGridListProps<T>, 'keyboardNavigationBehavior'> {
8
- }
9
- export interface AriaTreeOptions<T> extends Omit<AriaGridListOptions<T>, 'children' | 'shouldFocusWrap'> {
10
- /**
11
- * An optional keyboard delegate implementation for type to select,
12
- * to override the default.
13
- */
14
- keyboardDelegate?: KeyboardDelegate;
15
- }
16
- export interface TreeAria {
17
- /** Props for the treegrid element. */
18
- gridProps: DOMAttributes;
19
- }
20
- /**
21
- * Provides the behavior and accessibility implementation for a single column treegrid component with interactive children.
22
- * A tree grid provides users with a way to navigate nested hierarchical information.
23
- * @param props - Props for the treegrid.
24
- * @param state - State for the treegrid, as returned by `useTreeState`.
25
- * @param ref - The ref attached to the treegrid element.
26
- */
27
- export function useTree<T>(props: AriaTreeOptions<T>, state: TreeState<T>, ref: RefObject<HTMLElement | null>): TreeAria;
28
- export interface AriaTreeItemOptions extends Omit<AriaGridListItemOptions, 'isVirtualized'> {
29
- /** An object representing the treegrid item. Contains all the relevant information that makes up the treegrid row. */
30
- node: Node<unknown>;
31
- }
32
- export interface TreeItemAria extends GridListItemAria {
33
- /** Props for the tree grid row element. */
34
- rowProps: DOMAttributes;
35
- /** Props for the tree grid cell element within the tree grid list row. */
36
- gridCellProps: DOMAttributes;
37
- /** Props for the tree grid row description element, if any. */
38
- descriptionProps: DOMAttributes;
39
- /** Props for the tree grid row expand button. */
40
- expandButtonProps: AriaButtonProps;
41
- }
42
- /**
43
- * Provides the behavior and accessibility implementation for a row in a tree grid list.
44
- * @param props - Props for the row.
45
- * @param state - State of the parent list, as returned by `useTreeState`.
46
- * @param ref - The ref attached to the row element.
47
- */
48
- export function useTreeItem<T>(props: AriaTreeItemOptions, state: TreeState<T>, ref: RefObject<FocusableElement | null>): TreeItemAria;
49
-
50
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"mappings":";;;;AAoBA,2BAA2B,CAAC,CAAE,SAAQ,cAAc,CAAC,CAAC;CAAG;AAEzD,+BAA+B,CAAC,CAAE,SAAQ,IAAI,CAAC,kBAAkB,CAAC,CAAC,EAAE,4BAA4B,CAAC;CAAG;AACrG,iCAAiC,CAAC,CAAE,SAAQ,IAAI,CAAC,oBAAoB,CAAC,CAAC,EAAE,UAAU,GAAG,iBAAiB,CAAC;IACtG;;;OAGG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,CAAA;CACpC;AAED;IACE,sCAAsC;IACtC,SAAS,EAAE,aAAa,CAAA;CACzB;AAED;;;;;;GAMG;AACH,wBAAwB,CAAC,EAAE,KAAK,EAAE,gBAAgB,CAAC,CAAC,EAAE,KAAK,EAAE,UAAU,CAAC,CAAC,EAAE,GAAG,EAAE,UAAU,WAAW,GAAG,IAAI,CAAC,GAAG,QAAQ,CAOvH;AC7BD,oCAAqC,SAAQ,IAAI,CAAC,uBAAuB,EAAE,eAAe,CAAC;IACzF,sHAAsH;IACtH,IAAI,EAAE,KAAK,OAAO,CAAC,CAAA;CACpB;AAED,6BAA8B,SAAQ,gBAAgB;IACpD,2CAA2C;IAC3C,QAAQ,EAAE,aAAa,CAAC;IACxB,0EAA0E;IAC1E,aAAa,EAAE,aAAa,CAAC;IAC7B,+DAA+D;IAC/D,gBAAgB,EAAE,aAAa,CAAC;IAChC,iDAAiD;IACjD,iBAAiB,EAAE,eAAe,CAAA;CACnC;AAED;;;;;GAKG;AACH,4BAA4B,CAAC,EAAE,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,UAAU,CAAC,CAAC,EAAE,GAAG,EAAE,UAAU,gBAAgB,GAAG,IAAI,CAAC,GAAG,YAAY,CA6BrI","sources":["packages/@react-aria/tree/src/packages/@react-aria/tree/src/useTree.ts","packages/@react-aria/tree/src/packages/@react-aria/tree/src/useTreeItem.ts","packages/@react-aria/tree/src/packages/@react-aria/tree/src/index.ts","packages/@react-aria/tree/src/index.ts"],"sourcesContent":[null,null,null,"/*\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 {useTree} from './useTree';\nexport {useTreeItem} from './useTreeItem';\n\nexport type {AriaTreeOptions, AriaTreeProps, TreeAria, TreeProps} from './useTree';\nexport type {AriaTreeItemOptions, TreeItemAria} from './useTreeItem';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
@@ -1,7 +0,0 @@
1
- module.exports = {
2
- "collapse": `\u{417}\u{433}\u{43E}\u{440}\u{43D}\u{443}\u{442}\u{438}`,
3
- "expand": `\u{420}\u{43E}\u{437}\u{433}\u{43E}\u{440}\u{43D}\u{443}\u{442}\u{438}`
4
- };
5
-
6
-
7
- //# sourceMappingURL=uk-UA.main.js.map
@@ -1 +0,0 @@
1
- {"mappings":"AAAA,iBAAiB;IAAG,YAAY,CAAC,wDAAQ,CAAC;IACxC,UAAU,CAAC,sEAAU,CAAC;AACxB","sources":["packages/@react-aria/tree/intl/uk-UA.json"],"sourcesContent":["{\n \"collapse\": \"Згорнути\",\n \"expand\": \"Розгорнути\"\n}\n"],"names":[],"version":3,"file":"uk-UA.main.js.map"}
package/dist/uk-UA.mjs DELETED
@@ -1,9 +0,0 @@
1
- var $f8ed0031472d4b0e$exports = {};
2
- $f8ed0031472d4b0e$exports = {
3
- "collapse": `\u{417}\u{433}\u{43E}\u{440}\u{43D}\u{443}\u{442}\u{438}`,
4
- "expand": `\u{420}\u{43E}\u{437}\u{433}\u{43E}\u{440}\u{43D}\u{443}\u{442}\u{438}`
5
- };
6
-
7
-
8
- export {$f8ed0031472d4b0e$exports as default};
9
- //# sourceMappingURL=uk-UA.module.js.map
@@ -1,9 +0,0 @@
1
- var $f8ed0031472d4b0e$exports = {};
2
- $f8ed0031472d4b0e$exports = {
3
- "collapse": `\u{417}\u{433}\u{43E}\u{440}\u{43D}\u{443}\u{442}\u{438}`,
4
- "expand": `\u{420}\u{43E}\u{437}\u{433}\u{43E}\u{440}\u{43D}\u{443}\u{442}\u{438}`
5
- };
6
-
7
-
8
- export {$f8ed0031472d4b0e$exports as default};
9
- //# sourceMappingURL=uk-UA.module.js.map
@@ -1 +0,0 @@
1
- {"mappings":";AAAA,4BAAiB;IAAG,YAAY,CAAC,wDAAQ,CAAC;IACxC,UAAU,CAAC,sEAAU,CAAC;AACxB","sources":["packages/@react-aria/tree/intl/uk-UA.json"],"sourcesContent":["{\n \"collapse\": \"Згорнути\",\n \"expand\": \"Розгорнути\"\n}\n"],"names":[],"version":3,"file":"uk-UA.module.js.map"}
@@ -1,29 +0,0 @@
1
- var $hREOp$reactariagridlist = require("@react-aria/gridlist");
2
-
3
-
4
- function $parcel$export(e, n, v, s) {
5
- Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
6
- }
7
-
8
- $parcel$export(module.exports, "useTree", () => $0caa22fd4e1b3c7e$export$fb0040ce9d6e8bd1);
9
- /*
10
- * Copyright 2024 Adobe. All rights reserved.
11
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
12
- * you may not use this file except in compliance with the License. You may obtain a copy
13
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
14
- *
15
- * Unless required by applicable law or agreed to in writing, software distributed under
16
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
17
- * OF ANY KIND, either express or implied. See the License for the specific language
18
- * governing permissions and limitations under the License.
19
- */
20
- function $0caa22fd4e1b3c7e$export$fb0040ce9d6e8bd1(props, state, ref) {
21
- let { gridProps: gridProps } = (0, $hREOp$reactariagridlist.useGridList)(props, state, ref);
22
- gridProps.role = 'treegrid';
23
- return {
24
- gridProps: gridProps
25
- };
26
- }
27
-
28
-
29
- //# sourceMappingURL=useTree.main.js.map
@@ -1 +0,0 @@
1
- {"mappings":";;;;;;;;AAAA;;;;;;;;;;CAUC;AAiCM,SAAS,0CAAW,KAAyB,EAAE,KAAmB,EAAE,GAAkC;IAC3G,IAAI,aAAC,SAAS,EAAC,GAAG,CAAA,GAAA,oCAAU,EAAE,OAAO,OAAO;IAC5C,UAAU,IAAI,GAAG;IAEjB,OAAO;mBACL;IACF;AACF","sources":["packages/@react-aria/tree/src/useTree.ts"],"sourcesContent":["/*\n * Copyright 2024 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 {AriaGridListOptions, AriaGridListProps, GridListProps, useGridList} from '@react-aria/gridlist';\nimport {\n DOMAttributes,\n KeyboardDelegate,\n RefObject\n} from '@react-types/shared';\nimport {TreeState} from '@react-stately/tree';\n\nexport interface TreeProps<T> extends GridListProps<T> {}\n\nexport interface AriaTreeProps<T> extends Omit<AriaGridListProps<T>, 'keyboardNavigationBehavior'> {}\nexport interface AriaTreeOptions<T> extends Omit<AriaGridListOptions<T>, 'children' | 'shouldFocusWrap'> {\n /**\n * An optional keyboard delegate implementation for type to select,\n * to override the default.\n */\n keyboardDelegate?: KeyboardDelegate\n}\n\nexport interface TreeAria {\n /** Props for the treegrid element. */\n gridProps: DOMAttributes\n}\n\n/**\n * Provides the behavior and accessibility implementation for a single column treegrid component with interactive children.\n * A tree grid provides users with a way to navigate nested hierarchical information.\n * @param props - Props for the treegrid.\n * @param state - State for the treegrid, as returned by `useTreeState`.\n * @param ref - The ref attached to the treegrid element.\n */\nexport function useTree<T>(props: AriaTreeOptions<T>, state: TreeState<T>, ref: RefObject<HTMLElement | null>): TreeAria {\n let {gridProps} = useGridList(props, state, ref);\n gridProps.role = 'treegrid';\n\n return {\n gridProps\n };\n}\n"],"names":[],"version":3,"file":"useTree.main.js.map"}
package/dist/useTree.mjs DELETED
@@ -1,24 +0,0 @@
1
- import {useGridList as $gdAyK$useGridList} from "@react-aria/gridlist";
2
-
3
- /*
4
- * Copyright 2024 Adobe. All rights reserved.
5
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License. You may obtain a copy
7
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
8
- *
9
- * Unless required by applicable law or agreed to in writing, software distributed under
10
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
11
- * OF ANY KIND, either express or implied. See the License for the specific language
12
- * governing permissions and limitations under the License.
13
- */
14
- function $6d8a57ce39fda2fa$export$fb0040ce9d6e8bd1(props, state, ref) {
15
- let { gridProps: gridProps } = (0, $gdAyK$useGridList)(props, state, ref);
16
- gridProps.role = 'treegrid';
17
- return {
18
- gridProps: gridProps
19
- };
20
- }
21
-
22
-
23
- export {$6d8a57ce39fda2fa$export$fb0040ce9d6e8bd1 as useTree};
24
- //# sourceMappingURL=useTree.module.js.map
@@ -1,24 +0,0 @@
1
- import {useGridList as $gdAyK$useGridList} from "@react-aria/gridlist";
2
-
3
- /*
4
- * Copyright 2024 Adobe. All rights reserved.
5
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License. You may obtain a copy
7
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
8
- *
9
- * Unless required by applicable law or agreed to in writing, software distributed under
10
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
11
- * OF ANY KIND, either express or implied. See the License for the specific language
12
- * governing permissions and limitations under the License.
13
- */
14
- function $6d8a57ce39fda2fa$export$fb0040ce9d6e8bd1(props, state, ref) {
15
- let { gridProps: gridProps } = (0, $gdAyK$useGridList)(props, state, ref);
16
- gridProps.role = 'treegrid';
17
- return {
18
- gridProps: gridProps
19
- };
20
- }
21
-
22
-
23
- export {$6d8a57ce39fda2fa$export$fb0040ce9d6e8bd1 as useTree};
24
- //# sourceMappingURL=useTree.module.js.map
@@ -1 +0,0 @@
1
- {"mappings":";;AAAA;;;;;;;;;;CAUC;AAiCM,SAAS,0CAAW,KAAyB,EAAE,KAAmB,EAAE,GAAkC;IAC3G,IAAI,aAAC,SAAS,EAAC,GAAG,CAAA,GAAA,kBAAU,EAAE,OAAO,OAAO;IAC5C,UAAU,IAAI,GAAG;IAEjB,OAAO;mBACL;IACF;AACF","sources":["packages/@react-aria/tree/src/useTree.ts"],"sourcesContent":["/*\n * Copyright 2024 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 {AriaGridListOptions, AriaGridListProps, GridListProps, useGridList} from '@react-aria/gridlist';\nimport {\n DOMAttributes,\n KeyboardDelegate,\n RefObject\n} from '@react-types/shared';\nimport {TreeState} from '@react-stately/tree';\n\nexport interface TreeProps<T> extends GridListProps<T> {}\n\nexport interface AriaTreeProps<T> extends Omit<AriaGridListProps<T>, 'keyboardNavigationBehavior'> {}\nexport interface AriaTreeOptions<T> extends Omit<AriaGridListOptions<T>, 'children' | 'shouldFocusWrap'> {\n /**\n * An optional keyboard delegate implementation for type to select,\n * to override the default.\n */\n keyboardDelegate?: KeyboardDelegate\n}\n\nexport interface TreeAria {\n /** Props for the treegrid element. */\n gridProps: DOMAttributes\n}\n\n/**\n * Provides the behavior and accessibility implementation for a single column treegrid component with interactive children.\n * A tree grid provides users with a way to navigate nested hierarchical information.\n * @param props - Props for the treegrid.\n * @param state - State for the treegrid, as returned by `useTreeState`.\n * @param ref - The ref attached to the treegrid element.\n */\nexport function useTree<T>(props: AriaTreeOptions<T>, state: TreeState<T>, ref: RefObject<HTMLElement | null>): TreeAria {\n let {gridProps} = useGridList(props, state, ref);\n gridProps.role = 'treegrid';\n\n return {\n gridProps\n };\n}\n"],"names":[],"version":3,"file":"useTree.module.js.map"}