@wavv/ui 1.4.0 → 1.4.2
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/{types/assets → assets}/icons/ActivityHistory.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Add.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/AddCircle.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/AddCircleOutline.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/AddPerson.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/ArrowDown.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/ArrowLeft.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/ArrowRight.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/ArrowUp.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Attachment.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Calendar.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Camera.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Card.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/CaretDown.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/CaretUp.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/CheckCircle.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/CheckCircleOutline.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Checkbox.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/CheckboxOff.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/CheckboxPartial.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/ChevronDown.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/ChevronLeft.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/ChevronRight.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/ChevronUp.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Clapperboard.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/ClapperboardOpen.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Close.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/CloseCircle.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/CloseCircleOutline.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Copy.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Devices.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Dialpad.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/DoubleArrowLeft.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/DoubleArrowRight.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Download.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Edit.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Emoji.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/EyeOff.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/EyeOn.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Facebook.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Filter.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Flask.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Group.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Heart.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/HeartOutline.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Help.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Hourglass.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Info.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Instagram.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/KebabMenu.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Link.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Linkedin.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Loading.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Maximize.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Menu.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/MergeField.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Message.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Mic.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/MicOff.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Minimize.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Mobile.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/NotAllowed.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Open.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Pause.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/PauseOutline.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Person.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Phone.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/PhoneBlocked.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/PhoneEnd.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/PhoneHistory.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/PhoneTalk.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Play.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/PlayOutline.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/ProfileUser.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/RadioButton.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/RadioButtonOff.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Record.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Refresh.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Rocket.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Schedule.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/ScheduleOutline.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Search.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Settings.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Share.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Sort.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Spotify.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Star.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/StarOutline.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Stop.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/StopOutline.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Template.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/ToggleOff.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/ToggleOn.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Trash.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Twitter.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Upload.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Video.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Voicemail.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/VolOn.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Warning.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/WarningCircleOutline.d.ts +0 -0
- package/build/cjs/{types/assets → assets}/icons/Youtube.d.ts +0 -0
- package/build/cjs/{types/components → components}/Audio.d.ts +2 -2
- package/build/cjs/{types/components → components}/BarChart.d.ts +2 -2
- package/build/cjs/{types/components → components}/Button/Button.d.ts +0 -0
- package/build/cjs/{types/components → components}/Button/ButtonLoader.d.ts +0 -0
- package/build/{esm/types → cjs}/components/Button/ButtonTypes.d.ts +13 -13
- package/build/cjs/{types/components → components}/Button/Group.d.ts +4 -4
- package/build/cjs/{types/components → components}/Button/index.d.ts +0 -0
- package/build/{esm/types → cjs}/components/Calendar.d.ts +1 -1
- package/build/cjs/{types/components → components}/ChartHelpers.d.ts +0 -0
- package/build/cjs/{types/components → components}/Checkbox.d.ts +1 -1
- package/build/{esm/types → cjs}/components/Code/Code.d.ts +5 -5
- package/build/cjs/{types/components → components}/Code/Copy.d.ts +0 -0
- package/build/cjs/{types/components → components}/Code/Endpoint.d.ts +0 -0
- package/build/cjs/{types/components → components}/Code/index.d.ts +0 -0
- package/build/cjs/{types/components → components}/DocTable.d.ts +0 -0
- package/build/cjs/{types/components → components}/DraftEditor.d.ts +2 -1
- package/build/cjs/{types/components → components}/Dropdown/Dropdown.d.ts +2 -2
- package/build/{esm/types → cjs}/components/Dropdown/DropdownUtils.d.ts +7 -7
- package/build/cjs/{types/components → components}/Dropdown/index.d.ts +0 -0
- package/build/cjs/{types/components → components}/Form.d.ts +6 -5
- package/build/cjs/{types/components → components}/FormControl.d.ts +1 -1
- package/build/cjs/{types/components → components}/Grid.d.ts +2 -2
- package/build/{esm/types → cjs}/components/Icon/Icon.d.ts +4 -4
- package/build/{esm/types → cjs}/components/Icon/icons.d.ts +1 -1
- package/build/cjs/{types/components → components}/Icon/index.d.ts +0 -0
- package/build/{esm/types → cjs}/components/ImageViewer.d.ts +1 -1
- package/build/cjs/{types/components → components}/InlineCode.d.ts +0 -0
- package/build/cjs/{types/components → components}/Input.d.ts +10 -10
- package/build/{esm/types → cjs}/components/InputHelpers.d.ts +1 -1
- package/build/{esm/types → cjs}/components/Label.d.ts +1 -1
- package/build/{esm/types → cjs}/components/Menu.d.ts +3 -3
- package/build/{esm/types → cjs}/components/Message.d.ts +1 -1
- package/build/cjs/{types/components → components}/MessageHr.d.ts +0 -0
- package/build/cjs/{types/components → components}/Modal.d.ts +1 -1
- package/build/{esm/types → cjs}/components/MultiSelect.d.ts +6 -4
- package/build/cjs/{types/components → components}/Notification.d.ts +0 -0
- package/build/cjs/{types/components → components}/Options.d.ts +2 -2
- package/build/cjs/{types/components → components}/Pagination.d.ts +1 -1
- package/build/{esm/types → cjs}/components/PieChart.d.ts +2 -2
- package/build/{esm/types → cjs}/components/Progress/CirclePercent.d.ts +1 -1
- package/build/cjs/{types/components → components}/Progress/Progress.d.ts +2 -2
- package/build/cjs/{types/components → components}/Progress/index.d.ts +0 -0
- package/build/cjs/{types/components → components}/Radio.d.ts +1 -1
- package/build/cjs/{types/components → components}/Slider.d.ts +1 -1
- package/build/cjs/{types/components → components}/Spacer.d.ts +0 -0
- package/build/{esm/types → cjs}/components/Spinner.d.ts +1 -1
- package/build/cjs/{types/components → components}/Table/Body.d.ts +1 -1
- package/build/{esm/types → cjs}/components/Table/Column.d.ts +1 -1
- package/build/cjs/{types/components → components}/Table/Content.d.ts +0 -0
- package/build/cjs/{types/components → components}/Table/Header.d.ts +0 -0
- package/build/cjs/{types/components → components}/Table/HeaderCell.d.ts +1 -1
- package/build/cjs/{types/components → components}/Table/Row.d.ts +0 -0
- package/build/cjs/{types/components → components}/Table/Table.d.ts +0 -0
- package/build/cjs/{types/components → components}/Table/context.d.ts +0 -0
- package/build/cjs/{types/components → components}/Table/index.d.ts +0 -0
- package/build/cjs/components/Table/types.d.ts +40 -0
- package/build/cjs/{types/components → components}/Table/utils.d.ts +0 -0
- package/build/{esm/types → cjs}/components/Toggle.d.ts +1 -1
- package/build/{esm/types → cjs}/components/Tooltip.d.ts +2 -2
- package/build/cjs/{types/components → components}/TransferList.d.ts +5 -5
- package/build/cjs/{types/components → components}/draftUtils.d.ts +0 -0
- package/build/{esm/types → cjs}/components/helpers/getIcon.d.ts +2 -2
- package/build/{esm/types → cjs}/components/types.d.ts +13 -13
- package/build/{esm/types → cjs}/global-styles/ResetStyles.d.ts +1 -1
- package/build/cjs/{types/global-styles → global-styles}/ScrollbarStyles.d.ts +0 -0
- package/build/cjs/{types/global-styles → global-styles}/ToastStyles.d.ts +0 -0
- package/build/cjs/{types/global-styles → global-styles}/index.d.ts +0 -0
- package/build/cjs/{types/hooks → hooks}/index.d.ts +0 -0
- package/build/cjs/{types/hooks → hooks}/useConfirm.d.ts +1 -1
- package/build/cjs/{types/hooks → hooks}/useEventListener.d.ts +0 -0
- package/build/cjs/{types/hooks → hooks}/useOnClickOutside.d.ts +0 -0
- package/build/cjs/{types/hooks → hooks}/useSelect.d.ts +1 -1
- package/build/{esm/types → cjs}/hooks/useSelectAll.d.ts +1 -1
- package/build/cjs/{types/hooks → hooks}/useWindowSize.d.ts +0 -0
- package/build/cjs/{types/index.d.ts → index.d.ts} +0 -0
- package/build/cjs/index.js +8 -8
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/{types/theme → theme}/ThemeTypes.d.ts +4 -4
- package/build/{esm/types → cjs}/theme/colors.d.ts +1 -1
- package/build/cjs/{types/theme → theme}/common/button.d.ts +0 -0
- package/build/cjs/{types/theme → theme}/common/common.d.ts +0 -0
- package/build/cjs/{types/theme → theme}/common/index.d.ts +0 -0
- package/build/cjs/{types/theme → theme}/dark.d.ts +0 -0
- package/build/{esm/types → cjs}/theme/index.d.ts +1 -1
- package/build/cjs/{types/theme → theme}/light.d.ts +0 -0
- package/build/cjs/{types/utils → utils}/chunk.d.ts +0 -0
- package/build/cjs/{types/utils → utils}/copyToClipboard.d.ts +0 -0
- package/build/cjs/{types/utils → utils}/formatDate.d.ts +2 -2
- package/build/cjs/{types/utils → utils}/index.d.ts +0 -0
- package/build/cjs/{types/utils → utils}/range.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/ActivityHistory.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Add.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/AddCircle.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/AddCircleOutline.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/AddPerson.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/ArrowDown.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/ArrowLeft.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/ArrowRight.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/ArrowUp.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Attachment.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Calendar.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Camera.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Card.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/CaretDown.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/CaretUp.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/CheckCircle.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/CheckCircleOutline.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Checkbox.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/CheckboxOff.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/CheckboxPartial.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/ChevronDown.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/ChevronLeft.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/ChevronRight.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/ChevronUp.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Clapperboard.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/ClapperboardOpen.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Close.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/CloseCircle.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/CloseCircleOutline.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Copy.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Devices.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Dialpad.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/DoubleArrowLeft.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/DoubleArrowRight.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Download.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Edit.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Emoji.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/EyeOff.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/EyeOn.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Facebook.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Filter.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Flask.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Group.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Heart.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/HeartOutline.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Help.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Hourglass.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Info.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Instagram.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/KebabMenu.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Link.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Linkedin.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Loading.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Maximize.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Menu.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/MergeField.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Message.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Mic.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/MicOff.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Minimize.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Mobile.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/NotAllowed.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Open.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Pause.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/PauseOutline.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Person.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Phone.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/PhoneBlocked.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/PhoneEnd.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/PhoneHistory.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/PhoneTalk.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Play.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/PlayOutline.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/ProfileUser.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/RadioButton.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/RadioButtonOff.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Record.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Refresh.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Rocket.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Schedule.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/ScheduleOutline.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Search.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Settings.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Share.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Sort.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Spotify.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Star.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/StarOutline.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Stop.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/StopOutline.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Template.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/ToggleOff.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/ToggleOn.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Trash.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Twitter.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Upload.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Video.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Voicemail.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/VolOn.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Warning.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/WarningCircleOutline.d.ts +0 -0
- package/build/esm/{types/assets → assets}/icons/Youtube.d.ts +0 -0
- package/build/esm/{types/components → components}/Audio.d.ts +2 -2
- package/build/esm/{types/components → components}/BarChart.d.ts +2 -2
- package/build/esm/{types/components → components}/Button/Button.d.ts +0 -0
- package/build/esm/{types/components → components}/Button/ButtonLoader.d.ts +0 -0
- package/build/{cjs/types → esm}/components/Button/ButtonTypes.d.ts +13 -13
- package/build/esm/{types/components → components}/Button/Group.d.ts +4 -4
- package/build/esm/{types/components → components}/Button/index.d.ts +0 -0
- package/build/{cjs/types → esm}/components/Calendar.d.ts +1 -1
- package/build/esm/{types/components → components}/ChartHelpers.d.ts +0 -0
- package/build/esm/{types/components → components}/Checkbox.d.ts +1 -1
- package/build/{cjs/types → esm}/components/Code/Code.d.ts +5 -5
- package/build/esm/{types/components → components}/Code/Copy.d.ts +0 -0
- package/build/esm/{types/components → components}/Code/Endpoint.d.ts +0 -0
- package/build/esm/{types/components → components}/Code/index.d.ts +0 -0
- package/build/esm/{types/components → components}/DocTable.d.ts +0 -0
- package/build/esm/{types/components → components}/DraftEditor.d.ts +2 -1
- package/build/esm/{types/components → components}/Dropdown/Dropdown.d.ts +2 -2
- package/build/{cjs/types → esm}/components/Dropdown/DropdownUtils.d.ts +7 -7
- package/build/esm/{types/components → components}/Dropdown/index.d.ts +0 -0
- package/build/esm/{types/components → components}/Form.d.ts +6 -5
- package/build/esm/{types/components → components}/FormControl.d.ts +1 -1
- package/build/esm/{types/components → components}/Grid.d.ts +2 -2
- package/build/{cjs/types → esm}/components/Icon/Icon.d.ts +4 -4
- package/build/{cjs/types → esm}/components/Icon/icons.d.ts +1 -1
- package/build/esm/{types/components → components}/Icon/index.d.ts +0 -0
- package/build/{cjs/types → esm}/components/ImageViewer.d.ts +1 -1
- package/build/esm/{types/components → components}/InlineCode.d.ts +0 -0
- package/build/esm/{types/components → components}/Input.d.ts +10 -10
- package/build/{cjs/types → esm}/components/InputHelpers.d.ts +1 -1
- package/build/{cjs/types → esm}/components/Label.d.ts +1 -1
- package/build/{cjs/types → esm}/components/Menu.d.ts +3 -3
- package/build/{cjs/types → esm}/components/Message.d.ts +1 -1
- package/build/esm/{types/components → components}/MessageHr.d.ts +0 -0
- package/build/esm/{types/components → components}/Modal.d.ts +1 -1
- package/build/{cjs/types → esm}/components/MultiSelect.d.ts +6 -4
- package/build/esm/{types/components → components}/Notification.d.ts +0 -0
- package/build/esm/{types/components → components}/Options.d.ts +2 -2
- package/build/esm/{types/components → components}/Pagination.d.ts +1 -1
- package/build/{cjs/types → esm}/components/PieChart.d.ts +2 -2
- package/build/{cjs/types → esm}/components/Progress/CirclePercent.d.ts +1 -1
- package/build/esm/{types/components → components}/Progress/Progress.d.ts +2 -2
- package/build/esm/{types/components → components}/Progress/index.d.ts +0 -0
- package/build/esm/{types/components → components}/Radio.d.ts +1 -1
- package/build/esm/{types/components → components}/Slider.d.ts +1 -1
- package/build/esm/{types/components → components}/Spacer.d.ts +0 -0
- package/build/{cjs/types → esm}/components/Spinner.d.ts +1 -1
- package/build/esm/{types/components → components}/Table/Body.d.ts +1 -1
- package/build/{cjs/types → esm}/components/Table/Column.d.ts +1 -1
- package/build/esm/{types/components → components}/Table/Content.d.ts +0 -0
- package/build/esm/{types/components → components}/Table/Header.d.ts +0 -0
- package/build/esm/{types/components → components}/Table/HeaderCell.d.ts +1 -1
- package/build/esm/{types/components → components}/Table/Row.d.ts +0 -0
- package/build/esm/{types/components → components}/Table/Table.d.ts +0 -0
- package/build/esm/{types/components → components}/Table/context.d.ts +0 -0
- package/build/esm/{types/components → components}/Table/index.d.ts +0 -0
- package/build/esm/components/Table/types.d.ts +40 -0
- package/build/esm/{types/components → components}/Table/utils.d.ts +0 -0
- package/build/{cjs/types → esm}/components/Toggle.d.ts +1 -1
- package/build/{cjs/types → esm}/components/Tooltip.d.ts +2 -2
- package/build/esm/{types/components → components}/TransferList.d.ts +5 -5
- package/build/esm/{types/components → components}/draftUtils.d.ts +0 -0
- package/build/{cjs/types → esm}/components/helpers/getIcon.d.ts +2 -2
- package/build/{cjs/types → esm}/components/types.d.ts +13 -13
- package/build/{cjs/types → esm}/global-styles/ResetStyles.d.ts +1 -1
- package/build/esm/{types/global-styles → global-styles}/ScrollbarStyles.d.ts +0 -0
- package/build/esm/{types/global-styles → global-styles}/ToastStyles.d.ts +0 -0
- package/build/esm/{types/global-styles → global-styles}/index.d.ts +0 -0
- package/build/esm/{types/hooks → hooks}/index.d.ts +0 -0
- package/build/esm/{types/hooks → hooks}/useConfirm.d.ts +1 -1
- package/build/esm/{types/hooks → hooks}/useEventListener.d.ts +0 -0
- package/build/esm/{types/hooks → hooks}/useOnClickOutside.d.ts +0 -0
- package/build/esm/{types/hooks → hooks}/useSelect.d.ts +1 -1
- package/build/{cjs/types → esm}/hooks/useSelectAll.d.ts +1 -1
- package/build/esm/{types/hooks → hooks}/useWindowSize.d.ts +0 -0
- package/build/esm/{types/index.d.ts → index.d.ts} +0 -0
- package/build/esm/index.js +8 -8
- package/build/esm/index.js.map +1 -1
- package/build/esm/{types/theme → theme}/ThemeTypes.d.ts +4 -4
- package/build/{cjs/types → esm}/theme/colors.d.ts +1 -1
- package/build/esm/{types/theme → theme}/common/button.d.ts +0 -0
- package/build/esm/{types/theme → theme}/common/common.d.ts +0 -0
- package/build/esm/{types/theme → theme}/common/index.d.ts +0 -0
- package/build/esm/{types/theme → theme}/dark.d.ts +0 -0
- package/build/{cjs/types → esm}/theme/index.d.ts +1 -1
- package/build/esm/{types/theme → theme}/light.d.ts +0 -0
- package/build/esm/{types/utils → utils}/chunk.d.ts +0 -0
- package/build/esm/{types/utils → utils}/copyToClipboard.d.ts +0 -0
- package/build/esm/{types/utils → utils}/formatDate.d.ts +2 -2
- package/build/esm/{types/utils → utils}/index.d.ts +0 -0
- package/build/esm/{types/utils → utils}/range.d.ts +0 -0
- package/build/index.d.ts +124 -120
- package/package.json +47 -47
- package/build/cjs/types/components/Table/types.d.ts +0 -40
- package/build/esm/types/components/Table/types.d.ts +0 -40
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FormEvent, HTMLProps, ReactNode } from 'react';
|
|
2
2
|
import { GridProps } from './Grid';
|
|
3
|
-
|
|
3
|
+
type FormProps = {
|
|
4
4
|
children?: ReactNode;
|
|
5
5
|
/** The function to be run after the form is submitted */
|
|
6
6
|
onSubmit?: (event: FormEvent) => void;
|
|
@@ -43,7 +43,7 @@ declare const Form: {
|
|
|
43
43
|
} & Omit<HTMLProps<HTMLInputElement>, "as" | "onChange"> & import("./types").As & {
|
|
44
44
|
phone?: undefined;
|
|
45
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" | "
|
|
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
47
|
phone?: undefined;
|
|
48
48
|
onChange?: ((event: import("react").ChangeEvent<HTMLInputElement>) => void) | undefined;
|
|
49
49
|
}> | Pick<{
|
|
@@ -78,7 +78,7 @@ declare const Form: {
|
|
|
78
78
|
} & Omit<HTMLProps<HTMLInputElement>, "as" | "onChange"> & import("./types").As & {
|
|
79
79
|
phone: true;
|
|
80
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" | "
|
|
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
82
|
phone: true;
|
|
83
83
|
onChange?: ((event: import("react").ChangeEvent<HTMLInputElement>, formatted: string, raw: string) => void) | undefined;
|
|
84
84
|
}>) & import("react").RefAttributes<import("./types").InputRef>>;
|
|
@@ -86,6 +86,7 @@ declare const Form: {
|
|
|
86
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
87
|
children?: ReactNode;
|
|
88
88
|
onChange?: ((item: OptionType | null) => void) | undefined;
|
|
89
|
+
/** Disables pointer events and reduces the opacity of the Group's contents */
|
|
89
90
|
onTextChange?: ((text: string) => void) | undefined;
|
|
90
91
|
value?: string | number | undefined;
|
|
91
92
|
afterShow?: (() => void) | undefined;
|
|
@@ -156,12 +157,12 @@ declare const Form: {
|
|
|
156
157
|
disabled?: boolean | undefined;
|
|
157
158
|
} & import("./types").Margin) => JSX.Element;
|
|
158
159
|
};
|
|
159
|
-
|
|
160
|
+
type FormGroupProps = {
|
|
160
161
|
/** Disables pointer events and reduces the opacity of the Group's contents */
|
|
161
162
|
disabled?: boolean;
|
|
162
163
|
children?: ReactNode;
|
|
163
164
|
} & GridProps;
|
|
164
|
-
|
|
165
|
+
type FieldProps = {
|
|
165
166
|
/** Sets the flexDirection of the Field to 'row' instead of 'column' */
|
|
166
167
|
inline?: boolean;
|
|
167
168
|
/** Sets the vertical alignment of the Field's contents */
|
|
@@ -15,4 +15,4 @@ export declare const ControlLabel: import("@emotion/styled").StyledComponent<{
|
|
|
15
15
|
theme?: import("@emotion/react").Theme | undefined;
|
|
16
16
|
as?: import("react").ElementType<any> | undefined;
|
|
17
17
|
} & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
18
|
-
export
|
|
18
|
+
export type CheckboxAttributes = Omit<HTMLProps<HTMLInputElement>, 'onChange'>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { StyledComponent } from '@emotion/styled';
|
|
3
3
|
import { MarginPadding, WidthHeight } from './types';
|
|
4
|
-
export
|
|
4
|
+
export type GridProps = {
|
|
5
5
|
/** If a number, rows creates n number rows of an equal size. If a string, rows sets the gridTemplateRows property */
|
|
6
6
|
rows?: string | number;
|
|
7
7
|
/** The amount of pixels between each row */
|
|
@@ -24,7 +24,7 @@ export declare type GridProps = {
|
|
|
24
24
|
justifyItems?: string;
|
|
25
25
|
children?: ReactNode;
|
|
26
26
|
} & WidthHeight & MarginPadding;
|
|
27
|
-
|
|
27
|
+
type ItemProps = {
|
|
28
28
|
/** Sets the gridRow property */
|
|
29
29
|
row?: number;
|
|
30
30
|
/** Sets the gridRowStart property */
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HTMLProps, ReactNode } from 'react';
|
|
2
2
|
import { IconNames } from './icons';
|
|
3
3
|
import { As, MarginPadding } from '../types';
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
export type Sizes = number | 'small' | 'medium' | 'large';
|
|
5
|
+
type DivAttributes = Omit<HTMLProps<HTMLDivElement>, 'size'>;
|
|
6
|
+
type ConditionalProps = {
|
|
7
7
|
/** Name of the specific icon to use */
|
|
8
8
|
name: IconNames;
|
|
9
9
|
svg?: never;
|
|
@@ -12,7 +12,7 @@ declare type ConditionalProps = {
|
|
|
12
12
|
svg: ReactNode | (() => JSX.Element);
|
|
13
13
|
name?: never;
|
|
14
14
|
};
|
|
15
|
-
export
|
|
15
|
+
export type IconProps = {
|
|
16
16
|
/** Sets the width and height of the icon */
|
|
17
17
|
size?: Sizes;
|
|
18
18
|
/** Sets the width of the icon */
|
|
File without changes
|
|
File without changes
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { ChangeEvent, MutableRefObject, MouseEvent, HTMLProps } from 'react';
|
|
2
2
|
import { As, InputFocusEvent, InputRef, Margin } from './types';
|
|
3
3
|
import { IconType } from './helpers/getIcon';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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
8
|
/** Auto-formats the input to a US phone number */
|
|
9
9
|
phone?: never;
|
|
10
10
|
/** A callback function that is run upon changing the contents of the input */
|
|
11
11
|
onChange?: OnChangeDefault;
|
|
12
12
|
};
|
|
13
|
-
|
|
13
|
+
type Phone = {
|
|
14
14
|
phone: true;
|
|
15
15
|
onChange?: OnChangePhone;
|
|
16
16
|
};
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
export
|
|
17
|
+
type InputTypes = Default | Phone;
|
|
18
|
+
type DefaultInputProps = Omit<HTMLProps<HTMLInputElement>, 'onChange' | 'as'> & As;
|
|
19
|
+
export type InputProps = {
|
|
20
20
|
/** The id of the input element */
|
|
21
21
|
id?: string;
|
|
22
22
|
/** Places a label element above the input. The value will set the text of the label */
|
|
@@ -131,7 +131,7 @@ declare const Input: import("react").ForwardRefExoticComponent<(Pick<{
|
|
|
131
131
|
onClick?: ((event?: MouseEvent) => void) | undefined;
|
|
132
132
|
/** A callback function that is run upon clicking the clear icon */
|
|
133
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" | "
|
|
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
135
|
/** The id of the input element */
|
|
136
136
|
id?: string | undefined;
|
|
137
137
|
/** Places a label element above the input. The value will set the text of the label */
|
|
@@ -188,5 +188,5 @@ declare const Input: import("react").ForwardRefExoticComponent<(Pick<{
|
|
|
188
188
|
onClick?: ((event?: MouseEvent) => void) | undefined;
|
|
189
189
|
/** A callback function that is run upon clicking the clear icon */
|
|
190
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" | "
|
|
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
192
|
export default Input;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Margin, ThemeProp, InputFocusEvent } from './types';
|
|
3
|
-
|
|
3
|
+
type FocusCallBack = (event?: InputFocusEvent) => void;
|
|
4
4
|
export declare const useInputFocus: (onFocus?: FocusCallBack, onBlur?: FocusCallBack, focusCondition?: boolean) => {
|
|
5
5
|
focused: boolean;
|
|
6
6
|
handleFocus: (event?: InputFocusEvent) => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { Margin } from './types';
|
|
3
3
|
import { IconType } from './helpers/getIcon';
|
|
4
|
-
|
|
4
|
+
type LabelProps = {
|
|
5
5
|
children?: ReactNode;
|
|
6
6
|
/** The name of the icon that should appear on the left side of the input */
|
|
7
7
|
iconLeft?: IconType;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MouseEvent, ReactNode } from 'react';
|
|
2
2
|
import { Padding, WidthHeight } from './types';
|
|
3
|
-
|
|
3
|
+
type MenuProps = {
|
|
4
4
|
/** Displays the menu as a vertical, stacked menu */
|
|
5
5
|
vertical?: boolean;
|
|
6
6
|
/** If true, a border will be displayed around the menu */
|
|
@@ -30,7 +30,7 @@ declare const Menu: {
|
|
|
30
30
|
Item: ({ vertical, selected, disabled, contentPosition, onClick, id, children, indent }: MenuItemProps) => JSX.Element;
|
|
31
31
|
Group: ({ label, defaultOpen, vertical, selected, disabled, contentPosition, onClick, id, children, indent, backgroundColor, }: MenuGroupProps) => JSX.Element;
|
|
32
32
|
};
|
|
33
|
-
|
|
33
|
+
type MenuItemProps = {
|
|
34
34
|
children: ReactNode;
|
|
35
35
|
vertical?: boolean;
|
|
36
36
|
/** The id of the Menu Item */
|
|
@@ -45,7 +45,7 @@ declare type MenuItemProps = {
|
|
|
45
45
|
onClick: (event: MouseEvent) => void;
|
|
46
46
|
indent?: number;
|
|
47
47
|
};
|
|
48
|
-
|
|
48
|
+
type MenuGroupProps = {
|
|
49
49
|
label: string | ReactNode;
|
|
50
50
|
defaultOpen?: boolean;
|
|
51
51
|
backgroundColor?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { Margin, ThemeProp, Width } from './types';
|
|
3
|
-
|
|
3
|
+
type MessageProps = {
|
|
4
4
|
children?: ReactNode;
|
|
5
5
|
/** Sets the colors and icon of the Message */
|
|
6
6
|
type?: 'info' | 'error' | 'success' | 'warning';
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { ThemeProp } from '../theme';
|
|
3
3
|
import { FlexPosition, Height, Margin, Padding, WidthHeight } from './types';
|
|
4
|
-
|
|
4
|
+
type ModalProps = {
|
|
5
5
|
children: ReactNode;
|
|
6
6
|
/** The selector (id or className) of the app's root element */
|
|
7
7
|
rootSelector?: string;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { DropdownOption, InputProps } from './Dropdown';
|
|
3
3
|
import { Width, Margin } from './types';
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
type DropdownProps = Omit<InputProps, 'children'>;
|
|
5
|
+
type MultiSelectProps = {
|
|
6
6
|
/** The list of dropdown options to display */
|
|
7
7
|
options: DropdownOption[];
|
|
8
8
|
/** The list of selected options */
|
|
9
9
|
items: DropdownOption[];
|
|
10
10
|
/** A function that gives control of the list items to the user */
|
|
11
11
|
children?: (listOpen: boolean, disabled: boolean) => ReactNode;
|
|
12
|
-
/** Text to display in place of the
|
|
12
|
+
/** Text to display in place of the complete list of items */
|
|
13
13
|
listLabel?: string;
|
|
14
14
|
/** Text to display in front of the list of selected items */
|
|
15
15
|
listText?: string;
|
|
@@ -25,6 +25,8 @@ declare type MultiSelectProps = {
|
|
|
25
25
|
restrictInput?: boolean | ((text: string) => boolean);
|
|
26
26
|
/** Disables the Dropdown */
|
|
27
27
|
disabled?: boolean;
|
|
28
|
+
/** Hides the maxItems count and the itemsTitle */
|
|
29
|
+
hideItemsInfo?: boolean;
|
|
28
30
|
/** The selector (id or className) of the element the options should open in relataion to */
|
|
29
31
|
optionsParent?: string;
|
|
30
32
|
/** Causes the MultiSelect to collapse if listLabel is also present */
|
|
@@ -40,5 +42,5 @@ declare type MultiSelectProps = {
|
|
|
40
42
|
/** The function to be called when the input is updated */
|
|
41
43
|
onTextChange?: (text: string) => void;
|
|
42
44
|
} & Width & Margin & DropdownProps;
|
|
43
|
-
declare const MultiSelect: ({ children, options, items, listLabel, listText, itemsTitle, maxItems, placeholder, width, filter, restrictInput, disabled, optionsParent, compact, backgroundColor, borderless, addItem, removeItem, onTextChange, autoFocus, ...props }: MultiSelectProps) => JSX.Element;
|
|
45
|
+
declare const MultiSelect: ({ children, options, items, listLabel, listText, itemsTitle, maxItems, placeholder, width, filter, restrictInput, disabled, hideItemsInfo, optionsParent, compact, backgroundColor, borderless, addItem, removeItem, onTextChange, autoFocus, ...props }: MultiSelectProps) => JSX.Element;
|
|
44
46
|
export default MultiSelect;
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode, MouseEvent, RefObject } from 'react';
|
|
2
2
|
import { FlexPosition, Width } from './types';
|
|
3
|
-
|
|
3
|
+
type OptionsProps = {
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
/** The id of the Options container */
|
|
6
6
|
id?: string;
|
|
@@ -25,7 +25,7 @@ declare const Options: {
|
|
|
25
25
|
({ id, children, containerRef, parentSelector, width, maxHeight, offsetY, offsetX, centerY, centerX, direction, }: OptionsProps): JSX.Element;
|
|
26
26
|
Item({ children, id, onClick, selected, noSelect, contentPosition, color, accented, ...props }: OptionsItemProps): JSX.Element;
|
|
27
27
|
};
|
|
28
|
-
|
|
28
|
+
type OptionsItemProps = {
|
|
29
29
|
children?: ReactNode;
|
|
30
30
|
/** The id of the Option item */
|
|
31
31
|
id?: number | string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Margin, Width } from './types';
|
|
3
|
-
|
|
3
|
+
type PaginationProps = {
|
|
4
4
|
/** The callback function that responds with the active page */
|
|
5
5
|
onPageNav: (page: number) => void;
|
|
6
6
|
/** The number of page items */
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Margin } from './types';
|
|
3
|
-
|
|
3
|
+
type ChartData = {
|
|
4
4
|
name: string;
|
|
5
5
|
value: number;
|
|
6
6
|
color?: string;
|
|
7
7
|
};
|
|
8
|
-
|
|
8
|
+
type Props = {
|
|
9
9
|
/** The chart data array */
|
|
10
10
|
data: ChartData[];
|
|
11
11
|
/** The width & height of the chart */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties as CSS } from 'react';
|
|
2
2
|
import { Margin, WidthHeight } from '../types';
|
|
3
|
-
|
|
3
|
+
type CircleProps = ({
|
|
4
4
|
circle?: false;
|
|
5
5
|
size?: never;
|
|
6
6
|
} & WidthHeight) | {
|
|
@@ -11,7 +11,7 @@ declare type CircleProps = ({
|
|
|
11
11
|
width?: never;
|
|
12
12
|
height?: never;
|
|
13
13
|
};
|
|
14
|
-
|
|
14
|
+
type ProgressProps = {
|
|
15
15
|
/** The percent completed (0-100) */
|
|
16
16
|
percent: number;
|
|
17
17
|
/** The color of the progress bar */
|
|
File without changes
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLProps, ReactNode } from 'react';
|
|
2
2
|
import { Height } from '../types';
|
|
3
|
-
|
|
3
|
+
type BodyProps = {
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
} & Height & HTMLProps<HTMLTableSectionElement>;
|
|
6
6
|
declare const Body: ({ children, height }: BodyProps) => JSX.Element;
|
|
File without changes
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MouseEvent, ReactNode } from 'react';
|
|
2
2
|
import { FlexPosition } from '../types';
|
|
3
3
|
import { SortDir } from './types';
|
|
4
|
-
|
|
4
|
+
type HeaderCellProps = {
|
|
5
5
|
children?: ReactNode;
|
|
6
6
|
/** The flex positioning of the HeaderCell contents */
|
|
7
7
|
contentPosition?: FlexPosition;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|