@iyulab/components 1.58.0 → 2.0.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 +156 -0
- package/README.md +3 -1
- package/dist/_virtual/_glob-assets_raw/dark.css.e8ac080d.js +1 -1
- package/dist/_virtual/_glob-assets_raw/light.css.637cb2f8.js +1 -1
- package/dist/assets/locales/ar.json.js +5 -1
- package/dist/assets/locales/de.json.js +5 -1
- package/dist/assets/locales/en.json.js +5 -1
- package/dist/assets/locales/es.json.js +5 -1
- package/dist/assets/locales/fr.json.js +5 -1
- package/dist/assets/locales/id.json.js +5 -1
- package/dist/assets/locales/ja.json.js +5 -1
- package/dist/assets/locales/ko.json.js +5 -1
- package/dist/assets/locales/pt-BR.json.js +5 -1
- package/dist/assets/locales/ru.json.js +5 -1
- package/dist/assets/locales/th.json.js +5 -1
- package/dist/assets/locales/vi.json.js +5 -1
- package/dist/assets/locales/zh-CN.json.js +5 -1
- package/dist/assets/locales/zh-TW.json.js +5 -1
- package/dist/components/UElement.styles.js +2 -2
- package/dist/components/alert/UAlert.d.ts +12 -7
- package/dist/components/alert/UAlert.js +3 -3
- package/dist/components/alert/UAlert.styles.js +6 -23
- package/dist/components/badge/UBadge.d.ts +5 -5
- package/dist/components/badge/UBadge.js +3 -3
- package/dist/components/badge/UBadge.styles.js +4 -4
- package/dist/components/breadcrumb-item/UBreadcrumbItem.styles.js +1 -1
- package/dist/components/button/UButton.d.ts +32 -16
- package/dist/components/button/UButton.js +38 -5
- package/dist/components/button/UButton.styles.js +67 -50
- package/dist/components/button/forwarded-aria.d.ts +6 -0
- package/dist/components/button/forwarded-aria.js +15 -0
- package/dist/components/button-group/UButtonGroup.d.ts +4 -4
- package/dist/components/button-group/UButtonGroup.js +8 -8
- package/dist/components/button-group/UButtonGroup.styles.js +2 -2
- package/dist/components/calendar/UCalendar.styles.js +4 -3
- package/dist/components/calendar/picker.styles.js +7 -2
- package/dist/components/card/UCard.d.ts +4 -3
- package/dist/components/card/UCard.js +3 -3
- package/dist/components/card/UCard.styles.js +2 -1
- package/dist/components/carousel/UCarousel.js +2 -2
- package/dist/components/carousel/UCarousel.styles.js +17 -6
- package/dist/components/checkbox/UCheckbox.d.ts +8 -9
- package/dist/components/checkbox/UCheckbox.js +3 -3
- package/dist/components/checkbox/UCheckbox.styles.js +22 -18
- package/dist/components/chip/UChip.d.ts +2 -2
- package/dist/components/chip/UChip.js +4 -4
- package/dist/components/copy-button/UCopyButton.d.ts +2 -2
- package/dist/components/copy-button/UCopyButton.js +4 -4
- package/dist/components/date-picker/UDatePicker.d.ts +3 -0
- package/dist/components/date-picker/UDatePicker.js +8 -3
- package/dist/components/date-picker/UDatePicker.styles.js +13 -2
- package/dist/components/date-range-picker/UDateRangePicker.d.ts +3 -0
- package/dist/components/date-range-picker/UDateRangePicker.js +7 -2
- package/dist/components/date-range-picker/UDateRangePicker.styles.js +13 -3
- package/dist/components/dialog/UDialog.js +1 -1
- package/dist/components/divider/UDivider.d.ts +3 -3
- package/dist/components/divider/UDivider.js +2 -2
- package/dist/components/divider/UDivider.styles.js +5 -5
- package/dist/components/drawer/UDrawer.js +1 -1
- package/dist/components/expander/UExpander.styles.js +2 -2
- package/dist/components/file-input/UFileInput.styles.js +5 -2
- package/dist/components/icon-button/UIconButton.d.ts +4 -3
- package/dist/components/icon-button/UIconButton.js +16 -6
- package/dist/components/icon-button/UIconButton.styles.js +2 -2
- package/dist/components/input/UInput.d.ts +12 -5
- package/dist/components/input/UInput.js +7 -4
- package/dist/components/input/UInput.styles.js +60 -30
- package/dist/components/menu/UMenu.d.ts +5 -4
- package/dist/components/menu/UMenu.js +3 -3
- package/dist/components/menu/UMenu.styles.js +1 -1
- package/dist/components/menu-item/UMenuItem.styles.js +1 -1
- package/dist/components/option/UOption.d.ts +1 -0
- package/dist/components/option/UOption.js +6 -3
- package/dist/components/option/UOption.styles.js +1 -1
- package/dist/components/progress-bar/UProgressBar.styles.js +11 -0
- package/dist/components/radio/URadio.d.ts +27 -6
- package/dist/components/radio/URadio.js +48 -12
- package/dist/components/radio/URadio.styles.js +47 -13
- package/dist/components/rating/URating.styles.js +5 -1
- package/dist/components/select/USelect.d.ts +9 -2
- package/dist/components/select/USelect.js +7 -2
- package/dist/components/select/USelect.styles.js +55 -26
- package/dist/components/slider/USlider.styles.js +4 -4
- package/dist/components/spinner/USpinner.styles.js +2 -0
- package/dist/components/split-panel/USplitPanel.styles.js +2 -1
- package/dist/components/steps/USteps.d.ts +57 -0
- package/dist/components/steps/USteps.js +58 -0
- package/dist/components/steps/USteps.styles.d.ts +1 -0
- package/dist/components/steps/USteps.styles.js +110 -0
- package/dist/components/switch/USwitch.styles.js +5 -3
- package/dist/components/tab/UTab.js +2 -2
- package/dist/components/tab/UTab.styles.js +1 -1
- package/dist/components/tab-panel/UTabPanel.d.ts +11 -2
- package/dist/components/tab-panel/UTabPanel.js +33 -5
- package/dist/components/tab-panel/UTabPanel.styles.js +29 -29
- package/dist/components/tag/UTag.d.ts +14 -6
- package/dist/components/tag/UTag.js +8 -3
- package/dist/components/tag/UTag.styles.js +33 -26
- package/dist/components/textarea/UTextarea.d.ts +9 -3
- package/dist/components/textarea/UTextarea.js +7 -2
- package/dist/components/textarea/UTextarea.styles.js +41 -22
- package/dist/components/tree-item/UTreeItem.styles.js +7 -5
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -1
- package/dist/plugins/vite-plugin-react-wrapper.js +14 -5
- package/dist/react/UAlert.d.ts +4 -2
- package/dist/react/UAvatar.d.ts +4 -2
- package/dist/react/UBadge.d.ts +4 -2
- package/dist/react/UBreadcrumb.d.ts +4 -2
- package/dist/react/UBreadcrumbItem.d.ts +4 -2
- package/dist/react/UButton.d.ts +4 -2
- package/dist/react/UButtonGroup.d.ts +4 -2
- package/dist/react/UCard.d.ts +4 -2
- package/dist/react/UCarousel.d.ts +4 -2
- package/dist/react/UCheckbox.d.ts +4 -2
- package/dist/react/UChip.d.ts +4 -2
- package/dist/react/UCopyButton.d.ts +4 -2
- package/dist/react/UDatePicker.d.ts +4 -2
- package/dist/react/UDateRangePicker.d.ts +4 -2
- package/dist/react/UDialog.d.ts +4 -2
- package/dist/react/UDivider.d.ts +4 -2
- package/dist/react/UDrawer.d.ts +4 -2
- package/dist/react/UExpander.d.ts +4 -2
- package/dist/react/UField.d.ts +4 -2
- package/dist/react/UFileInput.d.ts +4 -2
- package/dist/react/UForm.d.ts +4 -2
- package/dist/react/UIcon.d.ts +4 -2
- package/dist/react/UIconButton.d.ts +4 -2
- package/dist/react/UInput.d.ts +4 -2
- package/dist/react/UMenu.d.ts +4 -2
- package/dist/react/UMenuItem.d.ts +4 -2
- package/dist/react/UOption.d.ts +4 -2
- package/dist/react/UPanel.d.ts +4 -2
- package/dist/react/UPopover.d.ts +4 -2
- package/dist/react/UProgressBar.d.ts +4 -2
- package/dist/react/UProgressRing.d.ts +4 -2
- package/dist/react/URadio.d.ts +4 -2
- package/dist/react/URating.d.ts +4 -2
- package/dist/react/USelect.d.ts +4 -2
- package/dist/react/USkeleton.d.ts +4 -2
- package/dist/react/USlider.d.ts +4 -2
- package/dist/react/USpinner.d.ts +4 -2
- package/dist/react/USplitPanel.d.ts +4 -2
- package/dist/react/USteps.d.ts +14 -0
- package/dist/react/USteps.js +10 -0
- package/dist/react/USwitch.d.ts +4 -2
- package/dist/react/UTab.d.ts +4 -2
- package/dist/react/UTabPanel.d.ts +4 -2
- package/dist/react/UTag.d.ts +4 -2
- package/dist/react/UText.d.ts +4 -2
- package/dist/react/UTextarea.d.ts +4 -2
- package/dist/react/UTooltip.d.ts +4 -2
- package/dist/react/UTree.d.ts +4 -2
- package/dist/react/UTreeItem.d.ts +4 -2
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.js +1 -0
- package/dist/styles/dark.css +42 -0
- package/dist/styles/light.css +44 -0
- package/dist/utilities/Dialog.d.ts +2 -2
- package/dist/utilities/Dialog.js +3 -3
- package/dist/utilities/Locale.d.ts +1 -1
- package/dist/utilities/Toast.d.ts +2 -2
- package/dist/utilities/Toast.js +1 -1
- package/dist/utilities/icons.d.ts +12 -3
- package/dist/utilities/icons.js +24 -6
- package/package.json +1 -1
- package/skills/iyulab-components/SKILL.md +3 -3
- package/skills/iyulab-components/references/components/alert.md +5 -5
- package/skills/iyulab-components/references/components/badge.md +3 -3
- package/skills/iyulab-components/references/components/button-group.md +3 -3
- package/skills/iyulab-components/references/components/button.md +34 -19
- package/skills/iyulab-components/references/components/card.md +3 -3
- package/skills/iyulab-components/references/components/checkbox.md +5 -5
- package/skills/iyulab-components/references/components/chip.md +2 -2
- package/skills/iyulab-components/references/components/copy-button.md +1 -1
- package/skills/iyulab-components/references/components/date-picker.md +1 -0
- package/skills/iyulab-components/references/components/date-range-picker.md +1 -0
- package/skills/iyulab-components/references/components/dialog.md +2 -2
- package/skills/iyulab-components/references/components/divider.md +2 -2
- package/skills/iyulab-components/references/components/drawer.md +1 -1
- package/skills/iyulab-components/references/components/field.md +1 -1
- package/skills/iyulab-components/references/components/icon-button.md +8 -2
- package/skills/iyulab-components/references/components/input.md +4 -2
- package/skills/iyulab-components/references/components/menu.md +1 -1
- package/skills/iyulab-components/references/components/radio.md +16 -4
- package/skills/iyulab-components/references/components/select.md +2 -1
- package/skills/iyulab-components/references/components/steps.md +66 -0
- package/skills/iyulab-components/references/components/tab-panel.md +10 -3
- package/skills/iyulab-components/references/components/tag.md +11 -7
- package/skills/iyulab-components/references/components/textarea.md +2 -1
- package/skills/iyulab-components/references/usage.md +1 -1
- package/skills/iyulab-components/references/utilities/dialog.md +2 -2
- package/skills/iyulab-components/references/utilities/icons.md +2 -2
- package/skills/iyulab-components/references/utilities/theme.md +9 -5
- package/skills/iyulab-components/references/utilities/toast.md +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ export * from './components/skeleton/USkeleton.js';
|
|
|
40
40
|
export * from './components/slider/USlider.js';
|
|
41
41
|
export * from './components/spinner/USpinner.js';
|
|
42
42
|
export * from './components/split-panel/USplitPanel.js';
|
|
43
|
+
export * from './components/steps/USteps.js';
|
|
43
44
|
export * from './components/switch/USwitch.js';
|
|
44
45
|
export * from './components/tab/UTab.js';
|
|
45
46
|
export * from './components/tab-panel/UTabPanel.js';
|
package/dist/index.js
CHANGED
|
@@ -50,6 +50,7 @@ import { USelect } from "./components/select/USelect.js";
|
|
|
50
50
|
import { USkeleton } from "./components/skeleton/USkeleton.js";
|
|
51
51
|
import { USlider } from "./components/slider/USlider.js";
|
|
52
52
|
import { USplitPanel } from "./components/split-panel/USplitPanel.js";
|
|
53
|
+
import { USteps } from "./components/steps/USteps.js";
|
|
53
54
|
import { USwitch } from "./components/switch/USwitch.js";
|
|
54
55
|
import { UTab } from "./components/tab/UTab.js";
|
|
55
56
|
import { UTabPanel } from "./components/tab-panel/UTabPanel.js";
|
|
@@ -62,4 +63,4 @@ import { Dialog } from "./utilities/Dialog.js";
|
|
|
62
63
|
import { Theme } from "./utilities/Theme.js";
|
|
63
64
|
import { Toast } from "./utilities/Toast.js";
|
|
64
65
|
import { decodeTsv, encodeTsv } from "./utilities/tsv.js";
|
|
65
|
-
export { ALERT_STATUSES, BrowserStorage, Dialog, IconCache, IconRegistry, Locale, OverlayManager, Theme, Toast, UAlert, UAvatar, UBadge, UBreadcrumb, UBreadcrumbItem, UButton, UButtonGroup, UCard, UCarousel, UCheckbox, UChip, UCopyButton, UDatePicker, UDateRangePicker, UDialog, UDivider, UDrawer, UElement, UExpander, UField, UFileInput, UFloatingElement, UForm, UFormControlElement, UIcon, UIconButton, UInput, UMenu, UMenuItem, UOption, UOverlayElement, UPanel, UPopover, UProgressBar, UProgressRing, URadio, URating, USelect, USkeleton, USlider, USpinner, USplitPanel, USwitch, UTab, UTabPanel, UTag, UText, UTextarea, UTooltip, UTree, UTreeItem, arrayAttrConverter, booleanAttrConverter, createDevWarner, dateAttrConverter, dateTextPattern, decodeTsv, devWarnOnce, encodeTsv, formatCurrency, formatDate, formatDateRange, formatDateRangeText, formatDateText, formatDateTimeRangeText, formatDateTimeText, formatNumber, getDefaultBaseUrl, getParentElement, isCoarsePointer, isFocusCandidate, isImeComposing, jsonAttrConverter, parseDate, parseDateRange, parseDateTime, parseDateTimeRange, parseNumber, querySelectorAllWithin, querySelectorDeep, querySelectorWithin, resetDevWarnings, setDefaultBaseUrl, urlAttrConverter };
|
|
66
|
+
export { ALERT_STATUSES, BrowserStorage, Dialog, IconCache, IconRegistry, Locale, OverlayManager, Theme, Toast, UAlert, UAvatar, UBadge, UBreadcrumb, UBreadcrumbItem, UButton, UButtonGroup, UCard, UCarousel, UCheckbox, UChip, UCopyButton, UDatePicker, UDateRangePicker, UDialog, UDivider, UDrawer, UElement, UExpander, UField, UFileInput, UFloatingElement, UForm, UFormControlElement, UIcon, UIconButton, UInput, UMenu, UMenuItem, UOption, UOverlayElement, UPanel, UPopover, UProgressBar, UProgressRing, URadio, URating, USelect, USkeleton, USlider, USpinner, USplitPanel, USteps, USwitch, UTab, UTabPanel, UTag, UText, UTextarea, UTooltip, UTree, UTreeItem, arrayAttrConverter, booleanAttrConverter, createDevWarner, dateAttrConverter, dateTextPattern, decodeTsv, devWarnOnce, encodeTsv, formatCurrency, formatDate, formatDateRange, formatDateRangeText, formatDateText, formatDateTimeRangeText, formatDateTimeText, formatNumber, getDefaultBaseUrl, getParentElement, isCoarsePointer, isFocusCandidate, isImeComposing, jsonAttrConverter, parseDate, parseDateRange, parseDateTime, parseDateTimeRange, parseNumber, querySelectorAllWithin, querySelectorDeep, querySelectorWithin, resetDevWarnings, setDefaultBaseUrl, urlAttrConverter };
|
|
@@ -285,9 +285,16 @@ export const ${className} = createComponent({
|
|
|
285
285
|
const eventKeyUnion = events.length > 0
|
|
286
286
|
? events.map(e => `'${e.reactName}'`).join(' | ')
|
|
287
287
|
: 'never';
|
|
288
|
-
// Partial<
|
|
289
|
-
// children
|
|
290
|
-
//
|
|
288
|
+
// 엘리먼트 쪽 = `Partial<El>` 에서 React.HTMLAttributes 와 겹치는 키를 뺀 것. DOM 프로퍼티
|
|
289
|
+
// (children: HTMLCollection 등)는 거기서 빠지므로 React 의 JSX children/className 등과 충돌하지
|
|
290
|
+
// 않고, 그것들은 HTMLAttributes 가 React 친화 타입(children: ReactNode 포함)으로 제공한다.
|
|
291
|
+
// React 가 모르는 DOM 프로퍼티(`autofocus` 등)는 엘리먼트 쪽에 남는다.
|
|
292
|
+
//
|
|
293
|
+
// 🔴**단, 컴포넌트가 «스스로 선언한» prop(`OwnProps` = `HTMLElement` 에 없는 키)은 겹쳐도
|
|
294
|
+
// 엘리먼트 쪽이 이긴다** — 그 이름은 HTMLAttributes 쪽에서 뺀다.
|
|
295
|
+
// 종전에는 반대(`Omit<Partial<El>, keyof React.HTMLAttributes>`)라, React 가 HTML 속성으로도
|
|
296
|
+
// 아는 이름(`color` — 폐기된 `<font color>` 계열)의 정밀 타입이 `string` 으로 열렸다:
|
|
297
|
+
// 역할 축(`TagColor`·`ButtonColor` …)이 타입 검사를 통과하지 않는 값을 받았다.
|
|
291
298
|
//
|
|
292
299
|
// `React.RefAttributes` 를 반드시 교집합에 넣는다 — `ForwardRefExoticComponent<P>` 는 P 에
|
|
293
300
|
// ref 를 자동으로 더해 주지 않는다. @lit/react 의 `ReactWebComponent` 자신이
|
|
@@ -295,9 +302,11 @@ export const ${className} = createComponent({
|
|
|
295
302
|
// 이것을 빠뜨리면 **런타임은 되는데 타입만 거부하는** 괴리가 생긴다.
|
|
296
303
|
const dts = `${dtsImports.join('\n')}
|
|
297
304
|
|
|
305
|
+
type ${className}OwnProps = Omit<${className}Element, keyof HTMLElement>;
|
|
306
|
+
|
|
298
307
|
export declare const ${className}: React.ForwardRefExoticComponent<
|
|
299
|
-
Omit
|
|
300
|
-
& Omit<React.HTMLAttributes<${className}Element>, ${eventKeyUnion}>
|
|
308
|
+
Partial<Omit<${className}Element, Exclude<keyof React.HTMLAttributes<${className}Element>, keyof ${className}OwnProps>>>
|
|
309
|
+
& Omit<React.HTMLAttributes<${className}Element>, keyof ${className}OwnProps | ${eventKeyUnion}>
|
|
301
310
|
& React.RefAttributes<${className}Element>
|
|
302
311
|
& {
|
|
303
312
|
${eventTypes} }
|
package/dist/react/UAlert.d.ts
CHANGED
|
@@ -3,9 +3,11 @@ import { UAlert as UAlertElement } from '@iyulab/components/dist/components/aler
|
|
|
3
3
|
import { type ShowEventDetail } from '@iyulab/components/dist/events/ShowEvent.js';
|
|
4
4
|
import { type HideEventDetail } from '@iyulab/components/dist/events/HideEvent.js';
|
|
5
5
|
|
|
6
|
+
type UAlertOwnProps = Omit<UAlertElement, keyof HTMLElement>;
|
|
7
|
+
|
|
6
8
|
export declare const UAlert: React.ForwardRefExoticComponent<
|
|
7
|
-
Omit<
|
|
8
|
-
& Omit<React.HTMLAttributes<UAlertElement>, 'onShow' | 'onHide'>
|
|
9
|
+
Partial<Omit<UAlertElement, Exclude<keyof React.HTMLAttributes<UAlertElement>, keyof UAlertOwnProps>>>
|
|
10
|
+
& Omit<React.HTMLAttributes<UAlertElement>, keyof UAlertOwnProps | 'onShow' | 'onHide'>
|
|
9
11
|
& React.RefAttributes<UAlertElement>
|
|
10
12
|
& {
|
|
11
13
|
onShow?: (event: CustomEvent<ShowEventDetail>) => void;
|
package/dist/react/UAvatar.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UAvatar as UAvatarElement } from '@iyulab/components/dist/components/avatar/UAvatar.js';
|
|
3
3
|
|
|
4
|
+
type UAvatarOwnProps = Omit<UAvatarElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const UAvatar: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<UAvatarElement>, never>
|
|
7
|
+
Partial<Omit<UAvatarElement, Exclude<keyof React.HTMLAttributes<UAvatarElement>, keyof UAvatarOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<UAvatarElement>, keyof UAvatarOwnProps | never>
|
|
7
9
|
& React.RefAttributes<UAvatarElement>
|
|
8
10
|
& {
|
|
9
11
|
}
|
package/dist/react/UBadge.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UBadge as UBadgeElement } from '@iyulab/components/dist/components/badge/UBadge.js';
|
|
3
3
|
|
|
4
|
+
type UBadgeOwnProps = Omit<UBadgeElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const UBadge: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<UBadgeElement>, never>
|
|
7
|
+
Partial<Omit<UBadgeElement, Exclude<keyof React.HTMLAttributes<UBadgeElement>, keyof UBadgeOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<UBadgeElement>, keyof UBadgeOwnProps | never>
|
|
7
9
|
& React.RefAttributes<UBadgeElement>
|
|
8
10
|
& {
|
|
9
11
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UBreadcrumb as UBreadcrumbElement } from '@iyulab/components/dist/components/breadcrumb/UBreadcrumb.js';
|
|
3
3
|
|
|
4
|
+
type UBreadcrumbOwnProps = Omit<UBreadcrumbElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const UBreadcrumb: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<UBreadcrumbElement>, never>
|
|
7
|
+
Partial<Omit<UBreadcrumbElement, Exclude<keyof React.HTMLAttributes<UBreadcrumbElement>, keyof UBreadcrumbOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<UBreadcrumbElement>, keyof UBreadcrumbOwnProps | never>
|
|
7
9
|
& React.RefAttributes<UBreadcrumbElement>
|
|
8
10
|
& {
|
|
9
11
|
}
|
|
@@ -2,9 +2,11 @@ import React from 'react';
|
|
|
2
2
|
import { UBreadcrumbItem as UBreadcrumbItemElement } from '@iyulab/components/dist/components/breadcrumb-item/UBreadcrumbItem.js';
|
|
3
3
|
import { type NavigateEventDetail } from '@iyulab/components/dist/events/NavigateEvent.js';
|
|
4
4
|
|
|
5
|
+
type UBreadcrumbItemOwnProps = Omit<UBreadcrumbItemElement, keyof HTMLElement>;
|
|
6
|
+
|
|
5
7
|
export declare const UBreadcrumbItem: React.ForwardRefExoticComponent<
|
|
6
|
-
Omit<
|
|
7
|
-
& Omit<React.HTMLAttributes<UBreadcrumbItemElement>, 'onNavigate'>
|
|
8
|
+
Partial<Omit<UBreadcrumbItemElement, Exclude<keyof React.HTMLAttributes<UBreadcrumbItemElement>, keyof UBreadcrumbItemOwnProps>>>
|
|
9
|
+
& Omit<React.HTMLAttributes<UBreadcrumbItemElement>, keyof UBreadcrumbItemOwnProps | 'onNavigate'>
|
|
8
10
|
& React.RefAttributes<UBreadcrumbItemElement>
|
|
9
11
|
& {
|
|
10
12
|
onNavigate?: (event: CustomEvent<NavigateEventDetail>) => void;
|
package/dist/react/UButton.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UButton as UButtonElement } from '@iyulab/components/dist/components/button/UButton.js';
|
|
3
3
|
|
|
4
|
+
type UButtonOwnProps = Omit<UButtonElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const UButton: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<UButtonElement>, never>
|
|
7
|
+
Partial<Omit<UButtonElement, Exclude<keyof React.HTMLAttributes<UButtonElement>, keyof UButtonOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<UButtonElement>, keyof UButtonOwnProps | never>
|
|
7
9
|
& React.RefAttributes<UButtonElement>
|
|
8
10
|
& {
|
|
9
11
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UButtonGroup as UButtonGroupElement } from '@iyulab/components/dist/components/button-group/UButtonGroup.js';
|
|
3
3
|
|
|
4
|
+
type UButtonGroupOwnProps = Omit<UButtonGroupElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const UButtonGroup: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<UButtonGroupElement>, never>
|
|
7
|
+
Partial<Omit<UButtonGroupElement, Exclude<keyof React.HTMLAttributes<UButtonGroupElement>, keyof UButtonGroupOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<UButtonGroupElement>, keyof UButtonGroupOwnProps | never>
|
|
7
9
|
& React.RefAttributes<UButtonGroupElement>
|
|
8
10
|
& {
|
|
9
11
|
}
|
package/dist/react/UCard.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UCard as UCardElement } from '@iyulab/components/dist/components/card/UCard.js';
|
|
3
3
|
|
|
4
|
+
type UCardOwnProps = Omit<UCardElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const UCard: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<UCardElement>, never>
|
|
7
|
+
Partial<Omit<UCardElement, Exclude<keyof React.HTMLAttributes<UCardElement>, keyof UCardOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<UCardElement>, keyof UCardOwnProps | never>
|
|
7
9
|
& React.RefAttributes<UCardElement>
|
|
8
10
|
& {
|
|
9
11
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UCarousel as UCarouselElement } from '@iyulab/components/dist/components/carousel/UCarousel.js';
|
|
3
3
|
|
|
4
|
+
type UCarouselOwnProps = Omit<UCarouselElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const UCarousel: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<UCarouselElement>, never>
|
|
7
|
+
Partial<Omit<UCarouselElement, Exclude<keyof React.HTMLAttributes<UCarouselElement>, keyof UCarouselOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<UCarouselElement>, keyof UCarouselOwnProps | never>
|
|
7
9
|
& React.RefAttributes<UCarouselElement>
|
|
8
10
|
& {
|
|
9
11
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UCheckbox as UCheckboxElement } from '@iyulab/components/dist/components/checkbox/UCheckbox.js';
|
|
3
3
|
|
|
4
|
+
type UCheckboxOwnProps = Omit<UCheckboxElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const UCheckbox: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<UCheckboxElement>, 'onChange'>
|
|
7
|
+
Partial<Omit<UCheckboxElement, Exclude<keyof React.HTMLAttributes<UCheckboxElement>, keyof UCheckboxOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<UCheckboxElement>, keyof UCheckboxOwnProps | 'onChange'>
|
|
7
9
|
& React.RefAttributes<UCheckboxElement>
|
|
8
10
|
& {
|
|
9
11
|
onChange?: (event: CustomEvent) => void;
|
package/dist/react/UChip.d.ts
CHANGED
|
@@ -3,9 +3,11 @@ import { UChip as UChipElement } from '@iyulab/components/dist/components/chip/U
|
|
|
3
3
|
import { type PickEventDetail } from '@iyulab/components/dist/events/PickEvent.js';
|
|
4
4
|
import { type RemoveEventDetail } from '@iyulab/components/dist/events/RemoveEvent.js';
|
|
5
5
|
|
|
6
|
+
type UChipOwnProps = Omit<UChipElement, keyof HTMLElement>;
|
|
7
|
+
|
|
6
8
|
export declare const UChip: React.ForwardRefExoticComponent<
|
|
7
|
-
Omit<
|
|
8
|
-
& Omit<React.HTMLAttributes<UChipElement>, 'onPick' | 'onRemove'>
|
|
9
|
+
Partial<Omit<UChipElement, Exclude<keyof React.HTMLAttributes<UChipElement>, keyof UChipOwnProps>>>
|
|
10
|
+
& Omit<React.HTMLAttributes<UChipElement>, keyof UChipOwnProps | 'onPick' | 'onRemove'>
|
|
9
11
|
& React.RefAttributes<UChipElement>
|
|
10
12
|
& {
|
|
11
13
|
onPick?: (event: CustomEvent<PickEventDetail>) => void;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UCopyButton as UCopyButtonElement } from '@iyulab/components/dist/components/copy-button/UCopyButton.js';
|
|
3
3
|
|
|
4
|
+
type UCopyButtonOwnProps = Omit<UCopyButtonElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const UCopyButton: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<UCopyButtonElement>, 'onCopy'>
|
|
7
|
+
Partial<Omit<UCopyButtonElement, Exclude<keyof React.HTMLAttributes<UCopyButtonElement>, keyof UCopyButtonOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<UCopyButtonElement>, keyof UCopyButtonOwnProps | 'onCopy'>
|
|
7
9
|
& React.RefAttributes<UCopyButtonElement>
|
|
8
10
|
& {
|
|
9
11
|
onCopy?: (event: CustomEvent) => void;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UDatePicker as UDatePickerElement } from '@iyulab/components/dist/components/date-picker/UDatePicker.js';
|
|
3
3
|
|
|
4
|
+
type UDatePickerOwnProps = Omit<UDatePickerElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const UDatePicker: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<UDatePickerElement>, 'onChange'>
|
|
7
|
+
Partial<Omit<UDatePickerElement, Exclude<keyof React.HTMLAttributes<UDatePickerElement>, keyof UDatePickerOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<UDatePickerElement>, keyof UDatePickerOwnProps | 'onChange'>
|
|
7
9
|
& React.RefAttributes<UDatePickerElement>
|
|
8
10
|
& {
|
|
9
11
|
onChange?: (event: CustomEvent) => void;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UDateRangePicker as UDateRangePickerElement } from '@iyulab/components/dist/components/date-range-picker/UDateRangePicker.js';
|
|
3
3
|
|
|
4
|
+
type UDateRangePickerOwnProps = Omit<UDateRangePickerElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const UDateRangePicker: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<UDateRangePickerElement>, 'onChange'>
|
|
7
|
+
Partial<Omit<UDateRangePickerElement, Exclude<keyof React.HTMLAttributes<UDateRangePickerElement>, keyof UDateRangePickerOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<UDateRangePickerElement>, keyof UDateRangePickerOwnProps | 'onChange'>
|
|
7
9
|
& React.RefAttributes<UDateRangePickerElement>
|
|
8
10
|
& {
|
|
9
11
|
onChange?: (event: CustomEvent) => void;
|
package/dist/react/UDialog.d.ts
CHANGED
|
@@ -3,9 +3,11 @@ import { UDialog as UDialogElement } from '@iyulab/components/dist/components/di
|
|
|
3
3
|
import { type ShowEventDetail } from '@iyulab/components/dist/events/ShowEvent.js';
|
|
4
4
|
import { type HideEventDetail } from '@iyulab/components/dist/events/HideEvent.js';
|
|
5
5
|
|
|
6
|
+
type UDialogOwnProps = Omit<UDialogElement, keyof HTMLElement>;
|
|
7
|
+
|
|
6
8
|
export declare const UDialog: React.ForwardRefExoticComponent<
|
|
7
|
-
Omit<
|
|
8
|
-
& Omit<React.HTMLAttributes<UDialogElement>, 'onShow' | 'onHide'>
|
|
9
|
+
Partial<Omit<UDialogElement, Exclude<keyof React.HTMLAttributes<UDialogElement>, keyof UDialogOwnProps>>>
|
|
10
|
+
& Omit<React.HTMLAttributes<UDialogElement>, keyof UDialogOwnProps | 'onShow' | 'onHide'>
|
|
9
11
|
& React.RefAttributes<UDialogElement>
|
|
10
12
|
& {
|
|
11
13
|
onShow?: (event: CustomEvent<ShowEventDetail>) => void;
|
package/dist/react/UDivider.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UDivider as UDividerElement } from '@iyulab/components/dist/components/divider/UDivider.js';
|
|
3
3
|
|
|
4
|
+
type UDividerOwnProps = Omit<UDividerElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const UDivider: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<UDividerElement>, never>
|
|
7
|
+
Partial<Omit<UDividerElement, Exclude<keyof React.HTMLAttributes<UDividerElement>, keyof UDividerOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<UDividerElement>, keyof UDividerOwnProps | never>
|
|
7
9
|
& React.RefAttributes<UDividerElement>
|
|
8
10
|
& {
|
|
9
11
|
}
|
package/dist/react/UDrawer.d.ts
CHANGED
|
@@ -3,9 +3,11 @@ import { UDrawer as UDrawerElement } from '@iyulab/components/dist/components/dr
|
|
|
3
3
|
import { type ShowEventDetail } from '@iyulab/components/dist/events/ShowEvent.js';
|
|
4
4
|
import { type HideEventDetail } from '@iyulab/components/dist/events/HideEvent.js';
|
|
5
5
|
|
|
6
|
+
type UDrawerOwnProps = Omit<UDrawerElement, keyof HTMLElement>;
|
|
7
|
+
|
|
6
8
|
export declare const UDrawer: React.ForwardRefExoticComponent<
|
|
7
|
-
Omit<
|
|
8
|
-
& Omit<React.HTMLAttributes<UDrawerElement>, 'onShow' | 'onHide'>
|
|
9
|
+
Partial<Omit<UDrawerElement, Exclude<keyof React.HTMLAttributes<UDrawerElement>, keyof UDrawerOwnProps>>>
|
|
10
|
+
& Omit<React.HTMLAttributes<UDrawerElement>, keyof UDrawerOwnProps | 'onShow' | 'onHide'>
|
|
9
11
|
& React.RefAttributes<UDrawerElement>
|
|
10
12
|
& {
|
|
11
13
|
onShow?: (event: CustomEvent<ShowEventDetail>) => void;
|
|
@@ -3,9 +3,11 @@ import { UExpander as UExpanderElement } from '@iyulab/components/dist/component
|
|
|
3
3
|
import { type ExpandEventDetail } from '@iyulab/components/dist/events/ExpandEvent.js';
|
|
4
4
|
import { type CollapseEventDetail } from '@iyulab/components/dist/events/CollapseEvent.js';
|
|
5
5
|
|
|
6
|
+
type UExpanderOwnProps = Omit<UExpanderElement, keyof HTMLElement>;
|
|
7
|
+
|
|
6
8
|
export declare const UExpander: React.ForwardRefExoticComponent<
|
|
7
|
-
Omit<
|
|
8
|
-
& Omit<React.HTMLAttributes<UExpanderElement>, 'onExpand' | 'onCollapse'>
|
|
9
|
+
Partial<Omit<UExpanderElement, Exclude<keyof React.HTMLAttributes<UExpanderElement>, keyof UExpanderOwnProps>>>
|
|
10
|
+
& Omit<React.HTMLAttributes<UExpanderElement>, keyof UExpanderOwnProps | 'onExpand' | 'onCollapse'>
|
|
9
11
|
& React.RefAttributes<UExpanderElement>
|
|
10
12
|
& {
|
|
11
13
|
onExpand?: (event: CustomEvent<ExpandEventDetail>) => void;
|
package/dist/react/UField.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UField as UFieldElement } from '@iyulab/components/dist/components/field/UField.js';
|
|
3
3
|
|
|
4
|
+
type UFieldOwnProps = Omit<UFieldElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const UField: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<UFieldElement>, never>
|
|
7
|
+
Partial<Omit<UFieldElement, Exclude<keyof React.HTMLAttributes<UFieldElement>, keyof UFieldOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<UFieldElement>, keyof UFieldOwnProps | never>
|
|
7
9
|
& React.RefAttributes<UFieldElement>
|
|
8
10
|
& {
|
|
9
11
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UFileInput as UFileInputElement } from '@iyulab/components/dist/components/file-input/UFileInput.js';
|
|
3
3
|
|
|
4
|
+
type UFileInputOwnProps = Omit<UFileInputElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const UFileInput: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<UFileInputElement>, 'onChange'>
|
|
7
|
+
Partial<Omit<UFileInputElement, Exclude<keyof React.HTMLAttributes<UFileInputElement>, keyof UFileInputOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<UFileInputElement>, keyof UFileInputOwnProps | 'onChange'>
|
|
7
9
|
& React.RefAttributes<UFileInputElement>
|
|
8
10
|
& {
|
|
9
11
|
onChange?: (event: CustomEvent) => void;
|
package/dist/react/UForm.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UForm as UFormElement } from '@iyulab/components/dist/components/form/UForm.js';
|
|
3
3
|
|
|
4
|
+
type UFormOwnProps = Omit<UFormElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const UForm: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<UFormElement>, 'onChange'>
|
|
7
|
+
Partial<Omit<UFormElement, Exclude<keyof React.HTMLAttributes<UFormElement>, keyof UFormOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<UFormElement>, keyof UFormOwnProps | 'onChange'>
|
|
7
9
|
& React.RefAttributes<UFormElement>
|
|
8
10
|
& {
|
|
9
11
|
onChange?: (event: CustomEvent) => void;
|
package/dist/react/UIcon.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UIcon as UIconElement } from '@iyulab/components/dist/components/icon/UIcon.js';
|
|
3
3
|
|
|
4
|
+
type UIconOwnProps = Omit<UIconElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const UIcon: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<UIconElement>, never>
|
|
7
|
+
Partial<Omit<UIconElement, Exclude<keyof React.HTMLAttributes<UIconElement>, keyof UIconOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<UIconElement>, keyof UIconOwnProps | never>
|
|
7
9
|
& React.RefAttributes<UIconElement>
|
|
8
10
|
& {
|
|
9
11
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UIconButton as UIconButtonElement } from '@iyulab/components/dist/components/icon-button/UIconButton.js';
|
|
3
3
|
|
|
4
|
+
type UIconButtonOwnProps = Omit<UIconButtonElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const UIconButton: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<UIconButtonElement>, never>
|
|
7
|
+
Partial<Omit<UIconButtonElement, Exclude<keyof React.HTMLAttributes<UIconButtonElement>, keyof UIconButtonOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<UIconButtonElement>, keyof UIconButtonOwnProps | never>
|
|
7
9
|
& React.RefAttributes<UIconButtonElement>
|
|
8
10
|
& {
|
|
9
11
|
}
|
package/dist/react/UInput.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UInput as UInputElement } from '@iyulab/components/dist/components/input/UInput.js';
|
|
3
3
|
|
|
4
|
+
type UInputOwnProps = Omit<UInputElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const UInput: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<UInputElement>, 'onInput' | 'onChange'>
|
|
7
|
+
Partial<Omit<UInputElement, Exclude<keyof React.HTMLAttributes<UInputElement>, keyof UInputOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<UInputElement>, keyof UInputOwnProps | 'onInput' | 'onChange'>
|
|
7
9
|
& React.RefAttributes<UInputElement>
|
|
8
10
|
& {
|
|
9
11
|
onInput?: (event: CustomEvent) => void;
|
package/dist/react/UMenu.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UMenu as UMenuElement } from '@iyulab/components/dist/components/menu/UMenu.js';
|
|
3
3
|
|
|
4
|
+
type UMenuOwnProps = Omit<UMenuElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const UMenu: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<UMenuElement>, 'onChange'>
|
|
7
|
+
Partial<Omit<UMenuElement, Exclude<keyof React.HTMLAttributes<UMenuElement>, keyof UMenuOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<UMenuElement>, keyof UMenuOwnProps | 'onChange'>
|
|
7
9
|
& React.RefAttributes<UMenuElement>
|
|
8
10
|
& {
|
|
9
11
|
onChange?: (event: CustomEvent) => void;
|
|
@@ -2,9 +2,11 @@ import React from 'react';
|
|
|
2
2
|
import { UMenuItem as UMenuItemElement } from '@iyulab/components/dist/components/menu-item/UMenuItem.js';
|
|
3
3
|
import { type PickEventDetail } from '@iyulab/components/dist/events/PickEvent.js';
|
|
4
4
|
|
|
5
|
+
type UMenuItemOwnProps = Omit<UMenuItemElement, keyof HTMLElement>;
|
|
6
|
+
|
|
5
7
|
export declare const UMenuItem: React.ForwardRefExoticComponent<
|
|
6
|
-
Omit<
|
|
7
|
-
& Omit<React.HTMLAttributes<UMenuItemElement>, 'onPick'>
|
|
8
|
+
Partial<Omit<UMenuItemElement, Exclude<keyof React.HTMLAttributes<UMenuItemElement>, keyof UMenuItemOwnProps>>>
|
|
9
|
+
& Omit<React.HTMLAttributes<UMenuItemElement>, keyof UMenuItemOwnProps | 'onPick'>
|
|
8
10
|
& React.RefAttributes<UMenuItemElement>
|
|
9
11
|
& {
|
|
10
12
|
onPick?: (event: CustomEvent<PickEventDetail>) => void;
|
package/dist/react/UOption.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UOption as UOptionElement } from '@iyulab/components/dist/components/option/UOption.js';
|
|
3
3
|
|
|
4
|
+
type UOptionOwnProps = Omit<UOptionElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const UOption: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<UOptionElement>, never>
|
|
7
|
+
Partial<Omit<UOptionElement, Exclude<keyof React.HTMLAttributes<UOptionElement>, keyof UOptionOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<UOptionElement>, keyof UOptionOwnProps | never>
|
|
7
9
|
& React.RefAttributes<UOptionElement>
|
|
8
10
|
& {
|
|
9
11
|
}
|
package/dist/react/UPanel.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UPanel as UPanelElement } from '@iyulab/components/dist/components/panel/UPanel.js';
|
|
3
3
|
|
|
4
|
+
type UPanelOwnProps = Omit<UPanelElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const UPanel: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<UPanelElement>, never>
|
|
7
|
+
Partial<Omit<UPanelElement, Exclude<keyof React.HTMLAttributes<UPanelElement>, keyof UPanelOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<UPanelElement>, keyof UPanelOwnProps | never>
|
|
7
9
|
& React.RefAttributes<UPanelElement>
|
|
8
10
|
& {
|
|
9
11
|
}
|
package/dist/react/UPopover.d.ts
CHANGED
|
@@ -3,9 +3,11 @@ import { UPopover as UPopoverElement } from '@iyulab/components/dist/components/
|
|
|
3
3
|
import { type ShowEventDetail } from '@iyulab/components/dist/events/ShowEvent.js';
|
|
4
4
|
import { type HideEventDetail } from '@iyulab/components/dist/events/HideEvent.js';
|
|
5
5
|
|
|
6
|
+
type UPopoverOwnProps = Omit<UPopoverElement, keyof HTMLElement>;
|
|
7
|
+
|
|
6
8
|
export declare const UPopover: React.ForwardRefExoticComponent<
|
|
7
|
-
Omit<
|
|
8
|
-
& Omit<React.HTMLAttributes<UPopoverElement>, 'onShow' | 'onHide'>
|
|
9
|
+
Partial<Omit<UPopoverElement, Exclude<keyof React.HTMLAttributes<UPopoverElement>, keyof UPopoverOwnProps>>>
|
|
10
|
+
& Omit<React.HTMLAttributes<UPopoverElement>, keyof UPopoverOwnProps | 'onShow' | 'onHide'>
|
|
9
11
|
& React.RefAttributes<UPopoverElement>
|
|
10
12
|
& {
|
|
11
13
|
onShow?: (event: CustomEvent<ShowEventDetail>) => void;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UProgressBar as UProgressBarElement } from '@iyulab/components/dist/components/progress-bar/UProgressBar.js';
|
|
3
3
|
|
|
4
|
+
type UProgressBarOwnProps = Omit<UProgressBarElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const UProgressBar: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<UProgressBarElement>, never>
|
|
7
|
+
Partial<Omit<UProgressBarElement, Exclude<keyof React.HTMLAttributes<UProgressBarElement>, keyof UProgressBarOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<UProgressBarElement>, keyof UProgressBarOwnProps | never>
|
|
7
9
|
& React.RefAttributes<UProgressBarElement>
|
|
8
10
|
& {
|
|
9
11
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UProgressRing as UProgressRingElement } from '@iyulab/components/dist/components/progress-ring/UProgressRing.js';
|
|
3
3
|
|
|
4
|
+
type UProgressRingOwnProps = Omit<UProgressRingElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const UProgressRing: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<UProgressRingElement>, never>
|
|
7
|
+
Partial<Omit<UProgressRingElement, Exclude<keyof React.HTMLAttributes<UProgressRingElement>, keyof UProgressRingOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<UProgressRingElement>, keyof UProgressRingOwnProps | never>
|
|
7
9
|
& React.RefAttributes<UProgressRingElement>
|
|
8
10
|
& {
|
|
9
11
|
}
|
package/dist/react/URadio.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { URadio as URadioElement } from '@iyulab/components/dist/components/radio/URadio.js';
|
|
3
3
|
|
|
4
|
+
type URadioOwnProps = Omit<URadioElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const URadio: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<URadioElement>, 'onChange'>
|
|
7
|
+
Partial<Omit<URadioElement, Exclude<keyof React.HTMLAttributes<URadioElement>, keyof URadioOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<URadioElement>, keyof URadioOwnProps | 'onChange'>
|
|
7
9
|
& React.RefAttributes<URadioElement>
|
|
8
10
|
& {
|
|
9
11
|
onChange?: (event: CustomEvent) => void;
|
package/dist/react/URating.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { URating as URatingElement } from '@iyulab/components/dist/components/rating/URating.js';
|
|
3
3
|
|
|
4
|
+
type URatingOwnProps = Omit<URatingElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const URating: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<URatingElement>, 'onChange'>
|
|
7
|
+
Partial<Omit<URatingElement, Exclude<keyof React.HTMLAttributes<URatingElement>, keyof URatingOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<URatingElement>, keyof URatingOwnProps | 'onChange'>
|
|
7
9
|
& React.RefAttributes<URatingElement>
|
|
8
10
|
& {
|
|
9
11
|
onChange?: (event: CustomEvent) => void;
|
package/dist/react/USelect.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { USelect as USelectElement } from '@iyulab/components/dist/components/select/USelect.js';
|
|
3
3
|
|
|
4
|
+
type USelectOwnProps = Omit<USelectElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const USelect: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<USelectElement>, 'onChange' | 'onSearch'>
|
|
7
|
+
Partial<Omit<USelectElement, Exclude<keyof React.HTMLAttributes<USelectElement>, keyof USelectOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<USelectElement>, keyof USelectOwnProps | 'onChange' | 'onSearch'>
|
|
7
9
|
& React.RefAttributes<USelectElement>
|
|
8
10
|
& {
|
|
9
11
|
onChange?: (event: CustomEvent) => void;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { USkeleton as USkeletonElement } from '@iyulab/components/dist/components/skeleton/USkeleton.js';
|
|
3
3
|
|
|
4
|
+
type USkeletonOwnProps = Omit<USkeletonElement, keyof HTMLElement>;
|
|
5
|
+
|
|
4
6
|
export declare const USkeleton: React.ForwardRefExoticComponent<
|
|
5
|
-
Omit<
|
|
6
|
-
& Omit<React.HTMLAttributes<USkeletonElement>, never>
|
|
7
|
+
Partial<Omit<USkeletonElement, Exclude<keyof React.HTMLAttributes<USkeletonElement>, keyof USkeletonOwnProps>>>
|
|
8
|
+
& Omit<React.HTMLAttributes<USkeletonElement>, keyof USkeletonOwnProps | never>
|
|
7
9
|
& React.RefAttributes<USkeletonElement>
|
|
8
10
|
& {
|
|
9
11
|
}
|