@iyulab/components 1.37.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 (99) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/components/UFloatingElement.d.ts +7 -3
  3. package/dist/components/UFloatingElement.js +1 -1
  4. package/dist/plugins/vite-plugin-react-wrapper.js +31 -11
  5. package/dist/react/UAlert.d.ts +3 -3
  6. package/dist/react/UAlert.js +1 -1
  7. package/dist/react/UAvatar.d.ts +1 -1
  8. package/dist/react/UAvatar.js +1 -1
  9. package/dist/react/UBadge.d.ts +1 -1
  10. package/dist/react/UBadge.js +1 -1
  11. package/dist/react/UBreadcrumb.d.ts +1 -1
  12. package/dist/react/UBreadcrumb.js +1 -1
  13. package/dist/react/UBreadcrumbItem.d.ts +2 -2
  14. package/dist/react/UBreadcrumbItem.js +1 -1
  15. package/dist/react/UButton.d.ts +1 -1
  16. package/dist/react/UButton.js +1 -1
  17. package/dist/react/UButtonGroup.d.ts +1 -1
  18. package/dist/react/UButtonGroup.js +1 -1
  19. package/dist/react/UCard.d.ts +1 -1
  20. package/dist/react/UCard.js +1 -1
  21. package/dist/react/UCarousel.d.ts +1 -1
  22. package/dist/react/UCarousel.js +1 -1
  23. package/dist/react/UCheckbox.d.ts +1 -1
  24. package/dist/react/UCheckbox.js +1 -1
  25. package/dist/react/UChip.d.ts +3 -3
  26. package/dist/react/UChip.js +1 -1
  27. package/dist/react/UCopyButton.d.ts +1 -1
  28. package/dist/react/UCopyButton.js +1 -1
  29. package/dist/react/UDatePicker.d.ts +1 -1
  30. package/dist/react/UDatePicker.js +1 -1
  31. package/dist/react/UDialog.d.ts +3 -3
  32. package/dist/react/UDialog.js +1 -1
  33. package/dist/react/UDivider.d.ts +1 -1
  34. package/dist/react/UDivider.js +1 -1
  35. package/dist/react/UDrawer.d.ts +3 -3
  36. package/dist/react/UDrawer.js +1 -1
  37. package/dist/react/UExpander.d.ts +3 -3
  38. package/dist/react/UExpander.js +1 -1
  39. package/dist/react/UField.d.ts +1 -1
  40. package/dist/react/UField.js +1 -1
  41. package/dist/react/UFileInput.d.ts +1 -1
  42. package/dist/react/UFileInput.js +1 -1
  43. package/dist/react/UForm.d.ts +1 -1
  44. package/dist/react/UForm.js +1 -1
  45. package/dist/react/UIcon.d.ts +1 -1
  46. package/dist/react/UIcon.js +1 -1
  47. package/dist/react/UIconButton.d.ts +1 -1
  48. package/dist/react/UIconButton.js +1 -1
  49. package/dist/react/UInput.d.ts +1 -1
  50. package/dist/react/UInput.js +1 -1
  51. package/dist/react/UMenu.d.ts +1 -1
  52. package/dist/react/UMenu.js +1 -1
  53. package/dist/react/UMenuItem.d.ts +2 -2
  54. package/dist/react/UMenuItem.js +1 -1
  55. package/dist/react/UOption.d.ts +1 -1
  56. package/dist/react/UOption.js +1 -1
  57. package/dist/react/UPanel.d.ts +1 -1
  58. package/dist/react/UPanel.js +1 -1
  59. package/dist/react/UPopover.d.ts +3 -3
  60. package/dist/react/UPopover.js +1 -1
  61. package/dist/react/UProgressBar.d.ts +1 -1
  62. package/dist/react/UProgressBar.js +1 -1
  63. package/dist/react/UProgressRing.d.ts +1 -1
  64. package/dist/react/UProgressRing.js +1 -1
  65. package/dist/react/URadio.d.ts +1 -1
  66. package/dist/react/URadio.js +1 -1
  67. package/dist/react/URating.d.ts +1 -1
  68. package/dist/react/URating.js +1 -1
  69. package/dist/react/USelect.d.ts +1 -1
  70. package/dist/react/USelect.js +1 -1
  71. package/dist/react/USkeleton.d.ts +1 -1
  72. package/dist/react/USkeleton.js +1 -1
  73. package/dist/react/USlider.d.ts +1 -1
  74. package/dist/react/USlider.js +1 -1
  75. package/dist/react/USpinner.d.ts +1 -1
  76. package/dist/react/USpinner.js +1 -1
  77. package/dist/react/USplitPanel.d.ts +2 -2
  78. package/dist/react/USplitPanel.js +1 -1
  79. package/dist/react/USwitch.d.ts +1 -1
  80. package/dist/react/USwitch.js +1 -1
  81. package/dist/react/UTab.d.ts +2 -2
  82. package/dist/react/UTab.js +1 -1
  83. package/dist/react/UTabPanel.d.ts +1 -1
  84. package/dist/react/UTabPanel.js +1 -1
  85. package/dist/react/UTag.d.ts +1 -1
  86. package/dist/react/UTag.js +1 -1
  87. package/dist/react/UText.d.ts +1 -1
  88. package/dist/react/UText.js +1 -1
  89. package/dist/react/UTextarea.d.ts +1 -1
  90. package/dist/react/UTextarea.js +1 -1
  91. package/dist/react/UTooltip.d.ts +3 -3
  92. package/dist/react/UTooltip.js +1 -1
  93. package/dist/react/UTree.d.ts +1 -1
  94. package/dist/react/UTree.js +1 -1
  95. package/dist/react/UTreeItem.d.ts +5 -5
  96. package/dist/react/UTreeItem.js +1 -1
  97. package/package.json +2 -1
  98. package/skills/iyulab-components/references/components/popover.md +5 -1
  99. package/skills/iyulab-components/references/components/tooltip.md +5 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
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
+
3
31
  ## [1.37.0] - 2026-09-06
