@iyulab/components 1.0.4 → 1.0.6
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 +18 -0
- package/dist/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/decorate.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/decorateMetadata.js +1 -1
- package/dist/_virtual/_glob-assets_raw/light.css.637cb2f8.js +1 -1
- package/dist/components/UFloatingElement.js +2 -2
- package/dist/components/UFormControlElement.js +2 -2
- package/dist/components/UOverlayElement.js +2 -2
- package/dist/components/alert/UAlert.js +2 -2
- package/dist/components/avatar/UAvatar.js +2 -2
- package/dist/components/badge/UBadge.js +2 -2
- package/dist/components/breadcrumb/UBreadcrumb.js +3 -2
- package/dist/components/breadcrumb-item/UBreadcrumbItem.js +2 -2
- package/dist/components/button/UButton.d.ts +6 -11
- package/dist/components/button/UButton.js +20 -23
- package/dist/components/button-group/UButtonGroup.js +2 -2
- package/dist/components/card/UCard.js +2 -2
- package/dist/components/carousel/UCarousel.js +4 -3
- package/dist/components/checkbox/UCheckbox.d.ts +1 -1
- package/dist/components/checkbox/UCheckbox.js +3 -3
- package/dist/components/chip/UChip.js +2 -2
- package/dist/components/dialog/UDialog.js +4 -3
- package/dist/components/divider/UDivider.js +2 -2
- package/dist/components/drawer/UDrawer.js +4 -3
- package/dist/components/field/UField.js +2 -2
- package/dist/components/form/UForm.js +2 -2
- package/dist/components/icon/UIcon.js +2 -2
- package/dist/components/icon-button/UIconButton.js +2 -2
- package/dist/components/input/UInput.js +4 -3
- package/dist/components/menu/UMenu.js +4 -3
- package/dist/components/menu-item/UMenuItem.js +4 -3
- package/dist/components/option/UOption.js +2 -2
- package/dist/components/option/UOption.styles.js +7 -0
- package/dist/components/panel/UPanel.js +2 -2
- package/dist/components/popover/UPopover.js +2 -2
- package/dist/components/progress-bar/UProgressBar.js +2 -2
- package/dist/components/progress-ring/UProgressRing.js +2 -2
- package/dist/components/radio/URadio.js +6 -7
- package/dist/components/rating/URating.js +2 -2
- package/dist/components/select/USelect.js +4 -3
- package/dist/components/skeleton/USkeleton.js +2 -2
- package/dist/components/slider/USlider.js +2 -2
- package/dist/components/spinner/USpinner.js +4 -3
- package/dist/components/split-panel/USplitPanel.js +6 -4
- package/dist/components/switch/USwitch.js +2 -2
- package/dist/components/tab/UTab.js +2 -2
- package/dist/components/tab-panel/UTabPanel.js +4 -3
- package/dist/components/tag/UTag.js +2 -2
- package/dist/components/textarea/UTextarea.js +2 -2
- package/dist/components/tooltip/UTooltip.js +4 -3
- package/dist/components/tree/UTree.js +4 -3
- package/dist/components/tree-item/UTreeItem.js +4 -3
- package/dist/styles/light.css +1 -1
- package/package.json +10 -10
- package/skills/iyulab-components/SKILL.md +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.0.6] - 2026-05-15
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
- `UButton`: Updated form-association handling and aligned submit/reset actions to use the element internals form reference.
|
|
7
|
+
- Theme tokens: adjusted `--u-txt-color-weak` in light theme to improve weak-text contrast behavior.
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
- `URadio`: Option disabled state is now consistently synchronized for both `disabled` and `readonly` states.
|
|
11
|
+
- `UOption`: Added spacing rules for slotted `prefix` and `suffix` content to improve option layout consistency.
|
|
12
|
+
|
|
13
|
+
### Removed
|
|
14
|
+
- `UButton`: Removed the `associatedForm` getter from the public API.
|
|
15
|
+
|
|
16
|
+
## [1.0.5] - 2026-05-07
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
- `UCheckbox`: `label` attribute/property가 slot fallback으로 렌더되지 않던 버그 수정. `<u-checkbox label="활성">` 형태의 attribute 방식이 이제 동작함. slot에 children이 있는 기존 사용은 영향 없음
|
|
20
|
+
|
|
3
21
|
## [1.0.4] - 2026-04-20
|
|
4
22
|
|
|
5
23
|
### Fixed
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region \0@oxc-project+runtime@0.
|
|
1
|
+
//#region \0@oxc-project+runtime@0.130.0/helpers/decorate.js
|
|
2
2
|
function __decorate(decorators, target, key, desc) {
|
|
3
3
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
4
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region \0@oxc-project+runtime@0.
|
|
1
|
+
//#region \0@oxc-project+runtime@0.130.0/helpers/decorateMetadata.js
|
|
2
2
|
function __decorateMetadata(k, v) {
|
|
3
3
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
//#region \0glob-assets_raw/light.css.637cb2f8
|
|
2
|
-
var light_css_default = ":root {\n color-scheme: light;\n\n /* Neutral Colors */\n --u-neutral-0: #FFFFFF;\n --u-neutral-50: #FAFAFA;\n --u-neutral-100: #F5F5F5;\n --u-neutral-200: #EEEEEE;\n --u-neutral-300: #E0E0E0;\n --u-neutral-400: #BDBDBD;\n --u-neutral-500: #9E9E9E;\n --u-neutral-600: #757575;\n --u-neutral-700: #616161;\n --u-neutral-800: #424242;\n --u-neutral-900: #212121;\n --u-neutral-1000: #000000;\n\n /* Blue Colors */\n --u-blue-0: #E3F2FD;\n --u-blue-100: #BBDEFB;\n --u-blue-200: #90CAF9;\n --u-blue-300: #64B5F6;\n --u-blue-400: #42A5F5;\n --u-blue-500: #2196F3;\n --u-blue-600: #1E88E5;\n --u-blue-700: #1976D2;\n --u-blue-800: #1565C0;\n --u-blue-900: #0D47A1;\n --u-blue-1000: #062A5E;\n\n /* Green Colors */\n --u-green-0: #E8F5E9;\n --u-green-100: #C8E6C9;\n --u-green-200: #A5D6A7;\n --u-green-300: #81C784;\n --u-green-400: #66BB6A;\n --u-green-500: #4CAF50;\n --u-green-600: #43A047;\n --u-green-700: #388E3C;\n --u-green-800: #2E7D32;\n --u-green-900: #1B5E20;\n --u-green-1000: #0F3A12;\n\n /* Yellow Colors */\n --u-yellow-0: #FFFDE7;\n --u-yellow-100: #FFF9C4;\n --u-yellow-200: #FFF59D;\n --u-yellow-300: #FFF176;\n --u-yellow-400: #FFEE58;\n --u-yellow-500: #FFEB3B;\n --u-yellow-600: #FDD835;\n --u-yellow-700: #FBC02D;\n --u-yellow-800: #F9A825;\n --u-yellow-900: #F57F17;\n --u-yellow-1000: #8A4A00;\n\n /* Red Colors */\n --u-red-0: #FFEBEE;\n --u-red-100: #FFCDD2;\n --u-red-200: #EF9A9A;\n --u-red-300: #E57373;\n --u-red-400: #EF5350;\n --u-red-500: #F44336;\n --u-red-600: #E53935;\n --u-red-700: #D32F2F;\n --u-red-800: #C62828;\n --u-red-900: #B71C1C;\n --u-red-1000: #6B0F0F;\n\n /* Orange Colors */\n --u-orange-0: #FFF3E0;\n --u-orange-100: #FFE0B2;\n --u-orange-200: #FFCC80;\n --u-orange-300: #FFB74D;\n --u-orange-400: #FFA726;\n --u-orange-500: #FF9800;\n --u-orange-600: #FB8C00;\n --u-orange-700: #F57C00;\n --u-orange-800: #EF6C00;\n --u-orange-900: #E65100;\n --u-orange-1000: #8C3100;\n\n /* Teal Colors */\n --u-teal-0: #E0F2F1;\n --u-teal-100: #B2DFDB;\n --u-teal-200: #80CBC4;\n --u-teal-300: #4DB6AC;\n --u-teal-400: #26A69A;\n --u-teal-500: #009688;\n --u-teal-600: #00897B;\n --u-teal-700: #00796B;\n --u-teal-800: #00695C;\n --u-teal-900: #004D40;\n --u-teal-1000: #002E26;\n\n /* Cyan Colors */\n --u-cyan-0: #E0F7FA;\n --u-cyan-100: #B2EBF2;\n --u-cyan-200: #80DEEA;\n --u-cyan-300: #4DD0E1;\n --u-cyan-400: #26C6DA;\n --u-cyan-500: #00BCD4;\n --u-cyan-600: #00ACC1;\n --u-cyan-700: #0097A7;\n --u-cyan-800: #00838F;\n --u-cyan-900: #006064;\n --u-cyan-1000: #003A3D;\n\n /* Purple Colors */\n --u-purple-0: #F3E5F5;\n --u-purple-100: #E1BEE7;\n --u-purple-200: #CE93D8;\n --u-purple-300: #BA68C8;\n --u-purple-400: #AB47BC;\n --u-purple-500: #9C27B0;\n --u-purple-600: #8E24AA;\n --u-purple-700: #7B1FA2;\n --u-purple-800: #6A1B9A;\n --u-purple-900: #4A148C;\n --u-purple-1000: #2C0B54;\n\n /* Pink Colors */\n --u-pink-0: #FCE4EC;\n --u-pink-100: #F8BBD0;\n --u-pink-200: #F48FB1;\n --u-pink-300: #F06292;\n --u-pink-400: #EC407A;\n --u-pink-500: #E91E63;\n --u-pink-600: #D81B60;\n --u-pink-700: #C2185B;\n --u-pink-800: #AD1457;\n --u-pink-900: #880E4F;\n --u-pink-1000: #520830;\n\n /* Text Colors */\n --u-txt-color: var(--u-neutral-900);\n --u-txt-color-inverse: var(--u-neutral-0);\n --u-txt-color-hover: var(--u-blue-600);\n --u-txt-color-active: var(--u-blue-600);\n --u-txt-color-disabled: var(--u-neutral-400);\n --u-txt-color-weak: var(--u-neutral-
|
|
2
|
+
var light_css_default = ":root {\n color-scheme: light;\n\n /* Neutral Colors */\n --u-neutral-0: #FFFFFF;\n --u-neutral-50: #FAFAFA;\n --u-neutral-100: #F5F5F5;\n --u-neutral-200: #EEEEEE;\n --u-neutral-300: #E0E0E0;\n --u-neutral-400: #BDBDBD;\n --u-neutral-500: #9E9E9E;\n --u-neutral-600: #757575;\n --u-neutral-700: #616161;\n --u-neutral-800: #424242;\n --u-neutral-900: #212121;\n --u-neutral-1000: #000000;\n\n /* Blue Colors */\n --u-blue-0: #E3F2FD;\n --u-blue-100: #BBDEFB;\n --u-blue-200: #90CAF9;\n --u-blue-300: #64B5F6;\n --u-blue-400: #42A5F5;\n --u-blue-500: #2196F3;\n --u-blue-600: #1E88E5;\n --u-blue-700: #1976D2;\n --u-blue-800: #1565C0;\n --u-blue-900: #0D47A1;\n --u-blue-1000: #062A5E;\n\n /* Green Colors */\n --u-green-0: #E8F5E9;\n --u-green-100: #C8E6C9;\n --u-green-200: #A5D6A7;\n --u-green-300: #81C784;\n --u-green-400: #66BB6A;\n --u-green-500: #4CAF50;\n --u-green-600: #43A047;\n --u-green-700: #388E3C;\n --u-green-800: #2E7D32;\n --u-green-900: #1B5E20;\n --u-green-1000: #0F3A12;\n\n /* Yellow Colors */\n --u-yellow-0: #FFFDE7;\n --u-yellow-100: #FFF9C4;\n --u-yellow-200: #FFF59D;\n --u-yellow-300: #FFF176;\n --u-yellow-400: #FFEE58;\n --u-yellow-500: #FFEB3B;\n --u-yellow-600: #FDD835;\n --u-yellow-700: #FBC02D;\n --u-yellow-800: #F9A825;\n --u-yellow-900: #F57F17;\n --u-yellow-1000: #8A4A00;\n\n /* Red Colors */\n --u-red-0: #FFEBEE;\n --u-red-100: #FFCDD2;\n --u-red-200: #EF9A9A;\n --u-red-300: #E57373;\n --u-red-400: #EF5350;\n --u-red-500: #F44336;\n --u-red-600: #E53935;\n --u-red-700: #D32F2F;\n --u-red-800: #C62828;\n --u-red-900: #B71C1C;\n --u-red-1000: #6B0F0F;\n\n /* Orange Colors */\n --u-orange-0: #FFF3E0;\n --u-orange-100: #FFE0B2;\n --u-orange-200: #FFCC80;\n --u-orange-300: #FFB74D;\n --u-orange-400: #FFA726;\n --u-orange-500: #FF9800;\n --u-orange-600: #FB8C00;\n --u-orange-700: #F57C00;\n --u-orange-800: #EF6C00;\n --u-orange-900: #E65100;\n --u-orange-1000: #8C3100;\n\n /* Teal Colors */\n --u-teal-0: #E0F2F1;\n --u-teal-100: #B2DFDB;\n --u-teal-200: #80CBC4;\n --u-teal-300: #4DB6AC;\n --u-teal-400: #26A69A;\n --u-teal-500: #009688;\n --u-teal-600: #00897B;\n --u-teal-700: #00796B;\n --u-teal-800: #00695C;\n --u-teal-900: #004D40;\n --u-teal-1000: #002E26;\n\n /* Cyan Colors */\n --u-cyan-0: #E0F7FA;\n --u-cyan-100: #B2EBF2;\n --u-cyan-200: #80DEEA;\n --u-cyan-300: #4DD0E1;\n --u-cyan-400: #26C6DA;\n --u-cyan-500: #00BCD4;\n --u-cyan-600: #00ACC1;\n --u-cyan-700: #0097A7;\n --u-cyan-800: #00838F;\n --u-cyan-900: #006064;\n --u-cyan-1000: #003A3D;\n\n /* Purple Colors */\n --u-purple-0: #F3E5F5;\n --u-purple-100: #E1BEE7;\n --u-purple-200: #CE93D8;\n --u-purple-300: #BA68C8;\n --u-purple-400: #AB47BC;\n --u-purple-500: #9C27B0;\n --u-purple-600: #8E24AA;\n --u-purple-700: #7B1FA2;\n --u-purple-800: #6A1B9A;\n --u-purple-900: #4A148C;\n --u-purple-1000: #2C0B54;\n\n /* Pink Colors */\n --u-pink-0: #FCE4EC;\n --u-pink-100: #F8BBD0;\n --u-pink-200: #F48FB1;\n --u-pink-300: #F06292;\n --u-pink-400: #EC407A;\n --u-pink-500: #E91E63;\n --u-pink-600: #D81B60;\n --u-pink-700: #C2185B;\n --u-pink-800: #AD1457;\n --u-pink-900: #880E4F;\n --u-pink-1000: #520830;\n\n /* Text Colors */\n --u-txt-color: var(--u-neutral-900);\n --u-txt-color-inverse: var(--u-neutral-0);\n --u-txt-color-hover: var(--u-blue-600);\n --u-txt-color-active: var(--u-blue-600);\n --u-txt-color-disabled: var(--u-neutral-400);\n --u-txt-color-weak: var(--u-neutral-500);\n --u-txt-color-strong: var(--u-neutral-1000);\n\n --u-link-txt-color: var(--u-blue-700);\n --u-tooltip-txt-color: var(--u-neutral-0);\n\n /* Icon Colors */\n --u-icon-color: var(--u-neutral-700);\n --u-icon-color-inverse: var(--u-neutral-0);\n --u-icon-color-hover: var(--u-blue-600);\n --u-icon-color-active: var(--u-blue-600);\n --u-icon-color-disabled: var(--u-neutral-400);\n\n /* Border Colors */\n --u-border-color: var(--u-neutral-300);\n --u-border-color-weak: var(--u-neutral-200);\n --u-border-color-strong: var(--u-neutral-400);\n\n --u-input-border-color: var(--u-neutral-300);\n --u-input-border-color-hover: var(--u-neutral-400);\n --u-input-border-color-focus: var(--u-blue-600);\n --u-input-border-color-invalid: var(--u-red-600);\n\n /* Background Colors */\n --u-bg-color: var(--u-neutral-0);\n --u-bg-color-inverse: var(--u-neutral-900);\n --u-bg-color-hover: var(--u-neutral-100);\n --u-bg-color-active: var(--u-neutral-200);\n --u-bg-color-disabled: var(--u-neutral-50);\n \n --u-input-bg-color: var(--u-neutral-0);\n --u-panel-bg-color: var(--u-neutral-0);\n --u-overlay-bg-color: rgba(0, 0, 0, 0.5);\n --u-tooltip-bg-color: rgba(0, 0, 0, 0.75);\n\n /* Shadow Colors */\n --u-shadow-color-weaker: rgba(0, 0, 0, 0.04);\n --u-shadow-color-weak: rgba(0, 0, 0, 0.08);\n --u-shadow-color-normal: rgba(0, 0, 0, 0.12);\n --u-shadow-color-strong: rgba(0, 0, 0, 0.16);\n --u-shadow-color-stronger: rgba(0, 0, 0, 0.24);\n\n /* Scrollbar Colors */\n --u-scrollbar-color: var(--u-neutral-400);\n --u-scrollbar-color-hover: var(--u-neutral-500);\n --u-scrollbar-track-color: transparent;\n\n /* Font Styles */\n --u-font-base: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';\n --u-font-mono: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Monaco, 'Courier New', monospace;\n --u-font-serif: 'Georgia', 'Times New Roman', Times, serif;\n --u-font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif;\n --u-font-modern: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;\n --u-font-rounded: 'Nunito', 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;\n}";
|
|
3
3
|
//#endregion
|
|
4
4
|
export { light_css_default as default };
|
|
@@ -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.130.0/helpers/decorateMetadata.js";
|
|
3
|
+
import { __decorate } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import { getParentElement, querySelectorAllWithin } from "../utilities/elements.js";
|
|
5
5
|
import { styles } from "./UFloatingElement.styles.js";
|
|
6
6
|
import { property, state } from "lit/decorators.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UElement } from "./UElement.js";
|
|
2
2
|
import { styles } from "./UFormControlElement.styles.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.130.0/helpers/decorateMetadata.js";
|
|
4
|
+
import { __decorate } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
5
5
|
import { property } from "lit/decorators.js";
|
|
6
6
|
//#region src/components/UFormControlElement.ts
|
|
7
7
|
/**
|
|
@@ -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.130.0/helpers/decorateMetadata.js";
|
|
3
|
+
import { __decorate } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import { OverlayManager } from "../utilities/OverlayManager.js";
|
|
5
5
|
import { arrayAttrConverter } from "../utilities/converters.js";
|
|
6
6
|
import { styles } from "./UOverlayElement.styles.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UElement } from "../UElement.js";
|
|
2
|
-
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorateMetadata.js";
|
|
3
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import "../icon/UIcon.js";
|
|
5
5
|
import "../button/UButton.js";
|
|
6
6
|
import { styles } from "./UAlert.styles.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UElement } from "../UElement.js";
|
|
2
|
-
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorateMetadata.js";
|
|
3
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import { styles } from "./UAvatar.styles.js";
|
|
5
5
|
import { customElement, property } from "lit/decorators.js";
|
|
6
6
|
import { html } from "lit";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UElement } from "../UElement.js";
|
|
2
|
-
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorateMetadata.js";
|
|
3
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import { styles } from "./UBadge.styles.js";
|
|
5
5
|
import { customElement, property } from "lit/decorators.js";
|
|
6
6
|
import { html, nothing } from "lit";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UElement } from "../UElement.js";
|
|
2
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
3
3
|
import "../icon/UIcon.js";
|
|
4
4
|
import { styles } from "./UBreadcrumb.styles.js";
|
|
5
5
|
import { customElement } from "lit/decorators.js";
|
|
@@ -13,7 +13,8 @@ var UBreadcrumb = class UBreadcrumb extends UElement {
|
|
|
13
13
|
this.appendSeparator(items);
|
|
14
14
|
};
|
|
15
15
|
this.handleSeparatorSlotChange = (e) => {
|
|
16
|
-
|
|
16
|
+
const slot = e.target;
|
|
17
|
+
this.separator = slot.assignedNodes({ flatten: true }).at(0);
|
|
17
18
|
const nodes = this.shadowRoot?.querySelectorAll("nav > *:not(.separator)") ?? [];
|
|
18
19
|
const items = Array.from(nodes).filter((el) => el instanceof HTMLElement);
|
|
19
20
|
this.appendSeparator(items);
|
|
@@ -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.130.0/helpers/decorateMetadata.js";
|
|
3
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import { styles } from "./UBreadcrumbItem.styles.js";
|
|
5
5
|
import { customElement, property } from "lit/decorators.js";
|
|
6
6
|
import { html } from "lit";
|
|
@@ -17,13 +17,7 @@ export type ButtonType = "button" | "submit" | "reset";
|
|
|
17
17
|
*/
|
|
18
18
|
export declare class UButton extends UElement {
|
|
19
19
|
static styles: import('lit').CSSResultGroup[];
|
|
20
|
-
/**
|
|
21
|
-
* Form-associated custom element 활성화. Shadow DOM 내부 native <button>은 외부
|
|
22
|
-
* <form>의 submit/reset을 자동 트리거하지 못하므로, ElementInternals.form을 통해
|
|
23
|
-
* type="submit"/"reset" 클릭 시 호스트 요소가 명시적으로 form을 조작한다.
|
|
24
|
-
*/
|
|
25
20
|
static formAssociated: boolean;
|
|
26
|
-
private readonly _internals;
|
|
27
21
|
/** 버튼 스타일 변형 */
|
|
28
22
|
variant: ButtonVariant;
|
|
29
23
|
/** 경계선 둥글게 여부 */
|
|
@@ -42,15 +36,16 @@ export declare class UButton extends UElement {
|
|
|
42
36
|
rel?: string;
|
|
43
37
|
/** 다운로드 파일명 */
|
|
44
38
|
download?: string;
|
|
45
|
-
/** 연결 form ID — 외부 form을 ID로 명시 연결 (HTML <button form> 표준 호환) */
|
|
46
|
-
form?: string;
|
|
47
39
|
/** form data에 포함될 name */
|
|
48
40
|
name?: string;
|
|
49
41
|
/** form data에 포함될 value */
|
|
50
42
|
value?: string;
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
43
|
+
/**
|
|
44
|
+
* ElementInternals는 폼과의 연동, 유효성 검사 상태 관리 등을 지원하는 네이티브 API입니다.
|
|
45
|
+
*/
|
|
46
|
+
internals?: ElementInternals;
|
|
47
|
+
set form(val: string);
|
|
48
|
+
get form(): HTMLFormElement | null;
|
|
54
49
|
connectedCallback(): void;
|
|
55
50
|
disconnectedCallback(): void;
|
|
56
51
|
render(): TemplateResult<1>;
|
|
@@ -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.130.0/helpers/decorateMetadata.js";
|
|
3
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import "../spinner/USpinner.js";
|
|
5
5
|
import { styles } from "./UButton.styles.js";
|
|
6
6
|
import { customElement, property } from "lit/decorators.js";
|
|
@@ -8,14 +8,8 @@ import { html } from "lit";
|
|
|
8
8
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
9
9
|
//#region src/components/button/UButton.ts
|
|
10
10
|
var UButton = class UButton extends UElement {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
static {
|
|
15
|
-
this.formAssociated = true;
|
|
16
|
-
}
|
|
17
|
-
constructor() {
|
|
18
|
-
super();
|
|
11
|
+
constructor(..._args) {
|
|
12
|
+
super(..._args);
|
|
19
13
|
this.variant = "solid";
|
|
20
14
|
this.rounded = false;
|
|
21
15
|
this.disabled = false;
|
|
@@ -27,23 +21,30 @@ var UButton = class UButton extends UElement {
|
|
|
27
21
|
e.stopImmediatePropagation();
|
|
28
22
|
return;
|
|
29
23
|
}
|
|
30
|
-
|
|
31
|
-
if (
|
|
32
|
-
if (this.type === "submit") form.requestSubmit();
|
|
33
|
-
else if (this.type === "reset") form.reset();
|
|
24
|
+
if (this.type === "submit") this.form?.requestSubmit();
|
|
25
|
+
else if (this.type === "reset") this.form?.reset();
|
|
34
26
|
};
|
|
35
27
|
this.handleSpinnerSlotChange = (e) => {
|
|
36
28
|
const hasSpinner = e.target.assignedNodes().length > 0;
|
|
37
29
|
this.toggleAttribute("has-spinner", hasSpinner);
|
|
38
30
|
};
|
|
39
|
-
this._internals = this.attachInternals();
|
|
40
31
|
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
32
|
+
static {
|
|
33
|
+
this.styles = [super.styles, styles];
|
|
34
|
+
}
|
|
35
|
+
static {
|
|
36
|
+
this.formAssociated = true;
|
|
37
|
+
}
|
|
38
|
+
set form(val) {
|
|
39
|
+
if (val) this.setAttribute("form", val);
|
|
40
|
+
else this.removeAttribute("form");
|
|
41
|
+
}
|
|
42
|
+
get form() {
|
|
43
|
+
return this.internals?.form ?? null;
|
|
44
44
|
}
|
|
45
45
|
connectedCallback() {
|
|
46
46
|
super.connectedCallback();
|
|
47
|
+
if ("attachInternals" in this) this.internals = this.attachInternals();
|
|
47
48
|
this.addEventListener("click", this.handleClick);
|
|
48
49
|
}
|
|
49
50
|
disconnectedCallback() {
|
|
@@ -113,10 +114,6 @@ __decorate([property({ type: String }), __decorateMetadata("design:type", String
|
|
|
113
114
|
__decorate([property({ type: String }), __decorateMetadata("design:type", String)], UButton.prototype, "target", void 0);
|
|
114
115
|
__decorate([property({ type: String }), __decorateMetadata("design:type", String)], UButton.prototype, "rel", void 0);
|
|
115
116
|
__decorate([property({ type: String }), __decorateMetadata("design:type", String)], UButton.prototype, "download", void 0);
|
|
116
|
-
__decorate([property({
|
|
117
|
-
type: String,
|
|
118
|
-
reflect: true
|
|
119
|
-
}), __decorateMetadata("design:type", String)], UButton.prototype, "form", void 0);
|
|
120
117
|
__decorate([property({
|
|
121
118
|
type: String,
|
|
122
119
|
reflect: true
|
|
@@ -125,6 +122,6 @@ __decorate([property({
|
|
|
125
122
|
type: String,
|
|
126
123
|
reflect: true
|
|
127
124
|
}), __decorateMetadata("design:type", String)], UButton.prototype, "value", void 0);
|
|
128
|
-
UButton = __decorate([customElement("u-button")
|
|
125
|
+
UButton = __decorate([customElement("u-button")], UButton);
|
|
129
126
|
//#endregion
|
|
130
127
|
export { UButton };
|
|
@@ -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.130.0/helpers/decorateMetadata.js";
|
|
3
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import { UButton } from "../button/UButton.js";
|
|
5
5
|
import { UIconButton } from "../icon-button/UIconButton.js";
|
|
6
6
|
import { styles } from "./UButtonGroup.styles.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UElement } from "../UElement.js";
|
|
2
|
-
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorateMetadata.js";
|
|
3
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import { styles } from "./UCard.styles.js";
|
|
5
5
|
import { customElement, property } from "lit/decorators.js";
|
|
6
6
|
import { html } from "lit";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UElement } from "../UElement.js";
|
|
2
|
-
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorateMetadata.js";
|
|
3
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import "../icon/UIcon.js";
|
|
5
5
|
import "../button/UButton.js";
|
|
6
6
|
import { styles } from "./UCarousel.styles.js";
|
|
@@ -176,7 +176,8 @@ var UCarousel = class UCarousel extends UElement {
|
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
178
|
handleSlotChange(e) {
|
|
179
|
-
|
|
179
|
+
const slot = e.target;
|
|
180
|
+
this.slideCount = slot.assignedElements().length;
|
|
180
181
|
if (this.index >= this.slideCount) this.index = Math.max(0, this.slideCount - 1);
|
|
181
182
|
}
|
|
182
183
|
};
|
|
@@ -5,7 +5,7 @@ export type CheckboxColor = "blue" | "green" | "red" | "orange" | "teal" | "cyan
|
|
|
5
5
|
* 선택/해제 상태를 토글하는 체크박스 컴포넌트입니다.
|
|
6
6
|
* indeterminate 상태도 지원합니다.
|
|
7
7
|
*
|
|
8
|
-
* @slot - 체크박스 옆에 표시할 라벨 텍스트
|
|
8
|
+
* @slot - 체크박스 옆에 표시할 라벨 텍스트 (`label` attribute가 slot fallback으로 사용됨)
|
|
9
9
|
*
|
|
10
10
|
* @csspart wrapper - 체크박스 전체 래퍼
|
|
11
11
|
* @csspart input - 실제 체크박스 input 요소
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorateMetadata.js";
|
|
2
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
3
3
|
import { UFormControlElement } from "../UFormControlElement.js";
|
|
4
4
|
import "../icon/UIcon.js";
|
|
5
5
|
import { styles } from "./UCheckbox.styles.js";
|
|
@@ -46,7 +46,7 @@ var UCheckbox = class UCheckbox extends UFormControlElement {
|
|
|
46
46
|
></u-icon>
|
|
47
47
|
</span>
|
|
48
48
|
<span class="label" part="label">
|
|
49
|
-
<slot
|
|
49
|
+
<slot>${this.label}</slot>
|
|
50
50
|
<span class="required" ?hidden=${!this.required}>*</span>
|
|
51
51
|
</span>
|
|
52
52
|
</label>
|
|
@@ -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.130.0/helpers/decorateMetadata.js";
|
|
3
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import "../icon/UIcon.js";
|
|
5
5
|
import "../button/UButton.js";
|
|
6
6
|
import "../tooltip/UTooltip.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorateMetadata.js";
|
|
2
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
3
3
|
import "../icon/UIcon.js";
|
|
4
4
|
import { UOverlayElement } from "../UOverlayElement.js";
|
|
5
5
|
import "../button/UButton.js";
|
|
@@ -46,7 +46,8 @@ var UDialog = class UDialog extends UOverlayElement {
|
|
|
46
46
|
`;
|
|
47
47
|
}
|
|
48
48
|
handleHeaderSlotChange(e) {
|
|
49
|
-
|
|
49
|
+
const slot = e.target;
|
|
50
|
+
this.hasHeader = slot.assignedNodes({ flatten: true }).length > 0;
|
|
50
51
|
}
|
|
51
52
|
};
|
|
52
53
|
__decorate([property({
|
|
@@ -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.130.0/helpers/decorateMetadata.js";
|
|
3
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import { styles } from "./UDivider.styles.js";
|
|
5
5
|
import { customElement, property } from "lit/decorators.js";
|
|
6
6
|
import { html } from "lit";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorateMetadata.js";
|
|
2
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
3
3
|
import "../icon/UIcon.js";
|
|
4
4
|
import { UOverlayElement } from "../UOverlayElement.js";
|
|
5
5
|
import "../button/UButton.js";
|
|
@@ -38,7 +38,8 @@ var UDrawer = class UDrawer extends UOverlayElement {
|
|
|
38
38
|
`;
|
|
39
39
|
}
|
|
40
40
|
handleHeaderSlotChange(e) {
|
|
41
|
-
|
|
41
|
+
const slot = e.target;
|
|
42
|
+
this.hasHeader = slot.assignedNodes({ flatten: true }).length > 0;
|
|
42
43
|
}
|
|
43
44
|
};
|
|
44
45
|
__decorate([property({
|
|
@@ -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.130.0/helpers/decorateMetadata.js";
|
|
3
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import { styles } from "./UField.styles.js";
|
|
5
5
|
import { customElement, property } from "lit/decorators.js";
|
|
6
6
|
import { html, nothing } from "lit";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UElement } from "../UElement.js";
|
|
2
|
-
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorateMetadata.js";
|
|
3
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import { UFormControlElement } from "../UFormControlElement.js";
|
|
5
5
|
import { arrayAttrConverter } from "../../utilities/converters.js";
|
|
6
6
|
import { styles } from "./UForm.styles.js";
|
|
@@ -1,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.130.0/helpers/decorateMetadata.js";
|
|
3
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import { IconRegistry, getDefaultBaseUrl } from "../../utilities/icons.js";
|
|
5
5
|
import { styles } from "./UIcon.styles.js";
|
|
6
6
|
import { customElement, property } from "lit/decorators.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UElement } from "../UElement.js";
|
|
2
|
-
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorateMetadata.js";
|
|
3
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import "../icon/UIcon.js";
|
|
5
5
|
import "../button/UButton.js";
|
|
6
6
|
import "../tooltip/UTooltip.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorateMetadata.js";
|
|
2
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
3
3
|
import { UFormControlElement } from "../UFormControlElement.js";
|
|
4
4
|
import "../icon/UIcon.js";
|
|
5
5
|
import "../spinner/USpinner.js";
|
|
@@ -27,7 +27,8 @@ var UInput = class UInput extends UFormControlElement {
|
|
|
27
27
|
this.options = [];
|
|
28
28
|
this.handleSlotChange = (e) => {
|
|
29
29
|
this.cleanup(this.options);
|
|
30
|
-
|
|
30
|
+
const slot = e.target;
|
|
31
|
+
this.options = slot.assignedElements({ flatten: true }).filter((el) => el instanceof UOption);
|
|
31
32
|
this.setup(this.options);
|
|
32
33
|
if (this.options.length > 0) this.popoverEl?.show(this.containerEl);
|
|
33
34
|
else this.popoverEl?.hide();
|
|
@@ -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.130.0/helpers/decorateMetadata.js";
|
|
3
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import { UMenuItem } from "../menu-item/UMenuItem.js";
|
|
5
5
|
import { styles } from "./UMenu.styles.js";
|
|
6
6
|
import { customElement, property } from "lit/decorators.js";
|
|
@@ -17,7 +17,8 @@ var UMenu = class UMenu extends UElement {
|
|
|
17
17
|
this.align = "left";
|
|
18
18
|
this._items = [];
|
|
19
19
|
this.handleSlotChange = (e) => {
|
|
20
|
-
|
|
20
|
+
const slot = e.target;
|
|
21
|
+
this._items = slot.assignedElements({ flatten: true }).filter((el) => el instanceof UMenuItem);
|
|
21
22
|
this.propagate();
|
|
22
23
|
};
|
|
23
24
|
this.handlePick = (e) => {
|
|
@@ -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.130.0/helpers/decorateMetadata.js";
|
|
3
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import "../icon/UIcon.js";
|
|
5
5
|
import { UDivider } from "../divider/UDivider.js";
|
|
6
6
|
import "../popover/UPopover.js";
|
|
@@ -47,7 +47,8 @@ var UMenuItem = class UMenuItem extends UElement {
|
|
|
47
47
|
for (const el of elements) if ((el instanceof _UMenuItem || el instanceof UDivider) && !el.hasAttribute("slot")) el.setAttribute("slot", "children");
|
|
48
48
|
};
|
|
49
49
|
this.handleChildrenSlotChange = (e) => {
|
|
50
|
-
|
|
50
|
+
const slot = e.target;
|
|
51
|
+
this._childItems = slot.assignedElements({ flatten: true }).filter((el) => el instanceof _UMenuItem);
|
|
51
52
|
this.leaf = this._childItems.length === 0;
|
|
52
53
|
this.propagate();
|
|
53
54
|
};
|
|
@@ -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.130.0/helpers/decorateMetadata.js";
|
|
3
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import "../icon/UIcon.js";
|
|
5
5
|
import { styles } from "./UOption.styles.js";
|
|
6
6
|
import { customElement, property } from "lit/decorators.js";
|
|
@@ -127,6 +127,13 @@ var styles = css`
|
|
|
127
127
|
margin-right: 0.5em;
|
|
128
128
|
color: var(--option-color-active);
|
|
129
129
|
}
|
|
130
|
+
|
|
131
|
+
::slotted([slot="prefix"]) {
|
|
132
|
+
margin-right: 0.25em;
|
|
133
|
+
}
|
|
134
|
+
::slotted([slot="suffix"]) {
|
|
135
|
+
margin-left: 0.25em;
|
|
136
|
+
}
|
|
130
137
|
`;
|
|
131
138
|
//#endregion
|
|
132
139
|
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.130.0/helpers/decorateMetadata.js";
|
|
3
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import { styles } from "./UPanel.styles.js";
|
|
5
5
|
import { customElement, property } from "lit/decorators.js";
|
|
6
6
|
import { html } from "lit";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorateMetadata.js";
|
|
2
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
3
3
|
import { UFloatingElement } from "../UFloatingElement.js";
|
|
4
4
|
import { arrayAttrConverter } from "../../utilities/converters.js";
|
|
5
5
|
import { styles } from "./UPopover.styles.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UElement } from "../UElement.js";
|
|
2
|
-
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorateMetadata.js";
|
|
3
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import { styles } from "./UProgressBar.styles.js";
|
|
5
5
|
import { customElement, property, state } from "lit/decorators.js";
|
|
6
6
|
import { html } from "lit";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UElement } from "../UElement.js";
|
|
2
|
-
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorateMetadata.js";
|
|
3
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import { styles } from "./UProgressRing.styles.js";
|
|
5
5
|
import { customElement, property, state } from "lit/decorators.js";
|
|
6
6
|
import { html } from "lit";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorateMetadata.js";
|
|
2
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
3
3
|
import { UFormControlElement } from "../UFormControlElement.js";
|
|
4
4
|
import "../field/UField.js";
|
|
5
5
|
import { UOption } from "../option/UOption.js";
|
|
@@ -16,7 +16,8 @@ var URadio = class URadio extends UFormControlElement {
|
|
|
16
16
|
this.options = [];
|
|
17
17
|
this.handleSlotChange = (e) => {
|
|
18
18
|
this.cleanup(this.options);
|
|
19
|
-
|
|
19
|
+
const slot = e.target;
|
|
20
|
+
this.options = slot.assignedElements({ flatten: true }).filter((el) => el instanceof UOption);
|
|
20
21
|
this.setup(this.options);
|
|
21
22
|
};
|
|
22
23
|
this.handleOptionClick = (e) => {
|
|
@@ -73,8 +74,7 @@ var URadio = class URadio extends UFormControlElement {
|
|
|
73
74
|
"readonly"
|
|
74
75
|
].some((k) => changedProperties.has(k))) this.options.forEach((option) => {
|
|
75
76
|
option.marker = this.type === "button" ? void 0 : "radio";
|
|
76
|
-
|
|
77
|
-
if (this.readonly) option.disabled = true;
|
|
77
|
+
option.disabled = this.disabled || this.readonly;
|
|
78
78
|
});
|
|
79
79
|
if (["value", "options"].some((k) => changedProperties.has(k))) this.onChangeValue();
|
|
80
80
|
}
|
|
@@ -111,8 +111,7 @@ var URadio = class URadio extends UFormControlElement {
|
|
|
111
111
|
option.addEventListener("keydown", this.handleOptionKeyDown);
|
|
112
112
|
option.selected = option.value === this.value;
|
|
113
113
|
option.marker = this.type === "button" ? void 0 : "radio";
|
|
114
|
-
|
|
115
|
-
if (this.readonly) option.disabled = true;
|
|
114
|
+
option.disabled = this.disabled || this.readonly;
|
|
116
115
|
}
|
|
117
116
|
}
|
|
118
117
|
cleanup(options) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorateMetadata.js";
|
|
2
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
3
3
|
import { UFormControlElement } from "../UFormControlElement.js";
|
|
4
4
|
import "../icon/UIcon.js";
|
|
5
5
|
import "../field/UField.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorateMetadata.js";
|
|
2
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
3
3
|
import { UFormControlElement } from "../UFormControlElement.js";
|
|
4
4
|
import "../icon/UIcon.js";
|
|
5
5
|
import "../spinner/USpinner.js";
|
|
@@ -22,7 +22,8 @@ var USelect = class USelect extends UFormControlElement {
|
|
|
22
22
|
this.options = [];
|
|
23
23
|
this.handleSlotChange = (e) => {
|
|
24
24
|
this.cleanup(this.options);
|
|
25
|
-
|
|
25
|
+
const slot = e.target;
|
|
26
|
+
this.options = slot.assignedElements({ flatten: true }).filter((el) => el instanceof UOption);
|
|
26
27
|
this.setup(this.options);
|
|
27
28
|
};
|
|
28
29
|
this.handleOptionClick = (e) => {
|
|
@@ -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.130.0/helpers/decorateMetadata.js";
|
|
3
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import { styles } from "./USkeleton.styles.js";
|
|
5
5
|
import { customElement, property } from "lit/decorators.js";
|
|
6
6
|
import { html } from "lit";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorateMetadata.js";
|
|
2
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
3
3
|
import { UFormControlElement } from "../UFormControlElement.js";
|
|
4
4
|
import "../tooltip/UTooltip.js";
|
|
5
5
|
import "../field/UField.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UElement } from "../UElement.js";
|
|
2
|
-
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorateMetadata.js";
|
|
3
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import { styles } from "./USpinner.styles.js";
|
|
5
5
|
import { customElement, property, state } from "lit/decorators.js";
|
|
6
6
|
import { html } from "lit";
|
|
@@ -26,7 +26,8 @@ var USpinner = class USpinner extends UElement {
|
|
|
26
26
|
`;
|
|
27
27
|
}
|
|
28
28
|
handleSlotChange(e) {
|
|
29
|
-
|
|
29
|
+
const nodes = e.target.assignedNodes({ flatten: true });
|
|
30
|
+
this.hasLabel = nodes.some((node) => node.nodeType === Node.ELEMENT_NODE || node.nodeType === Node.TEXT_NODE && node.textContent?.trim() !== "");
|
|
30
31
|
}
|
|
31
32
|
};
|
|
32
33
|
__decorate([property({
|
|
@@ -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.130.0/helpers/decorateMetadata.js";
|
|
3
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import { arrayAttrConverter } from "../../utilities/converters.js";
|
|
5
5
|
import { styles } from "./USplitPanel.styles.js";
|
|
6
6
|
import { customElement, property, query } from "lit/decorators.js";
|
|
@@ -24,12 +24,14 @@ var USplitPanel = class USplitPanel extends UElement {
|
|
|
24
24
|
ghostDelta: 0
|
|
25
25
|
};
|
|
26
26
|
this.handleSlotChange = (e) => {
|
|
27
|
-
|
|
27
|
+
const slot = e.target;
|
|
28
|
+
this.panels = slot.assignedElements({ flatten: true }).filter((el) => el instanceof HTMLElement);
|
|
28
29
|
this.appendSplitters();
|
|
29
30
|
this.updatePanelLayout();
|
|
30
31
|
};
|
|
31
32
|
this.handleSplitterSlotChange = (e) => {
|
|
32
|
-
|
|
33
|
+
const slot = e.target;
|
|
34
|
+
this.splitter = slot.assignedNodes({ flatten: true }).at(0);
|
|
33
35
|
this.appendSplitters();
|
|
34
36
|
};
|
|
35
37
|
this.handleDblClick = () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorateMetadata.js";
|
|
2
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
3
3
|
import { UFormControlElement } from "../UFormControlElement.js";
|
|
4
4
|
import { styles } from "./USwitch.styles.js";
|
|
5
5
|
import { customElement, property } from "lit/decorators.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UElement } from "../UElement.js";
|
|
2
|
-
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorateMetadata.js";
|
|
3
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import "../icon/UIcon.js";
|
|
5
5
|
import "../button/UButton.js";
|
|
6
6
|
import { styles } from "./UTab.styles.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UElement } from "../UElement.js";
|
|
2
|
-
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorateMetadata.js";
|
|
3
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import { UPanel } from "../panel/UPanel.js";
|
|
5
5
|
import { UTab } from "../tab/UTab.js";
|
|
6
6
|
import { styles } from "./UTabPanel.styles.js";
|
|
@@ -27,7 +27,8 @@ var UTabPanel = class UTabPanel extends UElement {
|
|
|
27
27
|
this.panels = panels;
|
|
28
28
|
};
|
|
29
29
|
this.handleTabSlotChange = (e) => {
|
|
30
|
-
|
|
30
|
+
const slot = e.target;
|
|
31
|
+
this.tabs = slot.assignedElements({ flatten: true }).filter((el) => el instanceof UTab);
|
|
31
32
|
this.tabs.forEach((tab) => {
|
|
32
33
|
tab.removeEventListener("click", this.handleTabClick);
|
|
33
34
|
tab.removeEventListener("keydown", this.handleTabKeydown);
|
|
@@ -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.130.0/helpers/decorateMetadata.js";
|
|
3
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import { styles } from "./UTag.styles.js";
|
|
5
5
|
import { customElement, property } from "lit/decorators.js";
|
|
6
6
|
import { html } from "lit";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorateMetadata.js";
|
|
2
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
3
3
|
import { UFormControlElement } from "../UFormControlElement.js";
|
|
4
4
|
import "../field/UField.js";
|
|
5
5
|
import { styles } from "./UTextarea.styles.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorateMetadata.js";
|
|
2
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
3
3
|
import { UFloatingElement } from "../UFloatingElement.js";
|
|
4
4
|
import { styles } from "./UTooltip.styles.js";
|
|
5
5
|
import { customElement, property } from "lit/decorators.js";
|
|
@@ -12,7 +12,8 @@ var UTooltip = class UTooltip extends UFloatingElement {
|
|
|
12
12
|
this.tracking = false;
|
|
13
13
|
this.isEmpty = true;
|
|
14
14
|
this.handleSlotChange = (event) => {
|
|
15
|
-
|
|
15
|
+
const slot = event.target;
|
|
16
|
+
this.isEmpty = slot.assignedNodes({ flatten: true }).every((node) => {
|
|
16
17
|
return node.nodeType === Node.TEXT_NODE && node.textContent?.trim() === "" || node.nodeType === Node.COMMENT_NODE;
|
|
17
18
|
});
|
|
18
19
|
};
|
|
@@ -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.130.0/helpers/decorateMetadata.js";
|
|
3
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import { UTreeItem } from "../tree-item/UTreeItem.js";
|
|
5
5
|
import { styles } from "./UTree.styles.js";
|
|
6
6
|
import { customElement, property, state } from "lit/decorators.js";
|
|
@@ -21,7 +21,8 @@ var UTree = class UTree extends UElement {
|
|
|
21
21
|
this.anchor = null;
|
|
22
22
|
this._items = [];
|
|
23
23
|
this.handleSlotChange = (e) => {
|
|
24
|
-
|
|
24
|
+
const slot = e.target;
|
|
25
|
+
this._items = slot.assignedElements({ flatten: true }).filter((el) => el instanceof UTreeItem);
|
|
25
26
|
this.propagate();
|
|
26
27
|
};
|
|
27
28
|
this.handleIconSlotChange = (e) => {
|
|
@@ -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.130.0/helpers/decorateMetadata.js";
|
|
3
|
+
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.130.0/helpers/decorate.js";
|
|
4
4
|
import "../icon/UIcon.js";
|
|
5
5
|
import "../spinner/USpinner.js";
|
|
6
6
|
import { styles } from "./UTreeItem.styles.js";
|
|
@@ -35,7 +35,8 @@ var UTreeItem = class UTreeItem extends UElement {
|
|
|
35
35
|
for (const el of elements) if (el instanceof _UTreeItem && !el.hasAttribute("slot")) el.setAttribute("slot", "children");
|
|
36
36
|
};
|
|
37
37
|
this.handleChildrenSlotChange = (e) => {
|
|
38
|
-
|
|
38
|
+
const slot = e.target;
|
|
39
|
+
this._childItems = slot.assignedElements({ flatten: true }).filter((el) => el instanceof _UTreeItem);
|
|
39
40
|
this.leaf = this._childItems.length === 0;
|
|
40
41
|
this.propagate();
|
|
41
42
|
};
|
package/dist/styles/light.css
CHANGED
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
--u-txt-color-hover: var(--u-blue-600);
|
|
139
139
|
--u-txt-color-active: var(--u-blue-600);
|
|
140
140
|
--u-txt-color-disabled: var(--u-neutral-400);
|
|
141
|
-
--u-txt-color-weak: var(--u-neutral-
|
|
141
|
+
--u-txt-color-weak: var(--u-neutral-500);
|
|
142
142
|
--u-txt-color-strong: var(--u-neutral-1000);
|
|
143
143
|
|
|
144
144
|
--u-link-txt-color: var(--u-blue-700);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iyulab/components",
|
|
3
3
|
"description": "web-components library based on lit-element made by iyulab",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.6",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"iyulab",
|
|
7
7
|
"components",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@floating-ui/dom": "^1.7.6",
|
|
48
|
-
"focus-trap": "^8.0
|
|
49
|
-
"lit": "^3.3.
|
|
48
|
+
"focus-trap": "^8.2.0",
|
|
49
|
+
"lit": "^3.3.3"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"@lit/react": ">=1.0.8",
|
|
@@ -62,16 +62,16 @@
|
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@eslint/js": "^9.39.4",
|
|
65
|
-
"@types/node": "^25.
|
|
65
|
+
"@types/node": "^25.8.0",
|
|
66
66
|
"eslint": "^9.39.4",
|
|
67
|
-
"eslint-plugin-lit": "^2.
|
|
67
|
+
"eslint-plugin-lit": "^2.3.1",
|
|
68
68
|
"glob": "^13.0.6",
|
|
69
|
-
"globals": "^17.
|
|
70
|
-
"react": "^19.2.
|
|
69
|
+
"globals": "^17.6.0",
|
|
70
|
+
"react": "^19.2.6",
|
|
71
71
|
"typescript": "^5.9.3",
|
|
72
|
-
"typescript-eslint": "^8.
|
|
73
|
-
"vite": "^8.0.
|
|
74
|
-
"vite-plugin-dts": "^
|
|
72
|
+
"typescript-eslint": "^8.59.3",
|
|
73
|
+
"vite": "^8.0.13",
|
|
74
|
+
"vite-plugin-dts": "^5.0.0",
|
|
75
75
|
"vite-plugin-static-copy": "^4.1.0"
|
|
76
76
|
}
|
|
77
77
|
}
|