@iyulab/components 1.36.0 → 1.37.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +50 -0
- package/dist/components/UFloatingElement.d.ts +13 -1
- package/dist/components/UFloatingElement.js +1 -1
- package/dist/components/date-picker/UDatePicker.d.ts +5 -0
- package/dist/components/date-picker/UDatePicker.js +1 -0
- package/dist/components/select/USelect.d.ts +4 -0
- package/dist/components/select/USelect.js +1 -0
- 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/package.json +2 -1
- package/skills/iyulab-components/references/components/popover.md +11 -1
- package/skills/iyulab-components/references/components/tooltip.md +11 -1
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,
|
package/dist/react/UMenu.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { UMenu as UMenuElement } from '
|
|
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>>
|
package/dist/react/UMenu.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { UMenu as UMenuElement } from '
|
|
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 '
|
|
3
|
-
import { type PickEventDetail } from '
|
|
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>>
|
package/dist/react/UMenuItem.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { UMenuItem as UMenuItemElement } from '
|
|
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,
|
package/dist/react/UOption.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { UOption as UOptionElement } from '
|
|
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>>
|
package/dist/react/UOption.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { UOption as UOptionElement } from '
|
|
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,
|
package/dist/react/UPanel.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { UPanel as UPanelElement } from '
|
|
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>>
|
package/dist/react/UPanel.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { UPanel as UPanelElement } from '
|
|
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,
|
package/dist/react/UPopover.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { UPopover as UPopoverElement } from '
|
|
3
|
-
import { type ShowEventDetail } from '
|
|
4
|
-
import { type HideEventDetail } from '
|
|
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>>
|
package/dist/react/UPopover.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { UPopover as UPopoverElement } from '
|
|
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 '
|
|
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 '
|
|
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 '
|
|
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 '
|
|
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,
|
package/dist/react/URadio.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { URadio as URadioElement } from '
|
|
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>>
|
package/dist/react/URadio.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { URadio as URadioElement } from '
|
|
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,
|
package/dist/react/URating.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { URating as URatingElement } from '
|
|
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>>
|
package/dist/react/URating.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { URating as URatingElement } from '
|
|
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,
|
package/dist/react/USelect.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { USelect as USelectElement } from '
|
|
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>>
|
package/dist/react/USelect.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { USelect as USelectElement } from '
|
|
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 '
|
|
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>>
|
package/dist/react/USkeleton.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { USkeleton as USkeletonElement } from '
|
|
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,
|
package/dist/react/USlider.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { USlider as USliderElement } from '
|
|
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>>
|
package/dist/react/USlider.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { USlider as USliderElement } from '
|
|
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,
|
package/dist/react/USpinner.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { USpinner as USpinnerElement } from '
|
|
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>>
|
package/dist/react/USpinner.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { USpinner as USpinnerElement } from '
|
|
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 '
|
|
3
|
-
import { type ShiftEventDetail } from '
|
|
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 '
|
|
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,
|
package/dist/react/USwitch.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { USwitch as USwitchElement } from '
|
|
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>>
|
package/dist/react/USwitch.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { USwitch as USwitchElement } from '
|
|
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,
|
package/dist/react/UTab.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { UTab as UTabElement } from '
|
|
3
|
-
import { type RemoveEventDetail } from '
|
|
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>>
|
package/dist/react/UTab.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { UTab as UTabElement } from '
|
|
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 '
|
|
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>>
|
package/dist/react/UTabPanel.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { UTabPanel as UTabPanelElement } from '
|
|
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,
|
package/dist/react/UTag.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { UTag as UTagElement } from '
|
|
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>>
|
package/dist/react/UTag.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { UTag as UTagElement } from '
|
|
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,
|
package/dist/react/UText.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { UText as UTextElement } from '
|
|
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>>
|
package/dist/react/UText.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { UText as UTextElement } from '
|
|
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 '
|
|
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>>
|
package/dist/react/UTextarea.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { UTextarea as UTextareaElement } from '
|
|
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,
|
package/dist/react/UTooltip.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { UTooltip as UTooltipElement } from '
|
|
3
|
-
import { type ShowEventDetail } from '
|
|
4
|
-
import { type HideEventDetail } from '
|
|
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>>
|
package/dist/react/UTooltip.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { UTooltip as UTooltipElement } from '
|
|
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,
|
package/dist/react/UTree.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { UTree as UTreeElement } from '
|
|
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>>
|
package/dist/react/UTree.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { UTree as UTreeElement } from '
|
|
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 '
|
|
3
|
-
import { type ExpandEventDetail } from '
|
|
4
|
-
import { type CollapseEventDetail } from '
|
|
5
|
-
import { type PickEventDetail } from '
|
|
6
|
-
import { type CheckEventDetail } from '
|
|
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>>
|
package/dist/react/UTreeItem.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { UTreeItem as UTreeItemElement } from '
|
|
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.
|
|
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",
|
|
@@ -40,7 +40,7 @@ Inherits all `UFloatingElement` properties (see [floating.md](../extensions/floa
|
|
|
40
40
|
| `disabled` | `boolean` | `false` | ✓ | Disable opening |
|
|
41
41
|
| `placement` | `Placement` | — | — | Preferred placement (`top`, `bottom`, `left`, `right`, `*-start`, `*-end`) |
|
|
42
42
|
| `offset` | `OffsetOptions` | `0` | — | Distance from anchor |
|
|
43
|
-
| `shift` | `boolean` | `false` | — |
|
|
43
|
+
| `shift` | `boolean` | `false` | — | Correct the cross-axis position *within* the placed side (see note below) |
|
|
44
44
|
| `arrow` | `boolean` | `false` | — | Show arrow pointing to anchor |
|
|
45
45
|
| `showDelay` | `number` | `0` | — | Open delay in ms |
|
|
46
46
|
| `hideDelay` | `number` | `0` | — | Close delay in ms |
|
|
@@ -48,6 +48,16 @@ Inherits all `UFloatingElement` properties (see [floating.md](../extensions/floa
|
|
|
48
48
|
| `dismiss` | `string[]` | `['click','escape','scroll','resize']` | ✓ | Close triggers — see note below |
|
|
49
49
|
| `autofocus` | `boolean` | `false` | ✓ | Focus first focusable element on open |
|
|
50
50
|
|
|
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 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.
|
|
57
|
+
> `shift` is a separate, narrower correction: it nudges the element along the cross axis
|
|
58
|
+
> *within* whichever side ended up being used. Neither can be turned off independently.
|
|
59
|
+
|
|
60
|
+
|
|
51
61
|
### `dismiss` semantics
|
|
52
62
|
|
|
53
63
|
`click` and `escape` express user intent and always close the popover.
|
|
@@ -43,13 +43,23 @@ Inherits all `UFloatingElement` properties (see [floating.md](../extensions/floa
|
|
|
43
43
|
| `open` | `boolean` | `false` | ✓ | Visibility state |
|
|
44
44
|
| `placement` | `Placement` | — | — | Preferred placement |
|
|
45
45
|
| `offset` | `OffsetOptions` | `0` | — | Gap from target |
|
|
46
|
-
| `shift` | `boolean` | `false` | — |
|
|
46
|
+
| `shift` | `boolean` | `false` | — | Correct the cross-axis position *within* the placed side (see note below) |
|
|
47
47
|
| `arrow` | `boolean` | `false` | — | Show pointing arrow |
|
|
48
48
|
| `showDelay` | `number` | `0` | — | Open delay in ms |
|
|
49
49
|
| `hideDelay` | `number` | `0` | — | Close delay in ms |
|
|
50
50
|
| `interactive` | `boolean` | `false` | ✓ | Keep open when mouse is over tooltip |
|
|
51
51
|
| `tracking` | `boolean` | `false` | ✓ | Follow mouse cursor position |
|
|
52
52
|
|
|
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 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.
|
|
59
|
+
> `shift` is a separate, narrower correction: it nudges the element along the cross axis
|
|
60
|
+
> *within* whichever side ended up being used. Neither can be turned off independently.
|
|
61
|
+
|
|
62
|
+
|
|
53
63
|
## Events
|
|
54
64
|
|
|
55
65
|
| Event | Cancelable | Description |
|