@npm-questionpro/wick-ui-lib 1.40.0 → 1.48.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.
Files changed (313) hide show
  1. package/package.json +17 -16
  2. package/dist/ac_divergent.svg +0 -50
  3. package/dist/ac_qualitative.svg +0 -50
  4. package/dist/ac_sequential.svg +0 -50
  5. package/dist/bp_divergent.svg +0 -130
  6. package/dist/bp_qualitative.svg +0 -53
  7. package/dist/bp_sentiment.svg +0 -76
  8. package/dist/bp_sentiment_analysis.svg +0 -112
  9. package/dist/bp_sequential.svg +0 -99
  10. package/dist/favicon.ico +0 -0
  11. package/dist/index.d.ts +0 -2
  12. package/dist/order_divergent.svg +0 -61
  13. package/dist/order_qualitative.svg +0 -57
  14. package/dist/order_sequential_blue.svg +0 -52
  15. package/dist/order_sequential_green.svg +0 -52
  16. package/dist/order_sequential_orange.svg +0 -52
  17. package/dist/order_sequential_red.svg +0 -52
  18. package/dist/src/base/ui/accordion.d.ts +0 -7
  19. package/dist/src/base/ui/avatar.d.ts +0 -6
  20. package/dist/src/base/ui/button.d.ts +0 -12
  21. package/dist/src/base/ui/checkbox.d.ts +0 -6
  22. package/dist/src/base/ui/command.d.ts +0 -74
  23. package/dist/src/base/ui/dialog.d.ts +0 -23
  24. package/dist/src/base/ui/dropdownMenu.d.ts +0 -28
  25. package/dist/src/base/ui/input.d.ts +0 -3
  26. package/dist/src/base/ui/label.d.ts +0 -5
  27. package/dist/src/base/ui/popover.d.ts +0 -6
  28. package/dist/src/base/ui/radioGroup.d.ts +0 -5
  29. package/dist/src/base/ui/scrollArea.d.ts +0 -11
  30. package/dist/src/base/ui/separator.d.ts +0 -4
  31. package/dist/src/base/ui/sheet.d.ts +0 -29
  32. package/dist/src/base/ui/skeleton.d.ts +0 -2
  33. package/dist/src/base/ui/switch.d.ts +0 -4
  34. package/dist/src/base/ui/table.d.ts +0 -10
  35. package/dist/src/base/ui/textarea.d.ts +0 -3
  36. package/dist/src/base/ui/toast.d.ts +0 -18
  37. package/dist/src/base/ui/toaster.d.ts +0 -1
  38. package/dist/src/base/ui/toggle.d.ts +0 -12
  39. package/dist/src/base/ui/toggleGroup.d.ts +0 -12
  40. package/dist/src/base/ui/tooltip.d.ts +0 -7
  41. package/dist/src/base/ui/useToast.d.ts +0 -40
  42. package/dist/src/components/accordion/WuAccordion.d.ts +0 -26
  43. package/dist/src/components/accordion/WuAccordion.test.d.ts +0 -1
  44. package/dist/src/components/accordion/index.d.ts +0 -2
  45. package/dist/src/components/activityLog/WuActivityLog.d.ts +0 -18
  46. package/dist/src/components/activityLog/WuActivityLog.test.d.ts +0 -1
  47. package/dist/src/components/activityLog/index.d.ts +0 -2
  48. package/dist/src/components/appHeader/WuAppHeader.d.ts +0 -19
  49. package/dist/src/components/appHeader/WuAppHeader.test.d.ts +0 -1
  50. package/dist/src/components/appHeader/components/WuAppHeaderBar.d.ts +0 -6
  51. package/dist/src/components/appHeader/components/WuAppHeaderDropdownWrapper.d.ts +0 -11
  52. package/dist/src/components/appHeader/components/WuAppHeaderSearch.d.ts +0 -7
  53. package/dist/src/components/appHeader/components/WuAppHeaderSearch.test.d.ts +0 -1
  54. package/dist/src/components/appHeader/components/WuTruncatedLabel.d.ts +0 -4
  55. package/dist/src/components/appHeader/components/account/WuAppHeaderAccount.d.ts +0 -10
  56. package/dist/src/components/appHeader/components/account/WuAppHeaderAccount.test.d.ts +0 -1
  57. package/dist/src/components/appHeader/components/account/ui/_logoutMenuItem.d.ts +0 -4
  58. package/dist/src/components/appHeader/components/account/ui/_otherMenuItem.d.ts +0 -5
  59. package/dist/src/components/appHeader/components/account/ui/_settingsMenuItem.d.ts +0 -5
  60. package/dist/src/components/appHeader/components/account/ui/_userMenuItem.d.ts +0 -5
  61. package/dist/src/components/appHeader/components/help/WuAppHeaderHelp.d.ts +0 -7
  62. package/dist/src/components/appHeader/components/help/WuAppHeaderHelp.test.d.ts +0 -1
  63. package/dist/src/components/appHeader/components/productSwitcher/WuAppHeaderMenu.d.ts +0 -15
  64. package/dist/src/components/appHeader/components/productSwitcher/WuAppHeaderMenu.test.d.ts +0 -1
  65. package/dist/src/components/appHeader/components/productSwitcher/ui/_categoryDetails.d.ts +0 -8
  66. package/dist/src/components/appHeader/components/productSwitcher/ui/_menuTrigger.d.ts +0 -12
  67. package/dist/src/components/appHeader/components/productSwitcher/ui/_productDropdown.d.ts +0 -17
  68. package/dist/src/components/appHeader/components/productSwitcher/ui/_productItem.d.ts +0 -9
  69. package/dist/src/components/appHeader/components/productSwitcher/ui/_productList.d.ts +0 -13
  70. package/dist/src/components/appHeader/components/productSwitcher/ui/_smallScreenMenuTrigger.d.ts +0 -16
  71. package/dist/src/components/appHeader/components/productSwitcher/ui/_smallScreenToggleMenu.d.ts +0 -10
  72. package/dist/src/components/appHeader/hooks/useOnClickOutsideHook.d.ts +0 -2
  73. package/dist/src/components/appHeader/hooks/useWindowSize.d.ts +0 -2
  74. package/dist/src/components/appHeader/index.d.ts +0 -11
  75. package/dist/src/components/appHeader/types/WuAppHeaderAccount.d.ts +0 -47
  76. package/dist/src/components/appHeader/types/WuAppHeaderHelpMenu.d.ts +0 -7
  77. package/dist/src/components/appHeader/types/WuAppHeaderMenuItem.d.ts +0 -16
  78. package/dist/src/components/appHeader/utils/dataFromApi.d.ts +0 -3
  79. package/dist/src/components/appHeader/utils/headerMenuKeyboardHandlers.d.ts +0 -6
  80. package/dist/src/components/appHeader/utils/iconMap.d.ts +0 -3
  81. package/dist/src/components/button/WuButton.d.ts +0 -13
  82. package/dist/src/components/button/WuButton.test.d.ts +0 -1
  83. package/dist/src/components/button/index.d.ts +0 -2
  84. package/dist/src/components/calendar/WuCalender.d.ts +0 -3
  85. package/dist/src/components/calendar/components/datePicker/WuDatePicker.d.ts +0 -24
  86. package/dist/src/components/calendar/components/datePicker/WuDatePicker.test.d.ts +0 -1
  87. package/dist/src/components/calendar/components/dateRangePicker/WuDateRangePicker.d.ts +0 -31
  88. package/dist/src/components/calendar/components/dateRangePicker/WuDateRangePicker.test.d.ts +0 -1
  89. package/dist/src/components/calendar/index.d.ts +0 -5
  90. package/dist/src/components/calendar/shadcn/calendar.d.ts +0 -7
  91. package/dist/src/components/calendar/ui/_footer.d.ts +0 -8
  92. package/dist/src/components/calendar/ui/_nativeSidebar.d.ts +0 -17
  93. package/dist/src/components/calendar/ui/_sidebar.d.ts +0 -12
  94. package/dist/src/components/calendar/ui/_trigger.d.ts +0 -9
  95. package/dist/src/components/calendar/utils/index.d.ts +0 -7
  96. package/dist/src/components/card/WuCard.d.ts +0 -7
  97. package/dist/src/components/card/WuCard.test.d.ts +0 -1
  98. package/dist/src/components/card/index.d.ts +0 -2
  99. package/dist/src/components/checkbox/WuCheckbox.d.ts +0 -17
  100. package/dist/src/components/checkbox/WuCheckbox.test.d.ts +0 -1
  101. package/dist/src/components/checkbox/index.d.ts +0 -2
  102. package/dist/src/components/chip/WuChip.d.ts +0 -10
  103. package/dist/src/components/chip/WuChip.test.d.ts +0 -1
  104. package/dist/src/components/chip/index.d.ts +0 -2
  105. package/dist/src/components/combobox/WuCombobox.d.ts +0 -38
  106. package/dist/src/components/combobox/WuCombobox.test.d.ts +0 -1
  107. package/dist/src/components/combobox/index.d.ts +0 -3
  108. package/dist/src/components/combobox/types/IWuComboboxOptions.d.ts +0 -16
  109. package/dist/src/components/combobox/ui/_item.d.ts +0 -14
  110. package/dist/src/components/combobox/ui/_tags.d.ts +0 -5
  111. package/dist/src/components/combobox/ui/_trigger.d.ts +0 -22
  112. package/dist/src/components/combobox/utils/index.d.ts +0 -2
  113. package/dist/src/components/combobox/utils/renderItems.d.ts +0 -13
  114. package/dist/src/components/combobox/utils/separateOptions.d.ts +0 -7
  115. package/dist/src/components/combobox/utils/useResizeContent.d.ts +0 -2
  116. package/dist/src/components/copyToClipboard/WuCopyToClipboard.d.ts +0 -8
  117. package/dist/src/components/copyToClipboard/WuCopyToClipboard.test.d.ts +0 -1
  118. package/dist/src/components/copyToClipboard/index.d.ts +0 -2
  119. package/dist/src/components/drawer/WuDrawer.d.ts +0 -17
  120. package/dist/src/components/drawer/WuDrawer.test.d.ts +0 -1
  121. package/dist/src/components/drawer/index.d.ts +0 -2
  122. package/dist/src/components/drilldown/WuDrilldown.d.ts +0 -24
  123. package/dist/src/components/drilldown/WuDrilldown.test.d.ts +0 -1
  124. package/dist/src/components/drilldown/WuDrilldownTitleMenu.d.ts +0 -9
  125. package/dist/src/components/drilldown/WuDrilldownTitles.d.ts +0 -12
  126. package/dist/src/components/drilldown/index.d.ts +0 -3
  127. package/dist/src/components/footer/WuFooter.d.ts +0 -8
  128. package/dist/src/components/footer/WuFooter.test.d.ts +0 -1
  129. package/dist/src/components/footer/index.d.ts +0 -2
  130. package/dist/src/components/formGroup/WuFormGroup.d.ts +0 -10
  131. package/dist/src/components/formGroup/WuFormGroup.test.d.ts +0 -1
  132. package/dist/src/components/formGroup/components/WuInputError.d.ts +0 -6
  133. package/dist/src/components/formGroup/components/WuInputHint.d.ts +0 -7
  134. package/dist/src/components/formGroup/components/WuLabel.d.ts +0 -3
  135. package/dist/src/components/formGroup/index.d.ts +0 -5
  136. package/dist/src/components/helpButton/WuHelpButton.d.ts +0 -7
  137. package/dist/src/components/helpButton/WuHelpButton.test.d.ts +0 -1
  138. package/dist/src/components/helpButton/index.d.ts +0 -2
  139. package/dist/src/components/input/WuInput.d.ts +0 -13
  140. package/dist/src/components/input/WuInput.test.d.ts +0 -0
  141. package/dist/src/components/input/index.d.ts +0 -2
  142. package/dist/src/components/listbox/WuListbox.d.ts +0 -44
  143. package/dist/src/components/listbox/WuListbox.test.d.ts +0 -1
  144. package/dist/src/components/listbox/index.d.ts +0 -3
  145. package/dist/src/components/listbox/subComponents/WuListboxTrigger.d.ts +0 -4
  146. package/dist/src/components/listbox/ui/_item.d.ts +0 -14
  147. package/dist/src/components/listbox/ui/_search.d.ts +0 -3
  148. package/dist/src/components/listbox/ui/_selectAll.d.ts +0 -7
  149. package/dist/src/components/listbox/ui/_trigger.d.ts +0 -20
  150. package/dist/src/components/listbox/utils/search.d.ts +0 -2
  151. package/dist/src/components/listbox/utils/useGenClass.d.ts +0 -1
  152. package/dist/src/components/loader/WuLoader.d.ts +0 -8
  153. package/dist/src/components/loader/WuLoader.test.d.ts +0 -1
  154. package/dist/src/components/loader/index.d.ts +0 -2
  155. package/dist/src/components/menu/WuMenu.d.ts +0 -24
  156. package/dist/src/components/menu/WuMenu.test.d.ts +0 -1
  157. package/dist/src/components/menu/index.d.ts +0 -10
  158. package/dist/src/components/menu/ui/WuMenuCheckboxItem.d.ts +0 -8
  159. package/dist/src/components/menu/ui/WuMenuItem.d.ts +0 -8
  160. package/dist/src/components/menu/ui/WuMenuItemGroup.d.ts +0 -8
  161. package/dist/src/components/menu/ui/WuMenuRadioItem.d.ts +0 -15
  162. package/dist/src/components/menu/ui/WuMenuSeparatorItem.d.ts +0 -2
  163. package/dist/src/components/menu/ui/WuSubMenu.d.ts +0 -13
  164. package/dist/src/components/menuIcon/WuMenuIcon.d.ts +0 -9
  165. package/dist/src/components/menuIcon/WuMenuIcon.test.d.ts +0 -1
  166. package/dist/src/components/menuIcon/index.d.ts +0 -2
  167. package/dist/src/components/modal/WuModal.d.ts +0 -32
  168. package/dist/src/components/modal/WuModal.test.d.ts +0 -1
  169. package/dist/src/components/modal/index.d.ts +0 -2
  170. package/dist/src/components/monthPicker/WuMonthPicker.d.ts +0 -16
  171. package/dist/src/components/monthPicker/WuMonthPicker.test.d.ts +0 -1
  172. package/dist/src/components/monthPicker/index.d.ts +0 -2
  173. package/dist/src/components/navbar/index.d.ts +0 -4
  174. package/dist/src/components/navbar/primaryNavbar/WuPrimaryNavbar.d.ts +0 -12
  175. package/dist/src/components/navbar/primaryNavbar/WuPrimaryNavbar.test.d.ts +0 -1
  176. package/dist/src/components/navbar/secondaryNavbar/WuSecondaryNavbar.d.ts +0 -18
  177. package/dist/src/components/navbar/secondaryNavbar/WuSecondaryNavbar.test.d.ts +0 -1
  178. package/dist/src/components/pagination/WuPagination.d.ts +0 -10
  179. package/dist/src/components/pagination/WuPagination.test.d.ts +0 -1
  180. package/dist/src/components/pagination/index.d.ts +0 -2
  181. package/dist/src/components/popover/WuPopover.d.ts +0 -14
  182. package/dist/src/components/popover/WuPopover.test.d.ts +0 -1
  183. package/dist/src/components/popover/index.d.ts +0 -2
  184. package/dist/src/components/radio/WuRadioGroup.d.ts +0 -12
  185. package/dist/src/components/radio/WuRadioGroup.test.d.ts +0 -1
  186. package/dist/src/components/radio/index.d.ts +0 -3
  187. package/dist/src/components/radio/types/IWuRadioOption.d.ts +0 -6
  188. package/dist/src/components/scrollArea/WuScrollArea.d.ts +0 -4
  189. package/dist/src/components/scrollArea/WuScrollArea.test.d.ts +0 -1
  190. package/dist/src/components/scrollArea/index.d.ts +0 -1
  191. package/dist/src/components/select/WuSelect.d.ts +0 -33
  192. package/dist/src/components/select/WuSelect.test.d.ts +0 -1
  193. package/dist/src/components/select/index.d.ts +0 -3
  194. package/dist/src/components/select/types/IWuSelectOptions.d.ts +0 -16
  195. package/dist/src/components/select/ui/_item.d.ts +0 -15
  196. package/dist/src/components/select/ui/_trigger.d.ts +0 -20
  197. package/dist/src/components/select/utils/renderItems.d.ts +0 -10
  198. package/dist/src/components/select/utils/useOptionDestructure.d.ts +0 -8
  199. package/dist/src/components/select/utils/useResizeContent.d.ts +0 -2
  200. package/dist/src/components/select/utils/useSortedSelectOptions.d.ts +0 -4
  201. package/dist/src/components/sidebar/WuSidebar.d.ts +0 -33
  202. package/dist/src/components/sidebar/WuSidebar.test.d.ts +0 -1
  203. package/dist/src/components/sidebar/index.d.ts +0 -2
  204. package/dist/src/components/sidebar/shadcn/sidebar.d.ts +0 -44
  205. package/dist/src/components/spotlight/WuSpotlight.d.ts +0 -16
  206. package/dist/src/components/spotlight/WuSpotlight.test.d.ts +0 -1
  207. package/dist/src/components/spotlight/index.d.ts +0 -2
  208. package/dist/src/components/stackedCard/WuStackedCard.d.ts +0 -29
  209. package/dist/src/components/stackedCard/WuStackedCard.test.d.ts +0 -1
  210. package/dist/src/components/stackedCard/index.d.ts +0 -3
  211. package/dist/src/components/stackedCard/utils/constant.d.ts +0 -1
  212. package/dist/src/components/stackedCard/utils/helper.d.ts +0 -16
  213. package/dist/src/components/stepper/WuStepper.d.ts +0 -15
  214. package/dist/src/components/stepper/WuStepper.test.d.ts +0 -1
  215. package/dist/src/components/stepper/index.d.ts +0 -2
  216. package/dist/src/components/surveySelect/WuSurveySelect.d.ts +0 -5
  217. package/dist/src/components/surveySelect/WuSurveySelect.test.d.ts +0 -1
  218. package/dist/src/components/surveySelect/index.d.ts +0 -6
  219. package/dist/src/components/surveySelect/subComponents/WuSharedSurvey.d.ts +0 -3
  220. package/dist/src/components/surveySelect/subComponents/WuSurveyItem.d.ts +0 -3
  221. package/dist/src/components/surveySelect/subComponents/WuSurveyList.d.ts +0 -3
  222. package/dist/src/components/surveySelect/subComponents/WuSurveySource.d.ts +0 -8
  223. package/dist/src/components/surveySelect/types/index.d.ts +0 -15
  224. package/dist/src/components/switcher/WuSwitcher.d.ts +0 -25
  225. package/dist/src/components/switcher/WuSwitcher.test.d.ts +0 -1
  226. package/dist/src/components/switcher/index.d.ts +0 -4
  227. package/dist/src/components/switcher/types/IWuSwitcherOption.d.ts +0 -4
  228. package/dist/src/components/switcher/types/IWuSwitcherOptions.d.ts +0 -2
  229. package/dist/src/components/switcher/ui/_iconTab.d.ts +0 -11
  230. package/dist/src/components/switcher/ui/_tab.d.ts +0 -12
  231. package/dist/src/components/switcher/ui/_toggle.d.ts +0 -11
  232. package/dist/src/components/tab/WuTab.d.ts +0 -15
  233. package/dist/src/components/tab/WuTab.test.d.ts +0 -1
  234. package/dist/src/components/tab/components/BaseTabContent.d.ts +0 -8
  235. package/dist/src/components/tab/hooks/useHorizontalTabScroll.d.ts +0 -8
  236. package/dist/src/components/tab/hooks/useTabIndicator.d.ts +0 -9
  237. package/dist/src/components/tab/hooks/useVerticalTabScroll.d.ts +0 -8
  238. package/dist/src/components/tab/index.d.ts +0 -3
  239. package/dist/src/components/tab/shadcn/tabs.d.ts +0 -7
  240. package/dist/src/components/tab/types/IWuItems.d.ts +0 -5
  241. package/dist/src/components/tab/ui/_horizontalTab.d.ts +0 -3
  242. package/dist/src/components/tab/ui/_verticalTab.d.ts +0 -3
  243. package/dist/src/components/table/components/dataTable/WuDataTable.d.ts +0 -30
  244. package/dist/src/components/table/components/dataTable/WuDataTable.test.d.ts +0 -1
  245. package/dist/src/components/table/components/table/WuTable.d.ts +0 -34
  246. package/dist/src/components/table/components/table/WuTable.test.d.ts +0 -1
  247. package/dist/src/components/table/hooks/useRowSelection.d.ts +0 -11
  248. package/dist/src/components/table/hooks/useTableCore.d.ts +0 -19
  249. package/dist/src/components/table/hooks/useTableScroll.d.ts +0 -6
  250. package/dist/src/components/table/index.d.ts +0 -8
  251. package/dist/src/components/table/types/IColumnDefaultSorting.d.ts +0 -4
  252. package/dist/src/components/table/types/IWuRowSelection.d.ts +0 -10
  253. package/dist/src/components/table/types/IWuTableColumnDef.d.ts +0 -11
  254. package/dist/src/components/table/ui/_body.d.ts +0 -15
  255. package/dist/src/components/table/ui/_header.d.ts +0 -17
  256. package/dist/src/components/table/ui/_virtualBody.d.ts +0 -19
  257. package/dist/src/components/table/utils/data.d.ts +0 -65
  258. package/dist/src/components/table/utils/tableHelpers.d.ts +0 -16
  259. package/dist/src/components/table/utils/tableStyles.d.ts +0 -7
  260. package/dist/src/components/table/utils/variantClass.d.ts +0 -3
  261. package/dist/src/components/textarea/WuTextarea.d.ts +0 -8
  262. package/dist/src/components/textarea/WuTextarea.test.d.ts +0 -1
  263. package/dist/src/components/textarea/index.d.ts +0 -2
  264. package/dist/src/components/timePicker/WuTimePicker.d.ts +0 -9
  265. package/dist/src/components/timePicker/WuTimePicker.test.d.ts +0 -1
  266. package/dist/src/components/timePicker/components/timeColumn.d.ts +0 -11
  267. package/dist/src/components/timePicker/hooks/useRotatedArrays.d.ts +0 -5
  268. package/dist/src/components/timePicker/hooks/useTimePickerScroll.d.ts +0 -1
  269. package/dist/src/components/timePicker/index.d.ts +0 -2
  270. package/dist/src/components/timePicker/utils/timePickerUtils.d.ts +0 -12
  271. package/dist/src/components/toast/WuToast.d.ts +0 -1
  272. package/dist/src/components/toast/WuToast.test.d.ts +0 -1
  273. package/dist/src/components/toast/hooks/useWuShowToast.d.ts +0 -11
  274. package/dist/src/components/toast/index.d.ts +0 -3
  275. package/dist/src/components/toast/types/IWuToastOptions.d.ts +0 -5
  276. package/dist/src/components/toggle/WuToggle.d.ts +0 -8
  277. package/dist/src/components/toggle/WuToggle.test.d.ts +0 -1
  278. package/dist/src/components/toggle/index.d.ts +0 -2
  279. package/dist/src/components/tooltip/WuTooltip.d.ts +0 -15
  280. package/dist/src/components/tooltip/WuTooltip.test.d.ts +0 -1
  281. package/dist/src/components/tooltip/index.d.ts +0 -2
  282. package/dist/src/components/typography/WuTypography.d.ts +0 -21
  283. package/dist/src/components/typography/WuTypography.test.d.ts +0 -1
  284. package/dist/src/components/typography/iconClasses.d.ts +0 -1
  285. package/dist/src/components/typography/index.d.ts +0 -1
  286. package/dist/src/components/useTranslation/WuTranslation.test.d.ts +0 -1
  287. package/dist/src/components/useTranslation/WuTranslationContext.d.ts +0 -2
  288. package/dist/src/components/useTranslation/WuTranslationProvider.d.ts +0 -6
  289. package/dist/src/components/useTranslation/index.d.ts +0 -4
  290. package/dist/src/components/useTranslation/types/index.d.ts +0 -8
  291. package/dist/src/components/useTranslation/useTranslationContext.d.ts +0 -3
  292. package/dist/src/components/virtualScroll/WuVirtualScroll.d.ts +0 -11
  293. package/dist/src/components/virtualScroll/WuVirtualScroll.test.d.ts +0 -1
  294. package/dist/src/components/virtualScroll/index.d.ts +0 -2
  295. package/dist/src/docs/Icons.d.ts +0 -2
  296. package/dist/src/docs/Theme.d.ts +0 -3
  297. package/dist/src/docs/Typography.d.ts +0 -4
  298. package/dist/src/docs/ui/chartColor.d.ts +0 -4
  299. package/dist/src/docs/ui/colorSystem.d.ts +0 -10
  300. package/dist/src/hooks/index.d.ts +0 -1
  301. package/dist/src/hooks/useAnimation.d.ts +0 -9
  302. package/dist/src/hooks/useAnimation.test.d.ts +0 -1
  303. package/dist/src/hooks/useMobile.d.ts +0 -1
  304. package/dist/src/hooks/useResizeList.d.ts +0 -10
  305. package/dist/src/index.d.ts +0 -53
  306. package/dist/src/lib/testUtils.d.ts +0 -2
  307. package/dist/src/lib/utils.d.ts +0 -15
  308. package/dist/src/translate/WuTranslate.d.ts +0 -5
  309. package/dist/src/translate/WuTranslateContext.d.ts +0 -17
  310. package/dist/src/translate/index.d.ts +0 -2
  311. package/dist/style.css +0 -1
  312. package/dist/wick-ui-lib/es/index.js +0 -15754
  313. package/dist/wick-ui-lib/umd/index.js +0 -21
