create-airjam 0.1.8 → 0.2.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.
Files changed (89) hide show
  1. package/dist/index.js +17 -4
  2. package/package.json +10 -8
  3. package/templates/pong/.env.example +9 -2
  4. package/templates/pong/{AI_INSTRUCTIONS.md → AGENTS.md} +9 -2
  5. package/templates/pong/README.md +43 -6
  6. package/templates/pong/_gitignore +5 -0
  7. package/templates/pong/airjam-docs/for-agents/page.md +27 -0
  8. package/templates/pong/airjam-docs/getting-started/architecture/page.md +4 -1
  9. package/templates/pong/airjam-docs/getting-started/quick-start/page.md +24 -3
  10. package/templates/pong/airjam-docs/sdk/hooks/page.md +2 -1
  11. package/templates/pong/airjam-docs/sdk/networked-state/page.md +1 -1
  12. package/templates/pong/package.json +6 -3
  13. package/templates/pong/scripts/dev-secure.mjs +177 -0
  14. package/templates/pong/scripts/secure-init.mjs +134 -0
  15. package/templates/pong/src/App.tsx +2 -0
  16. package/templates/pong/src/vite-env.d.ts +1 -0
  17. package/templates/pong/vercel.json +19 -0
  18. package/templates/pong/vite.config.ts +9 -0
  19. package/templates/pong/dist/assets/index-BwJ4uU20.js +0 -269
  20. package/templates/pong/dist/assets/index-D42jDbB5.css +0 -1
  21. package/templates/pong/dist/index.html +0 -19
  22. package/templates/pong/node_modules/.bin/air-jam-server +0 -17
  23. package/templates/pong/node_modules/.bin/eslint +0 -17
  24. package/templates/pong/node_modules/.bin/eslint-config-prettier +0 -17
  25. package/templates/pong/node_modules/.bin/tsc +0 -17
  26. package/templates/pong/node_modules/.bin/tsserver +0 -17
  27. package/templates/pong/node_modules/.bin/vite +0 -17
  28. package/templates/pong/node_modules/.vite/deps/@radix-ui_react-dialog.js +0 -1680
  29. package/templates/pong/node_modules/.vite/deps/@radix-ui_react-dialog.js.map +0 -7
  30. package/templates/pong/node_modules/.vite/deps/@radix-ui_react-slider.js +0 -638
  31. package/templates/pong/node_modules/.vite/deps/@radix-ui_react-slider.js.map +0 -7
  32. package/templates/pong/node_modules/.vite/deps/@radix-ui_react-slot.js +0 -129
  33. package/templates/pong/node_modules/.vite/deps/@radix-ui_react-slot.js.map +0 -7
  34. package/templates/pong/node_modules/.vite/deps/@radix-ui_react-tabs.js +0 -434
  35. package/templates/pong/node_modules/.vite/deps/@radix-ui_react-tabs.js.map +0 -7
  36. package/templates/pong/node_modules/.vite/deps/_metadata.json +0 -163
  37. package/templates/pong/node_modules/.vite/deps/chunk-6G72RLJL.js +0 -1004
  38. package/templates/pong/node_modules/.vite/deps/chunk-6G72RLJL.js.map +0 -7
  39. package/templates/pong/node_modules/.vite/deps/chunk-BHOBIW4J.js +0 -99
  40. package/templates/pong/node_modules/.vite/deps/chunk-BHOBIW4J.js.map +0 -7
  41. package/templates/pong/node_modules/.vite/deps/chunk-E44IQKDY.js +0 -49
  42. package/templates/pong/node_modules/.vite/deps/chunk-E44IQKDY.js.map +0 -7
  43. package/templates/pong/node_modules/.vite/deps/chunk-E5X4SHYG.js +0 -21
  44. package/templates/pong/node_modules/.vite/deps/chunk-E5X4SHYG.js.map +0 -7
  45. package/templates/pong/node_modules/.vite/deps/chunk-G3PMV62Z.js +0 -35
  46. package/templates/pong/node_modules/.vite/deps/chunk-G3PMV62Z.js.map +0 -7
  47. package/templates/pong/node_modules/.vite/deps/chunk-LI6KBZ3D.js +0 -292
  48. package/templates/pong/node_modules/.vite/deps/chunk-LI6KBZ3D.js.map +0 -7
  49. package/templates/pong/node_modules/.vite/deps/chunk-MDNXVKSA.js +0 -337
  50. package/templates/pong/node_modules/.vite/deps/chunk-MDNXVKSA.js.map +0 -7
  51. package/templates/pong/node_modules/.vite/deps/chunk-METQ356G.js +0 -280
  52. package/templates/pong/node_modules/.vite/deps/chunk-METQ356G.js.map +0 -7
  53. package/templates/pong/node_modules/.vite/deps/chunk-NPTAWNEA.js +0 -171
  54. package/templates/pong/node_modules/.vite/deps/chunk-NPTAWNEA.js.map +0 -7
  55. package/templates/pong/node_modules/.vite/deps/class-variance-authority.js +0 -51
  56. package/templates/pong/node_modules/.vite/deps/class-variance-authority.js.map +0 -7
  57. package/templates/pong/node_modules/.vite/deps/clsx.js +0 -9
  58. package/templates/pong/node_modules/.vite/deps/clsx.js.map +0 -7
  59. package/templates/pong/node_modules/.vite/deps/howler.js +0 -2241
  60. package/templates/pong/node_modules/.vite/deps/howler.js.map +0 -7
  61. package/templates/pong/node_modules/.vite/deps/html5-qrcode.js +0 -29350
  62. package/templates/pong/node_modules/.vite/deps/html5-qrcode.js.map +0 -7
  63. package/templates/pong/node_modules/.vite/deps/lucide-react.js +0 -28662
  64. package/templates/pong/node_modules/.vite/deps/lucide-react.js.map +0 -7
  65. package/templates/pong/node_modules/.vite/deps/package.json +0 -3
  66. package/templates/pong/node_modules/.vite/deps/qrcode.js +0 -2083
  67. package/templates/pong/node_modules/.vite/deps/qrcode.js.map +0 -7
  68. package/templates/pong/node_modules/.vite/deps/react-dom.js +0 -6
  69. package/templates/pong/node_modules/.vite/deps/react-dom.js.map +0 -7
  70. package/templates/pong/node_modules/.vite/deps/react-dom_client.js +0 -20217
  71. package/templates/pong/node_modules/.vite/deps/react-dom_client.js.map +0 -7
  72. package/templates/pong/node_modules/.vite/deps/react-router-dom.js +0 -13900
  73. package/templates/pong/node_modules/.vite/deps/react-router-dom.js.map +0 -7
  74. package/templates/pong/node_modules/.vite/deps/react.js +0 -5
  75. package/templates/pong/node_modules/.vite/deps/react.js.map +0 -7
  76. package/templates/pong/node_modules/.vite/deps/react_jsx-dev-runtime.js +0 -278
  77. package/templates/pong/node_modules/.vite/deps/react_jsx-dev-runtime.js.map +0 -7
  78. package/templates/pong/node_modules/.vite/deps/react_jsx-runtime.js +0 -6
  79. package/templates/pong/node_modules/.vite/deps/react_jsx-runtime.js.map +0 -7
  80. package/templates/pong/node_modules/.vite/deps/socket__io-client.js +0 -3422
  81. package/templates/pong/node_modules/.vite/deps/socket__io-client.js.map +0 -7
  82. package/templates/pong/node_modules/.vite/deps/tailwind-merge.js +0 -2534
  83. package/templates/pong/node_modules/.vite/deps/tailwind-merge.js.map +0 -7
  84. package/templates/pong/node_modules/.vite/deps/zod.js +0 -13810
  85. package/templates/pong/node_modules/.vite/deps/zod.js.map +0 -7
  86. package/templates/pong/node_modules/.vite/deps/zustand.js +0 -56
  87. package/templates/pong/node_modules/.vite/deps/zustand.js.map +0 -7
  88. package/templates/pong/node_modules/.vite/deps/zustand_react_shallow.js +0 -77
  89. package/templates/pong/node_modules/.vite/deps/zustand_react_shallow.js.map +0 -7
