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

Commit ac28d42

Browse files
committed
feat: create changset version
1 parent 1ad71ad commit ac28d42

File tree

3 files changed

+37
-3
lines changed

3 files changed

+37
-3
lines changed

.changeset/old-insects-exist.md

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
'@chakra-ui/c-accordion': minor
3+
'@chakra-ui/c-alert': minor
4+
'@chakra-ui/c-breadcrumb': minor
5+
'@chakra-ui/c-button': minor
6+
'@chakra-ui/c-close-button': minor
7+
'@chakra-ui/c-code': minor
8+
'@chakra-ui/c-color-mode': minor
9+
'@chakra-ui/c-flex': minor
10+
'@chakra-ui/c-focus-lock': minor
11+
'@chakra-ui/c-icon': minor
12+
'@chakra-ui/c-modal': minor
13+
'@chakra-ui/c-motion': minor
14+
'@chakra-ui/c-popper': minor
15+
'@chakra-ui/c-portal': minor
16+
'@chakra-ui/c-reset': minor
17+
'@chakra-ui/c-scroll-lock': minor
18+
'@chakra-ui/c-spinner': minor
19+
'@chakra-ui/c-theme-provider': minor
20+
'@chakra-ui/c-visually-hidden': minor
21+
'@chakra-ui/vue-next': minor
22+
'@chakra-ui/vue-layout': minor
23+
'@chakra-ui/vue-system': minor
24+
'@chakra-ui/vue-test-utils': minor
25+
'@chakra-ui/vue-theme': minor
26+
'@chakra-ui/vue-theme-tools': minor
27+
'@chakra-ui/vue-utils': minor
28+
'@chakra-ui/vue-a11y': minor
29+
'@chakra-ui/vue-composables': minor
30+
'@chakra-ui/vue-auto-import': minor
31+
'@chakra-ui/vue-docs': minor
32+
---
33+
34+
Create breadcrumb and collapse components

docs/components/collapse.md

-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ This component doesn't have any custom props.
7777
| ---------------- | --------- | ------------------------------------------------------------------------------------------------------------ |
7878
| isOpen | `boolean` | If `true`, the content will be visible |
7979
| animateOpacity | `boolean` | If `true`, the opacity of the content will be animated |
80-
| duration | `number` | The animation duration as it expands |
8180
| startingHeight | `number` | The height you want the content in it's collapsed state. Set to `0` by default |
8281
| endingHeight | `number` | The height you want the content in it's expanded state. Set to `auto` by default |
8382

packages/c-button/src/button.utils.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { SystemCSSProperties } from '@chakra-ui/styled-system'
2-
import { DOMElements } from '@chakra-ui/vue-system'
32
import { vueThemingProps, BaseThemedComponentProps } from '@chakra-ui/vue-utils'
43
import { PropType } from 'vue'
54

@@ -19,7 +18,9 @@ export interface ButtonProps extends BaseThemedComponentProps {
1918

2019
export const BUTTON_PROPS = {
2120
as: {
22-
type: String as PropType<ButtonProps['as']>,
21+
type: [String, Object] as PropType<
22+
ButtonProps['as'] | 'router-link' | 'nuxt-link' | object
23+
>,
2324
default: 'button',
2425
},
2526
isLoading: Boolean as PropType<ButtonProps['isLoading']>,

0 commit comments

Comments
 (0)