@mieweb/ui 0.10.0-dev.14 → 0.10.0-dev.15
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/{chunk-V43ZFGCE.cjs → chunk-5FU7LVZF.cjs} +9 -9
- package/dist/{chunk-V43ZFGCE.cjs.map → chunk-5FU7LVZF.cjs.map} +1 -1
- package/dist/{chunk-3YFJBUX4.js → chunk-CXEKSA7I.js} +3 -3
- package/dist/{chunk-3YFJBUX4.js.map → chunk-CXEKSA7I.js.map} +1 -1
- package/dist/{chunk-4A3W4TQF.js → chunk-DLRCAV4Z.js} +6 -2
- package/dist/chunk-DLRCAV4Z.js.map +1 -0
- package/dist/{chunk-AWJBOND5.js → chunk-LENW5YOC.js} +60 -3
- package/dist/chunk-LENW5YOC.js.map +1 -0
- package/dist/{chunk-YQ2NQV5C.cjs → chunk-PEUCQ2YP.cjs} +73 -15
- package/dist/chunk-PEUCQ2YP.cjs.map +1 -0
- package/dist/{chunk-ASSDGS4F.cjs → chunk-PSXTXFLM.cjs} +6 -2
- package/dist/chunk-PSXTXFLM.cjs.map +1 -0
- package/dist/{chunk-4CXGT3P7.js → chunk-QR7EG7YH.js} +73 -15
- package/dist/chunk-QR7EG7YH.js.map +1 -0
- package/dist/{chunk-AR7AKDM2.cjs → chunk-X2PPZJSL.cjs} +64 -2
- package/dist/chunk-X2PPZJSL.cjs.map +1 -0
- package/dist/components/SuperChat/index.cjs +3 -3
- package/dist/components/SuperChat/index.js +1 -1
- package/dist/components/SuperChat/plugins/index.cjs +3 -3
- package/dist/components/SuperChat/plugins/index.js +2 -2
- package/dist/hooks/index.cjs +33 -13
- package/dist/hooks/index.d.cts +57 -1
- package/dist/hooks/index.d.ts +57 -1
- package/dist/hooks/index.js +1 -1
- package/dist/index.cjs +88 -68
- package/dist/index.d.cts +67 -2
- package/dist/index.d.ts +67 -2
- package/dist/index.js +7 -7
- package/dist/styles.css +1 -1
- package/dist/tailwind-preset.cjs +4 -4
- package/dist/tailwind-preset.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-4A3W4TQF.js.map +0 -1
- package/dist/chunk-4CXGT3P7.js.map +0 -1
- package/dist/chunk-AR7AKDM2.cjs.map +0 -1
- package/dist/chunk-ASSDGS4F.cjs.map +0 -1
- package/dist/chunk-AWJBOND5.js.map +0 -1
- package/dist/chunk-YQ2NQV5C.cjs.map +0 -1
package/dist/hooks/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkX2PPZJSL_cjs = require('../chunk-X2PPZJSL.cjs');
|
|
4
4
|
var chunkIXFC7LK2_cjs = require('../chunk-IXFC7LK2.cjs');
|
|
5
5
|
var chunk2O7D6F67_cjs = require('../chunk-2O7D6F67.cjs');
|
|
6
6
|
var chunkVPTASZ2O_cjs = require('../chunk-VPTASZ2O.cjs');
|
|
@@ -20,53 +20,73 @@ require('../chunk-EUAMEVVI.cjs');
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
+
Object.defineProperty(exports, "KEYBOARD_INSET_VAR", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return chunkX2PPZJSL_cjs.KEYBOARD_INSET_VAR; }
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports, "KEYBOARD_OPEN_ATTRIBUTE", {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function () { return chunkX2PPZJSL_cjs.KEYBOARD_OPEN_ATTRIBUTE; }
|
|
30
|
+
});
|
|
23
31
|
Object.defineProperty(exports, "RTL_LOCALES", {
|
|
24
32
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkX2PPZJSL_cjs.RTL_LOCALES; }
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(exports, "VISUAL_VIEWPORT_HEIGHT_VAR", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () { return chunkX2PPZJSL_cjs.VISUAL_VIEWPORT_HEIGHT_VAR; }
|
|
38
|
+
});
|
|
39
|
+
Object.defineProperty(exports, "VISUAL_VIEWPORT_OFFSET_TOP_VAR", {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: function () { return chunkX2PPZJSL_cjs.VISUAL_VIEWPORT_OFFSET_TOP_VAR; }
|
|
26
42
|
});
|
|
27
43
|
Object.defineProperty(exports, "isRtlLocale", {
|
|
28
44
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkX2PPZJSL_cjs.isRtlLocale; }
|
|
30
46
|
});
|
|
31
47
|
Object.defineProperty(exports, "useCommandK", {
|
|
32
48
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkX2PPZJSL_cjs.useCommandK; }
|
|
34
50
|
});
|
|
35
51
|
Object.defineProperty(exports, "useDirection", {
|
|
36
52
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkX2PPZJSL_cjs.useDirection; }
|
|
38
54
|
});
|
|
39
55
|
Object.defineProperty(exports, "useIsDesktop", {
|
|
40
56
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkX2PPZJSL_cjs.useIsDesktop; }
|
|
42
58
|
});
|
|
43
59
|
Object.defineProperty(exports, "useIsLargeDesktop", {
|
|
44
60
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkX2PPZJSL_cjs.useIsLargeDesktop; }
|
|
46
62
|
});
|
|
47
63
|
Object.defineProperty(exports, "useIsMobile", {
|
|
48
64
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkX2PPZJSL_cjs.useIsMobile; }
|
|
50
66
|
});
|
|
51
67
|
Object.defineProperty(exports, "useIsMobileOrTablet", {
|
|
52
68
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkX2PPZJSL_cjs.useIsMobileOrTablet; }
|
|
54
70
|
});
|
|
55
71
|
Object.defineProperty(exports, "useIsSmallTablet", {
|
|
56
72
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkX2PPZJSL_cjs.useIsSmallTablet; }
|
|
58
74
|
});
|
|
59
75
|
Object.defineProperty(exports, "useIsTablet", {
|
|
60
76
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkX2PPZJSL_cjs.useIsTablet; }
|
|
78
|
+
});
|
|
79
|
+
Object.defineProperty(exports, "useKeyboardInset", {
|
|
80
|
+
enumerable: true,
|
|
81
|
+
get: function () { return chunkX2PPZJSL_cjs.useKeyboardInset; }
|
|
62
82
|
});
|
|
63
83
|
Object.defineProperty(exports, "useKeyboardShortcut", {
|
|
64
84
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkX2PPZJSL_cjs.useKeyboardShortcut; }
|
|
66
86
|
});
|
|
67
87
|
Object.defineProperty(exports, "useMediaQuery", {
|
|
68
88
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkX2PPZJSL_cjs.useMediaQuery; }
|
|
70
90
|
});
|
|
71
91
|
Object.defineProperty(exports, "useYouTubeHoverPreview", {
|
|
72
92
|
enumerable: true,
|
package/dist/hooks/index.d.cts
CHANGED
|
@@ -220,6 +220,62 @@ declare function useEscapeKey(callback: () => void, enabled?: boolean): void;
|
|
|
220
220
|
*/
|
|
221
221
|
declare function useFocusTrap<T extends HTMLElement>(enabled?: boolean): RefObject<T | null>;
|
|
222
222
|
|
|
223
|
+
/** CSS custom properties written to `<html>` while the hook is mounted. */
|
|
224
|
+
declare const KEYBOARD_INSET_VAR = "--mieweb-keyboard-inset";
|
|
225
|
+
declare const VISUAL_VIEWPORT_HEIGHT_VAR = "--mieweb-visual-viewport-height";
|
|
226
|
+
declare const VISUAL_VIEWPORT_OFFSET_TOP_VAR = "--mieweb-visual-viewport-offset-top";
|
|
227
|
+
/** Boolean attribute set on `<html>` while an on-screen keyboard is open. */
|
|
228
|
+
declare const KEYBOARD_OPEN_ATTRIBUTE = "data-keyboard-open";
|
|
229
|
+
interface KeyboardInsetState {
|
|
230
|
+
/** Pixels of the layout viewport covered by the on-screen keyboard. */
|
|
231
|
+
keyboardInset: number;
|
|
232
|
+
/** Whether an on-screen keyboard currently covers part of the page. */
|
|
233
|
+
isKeyboardOpen: boolean;
|
|
234
|
+
}
|
|
235
|
+
interface UseKeyboardInsetOptions {
|
|
236
|
+
/** Track the keyboard; `false` stops tracking and clears the CSS variables. @default true */
|
|
237
|
+
enabled?: boolean;
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* Tracks the on-screen keyboard via the Visual Viewport API.
|
|
241
|
+
*
|
|
242
|
+
* iOS Safari and WKWebView (Cordova) ignore
|
|
243
|
+
* `interactive-widget=resizes-content`, and `dvh` does not shrink for the
|
|
244
|
+
* keyboard: the page keeps its full height and iOS pans the visual viewport
|
|
245
|
+
* to reveal the focused input, pushing headers off-screen. This hook
|
|
246
|
+
* measures what is actually visible and publishes it on `<html>` so an app
|
|
247
|
+
* shell can follow the visible area instead:
|
|
248
|
+
*
|
|
249
|
+
* - `--mieweb-keyboard-inset` — keyboard height in px (0 when closed)
|
|
250
|
+
* - `--mieweb-visual-viewport-height` — visible height in px
|
|
251
|
+
* - `--mieweb-visual-viewport-offset-top` — how far iOS panned the page
|
|
252
|
+
* - `data-keyboard-open` — present while the keyboard is open
|
|
253
|
+
*
|
|
254
|
+
* On browsers that already resize the layout for the keyboard (Chrome on
|
|
255
|
+
* Android with `interactive-widget=resizes-content`) the inset stays 0 and
|
|
256
|
+
* the variables simply mirror the layout viewport.
|
|
257
|
+
*
|
|
258
|
+
* Mount it once, near the app root.
|
|
259
|
+
*
|
|
260
|
+
* @example
|
|
261
|
+
* ```tsx
|
|
262
|
+
* function AppShell({ children }) {
|
|
263
|
+
* useKeyboardInset();
|
|
264
|
+
* return (
|
|
265
|
+
* <div
|
|
266
|
+
* style={{
|
|
267
|
+
* height: 'var(--mieweb-visual-viewport-height, 100dvh)',
|
|
268
|
+
* transform: 'translateY(var(--mieweb-visual-viewport-offset-top, 0px))',
|
|
269
|
+
* }}
|
|
270
|
+
* >
|
|
271
|
+
* {children}
|
|
272
|
+
* </div>
|
|
273
|
+
* );
|
|
274
|
+
* }
|
|
275
|
+
* ```
|
|
276
|
+
*/
|
|
277
|
+
declare function useKeyboardInset(options?: UseKeyboardInsetOptions): KeyboardInsetState;
|
|
278
|
+
|
|
223
279
|
/**
|
|
224
280
|
* Options for keyboard shortcut hook
|
|
225
281
|
*/
|
|
@@ -896,4 +952,4 @@ interface UseTranscriptEditsResult {
|
|
|
896
952
|
*/
|
|
897
953
|
declare function useTranscriptEdits(options: UseTranscriptEditsOptions): UseTranscriptEditsResult;
|
|
898
954
|
|
|
899
|
-
export { type AnchoredPlacement, DEFAULT_FILLER_WORDS, DEFAULT_MIN_SILENCE_MS, DEFAULT_NL_SILENCE_MS, type Direction, type DragOverState, type FillerAnalysis, type HoverPreviewState, type KeyboardShortcutOptions, type MediaTransportState, RTL_LOCALES, type ResolvedTheme, type SilenceThresholdCount, type Theme, type TranscriptClipboard, type TranscriptEditStats, type UseAnchoredPositionOptions, type UseAnchoredPositionReturn, type UseDragReorderOptions, type UseDragReorderReturn, type UseMediaTransportOptions, type UseMediaTransportReturn, type UseScrollSpyOptions, type UseScrollSpyReturn, type UseStickToBottomOptions, type UseStickToBottomReturn, type UseTranscriptEditsOptions, type UseTranscriptEditsResult, type UseYouTubeHoverPreviewOptions, type UseYouTubeHoverPreviewReturn, buildPlaybackSegments, dragIndicatorClasses, getSpeedAtIndex, initEditableWords, insertSilences, isDarkMode, isRtlLocale, reorderIds, useAnchoredPosition, useClickOutside, useCommandK, useDirection, useDragReorder, useEscapeKey, useFocusTrap, useIsDarkMode, useIsDesktop, useIsLargeDesktop, useIsMobile, useIsMobileOrTablet, useIsSmallTablet, useIsTablet, useKeyboardShortcut, useLiveAnnouncement, useMediaQuery, useMediaTransport, usePrefersReducedMotion, useScrollSpy, useStickToBottom, useStreamEndedBelowFold, useTheme, useTranscriptEdits, useYouTubeHoverPreview };
|
|
955
|
+
export { type AnchoredPlacement, DEFAULT_FILLER_WORDS, DEFAULT_MIN_SILENCE_MS, DEFAULT_NL_SILENCE_MS, type Direction, type DragOverState, type FillerAnalysis, type HoverPreviewState, KEYBOARD_INSET_VAR, KEYBOARD_OPEN_ATTRIBUTE, type KeyboardInsetState, type KeyboardShortcutOptions, type MediaTransportState, RTL_LOCALES, type ResolvedTheme, type SilenceThresholdCount, type Theme, type TranscriptClipboard, type TranscriptEditStats, type UseAnchoredPositionOptions, type UseAnchoredPositionReturn, type UseDragReorderOptions, type UseDragReorderReturn, type UseKeyboardInsetOptions, type UseMediaTransportOptions, type UseMediaTransportReturn, type UseScrollSpyOptions, type UseScrollSpyReturn, type UseStickToBottomOptions, type UseStickToBottomReturn, type UseTranscriptEditsOptions, type UseTranscriptEditsResult, type UseYouTubeHoverPreviewOptions, type UseYouTubeHoverPreviewReturn, VISUAL_VIEWPORT_HEIGHT_VAR, VISUAL_VIEWPORT_OFFSET_TOP_VAR, buildPlaybackSegments, dragIndicatorClasses, getSpeedAtIndex, initEditableWords, insertSilences, isDarkMode, isRtlLocale, reorderIds, useAnchoredPosition, useClickOutside, useCommandK, useDirection, useDragReorder, useEscapeKey, useFocusTrap, useIsDarkMode, useIsDesktop, useIsLargeDesktop, useIsMobile, useIsMobileOrTablet, useIsSmallTablet, useIsTablet, useKeyboardInset, useKeyboardShortcut, useLiveAnnouncement, useMediaQuery, useMediaTransport, usePrefersReducedMotion, useScrollSpy, useStickToBottom, useStreamEndedBelowFold, useTheme, useTranscriptEdits, useYouTubeHoverPreview };
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -220,6 +220,62 @@ declare function useEscapeKey(callback: () => void, enabled?: boolean): void;
|
|
|
220
220
|
*/
|
|
221
221
|
declare function useFocusTrap<T extends HTMLElement>(enabled?: boolean): RefObject<T | null>;
|
|
222
222
|
|
|
223
|
+
/** CSS custom properties written to `<html>` while the hook is mounted. */
|
|
224
|
+
declare const KEYBOARD_INSET_VAR = "--mieweb-keyboard-inset";
|
|
225
|
+
declare const VISUAL_VIEWPORT_HEIGHT_VAR = "--mieweb-visual-viewport-height";
|
|
226
|
+
declare const VISUAL_VIEWPORT_OFFSET_TOP_VAR = "--mieweb-visual-viewport-offset-top";
|
|
227
|
+
/** Boolean attribute set on `<html>` while an on-screen keyboard is open. */
|
|
228
|
+
declare const KEYBOARD_OPEN_ATTRIBUTE = "data-keyboard-open";
|
|
229
|
+
interface KeyboardInsetState {
|
|
230
|
+
/** Pixels of the layout viewport covered by the on-screen keyboard. */
|
|
231
|
+
keyboardInset: number;
|
|
232
|
+
/** Whether an on-screen keyboard currently covers part of the page. */
|
|
233
|
+
isKeyboardOpen: boolean;
|
|
234
|
+
}
|
|
235
|
+
interface UseKeyboardInsetOptions {
|
|
236
|
+
/** Track the keyboard; `false` stops tracking and clears the CSS variables. @default true */
|
|
237
|
+
enabled?: boolean;
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* Tracks the on-screen keyboard via the Visual Viewport API.
|
|
241
|
+
*
|
|
242
|
+
* iOS Safari and WKWebView (Cordova) ignore
|
|
243
|
+
* `interactive-widget=resizes-content`, and `dvh` does not shrink for the
|
|
244
|
+
* keyboard: the page keeps its full height and iOS pans the visual viewport
|
|
245
|
+
* to reveal the focused input, pushing headers off-screen. This hook
|
|
246
|
+
* measures what is actually visible and publishes it on `<html>` so an app
|
|
247
|
+
* shell can follow the visible area instead:
|
|
248
|
+
*
|
|
249
|
+
* - `--mieweb-keyboard-inset` — keyboard height in px (0 when closed)
|
|
250
|
+
* - `--mieweb-visual-viewport-height` — visible height in px
|
|
251
|
+
* - `--mieweb-visual-viewport-offset-top` — how far iOS panned the page
|
|
252
|
+
* - `data-keyboard-open` — present while the keyboard is open
|
|
253
|
+
*
|
|
254
|
+
* On browsers that already resize the layout for the keyboard (Chrome on
|
|
255
|
+
* Android with `interactive-widget=resizes-content`) the inset stays 0 and
|
|
256
|
+
* the variables simply mirror the layout viewport.
|
|
257
|
+
*
|
|
258
|
+
* Mount it once, near the app root.
|
|
259
|
+
*
|
|
260
|
+
* @example
|
|
261
|
+
* ```tsx
|
|
262
|
+
* function AppShell({ children }) {
|
|
263
|
+
* useKeyboardInset();
|
|
264
|
+
* return (
|
|
265
|
+
* <div
|
|
266
|
+
* style={{
|
|
267
|
+
* height: 'var(--mieweb-visual-viewport-height, 100dvh)',
|
|
268
|
+
* transform: 'translateY(var(--mieweb-visual-viewport-offset-top, 0px))',
|
|
269
|
+
* }}
|
|
270
|
+
* >
|
|
271
|
+
* {children}
|
|
272
|
+
* </div>
|
|
273
|
+
* );
|
|
274
|
+
* }
|
|
275
|
+
* ```
|
|
276
|
+
*/
|
|
277
|
+
declare function useKeyboardInset(options?: UseKeyboardInsetOptions): KeyboardInsetState;
|
|
278
|
+
|
|
223
279
|
/**
|
|
224
280
|
* Options for keyboard shortcut hook
|
|
225
281
|
*/
|
|
@@ -896,4 +952,4 @@ interface UseTranscriptEditsResult {
|
|
|
896
952
|
*/
|
|
897
953
|
declare function useTranscriptEdits(options: UseTranscriptEditsOptions): UseTranscriptEditsResult;
|
|
898
954
|
|
|
899
|
-
export { type AnchoredPlacement, DEFAULT_FILLER_WORDS, DEFAULT_MIN_SILENCE_MS, DEFAULT_NL_SILENCE_MS, type Direction, type DragOverState, type FillerAnalysis, type HoverPreviewState, type KeyboardShortcutOptions, type MediaTransportState, RTL_LOCALES, type ResolvedTheme, type SilenceThresholdCount, type Theme, type TranscriptClipboard, type TranscriptEditStats, type UseAnchoredPositionOptions, type UseAnchoredPositionReturn, type UseDragReorderOptions, type UseDragReorderReturn, type UseMediaTransportOptions, type UseMediaTransportReturn, type UseScrollSpyOptions, type UseScrollSpyReturn, type UseStickToBottomOptions, type UseStickToBottomReturn, type UseTranscriptEditsOptions, type UseTranscriptEditsResult, type UseYouTubeHoverPreviewOptions, type UseYouTubeHoverPreviewReturn, buildPlaybackSegments, dragIndicatorClasses, getSpeedAtIndex, initEditableWords, insertSilences, isDarkMode, isRtlLocale, reorderIds, useAnchoredPosition, useClickOutside, useCommandK, useDirection, useDragReorder, useEscapeKey, useFocusTrap, useIsDarkMode, useIsDesktop, useIsLargeDesktop, useIsMobile, useIsMobileOrTablet, useIsSmallTablet, useIsTablet, useKeyboardShortcut, useLiveAnnouncement, useMediaQuery, useMediaTransport, usePrefersReducedMotion, useScrollSpy, useStickToBottom, useStreamEndedBelowFold, useTheme, useTranscriptEdits, useYouTubeHoverPreview };
|
|
955
|
+
export { type AnchoredPlacement, DEFAULT_FILLER_WORDS, DEFAULT_MIN_SILENCE_MS, DEFAULT_NL_SILENCE_MS, type Direction, type DragOverState, type FillerAnalysis, type HoverPreviewState, KEYBOARD_INSET_VAR, KEYBOARD_OPEN_ATTRIBUTE, type KeyboardInsetState, type KeyboardShortcutOptions, type MediaTransportState, RTL_LOCALES, type ResolvedTheme, type SilenceThresholdCount, type Theme, type TranscriptClipboard, type TranscriptEditStats, type UseAnchoredPositionOptions, type UseAnchoredPositionReturn, type UseDragReorderOptions, type UseDragReorderReturn, type UseKeyboardInsetOptions, type UseMediaTransportOptions, type UseMediaTransportReturn, type UseScrollSpyOptions, type UseScrollSpyReturn, type UseStickToBottomOptions, type UseStickToBottomReturn, type UseTranscriptEditsOptions, type UseTranscriptEditsResult, type UseYouTubeHoverPreviewOptions, type UseYouTubeHoverPreviewReturn, VISUAL_VIEWPORT_HEIGHT_VAR, VISUAL_VIEWPORT_OFFSET_TOP_VAR, buildPlaybackSegments, dragIndicatorClasses, getSpeedAtIndex, initEditableWords, insertSilences, isDarkMode, isRtlLocale, reorderIds, useAnchoredPosition, useClickOutside, useCommandK, useDirection, useDragReorder, useEscapeKey, useFocusTrap, useIsDarkMode, useIsDesktop, useIsLargeDesktop, useIsMobile, useIsMobileOrTablet, useIsSmallTablet, useIsTablet, useKeyboardInset, useKeyboardShortcut, useLiveAnnouncement, useMediaQuery, useMediaTransport, usePrefersReducedMotion, useScrollSpy, useStickToBottom, useStreamEndedBelowFold, useTheme, useTranscriptEdits, useYouTubeHoverPreview };
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { RTL_LOCALES, isRtlLocale, useCommandK, useDirection, useIsDesktop, useIsLargeDesktop, useIsMobile, useIsMobileOrTablet, useIsSmallTablet, useIsTablet, useKeyboardShortcut, useMediaQuery } from '../chunk-
|
|
1
|
+
export { KEYBOARD_INSET_VAR, KEYBOARD_OPEN_ATTRIBUTE, RTL_LOCALES, VISUAL_VIEWPORT_HEIGHT_VAR, VISUAL_VIEWPORT_OFFSET_TOP_VAR, isRtlLocale, useCommandK, useDirection, useIsDesktop, useIsLargeDesktop, useIsMobile, useIsMobileOrTablet, useIsSmallTablet, useIsTablet, useKeyboardInset, useKeyboardShortcut, useMediaQuery } from '../chunk-LENW5YOC.js';
|
|
2
2
|
export { useYouTubeHoverPreview } from '../chunk-POWS35OT.js';
|
|
3
3
|
export { useTheme } from '../chunk-KJZNEVYM.js';
|
|
4
4
|
export { useStickToBottom, useStreamEndedBelowFold } from '../chunk-BM35CACB.js';
|
package/dist/index.cjs
CHANGED
|
@@ -27,8 +27,8 @@ var chunkYGA35Z2P_cjs = require('./chunk-YGA35Z2P.cjs');
|
|
|
27
27
|
var chunk2G75X6TS_cjs = require('./chunk-2G75X6TS.cjs');
|
|
28
28
|
var chunk7RV6CAP6_cjs = require('./chunk-7RV6CAP6.cjs');
|
|
29
29
|
var chunkMYHV2ND3_cjs = require('./chunk-MYHV2ND3.cjs');
|
|
30
|
-
var
|
|
31
|
-
var
|
|
30
|
+
var chunk5FU7LVZF_cjs = require('./chunk-5FU7LVZF.cjs');
|
|
31
|
+
var chunkPEUCQ2YP_cjs = require('./chunk-PEUCQ2YP.cjs');
|
|
32
32
|
var chunkJTSKPDPH_cjs = require('./chunk-JTSKPDPH.cjs');
|
|
33
33
|
var chunkGD7EBGC4_cjs = require('./chunk-GD7EBGC4.cjs');
|
|
34
34
|
var chunk3SZQRMHM_cjs = require('./chunk-3SZQRMHM.cjs');
|
|
@@ -80,7 +80,7 @@ require('./chunk-RHNPILZQ.cjs');
|
|
|
80
80
|
var chunkURAQIF67_cjs = require('./chunk-URAQIF67.cjs');
|
|
81
81
|
var chunk4NCDU5IG_cjs = require('./chunk-4NCDU5IG.cjs');
|
|
82
82
|
var chunkXXVUHLQN_cjs = require('./chunk-XXVUHLQN.cjs');
|
|
83
|
-
var
|
|
83
|
+
var chunkX2PPZJSL_cjs = require('./chunk-X2PPZJSL.cjs');
|
|
84
84
|
var chunkIXFC7LK2_cjs = require('./chunk-IXFC7LK2.cjs');
|
|
85
85
|
var chunk2O7D6F67_cjs = require('./chunk-2O7D6F67.cjs');
|
|
86
86
|
var chunkVPTASZ2O_cjs = require('./chunk-VPTASZ2O.cjs');
|
|
@@ -91,7 +91,7 @@ var chunkJYZW2PZS_cjs = require('./chunk-JYZW2PZS.cjs');
|
|
|
91
91
|
require('./chunk-AT732HC6.cjs');
|
|
92
92
|
var chunkC7RVKV25_cjs = require('./chunk-C7RVKV25.cjs');
|
|
93
93
|
var chunkL7YQBSEL_cjs = require('./chunk-L7YQBSEL.cjs');
|
|
94
|
-
var
|
|
94
|
+
var chunkPSXTXFLM_cjs = require('./chunk-PSXTXFLM.cjs');
|
|
95
95
|
var chunkVROIMIHB_cjs = require('./chunk-VROIMIHB.cjs');
|
|
96
96
|
var chunkNYJIXR4Y_cjs = require('./chunk-NYJIXR4Y.cjs');
|
|
97
97
|
var chunkE4IBHYJ7_cjs = require('./chunk-E4IBHYJ7.cjs');
|
|
@@ -1429,7 +1429,7 @@ function AIEmptyState({
|
|
|
1429
1429
|
/* @__PURE__ */ jsxRuntime.jsx(SuggestedActions, { actions: suggestions, onSelect: onSuggestionSelect })
|
|
1430
1430
|
] }) : void 0;
|
|
1431
1431
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1432
|
-
|
|
1432
|
+
chunk5FU7LVZF_cjs.EmptyState,
|
|
1433
1433
|
{
|
|
1434
1434
|
title,
|
|
1435
1435
|
description,
|
|
@@ -1490,7 +1490,7 @@ function AIChat({
|
|
|
1490
1490
|
renderMessageFooter
|
|
1491
1491
|
}) {
|
|
1492
1492
|
React13__namespace.useEffect(() => {
|
|
1493
|
-
|
|
1493
|
+
chunkPEUCQ2YP_cjs.notifyComposerMigrationOnce("AIChat");
|
|
1494
1494
|
}, []);
|
|
1495
1495
|
const messages = React13__namespace.useMemo(
|
|
1496
1496
|
() => session?.messages || messagesProp || [],
|
|
@@ -1626,7 +1626,7 @@ function AIChat({
|
|
|
1626
1626
|
},
|
|
1627
1627
|
[isHostControlled, hostOnValueChange]
|
|
1628
1628
|
);
|
|
1629
|
-
const { stopTyping } =
|
|
1629
|
+
const { stopTyping } = chunk5FU7LVZF_cjs.useTypingEmulation({
|
|
1630
1630
|
value: composerValue,
|
|
1631
1631
|
onTypingStart,
|
|
1632
1632
|
onTypingStop
|
|
@@ -1793,7 +1793,7 @@ function AIChat({
|
|
|
1793
1793
|
}
|
|
1794
1794
|
) }),
|
|
1795
1795
|
/* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "ai-chat-composer", className: "p-3", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1796
|
-
|
|
1796
|
+
chunkPEUCQ2YP_cjs.ChatComposer,
|
|
1797
1797
|
{
|
|
1798
1798
|
onSend: hostOnSend ? (message) => sendWithRestore(message, hostOnSend) : handleSend,
|
|
1799
1799
|
placeholder: inputPlaceholder,
|
|
@@ -1815,8 +1815,8 @@ function AIChat({
|
|
|
1815
1815
|
allowAttachments: composerRest.allowAttachments ?? legacyAttachments,
|
|
1816
1816
|
maxLength: composerRest.maxLength ?? 1600,
|
|
1817
1817
|
inputLabel: composerRest.inputLabel ?? "Message",
|
|
1818
|
-
acceptedFileTypes: composerRest.acceptedFileTypes ?? (legacyAttachments ?
|
|
1819
|
-
maxFileSize: composerRest.maxFileSize ?? (legacyAttachments ?
|
|
1818
|
+
acceptedFileTypes: composerRest.acceptedFileTypes ?? (legacyAttachments ? chunkPEUCQ2YP_cjs.DEFAULT_ACCEPTED_FILE_TYPES : void 0),
|
|
1819
|
+
maxFileSize: composerRest.maxFileSize ?? (legacyAttachments ? chunkPEUCQ2YP_cjs.DEFAULT_MAX_FILE_SIZE : void 0),
|
|
1820
1820
|
value: composerValue,
|
|
1821
1821
|
onValueChange: handleComposerValueChange
|
|
1822
1822
|
}
|
|
@@ -2137,7 +2137,7 @@ function ToastContainer({
|
|
|
2137
2137
|
}) {
|
|
2138
2138
|
const context = useOptionalToast();
|
|
2139
2139
|
const containerRef = React13__namespace.default.useRef(null);
|
|
2140
|
-
const isRtl =
|
|
2140
|
+
const isRtl = chunkX2PPZJSL_cjs.useDirection(containerRef) === "rtl";
|
|
2141
2141
|
const resolvedPosition = position ?? context?.position ?? "bottom-end";
|
|
2142
2142
|
const edge = toastEdge(resolvedPosition, isRtl);
|
|
2143
2143
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -13347,7 +13347,7 @@ function CommandPaletteProvider({
|
|
|
13347
13347
|
open();
|
|
13348
13348
|
}
|
|
13349
13349
|
}, [isOpen, open, close]);
|
|
13350
|
-
|
|
13350
|
+
chunkX2PPZJSL_cjs.useCommandK(toggle, enableShortcut);
|
|
13351
13351
|
React13__namespace.default.useEffect(() => {
|
|
13352
13352
|
if (!customEventName) return;
|
|
13353
13353
|
const handler = () => open();
|
|
@@ -18406,7 +18406,7 @@ function DocumentScanner({
|
|
|
18406
18406
|
const [error, setError] = React13__namespace.useState(null);
|
|
18407
18407
|
const [isWebcamOpen, setIsWebcamOpen] = React13__namespace.useState(false);
|
|
18408
18408
|
const [validationErrors, setValidationErrors] = React13__namespace.useState([]);
|
|
18409
|
-
const isMobile =
|
|
18409
|
+
const isMobile = chunkX2PPZJSL_cjs.useIsMobile();
|
|
18410
18410
|
const cameraInputRef = React13__namespace.useRef(null);
|
|
18411
18411
|
const {
|
|
18412
18412
|
files,
|
|
@@ -40492,7 +40492,7 @@ function SidebarProvider({
|
|
|
40492
40492
|
defaultExpandedGroup = null,
|
|
40493
40493
|
mobileBreakpoint = "(max-width: 1023px)"
|
|
40494
40494
|
}) {
|
|
40495
|
-
const isMobileViewport =
|
|
40495
|
+
const isMobileViewport = chunkX2PPZJSL_cjs.useMediaQuery(mobileBreakpoint);
|
|
40496
40496
|
const [isCollapsed, setIsCollapsed] = React13.useState(() => {
|
|
40497
40497
|
if (typeof window !== "undefined" && persistCollapsed) {
|
|
40498
40498
|
const stored = localStorage.getItem(storageKey);
|
|
@@ -40673,7 +40673,7 @@ function Sidebar({
|
|
|
40673
40673
|
}) {
|
|
40674
40674
|
const { isCollapsed, isMobileOpen, closeMobile, isMobileViewport } = useSidebar();
|
|
40675
40675
|
const navRef = React13.useRef(null);
|
|
40676
|
-
const isRtl =
|
|
40676
|
+
const isRtl = chunkX2PPZJSL_cjs.useDirection(navRef) === "rtl";
|
|
40677
40677
|
const width = isMobileViewport ? expandedWidth : isCollapsed ? collapsedWidth : expandedWidth;
|
|
40678
40678
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
40679
40679
|
isMobileViewport && /* @__PURE__ */ jsxRuntime.jsx(chunkNV2CWBI2_cjs.AnimatedPresence, { children: isMobileOpen && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -44821,159 +44821,159 @@ Object.defineProperty(exports, "getToolIcon", {
|
|
|
44821
44821
|
});
|
|
44822
44822
|
Object.defineProperty(exports, "AttachmentPreview", {
|
|
44823
44823
|
enumerable: true,
|
|
44824
|
-
get: function () { return
|
|
44824
|
+
get: function () { return chunk5FU7LVZF_cjs.AttachmentPreview; }
|
|
44825
44825
|
});
|
|
44826
44826
|
Object.defineProperty(exports, "ConversationHeader", {
|
|
44827
44827
|
enumerable: true,
|
|
44828
|
-
get: function () { return
|
|
44828
|
+
get: function () { return chunk5FU7LVZF_cjs.ConversationHeader; }
|
|
44829
44829
|
});
|
|
44830
44830
|
Object.defineProperty(exports, "ConversationListItem", {
|
|
44831
44831
|
enumerable: true,
|
|
44832
|
-
get: function () { return
|
|
44832
|
+
get: function () { return chunk5FU7LVZF_cjs.ConversationListItem; }
|
|
44833
44833
|
});
|
|
44834
44834
|
Object.defineProperty(exports, "ConversationListSkeleton", {
|
|
44835
44835
|
enumerable: true,
|
|
44836
|
-
get: function () { return
|
|
44836
|
+
get: function () { return chunk5FU7LVZF_cjs.ConversationListSkeleton; }
|
|
44837
44837
|
});
|
|
44838
44838
|
Object.defineProperty(exports, "DateSeparator", {
|
|
44839
44839
|
enumerable: true,
|
|
44840
|
-
get: function () { return
|
|
44840
|
+
get: function () { return chunk5FU7LVZF_cjs.DateSeparator; }
|
|
44841
44841
|
});
|
|
44842
44842
|
Object.defineProperty(exports, "EmptyState", {
|
|
44843
44843
|
enumerable: true,
|
|
44844
|
-
get: function () { return
|
|
44844
|
+
get: function () { return chunk5FU7LVZF_cjs.EmptyState; }
|
|
44845
44845
|
});
|
|
44846
44846
|
Object.defineProperty(exports, "LightboxModal", {
|
|
44847
44847
|
enumerable: true,
|
|
44848
|
-
get: function () { return
|
|
44848
|
+
get: function () { return chunk5FU7LVZF_cjs.LightboxModal; }
|
|
44849
44849
|
});
|
|
44850
44850
|
Object.defineProperty(exports, "LoadMoreButton", {
|
|
44851
44851
|
enumerable: true,
|
|
44852
|
-
get: function () { return
|
|
44852
|
+
get: function () { return chunk5FU7LVZF_cjs.LoadMoreButton; }
|
|
44853
44853
|
});
|
|
44854
44854
|
Object.defineProperty(exports, "MessageBubble", {
|
|
44855
44855
|
enumerable: true,
|
|
44856
|
-
get: function () { return
|
|
44856
|
+
get: function () { return chunk5FU7LVZF_cjs.MessageBubble; }
|
|
44857
44857
|
});
|
|
44858
44858
|
Object.defineProperty(exports, "MessageList", {
|
|
44859
44859
|
enumerable: true,
|
|
44860
|
-
get: function () { return
|
|
44860
|
+
get: function () { return chunk5FU7LVZF_cjs.MessageList; }
|
|
44861
44861
|
});
|
|
44862
44862
|
Object.defineProperty(exports, "MessageStatusIcon", {
|
|
44863
44863
|
enumerable: true,
|
|
44864
|
-
get: function () { return
|
|
44864
|
+
get: function () { return chunk5FU7LVZF_cjs.MessageStatusIcon; }
|
|
44865
44865
|
});
|
|
44866
44866
|
Object.defineProperty(exports, "MessageThread", {
|
|
44867
44867
|
enumerable: true,
|
|
44868
|
-
get: function () { return
|
|
44868
|
+
get: function () { return chunk5FU7LVZF_cjs.MessageThread; }
|
|
44869
44869
|
});
|
|
44870
44870
|
Object.defineProperty(exports, "MessagingSplitView", {
|
|
44871
44871
|
enumerable: true,
|
|
44872
|
-
get: function () { return
|
|
44872
|
+
get: function () { return chunk5FU7LVZF_cjs.MessagingSplitView; }
|
|
44873
44873
|
});
|
|
44874
44874
|
Object.defineProperty(exports, "ReadReceiptIndicator", {
|
|
44875
44875
|
enumerable: true,
|
|
44876
|
-
get: function () { return
|
|
44876
|
+
get: function () { return chunk5FU7LVZF_cjs.ReadReceiptIndicator; }
|
|
44877
44877
|
});
|
|
44878
44878
|
Object.defineProperty(exports, "SkeletonMessage", {
|
|
44879
44879
|
enumerable: true,
|
|
44880
|
-
get: function () { return
|
|
44880
|
+
get: function () { return chunk5FU7LVZF_cjs.SkeletonMessage; }
|
|
44881
44881
|
});
|
|
44882
44882
|
Object.defineProperty(exports, "TypingIndicator", {
|
|
44883
44883
|
enumerable: true,
|
|
44884
|
-
get: function () { return
|
|
44884
|
+
get: function () { return chunk5FU7LVZF_cjs.TypingIndicator; }
|
|
44885
44885
|
});
|
|
44886
44886
|
Object.defineProperty(exports, "bubbleVariants", {
|
|
44887
44887
|
enumerable: true,
|
|
44888
|
-
get: function () { return
|
|
44888
|
+
get: function () { return chunk5FU7LVZF_cjs.bubbleVariants; }
|
|
44889
44889
|
});
|
|
44890
44890
|
Object.defineProperty(exports, "formatDateLabel", {
|
|
44891
44891
|
enumerable: true,
|
|
44892
|
-
get: function () { return
|
|
44892
|
+
get: function () { return chunk5FU7LVZF_cjs.formatDateLabel; }
|
|
44893
44893
|
});
|
|
44894
44894
|
Object.defineProperty(exports, "formatFileSize", {
|
|
44895
44895
|
enumerable: true,
|
|
44896
|
-
get: function () { return
|
|
44896
|
+
get: function () { return chunk5FU7LVZF_cjs.formatFileSize; }
|
|
44897
44897
|
});
|
|
44898
44898
|
Object.defineProperty(exports, "formatLastSeen", {
|
|
44899
44899
|
enumerable: true,
|
|
44900
|
-
get: function () { return
|
|
44900
|
+
get: function () { return chunk5FU7LVZF_cjs.formatLastSeen; }
|
|
44901
44901
|
});
|
|
44902
44902
|
Object.defineProperty(exports, "getConversationSubtitle", {
|
|
44903
44903
|
enumerable: true,
|
|
44904
|
-
get: function () { return
|
|
44904
|
+
get: function () { return chunk5FU7LVZF_cjs.getConversationSubtitle; }
|
|
44905
44905
|
});
|
|
44906
44906
|
Object.defineProperty(exports, "getConversationTitle", {
|
|
44907
44907
|
enumerable: true,
|
|
44908
|
-
get: function () { return
|
|
44908
|
+
get: function () { return chunk5FU7LVZF_cjs.getConversationTitle; }
|
|
44909
44909
|
});
|
|
44910
44910
|
Object.defineProperty(exports, "groupMessagesByDate", {
|
|
44911
44911
|
enumerable: true,
|
|
44912
|
-
get: function () { return
|
|
44912
|
+
get: function () { return chunk5FU7LVZF_cjs.groupMessagesByDate; }
|
|
44913
44913
|
});
|
|
44914
44914
|
Object.defineProperty(exports, "headerVariants", {
|
|
44915
44915
|
enumerable: true,
|
|
44916
|
-
get: function () { return
|
|
44916
|
+
get: function () { return chunk5FU7LVZF_cjs.headerVariants; }
|
|
44917
44917
|
});
|
|
44918
44918
|
Object.defineProperty(exports, "isSameSenderGroup", {
|
|
44919
44919
|
enumerable: true,
|
|
44920
|
-
get: function () { return
|
|
44920
|
+
get: function () { return chunk5FU7LVZF_cjs.isSameSenderGroup; }
|
|
44921
44921
|
});
|
|
44922
44922
|
Object.defineProperty(exports, "useMessageScroll", {
|
|
44923
44923
|
enumerable: true,
|
|
44924
|
-
get: function () { return
|
|
44924
|
+
get: function () { return chunk5FU7LVZF_cjs.useMessageScroll; }
|
|
44925
44925
|
});
|
|
44926
44926
|
Object.defineProperty(exports, "useMessages", {
|
|
44927
44927
|
enumerable: true,
|
|
44928
|
-
get: function () { return
|
|
44928
|
+
get: function () { return chunk5FU7LVZF_cjs.useMessages; }
|
|
44929
44929
|
});
|
|
44930
44930
|
Object.defineProperty(exports, "useReadReceipts", {
|
|
44931
44931
|
enumerable: true,
|
|
44932
|
-
get: function () { return
|
|
44932
|
+
get: function () { return chunk5FU7LVZF_cjs.useReadReceipts; }
|
|
44933
44933
|
});
|
|
44934
44934
|
Object.defineProperty(exports, "useTypingEmulation", {
|
|
44935
44935
|
enumerable: true,
|
|
44936
|
-
get: function () { return
|
|
44936
|
+
get: function () { return chunk5FU7LVZF_cjs.useTypingEmulation; }
|
|
44937
44937
|
});
|
|
44938
44938
|
Object.defineProperty(exports, "useTypingIndicator", {
|
|
44939
44939
|
enumerable: true,
|
|
44940
|
-
get: function () { return
|
|
44940
|
+
get: function () { return chunk5FU7LVZF_cjs.useTypingIndicator; }
|
|
44941
44941
|
});
|
|
44942
44942
|
Object.defineProperty(exports, "AttachmentPicker", {
|
|
44943
44943
|
enumerable: true,
|
|
44944
|
-
get: function () { return
|
|
44944
|
+
get: function () { return chunkPEUCQ2YP_cjs.AttachmentPicker; }
|
|
44945
44945
|
});
|
|
44946
44946
|
Object.defineProperty(exports, "AttachmentPreviewItem", {
|
|
44947
44947
|
enumerable: true,
|
|
44948
|
-
get: function () { return
|
|
44948
|
+
get: function () { return chunkPEUCQ2YP_cjs.AttachmentPreviewItem; }
|
|
44949
44949
|
});
|
|
44950
44950
|
Object.defineProperty(exports, "CameraButton", {
|
|
44951
44951
|
enumerable: true,
|
|
44952
|
-
get: function () { return
|
|
44952
|
+
get: function () { return chunkPEUCQ2YP_cjs.CameraButton; }
|
|
44953
44953
|
});
|
|
44954
44954
|
Object.defineProperty(exports, "ChatComposer", {
|
|
44955
44955
|
enumerable: true,
|
|
44956
|
-
get: function () { return
|
|
44956
|
+
get: function () { return chunkPEUCQ2YP_cjs.ChatComposer; }
|
|
44957
44957
|
});
|
|
44958
44958
|
Object.defineProperty(exports, "ComposerModelSelector", {
|
|
44959
44959
|
enumerable: true,
|
|
44960
|
-
get: function () { return
|
|
44960
|
+
get: function () { return chunkPEUCQ2YP_cjs.ComposerModelSelector; }
|
|
44961
44961
|
});
|
|
44962
44962
|
Object.defineProperty(exports, "DragDropZone", {
|
|
44963
44963
|
enumerable: true,
|
|
44964
|
-
get: function () { return
|
|
44964
|
+
get: function () { return chunkPEUCQ2YP_cjs.DragDropZone; }
|
|
44965
44965
|
});
|
|
44966
44966
|
Object.defineProperty(exports, "generateAttachmentId", {
|
|
44967
44967
|
enumerable: true,
|
|
44968
|
-
get: function () { return
|
|
44968
|
+
get: function () { return chunkPEUCQ2YP_cjs.generateAttachmentId; }
|
|
44969
44969
|
});
|
|
44970
44970
|
Object.defineProperty(exports, "getFileType", {
|
|
44971
44971
|
enumerable: true,
|
|
44972
|
-
get: function () { return
|
|
44972
|
+
get: function () { return chunkPEUCQ2YP_cjs.getFileType; }
|
|
44973
44973
|
});
|
|
44974
44974
|
Object.defineProperty(exports, "validateFile", {
|
|
44975
44975
|
enumerable: true,
|
|
44976
|
-
get: function () { return
|
|
44976
|
+
get: function () { return chunkPEUCQ2YP_cjs.validateFile; }
|
|
44977
44977
|
});
|
|
44978
44978
|
Object.defineProperty(exports, "RecordButton", {
|
|
44979
44979
|
enumerable: true,
|
|
@@ -45523,53 +45523,73 @@ Object.defineProperty(exports, "spinnerVariants", {
|
|
|
45523
45523
|
enumerable: true,
|
|
45524
45524
|
get: function () { return chunkXXVUHLQN_cjs.spinnerVariants; }
|
|
45525
45525
|
});
|
|
45526
|
+
Object.defineProperty(exports, "KEYBOARD_INSET_VAR", {
|
|
45527
|
+
enumerable: true,
|
|
45528
|
+
get: function () { return chunkX2PPZJSL_cjs.KEYBOARD_INSET_VAR; }
|
|
45529
|
+
});
|
|
45530
|
+
Object.defineProperty(exports, "KEYBOARD_OPEN_ATTRIBUTE", {
|
|
45531
|
+
enumerable: true,
|
|
45532
|
+
get: function () { return chunkX2PPZJSL_cjs.KEYBOARD_OPEN_ATTRIBUTE; }
|
|
45533
|
+
});
|
|
45526
45534
|
Object.defineProperty(exports, "RTL_LOCALES", {
|
|
45527
45535
|
enumerable: true,
|
|
45528
|
-
get: function () { return
|
|
45536
|
+
get: function () { return chunkX2PPZJSL_cjs.RTL_LOCALES; }
|
|
45537
|
+
});
|
|
45538
|
+
Object.defineProperty(exports, "VISUAL_VIEWPORT_HEIGHT_VAR", {
|
|
45539
|
+
enumerable: true,
|
|
45540
|
+
get: function () { return chunkX2PPZJSL_cjs.VISUAL_VIEWPORT_HEIGHT_VAR; }
|
|
45541
|
+
});
|
|
45542
|
+
Object.defineProperty(exports, "VISUAL_VIEWPORT_OFFSET_TOP_VAR", {
|
|
45543
|
+
enumerable: true,
|
|
45544
|
+
get: function () { return chunkX2PPZJSL_cjs.VISUAL_VIEWPORT_OFFSET_TOP_VAR; }
|
|
45529
45545
|
});
|
|
45530
45546
|
Object.defineProperty(exports, "isRtlLocale", {
|
|
45531
45547
|
enumerable: true,
|
|
45532
|
-
get: function () { return
|
|
45548
|
+
get: function () { return chunkX2PPZJSL_cjs.isRtlLocale; }
|
|
45533
45549
|
});
|
|
45534
45550
|
Object.defineProperty(exports, "useCommandK", {
|
|
45535
45551
|
enumerable: true,
|
|
45536
|
-
get: function () { return
|
|
45552
|
+
get: function () { return chunkX2PPZJSL_cjs.useCommandK; }
|
|
45537
45553
|
});
|
|
45538
45554
|
Object.defineProperty(exports, "useDirection", {
|
|
45539
45555
|
enumerable: true,
|
|
45540
|
-
get: function () { return
|
|
45556
|
+
get: function () { return chunkX2PPZJSL_cjs.useDirection; }
|
|
45541
45557
|
});
|
|
45542
45558
|
Object.defineProperty(exports, "useIsDesktop", {
|
|
45543
45559
|
enumerable: true,
|
|
45544
|
-
get: function () { return
|
|
45560
|
+
get: function () { return chunkX2PPZJSL_cjs.useIsDesktop; }
|
|
45545
45561
|
});
|
|
45546
45562
|
Object.defineProperty(exports, "useIsLargeDesktop", {
|
|
45547
45563
|
enumerable: true,
|
|
45548
|
-
get: function () { return
|
|
45564
|
+
get: function () { return chunkX2PPZJSL_cjs.useIsLargeDesktop; }
|
|
45549
45565
|
});
|
|
45550
45566
|
Object.defineProperty(exports, "useIsMobile", {
|
|
45551
45567
|
enumerable: true,
|
|
45552
|
-
get: function () { return
|
|
45568
|
+
get: function () { return chunkX2PPZJSL_cjs.useIsMobile; }
|
|
45553
45569
|
});
|
|
45554
45570
|
Object.defineProperty(exports, "useIsMobileOrTablet", {
|
|
45555
45571
|
enumerable: true,
|
|
45556
|
-
get: function () { return
|
|
45572
|
+
get: function () { return chunkX2PPZJSL_cjs.useIsMobileOrTablet; }
|
|
45557
45573
|
});
|
|
45558
45574
|
Object.defineProperty(exports, "useIsSmallTablet", {
|
|
45559
45575
|
enumerable: true,
|
|
45560
|
-
get: function () { return
|
|
45576
|
+
get: function () { return chunkX2PPZJSL_cjs.useIsSmallTablet; }
|
|
45561
45577
|
});
|
|
45562
45578
|
Object.defineProperty(exports, "useIsTablet", {
|
|
45563
45579
|
enumerable: true,
|
|
45564
|
-
get: function () { return
|
|
45580
|
+
get: function () { return chunkX2PPZJSL_cjs.useIsTablet; }
|
|
45581
|
+
});
|
|
45582
|
+
Object.defineProperty(exports, "useKeyboardInset", {
|
|
45583
|
+
enumerable: true,
|
|
45584
|
+
get: function () { return chunkX2PPZJSL_cjs.useKeyboardInset; }
|
|
45565
45585
|
});
|
|
45566
45586
|
Object.defineProperty(exports, "useKeyboardShortcut", {
|
|
45567
45587
|
enumerable: true,
|
|
45568
|
-
get: function () { return
|
|
45588
|
+
get: function () { return chunkX2PPZJSL_cjs.useKeyboardShortcut; }
|
|
45569
45589
|
});
|
|
45570
45590
|
Object.defineProperty(exports, "useMediaQuery", {
|
|
45571
45591
|
enumerable: true,
|
|
45572
|
-
get: function () { return
|
|
45592
|
+
get: function () { return chunkX2PPZJSL_cjs.useMediaQuery; }
|
|
45573
45593
|
});
|
|
45574
45594
|
Object.defineProperty(exports, "useYouTubeHoverPreview", {
|
|
45575
45595
|
enumerable: true,
|
|
@@ -45657,11 +45677,11 @@ Object.defineProperty(exports, "unformatPhoneNumber", {
|
|
|
45657
45677
|
});
|
|
45658
45678
|
Object.defineProperty(exports, "miewebUIPreset", {
|
|
45659
45679
|
enumerable: true,
|
|
45660
|
-
get: function () { return
|
|
45680
|
+
get: function () { return chunkPSXTXFLM_cjs.miewebUIPreset; }
|
|
45661
45681
|
});
|
|
45662
45682
|
Object.defineProperty(exports, "miewebUISafelist", {
|
|
45663
45683
|
enumerable: true,
|
|
45664
|
-
get: function () { return
|
|
45684
|
+
get: function () { return chunkPSXTXFLM_cjs.miewebUISafelist; }
|
|
45665
45685
|
});
|
|
45666
45686
|
Object.defineProperty(exports, "Accordion", {
|
|
45667
45687
|
enumerable: true,
|