tamagui 1.0.13 → 1.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -35,6 +35,9 @@ const TextAreaFrame = (0, import_core.styled)(import_Input.InputFrame, {
35
35
  size: {
36
36
  "...size": import_inputHelpers.textAreaSizeVariant
37
37
  }
38
+ },
39
+ defaultVariants: {
40
+ size: "$true"
38
41
  }
39
42
  });
40
43
  const TextArea = (0, import_focusable.focusableInputHOC)(TextAreaFrame);
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/views/TextArea.tsx"],
4
- "sourcesContent": ["import { GetProps, styled } from '@tamagui/core'\nimport { focusableInputHOC } from '@tamagui/focusable'\n\nimport { textAreaSizeVariant } from '../helpers/inputHelpers'\nimport { InputFrame } from './Input'\n\nexport const TextAreaFrame = styled(InputFrame, {\n name: 'TextArea',\n multiline: true,\n numberOfLines: 4,\n height: 'auto',\n\n variants: {\n size: {\n '...size': textAreaSizeVariant,\n },\n } as const,\n})\n\nexport type TextAreaProps = GetProps<typeof TextArea>\n\nexport const TextArea = focusableInputHOC(TextAreaFrame)\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAiC;AACjC,uBAAkC;AAElC,0BAAoC;AACpC,mBAA2B;AAEpB,MAAM,oBAAgB,oBAAO,yBAAY;AAAA,EAC9C,MAAM;AAAA,EACN,WAAW;AAAA,EACX,eAAe;AAAA,EACf,QAAQ;AAAA,EAER,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,WAAW;AAAA,IACb;AAAA,EACF;AACF,CAAC;AAIM,MAAM,eAAW,oCAAkB,aAAa;",
4
+ "sourcesContent": ["import { GetProps, styled } from '@tamagui/core'\nimport { focusableInputHOC } from '@tamagui/focusable'\n\nimport { textAreaSizeVariant } from '../helpers/inputHelpers'\nimport { InputFrame } from './Input'\n\nexport const TextAreaFrame = styled(InputFrame, {\n name: 'TextArea',\n multiline: true,\n numberOfLines: 4,\n height: 'auto',\n\n variants: {\n size: {\n '...size': textAreaSizeVariant,\n },\n } as const,\n\n defaultVariants: {\n size: '$true',\n },\n})\n\nexport type TextAreaProps = GetProps<typeof TextArea>\n\nexport const TextArea = focusableInputHOC(TextAreaFrame)\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAiC;AACjC,uBAAkC;AAElC,0BAAoC;AACpC,mBAA2B;AAEpB,MAAM,oBAAgB,oBAAO,yBAAY;AAAA,EAC9C,MAAM;AAAA,EACN,WAAW;AAAA,EACX,eAAe;AAAA,EACf,QAAQ;AAAA,EAER,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,WAAW;AAAA,IACb;AAAA,EACF;AAAA,EAEA,iBAAiB;AAAA,IACf,MAAM;AAAA,EACR;AACF,CAAC;AAIM,MAAM,eAAW,oCAAkB,aAAa;",
6
6
  "names": []
7
7
  }
@@ -11,6 +11,9 @@ const TextAreaFrame = styled(InputFrame, {
11
11
  size: {
12
12
  "...size": textAreaSizeVariant
13
13
  }
14
+ },
15
+ defaultVariants: {
16
+ size: "$true"
14
17
  }
15
18
  });
16
19
  const TextArea = focusableInputHOC(TextAreaFrame);
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/views/TextArea.tsx"],
4
- "sourcesContent": ["import { GetProps, styled } from '@tamagui/core'\nimport { focusableInputHOC } from '@tamagui/focusable'\n\nimport { textAreaSizeVariant } from '../helpers/inputHelpers'\nimport { InputFrame } from './Input'\n\nexport const TextAreaFrame = styled(InputFrame, {\n name: 'TextArea',\n multiline: true,\n numberOfLines: 4,\n height: 'auto',\n\n variants: {\n size: {\n '...size': textAreaSizeVariant,\n },\n } as const,\n})\n\nexport type TextAreaProps = GetProps<typeof TextArea>\n\nexport const TextArea = focusableInputHOC(TextAreaFrame)\n"],
5
- "mappings": "AAAA,SAAmB,cAAc;AACjC,SAAS,yBAAyB;AAElC,SAAS,2BAA2B;AACpC,SAAS,kBAAkB;AAEpB,MAAM,gBAAgB,OAAO,YAAY;AAAA,EAC9C,MAAM;AAAA,EACN,WAAW;AAAA,EACX,eAAe;AAAA,EACf,QAAQ;AAAA,EAER,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,WAAW;AAAA,IACb;AAAA,EACF;AACF,CAAC;AAIM,MAAM,WAAW,kBAAkB,aAAa;",
4
+ "sourcesContent": ["import { GetProps, styled } from '@tamagui/core'\nimport { focusableInputHOC } from '@tamagui/focusable'\n\nimport { textAreaSizeVariant } from '../helpers/inputHelpers'\nimport { InputFrame } from './Input'\n\nexport const TextAreaFrame = styled(InputFrame, {\n name: 'TextArea',\n multiline: true,\n numberOfLines: 4,\n height: 'auto',\n\n variants: {\n size: {\n '...size': textAreaSizeVariant,\n },\n } as const,\n\n defaultVariants: {\n size: '$true',\n },\n})\n\nexport type TextAreaProps = GetProps<typeof TextArea>\n\nexport const TextArea = focusableInputHOC(TextAreaFrame)\n"],
5
+ "mappings": "AAAA,SAAmB,cAAc;AACjC,SAAS,yBAAyB;AAElC,SAAS,2BAA2B;AACpC,SAAS,kBAAkB;AAEpB,MAAM,gBAAgB,OAAO,YAAY;AAAA,EAC9C,MAAM;AAAA,EACN,WAAW;AAAA,EACX,eAAe;AAAA,EACf,QAAQ;AAAA,EAER,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,WAAW;AAAA,IACb;AAAA,EACF;AAAA,EAEA,iBAAiB;AAAA,IACf,MAAM;AAAA,EACR;AACF,CAAC;AAIM,MAAM,WAAW,kBAAkB,aAAa;",
6
6
  "names": []
7
7
  }
@@ -11,6 +11,9 @@ const TextAreaFrame = styled(InputFrame, {
11
11
  size: {
12
12
  "...size": textAreaSizeVariant
13
13
  }
14
+ },
15
+ defaultVariants: {
16
+ size: "$true"
14
17
  }
15
18
  });