@@ -1,434 +0,0 @@
1
- "use client";
2
- import {
3
- Presence,
4
- useCallbackRef,
5
- useId
6
- } from "./chunk-NPTAWNEA.js";
7
- import {
8
- createCollection,
9
- useDirection
10
- } from "./chunk-BHOBIW4J.js";
11
- import {
12
- Primitive,
13
- composeEventHandlers,
14
- createContextScope,
15
- useControllableState
16
- } from "./chunk-MDNXVKSA.js";
17
- import "./chunk-METQ356G.js";
18
- import {
19
- useComposedRefs
20
- } from "./chunk-E44IQKDY.js";
21
- import {
22
- require_jsx_runtime
23
- } from "./chunk-LI6KBZ3D.js";
24
- import {
25
- require_react
26
- } from "./chunk-6G72RLJL.js";
27
- import {
28
- __toESM
29
- } from "./chunk-G3PMV62Z.js";
30
-
31
- // ../../../../node_modules/.pnpm/@radix-ui+react-tabs@1.1.13_@types+react-dom@19.2.3_@types+react@19.2.6__@types+react@19.2.6__6rhan6j6cdxoadjhlmva75pgeu/node_modules/@radix-ui/react-tabs/dist/index.mjs
32
- var React2 = __toESM(require_react(), 1);
33
-
34
- // ../../../../node_modules/.pnpm/@radix-ui+react-roving-focus@1.1.11_@types+react-dom@19.2.3_@types+react@19.2.6__@types+react_sjvvzrpb6ck6gng4pcqsgx3zpy/node_modules/@radix-ui/react-roving-focus/dist/index.mjs
35
- var React = __toESM(require_react(), 1);
36
- var import_jsx_runtime = __toESM(require_jsx_runtime(), 1);
37
- var ENTRY_FOCUS = "rovingFocusGroup.onEntryFocus";
38
- var EVENT_OPTIONS = { bubbles: false, cancelable: true };
39
- var GROUP_NAME = "RovingFocusGroup";
40
- var [Collection, useCollection, createCollectionScope] = createCollection(GROUP_NAME);
41
- var [createRovingFocusGroupContext, createRovingFocusGroupScope] = createContextScope(
42
- GROUP_NAME,
43
- [createCollectionScope]
44
- );
45
- var [RovingFocusProvider, useRovingFocusContext] = createRovingFocusGroupContext(GROUP_NAME);
46
- var RovingFocusGroup = React.forwardRef(
47
- (props, forwardedRef) => {
48
- return (0, import_jsx_runtime.jsx)(Collection.Provider, { scope: props.__scopeRovingFocusGroup, children: (0, import_jsx_runtime.jsx)(Collection.Slot, { scope: props.__scopeRovingFocusGroup, children: (0, import_jsx_runtime.jsx)(RovingFocusGroupImpl, { ...props, ref: forwardedRef }) }) });
49
- }
50
- );
51
- RovingFocusGroup.displayName = GROUP_NAME;
52
- var RovingFocusGroupImpl = React.forwardRef((props, forwardedRef) => {
53
- const {
54
- __scopeRovingFocusGroup,
55
- orientation,
56
- loop = false,
57
- dir,
58
- currentTabStopId: currentTabStopIdProp,
59
- defaultCurrentTabStopId,
60
- onCurrentTabStopIdChange,
61
- onEntryFocus,
62
- preventScrollOnEntryFocus = false,
63
- ...groupProps
64
- } = props;
65
- const ref = React.useRef(null);
66
- const composedRefs = useComposedRefs(forwardedRef, ref);
67
- const direction = useDirection(dir);
68
- const [currentTabStopId, setCurrentTabStopId] = useControllableState({
69
- prop: currentTabStopIdProp,
70
- defaultProp: defaultCurrentTabStopId ?? null,
71
- onChange: onCurrentTabStopIdChange,
72
- caller: GROUP_NAME
73
- });
74
- const [isTabbingBackOut, setIsTabbingBackOut] = React.useState(false);
75
- const handleEntryFocus = useCallbackRef(onEntryFocus);
76
- const getItems = useCollection(__scopeRovingFocusGroup);
77
- const isClickFocusRef = React.useRef(false);
78
- const [focusableItemsCount, setFocusableItemsCount] = React.useState(0);
79
- React.useEffect(() => {
80
- const node = ref.current;
81
- if (node) {
82
- node.addEventListener(ENTRY_FOCUS, handleEntryFocus);
83
- return () => node.removeEventListener(ENTRY_FOCUS, handleEntryFocus);
84
- }
85
- }, [handleEntryFocus]);
86
- return (0, import_jsx_runtime.jsx)(
87
- RovingFocusProvider,
88
- {
89
- scope: __scopeRovingFocusGroup,
90
- orientation,
91
- dir: direction,
92
- loop,
93
- currentTabStopId,
94
- onItemFocus: React.useCallback(
95
- (tabStopId) => setCurrentTabStopId(tabStopId),
96
- [setCurrentTabStopId]
97
- ),
98
- onItemShiftTab: React.useCallback(() => setIsTabbingBackOut(true), []),
99
- onFocusableItemAdd: React.useCallback(
100
- () => setFocusableItemsCount((prevCount) => prevCount + 1),
101
- []
102
- ),
103
- onFocusableItemRemove: React.useCallback(
104
- () => setFocusableItemsCount((prevCount) => prevCount - 1),
105
- []
106
- ),
107
- children: (0, import_jsx_runtime.jsx)(
108
- Primitive.div,
109
- {
110
- tabIndex: isTabbingBackOut || focusableItemsCount === 0 ? -1 : 0,
111
- "data-orientation": orientation,
112
- ...groupProps,
113
- ref: composedRefs,
114
- style: { outline: "none", ...props.style },
115
- onMouseDown: composeEventHandlers(props.onMouseDown, () => {
116
- isClickFocusRef.current = true;
117
- }),
118
- onFocus: composeEventHandlers(props.onFocus, (event) => {
119
- const isKeyboardFocus = !isClickFocusRef.current;
120
- if (event.target === event.currentTarget && isKeyboardFocus && !isTabbingBackOut) {
121
- const entryFocusEvent = new CustomEvent(ENTRY_FOCUS, EVENT_OPTIONS);
122
- event.currentTarget.dispatchEvent(entryFocusEvent);
123
- if (!entryFocusEvent.defaultPrevented) {
124
- const items = getItems().filter((item) => item.focusable);
125
- const activeItem = items.find((item) => item.active);
126
- const currentItem = items.find((item) => item.id === currentTabStopId);
127
- const candidateItems = [activeItem, currentItem, ...items].filter(
128
- Boolean
129
- );
130
- const candidateNodes = candidateItems.map((item) => item.ref.current);
131
- focusFirst(candidateNodes, preventScrollOnEntryFocus);
132
- }
133
- }
134
- isClickFocusRef.current = false;
135
- }),
136
- onBlur: composeEventHandlers(props.onBlur, () => setIsTabbingBackOut(false))
137
- }
138
- )
139
- }
140
- );
141
- });
142
- var ITEM_NAME = "RovingFocusGroupItem";
143
- var RovingFocusGroupItem = React.forwardRef(
144
- (props, forwardedRef) => {
145
- const {
146
- __scopeRovingFocusGroup,
147
- focusable = true,
148
- active = false,
149
- tabStopId,
150
- children,
151
- ...itemProps
152
- } = props;
153
- const autoId = useId();
154
- const id = tabStopId || autoId;
155
- const context = useRovingFocusContext(ITEM_NAME, __scopeRovingFocusGroup);
156
- const isCurrentTabStop = context.currentTabStopId === id;
157
- const getItems = useCollection(__scopeRovingFocusGroup);
158
- const { onFocusableItemAdd, onFocusableItemRemove, currentTabStopId } = context;
159
- React.useEffect(() => {
160
- if (focusable) {
161
- onFocusableItemAdd();
162
- return () => onFocusableItemRemove();
163
- }
164
- }, [focusable, onFocusableItemAdd, onFocusableItemRemove]);
165
- return (0, import_jsx_runtime.jsx)(
166
- Collection.ItemSlot,
167
- {
168
- scope: __scopeRovingFocusGroup,
169
- id,
170
- focusable,
171
- active,
172
- children: (0, import_jsx_runtime.jsx)(
173
- Primitive.span,
174
- {
175
- tabIndex: isCurrentTabStop ? 0 : -1,
176
- "data-orientation": context.orientation,
177
- ...itemProps,
178
- ref: forwardedRef,
179
- onMouseDown: composeEventHandlers(props.onMouseDown, (event) => {
180
- if (!focusable) event.preventDefault();
181
- else context.onItemFocus(id);
182
- }),
183
- onFocus: composeEventHandlers(props.onFocus, () => context.onItemFocus(id)),
184
- onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {
185
- if (event.key === "Tab" && event.shiftKey) {
186
- context.onItemShiftTab();
187
- return;
188
- }
189
- if (event.target !== event.currentTarget) return;
190
- const focusIntent = getFocusIntent(event, context.orientation, context.dir);
191
- if (focusIntent !== void 0) {
192
- if (event.metaKey || event.ctrlKey || event.altKey || event.shiftKey) return;
193
- event.preventDefault();
194
- const items = getItems().filter((item) => item.focusable);
195
- let candidateNodes = items.map((item) => item.ref.current);
196
- if (focusIntent === "last") candidateNodes.reverse();
197
- else if (focusIntent === "prev" || focusIntent === "next") {
198
- if (focusIntent === "prev") candidateNodes.reverse();
199
- const currentIndex = candidateNodes.indexOf(event.currentTarget);
200
- candidateNodes = context.loop ? wrapArray(candidateNodes, currentIndex + 1) : candidateNodes.slice(currentIndex + 1);
201
- }
202
- setTimeout(() => focusFirst(candidateNodes));
203
- }
204
- }),
205
- children: typeof children === "function" ? children({ isCurrentTabStop, hasTabStop: currentTabStopId != null }) : children
206
- }
207
- )
208
- }
209
- );
210
- }
211
- );
212
- RovingFocusGroupItem.displayName = ITEM_NAME;
213
- var MAP_KEY_TO_FOCUS_INTENT = {
214
- ArrowLeft: "prev",
215
- ArrowUp: "prev",
216
- ArrowRight: "next",
217
- ArrowDown: "next",
218
- PageUp: "first",
219
- Home: "first",
220
- PageDown: "last",
221
- End: "last"
222
- };
223
- function getDirectionAwareKey(key, dir) {
224
- if (dir !== "rtl") return key;
225
- return key === "ArrowLeft" ? "ArrowRight" : key === "ArrowRight" ? "ArrowLeft" : key;
226
- }
227
- function getFocusIntent(event, orientation, dir) {
228
- const key = getDirectionAwareKey(event.key, dir);
229
- if (orientation === "vertical" && ["ArrowLeft", "ArrowRight"].includes(key)) return void 0;
230
- if (orientation === "horizontal" && ["ArrowUp", "ArrowDown"].includes(key)) return void 0;
231
- return MAP_KEY_TO_FOCUS_INTENT[key];
232
- }
233
- function focusFirst(candidates, preventScroll = false) {
234
- const PREVIOUSLY_FOCUSED_ELEMENT = document.activeElement;
235
- for (const candidate of candidates) {
236
- if (candidate === PREVIOUSLY_FOCUSED_ELEMENT) return;
237
- candidate.focus({ preventScroll });
238
- if (document.activeElement !== PREVIOUSLY_FOCUSED_ELEMENT) return;
239
- }
240
- }
241
- function wrapArray(array, startIndex) {
242
- return array.map((_, index) => array[(startIndex + index) % array.length]);
243
- }
244
- var Root = RovingFocusGroup;
245
- var Item = RovingFocusGroupItem;
246
-
247
- // ../../../../node_modules/.pnpm/@radix-ui+react-tabs@1.1.13_@types+react-dom@19.2.3_@types+react@19.2.6__@types+react@19.2.6__6rhan6j6cdxoadjhlmva75pgeu/node_modules/@radix-ui/react-tabs/dist/index.mjs
248
- var import_jsx_runtime2 = __toESM(require_jsx_runtime(), 1);
249
- var TABS_NAME = "Tabs";
250
- var [createTabsContext, createTabsScope] = createContextScope(TABS_NAME, [
251
- createRovingFocusGroupScope
252
- ]);
253
- var useRovingFocusGroupScope = createRovingFocusGroupScope();
254
- var [TabsProvider, useTabsContext] = createTabsContext(TABS_NAME);
255
- var Tabs = React2.forwardRef(
256
- (props, forwardedRef) => {
257
- const {
258
- __scopeTabs,
259
- value: valueProp,
260
- onValueChange,
261
- defaultValue,
262
- orientation = "horizontal",
263
- dir,
264
- activationMode = "automatic",
265
- ...tabsProps
266
- } = props;
267
- const direction = useDirection(dir);
268
- const [value, setValue] = useControllableState({
269
- prop: valueProp,
270
- onChange: onValueChange,
271
- defaultProp: defaultValue ?? "",
272
- caller: TABS_NAME
273
- });
274
- return (0, import_jsx_runtime2.jsx)(
275
- TabsProvider,
276
- {
277
- scope: __scopeTabs,
278
- baseId: useId(),
279
- value,
280
- onValueChange: setValue,
281
- orientation,
282
- dir: direction,
283
- activationMode,
284
- children: (0, import_jsx_runtime2.jsx)(
285
- Primitive.div,
286
- {
287
- dir: direction,
288
- "data-orientation": orientation,
289
- ...tabsProps,
290
- ref: forwardedRef
291
- }
292
- )
293
- }
294
- );
295
- }
296
- );
297
- Tabs.displayName = TABS_NAME;
298
- var TAB_LIST_NAME = "TabsList";
299
- var TabsList = React2.forwardRef(
300
- (props, forwardedRef) => {
301
- const { __scopeTabs, loop = true, ...listProps } = props;
302
- const context = useTabsContext(TAB_LIST_NAME, __scopeTabs);
303
- const rovingFocusGroupScope = useRovingFocusGroupScope(__scopeTabs);
304
- return (0, import_jsx_runtime2.jsx)(
305
- Root,
306
- {
307
- asChild: true,
308
- ...rovingFocusGroupScope,
309
- orientation: context.orientation,
310
- dir: context.dir,
311
- loop,
312
- children: (0, import_jsx_runtime2.jsx)(
313
- Primitive.div,
314
- {
315
- role: "tablist",
316
- "aria-orientation": context.orientation,
317
- ...listProps,
318
- ref: forwardedRef
319
- }
320
- )
321
- }
322
- );
323
- }
324
- );
325
- TabsList.displayName = TAB_LIST_NAME;
326
- var TRIGGER_NAME = "TabsTrigger";
327
- var TabsTrigger = React2.forwardRef(
328
- (props, forwardedRef) => {
329
- const { __scopeTabs, value, disabled = false, ...triggerProps } = props;
330
- const context = useTabsContext(TRIGGER_NAME, __scopeTabs);
331
- const rovingFocusGroupScope = useRovingFocusGroupScope(__scopeTabs);
332
- const triggerId = makeTriggerId(context.baseId, value);
333
- const contentId = makeContentId(context.baseId, value);
334
- const isSelected = value === context.value;
335
- return (0, import_jsx_runtime2.jsx)(
336
- Item,
337
- {
338
- asChild: true,
339
- ...rovingFocusGroupScope,
340
- focusable: !disabled,
341
- active: isSelected,
342
- children: (0, import_jsx_runtime2.jsx)(
343
- Primitive.button,
344
- {
345
- type: "button",
346
- role: "tab",
347
- "aria-selected": isSelected,
348
- "aria-controls": contentId,
349
- "data-state": isSelected ? "active" : "inactive",
350
- "data-disabled": disabled ? "" : void 0,
351
- disabled,
352
- id: triggerId,
353
- ...triggerProps,
354
- ref: forwardedRef,
355
- onMouseDown: composeEventHandlers(props.onMouseDown, (event) => {
356
- if (!disabled && event.button === 0 && event.ctrlKey === false) {
357
- context.onValueChange(value);
358
- } else {
359
- event.preventDefault();
360
- }
361
- }),
362
- onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {
363
- if ([" ", "Enter"].includes(event.key)) context.onValueChange(value);
364
- }),
365
- onFocus: composeEventHandlers(props.onFocus, () => {
366
- const isAutomaticActivation = context.activationMode !== "manual";
367
- if (!isSelected && !disabled && isAutomaticActivation) {
368
- context.onValueChange(value);
369
- }
370
- })
371
- }
372
- )
373
- }
374
- );
375
- }
376
- );
377
- TabsTrigger.displayName = TRIGGER_NAME;
378
- var CONTENT_NAME = "TabsContent";
379
- var TabsContent = React2.forwardRef(
380
- (props, forwardedRef) => {
381
- const { __scopeTabs, value, forceMount, children, ...contentProps } = props;
382
- const context = useTabsContext(CONTENT_NAME, __scopeTabs);
383
- const triggerId = makeTriggerId(context.baseId, value);
384
- const contentId = makeContentId(context.baseId, value);
385
- const isSelected = value === context.value;
386
- const isMountAnimationPreventedRef = React2.useRef(isSelected);
387
- React2.useEffect(() => {
388
- const rAF = requestAnimationFrame(() => isMountAnimationPreventedRef.current = false);
389
- return () => cancelAnimationFrame(rAF);
390
- }, []);
391
- return (0, import_jsx_runtime2.jsx)(Presence, { present: forceMount || isSelected, children: ({ present }) => (0, import_jsx_runtime2.jsx)(
392
- Primitive.div,
393
- {
394
- "data-state": isSelected ? "active" : "inactive",
395
- "data-orientation": context.orientation,
396
- role: "tabpanel",
397
- "aria-labelledby": triggerId,
398
- hidden: !present,
399
- id: contentId,
400
- tabIndex: 0,
401
- ...contentProps,
402
- ref: forwardedRef,
403
- style: {
404
- ...props.style,
405
- animationDuration: isMountAnimationPreventedRef.current ? "0s" : void 0
406
- },
407
- children: present && children
408
- }
409
- ) });
410
- }
411
- );
412
- TabsContent.displayName = CONTENT_NAME;
413
- function makeTriggerId(baseId, value) {
414
- return `${baseId}-trigger-${value}`;
415
- }
416
- function makeContentId(baseId, value) {
417
- return `${baseId}-content-${value}`;
418
- }
419
- var Root2 = Tabs;
420
- var List = TabsList;
421
- var Trigger = TabsTrigger;
422
- var Content = TabsContent;
423
- export {
424
- Content,
425
- List,
426
- Root2 as Root,
427
- Tabs,
428
- TabsContent,
429
- TabsList,
430
- TabsTrigger,
431
- Trigger,
432
- createTabsScope
433
- };
434
- //# sourceMappingURL=@radix-ui_react-tabs.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../../node_modules/.pnpm/@radix-ui+react-tabs@1.1.13_@types+react-dom@19.2.3_@types+react@19.2.6__@types+react@19.2.6__6rhan6j6cdxoadjhlmva75pgeu/node_modules/@radix-ui/react-tabs/src/tabs.tsx", "../../../../../../../node_modules/.pnpm/@radix-ui+react-roving-focus@1.1.11_@types+react-dom@19.2.3_@types+react@19.2.6__@types+react_sjvvzrpb6ck6gng4pcqsgx3zpy/node_modules/@radix-ui/react-roving-focus/src/roving-focus-group.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nimport { composeEventHandlers } from '@radix-ui/primitive';\nimport { createContextScope } from '@radix-ui/react-context';\nimport { createRovingFocusGroupScope } from '@radix-ui/react-roving-focus';\nimport { Presence } from '@radix-ui/react-presence';\nimport { Primitive } from '@radix-ui/react-primitive';\nimport * as RovingFocusGroup from '@radix-ui/react-roving-focus';\nimport { useDirection } from '@radix-ui/react-direction';\nimport { useControllableState } from '@radix-ui/react-use-controllable-state';\nimport { useId } from '@radix-ui/react-id';\n\nimport type { Scope } from '@radix-ui/react-context';\n\n/* -------------------------------------------------------------------------------------------------\n * Tabs\n * -----------------------------------------------------------------------------------------------*/\n\nconst TABS_NAME = 'Tabs';\n\ntype ScopedProps<P> = P & { __scopeTabs?: Scope };\nconst [createTabsContext, createTabsScope] = createContextScope(TABS_NAME, [\n createRovingFocusGroupScope,\n]);\nconst useRovingFocusGroupScope = createRovingFocusGroupScope();\n\ntype TabsContextValue = {\n baseId: string;\n value: string;\n onValueChange: (value: string) => void;\n orientation?: TabsProps['orientation'];\n dir?: TabsProps['dir'];\n activationMode?: TabsProps['activationMode'];\n};\n\nconst [TabsProvider, useTabsContext] = createTabsContext<TabsContextValue>(TABS_NAME);\n\ntype TabsElement = React.ComponentRef<typeof Primitive.div>;\ntype RovingFocusGroupProps = React.ComponentPropsWithoutRef<typeof RovingFocusGroup.Root>;\ntype PrimitiveDivProps = React.ComponentPropsWithoutRef<typeof Primitive.div>;\ninterface TabsProps extends PrimitiveDivProps {\n /** The value for the selected tab, if controlled */\n value?: string;\n /** The value of the tab to select by default, if uncontrolled */\n defaultValue?: string;\n /** A function called when a new tab is selected */\n onValueChange?: (value: string) => void;\n /**\n * The orientation the tabs are layed out.\n * Mainly so arrow navigation is done accordingly (left & right vs. up & down)\n * @defaultValue horizontal\n */\n orientation?: RovingFocusGroupProps['orientation'];\n /**\n * The direction of navigation between toolbar items.\n */\n dir?: RovingFocusGroupProps['dir'];\n /**\n * Whether a tab is activated automatically or manually.\n * @defaultValue automatic\n * */\n activationMode?: 'automatic' | 'manual';\n}\n\nconst Tabs = React.forwardRef<TabsElement, TabsProps>(\n (props: ScopedProps<TabsProps>, forwardedRef) => {\n const {\n __scopeTabs,\n value: valueProp,\n onValueChange,\n defaultValue,\n orientation = 'horizontal',\n dir,\n activationMode = 'automatic',\n ...tabsProps\n } = props;\n const direction = useDirection(dir);\n const [value, setValue] = useControllableState({\n prop: valueProp,\n onChange: onValueChange,\n defaultProp: defaultValue ?? '',\n caller: TABS_NAME,\n });\n\n return (\n <TabsProvider\n scope={__scopeTabs}\n baseId={useId()}\n value={value}\n onValueChange={setValue}\n orientation={orientation}\n dir={direction}\n activationMode={activationMode}\n >\n <Primitive.div\n dir={direction}\n data-orientation={orientation}\n {...tabsProps}\n ref={forwardedRef}\n />\n </TabsProvider>\n );\n }\n);\n\nTabs.displayName = TABS_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * TabsList\n * -----------------------------------------------------------------------------------------------*/\n\nconst TAB_LIST_NAME = 'TabsList';\n\ntype TabsListElement = React.ComponentRef<typeof Primitive.div>;\ninterface TabsListProps extends PrimitiveDivProps {\n loop?: RovingFocusGroupProps['loop'];\n}\n\nconst TabsList = React.forwardRef<TabsListElement, TabsListProps>(\n (props: ScopedProps<TabsListProps>, forwardedRef) => {\n const { __scopeTabs, loop = true, ...listProps } = props;\n const context = useTabsContext(TAB_LIST_NAME, __scopeTabs);\n const rovingFocusGroupScope = useRovingFocusGroupScope(__scopeTabs);\n return (\n <RovingFocusGroup.Root\n asChild\n {...rovingFocusGroupScope}\n orientation={context.orientation}\n dir={context.dir}\n loop={loop}\n >\n <Primitive.div\n role=\"tablist\"\n aria-orientation={context.orientation}\n {...listProps}\n ref={forwardedRef}\n />\n </RovingFocusGroup.Root>\n );\n }\n);\n\nTabsList.displayName = TAB_LIST_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * TabsTrigger\n * -----------------------------------------------------------------------------------------------*/\n\nconst TRIGGER_NAME = 'TabsTrigger';\n\ntype TabsTriggerElement = React.ComponentRef<typeof Primitive.button>;\ntype PrimitiveButtonProps = React.ComponentPropsWithoutRef<typeof Primitive.button>;\ninterface TabsTriggerProps extends PrimitiveButtonProps {\n value: string;\n}\n\nconst TabsTrigger = React.forwardRef<TabsTriggerElement, TabsTriggerProps>(\n (props: ScopedProps<TabsTriggerProps>, forwardedRef) => {\n const { __scopeTabs, value, disabled = false, ...triggerProps } = props;\n const context = useTabsContext(TRIGGER_NAME, __scopeTabs);\n const rovingFocusGroupScope = useRovingFocusGroupScope(__scopeTabs);\n const triggerId = makeTriggerId(context.baseId, value);\n const contentId = makeContentId(context.baseId, value);\n const isSelected = value === context.value;\n return (\n <RovingFocusGroup.Item\n asChild\n {...rovingFocusGroupScope}\n focusable={!disabled}\n active={isSelected}\n >\n <Primitive.button\n type=\"button\"\n role=\"tab\"\n aria-selected={isSelected}\n aria-controls={contentId}\n data-state={isSelected ? 'active' : 'inactive'}\n data-disabled={disabled ? '' : undefined}\n disabled={disabled}\n id={triggerId}\n {...triggerProps}\n ref={forwardedRef}\n onMouseDown={composeEventHandlers(props.onMouseDown, (event) => {\n // only call handler if it's the left button (mousedown gets triggered by all mouse buttons)\n // but not when the control key is pressed (avoiding MacOS right click)\n if (!disabled && event.button === 0 && event.ctrlKey === false) {\n context.onValueChange(value);\n } else {\n // prevent focus to avoid accidental activation\n event.preventDefault();\n }\n })}\n onKeyDown={composeEventHandlers(props.onKeyDown, (event) => {\n if ([' ', 'Enter'].includes(event.key)) context.onValueChange(value);\n })}\n onFocus={composeEventHandlers(props.onFocus, () => {\n // handle \"automatic\" activation if necessary\n // ie. activate tab following focus\n const isAutomaticActivation = context.activationMode !== 'manual';\n if (!isSelected && !disabled && isAutomaticActivation) {\n context.onValueChange(value);\n }\n })}\n />\n </RovingFocusGroup.Item>\n );\n }\n);\n\nTabsTrigger.displayName = TRIGGER_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * TabsContent\n * -----------------------------------------------------------------------------------------------*/\n\nconst CONTENT_NAME = 'TabsContent';\n\ntype TabsContentElement = React.ComponentRef<typeof Primitive.div>;\ninterface TabsContentProps extends PrimitiveDivProps {\n value: string;\n\n /**\n * Used to force mounting when more control is needed. Useful when\n * controlling animation with React animation libraries.\n */\n forceMount?: true;\n}\n\nconst TabsContent = React.forwardRef<TabsContentElement, TabsContentProps>(\n (props: ScopedProps<TabsContentProps>, forwardedRef) => {\n const { __scopeTabs, value, forceMount, children, ...contentProps } = props;\n const context = useTabsContext(CONTENT_NAME, __scopeTabs);\n const triggerId = makeTriggerId(context.baseId, value);\n const contentId = makeContentId(context.baseId, value);\n const isSelected = value === context.value;\n const isMountAnimationPreventedRef = React.useRef(isSelected);\n\n React.useEffect(() => {\n const rAF = requestAnimationFrame(() => (isMountAnimationPreventedRef.current = false));\n return () => cancelAnimationFrame(rAF);\n }, []);\n\n return (\n <Presence present={forceMount || isSelected}>\n {({ present }) => (\n <Primitive.div\n data-state={isSelected ? 'active' : 'inactive'}\n data-orientation={context.orientation}\n role=\"tabpanel\"\n aria-labelledby={triggerId}\n hidden={!present}\n id={contentId}\n tabIndex={0}\n {...contentProps}\n ref={forwardedRef}\n style={{\n ...props.style,\n animationDuration: isMountAnimationPreventedRef.current ? '0s' : undefined,\n }}\n >\n {present && children}\n </Primitive.div>\n )}\n </Presence>\n );\n }\n);\n\nTabsContent.displayName = CONTENT_NAME;\n\n/* ---------------------------------------------------------------------------------------------- */\n\nfunction makeTriggerId(baseId: string, value: string) {\n return `${baseId}-trigger-${value}`;\n}\n\nfunction makeContentId(baseId: string, value: string) {\n return `${baseId}-content-${value}`;\n}\n\nconst Root = Tabs;\nconst List = TabsList;\nconst Trigger = TabsTrigger;\nconst Content = TabsContent;\n\nexport {\n createTabsScope,\n //\n Tabs,\n TabsList,\n TabsTrigger,\n TabsContent,\n //\n Root,\n List,\n Trigger,\n Content,\n};\nexport type { TabsProps, TabsListProps, TabsTriggerProps, TabsContentProps };\n", "import * as React from 'react';\nimport { composeEventHandlers } from '@radix-ui/primitive';\nimport { createCollection } from '@radix-ui/react-collection';\nimport { useComposedRefs } from '@radix-ui/react-compose-refs';\nimport { createContextScope } from '@radix-ui/react-context';\nimport { useId } from '@radix-ui/react-id';\nimport { Primitive } from '@radix-ui/react-primitive';\nimport { useCallbackRef } from '@radix-ui/react-use-callback-ref';\nimport { useControllableState } from '@radix-ui/react-use-controllable-state';\nimport { useDirection } from '@radix-ui/react-direction';\n\nimport type { Scope } from '@radix-ui/react-context';\n\nconst ENTRY_FOCUS = 'rovingFocusGroup.onEntryFocus';\nconst EVENT_OPTIONS = { bubbles: false, cancelable: true };\n\n/* -------------------------------------------------------------------------------------------------\n * RovingFocusGroup\n * -----------------------------------------------------------------------------------------------*/\n\nconst GROUP_NAME = 'RovingFocusGroup';\n\ntype ItemData = { id: string; focusable: boolean; active: boolean };\nconst [Collection, useCollection, createCollectionScope] = createCollection<\n HTMLSpanElement,\n ItemData\n>(GROUP_NAME);\n\ntype ScopedProps<P> = P & { __scopeRovingFocusGroup?: Scope };\nconst [createRovingFocusGroupContext, createRovingFocusGroupScope] = createContextScope(\n GROUP_NAME,\n [createCollectionScope]\n);\n\ntype Orientation = React.AriaAttributes['aria-orientation'];\ntype Direction = 'ltr' | 'rtl';\n\ninterface RovingFocusGroupOptions {\n /**\n * The orientation of the group.\n * Mainly so arrow navigation is done accordingly (left & right vs. up & down)\n */\n orientation?: Orientation;\n /**\n * The direction of navigation between items.\n */\n dir?: Direction;\n /**\n * Whether keyboard navigation should loop around\n * @defaultValue false\n */\n loop?: boolean;\n}\n\ntype RovingContextValue = RovingFocusGroupOptions & {\n currentTabStopId: string | null;\n onItemFocus(tabStopId: string): void;\n onItemShiftTab(): void;\n onFocusableItemAdd(): void;\n onFocusableItemRemove(): void;\n};\n\nconst [RovingFocusProvider, useRovingFocusContext] =\n createRovingFocusGroupContext<RovingContextValue>(GROUP_NAME);\n\ntype RovingFocusGroupElement = RovingFocusGroupImplElement;\ninterface RovingFocusGroupProps extends RovingFocusGroupImplProps {}\n\nconst RovingFocusGroup = React.forwardRef<RovingFocusGroupElement, RovingFocusGroupProps>(\n (props: ScopedProps<RovingFocusGroupProps>, forwardedRef) => {\n return (\n <Collection.Provider scope={props.__scopeRovingFocusGroup}>\n <Collection.Slot scope={props.__scopeRovingFocusGroup}>\n <RovingFocusGroupImpl {...props} ref={forwardedRef} />\n </Collection.Slot>\n </Collection.Provider>\n );\n }\n);\n\nRovingFocusGroup.displayName = GROUP_NAME;\n\n/* -----------------------------------------------------------------------------------------------*/\n\ntype RovingFocusGroupImplElement = React.ComponentRef<typeof Primitive.div>;\ntype PrimitiveDivProps = React.ComponentPropsWithoutRef<typeof Primitive.div>;\ninterface RovingFocusGroupImplProps\n extends Omit<PrimitiveDivProps, 'dir'>,\n RovingFocusGroupOptions {\n currentTabStopId?: string | null;\n defaultCurrentTabStopId?: string;\n onCurrentTabStopIdChange?: (tabStopId: string | null) => void;\n onEntryFocus?: (event: Event) => void;\n preventScrollOnEntryFocus?: boolean;\n}\n\nconst RovingFocusGroupImpl = React.forwardRef<\n RovingFocusGroupImplElement,\n RovingFocusGroupImplProps\n>((props: ScopedProps<RovingFocusGroupImplProps>, forwardedRef) => {\n const {\n __scopeRovingFocusGroup,\n orientation,\n loop = false,\n dir,\n currentTabStopId: currentTabStopIdProp,\n defaultCurrentTabStopId,\n onCurrentTabStopIdChange,\n onEntryFocus,\n preventScrollOnEntryFocus = false,\n ...groupProps\n } = props;\n const ref = React.useRef<RovingFocusGroupImplElement>(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const direction = useDirection(dir);\n const [currentTabStopId, setCurrentTabStopId] = useControllableState({\n prop: currentTabStopIdProp,\n defaultProp: defaultCurrentTabStopId ?? null,\n onChange: onCurrentTabStopIdChange,\n caller: GROUP_NAME,\n });\n const [isTabbingBackOut, setIsTabbingBackOut] = React.useState(false);\n const handleEntryFocus = useCallbackRef(onEntryFocus);\n const getItems = useCollection(__scopeRovingFocusGroup);\n const isClickFocusRef = React.useRef(false);\n const [focusableItemsCount, setFocusableItemsCount] = React.useState(0);\n\n React.useEffect(() => {\n const node = ref.current;\n if (node) {\n node.addEventListener(ENTRY_FOCUS, handleEntryFocus);\n return () => node.removeEventListener(ENTRY_FOCUS, handleEntryFocus);\n }\n }, [handleEntryFocus]);\n\n return (\n <RovingFocusProvider\n scope={__scopeRovingFocusGroup}\n orientation={orientation}\n dir={direction}\n loop={loop}\n currentTabStopId={currentTabStopId}\n onItemFocus={React.useCallback(\n (tabStopId) => setCurrentTabStopId(tabStopId),\n [setCurrentTabStopId]\n )}\n onItemShiftTab={React.useCallback(() => setIsTabbingBackOut(true), [])}\n onFocusableItemAdd={React.useCallback(\n () => setFocusableItemsCount((prevCount) => prevCount + 1),\n []\n )}\n onFocusableItemRemove={React.useCallback(\n () => setFocusableItemsCount((prevCount) => prevCount - 1),\n []\n )}\n >\n <Primitive.div\n tabIndex={isTabbingBackOut || focusableItemsCount === 0 ? -1 : 0}\n data-orientation={orientation}\n {...groupProps}\n ref={composedRefs}\n style={{ outline: 'none', ...props.style }}\n onMouseDown={composeEventHandlers(props.onMouseDown, () => {\n isClickFocusRef.current = true;\n })}\n onFocus={composeEventHandlers(props.onFocus, (event) => {\n // We normally wouldn't need this check, because we already check\n // that the focus is on the current target and not bubbling to it.\n // We do this because Safari doesn't focus buttons when clicked, and\n // instead, the wrapper will get focused and not through a bubbling event.\n const isKeyboardFocus = !isClickFocusRef.current;\n\n if (event.target === event.currentTarget && isKeyboardFocus && !isTabbingBackOut) {\n const entryFocusEvent = new CustomEvent(ENTRY_FOCUS, EVENT_OPTIONS);\n event.currentTarget.dispatchEvent(entryFocusEvent);\n\n if (!entryFocusEvent.defaultPrevented) {\n const items = getItems().filter((item) => item.focusable);\n const activeItem = items.find((item) => item.active);\n const currentItem = items.find((item) => item.id === currentTabStopId);\n const candidateItems = [activeItem, currentItem, ...items].filter(\n Boolean\n ) as typeof items;\n const candidateNodes = candidateItems.map((item) => item.ref.current!);\n focusFirst(candidateNodes, preventScrollOnEntryFocus);\n }\n }\n\n isClickFocusRef.current = false;\n })}\n onBlur={composeEventHandlers(props.onBlur, () => setIsTabbingBackOut(false))}\n />\n </RovingFocusProvider>\n );\n});\n\n/* -------------------------------------------------------------------------------------------------\n * RovingFocusGroupItem\n * -----------------------------------------------------------------------------------------------*/\n\nconst ITEM_NAME = 'RovingFocusGroupItem';\n\ntype RovingFocusItemElement = React.ComponentRef<typeof Primitive.span>;\ntype PrimitiveSpanProps = React.ComponentPropsWithoutRef<typeof Primitive.span>;\ninterface RovingFocusItemProps extends Omit<PrimitiveSpanProps, 'children'> {\n tabStopId?: string;\n focusable?: boolean;\n active?: boolean;\n children?:\n | React.ReactNode\n | ((props: { hasTabStop: boolean; isCurrentTabStop: boolean }) => React.ReactNode);\n}\n\nconst RovingFocusGroupItem = React.forwardRef<RovingFocusItemElement, RovingFocusItemProps>(\n (props: ScopedProps<RovingFocusItemProps>, forwardedRef) => {\n const {\n __scopeRovingFocusGroup,\n focusable = true,\n active = false,\n tabStopId,\n children,\n ...itemProps\n } = props;\n const autoId = useId();\n const id = tabStopId || autoId;\n const context = useRovingFocusContext(ITEM_NAME, __scopeRovingFocusGroup);\n const isCurrentTabStop = context.currentTabStopId === id;\n const getItems = useCollection(__scopeRovingFocusGroup);\n\n const { onFocusableItemAdd, onFocusableItemRemove, currentTabStopId } = context;\n\n React.useEffect(() => {\n if (focusable) {\n onFocusableItemAdd();\n return () => onFocusableItemRemove();\n }\n }, [focusable, onFocusableItemAdd, onFocusableItemRemove]);\n\n return (\n <Collection.ItemSlot\n scope={__scopeRovingFocusGroup}\n id={id}\n focusable={focusable}\n active={active}\n >\n <Primitive.span\n tabIndex={isCurrentTabStop ? 0 : -1}\n data-orientation={context.orientation}\n {...itemProps}\n ref={forwardedRef}\n onMouseDown={composeEventHandlers(props.onMouseDown, (event) => {\n // We prevent focusing non-focusable items on `mousedown`.\n // Even though the item has tabIndex={-1}, that only means take it out of the tab order.\n if (!focusable) event.preventDefault();\n // Safari doesn't focus a button when clicked so we run our logic on mousedown also\n else context.onItemFocus(id);\n })}\n onFocus={composeEventHandlers(props.onFocus, () => context.onItemFocus(id))}\n onKeyDown={composeEventHandlers(props.onKeyDown, (event) => {\n if (event.key === 'Tab' && event.shiftKey) {\n context.onItemShiftTab();\n return;\n }\n\n if (event.target !== event.currentTarget) return;\n\n const focusIntent = getFocusIntent(event, context.orientation, context.dir);\n\n if (focusIntent !== undefined) {\n if (event.metaKey || event.ctrlKey || event.altKey || event.shiftKey) return;\n event.preventDefault();\n const items = getItems().filter((item) => item.focusable);\n let candidateNodes = items.map((item) => item.ref.current!);\n\n if (focusIntent === 'last') candidateNodes.reverse();\n else if (focusIntent === 'prev' || focusIntent === 'next') {\n if (focusIntent === 'prev') candidateNodes.reverse();\n const currentIndex = candidateNodes.indexOf(event.currentTarget);\n candidateNodes = context.loop\n ? wrapArray(candidateNodes, currentIndex + 1)\n : candidateNodes.slice(currentIndex + 1);\n }\n\n /**\n * Imperative focus during keydown is risky so we prevent React's batching updates\n * to avoid potential bugs. See: https://github.com/facebook/react/issues/20332\n */\n setTimeout(() => focusFirst(candidateNodes));\n }\n })}\n >\n {typeof children === 'function'\n ? children({ isCurrentTabStop, hasTabStop: currentTabStopId != null })\n : children}\n </Primitive.span>\n </Collection.ItemSlot>\n );\n }\n);\n\nRovingFocusGroupItem.displayName = ITEM_NAME;\n\n/* -----------------------------------------------------------------------------------------------*/\n\n// prettier-ignore\nconst MAP_KEY_TO_FOCUS_INTENT: Record<string, FocusIntent> = {\n ArrowLeft: 'prev', ArrowUp: 'prev',\n ArrowRight: 'next', ArrowDown: 'next',\n PageUp: 'first', Home: 'first',\n PageDown: 'last', End: 'last',\n};\n\nfunction getDirectionAwareKey(key: string, dir?: Direction) {\n if (dir !== 'rtl') return key;\n return key === 'ArrowLeft' ? 'ArrowRight' : key === 'ArrowRight' ? 'ArrowLeft' : key;\n}\n\ntype FocusIntent = 'first' | 'last' | 'prev' | 'next';\n\nfunction getFocusIntent(event: React.KeyboardEvent, orientation?: Orientation, dir?: Direction) {\n const key = getDirectionAwareKey(event.key, dir);\n if (orientation === 'vertical' && ['ArrowLeft', 'ArrowRight'].includes(key)) return undefined;\n if (orientation === 'horizontal' && ['ArrowUp', 'ArrowDown'].includes(key)) return undefined;\n return MAP_KEY_TO_FOCUS_INTENT[key];\n}\n\nfunction focusFirst(candidates: HTMLElement[], preventScroll = false) {\n const PREVIOUSLY_FOCUSED_ELEMENT = document.activeElement;\n for (const candidate of candidates) {\n // if focus is already where we want to go, we don't want to keep going through the candidates\n if (candidate === PREVIOUSLY_FOCUSED_ELEMENT) return;\n candidate.focus({ preventScroll });\n if (document.activeElement !== PREVIOUSLY_FOCUSED_ELEMENT) return;\n }\n}\n\n/**\n * Wraps an array around itself at a given start index\n * Example: `wrapArray(['a', 'b', 'c', 'd'], 2) === ['c', 'd', 'a', 'b']`\n */\nfunction wrapArray<T>(array: T[], startIndex: number) {\n return array.map<T>((_, index) => array[(startIndex + index) % array.length]!);\n}\n\nconst Root = RovingFocusGroup;\nconst Item = RovingFocusGroupItem;\n\nexport {\n createRovingFocusGroupScope,\n //\n RovingFocusGroup,\n RovingFocusGroupItem,\n //\n Root,\n Item,\n};\nexport type { RovingFocusGroupProps, RovingFocusItemProps };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,SAAuB;;;ACAvB,YAAuB;AAyEb,yBAAA;AA5DV,IAAM,cAAc;AACpB,IAAM,gBAAgB,EAAE,SAAS,OAAO,YAAY,KAAK;AAMzD,IAAM,aAAa;AAGnB,IAAM,CAAC,YAAY,eAAe,qBAAqB,IAAI,iBAGzD,UAAU;AAG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UAAM,EAAE,aAAa,OAAO,YAAY,UAAU,GAAG,aAAa,IAAI;AACtE,UAAM,UAAU,eAAe,cAAc,WAAW;AACxD,UAAM,YAAY,cAAc,QAAQ,QAAQ,KAAK;AACrD,UAAM,YAAY,cAAc,QAAQ,QAAQ,KAAK;AACrD,UAAM,aAAa,UAAU,QAAQ;AACrC,UAAM,+BAAqC,cAAO,UAAU;AAEtD,IAAA,iBAAU,MAAM;AACpB,YAAM,MAAM,sBAAsB,MAAO,6BAA6B,UAAU,KAAM;AACtF,aAAO,MAAM,qBAAqB,GAAG;IACvC,GAAG,CAAC,CAAC;AAEL,eACE,yBAAC,UAAA,EAAS,SAAS,cAAc,YAC9B,UAAA,CAAC,EAAE,QAAQ,UACV;MAAC,UAAU;MAAV;QACC,cAAY,aAAa,WAAW;QACpC,oBAAkB,QAAQ;QAC1B,MAAK;QACL,mBAAiB;QACjB,QAAQ,CAAC;QACT,IAAI;QACJ,UAAU;QACT,GAAG;QACJ,KAAK;QACL,OAAO;UACL,GAAG,MAAM;UACT,mBAAmB,6BAA6B,UAAU,OAAO;QACnE;QAEC,UAAA,WAAW;MAAA;IACd,EAAA,CAEJ;EAEJ;AACF;AAEA,YAAY,cAAc;AAI1B,SAAS,cAAc,QAAgB,OAAe;AACpD,SAAO,GAAG,MAAM,YAAY,KAAK;AACnC;AAEA,SAAS,cAAc,QAAgB,OAAe;AACpD,SAAO,GAAG,MAAM,YAAY,KAAK;AACnC;AAEA,IAAMC,QAAO;AACb,IAAM,OAAO;AACb,IAAM,UAAU;AAChB,IAAM,UAAU;",
6
- "names": ["React", "import_jsx_runtime", "Root"]
7
- }
@@ -1,163 +0,0 @@
1
- {
2
- "hash": "d48458b2",
3
- "configHash": "a9e3b584",
4
- "lockfileHash": "7f0e42ec",
5
- "browserHash": "200c3129",
6
- "optimized": {
7
- "react": {
8
- "src": "../../../../../../../node_modules/.pnpm/react@19.2.0/node_modules/react/index.js",
9
- "file": "react.js",
10
- "fileHash": "1d5aae78",
11
- "needsInterop": true
12
- },
13
- "react-dom": {
14
- "src": "../../../../../../../node_modules/.pnpm/react-dom@19.2.0_react@19.2.0/node_modules/react-dom/index.js",
15
- "file": "react-dom.js",
16
- "fileHash": "cc99e37a",
17
- "needsInterop": true
18
- },
19
- "react/jsx-dev-runtime": {
20
- "src": "../../../../../../../node_modules/.pnpm/react@19.2.0/node_modules/react/jsx-dev-runtime.js",
21
- "file": "react_jsx-dev-runtime.js",
22
- "fileHash": "358a2905",
23
- "needsInterop": true
24
- },
25
- "react/jsx-runtime": {
26
- "src": "../../../../../../../node_modules/.pnpm/react@19.2.0/node_modules/react/jsx-runtime.js",
27
- "file": "react_jsx-runtime.js",
28
- "fileHash": "cdd7f870",
29
- "needsInterop": true
30
- },
31
- "@radix-ui/react-dialog": {
32
- "src": "../../../../../../../node_modules/.pnpm/@radix-ui+react-dialog@1.1.15_@types+react-dom@19.2.3_@types+react@19.2.6__@types+react@19.2._vo4kj5mvvikqqetwf4krwfjr74/node_modules/@radix-ui/react-dialog/dist/index.mjs",
33
- "file": "@radix-ui_react-dialog.js",
34
- "fileHash": "62dec0e5",
35
- "needsInterop": false
36
- },
37
- "@radix-ui/react-slider": {
38
- "src": "../../../../../../../node_modules/.pnpm/@radix-ui+react-slider@1.3.6_@types+react-dom@19.2.3_@types+react@19.2.6__@types+react@19.2.6_6rwxpxtwhlfeak3kjx5vwmy6vi/node_modules/@radix-ui/react-slider/dist/index.mjs",
39
- "file": "@radix-ui_react-slider.js",
40
- "fileHash": "5870a9a1",
41
- "needsInterop": false
42
- },
43
- "@radix-ui/react-slot": {
44
- "src": "../../../../../../../node_modules/.pnpm/@radix-ui+react-slot@1.2.4_@types+react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-slot/dist/index.mjs",
45
- "file": "@radix-ui_react-slot.js",
46
- "fileHash": "0717adb8",
47
- "needsInterop": false
48
- },
49
- "@radix-ui/react-tabs": {
50
- "src": "../../../../../../../node_modules/.pnpm/@radix-ui+react-tabs@1.1.13_@types+react-dom@19.2.3_@types+react@19.2.6__@types+react@19.2.6__6rhan6j6cdxoadjhlmva75pgeu/node_modules/@radix-ui/react-tabs/dist/index.mjs",
51
- "file": "@radix-ui_react-tabs.js",
52
- "fileHash": "f2efd88f",
53
- "needsInterop": false
54
- },
55
- "class-variance-authority": {
56
- "src": "../../../../../../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.mjs",
57
- "file": "class-variance-authority.js",
58
- "fileHash": "5b3ba37f",
59
- "needsInterop": false
60
- },
61
- "clsx": {
62
- "src": "../../../../../../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs",
63
- "file": "clsx.js",
64
- "fileHash": "c7f76809",
65
- "needsInterop": false
66
- },
67
- "howler": {
68
- "src": "../../../../../../../node_modules/.pnpm/howler@2.2.4/node_modules/howler/dist/howler.js",
69
- "file": "howler.js",
70
- "fileHash": "02545429",
71
- "needsInterop": true
72
- },
73
- "html5-qrcode": {
74
- "src": "../../../../../../../node_modules/.pnpm/html5-qrcode@2.3.8/node_modules/html5-qrcode/esm/index.js",
75
- "file": "html5-qrcode.js",
76
- "fileHash": "fbd34e77",
77
- "needsInterop": false
78
- },
79
- "lucide-react": {
80
- "src": "../../../../../../../node_modules/.pnpm/lucide-react@0.554.0_react@19.2.0/node_modules/lucide-react/dist/esm/lucide-react.js",
81
- "file": "lucide-react.js",
82
- "fileHash": "1068f391",
83
- "needsInterop": false
84
- },
85
- "qrcode": {
86
- "src": "../../../../../../../node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/browser.js",
87
- "file": "qrcode.js",
88
- "fileHash": "d14d87be",
89
- "needsInterop": true
90
- },
91
- "react-dom/client": {
92
- "src": "../../../../../../../node_modules/.pnpm/react-dom@19.2.0_react@19.2.0/node_modules/react-dom/client.js",
93
- "file": "react-dom_client.js",
94
- "fileHash": "c2e87473",
95
- "needsInterop": true
96
- },
97
- "react-router-dom": {
98
- "src": "../../../../../../../node_modules/.pnpm/react-router-dom@7.11.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-router-dom/dist/index.mjs",
99
- "file": "react-router-dom.js",
100
- "fileHash": "e56197b6",
101
- "needsInterop": false
102
- },
103
- "socket.io-client": {
104
- "src": "../../../../../../../node_modules/.pnpm/socket.io-client@4.8.1/node_modules/socket.io-client/build/esm/index.js",
105
- "file": "socket__io-client.js",
106
- "fileHash": "e233b937",
107
- "needsInterop": false
108
- },
109
- "tailwind-merge": {
110
- "src": "../../../../../../../node_modules/.pnpm/tailwind-merge@2.6.0/node_modules/tailwind-merge/dist/bundle-mjs.mjs",
111
- "file": "tailwind-merge.js",
112
- "fileHash": "f84574b9",
113
- "needsInterop": false
114
- },
115
- "zod": {
116
- "src": "../../../../../../../node_modules/.pnpm/zod@4.2.1/node_modules/zod/index.js",
117
- "file": "zod.js",
118
- "fileHash": "91bc2a29",
119
- "needsInterop": false
120
- },
121
- "zustand": {
122
- "src": "../../../../../../../node_modules/.pnpm/zustand@5.0.8_@types+react@19.2.6_react@19.2.0_use-sync-external-store@1.6.0_react@19.2.0_/node_modules/zustand/esm/index.mjs",
123
- "file": "zustand.js",
124
- "fileHash": "9b79c378",
125
- "needsInterop": false
126
- },
127
- "zustand/react/shallow": {
128
- "src": "../../../../../../../node_modules/.pnpm/zustand@5.0.8_@types+react@19.2.6_react@19.2.0_use-sync-external-store@1.6.0_react@19.2.0_/node_modules/zustand/esm/react/shallow.mjs",
129
- "file": "zustand_react_shallow.js",
130
- "fileHash": "4c1a9261",
131
- "needsInterop": false
132
- }
133
- },
134
- "chunks": {
135
- "chunk-NPTAWNEA": {
136
- "file": "chunk-NPTAWNEA.js"
137
- },
138
- "chunk-BHOBIW4J": {
139
- "file": "chunk-BHOBIW4J.js"
140
- },
141
- "chunk-MDNXVKSA": {
142
- "file": "chunk-MDNXVKSA.js"
143
- },
144
- "chunk-METQ356G": {
145
- "file": "chunk-METQ356G.js"
146
- },
147
- "chunk-E5X4SHYG": {
148
- "file": "chunk-E5X4SHYG.js"
149
- },
150
- "chunk-E44IQKDY": {
151
- "file": "chunk-E44IQKDY.js"
152
- },
153
- "chunk-LI6KBZ3D": {
154
- "file": "chunk-LI6KBZ3D.js"
155
- },
156
- "chunk-6G72RLJL": {
157
- "file": "chunk-6G72RLJL.js"
158
- },
159
- "chunk-G3PMV62Z": {
160
- "file": "chunk-G3PMV62Z.js"
161
- }
162
- }
163
- }