Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(kdropdownitem): attribute handling #2157

Open
wants to merge 6 commits into
base: alpha
Choose a base branch
from

Conversation

portikM
Copy link
Member

@portikM portikM commented Apr 24, 2024

Summary

Bind attributes to underlying .dropdown-item-trigger instead of wrapper li element in KDropdownItem

PR Checklist

  • Conventional Commits all commits follow the conventional commit standards outlined in the main README.
  • Tests coverage: test coverage was added for new features and bug fixes
  • Docs: includes a technically accurate README

@portikM portikM self-assigned this Apr 24, 2024
Copy link

netlify bot commented Apr 24, 2024

Deploy Preview for kongponents-sandbox ready!

Name Link
🔨 Latest commit f80d676
🔍 Latest deploy log https://app.netlify.com/sites/kongponents-sandbox/deploys/6672df07bddcdd00072c964d
😎 Deploy Preview https://deploy-preview-2157--kongponents-sandbox.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Apr 24, 2024

Deploy Preview for kongponents ready!

Name Link
🔨 Latest commit f80d676
🔍 Latest deploy log https://app.netlify.com/sites/kongponents/deploys/6672df07ac0a4c000860a316
😎 Deploy Preview https://deploy-preview-2157--kongponents.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@kongponents-bot
Copy link
Collaborator

Preview package from this PR in consuming application

In consuming application project install preview version of kongponents generated by this PR:

@kong/kongponents@pr-2157

@portikM portikM marked this pull request as ready for review June 19, 2024 13:45
@portikM portikM requested a review from a team as a code owner June 19, 2024 13:45
import type { DropdownItem, DropdownItemRenderedRecord, DropdownItemRenderedType, DropdownItemType } from '@/types'
import type { PropType } from 'vue'
import { computed, useAttrs } from 'vue'

export default {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: if you need this you can use defineOptions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants