diff --git a/src/components/AvatarGroup/SbAvatarGroup.vue b/src/components/AvatarGroup/SbAvatarGroup.vue index c4d21a48..f6213d45 100644 --- a/src/components/AvatarGroup/SbAvatarGroup.vue +++ b/src/components/AvatarGroup/SbAvatarGroup.vue @@ -46,7 +46,7 @@ export default { }, }, - emits: ['click'], + emits: ['click', 'toggle-visible-dropdown'], data() { return { diff --git a/src/components/AvatarGroup/components/SbMoreAvatars.vue b/src/components/AvatarGroup/components/SbMoreAvatars.vue index 39fff455..9d8f78ac 100644 --- a/src/components/AvatarGroup/components/SbMoreAvatars.vue +++ b/src/components/AvatarGroup/components/SbMoreAvatars.vue @@ -50,7 +50,7 @@ export default { }, }, - emits: ['click'], + emits: ['click', 'toggle-avatars-dropdown'], data() { return { diff --git a/src/components/Breadcrumbs/BreadcrumbItem.vue b/src/components/Breadcrumbs/BreadcrumbItem.vue index ff302cd9..5469ab04 100644 --- a/src/components/Breadcrumbs/BreadcrumbItem.vue +++ b/src/components/Breadcrumbs/BreadcrumbItem.vue @@ -58,7 +58,10 @@ export default { type: String, default: null, }, - to: [String, Object], + to: { + type: [String, Object], + default: null, + }, replace: Boolean, }, diff --git a/src/components/Breadcrumbs/BreadcrumbLink.vue b/src/components/Breadcrumbs/BreadcrumbLink.vue index 80a4db96..2fe73e92 100644 --- a/src/components/Breadcrumbs/BreadcrumbLink.vue +++ b/src/components/Breadcrumbs/BreadcrumbLink.vue @@ -17,15 +17,30 @@ export default { type: String, default: null, }, - title: String, - target: String, + title: { + type: String, + default: '', + }, + target: { + type: String, + default: '', + }, append: Boolean, disabled: Boolean, exact: Boolean, - exactActiveClass: String, + exactActiveClass: { + type: String, + default: '', + }, link: Boolean, - href: String, - to: [String, Object], + href: { + type: String, + default: '', + }, + to: { + type: [String, Object], + default: null, + }, replace: Boolean, }, diff --git a/src/components/GroupButton/SbGroupButton.vue b/src/components/GroupButton/SbGroupButton.vue index 5b5eebeb..1d078bf8 100644 --- a/src/components/GroupButton/SbGroupButton.vue +++ b/src/components/GroupButton/SbGroupButton.vue @@ -1,6 +1,6 @@ @@ -25,9 +25,11 @@ export default { 'sb-group-button--has-spaces': this.hasSpaces, } }, + }, + methods: { activeSlots() { const children = this.$slots.default && this.$slots.default() - const chilrenWithProps = children + return children .filter((b) => b.__v_isVNode) .map((button) => { button.props = { @@ -36,8 +38,6 @@ export default { } return button }) - - return chilrenWithProps }, }, } diff --git a/src/components/GroupButton/group-button.scss b/src/components/GroupButton/group-button.scss index 8e2e584f..784fb303 100644 --- a/src/components/GroupButton/group-button.scss +++ b/src/components/GroupButton/group-button.scss @@ -13,6 +13,7 @@ &:not(&--has-spaces) { .sb-button { + margin: 0; border-radius: 0; }