-
Notifications
You must be signed in to change notification settings - Fork 59
Conversation
bd3c976 to
d01d896
Compare
173d1b5 to
76bb1d4
Compare
keithamus
commented
Jun 6, 2022
I've released a 2.0.0-alpha of this branch: https://github.com/github/catalyst/releases/tag/v2.0.0-alpha1. We'll test this out and kick the tires on it for a while before merging.
primer-css
commented
Oct 10, 2022
👋 Hello and thanks for pinging us! This issue or PR has been added to our inbox and a Design Infrastructure first responder will review it soon.
- 🎨 If this is a PR that includes a visual change, please make sure to add screenshots in the description or deploy this code to a lab machine with instructions for how to test.
- ⏩ If this is a PR that includes changes to an interaction, please include a video recording in the description.
⚠️ If this is urgent, please visit us in #primer on Slack and tag the first responders listed in the channel topic.
The current example throws error TS1207: Decorators cannot be applied to multiple get/set accessors of the same name. I suggest updating documentation inline with advice from TS dev @mhegazy; see microsoft/TypeScript#2249 (comment)
This allows classes to opt-in to old-style `data-` prefixed attr serialised names. Co-authored-by: Kristján Oddsson <koddsson@gmail.com>
Co-authored-by: Keith Cirkel <keithamus@users.noreply.github.com>
@attrable properties with a default value specified using a getter method incorrectly have their setter method called with an empty string. This incorrect behaviour does not happen if: - the property is in the html definition - the property does not have a default value supplied by a getter method
I am unsure what the status is with v2 so I understand that it's still unstable and subject to changes. I am however finding in comparison to v1 that I am unable to use the target decorator to find the an element that is inside a shadowRoot
Hopefully I am not speaking out of turn with this. But I think the issue was due to the order in with the abilities are called in the in the controller decorator. Seems when I change the function body to register(targetable(actionable(attrable((Class)))));
In the targetable.ts file it set's the shadowRoot to the weakmap which I think was not being called (or overwritten) with the original controller decorator
Add failing test for default-valued properties
Uh oh!
There was an error while loading. Please reload this page.
v2 is a branch made of the following PRs:
These PRs are introducing breaking changes to the codebase, which is why they've been merged into this branch.