@multiplatform.one/components 0.2.6 → 0.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (146) hide show
  1. package/dist/cjs/forms/FormCheckBox/index.js +4 -2
  2. package/dist/cjs/forms/FormCheckBox/index.js.map +1 -1
  3. package/dist/cjs/forms/FormSlider/FormSlider.stories.js +1 -1
  4. package/dist/cjs/forms/FormSlider/FormSlider.stories.js.map +1 -1
  5. package/dist/cjs/forms/FormSlider/index.js +3 -2
  6. package/dist/cjs/forms/FormSlider/index.js.map +1 -1
  7. package/dist/cjs/forms/FormSubmitButton/FormSubmitButton.stories.js +2 -1
  8. package/dist/cjs/forms/FormSubmitButton/FormSubmitButton.stories.js.map +1 -1
  9. package/dist/cjs/forms/FormSwitch/index.js +1 -1
  10. package/dist/cjs/forms/FormSwitch/index.js.map +1 -1
  11. package/dist/cjs/layouts/Debug/DebugLayout.stories.js +3 -2
  12. package/dist/cjs/layouts/Debug/DebugLayout.stories.js.map +1 -1
  13. package/dist/cjs/layouts/Debug/index.js +5 -4
  14. package/dist/cjs/layouts/Debug/index.js.map +1 -1
  15. package/dist/cjs/mdx/LI/LI.stories.js +47 -0
  16. package/dist/cjs/mdx/LI/LI.stories.js.map +6 -0
  17. package/dist/cjs/panels/SimpleDialog/SimpleDialog.stories.js +19 -11
  18. package/dist/cjs/panels/SimpleDialog/SimpleDialog.stories.js.map +2 -2
  19. package/dist/cjs/panels/SimpleDialog/index.js +47 -26
  20. package/dist/cjs/panels/SimpleDialog/index.js.map +2 -2
  21. package/dist/cjs/panels/SimplePopover/SimplePopover.stories.js +1 -8
  22. package/dist/cjs/panels/SimplePopover/SimplePopover.stories.js.map +1 -1
  23. package/dist/cjs/panels/SimplePopover/index.js +10 -17
  24. package/dist/cjs/panels/SimplePopover/index.js.map +1 -1
  25. package/dist/cjs/panels/SimpleSheet/SimpleSheet.stories.js +1 -1
  26. package/dist/cjs/panels/SimpleSheet/SimpleSheet.stories.js.map +1 -1
  27. package/dist/cjs/panels/SimpleTooltip/index.js +2 -2
  28. package/dist/cjs/panels/SimpleTooltip/index.js.map +1 -1
  29. package/dist/esm/forms/FormCheckBox/index.js +4 -2
  30. package/dist/esm/forms/FormCheckBox/index.js.map +1 -1
  31. package/dist/esm/forms/FormSlider/FormSlider.stories.js +1 -1
  32. package/dist/esm/forms/FormSlider/FormSlider.stories.js.map +1 -1
  33. package/dist/esm/forms/FormSlider/index.js +3 -2
  34. package/dist/esm/forms/FormSlider/index.js.map +1 -1
  35. package/dist/esm/forms/FormSubmitButton/FormSubmitButton.stories.js +2 -1
  36. package/dist/esm/forms/FormSubmitButton/FormSubmitButton.stories.js.map +1 -1
  37. package/dist/esm/forms/FormSwitch/index.js +1 -1
  38. package/dist/esm/forms/FormSwitch/index.js.map +1 -1
  39. package/dist/esm/layouts/Debug/DebugLayout.stories.js +3 -2
  40. package/dist/esm/layouts/Debug/DebugLayout.stories.js.map +1 -1
  41. package/dist/esm/layouts/Debug/index.js +6 -5
  42. package/dist/esm/layouts/Debug/index.js.map +1 -1
  43. package/dist/esm/mdx/LI/LI.stories.js +14 -0
  44. package/dist/esm/mdx/LI/LI.stories.js.map +6 -0
  45. package/dist/esm/panels/SimpleDialog/SimpleDialog.stories.js +18 -11
  46. package/dist/esm/panels/SimpleDialog/SimpleDialog.stories.js.map +2 -2
  47. package/dist/esm/panels/SimpleDialog/index.js +48 -27
  48. package/dist/esm/panels/SimpleDialog/index.js.map +2 -2
  49. package/dist/esm/panels/SimplePopover/SimplePopover.stories.js +1 -8
  50. package/dist/esm/panels/SimplePopover/SimplePopover.stories.js.map +1 -1
  51. package/dist/esm/panels/SimplePopover/index.js +11 -18
  52. package/dist/esm/panels/SimplePopover/index.js.map +1 -1
  53. package/dist/esm/panels/SimpleSheet/SimpleSheet.stories.js +1 -1
  54. package/dist/esm/panels/SimpleSheet/SimpleSheet.stories.js.map +1 -1
  55. package/dist/esm/panels/SimpleTooltip/index.js +2 -2
  56. package/dist/esm/panels/SimpleTooltip/index.js.map +1 -1
  57. package/dist/jsx/forms/FormCheckBox/index.js +4 -2
  58. package/dist/jsx/forms/FormCheckBox/index.js.map +1 -1
  59. package/dist/jsx/forms/FormCheckBox/index.mjs +4 -2
  60. package/dist/jsx/forms/FormCheckBox/index.mjs.map +1 -1
  61. package/dist/jsx/forms/FormSlider/FormSlider.stories.js +1 -1
  62. package/dist/jsx/forms/FormSlider/FormSlider.stories.js.map +1 -1
  63. package/dist/jsx/forms/FormSlider/FormSlider.stories.mjs +1 -1
  64. package/dist/jsx/forms/FormSlider/FormSlider.stories.mjs.map +1 -1
  65. package/dist/jsx/forms/FormSlider/index.js +2 -1
  66. package/dist/jsx/forms/FormSlider/index.js.map +1 -1
  67. package/dist/jsx/forms/FormSlider/index.mjs +2 -1
  68. package/dist/jsx/forms/FormSlider/index.mjs.map +1 -1
  69. package/dist/jsx/forms/FormSubmitButton/FormSubmitButton.stories.js +2 -1
  70. package/dist/jsx/forms/FormSubmitButton/FormSubmitButton.stories.js.map +1 -1
  71. package/dist/jsx/forms/FormSubmitButton/FormSubmitButton.stories.mjs +2 -1
  72. package/dist/jsx/forms/FormSubmitButton/FormSubmitButton.stories.mjs.map +1 -1
  73. package/dist/jsx/forms/FormSwitch/index.js +1 -1
  74. package/dist/jsx/forms/FormSwitch/index.js.map +1 -1
  75. package/dist/jsx/forms/FormSwitch/index.mjs +1 -1
  76. package/dist/jsx/forms/FormSwitch/index.mjs.map +1 -1
  77. package/dist/jsx/layouts/Debug/DebugLayout.stories.js +3 -2
  78. package/dist/jsx/layouts/Debug/DebugLayout.stories.js.map +1 -1
  79. package/dist/jsx/layouts/Debug/DebugLayout.stories.mjs +3 -2
  80. package/dist/jsx/layouts/Debug/DebugLayout.stories.mjs.map +1 -1
  81. package/dist/jsx/layouts/Debug/index.js +7 -6
  82. package/dist/jsx/layouts/Debug/index.js.map +1 -1
  83. package/dist/jsx/layouts/Debug/index.mjs +7 -6
  84. package/dist/jsx/layouts/Debug/index.mjs.map +1 -1
  85. package/dist/jsx/mdx/LI/LI.stories.js +13 -0
  86. package/dist/jsx/mdx/LI/LI.stories.js.map +6 -0
  87. package/dist/jsx/mdx/LI/LI.stories.mjs +13 -0
  88. package/dist/jsx/mdx/LI/LI.stories.mjs.map +6 -0
  89. package/dist/jsx/panels/SimpleDialog/SimpleDialog.stories.js +29 -10
  90. package/dist/jsx/panels/SimpleDialog/SimpleDialog.stories.js.map +2 -2
  91. package/dist/jsx/panels/SimpleDialog/SimpleDialog.stories.mjs +29 -10
  92. package/dist/jsx/panels/SimpleDialog/SimpleDialog.stories.mjs.map +2 -2
  93. package/dist/jsx/panels/SimpleDialog/index.js +26 -10
  94. package/dist/jsx/panels/SimpleDialog/index.js.map +2 -2
  95. package/dist/jsx/panels/SimpleDialog/index.mjs +26 -10
  96. package/dist/jsx/panels/SimpleDialog/index.mjs.map +2 -2
  97. package/dist/jsx/panels/SimplePopover/SimplePopover.stories.js +1 -4
  98. package/dist/jsx/panels/SimplePopover/SimplePopover.stories.js.map +1 -1
  99. package/dist/jsx/panels/SimplePopover/SimplePopover.stories.mjs +1 -4
  100. package/dist/jsx/panels/SimplePopover/SimplePopover.stories.mjs.map +1 -1
  101. package/dist/jsx/panels/SimplePopover/index.js +12 -19
  102. package/dist/jsx/panels/SimplePopover/index.js.map +1 -1
  103. package/dist/jsx/panels/SimplePopover/index.mjs +12 -19
  104. package/dist/jsx/panels/SimplePopover/index.mjs.map +1 -1
  105. package/dist/jsx/panels/SimpleSheet/SimpleSheet.stories.js +1 -1
  106. package/dist/jsx/panels/SimpleSheet/SimpleSheet.stories.js.map +1 -1
  107. package/dist/jsx/panels/SimpleSheet/SimpleSheet.stories.mjs +1 -1
  108. package/dist/jsx/panels/SimpleSheet/SimpleSheet.stories.mjs.map +1 -1
  109. package/dist/jsx/panels/SimpleTooltip/index.js +2 -2
  110. package/dist/jsx/panels/SimpleTooltip/index.js.map +1 -1
  111. package/dist/jsx/panels/SimpleTooltip/index.mjs +2 -2
  112. package/dist/jsx/panels/SimpleTooltip/index.mjs.map +1 -1
  113. package/package.json +3 -3
  114. package/src/forms/FormCheckBox/index.tsx +4 -2
  115. package/src/forms/FormSlider/FormSlider.stories.tsx +1 -1
  116. package/src/forms/FormSlider/index.tsx +2 -1
  117. package/src/forms/FormSubmitButton/FormSubmitButton.stories.tsx +2 -1
  118. package/src/forms/FormSwitch/index.tsx +3 -1
  119. package/src/layouts/Debug/DebugLayout.stories.tsx +3 -2
  120. package/src/layouts/Debug/index.tsx +8 -7
  121. package/src/mdx/LI/LI.stories.tsx +15 -0
  122. package/src/panels/SimpleDialog/SimpleDialog.stories.tsx +33 -12
  123. package/src/panels/SimpleDialog/index.tsx +36 -18
  124. package/src/panels/SimplePopover/SimplePopover.stories.tsx +4 -9
  125. package/src/panels/SimplePopover/index.tsx +16 -25
  126. package/src/panels/SimpleSheet/SimpleSheet.stories.tsx +1 -1
  127. package/src/panels/SimpleTooltip/index.tsx +4 -2
  128. package/types/forms/FormCheckBox/index.d.ts.map +1 -1
  129. package/types/forms/FormSlider/FormSlider.stories.d.ts.map +1 -1
  130. package/types/forms/FormSlider/index.d.ts.map +1 -1
  131. package/types/forms/FormSubmitButton/FormSubmitButton.stories.d.ts.map +1 -1
  132. package/types/forms/FormSwitch/index.d.ts.map +1 -1
  133. package/types/layouts/Debug/DebugLayout.stories.d.ts.map +1 -1
  134. package/types/layouts/Debug/index.d.ts +3 -1
  135. package/types/layouts/Debug/index.d.ts.map +1 -1
  136. package/types/mdx/LI/LI.stories.d.ts +135 -0
  137. package/types/mdx/LI/LI.stories.d.ts.map +1 -0
  138. package/types/panels/SimpleDialog/SimpleDialog.stories.d.ts +1 -0
  139. package/types/panels/SimpleDialog/SimpleDialog.stories.d.ts.map +1 -1
  140. package/types/panels/SimpleDialog/index.d.ts +10 -8
  141. package/types/panels/SimpleDialog/index.d.ts.map +1 -1
  142. package/types/panels/SimplePopover/SimplePopover.stories.d.ts.map +1 -1
  143. package/types/panels/SimplePopover/index.d.ts +5 -6
  144. package/types/panels/SimplePopover/index.d.ts.map +1 -1
  145. package/types/panels/SimpleSheet/SimpleSheet.stories.d.ts.map +1 -1
  146. package/types/panels/SimpleTooltip/index.d.ts.map +1 -1
