@planningcenter/tapestry-migration-cli 4.10.0-rc.9 → 4.10.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@planningcenter/tapestry-migration-cli",
3
- "version": "4.10.0-rc.9",
3
+ "version": "4.10.0",
4
4
  "description": "CLI tool for Tapestry migrations",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -30,8 +30,8 @@
30
30
  },
31
31
  "devDependencies": {
32
32
  "@emotion/react": "^11.14.0",
33
- "@planningcenter/tapestry": "^4.10.0-rc.9",
34
33
  "@planningcenter/tapestry-react": "^4.11.5",
34
+ "@planningcenter/tapestry-tokens": "^4.4.0",
35
35
  "@types/jscodeshift": "^17.3.0",
36
36
  "@types/node": "^20.0.0",
37
37
  "typescript": "^5.8.3",
@@ -50,5 +50,5 @@
50
50
  "publishConfig": {
51
51
  "access": "public"
52
52
  },
53
- "gitHead": "da84a612334b0df7c26a21495c225690e8ead84a"
53
+ "gitHead": "3457b28c41e489b5e2fce83c8afa2e67b8df54ed"
54
54
  }
@@ -1,16 +1,9 @@
1
- export { Button } from "../../../../node_modules/@planningcenter/tapestry/dist/components/button/Button"
2
- export { DropdownButton } from "../../../../node_modules/@planningcenter/tapestry/dist/components/button/DropdownButton"
3
- export { DropdownIconButton } from "../../../../node_modules/@planningcenter/tapestry/dist/components/button/DropdownIconButton"
4
- export { IconButton } from "../../../../node_modules/@planningcenter/tapestry/dist/components/button/IconButton"
5
- export { LoadingButton } from "../../../../node_modules/@planningcenter/tapestry/dist/components/button/LoadingButton"
6
- export { PageHeaderActionsDropdownButton } from "../../../../node_modules/@planningcenter/tapestry/dist/components/button/PageHeaderActionsDropdownButton"
7
- export { IconLink } from "../../../../node_modules/@planningcenter/tapestry/dist/components/link/IconLink"
8
- export { Link } from "../../../../node_modules/@planningcenter/tapestry/dist/components/link/Link"
9
- export { PageHeader } from "../../../../node_modules/@planningcenter/tapestry/dist/components/page-header/PageHeader"
10
- export { Sidenav } from "../../../../node_modules/@planningcenter/tapestry/dist/components/sidenav/Sidenav"
11
- export { SidenavItem } from "../../../../node_modules/@planningcenter/tapestry/dist/components/sidenav/SidenavItem"
12
- export { SidenavSection } from "../../../../node_modules/@planningcenter/tapestry/dist/components/sidenav/SidenavSection"
13
- export {
14
- computedToken,
15
- token,
16
- } from "../../../../node_modules/@planningcenter/tapestry/dist/jsTokens"
1
+ import { tokens } from "@planningcenter/tapestry-tokens/tokens"
2
+
3
+ export function token<T extends keyof typeof tokens>(varName: T) {
4
+ return `var(${varName})` as const
5
+ }
6
+
7
+ export function computedToken<T extends keyof typeof tokens>(varName: T) {
8
+ return tokens[varName] as (typeof tokens)[T]
9
+ }