@iyulab/components 2.30.0 → 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 +29 -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.d.ts +7 -0
- package/dist/components/UFloatingElement.js +26 -7
- 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,13 +1,13 @@
|
|
|
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 { styles } from "./USpinner.styles.js";
|
|
7
7
|
import { syncProgressbar } from "../../utilities/progressAria.js";
|
|
8
8
|
import { html } from "lit";
|
|
9
9
|
import { customElement, property, state } from "lit/decorators.js";
|
|
10
|
-
|
|
10
|
+
// src/components/spinner/USpinner.ts
|
|
11
11
|
var USpinner = class USpinner extends UElement {
|
|
12
12
|
constructor(..._args) {
|
|
13
13
|
super(..._args);
|
|
@@ -57,5 +57,4 @@ __decorate([property({
|
|
|
57
57
|
}), __decorateMetadata("design:type", Object)], USpinner.prototype, "color", void 0);
|
|
58
58
|
__decorate([state(), __decorateMetadata("design:type", Object)], USpinner.prototype, "hasLabel", void 0);
|
|
59
59
|
USpinner = __decorate([customElement("u-spinner")], USpinner);
|
|
60
|
-
//#endregion
|
|
61
60
|
export { USpinner };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
|
|
2
|
+
// src/components/spinner/USpinner.styles.ts
|
|
3
3
|
var styles = css`
|
|
4
4
|
:host {
|
|
5
5
|
--spinner-track-width: 0.125em;
|
|
@@ -87,5 +87,4 @@ var styles = css`
|
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
`;
|
|
90
|
-
//#endregion
|
|
91
90
|
export { styles };
|
|
@@ -1,13 +1,13 @@
|
|
|
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 { arrayAttrConverter } from "../../utilities/converters.js";
|
|
6
6
|
import { devWarnOnce } from "../../utilities/devWarning.js";
|
|
7
7
|
import { styles } from "./USplitPanel.styles.js";
|
|
8
8
|
import { html } from "lit";
|
|
9
9
|
import { customElement, property, query } from "lit/decorators.js";
|
|
10
|
-
|
|
10
|
+
// src/components/split-panel/USplitPanel.ts
|
|
11
11
|
var _USplitPanel;
|
|
12
12
|
var USplitPanel = class USplitPanel extends UElement {
|
|
13
13
|
static {
|
|
@@ -379,5 +379,4 @@ __decorate([property({
|
|
|
379
379
|
}), __decorateMetadata("design:type", Array)], USplitPanel.prototype, "ratio", void 0);
|
|
380
380
|
__decorate([query(".splitter-ghost"), __decorateMetadata("design:type", typeof HTMLElement === "undefined" ? Object : HTMLElement)], USplitPanel.prototype, "ghost", void 0);
|
|
381
381
|
USplitPanel = _USplitPanel = __decorate([customElement("u-split-panel")], USplitPanel);
|
|
382
|
-
//#endregion
|
|
383
382
|
export { USplitPanel };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
|
|
2
|
+
// src/components/split-panel/USplitPanel.styles.ts
|
|
3
3
|
var styles = css`
|
|
4
4
|
:host {
|
|
5
5
|
--splitter-size: 4px;
|
|
@@ -109,5 +109,4 @@ var styles = css`
|
|
|
109
109
|
margin-top: calc((var(--_splitter-box) - var(--splitter-size)) / 2);
|
|
110
110
|
}
|
|
111
111
|
`;
|
|
112
|
-
//#endregion
|
|
113
112
|
export { styles };
|
|
@@ -1,12 +1,12 @@
|
|
|
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 { styles } from "./USteps.styles.js";
|
|
6
6
|
import { html, nothing } from "lit";
|
|
7
7
|
import { customElement, property } from "lit/decorators.js";
|
|
8
8
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
9
|
-
|
|
9
|
+
// src/components/steps/USteps.ts
|
|
10
10
|
var USteps = class USteps extends UElement {
|
|
11
11
|
constructor(..._args) {
|
|
12
12
|
super(..._args);
|
|
@@ -54,5 +54,4 @@ __decorate([property({ type: Number }), __decorateMetadata("design:type", Number
|
|
|
54
54
|
__decorate([property({ type: String }), __decorateMetadata("design:type", String)], USteps.prototype, "label", void 0);
|
|
55
55
|
USteps = __decorate([customElement("u-steps")], USteps);
|
|
56
56
|
var CHECK = html`<svg viewBox="0 0 12 12" width="10" height="10" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M2.5 6.2 5 8.5 9.5 3.5"/></svg>`;
|
|
57
|
-
//#endregion
|
|
58
57
|
export { USteps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
|
|
2
|
+
// src/components/steps/USteps.styles.ts
|
|
3
3
|
var styles = css`
|
|
4
4
|
:host {
|
|
5
5
|
display: block;
|
|
@@ -109,5 +109,4 @@ var styles = css`
|
|
|
109
109
|
border: 0;
|
|
110
110
|
}
|
|
111
111
|
`;
|
|
112
|
-
//#endregion
|
|
113
112
|
export { styles };
|
|
@@ -1,13 +1,13 @@
|
|
|
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 { styles } from "./USwitch.styles.js";
|
|
6
6
|
import { html } from "lit";
|
|
7
7
|
import { customElement, property, query } from "lit/decorators.js";
|
|
8
8
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
9
9
|
import { live } from "lit/directives/live.js";
|
|
10
|
-
|
|
10
|
+
// src/components/switch/USwitch.ts
|
|
11
11
|
var USwitch = class USwitch extends UFormControlElement {
|
|
12
12
|
constructor(..._args) {
|
|
13
13
|
super(..._args);
|
|
@@ -115,5 +115,4 @@ __decorate([property({
|
|
|
115
115
|
}), __decorateMetadata("design:type", Boolean)], USwitch.prototype, "checked", void 0);
|
|
116
116
|
__decorate([query("input", true), __decorateMetadata("design:type", typeof HTMLInputElement === "undefined" ? Object : HTMLInputElement)], USwitch.prototype, "inputEl", void 0);
|
|
117
117
|
USwitch = __decorate([customElement("u-switch")], USwitch);
|
|
118
|
-
//#endregion
|
|
119
118
|
export { USwitch };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
|
|
2
|
+
// src/components/switch/USwitch.styles.ts
|
|
3
3
|
var styles = css`
|
|
4
4
|
:host {
|
|
5
5
|
--switch-track-width: 2.4em;
|
|
@@ -224,5 +224,4 @@ var styles = css`
|
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
`;
|
|
227
|
-
//#endregion
|
|
228
227
|
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 "../button/UButton.js";
|
|
6
6
|
import "../icon/UIcon.js";
|
|
7
7
|
import { formatNumber } from "../../utilities/format.js";
|
|
@@ -9,7 +9,7 @@ import { styles } from "./UTab.styles.js";
|
|
|
9
9
|
import { html, nothing } from "lit";
|
|
10
10
|
import { customElement, property } from "lit/decorators.js";
|
|
11
11
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
12
|
-
|
|
12
|
+
// src/components/tab/UTab.ts
|
|
13
13
|
var _UTab;
|
|
14
14
|
var UTab = class UTab extends UElement {
|
|
15
15
|
static {
|
|
@@ -131,5 +131,4 @@ __decorate([property({
|
|
|
131
131
|
attribute: "count-appearance"
|
|
132
132
|
}), __decorateMetadata("design:type", Object)], UTab.prototype, "countAppearance", void 0);
|
|
133
133
|
UTab = _UTab = __decorate([customElement("u-tab")], UTab);
|
|
134
|
-
//#endregion
|
|
135
134
|
export { UTab };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
|
|
2
|
+
// src/components/tab/UTab.styles.ts
|
|
3
3
|
var styles = css`
|
|
4
4
|
:host {
|
|
5
5
|
flex-shrink: 0;
|
|
@@ -96,5 +96,4 @@ var styles = css`
|
|
|
96
96
|
opacity: 1;
|
|
97
97
|
}
|
|
98
98
|
`;
|
|
99
|
-
//#endregion
|
|
100
99
|
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 { UTab } from "../tab/UTab.js";
|
|
5
5
|
import { styles } from "./UTabNav.styles.js";
|
|
6
6
|
import { html, nothing } from "lit";
|
|
7
7
|
import { customElement, property, state } from "lit/decorators.js";
|
|
8
|
-
|
|
8
|
+
// src/components/tab-nav/UTabNav.ts
|
|
9
9
|
var UTabNav = class UTabNav extends UElement {
|
|
10
10
|
constructor(..._args) {
|
|
11
11
|
super(..._args);
|
|
@@ -40,5 +40,4 @@ __decorate([property({
|
|
|
40
40
|
__decorate([property({ type: String }), __decorateMetadata("design:type", Object)], UTabNav.prototype, "label", void 0);
|
|
41
41
|
__decorate([state(), __decorateMetadata("design:type", Array)], UTabNav.prototype, "tabs", void 0);
|
|
42
42
|
UTabNav = __decorate([customElement("u-tab-nav")], UTabNav);
|
|
43
|
-
//#endregion
|
|
44
43
|
export { UTabNav };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
|
|
2
|
+
// src/components/tab-nav/UTabNav.styles.ts
|
|
3
3
|
var styles = css`
|
|
4
4
|
:host {
|
|
5
5
|
--tab-nav-color: var(--u-primary-color, #1976D2);
|
|
@@ -34,5 +34,4 @@ var styles = css`
|
|
|
34
34
|
background-color: var(--tab-nav-color);
|
|
35
35
|
}
|
|
36
36
|
`;
|
|
37
|
-
//#endregion
|
|
38
37
|
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 { isFromNestedControl } from "../../utilities/nestedControl.js";
|
|
5
5
|
import { UPanel } from "../panel/UPanel.js";
|
|
6
6
|
import { UTab } from "../tab/UTab.js";
|
|
7
7
|
import { styles } from "./UTabPanel.styles.js";
|
|
8
8
|
import { html } from "lit";
|
|
9
9
|
import { customElement, property, state } from "lit/decorators.js";
|
|
10
|
-
|
|
10
|
+
// src/components/tab-panel/UTabPanel.ts
|
|
11
11
|
var idSeq = 0;
|
|
12
12
|
var nextId = (prefix) => `${prefix}-${++idSeq}`;
|
|
13
13
|
var UTabPanel = class UTabPanel extends UElement {
|
|
@@ -181,5 +181,4 @@ __decorate([property({
|
|
|
181
181
|
__decorate([state(), __decorateMetadata("design:type", Array)], UTabPanel.prototype, "tabs", void 0);
|
|
182
182
|
__decorate([state(), __decorateMetadata("design:type", Array)], UTabPanel.prototype, "panels", void 0);
|
|
183
183
|
UTabPanel = __decorate([customElement("u-tab-panel")], UTabPanel);
|
|
184
|
-
//#endregion
|
|
185
184
|
export { UTabPanel };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
|
|
2
|
+
// src/components/tab-panel/UTabPanel.styles.ts
|
|
3
3
|
var styles = css`
|
|
4
4
|
:host {
|
|
5
5
|
--tab-panel-color: var(--u-primary-color, #1976D2);
|
|
@@ -201,5 +201,4 @@ var styles = css`
|
|
|
201
201
|
font-weight: 600;
|
|
202
202
|
}
|
|
203
203
|
`;
|
|
204
|
-
//#endregion
|
|
205
204
|
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 "./UTag.styles.js";
|
|
7
7
|
import { html, nothing } from "lit";
|
|
8
8
|
import { customElement, property } from "lit/decorators.js";
|
|
9
|
-
|
|
9
|
+
// src/components/tag/UTag.ts
|
|
10
10
|
var UTag = class UTag extends UElement {
|
|
11
11
|
constructor(..._args) {
|
|
12
12
|
super(..._args);
|
|
@@ -59,5 +59,4 @@ __decorate([property({
|
|
|
59
59
|
reflect: true
|
|
60
60
|
}), __decorateMetadata("design:type", Object)], UTag.prototype, "dot", void 0);
|
|
61
61
|
UTag = __decorate([customElement("u-tag")], UTag);
|
|
62
|
-
//#endregion
|
|
63
62
|
export { UTag };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
|
|
2
|
+
// src/components/tag/UTag.styles.ts
|
|
3
3
|
var styles = css`
|
|
4
4
|
:host {
|
|
5
5
|
--tag-color: var(--u-neutral-800, #424242);
|
|
@@ -251,5 +251,4 @@ var styles = css`
|
|
|
251
251
|
background: currentColor;
|
|
252
252
|
}
|
|
253
253
|
`;
|
|
254
|
-
//#endregion
|
|
255
254
|
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 "./UText.styles.js";
|
|
5
5
|
import { customElement, property } from "lit/decorators.js";
|
|
6
6
|
import { html, literal } from "lit/static-html.js";
|
|
7
|
-
|
|
7
|
+
// src/components/text/UText.ts
|
|
8
8
|
var PARAGRAPH = literal`p`;
|
|
9
9
|
var HEADINGS = {
|
|
10
10
|
1: literal`h1`,
|
|
@@ -41,5 +41,4 @@ __decorate([property({
|
|
|
41
41
|
reflect: true
|
|
42
42
|
}), __decorateMetadata("design:type", Object)], UText.prototype, "level", void 0);
|
|
43
43
|
UText = __decorate([customElement("u-text")], UText);
|
|
44
|
-
//#endregion
|
|
45
44
|
export { UText };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
|
|
2
|
+
// src/components/text/UText.styles.ts
|
|
3
3
|
var styles = css`
|
|
4
4
|
:host {
|
|
5
5
|
display: block;
|
|
@@ -87,5 +87,4 @@ var styles = css`
|
|
|
87
87
|
color: var(--u-txt-color-inverse, #FFFFFF);
|
|
88
88
|
}
|
|
89
89
|
`;
|
|
90
|
-
//#endregion
|
|
91
90
|
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 "../field/UField.js";
|
|
6
6
|
import { styles } from "./UTextarea.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/textarea/UTextarea.ts
|
|
12
12
|
var UTextarea = class UTextarea extends UFormControlElement {
|
|
13
13
|
constructor(..._args) {
|
|
14
14
|
super(..._args);
|
|
@@ -168,5 +168,4 @@ __decorate([property({ type: String }), __decorateMetadata("design:type", typeof
|
|
|
168
168
|
__decorate([property({ type: String }), __decorateMetadata("design:type", String)], UTextarea.prototype, "placeholder", void 0);
|
|
169
169
|
__decorate([query("textarea", true), __decorateMetadata("design:type", typeof HTMLTextAreaElement === "undefined" ? Object : HTMLTextAreaElement)], UTextarea.prototype, "textareaEl", void 0);
|
|
170
170
|
UTextarea = __decorate([customElement("u-textarea")], UTextarea);
|
|
171
|
-
//#endregion
|
|
172
171
|
export { UTextarea };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
|
|
2
|
+
// src/components/textarea/UTextarea.styles.ts
|
|
3
3
|
var styles = css`
|
|
4
4
|
:host {
|
|
5
5
|
|
|
@@ -198,5 +198,4 @@ var styles = css`
|
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
`;
|
|
201
|
-
//#endregion
|
|
202
201
|
export { styles };
|
|
@@ -18,7 +18,19 @@ export declare class UTooltip extends UFloatingElement {
|
|
|
18
18
|
/** 호버 시 마우스 커서 위치를 따라가는지 여부 */
|
|
19
19
|
tracking: boolean;
|
|
20
20
|
private isEmpty;
|
|
21
|
+
private readonly aria;
|
|
22
|
+
/** 우리가 `id` 를 준 경우 — 떠날 때 걷는다(작성자가 준 `id` 는 건드리지 않는다). */
|
|
23
|
+
private givenId;
|
|
24
|
+
connectedCallback(): void;
|
|
21
25
|
disconnectedCallback(): void;
|
|
26
|
+
/**
|
|
27
|
+
* 열린 툴팁의 글이 보조기술에 닿으려면 호스트가 `tooltip` 역할을 갖고 대상이 `aria-describedby` 로 그것을 가리켜야 한다
|
|
28
|
+
* (WAI-ARIA APG 툴팁 패턴). 링크 등을 담는 `interactive` 툴팁은 APG 상 툴팁이 아니라(비모달 대화상자·토글팁 쪽) 역할은
|
|
29
|
+
* 덧씌우지 않고 설명 연결만 둔다.
|
|
30
|
+
*/
|
|
31
|
+
private syncAria;
|
|
32
|
+
/** 대상의 `aria-describedby` 에 이 툴팁의 id 를 더하거나(덧붙임) 걷는다 — 대상에 이미 있는 값은 보존한다. */
|
|
33
|
+
private describe;
|
|
22
34
|
protected updated(changedProperties: PropertyValues): void;
|
|
23
35
|
render(): import('lit-html').TemplateResult<1>;
|
|
24
36
|
private bind;
|
|
@@ -1,17 +1,21 @@
|
|
|
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.155.0/helpers/esm/decorateMetadata.js";
|
|
2
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/decorate.js";
|
|
3
3
|
import { UFloatingElement } from "../UFloatingElement.js";
|
|
4
4
|
import { OverlayManager } from "../../utilities/OverlayManager.js";
|
|
5
|
+
import { HostAria } from "../../utilities/hostAria.js";
|
|
5
6
|
import { styles } from "./UTooltip.styles.js";
|
|
6
7
|
import { html } from "lit";
|
|
7
8
|
import { customElement, property } from "lit/decorators.js";
|
|
8
|
-
|
|
9
|
+
// src/components/tooltip/UTooltip.ts
|
|
10
|
+
var nextTooltipId = 0;
|
|
9
11
|
var UTooltip = class UTooltip extends UFloatingElement {
|
|
10
12
|
constructor(..._args) {
|
|
11
13
|
super(..._args);
|
|
12
14
|
this.interactive = false;
|
|
13
15
|
this.tracking = false;
|
|
14
16
|
this.isEmpty = true;
|
|
17
|
+
this.aria = new HostAria(this);
|
|
18
|
+
this.givenId = null;
|
|
15
19
|
this.handleSlotChange = (event) => {
|
|
16
20
|
const slot = event.target;
|
|
17
21
|
this.isEmpty = slot.assignedNodes({ flatten: true }).every((node) => {
|
|
@@ -44,11 +48,48 @@ var UTooltip = class UTooltip extends UFloatingElement {
|
|
|
44
48
|
static {
|
|
45
49
|
this.styles = [super.styles, styles];
|
|
46
50
|
}
|
|
51
|
+
connectedCallback() {
|
|
52
|
+
super.connectedCallback();
|
|
53
|
+
this.syncAria();
|
|
54
|
+
if (this.anchors) this.describe(this.anchors, true);
|
|
55
|
+
}
|
|
47
56
|
disconnectedCallback() {
|
|
48
57
|
OverlayManager.closeLayer(this);
|
|
49
|
-
if (this.anchors)
|
|
58
|
+
if (this.anchors) {
|
|
59
|
+
this.describe(this.anchors, false);
|
|
60
|
+
this.unbind(this.anchors);
|
|
61
|
+
}
|
|
62
|
+
if (this.givenId && this.id === this.givenId) this.removeAttribute("id");
|
|
63
|
+
this.givenId = null;
|
|
50
64
|
super.disconnectedCallback();
|
|
51
65
|
}
|
|
66
|
+
/**
|
|
67
|
+
* 열린 툴팁의 글이 보조기술에 닿으려면 호스트가 `tooltip` 역할을 갖고 대상이 `aria-describedby` 로 그것을 가리켜야 한다
|
|
68
|
+
* (WAI-ARIA APG 툴팁 패턴). 링크 등을 담는 `interactive` 툴팁은 APG 상 툴팁이 아니라(비모달 대화상자·토글팁 쪽) 역할은
|
|
69
|
+
* 덧씌우지 않고 설명 연결만 둔다.
|
|
70
|
+
*/
|
|
71
|
+
syncAria() {
|
|
72
|
+
this.aria.set("role", this.interactive ? null : "tooltip");
|
|
73
|
+
}
|
|
74
|
+
/** 대상의 `aria-describedby` 에 이 툴팁의 id 를 더하거나(덧붙임) 걷는다 — 대상에 이미 있는 값은 보존한다. */
|
|
75
|
+
describe(anchors, on) {
|
|
76
|
+
if (on && !this.id) {
|
|
77
|
+
this.id = `u-tooltip-${++nextTooltipId}`;
|
|
78
|
+
this.givenId = this.id;
|
|
79
|
+
}
|
|
80
|
+
const id = this.id;
|
|
81
|
+
if (!id) return;
|
|
82
|
+
for (const anchor of anchors) {
|
|
83
|
+
const tokens = (anchor.getAttribute("aria-describedby") ?? "").split(/\s+/).filter(Boolean);
|
|
84
|
+
const has = tokens.includes(id);
|
|
85
|
+
if (on && !has) anchor.setAttribute("aria-describedby", [...tokens, id].join(" "));
|
|
86
|
+
if (!on && has) {
|
|
87
|
+
const rest = tokens.filter((t) => t !== id);
|
|
88
|
+
if (rest.length) anchor.setAttribute("aria-describedby", rest.join(" "));
|
|
89
|
+
else anchor.removeAttribute("aria-describedby");
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
52
93
|
updated(changedProperties) {
|
|
53
94
|
super.updated(changedProperties);
|
|
54
95
|
if (changedProperties.has("open")) {
|
|
@@ -60,9 +101,16 @@ var UTooltip = class UTooltip extends UFloatingElement {
|
|
|
60
101
|
if (changedProperties.has("anchors")) {
|
|
61
102
|
const oldAnchors = changedProperties.get("anchors");
|
|
62
103
|
const newAnchors = this.anchors;
|
|
63
|
-
if (oldAnchors)
|
|
64
|
-
|
|
104
|
+
if (oldAnchors) {
|
|
105
|
+
this.describe(oldAnchors, false);
|
|
106
|
+
this.unbind(oldAnchors);
|
|
107
|
+
}
|
|
108
|
+
if (newAnchors) {
|
|
109
|
+
this.describe(newAnchors, true);
|
|
110
|
+
this.bind(newAnchors);
|
|
111
|
+
}
|
|
65
112
|
}
|
|
113
|
+
if (changedProperties.has("interactive")) this.syncAria();
|
|
66
114
|
if (changedProperties.has("offset") || changedProperties.has("interactive")) {
|
|
67
115
|
if (this.interactive) {
|
|
68
116
|
let size = 0;
|
|
@@ -114,5 +162,4 @@ __decorate([property({
|
|
|
114
162
|
reflect: true
|
|
115
163
|
}), __decorateMetadata("design:type", Boolean)], UTooltip.prototype, "tracking", void 0);
|
|
116
164
|
UTooltip = __decorate([customElement("u-tooltip")], UTooltip);
|
|
117
|
-
//#endregion
|
|
118
165
|
export { UTooltip };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
|
|
2
|
+
// src/components/tooltip/UTooltip.styles.ts
|
|
3
3
|
var styles = css`
|
|
4
4
|
:host {
|
|
5
5
|
--tooltip-bridge-area: 0px;
|
|
@@ -41,5 +41,4 @@ var styles = css`
|
|
|
41
41
|
z-index: -1;
|
|
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 { isFromNestedControl } from "../../utilities/nestedControl.js";
|
|
5
5
|
import { UTreeItem } from "../tree-item/UTreeItem.js";
|
|
6
6
|
import { styles } from "./UTree.styles.js";
|
|
7
7
|
import { html } from "lit";
|
|
8
8
|
import { customElement, property, state } from "lit/decorators.js";
|
|
9
|
-
|
|
9
|
+
// src/components/tree/UTree.ts
|
|
10
10
|
var UTree = class UTree extends UElement {
|
|
11
11
|
constructor(..._args) {
|
|
12
12
|
super(..._args);
|
|
@@ -340,5 +340,4 @@ __decorate([property({
|
|
|
340
340
|
__decorate([state(), __decorateMetadata("design:type", typeof Node === "undefined" ? Object : Node)], UTree.prototype, "expandIcon", void 0);
|
|
341
341
|
__decorate([state(), __decorateMetadata("design:type", typeof Node === "undefined" ? Object : Node)], UTree.prototype, "collapseIcon", void 0);
|
|
342
342
|
UTree = __decorate([customElement("u-tree")], UTree);
|
|
343
|
-
//#endregion
|
|
344
343
|
export { UTree };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
|
|
2
|
+
// src/components/tree/UTree.styles.ts
|
|
3
3
|
var styles = css`
|
|
4
4
|
:host {
|
|
5
5
|
--tree-indent-size: 14px;
|
|
@@ -18,5 +18,4 @@ var styles = css`
|
|
|
18
18
|
color: var(--u-txt-color, #212121);
|
|
19
19
|
}
|
|
20
20
|
`;
|
|
21
|
-
//#endregion
|
|
22
21
|
export { styles };
|
|
@@ -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.155.0/helpers/esm/decorateMetadata.js";
|
|
3
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/decorate.js";
|
|
4
4
|
import { HostAria } from "../../utilities/hostAria.js";
|
|
5
5
|
import "../spinner/USpinner.js";
|
|
6
6
|
import "../icon/UIcon.js";
|
|
@@ -8,7 +8,7 @@ import { isFromNestedControl } from "../../utilities/nestedControl.js";
|
|
|
8
8
|
import { styles } from "./UTreeItem.styles.js";
|
|
9
9
|
import { html } from "lit";
|
|
10
10
|
import { customElement, property, state } from "lit/decorators.js";
|
|
11
|
-
|
|
11
|
+
// src/components/tree-item/UTreeItem.ts
|
|
12
12
|
var _UTreeItem;
|
|
13
13
|
var UTreeItem = class UTreeItem extends UElement {
|
|
14
14
|
static {
|
|
@@ -234,5 +234,4 @@ __decorate([state(), __decorateMetadata("design:type", Boolean)], UTreeItem.prot
|
|
|
234
234
|
__decorate([state(), __decorateMetadata("design:type", typeof Node === "undefined" ? Object : Node)], UTreeItem.prototype, "expandIcon", void 0);
|
|
235
235
|
__decorate([state(), __decorateMetadata("design:type", typeof Node === "undefined" ? Object : Node)], UTreeItem.prototype, "collapseIcon", void 0);
|
|
236
236
|
UTreeItem = _UTreeItem = __decorate([customElement("u-tree-item")], UTreeItem);
|
|
237
|
-
//#endregion
|
|
238
237
|
export { UTreeItem };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
|
|
2
|
+
// src/components/tree-item/UTreeItem.styles.ts
|
|
3
3
|
var styles = css`
|
|
4
4
|
:host {
|
|
5
5
|
--tree-item-depth: 0;
|
|
@@ -171,5 +171,4 @@ var styles = css`
|
|
|
171
171
|
pointer-events: none;
|
|
172
172
|
}
|
|
173
173
|
`;
|
|
174
|
-
//#endregion
|
|
175
174
|
export { styles };
|
package/dist/utilities/Dialog.js
CHANGED
|
@@ -5,7 +5,7 @@ import { UDialog } from "../components/dialog/UDialog.js";
|
|
|
5
5
|
import { html, nothing, render } from "lit";
|
|
6
6
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
7
7
|
import { unsafeHTML } from "lit/directives/unsafe-html.js";
|
|
8
|
-
|
|
8
|
+
// src/utilities/Dialog.ts
|
|
9
9
|
/**
|
|
10
10
|
* 메시지를 본문 템플릿으로 — 문자열은 lit 이 글자로 이스케이프한다. `show` 는 문자열 `content` 를 HTML 로 해석하므로
|
|
11
11
|
* (그것이 `show` 의 계약이다) `alert`·`confirm` 이 문자열을 그대로 넘기면 그 계약을 조용히 물려받아 마크업 주입 싱크가 된다.
|
|
@@ -187,5 +187,4 @@ var Dialog = class {
|
|
|
187
187
|
return dialog;
|
|
188
188
|
}
|
|
189
189
|
};
|
|
190
|
-
//#endregion
|
|
191
190
|
export { Dialog };
|
package/dist/utilities/Locale.js
CHANGED
|
@@ -13,7 +13,7 @@ import vi_default from "../assets/locales/vi.json.js";
|
|
|
13
13
|
import zh_CN_default from "../assets/locales/zh-CN.json.js";
|
|
14
14
|
import zh_TW_default from "../assets/locales/zh-TW.json.js";
|
|
15
15
|
import { defaultSearchMatch } from "./search.js";
|
|
16
|
-
|
|
16
|
+
// src/utilities/Locale.ts
|
|
17
17
|
var builtins = new Map(Object.entries(/* #__PURE__ */ Object.assign({
|
|
18
18
|
"../assets/locales/ar.json": ar_default,
|
|
19
19
|
"../assets/locales/de.json": de_default,
|
|
@@ -219,5 +219,4 @@ var Locale = class {
|
|
|
219
219
|
};
|
|
220
220
|
}
|
|
221
221
|
};
|
|
222
|
-
//#endregion
|
|
223
222
|
export { Locale };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isImeComposing } from "./keyboard.js";
|
|
2
|
-
|
|
2
|
+
// src/utilities/OverlayManager.ts
|
|
3
3
|
/**
|
|
4
4
|
* OverlayManager는 **겹치는 표면 전체의 층(layer)을 소유**합니다.
|
|
5
5
|
*
|
|
@@ -138,5 +138,4 @@ var OverlayManager = class OverlayManager {
|
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
};
|
|
141
|
-
//#endregion
|
|
142
141
|
export { OverlayManager };
|