Conversation
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com> Agent-Logs-Url: https://github.com/bQuery/ui/sessions/5eb3b5ec-065c-425e-8904-40236e068f6f
…and dropdown menu component - BqInput: password visibility toggle with accessible button and i18n labels - BqInput: character counter with show-counter prop and maxlength - BqTextarea: character counter with show-counter prop and maxlength - BqAccordion: replace max-height:2000px hack with JS-driven scrollHeight - BqAccordion: add aria-labelledby/aria-controls linking trigger to panel - BqAccordion: add unique IDs via state for proper ARIA relationships - BqDropdownMenu: new component with keyboard nav, focus management, placement - Add i18n keys for dropdown menu - Add tests for all new features (30 new tests) Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com> Agent-Logs-Url: https://github.com/bQuery/ui/sessions/5eb3b5ec-065c-425e-8904-40236e068f6f
…ropdown-menu docs - Input docs: add password toggle and character counter sections - Textarea docs: add character counter section, CSS parts, accessibility notes - Accordion docs: add accessibility and animation sections - Dropdown Menu: new full documentation page - VitePress config: add all 29 components to sidebar (was only 12) - Component catalog: add dropdown-menu to overlays category Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com> Agent-Logs-Url: https://github.com/bQuery/ui/sessions/5eb3b5ec-065c-425e-8904-40236e068f6f
…n optimization - Move aria-haspopup/aria-expanded/aria-controls to slotted trigger element (not slot) - Add updated() hook to BqDropdownMenu for syncing aria-expanded - Optimize BqAccordion updated() to only recalc height when open state changes - Update dropdown-menu tests to verify ARIA on slotted trigger Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com> Agent-Logs-Url: https://github.com/bQuery/ui/sessions/5eb3b5ec-065c-425e-8904-40236e068f6f
There was a problem hiding this comment.
Pull request overview
This PR completes several partially-implemented UI features (character counters and password visibility toggle), improves bq-accordion accessibility/animation behavior, and introduces a new bq-dropdown-menu overlay component with docs, i18n, and tests.
Changes:
- Add
show-counter+ i18n-driven live character counter forbq-inputandbq-textarea, plus a password visibility toggle forbq-input. - Rework
bq-accordionexpand/collapse animation to JS-driven height and add ARIA relationships via unique IDs. - Introduce
bq-dropdown-menucomponent, register it in the library entrypoints, document it, and add new tests.
Reviewed changes
Copilot reviewed 18 out of 19 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/textarea-enhancements.test.ts | Adds coverage for textarea character counter + aria-live/aria-describedby. |
| tests/input-enhancements.test.ts | Adds coverage for password toggle and input character counter behavior. |
| tests/dropdown-menu.test.ts | Adds baseline registration + ARIA attribute tests for dropdown menu. |
| tests/accordion-enhancements.test.ts | Adds coverage for accordion ARIA relationships and height animation behavior. |
| src/index.ts | Registers the new dropdown-menu component entry in the root bundle map. |
| src/i18n/en.ts | Adds English strings for dropdown menu labels. |
| src/components/textarea/BqTextarea.ts | Implements show-counter rendering + aria-describedby wiring for textarea. |
| src/components/input/BqInput.ts | Implements password toggle + show-counter for input, including i18n text. |
| src/components/index.ts | Adds side-effect import to register dropdown menu in the “all components” entry. |
| src/components/dropdown-menu/index.ts | Adds per-component wrapper entry export. |
| src/components/dropdown-menu/BqDropdownMenu.ts | Implements new dropdown menu component (overlay, keyboard handling, click-outside, ARIA). |
| src/components/accordion/BqAccordion.ts | Adds unique IDs + ARIA links; replaces max-height hack with height animation. |
| docs/components/textarea.md | Documents character counter and new CSS parts/accessibility notes. |
| docs/components/input.md | Documents password toggle + character counter and new CSS parts/accessibility notes. |
| docs/components/index.md | Adds dropdown menu to component catalog. |
| docs/components/dropdown-menu.md | Adds full dropdown menu documentation page. |
| docs/components/accordion.md | Documents updated accessibility + animation behavior. |
| docs/.vitepress/config.ts | Expands sidebar to include all components, including dropdown menu. |
| .gitignore | Ignores package-lock.json. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@copilot apply changes based on the comments in this thread |
…dion height Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com> Agent-Logs-Url: https://github.com/bQuery/ui/sessions/d9b72fd9-b6b1-46cc-9e33-2b9a49d81623
Applied the requested review-thread fixes in Highlights:
Validation passed: Screenshot: https://github.com/user-attachments/assets/909837be-2b6d-4900-b4f8-561729ca6cf6 |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 18 out of 19 changed files in this pull request and generated 5 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@copilot apply changes based on the comments in this thread |
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com> Agent-Logs-Url: https://github.com/bQuery/ui/sessions/dbdc5b05-3f77-4491-ba81-ddafb7648a6b
Applied the follow-up review fixes in Updates:
Validation passed: Screenshot: https://github.com/user-attachments/assets/34f25e5d-e66e-49c1-9f8e-a9bf365e71be |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 18 out of 19 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@copilot apply changes based on the comments in this thread |
|
@copilot apply changes based on the comments in this thread |
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com> Agent-Logs-Url: https://github.com/bQuery/ui/sessions/93f7be58-ecef-428e-afca-a77679f7673c
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com> Agent-Logs-Url: https://github.com/bQuery/ui/sessions/93f7be58-ecef-428e-afca-a77679f7673c
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com> Agent-Logs-Url: https://github.com/bQuery/ui/sessions/93f7be58-ecef-428e-afca-a77679f7673c
Applied the accordion reduced-motion fix in Updates:
Validation passed: Screenshot: https://github.com/user-attachments/assets/a604760e-cb72-4b0f-906c-ad350e0e1a92 |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 18 out of 19 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@copilot apply changes based on the comments in this thread |
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com> Agent-Logs-Url: https://github.com/bQuery/ui/sessions/28a8435e-5ac9-4931-841b-0503b4a65f0b
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com> Agent-Logs-Url: https://github.com/bQuery/ui/sessions/28a8435e-5ac9-4931-841b-0503b4a65f0b
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com> Agent-Logs-Url: https://github.com/bQuery/ui/sessions/28a8435e-5ac9-4931-841b-0503b4a65f0b
Applied the latest review-thread fixes in Updates:
Validation passed: Screenshot: https://github.com/user-attachments/assets/68f56558-8570-494c-a285-de837c07a0f8 |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 18 out of 19 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@copilot apply changes based on the comments in this thread |
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com> Agent-Logs-Url: https://github.com/bQuery/ui/sessions/c2c1c6b0-c5b7-40ad-ab69-1dedc9a76ce8
Applied the latest accordion review fix in Updates:
Validation passed: Screenshot: https://github.com/user-attachments/assets/89432587-d177-4843-b224-eb07acccf9c8 |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 18 out of 19 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.