@tamagui/cli 3.0.0-beta.1432.1 → 3.0.0-beta.1444.1
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/migrate.cjs +3 -1
- package/package.json +9 -9
- package/src/migrate.ts +3 -1
package/dist/migrate.cjs
CHANGED
|
@@ -179,7 +179,7 @@ After:
|
|
|
179
179
|
Search:
|
|
180
180
|
|
|
181
181
|
\`\`\`bash
|
|
182
|
-
rg "focusable|fullscreen|themeInverse|<Theme inverse|Sheet\\.Frame|styleable\\(|inlineWhenUnflattened|\\$true|getTokenRelative|stepTokenUpOrDown|forceRemoveScrollEnabled|sizeAdjust|getExpandedShorthands|usePropsAndStyle|useProps|useStyle"
|
|
182
|
+
rg "focusable|fullscreen|themeInverse|<Theme inverse|Sheet\\.Frame|styleable\\(|inlineWhenUnflattened|\\$true|getTokenRelative|stepTokenUpOrDown|forceRemoveScrollEnabled|sizeAdjust|getExpandedShorthands|usePropsAndStyle|useProps|useStyle|Unspaced|spacedChildren"
|
|
183
183
|
\`\`\`
|
|
184
184
|
|
|
185
185
|
Replace:
|
|
@@ -198,6 +198,8 @@ Replace:
|
|
|
198
198
|
- \`createCheckbox\` \`sizeAdjust\` -> explicit sizing math or component styles.
|
|
199
199
|
- \`getExpandedShorthands\` -> \`getExpandedShorthand(key, props)\` when behavior code needs one authored prop and must accept its configured shorthand.
|
|
200
200
|
- \`useProps\`, \`useStyle\`, and \`usePropsAndStyle\` -> keep conditional values on styled Tamagui components; use \`splitStyleProps\` only when a wrapper must partition authored props.
|
|
201
|
+
- \`<Unspaced>\` -> its children, and \`spacedChildren\` -> \`gap\`: stacks no longer insert spacers.
|
|
202
|
+
- a \`theme\`, handler, or other non-style key inside \`variants\` -> set it on a wrapper one level up. Variants hold styles and aria/data attributes only; type checking flags the rest.
|
|
201
203
|
|
|
202
204
|
V2 could spread one style across its base prop, pseudo-style objects, media
|
|
203
205
|
objects, and platform objects. The removed hooks gathered those separate
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/cli",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.1444.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"bin": {
|
|
6
6
|
"tama": "dist/index.cjs",
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
"test:web": "bun run test"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@tamagui/generate-themes": "3.0.0-beta.
|
|
56
|
-
"@tamagui/metro-plugin": "3.0.0-beta.
|
|
57
|
-
"@tamagui/static": "3.0.0-beta.
|
|
58
|
-
"@tamagui/to-tailwind": "3.0.0-beta.
|
|
59
|
-
"@tamagui/types": "3.0.0-beta.
|
|
60
|
-
"@tamagui/vite-plugin": "3.0.0-beta.
|
|
55
|
+
"@tamagui/generate-themes": "3.0.0-beta.1444.1",
|
|
56
|
+
"@tamagui/metro-plugin": "3.0.0-beta.1444.1",
|
|
57
|
+
"@tamagui/static": "3.0.0-beta.1444.1",
|
|
58
|
+
"@tamagui/to-tailwind": "3.0.0-beta.1444.1",
|
|
59
|
+
"@tamagui/types": "3.0.0-beta.1444.1",
|
|
60
|
+
"@tamagui/vite-plugin": "3.0.0-beta.1444.1",
|
|
61
61
|
"arg": "^5.0.2",
|
|
62
62
|
"chalk": "^4.1.2",
|
|
63
63
|
"change-case": "^4.1.2",
|
|
@@ -76,10 +76,10 @@
|
|
|
76
76
|
"ts-morph": "^28.0.0",
|
|
77
77
|
"typescript": "7.0.2",
|
|
78
78
|
"url": "^0.11.0",
|
|
79
|
-
"@tamagui/language-service": "3.0.0-beta.
|
|
79
|
+
"@tamagui/language-service": "3.0.0-beta.1444.1"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
|
-
"@tamagui/build": "3.0.0-beta.
|
|
82
|
+
"@tamagui/build": "3.0.0-beta.1444.1",
|
|
83
83
|
"@types/chokidar": "^2.1.3",
|
|
84
84
|
"@types/marked": "^5.0.0",
|
|
85
85
|
"vitest": "4.1.0"
|
package/src/migrate.ts
CHANGED
|
@@ -163,7 +163,7 @@ After:
|
|
|
163
163
|
Search:
|
|
164
164
|
|
|
165
165
|
\`\`\`bash
|
|
166
|
-
rg "focusable|fullscreen|themeInverse|<Theme inverse|Sheet\\.Frame|styleable\\(|inlineWhenUnflattened|\\$true|getTokenRelative|stepTokenUpOrDown|forceRemoveScrollEnabled|sizeAdjust|getExpandedShorthands|usePropsAndStyle|useProps|useStyle"
|
|
166
|
+
rg "focusable|fullscreen|themeInverse|<Theme inverse|Sheet\\.Frame|styleable\\(|inlineWhenUnflattened|\\$true|getTokenRelative|stepTokenUpOrDown|forceRemoveScrollEnabled|sizeAdjust|getExpandedShorthands|usePropsAndStyle|useProps|useStyle|Unspaced|spacedChildren"
|
|
167
167
|
\`\`\`
|
|
168
168
|
|
|
169
169
|
Replace:
|
|
@@ -182,6 +182,8 @@ Replace:
|
|
|
182
182
|
- \`createCheckbox\` \`sizeAdjust\` -> explicit sizing math or component styles.
|
|
183
183
|
- \`getExpandedShorthands\` -> \`getExpandedShorthand(key, props)\` when behavior code needs one authored prop and must accept its configured shorthand.
|
|
184
184
|
- \`useProps\`, \`useStyle\`, and \`usePropsAndStyle\` -> keep conditional values on styled Tamagui components; use \`splitStyleProps\` only when a wrapper must partition authored props.
|
|
185
|
+
- \`<Unspaced>\` -> its children, and \`spacedChildren\` -> \`gap\`: stacks no longer insert spacers.
|
|
186
|
+
- a \`theme\`, handler, or other non-style key inside \`variants\` -> set it on a wrapper one level up. Variants hold styles and aria/data attributes only; type checking flags the rest.
|
|
185
187
|
|
|
186
188
|
V2 could spread one style across its base prop, pseudo-style objects, media
|
|
187
189
|
objects, and platform objects. The removed hooks gathered those separate
|