@iyulab/components 1.36.0 → 1.37.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/dist/components/UFloatingElement.d.ts +13 -1
  3. package/dist/components/UFloatingElement.js +1 -1
  4. package/dist/components/date-picker/UDatePicker.d.ts +5 -0
  5. package/dist/components/date-picker/UDatePicker.js +1 -0
  6. package/dist/components/select/USelect.d.ts +4 -0
  7. package/dist/components/select/USelect.js +1 -0
  8. package/dist/plugins/vite-plugin-react-wrapper.js +31 -11
  9. package/dist/react/UAlert.d.ts +3 -3
  10. package/dist/react/UAlert.js +1 -1
  11. package/dist/react/UAvatar.d.ts +1 -1
  12. package/dist/react/UAvatar.js +1 -1
  13. package/dist/react/UBadge.d.ts +1 -1
  14. package/dist/react/UBadge.js +1 -1
  15. package/dist/react/UBreadcrumb.d.ts +1 -1
  16. package/dist/react/UBreadcrumb.js +1 -1
  17. package/dist/react/UBreadcrumbItem.d.ts +2 -2
  18. package/dist/react/UBreadcrumbItem.js +1 -1
  19. package/dist/react/UButton.d.ts +1 -1
  20. package/dist/react/UButton.js +1 -1
  21. package/dist/react/UButtonGroup.d.ts +1 -1
  22. package/dist/react/UButtonGroup.js +1 -1
  23. package/dist/react/UCard.d.ts +1 -1
  24. package/dist/react/UCard.js +1 -1
  25. package/dist/react/UCarousel.d.ts +1 -1
  26. package/dist/react/UCarousel.js +1 -1
  27. package/dist/react/UCheckbox.d.ts +1 -1
  28. package/dist/react/UCheckbox.js +1 -1
  29. package/dist/react/UChip.d.ts +3 -3
  30. package/dist/react/UChip.js +1 -1
  31. package/dist/react/UCopyButton.d.ts +1 -1
  32. package/dist/react/UCopyButton.js +1 -1
  33. package/dist/react/UDatePicker.d.ts +1 -1
  34. package/dist/react/UDatePicker.js +1 -1
  35. package/dist/react/UDialog.d.ts +3 -3
  36. package/dist/react/UDialog.js +1 -1
  37. package/dist/react/UDivider.d.ts +1 -1
  38. package/dist/react/UDivider.js +1 -1
  39. package/dist/react/UDrawer.d.ts +3 -3
  40. package/dist/react/UDrawer.js +1 -1
  41. package/dist/react/UExpander.d.ts +3 -3
  42. package/dist/react/UExpander.js +1 -1
  43. package/dist/react/UField.d.ts +1 -1
  44. package/dist/react/UField.js +1 -1
  45. package/dist/react/UFileInput.d.ts +1 -1
  46. package/dist/react/UFileInput.js +1 -1
  47. package/dist/react/UForm.d.ts +1 -1
  48. package/dist/react/UForm.js +1 -1
  49. package/dist/react/UIcon.d.ts +1 -1
  50. package/dist/react/UIcon.js +1 -1
  51. package/dist/react/UIconButton.d.ts +1 -1
  52. package/dist/react/UIconButton.js +1 -1
  53. package/dist/react/UInput.d.ts +1 -1
  54. package/dist/react/UInput.js +1 -1
  55. package/dist/react/UMenu.d.ts +1 -1
  56. package/dist/react/UMenu.js +1 -1
  57. package/dist/react/UMenuItem.d.ts +2 -2
  58. package/dist/react/UMenuItem.js +1 -1
  59. package/dist/react/UOption.d.ts +1 -1
  60. package/dist/react/UOption.js +1 -1
  61. package/dist/react/UPanel.d.ts +1 -1
  62. package/dist/react/UPanel.js +1 -1
  63. package/dist/react/UPopover.d.ts +3 -3
  64. package/dist/react/UPopover.js +1 -1
  65. package/dist/react/UProgressBar.d.ts +1 -1
  66. package/dist/react/UProgressBar.js +1 -1
  67. package/dist/react/UProgressRing.d.ts +1 -1
  68. package/dist/react/UProgressRing.js +1 -1
  69. package/dist/react/URadio.d.ts +1 -1
  70. package/dist/react/URadio.js +1 -1
  71. package/dist/react/URating.d.ts +1 -1
  72. package/dist/react/URating.js +1 -1
  73. package/dist/react/USelect.d.ts +1 -1
  74. package/dist/react/USelect.js +1 -1
  75. package/dist/react/USkeleton.d.ts +1 -1
  76. package/dist/react/USkeleton.js +1 -1
  77. package/dist/react/USlider.d.ts +1 -1
  78. package/dist/react/USlider.js +1 -1
  79. package/dist/react/USpinner.d.ts +1 -1
  80. package/dist/react/USpinner.js +1 -1
  81. package/dist/react/USplitPanel.d.ts +2 -2
  82. package/dist/react/USplitPanel.js +1 -1
  83. package/dist/react/USwitch.d.ts +1 -1
  84. package/dist/react/USwitch.js +1 -1
  85. package/dist/react/UTab.d.ts +2 -2
  86. package/dist/react/UTab.js +1 -1
  87. package/dist/react/UTabPanel.d.ts +1 -1
  88. package/dist/react/UTabPanel.js +1 -1
  89. package/dist/react/UTag.d.ts +1 -1
  90. package/dist/react/UTag.js +1 -1
  91. package/dist/react/UText.d.ts +1 -1
  92. package/dist/react/UText.js +1 -1
  93. package/dist/react/UTextarea.d.ts +1 -1
  94. package/dist/react/UTextarea.js +1 -1
  95. package/dist/react/UTooltip.d.ts +3 -3
  96. package/dist/react/UTooltip.js +1 -1
  97. package/dist/react/UTree.d.ts +1 -1
  98. package/dist/react/UTree.js +1 -1
  99. package/dist/react/UTreeItem.d.ts +5 -5
  100. package/dist/react/UTreeItem.js +1 -1
  101. package/package.json +2 -1
  102. package/skills/iyulab-components/references/components/popover.md +11 -1
  103. package/skills/iyulab-components/references/components/tooltip.md +11 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,55 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.37.1] - 2026-09-07
