-
Notifications
You must be signed in to change notification settings - Fork 77
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
[T9n] "messages" prop no longer needs to be exposed for usage in tests #10399
Labels
4 - verified
Issues that have been released and confirmed resolved.
calcite-components
Issues specific to the @esri/calcite-components package.
estimate - 2
Small fix or update, may require updates to tests.
refactor
Issues tied to code that needs to be significantly reworked.
Milestone
Comments
maxpatiiuk
added
refactor
Issues tied to code that needs to be significantly reworked.
0 - new
New issues that need assignment.
needs triage
Planning workflow - pending design/dev review.
labels
Sep 26, 2024
github-actions
bot
added
the
calcite-components
Issues specific to the @esri/calcite-components package.
label
Sep 26, 2024
jcfranco
added
1 - assigned
Issues that are assigned to a sprint and a team member.
estimate - 2
Small fix or update, may require updates to tests.
needs milestone
Planning workflow - pending milestone assignment, has priority and/or estimate.
and removed
0 - new
New issues that need assignment.
needs triage
Planning workflow - pending design/dev review.
labels
Oct 9, 2024
jcfranco
added a commit
that referenced
this issue
Nov 15, 2024
**Related Issue:** #10310, #10481, #10399, #10405, #10491, #10434, #10495, #9260 ## Noteworthy changes * components are now Lit-based * removed `@storybook/test` and `@storybook/addon-interactions` as these were not being actively used * React deps bumped to v18 * Added default `scale` value to: * `action-bar` * `action-group` * `action-menu` * `action-pad` * Path of extras will change to the following: * `/dist/extras/vscode-data.json` ➡️ `/dist/docs/vscode.html-custom-data.json` * backwards-compatible version is preserved to not break Intellisense [described in the doc](https://developers.arcgis.com/calcite-design-system/resources/frameworks/#visual-studio-intellisense) * `/dist/extras/docs-json.json` ➡️ `/dist/docs/docs.json` (internal) * `/dist/extras/translations-json.json` ➡️ `/dist/docs/translations.json` (internal) * `/dist/extras/docs-json.d.ts` ❌ (removed, internal) BREAKING CHANGE: * for a consistent development experience, components now convert `null` to `undefined`, so developers will need to update code with strict null checks * removed the following `@esri/eslint-plugin-calcite-components` rules as they are no longer valid: * `ban-props-on-host` * `enforce-ref-last-prop` * `require-event-emitter-type` --------- Co-authored-by: JC Franco <[email protected]> Co-authored-by: Ben Elan <[email protected]> Co-authored-by: Calcite Admin <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
jcfranco
added
the
3 - installed
Issues that have been merged to master branch and are ready for final confirmation.
label
Nov 15, 2024
Installed and assigned for verification. |
jcfranco
removed
the
1 - assigned
Issues that are assigned to a sprint and a team member.
label
Nov 15, 2024
DitwanP
added
4 - verified
Issues that have been released and confirmed resolved.
and removed
blocked
This issue is blocked by another issue.
needs milestone
Planning workflow - pending milestone assignment, has priority and/or estimate.
3 - installed
Issues that have been merged to master branch and are ready for final confirmation.
labels
Nov 20, 2024
🍡 Verified |
Issue #10310 has been closed, this issue is ready for re-evaluation. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
4 - verified
Issues that have been released and confirmed resolved.
calcite-components
Issues specific to the @esri/calcite-components package.
estimate - 2
Small fix or update, may require updates to tests.
refactor
Issues tied to code that needs to be significantly reworked.
Description
Blocked by #10310
Every Calcite component declares
messages
as an undocumented prop for usage in tests.calcite-design-system/packages/calcite-components/src/components/chip/chip.tsx
Lines 118 to 124 in f50c170
I believe the only usage in tests was this place:
calcite-design-system/packages/calcite-components/src/tests/commonTests/t9n.ts
Lines 36 to 38 in f50c170
In Lumina, exposing
messages
as a prop is not necessary. Instead, the test can access internal component members in the following way:The
manager
property is the same both on the html proxy element and on the actual lit component. It has acomponent
property for accessing the lit component (in turn,component
has anel
property for accessing the html proxy).This property is not part of public typings or public documentation - it's for internal usage only.
Proposed Advantages
Slight performance improvement and bundle size reduction because
messages
property would no longer need to be included in the lazy-loading metadata for each component.Which Component
All
Relevant Info
No response
Calcite package
The text was updated successfully, but these errors were encountered: