refactor(packages): dry up core, html, and react UI architecture (#699)

This commit is contained in:
rahim
2026-03-03 23:27:53 -08:00
committed by GitHub
parent 8bdd4ce7fa
commit 1edeadefed
110 changed files with 1349 additions and 1359 deletions
+3 -2
View File
@@ -39,7 +39,7 @@ export class TimeElement extends MediaElement {
super.connectedCallback();
if (__DEV__ && !this.#state.value) {
logMissingFeature(TimeElement.tagName, 'time');
logMissingFeature(this.localName, this.#state.displayName!);
}
}
@@ -55,7 +55,8 @@ export class TimeElement extends MediaElement {
if (!media) return;
const state = this.#core.getState(media);
this.#core.setMedia(media);
const state = this.#core.getState();
this.#signSpan.hidden = !state.negative;
this.#signSpan.textContent = state.negative ? this.negativeSign : '';