4
+
5
+ ### Fixed
6
+
7
+ - **A popover or tooltip with a wide trigger could still end up off-screen.**
8
+ When `placement` is set, `flip` is always applied, but it only considered the
9
+ opposite side on the same axis. A trigger that spans nearly the full viewport
10
+ width — a full-width row or drawer item, say — leaves room on neither the left
11
+ nor the right, so a `right-end` popover flipped to `left-end`, found no room
12
+ there either, and rendered outside the viewport. `flip` now also falls back to
13
+ the perpendicular axis, tried strictly last: a placement that already fits is
14
+ never re-evaluated, so this only changes cases that were previously broken.
15
+ The `placement` docs described the old, narrower behavior and have been
16
+ corrected in the JSDoc and the popover/tooltip references.
17
+
18
+ - **The generated React wrappers pointed at a different copy of each element
19
+ class than a deep import did.** Each wrapper reached its element class by a
20
+ relative path, which bypasses the package's own `exports` map. In a workspace
21
+ that redirects `./dist/*` to source for live editing, that left the wrapper on
22
+ one declaration tree and every consumer deep import on another, so the same
23
+ component existed as two nominal types and merging both into
24
+ `HTMLElementTagNameMap` failed with `TS2717` — importing `@iyulab/components/react`
25
+ anywhere in such a program was impossible. Wrappers (and their event-detail
26
+ type imports) now reference the package by name, letting the `exports` map
27
+ resolve both axes to one tree in either setting. Published output is
28
+ unaffected: both forms resolve to the same built file there. The React type
29
+ smoke fixture no longer needs its `paths` override to compile.
30
+
31
+ ## [1.37.0] - 2026-09-06
32
+
33
+ ### Added
34
+
35
+ - **`u-date-picker` and `u-select` expose a `:state(open)` custom state.**
36
+ Both already tracked their popover's open/closed state privately; it is now
37
+ surfaced through `ElementInternals.states` so consumers can style the trigger
38
+ while the popover is showing — `u-date-picker:state(open)::part(container)`,
39
+ `u-select:state(open)::part(container)`. Deliberately not a reflected
40
+ attribute: the state stays private to the component and exists only as a CSS
41
+ hook, so no new public attribute enters the API surface.
42
+
43
+ ### Documentation
44
+
45
+ - **`UFloatingElement.placement` documents that `flip` is always applied.**
46
+ Whenever `placement` is set, floating-ui's `flip` middleware runs (switching
47
+ to the opposite side when the placed side has no room) — this has always been
48
+ the behavior but was undocumented, and `shift`'s description ("keeps the
49
+ element on screen") over-promised, since `shift` only corrects the cross axis
50
+ *within* a side. Both properties now describe the split, and a regression test
51
+ covers the flip fallback.
52
+
3
53
  ## [1.36.0] - 2026-09-04
4
54
 
5
55
  ### Added
