@iyulab/components 1.35.0 → 1.35.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,17 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.35.1] - 2026-08-30
4
+
5
+ ### Fixed
6
+
7
+ - **`UCheckbox`'s checked-state checkmark icon could intercept clicks aimed at the
8
+ checkbox.** The icon lacked `pointer-events: none`, so once checked it became the
9
+ topmost element at that point — native clicks still reached the control via
10
+ bubbling, but anything that hit-tests the topmost element before acting (browser
11
+ automation, some accessibility tooling) could see it as blocked. Same fix applied
12
+ to `UTreeItem`'s prefix checkbox and expand/collapse toggle icons, which shared the
13
+ identical pattern.
14
+
3
15
  ## [1.35.0] - 2026-08-28
4
16
 
5
17
  ### Added
@@ -157,11 +157,12 @@ var styles = css`
157
157
  transition: border-color var(--u-duration-normal, 220ms) var(--u-ease-standard, cubic-bezier(0.2, 0, 0, 1)), background-color var(--u-duration-normal, 220ms) var(--u-ease-standard, cubic-bezier(0.2, 0, 0, 1));
158
158
  }
159
159
 
160
- /* 체크박스 아이콘 */
160
+ /* 체크박스 아이콘 — 클릭은 항상 .checkbox 박스가 받아야 한다 */
161
161
  .checkbox u-icon {
162
162
  font-size: 0.85em;
163
163
  transform: scale(0);
164
164
  transition: transform var(--u-duration-fast, 140ms) var(--u-ease-standard, cubic-bezier(0.2, 0, 0, 1));
165
+ pointer-events: none;
165
166
  }
166
167
 
167
168
  .label {
@@ -71,6 +71,7 @@ var styles = css`
71
71
  }
72
72
  .prefix-toggler u-icon {
73
73
  font-size: 12px;
74
+ pointer-events: none;
74
75
  }
75
76
  :host(:not([disabled])[trigger="icon"]) .prefix-toggler:hover,
76
77
  :host(:not([disabled])[trigger="icon"]:focus-visible) .prefix-toggler {
@@ -96,6 +97,7 @@ var styles = css`
96
97
  visibility: hidden;
97
98
  font-size: 12px;
98
99
  color: #fff;
100
+ pointer-events: none;
99
101
  }
100
102
  .prefix-checkbox[checked],
101
103
  .prefix-checkbox[indeterminate] {
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.35.0",
4
+ "version": "1.35.1",
5
5
  "keywords": [
6
6
  "iyulab",
7
7
  "components",