ni / nimble

The NI Nimble Design System
https://nimble.ni.dev
MIT License
29 stars 9 forks source link

Re-export utilities from nimble-components and nimble-tokens in nimble-angular #2107

Open jattasNI opened 1 month ago

jattasNI commented 1 month ago

🙋 Feature Request

😯 Problem to Solve

SLE clients should usually only need to use nimble-angular, not nimble-tokens or nimble-components. But there are currently some utilities they want that are not available. From this search:

  1. diacriticInsensitiveStringNormalizer
  2. some table types (I suspect these are already exported and apps are just importing them from the wrong place)
  3. some design tokens and theme provider classes (I suspect these are an exception to the rule since apps are doing non-standard things, but we should discuss)

💁 Proposed Solution

  1. Create a proposal for each item above, capture it in a comment on this issue, and get agreement from the team on the proposal (could be done by marking this issue for team review and discussing at a team meeting)
  2. Re-export what should be re-exported
  3. Clean up client apps to not depend on lower level packages
  4. consider updating docs to better describe this policy. e.g. Nimble READMEs and/or SLE wikis

📋 Tasks