@wavv/ui 1.8.0-beta.7 → 1.8.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 +8 -8
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/assets/icons/ActivityHistory.d.ts +1 -1
- package/build/cjs/types/assets/icons/Add.d.ts +1 -1
- package/build/cjs/types/assets/icons/AddCircle.d.ts +1 -1
- package/build/cjs/types/assets/icons/AddCircleOutline.d.ts +1 -1
- package/build/cjs/types/assets/icons/AddPerson.d.ts +1 -1
- package/build/cjs/types/assets/icons/ArrowDown.d.ts +1 -1
- package/build/cjs/types/assets/icons/ArrowLeft.d.ts +1 -1
- package/build/cjs/types/assets/icons/ArrowRight.d.ts +1 -1
- package/build/cjs/types/assets/icons/ArrowUp.d.ts +1 -1
- package/build/cjs/types/assets/icons/Attachment.d.ts +1 -1
- package/build/cjs/types/assets/icons/Calendar.d.ts +1 -1
- package/build/cjs/types/assets/icons/Camera.d.ts +1 -1
- package/build/cjs/types/assets/icons/Card.d.ts +1 -1
- package/build/cjs/types/assets/icons/CaretDown.d.ts +1 -1
- package/build/cjs/types/assets/icons/CaretUp.d.ts +1 -1
- package/build/cjs/types/assets/icons/Check.d.ts +1 -1
- package/build/cjs/types/assets/icons/CheckCircle.d.ts +1 -1
- package/build/cjs/types/assets/icons/CheckCircleOutline.d.ts +1 -1
- package/build/cjs/types/assets/icons/Checkbox.d.ts +1 -1
- package/build/cjs/types/assets/icons/CheckboxOff.d.ts +1 -1
- package/build/cjs/types/assets/icons/CheckboxPartial.d.ts +1 -1
- package/build/cjs/types/assets/icons/ChevronDown.d.ts +1 -1
- package/build/cjs/types/assets/icons/ChevronLeft.d.ts +1 -1
- package/build/cjs/types/assets/icons/ChevronRight.d.ts +1 -1
- package/build/cjs/types/assets/icons/ChevronUp.d.ts +1 -1
- package/build/cjs/types/assets/icons/Clapperboard.d.ts +1 -1
- package/build/cjs/types/assets/icons/ClapperboardOpen.d.ts +1 -1
- package/build/cjs/types/assets/icons/Close.d.ts +1 -1
- package/build/cjs/types/assets/icons/CloseCircle.d.ts +1 -1
- package/build/cjs/types/assets/icons/CloseCircleOutline.d.ts +1 -1
- package/build/cjs/types/assets/icons/Copy.d.ts +1 -1
- package/build/cjs/types/assets/icons/Devices.d.ts +1 -1
- package/build/cjs/types/assets/icons/Dialpad.d.ts +1 -1
- package/build/cjs/types/assets/icons/DoubleArrowLeft.d.ts +1 -1
- package/build/cjs/types/assets/icons/DoubleArrowRight.d.ts +1 -1
- package/build/cjs/types/assets/icons/Download.d.ts +1 -1
- package/build/cjs/types/assets/icons/Edit.d.ts +1 -1
- package/build/cjs/types/assets/icons/Emoji.d.ts +1 -1
- package/build/cjs/types/assets/icons/EyeOff.d.ts +1 -1
- package/build/cjs/types/assets/icons/EyeOn.d.ts +1 -1
- package/build/cjs/types/assets/icons/Facebook.d.ts +1 -1
- package/build/cjs/types/assets/icons/Filter.d.ts +1 -1
- package/build/cjs/types/assets/icons/Flask.d.ts +1 -1
- package/build/cjs/types/assets/icons/Group.d.ts +1 -1
- package/build/cjs/types/assets/icons/Heart.d.ts +1 -1
- package/build/cjs/types/assets/icons/HeartOutline.d.ts +1 -1
- package/build/cjs/types/assets/icons/Help.d.ts +1 -1
- package/build/cjs/types/assets/icons/Hourglass.d.ts +1 -1
- package/build/cjs/types/assets/icons/Info.d.ts +1 -1
- package/build/cjs/types/assets/icons/Instagram.d.ts +1 -1
- package/build/cjs/types/assets/icons/KebabMenu.d.ts +1 -1
- package/build/cjs/types/assets/icons/Link.d.ts +1 -1
- package/build/cjs/types/assets/icons/Linkedin.d.ts +1 -1
- package/build/cjs/types/assets/icons/Loading.d.ts +1 -1
- package/build/cjs/types/assets/icons/Maximize.d.ts +1 -1
- package/build/cjs/types/assets/icons/Menu.d.ts +1 -1
- package/build/cjs/types/assets/icons/MergeField.d.ts +1 -1
- package/build/cjs/types/assets/icons/Message.d.ts +1 -1
- package/build/cjs/types/assets/icons/Mic.d.ts +1 -1
- package/build/cjs/types/assets/icons/MicOff.d.ts +1 -1
- package/build/cjs/types/assets/icons/Minimize.d.ts +1 -1
- package/build/cjs/types/assets/icons/Mobile.d.ts +1 -1
- package/build/cjs/types/assets/icons/NotAllowed.d.ts +1 -1
- package/build/cjs/types/assets/icons/Open.d.ts +1 -1
- package/build/cjs/types/assets/icons/Pause.d.ts +1 -1
- package/build/cjs/types/assets/icons/PauseOutline.d.ts +1 -1
- package/build/cjs/types/assets/icons/Person.d.ts +1 -1
- package/build/cjs/types/assets/icons/Phone.d.ts +1 -1
- package/build/cjs/types/assets/icons/PhoneBlocked.d.ts +1 -1
- package/build/cjs/types/assets/icons/PhoneEnd.d.ts +1 -1
- package/build/cjs/types/assets/icons/PhoneHistory.d.ts +1 -1
- package/build/cjs/types/assets/icons/PhoneTalk.d.ts +1 -1
- package/build/cjs/types/assets/icons/Play.d.ts +1 -1
- package/build/cjs/types/assets/icons/PlayOutline.d.ts +1 -1
- package/build/cjs/types/assets/icons/ProfileUser.d.ts +1 -1
- package/build/cjs/types/assets/icons/RadioButton.d.ts +1 -1
- package/build/cjs/types/assets/icons/RadioButtonOff.d.ts +1 -1
- package/build/cjs/types/assets/icons/Record.d.ts +1 -1
- package/build/cjs/types/assets/icons/Refresh.d.ts +1 -1
- package/build/cjs/types/assets/icons/Rocket.d.ts +1 -1
- package/build/cjs/types/assets/icons/Schedule.d.ts +1 -1
- package/build/cjs/types/assets/icons/ScheduleOutline.d.ts +1 -1
- package/build/cjs/types/assets/icons/Screenshot.d.ts +1 -1
- package/build/cjs/types/assets/icons/Search.d.ts +1 -1
- package/build/cjs/types/assets/icons/Settings.d.ts +1 -1
- package/build/cjs/types/assets/icons/Share.d.ts +1 -1
- package/build/cjs/types/assets/icons/ShieldCheck.d.ts +1 -1
- package/build/cjs/types/assets/icons/ShieldSlash.d.ts +1 -1
- package/build/cjs/types/assets/icons/Sort.d.ts +1 -1
- package/build/cjs/types/assets/icons/Spotify.d.ts +1 -1
- package/build/cjs/types/assets/icons/Star.d.ts +1 -1
- package/build/cjs/types/assets/icons/StarOutline.d.ts +1 -1
- package/build/cjs/types/assets/icons/Stop.d.ts +1 -1
- package/build/cjs/types/assets/icons/StopOutline.d.ts +1 -1
- package/build/cjs/types/assets/icons/Template.d.ts +1 -1
- package/build/cjs/types/assets/icons/ToggleOff.d.ts +1 -1
- package/build/cjs/types/assets/icons/ToggleOn.d.ts +1 -1
- package/build/cjs/types/assets/icons/Trash.d.ts +1 -1
- package/build/cjs/types/assets/icons/Twitter.d.ts +1 -1
- package/build/cjs/types/assets/icons/Upload.d.ts +1 -1
- package/build/cjs/types/assets/icons/Video.d.ts +1 -1
- package/build/cjs/types/assets/icons/Voicemail.d.ts +1 -1
- package/build/cjs/types/assets/icons/VolOn.d.ts +1 -1
- package/build/cjs/types/assets/icons/Warning.d.ts +1 -1
- package/build/cjs/types/assets/icons/WarningCircleOutline.d.ts +1 -1
- package/build/cjs/types/assets/icons/Youtube.d.ts +1 -1
- package/build/cjs/types/components/Accordion.d.ts +2 -2
- package/build/cjs/types/components/BarChart.d.ts +1 -2
- package/build/cjs/types/components/Button/Button.d.ts +2 -2
- package/build/cjs/types/components/Button/ButtonLoader.d.ts +1 -2
- package/build/cjs/types/components/Button/ButtonTypes.d.ts +4 -0
- package/build/cjs/types/components/Button/Group.d.ts +1 -1
- package/build/cjs/types/components/Calendar.d.ts +1 -2
- package/build/cjs/types/components/ChartHelpers.d.ts +4 -4
- package/build/cjs/types/components/Checkbox.d.ts +1 -2
- package/build/cjs/types/components/Code/Code.d.ts +1 -2
- package/build/cjs/types/components/Code/Copy.d.ts +1 -2
- package/build/cjs/types/components/Code/Endpoint.d.ts +1 -2
- package/build/cjs/types/components/Dropdown/Dropdown.d.ts +13 -8
- package/build/cjs/types/components/Dropdown/DropdownUtils.d.ts +1 -1
- package/build/cjs/types/components/DropdownMenu.d.ts +9 -7
- package/build/cjs/types/components/Form.d.ts +18 -16
- package/build/cjs/types/components/Icon/Icon.d.ts +1 -1
- package/build/cjs/types/components/Icon/icons.d.ts +5 -5
- package/build/cjs/types/components/ImageViewer.d.ts +1 -2
- package/build/cjs/types/components/Input.d.ts +8 -8
- package/build/cjs/types/components/InputHelpers.d.ts +3 -3
- package/build/cjs/types/components/Label.d.ts +1 -1
- package/build/cjs/types/components/LineChart.d.ts +1 -2
- package/build/cjs/types/components/Menu.d.ts +3 -3
- package/build/cjs/types/components/Message.d.ts +1 -1
- package/build/cjs/types/components/MessageHr.d.ts +1 -2
- package/build/cjs/types/components/MultiSelect.d.ts +4 -4
- package/build/cjs/types/components/Options.d.ts +2 -2
- package/build/cjs/types/components/Pagination.d.ts +1 -2
- package/build/cjs/types/components/PieChart.d.ts +1 -2
- package/build/cjs/types/components/Progress/CirclePercent.d.ts +1 -1
- package/build/cjs/types/components/Progress/Progress.d.ts +1 -1
- package/build/cjs/types/components/Radio.d.ts +1 -1
- package/build/cjs/types/components/Slider.d.ts +1 -2
- package/build/cjs/types/components/Spinner.d.ts +1 -2
- package/build/cjs/types/components/Table/Body.d.ts +1 -1
- package/build/cjs/types/components/Table/Column.d.ts +1 -1
- package/build/cjs/types/components/Table/Header.d.ts +5 -2
- package/build/cjs/types/components/Table/HeaderCell.d.ts +1 -1
- package/build/cjs/types/components/Table/Row.d.ts +1 -2
- package/build/cjs/types/components/Table/Table.d.ts +13 -6
- package/build/cjs/types/components/Table/types.d.ts +8 -5
- package/build/cjs/types/components/Table/utils.d.ts +2 -2
- package/build/cjs/types/components/Toggle.d.ts +1 -2
- package/build/cjs/types/components/Tooltip.d.ts +1 -1
- package/build/cjs/types/components/TransferList.d.ts +1 -1
- package/build/cjs/types/components/types.d.ts +1 -0
- package/build/cjs/types/global-styles/ResetStyles.d.ts +1 -2
- package/build/cjs/types/global-styles/ScrollbarStyles.d.ts +1 -2
- package/build/cjs/types/global-styles/ToastStyles.d.ts +1 -2
- package/build/cjs/types/hooks/useConfirm.d.ts +1 -2
- package/build/cjs/types/index.d.ts +1 -1
- package/build/esm/index.js +8 -8
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/assets/icons/ActivityHistory.d.ts +1 -1
- package/build/esm/types/assets/icons/Add.d.ts +1 -1
- package/build/esm/types/assets/icons/AddCircle.d.ts +1 -1
- package/build/esm/types/assets/icons/AddCircleOutline.d.ts +1 -1
- package/build/esm/types/assets/icons/AddPerson.d.ts +1 -1
- package/build/esm/types/assets/icons/ArrowDown.d.ts +1 -1
- package/build/esm/types/assets/icons/ArrowLeft.d.ts +1 -1
- package/build/esm/types/assets/icons/ArrowRight.d.ts +1 -1
- package/build/esm/types/assets/icons/ArrowUp.d.ts +1 -1
- package/build/esm/types/assets/icons/Attachment.d.ts +1 -1
- package/build/esm/types/assets/icons/Calendar.d.ts +1 -1
- package/build/esm/types/assets/icons/Camera.d.ts +1 -1
- package/build/esm/types/assets/icons/Card.d.ts +1 -1
- package/build/esm/types/assets/icons/CaretDown.d.ts +1 -1
- package/build/esm/types/assets/icons/CaretUp.d.ts +1 -1
- package/build/esm/types/assets/icons/Check.d.ts +1 -1
- package/build/esm/types/assets/icons/CheckCircle.d.ts +1 -1
- package/build/esm/types/assets/icons/CheckCircleOutline.d.ts +1 -1
- package/build/esm/types/assets/icons/Checkbox.d.ts +1 -1
- package/build/esm/types/assets/icons/CheckboxOff.d.ts +1 -1
- package/build/esm/types/assets/icons/CheckboxPartial.d.ts +1 -1
- package/build/esm/types/assets/icons/ChevronDown.d.ts +1 -1
- package/build/esm/types/assets/icons/ChevronLeft.d.ts +1 -1
- package/build/esm/types/assets/icons/ChevronRight.d.ts +1 -1
- package/build/esm/types/assets/icons/ChevronUp.d.ts +1 -1
- package/build/esm/types/assets/icons/Clapperboard.d.ts +1 -1
- package/build/esm/types/assets/icons/ClapperboardOpen.d.ts +1 -1
- package/build/esm/types/assets/icons/Close.d.ts +1 -1
- package/build/esm/types/assets/icons/CloseCircle.d.ts +1 -1
- package/build/esm/types/assets/icons/CloseCircleOutline.d.ts +1 -1
- package/build/esm/types/assets/icons/Copy.d.ts +1 -1
- package/build/esm/types/assets/icons/Devices.d.ts +1 -1
- package/build/esm/types/assets/icons/Dialpad.d.ts +1 -1
- package/build/esm/types/assets/icons/DoubleArrowLeft.d.ts +1 -1
- package/build/esm/types/assets/icons/DoubleArrowRight.d.ts +1 -1
- package/build/esm/types/assets/icons/Download.d.ts +1 -1
- package/build/esm/types/assets/icons/Edit.d.ts +1 -1
- package/build/esm/types/assets/icons/Emoji.d.ts +1 -1
- package/build/esm/types/assets/icons/EyeOff.d.ts +1 -1
- package/build/esm/types/assets/icons/EyeOn.d.ts +1 -1
- package/build/esm/types/assets/icons/Facebook.d.ts +1 -1
- package/build/esm/types/assets/icons/Filter.d.ts +1 -1
- package/build/esm/types/assets/icons/Flask.d.ts +1 -1
- package/build/esm/types/assets/icons/Group.d.ts +1 -1
- package/build/esm/types/assets/icons/Heart.d.ts +1 -1
- package/build/esm/types/assets/icons/HeartOutline.d.ts +1 -1
- package/build/esm/types/assets/icons/Help.d.ts +1 -1
- package/build/esm/types/assets/icons/Hourglass.d.ts +1 -1
- package/build/esm/types/assets/icons/Info.d.ts +1 -1
- package/build/esm/types/assets/icons/Instagram.d.ts +1 -1
- package/build/esm/types/assets/icons/KebabMenu.d.ts +1 -1
- package/build/esm/types/assets/icons/Link.d.ts +1 -1
- package/build/esm/types/assets/icons/Linkedin.d.ts +1 -1
- package/build/esm/types/assets/icons/Loading.d.ts +1 -1
- package/build/esm/types/assets/icons/Maximize.d.ts +1 -1
- package/build/esm/types/assets/icons/Menu.d.ts +1 -1
- package/build/esm/types/assets/icons/MergeField.d.ts +1 -1
- package/build/esm/types/assets/icons/Message.d.ts +1 -1
- package/build/esm/types/assets/icons/Mic.d.ts +1 -1
- package/build/esm/types/assets/icons/MicOff.d.ts +1 -1
- package/build/esm/types/assets/icons/Minimize.d.ts +1 -1
- package/build/esm/types/assets/icons/Mobile.d.ts +1 -1
- package/build/esm/types/assets/icons/NotAllowed.d.ts +1 -1
- package/build/esm/types/assets/icons/Open.d.ts +1 -1
- package/build/esm/types/assets/icons/Pause.d.ts +1 -1
- package/build/esm/types/assets/icons/PauseOutline.d.ts +1 -1
- package/build/esm/types/assets/icons/Person.d.ts +1 -1
- package/build/esm/types/assets/icons/Phone.d.ts +1 -1
- package/build/esm/types/assets/icons/PhoneBlocked.d.ts +1 -1
- package/build/esm/types/assets/icons/PhoneEnd.d.ts +1 -1
- package/build/esm/types/assets/icons/PhoneHistory.d.ts +1 -1
- package/build/esm/types/assets/icons/PhoneTalk.d.ts +1 -1
- package/build/esm/types/assets/icons/Play.d.ts +1 -1
- package/build/esm/types/assets/icons/PlayOutline.d.ts +1 -1
- package/build/esm/types/assets/icons/ProfileUser.d.ts +1 -1
- package/build/esm/types/assets/icons/RadioButton.d.ts +1 -1
- package/build/esm/types/assets/icons/RadioButtonOff.d.ts +1 -1
- package/build/esm/types/assets/icons/Record.d.ts +1 -1
- package/build/esm/types/assets/icons/Refresh.d.ts +1 -1
- package/build/esm/types/assets/icons/Rocket.d.ts +1 -1
- package/build/esm/types/assets/icons/Schedule.d.ts +1 -1
- package/build/esm/types/assets/icons/ScheduleOutline.d.ts +1 -1
- package/build/esm/types/assets/icons/Screenshot.d.ts +1 -1
- package/build/esm/types/assets/icons/Search.d.ts +1 -1
- package/build/esm/types/assets/icons/Settings.d.ts +1 -1
- package/build/esm/types/assets/icons/Share.d.ts +1 -1
- package/build/esm/types/assets/icons/ShieldCheck.d.ts +1 -1
- package/build/esm/types/assets/icons/ShieldSlash.d.ts +1 -1
- package/build/esm/types/assets/icons/Sort.d.ts +1 -1
- package/build/esm/types/assets/icons/Spotify.d.ts +1 -1
- package/build/esm/types/assets/icons/Star.d.ts +1 -1
- package/build/esm/types/assets/icons/StarOutline.d.ts +1 -1
- package/build/esm/types/assets/icons/Stop.d.ts +1 -1
- package/build/esm/types/assets/icons/StopOutline.d.ts +1 -1
- package/build/esm/types/assets/icons/Template.d.ts +1 -1
- package/build/esm/types/assets/icons/ToggleOff.d.ts +1 -1
- package/build/esm/types/assets/icons/ToggleOn.d.ts +1 -1
- package/build/esm/types/assets/icons/Trash.d.ts +1 -1
- package/build/esm/types/assets/icons/Twitter.d.ts +1 -1
- package/build/esm/types/assets/icons/Upload.d.ts +1 -1
- package/build/esm/types/assets/icons/Video.d.ts +1 -1
- package/build/esm/types/assets/icons/Voicemail.d.ts +1 -1
- package/build/esm/types/assets/icons/VolOn.d.ts +1 -1
- package/build/esm/types/assets/icons/Warning.d.ts +1 -1
- package/build/esm/types/assets/icons/WarningCircleOutline.d.ts +1 -1
- package/build/esm/types/assets/icons/Youtube.d.ts +1 -1
- package/build/esm/types/components/Accordion.d.ts +2 -2
- package/build/esm/types/components/BarChart.d.ts +1 -2
- package/build/esm/types/components/Button/Button.d.ts +2 -2
- package/build/esm/types/components/Button/ButtonLoader.d.ts +1 -2
- package/build/esm/types/components/Button/ButtonTypes.d.ts +4 -0
- package/build/esm/types/components/Button/Group.d.ts +1 -1
- package/build/esm/types/components/Calendar.d.ts +1 -2
- package/build/esm/types/components/ChartHelpers.d.ts +4 -4
- package/build/esm/types/components/Checkbox.d.ts +1 -2
- package/build/esm/types/components/Code/Code.d.ts +1 -2
- package/build/esm/types/components/Code/Copy.d.ts +1 -2
- package/build/esm/types/components/Code/Endpoint.d.ts +1 -2
- package/build/esm/types/components/Dropdown/Dropdown.d.ts +13 -8
- package/build/esm/types/components/Dropdown/DropdownUtils.d.ts +1 -1
- package/build/esm/types/components/DropdownMenu.d.ts +9 -7
- package/build/esm/types/components/Form.d.ts +18 -16
- package/build/esm/types/components/Icon/Icon.d.ts +1 -1
- package/build/esm/types/components/Icon/icons.d.ts +5 -5
- package/build/esm/types/components/ImageViewer.d.ts +1 -2
- package/build/esm/types/components/Input.d.ts +8 -8
- package/build/esm/types/components/InputHelpers.d.ts +3 -3
- package/build/esm/types/components/Label.d.ts +1 -1
- package/build/esm/types/components/LineChart.d.ts +1 -2
- package/build/esm/types/components/Menu.d.ts +3 -3
- package/build/esm/types/components/Message.d.ts +1 -1
- package/build/esm/types/components/MessageHr.d.ts +1 -2
- package/build/esm/types/components/MultiSelect.d.ts +4 -4
- package/build/esm/types/components/Options.d.ts +2 -2
- package/build/esm/types/components/Pagination.d.ts +1 -2
- package/build/esm/types/components/PieChart.d.ts +1 -2
- package/build/esm/types/components/Progress/CirclePercent.d.ts +1 -1
- package/build/esm/types/components/Progress/Progress.d.ts +1 -1
- package/build/esm/types/components/Radio.d.ts +1 -1
- package/build/esm/types/components/Slider.d.ts +1 -2
- package/build/esm/types/components/Spinner.d.ts +1 -2
- package/build/esm/types/components/Table/Body.d.ts +1 -1
- package/build/esm/types/components/Table/Column.d.ts +1 -1
- package/build/esm/types/components/Table/Header.d.ts +5 -2
- package/build/esm/types/components/Table/HeaderCell.d.ts +1 -1
- package/build/esm/types/components/Table/Row.d.ts +1 -2
- package/build/esm/types/components/Table/Table.d.ts +13 -6
- package/build/esm/types/components/Table/types.d.ts +8 -5
- package/build/esm/types/components/Table/utils.d.ts +2 -2
- package/build/esm/types/components/Toggle.d.ts +1 -2
- package/build/esm/types/components/Tooltip.d.ts +1 -1
- package/build/esm/types/components/TransferList.d.ts +1 -1
- package/build/esm/types/components/types.d.ts +1 -0
- package/build/esm/types/global-styles/ResetStyles.d.ts +1 -2
- package/build/esm/types/global-styles/ScrollbarStyles.d.ts +1 -2
- package/build/esm/types/global-styles/ToastStyles.d.ts +1 -2
- package/build/esm/types/hooks/useConfirm.d.ts +1 -2
- package/build/esm/types/index.d.ts +1 -1
- package/build/index.d.ts +207 -187
- package/package.json +8 -10
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
declare function WarningCircleOutline(props: React.SVGProps<SVGSVGElement>): JSX.Element;
|
|
2
|
+
declare function WarningCircleOutline(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default WarningCircleOutline;
|
|
@@ -26,8 +26,8 @@ type AccordionProps = {
|
|
|
26
26
|
height?: number | string;
|
|
27
27
|
} & Margin;
|
|
28
28
|
declare const Accordion: {
|
|
29
|
-
({ children, defaultItem, preventCollapse, triggers, spaced, background, innerBackground, width, maxHeight, height, ...rest }: AccordionProps): JSX.Element;
|
|
30
|
-
Item({ children, id, text, content, trigger, spaced, background, innerBackground }: ItemProps): JSX.Element;
|
|
29
|
+
({ children, defaultItem, preventCollapse, triggers, spaced, background, innerBackground, width, maxHeight, height, ...rest }: AccordionProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
Item({ children, id, text, content, trigger, spaced, background, innerBackground }: ItemProps): import("react/jsx-runtime").JSX.Element;
|
|
31
31
|
};
|
|
32
32
|
type ItemProps = {
|
|
33
33
|
/** The id of the Item */
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ChartProps } from './ChartHelpers';
|
|
3
2
|
type Props = {
|
|
4
3
|
/** Stacks multiple data points within a single bar */
|
|
5
4
|
stacked?: boolean;
|
|
6
5
|
} & ChartProps;
|
|
7
|
-
declare const BarChart: ({ data, legend, keys, stacked, ...rest }: Props) => JSX.Element;
|
|
6
|
+
declare const BarChart: ({ data, legend, keys, stacked, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
export default BarChart;
|
|
@@ -3,7 +3,7 @@ import { Margin } from '../types';
|
|
|
3
3
|
import { BasicButtonProps, ButtonComponentProps } from './ButtonTypes';
|
|
4
4
|
/** Button Component */
|
|
5
5
|
declare const Button: {
|
|
6
|
-
(props: ButtonComponentProps): JSX.Element;
|
|
6
|
+
(props: ButtonComponentProps): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
Group: ({ children, disabled, outline, size, small, large, secondary, negative, positive, caution, collapse, ...props }: {
|
|
8
8
|
children: (import("react").ReactElement<BasicButtonProps | ButtonComponentProps, string | import("react").JSXElementConstructor<any>> | import("react").ReactElement<import("../Tooltip").TooltipProps, string | import("react").JSXElementConstructor<any>>) | (import("react").ReactElement<BasicButtonProps | ButtonComponentProps, string | import("react").JSXElementConstructor<any>> | import("react").ReactElement<import("../Tooltip").TooltipProps, string | import("react").JSXElementConstructor<any>>)[];
|
|
9
9
|
disabled?: boolean | undefined;
|
|
@@ -12,6 +12,6 @@ declare const Button: {
|
|
|
12
12
|
large?: boolean | undefined;
|
|
13
13
|
outline?: boolean | undefined;
|
|
14
14
|
collapse?: boolean | undefined;
|
|
15
|
-
} & import("./ButtonTypes").ButtonStyles & Margin & import("../types").Width) => JSX.Element | null;
|
|
15
|
+
} & import("./ButtonTypes").ButtonStyles & Margin & import("../types").Width) => import("react/jsx-runtime").JSX.Element | null;
|
|
16
16
|
};
|
|
17
17
|
export default Button;
|
|
@@ -113,6 +113,10 @@ export type ButtonDropdownProps = {
|
|
|
113
113
|
direction?: 'top' | 'bottom';
|
|
114
114
|
afterShow?: () => void;
|
|
115
115
|
afterHide?: () => void;
|
|
116
|
+
/** zIndex of the menu's portal container */
|
|
117
|
+
zIndex?: number;
|
|
118
|
+
/** Enables the page to scroll when the menu is open */
|
|
119
|
+
disableScrollLock?: boolean;
|
|
116
120
|
} & BasicButtonProps;
|
|
117
121
|
export type ButtonComponentProps = {
|
|
118
122
|
/** Sets the text of the button */
|
|
@@ -14,5 +14,5 @@ type GroupProps = {
|
|
|
14
14
|
outline?: boolean;
|
|
15
15
|
collapse?: boolean;
|
|
16
16
|
} & ButtonStyles & Margin & Width;
|
|
17
|
-
declare const Group: ({ children, disabled, outline, size, small, large, secondary, negative, positive, caution, collapse, ...props }: GroupProps) => JSX.Element | null;
|
|
17
|
+
declare const Group: ({ children, disabled, outline, size, small, large, secondary, negative, positive, caution, collapse, ...props }: GroupProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
18
18
|
export default Group;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
type CalendarProps = {
|
|
3
2
|
/** Optional date the initial selected calendar day should be set to. */
|
|
4
3
|
date?: Date;
|
|
@@ -11,5 +10,5 @@ type CalendarProps = {
|
|
|
11
10
|
/** Removes the Calendar's boxShadow */
|
|
12
11
|
noShadow?: boolean;
|
|
13
12
|
};
|
|
14
|
-
declare const Calendar: ({ date, onChange, preventPast, preventFuture, noShadow }: CalendarProps) => JSX.Element;
|
|
13
|
+
declare const Calendar: ({ date, onChange, preventPast, preventFuture, noShadow }: CalendarProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
14
|
export default Calendar;
|
|
@@ -20,17 +20,17 @@ export type ChartProps = {
|
|
|
20
20
|
/** Allows the chart to grow and shrink (default if no explicit width) */
|
|
21
21
|
responsive?: boolean;
|
|
22
22
|
} & Margin & WidthHeight;
|
|
23
|
-
export declare const ChartStyles: () => JSX.Element;
|
|
23
|
+
export declare const ChartStyles: () => import("react/jsx-runtime").JSX.Element;
|
|
24
24
|
export declare const ChartContainer: import("@emotion/styled").StyledComponent<{
|
|
25
25
|
theme?: import("@emotion/react").Theme | undefined;
|
|
26
26
|
as?: import("react").ElementType<any> | undefined;
|
|
27
27
|
} & Margin & import("./types").Width & import("./types").Height & {
|
|
28
28
|
responsive?: boolean | undefined;
|
|
29
29
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
30
|
-
export declare const TooltipContent: ({ active, payload, label }: TooltipProps<number, string>) => JSX.Element | null;
|
|
31
|
-
export declare const Tooltip: () => JSX.Element;
|
|
30
|
+
export declare const TooltipContent: ({ active, payload, label }: TooltipProps<number, string>) => import("react/jsx-runtime").JSX.Element | null;
|
|
31
|
+
export declare const Tooltip: () => import("react/jsx-runtime").JSX.Element;
|
|
32
32
|
export declare const LegendContent: ({ payload, toggleData, }: {
|
|
33
33
|
payload?: Payload[] | undefined;
|
|
34
34
|
toggleData?: ((item: Payload) => void) | undefined;
|
|
35
|
-
}) => JSX.Element;
|
|
35
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
36
36
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { CheckboxAttributes } from './FormControl';
|
|
3
2
|
import { Margin, As } from './types';
|
|
4
3
|
type CheckboxProps = {
|
|
@@ -17,5 +16,5 @@ type CheckboxProps = {
|
|
|
17
16
|
/** The function called with the checkbox value after the checkbox is changed */
|
|
18
17
|
onChange: (val: boolean) => void;
|
|
19
18
|
} & Margin & As & CheckboxAttributes;
|
|
20
|
-
declare const Checkbox: ({ id, label, labelPosition, checked, partial, disabled, onChange, margin, marginTop, marginBottom, marginRight, marginLeft, ...props }: CheckboxProps) => JSX.Element;
|
|
19
|
+
declare const Checkbox: ({ id, label, labelPosition, checked, partial, disabled, onChange, margin, marginTop, marginBottom, marginRight, marginLeft, ...props }: CheckboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
20
|
export default Checkbox;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { Language } from 'prism-react-renderer';
|
|
3
2
|
import { Margin } from '../types';
|
|
4
3
|
type RestLanguage = 'rest-get' | 'rest-post' | 'rest-put' | 'rest-delete' | 'rest-options';
|
|
@@ -23,5 +22,5 @@ type CodeProps = {
|
|
|
23
22
|
/** Hides the line numbers in the code snippet */
|
|
24
23
|
noNumbers?: boolean;
|
|
25
24
|
} & Children & Margin;
|
|
26
|
-
declare const Code: ({ children, code, className: metaData, lang: langProp, lineHighlights: lineHighlightsProp, noNumbers: noNumbersProp, margin, marginTop, marginBottom, marginRight, marginLeft, }: CodeProps) => JSX.Element;
|
|
25
|
+
declare const Code: ({ children, code, className: metaData, lang: langProp, lineHighlights: lineHighlightsProp, noNumbers: noNumbersProp, margin, marginTop, marginBottom, marginRight, marginLeft, }: CodeProps) => import("react/jsx-runtime").JSX.Element;
|
|
27
26
|
export default Code;
|
|
@@ -49,8 +49,18 @@ type DropdownProps<OptionType> = {
|
|
|
49
49
|
id?: string;
|
|
50
50
|
/** Sets the name of the Dropdown input */
|
|
51
51
|
name?: string;
|
|
52
|
+
/** (DEPRECATED! Use the DropdownMenu component instead.) An HTML element/React component to trigger the opening and closing of the dropdown instead of an input */
|
|
53
|
+
trigger?: ReactNode;
|
|
54
|
+
/** Center the Dropdown options vertically with the trigger */
|
|
55
|
+
centerY?: boolean;
|
|
56
|
+
/** Center the Dropdown options horizontally with the trigger */
|
|
57
|
+
centerX?: boolean;
|
|
58
|
+
/** Pixel amount the Dropdown options are offset vertically from the trigger */
|
|
59
|
+
offsetY?: number;
|
|
60
|
+
/** Pixel amount the Dropdown options are offset horizontally from the trigger */
|
|
61
|
+
offsetX?: number;
|
|
52
62
|
/** The direction the options should open in relation to the trigger */
|
|
53
|
-
direction?: 'top' | 'bottom';
|
|
63
|
+
direction?: 'left' | 'right' | 'top' | 'bottom';
|
|
54
64
|
/** Sets the Dropdown fontSize */
|
|
55
65
|
fontSize?: number | string;
|
|
56
66
|
/** Places a description message below the Dropdown */
|
|
@@ -67,14 +77,9 @@ type DropdownProps<OptionType> = {
|
|
|
67
77
|
inputRef?: RefObject<InputRef>;
|
|
68
78
|
/** The selector (id or className) of the element the options should open in relataion to */
|
|
69
79
|
optionsParent?: string;
|
|
70
|
-
/** zIndex of the options container */
|
|
71
|
-
zIndex?: number;
|
|
72
|
-
disableScrollLock?: boolean;
|
|
73
|
-
/** Specify a container element to portal the options content into */
|
|
74
|
-
container?: HTMLElement;
|
|
75
80
|
} & WidthHeight & Margin & RestInputProps;
|
|
76
81
|
declare const Dropdown: {
|
|
77
|
-
<OptionType extends OptionItem>({ 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, direction, fontSize, description, disabled, invalid, search, filter, restrictInput, inputRef, optionsParent,
|
|
78
|
-
Item<OptionType_1 extends OptionItem>({ value, displayText, setValue, close, children, contentPosition, color, accented, onClick, id, }: DropdownItemProps<OptionType_1>): JSX.Element;
|
|
82
|
+
<OptionType extends OptionItem>({ 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 }: DropdownProps<OptionType>): import("react/jsx-runtime").JSX.Element;
|
|
83
|
+
Item<OptionType_1 extends OptionItem>({ value, displayText, setValue, close, children, contentPosition, color, accented, onClick, id, }: DropdownItemProps<OptionType_1>): import("react/jsx-runtime").JSX.Element;
|
|
79
84
|
};
|
|
80
85
|
export default Dropdown;
|
|
@@ -41,7 +41,7 @@ type StatePieces = {
|
|
|
41
41
|
};
|
|
42
42
|
type FilterState = Omit<StatePieces, 'selected'>;
|
|
43
43
|
export declare const getFilteredOptions: <OptionType extends OptionItem>(options: OptionType[], state: FilterState) => OptionType[];
|
|
44
|
-
export declare const getOptionsFromArray: <OptionType extends OptionItem>(options: OptionType[], setValue: SetValueFunc, toggle: toggleFunc, state: FilterState) => JSX.Element[];
|
|
44
|
+
export declare const getOptionsFromArray: <OptionType extends OptionItem>(options: OptionType[], setValue: SetValueFunc, toggle: toggleFunc, state: FilterState) => import("react/jsx-runtime").JSX.Element[];
|
|
45
45
|
export declare const getOptionsFromChildren: <OptionType extends OptionItem>(children: ReactNode, setValue: SetValueFunc, toggle: toggleFunc) => (React.ReactElement<DropdownItemProps<OptionType>, string | React.JSXElementConstructor<any>> | null)[];
|
|
46
46
|
export declare const getCombinedChildren: <OptionType extends OptionItem>(options: OptionType[], children: ReactNode, setValue: SetValueFunc, toggle: toggleFunc, state: StatePieces) => (React.ReactElement<any, string | React.JSXElementConstructor<any>> | null)[];
|
|
47
47
|
export {};
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { HTMLProps, ReactNode } from 'react';
|
|
2
2
|
import { As, FlexPosition, PopPosition } from './types';
|
|
3
3
|
import { OptionItem } from './Dropdown/DropdownUtils';
|
|
4
|
-
type DivProps = Omit<HTMLProps<HTMLDivElement>, 'as'> & As;
|
|
4
|
+
type DivProps = Omit<HTMLProps<HTMLDivElement>, 'onChange' | 'as'> & As;
|
|
5
5
|
type WithChildren = {
|
|
6
6
|
children: ReactNode;
|
|
7
|
+
onChange?: never;
|
|
7
8
|
};
|
|
8
9
|
type WithOptions<OptionType> = {
|
|
9
10
|
options: OptionType[];
|
|
11
|
+
/** The function called after an option from the options array is selected */
|
|
12
|
+
onChange?: (option: OptionType, event: Event) => void;
|
|
10
13
|
};
|
|
11
14
|
type EitherChildrenOrOptions<OptionType> = WithChildren | WithOptions<OptionType>;
|
|
12
15
|
type DropdownMenuProps<OptionType> = {
|
|
@@ -33,19 +36,18 @@ type DropdownMenuProps<OptionType> = {
|
|
|
33
36
|
container?: HTMLElement;
|
|
34
37
|
/** zIndex of the menu's portal container */
|
|
35
38
|
zIndex?: number;
|
|
39
|
+
/** Enables the page to scroll when the menu is open */
|
|
36
40
|
disableScrollLock?: boolean;
|
|
37
|
-
/** The function called after an option from the options array is selected */
|
|
38
|
-
onOptionSelect?: (option: OptionType, event: Event) => void;
|
|
39
41
|
/** The function called after the menu opens */
|
|
40
42
|
afterShow?: () => void;
|
|
41
43
|
/** The function called after the menu closes */
|
|
42
44
|
afterHide?: () => void;
|
|
43
45
|
} & EitherChildrenOrOptions<OptionType> & DivProps;
|
|
44
46
|
declare const DropdownMenu: {
|
|
45
|
-
<OptionType extends OptionItem>({ children, options, id, position, trigger, open, offset, arrow, width, maxHeight, container, zIndex, disableScrollLock,
|
|
46
|
-
Item: ({ children, id, disabled, onClick, ...props }: ItemProps) => JSX.Element;
|
|
47
|
-
Sub({ children, id, label, zIndex, disabled, container, ...props }: SubProps): JSX.Element;
|
|
48
|
-
Separator(): JSX.Element;
|
|
47
|
+
<OptionType extends OptionItem>({ children, options, id, position, trigger, open, offset, arrow, width, maxHeight, container, zIndex, disableScrollLock, onChange, afterShow, afterHide, ...props }: DropdownMenuProps<OptionType>): import("react/jsx-runtime").JSX.Element;
|
|
48
|
+
Item: ({ children, id, disabled, onClick, ...props }: ItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
49
|
+
Sub({ children, id, label, zIndex, disabled, container, ...props }: SubProps): import("react/jsx-runtime").JSX.Element;
|
|
50
|
+
Separator(): import("react/jsx-runtime").JSX.Element;
|
|
49
51
|
};
|
|
50
52
|
type BaseItemProps = {
|
|
51
53
|
children: ReactNode;
|
|
@@ -6,11 +6,11 @@ type FormProps = {
|
|
|
6
6
|
onSubmit?: (event: FormEvent) => void;
|
|
7
7
|
} & GridProps & HTMLProps<HTMLFormElement>;
|
|
8
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;
|
|
9
|
+
({ children, rows, columns, rowGap, columnGap, onSubmit, ...rest }: FormProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
Group({ children, rows, columns, rowGap, columnGap, disabled, ...rest }: FormGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
Field({ children, inline, align, disabled }: FieldProps & {
|
|
12
12
|
children?: ReactNode;
|
|
13
|
-
}): JSX.Element;
|
|
13
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
Input: import("react").ForwardRefExoticComponent<(Omit<{
|
|
15
15
|
id?: string | undefined;
|
|
16
16
|
label?: string | undefined;
|
|
@@ -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, "ref"> | Omit<{
|
|
46
|
+
} & import("./types").Margin & import("./types").Padding, "ref"> | Omit<{
|
|
47
47
|
id?: string | undefined;
|
|
48
48
|
label?: string | undefined;
|
|
49
49
|
placeholder?: string | undefined;
|
|
@@ -75,9 +75,9 @@ declare const Form: {
|
|
|
75
75
|
} & Omit<HTMLProps<HTMLInputElement>, "as" | "onChange"> & import("./types").As & {
|
|
76
76
|
phone: true;
|
|
77
77
|
onChange?: ((event: import("react").ChangeEvent<HTMLInputElement>, formatted: string, raw: string) => void) | undefined;
|
|
78
|
-
} & import("./types").Margin, "ref">) & import("react").RefAttributes<import("./types").InputRef>>;
|
|
78
|
+
} & import("./types").Margin & import("./types").Padding, "ref">) & import("react").RefAttributes<import("./types").InputRef>>;
|
|
79
79
|
Dropdown: {
|
|
80
|
-
<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, direction, fontSize, description, disabled, invalid, search, filter, restrictInput, inputRef, optionsParent,
|
|
80
|
+
<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 }: {
|
|
81
81
|
children?: ReactNode;
|
|
82
82
|
onChange?: ((item: OptionType | null) => void) | undefined;
|
|
83
83
|
onTextChange?: ((text: string) => void) | undefined;
|
|
@@ -101,7 +101,12 @@ declare const Form: {
|
|
|
101
101
|
label?: string | undefined;
|
|
102
102
|
id?: string | undefined;
|
|
103
103
|
name?: string | undefined;
|
|
104
|
-
|
|
104
|
+
trigger?: ReactNode;
|
|
105
|
+
centerY?: boolean | undefined;
|
|
106
|
+
centerX?: boolean | undefined;
|
|
107
|
+
offsetY?: number | undefined;
|
|
108
|
+
offsetX?: number | undefined;
|
|
109
|
+
direction?: "top" | "bottom" | "right" | "left" | undefined;
|
|
105
110
|
fontSize?: string | number | undefined;
|
|
106
111
|
description?: string | undefined;
|
|
107
112
|
disabled?: boolean | undefined;
|
|
@@ -110,11 +115,8 @@ declare const Form: {
|
|
|
110
115
|
restrictInput?: boolean | ((text: string) => boolean) | undefined;
|
|
111
116
|
inputRef?: import("react").RefObject<import("./types").InputRef> | undefined;
|
|
112
117
|
optionsParent?: string | undefined;
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
container?: HTMLElement | undefined;
|
|
116
|
-
} & import("./types").Width & import("./types").Height & import("./types").Margin & import("./Dropdown").InputProps): JSX.Element;
|
|
117
|
-
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;
|
|
118
|
+
} & import("./types").Width & import("./types").Height & import("./types").Margin & import("./Dropdown").InputProps): import("react/jsx-runtime").JSX.Element;
|
|
119
|
+
Item<OptionType_1 extends import("./Dropdown").DropdownOption>({ value, displayText, setValue, close, children, contentPosition, color, accented, onClick, id, }: import("./Dropdown/DropdownUtils").DropdownItemProps<OptionType_1>): import("react/jsx-runtime").JSX.Element;
|
|
118
120
|
};
|
|
119
121
|
Radio: ({ id, label, labelPosition, checked, disabled, margin, marginTop, marginBottom, marginRight, marginLeft, ...props }: {
|
|
120
122
|
id?: string | undefined;
|
|
@@ -122,7 +124,7 @@ declare const Form: {
|
|
|
122
124
|
labelPosition?: "right" | "left" | undefined;
|
|
123
125
|
disabled?: boolean | undefined;
|
|
124
126
|
checked?: boolean | undefined;
|
|
125
|
-
} & import("./types").Margin & import("./types").As & HTMLProps<HTMLInputElement>) => JSX.Element;
|
|
127
|
+
} & import("./types").Margin & import("./types").As & HTMLProps<HTMLInputElement>) => import("react/jsx-runtime").JSX.Element;
|
|
126
128
|
Toggle: ({ id, label, labelPosition, checked, disabled, onChange, margin, marginTop, marginBottom, marginRight, marginLeft, ...props }: {
|
|
127
129
|
id?: string | undefined;
|
|
128
130
|
label?: string | undefined;
|
|
@@ -130,7 +132,7 @@ declare const Form: {
|
|
|
130
132
|
disabled?: boolean | undefined;
|
|
131
133
|
checked?: boolean | undefined;
|
|
132
134
|
onChange: (val: boolean) => void;
|
|
133
|
-
} & import("./types").Margin & import("./types").As & import("./FormControl").CheckboxAttributes) => JSX.Element;
|
|
135
|
+
} & import("./types").Margin & import("./types").As & import("./FormControl").CheckboxAttributes) => import("react/jsx-runtime").JSX.Element;
|
|
134
136
|
Checkbox: ({ id, label, labelPosition, checked, partial, disabled, onChange, margin, marginTop, marginBottom, marginRight, marginLeft, ...props }: {
|
|
135
137
|
id?: string | undefined;
|
|
136
138
|
label?: string | undefined;
|
|
@@ -139,14 +141,14 @@ declare const Form: {
|
|
|
139
141
|
checked?: boolean | undefined;
|
|
140
142
|
partial?: boolean | undefined;
|
|
141
143
|
onChange: (val: boolean) => void;
|
|
142
|
-
} & import("./types").Margin & import("./types").As & import("./FormControl").CheckboxAttributes) => JSX.Element;
|
|
144
|
+
} & import("./types").Margin & import("./types").As & import("./FormControl").CheckboxAttributes) => import("react/jsx-runtime").JSX.Element;
|
|
143
145
|
Label: ({ children, iconLeft, iconRight, disabled, pill, ...rest }: {
|
|
144
146
|
children?: ReactNode;
|
|
145
147
|
iconLeft?: import("./helpers/getIcon").IconType | undefined; /** The function to be run after the form is submitted */
|
|
146
148
|
iconRight?: import("./helpers/getIcon").IconType | undefined;
|
|
147
149
|
pill?: boolean | undefined;
|
|
148
150
|
disabled?: boolean | undefined;
|
|
149
|
-
} & import("./types").Margin) => JSX.Element;
|
|
151
|
+
} & import("./types").Margin) => import("react/jsx-runtime").JSX.Element;
|
|
150
152
|
};
|
|
151
153
|
type FormGroupProps = {
|
|
152
154
|
/** Disables pointer events and reduces the opacity of the Group's contents */
|
|
@@ -32,5 +32,5 @@ export type IconProps = {
|
|
|
32
32
|
[key: string]: string | number;
|
|
33
33
|
};
|
|
34
34
|
} & ConditionalProps & MarginPadding & As & DivAttributes;
|
|
35
|
-
declare const Icon: ({ name, svg, size, width, height, color, hoverColor, pointer, inheritColor, style, onClick, ...props }: IconProps) => JSX.Element | null;
|
|
35
|
+
declare const Icon: ({ name, svg, size, width, height, color, hoverColor, pointer, inheritColor, style, onClick, ...props }: IconProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
36
36
|
export default Icon;
|
|
@@ -116,7 +116,7 @@ declare const icons: {
|
|
|
116
116
|
card: typeof Card;
|
|
117
117
|
'caret-down': typeof CaretDown;
|
|
118
118
|
'caret-up': typeof CaretUp;
|
|
119
|
-
check: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
119
|
+
check: (props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
120
120
|
'check-circle': typeof CheckCircle;
|
|
121
121
|
'check-circle-outline': typeof CheckCircleOutline;
|
|
122
122
|
checkbox: typeof Checkbox;
|
|
@@ -183,12 +183,12 @@ declare const icons: {
|
|
|
183
183
|
rocket: typeof Rocket;
|
|
184
184
|
schedule: typeof Schedule;
|
|
185
185
|
'schedule-outline': typeof ScheduleOutline;
|
|
186
|
-
screenshot: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
186
|
+
screenshot: (props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
187
187
|
search: typeof Search;
|
|
188
188
|
settings: typeof Settings;
|
|
189
|
-
share: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
190
|
-
'shield-check': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
191
|
-
'shield-slash': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
189
|
+
share: (props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
190
|
+
'shield-check': (props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
191
|
+
'shield-slash': (props: import("react").SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
192
192
|
sort: typeof Sort;
|
|
193
193
|
spotify: typeof Spotify;
|
|
194
194
|
star: typeof Star;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
type ImageViewerProps = {
|
|
3
2
|
/** Controls whether or not the ImageViewer is open */
|
|
4
3
|
visible: boolean;
|
|
@@ -17,5 +16,5 @@ type ImageViewerProps = {
|
|
|
17
16
|
/** The opacity of the ImageViewer background */
|
|
18
17
|
opacity?: number;
|
|
19
18
|
};
|
|
20
|
-
declare const ImageViewer: ({ visible, close, images, startIndex, alt, maxWidth, maxHeight, opacity }: ImageViewerProps) => JSX.Element | null;
|
|
19
|
+
declare const ImageViewer: ({ visible, close, images, startIndex, alt, maxWidth, maxHeight, opacity }: ImageViewerProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
21
20
|
export default ImageViewer;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ChangeEvent,
|
|
2
|
-
import { As, InputFocusEvent, InputRef, Margin } from './types';
|
|
1
|
+
import { ChangeEvent, HTMLProps, MouseEvent, MutableRefObject } from 'react';
|
|
3
2
|
import { IconType } from './helpers/getIcon';
|
|
3
|
+
import { As, InputFocusEvent, InputRef, MarginPadding } from './types';
|
|
4
4
|
type OnClear = () => void;
|
|
5
5
|
type OnChangeDefault = (event: ChangeEvent<HTMLInputElement>) => void;
|
|
6
6
|
type OnChangePhone = (event: ChangeEvent<HTMLInputElement>, formatted: string, raw: string) => void;
|
|
@@ -63,7 +63,7 @@ export type InputProps = {
|
|
|
63
63
|
pointer?: boolean;
|
|
64
64
|
/** Removes the padding from the input */
|
|
65
65
|
textOnly?: boolean;
|
|
66
|
-
/** Adds a search icon to the left of the input and a clear icon and
|
|
66
|
+
/** Adds a search icon to the left of the input and a clear icon and functionality to the right */
|
|
67
67
|
search?: boolean;
|
|
68
68
|
/** Callback run after onFocus event */
|
|
69
69
|
onFocus?: (event?: InputFocusEvent) => void;
|
|
@@ -73,7 +73,7 @@ export type InputProps = {
|
|
|
73
73
|
onClick?: (event?: MouseEvent) => void;
|
|
74
74
|
/** A callback function that is run upon clicking the clear icon */
|
|
75
75
|
onClear?: OnClear;
|
|
76
|
-
} & DefaultInputProps & InputTypes &
|
|
76
|
+
} & DefaultInputProps & InputTypes & MarginPadding;
|
|
77
77
|
declare const Input: import("react").ForwardRefExoticComponent<(Omit<{
|
|
78
78
|
/** The id of the input element */
|
|
79
79
|
id?: string | undefined;
|
|
@@ -121,7 +121,7 @@ declare const Input: import("react").ForwardRefExoticComponent<(Omit<{
|
|
|
121
121
|
pointer?: boolean | undefined;
|
|
122
122
|
/** Removes the padding from the input */
|
|
123
123
|
textOnly?: boolean | undefined;
|
|
124
|
-
/** Adds a search icon to the left of the input and a clear icon and
|
|
124
|
+
/** Adds a search icon to the left of the input and a clear icon and functionality to the right */
|
|
125
125
|
search?: boolean | undefined;
|
|
126
126
|
/** Callback run after onFocus event */
|
|
127
127
|
onFocus?: ((event?: InputFocusEvent) => void) | undefined;
|
|
@@ -131,7 +131,7 @@ declare const Input: import("react").ForwardRefExoticComponent<(Omit<{
|
|
|
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, "ref"> | Omit<{
|
|
134
|
+
} & Omit<HTMLProps<HTMLInputElement>, "as" | "onChange"> & As & Default & import("./types").Margin & import("./types").Padding, "ref"> | Omit<{
|
|
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 */
|
|
@@ -178,7 +178,7 @@ declare const Input: import("react").ForwardRefExoticComponent<(Omit<{
|
|
|
178
178
|
pointer?: boolean | undefined;
|
|
179
179
|
/** Removes the padding from the input */
|
|
180
180
|
textOnly?: boolean | undefined;
|
|
181
|
-
/** Adds a search icon to the left of the input and a clear icon and
|
|
181
|
+
/** Adds a search icon to the left of the input and a clear icon and functionality to the right */
|
|
182
182
|
search?: boolean | undefined;
|
|
183
183
|
/** Callback run after onFocus event */
|
|
184
184
|
onFocus?: ((event?: InputFocusEvent) => void) | undefined;
|
|
@@ -188,5 +188,5 @@ declare const Input: import("react").ForwardRefExoticComponent<(Omit<{
|
|
|
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, "ref">) & import("react").RefAttributes<InputRef>>;
|
|
191
|
+
} & Omit<HTMLProps<HTMLInputElement>, "as" | "onChange"> & As & Phone & import("./types").Margin & import("./types").Padding, "ref">) & import("react").RefAttributes<InputRef>>;
|
|
192
192
|
export default Input;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
2
|
+
import { InputFocusEvent, ThemeProp } 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;
|
|
@@ -22,7 +22,7 @@ export declare const InputContainer: import("@emotion/styled").StyledComponent<{
|
|
|
22
22
|
invalid?: boolean | undefined;
|
|
23
23
|
disabled?: boolean | undefined;
|
|
24
24
|
hasLabel?: boolean | undefined;
|
|
25
|
-
} & import("./types").Width & import("./types").Height & Margin & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
25
|
+
} & import("./types").Width & import("./types").Height & import("./types").Margin & import("./types").Padding & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
26
26
|
export declare const InputWrapper: import("@emotion/styled").StyledComponent<{
|
|
27
27
|
theme?: import("@emotion/react").Theme | undefined;
|
|
28
28
|
as?: import("react").ElementType<any> | undefined;
|
|
@@ -53,7 +53,7 @@ declare const _default: {
|
|
|
53
53
|
invalid?: boolean | undefined;
|
|
54
54
|
disabled?: boolean | undefined;
|
|
55
55
|
hasLabel?: boolean | undefined;
|
|
56
|
-
} & import("./types").Width & import("./types").Height & Margin & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
56
|
+
} & import("./types").Width & import("./types").Height & import("./types").Margin & import("./types").Padding & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
57
57
|
Wrapper: import("@emotion/styled").StyledComponent<{
|
|
58
58
|
theme?: import("@emotion/react").Theme | undefined;
|
|
59
59
|
as?: import("react").ElementType<any> | undefined;
|
|
@@ -12,5 +12,5 @@ type LabelProps = {
|
|
|
12
12
|
/** Reduces the emphasis of the Pill colors */
|
|
13
13
|
disabled?: boolean;
|
|
14
14
|
} & Margin;
|
|
15
|
-
declare const Label: ({ children, iconLeft, iconRight, disabled, pill, ...rest }: LabelProps) => JSX.Element;
|
|
15
|
+
declare const Label: ({ children, iconLeft, iconRight, disabled, pill, ...rest }: LabelProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
export default Label;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ChartProps } from './ChartHelpers';
|
|
3
|
-
declare const LineChart: ({ data, legend, keys, ...rest }: ChartProps) => JSX.Element;
|
|
2
|
+
declare const LineChart: ({ data, legend, keys, ...rest }: ChartProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default LineChart;
|
|
@@ -26,9 +26,9 @@ type MenuProps = {
|
|
|
26
26
|
backgroundColor?: string;
|
|
27
27
|
} & WidthHeight & Padding;
|
|
28
28
|
declare const Menu: {
|
|
29
|
-
({ vertical, width, height, padding, paddingTop, paddingBottom, paddingLeft, paddingRight, border, borderTop, borderBottom, borderLeft, borderRight, borderTopLeftRadius, borderTopRightRadius, borderBottomLeftRadius, borderBottomRightRadius, backgroundColor, children, }: MenuProps): JSX.Element;
|
|
30
|
-
Item: ({ vertical, selected, disabled, contentPosition, onClick, id, children, indent }: MenuItemProps) => JSX.Element;
|
|
31
|
-
Group: ({ label, defaultOpen, vertical, selected, disabled, contentPosition, onClick, id, children, indent, backgroundColor, }: MenuGroupProps) => JSX.Element;
|
|
29
|
+
({ vertical, width, height, padding, paddingTop, paddingBottom, paddingLeft, paddingRight, border, borderTop, borderBottom, borderLeft, borderRight, borderTopLeftRadius, borderTopRightRadius, borderBottomLeftRadius, borderBottomRightRadius, backgroundColor, children, }: MenuProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
Item: ({ vertical, selected, disabled, contentPosition, onClick, id, children, indent }: MenuItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
Group: ({ label, defaultOpen, vertical, selected, disabled, contentPosition, onClick, id, children, indent, backgroundColor, }: MenuGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
32
32
|
};
|
|
33
33
|
type MenuItemProps = {
|
|
34
34
|
children: ReactNode;
|
|
@@ -12,7 +12,7 @@ type MessageProps = {
|
|
|
12
12
|
onClose?: () => void;
|
|
13
13
|
} & Width & Margin;
|
|
14
14
|
declare const Message: {
|
|
15
|
-
({ type, content, closeIcon, onClose, width, margin, marginTop, marginBottom, marginRight, marginLeft, children, }: MessageProps): JSX.Element;
|
|
15
|
+
({ type, content, closeIcon, onClose, width, margin, marginTop, marginBottom, marginRight, marginLeft, children, }: MessageProps): import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
Header: import("@emotion/styled").StyledComponent<{
|
|
17
17
|
theme?: import("@emotion/react").Theme | undefined;
|
|
18
18
|
as?: import("react").ElementType<any> | undefined;
|