16
19
  const TextArea = focusableInputHOC(TextAreaFrame);
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/views/TextArea.tsx"],
4
- "sourcesContent": ["import { GetProps, styled } from '@tamagui/core'\nimport { focusableInputHOC } from '@tamagui/focusable'\n\nimport { textAreaSizeVariant } from '../helpers/inputHelpers'\nimport { InputFrame } from './Input'\n\nexport const TextAreaFrame = styled(InputFrame, {\n name: 'TextArea',\n multiline: true,\n numberOfLines: 4,\n height: 'auto',\n\n variants: {\n size: {\n '...size': textAreaSizeVariant,\n },\n } as const,\n})\n\nexport type TextAreaProps = GetProps<typeof TextArea>\n\nexport const TextArea = focusableInputHOC(TextAreaFrame)\n"],
5
- "mappings": "AAAA,SAAmB,cAAc;AACjC,SAAS,yBAAyB;AAElC,SAAS,2BAA2B;AACpC,SAAS,kBAAkB;AAEpB,MAAM,gBAAgB,OAAO,YAAY;AAAA,EAC9C,MAAM;AAAA,EACN,WAAW;AAAA,EACX,eAAe;AAAA,EACf,QAAQ;AAAA,EAER,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,WAAW;AAAA,IACb;AAAA,EACF;AACF,CAAC;AAIM,MAAM,WAAW,kBAAkB,aAAa;",
4
+ "sourcesContent": ["import { GetProps, styled } from '@tamagui/core'\nimport { focusableInputHOC } from '@tamagui/focusable'\n\nimport { textAreaSizeVariant } from '../helpers/inputHelpers'\nimport { InputFrame } from './Input'\n\nexport const TextAreaFrame = styled(InputFrame, {\n name: 'TextArea',\n multiline: true,\n numberOfLines: 4,\n height: 'auto',\n\n variants: {\n size: {\n '...size': textAreaSizeVariant,\n },\n } as const,\n\n defaultVariants: {\n size: '$true',\n },\n})\n\nexport type TextAreaProps = GetProps<typeof TextArea>\n\nexport const TextArea = focusableInputHOC(TextAreaFrame)\n"],
5
+ "mappings": "AAAA,SAAmB,cAAc;AACjC,SAAS,yBAAyB;AAElC,SAAS,2BAA2B;AACpC,SAAS,kBAAkB;AAEpB,MAAM,gBAAgB,OAAO,YAAY;AAAA,EAC9C,MAAM;AAAA,EACN,WAAW;AAAA,EACX,eAAe;AAAA,EACf,QAAQ;AAAA,EAER,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,WAAW;AAAA,IACb;AAAA,EACF;AAAA,EAEA,iBAAiB;AAAA,IACf,MAAM;AAAA,EACR;AACF,CAAC;AAIM,MAAM,WAAW,kBAAkB,aAAa;",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tamagui",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "sideEffects": [
5
5
  "*.css",
6
6
  "*setup.js"
@@ -33,48 +33,48 @@
33
33
  }
34
34
  },
