Skip to content

Commit 1315fe7

Browse files
committed
fix: revert to use yarn
1 parent f7e3f6d commit 1315fe7

File tree

4 files changed

+7
-13
lines changed

4 files changed

+7
-13
lines changed

.size-limit.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[
22
{
33
"path": "packages/core/dist/chakra-ui-vue-next.cjs.prod.js",
4-
"limit": "85 KB",
4+
"limit": "86 KB",
55
"ignore": [
66
"vue",
77
"@emotion/css"

components.d.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* This is a generated file. Do not edit it's contents.
88
*
9-
* This file was generated on 2022-01-29T14:19:14.977Z
9+
* This file was generated on 2022-01-31T09:07:39.476Z
1010
*/
1111

1212
import { ChakraProps, chakra } from "@chakra-ui/vue-system"
@@ -41,8 +41,7 @@ declare var chakra: typeof import("@chakra-ui/vue-next")["chakra"]
4141

4242
declare module "@vue/runtime-core" {
4343
import { chakra } from "@chakra-ui/vue-next"
44-
45-
export var chakra: typeof import("@chakra-ui/vue-next")["chakra"]
44+
export { chakra }
4645

4746
/* Global component types for Volar auto-complete */
4847
export interface GlobalComponents {

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

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
import { computed, ComputedRef, defineComponent, h, PropType } from "vue"
2-
import {
3-
SystemCSSProperties,
4-
SystemStyleObject,
5-
} from "@chakra-ui/styled-system"
2+
import { SystemProps, SystemStyleObject } from "@chakra-ui/styled-system"
63
import { chakra, ThemingProps, ComponentWithProps } from "@chakra-ui/vue-system"
74
import { createContext, vueThemingProps } from "@chakra-ui/vue-utils"
85

@@ -21,7 +18,7 @@ export interface ButtonGroupProps extends ThemingProps {
2118
* @default '0.5rem'
2219
* @type SystemProps["marginRight"]
2320
*/
24-
spacing?: SystemCSSProperties["marginRight"]
21+
spacing?: SystemProps["marginRight"]
2522
}
2623

2724
const props = {

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

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { SystemCSSProperties } from "@chakra-ui/styled-system"
1+
import { SystemProps } from "@chakra-ui/styled-system"
22
import { vueThemingProps, BaseThemedComponentProps } from "@chakra-ui/vue-utils"
33
import { PropType } from "vue"
44

@@ -13,7 +13,7 @@ export interface ButtonProps extends BaseThemedComponentProps {
1313
type?: ButtonTypes
1414
leftIcon?: string
1515
rightIcon?: string
16-
iconSpacing?: SystemCSSProperties["marginRight"]
16+
iconSpacing?: SystemProps["marginRight"]
1717
}
1818

1919
export const BUTTON_PROPS = {
@@ -32,8 +32,6 @@ export const BUTTON_PROPS = {
3232
leftIcon: String as PropType<ButtonProps["leftIcon"]>,
3333
rightIcon: String as PropType<ButtonProps["rightIcon"]>,
3434
...vueThemingProps,
35-
36-
/** Not sure if the SystemCSSProperties is the right prop type for this */
3735
iconSpacing: {
3836
type: [String, Number, Array] as PropType<ButtonProps["iconSpacing"]>,
3937
default: "0.5rem",

0 commit comments

Comments
 (0)