@iyulab/components 2.30.1 → 2.30.2
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 +20 -0
- package/dist/_virtual/{_@oxc-project_runtime@0.154.0 → _@oxc-project_runtime@0.155.0}/helpers/esm/decorate.js +1 -2
- package/dist/_virtual/{_@oxc-project_runtime@0.154.0 → _@oxc-project_runtime@0.155.0}/helpers/esm/decorateMetadata.js +1 -2
- package/dist/_virtual/_glob-assets_raw/alert-circle-fill.svg.1e438750.js +1 -2
- package/dist/_virtual/_glob-assets_raw/alert-triangle-fill.svg.1a8797c4.js +1 -2
- package/dist/_virtual/_glob-assets_raw/bell-fill.svg.d37c41d9.js +1 -2
- package/dist/_virtual/_glob-assets_raw/calendar.svg.02c3abd8.js +1 -2
- package/dist/_virtual/_glob-assets_raw/check.svg.4690b01e.js +1 -2
- package/dist/_virtual/_glob-assets_raw/chevron-down.svg.0ccd06ea.js +1 -2
- package/dist/_virtual/_glob-assets_raw/chevron-left.svg.b4601050.js +1 -2
- package/dist/_virtual/_glob-assets_raw/chevron-right.svg.0711bb67.js +1 -2
- package/dist/_virtual/_glob-assets_raw/chevron-up.svg.ed917211.js +1 -2
- package/dist/_virtual/_glob-assets_raw/circle-check-fill.svg.3f0fcb72.js +1 -2
- package/dist/_virtual/_glob-assets_raw/copy.svg.6192f853.js +1 -2
- package/dist/_virtual/_glob-assets_raw/dark.css.e8ac080d.js +1 -2
- package/dist/_virtual/_glob-assets_raw/eye-off.svg.7aa25df0.js +1 -2
- package/dist/_virtual/_glob-assets_raw/eye.svg.2e5e9c4c.js +1 -2
- package/dist/_virtual/_glob-assets_raw/info-circle-fill.svg.6580071d.js +1 -2
- package/dist/_virtual/_glob-assets_raw/layout-sidebar.svg.3fe5a68f.js +1 -2
- package/dist/_virtual/_glob-assets_raw/light.css.637cb2f8.js +1 -2
- package/dist/_virtual/_glob-assets_raw/menu-2.svg.d6c83cc4.js +1 -2
- package/dist/_virtual/_glob-assets_raw/minus.svg.4610de75.js +1 -2
- package/dist/_virtual/_glob-assets_raw/player-pause-fill.svg.a756c400.js +1 -2
- package/dist/_virtual/_glob-assets_raw/player-play-fill.svg.768b6efc.js +1 -2
- package/dist/_virtual/_glob-assets_raw/plus.svg.d83ead68.js +1 -2
- package/dist/_virtual/_glob-assets_raw/search.svg.0ba2012d.js +1 -2
- package/dist/_virtual/_glob-assets_raw/star-fill.svg.f24b5a2d.js +1 -2
- package/dist/_virtual/_glob-assets_raw/star.svg.4af61468.js +1 -2
- package/dist/_virtual/_glob-assets_raw/x.svg.5596f6bb.js +1 -2
- package/dist/assets/locales/ar.json.js +1 -2
- package/dist/assets/locales/de.json.js +1 -2
- package/dist/assets/locales/en.json.js +1 -2
- package/dist/assets/locales/es.json.js +1 -2
- package/dist/assets/locales/fr.json.js +1 -2
- package/dist/assets/locales/id.json.js +1 -2
- package/dist/assets/locales/ja.json.js +1 -2
- package/dist/assets/locales/ko.json.js +1 -2
- package/dist/assets/locales/pt-BR.json.js +1 -2
- package/dist/assets/locales/ru.json.js +1 -2
- package/dist/assets/locales/th.json.js +1 -2
- package/dist/assets/locales/vi.json.js +1 -2
- package/dist/assets/locales/zh-CN.json.js +1 -2
- package/dist/assets/locales/zh-TW.json.js +1 -2
- package/dist/components/UElement.js +1 -2
- package/dist/components/UElement.styles.js +1 -2
- package/dist/components/UFloatingElement.js +3 -4
- package/dist/components/UFloatingElement.styles.js +1 -2
- package/dist/components/UFormControlElement.js +14 -5
- package/dist/components/UFormControlElement.styles.js +1 -2
- package/dist/components/UOverlayElement.js +3 -4
- package/dist/components/UOverlayElement.styles.js +1 -2
- package/dist/components/alert/UAlert.js +3 -4
- package/dist/components/alert/UAlert.styles.js +1 -2
- package/dist/components/avatar/UAvatar.js +3 -4
- package/dist/components/avatar/UAvatar.styles.js +1 -2
- package/dist/components/badge/UBadge.js +3 -4
- package/dist/components/badge/UBadge.styles.js +1 -2
- package/dist/components/breadcrumb/UBreadcrumb.js +2 -3
- package/dist/components/breadcrumb/UBreadcrumb.styles.js +1 -2
- package/dist/components/breadcrumb-item/UBreadcrumbItem.js +3 -4
- package/dist/components/breadcrumb-item/UBreadcrumbItem.styles.js +1 -2
- package/dist/components/button/UButton.js +3 -4
- package/dist/components/button/UButton.styles.js +1 -2
- package/dist/components/button/forwarded-aria.js +1 -2
- package/dist/components/button-group/UButtonGroup.js +3 -4
- package/dist/components/button-group/UButtonGroup.styles.js +1 -2
- package/dist/components/calendar/UCalendar.js +3 -4
- package/dist/components/calendar/UCalendar.styles.js +1 -2
- package/dist/components/calendar/date-text-controller.js +1 -2
- package/dist/components/calendar/dates.js +1 -2
- package/dist/components/calendar/datetime.js +1 -2
- package/dist/components/calendar/picker.styles.js +1 -2
- package/dist/components/card/UCard.js +3 -4
- package/dist/components/card/UCard.styles.js +1 -2
- package/dist/components/carousel/UCarousel.js +3 -4
- package/dist/components/carousel/UCarousel.styles.js +1 -2
- package/dist/components/checkbox/UCheckbox.js +3 -4
- package/dist/components/checkbox/UCheckbox.styles.js +1 -2
- package/dist/components/chip/UChip.js +3 -4
- package/dist/components/chip/UChip.styles.js +1 -2
- package/dist/components/copy-button/UCopyButton.js +3 -4
- package/dist/components/copy-button/UCopyButton.styles.js +1 -2
- package/dist/components/date-picker/UDatePicker.js +3 -4
- package/dist/components/date-picker/UDatePicker.styles.js +1 -2
- package/dist/components/date-range-picker/UDateRangePicker.js +3 -4
- package/dist/components/date-range-picker/UDateRangePicker.styles.js +1 -2
- package/dist/components/date-range-picker/presets.js +1 -2
- package/dist/components/dialog/UDialog.js +3 -4
- package/dist/components/dialog/UDialog.styles.js +1 -2
- package/dist/components/divider/UDivider.js +3 -4
- package/dist/components/divider/UDivider.styles.js +1 -2
- package/dist/components/drawer/UDrawer.js +3 -4
- package/dist/components/drawer/UDrawer.styles.js +1 -2
- package/dist/components/expander/UExpander.js +3 -4
- package/dist/components/expander/UExpander.styles.js +1 -2
- package/dist/components/field/UField.js +3 -4
- package/dist/components/field/UField.styles.js +1 -2
- package/dist/components/file-input/UFileInput.js +3 -4
- package/dist/components/file-input/UFileInput.styles.js +1 -2
- package/dist/components/form/UForm.js +3 -4
- package/dist/components/form/UForm.styles.js +1 -2
- package/dist/components/icon/UIcon.js +3 -4
- package/dist/components/icon/UIcon.styles.js +1 -2
- package/dist/components/icon-button/UIconButton.js +3 -4
- package/dist/components/icon-button/UIconButton.styles.js +1 -2
- package/dist/components/input/UInput.js +42 -8
- package/dist/components/input/UInput.styles.js +1 -2
- package/dist/components/menu/UMenu.js +3 -4
- package/dist/components/menu/UMenu.styles.js +1 -2
- package/dist/components/menu-item/UMenuItem.js +3 -4
- package/dist/components/menu-item/UMenuItem.styles.js +1 -2
- package/dist/components/option/UOption.js +3 -4
- package/dist/components/option/UOption.styles.js +1 -2
- package/dist/components/option-group/UOptionGroup.js +3 -4
- package/dist/components/option-group/UOptionGroup.styles.js +1 -2
- package/dist/components/pagination/UPagination.js +3 -4
- package/dist/components/pagination/UPagination.styles.js +1 -2
- package/dist/components/panel/UPanel.js +3 -4
- package/dist/components/panel/UPanel.styles.js +1 -2
- package/dist/components/popover/UPopover.js +3 -4
- package/dist/components/popover/UPopover.styles.js +1 -2
- package/dist/components/progress-bar/UProgressBar.js +3 -4
- package/dist/components/progress-bar/UProgressBar.styles.js +1 -2
- package/dist/components/progress-ring/UProgressRing.js +3 -4
- package/dist/components/progress-ring/UProgressRing.styles.js +1 -2
- package/dist/components/radio/URadio.js +3 -4
- package/dist/components/radio/URadio.styles.js +1 -2
- package/dist/components/rating/URating.js +3 -4
- package/dist/components/rating/URating.styles.js +1 -2
- package/dist/components/select/USelect.js +3 -4
- package/dist/components/select/USelect.styles.js +1 -2
- package/dist/components/skeleton/USkeleton.js +3 -4
- package/dist/components/skeleton/USkeleton.styles.js +1 -2
- package/dist/components/slider/USlider.js +3 -4
- package/dist/components/slider/USlider.styles.js +1 -2
- package/dist/components/spinner/USpinner.js +3 -4
- package/dist/components/spinner/USpinner.styles.js +1 -2
- package/dist/components/split-panel/USplitPanel.js +3 -4
- package/dist/components/split-panel/USplitPanel.styles.js +1 -2
- package/dist/components/steps/USteps.js +3 -4
- package/dist/components/steps/USteps.styles.js +1 -2
- package/dist/components/switch/USwitch.js +3 -4
- package/dist/components/switch/USwitch.styles.js +1 -2
- package/dist/components/tab/UTab.js +3 -4
- package/dist/components/tab/UTab.styles.js +1 -2
- package/dist/components/tab-nav/UTabNav.js +3 -4
- package/dist/components/tab-nav/UTabNav.styles.js +1 -2
- package/dist/components/tab-panel/UTabPanel.js +3 -4
- package/dist/components/tab-panel/UTabPanel.styles.js +1 -2
- package/dist/components/tag/UTag.js +3 -4
- package/dist/components/tag/UTag.styles.js +1 -2
- package/dist/components/text/UText.js +3 -4
- package/dist/components/text/UText.styles.js +1 -2
- package/dist/components/textarea/UTextarea.js +3 -4
- package/dist/components/textarea/UTextarea.styles.js +1 -2
- package/dist/components/tooltip/UTooltip.d.ts +12 -0
- package/dist/components/tooltip/UTooltip.js +54 -7
- package/dist/components/tooltip/UTooltip.styles.js +1 -2
- package/dist/components/tree/UTree.js +3 -4
- package/dist/components/tree/UTree.styles.js +1 -2
- package/dist/components/tree-item/UTreeItem.js +3 -4
- package/dist/components/tree-item/UTreeItem.styles.js +1 -2
- package/dist/utilities/BrowserStorage.js +1 -2
- package/dist/utilities/Dialog.js +1 -2
- package/dist/utilities/Locale.js +1 -2
- package/dist/utilities/OverlayManager.js +1 -2
- package/dist/utilities/Theme.js +1 -2
- package/dist/utilities/Toast.js +1 -2
- package/dist/utilities/accent.js +1 -2
- package/dist/utilities/chars.js +1 -2
- package/dist/utilities/clipboard.js +1 -2
- package/dist/utilities/composition.js +1 -2
- package/dist/utilities/converters.js +1 -2
- package/dist/utilities/dateValue.js +1 -2
- package/dist/utilities/devWarning.js +1 -2
- package/dist/utilities/elements.js +1 -2
- package/dist/utilities/format.js +1 -2
- package/dist/utilities/hostAria.js +1 -2
- package/dist/utilities/icons.js +18 -3
- package/dist/utilities/keyboard.js +1 -2
- package/dist/utilities/nestedControl.js +1 -2
- package/dist/utilities/progressAria.js +1 -2
- package/dist/utilities/search.js +1 -2
- package/dist/utilities/statusIcon.js +1 -2
- package/dist/utilities/tsv.js +1 -2
- package/package.json +1 -1
- package/skills/iyulab-components/references/components/tooltip.md +2 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/utilities/devWarning.ts
|
|
2
2
|
/**
|
|
3
3
|
* 개발 모드 «사용 안내» 경고 — 오류 경로가 아닌, ***조용히 틀리는*** 상태를 한 번 알린다.
|
|
4
4
|
*
|
|
@@ -43,5 +43,4 @@ var devWarnOnce = createDevWarner("@iyulab/components");
|
|
|
43
43
|
function resetDevWarnings() {
|
|
44
44
|
warned.clear();
|
|
45
45
|
}
|
|
46
|
-
//#endregion
|
|
47
46
|
export { createDevWarner, devWarnOnce, resetDevWarnings };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/utilities/elements.ts
|
|
2
2
|
/**
|
|
3
3
|
* 엘리먼트의 부모 엘리먼트를 반환합니다.
|
|
4
4
|
* - Shadow DOM을 지원하는 경우, Shadow DOM의 호스트 엘리먼트를 반환합니다.
|
|
@@ -113,5 +113,4 @@ function querySelectorDeep(roots, selectors, accept = () => true) {
|
|
|
113
113
|
}
|
|
114
114
|
return null;
|
|
115
115
|
}
|
|
116
|
-
//#endregion
|
|
117
116
|
export { getParentElement, isCoarsePointer, isFocusCandidate, isFromControl, querySelectorAllWithin, querySelectorDeep, querySelectorWithin };
|
package/dist/utilities/format.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Locale } from "./Locale.js";
|
|
2
2
|
import { readDateValue } from "./dateValue.js";
|
|
3
|
-
|
|
3
|
+
// src/utilities/format.ts
|
|
4
4
|
/**
|
|
5
5
|
* Resolves a Date or date string to a Date — through {@link readDateValue}, so a `YYYY-MM-DD` day is local
|
|
6
6
|
* midnight (not UTC midnight, which is the previous day west of Greenwich), a date-time without an offset is
|
|
@@ -409,5 +409,4 @@ function parseDateTimeRange(text, options = {}) {
|
|
|
409
409
|
function formatDateTimeRangeText(start, end, format = "iso", locale, seconds = false) {
|
|
410
410
|
return `${formatDateTimeText(start, format, locale, seconds)} – ${formatDateTimeText(end, format, locale, seconds)}`;
|
|
411
411
|
}
|
|
412
|
-
//#endregion
|
|
413
412
|
export { dateTextPattern, formatCurrency, formatDate, formatDateRange, formatDateRangeText, formatDateText, formatDateTimeRangeText, formatDateTimeText, formatNumber, parseDate, parseDateRange, parseDateTime, parseDateTimeRange, parseNumber };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/utilities/hostAria.ts
|
|
2
2
|
/**
|
|
3
3
|
* A component's own ARIA on its host, written as attributes — and only where the author left them empty.
|
|
4
4
|
*
|
|
@@ -84,5 +84,4 @@ function nameFromSlot(aria, host, slot, given) {
|
|
|
84
84
|
aria.set("aria-label", text || null);
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
//#endregion
|
|
88
87
|
export { HostAria, nameFromSlot };
|
package/dist/utilities/icons.js
CHANGED
|
@@ -22,7 +22,7 @@ import search_svg_default from "../_virtual/_glob-assets_raw/search.svg.0ba2012d
|
|
|
22
22
|
import star_fill_svg_default from "../_virtual/_glob-assets_raw/star-fill.svg.f24b5a2d.js";
|
|
23
23
|
import star_svg_default from "../_virtual/_glob-assets_raw/star.svg.4af61468.js";
|
|
24
24
|
import x_svg_default from "../_virtual/_glob-assets_raw/x.svg.5596f6bb.js";
|
|
25
|
-
|
|
25
|
+
// src/utilities/icons.ts
|
|
26
26
|
var defaultIconBaseUrl = "/assets/icons/";
|
|
27
27
|
/**
|
|
28
28
|
* 기본 라이브러리에서 아이콘을 로드할 때 사용할 기본 URL을 반환합니다.
|
|
@@ -38,6 +38,22 @@ function getDefaultBaseUrl() {
|
|
|
38
38
|
function setDefaultBaseUrl(url) {
|
|
39
39
|
defaultIconBaseUrl = url;
|
|
40
40
|
}
|
|
41
|
+
/** 페이지를 떠나는 중인가 — 그때 끊기는 진행 중 fetch 는 `TypeError: Failed to fetch` 로 오지만 실패가 아니다. */
|
|
42
|
+
var leavingPage = false;
|
|
43
|
+
if (typeof window !== "undefined" && typeof window.addEventListener === "function") {
|
|
44
|
+
window.addEventListener("pagehide", () => {
|
|
45
|
+
leavingPage = true;
|
|
46
|
+
});
|
|
47
|
+
window.addEventListener("beforeunload", () => {
|
|
48
|
+
leavingPage = true;
|
|
49
|
+
});
|
|
50
|
+
window.addEventListener("pageshow", () => {
|
|
51
|
+
leavingPage = false;
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
function isAbortError(error) {
|
|
55
|
+
return typeof error === "object" && error !== null && error.name === "AbortError";
|
|
56
|
+
}
|
|
41
57
|
/**
|
|
42
58
|
* vite의 `import.meta.glob`을 사용하여 내부 경로상의 모든 SVG 파일을 빌드 시점에 한 번에 로드합니다.
|
|
43
59
|
* 이 레지스트리는 런타임 동안 불변이며, 아이콘 조회 시 재사용됩니다.
|
|
@@ -213,7 +229,7 @@ var IconRegistry = class {
|
|
|
213
229
|
if ((this.generation.get(lib) ?? 0) === generation) IconCache.set(lib, name, svg);
|
|
214
230
|
return svg;
|
|
215
231
|
} catch (error) {
|
|
216
|
-
console.
|
|
232
|
+
if (!leavingPage && !isAbortError(error)) console.warn(`[@iyulab/components] IconRegistry: Failed to resolve icon '${key}' (will retry):`, error);
|
|
217
233
|
return;
|
|
218
234
|
}
|
|
219
235
|
})();
|
|
@@ -253,5 +269,4 @@ IconRegistry.register("bootstrap", async (name) => {
|
|
|
253
269
|
if (!response.ok) return void 0;
|
|
254
270
|
return await response.text();
|
|
255
271
|
});
|
|
256
|
-
//#endregion
|
|
257
272
|
export { IconCache, IconRegistry, getDefaultBaseUrl, setDefaultBaseUrl };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/utilities/keyboard.ts
|
|
2
2
|
/**
|
|
3
3
|
* Whether a key event belongs to an IME composition — typing Korean, Japanese, Chinese and other
|
|
4
4
|
* languages that build a character from several keystrokes.
|
|
@@ -21,5 +21,4 @@
|
|
|
21
21
|
function isImeComposing(e) {
|
|
22
22
|
return e.isComposing || e.keyCode === 229;
|
|
23
23
|
}
|
|
24
|
-
//#endregion
|
|
25
24
|
export { isImeComposing };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isFocusable } from "tabbable";
|
|
2
|
-
|
|
2
|
+
// src/utilities/nestedControl.ts
|
|
3
3
|
/**
|
|
4
4
|
* 이벤트가 `owner` «안의» 다른 상호작용 요소(포커스를 받는 요소)에서 왔는가.
|
|
5
5
|
*
|
|
@@ -16,5 +16,4 @@ function isFromNestedControl(e, owner) {
|
|
|
16
16
|
}
|
|
17
17
|
return false;
|
|
18
18
|
}
|
|
19
|
-
//#endregion
|
|
20
19
|
export { isFromNestedControl };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/utilities/progressAria.ts
|
|
2
2
|
/**
|
|
3
3
|
* 진행 표시(`u-progress-bar`·`u-progress-ring`·`u-spinner`)를 보조기기에 `progressbar` 로 내놓는다.
|
|
4
4
|
*
|
|
@@ -14,5 +14,4 @@ function syncProgressbar(aria, state) {
|
|
|
14
14
|
aria.set("aria-valuemax", String(state.max));
|
|
15
15
|
aria.set("aria-valuenow", state.indeterminate ? null : String(Math.max(state.min, Math.min(state.max, state.value))));
|
|
16
16
|
}
|
|
17
|
-
//#endregion
|
|
18
17
|
export { syncProgressbar };
|
package/dist/utilities/search.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/utilities/search.ts
|
|
2
2
|
var HANGUL_BASE = 44032;
|
|
3
3
|
var HANGUL_LAST = 55203;
|
|
4
4
|
/** 초성 19 — 호환 자모. */
|
|
@@ -147,5 +147,4 @@ function defaultSearchMatch(text, query, options = {}) {
|
|
|
147
147
|
for (let at = folded.indexOf(head); at !== -1 && at < folded.length; at = folded.indexOf(head, at + 1)) if (hangulKeystrokes(folded.slice(at + head.length)).startsWith(tail)) return true;
|
|
148
148
|
return false;
|
|
149
149
|
}
|
|
150
|
-
//#endregion
|
|
151
150
|
export { defaultSearchMatch, foldForSearch, hangulKeystrokes, initialsOf, isHangul };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/utilities/statusIcon.ts
|
|
2
2
|
/**
|
|
3
3
|
* 역할 축(의미)의 상태 → 내장 아이콘 이름.
|
|
4
4
|
*
|
|
@@ -30,5 +30,4 @@ var STATUS_ICON = {
|
|
|
30
30
|
function statusIcon(color) {
|
|
31
31
|
return color && color in STATUS_ICON ? STATUS_ICON[color] : void 0;
|
|
32
32
|
}
|
|
33
|
-
//#endregion
|
|
34
33
|
export { STATUS_ICON, statusIcon };
|
package/dist/utilities/tsv.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/utilities/tsv.ts
|
|
2
2
|
/**
|
|
3
3
|
* 스프레드시트 클립보드 형식(TSV)의 인코더·디코더 — Excel·Google Sheets 와 복사·붙여넣기로 오가는 표.
|
|
4
4
|
*
|
|
@@ -93,5 +93,4 @@ function decodeDelimited(text, delimiter) {
|
|
|
93
93
|
endRow();
|
|
94
94
|
return rows;
|
|
95
95
|
}
|
|
96
|
-
//#endregion
|
|
97
96
|
export { decodeDelimited, decodeTsv, encodeTsv };
|
package/package.json
CHANGED
|
@@ -8,6 +8,8 @@ import '@iyulab/components/dist/components/tooltip/UTooltip.js';
|
|
|
8
8
|
|
|
9
9
|
Hover/focus tooltip anchored to a `for` target. Opens and closes automatically; Escape closes an open tooltip without moving the pointer or focus (WCAG 1.4.13) — inside a dialog, the first Escape closes the tooltip and the next one the dialog.
|
|
10
10
|
|
|
11
|
+
Assistive technology: the host gets `role="tooltip"` and an `id`, and each `for` target gets that `id` appended to its `aria-describedby` (an existing value is kept; an author's own `id`/`role` is never overwritten). A screen reader therefore reads the tooltip text as the target's description. An `interactive` tooltip (one that holds links or controls) is not an APG tooltip — it gets the description link but no `role="tooltip"`; for content a user must operate, prefer a non-modal dialog or a toggletip.
|
|
12
|
+
|
|
11
13
|
```html
|
|
12
14
|
<u-button id="save-btn">Save</u-button>
|
|
13
15
|
<u-tooltip for="#save-btn" placement="top">
|