35
35
  "dependencies": {
36
- "@tamagui/adapt": "^1.0.13",
37
- "@tamagui/alert-dialog": "^1.0.13",
38
- "@tamagui/animate-presence": "^1.0.13",
39
- "@tamagui/avatar": "^1.0.13",
40
- "@tamagui/button": "^1.0.13",
41
- "@tamagui/card": "^1.0.13",
42
- "@tamagui/compose-refs": "^1.0.13",
43
- "@tamagui/core": "^1.0.13",
44
- "@tamagui/create-context": "^1.0.13",
45
- "@tamagui/dialog": "^1.0.13",
46
- "@tamagui/fake-react-native": "^1.0.13",
47
- "@tamagui/font-size": "^1.0.13",
48
- "@tamagui/get-button-sized": "^1.0.13",
49
- "@tamagui/get-font-sized": "^1.0.13",
50
- "@tamagui/get-size": "^1.0.13",
51
- "@tamagui/helpers": "^1.0.13",
52
- "@tamagui/helpers-tamagui": "^1.0.13",
53
- "@tamagui/image": "^1.0.13",
54
- "@tamagui/label": "^1.0.13",
55
- "@tamagui/linear-gradient": "^1.0.13",
56
- "@tamagui/list-item": "^1.0.13",
57
- "@tamagui/popover": "^1.0.13",
58
- "@tamagui/popper": "^1.0.13",
59
- "@tamagui/portal": "^1.0.13",
60
- "@tamagui/progress": "^1.0.13",
61
- "@tamagui/react-native-media-driver": "^1.0.13",
62
- "@tamagui/scroll-view": "^1.0.13",
63
- "@tamagui/select": "^1.0.13",
64
- "@tamagui/separator": "^1.0.13",
65
- "@tamagui/shapes": "^1.0.13",
66
- "@tamagui/sheet": "^1.0.13",
67
- "@tamagui/slider": "^1.0.13",
68
- "@tamagui/stacks": "^1.0.13",
69
- "@tamagui/switch": "^1.0.13",
70
- "@tamagui/text": "^1.0.13",
71
- "@tamagui/tooltip": "^1.0.13",
72
- "@tamagui/use-controllable-state": "^1.0.13",
73
- "@tamagui/use-debounce": "^1.0.13",
74
- "@tamagui/use-event": "^1.0.13",
75
- "@tamagui/use-force-update": "^1.0.13",
76
- "@tamagui/use-window-dimensions": "^1.0.13",
77
- "@tamagui/visually-hidden": "^1.0.13"
36
+ "@tamagui/adapt": "^1.0.15",
37
+ "@tamagui/alert-dialog": "^1.0.15",
38
+ "@tamagui/animate-presence": "^1.0.15",
39
+ "@tamagui/avatar": "^1.0.15",
40
+ "@tamagui/button": "^1.0.15",
41
+ "@tamagui/card": "^1.0.15",
42
+ "@tamagui/compose-refs": "^1.0.15",
43
+ "@tamagui/core": "^1.0.15",
44
+ "@tamagui/create-context": "^1.0.15",
45
+ "@tamagui/dialog": "^1.0.15",
46
+ "@tamagui/fake-react-native": "^1.0.15",
47
+ "@tamagui/font-size": "^1.0.15",
48
+ "@tamagui/get-button-sized": "^1.0.15",
49
+ "@tamagui/get-font-sized": "^1.0.15",
50
+ "@tamagui/get-size": "^1.0.15",
51
+ "@tamagui/helpers": "^1.0.15",
52
+ "@tamagui/helpers-tamagui": "^1.0.15",
53
+ "@tamagui/image": "^1.0.15",
54
+ "@tamagui/label": "^1.0.15",
55
+ "@tamagui/linear-gradient": "^1.0.15",
56
+ "@tamagui/list-item": "^1.0.15",
57
+ "@tamagui/popover": "^1.0.15",
58
+ "@tamagui/popper": "^1.0.15",
59
+ "@tamagui/portal": "^1.0.15",
60
+ "@tamagui/progress": "^1.0.15",
61
+ "@tamagui/react-native-media-driver": "^1.0.15",
62
+ "@tamagui/scroll-view": "^1.0.15",
63
+ "@tamagui/select": "^1.0.15",
64
+ "@tamagui/separator": "^1.0.15",
65
+ "@tamagui/shapes": "^1.0.15",
66
+ "@tamagui/sheet": "^1.0.15",
67
+ "@tamagui/slider": "^1.0.15",
68
+ "@tamagui/stacks": "^1.0.15",
69
+ "@tamagui/switch": "^1.0.15",
70
+ "@tamagui/text": "^1.0.15",
71
+ "@tamagui/tooltip": "^1.0.15",
72
+ "@tamagui/use-controllable-state": "^1.0.15",
73
+ "@tamagui/use-debounce": "^1.0.15",
74
+ "@tamagui/use-event": "^1.0.15",
75
+ "@tamagui/use-force-update": "^1.0.15",
76
+ "@tamagui/use-window-dimensions": "^1.0.15",
77
+ "@tamagui/visually-hidden": "^1.0.15"
78
78
  },
79
79
  "peerDependencies": {
80
80
  "react": "*",
@@ -82,7 +82,7 @@
82
82
  "react-native-web": "*"
83
83
  },
84
84
  "devDependencies": {
85
- "@tamagui/build": "^1.0.13",
85
+ "@tamagui/build": "^1.0.15",
86
86
  "@types/node": "^16.11.9",
87
87
  "@types/react": "^18.0.15",
88
88
  "react": "^18.2.0",
@@ -15,6 +15,10 @@ export const TextAreaFrame = styled(InputFrame, {
15
15
  '...size': textAreaSizeVariant,
16
16
  },
17
17
  } as const,
18
+
19
+ defaultVariants: {
20
+ size: '$true',
21
+ },
18
22
  })
19
23
 
20
24
  export type TextAreaProps = GetProps<typeof TextArea>