@@ -1,7 +1,8 @@
1
- import React from 'react';
1
+ import React, { useState } from 'react';
2
2
  import type { Meta } from '@storybook/react';
3
+ import { Button, Input, Dialog, YStack } from 'tamagui';
3
4
  import { SimpleDialog } from './index';
4
- import { YStack, Button, Input, Dialog } from 'tamagui';
5
+ import { action } from '@storybook/addon-actions';
5
6
 
6
7
  const meta: Meta = {
7
8
  title: 'panels/SimpleDialog',
@@ -10,20 +11,40 @@ const meta: Meta = {
10
11
  };
11
12
 
12
13
  export const main = () => (
13
- <SimpleDialog
14
- element={
15
- <YStack space>
14
+ <SimpleDialog onOpenChange={action('onOpenChange')} trigger={<Button>Press Me</Button>} title="Fill the details">
15
+ <Input placeholder="Enter your first name" />
16
+ <Input placeholder="Enter your last name" />
17
+ <Dialog.Close>
18
+ <Button>Submit</Button>
19
+ </Dialog.Close>
20
+ </SimpleDialog>
21
+ );
22
+
23
+ function OpenWithFunction() {
24
+ const [open, setOpen] = useState(false);
25
+
26
+ function handlePress() {
27
+ setOpen((open) => !open);
28
+ }
29
+
30
+ function handleOpenChange(open) {
31
+ action('onOpenChange')();
32
+ setOpen(open);
33
+ }
34
+
35
+ return (
36
+ <YStack ai="flex-start">
37
+ <Button onPress={handlePress}>Press Me</Button>
38
+ <SimpleDialog open={open} onOpenChange={handleOpenChange} title="Fill the details">
16
39
  <Input placeholder="Enter your first name" />
17
40
  <Input placeholder="Enter your last name" />
18
41
  <Dialog.Close>
19
42
  <Button>Submit</Button>
20
43
  </Dialog.Close>
21
- </YStack>
22
- }
23
- title="Fill the details"
24
- >
25
- <Button>open Dialog</Button>
26
- </SimpleDialog>
27
- );
44
+ </SimpleDialog>
45
+ </YStack>
46
+ );
47
+ }
48
+ export const openWithFunction = () => <OpenWithFunction />;
28
49
 
