Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit a5d3861

Browse files
committed
build: resolve all build types
1 parent a58bf00 commit a5d3861

File tree

5 files changed

+4
-6
lines changed

5 files changed

+4
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"dev": "preconstruct dev",
3939
"clean": "pnpm -r --parallel run clean",
4040
"prebuild": "pnpm clean",
41-
"build": "turbo run build --filter=!./examples/*",
41+
"build": "turbo run build --filter=!./examples/* --filter=!{./packages/test-utils}",
4242
"build:types": "ts-node scripts/generate-global-types.ts",
4343
"postbuild": "pnpm build:types && pnpm size",
4444
"start": "preconstruct watch",

packages/c-avatar/src/c-avatar-group.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import {
2020
cloneVNode,
2121
} from "vue"
2222
import { baseStyle } from "./c-avatar"
23+
import type * as CSS from "csstype"
2324

2425
export const avatarGroupProps = {
2526
max: {

packages/system/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"@chakra-ui/c-color-mode": "workspace:*",
2727
"@chakra-ui/styled-system": "2.5.1",
2828
"@chakra-ui/utils": "2.0.14",
29-
"@chakra-ui/vue-styled": "workspace:*",
3029
"@chakra-ui/vue-utils": "workspace:*",
3130
"@emotion/css": "^11.9.0",
3231
"@emotion/serialize": "1.1.1",
@@ -36,7 +35,6 @@
3635
},
3736
"devDependencies": {
3837
"@chakra-ui/theme": "^2.2.5",
39-
"@chakra-ui/vue-styled": "workspace:*",
4038
"@types/lodash.memoize": "^4.1.6",
4139
"vue": "^3.2.37"
4240
},

packages/system/src/chakra.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import {
2121
SystemProps,
2222
SystemStyleObject,
2323
} from "@chakra-ui/styled-system"
24-
import _styled from "@chakra-ui/vue-styled"
2524

2625
import {
2726
isFunction,
@@ -410,7 +409,8 @@ export function styled<T extends As, P = {}>(
410409
const { baseStyle, ...styledOptions } = options ?? {}
411410

412411
const styleObject = toCSSObject(options)
413-
return _styled(component as ChakraTagOrComponent, styledOptions)(styleObject)
412+
// @ts-ignore
413+
return chakra(component as ChakraTagOrComponent, styledOptions)(styleObject)
414414
}
415415

416416
export type ChakraComponent<P = ChakraProps> = ComponentWithProps<As & P>

packages/utils/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"dependencies": {
2323
"@chakra-ui/styled-system": "2.5.1",
2424
"@chakra-ui/utils": "2.0.14",
25-
"@chakra-ui/vue-system": "workspace:*",
2625
"@types/lodash.camelcase": "^4.3.6",
2726
"@types/lodash.memoize": "^4.1.6",
2827
"css-box-model": "1.2.1",

0 commit comments

Comments
 (0)