fix(components): export compound component props (DS-5287)#424
Merged
Conversation
|
Visit the preview URL for this PR (updated for commit fe14801): https://react-koobiq-next--prs-424-5pt8qod7.web.app (expires Tue, 21 Jul 2026 12:47:43 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: fc29847d4a9e5cb1adf458c76a9b681c76e2eeff |
There was a problem hiding this comment.
Pull request overview
This PR expands the public TypeScript surface of @koobiq/react-components by exporting prop types for various compound/sub-components (e.g., items, sections, headers/footers/bodies), and updates the API Extractor report files accordingly.
Changes:
- Added new exported prop-type aliases across multiple components (
Select,Menu,List,Table,TreeSelect,Tag*, overlay components, etc.) to support typed composition. - Updated component entrypoints to re-export newly introduced prop types (e.g.,
Form,Navbar,Accordion,TagAutocomplete). - Updated
tools/public_api_guard/*API report files to reflect the intended public API.
Reviewed changes
Copilot reviewed 37 out of 37 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| tools/public_api_guard/components/TreeSelect.api.md | API report updates for new TreeSelect item-related prop type exports |
| tools/public_api_guard/components/Tree.api.md | API report updates adding explicit addon/text prop type aliases |
| tools/public_api_guard/components/TagList.api.md | API report updates adding TagList tag prop type alias |
| tools/public_api_guard/components/TagInput.api.md | API report updates adding TagInput tag prop type alias |
| tools/public_api_guard/components/TagAutocomplete.api.md | API report updates adding list-item/tag prop type aliases |
| tools/public_api_guard/components/Table.api.md | API report updates for Table compound prop type exports (currently inconsistent) |
| tools/public_api_guard/components/SidePanel.api.md | API report updates adding header/body/footer prop type aliases |
| tools/public_api_guard/components/Select.api.md | API report updates adding item/section/divider/text prop type aliases |
| tools/public_api_guard/components/Popover.api.md | API report updates adding header/body/footer prop type aliases |
| tools/public_api_guard/components/Navbar.api.md | API report updates adding Navbar layout/item prop types |
| tools/public_api_guard/components/Modal.api.md | API report updates adding header/body/footer prop type aliases |
| tools/public_api_guard/components/Menu.api.md | API report updates adding control/item/section/etc prop type aliases |
| tools/public_api_guard/components/List.api.md | API report updates adding divider/item/section/addon prop type aliases |
| tools/public_api_guard/components/Form.api.md | API report updates adding Form compound prop type aliases |
| tools/public_api_guard/components/ContentPanel.api.md | API report updates adding header/body/footer prop type aliases |
| tools/public_api_guard/components/Autocomplete.api.md | API report updates adding item/section/text/addon prop type aliases |
| tools/public_api_guard/components/Accordion.api.md | API report updates adding Accordion summary/details prop type exports |
| packages/components/src/components/TreeSelect/types.ts | Exports TreeSelect item-related prop type aliases |
| packages/components/src/components/Tree/types.ts | Adds explicit addon/text prop type aliases for Tree item content |
| packages/components/src/components/TagList/types.ts | Exports TagListTagProps alias |
| packages/components/src/components/TagInput/types.ts | Exports TagInputTagProps alias |
| packages/components/src/components/TagAutocomplete/types.ts | Exports TagAutocompleteTagProps alias |
| packages/components/src/components/TagAutocomplete/index.ts | Re-exports TagAutocompleteListItemProps type |
| packages/components/src/components/Table/types.ts | Exports Table compound prop type aliases (row/cell/column/body/header) |
| packages/components/src/components/SidePanel/types.ts | Exports SidePanel header/body/footer prop type aliases |
| packages/components/src/components/SelectNext/types.ts | Exports SelectNext item/section/divider/text/addon prop type aliases |
| packages/components/src/components/Select/types.ts | Exports Select item/section/divider/text prop type aliases |
| packages/components/src/components/Popover/types.ts | Exports Popover header/body/footer prop type aliases |
| packages/components/src/components/Navbar/index.ts | Re-exports Navbar component prop types from ./components |
| packages/components/src/components/Modal/types.ts | Exports Modal header/body/footer prop type aliases |
| packages/components/src/components/Menu/types.ts | Adds Menu compound prop type aliases (including control props) |
| packages/components/src/components/List/types.ts | Exports List item/section/divider/addon prop type aliases |
| packages/components/src/components/Form/index.ts | Re-exports Form compound prop types from ./components |
| packages/components/src/components/Form/components/FormCaption/FormCaption.tsx | Fixes exported prop type name to FormCaptionProps |
| packages/components/src/components/ContentPanel/types.ts | Exports ContentPanel header/body/footer prop type aliases |
| packages/components/src/components/Autocomplete/types.ts | Exports Autocomplete item/section/text/addon prop type aliases |
| packages/components/src/components/Accordion/index.ts | Re-exports Accordion summary/details prop types |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.