Skip to content

React, Angular, Vue - Re-export density and modus types#1060

Open
prashanthr6383 wants to merge 4 commits intomainfrom
404-the--react--angular-and--vue-packages-should-re-export-the-typesdts
Open

React, Angular, Vue - Re-export density and modus types#1060
prashanthr6383 wants to merge 4 commits intomainfrom
404-the--react--angular-and--vue-packages-should-re-export-the-typesdts

Conversation

@prashanthr6383
Copy link
Copy Markdown
Contributor

@prashanthr6383 prashanthr6383 commented Apr 30, 2026

📄 Summary of Changes

export types - Density, ModusSize

💭 Type of Change

  • Bug fix (fixes an issue)
  • New feature (adds functionality)
  • Configuration change (modifies scaling or properties of existing infrastructure & services)
  • Documentation change
  • Other

📋 Test Plan

✅ Self Code Review Checklist

PR authors and reviewers, please verify that all of these items have been completed.

  • My code is clean and readable
  • I followed standard conventions
  • Component code is WCAG 2.2 compliant (if applicable)
  • I have made theme files changes (if applicable)
  • I have made documentation changes (if applicable)
  • I have made Storybook changes including usage documentation (if applicable)
  • I have tested the component thoroughly in Storybook including RTL rendering (if applicable)

🔗 Work Item

Issue #404

Copilot AI review requested due to automatic review settings April 30, 2026 11:42
@prashanthr6383 prashanthr6383 requested a review from a team as a code owner April 30, 2026 11:42
@prashanthr6383 prashanthr6383 linked an issue Apr 30, 2026 that may be closed by this pull request
2 tasks
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 30, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://trimble-oss.github.io/modus-wc-2.0/pr-preview/pr-1060/

Built to branch gh-pages at 2026-05-05 06:28 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Re-exports the Density and ModusSize type aliases from the underlying Modus Web Components package so consumers of the React/Angular wrappers can import these types directly from the wrapper packages.

Changes:

  • React (v17/v18/v19): re-export Density and ModusSize from the wrapper entrypoints.
  • Angular (ng17/ng18/ng19): re-export Density and ModusSize from each library’s public-api.ts.
  • Updates the React v19 test app badge example to demonstrate typed size/density usage.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
integrations/react/v19/src/index.ts Re-export types from Modus web components for React v19 wrapper consumers
integrations/react/v18/src/index.ts Same type re-export for React v18 wrapper
integrations/react/v17/src/index.ts Same type re-export for React v17 wrapper
integrations/react/test-react-v19/src/examples/ModusBadgeExamples.tsx Demonstrates consuming the re-exported types in an example
integrations/angular/ng19/projects/trimble-oss/moduswebcomponents-angular/src/public-api.ts Re-export types from Modus web components for Angular ng19 wrapper consumers
integrations/angular/ng18/projects/trimble-oss/moduswebcomponents-angular/src/public-api.ts Same type re-export for Angular ng18 wrapper
integrations/angular/ng17/projects/trimble-oss/moduswebcomponents-angular/src/public-api.ts Same type re-export for Angular ng17 wrapper

Comment thread integrations/react/v19/src/index.ts Outdated
@prashanthr6383 prashanthr6383 marked this pull request as ready for review May 4, 2026 08:06
Copy link
Copy Markdown
Collaborator

@ElishaSamPeterPrabhu ElishaSamPeterPrabhu left a comment

Choose a reason for hiding this comment

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

Moving to QA @jewel-shajan

@prashanthr6383 prashanthr6383 changed the title React, Angular - Re-export density and modus types React, Angular, Vue - Re-export density and modus types May 5, 2026
Copy link
Copy Markdown
Collaborator

@ElishaSamPeterPrabhu ElishaSamPeterPrabhu left a comment

Choose a reason for hiding this comment

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

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.

the -react, -angular and -vue packages should re-export the types.d.ts

3 participants