shineout 3.6.0-beta.9 → 3.6.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/cjs/alert/alert.d.ts +1 -2
- package/cjs/avatar/avatar.d.ts +1 -2
- package/cjs/avatar/group.d.ts +1 -2
- package/cjs/badge/badge.d.ts +1 -2
- package/cjs/breadcrumb/breadcrumb.d.ts +1 -2
- package/cjs/button/button.d.ts +1 -2
- package/cjs/button/group.d.ts +1 -2
- package/cjs/card/accordion.d.ts +1 -2
- package/cjs/card/body.d.ts +1 -2
- package/cjs/card/card.d.ts +1 -2
- package/cjs/card/footer.d.ts +1 -2
- package/cjs/card/header.d.ts +1 -2
- package/cjs/card/index.d.ts +5 -6
- package/cjs/card-group/card-group.d.ts +1 -2
- package/cjs/card-group/index.d.ts +1 -2
- package/cjs/card-group/item.d.ts +1 -2
- package/cjs/carousel/carousel.d.ts +1 -2
- package/cjs/cascader/cascader.d.ts +1 -2
- package/cjs/checkbox/checkbox.d.ts +1 -2
- package/cjs/checkbox/group.d.ts +1 -2
- package/cjs/collapse/collapse-item.d.ts +1 -2
- package/cjs/collapse/collapse.d.ts +1 -2
- package/cjs/date-picker/date-picker.d.ts +1 -2
- package/cjs/descriptions/descriptions.d.ts +1 -2
- package/cjs/divider/divider.d.ts +1 -2
- package/cjs/drawer/drawer.d.ts +1 -2
- package/cjs/dropdown/dropdown.d.ts +1 -2
- package/cjs/editable-area/editable-area.d.ts +1 -2
- package/cjs/empty/empty.d.ts +1 -2
- package/cjs/form/form-button.d.ts +3 -4
- package/cjs/form/form-field.d.ts +1 -2
- package/cjs/form/form-fieldset.d.ts +1 -2
- package/cjs/form/form-item.d.ts +1 -2
- package/cjs/form/form.d.ts +1 -2
- package/cjs/form/index.d.ts +6 -6
- package/cjs/gap/gap.d.ts +1 -2
- package/cjs/hooks/use-field-common.d.ts +1 -1
- package/cjs/icon/icon.d.ts +1 -2
- package/cjs/image/group.d.ts +1 -2
- package/cjs/image/image.d.ts +1 -2
- package/cjs/image/image.type.d.ts +2 -1
- package/cjs/index.js +1 -1
- package/cjs/input/group.d.ts +1 -2
- package/cjs/input/input.d.ts +1 -1
- package/cjs/input/number.d.ts +1 -2
- package/cjs/input/password.d.ts +1 -2
- package/cjs/link/link.d.ts +1 -2
- package/cjs/list/base-item.d.ts +1 -2
- package/cjs/list/list.d.ts +1 -2
- package/cjs/menu/menu.d.ts +1 -2
- package/cjs/menu/search.d.ts +1 -2
- package/cjs/modal/modal.d.ts +1 -2
- package/cjs/modal/submit.d.ts +1 -2
- package/cjs/pagination/pagination.d.ts +1 -2
- package/cjs/popover/confirm.d.ts +1 -2
- package/cjs/popover/popover.d.ts +2 -3
- package/cjs/progress/progress.d.ts +1 -2
- package/cjs/radio/group.d.ts +1 -2
- package/cjs/radio/radio.d.ts +1 -2
- package/cjs/rate/rate.d.ts +1 -2
- package/cjs/slider/slider.d.ts +1 -2
- package/cjs/spin/spin.d.ts +1 -2
- package/cjs/steps/interface.d.ts +1 -0
- package/cjs/steps/step.d.ts +1 -2
- package/cjs/steps/steps.d.ts +1 -2
- package/cjs/sticky/sticky.d.ts +1 -2
- package/cjs/switch/switch.d.ts +1 -2
- package/cjs/table/table.d.ts +1 -2
- package/cjs/table/table.js +3 -1
- package/cjs/tabs/tabs-panel.d.ts +1 -2
- package/cjs/tabs/tabs.d.ts +1 -2
- package/cjs/tag/tag-input.d.ts +1 -2
- package/cjs/tag/tag.d.ts +1 -2
- package/cjs/tests/t-01-tabs-link.d.ts +1 -2
- package/cjs/textarea/textarea.d.ts +1 -2
- package/cjs/tooltip/tooltip.d.ts +1 -2
- package/cjs/transfer/transfer.d.ts +1 -2
- package/cjs/tree/tree.d.ts +1 -2
- package/cjs/tree-select/tree-select.d.ts +1 -2
- package/cjs/upload/button.d.ts +1 -2
- package/cjs/upload/dragger.d.ts +3 -0
- package/cjs/upload/dragger.js +24 -0
- package/cjs/upload/dragger.type.d.ts +2 -0
- package/cjs/upload/dragger.type.js +5 -0
- package/cjs/upload/image.d.ts +1 -2
- package/cjs/upload/index.d.ts +6 -0
- package/cjs/upload/index.js +4 -0
- package/cjs/upload/interface.d.ts +1 -0
- package/cjs/upload/upload.d.ts +1 -2
- package/cjs/utils/dom/detect.d.ts +1 -1
- package/dist/shineout.js +1588 -792
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/dist/shineout.min.js.map +1 -1
- package/esm/alert/alert.d.ts +1 -2
- package/esm/avatar/avatar.d.ts +1 -2
- package/esm/avatar/group.d.ts +1 -2
- package/esm/badge/badge.d.ts +1 -2
- package/esm/breadcrumb/breadcrumb.d.ts +1 -2
- package/esm/button/button.d.ts +1 -2
- package/esm/button/group.d.ts +1 -2
- package/esm/card/accordion.d.ts +1 -2
- package/esm/card/body.d.ts +1 -2
- package/esm/card/card.d.ts +1 -2
- package/esm/card/footer.d.ts +1 -2
- package/esm/card/header.d.ts +1 -2
- package/esm/card/index.d.ts +5 -6
- package/esm/card-group/card-group.d.ts +1 -2
- package/esm/card-group/index.d.ts +1 -2
- package/esm/card-group/item.d.ts +1 -2
- package/esm/carousel/carousel.d.ts +1 -2
- package/esm/cascader/cascader.d.ts +1 -2
- package/esm/checkbox/checkbox.d.ts +1 -2
- package/esm/checkbox/group.d.ts +1 -2
- package/esm/collapse/collapse-item.d.ts +1 -2
- package/esm/collapse/collapse.d.ts +1 -2
- package/esm/date-picker/date-picker.d.ts +1 -2
- package/esm/descriptions/descriptions.d.ts +1 -2
- package/esm/divider/divider.d.ts +1 -2
- package/esm/drawer/drawer.d.ts +1 -2
- package/esm/dropdown/dropdown.d.ts +1 -2
- package/esm/editable-area/editable-area.d.ts +1 -2
- package/esm/empty/empty.d.ts +1 -2
- package/esm/form/form-button.d.ts +3 -4
- package/esm/form/form-field.d.ts +1 -2
- package/esm/form/form-fieldset.d.ts +1 -2
- package/esm/form/form-item.d.ts +1 -2
- package/esm/form/form.d.ts +1 -2
- package/esm/form/index.d.ts +6 -6
- package/esm/gap/gap.d.ts +1 -2
- package/esm/hooks/use-field-common.d.ts +1 -1
- package/esm/icon/icon.d.ts +1 -2
- package/esm/image/group.d.ts +1 -2
- package/esm/image/image.d.ts +1 -2
- package/esm/image/image.type.d.ts +2 -1
- package/esm/index.js +1 -1
- package/esm/input/group.d.ts +1 -2
- package/esm/input/input.d.ts +1 -1
- package/esm/input/number.d.ts +1 -2
- package/esm/input/password.d.ts +1 -2
- package/esm/link/link.d.ts +1 -2
- package/esm/list/base-item.d.ts +1 -2
- package/esm/list/list.d.ts +1 -2
- package/esm/menu/menu.d.ts +1 -2
- package/esm/menu/search.d.ts +1 -2
- package/esm/modal/modal.d.ts +1 -2
- package/esm/modal/submit.d.ts +1 -2
- package/esm/pagination/pagination.d.ts +1 -2
- package/esm/popover/confirm.d.ts +1 -2
- package/esm/popover/popover.d.ts +2 -3
- package/esm/progress/progress.d.ts +1 -2
- package/esm/radio/group.d.ts +1 -2
- package/esm/radio/radio.d.ts +1 -2
- package/esm/rate/rate.d.ts +1 -2
- package/esm/slider/slider.d.ts +1 -2
- package/esm/spin/spin.d.ts +1 -2
- package/esm/steps/interface.d.ts +1 -0
- package/esm/steps/step.d.ts +1 -2
- package/esm/steps/steps.d.ts +1 -2
- package/esm/sticky/sticky.d.ts +1 -2
- package/esm/switch/switch.d.ts +1 -2
- package/esm/table/table.d.ts +1 -2
- package/esm/table/table.js +4 -2
- package/esm/tabs/tabs-panel.d.ts +1 -2
- package/esm/tabs/tabs.d.ts +1 -2
- package/esm/tag/tag-input.d.ts +1 -2
- package/esm/tag/tag.d.ts +1 -2
- package/esm/tests/t-01-tabs-link.d.ts +1 -2
- package/esm/textarea/textarea.d.ts +1 -2
- package/esm/tooltip/tooltip.d.ts +1 -2
- package/esm/transfer/transfer.d.ts +1 -2
- package/esm/tree/tree.d.ts +1 -2
- package/esm/tree-select/tree-select.d.ts +1 -2
- package/esm/upload/button.d.ts +1 -2
- package/esm/upload/dragger.d.ts +3 -0
- package/esm/upload/dragger.js +18 -0
- package/esm/upload/dragger.type.d.ts +2 -0
- package/esm/upload/dragger.type.js +1 -0
- package/esm/upload/image.d.ts +1 -2
- package/esm/upload/index.d.ts +6 -0
- package/esm/upload/index.js +4 -0
- package/esm/upload/interface.d.ts +1 -0
- package/esm/upload/upload.d.ts +1 -2
- package/esm/utils/dom/detect.d.ts +1 -1
- package/package.json +5 -5
package/esm/alert/alert.d.ts
CHANGED
package/esm/avatar/avatar.d.ts
CHANGED
package/esm/avatar/group.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { AvatarGroupProps } from './group.type';
|
|
3
|
-
declare const ButtonGroup: (props: AvatarGroupProps) => JSX.Element;
|
|
2
|
+
declare const ButtonGroup: (props: AvatarGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default ButtonGroup;
|
package/esm/badge/badge.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { BreadcrumbProps } from './breadcrumb.type';
|
|
3
|
-
declare const _default: <Item = import("@sheinx/base").BreadcrumbDataType>(props: BreadcrumbProps<Item>) => JSX.Element;
|
|
2
|
+
declare const _default: <Item = import("@sheinx/base").BreadcrumbDataType>(props: BreadcrumbProps<Item>) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default _default;
|
package/esm/button/button.d.ts
CHANGED
package/esm/button/group.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ButtonGroupProps } from './group.type';
|
|
3
|
-
declare const ButtonGroup: (props: ButtonGroupProps) => JSX.Element;
|
|
2
|
+
declare const ButtonGroup: (props: ButtonGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default ButtonGroup;
|
package/esm/card/accordion.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { CardAccordionProps } from './accordion.type';
|
|
3
|
-
declare const _default: (props: CardAccordionProps) => JSX.Element;
|
|
2
|
+
declare const _default: (props: CardAccordionProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default _default;
|
package/esm/card/body.d.ts
CHANGED
package/esm/card/card.d.ts
CHANGED
package/esm/card/footer.d.ts
CHANGED
package/esm/card/header.d.ts
CHANGED
package/esm/card/index.d.ts
CHANGED
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import Card from './card';
|
|
3
2
|
type RefCard = typeof Card;
|
|
4
|
-
declare const HeaderComp: ((props: import("./header.type").CardHeaderProps) => JSX.Element) & {
|
|
3
|
+
declare const HeaderComp: ((props: import("./header.type").CardHeaderProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
5
4
|
displayName: string;
|
|
6
5
|
};
|
|
7
|
-
declare const BodyComp: ((props: import("./body.type").CardBodyProps) => JSX.Element) & {
|
|
6
|
+
declare const BodyComp: ((props: import("./body.type").CardBodyProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
8
7
|
displayName: string;
|
|
9
8
|
};
|
|
10
|
-
declare const FooterComp: ((props: import("./footer.type").CardFooterProps) => JSX.Element) & {
|
|
9
|
+
declare const FooterComp: ((props: import("./footer.type").CardFooterProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
11
10
|
displayName: string;
|
|
12
11
|
};
|
|
13
|
-
declare const SubmitComp: ((props: import("../button/button.type").ButtonProps) => JSX.Element) & {
|
|
12
|
+
declare const SubmitComp: ((props: import("../button/button.type").ButtonProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
14
13
|
displayName: string;
|
|
15
14
|
};
|
|
16
|
-
declare const AccordionComp: ((props: import("./accordion.type").CardAccordionProps) => JSX.Element) & {
|
|
15
|
+
declare const AccordionComp: ((props: import("./accordion.type").CardAccordionProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
17
16
|
displayName: string;
|
|
18
17
|
};
|
|
19
18
|
export interface CardComponent extends RefCard {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { CardGroupProps } from './card-group.type';
|
|
3
|
-
declare const _default: (props: CardGroupProps) => JSX.Element;
|
|
2
|
+
declare const _default: (props: CardGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default _default;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import CardGroup from './card-group';
|
|
3
2
|
type RefCardGroup = typeof CardGroup;
|
|
4
|
-
declare const Item: (<V>(props: import("./item.type").CardGroupItemProps<V>) => JSX.Element) & {
|
|
3
|
+
declare const Item: (<V>(props: import("./item.type").CardGroupItemProps<V>) => import("react/jsx-runtime").JSX.Element) & {
|
|
5
4
|
displayName: string;
|
|
6
5
|
};
|
|
7
6
|
export interface CardGroupComponent extends RefCardGroup {
|
package/esm/card-group/item.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { CardGroupItemProps } from './item.type';
|
|
3
|
-
declare const _default: <V>(props: CardGroupItemProps<V>) => JSX.Element;
|
|
2
|
+
declare const _default: <V>(props: CardGroupItemProps<V>) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default _default;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { KeygenResult } from '@sheinx/hooks';
|
|
3
2
|
import { CascaderProps } from './cascader.type';
|
|
4
|
-
declare const _default: <DataItem, Value extends KeygenResult[]>(props: CascaderProps<DataItem, Value>) => JSX.Element;
|
|
3
|
+
declare const _default: <DataItem, Value extends KeygenResult[]>(props: CascaderProps<DataItem, Value>) => import("react/jsx-runtime").JSX.Element;
|
|
5
4
|
export default _default;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { CheckboxProps } from './checkbox.type';
|
|
3
|
-
declare const Checkbox: <T>(props: CheckboxProps<T>) => JSX.Element;
|
|
2
|
+
declare const Checkbox: <T>(props: CheckboxProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default Checkbox;
|
package/esm/checkbox/group.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { CheckboxGroupProps } from './group.type';
|
|
3
|
-
declare const CheckboxGroupWithField: <DataItem, Value extends any[]>(props: CheckboxGroupProps<DataItem, Value>) => JSX.Element;
|
|
2
|
+
declare const CheckboxGroupWithField: <DataItem, Value extends any[]>(props: CheckboxGroupProps<DataItem, Value>) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default CheckboxGroupWithField;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { CollapseItemProps } from './collapse-item.type';
|
|
3
|
-
declare const CollapseItem: (props: CollapseItemProps) => JSX.Element;
|
|
2
|
+
declare const CollapseItem: (props: CollapseItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default CollapseItem;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { DatePickerProps, DatePickerValueType } from './date-picker.type';
|
|
3
|
-
declare const _default: <Value extends DatePickerValueType = DatePickerValueType>(props: DatePickerProps<Value>) => JSX.Element;
|
|
2
|
+
declare const _default: <Value extends DatePickerValueType = DatePickerValueType>(props: DatePickerProps<Value>) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default _default;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { DescriptionsProps } from './descriptions.type';
|
|
3
|
-
declare const Descriptions: (props: DescriptionsProps) => JSX.Element;
|
|
2
|
+
declare const Descriptions: (props: DescriptionsProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default Descriptions;
|
package/esm/divider/divider.d.ts
CHANGED
package/esm/drawer/drawer.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { EditableAreaProps } from './editable-area.type';
|
|
3
|
-
declare const _default: (props: EditableAreaProps) => JSX.Element;
|
|
2
|
+
declare const _default: (props: EditableAreaProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default _default;
|
package/esm/empty/empty.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ButtonProps } from '../button/button.type';
|
|
3
|
-
export declare const Button: (props: ButtonProps) => JSX.Element;
|
|
4
|
-
export declare const Submit: (props: ButtonProps) => JSX.Element;
|
|
5
|
-
export declare const Reset: (props: ButtonProps) => JSX.Element;
|
|
2
|
+
export declare const Button: (props: ButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const Submit: (props: ButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const Reset: (props: ButtonProps) => import("react/jsx-runtime").JSX.Element;
|
package/esm/form/form-field.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { FormFieldProps } from './form.type';
|
|
3
|
-
declare const _default: <T extends unknown = any>(props: FormFieldProps<T>) => JSX.Element;
|
|
2
|
+
declare const _default: <T extends unknown = any>(props: FormFieldProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default _default;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { FormFieldSetProps } from './form.type';
|
|
3
|
-
declare const _default: <T>(props: FormFieldSetProps<T>) => JSX.Element;
|
|
2
|
+
declare const _default: <T>(props: FormFieldSetProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default _default;
|
package/esm/form/form-item.d.ts
CHANGED
package/esm/form/form.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ObjectType } from '@sheinx/base';
|
|
3
2
|
import { FormProps } from './form.type';
|
|
4
|
-
declare const _default: <T extends ObjectType>(props: FormProps<T>) => JSX.Element;
|
|
3
|
+
declare const _default: <T extends ObjectType>(props: FormProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
5
4
|
export default _default;
|
package/esm/form/index.d.ts
CHANGED
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
import IForm from './form';
|
|
3
3
|
import { useFormRef as useForm, useFormInstance } from '@sheinx/hooks';
|
|
4
4
|
type RefForm = typeof IForm;
|
|
5
|
-
declare const Button: ((props: import("./interface").SubmitProps) => JSX.Element) & {
|
|
5
|
+
declare const Button: ((props: import("./interface").SubmitProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
6
6
|
displayName: string;
|
|
7
7
|
};
|
|
8
|
-
declare const Submit: ((props: import("./interface").SubmitProps) => JSX.Element) & {
|
|
8
|
+
declare const Submit: ((props: import("./interface").SubmitProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
9
9
|
displayName: string;
|
|
10
10
|
};
|
|
11
|
-
declare const Reset: ((props: import("./interface").SubmitProps) => JSX.Element) & {
|
|
11
|
+
declare const Reset: ((props: import("./interface").SubmitProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
12
12
|
displayName: string;
|
|
13
13
|
};
|
|
14
|
-
declare const Item: ((props: import("./form.type").FormItemProps) => JSX.Element) & {
|
|
14
|
+
declare const Item: ((props: import("./form.type").FormItemProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
15
15
|
displayName: string;
|
|
16
16
|
};
|
|
17
|
-
declare const Field: (<T extends unknown = any>(props: import("./form.type").FormFieldProps<T>) => JSX.Element) & {
|
|
17
|
+
declare const Field: (<T extends unknown = any>(props: import("./form.type").FormFieldProps<T>) => import("react/jsx-runtime").JSX.Element) & {
|
|
18
18
|
displayName: string;
|
|
19
19
|
};
|
|
20
|
-
declare const FieldSet: (<T>(props: import("./form.type").FormFieldSetProps<T>) => JSX.Element) & {
|
|
20
|
+
declare const FieldSet: (<T>(props: import("./form.type").FormFieldSetProps<T>) => import("react/jsx-runtime").JSX.Element) & {
|
|
21
21
|
displayName: string;
|
|
22
22
|
};
|
|
23
23
|
declare const FormFlow: import("react").FC<import("@sheinx/base").FormFlowProps> & {
|
package/esm/gap/gap.d.ts
CHANGED
|
@@ -23,5 +23,5 @@ export interface FieldItemCommonProps {
|
|
|
23
23
|
beforeChange?: (value: any) => any;
|
|
24
24
|
}
|
|
25
25
|
export type GetWithFieldProps<Props, Value, Name = string> = Omit<Props, 'beforeChange'> & ExtendsFieldProps<Value, Name>;
|
|
26
|
-
declare const useFieldCommon: <Props extends FieldItemCommonProps, Value, Name extends string | string[] = string>(props: GetWithFieldProps<Props, Value, Name>, Origin: React.ComponentType<Props>, type?: 'number' | 'string' | 'array') => JSX.Element;
|
|
26
|
+
declare const useFieldCommon: <Props extends FieldItemCommonProps, Value, Name extends string | string[] = string>(props: GetWithFieldProps<Props, Value, Name>, Origin: React.ComponentType<Props>, type?: 'number' | 'string' | 'array') => import("react/jsx-runtime").JSX.Element;
|
|
27
27
|
export default useFieldCommon;
|
package/esm/icon/icon.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { makeIcon } from '@sheinx/base';
|
|
3
2
|
import { IconCompProps } from './icon.type';
|
|
4
3
|
type args = Parameters<typeof makeIcon>;
|
|
5
4
|
export default function icon(...args: args): {
|
|
6
|
-
(props: IconCompProps): JSX.Element;
|
|
5
|
+
(props: IconCompProps): import("react/jsx-runtime").JSX.Element;
|
|
7
6
|
displayName: string;
|
|
8
7
|
isShineoutIcon: boolean;
|
|
9
8
|
};
|
package/esm/image/group.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ImageGroupProps } from './group.type';
|
|
3
|
-
declare const ImageGroup: (props: ImageGroupProps) => JSX.Element;
|
|
2
|
+
declare const ImageGroup: (props: ImageGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default ImageGroup;
|
package/esm/image/image.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { ImageProps as UnStyledImageProps } from '@sheinx/base';
|
|
1
|
+
import { ImageProps as UnStyledImageProps, RenderHoverMaskOptions } from '@sheinx/base';
|
|
2
2
|
/**
|
|
3
3
|
* @title Image
|
|
4
4
|
* @sort 1
|
|
5
5
|
*/
|
|
6
6
|
export type ImageProps = Omit<UnStyledImageProps, 'jssStyle' | 'renderImage' | 'renderError' | 'renderWrapper' | 'renderPlaceholder' | 'renderInnerWrapper' | 'componentRef' | 'imageRef'>;
|
|
7
|
+
export type ImageCustomRenderHoverMaskOptions = RenderHoverMaskOptions;
|
package/esm/index.js
CHANGED
package/esm/input/group.d.ts
CHANGED
package/esm/input/input.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { InputProps } from './input.type';
|
|
3
|
-
declare const _default: React.MemoExoticComponent<(props: InputProps) => JSX.Element>;
|
|
3
|
+
declare const _default: React.MemoExoticComponent<(props: InputProps) => import("react/jsx-runtime").JSX.Element>;
|
|
4
4
|
export default _default;
|
package/esm/input/number.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { InputNumberProps } from './number.type';
|
|
3
|
-
declare const _default: (props: InputNumberProps) => JSX.Element;
|
|
2
|
+
declare const _default: (props: InputNumberProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default _default;
|
package/esm/input/password.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { InputPasswordProps } from './password.type';
|
|
3
|
-
declare const _default: (props: InputPasswordProps) => JSX.Element;
|
|
2
|
+
declare const _default: (props: InputPasswordProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default _default;
|
package/esm/link/link.d.ts
CHANGED
package/esm/list/base-item.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ListBaseItemProps } from './base-item.type';
|
|
3
|
-
declare const _default: (props: ListBaseItemProps) => JSX.Element;
|
|
2
|
+
declare const _default: (props: ListBaseItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default _default;
|
package/esm/list/list.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ListProps } from './list.type';
|
|
3
|
-
declare const _default: <DataItem, Value extends any[]>(props: ListProps<DataItem, Value>) => JSX.Element;
|
|
2
|
+
declare const _default: <DataItem, Value extends any[]>(props: ListProps<DataItem, Value>) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default _default;
|
package/esm/menu/menu.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { MenuProps } from './menu.type';
|
|
3
2
|
import type { KeygenResult } from '@sheinx/hooks';
|
|
4
|
-
declare const _default: <DataItem, Key extends KeygenResult = KeygenResult>(props: MenuProps<DataItem, Key>) => JSX.Element;
|
|
3
|
+
declare const _default: <DataItem, Key extends KeygenResult = KeygenResult>(props: MenuProps<DataItem, Key>) => import("react/jsx-runtime").JSX.Element;
|
|
5
4
|
export default _default;
|
package/esm/menu/search.d.ts
CHANGED
package/esm/modal/modal.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ModalProps } from './modal.type';
|
|
3
2
|
export declare const methods: {
|
|
4
3
|
success: (options: Omit<import("@sheinx/base").ModalOptions, "jssStyle">) => (() => void) | undefined;
|
|
@@ -9,5 +8,5 @@ export declare const methods: {
|
|
|
9
8
|
show: (options: Omit<import("@sheinx/base").ModalOptions, "jssStyle">) => (() => void) | undefined;
|
|
10
9
|
closeAll: () => void;
|
|
11
10
|
};
|
|
12
|
-
declare const _default: (props: ModalProps) => JSX.Element;
|
|
11
|
+
declare const _default: (props: ModalProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
12
|
export default _default;
|
package/esm/modal/submit.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { PaginationProps } from './pagination.type';
|
|
3
2
|
declare const Pagination: {
|
|
4
|
-
(props: PaginationProps): JSX.Element;
|
|
3
|
+
(props: PaginationProps): import("react/jsx-runtime").JSX.Element;
|
|
5
4
|
displayName: string;
|
|
6
5
|
};
|
|
7
6
|
export default Pagination;
|
package/esm/popover/confirm.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { PopoverConfirmProps } from './confirm.type';
|
|
3
|
-
declare const _default: (props: PopoverConfirmProps) => JSX.Element;
|
|
2
|
+
declare const _default: (props: PopoverConfirmProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default _default;
|
package/esm/popover/popover.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { PopoverProps } from './popover.type';
|
|
3
|
-
declare const IPopover: (props: PopoverProps) => JSX.Element;
|
|
4
|
-
export declare const IPopoverContent: (props: PopoverProps) => JSX.Element;
|
|
2
|
+
declare const IPopover: (props: PopoverProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const IPopoverContent: (props: PopoverProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
4
|
export default IPopover;
|
package/esm/radio/group.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { RadioGroupProps } from './group.type';
|
|
3
|
-
declare const RadioGroupWithField: <DataItem, Value>(props: RadioGroupProps<DataItem, Value>) => JSX.Element;
|
|
2
|
+
declare const RadioGroupWithField: <DataItem, Value>(props: RadioGroupProps<DataItem, Value>) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default RadioGroupWithField;
|
package/esm/radio/radio.d.ts
CHANGED
package/esm/rate/rate.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ArgProps, RateProps, BaseRateProps } from './rate.type';
|
|
3
2
|
type InnerProps = Omit<BaseRateProps, keyof ArgProps>;
|
|
4
|
-
declare const _default: (background: ArgProps['background'], front: ArgProps['front'], opts?: InnerProps) => (props: RateProps) => JSX.Element;
|
|
3
|
+
declare const _default: (background: ArgProps['background'], front: ArgProps['front'], opts?: InnerProps) => (props: RateProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
4
|
export default _default;
|
package/esm/slider/slider.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { SliderProps, SliderValueType } from './slider.type';
|
|
3
|
-
declare const _default: <Value extends SliderValueType>(props: SliderProps<Value>) => JSX.Element;
|
|
2
|
+
declare const _default: <Value extends SliderValueType>(props: SliderProps<Value>) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default _default;
|
package/esm/spin/spin.d.ts
CHANGED
package/esm/steps/interface.d.ts
CHANGED
package/esm/steps/step.d.ts
CHANGED
package/esm/steps/steps.d.ts
CHANGED
package/esm/sticky/sticky.d.ts
CHANGED
package/esm/switch/switch.d.ts
CHANGED
package/esm/table/table.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { TableProps } from './table.type';
|
|
3
|
-
declare const _default: <DataItem, Value>(props: TableProps<DataItem, Value>) => JSX.Element;
|
|
2
|
+
declare const _default: <DataItem, Value>(props: TableProps<DataItem, Value>) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default _default;
|
package/esm/table/table.js
CHANGED
|
@@ -6,7 +6,7 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
6
6
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import { Table } from '@sheinx/base';
|
|
9
|
-
import { useTableStyle, useSpinStyle, usePaginationStyle, useButtonStyle, useEmptyStyle, useInputStyle, useCheckboxStyle, useRadioStyle, useSelectStyle, useCascaderStyle, useTreeSelectStyle, useDatePickerStyle, useSwitchStyle } from '@sheinx/shineout-style';
|
|
9
|
+
import { useTableStyle, useSpinStyle, usePaginationStyle, useButtonStyle, useEmptyStyle, useInputStyle, useCheckboxStyle, useRadioStyle, useSelectStyle, useCascaderStyle, useTreeSelectStyle, useDatePickerStyle, useSwitchStyle, usePopoverStyle, useTreeStyle } from '@sheinx/shineout-style';
|
|
10
10
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
11
|
var jssStyle = {
|
|
12
12
|
table: useTableStyle,
|
|
@@ -21,7 +21,9 @@ var jssStyle = {
|
|
|
21
21
|
cascader: useCascaderStyle,
|
|
22
22
|
treeSelect: useTreeSelectStyle,
|
|
23
23
|
datePicker: useDatePickerStyle,
|
|
24
|
-
switch: useSwitchStyle
|
|
24
|
+
switch: useSwitchStyle,
|
|
25
|
+
popover: usePopoverStyle,
|
|
26
|
+
tree: useTreeStyle
|
|
25
27
|
};
|
|
26
28
|
export default (function (props) {
|
|
27
29
|
return /*#__PURE__*/_jsx(Table, _objectSpread({
|
package/esm/tabs/tabs-panel.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { TabsPanelProps } from './tabs-panel.type';
|
|
3
|
-
declare const _default: (props: TabsPanelProps) => JSX.Element;
|
|
2
|
+
declare const _default: (props: TabsPanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default _default;
|