@tamagui/demos 1.89.0-1706360676826 → 1.89.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/CheckboxHeadlessDemo.js +54 -0
- package/dist/cjs/CheckboxHeadlessDemo.js.map +6 -0
- package/dist/cjs/CheckboxHeadlessDemo.native.js +59 -0
- package/dist/cjs/CheckboxHeadlessDemo.native.js.map +6 -0
- package/dist/cjs/CheckboxUnstyledDemo.js +52 -0
- package/dist/cjs/CheckboxUnstyledDemo.js.map +6 -0
- package/dist/cjs/CheckboxUnstyledDemo.native.js +58 -0
- package/dist/cjs/CheckboxUnstyledDemo.native.js.map +6 -0
- package/dist/cjs/DialogDemo.js +72 -82
- package/dist/cjs/DialogDemo.js.map +2 -2
- package/dist/cjs/DialogDemo.native.js +72 -82
- package/dist/cjs/DialogDemo.native.js.map +2 -2
- package/dist/cjs/SelectDemo.js +122 -132
- package/dist/cjs/SelectDemo.js.map +1 -1
- package/dist/cjs/SelectDemo.native.js +122 -132
- package/dist/cjs/SelectDemo.native.js.map +1 -1
- package/dist/cjs/SwitchDemo.js +5 -9
- package/dist/cjs/SwitchDemo.js.map +1 -1
- package/dist/cjs/SwitchDemo.native.js +5 -9
- package/dist/cjs/SwitchDemo.native.js.map +1 -1
- package/dist/cjs/SwitchHeadlessDemo.js +79 -0
- package/dist/cjs/SwitchHeadlessDemo.js.map +6 -0
- package/dist/cjs/SwitchHeadlessDemo.native.js +84 -0
- package/dist/cjs/SwitchHeadlessDemo.native.js.map +6 -0
- package/dist/cjs/SwitchUnstyledDemo.js +68 -0
- package/dist/cjs/SwitchUnstyledDemo.js.map +6 -0
- package/dist/cjs/SwitchUnstyledDemo.native.js +74 -0
- package/dist/cjs/SwitchUnstyledDemo.native.js.map +6 -0
- package/dist/cjs/ThemeBuilderDemo.js +17 -17
- package/dist/cjs/ThemeBuilderDemo.native.js +17 -17
- package/dist/cjs/index.js +4 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/index.native.js +8 -0
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/esm/AccordionDemo.native.js +16 -35
- package/dist/esm/AccordionDemo.native.js.map +1 -1
- package/dist/esm/AddThemeDemo.native.js +13 -31
- package/dist/esm/AddThemeDemo.native.js.map +1 -1
- package/dist/esm/AlertDialogDemo.native.js +17 -37
- package/dist/esm/AlertDialogDemo.native.js.map +1 -1
- package/dist/esm/AnimationsDemo.native.js +15 -34
- package/dist/esm/AnimationsDemo.native.js.map +1 -1
- package/dist/esm/AnimationsEnterDemo.native.js +14 -31
- package/dist/esm/AnimationsEnterDemo.native.js.map +1 -1
- package/dist/esm/AnimationsHoverDemo.native.js +8 -27
- package/dist/esm/AnimationsHoverDemo.native.js.map +1 -1
- package/dist/esm/AnimationsPresenceDemo.native.js +21 -44
- package/dist/esm/AnimationsPresenceDemo.native.js.map +2 -2
- package/dist/esm/AnimationsTimingDemo.native.js +8 -27
- package/dist/esm/AnimationsTimingDemo.native.js.map +1 -1
- package/dist/esm/AvatarDemo.native.js +13 -33
- package/dist/esm/AvatarDemo.native.js.map +1 -1
- package/dist/esm/BuildAButtonDemo.native.js +24 -43
- package/dist/esm/BuildAButtonDemo.native.js.map +1 -1
- package/dist/esm/ButtonDemo.native.js +17 -36
- package/dist/esm/ButtonDemo.native.js.map +1 -1
- package/dist/esm/CardDemo.native.js +16 -37
- package/dist/esm/CardDemo.native.js.map +1 -1
- package/dist/esm/CheckboxDemo.native.js +12 -32
- package/dist/esm/CheckboxDemo.native.js.map +2 -2
- package/dist/esm/CheckboxHeadlessDemo.js +43 -0
- package/dist/esm/CheckboxHeadlessDemo.js.map +6 -0
- package/dist/esm/CheckboxHeadlessDemo.mjs +52 -0
- package/dist/esm/CheckboxHeadlessDemo.native.js +43 -0
- package/dist/esm/CheckboxHeadlessDemo.native.js.map +6 -0
- package/dist/esm/CheckboxUnstyledDemo.js +40 -0
- package/dist/esm/CheckboxUnstyledDemo.js.map +6 -0
- package/dist/esm/CheckboxUnstyledDemo.mjs +53 -0
- package/dist/esm/CheckboxUnstyledDemo.native.js +40 -0
- package/dist/esm/CheckboxUnstyledDemo.native.js.map +6 -0
- package/dist/esm/ColorsDemo.native.js +29 -40
- package/dist/esm/ColorsDemo.native.js.map +1 -1
- package/dist/esm/DialogDemo.js +71 -82
- package/dist/esm/DialogDemo.js.map +2 -2
- package/dist/esm/DialogDemo.mjs +2 -7
- package/dist/esm/DialogDemo.native.js +90 -106
- package/dist/esm/DialogDemo.native.js.map +2 -2
- package/dist/esm/FormsDemo.native.js +11 -30
- package/dist/esm/FormsDemo.native.js.map +1 -1
- package/dist/esm/Grid.native.js +11 -37
- package/dist/esm/Grid.native.js.map +2 -2
- package/dist/esm/GroupDemo.native.js +17 -36
- package/dist/esm/GroupDemo.native.js.map +1 -1
- package/dist/esm/HeadingsDemo.native.js +11 -31
- package/dist/esm/HeadingsDemo.native.js.map +1 -1
- package/dist/esm/ImageDemo.native.js +6 -26
- package/dist/esm/ImageDemo.native.js.map +1 -1
- package/dist/esm/InputsDemo.native.js +13 -33
- package/dist/esm/InputsDemo.native.js.map +1 -1
- package/dist/esm/LabelDemo.native.js +11 -31
- package/dist/esm/LabelDemo.native.js.map +1 -1
- package/dist/esm/LinearGradientDemo.native.js +10 -29
- package/dist/esm/LinearGradientDemo.native.js.map +1 -1
- package/dist/esm/ListItemDemo.native.js +22 -41
- package/dist/esm/ListItemDemo.native.js.map +1 -1
- package/dist/esm/LucideIconsDemo.native.js +18 -42
- package/dist/esm/LucideIconsDemo.native.js.map +1 -1
- package/dist/esm/PopoverDemo.native.js +25 -45
- package/dist/esm/PopoverDemo.native.js.map +1 -1
- package/dist/esm/ProgressDemo.native.js +18 -37
- package/dist/esm/ProgressDemo.native.js.map +1 -1
- package/dist/esm/RadioGroupDemo.native.js +11 -32
- package/dist/esm/RadioGroupDemo.native.js.map +1 -1
- package/dist/esm/ReplaceThemeDemo.native.js +22 -32
- package/dist/esm/ReplaceThemeDemo.native.js.map +1 -1
- package/dist/esm/ScrollViewDemo.native.js +15 -35
- package/dist/esm/ScrollViewDemo.native.js.map +1 -1
- package/dist/esm/SelectDemo.js +122 -132
- package/dist/esm/SelectDemo.js.map +1 -1
- package/dist/esm/SelectDemo.mjs +11 -7
- package/dist/esm/SelectDemo.native.js +130 -158
- package/dist/esm/SelectDemo.native.js.map +1 -1
- package/dist/esm/SeparatorDemo.native.js +14 -34
- package/dist/esm/SeparatorDemo.native.js.map +1 -1
- package/dist/esm/ShapesDemo.native.js +7 -27
- package/dist/esm/ShapesDemo.native.js.map +1 -1
- package/dist/esm/SheetDemo.native.js +39 -56
- package/dist/esm/SheetDemo.native.js.map +1 -1
- package/dist/esm/SliderDemo.native.js +10 -30
- package/dist/esm/SliderDemo.native.js.map +1 -1
- package/dist/esm/SpinnerDemo.native.js +7 -27
- package/dist/esm/SpinnerDemo.native.js.map +1 -1
- package/dist/esm/StacksDemo.native.js +22 -42
- package/dist/esm/StacksDemo.native.js.map +1 -1
- package/dist/esm/SwitchDemo.js +5 -9
- package/dist/esm/SwitchDemo.js.map +1 -1
- package/dist/esm/SwitchDemo.mjs +5 -16
- package/dist/esm/SwitchDemo.native.js +19 -44
- package/dist/esm/SwitchDemo.native.js.map +1 -1
- package/dist/esm/SwitchHeadlessDemo.js +67 -0
- package/dist/esm/SwitchHeadlessDemo.js.map +6 -0
- package/dist/esm/SwitchHeadlessDemo.mjs +66 -0
- package/dist/esm/SwitchHeadlessDemo.native.js +67 -0
- package/dist/esm/SwitchHeadlessDemo.native.js.map +6 -0
- package/dist/esm/SwitchUnstyledDemo.js +55 -0
- package/dist/esm/SwitchUnstyledDemo.js.map +6 -0
- package/dist/esm/SwitchUnstyledDemo.mjs +68 -0
- package/dist/esm/SwitchUnstyledDemo.native.js +55 -0
- package/dist/esm/SwitchUnstyledDemo.native.js.map +6 -0
- package/dist/esm/TabsAdvancedDemo.native.js +57 -67
- package/dist/esm/TabsAdvancedDemo.native.js.map +1 -1
- package/dist/esm/TabsDemo.native.js +58 -77
- package/dist/esm/TabsDemo.native.js.map +1 -1
- package/dist/esm/TextDemo.native.js +10 -30
- package/dist/esm/TextDemo.native.js.map +1 -1
- package/dist/esm/ThemeBuilderDemo.js +17 -17
- package/dist/esm/ThemeBuilderDemo.native.js +45 -65
- package/dist/esm/ThemeBuilderDemo.native.js.map +1 -1
- package/dist/esm/ThemeInverseDemo.native.js +15 -35
- package/dist/esm/ThemeInverseDemo.native.js.map +1 -1
- package/dist/esm/ToastDemo.native.js +30 -56
- package/dist/esm/ToastDemo.native.js.map +2 -2
- package/dist/esm/ToastDuplicateDemo.native.js +18 -43
- package/dist/esm/ToastDuplicateDemo.native.js.map +2 -2
- package/dist/esm/ToggleGroupDemo.native.js +20 -39
- package/dist/esm/ToggleGroupDemo.native.js.map +1 -1
- package/dist/esm/TokensDemo.native.js +20 -38
- package/dist/esm/TokensDemo.native.js.map +1 -1
- package/dist/esm/TooltipDemo.native.js +30 -43
- package/dist/esm/TooltipDemo.native.js.map +1 -1
- package/dist/esm/UpdateThemeDemo.native.js +25 -41
- package/dist/esm/UpdateThemeDemo.native.js.map +1 -1
- package/dist/esm/index.js +4 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.mjs +4 -0
- package/dist/esm/index.native.js +53 -115
- package/dist/esm/index.native.js.map +1 -1
- package/dist/esm/tamagui.config.native.js +6 -25
- package/dist/esm/tamagui.config.native.js.map +2 -2
- package/dist/esm/useOnIntersecting.native.js +8 -29
- package/dist/esm/useOnIntersecting.native.js.map +1 -1
- package/dist/jsx/AccordionDemo.native.js +16 -35
- package/dist/jsx/AccordionDemo.native.js.map +1 -1
- package/dist/jsx/AddThemeDemo.native.js +13 -31
- package/dist/jsx/AddThemeDemo.native.js.map +1 -1
- package/dist/jsx/AlertDialogDemo.native.js +17 -37
- package/dist/jsx/AlertDialogDemo.native.js.map +1 -1
- package/dist/jsx/AnimationsDemo.native.js +15 -34
- package/dist/jsx/AnimationsDemo.native.js.map +1 -1
- package/dist/jsx/AnimationsEnterDemo.native.js +14 -31
- package/dist/jsx/AnimationsEnterDemo.native.js.map +1 -1
- package/dist/jsx/AnimationsHoverDemo.native.js +8 -27
- package/dist/jsx/AnimationsHoverDemo.native.js.map +1 -1
- package/dist/jsx/AnimationsPresenceDemo.native.js +21 -44
- package/dist/jsx/AnimationsPresenceDemo.native.js.map +2 -2
- package/dist/jsx/AnimationsTimingDemo.native.js +8 -27
- package/dist/jsx/AnimationsTimingDemo.native.js.map +1 -1
- package/dist/jsx/AvatarDemo.native.js +13 -33
- package/dist/jsx/AvatarDemo.native.js.map +1 -1
- package/dist/jsx/BuildAButtonDemo.native.js +24 -43
- package/dist/jsx/BuildAButtonDemo.native.js.map +1 -1
- package/dist/jsx/ButtonDemo.native.js +17 -36
- package/dist/jsx/ButtonDemo.native.js.map +1 -1
- package/dist/jsx/CardDemo.native.js +16 -37
- package/dist/jsx/CardDemo.native.js.map +1 -1
- package/dist/jsx/CheckboxDemo.native.js +12 -32
- package/dist/jsx/CheckboxDemo.native.js.map +2 -2
- package/dist/jsx/CheckboxHeadlessDemo.js +43 -0
- package/dist/jsx/CheckboxHeadlessDemo.js.map +6 -0
- package/dist/jsx/CheckboxHeadlessDemo.mjs +52 -0
- package/dist/jsx/CheckboxHeadlessDemo.native.js +43 -0
- package/dist/jsx/CheckboxHeadlessDemo.native.js.map +6 -0
- package/dist/jsx/CheckboxUnstyledDemo.js +40 -0
- package/dist/jsx/CheckboxUnstyledDemo.js.map +6 -0
- package/dist/jsx/CheckboxUnstyledDemo.mjs +53 -0
- package/dist/jsx/CheckboxUnstyledDemo.native.js +40 -0
- package/dist/jsx/CheckboxUnstyledDemo.native.js.map +6 -0
- package/dist/jsx/ColorsDemo.native.js +29 -40
- package/dist/jsx/ColorsDemo.native.js.map +1 -1
- package/dist/jsx/DialogDemo.js +71 -82
- package/dist/jsx/DialogDemo.js.map +2 -2
- package/dist/jsx/DialogDemo.mjs +2 -7
- package/dist/jsx/DialogDemo.native.js +90 -106
- package/dist/jsx/DialogDemo.native.js.map +2 -2
- package/dist/jsx/FormsDemo.native.js +11 -30
- package/dist/jsx/FormsDemo.native.js.map +1 -1
- package/dist/jsx/Grid.native.js +11 -37
- package/dist/jsx/Grid.native.js.map +2 -2
- package/dist/jsx/GroupDemo.native.js +17 -36
- package/dist/jsx/GroupDemo.native.js.map +1 -1
- package/dist/jsx/HeadingsDemo.native.js +11 -31
- package/dist/jsx/HeadingsDemo.native.js.map +1 -1
- package/dist/jsx/ImageDemo.native.js +6 -26
- package/dist/jsx/ImageDemo.native.js.map +1 -1
- package/dist/jsx/InputsDemo.native.js +13 -33
- package/dist/jsx/InputsDemo.native.js.map +1 -1
- package/dist/jsx/LabelDemo.native.js +11 -31
- package/dist/jsx/LabelDemo.native.js.map +1 -1
- package/dist/jsx/LinearGradientDemo.native.js +10 -29
- package/dist/jsx/LinearGradientDemo.native.js.map +1 -1
- package/dist/jsx/ListItemDemo.native.js +22 -41
- package/dist/jsx/ListItemDemo.native.js.map +1 -1
- package/dist/jsx/LucideIconsDemo.native.js +18 -42
- package/dist/jsx/LucideIconsDemo.native.js.map +1 -1
- package/dist/jsx/PopoverDemo.native.js +25 -45
- package/dist/jsx/PopoverDemo.native.js.map +1 -1
- package/dist/jsx/ProgressDemo.native.js +18 -37
- package/dist/jsx/ProgressDemo.native.js.map +1 -1
- package/dist/jsx/RadioGroupDemo.native.js +11 -32
- package/dist/jsx/RadioGroupDemo.native.js.map +1 -1
- package/dist/jsx/ReplaceThemeDemo.native.js +22 -32
- package/dist/jsx/ReplaceThemeDemo.native.js.map +1 -1
- package/dist/jsx/ScrollViewDemo.native.js +15 -35
- package/dist/jsx/ScrollViewDemo.native.js.map +1 -1
- package/dist/jsx/SelectDemo.js +122 -132
- package/dist/jsx/SelectDemo.js.map +1 -1
- package/dist/jsx/SelectDemo.mjs +11 -7
- package/dist/jsx/SelectDemo.native.js +130 -158
- package/dist/jsx/SelectDemo.native.js.map +1 -1
- package/dist/jsx/SeparatorDemo.native.js +14 -34
- package/dist/jsx/SeparatorDemo.native.js.map +1 -1
- package/dist/jsx/ShapesDemo.native.js +7 -27
- package/dist/jsx/ShapesDemo.native.js.map +1 -1
- package/dist/jsx/SheetDemo.native.js +39 -56
- package/dist/jsx/SheetDemo.native.js.map +1 -1
- package/dist/jsx/SliderDemo.native.js +10 -30
- package/dist/jsx/SliderDemo.native.js.map +1 -1
- package/dist/jsx/SpinnerDemo.native.js +7 -27
- package/dist/jsx/SpinnerDemo.native.js.map +1 -1
- package/dist/jsx/StacksDemo.native.js +22 -42
- package/dist/jsx/StacksDemo.native.js.map +1 -1
- package/dist/jsx/SwitchDemo.js +5 -9
- package/dist/jsx/SwitchDemo.js.map +1 -1
- package/dist/jsx/SwitchDemo.mjs +5 -16
- package/dist/jsx/SwitchDemo.native.js +19 -44
- package/dist/jsx/SwitchDemo.native.js.map +1 -1
- package/dist/jsx/SwitchHeadlessDemo.js +67 -0
- package/dist/jsx/SwitchHeadlessDemo.js.map +6 -0
- package/dist/jsx/SwitchHeadlessDemo.mjs +66 -0
- package/dist/jsx/SwitchHeadlessDemo.native.js +67 -0
- package/dist/jsx/SwitchHeadlessDemo.native.js.map +6 -0
- package/dist/jsx/SwitchUnstyledDemo.js +55 -0
- package/dist/jsx/SwitchUnstyledDemo.js.map +6 -0
- package/dist/jsx/SwitchUnstyledDemo.mjs +68 -0
- package/dist/jsx/SwitchUnstyledDemo.native.js +55 -0
- package/dist/jsx/SwitchUnstyledDemo.native.js.map +6 -0
- package/dist/jsx/TabsAdvancedDemo.native.js +57 -67
- package/dist/jsx/TabsAdvancedDemo.native.js.map +1 -1
- package/dist/jsx/TabsDemo.native.js +58 -77
- package/dist/jsx/TabsDemo.native.js.map +1 -1
- package/dist/jsx/TextDemo.native.js +10 -30
- package/dist/jsx/TextDemo.native.js.map +1 -1
- package/dist/jsx/ThemeBuilderDemo.js +17 -17
- package/dist/jsx/ThemeBuilderDemo.native.js +45 -65
- package/dist/jsx/ThemeBuilderDemo.native.js.map +1 -1
- package/dist/jsx/ThemeInverseDemo.native.js +15 -35
- package/dist/jsx/ThemeInverseDemo.native.js.map +1 -1
- package/dist/jsx/ToastDemo.native.js +30 -56
- package/dist/jsx/ToastDemo.native.js.map +2 -2
- package/dist/jsx/ToastDuplicateDemo.native.js +18 -43
- package/dist/jsx/ToastDuplicateDemo.native.js.map +2 -2
- package/dist/jsx/ToggleGroupDemo.native.js +20 -39
- package/dist/jsx/ToggleGroupDemo.native.js.map +1 -1
- package/dist/jsx/TokensDemo.native.js +20 -38
- package/dist/jsx/TokensDemo.native.js.map +1 -1
- package/dist/jsx/TooltipDemo.native.js +30 -43
- package/dist/jsx/TooltipDemo.native.js.map +1 -1
- package/dist/jsx/UpdateThemeDemo.native.js +25 -41
- package/dist/jsx/UpdateThemeDemo.native.js.map +1 -1
- package/dist/jsx/index.js +4 -0
- package/dist/jsx/index.js.map +1 -1
- package/dist/jsx/index.mjs +4 -0
- package/dist/jsx/index.native.js +53 -115
- package/dist/jsx/index.native.js.map +1 -1
- package/dist/jsx/tamagui.config.native.js +6 -25
- package/dist/jsx/tamagui.config.native.js.map +2 -2
- package/dist/jsx/useOnIntersecting.native.js +8 -29
- package/dist/jsx/useOnIntersecting.native.js.map +1 -1
- package/package.json +18 -18
- package/src/CheckboxHeadlessDemo.tsx +47 -0
- package/src/CheckboxUnstyledDemo.tsx +49 -0
- package/src/DialogDemo.tsx +3 -11
- package/src/SelectDemo.tsx +8 -14
- package/src/SwitchDemo.tsx +5 -9
- package/src/SwitchHeadlessDemo.tsx +73 -0
- package/src/SwitchUnstyledDemo.tsx +63 -0
- package/src/ThemeBuilderDemo.tsx +17 -17
- package/src/index.tsx +4 -0
- package/types/CheckboxHeadlessDemo.d.ts +3 -0
- package/types/CheckboxHeadlessDemo.d.ts.map +1 -0
- package/types/CheckboxUnstyledDemo.d.ts +157 -0
- package/types/CheckboxUnstyledDemo.d.ts.map +1 -0
- package/types/DialogDemo.d.ts.map +1 -1
- package/types/SelectDemo.d.ts.map +1 -1
- package/types/SwitchDemo.d.ts.map +1 -1
- package/types/SwitchHeadlessDemo.d.ts +3 -0
- package/types/SwitchHeadlessDemo.d.ts.map +1 -0
- package/types/SwitchUnstyledDemo.d.ts +111 -0
- package/types/SwitchUnstyledDemo.d.ts.map +1 -0
- package/types/index.d.ts +4 -0
- package/types/index.d.ts.map +1 -1
package/src/DialogDemo.tsx
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { X } from '@tamagui/lucide-icons'
|
|
2
|
-
import { useState } from 'react'
|
|
3
2
|
import {
|
|
4
3
|
Adapt,
|
|
5
4
|
Button,
|
|
@@ -21,15 +20,8 @@ export function DialogDemo() {
|
|
|
21
20
|
}
|
|
22
21
|
|
|
23
22
|
function DialogInstance() {
|
|
24
|
-
const [open, setOpen] = useState(false)
|
|
25
|
-
|
|
26
23
|
return (
|
|
27
|
-
<Dialog
|
|
28
|
-
modal
|
|
29
|
-
onOpenChange={(open) => {
|
|
30
|
-
setOpen(open)
|
|
31
|
-
}}
|
|
32
|
-
>
|
|
24
|
+
<Dialog modal>
|
|
33
25
|
<Dialog.Trigger asChild>
|
|
34
26
|
<Button>Show Dialog</Button>
|
|
35
27
|
</Dialog.Trigger>
|
|
@@ -50,7 +42,7 @@ function DialogInstance() {
|
|
|
50
42
|
<Dialog.Portal>
|
|
51
43
|
<Dialog.Overlay
|
|
52
44
|
key="overlay"
|
|
53
|
-
animation="
|
|
45
|
+
animation="slow"
|
|
54
46
|
opacity={0.5}
|
|
55
47
|
enterStyle={{ opacity: 0 }}
|
|
56
48
|
exitStyle={{ opacity: 0 }}
|
|
@@ -62,7 +54,7 @@ function DialogInstance() {
|
|
|
62
54
|
key="content"
|
|
63
55
|
animateOnly={['transform', 'opacity']}
|
|
64
56
|
animation={[
|
|
65
|
-
'
|
|
57
|
+
'quicker',
|
|
66
58
|
{
|
|
67
59
|
opacity: {
|
|
68
60
|
overshootClamping: true,
|
package/src/SelectDemo.tsx
CHANGED
|
@@ -6,19 +6,19 @@ import { LinearGradient } from 'tamagui/linear-gradient'
|
|
|
6
6
|
|
|
7
7
|
export function SelectDemo() {
|
|
8
8
|
return (
|
|
9
|
-
<YStack
|
|
10
|
-
<XStack ai="center"
|
|
11
|
-
<Label f={1}
|
|
9
|
+
<YStack gap="$4">
|
|
10
|
+
<XStack ai="center" gap="$4">
|
|
11
|
+
<Label htmlFor="select-demo-1" f={1} miw={80}>
|
|
12
12
|
Custom
|
|
13
13
|
</Label>
|
|
14
|
-
<SelectDemoItem />
|
|
14
|
+
<SelectDemoItem id="select-demo-1" />
|
|
15
15
|
</XStack>
|
|
16
16
|
|
|
17
|
-
<XStack ai="center"
|
|
18
|
-
<Label f={1}
|
|
17
|
+
<XStack ai="center" gap="$4">
|
|
18
|
+
<Label htmlFor="select-demo-2" f={1} miw={80}>
|
|
19
19
|
Native
|
|
20
20
|
</Label>
|
|
21
|
-
<SelectDemoItem native />
|
|
21
|
+
<SelectDemoItem id="select-demo-2" native />
|
|
22
22
|
</XStack>
|
|
23
23
|
</YStack>
|
|
24
24
|
)
|
|
@@ -28,13 +28,7 @@ export function SelectDemoItem(props: SelectProps) {
|
|
|
28
28
|
const [val, setVal] = useState('apple')
|
|
29
29
|
|
|
30
30
|
return (
|
|
31
|
-
<Select
|
|
32
|
-
id="food"
|
|
33
|
-
value={val}
|
|
34
|
-
onValueChange={setVal}
|
|
35
|
-
disablePreventBodyScroll
|
|
36
|
-
{...props}
|
|
37
|
-
>
|
|
31
|
+
<Select value={val} onValueChange={setVal} disablePreventBodyScroll {...props}>
|
|
38
32
|
<Select.Trigger width={220} iconAfter={ChevronDown}>
|
|
39
33
|
<Select.Value placeholder="Something" />
|
|
40
34
|
</Select.Trigger>
|
package/src/SwitchDemo.tsx
CHANGED
|
@@ -3,23 +3,19 @@ import { Label, Separator, Switch, XStack, YStack, styled } from 'tamagui'
|
|
|
3
3
|
|
|
4
4
|
export function SwitchDemo() {
|
|
5
5
|
return (
|
|
6
|
-
<YStack width={200} alignItems="center"
|
|
7
|
-
<XStack
|
|
6
|
+
<YStack width={200} alignItems="center" gap="$3">
|
|
7
|
+
<XStack gap="$3" $xs={{ flexDirection: 'column' }}>
|
|
8
8
|
<SwitchWithLabel size="$2" />
|
|
9
9
|
<SwitchWithLabel size="$2" defaultChecked />
|
|
10
10
|
</XStack>
|
|
11
|
-
<XStack
|
|
11
|
+
<XStack gap="$3" $xs={{ flexDirection: 'column' }}>
|
|
12
12
|
<SwitchWithLabel size="$3" />
|
|
13
13
|
<SwitchWithLabel size="$3" defaultChecked />
|
|
14
14
|
</XStack>
|
|
15
|
-
<XStack
|
|
15
|
+
<XStack gap="$3" $xs={{ flexDirection: 'column' }}>
|
|
16
16
|
<SwitchWithLabel size="$4" />
|
|
17
17
|
<SwitchWithLabel size="$4" defaultChecked />
|
|
18
18
|
</XStack>
|
|
19
|
-
<XStack space="$3" $xs={{ flexDirection: 'column' }}>
|
|
20
|
-
<SwitchWithLabel size="$5" />
|
|
21
|
-
<SwitchWithLabel size="$5" defaultChecked />
|
|
22
|
-
</XStack>
|
|
23
19
|
</YStack>
|
|
24
20
|
)
|
|
25
21
|
}
|
|
@@ -27,7 +23,7 @@ export function SwitchDemo() {
|
|
|
27
23
|
export function SwitchWithLabel(props: { size: SizeTokens; defaultChecked?: boolean }) {
|
|
28
24
|
const id = `switch-${props.size.toString().slice(1)}-${props.defaultChecked ?? ''}}`
|
|
29
25
|
return (
|
|
30
|
-
<XStack width={200} alignItems="center"
|
|
26
|
+
<XStack width={200} alignItems="center" gap="$4">
|
|
31
27
|
<Label
|
|
32
28
|
paddingRight="$0"
|
|
33
29
|
minWidth={90}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import type { SwitchProps as SwitchHeadlessProps } from '@tamagui/switch-headless'
|
|
2
|
+
import { useSwitch } from '@tamagui/switch-headless'
|
|
3
|
+
import { forwardRef, useEffect, useRef, useState } from 'react'
|
|
4
|
+
import type { View } from 'react-native'
|
|
5
|
+
import { Animated, Pressable } from 'react-native'
|
|
6
|
+
import { Label, XStack, YStack } from 'tamagui'
|
|
7
|
+
|
|
8
|
+
export function SwitchHeadlessDemo() {
|
|
9
|
+
return (
|
|
10
|
+
<YStack width={200} alignItems="center" space="$3">
|
|
11
|
+
<XStack space="$3" alignItems="center">
|
|
12
|
+
<Label htmlFor="headless">Headless</Label>
|
|
13
|
+
<HeadlessSwitch defaultChecked id="headless" />
|
|
14
|
+
</XStack>
|
|
15
|
+
</YStack>
|
|
16
|
+
)
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
const HeadlessSwitch = forwardRef<View, SwitchHeadlessProps>((props, ref) => {
|
|
20
|
+
const [checked, setChecked] = useState(props.defaultChecked || false)
|
|
21
|
+
const { switchProps, switchRef, bubbleInput } = useSwitch(
|
|
22
|
+
props,
|
|
23
|
+
[checked, setChecked],
|
|
24
|
+
ref
|
|
25
|
+
)
|
|
26
|
+
|
|
27
|
+
const animation = useRef(new Animated.Value(checked ? 1 : 0)).current
|
|
28
|
+
|
|
29
|
+
useEffect(() => {
|
|
30
|
+
Animated.timing(animation, {
|
|
31
|
+
toValue: checked ? 1 : 0,
|
|
32
|
+
duration: 100,
|
|
33
|
+
useNativeDriver: true,
|
|
34
|
+
}).start()
|
|
35
|
+
}, [checked])
|
|
36
|
+
|
|
37
|
+
return (
|
|
38
|
+
<>
|
|
39
|
+
<Pressable
|
|
40
|
+
style={{
|
|
41
|
+
width: 40,
|
|
42
|
+
height: 20,
|
|
43
|
+
borderRadius: 100,
|
|
44
|
+
backgroundColor: checked ? 'lightblue' : 'silver',
|
|
45
|
+
}}
|
|
46
|
+
ref={switchRef}
|
|
47
|
+
{...switchProps}
|
|
48
|
+
>
|
|
49
|
+
<Animated.View
|
|
50
|
+
style={[
|
|
51
|
+
{
|
|
52
|
+
backgroundColor: 'black',
|
|
53
|
+
borderRadius: 100,
|
|
54
|
+
width: 20,
|
|
55
|
+
height: 20,
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
transform: [
|
|
59
|
+
{
|
|
60
|
+
translateX: animation.interpolate({
|
|
61
|
+
inputRange: [0, 1],
|
|
62
|
+
outputRange: [0, 20],
|
|
63
|
+
}),
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
},
|
|
67
|
+
]}
|
|
68
|
+
/>
|
|
69
|
+
</Pressable>
|
|
70
|
+
{bubbleInput}
|
|
71
|
+
</>
|
|
72
|
+
)
|
|
73
|
+
})
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { Stack, styled } from '@tamagui/core'
|
|
2
|
+
import { SwitchStyledContext, createSwitch } from '@tamagui/switch'
|
|
3
|
+
import { Label, XStack, YStack } from 'tamagui'
|
|
4
|
+
|
|
5
|
+
const Frame = styled(Stack, {
|
|
6
|
+
context: SwitchStyledContext,
|
|
7
|
+
width: 40,
|
|
8
|
+
height: 20,
|
|
9
|
+
borderRadius: 20,
|
|
10
|
+
variants: {
|
|
11
|
+
checked: {
|
|
12
|
+
true: {
|
|
13
|
+
backgroundColor: 'lightblue',
|
|
14
|
+
},
|
|
15
|
+
false: {
|
|
16
|
+
backgroundColor: 'silver',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
} as const,
|
|
20
|
+
defaultVariants: {
|
|
21
|
+
checked: false,
|
|
22
|
+
},
|
|
23
|
+
})
|
|
24
|
+
|
|
25
|
+
const Thumb = styled(Stack, {
|
|
26
|
+
context: SwitchStyledContext,
|
|
27
|
+
width: 20,
|
|
28
|
+
height: 20,
|
|
29
|
+
backgroundColor: 'black',
|
|
30
|
+
borderRadius: 20,
|
|
31
|
+
|
|
32
|
+
variants: {
|
|
33
|
+
checked: {
|
|
34
|
+
true: {
|
|
35
|
+
opacity: 0.8,
|
|
36
|
+
},
|
|
37
|
+
false: {
|
|
38
|
+
opacity: 0.5,
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
} as const,
|
|
42
|
+
})
|
|
43
|
+
|
|
44
|
+
// TODO: remove ts-ignores
|
|
45
|
+
export const Switch = createSwitch({
|
|
46
|
+
// @ts-ignore
|
|
47
|
+
Frame,
|
|
48
|
+
// @ts-ignore
|
|
49
|
+
Thumb,
|
|
50
|
+
})
|
|
51
|
+
|
|
52
|
+
export function SwitchUnstyledDemo() {
|
|
53
|
+
return (
|
|
54
|
+
<YStack width={200} alignItems="center" space="$3">
|
|
55
|
+
<XStack space="$3" alignItems="center">
|
|
56
|
+
<Label htmlFor="unstyled-switch">Unstyled</Label>
|
|
57
|
+
<Switch defaultChecked id="unstyled-switch">
|
|
58
|
+
<Switch.Thumb animation="quick" />
|
|
59
|
+
</Switch>
|
|
60
|
+
</XStack>
|
|
61
|
+
</YStack>
|
|
62
|
+
)
|
|
63
|
+
}
|
package/src/ThemeBuilderDemo.tsx
CHANGED
|
@@ -5,23 +5,23 @@ export function ThemeBuilderDemo() {
|
|
|
5
5
|
return (
|
|
6
6
|
<YStack fullscreen ov="hidden">
|
|
7
7
|
<XStack mah={200} y={-100} x={-50} rotate="-10deg">
|
|
8
|
-
<Col y={35}
|
|
9
|
-
<Col size="$8" y={30}
|
|
10
|
-
<Col size="$6" y={-50}
|
|
11
|
-
<Col size="$4"
|
|
12
|
-
<Col size="$2"
|
|
13
|
-
<Col size="$4" y={50}
|
|
14
|
-
<Col size="$6" y={80}
|
|
15
|
-
<Col size="$8"
|
|
16
|
-
<Col
|
|
17
|
-
<Col size="$8"
|
|
18
|
-
<Col size="$6" y={80}
|
|
19
|
-
<Col size="$4" y={50}
|
|
20
|
-
<Col size="$2"
|
|
21
|
-
<Col size="$4"
|
|
22
|
-
<Col size="$6" y={-50}
|
|
23
|
-
<Col size="$8" y={30}
|
|
24
|
-
<Col y={35}
|
|
8
|
+
<Col y={35} bg="$color9" />
|
|
9
|
+
<Col size="$8" y={30} bg="$color7" />
|
|
10
|
+
<Col size="$6" y={-50} bg="$color5" />
|
|
11
|
+
<Col size="$4" bg="$color3" />
|
|
12
|
+
<Col size="$2" bg="$color1" />
|
|
13
|
+
<Col size="$4" y={50} bg="$color3" />
|
|
14
|
+
<Col size="$6" y={80} bg="$color5" />
|
|
15
|
+
<Col size="$8" bg="$color7" />
|
|
16
|
+
<Col bg="$color9" />
|
|
17
|
+
<Col size="$8" bg="$color7" />
|
|
18
|
+
<Col size="$6" y={80} bg="$color5" />
|
|
19
|
+
<Col size="$4" y={50} bg="$color3" />
|
|
20
|
+
<Col size="$2" bg="$color1" />
|
|
21
|
+
<Col size="$4" bg="$color3" />
|
|
22
|
+
<Col size="$6" y={-50} bg="$color5" />
|
|
23
|
+
<Col size="$8" y={30} bg="$color7" />
|
|
24
|
+
<Col y={35} bg="$color9" />
|
|
25
25
|
</XStack>
|
|
26
26
|
</YStack>
|
|
27
27
|
)
|
package/src/index.tsx
CHANGED
|
@@ -12,6 +12,8 @@ export * from './ButtonDemo'
|
|
|
12
12
|
export * from './ThemeBuilderDemo'
|
|
13
13
|
export * from './CardDemo'
|
|
14
14
|
export * from './CheckboxDemo'
|
|
15
|
+
export * from './CheckboxHeadlessDemo'
|
|
16
|
+
export * from './CheckboxUnstyledDemo'
|
|
15
17
|
export * from './ColorsDemo'
|
|
16
18
|
export * from './DialogDemo'
|
|
17
19
|
export * from './FormsDemo'
|
|
@@ -36,6 +38,8 @@ export * from './SliderDemo'
|
|
|
36
38
|
export * from './SpinnerDemo'
|
|
37
39
|
export * from './StacksDemo'
|
|
38
40
|
export * from './SwitchDemo'
|
|
41
|
+
export * from './SwitchHeadlessDemo'
|
|
42
|
+
export * from './SwitchUnstyledDemo'
|
|
39
43
|
export * from './TabsAdvancedDemo'
|
|
40
44
|
export * from './TabsDemo'
|
|
41
45
|
export * from './TextDemo'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CheckboxHeadlessDemo.d.ts","sourceRoot":"","sources":["../src/CheckboxHeadlessDemo.tsx"],"names":[],"mappings":";AAQA,wBAAgB,oBAAoB,gBAUnC"}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Checkbox: import("react").ForwardRefExoticComponent<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
3
|
+
size?: import("tamagui").SizeTokens | undefined;
|
|
4
|
+
unstyled?: boolean | undefined;
|
|
5
|
+
disabled?: boolean | undefined;
|
|
6
|
+
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
7
|
+
transparent?: boolean | undefined;
|
|
8
|
+
fullscreen?: boolean | undefined;
|
|
9
|
+
circular?: boolean | undefined;
|
|
10
|
+
hoverTheme?: boolean | undefined;
|
|
11
|
+
pressTheme?: boolean | undefined;
|
|
12
|
+
focusTheme?: boolean | undefined;
|
|
13
|
+
elevate?: boolean | undefined;
|
|
14
|
+
bordered?: number | boolean | undefined;
|
|
15
|
+
backgrounded?: boolean | undefined;
|
|
16
|
+
radiused?: boolean | undefined;
|
|
17
|
+
padded?: boolean | undefined;
|
|
18
|
+
chromeless?: boolean | "all" | undefined;
|
|
19
|
+
}>, "borderColor" | "outlineColor" | "shadowColor" | "native" | "display" | "x" | "y" | "perspective" | "scale" | "scaleX" | "scaleY" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "contain" | "touchAction" | "cursor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "pointerEvents" | "userSelect" | "space" | "spaceDirection" | "separator" | "animation" | "animateOnly" | "transformOrigin" | "backfaceVisibility" | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "end" | "flex" | "flexBasis" | "flexDirection" | "rowGap" | "gap" | "columnGap" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "position" | "right" | "start" | "top" | "width" | "zIndex" | "direction" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "children" | "style" | "hitSlop" | "id" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "needsOffscreenAlphaCompositing" | "renderToHardwareTextureAndroid" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxProperties" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-labelledby" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-live" | "aria-modal" | "role" | "accessibilityLiveRegion" | "accessibilityLabelledBy" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "theme" | "target" | "asChild" | "dangerouslySetInnerHTML" | "debug" | "disabled" | "className" | "themeShallow" | "themeInverse" | "tag" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "disableOptimization" | "forceStyle" | "disableClassName" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onHoverIn" | "onHoverOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onFocus" | "onBlur" | "hoverStyle" | "pressStyle" | "focusStyle" | "exitStyle" | "enterStyle" | "value" | "name" | "scaleIcon" | "checked" | "defaultChecked" | "required" | "onCheckedChange" | "labelledBy" | "scaleSize" | "sizeAdjust" | `$${string}` | `$${number}` | `$theme-${string}` | `$theme-${number}`> & import("tamagui").StackNonStyleProps & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {}>> & import("@tamagui/checkbox-headless").CheckboxExtraProps & {
|
|
20
|
+
scaleIcon?: number | undefined;
|
|
21
|
+
scaleSize?: number | undefined;
|
|
22
|
+
sizeAdjust?: number | undefined;
|
|
23
|
+
native?: import("tamagui").NativeValue<"web"> | undefined;
|
|
24
|
+
} & import("react").RefAttributes<import("tamagui").TamaguiElement>> & import("@tamagui/core").StaticComponentObject<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
25
|
+
size?: import("tamagui").SizeTokens | undefined;
|
|
26
|
+
unstyled?: boolean | undefined;
|
|
27
|
+
disabled?: boolean | undefined;
|
|
28
|
+
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
29
|
+
transparent?: boolean | undefined;
|
|
30
|
+
fullscreen?: boolean | undefined;
|
|
31
|
+
circular?: boolean | undefined;
|
|
32
|
+
hoverTheme?: boolean | undefined;
|
|
33
|
+
pressTheme?: boolean | undefined;
|
|
34
|
+
focusTheme?: boolean | undefined;
|
|
35
|
+
elevate?: boolean | undefined;
|
|
36
|
+
bordered?: number | boolean | undefined;
|
|
37
|
+
backgrounded?: boolean | undefined;
|
|
38
|
+
radiused?: boolean | undefined;
|
|
39
|
+
padded?: boolean | undefined;
|
|
40
|
+
chromeless?: boolean | "all" | undefined;
|
|
41
|
+
}>, "borderColor" | "outlineColor" | "shadowColor" | "native" | "display" | "x" | "y" | "perspective" | "scale" | "scaleX" | "scaleY" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "contain" | "touchAction" | "cursor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "pointerEvents" | "userSelect" | "space" | "spaceDirection" | "separator" | "animation" | "animateOnly" | "transformOrigin" | "backfaceVisibility" | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "end" | "flex" | "flexBasis" | "flexDirection" | "rowGap" | "gap" | "columnGap" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "position" | "right" | "start" | "top" | "width" | "zIndex" | "direction" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "children" | "style" | "hitSlop" | "id" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "needsOffscreenAlphaCompositing" | "renderToHardwareTextureAndroid" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxProperties" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-labelledby" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-live" | "aria-modal" | "role" | "accessibilityLiveRegion" | "accessibilityLabelledBy" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "theme" | "target" | "asChild" | "dangerouslySetInnerHTML" | "debug" | "disabled" | "className" | "themeShallow" | "themeInverse" | "tag" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "disableOptimization" | "forceStyle" | "disableClassName" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onHoverIn" | "onHoverOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onFocus" | "onBlur" | "hoverStyle" | "pressStyle" | "focusStyle" | "exitStyle" | "enterStyle" | "value" | "name" | "scaleIcon" | "checked" | "defaultChecked" | "required" | "onCheckedChange" | "labelledBy" | "scaleSize" | "sizeAdjust" | `$${string}` | `$${number}` | `$theme-${string}` | `$theme-${number}`> & import("tamagui").StackNonStyleProps & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {}>> & import("@tamagui/checkbox-headless").CheckboxExtraProps & {
|
|
42
|
+
scaleIcon?: number | undefined;
|
|
43
|
+
scaleSize?: number | undefined;
|
|
44
|
+
sizeAdjust?: number | undefined;
|
|
45
|
+
native?: import("tamagui").NativeValue<"web"> | undefined;
|
|
46
|
+
}, import("tamagui").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & import("tamagui").StackNonStyleProps & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {}>> & import("@tamagui/checkbox-headless").CheckboxExtraProps & {
|
|
47
|
+
scaleIcon?: number | undefined;
|
|
48
|
+
scaleSize?: number | undefined;
|
|
49
|
+
sizeAdjust?: number | undefined;
|
|
50
|
+
native?: import("tamagui").NativeValue<"web"> | undefined;
|
|
51
|
+
}, import("@tamagui/core").StackStyleBase, {
|
|
52
|
+
size?: import("tamagui").SizeTokens | undefined;
|
|
53
|
+
unstyled?: boolean | undefined;
|
|
54
|
+
disabled?: boolean | undefined;
|
|
55
|
+
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
56
|
+
transparent?: boolean | undefined;
|
|
57
|
+
fullscreen?: boolean | undefined;
|
|
58
|
+
circular?: boolean | undefined;
|
|
59
|
+
hoverTheme?: boolean | undefined;
|
|
60
|
+
pressTheme?: boolean | undefined;
|
|
61
|
+
focusTheme?: boolean | undefined;
|
|
62
|
+
elevate?: boolean | undefined;
|
|
63
|
+
bordered?: number | boolean | undefined;
|
|
64
|
+
backgrounded?: boolean | undefined;
|
|
65
|
+
radiused?: boolean | undefined;
|
|
66
|
+
padded?: boolean | undefined;
|
|
67
|
+
chromeless?: boolean | "all" | undefined;
|
|
68
|
+
}, import("@tamagui/core").StaticConfigPublic> & Omit<import("@tamagui/core").StaticConfigPublic, "staticConfig" | "extractable" | "styleable"> & {
|
|
69
|
+
__tama: [Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
70
|
+
size?: import("tamagui").SizeTokens | undefined;
|
|
71
|
+
unstyled?: boolean | undefined;
|
|
72
|
+
disabled?: boolean | undefined;
|
|
73
|
+
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
74
|
+
transparent?: boolean | undefined;
|
|
75
|
+
fullscreen?: boolean | undefined;
|
|
76
|
+
circular?: boolean | undefined;
|
|
77
|
+
hoverTheme?: boolean | undefined;
|
|
78
|
+
pressTheme?: boolean | undefined;
|
|
79
|
+
focusTheme?: boolean | undefined;
|
|
80
|
+
elevate?: boolean | undefined;
|
|
81
|
+
bordered?: number | boolean | undefined;
|
|
82
|
+
backgrounded?: boolean | undefined;
|
|
83
|
+
radiused?: boolean | undefined;
|
|
84
|
+
padded?: boolean | undefined;
|
|
85
|
+
chromeless?: boolean | "all" | undefined;
|
|
86
|
+
}>, "borderColor" | "outlineColor" | "shadowColor" | "native" | "display" | "x" | "y" | "perspective" | "scale" | "scaleX" | "scaleY" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "contain" | "touchAction" | "cursor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "pointerEvents" | "userSelect" | "space" | "spaceDirection" | "separator" | "animation" | "animateOnly" | "transformOrigin" | "backfaceVisibility" | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "end" | "flex" | "flexBasis" | "flexDirection" | "rowGap" | "gap" | "columnGap" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "position" | "right" | "start" | "top" | "width" | "zIndex" | "direction" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "children" | "style" | "hitSlop" | "id" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "needsOffscreenAlphaCompositing" | "renderToHardwareTextureAndroid" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxProperties" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-labelledby" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-live" | "aria-modal" | "role" | "accessibilityLiveRegion" | "accessibilityLabelledBy" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "theme" | "target" | "asChild" | "dangerouslySetInnerHTML" | "debug" | "disabled" | "className" | "themeShallow" | "themeInverse" | "tag" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "disableOptimization" | "forceStyle" | "disableClassName" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onHoverIn" | "onHoverOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onFocus" | "onBlur" | "hoverStyle" | "pressStyle" | "focusStyle" | "exitStyle" | "enterStyle" | "value" | "name" | "scaleIcon" | "checked" | "defaultChecked" | "required" | "onCheckedChange" | "labelledBy" | "scaleSize" | "sizeAdjust" | `$${string}` | `$${number}` | `$theme-${string}` | `$theme-${number}`> & import("tamagui").StackNonStyleProps & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {}>> & import("@tamagui/checkbox-headless").CheckboxExtraProps & {
|
|
87
|
+
scaleIcon?: number | undefined;
|
|
88
|
+
scaleSize?: number | undefined;
|
|
89
|
+
sizeAdjust?: number | undefined;
|
|
90
|
+
native?: import("tamagui").NativeValue<"web"> | undefined;
|
|
91
|
+
}, import("tamagui").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & import("tamagui").StackNonStyleProps & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {}>> & import("@tamagui/checkbox-headless").CheckboxExtraProps & {
|
|
92
|
+
scaleIcon?: number | undefined;
|
|
93
|
+
scaleSize?: number | undefined;
|
|
94
|
+
sizeAdjust?: number | undefined;
|
|
95
|
+
native?: import("tamagui").NativeValue<"web"> | undefined;
|
|
96
|
+
}, import("@tamagui/core").StackStyleBase, {
|
|
97
|
+
size?: import("tamagui").SizeTokens | undefined;
|
|
98
|
+
unstyled?: boolean | undefined;
|
|
99
|
+
disabled?: boolean | undefined;
|
|
100
|
+
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
101
|
+
transparent?: boolean | undefined;
|
|
102
|
+
fullscreen?: boolean | undefined;
|
|
103
|
+
circular?: boolean | undefined;
|
|
104
|
+
hoverTheme?: boolean | undefined;
|
|
105
|
+
pressTheme?: boolean | undefined;
|
|
106
|
+
focusTheme?: boolean | undefined;
|
|
107
|
+
elevate?: boolean | undefined;
|
|
108
|
+
bordered?: number | boolean | undefined;
|
|
109
|
+
backgrounded?: boolean | undefined;
|
|
110
|
+
radiused?: boolean | undefined;
|
|
111
|
+
padded?: boolean | undefined;
|
|
112
|
+
chromeless?: boolean | "all" | undefined;
|
|
113
|
+
}, import("@tamagui/core").StaticConfigPublic];
|
|
114
|
+
} & {
|
|
115
|
+
Indicator: import("tamagui").TamaguiComponent<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
116
|
+
unstyled?: boolean | undefined;
|
|
117
|
+
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
118
|
+
transparent?: boolean | undefined;
|
|
119
|
+
fullscreen?: boolean | undefined;
|
|
120
|
+
circular?: boolean | undefined;
|
|
121
|
+
hoverTheme?: boolean | undefined;
|
|
122
|
+
pressTheme?: boolean | undefined;
|
|
123
|
+
focusTheme?: boolean | undefined;
|
|
124
|
+
elevate?: boolean | undefined;
|
|
125
|
+
bordered?: number | boolean | undefined;
|
|
126
|
+
backgrounded?: boolean | undefined;
|
|
127
|
+
radiused?: boolean | undefined;
|
|
128
|
+
padded?: boolean | undefined;
|
|
129
|
+
chromeless?: boolean | "all" | undefined;
|
|
130
|
+
}>, keyof import("@tamagui/core").StackStyleBase | keyof import("tamagui").StackNonStyleProps | keyof import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> | `$${string}` | `$${number}` | `$theme-${string}` | `$theme-${number}` | keyof {
|
|
131
|
+
forceMount?: boolean | undefined;
|
|
132
|
+
disablePassStyles?: boolean | undefined;
|
|
133
|
+
}> & import("tamagui").StackNonStyleProps & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {}>> & {
|
|
134
|
+
forceMount?: boolean | undefined;
|
|
135
|
+
disablePassStyles?: boolean | undefined;
|
|
136
|
+
}, import("tamagui").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & import("tamagui").StackNonStyleProps & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {}>> & {
|
|
137
|
+
forceMount?: boolean | undefined;
|
|
138
|
+
disablePassStyles?: boolean | undefined;
|
|
139
|
+
}, import("@tamagui/core").StackStyleBase, {
|
|
140
|
+
unstyled?: boolean | undefined;
|
|
141
|
+
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
142
|
+
transparent?: boolean | undefined;
|
|
143
|
+
fullscreen?: boolean | undefined;
|
|
144
|
+
circular?: boolean | undefined;
|
|
145
|
+
hoverTheme?: boolean | undefined;
|
|
146
|
+
pressTheme?: boolean | undefined;
|
|
147
|
+
focusTheme?: boolean | undefined;
|
|
148
|
+
elevate?: boolean | undefined;
|
|
149
|
+
bordered?: number | boolean | undefined;
|
|
150
|
+
backgrounded?: boolean | undefined;
|
|
151
|
+
radiused?: boolean | undefined;
|
|
152
|
+
padded?: boolean | undefined;
|
|
153
|
+
chromeless?: boolean | "all" | undefined;
|
|
154
|
+
}, import("@tamagui/core").StaticConfigPublic>;
|
|
155
|
+
};
|
|
156
|
+
export declare function CheckboxUnstyledDemo(): JSX.Element;
|
|
157
|
+
//# sourceMappingURL=CheckboxUnstyledDemo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CheckboxUnstyledDemo.d.ts","sourceRoot":"","sources":["../src/CheckboxUnstyledDemo.tsx"],"names":[],"mappings":";AA8BA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGnB,CAAA;AAEF,wBAAgB,oBAAoB,gBAanC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DialogDemo.d.ts","sourceRoot":"","sources":["../src/DialogDemo.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DialogDemo.d.ts","sourceRoot":"","sources":["../src/DialogDemo.tsx"],"names":[],"mappings":";AAiBA,wBAAgB,UAAU,gBAEzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectDemo.d.ts","sourceRoot":"","sources":["../src/SelectDemo.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAkB,WAAW,EAAE,MAAM,SAAS,CAAA;AAI1D,wBAAgB,UAAU,gBAkBzB;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"SelectDemo.d.ts","sourceRoot":"","sources":["../src/SelectDemo.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAkB,WAAW,EAAE,MAAM,SAAS,CAAA;AAI1D,wBAAgB,UAAU,gBAkBzB;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,WAAW,eA4HhD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwitchDemo.d.ts","sourceRoot":"","sources":["../src/SwitchDemo.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAGzC,wBAAgB,UAAU,
|
|
1
|
+
{"version":3,"file":"SwitchDemo.d.ts","sourceRoot":"","sources":["../src/SwitchDemo.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAGzC,wBAAgB,UAAU,gBAiBzB;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,cAAc,CAAC,EAAE,OAAO,CAAA;CAAE,eAmBpF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SwitchHeadlessDemo.d.ts","sourceRoot":"","sources":["../src/SwitchHeadlessDemo.tsx"],"names":[],"mappings":";AAOA,wBAAgB,kBAAkB,gBASjC"}
|