@iyulab/components 1.5.0 → 1.5.1

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.5.1] - 2026-07-07
4
+
5
+ ### Fixed
6
+ - `UFormControlElement.updated()`가 `value`/`required` 변경 시마다 `setValidity()` 이후 `requestUpdate()`를 무조건 호출해 "scheduled an update after an update completed" 개발자 경고가 매 입력마다 발생하던 문제 수정(`USelect`/`UInput`/`UCheckbox`/`UTextarea` 등 폼 컨트롤 전반에 영향). `updated()`에서는 `internals.setValidity()` 갱신만 수행하고 화면 재렌더 강제는 제거했으며, `validationMessage` 재렌더는 기존처럼 `validate()`를 호출하는 blur/change 핸들러에서만 처리한다.
7
+
3
8
  ## [1.5.0] - 2026-07-07
4
9
 
5
10
  ### Added
@@ -70,10 +70,7 @@ var UFormControlElement = class extends UElement {
70
70
  }
71
71
  updated(changedProperties) {
72
72
  super.updated(changedProperties);
73
- if (this.shouldValidate(changedProperties)) {
74
- this.setValidity();
75
- this.requestUpdate();
76
- }
73
+ if (this.shouldValidate(changedProperties)) this.setValidity();
77
74
  }
78
75
  /**
79
76
  * 어떤 속성이 바뀌었을 때 `setValidity()`를 다시 호출할지 결정합니다.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@iyulab/components",
3
3
  "description": "web-components library based on lit-element made by iyulab",
4
- "version": "1.5.0",
4
+ "version": "1.5.1",
5
5
  "keywords": [
6
6
  "iyulab",
7
7
  "components",