shineout 3.6.0-beta.9 → 3.6.1-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (185) hide show
  1. package/cjs/alert/alert.d.ts +1 -2
  2. package/cjs/avatar/avatar.d.ts +1 -2
  3. package/cjs/avatar/group.d.ts +1 -2
  4. package/cjs/badge/badge.d.ts +1 -2
  5. package/cjs/breadcrumb/breadcrumb.d.ts +1 -2
  6. package/cjs/button/button.d.ts +1 -2
  7. package/cjs/button/group.d.ts +1 -2
  8. package/cjs/card/accordion.d.ts +1 -2
  9. package/cjs/card/body.d.ts +1 -2
  10. package/cjs/card/card.d.ts +1 -2
  11. package/cjs/card/footer.d.ts +1 -2
  12. package/cjs/card/header.d.ts +1 -2
  13. package/cjs/card/index.d.ts +5 -6
  14. package/cjs/card-group/card-group.d.ts +1 -2
  15. package/cjs/card-group/index.d.ts +1 -2
  16. package/cjs/card-group/item.d.ts +1 -2
  17. package/cjs/carousel/carousel.d.ts +1 -2
  18. package/cjs/cascader/cascader.d.ts +1 -2
  19. package/cjs/checkbox/checkbox.d.ts +1 -2
  20. package/cjs/checkbox/group.d.ts +1 -2
  21. package/cjs/collapse/collapse-item.d.ts +1 -2
  22. package/cjs/collapse/collapse.d.ts +1 -2
  23. package/cjs/date-picker/date-picker.d.ts +1 -2
  24. package/cjs/descriptions/descriptions.d.ts +1 -2
  25. package/cjs/divider/divider.d.ts +1 -2
  26. package/cjs/drawer/drawer.d.ts +1 -2
  27. package/cjs/dropdown/dropdown.d.ts +1 -2
  28. package/cjs/editable-area/editable-area.d.ts +1 -2
  29. package/cjs/empty/empty.d.ts +1 -2
  30. package/cjs/form/form-button.d.ts +3 -4
  31. package/cjs/form/form-field.d.ts +1 -2
  32. package/cjs/form/form-fieldset.d.ts +1 -2
  33. package/cjs/form/form-item.d.ts +1 -2
  34. package/cjs/form/form.d.ts +1 -2
  35. package/cjs/form/index.d.ts +6 -6
  36. package/cjs/gap/gap.d.ts +1 -2
  37. package/cjs/hooks/use-field-common.d.ts +1 -1
  38. package/cjs/icon/icon.d.ts +1 -2
  39. package/cjs/image/group.d.ts +1 -2
  40. package/cjs/image/image.d.ts +1 -2
  41. package/cjs/image/image.type.d.ts +2 -1
  42. package/cjs/index.js +1 -1
  43. package/cjs/input/group.d.ts +1 -2
  44. package/cjs/input/input.d.ts +1 -1
  45. package/cjs/input/number.d.ts +1 -2
  46. package/cjs/input/password.d.ts +1 -2
  47. package/cjs/link/link.d.ts +1 -2
  48. package/cjs/list/base-item.d.ts +1 -2
  49. package/cjs/list/list.d.ts +1 -2
  50. package/cjs/menu/menu.d.ts +1 -2
  51. package/cjs/menu/search.d.ts +1 -2
  52. package/cjs/modal/modal.d.ts +1 -2
  53. package/cjs/modal/submit.d.ts +1 -2
  54. package/cjs/pagination/pagination.d.ts +1 -2
  55. package/cjs/popover/confirm.d.ts +1 -2
  56. package/cjs/popover/popover.d.ts +2 -3
  57. package/cjs/progress/progress.d.ts +1 -2
  58. package/cjs/radio/group.d.ts +1 -2
  59. package/cjs/radio/radio.d.ts +1 -2
  60. package/cjs/rate/rate.d.ts +1 -2
  61. package/cjs/slider/slider.d.ts +1 -2
  62. package/cjs/spin/spin.d.ts +1 -2
  63. package/cjs/steps/interface.d.ts +1 -0
  64. package/cjs/steps/step.d.ts +1 -2
  65. package/cjs/steps/steps.d.ts +1 -2
  66. package/cjs/sticky/sticky.d.ts +1 -2
  67. package/cjs/switch/switch.d.ts +1 -2
  68. package/cjs/table/table.d.ts +1 -2
  69. package/cjs/table/table.js +3 -1
  70. package/cjs/tabs/tabs-panel.d.ts +1 -2
  71. package/cjs/tabs/tabs.d.ts +1 -2
  72. package/cjs/tag/tag-input.d.ts +1 -2
  73. package/cjs/tag/tag.d.ts +1 -2
  74. package/cjs/tests/t-01-tabs-link.d.ts +1 -2
  75. package/cjs/textarea/textarea.d.ts +1 -2
  76. package/cjs/tooltip/tooltip.d.ts +1 -2
  77. package/cjs/transfer/transfer.d.ts +1 -2
  78. package/cjs/tree/tree.d.ts +1 -2
  79. package/cjs/tree-select/tree-select.d.ts +1 -2
  80. package/cjs/upload/button.d.ts +1 -2
  81. package/cjs/upload/dragger.d.ts +3 -0
  82. package/cjs/upload/dragger.js +24 -0
  83. package/cjs/upload/dragger.type.d.ts +2 -0
  84. package/cjs/upload/dragger.type.js +5 -0
  85. package/cjs/upload/image.d.ts +1 -2
  86. package/cjs/upload/index.d.ts +6 -0
  87. package/cjs/upload/index.js +4 -0
  88. package/cjs/upload/interface.d.ts +1 -0
  89. package/cjs/upload/upload.d.ts +1 -2
  90. package/cjs/utils/dom/detect.d.ts +1 -1
  91. package/dist/shineout.js +1616 -798
  92. package/dist/shineout.js.map +1 -1
  93. package/dist/shineout.min.js +1 -1
  94. package/dist/shineout.min.js.map +1 -1
  95. package/esm/alert/alert.d.ts +1 -2
  96. package/esm/avatar/avatar.d.ts +1 -2
  97. package/esm/avatar/group.d.ts +1 -2
  98. package/esm/badge/badge.d.ts +1 -2
  99. package/esm/breadcrumb/breadcrumb.d.ts +1 -2
  100. package/esm/button/button.d.ts +1 -2
  101. package/esm/button/group.d.ts +1 -2
  102. package/esm/card/accordion.d.ts +1 -2
  103. package/esm/card/body.d.ts +1 -2
  104. package/esm/card/card.d.ts +1 -2
  105. package/esm/card/footer.d.ts +1 -2
  106. package/esm/card/header.d.ts +1 -2
  107. package/esm/card/index.d.ts +5 -6
  108. package/esm/card-group/card-group.d.ts +1 -2
  109. package/esm/card-group/index.d.ts +1 -2
  110. package/esm/card-group/item.d.ts +1 -2
  111. package/esm/carousel/carousel.d.ts +1 -2
  112. package/esm/cascader/cascader.d.ts +1 -2
  113. package/esm/checkbox/checkbox.d.ts +1 -2
  114. package/esm/checkbox/group.d.ts +1 -2
  115. package/esm/collapse/collapse-item.d.ts +1 -2
  116. package/esm/collapse/collapse.d.ts +1 -2
  117. package/esm/date-picker/date-picker.d.ts +1 -2
  118. package/esm/descriptions/descriptions.d.ts +1 -2
  119. package/esm/divider/divider.d.ts +1 -2
  120. package/esm/drawer/drawer.d.ts +1 -2
  121. package/esm/dropdown/dropdown.d.ts +1 -2
  122. package/esm/editable-area/editable-area.d.ts +1 -2
  123. package/esm/empty/empty.d.ts +1 -2
  124. package/esm/form/form-button.d.ts +3 -4
  125. package/esm/form/form-field.d.ts +1 -2
  126. package/esm/form/form-fieldset.d.ts +1 -2
  127. package/esm/form/form-item.d.ts +1 -2
  128. package/esm/form/form.d.ts +1 -2
  129. package/esm/form/index.d.ts +6 -6
  130. package/esm/gap/gap.d.ts +1 -2
  131. package/esm/hooks/use-field-common.d.ts +1 -1
  132. package/esm/icon/icon.d.ts +1 -2
  133. package/esm/image/group.d.ts +1 -2
  134. package/esm/image/image.d.ts +1 -2
  135. package/esm/image/image.type.d.ts +2 -1
  136. package/esm/index.js +1 -1
  137. package/esm/input/group.d.ts +1 -2
  138. package/esm/input/input.d.ts +1 -1
  139. package/esm/input/number.d.ts +1 -2
  140. package/esm/input/password.d.ts +1 -2
  141. package/esm/link/link.d.ts +1 -2
  142. package/esm/list/base-item.d.ts +1 -2
  143. package/esm/list/list.d.ts +1 -2
  144. package/esm/menu/menu.d.ts +1 -2
  145. package/esm/menu/search.d.ts +1 -2
  146. package/esm/modal/modal.d.ts +1 -2
  147. package/esm/modal/submit.d.ts +1 -2
  148. package/esm/pagination/pagination.d.ts +1 -2
  149. package/esm/popover/confirm.d.ts +1 -2
  150. package/esm/popover/popover.d.ts +2 -3
  151. package/esm/progress/progress.d.ts +1 -2
  152. package/esm/radio/group.d.ts +1 -2
  153. package/esm/radio/radio.d.ts +1 -2
  154. package/esm/rate/rate.d.ts +1 -2
  155. package/esm/slider/slider.d.ts +1 -2
  156. package/esm/spin/spin.d.ts +1 -2
  157. package/esm/steps/interface.d.ts +1 -0
  158. package/esm/steps/step.d.ts +1 -2
  159. package/esm/steps/steps.d.ts +1 -2
  160. package/esm/sticky/sticky.d.ts +1 -2
  161. package/esm/switch/switch.d.ts +1 -2
  162. package/esm/table/table.d.ts +1 -2
  163. package/esm/table/table.js +4 -2
  164. package/esm/tabs/tabs-panel.d.ts +1 -2
  165. package/esm/tabs/tabs.d.ts +1 -2
  166. package/esm/tag/tag-input.d.ts +1 -2
  167. package/esm/tag/tag.d.ts +1 -2
  168. package/esm/tests/t-01-tabs-link.d.ts +1 -2
  169. package/esm/textarea/textarea.d.ts +1 -2
  170. package/esm/tooltip/tooltip.d.ts +1 -2
  171. package/esm/transfer/transfer.d.ts +1 -2
  172. package/esm/tree/tree.d.ts +1 -2
  173. package/esm/tree-select/tree-select.d.ts +1 -2
  174. package/esm/upload/button.d.ts +1 -2
  175. package/esm/upload/dragger.d.ts +3 -0
  176. package/esm/upload/dragger.js +18 -0
  177. package/esm/upload/dragger.type.d.ts +2 -0
  178. package/esm/upload/dragger.type.js +1 -0
  179. package/esm/upload/image.d.ts +1 -2
  180. package/esm/upload/index.d.ts +6 -0
  181. package/esm/upload/index.js +4 -0
  182. package/esm/upload/interface.d.ts +1 -0
  183. package/esm/upload/upload.d.ts +1 -2
  184. package/esm/utils/dom/detect.d.ts +1 -1
  185. package/package.json +5 -5
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { AlertProps } from './alert.type';
3
- declare const _default: (props: AlertProps) => JSX.Element;
2
+ declare const _default: (props: AlertProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { AvatarProps } from './avatar.type';
3
- declare const _default: (props: AvatarProps) => JSX.Element;
2
+ declare const _default: (props: AvatarProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default _default;
@@ -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;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { BadgeProps } from './badge.type';
3
- declare const _default: (props: BadgeProps) => JSX.Element;
2
+ declare const _default: (props: BadgeProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default _default;
@@ -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;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  import { ButtonProps } from './button.type';
3
2
  declare const Button: {
4
- (props: ButtonProps): JSX.Element;
3
+ (props: ButtonProps): import("react/jsx-runtime").JSX.Element;
5
4
  displayName: string;
6
5
  };
7
6
  export default Button;
@@ -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;
@@ -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;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CardBodyProps } from './body.type';
3
- declare const _default: (props: CardBodyProps) => JSX.Element;
2
+ declare const _default: (props: CardBodyProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CardProps } from './card.type';
3
- declare const _default: (props: CardProps) => JSX.Element;
2
+ declare const _default: (props: CardProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CardFooterProps } from './footer.type';
3
- declare const _default: (props: CardFooterProps) => JSX.Element;
2
+ declare const _default: (props: CardFooterProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CardHeaderProps } from './header.type';
3
- declare const _default: (props: CardHeaderProps) => JSX.Element;
2
+ declare const _default: (props: CardHeaderProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default _default;
@@ -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 {
@@ -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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CarouselProps } from './carousel.type';
3
- declare const _default: (props: CarouselProps) => JSX.Element;
2
+ declare const _default: (props: CarouselProps) => 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;
@@ -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 { CollapseProps } from './collapse.type';
3
- declare const Collapse: (props: CollapseProps) => JSX.Element;
2
+ declare const Collapse: (props: CollapseProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default Collapse;
@@ -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;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DividerProps } from './divider.type';
3
- declare const _default: (props: DividerProps) => JSX.Element;
2
+ declare const _default: (props: DividerProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DrawerProps } from './drawer.type';
3
- declare const _default: (props: DrawerProps) => JSX.Element;
2
+ declare const _default: (props: DrawerProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DropdownProps } from './dropdown.type';
3
- declare const Dropdown: (props: DropdownProps) => JSX.Element;
2
+ declare const Dropdown: (props: DropdownProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default Dropdown;
@@ -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;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { EmptyProps } from './empty.type';
3
- declare const _default: (props: EmptyProps) => JSX.Element;
2
+ declare const _default: (props: EmptyProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default _default;
@@ -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;
@@ -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;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FormItemProps } from './form.type';
3
- declare const _default: (props: FormItemProps) => JSX.Element;
2
+ declare const _default: (props: FormItemProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default _default;
@@ -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;
@@ -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/cjs/gap/gap.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GapProps } from './gap.type';
3
- declare const _default: (props: GapProps) => JSX.Element;
2
+ declare const _default: (props: GapProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default _default;
@@ -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;
@@ -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
  };
@@ -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;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ImageProps } from './image.type';
3
- declare const Image: (props: ImageProps) => JSX.Element;
2
+ declare const Image: (props: ImageProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default Image;
@@ -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/cjs/index.js CHANGED
@@ -514,5 +514,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
514
514
  // 此文件由脚本自动生成,请勿直接修改。
515
515
  // This file was generated automatically by a script. Please do not modify it directly.
516
516
  var _default = exports.default = {
517
- version: '3.6.0-beta.9'
517
+ version: '3.6.1-beta.1'
518
518
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GroupProps } from './group.type';
3
- declare const _default: (props: GroupProps) => JSX.Element;
2
+ declare const _default: (props: GroupProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default _default;
@@ -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;
@@ -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;
@@ -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;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { LinkProps } from './link.type';
3
- declare const _default: (props: LinkProps) => JSX.Element;
2
+ declare const _default: (props: LinkProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default _default;
@@ -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;
@@ -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;
@@ -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;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { MenuSearchProps } from './search.type';
3
- declare const _default: (props: MenuSearchProps) => JSX.Element;
2
+ declare const _default: (props: MenuSearchProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default _default;
@@ -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;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ButtonProps } from '../button/button.type';
3
- declare const Submit: (props: ButtonProps) => JSX.Element;
2
+ declare const Submit: (props: ButtonProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default Submit;
@@ -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;
@@ -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;
@@ -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;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ProgressProps } from './progress.type';
3
- declare const _default: (props: ProgressProps) => JSX.Element;
2
+ declare const _default: (props: ProgressProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default _default;
@@ -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;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { RadioProps } from './radio.type';
3
- declare const Radio: <T>(props: RadioProps<T>) => JSX.Element;
2
+ declare const Radio: <T>(props: RadioProps<T>) => import("react/jsx-runtime").JSX.Element;
4
3
  export default Radio;
@@ -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;
@@ -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;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SpinProps } from './spin.type';
3
- declare const _default: (props: SpinProps) => JSX.Element;
2
+ declare const _default: (props: SpinProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default _default;
@@ -1 +1,2 @@
1
1
  export type { StepsProps as Props } from './steps.type';
2
+ export type { StepProps } from './step.type';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { StepProps } from './step.type';
3
- declare const _default: (props: StepProps) => JSX.Element;
2
+ declare const _default: (props: StepProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { StepsProps } from './steps.type';
3
- declare const _default: (props: StepsProps) => JSX.Element;
2
+ declare const _default: (props: StepsProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { StickyProps } from './sticky.type';
3
- declare const _default: (props: StickyProps) => JSX.Element;
2
+ declare const _default: (props: StickyProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SwitchProps } from './switch.type';
3
- declare const _default: (props: SwitchProps) => JSX.Element;
2
+ declare const _default: (props: SwitchProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default _default;
@@ -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;
@@ -28,7 +28,9 @@ var jssStyle = {
28
28
  cascader: _shineoutStyle.useCascaderStyle,
29
29
  treeSelect: _shineoutStyle.useTreeSelectStyle,
30
30
  datePicker: _shineoutStyle.useDatePickerStyle,
31
- switch: _shineoutStyle.useSwitchStyle
31
+ switch: _shineoutStyle.useSwitchStyle,
32
+ popover: _shineoutStyle.usePopoverStyle,
33
+ tree: _shineoutStyle.useTreeStyle
32
34
  };
33
35
  var _default = exports.default = function _default(props) {
34
36
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_base.Table, _objectSpread({
@@ -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;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TabsProps } from './tabs.type';
3
- declare const _default: (props: TabsProps) => JSX.Element;
2
+ declare const _default: (props: TabsProps) => import("react/jsx-runtime").JSX.Element;
4
3
  export default _default;