@wavv/ui 1.4.2 → 1.5.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/build/cjs/index.js +16 -14
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/{assets → types/assets}/icons/ActivityHistory.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Add.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/AddCircle.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/AddCircleOutline.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/AddPerson.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/ArrowDown.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/ArrowLeft.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/ArrowRight.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/ArrowUp.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Attachment.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Calendar.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Camera.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Card.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/CaretDown.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/CaretUp.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/CheckCircle.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/CheckCircleOutline.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Checkbox.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/CheckboxOff.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/CheckboxPartial.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/ChevronDown.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/ChevronLeft.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/ChevronRight.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/ChevronUp.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Clapperboard.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/ClapperboardOpen.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Close.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/CloseCircle.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/CloseCircleOutline.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Copy.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Devices.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Dialpad.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/DoubleArrowLeft.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/DoubleArrowRight.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Download.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Edit.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Emoji.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/EyeOff.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/EyeOn.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Facebook.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Filter.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Flask.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Group.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Heart.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/HeartOutline.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Help.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Hourglass.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Info.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Instagram.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/KebabMenu.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Link.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Linkedin.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Loading.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Maximize.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Menu.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/MergeField.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Message.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Mic.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/MicOff.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Minimize.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Mobile.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/NotAllowed.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Open.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Pause.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/PauseOutline.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Person.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Phone.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/PhoneBlocked.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/PhoneEnd.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/PhoneHistory.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/PhoneTalk.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Play.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/PlayOutline.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/ProfileUser.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/RadioButton.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/RadioButtonOff.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Record.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Refresh.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Rocket.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Schedule.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/ScheduleOutline.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Search.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Settings.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Share.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Sort.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Spotify.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Star.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/StarOutline.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Stop.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/StopOutline.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Template.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/ToggleOff.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/ToggleOn.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Trash.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Twitter.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Upload.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Video.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Voicemail.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/VolOn.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Warning.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/WarningCircleOutline.d.ts +0 -0
- package/build/cjs/{assets → types/assets}/icons/Youtube.d.ts +0 -0
- package/build/cjs/types/components/Accordion.d.ts +45 -0
- package/build/cjs/types/components/Audio.d.ts +29 -0
- package/build/cjs/{components → types/components}/BarChart.d.ts +0 -0
- package/build/cjs/{components → types/components}/Button/Button.d.ts +1 -1
- package/build/cjs/{components → types/components}/Button/ButtonLoader.d.ts +0 -0
- package/build/cjs/{components → types/components}/Button/ButtonTypes.d.ts +0 -0
- package/build/cjs/{components → types/components}/Button/Group.d.ts +0 -0
- package/build/cjs/{components → types/components}/Button/index.d.ts +0 -0
- package/build/cjs/{components → types/components}/Calendar.d.ts +0 -0
- package/build/cjs/{components → types/components}/ChartHelpers.d.ts +0 -0
- package/build/cjs/{components → types/components}/Checkbox.d.ts +0 -0
- package/build/cjs/{components → types/components}/Code/Code.d.ts +0 -0
- package/build/cjs/{components → types/components}/Code/Copy.d.ts +0 -0
- package/build/cjs/{components → types/components}/Code/Endpoint.d.ts +0 -0
- package/build/cjs/{components → types/components}/Code/index.d.ts +0 -0
- package/build/cjs/{components → types/components}/DocTable.d.ts +0 -0
- package/build/cjs/{components → types/components}/DraftEditor.d.ts +0 -0
- package/build/cjs/{components → types/components}/Dropdown/Dropdown.d.ts +0 -0
- package/build/cjs/{components → types/components}/Dropdown/DropdownUtils.d.ts +0 -0
- package/build/cjs/{components → types/components}/Dropdown/index.d.ts +0 -0
- package/build/cjs/types/components/Form.d.ts +173 -0
- package/build/cjs/{components → types/components}/FormControl.d.ts +0 -0
- package/build/cjs/{components → types/components}/Grid.d.ts +0 -0
- package/build/cjs/{components → types/components}/Icon/Icon.d.ts +0 -0
- package/build/cjs/{components → types/components}/Icon/icons.d.ts +0 -0
- package/build/cjs/{components → types/components}/Icon/index.d.ts +0 -0
- package/build/cjs/{components → types/components}/ImageViewer.d.ts +0 -0
- package/build/cjs/{components → types/components}/InlineCode.d.ts +0 -0
- package/build/cjs/types/components/Input.d.ts +192 -0
- package/build/cjs/{components → types/components}/InputHelpers.d.ts +0 -0
- package/build/cjs/{components → types/components}/Label.d.ts +0 -0
- package/build/cjs/{components → types/components}/Menu.d.ts +0 -0
- package/build/cjs/{components → types/components}/Message.d.ts +0 -0
- package/build/cjs/{components → types/components}/MessageHr.d.ts +0 -0
- package/build/cjs/{components → types/components}/Modal.d.ts +0 -0
- package/build/cjs/{components → types/components}/MultiSelect.d.ts +0 -0
- package/build/cjs/{components → types/components}/Notification.d.ts +1 -1
- package/build/cjs/{components → types/components}/Options.d.ts +0 -0
- package/build/cjs/{components → types/components}/Pagination.d.ts +0 -0
- package/build/cjs/{components → types/components}/PieChart.d.ts +0 -0
- package/build/cjs/{components → types/components}/Progress/CirclePercent.d.ts +0 -0
- package/build/cjs/{components → types/components}/Progress/Progress.d.ts +0 -0
- package/build/cjs/{components → types/components}/Progress/index.d.ts +0 -0
- package/build/cjs/{components → types/components}/Radio.d.ts +0 -0
- package/build/cjs/{components → types/components}/Slider.d.ts +0 -0
- package/build/cjs/{components → types/components}/Spacer.d.ts +0 -0
- package/build/cjs/{components → types/components}/Spinner.d.ts +0 -0
- package/build/cjs/{components → types/components}/Table/Body.d.ts +0 -0
- package/build/cjs/{components → types/components}/Table/Column.d.ts +0 -0
- package/build/cjs/{components → types/components}/Table/Content.d.ts +0 -0
- package/build/cjs/{components → types/components}/Table/Header.d.ts +0 -0
- package/build/cjs/{components → types/components}/Table/HeaderCell.d.ts +0 -0
- package/build/cjs/{components → types/components}/Table/Row.d.ts +0 -0
- package/build/cjs/{components → types/components}/Table/Table.d.ts +0 -0
- package/build/cjs/{components → types/components}/Table/context.d.ts +0 -0
- package/build/cjs/{components → types/components}/Table/index.d.ts +0 -0
- package/build/cjs/{components → types/components}/Table/types.d.ts +0 -0
- package/build/cjs/{components → types/components}/Table/utils.d.ts +0 -0
- package/build/cjs/{components → types/components}/Toggle.d.ts +0 -0
- package/build/cjs/{components → types/components}/Tooltip.d.ts +0 -0
- package/build/cjs/{components → types/components}/TransferList.d.ts +0 -0
- package/build/cjs/{components → types/components}/draftUtils.d.ts +0 -0
- package/build/cjs/{components → types/components}/helpers/getIcon.d.ts +0 -0
- package/build/cjs/{components → types/components}/types.d.ts +0 -0
- package/build/cjs/{global-styles → types/global-styles}/ResetStyles.d.ts +0 -0
- package/build/cjs/{global-styles → types/global-styles}/ScrollbarStyles.d.ts +0 -0
- package/build/cjs/{global-styles → types/global-styles}/ToastStyles.d.ts +0 -0
- package/build/cjs/{global-styles → types/global-styles}/index.d.ts +0 -0
- package/build/cjs/{hooks → types/hooks}/index.d.ts +1 -0
- package/build/cjs/{hooks → types/hooks}/useConfirm.d.ts +0 -0
- package/build/cjs/types/hooks/useElementObserver.d.ts +8 -0
- package/build/cjs/{hooks → types/hooks}/useEventListener.d.ts +0 -0
- package/build/cjs/{hooks → types/hooks}/useOnClickOutside.d.ts +0 -0
- package/build/cjs/{hooks → types/hooks}/useSelect.d.ts +0 -0
- package/build/cjs/{hooks → types/hooks}/useSelectAll.d.ts +0 -0
- package/build/cjs/{hooks → types/hooks}/useWindowSize.d.ts +0 -0
- package/build/{esm → cjs/types}/index.d.ts +2 -0
- package/build/cjs/{theme → types/theme}/ThemeTypes.d.ts +0 -0
- package/build/cjs/{theme → types/theme}/colors.d.ts +0 -0
- package/build/cjs/{theme → types/theme}/common/button.d.ts +0 -0
- package/build/cjs/{theme → types/theme}/common/common.d.ts +0 -0
- package/build/cjs/{theme → types/theme}/common/index.d.ts +0 -0
- package/build/cjs/{theme → types/theme}/dark.d.ts +0 -0
- package/build/cjs/{theme → types/theme}/index.d.ts +0 -0
- package/build/cjs/{theme → types/theme}/light.d.ts +0 -0
- package/build/cjs/{utils → types/utils}/chunk.d.ts +0 -0
- package/build/cjs/{utils → types/utils}/copyToClipboard.d.ts +0 -0
- package/build/cjs/{utils → types/utils}/formatDate.d.ts +0 -0
- package/build/cjs/{utils → types/utils}/index.d.ts +0 -0
- package/build/cjs/{utils → types/utils}/range.d.ts +0 -0
- package/build/esm/index.js +16 -14
- package/build/esm/index.js.map +1 -1
- package/build/esm/{assets → types/assets}/icons/ActivityHistory.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Add.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/AddCircle.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/AddCircleOutline.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/AddPerson.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/ArrowDown.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/ArrowLeft.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/ArrowRight.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/ArrowUp.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Attachment.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Calendar.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Camera.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Card.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/CaretDown.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/CaretUp.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/CheckCircle.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/CheckCircleOutline.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Checkbox.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/CheckboxOff.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/CheckboxPartial.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/ChevronDown.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/ChevronLeft.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/ChevronRight.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/ChevronUp.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Clapperboard.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/ClapperboardOpen.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Close.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/CloseCircle.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/CloseCircleOutline.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Copy.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Devices.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Dialpad.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/DoubleArrowLeft.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/DoubleArrowRight.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Download.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Edit.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Emoji.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/EyeOff.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/EyeOn.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Facebook.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Filter.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Flask.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Group.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Heart.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/HeartOutline.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Help.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Hourglass.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Info.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Instagram.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/KebabMenu.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Link.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Linkedin.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Loading.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Maximize.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Menu.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/MergeField.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Message.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Mic.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/MicOff.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Minimize.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Mobile.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/NotAllowed.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Open.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Pause.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/PauseOutline.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Person.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Phone.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/PhoneBlocked.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/PhoneEnd.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/PhoneHistory.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/PhoneTalk.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Play.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/PlayOutline.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/ProfileUser.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/RadioButton.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/RadioButtonOff.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Record.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Refresh.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Rocket.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Schedule.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/ScheduleOutline.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Search.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Settings.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Share.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Sort.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Spotify.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Star.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/StarOutline.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Stop.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/StopOutline.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Template.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/ToggleOff.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/ToggleOn.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Trash.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Twitter.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Upload.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Video.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Voicemail.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/VolOn.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Warning.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/WarningCircleOutline.d.ts +0 -0
- package/build/esm/{assets → types/assets}/icons/Youtube.d.ts +0 -0
- package/build/esm/types/components/Accordion.d.ts +45 -0
- package/build/esm/types/components/Audio.d.ts +29 -0
- package/build/esm/{components → types/components}/BarChart.d.ts +0 -0
- package/build/esm/{components → types/components}/Button/Button.d.ts +1 -1
- package/build/esm/{components → types/components}/Button/ButtonLoader.d.ts +0 -0
- package/build/esm/{components → types/components}/Button/ButtonTypes.d.ts +0 -0
- package/build/esm/{components → types/components}/Button/Group.d.ts +0 -0
- package/build/esm/{components → types/components}/Button/index.d.ts +0 -0
- package/build/esm/{components → types/components}/Calendar.d.ts +0 -0
- package/build/esm/{components → types/components}/ChartHelpers.d.ts +0 -0
- package/build/esm/{components → types/components}/Checkbox.d.ts +0 -0
- package/build/esm/{components → types/components}/Code/Code.d.ts +0 -0
- package/build/esm/{components → types/components}/Code/Copy.d.ts +0 -0
- package/build/esm/{components → types/components}/Code/Endpoint.d.ts +0 -0
- package/build/esm/{components → types/components}/Code/index.d.ts +0 -0
- package/build/esm/{components → types/components}/DocTable.d.ts +0 -0
- package/build/esm/{components → types/components}/DraftEditor.d.ts +0 -0
- package/build/esm/{components → types/components}/Dropdown/Dropdown.d.ts +0 -0
- package/build/esm/{components → types/components}/Dropdown/DropdownUtils.d.ts +0 -0
- package/build/esm/{components → types/components}/Dropdown/index.d.ts +0 -0
- package/build/esm/types/components/Form.d.ts +173 -0
- package/build/esm/{components → types/components}/FormControl.d.ts +0 -0
- package/build/esm/{components → types/components}/Grid.d.ts +0 -0
- package/build/esm/{components → types/components}/Icon/Icon.d.ts +0 -0
- package/build/esm/{components → types/components}/Icon/icons.d.ts +0 -0
- package/build/esm/{components → types/components}/Icon/index.d.ts +0 -0
- package/build/esm/{components → types/components}/ImageViewer.d.ts +0 -0
- package/build/esm/{components → types/components}/InlineCode.d.ts +0 -0
- package/build/esm/types/components/Input.d.ts +192 -0
- package/build/esm/{components → types/components}/InputHelpers.d.ts +0 -0
- package/build/esm/{components → types/components}/Label.d.ts +0 -0
- package/build/esm/{components → types/components}/Menu.d.ts +0 -0
- package/build/esm/{components → types/components}/Message.d.ts +0 -0
- package/build/esm/{components → types/components}/MessageHr.d.ts +0 -0
- package/build/esm/{components → types/components}/Modal.d.ts +0 -0
- package/build/esm/{components → types/components}/MultiSelect.d.ts +0 -0
- package/build/esm/{components → types/components}/Notification.d.ts +1 -1
- package/build/esm/{components → types/components}/Options.d.ts +0 -0
- package/build/esm/{components → types/components}/Pagination.d.ts +0 -0
- package/build/esm/{components → types/components}/PieChart.d.ts +0 -0
- package/build/esm/{components → types/components}/Progress/CirclePercent.d.ts +0 -0
- package/build/esm/{components → types/components}/Progress/Progress.d.ts +0 -0
- package/build/esm/{components → types/components}/Progress/index.d.ts +0 -0
- package/build/esm/{components → types/components}/Radio.d.ts +0 -0
- package/build/esm/{components → types/components}/Slider.d.ts +0 -0
- package/build/esm/{components → types/components}/Spacer.d.ts +0 -0
- package/build/esm/{components → types/components}/Spinner.d.ts +0 -0
- package/build/esm/{components → types/components}/Table/Body.d.ts +0 -0
- package/build/esm/{components → types/components}/Table/Column.d.ts +0 -0
- package/build/esm/{components → types/components}/Table/Content.d.ts +0 -0
- package/build/esm/{components → types/components}/Table/Header.d.ts +0 -0
- package/build/esm/{components → types/components}/Table/HeaderCell.d.ts +0 -0
- package/build/esm/{components → types/components}/Table/Row.d.ts +0 -0
- package/build/esm/{components → types/components}/Table/Table.d.ts +0 -0
- package/build/esm/{components → types/components}/Table/context.d.ts +0 -0
- package/build/esm/{components → types/components}/Table/index.d.ts +0 -0
- package/build/esm/{components → types/components}/Table/types.d.ts +0 -0
- package/build/esm/{components → types/components}/Table/utils.d.ts +0 -0
- package/build/esm/{components → types/components}/Toggle.d.ts +0 -0
- package/build/esm/{components → types/components}/Tooltip.d.ts +0 -0
- package/build/esm/{components → types/components}/TransferList.d.ts +0 -0
- package/build/esm/{components → types/components}/draftUtils.d.ts +0 -0
- package/build/esm/{components → types/components}/helpers/getIcon.d.ts +0 -0
- package/build/esm/{components → types/components}/types.d.ts +0 -0
- package/build/esm/{global-styles → types/global-styles}/ResetStyles.d.ts +0 -0
- package/build/esm/{global-styles → types/global-styles}/ScrollbarStyles.d.ts +0 -0
- package/build/esm/{global-styles → types/global-styles}/ToastStyles.d.ts +0 -0
- package/build/esm/{global-styles → types/global-styles}/index.d.ts +0 -0
- package/build/esm/{hooks → types/hooks}/index.d.ts +1 -0
- package/build/esm/{hooks → types/hooks}/useConfirm.d.ts +0 -0
- package/build/esm/types/hooks/useElementObserver.d.ts +8 -0
- package/build/esm/{hooks → types/hooks}/useEventListener.d.ts +0 -0
- package/build/esm/{hooks → types/hooks}/useOnClickOutside.d.ts +0 -0
- package/build/esm/{hooks → types/hooks}/useSelect.d.ts +0 -0
- package/build/esm/{hooks → types/hooks}/useSelectAll.d.ts +0 -0
- package/build/esm/{hooks → types/hooks}/useWindowSize.d.ts +0 -0
- package/build/{cjs → esm/types}/index.d.ts +2 -0
- package/build/esm/{theme → types/theme}/ThemeTypes.d.ts +0 -0
- package/build/esm/{theme → types/theme}/colors.d.ts +0 -0
- package/build/esm/{theme → types/theme}/common/button.d.ts +0 -0
- package/build/esm/{theme → types/theme}/common/common.d.ts +0 -0
- package/build/esm/{theme → types/theme}/common/index.d.ts +0 -0
- package/build/esm/{theme → types/theme}/dark.d.ts +0 -0
- package/build/esm/{theme → types/theme}/index.d.ts +0 -0
- package/build/esm/{theme → types/theme}/light.d.ts +0 -0
- package/build/esm/{utils → types/utils}/chunk.d.ts +0 -0
- package/build/esm/{utils → types/utils}/copyToClipboard.d.ts +0 -0
- package/build/esm/{utils → types/utils}/formatDate.d.ts +0 -0
- package/build/esm/{utils → types/utils}/index.d.ts +0 -0
- package/build/esm/{utils → types/utils}/range.d.ts +0 -0
- package/build/index.d.ts +60 -10
- package/package.json +37 -35
- package/build/cjs/components/Audio.d.ts +0 -29
- package/build/cjs/components/Form.d.ts +0 -173
- package/build/cjs/components/Input.d.ts +0 -192
- package/build/esm/components/Audio.d.ts +0 -29
- package/build/esm/components/Form.d.ts +0 -173
- package/build/esm/components/Input.d.ts +0 -192
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
import { FormEvent, HTMLProps, ReactNode } from 'react';
|
|
2
|
-
import { GridProps } from './Grid';
|
|
3
|
-
type FormProps = {
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
/** The function to be run after the form is submitted */
|
|
6
|
-
onSubmit?: (event: FormEvent) => void;
|
|
7
|
-
} & GridProps & HTMLProps<HTMLFormElement>;
|
|
8
|
-
declare const Form: {
|
|
9
|
-
({ children, rows, columns, rowGap, columnGap, onSubmit, ...rest }: FormProps): JSX.Element;
|
|
10
|
-
Group({ children, rows, columns, rowGap, columnGap, disabled, ...rest }: FormGroupProps): JSX.Element;
|
|
11
|
-
Field({ children, inline, align, disabled }: FieldProps & {
|
|
12
|
-
children?: ReactNode;
|
|
13
|
-
}): JSX.Element;
|
|
14
|
-
Input: import("react").ForwardRefExoticComponent<(Pick<{
|
|
15
|
-
id?: string | undefined;
|
|
16
|
-
label?: string | undefined;
|
|
17
|
-
placeholder?: string | undefined;
|
|
18
|
-
placeholderColor?: string | undefined;
|
|
19
|
-
description?: string | undefined;
|
|
20
|
-
isLoading?: boolean | undefined;
|
|
21
|
-
iconLeft?: import("./helpers/getIcon").IconType | undefined;
|
|
22
|
-
iconRight?: import("./helpers/getIcon").IconType | undefined;
|
|
23
|
-
invalid?: boolean | undefined;
|
|
24
|
-
borderless?: boolean | undefined;
|
|
25
|
-
borderRadius?: string | number | undefined;
|
|
26
|
-
borderColor?: string | undefined;
|
|
27
|
-
backgroundColor?: string | undefined;
|
|
28
|
-
fontSize?: string | number | undefined;
|
|
29
|
-
width?: string | number | undefined;
|
|
30
|
-
height?: string | number | undefined;
|
|
31
|
-
containerRef?: import("react").MutableRefObject<HTMLDivElement> | undefined;
|
|
32
|
-
value?: string | number | undefined;
|
|
33
|
-
disabled?: boolean | undefined;
|
|
34
|
-
readOnly?: boolean | undefined;
|
|
35
|
-
preventFocus?: boolean | undefined;
|
|
36
|
-
pointer?: boolean | undefined;
|
|
37
|
-
textOnly?: boolean | undefined;
|
|
38
|
-
search?: boolean | undefined;
|
|
39
|
-
onFocus?: ((event?: import("./types").InputFocusEvent | undefined) => void) | undefined;
|
|
40
|
-
onBlur?: ((event?: import("./types").InputFocusEvent | undefined) => void) | undefined;
|
|
41
|
-
onClick?: ((event?: import("react").MouseEvent<Element, MouseEvent> | undefined) => void) | undefined;
|
|
42
|
-
onClear?: (() => void) | undefined;
|
|
43
|
-
} & Omit<HTMLProps<HTMLInputElement>, "as" | "onChange"> & import("./types").As & {
|
|
44
|
-
phone?: undefined;
|
|
45
|
-
onChange?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
|
|
46
|
-
} & import("./types").Margin, "search" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "start" | "size" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "noValidate" | "open" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "target" | "type" | "useMap" | "value" | "width" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "pointer" | "backgroundColor" | "fontSize" | "borderColor" | "borderRadius" | "borderless" | "textOnly" | "invalid" | keyof import("./types").Margin | "placeholderColor" | "description" | "isLoading" | "iconLeft" | "iconRight" | "containerRef" | "preventFocus" | "onClear" | keyof {
|
|
47
|
-
phone?: undefined;
|
|
48
|
-
onChange?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
|
|
49
|
-
}> | Pick<{
|
|
50
|
-
id?: string | undefined;
|
|
51
|
-
label?: string | undefined;
|
|
52
|
-
placeholder?: string | undefined;
|
|
53
|
-
placeholderColor?: string | undefined;
|
|
54
|
-
description?: string | undefined;
|
|
55
|
-
isLoading?: boolean | undefined;
|
|
56
|
-
iconLeft?: import("./helpers/getIcon").IconType | undefined;
|
|
57
|
-
iconRight?: import("./helpers/getIcon").IconType | undefined;
|
|
58
|
-
invalid?: boolean | undefined;
|
|
59
|
-
borderless?: boolean | undefined;
|
|
60
|
-
borderRadius?: string | number | undefined;
|
|
61
|
-
borderColor?: string | undefined;
|
|
62
|
-
backgroundColor?: string | undefined;
|
|
63
|
-
fontSize?: string | number | undefined;
|
|
64
|
-
width?: string | number | undefined;
|
|
65
|
-
height?: string | number | undefined;
|
|
66
|
-
containerRef?: import("react").MutableRefObject<HTMLDivElement> | undefined;
|
|
67
|
-
value?: string | number | undefined;
|
|
68
|
-
disabled?: boolean | undefined;
|
|
69
|
-
readOnly?: boolean | undefined;
|
|
70
|
-
preventFocus?: boolean | undefined;
|
|
71
|
-
pointer?: boolean | undefined;
|
|
72
|
-
textOnly?: boolean | undefined;
|
|
73
|
-
search?: boolean | undefined;
|
|
74
|
-
onFocus?: ((event?: import("./types").InputFocusEvent | undefined) => void) | undefined;
|
|
75
|
-
onBlur?: ((event?: import("./types").InputFocusEvent | undefined) => void) | undefined;
|
|
76
|
-
onClick?: ((event?: import("react").MouseEvent<Element, MouseEvent> | undefined) => void) | undefined;
|
|
77
|
-
onClear?: (() => void) | undefined;
|
|
78
|
-
} & Omit<HTMLProps<HTMLInputElement>, "as" | "onChange"> & import("./types").As & {
|
|
79
|
-
phone: true;
|
|
80
|
-
onChange?: ((event: import("react").ChangeEvent<HTMLInputElement>, formatted: string, raw: string) => void) | undefined;
|
|
81
|
-
} & import("./types").Margin, "search" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "start" | "size" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "noValidate" | "open" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "target" | "type" | "useMap" | "value" | "width" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "pointer" | "backgroundColor" | "fontSize" | "borderColor" | "borderRadius" | "borderless" | "textOnly" | "invalid" | keyof import("./types").Margin | "placeholderColor" | "description" | "isLoading" | "iconLeft" | "iconRight" | "containerRef" | "preventFocus" | "onClear" | keyof {
|
|
82
|
-
phone: true;
|
|
83
|
-
onChange?: ((event: import("react").ChangeEvent<HTMLInputElement>, formatted: string, raw: string) => void) | undefined;
|
|
84
|
-
}>) & import("react").RefAttributes<import("./types").InputRef>>;
|
|
85
|
-
Dropdown: {
|
|
86
|
-
<OptionType extends import("./Dropdown").DropdownOption>({ onChange, onTextChange, afterShow, afterHide, onFocus, onBlur, onError, placeholder, placeholderColor, value, options, children, borderless, borderColor, backgroundColor, hideIcon, clearOnSelect, textOnly, width, height, isLoading, margin, marginTop, marginBottom, marginRight, marginLeft, label, id, name, trigger, centerY, centerX, offsetY, offsetX, direction, fontSize, description, disabled, invalid, search, filter, restrictInput, inputRef, optionsParent, ...props }: {
|
|
87
|
-
children?: ReactNode;
|
|
88
|
-
onChange?: ((item: OptionType | null) => void) | undefined;
|
|
89
|
-
/** Disables pointer events and reduces the opacity of the Group's contents */
|
|
90
|
-
onTextChange?: ((text: string) => void) | undefined;
|
|
91
|
-
value?: string | number | undefined;
|
|
92
|
-
afterShow?: (() => void) | undefined;
|
|
93
|
-
afterHide?: (() => void) | undefined;
|
|
94
|
-
onFocus?: ((event?: import("./types").InputFocusEvent | undefined) => void) | undefined;
|
|
95
|
-
onBlur?: ((event?: import("./types").InputFocusEvent | undefined) => void) | undefined;
|
|
96
|
-
onError?: ((invalid: boolean) => void) | undefined;
|
|
97
|
-
placeholder?: string | undefined;
|
|
98
|
-
placeholderColor?: string | undefined;
|
|
99
|
-
options?: OptionType[] | undefined;
|
|
100
|
-
borderless?: boolean | undefined;
|
|
101
|
-
borderColor?: string | undefined;
|
|
102
|
-
backgroundColor?: string | undefined;
|
|
103
|
-
hideIcon?: boolean | undefined;
|
|
104
|
-
isLoading?: boolean | undefined;
|
|
105
|
-
clearOnSelect?: boolean | undefined;
|
|
106
|
-
filter?: boolean | undefined;
|
|
107
|
-
textOnly?: boolean | undefined;
|
|
108
|
-
label?: string | undefined;
|
|
109
|
-
id?: string | undefined;
|
|
110
|
-
name?: string | undefined;
|
|
111
|
-
trigger?: ReactNode;
|
|
112
|
-
centerY?: boolean | undefined;
|
|
113
|
-
centerX?: boolean | undefined;
|
|
114
|
-
offsetY?: number | undefined;
|
|
115
|
-
offsetX?: number | undefined;
|
|
116
|
-
direction?: "bottom" | "left" | "right" | "top" | undefined;
|
|
117
|
-
fontSize?: string | number | undefined;
|
|
118
|
-
description?: string | undefined;
|
|
119
|
-
disabled?: boolean | undefined;
|
|
120
|
-
invalid?: boolean | undefined;
|
|
121
|
-
search?: boolean | undefined;
|
|
122
|
-
restrictInput?: boolean | ((text: string) => boolean) | undefined;
|
|
123
|
-
inputRef?: import("react").RefObject<import("./types").InputRef> | undefined;
|
|
124
|
-
optionsParent?: string | undefined;
|
|
125
|
-
} & import("./types").Width & import("./types").Height & import("./types").Margin & import("./Dropdown").InputProps): JSX.Element;
|
|
126
|
-
Item<OptionType_1 extends import("./Dropdown").DropdownOption>({ value, displayText, setValue, close, children, contentPosition, color, accented, onClick, id, }: import("./Dropdown/DropdownUtils").DropdownItemProps<OptionType_1>): JSX.Element;
|
|
127
|
-
};
|
|
128
|
-
Radio: ({ id, label, labelPosition, checked, disabled, margin, marginTop, marginBottom, marginRight, marginLeft, ...props }: {
|
|
129
|
-
id?: string | undefined;
|
|
130
|
-
label?: string | undefined;
|
|
131
|
-
labelPosition?: "left" | "right" | undefined;
|
|
132
|
-
disabled?: boolean | undefined;
|
|
133
|
-
checked?: boolean | undefined;
|
|
134
|
-
} & import("./types").Margin & import("./types").As & HTMLProps<HTMLInputElement>) => JSX.Element;
|
|
135
|
-
Toggle: ({ id, label, labelPosition, checked, disabled, onChange, margin, marginTop, marginBottom, marginRight, marginLeft, ...props }: {
|
|
136
|
-
id?: string | undefined;
|
|
137
|
-
label?: string | undefined;
|
|
138
|
-
labelPosition?: "left" | "right" | undefined;
|
|
139
|
-
disabled?: boolean | undefined;
|
|
140
|
-
checked?: boolean | undefined;
|
|
141
|
-
onChange: (val: boolean) => void;
|
|
142
|
-
} & import("./types").Margin & import("./types").As & import("./FormControl").CheckboxAttributes) => JSX.Element;
|
|
143
|
-
Checkbox: ({ id, label, labelPosition, checked, partial, disabled, onChange, margin, marginTop, marginBottom, marginRight, marginLeft, ...props }: {
|
|
144
|
-
id?: string | undefined;
|
|
145
|
-
label?: string | undefined;
|
|
146
|
-
labelPosition?: "left" | "right" | undefined;
|
|
147
|
-
disabled?: boolean | undefined;
|
|
148
|
-
checked?: boolean | undefined;
|
|
149
|
-
partial?: boolean | undefined;
|
|
150
|
-
onChange: (val: boolean) => void;
|
|
151
|
-
} & import("./types").Margin & import("./types").As & import("./FormControl").CheckboxAttributes) => JSX.Element;
|
|
152
|
-
Label: ({ children, iconLeft, iconRight, disabled, pill, ...rest }: {
|
|
153
|
-
children?: ReactNode;
|
|
154
|
-
iconLeft?: import("./helpers/getIcon").IconType | undefined;
|
|
155
|
-
iconRight?: import("./helpers/getIcon").IconType | undefined;
|
|
156
|
-
pill?: boolean | undefined;
|
|
157
|
-
disabled?: boolean | undefined;
|
|
158
|
-
} & import("./types").Margin) => JSX.Element;
|
|
159
|
-
};
|
|
160
|
-
type FormGroupProps = {
|
|
161
|
-
/** Disables pointer events and reduces the opacity of the Group's contents */
|
|
162
|
-
disabled?: boolean;
|
|
163
|
-
children?: ReactNode;
|
|
164
|
-
} & GridProps;
|
|
165
|
-
type FieldProps = {
|
|
166
|
-
/** Sets the flexDirection of the Field to 'row' instead of 'column' */
|
|
167
|
-
inline?: boolean;
|
|
168
|
-
/** Sets the vertical alignment of the Field's contents */
|
|
169
|
-
align?: 'top' | 'bottom' | 'center';
|
|
170
|
-
/** Disables pointer events and reduces the opacity of the Field's contents */
|
|
171
|
-
disabled?: boolean;
|
|
172
|
-
};
|
|
173
|
-
export default Form;
|
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
import { ChangeEvent, MutableRefObject, MouseEvent, HTMLProps } from 'react';
|
|
2
|
-
import { As, InputFocusEvent, InputRef, Margin } from './types';
|
|
3
|
-
import { IconType } from './helpers/getIcon';
|
|
4
|
-
type OnClear = () => void;
|
|
5
|
-
type OnChangeDefault = (event: ChangeEvent<HTMLInputElement>) => void;
|
|
6
|
-
type OnChangePhone = (event: ChangeEvent<HTMLInputElement>, formatted: string, raw: string) => void;
|
|
7
|
-
type Default = {
|
|
8
|
-
/** Auto-formats the input to a US phone number */
|
|
9
|
-
phone?: never;
|
|
10
|
-
/** A callback function that is run upon changing the contents of the input */
|
|
11
|
-
onChange?: OnChangeDefault;
|
|
12
|
-
};
|
|
13
|
-
type Phone = {
|
|
14
|
-
phone: true;
|
|
15
|
-
onChange?: OnChangePhone;
|
|
16
|
-
};
|
|
17
|
-
type InputTypes = Default | Phone;
|
|
18
|
-
type DefaultInputProps = Omit<HTMLProps<HTMLInputElement>, 'onChange' | 'as'> & As;
|
|
19
|
-
export type InputProps = {
|
|
20
|
-
/** The id of the input element */
|
|
21
|
-
id?: string;
|
|
22
|
-
/** Places a label element above the input. The value will set the text of the label */
|
|
23
|
-
label?: string;
|
|
24
|
-
/** Sets the input placeholder text */
|
|
25
|
-
placeholder?: string;
|
|
26
|
-
/** Sets the input placeholder color */
|
|
27
|
-
placeholderColor?: string;
|
|
28
|
-
/** Places a description message below the input */
|
|
29
|
-
description?: string;
|
|
30
|
-
/** Displays a spinner icon on the right side of the input */
|
|
31
|
-
isLoading?: boolean;
|
|
32
|
-
/** The name of the icon that should appear on the left side of the input */
|
|
33
|
-
iconLeft?: IconType;
|
|
34
|
-
/** The name of the icon that should appear on the right side of the input */
|
|
35
|
-
iconRight?: IconType;
|
|
36
|
-
/** Sets the Input's bottom border and description text to red */
|
|
37
|
-
invalid?: boolean;
|
|
38
|
-
/** Removes the input border */
|
|
39
|
-
borderless?: boolean;
|
|
40
|
-
/** Sets the input borderRadius */
|
|
41
|
-
borderRadius?: number | string;
|
|
42
|
-
/** Sets the input borderColor */
|
|
43
|
-
borderColor?: string;
|
|
44
|
-
/** Sets the input backgroundColor */
|
|
45
|
-
backgroundColor?: string;
|
|
46
|
-
/** Sets the input fontSize */
|
|
47
|
-
fontSize?: number | string;
|
|
48
|
-
/** Width of the input */
|
|
49
|
-
width?: number | string;
|
|
50
|
-
/** Height of the input */
|
|
51
|
-
height?: number | string;
|
|
52
|
-
/** A ref to the input's container element */
|
|
53
|
-
containerRef?: MutableRefObject<HTMLDivElement>;
|
|
54
|
-
/** Value of the input */
|
|
55
|
-
value?: string | number;
|
|
56
|
-
/** Disables the input */
|
|
57
|
-
disabled?: boolean;
|
|
58
|
-
/** Prevents the input from being clicked, focused, hovered, or edited */
|
|
59
|
-
readOnly?: boolean;
|
|
60
|
-
/** Prevents the input from being clicked or focused */
|
|
61
|
-
preventFocus?: boolean;
|
|
62
|
-
/** Sets the cursor to pointer for the input container */
|
|
63
|
-
pointer?: boolean;
|
|
64
|
-
/** Removes the padding from the input */
|
|
65
|
-
textOnly?: boolean;
|
|
66
|
-
/** Adds a search icon to the left of the input and a clear icon and funcitonality to the right */
|
|
67
|
-
search?: boolean;
|
|
68
|
-
/** Callback run after onFocus event */
|
|
69
|
-
onFocus?: (event?: InputFocusEvent) => void;
|
|
70
|
-
/** Callback run after onBlur event */
|
|
71
|
-
onBlur?: (event?: InputFocusEvent) => void;
|
|
72
|
-
/** A callback function that is run upon clicking the input container */
|
|
73
|
-
onClick?: (event?: MouseEvent) => void;
|
|
74
|
-
/** A callback function that is run upon clicking the clear icon */
|
|
75
|
-
onClear?: OnClear;
|
|
76
|
-
} & DefaultInputProps & InputTypes & Margin;
|
|
77
|
-
declare const Input: import("react").ForwardRefExoticComponent<(Pick<{
|
|
78
|
-
/** The id of the input element */
|
|
79
|
-
id?: string | undefined;
|
|
80
|
-
/** Places a label element above the input. The value will set the text of the label */
|
|
81
|
-
label?: string | undefined;
|
|
82
|
-
/** Sets the input placeholder text */
|
|
83
|
-
placeholder?: string | undefined;
|
|
84
|
-
/** Sets the input placeholder color */
|
|
85
|
-
placeholderColor?: string | undefined;
|
|
86
|
-
/** Places a description message below the input */
|
|
87
|
-
description?: string | undefined;
|
|
88
|
-
/** Displays a spinner icon on the right side of the input */
|
|
89
|
-
isLoading?: boolean | undefined;
|
|
90
|
-
/** The name of the icon that should appear on the left side of the input */
|
|
91
|
-
iconLeft?: IconType | undefined;
|
|
92
|
-
/** The name of the icon that should appear on the right side of the input */
|
|
93
|
-
iconRight?: IconType | undefined;
|
|
94
|
-
/** Sets the Input's bottom border and description text to red */
|
|
95
|
-
invalid?: boolean | undefined;
|
|
96
|
-
/** Removes the input border */
|
|
97
|
-
borderless?: boolean | undefined;
|
|
98
|
-
/** Sets the input borderRadius */
|
|
99
|
-
borderRadius?: string | number | undefined;
|
|
100
|
-
/** Sets the input borderColor */
|
|
101
|
-
borderColor?: string | undefined;
|
|
102
|
-
/** Sets the input backgroundColor */
|
|
103
|
-
backgroundColor?: string | undefined;
|
|
104
|
-
/** Sets the input fontSize */
|
|
105
|
-
fontSize?: string | number | undefined;
|
|
106
|
-
/** Width of the input */
|
|
107
|
-
width?: string | number | undefined;
|
|
108
|
-
/** Height of the input */
|
|
109
|
-
height?: string | number | undefined;
|
|
110
|
-
/** A ref to the input's container element */
|
|
111
|
-
containerRef?: MutableRefObject<HTMLDivElement> | undefined;
|
|
112
|
-
/** Value of the input */
|
|
113
|
-
value?: string | number | undefined;
|
|
114
|
-
/** Disables the input */
|
|
115
|
-
disabled?: boolean | undefined;
|
|
116
|
-
/** Prevents the input from being clicked, focused, hovered, or edited */
|
|
117
|
-
readOnly?: boolean | undefined;
|
|
118
|
-
/** Prevents the input from being clicked or focused */
|
|
119
|
-
preventFocus?: boolean | undefined;
|
|
120
|
-
/** Sets the cursor to pointer for the input container */
|
|
121
|
-
pointer?: boolean | undefined;
|
|
122
|
-
/** Removes the padding from the input */
|
|
123
|
-
textOnly?: boolean | undefined;
|
|
124
|
-
/** Adds a search icon to the left of the input and a clear icon and funcitonality to the right */
|
|
125
|
-
search?: boolean | undefined;
|
|
126
|
-
/** Callback run after onFocus event */
|
|
127
|
-
onFocus?: ((event?: InputFocusEvent) => void) | undefined;
|
|
128
|
-
/** Callback run after onBlur event */
|
|
129
|
-
onBlur?: ((event?: InputFocusEvent) => void) | undefined;
|
|
130
|
-
/** A callback function that is run upon clicking the input container */
|
|
131
|
-
onClick?: ((event?: MouseEvent) => void) | undefined;
|
|
132
|
-
/** A callback function that is run upon clicking the clear icon */
|
|
133
|
-
onClear?: OnClear | undefined;
|
|
134
|
-
} & Omit<HTMLProps<HTMLInputElement>, "as" | "onChange"> & As & Default & Margin, "search" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "start" | "size" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "noValidate" | "open" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "target" | "type" | "useMap" | "value" | "width" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "pointer" | "backgroundColor" | "fontSize" | "borderColor" | "borderRadius" | "borderless" | "textOnly" | "invalid" | keyof Margin | "placeholderColor" | "description" | "isLoading" | "iconLeft" | "iconRight" | "containerRef" | "preventFocus" | "onClear" | keyof Default> | Pick<{
|
|
135
|
-
/** The id of the input element */
|
|
136
|
-
id?: string | undefined;
|
|
137
|
-
/** Places a label element above the input. The value will set the text of the label */
|
|
138
|
-
label?: string | undefined;
|
|
139
|
-
/** Sets the input placeholder text */
|
|
140
|
-
placeholder?: string | undefined;
|
|
141
|
-
/** Sets the input placeholder color */
|
|
142
|
-
placeholderColor?: string | undefined;
|
|
143
|
-
/** Places a description message below the input */
|
|
144
|
-
description?: string | undefined;
|
|
145
|
-
/** Displays a spinner icon on the right side of the input */
|
|
146
|
-
isLoading?: boolean | undefined;
|
|
147
|
-
/** The name of the icon that should appear on the left side of the input */
|
|
148
|
-
iconLeft?: IconType | undefined;
|
|
149
|
-
/** The name of the icon that should appear on the right side of the input */
|
|
150
|
-
iconRight?: IconType | undefined;
|
|
151
|
-
/** Sets the Input's bottom border and description text to red */
|
|
152
|
-
invalid?: boolean | undefined;
|
|
153
|
-
/** Removes the input border */
|
|
154
|
-
borderless?: boolean | undefined;
|
|
155
|
-
/** Sets the input borderRadius */
|
|
156
|
-
borderRadius?: string | number | undefined;
|
|
157
|
-
/** Sets the input borderColor */
|
|
158
|
-
borderColor?: string | undefined;
|
|
159
|
-
/** Sets the input backgroundColor */
|
|
160
|
-
backgroundColor?: string | undefined;
|
|
161
|
-
/** Sets the input fontSize */
|
|
162
|
-
fontSize?: string | number | undefined;
|
|
163
|
-
/** Width of the input */
|
|
164
|
-
width?: string | number | undefined;
|
|
165
|
-
/** Height of the input */
|
|
166
|
-
height?: string | number | undefined;
|
|
167
|
-
/** A ref to the input's container element */
|
|
168
|
-
containerRef?: MutableRefObject<HTMLDivElement> | undefined;
|
|
169
|
-
/** Value of the input */
|
|
170
|
-
value?: string | number | undefined;
|
|
171
|
-
/** Disables the input */
|
|
172
|
-
disabled?: boolean | undefined;
|
|
173
|
-
/** Prevents the input from being clicked, focused, hovered, or edited */
|
|
174
|
-
readOnly?: boolean | undefined;
|
|
175
|
-
/** Prevents the input from being clicked or focused */
|
|
176
|
-
preventFocus?: boolean | undefined;
|
|
177
|
-
/** Sets the cursor to pointer for the input container */
|
|
178
|
-
pointer?: boolean | undefined;
|
|
179
|
-
/** Removes the padding from the input */
|
|
180
|
-
textOnly?: boolean | undefined;
|
|
181
|
-
/** Adds a search icon to the left of the input and a clear icon and funcitonality to the right */
|
|
182
|
-
search?: boolean | undefined;
|
|
183
|
-
/** Callback run after onFocus event */
|
|
184
|
-
onFocus?: ((event?: InputFocusEvent) => void) | undefined;
|
|
185
|
-
/** Callback run after onBlur event */
|
|
186
|
-
onBlur?: ((event?: InputFocusEvent) => void) | undefined;
|
|
187
|
-
/** A callback function that is run upon clicking the input container */
|
|
188
|
-
onClick?: ((event?: MouseEvent) => void) | undefined;
|
|
189
|
-
/** A callback function that is run upon clicking the clear icon */
|
|
190
|
-
onClear?: OnClear | undefined;
|
|
191
|
-
} & Omit<HTMLProps<HTMLInputElement>, "as" | "onChange"> & As & Phone & Margin, "search" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "start" | "size" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "noValidate" | "open" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "target" | "type" | "useMap" | "value" | "width" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "pointer" | "backgroundColor" | "fontSize" | "borderColor" | "borderRadius" | "borderless" | "textOnly" | "invalid" | keyof Margin | "placeholderColor" | "description" | "isLoading" | "iconLeft" | "iconRight" | "containerRef" | "preventFocus" | "onClear" | keyof Phone>) & import("react").RefAttributes<InputRef>>;
|
|
192
|
-
export default Input;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ChangeEvent, HTMLProps } from 'react';
|
|
2
|
-
import { Margin, Width, As, AudioRef } from './types';
|
|
3
|
-
type AudioProps = {
|
|
4
|
-
/** The filepath of the audio source */
|
|
5
|
-
src: string;
|
|
6
|
-
/** The title of the audio source to be displayed */
|
|
7
|
-
title?: string;
|
|
8
|
-
/** Sets the position of the display info in relation to the duration slider */
|
|
9
|
-
infoPosition?: 'top' | 'bottom';
|
|
10
|
-
/** Center aligns the slider and info elements with the button */
|
|
11
|
-
centerAlignContent?: boolean;
|
|
12
|
-
/** Hides the slider control while not playing */
|
|
13
|
-
hideSliderOnStop?: boolean;
|
|
14
|
-
/** Hides the time display while not playing */
|
|
15
|
-
hideTimeOnStop?: boolean;
|
|
16
|
-
/** Reduces the size of the Audio play button */
|
|
17
|
-
small?: boolean;
|
|
18
|
-
/** Hides the duration slider */
|
|
19
|
-
collapsed?: boolean;
|
|
20
|
-
/** Font size of the audio title */
|
|
21
|
-
fontSizeTitle?: number | string;
|
|
22
|
-
/** Font size of the audio time */
|
|
23
|
-
fontSizeTime?: number | string;
|
|
24
|
-
onPlay?: (event: ChangeEvent<HTMLAudioElement>) => void;
|
|
25
|
-
onPause?: (event: ChangeEvent<HTMLAudioElement>) => void;
|
|
26
|
-
onStop?: (event: ChangeEvent<HTMLAudioElement>) => void;
|
|
27
|
-
} & Margin & Width & As & HTMLProps<HTMLDivElement>;
|
|
28
|
-
declare const Audio: import("react").ForwardRefExoticComponent<Pick<AudioProps, "small" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "start" | "size" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "noValidate" | "open" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "target" | "type" | "useMap" | "value" | "width" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | keyof Margin | "infoPosition" | "centerAlignContent" | "collapsed" | "hideSliderOnStop" | "hideTimeOnStop" | "fontSizeTitle" | "fontSizeTime" | "onStop"> & import("react").RefAttributes<AudioRef>>;
|
|
29
|
-
export default Audio;
|