4
32
 
5
33
  ### Added
@@ -52,10 +52,14 @@ export declare class UFloatingElement extends UElement {
52
52
  * 지정하지 않으면 자동으로 가장 적절한 위치가 선택됩니다.
53
53
  *
54
54
  * @remarks
55
- * 지정한 변(side)에 공간이 없으면 반대 변으로 자동 전환됩니다(floating-ui의
55
+ * 지정한 변(side)에 공간이 없으면 자동으로 다른 변으로 전환됩니다(floating-ui의
56
56
  * `flip` 미들웨어가 `placement`를 지정했을 때 항상 함께 적용됩니다 — 별도
57
- * 옵션으로 끌 수 없습니다). `shift`는 이 전환과 별개로, 전환된(또는 지정된)
58
- * 변 **안에서** 교차축 위치만 보정합니다.
57
+ * 옵션으로 끌 수 없습니다). 전환 순서는 **같은 축의 반대 변이 먼저**이고, 그쪽에도
58
+ * 공간이 없을 때만 **수직 축**으로 넘어갑니다 — 예를 들어 `right-end`는
59
+ * `left-end` → `top-end`/`bottom-end` 순으로 시도합니다. 트리거가 넓어(예:
60
+ * 전체 폭 사이드바 항목) 좌·우 어느 쪽에도 공간이 없는 경우가 이 마지막 단계가
61
+ * 필요한 자리입니다. `shift`는 이 전환과 별개로, 전환된(또는 지정된) 변
62
+ * **안에서** 교차축 위치만 보정합니다.
59
63
  *
60
64
  * @default undefined
61
65
  */
@@ -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
  ]
@@ -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>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UIcon as UIconElement } from '../components/icon/UIcon.js';
3
+ import { UIcon as UIconElement } from '@iyulab/components/dist/components/icon/UIcon.js';
4
4
 
