@threadlabs/looma 0.37.3 → 0.37.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -74,7 +74,13 @@ export function connect(host) {
74
74
  };
75
75
  const observer = new MutationObserver(schedule);
76
76
  observer.observe(element, { childList: true, subtree: true, attributes: true, attributeFilter: ["aria-describedby", "slot", "id", "role"] });
77
- const stop = host.effect(schedule);
77
+ // Track props before deferred rewiring, even when no control is mounted yet.
78
+ const stop = host.effect(() => {
79
+ void host.props.disabled.value;
80
+ void host.props.required.value;
81
+ void host.props.invalid.value;
82
+ schedule();
83
+ });
78
84
  wire();
79
85
  return () => {
80
86
  stop();
package/docs/catalog.json CHANGED
@@ -448,7 +448,7 @@
448
448
  ],
449
449
  "schemaVersion": 1,
450
450
  "package": "@threadlabs/looma",
451
- "version": "0.37.3",
451
+ "version": "0.37.4",
452
452
  "groups": [
453
453
  {
454
454
  "id": "layout",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@threadlabs/looma",
3
- "version": "0.37.3",
3
+ "version": "0.37.4",
4
4
  "type": "module",
5
5
  "description": "Looma components as HTML, Vue, and plain DOM, with design tokens.",
6
6
  "license": "MIT",
@@ -5733,7 +5733,12 @@ function connect$9(host) {
5733
5733
  "role"
5734
5734
  ]
5735
5735
  });
5736
- const stop = host.effect(schedule);
5736
+ const stop = host.effect(() => {
5737
+ host.props.disabled.value;
5738
+ host.props.required.value;
5739
+ host.props.invalid.value;
5740
+ schedule();
5741
+ });
5737
5742
  wire();
5738
5743
  return () => {
5739
5744
  stop();