@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/assets/locales/zh-TW.json
|
|
2
2
|
var valueMissing = "此欄位為必填";
|
|
3
3
|
var badInput = "請輸入有效的值";
|
|
4
4
|
var typeMismatch = "請輸入正確格式的值";
|
|
@@ -149,5 +149,4 @@ var zh_TW_default = {
|
|
|
149
149
|
rowsPerPage,
|
|
150
150
|
rangeOfTotal
|
|
151
151
|
};
|
|
152
|
-
//#endregion
|
|
153
152
|
export { alertError, alertInfo, alertMessage, alertNotice, alertSuccess, alertWarning, apply, badInput, breadcrumb, cancel, carousel, chooseDate, chooseDateRange, chooseFile, clear, close, closeTab, confirm, copied, copy, dateUnavailable, decrement, zh_TW_default as default, endTime, filesSelected, goToSlide, hidePassword, increment, last30Days, last7Days, lastMonth, lastWeek, loading, nextMonth, nextPage, nextSlide, noFileChosen, noMatches, ok, pageN, pagination, patternMismatch, previousMonth, previousPage, previousSlide, quickRanges, rangeOfTotal, rangeOverflow, rangeStartChosen, rangeUnderflow, remove, resizePanels, rowsPerPage, search, showPassword, slide, slideOf, startSlideRotation, startTime, stepComplete, stepMismatch, stepOnHold, stopSlideRotation, thisMonth, thisWeek, thisYear, time, timeAm, timePm, today, tooLong, tooShort, typeMismatch, valueMissing, yesterday };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { styles } from "./UElement.styles.js";
|
|
2
2
|
import { Locale } from "../utilities/Locale.js";
|
|
3
3
|
import { LitElement, render } from "lit";
|
|
4
|
-
|
|
4
|
+
// src/components/UElement.ts
|
|
5
5
|
/**
|
|
6
6
|
* 모든 UI 컴포넌트의 기반 클래스.
|
|
7
7
|
* LitElement를 확장하여 이벤트 발행 및 렌더 교체 헬퍼를 제공합니다.
|
|
@@ -148,5 +148,4 @@ var UElement = class extends LitElement {
|
|
|
148
148
|
render(value, container, options);
|
|
149
149
|
}
|
|
150
150
|
};
|
|
151
|
-
//#endregion
|
|
152
151
|
export { UElement };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
|
|
2
|
+
// src/components/UElement.styles.ts
|
|
3
3
|
var styles = css`
|
|
4
4
|
:host {
|
|
5
5
|
color: var(--u-txt-color, inherit);
|
|
@@ -68,5 +68,4 @@ var styles = css`
|
|
|
68
68
|
background: var(--u-scrollbar-track-color, transparent);
|
|
69
69
|
}
|
|
70
70
|
`;
|
|
71
|
-
//#endregion
|
|
72
71
|
export { styles };
|
|
@@ -1,11 +1,11 @@
|
|
|
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.155.0/helpers/esm/decorateMetadata.js";
|
|
5
|
+
import __decorate from "../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/decorate.js";
|
|
6
6
|
import { property, state } from "lit/decorators.js";
|
|
7
7
|
import { arrow, autoPlacement, autoUpdate, computePosition, flip, getOverflowAncestors, hide, offset, shift } from "@floating-ui/dom";
|
|
8
|
-
|
|
8
|
+
// src/components/UFloatingElement.ts
|
|
9
9
|
/**
|
|
10
10
|
* UFloatingElement는 팝오버, 툴팁 등 화면에 떠 있는 엘리먼트를 구현하기 위한 기본 클래스입니다.
|
|
11
11
|
* 이 클래스를 상속하여 커스텀 팝오버 컴포넌트를 만들 수 있습니다.
|
|
@@ -324,5 +324,4 @@ __decorate([property({
|
|
|
324
324
|
attribute: "hide-delay"
|
|
325
325
|
}), __decorateMetadata("design:type", Number)], UFloatingElement.prototype, "hideDelay", void 0);
|
|
326
326
|
__decorate([state(), __decorateMetadata("design:type", Array)], UFloatingElement.prototype, "anchors", void 0);
|
|
327
|
-
//#endregion
|
|
328
327
|
export { UFloatingElement };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
|
|
2
|
+
// src/components/UFloatingElement.styles.ts
|
|
3
3
|
/**
|
|
4
4
|
* **주의**:
|
|
5
5
|
* 조상 요소에 transform + overflow의 조합일 경우,
|
|
@@ -57,5 +57,4 @@ var styles = css`
|
|
|
57
57
|
background-color: inherit;
|
|
58
58
|
}
|
|
59
59
|
`;
|
|
60
|
-
//#endregion
|
|
61
60
|
export { styles };
|
|
@@ -1,9 +1,9 @@
|
|
|
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.155.0/helpers/esm/decorateMetadata.js";
|
|
3
|
+
import __decorate from "../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/decorate.js";
|
|
4
4
|
import { styles } from "./UFormControlElement.styles.js";
|
|
5
5
|
import { property, state } from "lit/decorators.js";
|
|
6
|
-
|
|
6
|
+
// src/components/UFormControlElement.ts
|
|
7
7
|
/**
|
|
8
8
|
* 폼 컨트롤 컴포넌트의 공통 기반 클래스입니다.
|
|
9
9
|
* 사용자 입력을 받는 모든 컴포넌트가 이 클래스를 확장합니다.
|
|
@@ -164,7 +164,17 @@ var UFormControlElement = class extends UElement {
|
|
|
164
164
|
}
|
|
165
165
|
updated(changedProperties) {
|
|
166
166
|
super.updated(changedProperties);
|
|
167
|
-
if (this.shouldValidate(changedProperties))
|
|
167
|
+
if (this.shouldValidate(changedProperties)) {
|
|
168
|
+
this.setValidity();
|
|
169
|
+
if (this.invalid && changedProperties.has("value") && this.internals) {
|
|
170
|
+
this.quietCheck = true;
|
|
171
|
+
try {
|
|
172
|
+
if (this.internals.checkValidity()) this.invalid = false;
|
|
173
|
+
} finally {
|
|
174
|
+
this.quietCheck = false;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
168
178
|
}
|
|
169
179
|
/**
|
|
170
180
|
* 어떤 속성이 바뀌었을 때 `setValidity()`를 다시 호출할지 결정합니다.
|
|
@@ -242,5 +252,4 @@ __decorate([property({
|
|
|
242
252
|
__decorate([property({ type: String }), __decorateMetadata("design:type", String)], UFormControlElement.prototype, "name", void 0);
|
|
243
253
|
__decorate([property(), __decorateMetadata("design:type", Object)], UFormControlElement.prototype, "value", void 0);
|
|
244
254
|
__decorate([state(), __decorateMetadata("design:type", Object)], UFormControlElement.prototype, "hasSlottedLabel", void 0);
|
|
245
|
-
//#endregion
|
|
246
255
|
export { UFormControlElement };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
|
|
2
|
+
// src/components/UFormControlElement.styles.ts
|
|
3
3
|
var styles = css`
|
|
4
4
|
:host(:disabled) {
|
|
5
5
|
pointer-events: none;
|
|
@@ -10,5 +10,4 @@ var styles = css`
|
|
|
10
10
|
pointer-events: none;
|
|
11
11
|
}
|
|
12
12
|
`;
|
|
13
|
-
//#endregion
|
|
14
13
|
export { styles };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { UElement } from "./UElement.js";
|
|
2
2
|
import { isFocusCandidate, querySelectorDeep } from "../utilities/elements.js";
|
|
3
|
-
import __decorateMetadata from "../_virtual/_@oxc-project_runtime@0.
|
|
4
|
-
import __decorate from "../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import __decorateMetadata from "../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/decorateMetadata.js";
|
|
4
|
+
import __decorate from "../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/decorate.js";
|
|
5
5
|
import { OverlayManager } from "../utilities/OverlayManager.js";
|
|
6
6
|
import { arrayAttrConverter } from "../utilities/converters.js";
|
|
7
7
|
import { HostAria, nameFromSlot } from "../utilities/hostAria.js";
|
|
8
8
|
import { styles } from "./UOverlayElement.styles.js";
|
|
9
9
|
import { property } from "lit/decorators.js";
|
|
10
10
|
import { createFocusTrap } from "focus-trap";
|
|
11
|
-
|
|
11
|
+
// src/components/UOverlayElement.ts
|
|
12
12
|
/**
|
|
13
13
|
* UOverlayElement는 다이얼로그, 드로어 등 화면에 오버레이로 표시되는 엘리먼트의 기본 클래스입니다.
|
|
14
14
|
*
|
|
@@ -180,5 +180,4 @@ __decorate([property({
|
|
|
180
180
|
attribute: "close-on",
|
|
181
181
|
converter: arrayAttrConverter()
|
|
182
182
|
}), __decorateMetadata("design:type", Array)], UOverlayElement.prototype, "closeOn", void 0);
|
|
183
|
-
//#endregion
|
|
184
183
|
export { UOverlayElement };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
|
|
2
|
+
// src/components/UOverlayElement.styles.ts
|
|
3
3
|
var styles = css`
|
|
4
4
|
:host {
|
|
5
5
|
position: fixed;
|
|
@@ -32,5 +32,4 @@ var styles = css`
|
|
|
32
32
|
pointer-events: none;
|
|
33
33
|
}
|
|
34
34
|
`;
|
|
35
|
-
//#endregion
|
|
36
35
|
export { styles };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Locale } from "../../utilities/Locale.js";
|
|
2
2
|
import { UElement } from "../UElement.js";
|
|
3
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
4
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/decorateMetadata.js";
|
|
4
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/decorate.js";
|
|
5
5
|
import { HostAria } from "../../utilities/hostAria.js";
|
|
6
6
|
import "../button/UButton.js";
|
|
7
7
|
import { devWarnOnce } from "../../utilities/devWarning.js";
|
|
@@ -9,7 +9,7 @@ import "../icon/UIcon.js";
|
|
|
9
9
|
import { styles } from "./UAlert.styles.js";
|
|
10
10
|
import { html } from "lit";
|
|
11
11
|
import { customElement, property } from "lit/decorators.js";
|
|
12
|
-
|
|
12
|
+
// src/components/alert/UAlert.ts
|
|
13
13
|
/** 유효한 `u-alert` 상태 — 런타임 검증과 타입이 **같은 목록**을 보게 둔다. */
|
|
14
14
|
var ALERT_STATUSES = [
|
|
15
15
|
"error",
|
|
@@ -201,5 +201,4 @@ __decorate([property({
|
|
|
201
201
|
reflect: true
|
|
202
202
|
}), __decorateMetadata("design:type", Boolean)], UAlert.prototype, "inline", void 0);
|
|
203
203
|
UAlert = __decorate([customElement("u-alert")], UAlert);
|
|
204
|
-
//#endregion
|
|
205
204
|
export { ALERT_STATUSES, UAlert };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
|
|
2
|
+
// src/components/alert/UAlert.styles.ts
|
|
3
3
|
var styles = css`
|
|
4
4
|
|
|
5
5
|
:host {
|
|
@@ -150,5 +150,4 @@ var styles = css`
|
|
|
150
150
|
display: inline-block;
|
|
151
151
|
}
|
|
152
152
|
`;
|
|
153
|
-
//#endregion
|
|
154
153
|
export { styles };
|
|
@@ -1,10 +1,10 @@
|
|
|
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.155.0/helpers/esm/decorateMetadata.js";
|
|
3
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.155.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";
|
|
7
|
-
|
|
7
|
+
// src/components/avatar/UAvatar.ts
|
|
8
8
|
var UAvatar = class UAvatar extends UElement {
|
|
9
9
|
constructor(..._args) {
|
|
10
10
|
super(..._args);
|
|
@@ -38,5 +38,4 @@ __decorate([property({
|
|
|
38
38
|
__decorate([property({ type: String }), __decorateMetadata("design:type", String)], UAvatar.prototype, "image", void 0);
|
|
39
39
|
__decorate([property({ type: String }), __decorateMetadata("design:type", String)], UAvatar.prototype, "label", void 0);
|
|
40
40
|
UAvatar = __decorate([customElement("u-avatar")], UAvatar);
|
|
41
|
-
//#endregion
|
|
42
41
|
export { UAvatar };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
|
|
2
|
+
// src/components/avatar/UAvatar.styles.ts
|
|
3
3
|
var styles = css`
|
|
4
4
|
:host {
|
|
5
5
|
display: inline-flex;
|
|
@@ -41,5 +41,4 @@ var styles = css`
|
|
|
41
41
|
text-transform: uppercase;
|
|
42
42
|
}
|
|
43
43
|
`;
|
|
44
|
-
//#endregion
|
|
45
44
|
export { styles };
|
|
@@ -1,12 +1,12 @@
|
|
|
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.155.0/helpers/esm/decorateMetadata.js";
|
|
3
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.155.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";
|
|
7
7
|
import { html, nothing } from "lit";
|
|
8
8
|
import { customElement, property } from "lit/decorators.js";
|
|
9
|
-
|
|
9
|
+
// src/components/badge/UBadge.ts
|
|
10
10
|
var UBadge = class UBadge extends UElement {
|
|
11
11
|
constructor(..._args) {
|
|
12
12
|
super(..._args);
|
|
@@ -47,5 +47,4 @@ __decorate([property({
|
|
|
47
47
|
reflect: true
|
|
48
48
|
}), __decorateMetadata("design:type", Object)], UBadge.prototype, "icon", void 0);
|
|
49
49
|
UBadge = __decorate([customElement("u-badge")], UBadge);
|
|
50
|
-
//#endregion
|
|
51
50
|
export { UBadge };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
|
|
2
|
+
// src/components/badge/UBadge.styles.ts
|
|
3
3
|
var styles = css`
|
|
4
4
|
:host {
|
|
5
5
|
display: inline-flex;
|
|
@@ -158,5 +158,4 @@ var styles = css`
|
|
|
158
158
|
margin-left: 0.25em;
|
|
159
159
|
}
|
|
160
160
|
`;
|
|
161
|
-
//#endregion
|
|
162
161
|
export { styles };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Locale } from "../../utilities/Locale.js";
|
|
2
2
|
import { UElement } from "../UElement.js";
|
|
3
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/decorate.js";
|
|
4
4
|
import "../icon/UIcon.js";
|
|
5
5
|
import { styles } from "./UBreadcrumb.styles.js";
|
|
6
6
|
import { html } from "lit";
|
|
7
7
|
import { customElement } from "lit/decorators.js";
|
|
8
|
-
|
|
8
|
+
// src/components/breadcrumb/UBreadcrumb.ts
|
|
9
9
|
var UBreadcrumb = class UBreadcrumb extends UElement {
|
|
10
10
|
constructor(..._args) {
|
|
11
11
|
super(..._args);
|
|
@@ -60,5 +60,4 @@ var UBreadcrumb = class UBreadcrumb extends UElement {
|
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
62
|
UBreadcrumb = __decorate([customElement("u-breadcrumb")], UBreadcrumb);
|
|
63
|
-
//#endregion
|
|
64
63
|
export { UBreadcrumb };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
|
|
2
|
+
// src/components/breadcrumb/UBreadcrumb.styles.ts
|
|
3
3
|
var styles = css`
|
|
4
4
|
:host {
|
|
5
5
|
display: block;
|
|
@@ -33,5 +33,4 @@ var styles = css`
|
|
|
33
33
|
user-select: none;
|
|
34
34
|
}
|
|
35
35
|
`;
|
|
36
|
-
//#endregion
|
|
37
36
|
export { styles };
|
|
@@ -1,11 +1,11 @@
|
|
|
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.155.0/helpers/esm/decorateMetadata.js";
|
|
3
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.155.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";
|
|
7
7
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
8
|
-
|
|
8
|
+
// src/components/breadcrumb-item/UBreadcrumbItem.ts
|
|
9
9
|
var UBreadcrumbItem = class UBreadcrumbItem extends UElement {
|
|
10
10
|
constructor(..._args) {
|
|
11
11
|
super(..._args);
|
|
@@ -55,5 +55,4 @@ __decorate([property({ type: String }), __decorateMetadata("design:type", String
|
|
|
55
55
|
__decorate([property({ type: String }), __decorateMetadata("design:type", String)], UBreadcrumbItem.prototype, "target", void 0);
|
|
56
56
|
__decorate([property({ type: String }), __decorateMetadata("design:type", String)], UBreadcrumbItem.prototype, "rel", void 0);
|
|
57
57
|
UBreadcrumbItem = __decorate([customElement("u-breadcrumb-item")], UBreadcrumbItem);
|
|
58
|
-
//#endregion
|
|
59
58
|
export { UBreadcrumbItem };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
|
|
2
|
+
// src/components/breadcrumb-item/UBreadcrumbItem.styles.ts
|
|
3
3
|
var styles = css`
|
|
4
4
|
:host {
|
|
5
5
|
display: inline-flex;
|
|
@@ -41,5 +41,4 @@ var styles = css`
|
|
|
41
41
|
margin-left: 0.2em;
|
|
42
42
|
}
|
|
43
43
|
`;
|
|
44
|
-
//#endregion
|
|
45
44
|
export { styles };
|
|
@@ -1,13 +1,13 @@
|
|
|
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.155.0/helpers/esm/decorateMetadata.js";
|
|
3
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/decorate.js";
|
|
4
4
|
import "../spinner/USpinner.js";
|
|
5
5
|
import { styles } from "./UButton.styles.js";
|
|
6
6
|
import { FORWARDED_ARIA, readForwardedAria } from "./forwarded-aria.js";
|
|
7
7
|
import { html } from "lit";
|
|
8
8
|
import { customElement, property } from "lit/decorators.js";
|
|
9
9
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
10
|
-
|
|
10
|
+
// src/components/button/UButton.ts
|
|
11
11
|
var UButton = class UButton extends UElement {
|
|
12
12
|
constructor(..._args) {
|
|
13
13
|
super(..._args);
|
|
@@ -207,5 +207,4 @@ __decorate([property({
|
|
|
207
207
|
reflect: true
|
|
208
208
|
}), __decorateMetadata("design:type", String)], UButton.prototype, "value", void 0);
|
|
209
209
|
UButton = __decorate([customElement("u-button")], UButton);
|
|
210
|
-
//#endregion
|
|
211
210
|
export { UButton };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
|
|
2
|
+
// src/components/button/UButton.styles.ts
|
|
3
3
|
var styles = css`
|
|
4
4
|
:host {
|
|
5
5
|
|
|
@@ -401,5 +401,4 @@ var styles = css`
|
|
|
401
401
|
pointer-events: none;
|
|
402
402
|
}
|
|
403
403
|
`;
|
|
404
|
-
//#endregion
|
|
405
404
|
export { styles };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/components/button/forwarded-aria.ts
|
|
2
2
|
/**
|
|
3
3
|
* 호스트에서 안쪽 포커스 대상(`<button>`/`<a>`)으로 옮기는 ARIA — 이름과 버튼 계열의 상태다.
|
|
4
4
|
* 상태 속성은 포커스된 요소에 있어야 보조기기가 읽는다(WCAG 4.1.2). `aria-pressed` 는 링크에
|
|
@@ -29,5 +29,4 @@ function readForwardedAria(host, name) {
|
|
|
29
29
|
if (value === null) return void 0;
|
|
30
30
|
return value === "" && PRESENCE_STATES.has(name) ? "true" : value;
|
|
31
31
|
}
|
|
32
|
-
//#endregion
|
|
33
32
|
export { FORWARDED_ARIA, readForwardedAria };
|
|
@@ -1,12 +1,12 @@
|
|
|
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.155.0/helpers/esm/decorateMetadata.js";
|
|
3
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.155.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";
|
|
7
7
|
import { html } from "lit";
|
|
8
8
|
import { customElement, property } from "lit/decorators.js";
|
|
9
|
-
|
|
9
|
+
// src/components/button-group/UButtonGroup.ts
|
|
10
10
|
var UButtonGroup = class UButtonGroup extends UElement {
|
|
11
11
|
constructor(..._args) {
|
|
12
12
|
super(..._args);
|
|
@@ -90,5 +90,4 @@ __decorate([property({
|
|
|
90
90
|
reflect: true
|
|
91
91
|
}), __decorateMetadata("design:type", Object)], UButtonGroup.prototype, "disabled", void 0);
|
|
92
92
|
UButtonGroup = __decorate([customElement("u-button-group")], UButtonGroup);
|
|
93
|
-
//#endregion
|
|
94
93
|
export { UButtonGroup };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
|
|
2
|
+
// src/components/button-group/UButtonGroup.styles.ts
|
|
3
3
|
var styles = css`
|
|
4
4
|
:host {
|
|
5
5
|
display: inline-flex;
|
|
@@ -31,5 +31,4 @@ var styles = css`
|
|
|
31
31
|
gap: var(--u-space-3xs, 2px);
|
|
32
32
|
}
|
|
33
33
|
`;
|
|
34
|
-
//#endregion
|
|
35
34
|
export { styles };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Locale } from "../../utilities/Locale.js";
|
|
2
2
|
import { UElement } from "../UElement.js";
|
|
3
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
4
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/decorateMetadata.js";
|
|
4
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/decorate.js";
|
|
5
5
|
import "../icon-button/UIconButton.js";
|
|
6
6
|
import { formatDate } from "../../utilities/format.js";
|
|
7
7
|
import { addDays, addMonths, daysInMonth, isDayUnavailable, isSameDay, monthDiff, parseISODate, startOfMonth, toISODate } from "./dates.js";
|
|
@@ -9,7 +9,7 @@ import { styles } from "./UCalendar.styles.js";
|
|
|
9
9
|
import { html } from "lit";
|
|
10
10
|
import { customElement, property, state } from "lit/decorators.js";
|
|
11
11
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
12
|
-
|
|
12
|
+
// src/components/calendar/UCalendar.ts
|
|
13
13
|
/** Cells to render for one month — leading `null`s pad the previous month's weekday offset. */
|
|
14
14
|
function buildMonthGrid(month) {
|
|
15
15
|
const first = startOfMonth(month);
|
|
@@ -220,5 +220,4 @@ __decorate([state(), __decorateMetadata("design:type", typeof Date === "undefine
|
|
|
220
220
|
__decorate([state(), __decorateMetadata("design:type", typeof Date === "undefined" ? Object : Date)], UCalendar.prototype, "anchor", void 0);
|
|
221
221
|
__decorate([state(), __decorateMetadata("design:type", typeof Date === "undefined" ? Object : Date)], UCalendar.prototype, "hoverDate", void 0);
|
|
222
222
|
UCalendar = __decorate([customElement("u-calendar")], UCalendar);
|
|
223
|
-
//#endregion
|
|
224
223
|
export { UCalendar };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
|
|
2
|
+
// src/components/calendar/UCalendar.styles.ts
|
|
3
3
|
var styles = css`
|
|
4
4
|
:host {
|
|
5
5
|
position: relative;
|
|
@@ -143,5 +143,4 @@ var styles = css`
|
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
`;
|
|
146
|
-
//#endregion
|
|
147
146
|
export { styles };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { sameDateTime } from "./datetime.js";
|
|
2
|
-
|
|
2
|
+
// src/components/calendar/date-text-controller.ts
|
|
3
3
|
/**
|
|
4
4
|
* The typed-date text box shared by `u-date-picker` and `u-date-range-picker`: what is being typed
|
|
5
5
|
* (`draft`), whether the last commit was unreadable (`badText`), committing on Enter and blur,
|
|
@@ -94,5 +94,4 @@ var DateTextController = class {
|
|
|
94
94
|
if (container) this.options.popover()?.show(container);
|
|
95
95
|
}
|
|
96
96
|
};
|
|
97
|
-
//#endregion
|
|
98
97
|
export { DateTextController };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/components/calendar/dates.ts
|
|
2
2
|
/** ISO `YYYY-MM-DD` → 로컬 자정 `Date`. */
|
|
3
3
|
function parseISODate(iso) {
|
|
4
4
|
const [y, m, d] = iso.split("-").map(Number);
|
|
@@ -37,5 +37,4 @@ function isOutOfRange(date, min, max) {
|
|
|
37
37
|
if (max && date.getTime() > parseISODate(max).getTime()) return true;
|
|
38
38
|
return false;
|
|
39
39
|
}
|
|
40
|
-
//#endregion
|
|
41
40
|
export { addDays, addMonths, daysInMonth, isDayUnavailable, isOutOfRange, isSameDay, monthDiff, parseISODate, startOfMonth, toISODate };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { localOffset, readDateValue, writeInstant } from "../../utilities/dateValue.js";
|
|
2
2
|
import { parseISODate } from "./dates.js";
|
|
3
|
-
|
|
3
|
+
// src/components/calendar/datetime.ts
|
|
4
4
|
/** ISO day + `HH:mm` or `HH:mm:ss` → `YYYY-MM-DDTHH:mm:ss±HH:mm` (the offset of that local day and time). */
|
|
5
5
|
function toDateTimeOffset(day, time) {
|
|
6
6
|
const [h, m, s = 0] = time.split(":").map(Number);
|
|
@@ -43,5 +43,4 @@ function normalizeTime(time, seconds) {
|
|
|
43
43
|
const hm = time.slice(0, 5);
|
|
44
44
|
return seconds ? `${hm}:${time.slice(6, 8) || "00"}` : hm;
|
|
45
45
|
}
|
|
46
|
-
//#endregion
|
|
47
46
|
export { localOffset, normalizeTime, sameDateTime, splitDateTime, toDateTimeOffset, toLocalDateTime };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
|
|
2
|
+
// src/components/calendar/picker.styles.ts
|
|
3
3
|
/**
|
|
4
4
|
* 날짜 피커들(`u-date-picker` · `u-date-range-picker`)이 함께 쓰는 트리거·팝오버·하단 줄 규칙.
|
|
5
5
|
* 호스트의 `display`/`width` 와 팝오버 폭은 피커마다 다르므로 각 피커의 시트가 갖는다.
|
|
@@ -169,5 +169,4 @@ var styles = css`
|
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
`;
|
|
172
|
-
//#endregion
|
|
173
172
|
export { styles };
|
|
@@ -1,11 +1,11 @@
|
|
|
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.155.0/helpers/esm/decorateMetadata.js";
|
|
3
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.155.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";
|
|
7
7
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
8
|
-
|
|
8
|
+
// src/components/card/UCard.ts
|
|
9
9
|
var UCard = class UCard extends UElement {
|
|
10
10
|
constructor(..._args) {
|
|
11
11
|
super(..._args);
|
|
@@ -81,5 +81,4 @@ __decorate([property({ type: String }), __decorateMetadata("design:type", String
|
|
|
81
81
|
__decorate([property({ type: String }), __decorateMetadata("design:type", String)], UCard.prototype, "rel", void 0);
|
|
82
82
|
__decorate([property({ type: String }), __decorateMetadata("design:type", String)], UCard.prototype, "download", void 0);
|
|
83
83
|
UCard = __decorate([customElement("u-card")], UCard);
|
|
84
|
-
//#endregion
|
|
85
84
|
export { UCard };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
|
|
2
|
+
// src/components/card/UCard.styles.ts
|
|
3
3
|
var styles = css`
|
|
4
4
|
:host {
|
|
5
5
|
display: flex;
|
|
@@ -110,5 +110,4 @@ var styles = css`
|
|
|
110
110
|
display: block;
|
|
111
111
|
}
|
|
112
112
|
`;
|
|
113
|
-
//#endregion
|
|
114
113
|
export { styles };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Locale } from "../../utilities/Locale.js";
|
|
2
2
|
import { UElement } from "../UElement.js";
|
|
3
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
4
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/decorateMetadata.js";
|
|
4
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/decorate.js";
|
|
5
5
|
import { HostAria } from "../../utilities/hostAria.js";
|
|
6
6
|
import "../button/UButton.js";
|
|
7
7
|
import "../icon/UIcon.js";
|
|
@@ -9,7 +9,7 @@ import { styles } from "./UCarousel.styles.js";
|
|
|
9
9
|
import { html, nothing } from "lit";
|
|
10
10
|
import { customElement, property, state } from "lit/decorators.js";
|
|
11
11
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
12
|
-
|
|
12
|
+
// src/components/carousel/UCarousel.ts
|
|
13
13
|
var UCarousel = class UCarousel extends UElement {
|
|
14
14
|
constructor(..._args) {
|
|
15
15
|
super(..._args);
|
|
@@ -315,5 +315,4 @@ __decorate([state(), __decorateMetadata("design:type", Object)], UCarousel.proto
|
|
|
315
315
|
__decorate([state(), __decorateMetadata("design:type", Object)], UCarousel.prototype, "rotationStopped", void 0);
|
|
316
316
|
__decorate([state(), __decorateMetadata("design:type", Object)], UCarousel.prototype, "hovered", void 0);
|
|
317
317
|
UCarousel = __decorate([customElement("u-carousel")], UCarousel);
|
|
318
|
-
//#endregion
|
|
319
318
|
export { UCarousel };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
|
|
2
|
+
// src/components/carousel/UCarousel.styles.ts
|
|
3
3
|
var styles = css`
|
|
4
4
|
:host {
|
|
5
5
|
--slide-gap: 0px;
|
|
@@ -139,5 +139,4 @@ var styles = css`
|
|
|
139
139
|
background-color: var(--u-neutral-100, #F5F5F5);
|
|
140
140
|
}
|
|
141
141
|
`;
|
|
142
|
-
//#endregion
|
|
143
142
|
export { styles };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Locale } from "../../utilities/Locale.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.155.0/helpers/esm/decorateMetadata.js";
|
|
3
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/decorate.js";
|
|
4
4
|
import { UFormControlElement } from "../UFormControlElement.js";
|
|
5
5
|
import "../icon/UIcon.js";
|
|
6
6
|
import { styles } from "./UCheckbox.styles.js";
|
|
@@ -8,7 +8,7 @@ import { html } from "lit";
|
|
|
8
8
|
import { customElement, property, query } from "lit/decorators.js";
|
|
9
9
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
10
10
|
import { live } from "lit/directives/live.js";
|
|
11
|
-
|
|
11
|
+
// src/components/checkbox/UCheckbox.ts
|
|
12
12
|
var UCheckbox = class UCheckbox extends UFormControlElement {
|
|
13
13
|
constructor(..._args) {
|
|
14
14
|
super(..._args);
|
|
@@ -116,5 +116,4 @@ __decorate([property({
|
|
|
116
116
|
}), __decorateMetadata("design:type", Boolean)], UCheckbox.prototype, "checked", void 0);
|
|
117
117
|
__decorate([query("input", true), __decorateMetadata("design:type", typeof HTMLInputElement === "undefined" ? Object : HTMLInputElement)], UCheckbox.prototype, "inputEl", void 0);
|
|
118
118
|
UCheckbox = __decorate([customElement("u-checkbox")], UCheckbox);
|
|
119
|
-
//#endregion
|
|
120
119
|
export { UCheckbox };
|