@@ -1,7 +0,0 @@
1
- import * as AccordionPrimitive from '@radix-ui/react-accordion';
2
- import * as React from 'react';
3
- declare const Accordion: React.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React.RefAttributes<HTMLDivElement>>;
4
- declare const AccordionItem: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
5
- declare const AccordionTrigger: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
6
- declare const AccordionContent: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
@@ -1,6 +0,0 @@
1
- import * as AvatarPrimitive from '@radix-ui/react-avatar';
2
- import * as React from 'react';
3
- declare const Avatar: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
4
- declare const AvatarImage: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
5
- declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
6
- export { Avatar, AvatarFallback, AvatarImage };
@@ -1,12 +0,0 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- import * as React from 'react';
3
- export declare const buttonVariants: (props?: ({
4
- size?: "md" | "sm" | "mobile" | null | undefined;
5
- color?: "error" | "primary" | "upgrade" | null | undefined;
6
- variant?: "rounded" | "link" | "primary" | "secondary" | "outline" | "iconOnly" | null | undefined;
7
- } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
8
- export interface IButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'color'>, VariantProps<typeof buttonVariants> {
9
- asChild?: boolean;
10
- }
11
- declare const Button: React.ForwardRefExoticComponent<IButtonProps & React.RefAttributes<HTMLButtonElement>>;
12
- export { Button };
@@ -1,6 +0,0 @@
1
- import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
2
- import * as React from 'react';
3
- declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
4
- partial?: boolean;
5
- } & React.RefAttributes<HTMLButtonElement>>;
6
- export { Checkbox };
@@ -1,74 +0,0 @@
1
- import * as React from 'react';
2
- declare const Command: React.ForwardRefExoticComponent<Omit<{
3
- children?: React.ReactNode;
4
- } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
5
- ref?: React.Ref<HTMLDivElement>;
6
- } & {
7
- asChild?: boolean;
8
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
9
- label?: string;
10
- shouldFilter?: boolean;
11
- filter?: (value: string, search: string, keywords?: string[]) => number;
12
- defaultValue?: string;
13
- value?: string;
14
- onValueChange?: (value: string) => void;
15
- loop?: boolean;
16
- disablePointerSelection?: boolean;
17
- vimBindings?: boolean;
18
- } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
19
- declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
20
- ref?: React.Ref<HTMLInputElement>;
21
- } & {
22
- asChild?: boolean;
23
- }, "key" | "asChild" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "value" | "type"> & {
24
- value?: string;
25
- onValueChange?: (search: string) => void;
26
- } & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
27
- declare const CommandList: React.ForwardRefExoticComponent<Omit<{
28
- children?: React.ReactNode;
29
- } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
30
- ref?: React.Ref<HTMLDivElement>;
31
- } & {
32
- asChild?: boolean;
33
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
34
- label?: string;
35
- } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
36
- declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
37
- children?: React.ReactNode;
38
- } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
39
- ref?: React.Ref<HTMLDivElement>;
40
- } & {
41
- asChild?: boolean;
42
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
43
- declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
44
- children?: React.ReactNode;
45
- } & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
46
- ref?: React.Ref<HTMLDivElement>;
47
- } & {
48
- asChild?: boolean;
49
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "heading" | "value"> & {
50
- heading?: React.ReactNode;
51
- value?: string;
52
- forceMount?: boolean;
53
- } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
54
- declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
55
- ref?: React.Ref<HTMLDivElement>;
56
- } & {
57
- asChild?: boolean;
58
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
59
- alwaysRender?: boolean;
60
- } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
61
- declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
62
- children?: React.ReactNode;
63
- } & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
64
- ref?: React.Ref<HTMLDivElement>;
65
- } & {
66
- asChild?: boolean;
67
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "disabled" | "value"> & {
68
- disabled?: boolean;
69
- onSelect?: (value: string) => void;
70
- value?: string;
71
- keywords?: string[];
72
- forceMount?: boolean;
73
- } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
74
- export { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, };
@@ -1,23 +0,0 @@
1
- import { default as React, ComponentPropsWithoutRef, HTMLAttributes } from 'react';
2
- import * as DialogPrimitive from '@radix-ui/react-dialog';
3
- interface IDialogContentProps extends ComponentPropsWithoutRef<typeof DialogPrimitive.Content> {
4
- hideCloseButton?: boolean;
5
- isStackedCard?: boolean;
6
- }
7
- export declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
8
- export declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
9
- export declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
10
- export declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
11
- export declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
12
- export declare const DialogContent: React.ForwardRefExoticComponent<IDialogContentProps & React.RefAttributes<HTMLDivElement>>;
13
- export declare const DialogHeader: {
14
- ({ className, ...props }: HTMLAttributes<HTMLDivElement>): React.JSX.Element;
15
- displayName: string;
16
- };
17
- export declare const DialogFooter: {
18
- ({ className, ...props }: HTMLAttributes<HTMLDivElement>): React.JSX.Element;
19
- displayName: string;
20
- };
21
- export declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
22
- export declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
23
- export {};
@@ -1,28 +0,0 @@
1
- import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
2
- import * as React from 'react';
3
- declare const DropdownMenu: React.FC<DropdownMenuPrimitive.DropdownMenuProps>;
4
- declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
- declare const DropdownMenuGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
6
- declare const DropdownMenuPortal: React.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
7
- declare const DropdownMenuSub: React.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
8
- declare const DropdownMenuRadioGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
9
- declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
10
- inset?: boolean;
11
- position?: "left" | "right";
12
- } & React.RefAttributes<HTMLDivElement>>;
13
- declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
14
- declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
15
- declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
16
- inset?: boolean;
17
- } & React.RefAttributes<HTMLDivElement>>;
18
- declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
19
- declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
20
- declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
21
- inset?: boolean;
22
- } & React.RefAttributes<HTMLDivElement>>;
23
- declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
24
- declare const DropdownMenuShortcut: {
25
- ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): React.JSX.Element;
26
- displayName: string;
27
- };
28
- export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, };
@@ -1,3 +0,0 @@
1
- import * as React from 'react';
2
- declare const Input: React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLInputElement> & React.RefAttributes<HTMLInputElement>>;
3
- export { Input };
@@ -1,5 +0,0 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- import * as LabelPrimitive from '@radix-ui/react-label';
3
- import * as React from 'react';
4
- declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: import('class-variance-authority/dist/types').ClassProp | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
5
- export { Label };
@@ -1,6 +0,0 @@
1
- import * as PopoverPrimitive from '@radix-ui/react-popover';
2
- import * as React from 'react';
3
- declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
4
- declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
- declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
6
- export { Popover, PopoverContent, PopoverTrigger };
@@ -1,5 +0,0 @@
1
- import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
2
- import * as React from 'react';
3
- declare const RadioGroup: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
4
- declare const RadioGroupItem: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
5
- export { RadioGroup, RadioGroupItem };
@@ -1,11 +0,0 @@
1
- import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
2
- import * as React from 'react';
3
- declare const ScrollArea: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
4
- thumbColor?: string;
5
- railColor?: string;
6
- } & React.RefAttributes<HTMLDivElement>>;
7
- declare const ScrollBar: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
8
- thumbColor?: string;
9
- railColor?: string;
10
- } & React.RefAttributes<HTMLDivElement>>;
11
- export { ScrollArea, ScrollBar };
@@ -1,4 +0,0 @@
1
- import * as SeparatorPrimitive from '@radix-ui/react-separator';
2
- import * as React from 'react';
3
- declare const Separator: React.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
4
- export { Separator };
@@ -1,29 +0,0 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- import * as SheetPrimitive from '@radix-ui/react-dialog';
3
- import * as React from 'react';
4
- declare const Sheet: React.FC<SheetPrimitive.DialogProps>;
5
- declare const SheetTrigger: React.ForwardRefExoticComponent<SheetPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
6
- declare const SheetClose: React.ForwardRefExoticComponent<SheetPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
7
- declare const SheetPortal: React.FC<SheetPrimitive.DialogPortalProps>;
8
- declare const SheetOverlay: React.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
9
- declare const sheetVariants: (props?: ({
10
- side?: "bottom" | "left" | "right" | "top" | null | undefined;
11
- } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
12
- export interface ISheetContentProps extends React.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>, VariantProps<typeof sheetVariants> {
13
- hideCloseButton?: boolean;
14
- }
15
- declare const SheetContent: React.ForwardRefExoticComponent<ISheetContentProps & {
16
- overlayClassName?: string;
17
- closeButtonClassName?: string;
18
- } & React.RefAttributes<HTMLDivElement>>;
19
- declare const SheetHeader: {
20
- ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
21
- displayName: string;
22
- };
23
- declare const SheetFooter: {
24
- ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
25
- displayName: string;
26
- };
27
- declare const SheetTitle: React.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
28
- declare const SheetDescription: React.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
29
- export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, };
@@ -1,2 +0,0 @@
1
- declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
2
- export { Skeleton };
@@ -1,4 +0,0 @@
1
- import * as SwitchPrimitives from '@radix-ui/react-switch';
2
- import * as React from 'react';
3
- declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
4
- export { Switch };
@@ -1,10 +0,0 @@
1
- import * as React from 'react';
2
- declare const Table: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableElement> & React.RefAttributes<HTMLTableElement>>;
3
- declare const TableHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
4
- declare const TableBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
5
- declare const TableFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
6
- declare const TableRow: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableRowElement> & React.RefAttributes<HTMLTableRowElement>>;
7
- declare const TableHead: React.ForwardRefExoticComponent<React.ThHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
8
- declare const TableCell: React.ForwardRefExoticComponent<React.TdHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
9
- declare const TableCaption: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableCaptionElement> & React.RefAttributes<HTMLTableCaptionElement>>;
10
- export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, };
@@ -1,3 +0,0 @@
1
- import * as React from 'react';
2
- declare const Textarea: React.ForwardRefExoticComponent<React.TextareaHTMLAttributes<HTMLTextAreaElement> & React.RefAttributes<HTMLTextAreaElement>>;
3
- export { Textarea };
@@ -1,18 +0,0 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- import * as ToastPrimitives from '@radix-ui/react-toast';
3
- import * as React from 'react';
4
- declare const ToastProvider: React.FC<ToastPrimitives.ToastProviderProps>;
5
- declare const ToastViewport: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React.RefAttributes<HTMLOListElement>, "ref"> & VariantProps<(props?: ({
6
- position?: "bottom" | "top" | "topRight" | "topLeft" | "bottomRight" | "bottomLeft" | null | undefined;
7
- } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string> & React.RefAttributes<HTMLOListElement>>;
8
- declare const Toast: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
9
- variant?: "error" | "default" | "success" | "warning" | "info" | null | undefined;
10
- position?: "bottom" | "top" | "topRight" | "topLeft" | "bottomRight" | "bottomLeft" | null | undefined;
11
- } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string> & React.RefAttributes<HTMLLIElement>>;
12
- declare const ToastAction: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
13
- declare const ToastClose: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
14
- declare const ToastTitle: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
15
- declare const ToastDescription: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastDescriptionProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
16
- type IToastProps = React.ComponentPropsWithoutRef<typeof Toast>;
17
- type IToastActionElement = React.ReactElement<typeof ToastAction>;
18
- export { Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, type IToastActionElement, type IToastProps, };
@@ -1 +0,0 @@
1
- export declare function Toaster(): React.JSX.Element;
@@ -1,12 +0,0 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- import * as TogglePrimitive from '@radix-ui/react-toggle';
3
- import * as React from 'react';
4
- declare const toggleVariants: (props?: ({
5
- variant?: "outline" | "default" | null | undefined;
6
- size?: "sm" | "lg" | "default" | null | undefined;
7
- } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
8
- declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
9
- variant?: "outline" | "default" | null | undefined;
10
- size?: "sm" | "lg" | "default" | null | undefined;
11
- } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
12
- export { Toggle, toggleVariants };
@@ -1,12 +0,0 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- import * as React from 'react';
3
- import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
4
- declare const ToggleGroup: React.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
5
- variant?: "outline" | "default" | null | undefined;
6
- size?: "sm" | "lg" | "default" | null | undefined;
7
- } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string>) & React.RefAttributes<HTMLDivElement>>;
8
- declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
9
- variant?: "outline" | "default" | null | undefined;
10
- size?: "sm" | "lg" | "default" | null | undefined;
11
- } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
12
- export { ToggleGroup, ToggleGroupItem };
@@ -1,7 +0,0 @@
1
- import * as TooltipPrimitive from '@radix-ui/react-tooltip';
2
- import * as React from 'react';
3
- declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
4
- declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
5
- declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
6
- declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
- export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
@@ -1,40 +0,0 @@
1
- import { IToastActionElement, IToastProps } from './toast';
2
- type IToasterToast = IToastProps & {
3
- id: string;
4
- title?: React.ReactNode;
5
- description?: React.ReactNode;
6
- action?: IToastActionElement;
7
- position?: 'topRight' | 'top' | 'topLeft' | 'bottom' | 'bottomRight' | 'bottomLeft';
8
- };
9
- declare const _actionTypes: {
10
- readonly ADD_TOAST: "ADD_TOAST";
11
- readonly UPDATE_TOAST: "UPDATE_TOAST";
12
- readonly DISMISS_TOAST: "DISMISS_TOAST";
13
- readonly REMOVE_TOAST: "REMOVE_TOAST";
14
- };
15
- type IActionType = typeof _actionTypes;
16
- type IAction = {
17
- type: IActionType['ADD_TOAST'];
18
- toast: IToasterToast;
19
- } | {
20
- type: IActionType['UPDATE_TOAST'];
21
- toast: Partial<IToasterToast>;
22
- } | {
23
- type: IActionType['DISMISS_TOAST'];
24
- toastId?: IToasterToast['id'];
25
- } | {
26
- type: IActionType['REMOVE_TOAST'];
27
- toastId?: IToasterToast['id'];
28
- };
29
- interface IState {
30
- toasts: IToasterToast[];
31
- }
32
- export declare const reducer: (state: IState, action: IAction) => IState;
33
- type IToast = Omit<IToasterToast, 'id'>;
34
- declare function toast({ ...props }: IToast): unknown;
35
- declare function useToast(): {
36
- toasts: IToasterToast[];
37
- toast: typeof toast;
38
- dismiss: (toastId?: string) => void;
39
- };
40
- export { toast, useToast };
@@ -1,26 +0,0 @@
1
- export interface IAccordionItemType {
2
- value: string;
3
- Summary: React.ReactNode;
4
- Details: React.ReactNode;
5
- className?: string;
6
- }
7
- export interface IWuAccordionSingleProps {
8
- type?: 'single';
9
- items: IAccordionItemType[];
10
- defaultValue?: string;
11
- value?: string;
12
- onValueChange?: (value: string) => void;
13
- className?: string;
14
- dir?: 'ltr' | 'rtl';
15
- }
16
- export interface IWuAccordionMultipleProps {
17
- type: 'multiple';
18
- items: IAccordionItemType[];
19
- defaultValue?: string[];
20
- value?: string[];
21
- onValueChange?: (values: string[]) => void;
22
- className?: string;
23
- dir?: 'ltr' | 'rtl';
24
- }
25
- export type IWuAccordionProps = IWuAccordionSingleProps | IWuAccordionMultipleProps;
26
- export declare const WuAccordion: (props: IWuAccordionProps) => React.JSX.Element;
@@ -1 +0,0 @@
1
- export {};
@@ -1,2 +0,0 @@
1
- export { WuAccordion } from './WuAccordion';
2
- export type { IAccordionItemType, IWuAccordionMultipleProps, IWuAccordionProps, IWuAccordionSingleProps, } from './WuAccordion';
@@ -1,18 +0,0 @@
1
- import { default as React } from 'react';
2
- export declare const getValueByPath: <T>(obj: T, path: string) => unknown;
3
- export interface IWuActivityLogAccessorKey {
4
- id: string;
5
- date: string;
6
- time: string;
7
- userName: string;
8
- userInitials: string;
9
- userImage?: string;
10
- tags?: string;
11
- description: string;
12
- }
13
- export interface IWuActivityLogProps<T = Record<string, unknown>> extends React.HTMLAttributes<HTMLDivElement> {
14
- logs: T[];
15
- accessorKey: IWuActivityLogAccessorKey;
16
- }
17
- export declare const WuActivityLog: <T>({ logs, accessorKey, className, ...props }: IWuActivityLogProps<T>) => React.JSX.Element;
18
- export default WuActivityLog;
@@ -1,2 +0,0 @@
1
- export { default as WuActivityLog } from './WuActivityLog';
2
- export type { IWuActivityLogProps } from './WuActivityLog';
@@ -1,19 +0,0 @@
1
- import { default as React } from 'react';
2
- import { IWuAppHeaderAccount } from './types/WuAppHeaderAccount';
3
- import { IWuAppHeaderMenuItem } from './types/WuAppHeaderMenuItem';
4
- export interface IWuAppHeaderProps extends React.HTMLAttributes<HTMLBaseElement> {
5
- productName: string;
6
- categories: IWuAppHeaderMenuItem[];
7
- user?: IWuAppHeaderAccount;
8
- children?: React.ReactNode;
9
- onLogout?: () => void;
10
- homeLink?: string;
11
- dir?: 'ltr' | 'rtl';
12
- brandColor?: {
13
- base: string;
14
- hover: string;
15
- };
16
- expandAll?: boolean;
17
- DataCenter?: React.ReactElement;
18
- }
19
- export declare const WuAppHeader: React.FC<IWuAppHeaderProps>;
@@ -1 +0,0 @@
1
- export {};
@@ -1,6 +0,0 @@
1
- export interface IWuAppHeaderBarProps {
2
- children?: React.ReactNode;
3
- dir?: 'ltr' | 'rtl';
4
- className?: string;
5
- }
6
- export declare const WuAppHeaderBar: React.FC<IWuAppHeaderBarProps>;
@@ -1,11 +0,0 @@
1
- import { default as React } from 'react';
2
- interface IWuAppHeaderAccountProps {
3
- dir?: 'ltr' | 'rtl';
4
- DataCenter?: React.ReactElement;
5
- Trigger?: React.ReactElement;
6
- triggerClassName?: string;
7
- DropdownContent?: React.ReactElement;
8
- isAllowActiveStyle?: boolean;
9
- }
10
- export declare const WuAppHeaderDropdownWrapper: React.FC<IWuAppHeaderAccountProps>;
11
- export {};
@@ -1,7 +0,0 @@
1
- interface IWuAppHeaderSearchProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'onChange'> {
2
- onSearch: (search: string) => void;
3
- className?: string;
4
- defaultCollapsed?: boolean;
5
- }
6
- export declare const WuAppHeaderSearch: React.FC<IWuAppHeaderSearchProps>;
7
- export {};
@@ -1,4 +0,0 @@
1
- export declare const WuTruncatedLabel: React.FC<{
2
- label: string;
3
- className?: string;
4
- }>;
@@ -1,10 +0,0 @@
1
- import { default as React } from 'react';
2
- import { IWuAppHeaderAccount } from '../../types/WuAppHeaderAccount';
3
- interface IWuAppHeaderAccountProps {
4
- user?: IWuAppHeaderAccount;
5
- onLogout?: () => void;
6
- dir?: 'ltr' | 'rtl';
7
- DataCenter?: React.ReactElement;
8
- }
9
- export declare const WuAppHeaderAccount: React.FC<IWuAppHeaderAccountProps>;
10
- export {};
@@ -1,4 +0,0 @@
1
- export declare const LogoutMenuItem: React.FC<{
2
- onLogout?: () => void;
3
- DataCenter?: React.ReactElement;
4
- }>;
@@ -1,5 +0,0 @@
1
- import { IWuAppHeaderAccount } from '../../../types/WuAppHeaderAccount';
2
- export declare const OtherMenuItem: React.FC<{
3
- user: IWuAppHeaderAccount;
4
- dir?: 'ltr' | 'rtl';
5
- }>;
@@ -1,5 +0,0 @@
1
- import { IWuAppHeaderAccount } from '../../../types/WuAppHeaderAccount';
2
- export declare const SettingsMenuItem: React.FC<{
3
- settings: IWuAppHeaderAccount['settings'];
4
- dir?: 'ltr' | 'rtl';
5
- }>;
@@ -1,5 +0,0 @@
1
- import { IWuAppHeaderAccount } from '../../../types/WuAppHeaderAccount';
2
- export declare const UserMenuItem: React.FC<{
3
- user: IWuAppHeaderAccount;
4
- dir?: 'ltr' | 'rtl';
5
- }>;
@@ -1,7 +0,0 @@
1
- import { default as React } from 'react';
2
- import { IWuAppHeaderHelpMenu } from '../../types/WuAppHeaderHelpMenu';
3
- export interface IWuAppHeaderHelpProps {
4
- menuList?: IWuAppHeaderHelpMenu[];
5
- dir?: 'ltr' | 'rtl';
6
- }
7
- export declare const WuAppHeaderHelp: React.FC<IWuAppHeaderHelpProps>;
@@ -1,15 +0,0 @@
1
- import { default as React } from 'react';
2
- import { IWuAppHeaderMenuItem } from '../../types/WuAppHeaderMenuItem';
3
- interface IWuAppHeaderMenuProps {
4
- productCategories: IWuAppHeaderMenuItem[];
5
- activeProductName: string;
6
- activeProductColor?: {
7
- base: string;
8
- hover: string;
9
- };
10
- dir?: 'ltr' | 'rtl';
11
- homeLink?: string;
12
- expandAll?: boolean;
13
- }
14
- export declare const WuAppHeaderMenu: React.FC<IWuAppHeaderMenuProps>;
15
- export {};
@@ -1,8 +0,0 @@
1
- import { IWuAppHeaderMenuItem } from '../../../types/WuAppHeaderMenuItem';
2
- interface ICategoryDetailsProps {
3
- category: IWuAppHeaderMenuItem;
4
- dir?: 'ltr' | 'rtl';
5
- openCategory?: IWuAppHeaderMenuItem | null;
6
- }
7
- export declare const CategoryDetails: React.FC<ICategoryDetailsProps>;
8
- export {};
@@ -1,12 +0,0 @@
1
- import { default as React, RefObject } from 'react';
2
- interface IMenuTriggerProps {
3
- buttonRef: RefObject<HTMLButtonElement | null>;
4
- handleDropdownToggle: (event: React.MouseEvent<HTMLButtonElement>) => void;
5
- handleKeyDown: (e: React.KeyboardEvent<HTMLButtonElement>, index: number) => void;
6
- isDropdownOpen: boolean;
7
- activeProductName: string;
8
- dir?: 'ltr' | 'rtl';
9
- homeLink?: string;
10
- }
11
- export declare const MenuTrigger: React.FC<IMenuTriggerProps>;
12
- export {};