@iyulab/components 1.39.0 → 1.40.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 +173 -0
- package/README.md +24 -0
- package/dist/_virtual/{_@oxc-project_runtime@0.148.0 → _@oxc-project_runtime@0.149.0}/helpers/esm/decorate.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.148.0 → _@oxc-project_runtime@0.149.0}/helpers/esm/decorateMetadata.js +1 -1
- package/dist/_virtual/_glob-assets_raw/dark.css.e8ac080d.js +1 -1
- package/dist/_virtual/_glob-assets_raw/light.css.637cb2f8.js +1 -1
- package/dist/assets/locales/ar.json.js +6 -2
- package/dist/assets/locales/de.json.js +6 -2
- package/dist/assets/locales/en.json.js +6 -2
- package/dist/assets/locales/es.json.js +6 -2
- package/dist/assets/locales/fr.json.js +6 -2
- package/dist/assets/locales/id.json.js +6 -2
- package/dist/assets/locales/ja.json.js +6 -2
- package/dist/assets/locales/ko.json.js +6 -2
- package/dist/assets/locales/pt-BR.json.js +6 -2
- package/dist/assets/locales/ru.json.js +6 -2
- package/dist/assets/locales/th.json.js +6 -2
- package/dist/assets/locales/vi.json.js +6 -2
- package/dist/assets/locales/zh-CN.json.js +6 -2
- package/dist/assets/locales/zh-TW.json.js +6 -2
- package/dist/components/UFloatingElement.js +2 -2
- package/dist/components/UFormControlElement.js +2 -2
- package/dist/components/UOverlayElement.js +2 -2
- package/dist/components/alert/UAlert.js +2 -2
- package/dist/components/avatar/UAvatar.js +2 -2
- package/dist/components/badge/UBadge.js +2 -2
- package/dist/components/breadcrumb/UBreadcrumb.js +1 -1
- package/dist/components/breadcrumb/UBreadcrumb.styles.js +1 -1
- package/dist/components/breadcrumb-item/UBreadcrumbItem.js +2 -2
- package/dist/components/breadcrumb-item/UBreadcrumbItem.styles.js +1 -1
- package/dist/components/button/UButton.js +2 -2
- package/dist/components/button-group/UButtonGroup.js +2 -2
- package/dist/components/card/UCard.js +2 -2
- package/dist/components/carousel/UCarousel.js +2 -2
- package/dist/components/checkbox/UCheckbox.js +2 -2
- package/dist/components/checkbox/UCheckbox.styles.js +7 -1
- package/dist/components/chip/UChip.js +2 -2
- package/dist/components/chip/UChip.styles.js +7 -0
- package/dist/components/copy-button/UCopyButton.js +2 -2
- package/dist/components/date-picker/UDatePicker.js +2 -2
- package/dist/components/date-picker/UDatePicker.styles.js +2 -2
- package/dist/components/dialog/UDialog.js +2 -2
- package/dist/components/divider/UDivider.js +2 -2
- package/dist/components/divider/UDivider.styles.js +1 -1
- package/dist/components/drawer/UDrawer.js +2 -2
- package/dist/components/expander/UExpander.js +2 -2
- package/dist/components/expander/UExpander.styles.js +1 -1
- package/dist/components/field/UField.js +2 -2
- package/dist/components/field/UField.styles.js +1 -1
- package/dist/components/file-input/UFileInput.js +2 -2
- package/dist/components/file-input/UFileInput.styles.js +2 -2
- package/dist/components/form/UForm.js +2 -2
- package/dist/components/icon/UIcon.js +13 -6
- package/dist/components/icon-button/UIconButton.js +2 -2
- package/dist/components/input/UInput.d.ts +15 -1
- package/dist/components/input/UInput.js +62 -12
- package/dist/components/input/UInput.styles.js +25 -6
- package/dist/components/menu/UMenu.js +2 -2
- package/dist/components/menu-item/UMenuItem.js +2 -2
- package/dist/components/option/UOption.js +2 -2
- package/dist/components/panel/UPanel.js +2 -2
- package/dist/components/popover/UPopover.js +23 -7
- package/dist/components/progress-bar/UProgressBar.js +2 -2
- package/dist/components/progress-ring/UProgressRing.js +2 -2
- package/dist/components/radio/URadio.js +2 -2
- package/dist/components/rating/URating.js +2 -2
- package/dist/components/rating/URating.styles.js +6 -0
- package/dist/components/select/USelect.d.ts +7 -1
- package/dist/components/select/USelect.js +19 -8
- package/dist/components/select/USelect.styles.js +18 -5
- package/dist/components/skeleton/USkeleton.js +2 -2
- package/dist/components/slider/USlider.d.ts +3 -1
- package/dist/components/slider/USlider.js +2 -2
- package/dist/components/slider/USlider.styles.js +19 -2
- package/dist/components/spinner/USpinner.js +2 -2
- package/dist/components/split-panel/USplitPanel.d.ts +43 -2
- package/dist/components/split-panel/USplitPanel.js +127 -11
- package/dist/components/split-panel/USplitPanel.styles.js +37 -6
- package/dist/components/switch/USwitch.js +2 -2
- package/dist/components/switch/USwitch.styles.js +8 -3
- package/dist/components/tab/UTab.js +2 -2
- package/dist/components/tab/UTab.styles.js +1 -1
- package/dist/components/tab-panel/UTabPanel.js +3 -3
- package/dist/components/tag/UTag.js +2 -2
- package/dist/components/text/UText.js +2 -2
- package/dist/components/text/UText.styles.js +1 -1
- package/dist/components/textarea/UTextarea.d.ts +5 -0
- package/dist/components/textarea/UTextarea.js +2 -2
- package/dist/components/textarea/UTextarea.styles.js +6 -3
- package/dist/components/tooltip/UTooltip.js +2 -2
- package/dist/components/tree/UTree.js +2 -2
- package/dist/components/tree-item/UTreeItem.js +2 -2
- package/dist/components/tree-item/UTreeItem.styles.js +50 -13
- package/dist/styles/dark.css +4 -1
- package/dist/styles/light.css +7 -4
- package/dist/utilities/Locale.d.ts +1 -1
- package/dist/utilities/Toast.d.ts +34 -0
- package/dist/utilities/Toast.js +57 -0
- package/dist/utilities/devWarning.d.ts +17 -0
- package/dist/utilities/devWarning.js +5 -0
- package/package.json +4 -4
- package/skills/iyulab-components/references/components/dialog.md +19 -0
- package/skills/iyulab-components/references/components/input.md +17 -0
- package/skills/iyulab-components/references/components/panel.md +12 -0
- package/skills/iyulab-components/references/components/select.md +9 -0
- package/skills/iyulab-components/references/components/slider.md +1 -1
- package/skills/iyulab-components/references/components/split-panel.md +41 -3
- package/skills/iyulab-components/references/components/tab-panel.md +18 -0
|
@@ -27,6 +27,8 @@ var copied = "복사됨";
|
|
|
27
27
|
var chooseFile = "파일 선택";
|
|
28
28
|
var noFileChosen = "선택된 파일 없음";
|
|
29
29
|
var filesSelected = "{count}개 파일 선택됨";
|
|
30
|
+
var resizePanels = "패널 크기 조절";
|
|
31
|
+
var search = "검색";
|
|
30
32
|
var ko_default = {
|
|
31
33
|
valueMissing,
|
|
32
34
|
badInput,
|
|
@@ -55,7 +57,9 @@ var ko_default = {
|
|
|
55
57
|
copied,
|
|
56
58
|
chooseFile,
|
|
57
59
|
noFileChosen,
|
|
58
|
-
filesSelected
|
|
60
|
+
filesSelected,
|
|
61
|
+
resizePanels,
|
|
62
|
+
search
|
|
59
63
|
};
|
|
60
64
|
//#endregion
|
|
61
|
-
export { badInput, chooseDate, chooseFile, clear, close, copied, copy, decrement, ko_default as default, filesSelected, goToSlide, hidePassword, increment, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, rangeOverflow, rangeUnderflow, showPassword, stepMismatch, time, today, tooLong, tooShort, typeMismatch, valueMissing };
|
|
65
|
+
export { badInput, chooseDate, chooseFile, clear, close, copied, copy, decrement, ko_default as default, filesSelected, goToSlide, hidePassword, increment, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, rangeOverflow, rangeUnderflow, resizePanels, search, showPassword, stepMismatch, time, today, tooLong, tooShort, typeMismatch, valueMissing };
|
|
@@ -27,6 +27,8 @@ var copied = "Copiado";
|
|
|
27
27
|
var chooseFile = "Escolher arquivo";
|
|
28
28
|
var noFileChosen = "Nenhum arquivo escolhido";
|
|
29
29
|
var filesSelected = "{count} arquivos selecionados";
|
|
30
|
+
var resizePanels = "Redimensionar painéis";
|
|
31
|
+
var search = "Pesquisar";
|
|
30
32
|
var pt_BR_default = {
|
|
31
33
|
valueMissing,
|
|
32
34
|
badInput,
|
|
@@ -55,7 +57,9 @@ var pt_BR_default = {
|
|
|
55
57
|
copied,
|
|
56
58
|
chooseFile,
|
|
57
59
|
noFileChosen,
|
|
58
|
-
filesSelected
|
|
60
|
+
filesSelected,
|
|
61
|
+
resizePanels,
|
|
62
|
+
search
|
|
59
63
|
};
|
|
60
64
|
//#endregion
|
|
61
|
-
export { badInput, chooseDate, chooseFile, clear, close, copied, copy, decrement, pt_BR_default as default, filesSelected, goToSlide, hidePassword, increment, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, rangeOverflow, rangeUnderflow, showPassword, stepMismatch, time, today, tooLong, tooShort, typeMismatch, valueMissing };
|
|
65
|
+
export { badInput, chooseDate, chooseFile, clear, close, copied, copy, decrement, pt_BR_default as default, filesSelected, goToSlide, hidePassword, increment, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, rangeOverflow, rangeUnderflow, resizePanels, search, showPassword, stepMismatch, time, today, tooLong, tooShort, typeMismatch, valueMissing };
|
|
@@ -27,6 +27,8 @@ var copied = "Скопировано";
|
|
|
27
27
|
var chooseFile = "Выбрать файл";
|
|
28
28
|
var noFileChosen = "Файл не выбран";
|
|
29
29
|
var filesSelected = "Выбрано файлов: {count}";
|
|
30
|
+
var resizePanels = "Изменить размер панелей";
|
|
31
|
+
var search = "Поиск";
|
|
30
32
|
var ru_default = {
|
|
31
33
|
valueMissing,
|
|
32
34
|
badInput,
|
|
@@ -55,7 +57,9 @@ var ru_default = {
|
|
|
55
57
|
copied,
|
|
56
58
|
chooseFile,
|
|
57
59
|
noFileChosen,
|
|
58
|
-
filesSelected
|
|
60
|
+
filesSelected,
|
|
61
|
+
resizePanels,
|
|
62
|
+
search
|
|
59
63
|
};
|
|
60
64
|
//#endregion
|
|
61
|
-
export { badInput, chooseDate, chooseFile, clear, close, copied, copy, decrement, ru_default as default, filesSelected, goToSlide, hidePassword, increment, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, rangeOverflow, rangeUnderflow, showPassword, stepMismatch, time, today, tooLong, tooShort, typeMismatch, valueMissing };
|
|
65
|
+
export { badInput, chooseDate, chooseFile, clear, close, copied, copy, decrement, ru_default as default, filesSelected, goToSlide, hidePassword, increment, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, rangeOverflow, rangeUnderflow, resizePanels, search, showPassword, stepMismatch, time, today, tooLong, tooShort, typeMismatch, valueMissing };
|
|
@@ -27,6 +27,8 @@ var copied = "คัดลอกแล้ว";
|
|
|
27
27
|
var chooseFile = "เลือกไฟล์";
|
|
28
28
|
var noFileChosen = "ยังไม่ได้เลือกไฟล์";
|
|
29
29
|
var filesSelected = "เลือกแล้ว {count} ไฟล์";
|
|
30
|
+
var resizePanels = "ปรับขนาดแผง";
|
|
31
|
+
var search = "ค้นหา";
|
|
30
32
|
var th_default = {
|
|
31
33
|
valueMissing,
|
|
32
34
|
badInput,
|
|
@@ -55,7 +57,9 @@ var th_default = {
|
|
|
55
57
|
copied,
|
|
56
58
|
chooseFile,
|
|
57
59
|
noFileChosen,
|
|
58
|
-
filesSelected
|
|
60
|
+
filesSelected,
|
|
61
|
+
resizePanels,
|
|
62
|
+
search
|
|
59
63
|
};
|
|
60
64
|
//#endregion
|
|
61
|
-
export { badInput, chooseDate, chooseFile, clear, close, copied, copy, decrement, th_default as default, filesSelected, goToSlide, hidePassword, increment, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, rangeOverflow, rangeUnderflow, showPassword, stepMismatch, time, today, tooLong, tooShort, typeMismatch, valueMissing };
|
|
65
|
+
export { badInput, chooseDate, chooseFile, clear, close, copied, copy, decrement, th_default as default, filesSelected, goToSlide, hidePassword, increment, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, rangeOverflow, rangeUnderflow, resizePanels, search, showPassword, stepMismatch, time, today, tooLong, tooShort, typeMismatch, valueMissing };
|
|
@@ -27,6 +27,8 @@ var copied = "Đã sao chép";
|
|
|
27
27
|
var chooseFile = "Chọn tệp";
|
|
28
28
|
var noFileChosen = "Chưa chọn tệp nào";
|
|
29
29
|
var filesSelected = "Đã chọn {count} tệp";
|
|
30
|
+
var resizePanels = "Thay đổi kích thước bảng";
|
|
31
|
+
var search = "Tìm kiếm";
|
|
30
32
|
var vi_default = {
|
|
31
33
|
valueMissing,
|
|
32
34
|
badInput,
|
|
@@ -55,7 +57,9 @@ var vi_default = {
|
|
|
55
57
|
copied,
|
|
56
58
|
chooseFile,
|
|
57
59
|
noFileChosen,
|
|
58
|
-
filesSelected
|
|
60
|
+
filesSelected,
|
|
61
|
+
resizePanels,
|
|
62
|
+
search
|
|
59
63
|
};
|
|
60
64
|
//#endregion
|
|
61
|
-
export { badInput, chooseDate, chooseFile, clear, close, copied, copy, decrement, vi_default as default, filesSelected, goToSlide, hidePassword, increment, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, rangeOverflow, rangeUnderflow, showPassword, stepMismatch, time, today, tooLong, tooShort, typeMismatch, valueMissing };
|
|
65
|
+
export { badInput, chooseDate, chooseFile, clear, close, copied, copy, decrement, vi_default as default, filesSelected, goToSlide, hidePassword, increment, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, rangeOverflow, rangeUnderflow, resizePanels, search, showPassword, stepMismatch, time, today, tooLong, tooShort, typeMismatch, valueMissing };
|
|
@@ -27,6 +27,8 @@ var copied = "已复制";
|
|
|
27
27
|
var chooseFile = "选择文件";
|
|
28
28
|
var noFileChosen = "未选择文件";
|
|
29
29
|
var filesSelected = "已选择{count}个文件";
|
|
30
|
+
var resizePanels = "调整面板大小";
|
|
31
|
+
var search = "搜索";
|
|
30
32
|
var zh_CN_default = {
|
|
31
33
|
valueMissing,
|
|
32
34
|
badInput,
|
|
@@ -55,7 +57,9 @@ var zh_CN_default = {
|
|
|
55
57
|
copied,
|
|
56
58
|
chooseFile,
|
|
57
59
|
noFileChosen,
|
|
58
|
-
filesSelected
|
|
60
|
+
filesSelected,
|
|
61
|
+
resizePanels,
|
|
62
|
+
search
|
|
59
63
|
};
|
|
60
64
|
//#endregion
|
|
61
|
-
export { badInput, chooseDate, chooseFile, clear, close, copied, copy, decrement, zh_CN_default as default, filesSelected, goToSlide, hidePassword, increment, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, rangeOverflow, rangeUnderflow, showPassword, stepMismatch, time, today, tooLong, tooShort, typeMismatch, valueMissing };
|
|
65
|
+
export { badInput, chooseDate, chooseFile, clear, close, copied, copy, decrement, zh_CN_default as default, filesSelected, goToSlide, hidePassword, increment, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, rangeOverflow, rangeUnderflow, resizePanels, search, showPassword, stepMismatch, time, today, tooLong, tooShort, typeMismatch, valueMissing };
|
|
@@ -27,6 +27,8 @@ var copied = "已複製";
|
|
|
27
27
|
var chooseFile = "選擇檔案";
|
|
28
28
|
var noFileChosen = "未選擇檔案";
|
|
29
29
|
var filesSelected = "已選擇{count}個檔案";
|
|
30
|
+
var resizePanels = "調整面板大小";
|
|
31
|
+
var search = "搜尋";
|
|
30
32
|
var zh_TW_default = {
|
|
31
33
|
valueMissing,
|
|
32
34
|
badInput,
|
|
@@ -55,7 +57,9 @@ var zh_TW_default = {
|
|
|
55
57
|
copied,
|
|
56
58
|
chooseFile,
|
|
57
59
|
noFileChosen,
|
|
58
|
-
filesSelected
|
|
60
|
+
filesSelected,
|
|
61
|
+
resizePanels,
|
|
62
|
+
search
|
|
59
63
|
};
|
|
60
64
|
//#endregion
|
|
61
|
-
export { badInput, chooseDate, chooseFile, clear, close, copied, copy, decrement, zh_TW_default as default, filesSelected, goToSlide, hidePassword, increment, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, rangeOverflow, rangeUnderflow, showPassword, stepMismatch, time, today, tooLong, tooShort, typeMismatch, valueMissing };
|
|
65
|
+
export { badInput, chooseDate, chooseFile, clear, close, copied, copy, decrement, zh_TW_default as default, filesSelected, goToSlide, hidePassword, increment, nextMonth, nextSlide, noFileChosen, patternMismatch, previousMonth, previousSlide, rangeOverflow, rangeUnderflow, resizePanels, search, showPassword, stepMismatch, time, today, tooLong, tooShort, typeMismatch, valueMissing };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { UElement } from "./UElement.js";
|
|
2
2
|
import { getParentElement, querySelectorAllWithin } from "../utilities/elements.js";
|
|
3
3
|
import { styles } from "./UFloatingElement.styles.js";
|
|
4
|
-
import __decorateMetadata from "../_virtual/_@oxc-project_runtime@0.
|
|
5
|
-
import __decorate from "../_virtual/_@oxc-project_runtime@0.
|
|
4
|
+
import __decorateMetadata from "../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorateMetadata.js";
|
|
5
|
+
import __decorate from "../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorate.js";
|
|
6
6
|
import { property, state } from "lit/decorators.js";
|
|
7
7
|
import { arrow, autoPlacement, autoUpdate, computePosition, flip, hide, offset, shift } from "@floating-ui/dom";
|
|
8
8
|
//#region src/components/UFloatingElement.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UElement } from "./UElement.js";
|
|
2
|
-
import __decorateMetadata from "../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import __decorate from "../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import __decorateMetadata from "../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorateMetadata.js";
|
|
3
|
+
import __decorate from "../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorate.js";
|
|
4
4
|
import { styles } from "./UFormControlElement.styles.js";
|
|
5
5
|
import { property } from "lit/decorators.js";
|
|
6
6
|
//#region src/components/UFormControlElement.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UElement } from "./UElement.js";
|
|
2
|
-
import __decorateMetadata from "../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import __decorate from "../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import __decorateMetadata from "../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorateMetadata.js";
|
|
3
|
+
import __decorate from "../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorate.js";
|
|
4
4
|
import { OverlayManager } from "../utilities/OverlayManager.js";
|
|
5
5
|
import { arrayAttrConverter } from "../utilities/converters.js";
|
|
6
6
|
import { styles } from "./UOverlayElement.styles.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UElement } from "../UElement.js";
|
|
2
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorateMetadata.js";
|
|
3
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorate.js";
|
|
4
4
|
import "../button/UButton.js";
|
|
5
5
|
import "../icon/UIcon.js";
|
|
6
6
|
import { styles } from "./UAlert.styles.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UElement } from "../UElement.js";
|
|
2
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorateMetadata.js";
|
|
3
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorate.js";
|
|
4
4
|
import { styles } from "./UAvatar.styles.js";
|
|
5
5
|
import { html } from "lit";
|
|
6
6
|
import { customElement, property } from "lit/decorators.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UElement } from "../UElement.js";
|
|
2
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorateMetadata.js";
|
|
3
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorate.js";
|
|
4
4
|
import "../icon/UIcon.js";
|
|
5
5
|
import { statusIcon } from "../../utilities/statusIcon.js";
|
|
6
6
|
import { styles } from "./UBadge.styles.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UElement } from "../UElement.js";
|
|
2
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorate.js";
|
|
3
3
|
import "../icon/UIcon.js";
|
|
4
4
|
import { styles } from "./UBreadcrumb.styles.js";
|
|
5
5
|
import { html } from "lit";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UElement } from "../UElement.js";
|
|
2
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorateMetadata.js";
|
|
3
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorate.js";
|
|
4
4
|
import { styles } from "./UBreadcrumbItem.styles.js";
|
|
5
5
|
import { html } from "lit";
|
|
6
6
|
import { customElement, property } from "lit/decorators.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UElement } from "../UElement.js";
|
|
2
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorateMetadata.js";
|
|
3
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorate.js";
|
|
4
4
|
import "../spinner/USpinner.js";
|
|
5
5
|
import { styles } from "./UButton.styles.js";
|
|
6
6
|
import { html } from "lit";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UElement } from "../UElement.js";
|
|
2
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorateMetadata.js";
|
|
3
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorate.js";
|
|
4
4
|
import { UButton } from "../button/UButton.js";
|
|
5
5
|
import { UIconButton } from "../icon-button/UIconButton.js";
|
|
6
6
|
import { styles } from "./UButtonGroup.styles.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UElement } from "../UElement.js";
|
|
2
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorateMetadata.js";
|
|
3
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorate.js";
|
|
4
4
|
import { styles } from "./UCard.styles.js";
|
|
5
5
|
import { html } from "lit";
|
|
6
6
|
import { customElement, property } from "lit/decorators.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UElement } from "../UElement.js";
|
|
2
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorateMetadata.js";
|
|
3
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorate.js";
|
|
4
4
|
import "../button/UButton.js";
|
|
5
5
|
import "../icon/UIcon.js";
|
|
6
6
|
import { Locale } from "../../utilities/Locale.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorateMetadata.js";
|
|
2
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorate.js";
|
|
3
3
|
import { UFormControlElement } from "../UFormControlElement.js";
|
|
4
4
|
import "../icon/UIcon.js";
|
|
5
5
|
import { Locale } from "../../utilities/Locale.js";
|
|
@@ -11,6 +11,12 @@ var styles = css`
|
|
|
11
11
|
:host {
|
|
12
12
|
display: inline-flex;
|
|
13
13
|
flex-direction: column;
|
|
14
|
+
/* WCAG 2.2 SC 2.5.8 Target Size (Minimum) — 포인터 타깃은 24×24 CSS px 이상.
|
|
15
|
+
⚠재는 것은 **포인터 타깃**이지 시각 크기가 아니다 — 체크 박스(.checkbox)의
|
|
16
|
+
치수는 그대로 두고 «클릭을 받는 영역»만 최소 높이를 갖는다. 라벨이 있으면
|
|
17
|
+
내용이 이미 이보다 크므로 아무 일도 일어나지 않는다. */
|
|
18
|
+
min-block-size: 24px;
|
|
19
|
+
justify-content: center;
|
|
14
20
|
color: var(--u-txt-color, #212121);
|
|
15
21
|
font-size: inherit;
|
|
16
22
|
font-family: var(--u-font-base);
|
|
@@ -180,7 +186,7 @@ var styles = css`
|
|
|
180
186
|
|
|
181
187
|
.description {
|
|
182
188
|
margin-top: 0.5em;
|
|
183
|
-
color: var(--u-txt-color-weak, #
|
|
189
|
+
color: var(--u-txt-color-weak, #616161);
|
|
184
190
|
font-size: 0.75em;
|
|
185
191
|
line-height: 1.2;
|
|
186
192
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UElement } from "../UElement.js";
|
|
2
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorateMetadata.js";
|
|
3
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorate.js";
|
|
4
4
|
import "../button/UButton.js";
|
|
5
5
|
import "../icon/UIcon.js";
|
|
6
6
|
import "../tooltip/UTooltip.js";
|
|
@@ -25,6 +25,13 @@ var styles = css`
|
|
|
25
25
|
|
|
26
26
|
.remove-btn {
|
|
27
27
|
font-size: 0.7em;
|
|
28
|
+
/* WCAG 2.2 SC 2.5.8 — 제거 버튼은 포인터 타깃이고 실측 27x23 으로 **1px 미달**이었다.
|
|
29
|
+
cycle-484 가 checkbox·switch 에 쓴 것과 같은 처방(글리프가 아니라 타깃을 넓힌다) —
|
|
30
|
+
아이콘 크기(0.7em)는 그대로다.
|
|
31
|
+
⚠실측: 버튼 27x23 → 27x24, 그리고 **칩 자신이 31 → 32px 로 1px 늘어난다.**
|
|
32
|
+
(«늘지 않는다»가 아니다 — 24px 타깃은 그만한 공간을 요구한다.) */
|
|
33
|
+
min-block-size: 24px;
|
|
34
|
+
min-inline-size: 24px;
|
|
28
35
|
}
|
|
29
36
|
`;
|
|
30
37
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UElement } from "../UElement.js";
|
|
2
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorateMetadata.js";
|
|
3
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorate.js";
|
|
4
4
|
import "../button/UButton.js";
|
|
5
5
|
import "../icon/UIcon.js";
|
|
6
6
|
import { Locale } from "../../utilities/Locale.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorateMetadata.js";
|
|
2
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorate.js";
|
|
3
3
|
import { UFormControlElement } from "../UFormControlElement.js";
|
|
4
4
|
import "../button/UButton.js";
|
|
5
5
|
import "../icon/UIcon.js";
|
|
@@ -53,7 +53,7 @@ var styles = css`
|
|
|
53
53
|
white-space: nowrap;
|
|
54
54
|
}
|
|
55
55
|
.text-content.placeholder {
|
|
56
|
-
color: var(--u-txt-color-weak, #
|
|
56
|
+
color: var(--u-txt-color-weak, #616161);
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
.suffix-item {
|
|
@@ -104,7 +104,7 @@ var styles = css`
|
|
|
104
104
|
align-items: center;
|
|
105
105
|
justify-content: center;
|
|
106
106
|
font-size: var(--u-text-caption-size, 12px);
|
|
107
|
-
color: var(--u-txt-color-weak, #
|
|
107
|
+
color: var(--u-txt-color-weak, #616161);
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
.day,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorateMetadata.js";
|
|
2
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorate.js";
|
|
3
3
|
import { UOverlayElement } from "../UOverlayElement.js";
|
|
4
4
|
import "../button/UButton.js";
|
|
5
5
|
import "../icon/UIcon.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UElement } from "../UElement.js";
|
|
2
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorateMetadata.js";
|
|
3
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorate.js";
|
|
4
4
|
import { styles } from "./UDivider.styles.js";
|
|
5
5
|
import { html } from "lit";
|
|
6
6
|
import { customElement, property } from "lit/decorators.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorateMetadata.js";
|
|
2
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorate.js";
|
|
3
3
|
import { UOverlayElement } from "../UOverlayElement.js";
|
|
4
4
|
import "../button/UButton.js";
|
|
5
5
|
import "../icon/UIcon.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UElement } from "../UElement.js";
|
|
2
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorateMetadata.js";
|
|
3
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorate.js";
|
|
4
4
|
import "../icon/UIcon.js";
|
|
5
5
|
import { styles } from "./UExpander.styles.js";
|
|
6
6
|
import { html } from "lit";
|
|
@@ -45,7 +45,7 @@ var styles = css`
|
|
|
45
45
|
|
|
46
46
|
.icon {
|
|
47
47
|
flex: none;
|
|
48
|
-
color: var(--u-txt-color-weak, #
|
|
48
|
+
color: var(--u-txt-color-weak, #616161);
|
|
49
49
|
transition: transform var(--u-duration-normal, 220ms) var(--u-ease-standard, cubic-bezier(0.2, 0, 0, 1));
|
|
50
50
|
}
|
|
51
51
|
:host([open]) .icon {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UElement } from "../UElement.js";
|
|
2
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorateMetadata.js";
|
|
3
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorate.js";
|
|
4
4
|
import { styles } from "./UField.styles.js";
|
|
5
5
|
import { html, nothing } from "lit";
|
|
6
6
|
import { customElement, property } from "lit/decorators.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorateMetadata.js";
|
|
2
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorate.js";
|
|
3
3
|
import { UFormControlElement } from "../UFormControlElement.js";
|
|
4
4
|
import "../icon/UIcon.js";
|
|
5
5
|
import { Locale } from "../../utilities/Locale.js";
|
|
@@ -40,7 +40,7 @@ var styles = css`
|
|
|
40
40
|
0 0 0 3px color-mix(in srgb, var(--u-primary-color-strong, #1565C0) 22%, transparent);
|
|
41
41
|
}
|
|
42
42
|
.trigger:disabled {
|
|
43
|
-
color: var(--u-txt-color-weak, #
|
|
43
|
+
color: var(--u-txt-color-weak, #616161);
|
|
44
44
|
background-color: var(--u-bg-color-disabled, #FAFAFA);
|
|
45
45
|
border-color: var(--u-border-color-weak, #EEEEEE);
|
|
46
46
|
cursor: not-allowed;
|
|
@@ -55,7 +55,7 @@ var styles = css`
|
|
|
55
55
|
font-size: 0.9em;
|
|
56
56
|
}
|
|
57
57
|
.status[data-empty] {
|
|
58
|
-
color: var(--u-txt-color-weak, #
|
|
58
|
+
color: var(--u-txt-color-weak, #616161);
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
.clear-btn {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UElement } from "../UElement.js";
|
|
2
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorateMetadata.js";
|
|
3
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorate.js";
|
|
4
4
|
import { UFormControlElement } from "../UFormControlElement.js";
|
|
5
5
|
import { arrayAttrConverter } from "../../utilities/converters.js";
|
|
6
6
|
import { styles } from "./UForm.styles.js";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { UElement } from "../UElement.js";
|
|
2
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorateMetadata.js";
|
|
3
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorate.js";
|
|
4
4
|
import { IconRegistry, getDefaultBaseUrl } from "../../utilities/icons.js";
|
|
5
|
+
import "../../utilities/devWarning.js";
|
|
5
6
|
import { styles } from "./UIcon.styles.js";
|
|
6
7
|
import { nothing } from "lit";
|
|
7
8
|
import { customElement, property } from "lit/decorators.js";
|
|
@@ -25,13 +26,19 @@ var UIcon = class UIcon extends UElement {
|
|
|
25
26
|
return resolved ? unsafeHTML(resolved) : nothing;
|
|
26
27
|
}
|
|
27
28
|
async resolve(name) {
|
|
28
|
-
let html
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
let html;
|
|
30
|
+
let where;
|
|
31
|
+
if (this.lib) {
|
|
32
|
+
html = await IconRegistry.resolve(this.lib, name);
|
|
33
|
+
where = IconRegistry.has(this.lib) ? `lib "${this.lib}"` : `lib "${this.lib}" (not registered)`;
|
|
34
|
+
} else {
|
|
31
35
|
const url = `${getDefaultBaseUrl().replace(/\/$/, "")}/${name}.svg`;
|
|
32
36
|
html = await IconRegistry.resolveUrl(url);
|
|
37
|
+
where = `${url} (no lib given — the default base URL)`;
|
|
33
38
|
}
|
|
34
|
-
|
|
39
|
+
const svg = this.sanitize(html);
|
|
40
|
+
if (svg === void 0) `${this.lib ?? ""}${name}`, `${name}${where}`, this.fallback;
|
|
41
|
+
return svg;
|
|
35
42
|
}
|
|
36
43
|
sanitize(html) {
|
|
37
44
|
if (!html) return void 0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UElement } from "../UElement.js";
|
|
2
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorateMetadata.js";
|
|
3
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.149.0/helpers/esm/decorate.js";
|
|
4
4
|
import "../button/UButton.js";
|
|
5
5
|
import "../icon/UIcon.js";
|
|
6
6
|
import "../tooltip/UTooltip.js";
|
|
@@ -102,6 +102,19 @@ export declare class UInput extends UFormControlElement<string> {
|
|
|
102
102
|
private handleInputChange;
|
|
103
103
|
private handleInputBlur;
|
|
104
104
|
private handleInputKeydown;
|
|
105
|
+
/**
|
|
106
|
+
* 네이티브 단일 행 `<input>` 의 **암묵 제출**(HTML «implicit submission»)을 흉내 낸다 — 내부 `<input>` 은 섀도
|
|
107
|
+
* 안에 있어 바깥 `<form>` 의 폼 소유자가 아니므로, 흉내 내지 않으면 Enter 가 아무것도 하지 않는다.
|
|
108
|
+
*
|
|
109
|
+
* - **한 틱(태스크) 뒤에 판정한다.** 이 리스너는 내부 입력에서 가장 먼저 돌므로, 소비자가 호스트나 폼에서
|
|
110
|
+
* `keydown` 을 취소했는지는 디스패치가 끝난 뒤에야 안다(마이크로태스크는 다음 리스너보다 먼저 돈다).
|
|
111
|
+
* 취소됐으면 제출하지 않는다 — 네이티브와 같다.
|
|
112
|
+
* - IME 조합을 확정하는 Enter 와 수정 키가 붙은 Enter 는 제출하지 않는다.
|
|
113
|
+
* - 명세의 순서 그대로: 폼에 제출 버튼이 있으면 **첫 제출 버튼을 누른다**(비활성이면 버튼이 스스로 거른다 ·
|
|
114
|
+
* 네이티브 버튼이면 `submitter` 도 그것이 된다). 없으면 암묵 제출을 막는 필드가 둘 이상일 때 제출하지 않고,
|
|
115
|
+
* 아니면 `requestSubmit()` 한다(검증도 그 안에서 돈다).
|
|
116
|
+
*/
|
|
117
|
+
private handleImplicitSubmission;
|
|
105
118
|
/** suffix `u-icon`은 순수 표시 요소(버튼 아님)라 네이티브 키보드 활성화가 없다 —
|
|
106
119
|
* `role="button"`+`tabindex="0"`로 포커스 가능하게 한 뒤, Enter/Space를 같은 클릭
|
|
107
120
|
* 핸들러로 릴레이한다. `e.preventDefault()`는 Space가 페이지를 스크롤시키는 것을 막는다. */
|
|
@@ -120,8 +133,9 @@ export declare class UInput extends UFormControlElement<string> {
|
|
|
120
133
|
private handleStepperClick;
|
|
121
134
|
private handleOptionClick;
|
|
122
135
|
private handleOptionKeydown;
|
|
136
|
+
/** 옵션이 없으면 열지 않는다. ⚠닫힘은 막지 않는다 — 종전에는 같은 조건으로 `hide` 도 취소해,
|
|
137
|
+
* 열린 채 옵션이 모두 사라지면 **빈 팝오버가 닫히지 못하고** 페이지 위에 남았다. */
|
|
123
138
|
private handlePopoverShow;
|
|
124
|
-
private handlePopoverHide;
|
|
125
139
|
}
|
|
126
140
|
declare global {
|
|
127
141
|
interface HTMLElementTagNameMap {
|