@iyulab/components 1.37.0 → 1.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +54 -0
- package/dist/components/UFloatingElement.d.ts +7 -3
- package/dist/components/UFloatingElement.js +1 -1
- package/dist/plugins/vite-plugin-react-wrapper.js +31 -11
- package/dist/react/UAlert.d.ts +3 -3
- package/dist/react/UAlert.js +1 -1
- package/dist/react/UAvatar.d.ts +1 -1
- package/dist/react/UAvatar.js +1 -1
- package/dist/react/UBadge.d.ts +1 -1
- package/dist/react/UBadge.js +1 -1
- package/dist/react/UBreadcrumb.d.ts +1 -1
- package/dist/react/UBreadcrumb.js +1 -1
- package/dist/react/UBreadcrumbItem.d.ts +2 -2
- package/dist/react/UBreadcrumbItem.js +1 -1
- package/dist/react/UButton.d.ts +1 -1
- package/dist/react/UButton.js +1 -1
- package/dist/react/UButtonGroup.d.ts +1 -1
- package/dist/react/UButtonGroup.js +1 -1
- package/dist/react/UCard.d.ts +1 -1
- package/dist/react/UCard.js +1 -1
- package/dist/react/UCarousel.d.ts +1 -1
- package/dist/react/UCarousel.js +1 -1
- package/dist/react/UCheckbox.d.ts +1 -1
- package/dist/react/UCheckbox.js +1 -1
- package/dist/react/UChip.d.ts +3 -3
- package/dist/react/UChip.js +1 -1
- package/dist/react/UCopyButton.d.ts +1 -1
- package/dist/react/UCopyButton.js +1 -1
- package/dist/react/UDatePicker.d.ts +1 -1
- package/dist/react/UDatePicker.js +1 -1
- package/dist/react/UDialog.d.ts +3 -3
- package/dist/react/UDialog.js +1 -1
- package/dist/react/UDivider.d.ts +1 -1
- package/dist/react/UDivider.js +1 -1
- package/dist/react/UDrawer.d.ts +3 -3
- package/dist/react/UDrawer.js +1 -1
- package/dist/react/UExpander.d.ts +3 -3
- package/dist/react/UExpander.js +1 -1
- package/dist/react/UField.d.ts +1 -1
- package/dist/react/UField.js +1 -1
- package/dist/react/UFileInput.d.ts +1 -1
- package/dist/react/UFileInput.js +1 -1
- package/dist/react/UForm.d.ts +1 -1
- package/dist/react/UForm.js +1 -1
- package/dist/react/UIcon.d.ts +1 -1
- package/dist/react/UIcon.js +1 -1
- package/dist/react/UIconButton.d.ts +1 -1
- package/dist/react/UIconButton.js +1 -1
- package/dist/react/UInput.d.ts +1 -1
- package/dist/react/UInput.js +1 -1
- package/dist/react/UMenu.d.ts +1 -1
- package/dist/react/UMenu.js +1 -1
- package/dist/react/UMenuItem.d.ts +2 -2
- package/dist/react/UMenuItem.js +1 -1
- package/dist/react/UOption.d.ts +1 -1
- package/dist/react/UOption.js +1 -1
- package/dist/react/UPanel.d.ts +1 -1
- package/dist/react/UPanel.js +1 -1
- package/dist/react/UPopover.d.ts +3 -3
- package/dist/react/UPopover.js +1 -1
- package/dist/react/UProgressBar.d.ts +1 -1
- package/dist/react/UProgressBar.js +1 -1
- package/dist/react/UProgressRing.d.ts +1 -1
- package/dist/react/UProgressRing.js +1 -1
- package/dist/react/URadio.d.ts +1 -1
- package/dist/react/URadio.js +1 -1
- package/dist/react/URating.d.ts +1 -1
- package/dist/react/URating.js +1 -1
- package/dist/react/USelect.d.ts +1 -1
- package/dist/react/USelect.js +1 -1
- package/dist/react/USkeleton.d.ts +1 -1
- package/dist/react/USkeleton.js +1 -1
- package/dist/react/USlider.d.ts +1 -1
- package/dist/react/USlider.js +1 -1
- package/dist/react/USpinner.d.ts +1 -1
- package/dist/react/USpinner.js +1 -1
- package/dist/react/USplitPanel.d.ts +2 -2
- package/dist/react/USplitPanel.js +1 -1
- package/dist/react/USwitch.d.ts +1 -1
- package/dist/react/USwitch.js +1 -1
- package/dist/react/UTab.d.ts +2 -2
- package/dist/react/UTab.js +1 -1
- package/dist/react/UTabPanel.d.ts +1 -1
- package/dist/react/UTabPanel.js +1 -1
- package/dist/react/UTag.d.ts +1 -1
- package/dist/react/UTag.js +1 -1
- package/dist/react/UText.d.ts +1 -1
- package/dist/react/UText.js +1 -1
- package/dist/react/UTextarea.d.ts +1 -1
- package/dist/react/UTextarea.js +1 -1
- package/dist/react/UTooltip.d.ts +3 -3
- package/dist/react/UTooltip.js +1 -1
- package/dist/react/UTree.d.ts +1 -1
- package/dist/react/UTree.js +1 -1
- package/dist/react/UTreeItem.d.ts +5 -5
- package/dist/react/UTreeItem.js +1 -1
- package/dist/utilities/Locale.d.ts +1 -1
- package/dist/utilities/Locale.js +13 -3
- package/dist/utilities/format.d.ts +7 -2
- package/dist/utilities/format.js +7 -2
- package/package.json +2 -1
- package/skills/iyulab-components/SKILL.md +1 -0
- package/skills/iyulab-components/references/components/popover.md +5 -1
- package/skills/iyulab-components/references/components/tooltip.md +5 -1
- package/skills/iyulab-components/references/utilities/browser-storage.md +5 -0
- package/skills/iyulab-components/references/utilities/elements.md +17 -0
- package/skills/iyulab-components/references/utilities/format.md +73 -0
- package/skills/iyulab-components/references/utilities/locale.md +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,59 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.38.0] - 2026-09-08
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- **`<html lang>` now takes precedence over the browser language when the initial
|
|
8
|
+
locale is detected.** `detectLocale()` consulted `navigator.language` first, which
|
|
9
|
+
made the `document.documentElement.lang` branch unreachable in a browser: a document
|
|
10
|
+
declaring `lang="en"` still emitted accessible names in the browser's language, and a
|
|
11
|
+
screen reader then announced them under English pronunciation rules (WCAG 3.1.1 /
|
|
12
|
+
3.1.2). The `lang` attribute is the author's declaration of the document's language;
|
|
13
|
+
the browser language is the fallback for when that declaration is absent, not an
|
|
14
|
+
override for it. **Only documents that actually set `lang` change behaviour** — an
|
|
15
|
+
absent or empty `lang` falls back to the browser language exactly as before, so apps
|
|
16
|
+
that never set it are unaffected. `Locale.set()` still overrides both. The Node 21+
|
|
17
|
+
guard on the `navigator` branch is unchanged.
|
|
18
|
+
|
|
19
|
+
### Documentation
|
|
20
|
+
|
|
21
|
+
- `formatNumber`, `formatCurrency` and `formatDate` were public through the barrel but
|
|
22
|
+
appeared in no published document; they are now documented.
|
|
23
|
+
- `isCoarsePointer` is documented alongside the other element helpers.
|
|
24
|
+
- `formatDate`'s JSDoc cross-referenced a `formatCurrency` fallback that does not exist.
|
|
25
|
+
`formatCurrency` throws on an invalid currency code, and the asymmetry between the two
|
|
26
|
+
is deliberate; both are now described as they behave.
|
|
27
|
+
- The `BrowserStorage` reference notes that the constructor throws outside a browser.
|
|
28
|
+
|
|
29
|
+
## [1.37.1] - 2026-09-07
|
|
30
|
+
|
|
31
|
+
### Fixed
|
|
32
|
+
|
|
33
|
+
- **A popover or tooltip with a wide trigger could still end up off-screen.**
|
|
34
|
+
When `placement` is set, `flip` is always applied, but it only considered the
|
|
35
|
+
opposite side on the same axis. A trigger that spans nearly the full viewport
|
|
36
|
+
width — a full-width row or drawer item, say — leaves room on neither the left
|
|
37
|
+
nor the right, so a `right-end` popover flipped to `left-end`, found no room
|
|
38
|
+
there either, and rendered outside the viewport. `flip` now also falls back to
|
|
39
|
+
the perpendicular axis, tried strictly last: a placement that already fits is
|
|
40
|
+
never re-evaluated, so this only changes cases that were previously broken.
|
|
41
|
+
The `placement` docs described the old, narrower behavior and have been
|
|
42
|
+
corrected in the JSDoc and the popover/tooltip references.
|
|
43
|
+
|
|
44
|
+
- **The generated React wrappers pointed at a different copy of each element
|
|
45
|
+
class than a deep import did.** Each wrapper reached its element class by a
|
|
46
|
+
relative path, which bypasses the package's own `exports` map. In a workspace
|
|
47
|
+
that redirects `./dist/*` to source for live editing, that left the wrapper on
|
|
48
|
+
one declaration tree and every consumer deep import on another, so the same
|
|
49
|
+
component existed as two nominal types and merging both into
|
|
50
|
+
`HTMLElementTagNameMap` failed with `TS2717` — importing `@iyulab/components/react`
|
|
51
|
+
anywhere in such a program was impossible. Wrappers (and their event-detail
|
|
52
|
+
type imports) now reference the package by name, letting the `exports` map
|
|
53
|
+
resolve both axes to one tree in either setting. Published output is
|
|
54
|
+
unaffected: both forms resolve to the same built file there. The React type
|
|
55
|
+
smoke fixture no longer needs its `paths` override to compile.
|
|
56
|
+
|
|
3
57
|
## [1.37.0] - 2026-09-06
|
|
4
58
|
|
|
5
59
|
### Added
|
|
@@ -52,10 +52,14 @@ export declare class UFloatingElement extends UElement {
|
|
|
52
52
|
* 지정하지 않으면 자동으로 가장 적절한 위치가 선택됩니다.
|
|
53
53
|
*
|
|
54
54
|
* @remarks
|
|
55
|
-
* 지정한 변(side)에 공간이 없으면
|
|
55
|
+
* 지정한 변(side)에 공간이 없으면 자동으로 다른 변으로 전환됩니다(floating-ui의
|
|
56
56
|
* `flip` 미들웨어가 `placement`를 지정했을 때 항상 함께 적용됩니다 — 별도
|
|
57
|
-
* 옵션으로 끌 수 없습니다).
|
|
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
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
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(
|
|
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
|
|
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
|
-
|
|
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);
|
package/dist/react/UAlert.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { UAlert as UAlertElement } from '
|
|
3
|
-
import { type ShowEventDetail } from '
|
|
4
|
-
import { type HideEventDetail } from '
|
|
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>>
|
package/dist/react/UAlert.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { UAlert as UAlertElement } from '
|
|
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,
|
package/dist/react/UAvatar.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { UAvatar as UAvatarElement } from '
|
|
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>>
|
package/dist/react/UAvatar.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { UAvatar as UAvatarElement } from '
|
|
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,
|
package/dist/react/UBadge.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { UBadge as UBadgeElement } from '
|
|
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>>
|
package/dist/react/UBadge.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { UBadge as UBadgeElement } from '
|
|
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 '
|
|
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 '
|
|
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 '
|
|
3
|
-
import { type NavigateEventDetail } from '
|
|
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 '
|
|
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,
|
package/dist/react/UButton.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { UButton as UButtonElement } from '
|
|
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>>
|
package/dist/react/UButton.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { UButton as UButtonElement } from '
|
|
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 '
|
|
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 '
|
|
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,
|
package/dist/react/UCard.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { UCard as UCardElement } from '
|
|
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>>
|
package/dist/react/UCard.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { UCard as UCardElement } from '
|
|
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 '
|
|
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>>
|
package/dist/react/UCarousel.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { UCarousel as UCarouselElement } from '
|
|
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 '
|
|
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>>
|
package/dist/react/UCheckbox.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { UCheckbox as UCheckboxElement } from '
|
|
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,
|
package/dist/react/UChip.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { UChip as UChipElement } from '
|
|
3
|
-
import { type PickEventDetail } from '
|
|
4
|
-
import { type RemoveEventDetail } from '
|
|
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>>
|
package/dist/react/UChip.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { UChip as UChipElement } from '
|
|
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 '
|
|
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 '
|
|
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 '
|
|
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 '
|
|
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,
|
package/dist/react/UDialog.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { UDialog as UDialogElement } from '
|
|
3
|
-
import { type ShowEventDetail } from '
|
|
4
|
-
import { type HideEventDetail } from '
|
|
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>>
|
package/dist/react/UDialog.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { UDialog as UDialogElement } from '
|
|
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,
|
package/dist/react/UDivider.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { UDivider as UDividerElement } from '
|
|
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>>
|
package/dist/react/UDivider.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { UDivider as UDividerElement } from '
|
|
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,
|
package/dist/react/UDrawer.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { UDrawer as UDrawerElement } from '
|
|
3
|
-
import { type ShowEventDetail } from '
|
|
4
|
-
import { type HideEventDetail } from '
|
|
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>>
|
package/dist/react/UDrawer.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { UDrawer as UDrawerElement } from '
|
|
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 '
|
|
3
|
-
import { type ExpandEventDetail } from '
|
|
4
|
-
import { type CollapseEventDetail } from '
|
|
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>>
|
package/dist/react/UExpander.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { UExpander as UExpanderElement } from '
|
|
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,
|
package/dist/react/UField.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { UField as UFieldElement } from '
|
|
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>>
|
package/dist/react/UField.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { UField as UFieldElement } from '
|
|
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 '
|
|
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>>
|
package/dist/react/UFileInput.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { UFileInput as UFileInputElement } from '
|
|
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,
|
package/dist/react/UForm.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { UForm as UFormElement } from '
|
|
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>>
|
package/dist/react/UForm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { UForm as UFormElement } from '
|
|
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,
|
package/dist/react/UIcon.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { UIcon as UIconElement } from '
|
|
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>>
|
package/dist/react/UIcon.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { UIcon as UIconElement } from '
|
|
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 '
|
|
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 '
|
|
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,
|
package/dist/react/UInput.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { UInput as UInputElement } from '
|
|
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>>
|
package/dist/react/UInput.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { UInput as UInputElement } from '
|
|
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,
|