Skip to content

Commit a859d7a

Browse files
committed
Merge branch 'feature/prop-types' of github.com:chakra-ui/chakra-ui-vue-next into feature/prop-types
2 parents 7c09efe + e6243ba commit a859d7a

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

packages/layout/src/badge.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { vueThemingProps } from '@chakra-ui/vue-utils'
1313

1414
export interface BadgeProps
1515
extends HTMLChakraProps<'span'>,
16-
ThemingProps<'Badge'> {}
16+
Partial<ThemingProps<'Badge'>> {}
1717

1818
/**
1919
* Vue component used to display notifications, messages, or

packages/system/src/system.types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export type ComponentWithProps<P> = {
2121
$props: AllowedComponentProps &
2222
ComponentCustomProps &
2323
VNodeProps &
24-
ChakraFactoryProps &
24+
// ChakraFactoryProps &
2525
P
2626
}
2727
}

scripts/generate-global-types.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,11 @@ async function generateComponents() {
3535

3636
const allTypes = `
3737
/**
38-
* Global component types for @${pkgName}${pkgVersion}
38+
* Typescript support for @${pkgName}${pkgVersion} auto-imported
39+
* components using \`vite-plugin-components\`
40+
*
41+
* @see: https://github.com/antfu/vite-plugin-components#typescript
42+
*
3943
* This is a generated file. Do not edit it's contents.
4044
*
4145
* This file was generated on ${new Date().toISOString()}

0 commit comments

Comments
 (0)