@multiplatform.one/forms 7.28.1 → 7.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/AdaptivePopup/index.cjs +19 -22
- package/dist/cjs/AdaptivePopup/index.native.js +19 -22
- package/dist/cjs/AdaptivePopup/index.native.js.map +1 -1
- package/dist/cjs/Button/index.cjs +11 -6
- package/dist/cjs/Button/index.native.js +11 -6
- package/dist/cjs/Button/index.native.js.map +1 -1
- package/dist/cjs/Chip/index.cjs +3 -2
- package/dist/cjs/Chip/index.native.js +4 -3
- package/dist/cjs/Chip/index.native.js.map +1 -1
- package/dist/cjs/ContextualSaveBar/UnsavedChangesDialog.cjs +14 -0
- package/dist/cjs/ContextualSaveBar/UnsavedChangesDialog.native.js +14 -0
- package/dist/cjs/ContextualSaveBar/UnsavedChangesDialog.native.js.map +1 -1
- package/dist/cjs/fields/Geolocation/index.cjs +1 -0
- package/dist/cjs/fields/Geolocation/index.native.js +1 -0
- package/dist/cjs/fields/Geolocation/index.native.js.map +1 -1
- package/dist/cjs/shared/focusManagement.cjs +28 -0
- package/dist/cjs/shared/focusManagement.native.js +38 -0
- package/dist/cjs/shared/focusManagement.native.js.map +1 -1
- package/dist/esm/AdaptivePopup/index.mjs +20 -23
- package/dist/esm/AdaptivePopup/index.mjs.map +1 -1
- package/dist/esm/AdaptivePopup/index.native.js +20 -23
- package/dist/esm/AdaptivePopup/index.native.js.map +1 -1
- package/dist/esm/Button/index.mjs +12 -7
- package/dist/esm/Button/index.mjs.map +1 -1
- package/dist/esm/Button/index.native.js +12 -7
- package/dist/esm/Button/index.native.js.map +1 -1
- package/dist/esm/Chip/index.mjs +4 -3
- package/dist/esm/Chip/index.mjs.map +1 -1
- package/dist/esm/Chip/index.native.js +5 -4
- package/dist/esm/Chip/index.native.js.map +1 -1
- package/dist/esm/ContextualSaveBar/UnsavedChangesDialog.mjs +16 -2
- package/dist/esm/ContextualSaveBar/UnsavedChangesDialog.mjs.map +1 -1
- package/dist/esm/ContextualSaveBar/UnsavedChangesDialog.native.js +16 -2
- package/dist/esm/ContextualSaveBar/UnsavedChangesDialog.native.js.map +1 -1
- package/dist/esm/fields/Geolocation/index.mjs +1 -0
- package/dist/esm/fields/Geolocation/index.mjs.map +1 -1
- package/dist/esm/fields/Geolocation/index.native.js +1 -0
- package/dist/esm/fields/Geolocation/index.native.js.map +1 -1
- package/dist/esm/shared/focusManagement.mjs +28 -2
- package/dist/esm/shared/focusManagement.mjs.map +1 -1
- package/dist/esm/shared/focusManagement.native.js +38 -2
- package/dist/esm/shared/focusManagement.native.js.map +1 -1
- package/dist/jsx/AdaptivePopup/index.mjs +20 -23
- package/dist/jsx/AdaptivePopup/index.mjs.map +1 -1
- package/dist/jsx/AdaptivePopup/index.native.js +19 -22
- package/dist/jsx/AdaptivePopup/index.native.js.map +1 -1
- package/dist/jsx/Button/index.mjs +12 -7
- package/dist/jsx/Button/index.mjs.map +1 -1
- package/dist/jsx/Button/index.native.js +11 -6
- package/dist/jsx/Button/index.native.js.map +1 -1
- package/dist/jsx/Chip/index.mjs +4 -3
- package/dist/jsx/Chip/index.mjs.map +1 -1
- package/dist/jsx/Chip/index.native.js +4 -3
- package/dist/jsx/Chip/index.native.js.map +1 -1
- package/dist/jsx/ContextualSaveBar/UnsavedChangesDialog.mjs +16 -2
- package/dist/jsx/ContextualSaveBar/UnsavedChangesDialog.mjs.map +1 -1
- package/dist/jsx/ContextualSaveBar/UnsavedChangesDialog.native.js +14 -0
- package/dist/jsx/ContextualSaveBar/UnsavedChangesDialog.native.js.map +1 -1
- package/dist/jsx/fields/Geolocation/index.mjs +1 -0
- package/dist/jsx/fields/Geolocation/index.mjs.map +1 -1
- package/dist/jsx/fields/Geolocation/index.native.js +1 -0
- package/dist/jsx/fields/Geolocation/index.native.js.map +1 -1
- package/dist/jsx/shared/focusManagement.mjs +28 -2
- package/dist/jsx/shared/focusManagement.mjs.map +1 -1
- package/dist/jsx/shared/focusManagement.native.js +38 -0
- package/dist/jsx/shared/focusManagement.native.js.map +1 -1
- package/package.json +8 -8
- package/src/AdaptivePopup/AdaptivePopup.spec.tsx +44 -1
- package/src/AdaptivePopup/index.tsx +19 -19
- package/src/Button/Button.outlinedAccentInk.spec.tsx +152 -0
- package/src/Button/index.tsx +18 -7
- package/src/Chip/index.tsx +9 -4
- package/src/ContextualSaveBar/UnsavedChangesDialog.spec.tsx +50 -3
- package/src/ContextualSaveBar/UnsavedChangesDialog.tsx +26 -2
- package/src/fields/Geolocation/index.tsx +3 -1
- package/src/shared/focusManagement.ts +40 -1
- package/types/AdaptivePopup/index.d.ts.map +1 -1
- package/types/Button/index.d.ts.map +1 -1
- package/types/Chip/index.d.ts +1 -1
- package/types/Chip/index.d.ts.map +1 -1
- package/types/ContextualSaveBar/UnsavedChangesDialog.d.ts.map +1 -1
- package/types/fields/Checkbox/index.d.ts +3 -3
- package/types/fields/Geolocation/index.d.ts.map +1 -1
- package/types/fields/RadioGroup/index.d.ts +2 -2
- package/types/fields/ToggleGroup/index.d.ts +1 -1
- package/types/shared/focusManagement.d.ts +19 -0
- package/types/shared/focusManagement.d.ts.map +1 -1
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
ensureKeyboardModalityTracking,
|
|
3
|
+
useResolvedKnobs,
|
|
4
|
+
warnCancelDisabled,
|
|
5
|
+
wasKeyboardFocus,
|
|
6
|
+
} from "@multiplatform.one/theme";
|
|
2
7
|
import { useEffect } from "react";
|
|
3
8
|
import { Dialog, Paragraph, XStack } from "tamagui";
|
|
4
9
|
import { Button } from "../Button";
|
|
5
10
|
import { formCommonColors } from "../shared/colorRamps";
|
|
6
|
-
import { useReturnFocusOnClose } from "../shared/focusManagement";
|
|
11
|
+
import { DialogShowFocus, useReturnFocusOnClose } from "../shared/focusManagement";
|
|
7
12
|
import { t } from "../shared/t";
|
|
8
13
|
|
|
9
14
|
export interface UnsavedChangesDialogProps {
|
|
@@ -13,6 +18,22 @@ export interface UnsavedChangesDialogProps {
|
|
|
13
18
|
onDiscard: () => void;
|
|
14
19
|
}
|
|
15
20
|
|
|
21
|
+
/**
|
|
22
|
+
* Opens on Keep editing, the least destructive action, as tamagui's
|
|
23
|
+
* AlertDialog.Cancel does. Without it Chromium and WebKit's `<dialog>.show()`
|
|
24
|
+
* parks focus on the tabIndex -1 panel and Firefox on Keep editing (MPO-472).
|
|
25
|
+
* WebKit's show() also marks the panel :focus-visible, which a plain focus()
|
|
26
|
+
* would carry onto the button after a pointer open; the ring is keyboard-only
|
|
27
|
+
* (LC-71).
|
|
28
|
+
*/
|
|
29
|
+
function focusKeepEditing(event: Event) {
|
|
30
|
+
const root = event.currentTarget as HTMLElement | null;
|
|
31
|
+
const keep = root?.querySelector<HTMLElement>("[data-mp-savebar-keep]");
|
|
32
|
+
if (!keep) return;
|
|
33
|
+
event.preventDefault();
|
|
34
|
+
keep.focus({ preventScroll: true, focusVisible: wasKeyboardFocus() } as FocusOptions);
|
|
35
|
+
}
|
|
36
|
+
|
|
16
37
|
/**
|
|
17
38
|
* Route-leave / Discard confirm (DG-OVL-02). Lives in forms so ContextualSaveBar
|
|
18
39
|
* does not import `@multiplatform.one/components` (ConfirmDialog → forms Button
|
|
@@ -25,6 +46,7 @@ export function UnsavedChangesDialog({
|
|
|
25
46
|
onDiscard,
|
|
26
47
|
}: UnsavedChangesDialogProps) {
|
|
27
48
|
const { knobProps } = useResolvedKnobs();
|
|
49
|
+
ensureKeyboardModalityTracking();
|
|
28
50
|
useReturnFocusOnClose(open);
|
|
29
51
|
|
|
30
52
|
useEffect(() => {
|
|
@@ -73,6 +95,7 @@ export function UnsavedChangesDialog({
|
|
|
73
95
|
data-mp-savebar-guard=""
|
|
74
96
|
onPointerDownOutside={(e) => e.preventDefault()}
|
|
75
97
|
onInteractOutside={(e) => e.preventDefault()}
|
|
98
|
+
onOpenAutoFocus={focusKeepEditing}
|
|
76
99
|
>
|
|
77
100
|
<Dialog.Title {...knobProps.body} fontSize="$4">
|
|
78
101
|
{t("Discard unsaved changes?")}
|
|
@@ -103,6 +126,7 @@ export function UnsavedChangesDialog({
|
|
|
103
126
|
{t("Discard changes")}
|
|
104
127
|
</Button>
|
|
105
128
|
</XStack>
|
|
129
|
+
<DialogShowFocus onOpenAutoFocus={focusKeepEditing} />
|
|
106
130
|
</Dialog.Content>
|
|
107
131
|
</Dialog.Portal>
|
|
108
132
|
</Dialog>
|
|
@@ -1420,7 +1420,9 @@ export function Geolocation({
|
|
|
1420
1420
|
overflow="hidden"
|
|
1421
1421
|
style={{ boxShadow: RESULTS_PANEL_SHADOW }}
|
|
1422
1422
|
>
|
|
1423
|
-
<ScrollView maxHeight={mapHeight * 1.5}>
|
|
1423
|
+
<ScrollView keyboardShouldPersistTaps="handled" maxHeight={mapHeight * 1.5}>
|
|
1424
|
+
{renderResults(handlers)}
|
|
1425
|
+
</ScrollView>
|
|
1424
1426
|
</YStack>
|
|
1425
1427
|
)
|
|
1426
1428
|
) : null;
|
|
@@ -15,6 +15,9 @@
|
|
|
15
15
|
* focus INTO the sheet frame on open, keeps Tab cycling within it while
|
|
16
16
|
* open (Tamagui Sheet has no focus scope), and treats focus left inside
|
|
17
17
|
* the closed (offscreen-parked, still-mounted) frame as dropped.
|
|
18
|
+
* - `useDialogShowFocus(onOpenAutoFocus)` — runs a dialog's open focus when
|
|
19
|
+
* the browser's `<dialog>.show()` left focus on an element that is not a
|
|
20
|
+
* tab stop (MPO-470).
|
|
18
21
|
*
|
|
19
22
|
* Capture happens during RENDER, not in an effect: child effects (the Dialog
|
|
20
23
|
* focus scope) run before parent effects, so an effect-time capture would
|
|
@@ -32,7 +35,7 @@
|
|
|
32
35
|
*/
|
|
33
36
|
|
|
34
37
|
import { useEffect, useRef, type RefObject } from "react";
|
|
35
|
-
import { isWeb } from "tamagui";
|
|
38
|
+
import { isWeb, useDialogContext } from "tamagui";
|
|
36
39
|
import { wasKeyboardFocus } from "@multiplatform.one/theme";
|
|
37
40
|
|
|
38
41
|
const FOCUSABLE =
|
|
@@ -164,3 +167,39 @@ export function useSheetModalFocus(
|
|
|
164
167
|
};
|
|
165
168
|
}, [open, frameRef, prevRef, generationRef, skipReturnFocusRef]);
|
|
166
169
|
}
|
|
170
|
+
|
|
171
|
+
const DIALOG_SHOW_FOCUS_EVENT = "mp.dialogShowFocus";
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Chromium and WebKit's `<dialog>.show()` focuses the first focusable
|
|
175
|
+
* descendant, so a tabIndex -1 surface or field frame takes focus; Firefox and
|
|
176
|
+
* the HTML spec take the first tab stop. Focus is then inside before tamagui's
|
|
177
|
+
* FocusScope checks, and its open auto-focus never fires. When focus sits on
|
|
178
|
+
* something that is not a tab stop, run `onOpenAutoFocus` against the content
|
|
179
|
+
* the way FocusScope would. Call it inside the Dialog. The content is found by
|
|
180
|
+
* its id because FocusScope clones it with its own ref, so a ref passed to
|
|
181
|
+
* `Dialog.Content` never attaches on web. Passive effects run after the
|
|
182
|
+
* portal's layout-effect `show()`, which is why this is not a layout effect.
|
|
183
|
+
*/
|
|
184
|
+
export function useDialogShowFocus(onOpenAutoFocus: (event: Event) => void) {
|
|
185
|
+
const { open, contentId } = useDialogContext();
|
|
186
|
+
useEffect(() => {
|
|
187
|
+
if (!open || !contentId || !canUseDom()) return;
|
|
188
|
+
const content = document.getElementById(contentId);
|
|
189
|
+
const focused = document.activeElement;
|
|
190
|
+
if (!content || !(focused instanceof HTMLElement)) return;
|
|
191
|
+
if (!content.contains(focused) || focused.tabIndex >= 0) return;
|
|
192
|
+
content.addEventListener(DIALOG_SHOW_FOCUS_EVENT, onOpenAutoFocus, { once: true });
|
|
193
|
+
content.dispatchEvent(new CustomEvent(DIALOG_SHOW_FOCUS_EVENT, { cancelable: true }));
|
|
194
|
+
}, [open, contentId]);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/** `useDialogShowFocus` for a caller that renders the Dialog itself. */
|
|
198
|
+
export function DialogShowFocus({
|
|
199
|
+
onOpenAutoFocus,
|
|
200
|
+
}: {
|
|
201
|
+
onOpenAutoFocus: (event: Event) => void;
|
|
202
|
+
}): null {
|
|
203
|
+
useDialogShowFocus(onOpenAutoFocus);
|
|
204
|
+
return null;
|
|
205
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/AdaptivePopup/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/AdaptivePopup/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AA4B5D,MAAM,WAAW,kBAAkB;IACjC,4BAA4B;IAC5B,IAAI,EAAE,OAAO,CAAC;IACd,uCAAuC;IACvC,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,gFAAgF;IAChF,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,gCAAgC;IAChC,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,wCAAwC;IACxC,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,mBAAmB;IACnB,QAAQ,EAAE,SAAS,CAAC;IACpB;;;;;;;OAOG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,YAAY,CAAC;IAChD;;;;;OAKG;IACH,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC3B,sDAAsD;IACtD,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,kDAAkD;IAClD,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAkBD,MAAM,MAAM,yBAAyB,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEtE;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE;IAC7C,IAAI,CAAC,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC;IAClC,IAAI,CAAC,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC;IAClC,aAAa,EAAE,MAAM,CAAC;CACvB,GAAG,yBAAyB,CAK5B;AA6ED,wBAAgB,aAAa,CAAC,EAC5B,IAAI,EACJ,YAAY,EACZ,OAAO,EACP,KAAK,EACL,WAAW,EACX,QAAQ,EACR,IAAW,EACX,IAAe,EACf,eAAsB,EACtB,MAAM,EACN,QAAQ,GACT,EAAE,kBAAkB,2CAwSpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Button/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAOL,KAAK,aAAa,EAClB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Button/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAOL,KAAK,aAAa,EAClB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAcL,KAAK,gBAAgB,EACrB,KAAK,UAAU,EAEhB,MAAM,0BAA0B,CAAC;AAIlC,OAAO,EAEL,KAAK,WAAW,IAAI,kBAAkB,EAUvC,MAAM,SAAS,CAAC;AAIjB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAG3C,OAAO,KAAK,EAAE,UAAU,EAAuB,MAAM,cAAc,CAAC;AAMpE;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC;AAE1C,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAkC,CAAC;AAElG,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,UAAU,GAAG,MAAM,GAAG,SAAS,EACrC,MAAM,GAAE,gBA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,CAAC,EAAE,MAAM,CAAC;IACxB;;;;;;OAMG;IACH,uBAAuB,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC7C;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,YAAY,CAAC,EAAE,gBAAgB,CAAC;CACjC;AAED,wBAAgB,MAAM,CAAC,EACrB,QAAQ,EACR,MAAM,EACN,IAAI,EAAE,QAAQ,EACd,OAAO,EACP,MAAM,EACN,KAAK,EACL,OAAO,EACP,OAAO,EACP,QAAgB,EAChB,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,OAAO,EACP,SAAS,EACT,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,OAAO,EACP,QAAQ,EACR,MAAc,EACd,QAAQ,EACR,UAAU,EACV,IAAI,EACJ,IAAI,EACJ,UAAU,EACV,cAAc,EACd,uBAAiC,EACjC,gBAAgB,EAChB,YAAwB,EACxB,MAAM,EAAE,UAAU,EAClB,iBAAiB,EAAE,qBAAqB,EACxC,GAAG,KAAK,EACT,EAAE,WAAW,2CA+gBb;yBAhjBe,MAAM;;;iBA1Db,CAAC;YACA,CAAC"}
|
package/types/Chip/index.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ export interface ChipProps {
|
|
|
29
29
|
*/
|
|
30
30
|
export declare const ChipFrame: import("tamagui").TamaguiComponent<import("@tamagui/web").TamaDefer, import("tamagui").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
31
31
|
size?: import("tamagui").SizeTokens | undefined;
|
|
32
|
-
variant?: "
|
|
32
|
+
variant?: "solid" | "outline" | "subtle" | undefined;
|
|
33
33
|
}, import("@tamagui/web").StaticConfigPublic>;
|
|
34
34
|
export declare const ChipText: import("tamagui").TamaguiComponent<import("@tamagui/web").TamaDefer, import("tamagui").TamaguiTextElement, import("@tamagui/core").RNTamaguiTextNonStyleProps, import("@tamagui/web").TextStylePropsBase, {
|
|
35
35
|
size?: import("tamagui").SizeTokens | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Chip/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,SAAS,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Chip/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,SAAS,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,EAWL,KAAK,gBAAgB,EACrB,KAAK,aAAa,EACnB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAe,QAAQ,EAAE,MAAM,SAAS,CAAC;AAMrD,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAC;AACzD,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,KAAK,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAC3F,MAAM,MAAM,QAAQ,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEjD,gFAAgF;AAChF,MAAM,MAAM,eAAe,GAAG,WAAW,GAAG,QAAQ,GAAG,UAAU,GAAG,OAAO,CAAC;AAE5E,MAAM,WAAW,SAAS;IACxB,QAAQ,EAAE,SAAS,CAAC;IACpB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,yEAAyE;IACzE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,+EAA+E;IAC/E,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,oEAAoE;IACpE,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC;AAqID;;;;GAIG;AACH,eAAO,MAAM,SAAS;;;6CA+BpB,CAAC;AAEH,eAAO,MAAM,QAAQ;;;6CAenB,CAAC;AAiBH,sFAAsF;AACtF,wBAAgB,YAAY,CAAC,IAAI,EAAE,QAAQ,GAAG,MAAM,CAEnD;AAED;;;;;GAKG;AACH,eAAO,MAAM,4BAA4B,KAAK,CAAC;AAE/C;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAE3D;AA2GD,wBAAgB,IAAI,CAAC,EACnB,QAAQ,EACR,IAAI,EACJ,OAAO,EAAE,WAAsB,EAC/B,KAAc,EACd,SAAS,EACT,QAAQ,EACR,QAAgB,EAChB,OAAO,EACP,IAAI,EACJ,aAAa,EACb,gBAA+B,GAChC,EAAE,SAAS,2CA0NX;AAED,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC,OAAO,SAAS,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UnsavedChangesDialog.d.ts","sourceRoot":"","sources":["../../src/ContextualSaveBar/UnsavedChangesDialog.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UnsavedChangesDialog.d.ts","sourceRoot":"","sources":["../../src/ContextualSaveBar/UnsavedChangesDialog.tsx"],"names":[],"mappings":"AAaA,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,OAAO,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB;AAkBD;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,IAAI,EACJ,UAAU,EACV,aAAa,EACb,SAAS,GACV,EAAE,yBAAyB,2CAuF3B"}
|
|
@@ -68,7 +68,7 @@ export declare const Checkboxes: (<K extends string>(checkboxesProps: PropsWithC
|
|
|
68
68
|
unstyled?: boolean | undefined;
|
|
69
69
|
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
70
70
|
fullscreen?: boolean | undefined;
|
|
71
|
-
}>, "theme" | "native" | "debug" | "top" | "bottom" | "display" | "name" | "borderRadius" | "borderWidth" | "size" | "disabledStyle" | "filter" | "background" | "borderColor" | "shadowColor" | "value" | "zIndex" | "border" | "outlineColor" | "children" | "style" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "backdropFilter" | "backfaceVisibility" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundColor" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "blockSize" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockEndStyle" | "borderBlockEndWidth" | "borderBlockStartColor" | "borderBlockStartStyle" | "borderBlockStartWidth" | "borderBlockStyle" | "borderBlockWidth" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomWidth" | "borderEndEndRadius" | "borderEndStartRadius" | "borderImage" | "borderInlineColor" | "borderInlineEndColor" | "borderInlineEndStyle" | "borderInlineEndWidth" | "borderInlineStartColor" | "borderInlineStartStyle" | "borderInlineStartWidth" | "borderInlineStyle" | "borderInlineWidth" | "borderLeftColor" | "borderLeftWidth" | "borderRightColor" | "borderRightWidth" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopWidth" | "boxShadow" | "boxSizing" | "caretColor" | "clipPath" | "columnGap" | "contain" | "containerType" | "content" | "cursor" | "direction" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "float" | "gap" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridTemplateAreas" | "gridTemplateColumns" | "height" | "inlineSize" | "inset" | "insetBlock" | "insetBlockEnd" | "insetBlockStart" | "insetInline" | "insetInlineEnd" | "insetInlineStart" | "isolation" | "justifyContent" | "left" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "mask" | "maskClip" | "maskComposite" | "maskImage" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "maxBlockSize" | "maxHeight" | "maxInlineSize" | "maxWidth" | "minBlockSize" | "minHeight" | "minInlineSize" | "minWidth" | "mixBlendMode" | "objectFit" | "opacity" | "outline" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflow" | "overflowBlock" | "overflowInline" | "overflowX" | "overflowY" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "perspective" | "pointerEvents" | "position" | "right" | "rotate" | "rowGap" | "scale" | "textEmphasis" | "transform" | "transformOrigin" | "transformStyle" | "transition" | "userSelect" | "verticalAlign" | "width" | "x" | "y" | "paddingHorizontal" | "marginHorizontal" | "marginVertical" | "paddingVertical" | "shadowRadius" | "shadowOffset" | "shadowOpacity" | "disabled" | "end" | "start" | "group" | "onChange" | "className" | "onMouseEnter" | "onMouseLeave" | "onClick" | "checked" | `$${string}` | `$${number}` | "id" | "
|
|
71
|
+
}>, "theme" | "native" | "debug" | "top" | "bottom" | "display" | "name" | "borderRadius" | "borderWidth" | "size" | "disabledStyle" | "filter" | "background" | "borderColor" | "shadowColor" | "value" | "zIndex" | "border" | "outlineColor" | "children" | "style" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "backdropFilter" | "backfaceVisibility" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundColor" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "blockSize" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockEndStyle" | "borderBlockEndWidth" | "borderBlockStartColor" | "borderBlockStartStyle" | "borderBlockStartWidth" | "borderBlockStyle" | "borderBlockWidth" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomWidth" | "borderEndEndRadius" | "borderEndStartRadius" | "borderImage" | "borderInlineColor" | "borderInlineEndColor" | "borderInlineEndStyle" | "borderInlineEndWidth" | "borderInlineStartColor" | "borderInlineStartStyle" | "borderInlineStartWidth" | "borderInlineStyle" | "borderInlineWidth" | "borderLeftColor" | "borderLeftWidth" | "borderRightColor" | "borderRightWidth" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopWidth" | "boxShadow" | "boxSizing" | "caretColor" | "clipPath" | "columnGap" | "contain" | "containerType" | "content" | "cursor" | "direction" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "float" | "gap" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridTemplateAreas" | "gridTemplateColumns" | "height" | "inlineSize" | "inset" | "insetBlock" | "insetBlockEnd" | "insetBlockStart" | "insetInline" | "insetInlineEnd" | "insetInlineStart" | "isolation" | "justifyContent" | "left" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "mask" | "maskClip" | "maskComposite" | "maskImage" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "maxBlockSize" | "maxHeight" | "maxInlineSize" | "maxWidth" | "minBlockSize" | "minHeight" | "minInlineSize" | "minWidth" | "mixBlendMode" | "objectFit" | "opacity" | "outline" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflow" | "overflowBlock" | "overflowInline" | "overflowX" | "overflowY" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "perspective" | "pointerEvents" | "position" | "right" | "rotate" | "rowGap" | "scale" | "textEmphasis" | "transform" | "transformOrigin" | "transformStyle" | "transition" | "userSelect" | "verticalAlign" | "width" | "x" | "y" | "paddingHorizontal" | "marginHorizontal" | "marginVertical" | "paddingVertical" | "shadowRadius" | "shadowOffset" | "shadowOpacity" | "disabled" | "end" | "start" | "group" | "onChange" | "className" | "onMouseEnter" | "onMouseLeave" | "onClick" | "role" | "checked" | `$${string}` | `$${number}` | "id" | "aria-labelledby" | "aria-label" | "matrix" | "hitSlop" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "themeShallow" | "unstyled" | "render" | "untilMeasured" | "componentName" | "tabIndex" | "disableOptimization" | "forceStyle" | "disableClassName" | "animatedBy" | "onFocus" | "onBlur" | "onPointerCancel" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerDownCapture" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "accessibilityLabelledBy" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onMouseDown" | "onMouseUp" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onDoubleClick" | "onContextMenu" | "onWheel" | "onKeyDown" | "onKeyUp" | "onInput" | "onBeforeInput" | "onScroll" | "onCopy" | "onCut" | "onPaste" | "onDrag" | "onDragStart" | "onDragEnd" | "onDragEnter" | "onDragLeave" | "onDragOver" | "onDrop" | "scaleX" | "scaleY" | "skewX" | "skewY" | "rotateY" | "rotateX" | "rotateZ" | "borderCurve" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "animateOnly" | "animatePresence" | "passThrough" | "borderBottomEndRadius" | "borderBottomStartRadius" | "borderEndColor" | "borderStartColor" | "borderTopEndRadius" | "borderTopStartRadius" | "experimental_backgroundImage" | "borderEndWidth" | "borderStartWidth" | "marginEnd" | "marginStart" | "paddingEnd" | "paddingStart" | "transformMatrix" | "rotation" | "translateX" | "translateY" | `$group-${string}` | `$group-${number}` | `$group-${string}-hover` | `$group-${string}-press` | `$group-${string}-focus` | `$group-${string}-focusVisible` | `$group-${string}-focusWithin` | `$group-${number}-hover` | `$group-${number}-press` | `$group-${number}-focus` | `$group-${number}-focusVisible` | `$group-${number}-focusWithin` | "focusVisibleStyle" | "hoverStyle" | "pressStyle" | "focusStyle" | "focusWithinStyle" | "exitStyle" | "enterStyle" | "required" | "scaleIcon" | "defaultChecked" | "activeStyle" | "onCheckedChange" | "labelledBy" | "scaleSize" | "sizeAdjust" | "activeTheme"> & import("tamagui").StackNonStyleProps & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>> & import("@tamagui/web").WithMediaProps<import("@tamagui/web").WithThemeShorthandsAndPseudos<import("@tamagui/web").StackStyleBase, {}>> & import("@tamagui/checkbox-headless").CheckboxExtraProps & {
|
|
72
72
|
scaleIcon?: number;
|
|
73
73
|
scaleSize?: number;
|
|
74
74
|
sizeAdjust?: number;
|
|
@@ -113,7 +113,7 @@ export declare const Checkboxes: (<K extends string>(checkboxesProps: PropsWithC
|
|
|
113
113
|
unstyled?: boolean | undefined;
|
|
114
114
|
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
115
115
|
fullscreen?: boolean | undefined;
|
|
116
|
-
}>, "theme" | "native" | "debug" | "top" | "bottom" | "display" | "name" | "borderRadius" | "borderWidth" | "size" | "disabledStyle" | "filter" | "background" | "borderColor" | "shadowColor" | "value" | "zIndex" | "border" | "outlineColor" | "children" | "style" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "backdropFilter" | "backfaceVisibility" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundColor" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "blockSize" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockEndStyle" | "borderBlockEndWidth" | "borderBlockStartColor" | "borderBlockStartStyle" | "borderBlockStartWidth" | "borderBlockStyle" | "borderBlockWidth" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomWidth" | "borderEndEndRadius" | "borderEndStartRadius" | "borderImage" | "borderInlineColor" | "borderInlineEndColor" | "borderInlineEndStyle" | "borderInlineEndWidth" | "borderInlineStartColor" | "borderInlineStartStyle" | "borderInlineStartWidth" | "borderInlineStyle" | "borderInlineWidth" | "borderLeftColor" | "borderLeftWidth" | "borderRightColor" | "borderRightWidth" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopWidth" | "boxShadow" | "boxSizing" | "caretColor" | "clipPath" | "columnGap" | "contain" | "containerType" | "content" | "cursor" | "direction" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "float" | "gap" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridTemplateAreas" | "gridTemplateColumns" | "height" | "inlineSize" | "inset" | "insetBlock" | "insetBlockEnd" | "insetBlockStart" | "insetInline" | "insetInlineEnd" | "insetInlineStart" | "isolation" | "justifyContent" | "left" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "mask" | "maskClip" | "maskComposite" | "maskImage" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "maxBlockSize" | "maxHeight" | "maxInlineSize" | "maxWidth" | "minBlockSize" | "minHeight" | "minInlineSize" | "minWidth" | "mixBlendMode" | "objectFit" | "opacity" | "outline" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflow" | "overflowBlock" | "overflowInline" | "overflowX" | "overflowY" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "perspective" | "pointerEvents" | "position" | "right" | "rotate" | "rowGap" | "scale" | "textEmphasis" | "transform" | "transformOrigin" | "transformStyle" | "transition" | "userSelect" | "verticalAlign" | "width" | "x" | "y" | "paddingHorizontal" | "marginHorizontal" | "marginVertical" | "paddingVertical" | "shadowRadius" | "shadowOffset" | "shadowOpacity" | "disabled" | "end" | "start" | "group" | "onChange" | "className" | "onMouseEnter" | "onMouseLeave" | "onClick" | "checked" | `$${string}` | `$${number}` | "id" | "
|
|
116
|
+
}>, "theme" | "native" | "debug" | "top" | "bottom" | "display" | "name" | "borderRadius" | "borderWidth" | "size" | "disabledStyle" | "filter" | "background" | "borderColor" | "shadowColor" | "value" | "zIndex" | "border" | "outlineColor" | "children" | "style" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "backdropFilter" | "backfaceVisibility" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundColor" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "blockSize" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockEndStyle" | "borderBlockEndWidth" | "borderBlockStartColor" | "borderBlockStartStyle" | "borderBlockStartWidth" | "borderBlockStyle" | "borderBlockWidth" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomWidth" | "borderEndEndRadius" | "borderEndStartRadius" | "borderImage" | "borderInlineColor" | "borderInlineEndColor" | "borderInlineEndStyle" | "borderInlineEndWidth" | "borderInlineStartColor" | "borderInlineStartStyle" | "borderInlineStartWidth" | "borderInlineStyle" | "borderInlineWidth" | "borderLeftColor" | "borderLeftWidth" | "borderRightColor" | "borderRightWidth" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopWidth" | "boxShadow" | "boxSizing" | "caretColor" | "clipPath" | "columnGap" | "contain" | "containerType" | "content" | "cursor" | "direction" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "float" | "gap" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridTemplateAreas" | "gridTemplateColumns" | "height" | "inlineSize" | "inset" | "insetBlock" | "insetBlockEnd" | "insetBlockStart" | "insetInline" | "insetInlineEnd" | "insetInlineStart" | "isolation" | "justifyContent" | "left" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "mask" | "maskClip" | "maskComposite" | "maskImage" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "maxBlockSize" | "maxHeight" | "maxInlineSize" | "maxWidth" | "minBlockSize" | "minHeight" | "minInlineSize" | "minWidth" | "mixBlendMode" | "objectFit" | "opacity" | "outline" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflow" | "overflowBlock" | "overflowInline" | "overflowX" | "overflowY" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "perspective" | "pointerEvents" | "position" | "right" | "rotate" | "rowGap" | "scale" | "textEmphasis" | "transform" | "transformOrigin" | "transformStyle" | "transition" | "userSelect" | "verticalAlign" | "width" | "x" | "y" | "paddingHorizontal" | "marginHorizontal" | "marginVertical" | "paddingVertical" | "shadowRadius" | "shadowOffset" | "shadowOpacity" | "disabled" | "end" | "start" | "group" | "onChange" | "className" | "onMouseEnter" | "onMouseLeave" | "onClick" | "role" | "checked" | `$${string}` | `$${number}` | "id" | "aria-labelledby" | "aria-label" | "matrix" | "hitSlop" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "themeShallow" | "unstyled" | "render" | "untilMeasured" | "componentName" | "tabIndex" | "disableOptimization" | "forceStyle" | "disableClassName" | "animatedBy" | "onFocus" | "onBlur" | "onPointerCancel" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerDownCapture" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "accessibilityLabelledBy" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onMouseDown" | "onMouseUp" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onDoubleClick" | "onContextMenu" | "onWheel" | "onKeyDown" | "onKeyUp" | "onInput" | "onBeforeInput" | "onScroll" | "onCopy" | "onCut" | "onPaste" | "onDrag" | "onDragStart" | "onDragEnd" | "onDragEnter" | "onDragLeave" | "onDragOver" | "onDrop" | "scaleX" | "scaleY" | "skewX" | "skewY" | "rotateY" | "rotateX" | "rotateZ" | "borderCurve" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "animateOnly" | "animatePresence" | "passThrough" | "borderBottomEndRadius" | "borderBottomStartRadius" | "borderEndColor" | "borderStartColor" | "borderTopEndRadius" | "borderTopStartRadius" | "experimental_backgroundImage" | "borderEndWidth" | "borderStartWidth" | "marginEnd" | "marginStart" | "paddingEnd" | "paddingStart" | "transformMatrix" | "rotation" | "translateX" | "translateY" | `$group-${string}` | `$group-${number}` | `$group-${string}-hover` | `$group-${string}-press` | `$group-${string}-focus` | `$group-${string}-focusVisible` | `$group-${string}-focusWithin` | `$group-${number}-hover` | `$group-${number}-press` | `$group-${number}-focus` | `$group-${number}-focusVisible` | `$group-${number}-focusWithin` | "focusVisibleStyle" | "hoverStyle" | "pressStyle" | "focusStyle" | "focusWithinStyle" | "exitStyle" | "enterStyle" | "required" | "scaleIcon" | "defaultChecked" | "activeStyle" | "onCheckedChange" | "labelledBy" | "scaleSize" | "sizeAdjust" | "activeTheme"> & import("tamagui").StackNonStyleProps & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>> & import("@tamagui/web").WithMediaProps<import("@tamagui/web").WithThemeShorthandsAndPseudos<import("@tamagui/web").StackStyleBase, {}>> & import("@tamagui/checkbox-headless").CheckboxExtraProps & {
|
|
117
117
|
scaleIcon?: number;
|
|
118
118
|
scaleSize?: number;
|
|
119
119
|
sizeAdjust?: number;
|
|
@@ -212,7 +212,7 @@ export declare const Checkboxes: (<K extends string>(checkboxesProps: PropsWithC
|
|
|
212
212
|
unstyled?: boolean | undefined;
|
|
213
213
|
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
214
214
|
fullscreen?: boolean | undefined;
|
|
215
|
-
}>, "theme" | "native" | "debug" | "top" | "bottom" | "display" | "name" | "borderRadius" | "borderWidth" | "size" | "disabledStyle" | "filter" | "background" | "borderColor" | "shadowColor" | "value" | "zIndex" | "border" | "outlineColor" | "children" | "style" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "backdropFilter" | "backfaceVisibility" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundColor" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "blockSize" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockEndStyle" | "borderBlockEndWidth" | "borderBlockStartColor" | "borderBlockStartStyle" | "borderBlockStartWidth" | "borderBlockStyle" | "borderBlockWidth" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomWidth" | "borderEndEndRadius" | "borderEndStartRadius" | "borderImage" | "borderInlineColor" | "borderInlineEndColor" | "borderInlineEndStyle" | "borderInlineEndWidth" | "borderInlineStartColor" | "borderInlineStartStyle" | "borderInlineStartWidth" | "borderInlineStyle" | "borderInlineWidth" | "borderLeftColor" | "borderLeftWidth" | "borderRightColor" | "borderRightWidth" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopWidth" | "boxShadow" | "boxSizing" | "caretColor" | "clipPath" | "columnGap" | "contain" | "containerType" | "content" | "cursor" | "direction" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "float" | "gap" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridTemplateAreas" | "gridTemplateColumns" | "height" | "inlineSize" | "inset" | "insetBlock" | "insetBlockEnd" | "insetBlockStart" | "insetInline" | "insetInlineEnd" | "insetInlineStart" | "isolation" | "justifyContent" | "left" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "mask" | "maskClip" | "maskComposite" | "maskImage" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "maxBlockSize" | "maxHeight" | "maxInlineSize" | "maxWidth" | "minBlockSize" | "minHeight" | "minInlineSize" | "minWidth" | "mixBlendMode" | "objectFit" | "opacity" | "outline" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflow" | "overflowBlock" | "overflowInline" | "overflowX" | "overflowY" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "perspective" | "pointerEvents" | "position" | "right" | "rotate" | "rowGap" | "scale" | "textEmphasis" | "transform" | "transformOrigin" | "transformStyle" | "transition" | "userSelect" | "verticalAlign" | "width" | "x" | "y" | "paddingHorizontal" | "marginHorizontal" | "marginVertical" | "paddingVertical" | "shadowRadius" | "shadowOffset" | "shadowOpacity" | "disabled" | "end" | "start" | "group" | "onChange" | "className" | "onMouseEnter" | "onMouseLeave" | "onClick" | "checked" | `$${string}` | `$${number}` | "id" | "
|
|
215
|
+
}>, "theme" | "native" | "debug" | "top" | "bottom" | "display" | "name" | "borderRadius" | "borderWidth" | "size" | "disabledStyle" | "filter" | "background" | "borderColor" | "shadowColor" | "value" | "zIndex" | "border" | "outlineColor" | "children" | "style" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "backdropFilter" | "backfaceVisibility" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundColor" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "blockSize" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockEndStyle" | "borderBlockEndWidth" | "borderBlockStartColor" | "borderBlockStartStyle" | "borderBlockStartWidth" | "borderBlockStyle" | "borderBlockWidth" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomWidth" | "borderEndEndRadius" | "borderEndStartRadius" | "borderImage" | "borderInlineColor" | "borderInlineEndColor" | "borderInlineEndStyle" | "borderInlineEndWidth" | "borderInlineStartColor" | "borderInlineStartStyle" | "borderInlineStartWidth" | "borderInlineStyle" | "borderInlineWidth" | "borderLeftColor" | "borderLeftWidth" | "borderRightColor" | "borderRightWidth" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopWidth" | "boxShadow" | "boxSizing" | "caretColor" | "clipPath" | "columnGap" | "contain" | "containerType" | "content" | "cursor" | "direction" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "float" | "gap" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridTemplateAreas" | "gridTemplateColumns" | "height" | "inlineSize" | "inset" | "insetBlock" | "insetBlockEnd" | "insetBlockStart" | "insetInline" | "insetInlineEnd" | "insetInlineStart" | "isolation" | "justifyContent" | "left" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "mask" | "maskClip" | "maskComposite" | "maskImage" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "maxBlockSize" | "maxHeight" | "maxInlineSize" | "maxWidth" | "minBlockSize" | "minHeight" | "minInlineSize" | "minWidth" | "mixBlendMode" | "objectFit" | "opacity" | "outline" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflow" | "overflowBlock" | "overflowInline" | "overflowX" | "overflowY" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "perspective" | "pointerEvents" | "position" | "right" | "rotate" | "rowGap" | "scale" | "textEmphasis" | "transform" | "transformOrigin" | "transformStyle" | "transition" | "userSelect" | "verticalAlign" | "width" | "x" | "y" | "paddingHorizontal" | "marginHorizontal" | "marginVertical" | "paddingVertical" | "shadowRadius" | "shadowOffset" | "shadowOpacity" | "disabled" | "end" | "start" | "group" | "onChange" | "className" | "onMouseEnter" | "onMouseLeave" | "onClick" | "role" | "checked" | `$${string}` | `$${number}` | "id" | "aria-labelledby" | "aria-label" | "matrix" | "hitSlop" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "themeShallow" | "unstyled" | "render" | "untilMeasured" | "componentName" | "tabIndex" | "disableOptimization" | "forceStyle" | "disableClassName" | "animatedBy" | "onFocus" | "onBlur" | "onPointerCancel" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerDownCapture" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "accessibilityLabelledBy" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onMouseDown" | "onMouseUp" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onDoubleClick" | "onContextMenu" | "onWheel" | "onKeyDown" | "onKeyUp" | "onInput" | "onBeforeInput" | "onScroll" | "onCopy" | "onCut" | "onPaste" | "onDrag" | "onDragStart" | "onDragEnd" | "onDragEnter" | "onDragLeave" | "onDragOver" | "onDrop" | "scaleX" | "scaleY" | "skewX" | "skewY" | "rotateY" | "rotateX" | "rotateZ" | "borderCurve" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "animateOnly" | "animatePresence" | "passThrough" | "borderBottomEndRadius" | "borderBottomStartRadius" | "borderEndColor" | "borderStartColor" | "borderTopEndRadius" | "borderTopStartRadius" | "experimental_backgroundImage" | "borderEndWidth" | "borderStartWidth" | "marginEnd" | "marginStart" | "paddingEnd" | "paddingStart" | "transformMatrix" | "rotation" | "translateX" | "translateY" | `$group-${string}` | `$group-${number}` | `$group-${string}-hover` | `$group-${string}-press` | `$group-${string}-focus` | `$group-${string}-focusVisible` | `$group-${string}-focusWithin` | `$group-${number}-hover` | `$group-${number}-press` | `$group-${number}-focus` | `$group-${number}-focusVisible` | `$group-${number}-focusWithin` | "focusVisibleStyle" | "hoverStyle" | "pressStyle" | "focusStyle" | "focusWithinStyle" | "exitStyle" | "enterStyle" | "required" | "scaleIcon" | "defaultChecked" | "activeStyle" | "onCheckedChange" | "labelledBy" | "scaleSize" | "sizeAdjust" | "activeTheme"> & import("tamagui").StackNonStyleProps & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>> & import("@tamagui/web").WithMediaProps<import("@tamagui/web").WithThemeShorthandsAndPseudos<import("@tamagui/web").StackStyleBase, {}>> & import("@tamagui/checkbox-headless").CheckboxExtraProps & {
|
|
216
216
|
scaleIcon?: number;
|
|
217
217
|
scaleSize?: number;
|
|
218
218
|
sizeAdjust?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/fields/Geolocation/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,SAAS,EACf,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,EAAmC,SAAS,EAAE,MAAM,OAAO,CAAC;AAExE,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAYtD,OAAO,EAEL,KAAK,yBAAyB,EAC/B,MAAM,kCAAkC,CAAC;AAc1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,KAAK,EAAE,SAAS,EAAiB,QAAQ,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAUvF,YAAY,EACV,SAAS,EACT,YAAY,EACZ,aAAa,EACb,QAAQ,EACR,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,QAAQ,EACR,QAAQ,EACR,eAAe,EACf,WAAW,EACX,eAAe,EACf,eAAe,GAChB,MAAM,YAAY,CAAC;AAcpB;;;;;;GAMG;AACH,wBAAsB,oBAAoB,IAAI,OAAO,CAAC,yBAAyB,CAAC,CAoB/E;AAgMD,M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F;IACvF,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,uFAAuF;IACvF,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,SAAS,CAAC;IACtD,iFAAiF;IACjF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,uFAAuF;IACvF,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,8EAA8E;IAC9E,cAAc,CAAC,EAAE,gBAAgB,CAAC;IAClC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;CAC5B;AA+CD,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,IAAI,EAAE,QAAQ,EACd,UAAU,EACV,KAAK,EACL,UAAU,EACV,UAAU,EACV,KAAK,EACL,QAAQ,EACR,IAAI,EACJ,EAAE,EAAE,MAAM,EACV,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,UAAU,EACV,SAAS,EACT,QAAQ,EACR,OAAO,EACP,OAAO,EAAE,WAAW,EACpB,cAAc,EAAE,kBAAkB,EAClC,QAAQ,GACT,EAAE,gBAAgB,2CAupBlB"}
|
|
@@ -88,7 +88,7 @@ export declare namespace RadioGroup {
|
|
|
88
88
|
elevation?: number | import("@tamagui/web").SizeTokens | undefined;
|
|
89
89
|
fullscreen?: boolean | undefined;
|
|
90
90
|
size?: import("@tamagui/web").SizeTokens | undefined;
|
|
91
|
-
}>, "theme" | "debug" | "elevation" | "size" | "value" | "children" | "style" | "disabled" | "group" | "onChange" | "className" | "onMouseEnter" | "onMouseLeave" | "onClick" | `$${string}` | `$${number}` | "id" | "
|
|
91
|
+
}>, "theme" | "debug" | "elevation" | "size" | "value" | "children" | "style" | "disabled" | "group" | "onChange" | "className" | "onMouseEnter" | "onMouseLeave" | "onClick" | "role" | `$${string}` | `$${number}` | "id" | "aria-labelledby" | "aria-label" | "hitSlop" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "themeShallow" | "unstyled" | "render" | "untilMeasured" | "componentName" | "tabIndex" | "disableOptimization" | "forceStyle" | "disableClassName" | "animatedBy" | "onStartShouldSetResponder" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onLayout" | "elevationAndroid" | "rel" | "download" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onFocus" | "onBlur" | "onPointerCancel" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerDownCapture" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "accessibilityLabelledBy" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onMouseDown" | "onMouseUp" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onDoubleClick" | "onContextMenu" | "onWheel" | "onKeyDown" | "onKeyUp" | "onInput" | "onBeforeInput" | "onScroll" | "onCopy" | "onCut" | "onPaste" | "onDrag" | "onDragStart" | "onDragEnd" | "onDragEnter" | "onDragLeave" | "onDragOver" | "onDrop" | keyof import("@tamagui/web").StackStyleBase | "fullscreen" | import("@tamagui/web").GroupMediaKeys | "labelledBy" | keyof import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
|
|
92
92
|
disabled?: boolean | undefined;
|
|
93
93
|
unstyled?: boolean | undefined;
|
|
94
94
|
elevation?: number | import("@tamagui/web").SizeTokens | undefined;
|
|
@@ -151,7 +151,7 @@ export declare namespace RadioGroup {
|
|
|
151
151
|
unstyled?: boolean | undefined;
|
|
152
152
|
elevation?: number | import("@tamagui/web").SizeTokens | undefined;
|
|
153
153
|
fullscreen?: boolean | undefined;
|
|
154
|
-
}>, "theme" | "debug" | "elevation" | "children" | "style" | "disabled" | "group" | "onChange" | "className" | "onMouseEnter" | "onMouseLeave" | "onClick" | `$${string}` | `$${number}` | "id" | "
|
|
154
|
+
}>, "theme" | "debug" | "elevation" | "children" | "style" | "disabled" | "group" | "onChange" | "className" | "onMouseEnter" | "onMouseLeave" | "onClick" | "role" | `$${string}` | `$${number}` | "id" | "aria-labelledby" | "aria-label" | "hitSlop" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "themeShallow" | "unstyled" | "render" | "untilMeasured" | "componentName" | "tabIndex" | "disableOptimization" | "forceStyle" | "disableClassName" | "animatedBy" | "onStartShouldSetResponder" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onLayout" | "elevationAndroid" | "rel" | "download" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onFocus" | "onBlur" | "onPointerCancel" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerDownCapture" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "accessibilityLabelledBy" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onMouseDown" | "onMouseUp" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onDoubleClick" | "onContextMenu" | "onWheel" | "onKeyDown" | "onKeyUp" | "onInput" | "onBeforeInput" | "onScroll" | "onCopy" | "onCut" | "onPaste" | "onDrag" | "onDragStart" | "onDragEnd" | "onDragEnter" | "onDragLeave" | "onDragOver" | "onDrop" | keyof import("@tamagui/web").StackStyleBase | "fullscreen" | import("@tamagui/web").GroupMediaKeys | "forceMount" | keyof import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & {
|
|
155
155
|
unstyled?: boolean | undefined;
|
|
156
156
|
elevation?: number | import("@tamagui/web").SizeTokens | undefined;
|
|
157
157
|
fullscreen?: boolean | undefined;
|
|
@@ -92,7 +92,7 @@ export declare namespace ToggleGroup {
|
|
|
92
92
|
unstyled?: boolean | undefined;
|
|
93
93
|
size?: number | import("@tamagui/web").SizeTokens | undefined;
|
|
94
94
|
defaultActiveStyle?: boolean | undefined;
|
|
95
|
-
}>, "theme" | "debug" | "size" | "value" | "children" | "style" | "disabled" | "group" | "onChange" | "className" | "onMouseEnter" | "onMouseLeave" | "onClick" | `$${string}` | `$${number}` | "id" | "
|
|
95
|
+
}>, "theme" | "debug" | "size" | "value" | "children" | "style" | "disabled" | "group" | "onChange" | "className" | "onMouseEnter" | "onMouseLeave" | "onClick" | "role" | `$${string}` | `$${number}` | "id" | "aria-labelledby" | "aria-label" | "hitSlop" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "themeShallow" | "unstyled" | "render" | "untilMeasured" | "componentName" | "tabIndex" | "disableOptimization" | "forceStyle" | "disableClassName" | "animatedBy" | "onFocus" | "onBlur" | "onPointerCancel" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerDownCapture" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "accessibilityLabelledBy" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onMouseDown" | "onMouseUp" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onDoubleClick" | "onContextMenu" | "onWheel" | "onKeyDown" | "onKeyUp" | "onInput" | "onBeforeInput" | "onScroll" | "onCopy" | "onCut" | "onPaste" | "onDrag" | "onDragStart" | "onDragEnd" | "onDragEnter" | "onDragLeave" | "onDragOver" | "onDrop" | keyof import("@tamagui/web").StackStyleBase | import("@tamagui/web").GroupMediaKeys | "activeStyle" | "defaultActiveStyle" | keyof import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase & {
|
|
96
96
|
readonly activeStyle?: Partial<import("@tamagui/web").InferStyleProps<import("tamagui").TamaguiComponent<import("tamagui").ViewProps, import("tamagui").TamaguiElement, import("tamagui").StackNonStyleProps, import("@tamagui/web").StackStyleBase, {}, {}>, {
|
|
97
97
|
accept: {
|
|
98
98
|
readonly activeStyle: "style";
|
|
@@ -15,6 +15,9 @@
|
|
|
15
15
|
* focus INTO the sheet frame on open, keeps Tab cycling within it while
|
|
16
16
|
* open (Tamagui Sheet has no focus scope), and treats focus left inside
|
|
17
17
|
* the closed (offscreen-parked, still-mounted) frame as dropped.
|
|
18
|
+
* - `useDialogShowFocus(onOpenAutoFocus)` — runs a dialog's open focus when
|
|
19
|
+
* the browser's `<dialog>.show()` left focus on an element that is not a
|
|
20
|
+
* tab stop (MPO-470).
|
|
18
21
|
*
|
|
19
22
|
* Capture happens during RENDER, not in an effect: child effects (the Dialog
|
|
20
23
|
* focus scope) run before parent effects, so an effect-time capture would
|
|
@@ -40,4 +43,20 @@ export declare function useReturnFocusOnClose(open: boolean, skipReturnFocusRef?
|
|
|
40
43
|
* dropped).
|
|
41
44
|
*/
|
|
42
45
|
export declare function useSheetModalFocus(open: boolean, frameRef: RefObject<HTMLElement | null>, skipReturnFocusRef?: RefObject<boolean>): void;
|
|
46
|
+
/**
|
|
47
|
+
* Chromium and WebKit's `<dialog>.show()` focuses the first focusable
|
|
48
|
+
* descendant, so a tabIndex -1 surface or field frame takes focus; Firefox and
|
|
49
|
+
* the HTML spec take the first tab stop. Focus is then inside before tamagui's
|
|
50
|
+
* FocusScope checks, and its open auto-focus never fires. When focus sits on
|
|
51
|
+
* something that is not a tab stop, run `onOpenAutoFocus` against the content
|
|
52
|
+
* the way FocusScope would. Call it inside the Dialog. The content is found by
|
|
53
|
+
* its id because FocusScope clones it with its own ref, so a ref passed to
|
|
54
|
+
* `Dialog.Content` never attaches on web. Passive effects run after the
|
|
55
|
+
* portal's layout-effect `show()`, which is why this is not a layout effect.
|
|
56
|
+
*/
|
|
57
|
+
export declare function useDialogShowFocus(onOpenAutoFocus: (event: Event) => void): void;
|
|
58
|
+
/** `useDialogShowFocus` for a caller that renders the Dialog itself. */
|
|
59
|
+
export declare function DialogShowFocus({ onOpenAutoFocus, }: {
|
|
60
|
+
onOpenAutoFocus: (event: Event) => void;
|
|
61
|
+
}): null;
|
|
43
62
|
//# sourceMappingURL=focusManagement.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"focusManagement.d.ts","sourceRoot":"","sources":["../../src/shared/focusManagement.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"focusManagement.d.ts","sourceRoot":"","sources":["../../src/shared/focusManagement.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAEH,OAAO,EAAqB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AA6D1D,8EAA8E;AAC9E,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,OAAO,EAAE,kBAAkB,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,QAM3F;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,OAAO,EACb,QAAQ,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,EACvC,kBAAkB,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,QAqDxC;AAID;;;;;;;;;;GAUG;AACH,wBAAgB,kBAAkB,CAAC,eAAe,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,QAWzE;AAED,wEAAwE;AACxE,wBAAgB,eAAe,CAAC,EAC9B,eAAe,GAChB,EAAE;IACD,eAAe,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CACzC,GAAG,IAAI,CAGP"}
|