@canlooks/can-ui 0.0.22 → 0.0.23

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 (282) hide show
  1. package/dist/cjs/components/accordion/accordion.d.ts +1 -1
  2. package/dist/cjs/components/accordion/accordion.style.d.ts +1 -1
  3. package/dist/cjs/components/actionSheet/actionSheet.d.ts +1 -1
  4. package/dist/cjs/components/actionSheet/actionSheet.style.d.ts +1 -1
  5. package/dist/cjs/components/alert/alert.d.ts +1 -1
  6. package/dist/cjs/components/alert/alert.style.d.ts +2 -2
  7. package/dist/cjs/components/app/app.d.ts +1 -1
  8. package/dist/cjs/components/app/appActionSheet.d.ts +1 -1
  9. package/dist/cjs/components/app/appNotification.d.ts +1 -1
  10. package/dist/cjs/components/avatar/avatar.d.ts +1 -1
  11. package/dist/cjs/components/avatar/avatar.style.d.ts +1 -1
  12. package/dist/cjs/components/avatar/avatarGroup.d.ts +1 -1
  13. package/dist/cjs/components/badge/badge.d.ts +1 -1
  14. package/dist/cjs/components/badge/badge.style.d.ts +1 -1
  15. package/dist/cjs/components/bottomNavigation/bottomNavigation.d.ts +1 -1
  16. package/dist/cjs/components/bottomNavigation/bottomNavigation.style.d.ts +1 -1
  17. package/dist/cjs/components/bottomNavigation/bottomNavigationItem.d.ts +1 -1
  18. package/dist/cjs/components/breadcrumb/breadcrumb.d.ts +1 -1
  19. package/dist/cjs/components/bubbleConfirm/bubbleConfirm.style.d.ts +2 -2
  20. package/dist/cjs/components/button/button.d.ts +1 -1
  21. package/dist/cjs/components/button/button.style.b.d.ts +1 -1
  22. package/dist/cjs/components/button/button.style.d.ts +1 -1
  23. package/dist/cjs/components/cascade/cascade.d.ts +1 -1
  24. package/dist/cjs/components/cascade/searchResult.d.ts +1 -1
  25. package/dist/cjs/components/checkbox/checkbox.d.ts +1 -1
  26. package/dist/cjs/components/checkboxBase/checkboxBase.d.ts +1 -1
  27. package/dist/cjs/components/checkboxBase/checkboxBase.style.d.ts +2 -2
  28. package/dist/cjs/components/checkboxBaseGroup/checkboxBaseGroup.d.ts +1 -1
  29. package/dist/cjs/components/clickAway/clickAway.d.ts +1 -1
  30. package/dist/cjs/components/colorPicker/colorPicker.d.ts +1 -1
  31. package/dist/cjs/components/counter/counter.d.ts +1 -1
  32. package/dist/cjs/components/curd/curd.d.ts +1 -1
  33. package/dist/cjs/components/curd/curdColumnConfig.d.ts +1 -1
  34. package/dist/cjs/components/curd/curdColumnConfig.style.d.ts +1 -1
  35. package/dist/cjs/components/curd/curdResizable.d.ts +1 -1
  36. package/dist/cjs/components/dataGrid/dataGrid.d.ts +1 -1
  37. package/dist/cjs/components/dataGrid/dataGrid.style.d.ts +2 -2
  38. package/dist/cjs/components/dataGrid/dataGridHead.d.ts +1 -1
  39. package/dist/cjs/components/dataGrid/dataGridRows.d.ts +1 -1
  40. package/dist/cjs/components/dateTimePicker/calendar.d.ts +1 -1
  41. package/dist/cjs/components/dateTimeRangePicker/dateTimeRangePicker.d.ts +1 -1
  42. package/dist/cjs/components/descriptions/descriptionItem.d.ts +1 -1
  43. package/dist/cjs/components/descriptions/descriptions.d.ts +1 -1
  44. package/dist/cjs/components/descriptions/descriptions.style.d.ts +2 -2
  45. package/dist/cjs/components/dialog/dialog.style.d.ts +3 -3
  46. package/dist/cjs/components/divider/divider.d.ts +1 -1
  47. package/dist/cjs/components/divider/divider.style.d.ts +1 -1
  48. package/dist/cjs/components/draggable/draggable.d.ts +1 -1
  49. package/dist/cjs/components/drawer/drawer.d.ts +1 -1
  50. package/dist/cjs/components/drawer/drawer.style.d.ts +1 -1
  51. package/dist/cjs/components/form/form.d.ts +1 -1
  52. package/dist/cjs/components/form/formItem.d.ts +1 -1
  53. package/dist/cjs/components/formDialog/formDialog.d.ts +1 -1
  54. package/dist/cjs/components/grid/grid.d.ts +1 -1
  55. package/dist/cjs/components/grid/grid.style.d.ts +1 -1
  56. package/dist/cjs/components/grid/gridItem.d.ts +1 -1
  57. package/dist/cjs/components/image/image.d.ts +1 -1
  58. package/dist/cjs/components/inputBase/inputBase.d.ts +1 -1
  59. package/dist/cjs/components/loading/loading.d.ts +1 -1
  60. package/dist/cjs/components/loadingIndicator/loadingIndicator.d.ts +1 -1
  61. package/dist/cjs/components/loadingMask/loadingMask.d.ts +1 -1
  62. package/dist/cjs/components/menu/menu.d.ts +1 -1
  63. package/dist/cjs/components/menuItem/menuItem.d.ts +1 -1
  64. package/dist/cjs/components/optionsBase/optionsBase.d.ts +1 -1
  65. package/dist/cjs/components/overlayBase/overlayBase.d.ts +1 -1
  66. package/dist/cjs/components/pagination/counter.d.ts +1 -1
  67. package/dist/cjs/components/pagination/jumper.d.ts +1 -1
  68. package/dist/cjs/components/pagination/pager.d.ts +1 -1
  69. package/dist/cjs/components/pagination/pagination.d.ts +1 -1
  70. package/dist/cjs/components/pagination/sizer.d.ts +1 -1
  71. package/dist/cjs/components/palette/colorValueInput.d.ts +1 -1
  72. package/dist/cjs/components/palette/palette.d.ts +1 -1
  73. package/dist/cjs/components/palette/palette.style.d.ts +2 -2
  74. package/dist/cjs/components/pickerDialog/pickerDialog.d.ts +1 -1
  75. package/dist/cjs/components/placeholder/placeholder.d.ts +1 -1
  76. package/dist/cjs/components/popper/popper.d.ts +1 -1
  77. package/dist/cjs/components/progress/progress.d.ts +1 -1
  78. package/dist/cjs/components/progress/progress.style.d.ts +2 -2
  79. package/dist/cjs/components/radio/radio.d.ts +1 -1
  80. package/dist/cjs/components/rating/rating.d.ts +1 -1
  81. package/dist/cjs/components/rating/rating.style.d.ts +1 -1
  82. package/dist/cjs/components/resizable/resizable.d.ts +1 -1
  83. package/dist/cjs/components/segmented/SegmentedOption.d.ts +1 -1
  84. package/dist/cjs/components/segmented/segmented.d.ts +1 -1
  85. package/dist/cjs/components/segmented/segmented.style.d.ts +1 -1
  86. package/dist/cjs/components/select/select.d.ts +1 -1
  87. package/dist/cjs/components/selectedList/selectedItem.d.ts +1 -1
  88. package/dist/cjs/components/selectedList/selectedList.d.ts +1 -1
  89. package/dist/cjs/components/selectionContext/selectionContext.d.ts +1 -1
  90. package/dist/cjs/components/selectionContext/selectionHook.d.ts +1 -1
  91. package/dist/cjs/components/skeleton/skeleton.d.ts +1 -1
  92. package/dist/cjs/components/skeleton/skeleton.style.d.ts +1 -1
  93. package/dist/cjs/components/slidableActions/slidableActions.d.ts +1 -1
  94. package/dist/cjs/components/slidableActions/slidableActionsAction.d.ts +1 -1
  95. package/dist/cjs/components/slider/slider.d.ts +1 -1
  96. package/dist/cjs/components/slider/slider.style.d.ts +2 -2
  97. package/dist/cjs/components/snackbarBase/snackbarBase.d.ts +1 -1
  98. package/dist/cjs/components/snackbarBase/snackbarBase.style.d.ts +1 -1
  99. package/dist/cjs/components/status/status.d.ts +1 -1
  100. package/dist/cjs/components/status/status.style.d.ts +1 -1
  101. package/dist/cjs/components/stepper/stepper.d.ts +1 -1
  102. package/dist/cjs/components/switch/switch.d.ts +1 -1
  103. package/dist/cjs/components/switch/switch.style.d.ts +2 -2
  104. package/dist/cjs/components/table/table.d.ts +1 -1
  105. package/dist/cjs/components/tabs/tab.d.ts +1 -1
  106. package/dist/cjs/components/tabs/tabs.d.ts +1 -1
  107. package/dist/cjs/components/tag/tag.d.ts +1 -1
  108. package/dist/cjs/components/theme/themeTypes.d.ts +1 -1
  109. package/dist/cjs/components/theme/themeVariables.d.ts +1 -1
  110. package/dist/cjs/components/timeline/timeline.d.ts +1 -1
  111. package/dist/cjs/components/timeline/timeline.style.d.ts +1 -1
  112. package/dist/cjs/components/toggleButton/toggleButton.d.ts +1 -1
  113. package/dist/cjs/components/tooltip/tooltip.d.ts +1 -1
  114. package/dist/cjs/components/touchRipple/touchRipple.d.ts +1 -1
  115. package/dist/cjs/components/touchRipple/touchRipple.style.d.ts +1 -1
  116. package/dist/cjs/components/transfer/transfer.d.ts +1 -1
  117. package/dist/cjs/components/transfer/transfer.style.d.ts +2 -2
  118. package/dist/cjs/components/transfer/transferPanel.d.ts +1 -1
  119. package/dist/cjs/components/transportStyle/transportStyle.d.ts +1 -1
  120. package/dist/cjs/components/tree/tree.d.ts +1 -1
  121. package/dist/cjs/components/tree/tree.style.d.ts +1 -1
  122. package/dist/cjs/components/tree/treeNode.d.ts +1 -1
  123. package/dist/cjs/components/treeSelect/treeSelect.d.ts +1 -1
  124. package/dist/cjs/components/typography/typography.d.ts +1 -1
  125. package/dist/cjs/components/upload/dropArea.d.ts +1 -1
  126. package/dist/cjs/components/upload/upload.d.ts +1 -1
  127. package/dist/cjs/components/upload/upload.style.d.ts +2 -2
  128. package/dist/cjs/components/waterfall/waterfall.d.ts +1 -1
  129. package/dist/cjs/components/waterfall/waterfall.style.d.ts +1 -1
  130. package/dist/cjs/extensions/curd/curd.d.ts +1 -1
  131. package/dist/cjs/extensions/textFormatter/textFormatter.d.ts +1 -1
  132. package/dist/cjs/types.d.ts +37 -0
  133. package/dist/cjs/types.js +2 -0
  134. package/dist/cjs/utils/curd.d.ts +1 -1
  135. package/dist/cjs/utils/dataGrid.d.ts +1 -1
  136. package/dist/cjs/utils/dnd.d.ts +1 -1
  137. package/dist/cjs/utils/form.d.ts +1 -1
  138. package/dist/cjs/utils/style.d.ts +1 -1
  139. package/dist/cjs/utils/tree.d.ts +1 -1
  140. package/dist/cjs/utils/utils.d.ts +1 -1
  141. package/dist/esm/components/accordion/accordion.d.ts +1 -1
  142. package/dist/esm/components/accordion/accordion.style.d.ts +1 -1
  143. package/dist/esm/components/actionSheet/actionSheet.d.ts +1 -1
  144. package/dist/esm/components/actionSheet/actionSheet.style.d.ts +1 -1
  145. package/dist/esm/components/alert/alert.d.ts +1 -1
  146. package/dist/esm/components/alert/alert.style.d.ts +2 -2
  147. package/dist/esm/components/app/app.d.ts +1 -1
  148. package/dist/esm/components/app/appActionSheet.d.ts +1 -1
  149. package/dist/esm/components/app/appNotification.d.ts +1 -1
  150. package/dist/esm/components/avatar/avatar.d.ts +1 -1
  151. package/dist/esm/components/avatar/avatar.style.d.ts +1 -1
  152. package/dist/esm/components/avatar/avatarGroup.d.ts +1 -1
  153. package/dist/esm/components/badge/badge.d.ts +1 -1
  154. package/dist/esm/components/badge/badge.style.d.ts +1 -1
  155. package/dist/esm/components/bottomNavigation/bottomNavigation.d.ts +1 -1
  156. package/dist/esm/components/bottomNavigation/bottomNavigation.style.d.ts +1 -1
  157. package/dist/esm/components/bottomNavigation/bottomNavigationItem.d.ts +1 -1
  158. package/dist/esm/components/breadcrumb/breadcrumb.d.ts +1 -1
  159. package/dist/esm/components/bubbleConfirm/bubbleConfirm.style.d.ts +2 -2
  160. package/dist/esm/components/button/button.d.ts +1 -1
  161. package/dist/esm/components/button/button.style.b.d.ts +1 -1
  162. package/dist/esm/components/button/button.style.d.ts +1 -1
  163. package/dist/esm/components/cascade/cascade.d.ts +1 -1
  164. package/dist/esm/components/cascade/searchResult.d.ts +1 -1
  165. package/dist/esm/components/checkbox/checkbox.d.ts +1 -1
  166. package/dist/esm/components/checkboxBase/checkboxBase.d.ts +1 -1
  167. package/dist/esm/components/checkboxBase/checkboxBase.style.d.ts +2 -2
  168. package/dist/esm/components/checkboxBaseGroup/checkboxBaseGroup.d.ts +1 -1
  169. package/dist/esm/components/clickAway/clickAway.d.ts +1 -1
  170. package/dist/esm/components/colorPicker/colorPicker.d.ts +1 -1
  171. package/dist/esm/components/counter/counter.d.ts +1 -1
  172. package/dist/esm/components/curd/curd.d.ts +1 -1
  173. package/dist/esm/components/curd/curdColumnConfig.d.ts +1 -1
  174. package/dist/esm/components/curd/curdColumnConfig.style.d.ts +1 -1
  175. package/dist/esm/components/curd/curdResizable.d.ts +1 -1
  176. package/dist/esm/components/dataGrid/dataGrid.d.ts +1 -1
  177. package/dist/esm/components/dataGrid/dataGrid.style.d.ts +2 -2
  178. package/dist/esm/components/dataGrid/dataGridHead.d.ts +1 -1
  179. package/dist/esm/components/dataGrid/dataGridRows.d.ts +1 -1
  180. package/dist/esm/components/dateTimePicker/calendar.d.ts +1 -1
  181. package/dist/esm/components/dateTimeRangePicker/dateTimeRangePicker.d.ts +1 -1
  182. package/dist/esm/components/descriptions/descriptionItem.d.ts +1 -1
  183. package/dist/esm/components/descriptions/descriptions.d.ts +1 -1
  184. package/dist/esm/components/descriptions/descriptions.style.d.ts +2 -2
  185. package/dist/esm/components/dialog/dialog.style.d.ts +3 -3
  186. package/dist/esm/components/divider/divider.d.ts +1 -1
  187. package/dist/esm/components/divider/divider.style.d.ts +1 -1
  188. package/dist/esm/components/draggable/draggable.d.ts +1 -1
  189. package/dist/esm/components/drawer/drawer.d.ts +1 -1
  190. package/dist/esm/components/drawer/drawer.style.d.ts +1 -1
  191. package/dist/esm/components/form/form.d.ts +1 -1
  192. package/dist/esm/components/form/formItem.d.ts +1 -1
  193. package/dist/esm/components/formDialog/formDialog.d.ts +1 -1
  194. package/dist/esm/components/grid/grid.d.ts +1 -1
  195. package/dist/esm/components/grid/grid.style.d.ts +1 -1
  196. package/dist/esm/components/grid/gridItem.d.ts +1 -1
  197. package/dist/esm/components/image/image.d.ts +1 -1
  198. package/dist/esm/components/inputBase/inputBase.d.ts +1 -1
  199. package/dist/esm/components/loading/loading.d.ts +1 -1
  200. package/dist/esm/components/loadingIndicator/loadingIndicator.d.ts +1 -1
  201. package/dist/esm/components/loadingMask/loadingMask.d.ts +1 -1
  202. package/dist/esm/components/menu/menu.d.ts +1 -1
  203. package/dist/esm/components/menuItem/menuItem.d.ts +1 -1
  204. package/dist/esm/components/optionsBase/optionsBase.d.ts +1 -1
  205. package/dist/esm/components/overlayBase/overlayBase.d.ts +1 -1
  206. package/dist/esm/components/pagination/counter.d.ts +1 -1
  207. package/dist/esm/components/pagination/jumper.d.ts +1 -1
  208. package/dist/esm/components/pagination/pager.d.ts +1 -1
  209. package/dist/esm/components/pagination/pagination.d.ts +1 -1
  210. package/dist/esm/components/pagination/sizer.d.ts +1 -1
  211. package/dist/esm/components/palette/colorValueInput.d.ts +1 -1
  212. package/dist/esm/components/palette/palette.d.ts +1 -1
  213. package/dist/esm/components/palette/palette.style.d.ts +2 -2
  214. package/dist/esm/components/pickerDialog/pickerDialog.d.ts +1 -1
  215. package/dist/esm/components/placeholder/placeholder.d.ts +1 -1
  216. package/dist/esm/components/popper/popper.d.ts +1 -1
  217. package/dist/esm/components/progress/progress.d.ts +1 -1
  218. package/dist/esm/components/progress/progress.style.d.ts +2 -2
  219. package/dist/esm/components/radio/radio.d.ts +1 -1
  220. package/dist/esm/components/rating/rating.d.ts +1 -1
  221. package/dist/esm/components/rating/rating.style.d.ts +1 -1
  222. package/dist/esm/components/resizable/resizable.d.ts +1 -1
  223. package/dist/esm/components/segmented/SegmentedOption.d.ts +1 -1
  224. package/dist/esm/components/segmented/segmented.d.ts +1 -1
  225. package/dist/esm/components/segmented/segmented.style.d.ts +1 -1
  226. package/dist/esm/components/select/select.d.ts +1 -1
  227. package/dist/esm/components/selectedList/selectedItem.d.ts +1 -1
  228. package/dist/esm/components/selectedList/selectedList.d.ts +1 -1
  229. package/dist/esm/components/selectionContext/selectionContext.d.ts +1 -1
  230. package/dist/esm/components/selectionContext/selectionHook.d.ts +1 -1
  231. package/dist/esm/components/skeleton/skeleton.d.ts +1 -1
  232. package/dist/esm/components/skeleton/skeleton.style.d.ts +1 -1
  233. package/dist/esm/components/slidableActions/slidableActions.d.ts +1 -1
  234. package/dist/esm/components/slidableActions/slidableActionsAction.d.ts +1 -1
  235. package/dist/esm/components/slider/slider.d.ts +1 -1
  236. package/dist/esm/components/slider/slider.style.d.ts +2 -2
  237. package/dist/esm/components/snackbarBase/snackbarBase.d.ts +1 -1
  238. package/dist/esm/components/snackbarBase/snackbarBase.style.d.ts +1 -1
  239. package/dist/esm/components/status/status.d.ts +1 -1
  240. package/dist/esm/components/status/status.style.d.ts +1 -1
  241. package/dist/esm/components/stepper/stepper.d.ts +1 -1
  242. package/dist/esm/components/switch/switch.d.ts +1 -1
  243. package/dist/esm/components/switch/switch.style.d.ts +2 -2
  244. package/dist/esm/components/table/table.d.ts +1 -1
  245. package/dist/esm/components/tabs/tab.d.ts +1 -1
  246. package/dist/esm/components/tabs/tabs.d.ts +1 -1
  247. package/dist/esm/components/tag/tag.d.ts +1 -1
  248. package/dist/esm/components/theme/themeTypes.d.ts +1 -1
  249. package/dist/esm/components/theme/themeVariables.d.ts +1 -1
  250. package/dist/esm/components/timeline/timeline.d.ts +1 -1
  251. package/dist/esm/components/timeline/timeline.style.d.ts +1 -1
  252. package/dist/esm/components/toggleButton/toggleButton.d.ts +1 -1
  253. package/dist/esm/components/tooltip/tooltip.d.ts +1 -1
  254. package/dist/esm/components/touchRipple/touchRipple.d.ts +1 -1
  255. package/dist/esm/components/touchRipple/touchRipple.style.d.ts +1 -1
  256. package/dist/esm/components/transfer/transfer.d.ts +1 -1
  257. package/dist/esm/components/transfer/transfer.style.d.ts +2 -2
  258. package/dist/esm/components/transfer/transferPanel.d.ts +1 -1
  259. package/dist/esm/components/transportStyle/transportStyle.d.ts +1 -1
  260. package/dist/esm/components/tree/tree.d.ts +1 -1
  261. package/dist/esm/components/tree/tree.style.d.ts +1 -1
  262. package/dist/esm/components/tree/treeNode.d.ts +1 -1
  263. package/dist/esm/components/treeSelect/treeSelect.d.ts +1 -1
  264. package/dist/esm/components/typography/typography.d.ts +1 -1
  265. package/dist/esm/components/upload/dropArea.d.ts +1 -1
  266. package/dist/esm/components/upload/upload.d.ts +1 -1
  267. package/dist/esm/components/upload/upload.style.d.ts +2 -2
  268. package/dist/esm/components/waterfall/waterfall.d.ts +1 -1
  269. package/dist/esm/components/waterfall/waterfall.style.d.ts +1 -1
  270. package/dist/esm/extensions/curd/curd.d.ts +1 -1
  271. package/dist/esm/extensions/textFormatter/textFormatter.d.ts +1 -1
  272. package/dist/esm/types.d.ts +37 -0
  273. package/dist/esm/types.js +1 -0
  274. package/dist/esm/utils/curd.d.ts +1 -1
  275. package/dist/esm/utils/dataGrid.d.ts +1 -1
  276. package/dist/esm/utils/dnd.d.ts +1 -1
  277. package/dist/esm/utils/form.d.ts +1 -1
  278. package/dist/esm/utils/style.d.ts +1 -1
  279. package/dist/esm/utils/tree.d.ts +1 -1
  280. package/dist/esm/utils/utils.d.ts +1 -1
  281. package/package.json +1 -1
  282. package/types/index.d.ts +0 -65
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import { DIVProps, Size } from '../../../types';
2
+ import { DIVProps, Size } from '../../types';
3
3
  export interface AccordionProps extends Omit<DIVProps, 'title' | 'prefix'> {
4
4
  size?: Size;
5
5
  title?: ReactNode;
@@ -1,6 +1,6 @@
1
1
  export declare const classes: {
2
- content: string;
3
2
  title: string;
3
+ content: string;
4
4
  prefix: string;
5
5
  suffix: string;
6
6
  expandIcon: string;
@@ -2,7 +2,7 @@ import React, { ReactElement, ReactNode } from 'react';
2
2
  import { OverlayBaseProps } from '../overlayBase';
3
3
  import { TransitionBaseProps } from '../transitionBase';
4
4
  import { MenuItemProps } from '../menuItem';
5
- import { Obj } from '../../../types';
5
+ import { Obj } from '../../types';
6
6
  export type ActionSheetCloseReason = 'escape' | 'canceled' | 'confirmed' | 'maskClicked' | 'action';
7
7
  export interface ActionSheetProps<A extends MenuItemProps & Obj> extends Omit<OverlayBaseProps, 'title'> {
8
8
  title?: ReactNode;
@@ -1,6 +1,6 @@
1
1
  export declare const classes: {
2
- action: string;
3
2
  title: string;
3
+ action: string;
4
4
  sheet: string;
5
5
  card: string;
6
6
  } & {
@@ -1,5 +1,5 @@
1
1
  import React, { ReactNode } from 'react';
2
- import { ColorPropsValue, DIVProps, Status } from '../../../types';
2
+ import { ColorPropsValue, DIVProps, Status } from '../../types';
3
3
  export interface AlertProps extends Omit<DIVProps, 'title' | 'prefix' | 'children'> {
4
4
  variant?: 'filled' | 'outlined' | 'standard';
5
5
  status?: Status;
@@ -1,8 +1,8 @@
1
- import { ColorPropsValue } from '../../../types';
1
+ import { ColorPropsValue } from '../../types';
2
2
  export declare const classes: {
3
+ title: string;
3
4
  content: string;
4
5
  icon: string;
5
- title: string;
6
6
  prefix: string;
7
7
  close: string;
8
8
  description: string;
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- import { DIVProps } from '../../../types';
2
+ import { DIVProps } from '../../types';
3
3
  import { ThemeProviderProps } from '../theme';
4
4
  import { AppDialogMethods } from './appDialog';
5
5
  import { AppMessageMethods } from './appMessage';
@@ -1,7 +1,7 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { ActionSheetProps } from '../actionSheet';
3
3
  import { MenuItemProps } from '../menuItem';
4
- import { Obj } from '../../../types';
4
+ import { Obj } from '../../types';
5
5
  export interface AppActionSheetProps<A extends MenuItemProps & Obj> extends Omit<ActionSheetProps<A>, 'onAction' | 'onConfirm'> {
6
6
  onAction?(action: A, ...args: any[]): any;
7
7
  onConfirm?(...args: any[]): any;
@@ -1,6 +1,6 @@
1
1
  import { SnackbarBaseProps } from '../snackbarBase';
2
2
  import { SnackbarBaseMethods } from '../snackbarBase';
3
- import { CornerPlacement } from '../../../types';
3
+ import { CornerPlacement } from '../../types';
4
4
  export interface AppNotificationProps extends Omit<SnackbarBaseProps, 'placement'> {
5
5
  placement?: CornerPlacement;
6
6
  }
@@ -1,5 +1,5 @@
1
1
  import React, { ReactElement, Ref } from 'react';
2
- import { ColorPropsValue, DIVProps, Size } from '../../../types';
2
+ import { ColorPropsValue, DIVProps, Size } from '../../types';
3
3
  import { AvatarGroup } from './avatarGroup';
4
4
  export interface AvatarProps extends DIVProps {
5
5
  color?: ColorPropsValue;
@@ -1,4 +1,4 @@
1
- import { ColorPropsValue } from '../../../types';
1
+ import { ColorPropsValue } from '../../types';
2
2
  export declare const classes: {
3
3
  img: string;
4
4
  } & {
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { AvatarProps } from './avatar';
3
- import { Obj } from '../../../types';
3
+ import { Obj } from '../../types';
4
4
  export interface AvatarGroupProps extends Omit<AvatarProps, 'src'> {
5
5
  items?: (AvatarProps & Obj)[];
6
6
  hoverable?: boolean;
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import { ColorPropsValue, DIVProps, Placement } from '../../../types';
2
+ import { ColorPropsValue, DIVProps, Placement } from '../../types';
3
3
  export interface BadgeProps extends DIVProps {
4
4
  color?: ColorPropsValue;
5
5
  placement?: Placement;
@@ -1,4 +1,4 @@
1
- import { ColorPropsValue } from '../../../types';
1
+ import { ColorPropsValue } from '../../types';
2
2
  export declare const classes: {
3
3
  children: string;
4
4
  badge: string;
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- import { DIVProps, Id, Obj } from '../../../types';
2
+ import { DIVProps, Id, Obj } from '../../types';
3
3
  import { BottomNavigationItemProps } from './bottomNavigationItem';
4
4
  type BottomNavigationItemType = BottomNavigationItemProps & Obj;
5
5
  export interface BottomNavigationProps<I extends BottomNavigationItemType> extends Omit<DIVProps, 'defaultValue' | 'onChange'> {
@@ -1,6 +1,6 @@
1
1
  export declare const classes: {
2
- icon: string;
3
2
  label: string;
3
+ icon: string;
4
4
  item: string;
5
5
  } & {
6
6
  root: string;
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import { DIVProps, Id } from '../../../types';
2
+ import { DIVProps, Id } from '../../types';
3
3
  export interface BottomNavigationItemProps extends DIVProps {
4
4
  value?: Id;
5
5
  icon?: ReactNode;
@@ -1,6 +1,6 @@
1
1
  import { ReactElement, ReactNode } from 'react';
2
2
  import { Button, ButtonProps } from '../button';
3
- import { DIVProps, Obj } from '../../../types';
3
+ import { DIVProps, Obj } from '../../types';
4
4
  export interface BreadcrumbItemProps extends ButtonProps, Obj {
5
5
  /**
6
6
  * @alias ButtonProps.prefix
@@ -1,9 +1,9 @@
1
1
  export declare const classes: {
2
2
  info: string;
3
+ footer: string;
4
+ title: string;
3
5
  content: string;
4
6
  icon: string;
5
- title: string;
6
- footer: string;
7
7
  bubble: string;
8
8
  } & {
9
9
  root: string;
@@ -1,5 +1,5 @@
1
1
  import React, { ReactNode, Ref } from 'react';
2
- import { ColorPropsValue, Size } from '../../../types';
2
+ import { ColorPropsValue, Size } from '../../types';
3
3
  export interface ButtonProps extends Omit<React.JSX.IntrinsicElements['button'], 'ref' | 'prefix'> {
4
4
  ref?: Ref<HTMLButtonElement>;
5
5
  color?: ColorPropsValue;
@@ -1,4 +1,4 @@
1
- import { ColorPropsValue } from '../../../types';
1
+ import { ColorPropsValue } from '../../types';
2
2
  export declare const classes: {
3
3
  content: string;
4
4
  prefix: string;
@@ -1,4 +1,4 @@
1
- import { ColorPropsValue } from '../../../types';
1
+ import { ColorPropsValue } from '../../types';
2
2
  export declare const classes: {
3
3
  content: string;
4
4
  prefix: string;
@@ -4,7 +4,7 @@ import { InputBaseProps } from '../inputBase';
4
4
  import { PopperProps, PopperRef } from '../popper';
5
5
  import { SelectionContextProps } from '../selectionContext';
6
6
  import { MenuOptionType, OptionsBaseSharedProps } from '../optionsBase';
7
- import { Id, SelectableMultipleProps, SelectableSingleProps } from '../../../types';
7
+ import { Id, SelectableMultipleProps, SelectableSingleProps } from '../../types';
8
8
  export interface CascadeBaseProps<O extends MenuOptionType<V>, V extends Id = Id> extends Omit<OptionsBaseSharedProps<O>, 'filterPredicate'>, Omit<InputBaseProps<'input'>, 'children' | 'defaultValue' | 'value' | 'onChange'> {
9
9
  /** cascade内部由<input />实现 */
10
10
  inputProps?: React.JSX.IntrinsicElements['input'];
@@ -1,6 +1,6 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { OptionType } from '../selectionContext';
3
- import { Id } from '../../../types';
3
+ import { Id } from '../../types';
4
4
  type SearchResultProps<O extends OptionType<V>, V extends Id = Id> = {
5
5
  primaryKey: keyof O;
6
6
  labelKey: keyof O;
@@ -1,7 +1,7 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { CheckboxBaseProps } from '../checkboxBase';
3
3
  import { CheckboxBaseGroupCommonProps, ItemType } from '../checkboxBaseGroup';
4
- import { Id, SelectableMultipleProps } from '../../../types';
4
+ import { Id, SelectableMultipleProps } from '../../types';
5
5
  export interface CheckboxProps extends Omit<CheckboxBaseProps, '_type'> {
6
6
  }
7
7
  export declare const Checkbox: {
@@ -1,5 +1,5 @@
1
1
  import React, { ReactNode, Ref } from 'react';
2
- import { ColorPropsValue, DIVProps, Id, Size } from '../../../types';
2
+ import { ColorPropsValue, DIVProps, Id, Size } from '../../types';
3
3
  export interface CheckboxBaseProps extends DIVProps {
4
4
  inputProps?: React.JSX.IntrinsicElements['input'];
5
5
  inputRef?: Ref<HTMLInputElement>;
@@ -1,8 +1,8 @@
1
1
  import { CheckboxBaseProps } from './checkboxBase';
2
2
  export declare const classes: {
3
- icon: string;
4
- label: string;
5
3
  input: string;
4
+ label: string;
5
+ icon: string;
6
6
  checkbox: string;
7
7
  radio: string;
8
8
  radioChecked: string;
@@ -1,7 +1,7 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { FlexProps } from '../flex';
3
3
  import { CheckboxBaseProps } from '../checkboxBase';
4
- import { ColorPropsValue, Id, Obj, SelectableProps, Size } from '../../../types';
4
+ import { ColorPropsValue, Id, Obj, SelectableProps, Size } from '../../types';
5
5
  export interface ItemType extends Omit<CheckboxBaseProps, '_type'>, Obj {
6
6
  }
7
7
  export interface CheckboxBaseGroupCommonProps<I extends ItemType> extends Omit<FlexProps, 'defaultValue' | 'onChange'> {
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- import { DIVProps, DefineElement } from '../../../types';
2
+ import { DIVProps, DefineElement } from '../../types';
3
3
  export interface ClickAwayProps extends DIVProps {
4
4
  container?: DefineElement<Element | Window>;
5
5
  /** 传入addEventListener的事件类型,默认为`'click'` */
@@ -1,6 +1,6 @@
1
1
  import React, { ReactNode, Ref } from 'react';
2
2
  import { PopperProps, PopperRef } from '../popper';
3
- import { ColorPropsValue, DIVProps, Size } from '../../../types';
3
+ import { ColorPropsValue, DIVProps, Size } from '../../types';
4
4
  import Color from 'color';
5
5
  export interface ColorPickerProps extends Omit<DIVProps, 'defaultValue' | 'onChange'> {
6
6
  inputProps?: React.JSX.IntrinsicElements['input'];
@@ -1,4 +1,4 @@
1
- import { Size } from '../../../types';
1
+ import { Size } from '../../types';
2
2
  import { ButtonProps } from '../button';
3
3
  import { InputProps } from '../input';
4
4
  import { FlexProps } from '../flex';
@@ -1,5 +1,5 @@
1
1
  import { ReactElement, ReactNode, Ref } from 'react';
2
- import { DIVProps, Id, Obj } from '../../../types';
2
+ import { DIVProps, Id, Obj } from '../../types';
3
3
  import { ColumnType, DataGridBaseProps, DataGridMultipleProps, DataGridSingleProps, OrderType, RowType } from '../dataGrid';
4
4
  import { FormItemProps, FormProps, FormRef, FormValue } from '../form';
5
5
  import { CurdFilter, CurdFilterProps } from './curdFilter';
@@ -1,7 +1,7 @@
1
1
  import { Dispatch, ReactElement, SetStateAction } from 'react';
2
2
  import { CurdColumn } from './curd';
3
3
  import { RowType } from '../dataGrid';
4
- import { Id } from '../../../types';
4
+ import { Id } from '../../types';
5
5
  type CurdColumnConfigProps<R extends RowType> = {
6
6
  columns?: CurdColumn<R>[];
7
7
  innerVisible: Id[];
@@ -1,6 +1,6 @@
1
1
  export declare const classes: {
2
- content: string;
3
2
  title: string;
3
+ content: string;
4
4
  checkbox: string;
5
5
  item: string;
6
6
  } & {
@@ -1,5 +1,5 @@
1
1
  import { Dispatch, SetStateAction } from 'react';
2
- import { Size } from '../../../types';
2
+ import { Size } from '../../types';
3
3
  export declare const CurdResizable: import("react").MemoExoticComponent<({ innerSize, setInnerSize }: {
4
4
  innerSize: Size;
5
5
  setInnerSize: Dispatch<SetStateAction<Size>>;
@@ -1,5 +1,5 @@
1
1
  import React, { ReactElement, ReactNode } from 'react';
2
- import { DIVProps, Id, Obj } from '../../../types';
2
+ import { DIVProps, Id, Obj } from '../../types';
3
3
  import { FieldPath } from '../../utils';
4
4
  import { TableProps } from '../table';
5
5
  import { PaginationProps } from '../pagination';
@@ -1,8 +1,8 @@
1
1
  export declare const classes: {
2
- children: string;
3
2
  sub: string;
4
- icon: string;
5
3
  title: string;
4
+ children: string;
5
+ icon: string;
6
6
  container: string;
7
7
  sorter: string;
8
8
  expandable: string;
@@ -1,6 +1,6 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { DataGridProps, OrderType } from './dataGrid';
3
- import { Id, Obj } from '../../../types';
3
+ import { Id, Obj } from '../../types';
4
4
  interface DataGridHeadProps<R extends Obj, V extends Id = Id> extends Pick<DataGridProps<R, V>, 'columns' | 'onOrderChange' | 'allowSelectAll' | 'multiple' | 'primaryKey' | 'rows'> {
5
5
  orderColumn?: Id;
6
6
  orderType?: OrderType;
@@ -1,6 +1,6 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { DataGridProps } from './dataGrid';
3
- import { Id, Obj } from '../../../types';
3
+ import { Id, Obj } from '../../types';
4
4
  interface DataGridRowsProps<R extends Obj, V extends Id = Id> extends Pick<DataGridProps<R, V>, 'rows'> {
5
5
  /** @private 内部使用,用于缩进子行 */
6
6
  _level?: number;
@@ -1,4 +1,4 @@
1
- import { DIVProps } from '../../../types';
1
+ import { DIVProps } from '../../types';
2
2
  import { Dayjs } from 'dayjs';
3
3
  import { Dispatch, SetStateAction } from 'react';
4
4
  type SharedCalendarProps = {
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import { ColorPropsValue, DIVProps, Size } from '../../../types';
2
+ import { ColorPropsValue, DIVProps, Size } from '../../types';
3
3
  import { DatePickerSharedProps, DateTimePickerProps } from '../dateTimePicker';
4
4
  import { Dayjs } from 'dayjs';
5
5
  type DateValueType = [Dayjs | null, Dayjs | null] | null;
@@ -1,7 +1,7 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { DescriptionsSharedProps } from './descriptions';
3
3
  import { GridItemProps } from '../grid';
4
- import { ResponsiveProp } from '../../../types';
4
+ import { ResponsiveProp } from '../../types';
5
5
  interface DescriptionItemBaseProps extends DescriptionsSharedProps {
6
6
  label?: ReactNode;
7
7
  }
@@ -1,5 +1,5 @@
1
1
  import React, { ReactElement, ReactNode } from 'react';
2
- import { Obj, ResponsiveProp, Size } from '../../../types';
2
+ import { Obj, ResponsiveProp, Size } from '../../types';
3
3
  import { GridProps } from '../grid';
4
4
  import { DescriptionItem, DescriptionItemProps } from './descriptionItem';
5
5
  export type DescriptionsSharedProps = {
@@ -1,7 +1,7 @@
1
1
  export declare const classes: {
2
- content: string;
3
- label: string;
4
2
  col: string;
3
+ label: string;
4
+ content: string;
5
5
  vertical: string;
6
6
  item: string;
7
7
  colon: string;
@@ -1,10 +1,10 @@
1
1
  export declare const classes: {
2
- content: string;
3
2
  body: string;
4
- icon: string;
3
+ footer: string;
5
4
  title: string;
5
+ content: string;
6
+ icon: string;
6
7
  prefix: string;
7
- footer: string;
8
8
  close: string;
9
9
  suffix: string;
10
10
  card: string;
@@ -1,4 +1,4 @@
1
- import { DIVProps } from '../../../types';
1
+ import { DIVProps } from '../../types';
2
2
  export interface DividerProps extends DIVProps {
3
3
  textAlign?: 'start' | 'center' | 'end';
4
4
  alignMargin?: number | string;
@@ -1,6 +1,6 @@
1
1
  export declare const classes: {
2
- content: string;
3
2
  line: string;
3
+ content: string;
4
4
  beforeLine: string;
5
5
  afterLine: string;
6
6
  } & {
@@ -1,6 +1,6 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { DraggableOptions, HandleProps } from '../../utils';
3
- import { DefineElement } from '../../../types';
3
+ import { DefineElement } from '../../types';
4
4
  export type DraggableTargetProps = {
5
5
  style: {
6
6
  translate: string;
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { OverlayBaseProps } from '../overlayBase';
3
- import { ResponsiveProp } from '../../../types';
3
+ import { ResponsiveProp } from '../../types';
4
4
  import { TransitionBaseProps } from '../transitionBase';
5
5
  export interface DrawerProps extends Omit<OverlayBaseProps, 'title'> {
6
6
  title?: ReactNode;
@@ -1,4 +1,4 @@
1
- import { ResponsiveValue } from '../../../types';
1
+ import { ResponsiveValue } from '../../types';
2
2
  export declare const classes: {
3
3
  body: string;
4
4
  title: string;
@@ -1,5 +1,5 @@
1
1
  import React, { Dispatch, ReactElement, ReactNode, Ref, RefObject, SetStateAction } from 'react';
2
- import { Obj, ResponsiveProp } from '../../../types';
2
+ import { Obj, ResponsiveProp } from '../../types';
3
3
  import { FieldPath } from '../../utils';
4
4
  import { FieldError, FormItem, FormItemProps, FormItemRef } from './formItem';
5
5
  import { FormRelatable } from './formRelatable';
@@ -1,6 +1,6 @@
1
1
  import React, { ReactElement, ReactNode } from 'react';
2
2
  import { FormRef, FormSharedProps, FormValue } from './form';
3
- import { ColorPropsValue, Size } from '../../../types';
3
+ import { ColorPropsValue, Size } from '../../types';
4
4
  import { FieldPath } from '../../utils';
5
5
  import { DescriptionItemProps, DescriptionsSharedProps } from '../descriptions';
6
6
  export type FormItemRules<I> = {
@@ -1,6 +1,6 @@
1
1
  import { ReactElement, ReactNode, Ref } from 'react';
2
2
  import { DialogProps } from '../dialog';
3
- import { Obj } from '../../../types';
3
+ import { Obj } from '../../types';
4
4
  import { FormItemProps, FormProps, FormRef, FormValue } from '../form';
5
5
  interface FormDialogItemProps<I = any> extends Omit<FormItemProps<I>, 'key'>, Obj {
6
6
  key?: string | number;
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- import { ResponsiveProp } from '../../../types';
2
+ import { ResponsiveProp } from '../../types';
3
3
  import { GridItem } from './gridItem';
4
4
  import { TransportStyleProps } from '../transportStyle';
5
5
  export interface GridProps extends TransportStyleProps {
@@ -1,4 +1,4 @@
1
- import { ResponsiveValue } from '../../../types';
1
+ import { ResponsiveValue } from '../../types';
2
2
  export declare const classes: {
3
3
  item: string;
4
4
  } & {
@@ -1,4 +1,4 @@
1
- import { ResponsiveProp } from '../../../types';
1
+ import { ResponsiveProp } from '../../types';
2
2
  import { TransportStyleProps } from '../transportStyle';
3
3
  export interface GridItemProps extends TransportStyleProps {
4
4
  span?: ResponsiveProp;
@@ -1,5 +1,5 @@
1
1
  import React, { CSSProperties, ReactNode } from 'react';
2
- import { DIVProps } from '../../../types';
2
+ import { DIVProps } from '../../types';
3
3
  import { ImagePreviewProps } from './imagePreview';
4
4
  export interface ImageProps extends DIVProps {
5
5
  src?: string;
@@ -1,5 +1,5 @@
1
1
  import React, { ReactElement, ReactNode } from 'react';
2
- import { ColorPropsValue, DIVProps, Size } from '../../../types';
2
+ import { ColorPropsValue, DIVProps, Size } from '../../types';
3
3
  export interface InputBaseProps<T extends 'input' | 'textarea'> extends Omit<DIVProps, 'prefix' | 'onChange' | 'children'> {
4
4
  variant?: 'outlined' | 'underlined' | 'plain';
5
5
  size?: Size;
@@ -1,4 +1,4 @@
1
- import { DIVProps } from '../../../types';
1
+ import { DIVProps } from '../../types';
2
2
  import { LoadingMaskProps } from '../loadingMask';
3
3
  export interface LoadingProps extends Omit<LoadingMaskProps, 'children'>, DIVProps {
4
4
  }
@@ -1,4 +1,4 @@
1
- import { ColorPropsValue, DIVProps } from '../../../types';
1
+ import { ColorPropsValue, DIVProps } from '../../types';
2
2
  export interface LoadingIndicatorProps extends DIVProps {
3
3
  size?: number;
4
4
  width?: number;
@@ -1,7 +1,7 @@
1
1
  import { ReactElement, ReactNode } from 'react';
2
2
  import { LoadingIndicatorProps } from '../loadingIndicator';
3
3
  import { ProgressProps } from '../progress';
4
- import { ColorPropsValue } from '../../../types';
4
+ import { ColorPropsValue } from '../../types';
5
5
  import { BackdropProps } from '../backdrop';
6
6
  export interface LoadingMaskProps<T extends HTMLElement = HTMLElement> extends BackdropProps<T> {
7
7
  text?: ReactNode;
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- import { DIVProps, Id, Obj, SelectableProps, Size } from '../../../types';
2
+ import { DIVProps, Id, Obj, SelectableProps, Size } from '../../types';
3
3
  import { MenuItemProps } from '../menuItem';
4
4
  export type ForwardProps = {
5
5
  size?: Size;
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import { ColorPropsValue, DIVProps, Size } from '../../../types';
2
+ import { ColorPropsValue, DIVProps, Size } from '../../types';
3
3
  import { CheckboxProps } from '../checkbox';
4
4
  export interface MenuItemProps extends Omit<DIVProps, 'prefix'> {
5
5
  value?: string | number;
@@ -2,7 +2,7 @@ import React, { ReactElement, ReactNode } from 'react';
2
2
  import { MenuItemProps } from '../menuItem';
3
3
  import { LoadingProps } from '../loading';
4
4
  import { OptionType } from '../selectionContext';
5
- import { Id } from '../../../types';
5
+ import { Id } from '../../types';
6
6
  export interface MenuOptionType<V extends Id = Id> extends Omit<MenuItemProps, 'children'>, Omit<OptionType<V>, 'children'> {
7
7
  }
8
8
  export type OptionsBaseSharedProps<O extends MenuOptionType<V>, V extends Id = Id> = {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { DIVProps, DefineElement } from '../../../types';
2
+ import { DIVProps, DefineElement } from '../../types';
3
3
  import { TransitionBaseProps } from '../transitionBase';
4
4
  export interface OverlayBaseProps extends DIVProps {
5
5
  /** 模态的容器元素,默认为document.body */
@@ -1,4 +1,4 @@
1
- import { DIVProps } from '../../../types';
1
+ import { DIVProps } from '../../types';
2
2
  export interface PaginationCounterProps extends DIVProps {
3
3
  }
4
4
  export declare const PaginationCounter: import("react").MemoExoticComponent<(props: PaginationCounterProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
@@ -1,5 +1,5 @@
1
1
  import { Ref } from 'react';
2
- import { DIVProps } from '../../../types';
2
+ import { DIVProps } from '../../types';
3
3
  import { InputProps } from '../input';
4
4
  export interface PaginationJumperProps extends DIVProps {
5
5
  InputProps?: InputProps;
@@ -1,4 +1,4 @@
1
- import { DIVProps } from '../../../types';
1
+ import { DIVProps } from '../../types';
2
2
  export interface PaginationPagerProps extends DIVProps {
3
3
  }
4
4
  export declare const PaginationPager: import("react").MemoExoticComponent<(props: PaginationPagerProps) => import("@emotion/react/jsx-runtime").JSX.Element>;