@iyulab/components 2.30.1 → 2.31.0
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 +34 -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 +6 -3
- package/dist/assets/locales/de.json.js +6 -3
- package/dist/assets/locales/en.json.js +6 -3
- package/dist/assets/locales/es.json.js +6 -3
- package/dist/assets/locales/fr.json.js +6 -3
- package/dist/assets/locales/id.json.js +6 -3
- package/dist/assets/locales/ja.json.js +6 -3
- package/dist/assets/locales/ko.json.js +6 -3
- package/dist/assets/locales/pt-BR.json.js +6 -3
- package/dist/assets/locales/ru.json.js +6 -3
- package/dist/assets/locales/th.json.js +6 -3
- package/dist/assets/locales/vi.json.js +6 -3
- package/dist/assets/locales/zh-CN.json.js +6 -3
- package/dist/assets/locales/zh-TW.json.js +6 -3
- 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.d.ts +1 -1
- 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.d.ts +1 -1
- package/dist/components/date-range-picker/presets.js +17 -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 +25 -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.d.ts +1 -1
- 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/date-range-picker.md +2 -0
- package/skills/iyulab-components/references/components/tooltip.md +2 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
|
|
2
|
+
// src/components/progress-bar/UProgressBar.styles.ts
|
|
3
3
|
var styles = css`
|
|
4
4
|
:host {
|
|
5
5
|
--progress-bar-height: 0.5em;
|
|
@@ -154,5 +154,4 @@ var styles = css`
|
|
|
154
154
|
to { background-position: 0 0; }
|
|
155
155
|
}
|
|
156
156
|
`;
|
|
157
|
-
//#endregion
|
|
158
157
|
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 { HostAria } from "../../utilities/hostAria.js";
|
|
5
5
|
import { syncProgressbar } from "../../utilities/progressAria.js";
|
|
6
6
|
import { styles } from "./UProgressRing.styles.js";
|
|
7
7
|
import { html } from "lit";
|
|
8
8
|
import { customElement, property, state } from "lit/decorators.js";
|
|
9
|
-
|
|
9
|
+
// src/components/progress-ring/UProgressRing.ts
|
|
10
10
|
var PATH_LENGTH = 100;
|
|
11
11
|
var RADIUS = 44;
|
|
12
12
|
var UProgressRing = class UProgressRing extends UElement {
|
|
@@ -163,5 +163,4 @@ __decorate([state(), __decorateMetadata("design:type", Number)], UProgressRing.p
|
|
|
163
163
|
__decorate([state(), __decorateMetadata("design:type", Number)], UProgressRing.prototype, "bufferProgress", void 0);
|
|
164
164
|
__decorate([state(), __decorateMetadata("design:type", String)], UProgressRing.prototype, "dasharray", void 0);
|
|
165
165
|
UProgressRing = __decorate([customElement("u-progress-ring")], UProgressRing);
|
|
166
|
-
//#endregion
|
|
167
166
|
export { UProgressRing };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
|
|
2
|
+
// src/components/progress-ring/UProgressRing.styles.ts
|
|
3
3
|
var styles = css`
|
|
4
4
|
:host {
|
|
5
5
|
--progress-ring-size: 6em;
|
|
@@ -111,5 +111,4 @@ var styles = css`
|
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
`;
|
|
114
|
-
//#endregion
|
|
115
114
|
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 { UOption } from "../option/UOption.js";
|
|
@@ -8,7 +8,7 @@ import { styles } from "./URadio.styles.js";
|
|
|
8
8
|
import { html } from "lit";
|
|
9
9
|
import { customElement, property, state } from "lit/decorators.js";
|
|
10
10
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
11
|
-
|
|
11
|
+
// src/components/radio/URadio.ts
|
|
12
12
|
var URadio = class URadio extends UFormControlElement {
|
|
13
13
|
constructor(..._args) {
|
|
14
14
|
super(..._args);
|
|
@@ -205,5 +205,4 @@ __decorate([property({
|
|
|
205
205
|
}), __decorateMetadata("design:type", Object)], URadio.prototype, "orientation", void 0);
|
|
206
206
|
__decorate([state(), __decorateMetadata("design:type", Array)], URadio.prototype, "options", void 0);
|
|
207
207
|
URadio = __decorate([customElement("u-radio")], URadio);
|
|
208
|
-
//#endregion
|
|
209
208
|
export { URadio };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
|
|
2
|
+
// src/components/radio/URadio.styles.ts
|
|
3
3
|
var styles = css`
|
|
4
4
|
:host {
|
|
5
5
|
--radio-color: var(--u-selection-color, #1976D2);
|
|
@@ -146,5 +146,4 @@ var styles = css`
|
|
|
146
146
|
font-weight: 600;
|
|
147
147
|
}
|
|
148
148
|
`;
|
|
149
|
-
//#endregion
|
|
150
149
|
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 "../field/UField.js";
|
|
@@ -8,7 +8,7 @@ import { styles } from "./URating.styles.js";
|
|
|
8
8
|
import { html } from "lit";
|
|
9
9
|
import { customElement, property, state } from "lit/decorators.js";
|
|
10
10
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
11
|
-
|
|
11
|
+
// src/components/rating/URating.ts
|
|
12
12
|
var URating = class URating extends UFormControlElement {
|
|
13
13
|
constructor(..._args) {
|
|
14
14
|
super(..._args);
|
|
@@ -233,5 +233,4 @@ __decorate([state(), __decorateMetadata("design:type", Object)], URating.prototy
|
|
|
233
233
|
__decorate([state(), __decorateMetadata("design:type", Object)], URating.prototype, "symbol", void 0);
|
|
234
234
|
__decorate([state(), __decorateMetadata("design:type", Object)], URating.prototype, "symbolOff", void 0);
|
|
235
235
|
URating = __decorate([customElement("u-rating")], URating);
|
|
236
|
-
//#endregion
|
|
237
236
|
export { URating };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
|
|
2
|
+
// src/components/rating/URating.styles.ts
|
|
3
3
|
var styles = css`
|
|
4
4
|
:host {
|
|
5
5
|
--rating-symbol-color: var(--u-warning-color-strong, #8A4A00);
|
|
@@ -61,5 +61,4 @@ var styles = css`
|
|
|
61
61
|
overflow: hidden;
|
|
62
62
|
}
|
|
63
63
|
`;
|
|
64
|
-
//#endregion
|
|
65
64
|
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 { isImeComposing } from "../../utilities/keyboard.js";
|
|
6
6
|
import "../spinner/USpinner.js";
|
|
@@ -15,7 +15,7 @@ import { styles } from "./USelect.styles.js";
|
|
|
15
15
|
import { html } from "lit";
|
|
16
16
|
import { customElement, property, query, state } from "lit/decorators.js";
|
|
17
17
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
18
|
-
|
|
18
|
+
// src/components/select/USelect.ts
|
|
19
19
|
var USelect = class USelect extends UFormControlElement {
|
|
20
20
|
constructor(..._args) {
|
|
21
21
|
super(..._args);
|
|
@@ -477,5 +477,4 @@ __decorate([state(), __decorateMetadata("design:type", Array)], USelect.prototyp
|
|
|
477
477
|
__decorate([state(), __decorateMetadata("design:type", Object)], USelect.prototype, "noMatches", void 0);
|
|
478
478
|
__decorate([state(), __decorateMetadata("design:type", Boolean)], USelect.prototype, "open", void 0);
|
|
479
479
|
USelect = __decorate([customElement("u-select")], USelect);
|
|
480
|
-
//#endregion
|
|
481
480
|
export { USelect };
|
|
@@ -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 "./USkeleton.styles.js";
|
|
5
5
|
import { html } from "lit";
|
|
6
6
|
import { customElement, property } from "lit/decorators.js";
|
|
7
|
-
|
|
7
|
+
// src/components/skeleton/USkeleton.ts
|
|
8
8
|
var USkeleton = class USkeleton extends UElement {
|
|
9
9
|
constructor(..._args) {
|
|
10
10
|
super(..._args);
|
|
@@ -40,5 +40,4 @@ __decorate([property({
|
|
|
40
40
|
reflect: true
|
|
41
41
|
}), __decorateMetadata("design:type", Number)], USkeleton.prototype, "lines", void 0);
|
|
42
42
|
USkeleton = __decorate([customElement("u-skeleton")], USkeleton);
|
|
43
|
-
//#endregion
|
|
44
43
|
export { USkeleton };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
|
|
2
|
+
// src/components/skeleton/USkeleton.styles.ts
|
|
3
3
|
var styles = css`
|
|
4
4
|
:host {
|
|
5
5
|
--skeleton-width: 100%;
|
|
@@ -131,5 +131,4 @@ var styles = css`
|
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
`;
|
|
134
|
-
//#endregion
|
|
135
134
|
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 "../tooltip/UTooltip.js";
|
|
6
6
|
import "../field/UField.js";
|
|
@@ -8,7 +8,7 @@ import { styles } from "./USlider.styles.js";
|
|
|
8
8
|
import { html } from "lit";
|
|
9
9
|
import { customElement, property, query, state } from "lit/decorators.js";
|
|
10
10
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
11
|
-
|
|
11
|
+
// src/components/slider/USlider.ts
|
|
12
12
|
var USlider = class USlider extends UFormControlElement {
|
|
13
13
|
constructor(..._args) {
|
|
14
14
|
super(..._args);
|
|
@@ -313,5 +313,4 @@ __decorate([query(".track"), __decorateMetadata("design:type", typeof HTMLElemen
|
|
|
313
313
|
__decorate([query(".container"), __decorateMetadata("design:type", typeof HTMLElement === "undefined" ? Object : HTMLElement)], USlider.prototype, "containerEl", void 0);
|
|
314
314
|
__decorate([query(".thumb[data-thumb=\"min\"]"), __decorateMetadata("design:type", typeof HTMLElement === "undefined" ? Object : HTMLElement)], USlider.prototype, "minThumbEl", void 0);
|
|
315
315
|
USlider = __decorate([customElement("u-slider")], USlider);
|
|
316
|
-
//#endregion
|
|
317
316
|
export { USlider };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
|
-
|
|
2
|
+
// src/components/slider/USlider.styles.ts
|
|
3
3
|
var styles = css`
|
|
4
4
|
:host {
|
|
5
5
|
--slider-fill-color: var(--u-primary-color, #1976D2);
|
|
@@ -155,5 +155,4 @@ var styles = css`
|
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
`;
|
|
158
|
-
//#endregion
|
|
159
158
|
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 { 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;
|