@npm-questionpro/wick-ui-lib 1.41.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.
- package/package.json +17 -16
- package/dist/ac_divergent.svg +0 -50
- package/dist/ac_qualitative.svg +0 -50
- package/dist/ac_sequential.svg +0 -50
- package/dist/bp_divergent.svg +0 -130
- package/dist/bp_qualitative.svg +0 -53
- package/dist/bp_sentiment.svg +0 -76
- package/dist/bp_sentiment_analysis.svg +0 -112
- package/dist/bp_sequential.svg +0 -99
- package/dist/favicon.ico +0 -0
- package/dist/index.d.ts +0 -2
- package/dist/order_divergent.svg +0 -61
- package/dist/order_qualitative.svg +0 -57
- package/dist/order_sequential_blue.svg +0 -52
- package/dist/order_sequential_green.svg +0 -52
- package/dist/order_sequential_orange.svg +0 -52
- package/dist/order_sequential_red.svg +0 -52
- package/dist/src/base/ui/accordion.d.ts +0 -7
- package/dist/src/base/ui/avatar.d.ts +0 -6
- package/dist/src/base/ui/button.d.ts +0 -12
- package/dist/src/base/ui/checkbox.d.ts +0 -6
- package/dist/src/base/ui/command.d.ts +0 -74
- package/dist/src/base/ui/dialog.d.ts +0 -23
- package/dist/src/base/ui/dropdownMenu.d.ts +0 -28
- package/dist/src/base/ui/input.d.ts +0 -3
- package/dist/src/base/ui/label.d.ts +0 -5
- package/dist/src/base/ui/popover.d.ts +0 -6
- package/dist/src/base/ui/radioGroup.d.ts +0 -5
- package/dist/src/base/ui/scrollArea.d.ts +0 -11
- package/dist/src/base/ui/separator.d.ts +0 -4
- package/dist/src/base/ui/sheet.d.ts +0 -29
- package/dist/src/base/ui/skeleton.d.ts +0 -2
- package/dist/src/base/ui/switch.d.ts +0 -4
- package/dist/src/base/ui/table.d.ts +0 -10
- package/dist/src/base/ui/textarea.d.ts +0 -3
- package/dist/src/base/ui/toast.d.ts +0 -18
- package/dist/src/base/ui/toaster.d.ts +0 -1
- package/dist/src/base/ui/toggle.d.ts +0 -12
- package/dist/src/base/ui/toggleGroup.d.ts +0 -12
- package/dist/src/base/ui/tooltip.d.ts +0 -7
- package/dist/src/base/ui/useToast.d.ts +0 -40
- package/dist/src/components/accordion/WuAccordion.d.ts +0 -26
- package/dist/src/components/accordion/WuAccordion.test.d.ts +0 -1
- package/dist/src/components/accordion/index.d.ts +0 -2
- package/dist/src/components/activityLog/WuActivityLog.d.ts +0 -18
- package/dist/src/components/activityLog/WuActivityLog.test.d.ts +0 -1
- package/dist/src/components/activityLog/index.d.ts +0 -2
- package/dist/src/components/appHeader/WuAppHeader.d.ts +0 -19
- package/dist/src/components/appHeader/WuAppHeader.test.d.ts +0 -1
- package/dist/src/components/appHeader/components/WuAppHeaderBar.d.ts +0 -6
- package/dist/src/components/appHeader/components/WuAppHeaderDropdownWrapper.d.ts +0 -11
- package/dist/src/components/appHeader/components/WuAppHeaderSearch.d.ts +0 -7
- package/dist/src/components/appHeader/components/WuAppHeaderSearch.test.d.ts +0 -1
- package/dist/src/components/appHeader/components/WuTruncatedLabel.d.ts +0 -4
- package/dist/src/components/appHeader/components/account/WuAppHeaderAccount.d.ts +0 -10
- package/dist/src/components/appHeader/components/account/WuAppHeaderAccount.test.d.ts +0 -1
- package/dist/src/components/appHeader/components/account/ui/_logoutMenuItem.d.ts +0 -4
- package/dist/src/components/appHeader/components/account/ui/_otherMenuItem.d.ts +0 -5
- package/dist/src/components/appHeader/components/account/ui/_settingsMenuItem.d.ts +0 -5
- package/dist/src/components/appHeader/components/account/ui/_userMenuItem.d.ts +0 -5
- package/dist/src/components/appHeader/components/help/WuAppHeaderHelp.d.ts +0 -7
- package/dist/src/components/appHeader/components/help/WuAppHeaderHelp.test.d.ts +0 -1
- package/dist/src/components/appHeader/components/productSwitcher/WuAppHeaderMenu.d.ts +0 -15
- package/dist/src/components/appHeader/components/productSwitcher/WuAppHeaderMenu.test.d.ts +0 -1
- package/dist/src/components/appHeader/components/productSwitcher/ui/_categoryDetails.d.ts +0 -8
- package/dist/src/components/appHeader/components/productSwitcher/ui/_menuTrigger.d.ts +0 -12
- package/dist/src/components/appHeader/components/productSwitcher/ui/_productDropdown.d.ts +0 -17
- package/dist/src/components/appHeader/components/productSwitcher/ui/_productItem.d.ts +0 -9
- package/dist/src/components/appHeader/components/productSwitcher/ui/_productList.d.ts +0 -13
- package/dist/src/components/appHeader/components/productSwitcher/ui/_smallScreenMenuTrigger.d.ts +0 -16
- package/dist/src/components/appHeader/components/productSwitcher/ui/_smallScreenToggleMenu.d.ts +0 -10
- package/dist/src/components/appHeader/hooks/useOnClickOutsideHook.d.ts +0 -2
- package/dist/src/components/appHeader/hooks/useWindowSize.d.ts +0 -2
- package/dist/src/components/appHeader/index.d.ts +0 -11
- package/dist/src/components/appHeader/types/WuAppHeaderAccount.d.ts +0 -47
- package/dist/src/components/appHeader/types/WuAppHeaderHelpMenu.d.ts +0 -7
- package/dist/src/components/appHeader/types/WuAppHeaderMenuItem.d.ts +0 -16
- package/dist/src/components/appHeader/utils/dataFromApi.d.ts +0 -3
- package/dist/src/components/appHeader/utils/headerMenuKeyboardHandlers.d.ts +0 -6
- package/dist/src/components/appHeader/utils/iconMap.d.ts +0 -3
- package/dist/src/components/button/WuButton.d.ts +0 -13
- package/dist/src/components/button/WuButton.test.d.ts +0 -1
- package/dist/src/components/button/index.d.ts +0 -2
- package/dist/src/components/calendar/WuCalender.d.ts +0 -3
- package/dist/src/components/calendar/components/datePicker/WuDatePicker.d.ts +0 -24
- package/dist/src/components/calendar/components/datePicker/WuDatePicker.test.d.ts +0 -1
- package/dist/src/components/calendar/components/dateRangePicker/WuDateRangePicker.d.ts +0 -31
- package/dist/src/components/calendar/components/dateRangePicker/WuDateRangePicker.test.d.ts +0 -1
- package/dist/src/components/calendar/index.d.ts +0 -5
- package/dist/src/components/calendar/shadcn/calendar.d.ts +0 -7
- package/dist/src/components/calendar/ui/_footer.d.ts +0 -8
- package/dist/src/components/calendar/ui/_nativeSidebar.d.ts +0 -17
- package/dist/src/components/calendar/ui/_sidebar.d.ts +0 -12
- package/dist/src/components/calendar/ui/_trigger.d.ts +0 -9
- package/dist/src/components/calendar/utils/index.d.ts +0 -7
- package/dist/src/components/card/WuCard.d.ts +0 -7
- package/dist/src/components/card/WuCard.test.d.ts +0 -1
- package/dist/src/components/card/index.d.ts +0 -2
- package/dist/src/components/checkbox/WuCheckbox.d.ts +0 -17
- package/dist/src/components/checkbox/WuCheckbox.test.d.ts +0 -1
- package/dist/src/components/checkbox/index.d.ts +0 -2
- package/dist/src/components/chip/WuChip.d.ts +0 -10
- package/dist/src/components/chip/WuChip.test.d.ts +0 -1
- package/dist/src/components/chip/index.d.ts +0 -2
- package/dist/src/components/combobox/WuCombobox.d.ts +0 -38
- package/dist/src/components/combobox/WuCombobox.test.d.ts +0 -1
- package/dist/src/components/combobox/index.d.ts +0 -3
- package/dist/src/components/combobox/types/IWuComboboxOptions.d.ts +0 -16
- package/dist/src/components/combobox/ui/_item.d.ts +0 -14
- package/dist/src/components/combobox/ui/_tags.d.ts +0 -5
- package/dist/src/components/combobox/ui/_trigger.d.ts +0 -22
- package/dist/src/components/combobox/utils/index.d.ts +0 -2
- package/dist/src/components/combobox/utils/renderItems.d.ts +0 -13
- package/dist/src/components/combobox/utils/separateOptions.d.ts +0 -7
- package/dist/src/components/combobox/utils/useResizeContent.d.ts +0 -2
- package/dist/src/components/copyToClipboard/WuCopyToClipboard.d.ts +0 -8
- package/dist/src/components/copyToClipboard/WuCopyToClipboard.test.d.ts +0 -1
- package/dist/src/components/copyToClipboard/index.d.ts +0 -2
- package/dist/src/components/drawer/WuDrawer.d.ts +0 -17
- package/dist/src/components/drawer/WuDrawer.test.d.ts +0 -1
- package/dist/src/components/drawer/index.d.ts +0 -2
- package/dist/src/components/drilldown/WuDrilldown.d.ts +0 -24
- package/dist/src/components/drilldown/WuDrilldown.test.d.ts +0 -1
- package/dist/src/components/drilldown/WuDrilldownTitleMenu.d.ts +0 -9
- package/dist/src/components/drilldown/WuDrilldownTitles.d.ts +0 -12
- package/dist/src/components/drilldown/index.d.ts +0 -3
- package/dist/src/components/footer/WuFooter.d.ts +0 -8
- package/dist/src/components/footer/WuFooter.test.d.ts +0 -1
- package/dist/src/components/footer/index.d.ts +0 -2
- package/dist/src/components/formGroup/WuFormGroup.d.ts +0 -10
- package/dist/src/components/formGroup/WuFormGroup.test.d.ts +0 -1
- package/dist/src/components/formGroup/components/WuInputError.d.ts +0 -6
- package/dist/src/components/formGroup/components/WuInputHint.d.ts +0 -7
- package/dist/src/components/formGroup/components/WuLabel.d.ts +0 -3
- package/dist/src/components/formGroup/index.d.ts +0 -5
- package/dist/src/components/helpButton/WuHelpButton.d.ts +0 -7
- package/dist/src/components/helpButton/WuHelpButton.test.d.ts +0 -1
- package/dist/src/components/helpButton/index.d.ts +0 -2
- package/dist/src/components/input/WuInput.d.ts +0 -13
- package/dist/src/components/input/WuInput.test.d.ts +0 -0
- package/dist/src/components/input/index.d.ts +0 -2
- package/dist/src/components/listbox/WuListbox.d.ts +0 -44
- package/dist/src/components/listbox/WuListbox.test.d.ts +0 -1
- package/dist/src/components/listbox/index.d.ts +0 -3
- package/dist/src/components/listbox/subComponents/WuListboxTrigger.d.ts +0 -4
- package/dist/src/components/listbox/ui/_item.d.ts +0 -14
- package/dist/src/components/listbox/ui/_search.d.ts +0 -3
- package/dist/src/components/listbox/ui/_selectAll.d.ts +0 -7
- package/dist/src/components/listbox/ui/_trigger.d.ts +0 -20
- package/dist/src/components/listbox/utils/search.d.ts +0 -2
- package/dist/src/components/listbox/utils/useGenClass.d.ts +0 -1
- package/dist/src/components/loader/WuLoader.d.ts +0 -8
- package/dist/src/components/loader/WuLoader.test.d.ts +0 -1
- package/dist/src/components/loader/index.d.ts +0 -2
- package/dist/src/components/menu/WuMenu.d.ts +0 -24
- package/dist/src/components/menu/WuMenu.test.d.ts +0 -1
- package/dist/src/components/menu/index.d.ts +0 -10
- package/dist/src/components/menu/ui/WuMenuCheckboxItem.d.ts +0 -8
- package/dist/src/components/menu/ui/WuMenuItem.d.ts +0 -8
- package/dist/src/components/menu/ui/WuMenuItemGroup.d.ts +0 -8
- package/dist/src/components/menu/ui/WuMenuRadioItem.d.ts +0 -15
- package/dist/src/components/menu/ui/WuMenuSeparatorItem.d.ts +0 -2
- package/dist/src/components/menu/ui/WuSubMenu.d.ts +0 -13
- package/dist/src/components/menuIcon/WuMenuIcon.d.ts +0 -9
- package/dist/src/components/menuIcon/WuMenuIcon.test.d.ts +0 -1
- package/dist/src/components/menuIcon/index.d.ts +0 -2
- package/dist/src/components/modal/WuModal.d.ts +0 -32
- package/dist/src/components/modal/WuModal.test.d.ts +0 -1
- package/dist/src/components/modal/index.d.ts +0 -2
- package/dist/src/components/monthPicker/WuMonthPicker.d.ts +0 -16
- package/dist/src/components/monthPicker/WuMonthPicker.test.d.ts +0 -1
- package/dist/src/components/monthPicker/index.d.ts +0 -2
- package/dist/src/components/navbar/index.d.ts +0 -4
- package/dist/src/components/navbar/primaryNavbar/WuPrimaryNavbar.d.ts +0 -12
- package/dist/src/components/navbar/primaryNavbar/WuPrimaryNavbar.test.d.ts +0 -1
- package/dist/src/components/navbar/secondaryNavbar/WuSecondaryNavbar.d.ts +0 -18
- package/dist/src/components/navbar/secondaryNavbar/WuSecondaryNavbar.test.d.ts +0 -1
- package/dist/src/components/pagination/WuPagination.d.ts +0 -10
- package/dist/src/components/pagination/WuPagination.test.d.ts +0 -1
- package/dist/src/components/pagination/index.d.ts +0 -2
- package/dist/src/components/popover/WuPopover.d.ts +0 -14
- package/dist/src/components/popover/WuPopover.test.d.ts +0 -1
- package/dist/src/components/popover/index.d.ts +0 -2
- package/dist/src/components/radio/WuRadioGroup.d.ts +0 -12
- package/dist/src/components/radio/WuRadioGroup.test.d.ts +0 -1
- package/dist/src/components/radio/index.d.ts +0 -3
- package/dist/src/components/radio/types/IWuRadioOption.d.ts +0 -6
- package/dist/src/components/scrollArea/WuScrollArea.d.ts +0 -4
- package/dist/src/components/scrollArea/WuScrollArea.test.d.ts +0 -1
- package/dist/src/components/scrollArea/index.d.ts +0 -1
- package/dist/src/components/select/WuSelect.d.ts +0 -33
- package/dist/src/components/select/WuSelect.test.d.ts +0 -1
- package/dist/src/components/select/index.d.ts +0 -3
- package/dist/src/components/select/types/IWuSelectOptions.d.ts +0 -16
- package/dist/src/components/select/ui/_item.d.ts +0 -15
- package/dist/src/components/select/ui/_trigger.d.ts +0 -20
- package/dist/src/components/select/utils/renderItems.d.ts +0 -10
- package/dist/src/components/select/utils/useOptionDestructure.d.ts +0 -8
- package/dist/src/components/select/utils/useResizeContent.d.ts +0 -2
- package/dist/src/components/select/utils/useSortedSelectOptions.d.ts +0 -4
- package/dist/src/components/sidebar/WuSidebar.d.ts +0 -33
- package/dist/src/components/sidebar/WuSidebar.test.d.ts +0 -1
- package/dist/src/components/sidebar/index.d.ts +0 -2
- package/dist/src/components/sidebar/shadcn/sidebar.d.ts +0 -44
- package/dist/src/components/spotlight/WuSpotlight.d.ts +0 -16
- package/dist/src/components/spotlight/WuSpotlight.test.d.ts +0 -1
- package/dist/src/components/spotlight/index.d.ts +0 -2
- package/dist/src/components/stackedCard/WuStackedCard.d.ts +0 -29
- package/dist/src/components/stackedCard/WuStackedCard.test.d.ts +0 -1
- package/dist/src/components/stackedCard/index.d.ts +0 -3
- package/dist/src/components/stackedCard/utils/constant.d.ts +0 -1
- package/dist/src/components/stackedCard/utils/helper.d.ts +0 -16
- package/dist/src/components/stepper/WuStepper.d.ts +0 -15
- package/dist/src/components/stepper/WuStepper.test.d.ts +0 -1
- package/dist/src/components/stepper/index.d.ts +0 -2
- package/dist/src/components/surveySelect/WuSurveySelect.d.ts +0 -5
- package/dist/src/components/surveySelect/WuSurveySelect.test.d.ts +0 -1
- package/dist/src/components/surveySelect/index.d.ts +0 -6
- package/dist/src/components/surveySelect/subComponents/WuSharedSurvey.d.ts +0 -3
- package/dist/src/components/surveySelect/subComponents/WuSurveyItem.d.ts +0 -3
- package/dist/src/components/surveySelect/subComponents/WuSurveyList.d.ts +0 -3
- package/dist/src/components/surveySelect/subComponents/WuSurveySource.d.ts +0 -8
- package/dist/src/components/surveySelect/types/index.d.ts +0 -15
- package/dist/src/components/switcher/WuSwitcher.d.ts +0 -25
- package/dist/src/components/switcher/WuSwitcher.test.d.ts +0 -1
- package/dist/src/components/switcher/index.d.ts +0 -4
- package/dist/src/components/switcher/types/IWuSwitcherOption.d.ts +0 -4
- package/dist/src/components/switcher/types/IWuSwitcherOptions.d.ts +0 -2
- package/dist/src/components/switcher/ui/_iconTab.d.ts +0 -11
- package/dist/src/components/switcher/ui/_tab.d.ts +0 -12
- package/dist/src/components/switcher/ui/_toggle.d.ts +0 -11
- package/dist/src/components/tab/WuTab.d.ts +0 -15
- package/dist/src/components/tab/WuTab.test.d.ts +0 -1
- package/dist/src/components/tab/components/BaseTabContent.d.ts +0 -8
- package/dist/src/components/tab/hooks/useHorizontalTabScroll.d.ts +0 -8
- package/dist/src/components/tab/hooks/useTabIndicator.d.ts +0 -9
- package/dist/src/components/tab/hooks/useVerticalTabScroll.d.ts +0 -8
- package/dist/src/components/tab/index.d.ts +0 -3
- package/dist/src/components/tab/shadcn/tabs.d.ts +0 -7
- package/dist/src/components/tab/types/IWuItems.d.ts +0 -5
- package/dist/src/components/tab/ui/_horizontalTab.d.ts +0 -3
- package/dist/src/components/tab/ui/_verticalTab.d.ts +0 -3
- package/dist/src/components/table/components/dataTable/WuDataTable.d.ts +0 -30
- package/dist/src/components/table/components/dataTable/WuDataTable.test.d.ts +0 -1
- package/dist/src/components/table/components/table/WuTable.d.ts +0 -34
- package/dist/src/components/table/components/table/WuTable.test.d.ts +0 -1
- package/dist/src/components/table/hooks/useRowSelection.d.ts +0 -11
- package/dist/src/components/table/hooks/useTableCore.d.ts +0 -19
- package/dist/src/components/table/hooks/useTableScroll.d.ts +0 -6
- package/dist/src/components/table/index.d.ts +0 -8
- package/dist/src/components/table/types/IColumnDefaultSorting.d.ts +0 -4
- package/dist/src/components/table/types/IWuRowSelection.d.ts +0 -10
- package/dist/src/components/table/types/IWuTableColumnDef.d.ts +0 -11
- package/dist/src/components/table/ui/_body.d.ts +0 -15
- package/dist/src/components/table/ui/_header.d.ts +0 -17
- package/dist/src/components/table/ui/_virtualBody.d.ts +0 -19
- package/dist/src/components/table/utils/data.d.ts +0 -65
- package/dist/src/components/table/utils/tableHelpers.d.ts +0 -16
- package/dist/src/components/table/utils/tableStyles.d.ts +0 -7
- package/dist/src/components/table/utils/variantClass.d.ts +0 -3
- package/dist/src/components/textarea/WuTextarea.d.ts +0 -8
- package/dist/src/components/textarea/WuTextarea.test.d.ts +0 -1
- package/dist/src/components/textarea/index.d.ts +0 -2
- package/dist/src/components/timePicker/WuTimePicker.d.ts +0 -9
- package/dist/src/components/timePicker/WuTimePicker.test.d.ts +0 -1
- package/dist/src/components/timePicker/components/timeColumn.d.ts +0 -11
- package/dist/src/components/timePicker/hooks/useRotatedArrays.d.ts +0 -5
- package/dist/src/components/timePicker/hooks/useTimePickerScroll.d.ts +0 -1
- package/dist/src/components/timePicker/index.d.ts +0 -2
- package/dist/src/components/timePicker/utils/timePickerUtils.d.ts +0 -12
- package/dist/src/components/toast/WuToast.d.ts +0 -1
- package/dist/src/components/toast/WuToast.test.d.ts +0 -1
- package/dist/src/components/toast/hooks/useWuShowToast.d.ts +0 -11
- package/dist/src/components/toast/index.d.ts +0 -3
- package/dist/src/components/toast/types/IWuToastOptions.d.ts +0 -5
- package/dist/src/components/toggle/WuToggle.d.ts +0 -8
- package/dist/src/components/toggle/WuToggle.test.d.ts +0 -1
- package/dist/src/components/toggle/index.d.ts +0 -2
- package/dist/src/components/tooltip/WuTooltip.d.ts +0 -15
- package/dist/src/components/tooltip/WuTooltip.test.d.ts +0 -1
- package/dist/src/components/tooltip/index.d.ts +0 -2
- package/dist/src/components/typography/WuTypography.d.ts +0 -21
- package/dist/src/components/typography/WuTypography.test.d.ts +0 -1
- package/dist/src/components/typography/iconClasses.d.ts +0 -1
- package/dist/src/components/typography/index.d.ts +0 -1
- package/dist/src/components/useTranslation/WuTranslation.test.d.ts +0 -1
- package/dist/src/components/useTranslation/WuTranslationContext.d.ts +0 -2
- package/dist/src/components/useTranslation/WuTranslationProvider.d.ts +0 -6
- package/dist/src/components/useTranslation/index.d.ts +0 -4
- package/dist/src/components/useTranslation/types/index.d.ts +0 -8
- package/dist/src/components/useTranslation/useTranslationContext.d.ts +0 -3
- package/dist/src/components/virtualScroll/WuVirtualScroll.d.ts +0 -11
- package/dist/src/components/virtualScroll/WuVirtualScroll.test.d.ts +0 -1
- package/dist/src/components/virtualScroll/index.d.ts +0 -2
- package/dist/src/docs/Icons.d.ts +0 -2
- package/dist/src/docs/Theme.d.ts +0 -3
- package/dist/src/docs/Typography.d.ts +0 -4
- package/dist/src/docs/ui/chartColor.d.ts +0 -4
- package/dist/src/docs/ui/colorSystem.d.ts +0 -10
- package/dist/src/hooks/index.d.ts +0 -1
- package/dist/src/hooks/useAnimation.d.ts +0 -9
- package/dist/src/hooks/useAnimation.test.d.ts +0 -1
- package/dist/src/hooks/useMobile.d.ts +0 -1
- package/dist/src/hooks/useResizeList.d.ts +0 -10
- package/dist/src/index.d.ts +0 -53
- package/dist/src/lib/testUtils.d.ts +0 -2
- package/dist/src/lib/utils.d.ts +0 -15
- package/dist/src/translate/WuTranslate.d.ts +0 -5
- package/dist/src/translate/WuTranslateContext.d.ts +0 -18
- package/dist/src/translate/WuTranslateContext.test.d.ts +0 -1
- package/dist/src/translate/index.d.ts +0 -2
- package/dist/style.css +0 -1
- package/dist/wick-ui-lib/es/index.js +0 -15755
- package/dist/wick-ui-lib/umd/index.js +0 -21
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { IWuDrilldownTitle } from './WuDrilldown';
|
|
3
|
-
interface IWuDrilldownTitleMenu {
|
|
4
|
-
titles: IWuDrilldownTitle[];
|
|
5
|
-
dir?: 'ltr' | 'rtl';
|
|
6
|
-
handleTitleClick: (e: React.MouseEvent<HTMLHeadingElement, MouseEvent>, levelId?: `LEVEL_${number}`) => void;
|
|
7
|
-
}
|
|
8
|
-
export declare const WuDrilldownTitleMenu: React.FC<IWuDrilldownTitleMenu>;
|
|
9
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { IWuDrilldownTitle } from './WuDrilldown';
|
|
3
|
-
export interface IWuDrilldownTitleProps {
|
|
4
|
-
titles: IWuDrilldownTitle[];
|
|
5
|
-
currentLevel: `LEVEL_${number}`;
|
|
6
|
-
initial: `LEVEL_${number}`;
|
|
7
|
-
handleTitleClick: (e: React.MouseEvent<HTMLHeadingElement, MouseEvent>, levelId?: `LEVEL_${number}`) => void;
|
|
8
|
-
headerClasses?: string;
|
|
9
|
-
offsetHeight?: number;
|
|
10
|
-
dir?: 'ltr' | 'rtl';
|
|
11
|
-
}
|
|
12
|
-
export declare const WuDrilldownTitles: React.FC<IWuDrilldownTitleProps>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export interface IWuFooterProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
className?: string;
|
|
4
|
-
isLoading?: boolean;
|
|
5
|
-
loadingText?: string;
|
|
6
|
-
children?: React.ReactNode;
|
|
7
|
-
}
|
|
8
|
-
export declare const WuFooter: React.FC<IWuFooterProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export interface IWuFormGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
Label?: React.ReactNode;
|
|
4
|
-
Error?: React.ReactNode;
|
|
5
|
-
Hint?: React.ReactNode;
|
|
6
|
-
Input: React.ReactNode;
|
|
7
|
-
labelPosition?: 'left' | 'top';
|
|
8
|
-
dir?: 'ltr' | 'rtl';
|
|
9
|
-
}
|
|
10
|
-
export declare const WuFormGroup: React.FC<IWuFormGroupProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
interface IWuInputHintProps extends React.HTMLAttributes<HTMLParagraphElement> {
|
|
3
|
-
inputRef?: React.RefObject<HTMLInputElement | HTMLTextAreaElement | null>;
|
|
4
|
-
maxLength?: number;
|
|
5
|
-
}
|
|
6
|
-
export declare const WuInputHint: React.FC<IWuInputHintProps>;
|
|
7
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export interface IWuHelpButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
3
|
-
idOrSlugOrUrl: string;
|
|
4
|
-
size?: 'sm' | 'md';
|
|
5
|
-
variant?: 'primary' | 'secondary';
|
|
6
|
-
}
|
|
7
|
-
export declare const WuHelpButton: React.ForwardRefExoticComponent<IWuHelpButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Input } from '@base-ui/react/input';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
export interface IWuInputProps extends Input.Props {
|
|
4
|
-
Label?: React.ReactNode;
|
|
5
|
-
labelPosition?: 'left' | 'top' | 'right' | 'bottom';
|
|
6
|
-
Icon?: React.ReactNode;
|
|
7
|
-
iconPosition?: 'left' | 'right';
|
|
8
|
-
variant?: 'flat' | 'outlined' | 'standard' | 'table' | 'title';
|
|
9
|
-
readonly?: boolean;
|
|
10
|
-
invalid?: boolean;
|
|
11
|
-
className?: string;
|
|
12
|
-
}
|
|
13
|
-
export declare const WuInput: React.NamedExoticComponent<Omit<IWuInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
File without changes
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { IWuChipProp } from './ui/_trigger';
|
|
3
|
-
export type IWuListboxProps<T extends object> = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'value'> & {
|
|
4
|
-
data: T[];
|
|
5
|
-
accessorKey: {
|
|
6
|
-
value: string;
|
|
7
|
-
label: string;
|
|
8
|
-
group?: string;
|
|
9
|
-
};
|
|
10
|
-
value?: T | T[];
|
|
11
|
-
Item?: (props: {
|
|
12
|
-
value: T;
|
|
13
|
-
isSelected?: boolean;
|
|
14
|
-
}) => React.ReactNode;
|
|
15
|
-
Label?: React.ReactNode;
|
|
16
|
-
GroupLabel?: string | ((option: T) => React.ReactNode);
|
|
17
|
-
CustomHeader?: React.ReactNode;
|
|
18
|
-
CustomTrigger?: (value?: T | T[]) => React.ReactElement<HTMLButtonElement>;
|
|
19
|
-
NoDataContent?: React.ReactNode;
|
|
20
|
-
Chip?: (props: IWuChipProp<T>) => React.ReactNode;
|
|
21
|
-
onSelect?: (value: T | T[]) => void;
|
|
22
|
-
onScroll?: React.UIEventHandler<HTMLDivElement>;
|
|
23
|
-
disabled?: boolean;
|
|
24
|
-
multiple?: boolean;
|
|
25
|
-
searchable?: boolean;
|
|
26
|
-
virtualizedThreshold?: number;
|
|
27
|
-
selectAll?: {
|
|
28
|
-
enabled?: boolean;
|
|
29
|
-
onSelectAll?: (value: boolean) => void;
|
|
30
|
-
label?: string;
|
|
31
|
-
};
|
|
32
|
-
showGroupSeparator?: boolean;
|
|
33
|
-
modal?: boolean;
|
|
34
|
-
id?: string;
|
|
35
|
-
dir?: 'rtl' | 'ltr';
|
|
36
|
-
className?: string;
|
|
37
|
-
listClass?: string;
|
|
38
|
-
placeholder?: string;
|
|
39
|
-
variant?: 'flat' | 'outlined';
|
|
40
|
-
labelPosition?: 'left' | 'top' | 'right';
|
|
41
|
-
maxContentWidth?: string;
|
|
42
|
-
maxContentHeight?: string;
|
|
43
|
-
};
|
|
44
|
-
export declare const WuListbox: <T extends object>(props: IWuListboxProps<T>) => React.JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { CommandItem } from '../../../base/ui/command';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
import { IWuListboxProps } from '../WuListbox';
|
|
4
|
-
type IWuListItemProps<T extends object> = Omit<React.ComponentProps<typeof CommandItem>, 'value' | 'onSelect'> & {
|
|
5
|
-
option: T;
|
|
6
|
-
accessorKey: IWuListboxProps<T>['accessorKey'];
|
|
7
|
-
multiple?: boolean;
|
|
8
|
-
onSelect?: (value: T) => void;
|
|
9
|
-
GroupLabel?: IWuListboxProps<T>['GroupLabel'];
|
|
10
|
-
Item?: IWuListboxProps<T>['Item'];
|
|
11
|
-
isSelected?: (item: T) => boolean;
|
|
12
|
-
};
|
|
13
|
-
export declare const WuListboxItem: <T extends object>(props: IWuListItemProps<T>) => React.ReactElement;
|
|
14
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { IWuListboxProps } from '../WuListbox';
|
|
3
|
-
export type IWuChipProp<T> = {
|
|
4
|
-
value: T;
|
|
5
|
-
unselect: (value: T) => void;
|
|
6
|
-
key?: string | number;
|
|
7
|
-
};
|
|
8
|
-
type IWuListboxTriggerProps<T extends object> = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'value'> & {
|
|
9
|
-
CustomTrigger?: (value?: T | T[]) => React.ReactElement<HTMLButtonElement>;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
value?: T | T[];
|
|
12
|
-
placeholder?: string;
|
|
13
|
-
accessorKey: IWuListboxProps<T>['accessorKey'];
|
|
14
|
-
Chip?: (props: IWuChipProp<T>) => React.ReactNode;
|
|
15
|
-
handleUnselect: (value: T) => void;
|
|
16
|
-
variant?: 'flat' | 'outlined';
|
|
17
|
-
dir?: 'rtl' | 'ltr';
|
|
18
|
-
};
|
|
19
|
-
export declare const ListboxTrigger: <T extends object>(props: IWuListboxTriggerProps<T>) => React.JSX.Element;
|
|
20
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useGenClassName: (name: string, isCombobox?: boolean) => string;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export interface IWuLoaderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
size?: 'md' | 'lg' | 'sm' | string;
|
|
4
|
-
color?: string;
|
|
5
|
-
message?: string;
|
|
6
|
-
variant?: 'spinner' | 'dots';
|
|
7
|
-
}
|
|
8
|
-
export declare const WuLoader: React.ForwardRefExoticComponent<IWuLoaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { DropdownMenu } from '../../base/ui/dropdownMenu';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
export interface IWuMenuProps extends Omit<React.ComponentProps<typeof DropdownMenu>, 'open' | 'onOpenChange'> {
|
|
4
|
-
name?: string;
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated This property is no longer recommended. Use `MenuTitle` instead.
|
|
7
|
-
*/
|
|
8
|
-
menuTitle?: string;
|
|
9
|
-
MenuTitle?: React.ReactNode;
|
|
10
|
-
Trigger?: React.ReactElement<HTMLBaseElement>;
|
|
11
|
-
variant?: 'flat' | 'outlined';
|
|
12
|
-
open?: boolean;
|
|
13
|
-
onOpenChange?: (open: boolean) => void;
|
|
14
|
-
height?: string;
|
|
15
|
-
preventCloseOnClickOutside?: boolean;
|
|
16
|
-
dir?: 'ltr' | 'rtl';
|
|
17
|
-
align?: 'start' | 'center' | 'end';
|
|
18
|
-
alignOffset?: number;
|
|
19
|
-
side?: 'left' | 'right' | 'top' | 'bottom';
|
|
20
|
-
sideOffset?: number;
|
|
21
|
-
className?: string;
|
|
22
|
-
disabled?: boolean;
|
|
23
|
-
}
|
|
24
|
-
export declare const WuMenu: React.FC<IWuMenuProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export { WuMenuCheckboxItem } from './ui/WuMenuCheckboxItem';
|
|
2
|
-
export type { IWuMenuCheckboxItemProps } from './ui/WuMenuCheckboxItem';
|
|
3
|
-
export { WuMenuItem } from './ui/WuMenuItem';
|
|
4
|
-
export { WuMenuItemGroup } from './ui/WuMenuItemGroup';
|
|
5
|
-
export { WuMenuRadioItem } from './ui/WuMenuRadioItem';
|
|
6
|
-
export type { IWuMenuRadioItemOption, IWuMenuRadioItemProps, } from './ui/WuMenuRadioItem';
|
|
7
|
-
export { WuMenuSeparatorItem } from './ui/WuMenuSeparatorItem';
|
|
8
|
-
export { WuSubMenu } from './ui/WuSubMenu';
|
|
9
|
-
export { WuMenu } from './WuMenu';
|
|
10
|
-
export type { IWuMenuProps } from './WuMenu';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export interface IWuMenuCheckboxItemProps {
|
|
2
|
-
checked: boolean;
|
|
3
|
-
onSelect: (value: boolean) => void;
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
preventCloseOnSelect?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare const WuMenuCheckboxItem: React.FC<IWuMenuCheckboxItemProps>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export interface IWuMenuItemProps extends Omit<React.HtmlHTMLAttributes<HTMLDivElement>, 'onSelect'> {
|
|
2
|
-
Icon?: React.ReactNode;
|
|
3
|
-
iconPosition?: 'left' | 'right';
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
onSelect?: (e: Event) => void;
|
|
6
|
-
preventCloseOnSelect?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare const WuMenuItem: React.FC<IWuMenuItemProps>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { DropdownMenuGroup } from '../../../base/ui/dropdownMenu';
|
|
2
|
-
export declare const WuMenuItemGroup: React.FC<React.ComponentProps<typeof DropdownMenuGroup> & {
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated This property is no longer recommended. Use `Label` instead.
|
|
5
|
-
*/
|
|
6
|
-
label?: string;
|
|
7
|
-
Label: React.ReactNode;
|
|
8
|
-
}>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export interface IWuMenuRadioItemOption {
|
|
2
|
-
value: string;
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated This property is no longer recommended. Use `Label` instead.
|
|
5
|
-
*/
|
|
6
|
-
label?: string;
|
|
7
|
-
Label: React.ReactNode;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export interface IWuMenuRadioItemProps {
|
|
11
|
-
options: IWuMenuRadioItemOption[];
|
|
12
|
-
value: string;
|
|
13
|
-
onSelect: (value: string) => void;
|
|
14
|
-
}
|
|
15
|
-
export declare const WuMenuRadioItem: React.FC<IWuMenuRadioItemProps>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { DropdownMenuSub } from '../../../base/ui/dropdownMenu';
|
|
2
|
-
export interface IWuSubMenuProps extends Omit<React.ComponentProps<typeof DropdownMenuSub>, 'onOpenChange'> {
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated This property is no longer recommended. Use `Label` instead.
|
|
5
|
-
*/
|
|
6
|
-
label?: string;
|
|
7
|
-
Label: React.ReactNode;
|
|
8
|
-
open?: boolean;
|
|
9
|
-
onOpenChange?: (open: boolean) => void;
|
|
10
|
-
height?: string;
|
|
11
|
-
dir?: 'rtl' | 'ltr';
|
|
12
|
-
}
|
|
13
|
-
export declare const WuSubMenu: React.FC<IWuSubMenuProps>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export type IWuMenuIconProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
3
|
-
showMenu?: boolean;
|
|
4
|
-
color?: string;
|
|
5
|
-
};
|
|
6
|
-
export declare const WuMenuIcon: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
7
|
-
showMenu?: boolean;
|
|
8
|
-
color?: string;
|
|
9
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { DialogContent, DialogFooter, DialogHeader } from '../../base/ui/dialog';
|
|
2
|
-
import { default as React, FC } from 'react';
|
|
3
|
-
import { IWuButtonProps } from '../button';
|
|
4
|
-
declare const MAX_WIDTH: {
|
|
5
|
-
readonly sm: "400px";
|
|
6
|
-
readonly md: "600px";
|
|
7
|
-
readonly lg: "1200px";
|
|
8
|
-
};
|
|
9
|
-
type IModalSize = keyof typeof MAX_WIDTH;
|
|
10
|
-
export interface IWuModalProps extends React.ComponentProps<typeof DialogContent> {
|
|
11
|
-
Trigger?: React.ReactNode;
|
|
12
|
-
size?: IModalSize;
|
|
13
|
-
hideCloseButton?: boolean;
|
|
14
|
-
preventClickOutside?: boolean;
|
|
15
|
-
onOpenChange?: (open: boolean) => void;
|
|
16
|
-
open?: boolean;
|
|
17
|
-
dir?: 'ltr' | 'rtl';
|
|
18
|
-
maxWidth?: string;
|
|
19
|
-
maxHeight?: string;
|
|
20
|
-
children?: React.ReactNode;
|
|
21
|
-
variant?: 'action' | 'critical' | 'upgrade';
|
|
22
|
-
onOpenAutoFocus?: (event: Event) => void;
|
|
23
|
-
onCloseAutoFocus?: (event: Event) => void;
|
|
24
|
-
/** Allow external portals (e.g. CKEditor dropdowns/inputs) to receive focus and pointer events */
|
|
25
|
-
allowExternalPortals?: boolean;
|
|
26
|
-
}
|
|
27
|
-
export declare const WuModal: FC<IWuModalProps>;
|
|
28
|
-
export declare const WuModalContent: FC<React.HTMLAttributes<HTMLDivElement>>;
|
|
29
|
-
export declare const WuModalHeader: FC<React.ComponentProps<typeof DialogHeader>>;
|
|
30
|
-
export declare const WuModalFooter: FC<React.ComponentProps<typeof DialogFooter>>;
|
|
31
|
-
export declare const WuModalClose: FC<IWuButtonProps>;
|
|
32
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { WuDatePickerTrigger } from '../calendar/ui/_trigger';
|
|
3
|
-
export type IWuMonthPickerProps = Omit<React.ComponentProps<typeof WuDatePickerTrigger>, 'value' | 'onChange'> & {
|
|
4
|
-
value?: Date | string;
|
|
5
|
-
onChange?: (value: Date) => void;
|
|
6
|
-
min?: Date | string;
|
|
7
|
-
max?: Date | string;
|
|
8
|
-
placeholder?: string;
|
|
9
|
-
Label?: React.ReactNode;
|
|
10
|
-
labelPosition?: 'top' | 'left' | 'right';
|
|
11
|
-
id?: string;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
readonly?: boolean;
|
|
14
|
-
disabledMonths?: (`${number}-${number}-${number}` | Date)[];
|
|
15
|
-
};
|
|
16
|
-
export declare const WuMonthPicker: React.FC<IWuMonthPickerProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { WuPrimaryNavbar } from './primaryNavbar/WuPrimaryNavbar';
|
|
2
|
-
export type { IWuPrimaryNavbarProps } from './primaryNavbar/WuPrimaryNavbar';
|
|
3
|
-
export { WuSecondaryNavbar } from './secondaryNavbar/WuSecondaryNavbar';
|
|
4
|
-
export type { IWuSecondaryNavbarProps } from './secondaryNavbar/WuSecondaryNavbar';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
interface INavLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
3
|
-
active?: boolean;
|
|
4
|
-
className?: string;
|
|
5
|
-
}
|
|
6
|
-
export interface IWuPrimaryNavbarProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
7
|
-
Links: React.ReactElement<INavLinkProps>[];
|
|
8
|
-
children?: React.ReactNode;
|
|
9
|
-
className?: string;
|
|
10
|
-
}
|
|
11
|
-
export declare const WuPrimaryNavbar: React.FC<IWuPrimaryNavbarProps>;
|
|
12
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
interface INavLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
3
|
-
active?: boolean;
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
}
|
|
6
|
-
interface INavImageProps extends React.ImgHTMLAttributes<HTMLImageElement> {
|
|
7
|
-
className?: string;
|
|
8
|
-
}
|
|
9
|
-
export interface INavLinkNode {
|
|
10
|
-
link: React.ReactElement<INavLinkProps>;
|
|
11
|
-
imgOrIcon: React.ReactElement<INavImageProps>;
|
|
12
|
-
}
|
|
13
|
-
export interface IWuSecondaryNavbarProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
14
|
-
Links: INavLinkNode[];
|
|
15
|
-
children?: React.ReactNode;
|
|
16
|
-
}
|
|
17
|
-
export declare const WuSecondaryNavbar: React.FC<IWuSecondaryNavbarProps>;
|
|
18
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export interface IWuPaginationProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
totalRows: number;
|
|
4
|
-
initialPage?: number;
|
|
5
|
-
initialPageSize: number;
|
|
6
|
-
onPageChange?: (page: number) => void;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
dir?: 'ltr' | 'rtl';
|
|
9
|
-
}
|
|
10
|
-
export declare const WuPagination: React.ForwardRefExoticComponent<IWuPaginationProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { PopoverContentProps } from '@radix-ui/react-popover';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
import { IWuButtonProps } from '../button';
|
|
4
|
-
export type IWuPopoverProps = PopoverContentProps & {
|
|
5
|
-
Trigger: React.ReactNode;
|
|
6
|
-
children: React.ReactNode;
|
|
7
|
-
className?: string;
|
|
8
|
-
dir?: 'ltr' | 'rtl';
|
|
9
|
-
open?: boolean;
|
|
10
|
-
onOpenChange?: (open: boolean) => void;
|
|
11
|
-
modal?: boolean;
|
|
12
|
-
};
|
|
13
|
-
export declare const WuPopover: React.FC<IWuPopoverProps>;
|
|
14
|
-
export declare const WuPopoverClose: React.FC<IWuButtonProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { IWuRadioOption } from './types/IWuRadioOption';
|
|
3
|
-
export interface IWuRadioGroupProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'onChange'> {
|
|
4
|
-
options: IWuRadioOption[];
|
|
5
|
-
defaultValue?: string;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
onChange?: (e: string) => void;
|
|
8
|
-
label?: string;
|
|
9
|
-
id?: string;
|
|
10
|
-
dir?: 'ltr' | 'rtl';
|
|
11
|
-
}
|
|
12
|
-
export declare const WuRadioGroup: React.FC<IWuRadioGroupProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { WuScrollArea } from './WuScrollArea';
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export type IWuSelectProps<T> = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'value' | 'defaultValue' | 'onSelect'> & {
|
|
3
|
-
defaultValue?: T | T[] | null;
|
|
4
|
-
Label?: React.ReactNode;
|
|
5
|
-
value?: T | T[] | null;
|
|
6
|
-
data: T[];
|
|
7
|
-
accessorKey: {
|
|
8
|
-
value: string;
|
|
9
|
-
label: string;
|
|
10
|
-
};
|
|
11
|
-
onSelect?: (value: T | T[]) => void;
|
|
12
|
-
multiple?: boolean;
|
|
13
|
-
variant?: 'flat' | 'outlined';
|
|
14
|
-
dir?: 'ltr' | 'rtl';
|
|
15
|
-
placeholder?: string;
|
|
16
|
-
virtualizedThreshold?: number;
|
|
17
|
-
maxHeight?: number;
|
|
18
|
-
maxContentWidth?: string;
|
|
19
|
-
hasGroup?: boolean;
|
|
20
|
-
Header?: React.ReactNode;
|
|
21
|
-
CustomTrigger?: React.ReactNode;
|
|
22
|
-
selectAll?: {
|
|
23
|
-
enable: boolean;
|
|
24
|
-
label?: string;
|
|
25
|
-
includeDisabled?: boolean;
|
|
26
|
-
triggerText?: string;
|
|
27
|
-
};
|
|
28
|
-
labelPosition?: 'left' | 'top' | 'right';
|
|
29
|
-
onScroll?: React.UIEventHandler<HTMLDivElement>;
|
|
30
|
-
/** @description This is an experimental flag. It might have performance impact. Please use at your own risk. */
|
|
31
|
-
selectedToTop?: boolean;
|
|
32
|
-
};
|
|
33
|
-
export declare const WuSelect: <T>({ data, onSelect, multiple, defaultValue, value: controlledValue, accessorKey, variant, dir, placeholder, Label, virtualizedThreshold, maxHeight, hasGroup, Header, CustomTrigger, selectAll, disabled, labelPosition, onScroll, maxContentWidth, selectedToTop, ...rest }: IWuSelectProps<T>) => React.JSX.Element;
|