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

Commit 43bcb43

Browse files
committed
fix: icon for checkbox
1 parent 85a17e4 commit 43bcb43

File tree

31 files changed

+43
-275
lines changed

31 files changed

+43
-275
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"@babel/preset-typescript": "^7.12.7",
6161
"@chakra-ui/anatomy": "^2.0.1",
6262
"@chakra-ui/styled-system": "^2.2.2",
63-
"@chakra-ui/utils": "^2.0.3",
63+
"@chakra-ui/utils": "2.0.12",
6464
"@changesets/changelog-github": "^0.3.0",
6565
"@changesets/cli": "^2.14.1",
6666
"@commitlint/cli": "^11.0.0",

packages/c-accordion/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"dependencies": {
2323
"@chakra-ui/c-icon": "1.0.0-alpha.10",
2424
"@chakra-ui/c-motion": "0.1.0-alpha.9",
25-
"@chakra-ui/utils": "^2.0.3",
25+
"@chakra-ui/utils": "2.0.12",
2626
"@chakra-ui/vue-composables": "0.1.0-alpha.9",
2727
"@chakra-ui/vue-system": "0.1.0-alpha.10",
2828
"@chakra-ui/vue-utils": "0.1.0-alpha.10",

packages/c-avatar/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@
2525
"clean": "rimraf dist"
2626
},
2727
"dependencies": {
28-
"@chakra-ui/utils": "^2.0.3",
28+
"@chakra-ui/utils": "2.0.12",
2929
"@chakra-ui/vue-layout": "^0.1.0-alpha.11",
3030
"@chakra-ui/vue-system": "^0.1.0-alpha.5",
31-
"@chakra-ui/vue-utils": "0.1.0-alpha.10",
32-
"@chakra-ui/vue-theme-tools": "0.1.0-alpha.10"
31+
"@chakra-ui/vue-theme-tools": "0.1.0-alpha.10",
32+
"@chakra-ui/vue-utils": "0.1.0-alpha.10"
3333
},
3434
"devDependencies": {
35-
"vue": "^3.2.29"
35+
"vue": "^3.2.37"
3636
},
3737
"peerDependencies": {
3838
"vue": "^3.1.4"

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,7 @@ export const avatarProps = {
132132
export type CAvatarProps = typeof avatarProps
133133

134134
export const CAvatar: ComponentWithProps<CAvatarProps> = defineComponent({
135-
props: {
136-
...avatarProps,
137-
},
135+
props: avatarProps,
138136
setup(props, { slots, attrs }) {
139137
// Props handling
140138
const mergedProps = computed(() => mergeProps({}, props, attrs))

packages/c-breadcrumb/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
},
3030
"dependencies": {
3131
"@chakra-ui/styled-system": "^2.2.2",
32-
"@chakra-ui/utils": "^2.0.3",
32+
"@chakra-ui/utils": "2.0.12",
3333
"@chakra-ui/vue-system": "0.1.0-alpha.10",
3434
"@chakra-ui/vue-utils": "0.1.0-alpha.10"
3535
},

packages/c-button/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"dependencies": {
2323
"@chakra-ui/c-icon": "1.0.0-alpha.10",
2424
"@chakra-ui/c-spinner": "1.0.0-alpha.10",
25-
"@chakra-ui/utils": "^2.0.3",
25+
"@chakra-ui/utils": "2.0.12",
2626
"@chakra-ui/vue-system": "0.1.0-alpha.10",
2727
"@chakra-ui/vue-utils": "0.1.0-alpha.10"
2828
},

packages/c-checkbox/package.json

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@
1616
"default": "./dist/chakra-ui-c-checkbox.esm.js"
1717
}
1818
},
19-
"repository": {
20-
"type": "git",
21-
"url": "git+https://github.com/chakra-ui/chakra-ui-vue-next.git"
22-
},
19+
"repository": "https://github.com/chakra-ui/chakra-ui-vue-next/tree/master/packages/c-checkbox",
2320
"bugs": {
2421
"url": "https://github.com/chakra-ui/chakra-ui-vue-next/issues"
2522
},
@@ -34,12 +31,12 @@
3431
"@chakra-ui/vue-composables": "0.1.0-alpha.9",
3532
"@chakra-ui/vue-system": "0.1.0-alpha.10",
3633
"@chakra-ui/vue-utils": "0.1.0-alpha.10",
37-
"@vueuse/motion": "1.5.4",
34+
"@vueuse/motion": "^1.5.4",
3835
"@zag-js/checkbox": "0.1.6",
39-
"@zag-js/vue": "0.1.14"
36+
"@zag-js/vue": "^0.1.14"
4037
},
4138
"devDependencies": {
42-
"vue": "^3.1.4"
39+
"vue": "^3.2.37"
4340
},
4441
"peerDependencies": {
4542
"vue": "^3.1.4"

packages/c-checkbox/src/checkbox.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ export const CCheckbox: ComponentWithProps<CCheckboxProps> = defineComponent({
176176
},
177177
emits: ["change", "update:modelValue"],
178178
setup(props, { slots, attrs, emit }) {
179-
const group = useCheckboxGroupContext(computed(() => ({})))
179+
const group = useCheckboxGroupContext(computed(() => ({} as unknown)))
180180
const ownProps = computed(() => omitThemingProps(props))
181181
const mergedProps = computed(() => mergeWith({}, group.value, props, attrs))
182182
const styles = useMultiStyleConfig("Checkbox", mergedProps)
@@ -334,7 +334,7 @@ export const CCheckbox: ComponentWithProps<CCheckboxProps> = defineComponent({
334334
__css={styles.value.control}
335335
{...api.value.controlProps}
336336
>
337-
{() => clonedIcon.value}
337+
{clonedIcon.value}
338338
</CCheckboxControl>
339339
{hasChildren && (
340340
<chakra.span

packages/c-close-button/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"dependencies": {
3131
"@chakra-ui/c-icon": "1.0.0-alpha.10",
3232
"@chakra-ui/styled-system": "^2.2.2",
33-
"@chakra-ui/utils": "^2.0.3",
33+
"@chakra-ui/utils": "2.0.12",
3434
"@chakra-ui/vue-system": "0.1.0-alpha.10",
3535
"@chakra-ui/vue-utils": "0.1.0-alpha.10"
3636
},

packages/c-code/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"clean": "rimraf dist"
2929
},
3030
"dependencies": {
31-
"@chakra-ui/utils": "^2.0.3",
31+
"@chakra-ui/utils": "2.0.12",
3232
"@chakra-ui/vue-system": "0.1.0-alpha.10",
3333
"@chakra-ui/vue-utils": "0.1.0-alpha.10"
3434
},

0 commit comments

Comments
 (0)