5
5
  export const UIcon = createComponent({
6
6
  react: React,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { UIconButton as UIconButtonElement } from '../components/icon-button/UIconButton';
2
+ import { UIconButton as UIconButtonElement } from '@iyulab/components/dist/components/icon-button/UIconButton.js';
3
3
 
4
4
  export declare const UIconButton: React.ForwardRefExoticComponent<
5
5
  Omit<Partial<UIconButtonElement>, keyof React.HTMLAttributes<UIconButtonElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UIconButton as UIconButtonElement } from '../components/icon-button/UIconButton.js';
3
+ import { UIconButton as UIconButtonElement } from '@iyulab/components/dist/components/icon-button/UIconButton.js';
4
4
 
5
5
  export const UIconButton = createComponent({
6
6
  react: React,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { UInput as UInputElement } from '../components/input/UInput';
2
+ import { UInput as UInputElement } from '@iyulab/components/dist/components/input/UInput.js';
3
3
 
4
4
  export declare const UInput: React.ForwardRefExoticComponent<
5
5
  Omit<Partial<UInputElement>, keyof React.HTMLAttributes<UInputElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UInput as UInputElement } from '../components/input/UInput.js';
3
+ import { UInput as UInputElement } from '@iyulab/components/dist/components/input/UInput.js';
4
4
 
5
5
  export const UInput = createComponent({
6
6
  react: React,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { UMenu as UMenuElement } from '../components/menu/UMenu';
2
+ import { UMenu as UMenuElement } from '@iyulab/components/dist/components/menu/UMenu.js';
3
3
 
4
4
  export declare const UMenu: React.ForwardRefExoticComponent<
5
5
  Omit<Partial<UMenuElement>, keyof React.HTMLAttributes<UMenuElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UMenu as UMenuElement } from '../components/menu/UMenu.js';
3
+ import { UMenu as UMenuElement } from '@iyulab/components/dist/components/menu/UMenu.js';
4
4
 
5
5
  export const UMenu = createComponent({
6
6
  react: React,
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { UMenuItem as UMenuItemElement } from '../components/menu-item/UMenuItem';
3
- import { type PickEventDetail } from '../events/PickEvent';
2
+ import { UMenuItem as UMenuItemElement } from '@iyulab/components/dist/components/menu-item/UMenuItem.js';
3
+ import { type PickEventDetail } from '@iyulab/components/dist/events/PickEvent.js';
4
4
 
5
5
  export declare const UMenuItem: React.ForwardRefExoticComponent<
6
6
  Omit<Partial<UMenuItemElement>, keyof React.HTMLAttributes<UMenuItemElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UMenuItem as UMenuItemElement } from '../components/menu-item/UMenuItem.js';
3
+ import { UMenuItem as UMenuItemElement } from '@iyulab/components/dist/components/menu-item/UMenuItem.js';
4
4
 
5
5
  export const UMenuItem = createComponent({
6
6
  react: React,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { UOption as UOptionElement } from '../components/option/UOption';
2
+ import { UOption as UOptionElement } from '@iyulab/components/dist/components/option/UOption.js';
3
3
 
4
4
  export declare const UOption: React.ForwardRefExoticComponent<
5
5
  Omit<Partial<UOptionElement>, keyof React.HTMLAttributes<UOptionElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UOption as UOptionElement } from '../components/option/UOption.js';
3
+ import { UOption as UOptionElement } from '@iyulab/components/dist/components/option/UOption.js';
4
4
 
5
5
  export const UOption = createComponent({
6
6
  react: React,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { UPanel as UPanelElement } from '../components/panel/UPanel';
2
+ import { UPanel as UPanelElement } from '@iyulab/components/dist/components/panel/UPanel.js';
3
3
 
4
4
  export declare const UPanel: React.ForwardRefExoticComponent<
5
5
  Omit<Partial<UPanelElement>, keyof React.HTMLAttributes<UPanelElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UPanel as UPanelElement } from '../components/panel/UPanel.js';
3
+ import { UPanel as UPanelElement } from '@iyulab/components/dist/components/panel/UPanel.js';
4
4
 
5
5
  export const UPanel = createComponent({
6
6
  react: React,
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { UPopover as UPopoverElement } from '../components/popover/UPopover';
3
- import { type ShowEventDetail } from '../events/ShowEvent';
4
- import { type HideEventDetail } from '../events/HideEvent';
2
+ import { UPopover as UPopoverElement } from '@iyulab/components/dist/components/popover/UPopover.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 UPopover: React.ForwardRefExoticComponent<
7
7
  Omit<Partial<UPopoverElement>, keyof React.HTMLAttributes<UPopoverElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UPopover as UPopoverElement } from '../components/popover/UPopover.js';
3
+ import { UPopover as UPopoverElement } from '@iyulab/components/dist/components/popover/UPopover.js';
4
4
 
5
5
  export const UPopover = createComponent({
6
6
  react: React,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { UProgressBar as UProgressBarElement } from '../components/progress-bar/UProgressBar';
2
+ import { UProgressBar as UProgressBarElement } from '@iyulab/components/dist/components/progress-bar/UProgressBar.js';
3
3
 
4
4
  export declare const UProgressBar: React.ForwardRefExoticComponent<
5
5
  Omit<Partial<UProgressBarElement>, keyof React.HTMLAttributes<UProgressBarElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UProgressBar as UProgressBarElement } from '../components/progress-bar/UProgressBar.js';
3
+ import { UProgressBar as UProgressBarElement } from '@iyulab/components/dist/components/progress-bar/UProgressBar.js';
4
4
 
5
5
  export const UProgressBar = createComponent({
6
6
  react: React,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { UProgressRing as UProgressRingElement } from '../components/progress-ring/UProgressRing';
2
+ import { UProgressRing as UProgressRingElement } from '@iyulab/components/dist/components/progress-ring/UProgressRing.js';
3
3
 
4
4
  export declare const UProgressRing: React.ForwardRefExoticComponent<
5
5
  Omit<Partial<UProgressRingElement>, keyof React.HTMLAttributes<UProgressRingElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UProgressRing as UProgressRingElement } from '../components/progress-ring/UProgressRing.js';
3
+ import { UProgressRing as UProgressRingElement } from '@iyulab/components/dist/components/progress-ring/UProgressRing.js';
4
4
 
5
5
  export const UProgressRing = createComponent({
6
6
  react: React,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { URadio as URadioElement } from '../components/radio/URadio';
2
+ import { URadio as URadioElement } from '@iyulab/components/dist/components/radio/URadio.js';
3
3
 
4
4
  export declare const URadio: React.ForwardRefExoticComponent<
5
5
  Omit<Partial<URadioElement>, keyof React.HTMLAttributes<URadioElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { URadio as URadioElement } from '../components/radio/URadio.js';
3
+ import { URadio as URadioElement } from '@iyulab/components/dist/components/radio/URadio.js';
4
4
 
5
5
  export const URadio = createComponent({
6
6
  react: React,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { URating as URatingElement } from '../components/rating/URating';
2
+ import { URating as URatingElement } from '@iyulab/components/dist/components/rating/URating.js';
3
3
 
4
4
  export declare const URating: React.ForwardRefExoticComponent<
5
5
  Omit<Partial<URatingElement>, keyof React.HTMLAttributes<URatingElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { URating as URatingElement } from '../components/rating/URating.js';
3
+ import { URating as URatingElement } from '@iyulab/components/dist/components/rating/URating.js';
4
4
 
5
5
  export const URating = createComponent({
6
6
  react: React,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { USelect as USelectElement } from '../components/select/USelect';
2
+ import { USelect as USelectElement } from '@iyulab/components/dist/components/select/USelect.js';
3
3
 
4
4
  export declare const USelect: React.ForwardRefExoticComponent<
5
5
  Omit<Partial<USelectElement>, keyof React.HTMLAttributes<USelectElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { USelect as USelectElement } from '../components/select/USelect.js';
3
+ import { USelect as USelectElement } from '@iyulab/components/dist/components/select/USelect.js';
4
4
 
5
5
  export const USelect = createComponent({
6
6
  react: React,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { USkeleton as USkeletonElement } from '../components/skeleton/USkeleton';
2
+ import { USkeleton as USkeletonElement } from '@iyulab/components/dist/components/skeleton/USkeleton.js';
3
3
 
4
4
  export declare const USkeleton: React.ForwardRefExoticComponent<
5
5
  Omit<Partial<USkeletonElement>, keyof React.HTMLAttributes<USkeletonElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { USkeleton as USkeletonElement } from '../components/skeleton/USkeleton.js';
3
+ import { USkeleton as USkeletonElement } from '@iyulab/components/dist/components/skeleton/USkeleton.js';
4
4
 
5
5
  export const USkeleton = createComponent({
6
6
  react: React,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { USlider as USliderElement } from '../components/slider/USlider';
2
+ import { USlider as USliderElement } from '@iyulab/components/dist/components/slider/USlider.js';
3
3
 
4
4
  export declare const USlider: React.ForwardRefExoticComponent<
5
5
  Omit<Partial<USliderElement>, keyof React.HTMLAttributes<USliderElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { USlider as USliderElement } from '../components/slider/USlider.js';
3
+ import { USlider as USliderElement } from '@iyulab/components/dist/components/slider/USlider.js';
4
4
 
5
5
  export const USlider = createComponent({
6
6
  react: React,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { USpinner as USpinnerElement } from '../components/spinner/USpinner';
2
+ import { USpinner as USpinnerElement } from '@iyulab/components/dist/components/spinner/USpinner.js';
3
3
 
4
4
  export declare const USpinner: React.ForwardRefExoticComponent<
5
5
  Omit<Partial<USpinnerElement>, keyof React.HTMLAttributes<USpinnerElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { USpinner as USpinnerElement } from '../components/spinner/USpinner.js';
3
+ import { USpinner as USpinnerElement } from '@iyulab/components/dist/components/spinner/USpinner.js';
4
4
 
5
5
  export const USpinner = createComponent({
6
6
  react: React,
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { USplitPanel as USplitPanelElement } from '../components/split-panel/USplitPanel';
3
- import { type ShiftEventDetail } from '../events/ShiftEvent';
2
+ import { USplitPanel as USplitPanelElement } from '@iyulab/components/dist/components/split-panel/USplitPanel.js';
3
+ import { type ShiftEventDetail } from '@iyulab/components/dist/events/ShiftEvent.js';
4
4
 
5
5
  export declare const USplitPanel: React.ForwardRefExoticComponent<
6
6
  Omit<Partial<USplitPanelElement>, keyof React.HTMLAttributes<USplitPanelElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { USplitPanel as USplitPanelElement } from '../components/split-panel/USplitPanel.js';
3
+ import { USplitPanel as USplitPanelElement } from '@iyulab/components/dist/components/split-panel/USplitPanel.js';
4
4
 
5
5
  export const USplitPanel = createComponent({
6
6
  react: React,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { USwitch as USwitchElement } from '../components/switch/USwitch';
2
+ import { USwitch as USwitchElement } from '@iyulab/components/dist/components/switch/USwitch.js';
3
3
 
4
4
  export declare const USwitch: React.ForwardRefExoticComponent<
5
5
  Omit<Partial<USwitchElement>, keyof React.HTMLAttributes<USwitchElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { USwitch as USwitchElement } from '../components/switch/USwitch.js';
3
+ import { USwitch as USwitchElement } from '@iyulab/components/dist/components/switch/USwitch.js';
4
4
 
5
5
  export const USwitch = createComponent({
6
6
  react: React,
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { UTab as UTabElement } from '../components/tab/UTab';
3
- import { type RemoveEventDetail } from '../events/RemoveEvent';
2
+ import { UTab as UTabElement } from '@iyulab/components/dist/components/tab/UTab.js';
3
+ import { type RemoveEventDetail } from '@iyulab/components/dist/events/RemoveEvent.js';
4
4
 
5
5
  export declare const UTab: React.ForwardRefExoticComponent<
6
6
  Omit<Partial<UTabElement>, keyof React.HTMLAttributes<UTabElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UTab as UTabElement } from '../components/tab/UTab.js';
3
+ import { UTab as UTabElement } from '@iyulab/components/dist/components/tab/UTab.js';
4
4
 
5
5
  export const UTab = createComponent({
6
6
  react: React,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { UTabPanel as UTabPanelElement } from '../components/tab-panel/UTabPanel';
2
+ import { UTabPanel as UTabPanelElement } from '@iyulab/components/dist/components/tab-panel/UTabPanel.js';
3
3
 
4
4
  export declare const UTabPanel: React.ForwardRefExoticComponent<
5
5
  Omit<Partial<UTabPanelElement>, keyof React.HTMLAttributes<UTabPanelElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UTabPanel as UTabPanelElement } from '../components/tab-panel/UTabPanel.js';
3
+ import { UTabPanel as UTabPanelElement } from '@iyulab/components/dist/components/tab-panel/UTabPanel.js';
4
4
 
5
5
  export const UTabPanel = createComponent({
6
6
  react: React,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { UTag as UTagElement } from '../components/tag/UTag';
2
+ import { UTag as UTagElement } from '@iyulab/components/dist/components/tag/UTag.js';
3
3
 
4
4
  export declare const UTag: React.ForwardRefExoticComponent<
5
5
  Omit<Partial<UTagElement>, keyof React.HTMLAttributes<UTagElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UTag as UTagElement } from '../components/tag/UTag.js';
3
+ import { UTag as UTagElement } from '@iyulab/components/dist/components/tag/UTag.js';
4
4
 
5
5
  export const UTag = createComponent({
6
6
  react: React,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { UText as UTextElement } from '../components/text/UText';
2
+ import { UText as UTextElement } from '@iyulab/components/dist/components/text/UText.js';
3
3
 
4
4
  export declare const UText: React.ForwardRefExoticComponent<
5
5
  Omit<Partial<UTextElement>, keyof React.HTMLAttributes<UTextElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UText as UTextElement } from '../components/text/UText.js';
3
+ import { UText as UTextElement } from '@iyulab/components/dist/components/text/UText.js';
4
4
 
5
5
  export const UText = createComponent({
6
6
  react: React,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { UTextarea as UTextareaElement } from '../components/textarea/UTextarea';
2
+ import { UTextarea as UTextareaElement } from '@iyulab/components/dist/components/textarea/UTextarea.js';
3
3
 
4
4
  export declare const UTextarea: React.ForwardRefExoticComponent<
5
5
  Omit<Partial<UTextareaElement>, keyof React.HTMLAttributes<UTextareaElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UTextarea as UTextareaElement } from '../components/textarea/UTextarea.js';
3
+ import { UTextarea as UTextareaElement } from '@iyulab/components/dist/components/textarea/UTextarea.js';
4
4
 
5
5
  export const UTextarea = createComponent({
6
6
  react: React,
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { UTooltip as UTooltipElement } from '../components/tooltip/UTooltip';
3
- import { type ShowEventDetail } from '../events/ShowEvent';
4
- import { type HideEventDetail } from '../events/HideEvent';
2
+ import { UTooltip as UTooltipElement } from '@iyulab/components/dist/components/tooltip/UTooltip.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 UTooltip: React.ForwardRefExoticComponent<
7
7
  Omit<Partial<UTooltipElement>, keyof React.HTMLAttributes<UTooltipElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UTooltip as UTooltipElement } from '../components/tooltip/UTooltip.js';
3
+ import { UTooltip as UTooltipElement } from '@iyulab/components/dist/components/tooltip/UTooltip.js';
4
4
 
5
5
  export const UTooltip = createComponent({
6
6
  react: React,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { UTree as UTreeElement } from '../components/tree/UTree';
2
+ import { UTree as UTreeElement } from '@iyulab/components/dist/components/tree/UTree.js';
3
3
 
4
4
  export declare const UTree: React.ForwardRefExoticComponent<
5
5
  Omit<Partial<UTreeElement>, keyof React.HTMLAttributes<UTreeElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UTree as UTreeElement } from '../components/tree/UTree.js';
3
+ import { UTree as UTreeElement } from '@iyulab/components/dist/components/tree/UTree.js';
4
4
 
5
5
  export const UTree = createComponent({
6
6
  react: React,
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
- import { UTreeItem as UTreeItemElement } from '../components/tree-item/UTreeItem';
3
- import { type ExpandEventDetail } from '../events/ExpandEvent';
4
- import { type CollapseEventDetail } from '../events/CollapseEvent';
5
- import { type PickEventDetail } from '../events/PickEvent';
6
- import { type CheckEventDetail } from '../events/CheckEvent';
2
+ import { UTreeItem as UTreeItemElement } from '@iyulab/components/dist/components/tree-item/UTreeItem.js';
3
+ import { type ExpandEventDetail } from '@iyulab/components/dist/events/ExpandEvent.js';
4
+ import { type CollapseEventDetail } from '@iyulab/components/dist/events/CollapseEvent.js';
5
+ import { type PickEventDetail } from '@iyulab/components/dist/events/PickEvent.js';
6
+ import { type CheckEventDetail } from '@iyulab/components/dist/events/CheckEvent.js';
7
7
 
8
8
  export declare const UTreeItem: React.ForwardRefExoticComponent<
9
9
  Omit<Partial<UTreeItemElement>, keyof React.HTMLAttributes<UTreeItemElement>>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { UTreeItem as UTreeItemElement } from '../components/tree-item/UTreeItem.js';
3
+ import { UTreeItem as UTreeItemElement } from '@iyulab/components/dist/components/tree-item/UTreeItem.js';
4
4
 
5
5
  export const UTreeItem = createComponent({
6
6
  react: React,
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.37.0",
4
+ "version": "1.37.1",
5
5
  "keywords": [
6
6
  "iyulab",
7
7
  "components",
@@ -90,6 +90,7 @@
90
90
  "eslint": "^9.39.4",
91
91
  "eslint-plugin-lit": "^2.3.1",
92
92
  "globals": "^17.7.0",
93
+ "happy-dom": "^20.10.6",
93
94
  "react": "^19.2.7",
94
95
  "typescript": "^5.9.3",
95
96
  "typescript-eslint": "^8.64.0",
@@ -49,7 +49,11 @@ Inherits all `UFloatingElement` properties (see [floating.md](../extensions/floa
49
49
  | `autofocus` | `boolean` | `false` | ✓ | Focus first focusable element on open |
50
50
 
51
51
  > **Placement fallback**: whenever `placement` is set, floating-ui's `flip` middleware is
52
- > always applied — if the placed side has no room, the element switches to the opposite side.
52
+ > always applied — if the placed side has no room, the element switches to another side.
53
+ > The opposite side on the same axis is tried first; only when that is also out of room does
54
+ > it move to the perpendicular axis, so `right-end` falls back through `left-end` to
55
+ > `top-end`/`bottom-end`. That last step is what a full-width trigger needs — with room on
56
+ > neither the left nor the right, staying on the horizontal axis means going off-screen.
53
57
  > `shift` is a separate, narrower correction: it nudges the element along the cross axis
54
58
  > *within* whichever side ended up being used. Neither can be turned off independently.
55
59
 
@@ -51,7 +51,11 @@ Inherits all `UFloatingElement` properties (see [floating.md](../extensions/floa
51
51
  | `tracking` | `boolean` | `false` | ✓ | Follow mouse cursor position |
52
52
 
53
53
  > **Placement fallback**: whenever `placement` is set, floating-ui's `flip` middleware is
54
- > always applied — if the placed side has no room, the element switches to the opposite side.
54
+ > always applied — if the placed side has no room, the element switches to another side.
55
+ > The opposite side on the same axis is tried first; only when that is also out of room does
56
+ > it move to the perpendicular axis, so `right-end` falls back through `left-end` to
57
+ > `top-end`/`bottom-end`. That last step is what a full-width trigger needs — with room on
58
+ > neither the left nor the right, staying on the horizontal axis means going off-screen.
55
59
  > `shift` is a separate, narrower correction: it nudges the element along the cross axis
56
60
  > *within* whichever side ended up being used. Neither can be turned off independently.
57
61