29
50
  export default meta;
@@ -1,30 +1,48 @@
1
- import React from 'react';
1
+ import React, { useEffect } from 'react';
2
2
  import type { DialogProps, DialogTitleProps, DialogDescriptionProps, DialogContentProps } from 'tamagui';
3
+ import type { ReactNode } from 'react';
3
4
  import { Adapt, Button, Dialog, Sheet, Unspaced } from 'tamagui';
4
5
  import { X } from '@tamagui/lucide-icons';
5
6
 
6
- type SimpleDialogProps = DialogProps & {
7
- description?: React.ReactNode;
8
- titleStyle?: DialogTitleProps;
9
- descriptionStyle?: DialogDescriptionProps;
7
+ export type SimpleDialogProps = DialogProps & {
10
8
  contentStyle?: DialogContentProps;
11
- title?: React.ReactNode;
12
- element: React.ReactNode;
9
+ description?: ReactNode;
10
+ descriptionStyle?: DialogDescriptionProps;
11
+ open?: boolean;
12
+ title?: ReactNode;
13
+ titleStyle?: DialogTitleProps;
14
+ trigger?: ReactNode;
15
+ onOpenChange?: (open: boolean) => void;
13
16
  };
14
17
 
15
18
  export function SimpleDialog({
16
19
  children,
17
- element,
18
- title,
20
+ contentStyle,
19
21
  description,
20
- titleStyle,
21
22
  descriptionStyle,
22
- contentStyle,
23
+ title,
24
+ titleStyle,
25
+ trigger,
23
26
  ...props
24
27
  }: SimpleDialogProps) {
28
+ const [open, setOpen] = React.useState(props.open);
29
+
30
+ useEffect(() => {
31
+ if (typeof props.open === 'undefined' || props.open === open) return;
32
+ setOpen(props.open);
33
+ }, [props.open]);
34
+
25
35
  return (
26
- <Dialog modal {...props}>
27
- <Dialog.Trigger asChild>{children}</Dialog.Trigger>
36
+ <Dialog
37
+ modal
38
+ {...props}
39
+ open={open}
40
+ onOpenChange={(open) => {
41
+ setOpen(open);
42
+ if (props.onOpenChange) props.onOpenChange(open);
43
+ }}
44
+ >
45
+ {trigger && <Dialog.Trigger asChild>{trigger}</Dialog.Trigger>}
28
46
  <Adapt when="sm" platform="touch">
29
47
  <Sheet zIndex={200000} modal dismissOnSnapToBottom>
30
48
  <Sheet.Frame padding="$4" space>
@@ -52,12 +70,12 @@ export function SimpleDialog({
52
70
  space
53
71
  {...contentStyle}
54
72
  >
55
- <Dialog.Title {...titleStyle}>{title}</Dialog.Title>
56
- <Dialog.Description {...descriptionStyle}>{description ?? description}</Dialog.Description>
57
- {element}
73
+ {title && <Dialog.Title {...titleStyle}>{title}</Dialog.Title>}
74
+ {description && <Dialog.Description {...descriptionStyle}>{description}</Dialog.Description>}
75
+ {children}
58
76
  <Unspaced>
59
- <Dialog.Close asChild>
60
- <Button pos="absolute" t="$3" r="$3" size="$2" circular icon={X} />
77
+ <Dialog.Close asChild space>
78
+ <Button pos="absolute" t="$3" r="$3" size="$2" circular space icon={X} />
61
79
  </Dialog.Close>
62
80
  </Unspaced>
63
81
  </Dialog.Content>
@@ -10,15 +10,10 @@ const meta: Meta = {
10
10
  };
11
11
 
12
12
  export const main = () => (
13
- <SimplePopover
14
- element={
15
- <YStack>
16
- <Text>popover content</Text>
17
- </YStack>
18
- }
19
- arrowStyle={{ bc: '$backgroundStrong' }}
20
- >
21
- <Button>Click here to get a Popover</Button>
13
+ <SimplePopover trigger={<Button>Click here to get a Popover</Button>}>
14
+ <YStack>
15
+ <Text>popover content</Text>
16
+ </YStack>
22
17
  </SimplePopover>
23
18
  );
24
19
  export default meta;
@@ -1,28 +1,19 @@
1
- import type { PopoverProps, PopoverContentProps, AdaptProps, PopoverArrowProps } from 'tamagui';
2
- import { Adapt, Popover, YStack } from 'tamagui';
1
+ import type { PopoverProps, PopoverContentProps, PopoverArrowProps } from 'tamagui';
2
+ import { Adapt, Popover } from 'tamagui';
3
3
  import React from 'react';
4
+ import type { ReactNode } from 'react';
4
5
 
5
- type SimplePopoverProps = PopoverProps & {
6
- adaptStyle?: AdaptProps;
6
+ export type SimplePopoverProps = PopoverProps & {
7
7
  contentStyle?: PopoverContentProps;
8
8
  arrowStyle?: PopoverArrowProps;
9
- element: React.ReactNode;
9
+ trigger: ReactNode;
10
10
  };
11
11
 
12
- export function SimplePopover({
13
- children,
14
- element,
15
- contentStyle,
16
- adaptStyle,
17
- arrowStyle,
18
- ...props
19
- }: SimplePopoverProps) {
12
+ export function SimplePopover({ children, trigger, contentStyle, arrowStyle, ...props }: SimplePopoverProps) {
20
13
  return (
21
14
  <Popover size="$5" allowFlip {...props}>
22
- <Popover.Trigger cursor="pointer" asChild>
23
- {children}
24
- </Popover.Trigger>
25
- <Adapt when="sm" platform="web" {...adaptStyle}>
15
+ <Popover.Trigger asChild>{trigger}</Popover.Trigger>
16
+ <Adapt when="sm" platform="touch">
26
17
  <Popover.Sheet modal dismissOnSnapToBottom>
27
18
  <Popover.Sheet.Frame padding="$4">
28
19
  <Adapt.Contents />
@@ -31,15 +22,15 @@ export function SimplePopover({
31
22
  </Popover.Sheet>
32
23
  </Adapt>
33
24
  <Popover.Content
34
- bw={1}
35
- boc="$borderColor"
36
- enterStyle={{ x: 10, y: -10, o: 0, scale: 0.1 }}
37
- exitStyle={{ x: 10, y: 10, o: 0, scale: 0.2 }}
25
+ borderWidth={1}
26
+ borderColor="$borderColor"
27
+ enterStyle={{ x: 0, y: -10, opacity: 0 }}
28
+ exitStyle={{ x: 0, y: -10, opacity: 0 }}
38
29
  x={0}
39
30
  y={0}
40
- o={1}
31
+ opacity={1}
41
32
  animation={[
42
- 'bouncy',
33
+ 'quick',
43
34
  {
44
35
  opacity: {
45
36
  overshootClamping: true,
@@ -49,8 +40,8 @@ export function SimplePopover({
49
40
  elevate
50
41
  {...contentStyle}
51
42
  >
52
- <Popover.Arrow bw={1} boc="$borderColor" {...arrowStyle} />
53
- <YStack cursor="pointer">{element}</YStack>
43
+ <Popover.Arrow borderWidth={1} borderColor="$borderColor" />
44
+ {children}
54
45
  </Popover.Content>
55
46
  </Popover>
56
47
  );
@@ -10,5 +10,5 @@ const meta: Meta = {
10
10
  parameters: { status: { type: 'beta' } },
11
11
  };
12
12
 
13
- export const main = () => <SimpleSheet modal />;
13
+ export const main = () => <SimpleSheet modal>Click to test simpleSHeet</SimpleSheet>;
14
14
  export default meta;
@@ -16,7 +16,9 @@ export function SimpleTooltip({
16
16
  }: SimpleToolTipProps & { Icon?: any }) {
17
17
  return (
18
18
  <Tooltip {...props}>
19
- <Tooltip.Trigger>{children}</Tooltip.Trigger>
19
+ <Tooltip.Trigger cursor="pointer" ai="center">
20
+ {children}
21
+ </Tooltip.Trigger>
20
22
  <Theme inverse {...themeStyle}>
21
23
  <Tooltip.Content
22
24
  enterStyle={{ x: 0, y: -5, o: 0, scale: 0.9 }}
@@ -35,7 +37,7 @@ export function SimpleTooltip({
35
37
  ]}
36
38
  >
37
39
  <Tooltip.Arrow />
38
- <Paragraph size="$2" lineHeight="$1" {...paragraphStyle}>
40
+ <Paragraph ai="center" size="$2" lineHeight="$1" {...paragraphStyle}>
39
41
  {element}
40
42
  </Paragraph>
41
43
  </Tooltip.Content>
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/FormCheckBox/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,sBAAsB,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAGnH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEnD,OAAO,KAAgB,MAAM,OAAO,CAAC;AACrC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAGlD,MAAM,MAAM,iBAAiB,GAAG,aAAa,GAC3C,mBAAmB,GAAG;IACpB,UAAU,CAAC,EAAE,IAAI,CAAC,cAAc,EAAE,YAAY,GAAG,UAAU,GAAG,OAAO,GAAG,OAAO,CAAC,CAAC;CAClF,GAAG,IAAI,CAAC,cAAc,EAAE,YAAY,GAAG,UAAU,GAAG,OAAO,GAAG,OAAO,CAAC,GAAG;IACxE,cAAc,CAAC,EAAE,sBAAsB,CAAC;CACzC,GAAG;IAAE,UAAU,CAAC,EAAE,UAAU,CAAA;CAAE,GAAG;IAAE,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAAA;CAAE,CAAC;AAEnF,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,EAAE,CAAC,EAAE,aAAa,CAAC;CACpB;AAED,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,OAAO,EACP,YAAY,EACZ,KAAK,EACL,UAAU,EACV,UAAU,EACV,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,eAAe,EACf,qBAAqB,EACrB,cAAc,EACd,SAAS,EACT,UAAU,EACV,GAAG,UAAU,EACd,EAAE,iBAAiB,GAAG;IAAE,eAAe,EAAE,eAAe,CAAA;CAAE,GAAG;IAAE,qBAAqB,CAAC,EAAE,qBAAqB,CAAA;CAAE,qBA6E9G"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/FormCheckBox/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,sBAAsB,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAGnH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEnD,OAAO,KAAgB,MAAM,OAAO,CAAC;AACrC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAGlD,MAAM,MAAM,iBAAiB,GAAG,aAAa,GAC3C,mBAAmB,GAAG;IACpB,UAAU,CAAC,EAAE,IAAI,CAAC,cAAc,EAAE,YAAY,GAAG,UAAU,GAAG,OAAO,GAAG,OAAO,CAAC,CAAC;CAClF,GAAG,IAAI,CAAC,cAAc,EAAE,YAAY,GAAG,UAAU,GAAG,OAAO,GAAG,OAAO,CAAC,GAAG;IACxE,cAAc,CAAC,EAAE,sBAAsB,CAAC;CACzC,GAAG;IAAE,UAAU,CAAC,EAAE,UAAU,CAAA;CAAE,GAAG;IAAE,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAAA;CAAE,CAAC;AAEnF,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,EAAE,CAAC,EAAE,aAAa,CAAC;CACpB;AAED,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,OAAO,EACP,YAAY,EACZ,KAAK,EACL,UAAU,EACV,UAAU,EACV,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,eAAe,EACf,qBAAqB,EACrB,cAAc,EACd,SAAS,EACT,UAAU,EACV,GAAG,UAAU,EACd,EAAE,iBAAiB,GAAG;IAAE,eAAe,EAAE,eAAe,CAAA;CAAE,GAAG;IAAE,qBAAqB,CAAC,EAAE,qBAAqB,CAAA;CAAE,qBA+E9G"}
@@ -1 +1 @@
1
- {"version":3,"file":"FormSlider.stories.d.ts","sourceRoot":"","sources":["../../../src/forms/FormSlider/FormSlider.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;;;;;;;;;;AAErC,wBAME;AAEF,eAAO,MAAM,IAAI,yBAAmD,CAAC"}
1
+ {"version":3,"file":"FormSlider.stories.d.ts","sourceRoot":"","sources":["../../../src/forms/FormSlider/FormSlider.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;;;;;;;;;;AAErC,wBAME;AAEF,eAAO,MAAM,IAAI,yBAAyC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/FormSlider/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAgB,MAAM,OAAO,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAExD,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAI9C,MAAM,MAAM,eAAe,GAAG,WAAW,GACvC,mBAAmB,GAAG;IACpB,UAAU,CAAC,EAAE,IAAI,CAAC,cAAc,EAAE,YAAY,GAAG,UAAU,GAAG,OAAO,GAAG,OAAO,CAAC,CAAC;CAClF,GAAG,IAAI,CAAC,cAAc,EAAE,YAAY,GAAG,UAAU,GAAG,OAAO,GAAG,OAAO,CAAC,GAAG;IAAE,UAAU,CAAC,EAAE,gBAAgB,CAAA;CAAE,CAAC;AAE9G,wBAAgB,UAAU,CAAC,EACzB,QAAQ,EACR,OAAO,EACP,YAAY,EACZ,KAAK,EACL,UAAU,EACV,UAAU,EACV,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,UAAU,EACV,KAAK,EACL,GAAG,WAAW,EACf,EAAE,eAAe,qBA0DjB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/FormSlider/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAgB,MAAM,OAAO,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAExD,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAI9C,MAAM,MAAM,eAAe,GAAG,WAAW,GACvC,mBAAmB,GAAG;IACpB,UAAU,CAAC,EAAE,IAAI,CAAC,cAAc,EAAE,YAAY,GAAG,UAAU,GAAG,OAAO,GAAG,OAAO,CAAC,CAAC;CAClF,GAAG,IAAI,CAAC,cAAc,EAAE,YAAY,GAAG,UAAU,GAAG,OAAO,GAAG,OAAO,CAAC,GAAG;IAAE,UAAU,CAAC,EAAE,gBAAgB,CAAA;CAAE,CAAC;AAE9G,wBAAgB,UAAU,CAAC,EACzB,QAAQ,EACR,OAAO,EACP,YAAY,EACZ,KAAK,EACL,UAAU,EACV,UAAU,EACV,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,UAAU,EACV,KAAK,EACL,GAAG,WAAW,EACf,EAAE,eAAe,qBA2DjB"}
@@ -1 +1 @@
1
- {"version":3,"file":"FormSubmitButton.stories.d.ts","sourceRoot":"","sources":["../../../src/forms/FormSubmitButton/FormSubmitButton.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;;;;;;;;;;AAE3C,wBAME;AAEF,eAAO,MAAM,IAAI,yBAIhB,CAAC"}
1
+ {"version":3,"file":"FormSubmitButton.stories.d.ts","sourceRoot":"","sources":["../../../src/forms/FormSubmitButton/FormSubmitButton.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;;;;;;;;;;AAG3C,wBAME;AAEF,eAAO,MAAM,IAAI,yBAIhB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/FormSwitch/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgB,MAAM,OAAO,CAAC;AACrC,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAInD,MAAM,MAAM,eAAe,GAAG,WAAW,GACvC,mBAAmB,GAAG;IACpB,UAAU,CAAC,EAAE,IAAI,CAAC,cAAc,EAAE,YAAY,GAAG,UAAU,GAAG,OAAO,GAAG,OAAO,CAAC,CAAC;CAClF,GAAG,IAAI,CAAC,cAAc,EAAE,YAAY,GAAG,UAAU,GAAG,OAAO,GAAG,OAAO,CAAC,GAAG;IAAE,UAAU,CAAC,EAAE,gBAAgB,CAAA;CAAE,CAAC;AAE9G,wBAAgB,UAAU,CAAC,EACzB,OAAO,EACP,YAAY,EACZ,KAAK,EACL,UAAU,EACV,UAAU,EACV,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,UAAU,EACV,GAAG,WAAW,EACf,EAAE,eAAe,qBA4CjB;yBAxDe,UAAU"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/FormSwitch/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgB,MAAM,OAAO,CAAC;AACrC,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAInD,MAAM,MAAM,eAAe,GAAG,WAAW,GACvC,mBAAmB,GAAG;IACpB,UAAU,CAAC,EAAE,IAAI,CAAC,cAAc,EAAE,YAAY,GAAG,UAAU,GAAG,OAAO,GAAG,OAAO,CAAC,CAAC;CAClF,GAAG,IAAI,CAAC,cAAc,EAAE,YAAY,GAAG,UAAU,GAAG,OAAO,GAAG,OAAO,CAAC,GAAG;IAAE,UAAU,CAAC,EAAE,gBAAgB,CAAA;CAAE,CAAC;AAE9G,wBAAgB,UAAU,CAAC,EACzB,OAAO,EACP,YAAY,EACZ,KAAK,EACL,UAAU,EACV,UAAU,EACV,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,UAAU,EACV,GAAG,WAAW,EACf,EAAE,eAAe,qBA8CjB;yBA1De,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"DebugLayout.stories.d.ts","sourceRoot":"","sources":["../../../src/layouts/Debug/DebugLayout.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;;;;;;;;;AAI1B,wBAKE;AAGF,eAAO,MAAM,IAAI,yBAAiB,CAAC"}
1
+ {"version":3,"file":"DebugLayout.stories.d.ts","sourceRoot":"","sources":["../../../src/layouts/Debug/DebugLayout.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;;;;;;;;;AAK1B,wBAKE;AAGF,eAAO,MAAM,IAAI,yBAAiB,CAAC"}
@@ -6,12 +6,14 @@ export interface DebugLayoutProps<DebugViewProps> {
6
6
  debugView?: ComponentType<DebugViewProps>;
7
7
  debugViewProps?: DebugViewProps;
8
8
  rootThemeNames?: string[];
9
+ size?: number;
9
10
  subThemeNames?: string[];
10
11
  }
11
- export declare function DebugLayout<DebugViewProps>({ children, debugView, debugViewProps, rootThemeNames, subThemeNames, }: DebugLayoutProps<DebugViewProps>): React.JSX.Element;
12
+ export declare function DebugLayout<DebugViewProps>({ children, debugView, debugViewProps, rootThemeNames, size, subThemeNames, }: DebugLayoutProps<DebugViewProps>): React.JSX.Element;
12
13
  export declare namespace DebugLayout {
13
14
  var defaultProps: {
14
15
  rootThemeNames: string[];
16
+ size: number;
15
17
  subThemeNames: string[];
16
18
  };
17
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layouts/Debug/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAWpD,MAAM,WAAW,gBAAgB,CAAC,cAAc;IAC9C,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,aAAa,CAAC,cAAc,CAAC,CAAC;IAC1C,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B;AAED,wBAAgB,WAAW,CAAC,cAAc,EAAE,EAC1C,QAAQ,EACR,SAAS,EACT,cAAc,EACd,cAAc,EACd,aAAa,GACd,EAAE,gBAAgB,CAAC,cAAc,CAAC,qBA2GlC;yBAjHe,WAAW;;;;;;AAwH3B,wBAAgB,qBAAqB,CAAC,cAAc,EAClD,YAAY,CAAC,EAAE,UAAU,CAAC,GAAG,CAAC,EAAE,EAChC,gBAAgB,GAAE,qBAAqB,CAAC,cAAc,CAAM,uBAG7D;AAED,eAAO,MAAM,eAAe,qBAA0B,CAAC;AAEvD,UAAU,qBAAqB,CAAC,cAAc;IAC5C,SAAS,CAAC,EAAE,aAAa,CAAC,cAAc,CAAC,CAAC;IAC1C,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layouts/Debug/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAWpD,MAAM,WAAW,gBAAgB,CAAC,cAAc;IAC9C,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,aAAa,CAAC,cAAc,CAAC,CAAC;IAC1C,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B;AAED,wBAAgB,WAAW,CAAC,cAAc,EAAE,EAC1C,QAAQ,EACR,SAAS,EACT,cAAc,EACd,cAAc,EACd,IAAI,EACJ,aAAa,GACd,EAAE,gBAAgB,CAAC,cAAc,CAAC,qBAyGlC;yBAhHe,WAAW;;;;;;;AAwH3B,wBAAgB,qBAAqB,CAAC,cAAc,EAClD,YAAY,CAAC,EAAE,UAAU,CAAC,GAAG,CAAC,EAAE,EAChC,gBAAgB,GAAE,qBAAqB,CAAC,cAAc,CAAM,uBAG7D;AAED,eAAO,MAAM,eAAe,qBAA0B,CAAC;AAEvD,UAAU,qBAAqB,CAAC,cAAc;IAC5C,SAAS,CAAC,EAAE,aAAa,CAAC,cAAc,CAAC,CAAC;IAC1C,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B"}
@@ -0,0 +1,135 @@
1
+ import React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ component: import("tamagui").TamaguiComponent<(Omit<import("react-native").TextProps, "style" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseTextProps & import("tamagui").TamaguiComponentPropsBase & {
5
+ style?: import("@tamagui/web").StyleProp<React.CSSProperties & import("react-native").TextStyle>;
6
+ } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{}, "size" | "unstyled"> & {
7
+ readonly unstyled?: boolean | undefined;
8
+ readonly size?: import("tamagui").FontSizeTokens | undefined;
9
+ } & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native").TextProps, "style" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseTextProps & import("tamagui").TamaguiComponentPropsBase & {
10
+ style?: import("@tamagui/web").StyleProp<React.CSSProperties & import("react-native").TextStyle>;
11
+ } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{}, "size" | "unstyled"> & {
12
+ readonly unstyled?: boolean | undefined;
13
+ readonly size?: import("tamagui").FontSizeTokens | undefined;
14
+ }>> & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native").TextProps, "style" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseTextProps & import("tamagui").TamaguiComponentPropsBase & {
15
+ style?: import("@tamagui/web").StyleProp<React.CSSProperties & import("react-native").TextStyle>;
16
+ } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{}, "size" | "unstyled"> & {
17
+ readonly unstyled?: boolean | undefined;
18
+ readonly size?: import("tamagui").FontSizeTokens | undefined;
19
+ }>>) | (Omit<import("react-native").TextProps, "style" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseTextProps & import("tamagui").TamaguiComponentPropsBase & {
20
+ style?: import("@tamagui/web").StyleProp<React.CSSProperties & import("react-native").TextStyle>;
21
+ } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{
22
+ readonly unstyled?: boolean | undefined;
23
+ readonly size?: import("tamagui").FontSizeTokens | undefined;
24
+ }, string | number> & {
25
+ [x: string]: undefined;
26
+ } & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native").TextProps, "style" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseTextProps & import("tamagui").TamaguiComponentPropsBase & {
27
+ style?: import("@tamagui/web").StyleProp<React.CSSProperties & import("react-native").TextStyle>;
28
+ } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{
29
+ readonly unstyled?: boolean | undefined;
30
+ readonly size?: import("tamagui").FontSizeTokens | undefined;
31
+ }, string | number> & {
32
+ [x: string]: undefined;
33
+ }>> & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native").TextProps, "style" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseTextProps & import("tamagui").TamaguiComponentPropsBase & {
34
+ style?: import("@tamagui/web").StyleProp<React.CSSProperties & import("react-native").TextStyle>;
35
+ } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{
36
+ readonly unstyled?: boolean | undefined;
37
+ readonly size?: import("tamagui").FontSizeTokens | undefined;
38
+ }, string | number> & {
39
+ [x: string]: undefined;
40
+ }>>) | (Omit<import("react-native").TextProps, "style" | "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseTextProps & import("tamagui").TamaguiComponentPropsBase & {
41
+ style?: import("@tamagui/web").StyleProp<React.CSSProperties & import("react-native").TextStyle>;
42
+ } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{
43
+ readonly unstyled?: boolean | undefined;
44
+ readonly size?: import("tamagui").FontSizeTokens | undefined;
45
+ } | ({
46
+ readonly unstyled?: boolean | undefined;
47
+ readonly size?: import("tamagui").FontSizeTokens | undefined;
48
+ } & {
49
+ [x: string]: undefined;
50
+ }), string | number> & {
51
+ [x: string]: undefined;
52
+ } & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native").TextProps, "style" | "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseTextProps & import("tamagui").TamaguiComponentPropsBase & {
53
+ style?: import("@tamagui/web").StyleProp<React.CSSProperties & import("react-native").TextStyle>;
54
+ } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{
55
+ readonly unstyled?: boolean | undefined;
56
+ readonly size?: import("tamagui").FontSizeTokens | undefined;
57
+ } | ({
58
+ readonly unstyled?: boolean | undefined;
59
+ readonly size?: import("tamagui").FontSizeTokens | undefined;
60
+ } & {
61
+ [x: string]: undefined;
62
+ }), string | number> & {
63
+ [x: string]: undefined;
64
+ }>> & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native").TextProps, "style" | "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseTextProps & import("tamagui").TamaguiComponentPropsBase & {
65
+ style?: import("@tamagui/web").StyleProp<React.CSSProperties & import("react-native").TextStyle>;
66
+ } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{
67
+ readonly unstyled?: boolean | undefined;
68
+ readonly size?: import("tamagui").FontSizeTokens | undefined;
69
+ } | ({
70
+ readonly unstyled?: boolean | undefined;
71
+ readonly size?: import("tamagui").FontSizeTokens | undefined;
72
+ } & {
73
+ [x: string]: undefined;
74
+ }), string | number> & {
75
+ [x: string]: undefined;
76
+ }>>) | (Omit<import("react-native").TextProps, "style" | "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseTextProps & import("tamagui").TamaguiComponentPropsBase & {
77
+ style?: import("@tamagui/web").StyleProp<React.CSSProperties & import("react-native").TextStyle>;
78
+ } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{
79
+ readonly unstyled?: boolean | undefined;
80
+ readonly size?: import("tamagui").FontSizeTokens | undefined;
81
+ } | ({
82
+ readonly unstyled?: boolean | undefined;
83
+ readonly size?: import("tamagui").FontSizeTokens | undefined;
84
+ } & {
85
+ [x: string]: undefined;
86
+ }), string | number> & {
87
+ [x: string]: undefined;
88
+ } & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native").TextProps, "style" | "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseTextProps & import("tamagui").TamaguiComponentPropsBase & {
89
+ style?: import("@tamagui/web").StyleProp<React.CSSProperties & import("react-native").TextStyle>;
90
+ } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{
91
+ readonly unstyled?: boolean | undefined;
92
+ readonly size?: import("tamagui").FontSizeTokens | undefined;
93
+ } | ({
94
+ readonly unstyled?: boolean | undefined;
95
+ readonly size?: import("tamagui").FontSizeTokens | undefined;
96
+ } & {
97
+ [x: string]: undefined;
98
+ }), string | number> & {
99
+ [x: string]: undefined;
100
+ }>> & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native").TextProps, "style" | "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseTextProps & import("tamagui").TamaguiComponentPropsBase & {
101
+ style?: import("@tamagui/web").StyleProp<React.CSSProperties & import("react-native").TextStyle>;
102
+ } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{
103
+ readonly unstyled?: boolean | undefined;
104
+ readonly size?: import("tamagui").FontSizeTokens | undefined;
105
+ } | ({
106
+ readonly unstyled?: boolean | undefined;
107
+ readonly size?: import("tamagui").FontSizeTokens | undefined;
108
+ } & {
109
+ [x: string]: undefined;
110
+ }), string | number> & {
111
+ [x: string]: undefined;
112
+ }>>), import("tamagui").TamaguiElement, import("tamagui").TextPropsBase, ({
113
+ readonly unstyled?: boolean | undefined;
114
+ readonly size?: import("tamagui").FontSizeTokens | undefined;
115
+ } | ({
116
+ readonly unstyled?: boolean | undefined;
117
+ readonly size?: import("tamagui").FontSizeTokens | undefined;
118
+ } & {
119
+ [x: string]: undefined;
120
+ })) & ({} | {
121
+ [x: string]: undefined;
122
+ } | {
123
+ [x: string]: undefined;
124
+ }), {
125
+ displayName: string | undefined;
126
+ }>;
127
+ parameters: {
128
+ status: {
129
+ type: string;
130
+ };
131
+ };
132
+ };
133
+ export default _default;
134
+ export declare const main: () => React.JSX.Element;
135
+ //# sourceMappingURL=LI.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LI.stories.d.ts","sourceRoot":"","sources":["../../../src/mdx/LI/LI.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAI1B,wBAIE;AAEF,eAAO,MAAM,IAAI,yBAIhB,CAAC"}
@@ -2,5 +2,6 @@ import React from 'react';
2
2
  import type { Meta } from '@storybook/react';
3
3
  declare const meta: Meta;
4
4
  export declare const main: () => React.JSX.Element;
5
+ export declare const openWithFunction: () => React.JSX.Element;
5
6
  export default meta;
6
7
  //# sourceMappingURL=SimpleDialog.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SimpleDialog.stories.d.ts","sourceRoot":"","sources":["../../../src/panels/SimpleDialog/SimpleDialog.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAI7C,QAAA,MAAM,IAAI,EAAE,IAIX,CAAC;AAEF,eAAO,MAAM,IAAI,yBAehB,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"SimpleDialog.stories.d.ts","sourceRoot":"","sources":["../../../src/panels/SimpleDialog/SimpleDialog.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAK7C,QAAA,MAAM,IAAI,EAAE,IAIX,CAAC;AAEF,eAAO,MAAM,IAAI,yBAQhB,CAAC;AA2BF,eAAO,MAAM,gBAAgB,yBAA6B,CAAC;AAE3D,eAAe,IAAI,CAAC"}
@@ -1,13 +1,15 @@
1
1
  import React from 'react';
2
2
  import type { DialogProps, DialogTitleProps, DialogDescriptionProps, DialogContentProps } from 'tamagui';
3
- type SimpleDialogProps = DialogProps & {
4
- description?: React.ReactNode;
5
- titleStyle?: DialogTitleProps;
6
- descriptionStyle?: DialogDescriptionProps;
3
+ import type { ReactNode } from 'react';
4
+ export type SimpleDialogProps = DialogProps & {
7
5
  contentStyle?: DialogContentProps;
8
- title?: React.ReactNode;
9
- element: React.ReactNode;
6
+ description?: ReactNode;
7
+ descriptionStyle?: DialogDescriptionProps;
8
+ open?: boolean;
9
+ title?: ReactNode;
10
+ titleStyle?: DialogTitleProps;
11
+ trigger?: ReactNode;
12
+ onOpenChange?: (open: boolean) => void;
10
13
  };
11
- export declare function SimpleDialog({ children, element, title, description, titleStyle, descriptionStyle, contentStyle, ...props }: SimpleDialogProps): React.JSX.Element;
12
- export {};
14
+ export declare function SimpleDialog({ children, contentStyle, description, descriptionStyle, title, titleStyle, trigger, ...props }: SimpleDialogProps): React.JSX.Element;
13
15
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/panels/SimpleDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAIzG,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACrC,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,gBAAgB,CAAC,EAAE,sBAAsB,CAAC;IAC1C,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,CAAC;AAEF,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,OAAO,EACP,KAAK,EACL,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,YAAY,EACZ,GAAG,KAAK,EACT,EAAE,iBAAiB,qBA2CnB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/panels/SimpleDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AACzG,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,MAAM,iBAAiB,GAAG,WAAW,GAAG;IAC5C,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,gBAAgB,CAAC,EAAE,sBAAsB,CAAC;IAC1C,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CACxC,CAAC;AAEF,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,YAAY,EACZ,WAAW,EACX,gBAAgB,EAChB,KAAK,EACL,UAAU,EACV,OAAO,EACP,GAAG,KAAK,EACT,EAAE,iBAAiB,qBA0DnB"}
@@ -1 +1 @@
1
- {"version":3,"file":"SimplePopover.stories.d.ts","sourceRoot":"","sources":["../../../src/panels/SimplePopover/SimplePopover.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE7C,QAAA,MAAM,IAAI,EAAE,IAIX,CAAC;AAEF,eAAO,MAAM,IAAI,yBAWhB,CAAC;AACF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"SimplePopover.stories.d.ts","sourceRoot":"","sources":["../../../src/panels/SimplePopover/SimplePopover.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE7C,QAAA,MAAM,IAAI,EAAE,IAIX,CAAC;AAEF,eAAO,MAAM,IAAI,yBAMhB,CAAC;AACF,eAAe,IAAI,CAAC"}
@@ -1,11 +1,10 @@
1
- import type { PopoverProps, PopoverContentProps, AdaptProps, PopoverArrowProps } from 'tamagui';
1
+ import type { PopoverProps, PopoverContentProps, PopoverArrowProps } from 'tamagui';
2
2
  import React from 'react';
3
- type SimplePopoverProps = PopoverProps & {
4
- adaptStyle?: AdaptProps;
3
+ import type { ReactNode } from 'react';
4
+ export type SimplePopoverProps = PopoverProps & {
5
5
  contentStyle?: PopoverContentProps;
6
6
  arrowStyle?: PopoverArrowProps;
7
- element: React.ReactNode;
7
+ trigger: ReactNode;
8
8
  };
9
- export declare function SimplePopover({ children, element, contentStyle, adaptStyle, arrowStyle, ...props }: SimplePopoverProps): React.JSX.Element;
10
- export {};
9
+ export declare function SimplePopover({ children, trigger, contentStyle, arrowStyle, ...props }: SimplePopoverProps): React.JSX.Element;
11
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/panels/SimplePopover/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,mBAAmB,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEhG,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,KAAK,kBAAkB,GAAG,YAAY,GAAG;IACvC,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,YAAY,CAAC,EAAE,mBAAmB,CAAC;IACnC,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,CAAC;AAEF,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,OAAO,EACP,YAAY,EACZ,UAAU,EACV,UAAU,EACV,GAAG,KAAK,EACT,EAAE,kBAAkB,qBAsCpB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/panels/SimplePopover/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEpF,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,kBAAkB,GAAG,YAAY,GAAG;IAC9C,YAAY,CAAC,EAAE,mBAAmB,CAAC;IACnC,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B,OAAO,EAAE,SAAS,CAAC;CACpB,CAAC;AAEF,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,qBAoC1G"}
@@ -1 +1 @@
1
- {"version":3,"file":"SimpleSheet.stories.d.ts","sourceRoot":"","sources":["../../../src/panels/SimpleSheet/SimpleSheet.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE7C,QAAA,MAAM,IAAI,EAAE,IAKX,CAAC;AAEF,eAAO,MAAM,IAAI,yBAA8B,CAAC;AAChD,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"SimpleSheet.stories.d.ts","sourceRoot":"","sources":["../../../src/panels/SimpleSheet/SimpleSheet.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE7C,QAAA,MAAM,IAAI,EAAE,IAKX,CAAC;AAEF,eAAO,MAAM,IAAI,yBAAmE,CAAC;AACrF,eAAe,IAAI,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/panels/SimpleTooltip/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAGxE,KAAK,kBAAkB,GAAG,YAAY,GAAG;IAAE,OAAO,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,GAAG;IAAE,UAAU,CAAC,EAAE,UAAU,CAAA;CAAE,GAAG;IACpG,cAAc,CAAC,EAAE,cAAc,CAAC;CACjC,CAAC;AAEF,wBAAgB,aAAa,CAAC,EAC5B,IAAI,EACJ,QAAQ,EACR,OAAO,EACP,UAAU,EACV,cAAc,EACd,GAAG,KAAK,EACT,EAAE,kBAAkB,GAAG;IAAE,IAAI,CAAC,EAAE,GAAG,CAAA;CAAE,qBA6BrC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/panels/SimpleTooltip/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAGxE,KAAK,kBAAkB,GAAG,YAAY,GAAG;IAAE,OAAO,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,GAAG;IAAE,UAAU,CAAC,EAAE,UAAU,CAAA;CAAE,GAAG;IACpG,cAAc,CAAC,EAAE,cAAc,CAAC;CACjC,CAAC;AAEF,wBAAgB,aAAa,CAAC,EAC5B,IAAI,EACJ,QAAQ,EACR,OAAO,EACP,UAAU,EACV,cAAc,EACd,GAAG,KAAK,EACT,EAAE,kBAAkB,GAAG;IAAE,IAAI,CAAC,EAAE,GAAG,CAAA;CAAE,qBA+BrC"}