@@ -51,6 +51,16 @@ export declare class UFloatingElement extends UElement {
51
51
  * 대상 엘리먼트로부터의 배치 위치입니다.
52
52
  * 지정하지 않으면 자동으로 가장 적절한 위치가 선택됩니다.
53
53
  *
54
+ * @remarks
55
+ * 지정한 변(side)에 공간이 없으면 자동으로 다른 변으로 전환됩니다(floating-ui의
56
+ * `flip` 미들웨어가 `placement`를 지정했을 때 항상 함께 적용됩니다 — 별도
57
+ * 옵션으로 끌 수 없습니다). 전환 순서는 **같은 축의 반대 변이 먼저**이고, 그쪽에도
58
+ * 공간이 없을 때만 **수직 축**으로 넘어갑니다 — 예를 들어 `right-end`는
59
+ * `left-end` → `top-end`/`bottom-end` 순으로 시도합니다. 트리거가 넓어(예:
60
+ * 전체 폭 사이드바 항목) 좌·우 어느 쪽에도 공간이 없는 경우가 이 마지막 단계가
61
+ * 필요한 자리입니다. `shift`는 이 전환과 별개로, 전환된(또는 지정된) 변
62
+ * **안에서** 교차축 위치만 보정합니다.
63
+ *
54
64
  * @default undefined
55
65
  */
56
66
  placement?: Placement;
@@ -62,7 +72,9 @@ export declare class UFloatingElement extends UElement {
62
72
  */
63
73
  offset: OffsetOptions;
64
74
  /**
65
- * 엘리먼트가 화면 안에 머물도록 자동으로 위치를 조정할지 여부입니다.
75
+ * 지정된(또는 `flip`으로 전환된) 배치 변 **안에서** 교차축 위치를 자동으로
76
+ * 보정할지 여부입니다 — 그 변 자체에 공간이 없어 반대 변으로 넘어가는 것은
77
+ * `placement` 설명의 `flip` 동작이 담당합니다.
66
78
  *
67
79
  * @default false
68
80
  */
@@ -138,7 +138,7 @@ var UFloatingElement = class extends UElement {
138
138
  middleware: [
139
139
  offset(this.offset),
140
140
  shift({ mainAxis: this.shift }),
141
- this.placement ? flip() : autoPlacement(),
141
+ this.placement ? flip({ fallbackAxisSideDirection: "start" }) : autoPlacement(),
142
142
  ...this.arrowEl ? [arrow({ element: this.arrowEl })] : [],
143
143
  hide()
144
144
  ]
@@ -16,6 +16,11 @@ export type DatePickerMode = 'date' | 'datetime';
16
16
  * first day of week from `Intl.Locale(locale).weekInfo?.firstDay`, falling back to Sunday
17
17
  * where unsupported.
18
18
  *
19
+ * Exposes a `:state(open)` custom state (via `ElementInternals.states`) while the calendar
20
+ * popover is showing — style with `u-date-picker:state(open)::part(container)`. Unlike
21
+ * `mode`/`clearable`, this state is never reflected as a public attribute — it exists purely
22
+ * as a CSS hook for consumers who want to react to the open/closed state from outside.
23
+ *
19
24
  * @csspart field - the u-field element
20
25
  * @csspart container - the element wrapping the trigger area
21
26
  * @csspart popover - the popover element showing the calendar
@@ -178,6 +178,7 @@ var UDatePicker = class UDatePicker extends UFormControlElement {
178
178
  updated(changed) {
179
179
  super.updated(changed);
180
180
  if (changed.has("value")) this.internals?.setFormValue(this.value ?? "");
181
+ if (changed.has("open")) this.internals?.states[this.open ? "add" : "delete"]("open");
181
182
  if (changed.has("open") && this.open || changed.has("focusedDate") && this.open && this.grabFocusOnUpdate) {
182
183
  this.grabFocusOnUpdate = false;
183
184
  this.popoverEl?.updateComplete.then(() => this.focusDayButton(this.focusedDate));
@@ -12,6 +12,10 @@ export type SelectVariant = 'outlined' | 'filled' | 'underlined' | 'borderless';
12
12
  * 팝오버 목록에서 사라지기 때문. 리치 콘텐츠가 필요하면 이 slot에 별도 마크업을 할당하고
13
13
  * `change` 이벤트에서 직접 갱신한다.)
14
14
  *
15
+ * 옵션 목록 팝오버가 열려 있는 동안 `:state(open)` 커스텀 상태를 노출한다(via
16
+ * `ElementInternals.states`) — `u-select:state(open)::part(container)`로 스타일링할 수
17
+ * 있다. 공개 속성으로 반사되지 않는다.
18
+ *
15
19
  * @csspart field - u-field 요소
16
20
  * @csspart container - 트리거 영역을 감싸는 요소
17
21
  * @csspart popover - 옵션 목록이 표시되는 팝오버 요소
@@ -153,6 +153,7 @@ var USelect = class USelect extends UFormControlElement {
153
153
  updated(changedProperties) {
154
154
  super.updated(changedProperties);
155
155
  if (["value", "options"].some((k) => changedProperties.has(k))) this.onChangeValue();
156
+ if (changedProperties.has("open")) this.internals?.states[this.open ? "add" : "delete"]("open");
156
157
  }
157
158
  render() {
158
159
  return html`
@@ -1,4 +1,4 @@
1
- import { resolve, join, relative, dirname, basename } from 'path';
1
+ import { resolve, join, relative, dirname, basename, sep } from 'path';
2
2
  import { readFileSync, writeFileSync, mkdirSync, existsSync } from 'fs';
3
3
  import { gzipSync } from 'zlib';
4
4
  import { globSync } from 'glob';
@@ -9,12 +9,15 @@ export default function reactWrapperPlugin(options) {
9
9
  let rootDir;
10
10
  let buildOutDir;
11
11
  let outDir;
12
+ /** 자기 패키지 이름 — 래퍼가 원본 클래스를 «패키지 스펙»으로 가리키기 위해 필요하다. 손으로 쓰지 않고 매니페스트에서 읽는다. */
13
+ let pkgName;
12
14
  return {
13
15
  name: 'vite-plugin-react-wrapper',
14
16
  configResolved(config) {
15
17
  rootDir = config.root;
16
18
  buildOutDir = resolve(rootDir, config.build.outDir);
17
19
  outDir = resolve(buildOutDir, options.output || 'react');
20
+ pkgName = JSON.parse(readFileSync(resolve(rootDir, 'package.json'), 'utf-8')).name;
18
21
  },
19
22
  closeBundle() {
20
23
  const log = (msg) => console.log(`\x1b[36m[react-wrapper]\x1b[0m ${msg}`);
@@ -44,7 +47,7 @@ export default function reactWrapperPlugin(options) {
44
47
  // 래퍼 생성
45
48
  const generated = [];
46
49
  for (const comp of components) {
47
- generated.push(...writeWrapper(comp, outDir, buildOutDir));
50
+ generated.push(...writeWrapper(comp, outDir, buildOutDir, pkgName));
48
51
  }
49
52
  generated.push(...writeIndex(components, outDir, buildOutDir));
50
53
  // 결과 출력
@@ -180,13 +183,28 @@ function writeFile(filePath, content, buildOutDir) {
180
183
  gzipSize: gzipSync(content).length,
181
184
  };
182
185
  }
183
- function computeImportPath(from, to) {
184
- let rel = relative(dirname(from), to).replace(/\\/g, '/').replace(/\.ts$/, '');
185
- if (!rel.startsWith('.'))
186
- rel = './' + rel;
187
- return rel;
186
+ /**
187
+ * 래퍼가 원본 엘리먼트 클래스를 가리키는 경로.
188
+ *
189
+ * 🔴**상대 경로가 아니라 «패키지 스펙»으로 낸다**(cycle-434). 상대 경로는 패키지
190
+ * `exports` 맵을 거치지 않으므로, 로컬 워크스페이스에서 래퍼는 **항상 진짜 `dist`**
191
+ * 의 클래스를 싣는다. 그런데 같은 워크스페이스의 소비자가 하는 deep import 는
192
+ * `"./dist/*": "./src/*"` 리다이렉트를 타 **`src` 의 클래스**를 싣는다 — 같은 논리적
193
+ * 컴포넌트가 **두 nominal 타입**으로 존재하게 되고, 둘 다 같은 태그로
194
+ * `HTMLElementTagNameMap` 을 병합하려 해 `TS2717` 이 난다.
195
+ *
196
+ * ⇒ 래퍼도 패키지 스펙으로 적으면 **`exports` 맵이 분기를 대신한다**: 로컬에서는
197
+ * 리다이렉트를 타 `src` 로, 게시본에서는 배포 워크플로가 `./src/` 를 `./dist/` 로
198
+ * 치환하므로 진짜 `dist` 로 간다. **두 세계 모두에서 클래스가 하나다.**
199
+ *
200
+ * ⚠**`.js` 확장자를 `.d.ts` 쪽에서도 유지한다** — `exports` 서브패스 매칭은 문자
201
+ * 그대로라 확장자를 떼면 `"./dist/*"` 패턴이 다른 문자열을 만든다.
202
+ */
203
+ function computeImportPath(to, buildOutDir, pkgName) {
204
+ const sub = relative(buildOutDir, to).split(sep).join('/');
205
+ return pkgName + '/dist/' + sub;
188
206
  }
189
- function writeWrapper(comp, outDir, buildOutDir) {
207
+ function writeWrapper(comp, outDir, buildOutDir, pkgName) {
190
208
  const { className, tagName, events } = comp;
191
209
  const jsPath = join(outDir, `${className}.js`);
192
210
  const dtsPath = join(outDir, `${className}.d.ts`);
@@ -196,7 +214,7 @@ function writeWrapper(comp, outDir, buildOutDir) {
196
214
  ? comp.filePath.substring(srcIndex + 5).replace(/\\/g, '/').replace(/\.ts$/, '')
197
215
  : basename(comp.filePath, '.ts');
198
216
  const builtModulePath = resolve(buildOutDir, relFromSrc + '.js');
199
- const importPath = computeImportPath(jsPath, builtModulePath);
217
+ const importPath = computeImportPath(builtModulePath, buildOutDir, pkgName);
200
218
  // events 객체 생성
201
219
  const eventsObj = events.length > 0
202
220
  ? `{\n${events.map(e => ` ${e.reactName}: '${e.name}',`).join('\n')}\n }`
@@ -214,7 +232,7 @@ export const ${className} = createComponent({
214
232
  });
215
233
  `;
216
234
  // .d.ts - import 구문 생성
217
- const dtsImportPath = importPath.replace(/\.js$/, '');
235
+ const dtsImportPath = importPath; // `.js` 유지 — exports 서브패스는 문자 그대로 매칭된다
218
236
  const dtsImports = [
219
237
  `import React from 'react';`,
220
238
  `import { ${className} as ${className}Element } from '${dtsImportPath}';`,
@@ -234,7 +252,9 @@ export const ${className} = createComponent({
234
252
  if (!relFromSrc)
235
253
  continue;
236
254
  const absEventBuilt = resolve(buildOutDir, relFromSrc);
237
- const eventImportPath = computeImportPath(dtsPath, absEventBuilt + '.js').replace(/\.js$/, '');
255
+ // 이벤트 detail 타입도 같은 이유로 «패키지 스펙»이어야 한다 — 상대 경로면 로컬에서
256
+ // 소비자가 보는 detail 타입과 다른 nominal 타입이 된다(위 computeImportPath 주석).
257
+ const eventImportPath = computeImportPath(absEventBuilt + '.js', buildOutDir, pkgName);
238
258
  const types = detailImportMap.get(eventImportPath) || [];
239
259
  if (!types.includes(e.detailType))
240
260
  types.push(e.detailType);
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { UAlert as UAlertElement } from '../components/alert/UAlert';
3
- import { type ShowEventDetail } from '../events/ShowEvent';
4
- import { type HideEventDetail } from '../events/HideEvent';
2
+ import { UAlert as UAlertElement } from '@iyulab/components/dist/components/alert/UAlert.js';
3
+ import { type ShowEventDetail } from '@iyulab/components/dist/events/ShowEvent.js';
4
+ import { type HideEventDetail } from '@iyulab/components/dist/events/HideEvent.js';
5
5
 
6
6
  export declare const UAlert: React.ForwardRefExoticComponent<
7
7
  Omit<Partial<UAlertElement>, keyof React.HTMLAttributes<UAlertElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UAlert as UAlertElement } from '../components/alert/UAlert.js';
3
+ import { UAlert as UAlertElement } from '@iyulab/components/dist/components/alert/UAlert.js';
4
4
 
5
5
  export const UAlert = createComponent({
6
6
  react: React,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { UAvatar as UAvatarElement } from '../components/avatar/UAvatar';
2
+ import { UAvatar as UAvatarElement } from '@iyulab/components/dist/components/avatar/UAvatar.js';
3
3
 
4
4
  export declare const UAvatar: React.ForwardRefExoticComponent<
5
5
  Omit<Partial<UAvatarElement>, keyof React.HTMLAttributes<UAvatarElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UAvatar as UAvatarElement } from '../components/avatar/UAvatar.js';
3
+ import { UAvatar as UAvatarElement } from '@iyulab/components/dist/components/avatar/UAvatar.js';
4
4
 
5
5
  export const UAvatar = createComponent({
6
6
  react: React,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { UBadge as UBadgeElement } from '../components/badge/UBadge';
2
+ import { UBadge as UBadgeElement } from '@iyulab/components/dist/components/badge/UBadge.js';
3
3
 
4
4
  export declare const UBadge: React.ForwardRefExoticComponent<
5
5
  Omit<Partial<UBadgeElement>, keyof React.HTMLAttributes<UBadgeElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UBadge as UBadgeElement } from '../components/badge/UBadge.js';
3
+ import { UBadge as UBadgeElement } from '@iyulab/components/dist/components/badge/UBadge.js';
4
4
 
5
5
  export const UBadge = createComponent({
6
6
  react: React,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { UBreadcrumb as UBreadcrumbElement } from '../components/breadcrumb/UBreadcrumb';
2
+ import { UBreadcrumb as UBreadcrumbElement } from '@iyulab/components/dist/components/breadcrumb/UBreadcrumb.js';
3
3
 
4
4
  export declare const UBreadcrumb: React.ForwardRefExoticComponent<
5
5
  Omit<Partial<UBreadcrumbElement>, keyof React.HTMLAttributes<UBreadcrumbElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UBreadcrumb as UBreadcrumbElement } from '../components/breadcrumb/UBreadcrumb.js';
3
+ import { UBreadcrumb as UBreadcrumbElement } from '@iyulab/components/dist/components/breadcrumb/UBreadcrumb.js';
4
4
 
5
5
  export const UBreadcrumb = createComponent({
6
6
  react: React,
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { UBreadcrumbItem as UBreadcrumbItemElement } from '../components/breadcrumb-item/UBreadcrumbItem';
3
- import { type NavigateEventDetail } from '../events/NavigateEvent';
2
+ import { UBreadcrumbItem as UBreadcrumbItemElement } from '@iyulab/components/dist/components/breadcrumb-item/UBreadcrumbItem.js';
3
+ import { type NavigateEventDetail } from '@iyulab/components/dist/events/NavigateEvent.js';
4
4
 
5
5
  export declare const UBreadcrumbItem: React.ForwardRefExoticComponent<
6
6
  Omit<Partial<UBreadcrumbItemElement>, keyof React.HTMLAttributes<UBreadcrumbItemElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UBreadcrumbItem as UBreadcrumbItemElement } from '../components/breadcrumb-item/UBreadcrumbItem.js';
3
+ import { UBreadcrumbItem as UBreadcrumbItemElement } from '@iyulab/components/dist/components/breadcrumb-item/UBreadcrumbItem.js';
4
4
 
5
5
  export const UBreadcrumbItem = createComponent({
6
6
  react: React,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { UButton as UButtonElement } from '../components/button/UButton';
2
+ import { UButton as UButtonElement } from '@iyulab/components/dist/components/button/UButton.js';
3
3
 
4
4
  export declare const UButton: React.ForwardRefExoticComponent<
5
5
  Omit<Partial<UButtonElement>, keyof React.HTMLAttributes<UButtonElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UButton as UButtonElement } from '../components/button/UButton.js';
3
+ import { UButton as UButtonElement } from '@iyulab/components/dist/components/button/UButton.js';
4
4
 
5
5
  export const UButton = createComponent({
6
6
  react: React,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { UButtonGroup as UButtonGroupElement } from '../components/button-group/UButtonGroup';
2
+ import { UButtonGroup as UButtonGroupElement } from '@iyulab/components/dist/components/button-group/UButtonGroup.js';
3
3
 
4
4
  export declare const UButtonGroup: React.ForwardRefExoticComponent<
5
5
  Omit<Partial<UButtonGroupElement>, keyof React.HTMLAttributes<UButtonGroupElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UButtonGroup as UButtonGroupElement } from '../components/button-group/UButtonGroup.js';
3
+ import { UButtonGroup as UButtonGroupElement } from '@iyulab/components/dist/components/button-group/UButtonGroup.js';
4
4
 
5
5
  export const UButtonGroup = createComponent({
6
6
  react: React,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { UCard as UCardElement } from '../components/card/UCard';
2
+ import { UCard as UCardElement } from '@iyulab/components/dist/components/card/UCard.js';
3
3
 
4
4
  export declare const UCard: React.ForwardRefExoticComponent<
5
5
  Omit<Partial<UCardElement>, keyof React.HTMLAttributes<UCardElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UCard as UCardElement } from '../components/card/UCard.js';
3
+ import { UCard as UCardElement } from '@iyulab/components/dist/components/card/UCard.js';
4
4
 
5
5
  export const UCard = createComponent({
6
6
  react: React,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { UCarousel as UCarouselElement } from '../components/carousel/UCarousel';
2
+ import { UCarousel as UCarouselElement } from '@iyulab/components/dist/components/carousel/UCarousel.js';
3
3
 
4
4
  export declare const UCarousel: React.ForwardRefExoticComponent<
5
5
  Omit<Partial<UCarouselElement>, keyof React.HTMLAttributes<UCarouselElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UCarousel as UCarouselElement } from '../components/carousel/UCarousel.js';
3
+ import { UCarousel as UCarouselElement } from '@iyulab/components/dist/components/carousel/UCarousel.js';
4
4
 
5
5
  export const UCarousel = createComponent({
6
6
  react: React,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { UCheckbox as UCheckboxElement } from '../components/checkbox/UCheckbox';
2
+ import { UCheckbox as UCheckboxElement } from '@iyulab/components/dist/components/checkbox/UCheckbox.js';
3
3
 
4
4
  export declare const UCheckbox: React.ForwardRefExoticComponent<
5
5
  Omit<Partial<UCheckboxElement>, keyof React.HTMLAttributes<UCheckboxElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UCheckbox as UCheckboxElement } from '../components/checkbox/UCheckbox.js';
3
+ import { UCheckbox as UCheckboxElement } from '@iyulab/components/dist/components/checkbox/UCheckbox.js';
4
4
 
5
5
  export const UCheckbox = createComponent({
6
6
  react: React,
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { UChip as UChipElement } from '../components/chip/UChip';
3
- import { type PickEventDetail } from '../events/PickEvent';
4
- import { type RemoveEventDetail } from '../events/RemoveEvent';
2
+ import { UChip as UChipElement } from '@iyulab/components/dist/components/chip/UChip.js';
3
+ import { type PickEventDetail } from '@iyulab/components/dist/events/PickEvent.js';
4
+ import { type RemoveEventDetail } from '@iyulab/components/dist/events/RemoveEvent.js';
5
5
 
6
6
  export declare const UChip: React.ForwardRefExoticComponent<
7
7
  Omit<Partial<UChipElement>, keyof React.HTMLAttributes<UChipElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UChip as UChipElement } from '../components/chip/UChip.js';
3
+ import { UChip as UChipElement } from '@iyulab/components/dist/components/chip/UChip.js';
4
4
 
5
5
  export const UChip = createComponent({
6
6
  react: React,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { UCopyButton as UCopyButtonElement } from '../components/copy-button/UCopyButton';
2
+ import { UCopyButton as UCopyButtonElement } from '@iyulab/components/dist/components/copy-button/UCopyButton.js';
3
3
 
4
4
  export declare const UCopyButton: React.ForwardRefExoticComponent<
5
5
  Omit<Partial<UCopyButtonElement>, keyof React.HTMLAttributes<UCopyButtonElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UCopyButton as UCopyButtonElement } from '../components/copy-button/UCopyButton.js';
3
+ import { UCopyButton as UCopyButtonElement } from '@iyulab/components/dist/components/copy-button/UCopyButton.js';
4
4
 
5
5
  export const UCopyButton = createComponent({
6
6
  react: React,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { UDatePicker as UDatePickerElement } from '../components/date-picker/UDatePicker';
2
+ import { UDatePicker as UDatePickerElement } from '@iyulab/components/dist/components/date-picker/UDatePicker.js';
3
3
 
4
4
  export declare const UDatePicker: React.ForwardRefExoticComponent<
5
5
  Omit<Partial<UDatePickerElement>, keyof React.HTMLAttributes<UDatePickerElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UDatePicker as UDatePickerElement } from '../components/date-picker/UDatePicker.js';
3
+ import { UDatePicker as UDatePickerElement } from '@iyulab/components/dist/components/date-picker/UDatePicker.js';
4
4
 
5
5
  export const UDatePicker = createComponent({
6
6
  react: React,
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { UDialog as UDialogElement } from '../components/dialog/UDialog';
3
- import { type ShowEventDetail } from '../events/ShowEvent';
4
- import { type HideEventDetail } from '../events/HideEvent';
2
+ import { UDialog as UDialogElement } from '@iyulab/components/dist/components/dialog/UDialog.js';
3
+ import { type ShowEventDetail } from '@iyulab/components/dist/events/ShowEvent.js';
4
+ import { type HideEventDetail } from '@iyulab/components/dist/events/HideEvent.js';
5
5
 
6
6
  export declare const UDialog: React.ForwardRefExoticComponent<
7
7
  Omit<Partial<UDialogElement>, keyof React.HTMLAttributes<UDialogElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UDialog as UDialogElement } from '../components/dialog/UDialog.js';
3
+ import { UDialog as UDialogElement } from '@iyulab/components/dist/components/dialog/UDialog.js';
4
4
 
5
5
  export const UDialog = createComponent({
6
6
  react: React,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { UDivider as UDividerElement } from '../components/divider/UDivider';
2
+ import { UDivider as UDividerElement } from '@iyulab/components/dist/components/divider/UDivider.js';
3
3
 
4
4
  export declare const UDivider: React.ForwardRefExoticComponent<
5
5
  Omit<Partial<UDividerElement>, keyof React.HTMLAttributes<UDividerElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UDivider as UDividerElement } from '../components/divider/UDivider.js';
3
+ import { UDivider as UDividerElement } from '@iyulab/components/dist/components/divider/UDivider.js';
4
4
 
5
5
  export const UDivider = createComponent({
6
6
  react: React,
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { UDrawer as UDrawerElement } from '../components/drawer/UDrawer';
3
- import { type ShowEventDetail } from '../events/ShowEvent';
4
- import { type HideEventDetail } from '../events/HideEvent';
2
+ import { UDrawer as UDrawerElement } from '@iyulab/components/dist/components/drawer/UDrawer.js';
3
+ import { type ShowEventDetail } from '@iyulab/components/dist/events/ShowEvent.js';
4
+ import { type HideEventDetail } from '@iyulab/components/dist/events/HideEvent.js';
5
5
 
6
6
  export declare const UDrawer: React.ForwardRefExoticComponent<
7
7
  Omit<Partial<UDrawerElement>, keyof React.HTMLAttributes<UDrawerElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UDrawer as UDrawerElement } from '../components/drawer/UDrawer.js';
3
+ import { UDrawer as UDrawerElement } from '@iyulab/components/dist/components/drawer/UDrawer.js';
4
4
 
5
5
  export const UDrawer = createComponent({
6
6
  react: React,
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { UExpander as UExpanderElement } from '../components/expander/UExpander';
3
- import { type ExpandEventDetail } from '../events/ExpandEvent';
4
- import { type CollapseEventDetail } from '../events/CollapseEvent';
2
+ import { UExpander as UExpanderElement } from '@iyulab/components/dist/components/expander/UExpander.js';
3
+ import { type ExpandEventDetail } from '@iyulab/components/dist/events/ExpandEvent.js';
4
+ import { type CollapseEventDetail } from '@iyulab/components/dist/events/CollapseEvent.js';
5
5
 
6
6
  export declare const UExpander: React.ForwardRefExoticComponent<
7
7
  Omit<Partial<UExpanderElement>, keyof React.HTMLAttributes<UExpanderElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UExpander as UExpanderElement } from '../components/expander/UExpander.js';
3
+ import { UExpander as UExpanderElement } from '@iyulab/components/dist/components/expander/UExpander.js';
4
4
 
5
5
  export const UExpander = createComponent({
6
6
  react: React,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { UField as UFieldElement } from '../components/field/UField';
2
+ import { UField as UFieldElement } from '@iyulab/components/dist/components/field/UField.js';
3
3
 
4
4
  export declare const UField: React.ForwardRefExoticComponent<
5
5
  Omit<Partial<UFieldElement>, keyof React.HTMLAttributes<UFieldElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UField as UFieldElement } from '../components/field/UField.js';
3
+ import { UField as UFieldElement } from '@iyulab/components/dist/components/field/UField.js';
4
4
 
5
5
  export const UField = createComponent({
6
6
  react: React,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { UFileInput as UFileInputElement } from '../components/file-input/UFileInput';
2
+ import { UFileInput as UFileInputElement } from '@iyulab/components/dist/components/file-input/UFileInput.js';
3
3
 
4
4
  export declare const UFileInput: React.ForwardRefExoticComponent<
5
5
  Omit<Partial<UFileInputElement>, keyof React.HTMLAttributes<UFileInputElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UFileInput as UFileInputElement } from '../components/file-input/UFileInput.js';
3
+ import { UFileInput as UFileInputElement } from '@iyulab/components/dist/components/file-input/UFileInput.js';
4
4
 
5
5
  export const UFileInput = createComponent({
6
6
  react: React,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { UForm as UFormElement } from '../components/form/UForm';
2
+ import { UForm as UFormElement } from '@iyulab/components/dist/components/form/UForm.js';
3
3
 
4
4
  export declare const UForm: React.ForwardRefExoticComponent<
5
5
  Omit<Partial<UFormElement>, keyof React.HTMLAttributes<UFormElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UForm as UFormElement } from '../components/form/UForm.js';
3
+ import { UForm as UFormElement } from '@iyulab/components/dist/components/form/UForm.js';
4
4
 
5
5
  export const UForm = createComponent({
6
6
  react: React,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { UIcon as UIconElement } from '../components/icon/UIcon';
2
+ import { UIcon as UIconElement } from '@iyulab/components/dist/components/icon/UIcon.js';
3
3
 
4
4
  export declare const UIcon: React.ForwardRefExoticComponent<
5
5
  Omit<Partial<UIconElement>, keyof React.HTMLAttributes<UIconElement>>