@wavv/ui 2.2.1 → 2.2.2-alpha.1
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/apple-touch-icon.png +0 -0
- package/build/{esm/types/components → components}/ChartHelpers.d.ts +5 -6
- package/build/favicon-16x16.png +0 -0
- package/build/favicon-32x32.png +0 -0
- package/build/favicon.ico +0 -0
- package/build/index.d.ts +89 -4016
- package/build/index.js +79 -0
- package/build/manifest.json +15 -0
- package/package.json +15 -9
- package/build/cjs/index.js +0 -11
- package/build/cjs/index.js.map +0 -1
- package/build/cjs/types/components/ChartHelpers.d.ts +0 -46
- package/build/cjs/types/index.d.ts +0 -89
- package/build/esm/index.js +0 -11
- package/build/esm/index.js.map +0 -1
- package/build/esm/types/assets/icons/CaretDown.d.ts +0 -3
- package/build/esm/types/assets/icons/CaretUp.d.ts +0 -3
- package/build/esm/types/assets/icons/Checkbox.d.ts +0 -3
- package/build/esm/types/assets/icons/CheckboxOff.d.ts +0 -3
- package/build/esm/types/assets/icons/CheckboxPartial.d.ts +0 -3
- package/build/esm/types/assets/icons/Dialpad.d.ts +0 -3
- package/build/esm/types/assets/icons/Exclamation.d.ts +0 -3
- package/build/esm/types/assets/icons/Phone.d.ts +0 -3
- package/build/esm/types/assets/icons/PhoneAdd.d.ts +0 -3
- package/build/esm/types/assets/icons/PhoneBlocked.d.ts +0 -3
- package/build/esm/types/assets/icons/PhoneCallback.d.ts +0 -3
- package/build/esm/types/assets/icons/PhoneEnd.d.ts +0 -3
- package/build/esm/types/assets/icons/PhoneForward.d.ts +0 -3
- package/build/esm/types/assets/icons/PhoneHistory.d.ts +0 -3
- package/build/esm/types/assets/icons/PhoneHold.d.ts +0 -3
- package/build/esm/types/assets/icons/PhoneIncoming.d.ts +0 -3
- package/build/esm/types/assets/icons/PhoneMissed.d.ts +0 -3
- package/build/esm/types/assets/icons/PhoneTalk.d.ts +0 -3
- package/build/esm/types/assets/icons/PhoneTransfer.d.ts +0 -3
- package/build/esm/types/assets/icons/RadioButton.d.ts +0 -3
- package/build/esm/types/assets/icons/RadioButtonOff.d.ts +0 -3
- package/build/esm/types/assets/icons/Record.d.ts +0 -3
- package/build/esm/types/assets/icons/Screenshot.d.ts +0 -3
- package/build/esm/types/assets/icons/ShieldWavv.d.ts +0 -3
- package/build/esm/types/assets/icons/Spotify.d.ts +0 -3
- package/build/esm/types/assets/icons/SubArrow.d.ts +0 -3
- package/build/esm/types/assets/icons/ToggleOff.d.ts +0 -3
- package/build/esm/types/assets/icons/ToggleOn.d.ts +0 -3
- package/build/esm/types/assets/icons/TransferCancel.d.ts +0 -3
- package/build/esm/types/components/Accordion/Accordion.d.ts +0 -412
- package/build/esm/types/components/Accordion/Header.d.ts +0 -25
- package/build/esm/types/components/Accordion/Item.d.ts +0 -6
- package/build/esm/types/components/Accordion/Panel.d.ts +0 -10
- package/build/esm/types/components/Accordion/index.d.ts +0 -1
- package/build/esm/types/components/Audio.d.ts +0 -56
- package/build/esm/types/components/BarChart.d.ts +0 -38
- package/build/esm/types/components/Button/Button.d.ts +0 -397
- package/build/esm/types/components/Button/ButtonLoader.d.ts +0 -4
- package/build/esm/types/components/Button/ButtonTypes.d.ts +0 -147
- package/build/esm/types/components/Button/Group.d.ts +0 -21
- package/build/esm/types/components/Button/index.d.ts +0 -1
- package/build/esm/types/components/Calendar.d.ts +0 -11
- package/build/esm/types/components/CalendarParts/CalendarContainerStyles.d.ts +0 -7
- package/build/esm/types/components/CalendarParts/CalendarContent.d.ts +0 -7
- package/build/esm/types/components/CalendarParts/CalendarHeader.d.ts +0 -7
- package/build/esm/types/components/CalendarParts/useMinMax.d.ts +0 -10
- package/build/esm/types/components/CalendarParts/utils.d.ts +0 -4
- package/build/esm/types/components/Checkbox.d.ts +0 -30
- package/build/esm/types/components/Code/Code.d.ts +0 -26
- package/build/esm/types/components/Code/Copy.d.ts +0 -4
- package/build/esm/types/components/Code/Endpoint.d.ts +0 -5
- package/build/esm/types/components/Code/index.d.ts +0 -2
- package/build/esm/types/components/ComboBox.d.ts +0 -20
- package/build/esm/types/components/CommandMenu/CommandItem.d.ts +0 -4
- package/build/esm/types/components/CommandMenu/CommandMenu.d.ts +0 -42
- package/build/esm/types/components/CommandMenu/CommandOptions.d.ts +0 -8
- package/build/esm/types/components/CommandMenu/CommandSection.d.ts +0 -8
- package/build/esm/types/components/CommandMenu/index.d.ts +0 -1
- package/build/esm/types/components/DateRangeSelect.d.ts +0 -19
- package/build/esm/types/components/DocTable.d.ts +0 -6
- package/build/esm/types/components/Dot.d.ts +0 -18
- package/build/esm/types/components/DraftEditor.d.ts +0 -57
- package/build/esm/types/components/Dropdown.d.ts +0 -12
- package/build/esm/types/components/DropdownMenu.d.ts +0 -66
- package/build/esm/types/components/DropdownMenuParts/Menu.d.ts +0 -9
- package/build/esm/types/components/DropdownMenuParts/MenuItem.d.ts +0 -14
- package/build/esm/types/components/DropdownMenuParts/MenuOptions.d.ts +0 -15
- package/build/esm/types/components/DropdownMenuParts/MenuSection.d.ts +0 -8
- package/build/esm/types/components/DropdownSelect.d.ts +0 -17
- package/build/esm/types/components/DynamicIcon.d.ts +0 -23
- package/build/esm/types/components/Editor/Editor.d.ts +0 -85
- package/build/esm/types/components/Editor/EditorStyles.d.ts +0 -21
- package/build/esm/types/components/Editor/MergeFieldExtension.d.ts +0 -3
- package/build/esm/types/components/Editor/RichTextToolbar.d.ts +0 -10
- package/build/esm/types/components/Editor/editorUtils.d.ts +0 -74
- package/build/esm/types/components/Editor/index.d.ts +0 -3
- package/build/esm/types/components/Ellipsis.d.ts +0 -12
- package/build/esm/types/components/Focusable.d.ts +0 -7
- package/build/esm/types/components/Form.d.ts +0 -66
- package/build/esm/types/components/FormControl.d.ts +0 -22
- package/build/esm/types/components/Grid.d.ts +0 -66
- package/build/esm/types/components/Icon/Icon.d.ts +0 -50
- package/build/esm/types/components/Icon/customIcons.d.ts +0 -31
- package/build/esm/types/components/Icon/icons.d.ts +0 -145
- package/build/esm/types/components/Icon/index.d.ts +0 -2
- package/build/esm/types/components/ImageViewer.d.ts +0 -22
- package/build/esm/types/components/InlineCode.d.ts +0 -6
- package/build/esm/types/components/InputHelpers.d.ts +0 -105
- package/build/esm/types/components/Inputs/DatePicker.d.ts +0 -10
- package/build/esm/types/components/Inputs/DateRangePicker.d.ts +0 -11
- package/build/esm/types/components/Inputs/InlineInput.d.ts +0 -5
- package/build/esm/types/components/Inputs/NumberInput.d.ts +0 -10
- package/build/esm/types/components/Inputs/PhoneInput.d.ts +0 -7
- package/build/esm/types/components/Inputs/SearchInput.d.ts +0 -5
- package/build/esm/types/components/Inputs/TextArea.d.ts +0 -7
- package/build/esm/types/components/Inputs/TextInput.d.ts +0 -7
- package/build/esm/types/components/Inputs/TimeInput.d.ts +0 -9
- package/build/esm/types/components/Inputs/helpers/AriaButton.d.ts +0 -6
- package/build/esm/types/components/Inputs/helpers/DateSegment.d.ts +0 -7
- package/build/esm/types/components/Inputs/helpers/Description.d.ts +0 -5
- package/build/esm/types/components/Inputs/helpers/ErrorMessage.d.ts +0 -5
- package/build/esm/types/components/Inputs/helpers/Input.d.ts +0 -12
- package/build/esm/types/components/Inputs/helpers/InputContainerStyles.d.ts +0 -14
- package/build/esm/types/components/Inputs/helpers/InputMessage.d.ts +0 -9
- package/build/esm/types/components/Inputs/helpers/InputStyles.d.ts +0 -11
- package/build/esm/types/components/Inputs/helpers/Label.d.ts +0 -12
- package/build/esm/types/components/Inputs/helpers/LabelWrapper.d.ts +0 -7
- package/build/esm/types/components/Inputs/helpers/PickerToggle.d.ts +0 -5
- package/build/esm/types/components/Inputs/helpers/TextArea.d.ts +0 -12
- package/build/esm/types/components/Inputs/helpers/filterPastedText.d.ts +0 -2
- package/build/esm/types/components/Inputs/helpers/handlePaste.d.ts +0 -3
- package/build/esm/types/components/Inputs/helpers/isAcceptable.d.ts +0 -2
- package/build/esm/types/components/Inputs/helpers/useDynamicWidth.d.ts +0 -8
- package/build/esm/types/components/Inputs/helpers/useInputFocus.d.ts +0 -8
- package/build/esm/types/components/Label.d.ts +0 -16
- package/build/esm/types/components/LineChart.d.ts +0 -6
- package/build/esm/types/components/ListBoxParts/GridListItem.d.ts +0 -8
- package/build/esm/types/components/ListBoxParts/ListBoxItem.d.ts +0 -5
- package/build/esm/types/components/ListBoxParts/ListOptions.d.ts +0 -13
- package/build/esm/types/components/ListHelpers/GridListHeader.d.ts +0 -5
- package/build/esm/types/components/ListHelpers/GridListSection.d.ts +0 -8
- package/build/esm/types/components/ListHelpers/ItemHeaderBody.d.ts +0 -9
- package/build/esm/types/components/ListHelpers/ListHeader.d.ts +0 -5
- package/build/esm/types/components/ListHelpers/ListItemStyles.d.ts +0 -16
- package/build/esm/types/components/ListHelpers/ListRootStyles.d.ts +0 -9
- package/build/esm/types/components/ListHelpers/ListSection.d.ts +0 -8
- package/build/esm/types/components/ListHelpers/ListStyles.d.ts +0 -13
- package/build/esm/types/components/Menu.d.ts +0 -69
- package/build/esm/types/components/Message.d.ts +0 -36
- package/build/esm/types/components/MessageHr.d.ts +0 -13
- package/build/esm/types/components/Modal.d.ts +0 -84
- package/build/esm/types/components/MotionPopover.d.ts +0 -5
- package/build/esm/types/components/MultiSelect/MultiSelect.d.ts +0 -52
- package/build/esm/types/components/MultiSelect/SearchDropdown.d.ts +0 -17
- package/build/esm/types/components/MultiSelect/index.d.ts +0 -1
- package/build/esm/types/components/OptionHelpers/Container.d.ts +0 -11
- package/build/esm/types/components/OptionHelpers/Item.d.ts +0 -23
- package/build/esm/types/components/OptionHelpers/types.d.ts +0 -23
- package/build/esm/types/components/Pagination.d.ts +0 -13
- package/build/esm/types/components/PieChart.d.ts +0 -21
- package/build/esm/types/components/Popover.d.ts +0 -16
- package/build/esm/types/components/PortalScope.d.ts +0 -6
- package/build/esm/types/components/Progress/CirclePercent.d.ts +0 -10
- package/build/esm/types/components/Progress/Progress.d.ts +0 -30
- package/build/esm/types/components/Progress/index.d.ts +0 -2
- package/build/esm/types/components/Radio.d.ts +0 -21
- package/build/esm/types/components/RangeCalendar.d.ts +0 -13
- package/build/esm/types/components/Select.d.ts +0 -14
- package/build/esm/types/components/Slider.d.ts +0 -16
- package/build/esm/types/components/Spinner.d.ts +0 -16
- package/build/esm/types/components/Table/Body.d.ts +0 -16
- package/build/esm/types/components/Table/Cell.d.ts +0 -13
- package/build/esm/types/components/Table/Check.d.ts +0 -3
- package/build/esm/types/components/Table/Column.d.ts +0 -17
- package/build/esm/types/components/Table/ColumnSort.d.ts +0 -6
- package/build/esm/types/components/Table/Header.d.ts +0 -9
- package/build/esm/types/components/Table/Resizer.d.ts +0 -5
- package/build/esm/types/components/Table/Row.d.ts +0 -19
- package/build/esm/types/components/Table/SortCaret.d.ts +0 -6
- package/build/esm/types/components/Table/Table.d.ts +0 -441
- package/build/esm/types/components/Table/contentStyles.d.ts +0 -14
- package/build/esm/types/components/Table/context.d.ts +0 -3
- package/build/esm/types/components/Table/index.d.ts +0 -1
- package/build/esm/types/components/Table/types.d.ts +0 -45
- package/build/esm/types/components/Tabs.d.ts +0 -64
- package/build/esm/types/components/Tag.d.ts +0 -22
- package/build/esm/types/components/Toggle.d.ts +0 -18
- package/build/esm/types/components/ToggleButton/ToggleButton.d.ts +0 -29
- package/build/esm/types/components/ToggleButton/ToggleButtonGroup.d.ts +0 -22
- package/build/esm/types/components/ToggleButton/context.d.ts +0 -8
- package/build/esm/types/components/ToggleButton/index.d.ts +0 -2
- package/build/esm/types/components/Tooltip.d.ts +0 -50
- package/build/esm/types/components/TransferList.d.ts +0 -48
- package/build/esm/types/components/Tree/Tree.d.ts +0 -23
- package/build/esm/types/components/Tree/TreeContext.d.ts +0 -5
- package/build/esm/types/components/Tree/TreeItem.d.ts +0 -21
- package/build/esm/types/components/Tree/index.d.ts +0 -1
- package/build/esm/types/components/UnstyledButton.d.ts +0 -3
- package/build/esm/types/components/Waveform.d.ts +0 -25
- package/build/esm/types/components/draftUtils.d.ts +0 -49
- package/build/esm/types/components/helpers/getIcon.d.ts +0 -8
- package/build/esm/types/components/helpers/getPopPosition.d.ts +0 -6
- package/build/esm/types/components/helpers/isPropAllowed.d.ts +0 -2
- package/build/esm/types/components/helpers/mergePadding.d.ts +0 -8
- package/build/esm/types/components/helpers/styledProps.d.ts +0 -8
- package/build/esm/types/components/typeDefs/elementTypes.d.ts +0 -2
- package/build/esm/types/components/typeDefs/inputTypes.d.ts +0 -67
- package/build/esm/types/components/typeDefs/selectionTypes.d.ts +0 -83
- package/build/esm/types/components/typeDefs/tagTypes.d.ts +0 -17
- package/build/esm/types/components/types.d.ts +0 -163
- package/build/esm/types/global-styles/GlobalStorybookStyles.d.ts +0 -9
- package/build/esm/types/global-styles/ResetStyles.d.ts +0 -9
- package/build/esm/types/global-styles/ScrollbarStyles.d.ts +0 -2
- package/build/esm/types/global-styles/ToastStyles.d.ts +0 -2
- package/build/esm/types/global-styles/index.d.ts +0 -3
- package/build/esm/types/hooks/index.d.ts +0 -8
- package/build/esm/types/hooks/useConfirm.d.ts +0 -22
- package/build/esm/types/hooks/useControlledOpenState.d.ts +0 -9
- package/build/esm/types/hooks/useCopy.d.ts +0 -6
- package/build/esm/types/hooks/useElementObserver.d.ts +0 -7
- package/build/esm/types/hooks/useEventListener.d.ts +0 -16
- package/build/esm/types/hooks/useOnClickOutside.d.ts +0 -9
- package/build/esm/types/hooks/usePrevious.d.ts +0 -2
- package/build/esm/types/hooks/useSelectAll.d.ts +0 -14
- package/build/esm/types/hooks/useWindowSize.d.ts +0 -5
- package/build/esm/types/index.d.ts +0 -89
- package/build/esm/types/theme/ThemeTypes.d.ts +0 -340
- package/build/esm/types/theme/common/button.d.ts +0 -31
- package/build/esm/types/theme/common/common.d.ts +0 -103
- package/build/esm/types/theme/common/index.d.ts +0 -3
- package/build/esm/types/theme/core/colors.d.ts +0 -201
- package/build/esm/types/theme/core/dark/dark.d.ts +0 -3
- package/build/esm/types/theme/core/dark/darkScale.d.ts +0 -22
- package/build/esm/types/theme/core/light/light.d.ts +0 -3
- package/build/esm/types/theme/core/light/lightScale.d.ts +0 -22
- package/build/esm/types/theme/eighties/colors.d.ts +0 -68
- package/build/esm/types/theme/eighties/dark/dark.d.ts +0 -3
- package/build/esm/types/theme/eighties/dark/darkScale.d.ts +0 -22
- package/build/esm/types/theme/eighties/light/light.d.ts +0 -3
- package/build/esm/types/theme/eighties/light/lightScale.d.ts +0 -22
- package/build/esm/types/theme/index.d.ts +0 -16
- package/build/esm/types/utils/chunk.d.ts +0 -2
- package/build/esm/types/utils/copyToClipboard.d.ts +0 -2
- package/build/esm/types/utils/flattenListOptions.d.ts +0 -3
- package/build/esm/types/utils/formatDate.d.ts +0 -7
- package/build/esm/types/utils/index.d.ts +0 -5
- package/build/esm/types/utils/numberWithCommas.d.ts +0 -2
- package/build/esm/types/utils/range.d.ts +0 -1
- /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/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/Dialpad.d.ts +0 -0
- /package/build/{cjs/types/assets → assets}/icons/Exclamation.d.ts +0 -0
- /package/build/{cjs/types/assets → assets}/icons/Phone.d.ts +0 -0
- /package/build/{cjs/types/assets → assets}/icons/PhoneAdd.d.ts +0 -0
- /package/build/{cjs/types/assets → assets}/icons/PhoneBlocked.d.ts +0 -0
- /package/build/{cjs/types/assets → assets}/icons/PhoneCallback.d.ts +0 -0
- /package/build/{cjs/types/assets → assets}/icons/PhoneEnd.d.ts +0 -0
- /package/build/{cjs/types/assets → assets}/icons/PhoneForward.d.ts +0 -0
- /package/build/{cjs/types/assets → assets}/icons/PhoneHistory.d.ts +0 -0
- /package/build/{cjs/types/assets → assets}/icons/PhoneHold.d.ts +0 -0
- /package/build/{cjs/types/assets → assets}/icons/PhoneIncoming.d.ts +0 -0
- /package/build/{cjs/types/assets → assets}/icons/PhoneMissed.d.ts +0 -0
- /package/build/{cjs/types/assets → assets}/icons/PhoneTalk.d.ts +0 -0
- /package/build/{cjs/types/assets → assets}/icons/PhoneTransfer.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/Screenshot.d.ts +0 -0
- /package/build/{cjs/types/assets → assets}/icons/ShieldWavv.d.ts +0 -0
- /package/build/{cjs/types/assets → assets}/icons/Spotify.d.ts +0 -0
- /package/build/{cjs/types/assets → assets}/icons/SubArrow.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/TransferCancel.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Accordion/Accordion.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Accordion/Header.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Accordion/Item.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Accordion/Panel.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Accordion/index.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Audio.d.ts +0 -0
- /package/build/{cjs/types/components → components}/BarChart.d.ts +0 -0
- /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/{cjs/types/components → components}/Button/ButtonTypes.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Button/Group.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Button/index.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Calendar.d.ts +0 -0
- /package/build/{cjs/types/components → components}/CalendarParts/CalendarContainerStyles.d.ts +0 -0
- /package/build/{cjs/types/components → components}/CalendarParts/CalendarContent.d.ts +0 -0
- /package/build/{cjs/types/components → components}/CalendarParts/CalendarHeader.d.ts +0 -0
- /package/build/{cjs/types/components → components}/CalendarParts/useMinMax.d.ts +0 -0
- /package/build/{cjs/types/components → components}/CalendarParts/utils.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Checkbox.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Code/Code.d.ts +0 -0
- /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}/ComboBox.d.ts +0 -0
- /package/build/{cjs/types/components → components}/CommandMenu/CommandItem.d.ts +0 -0
- /package/build/{cjs/types/components → components}/CommandMenu/CommandMenu.d.ts +0 -0
- /package/build/{cjs/types/components → components}/CommandMenu/CommandOptions.d.ts +0 -0
- /package/build/{cjs/types/components → components}/CommandMenu/CommandSection.d.ts +0 -0
- /package/build/{cjs/types/components → components}/CommandMenu/index.d.ts +0 -0
- /package/build/{cjs/types/components → components}/DateRangeSelect.d.ts +0 -0
- /package/build/{cjs/types/components → components}/DocTable.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Dot.d.ts +0 -0
- /package/build/{cjs/types/components → components}/DraftEditor.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Dropdown.d.ts +0 -0
- /package/build/{cjs/types/components → components}/DropdownMenu.d.ts +0 -0
- /package/build/{cjs/types/components → components}/DropdownMenuParts/Menu.d.ts +0 -0
- /package/build/{cjs/types/components → components}/DropdownMenuParts/MenuItem.d.ts +0 -0
- /package/build/{cjs/types/components → components}/DropdownMenuParts/MenuOptions.d.ts +0 -0
- /package/build/{cjs/types/components → components}/DropdownMenuParts/MenuSection.d.ts +0 -0
- /package/build/{cjs/types/components → components}/DropdownSelect.d.ts +0 -0
- /package/build/{cjs/types/components → components}/DynamicIcon.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Editor/Editor.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Editor/EditorStyles.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Editor/MergeFieldExtension.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Editor/RichTextToolbar.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Editor/editorUtils.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Editor/index.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Ellipsis.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Focusable.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Form.d.ts +0 -0
- /package/build/{cjs/types/components → components}/FormControl.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Grid.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Icon/Icon.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Icon/customIcons.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Icon/icons.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Icon/index.d.ts +0 -0
- /package/build/{cjs/types/components → components}/ImageViewer.d.ts +0 -0
- /package/build/{cjs/types/components → components}/InlineCode.d.ts +0 -0
- /package/build/{cjs/types/components → components}/InputHelpers.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Inputs/DatePicker.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Inputs/DateRangePicker.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Inputs/InlineInput.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Inputs/NumberInput.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Inputs/PhoneInput.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Inputs/SearchInput.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Inputs/TextArea.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Inputs/TextInput.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Inputs/TimeInput.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Inputs/helpers/AriaButton.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Inputs/helpers/DateSegment.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Inputs/helpers/Description.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Inputs/helpers/ErrorMessage.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Inputs/helpers/Input.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Inputs/helpers/InputContainerStyles.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Inputs/helpers/InputMessage.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Inputs/helpers/InputStyles.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Inputs/helpers/Label.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Inputs/helpers/LabelWrapper.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Inputs/helpers/PickerToggle.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Inputs/helpers/TextArea.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Inputs/helpers/filterPastedText.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Inputs/helpers/handlePaste.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Inputs/helpers/isAcceptable.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Inputs/helpers/useDynamicWidth.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Inputs/helpers/useInputFocus.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Label.d.ts +0 -0
- /package/build/{cjs/types/components → components}/LineChart.d.ts +0 -0
- /package/build/{cjs/types/components → components}/ListBoxParts/GridListItem.d.ts +0 -0
- /package/build/{cjs/types/components → components}/ListBoxParts/ListBoxItem.d.ts +0 -0
- /package/build/{cjs/types/components → components}/ListBoxParts/ListOptions.d.ts +0 -0
- /package/build/{cjs/types/components → components}/ListHelpers/GridListHeader.d.ts +0 -0
- /package/build/{cjs/types/components → components}/ListHelpers/GridListSection.d.ts +0 -0
- /package/build/{cjs/types/components → components}/ListHelpers/ItemHeaderBody.d.ts +0 -0
- /package/build/{cjs/types/components → components}/ListHelpers/ListHeader.d.ts +0 -0
- /package/build/{cjs/types/components → components}/ListHelpers/ListItemStyles.d.ts +0 -0
- /package/build/{cjs/types/components → components}/ListHelpers/ListRootStyles.d.ts +0 -0
- /package/build/{cjs/types/components → components}/ListHelpers/ListSection.d.ts +0 -0
- /package/build/{cjs/types/components → components}/ListHelpers/ListStyles.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Menu.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Message.d.ts +0 -0
- /package/build/{cjs/types/components → components}/MessageHr.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Modal.d.ts +0 -0
- /package/build/{cjs/types/components → components}/MotionPopover.d.ts +0 -0
- /package/build/{cjs/types/components → components}/MultiSelect/MultiSelect.d.ts +0 -0
- /package/build/{cjs/types/components → components}/MultiSelect/SearchDropdown.d.ts +0 -0
- /package/build/{cjs/types/components → components}/MultiSelect/index.d.ts +0 -0
- /package/build/{cjs/types/components → components}/OptionHelpers/Container.d.ts +0 -0
- /package/build/{cjs/types/components → components}/OptionHelpers/Item.d.ts +0 -0
- /package/build/{cjs/types/components → components}/OptionHelpers/types.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Pagination.d.ts +0 -0
- /package/build/{cjs/types/components → components}/PieChart.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Popover.d.ts +0 -0
- /package/build/{cjs/types/components → components}/PortalScope.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Progress/CirclePercent.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Progress/Progress.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Progress/index.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Radio.d.ts +0 -0
- /package/build/{cjs/types/components → components}/RangeCalendar.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Select.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Slider.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Spinner.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Table/Body.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Table/Cell.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Table/Check.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Table/Column.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Table/ColumnSort.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Table/Header.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Table/Resizer.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Table/Row.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Table/SortCaret.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Table/Table.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Table/contentStyles.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/types/components → components}/Table/types.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Tabs.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Tag.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Toggle.d.ts +0 -0
- /package/build/{cjs/types/components → components}/ToggleButton/ToggleButton.d.ts +0 -0
- /package/build/{cjs/types/components → components}/ToggleButton/ToggleButtonGroup.d.ts +0 -0
- /package/build/{cjs/types/components → components}/ToggleButton/context.d.ts +0 -0
- /package/build/{cjs/types/components → components}/ToggleButton/index.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Tooltip.d.ts +0 -0
- /package/build/{cjs/types/components → components}/TransferList.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Tree/Tree.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Tree/TreeContext.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Tree/TreeItem.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Tree/index.d.ts +0 -0
- /package/build/{cjs/types/components → components}/UnstyledButton.d.ts +0 -0
- /package/build/{cjs/types/components → components}/Waveform.d.ts +0 -0
- /package/build/{cjs/types/components → components}/draftUtils.d.ts +0 -0
- /package/build/{cjs/types/components → components}/helpers/getIcon.d.ts +0 -0
- /package/build/{cjs/types/components → components}/helpers/getPopPosition.d.ts +0 -0
- /package/build/{cjs/types/components → components}/helpers/isPropAllowed.d.ts +0 -0
- /package/build/{cjs/types/components → components}/helpers/mergePadding.d.ts +0 -0
- /package/build/{cjs/types/components → components}/helpers/styledProps.d.ts +0 -0
- /package/build/{cjs/types/components → components}/typeDefs/elementTypes.d.ts +0 -0
- /package/build/{cjs/types/components → components}/typeDefs/inputTypes.d.ts +0 -0
- /package/build/{cjs/types/components → components}/typeDefs/selectionTypes.d.ts +0 -0
- /package/build/{cjs/types/components → components}/typeDefs/tagTypes.d.ts +0 -0
- /package/build/{cjs/types/components → components}/types.d.ts +0 -0
- /package/build/{cjs/types/global-styles → global-styles}/GlobalStorybookStyles.d.ts +0 -0
- /package/build/{cjs/types/global-styles → global-styles}/ResetStyles.d.ts +0 -0
- /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 +0 -0
- /package/build/{cjs/types/hooks → hooks}/useControlledOpenState.d.ts +0 -0
- /package/build/{cjs/types/hooks → hooks}/useCopy.d.ts +0 -0
- /package/build/{cjs/types/hooks → hooks}/useElementObserver.d.ts +0 -0
- /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}/usePrevious.d.ts +0 -0
- /package/build/{cjs/types/hooks → hooks}/useSelectAll.d.ts +0 -0
- /package/build/{cjs/types/hooks → hooks}/useWindowSize.d.ts +0 -0
- /package/build/{cjs/types/theme → theme}/ThemeTypes.d.ts +0 -0
- /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}/core/colors.d.ts +0 -0
- /package/build/{cjs/types/theme → theme}/core/dark/dark.d.ts +0 -0
- /package/build/{cjs/types/theme → theme}/core/dark/darkScale.d.ts +0 -0
- /package/build/{cjs/types/theme → theme}/core/light/light.d.ts +0 -0
- /package/build/{cjs/types/theme → theme}/core/light/lightScale.d.ts +0 -0
- /package/build/{cjs/types/theme → theme}/eighties/colors.d.ts +0 -0
- /package/build/{cjs/types/theme → theme}/eighties/dark/dark.d.ts +0 -0
- /package/build/{cjs/types/theme → theme}/eighties/dark/darkScale.d.ts +0 -0
- /package/build/{cjs/types/theme → theme}/eighties/light/light.d.ts +0 -0
- /package/build/{cjs/types/theme → theme}/eighties/light/lightScale.d.ts +0 -0
- /package/build/{cjs/types/theme → theme}/index.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}/flattenListOptions.d.ts +0 -0
- /package/build/{cjs/types/utils → utils}/formatDate.d.ts +0 -0
- /package/build/{cjs/types/utils → utils}/index.d.ts +0 -0
- /package/build/{cjs/types/utils → utils}/numberWithCommas.d.ts +0 -0
- /package/build/{cjs/types/utils → utils}/range.d.ts +0 -0
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import type { InputFocusEvent, MarginPadding, ThemeProp, WidthHeight } from './types';
|
|
2
|
-
type FocusCallBack = (event?: InputFocusEvent) => void;
|
|
3
|
-
export declare const useInputFocus: (onFocus?: FocusCallBack, onBlur?: FocusCallBack, focusCondition?: boolean) => {
|
|
4
|
-
focused: boolean;
|
|
5
|
-
handleFocus: (event?: InputFocusEvent) => void;
|
|
6
|
-
handleBlur: (event?: InputFocusEvent) => void;
|
|
7
|
-
};
|
|
8
|
-
export declare const isInputFilled: (value?: string | number) => boolean;
|
|
9
|
-
export type InputContainerProps = {
|
|
10
|
-
backgroundColor?: string;
|
|
11
|
-
borderRadius?: number | string;
|
|
12
|
-
borderColor?: string;
|
|
13
|
-
fontSize?: number | string;
|
|
14
|
-
placeholderColor?: string;
|
|
15
|
-
pointer?: boolean;
|
|
16
|
-
readOnly?: boolean;
|
|
17
|
-
textOnly?: boolean;
|
|
18
|
-
focused?: boolean;
|
|
19
|
-
invalid?: boolean;
|
|
20
|
-
disabled?: boolean;
|
|
21
|
-
hasLabel?: boolean;
|
|
22
|
-
} & WidthHeight & MarginPadding & ThemeProp;
|
|
23
|
-
export declare const InputContainer: import("@emotion/styled").StyledComponent<{
|
|
24
|
-
theme?: import("@emotion/react").Theme;
|
|
25
|
-
as?: React.ElementType;
|
|
26
|
-
} & {
|
|
27
|
-
backgroundColor?: string;
|
|
28
|
-
borderRadius?: number | string;
|
|
29
|
-
borderColor?: string;
|
|
30
|
-
fontSize?: number | string;
|
|
31
|
-
placeholderColor?: string;
|
|
32
|
-
pointer?: boolean;
|
|
33
|
-
readOnly?: boolean;
|
|
34
|
-
textOnly?: boolean;
|
|
35
|
-
focused?: boolean;
|
|
36
|
-
invalid?: boolean;
|
|
37
|
-
disabled?: boolean;
|
|
38
|
-
hasLabel?: boolean;
|
|
39
|
-
} & import("./types").Width & import("./types").Height & import("./types").Margin & import("./types").Padding & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
40
|
-
export declare const InputWrapper: import("@emotion/styled").StyledComponent<{
|
|
41
|
-
theme?: import("@emotion/react").Theme;
|
|
42
|
-
as?: React.ElementType;
|
|
43
|
-
} & {
|
|
44
|
-
readOnly?: boolean;
|
|
45
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
46
|
-
export declare const Label: import("@emotion/styled").StyledComponent<{
|
|
47
|
-
theme?: import("@emotion/react").Theme;
|
|
48
|
-
as?: React.ElementType;
|
|
49
|
-
} & {
|
|
50
|
-
filled?: boolean;
|
|
51
|
-
focused?: boolean;
|
|
52
|
-
disabled?: boolean;
|
|
53
|
-
} & ThemeProp, import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {}>;
|
|
54
|
-
export declare const Description: import("@emotion/styled").StyledComponent<{
|
|
55
|
-
theme?: import("@emotion/react").Theme;
|
|
56
|
-
as?: React.ElementType;
|
|
57
|
-
} & {
|
|
58
|
-
invalid?: boolean;
|
|
59
|
-
} & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
60
|
-
declare const _default: {
|
|
61
|
-
Container: import("@emotion/styled").StyledComponent<{
|
|
62
|
-
theme?: import("@emotion/react").Theme;
|
|
63
|
-
as?: React.ElementType;
|
|
64
|
-
} & {
|
|
65
|
-
backgroundColor?: string;
|
|
66
|
-
borderRadius?: number | string;
|
|
67
|
-
borderColor?: string;
|
|
68
|
-
fontSize?: number | string;
|
|
69
|
-
placeholderColor?: string;
|
|
70
|
-
pointer?: boolean;
|
|
71
|
-
readOnly?: boolean;
|
|
72
|
-
textOnly?: boolean;
|
|
73
|
-
focused?: boolean;
|
|
74
|
-
invalid?: boolean;
|
|
75
|
-
disabled?: boolean;
|
|
76
|
-
hasLabel?: boolean;
|
|
77
|
-
} & import("./types").Width & import("./types").Height & import("./types").Margin & import("./types").Padding & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
78
|
-
Wrapper: import("@emotion/styled").StyledComponent<{
|
|
79
|
-
theme?: import("@emotion/react").Theme;
|
|
80
|
-
as?: React.ElementType;
|
|
81
|
-
} & {
|
|
82
|
-
readOnly?: boolean;
|
|
83
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
84
|
-
Label: import("@emotion/styled").StyledComponent<{
|
|
85
|
-
theme?: import("@emotion/react").Theme;
|
|
86
|
-
as?: React.ElementType;
|
|
87
|
-
} & {
|
|
88
|
-
filled?: boolean;
|
|
89
|
-
focused?: boolean;
|
|
90
|
-
disabled?: boolean;
|
|
91
|
-
} & ThemeProp, import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {}>;
|
|
92
|
-
Description: import("@emotion/styled").StyledComponent<{
|
|
93
|
-
theme?: import("@emotion/react").Theme;
|
|
94
|
-
as?: React.ElementType;
|
|
95
|
-
} & {
|
|
96
|
-
invalid?: boolean;
|
|
97
|
-
} & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
98
|
-
useInputFocus: (onFocus?: FocusCallBack, onBlur?: FocusCallBack, focusCondition?: boolean) => {
|
|
99
|
-
focused: boolean;
|
|
100
|
-
handleFocus: (event?: InputFocusEvent) => void;
|
|
101
|
-
handleBlur: (event?: InputFocusEvent) => void;
|
|
102
|
-
};
|
|
103
|
-
isInputFilled: (value?: string | number) => boolean;
|
|
104
|
-
};
|
|
105
|
-
export default _default;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type DatePickerProps, type DateValue } from 'react-aria-components';
|
|
2
|
-
import type { DateInputProps } from '../typeDefs/selectionTypes';
|
|
3
|
-
type PickerProps = Omit<DatePickerProps<DateValue>, 'value' | 'onChange' | 'isOpen' | 'isDisabled' | 'isReadOnly' | 'isInvalid' | 'isRequired'>;
|
|
4
|
-
type Props = {
|
|
5
|
-
value?: Date;
|
|
6
|
-
onChange: (date: Date) => void;
|
|
7
|
-
ref?: React.Ref<HTMLInputElement>;
|
|
8
|
-
} & DateInputProps & PickerProps;
|
|
9
|
-
declare const DatePicker: ({ value, label, iconLeft, iconRight, loading, fontSize, placeholderColor, disabled, readOnly, invalid, required, description, errorMessage, preventPast, preventFuture, hidePicker, onChange, afterShow, afterHide, ref, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export default DatePicker;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type DateRangePickerProps, type DateValue } from 'react-aria-components';
|
|
2
|
-
import type { DateInputProps } from '../typeDefs/selectionTypes';
|
|
3
|
-
type PickerProps = Omit<DateRangePickerProps<DateValue>, 'value' | 'onChange' | 'isOpen' | 'isDisabled' | 'isReadOnly' | 'isInvalid' | 'isRequired'>;
|
|
4
|
-
type Props = {
|
|
5
|
-
startValue?: Date;
|
|
6
|
-
endValue?: Date;
|
|
7
|
-
onChange: (start: Date, end: Date) => void;
|
|
8
|
-
ref?: React.Ref<HTMLInputElement>;
|
|
9
|
-
} & DateInputProps & PickerProps;
|
|
10
|
-
declare const DateRangePicker: ({ startValue, endValue, label, iconLeft, iconRight, loading, fontSize, placeholderColor, disabled, readOnly, invalid, required, description, errorMessage, preventPast, preventFuture, hidePicker, onChange, afterShow, afterHide, ref, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export default DateRangePicker;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type TextFieldProps } from 'react-aria-components';
|
|
2
|
-
import type { InputProps, TextInputProps } from '../typeDefs/inputTypes';
|
|
3
|
-
type Props = TextInputProps & Omit<InputProps, 'textOnly'> & Omit<TextFieldProps, 'isDisabled' | 'isReadOnly' | 'isInvalid' | 'isRequired'>;
|
|
4
|
-
declare const InlineInput: ({ value, label, placeholder, iconLeft, iconRight, loading, fontSize, placeholderColor, disabled, readOnly, invalid, required, description, errorMessage, accepts, onChange, onInput, ref, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export default InlineInput;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type NumberFieldProps } from 'react-aria-components';
|
|
2
|
-
import type { InputProps } from '../typeDefs/inputTypes';
|
|
3
|
-
type Props = {
|
|
4
|
-
/** Hides the increment/decrement arrow controls */
|
|
5
|
-
hideControls?: boolean;
|
|
6
|
-
/** Display a comma separator for large numbers (default true) */
|
|
7
|
-
separator?: boolean;
|
|
8
|
-
} & InputProps & Omit<NumberFieldProps, 'isDisabled' | 'isReadOnly' | 'isInvalid' | 'isRequired'>;
|
|
9
|
-
declare const NumberInput: ({ value, label, placeholder, iconLeft, iconRight, loading, fontSize, placeholderColor, disabled, readOnly, invalid, required, description, errorMessage, hideControls, separator, onChange, ref, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export default NumberInput;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { type TextFieldProps } from 'react-aria-components';
|
|
2
|
-
import type { InputProps } from '../typeDefs/inputTypes';
|
|
3
|
-
type Props = {
|
|
4
|
-
onChange?: (formatted: string, raw: string) => void;
|
|
5
|
-
} & InputProps & Omit<TextFieldProps, 'isDisabled' | 'isReadOnly' | 'isInvalid' | 'isRequired' | 'onChange'>;
|
|
6
|
-
declare const PhoneInput: ({ value, label, placeholder, iconLeft, iconRight, leftElement, rightElement, loading, fontSize, placeholderColor, disabled, readOnly, invalid, required, description, errorMessage, onChange, ref, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default PhoneInput;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type SearchFieldProps } from 'react-aria-components';
|
|
2
|
-
import type { InputProps, TextInputProps } from '../typeDefs/inputTypes';
|
|
3
|
-
type Props = TextInputProps & InputProps & Omit<SearchFieldProps, 'isDisabled' | 'isReadOnly' | 'isInvalid' | 'isRequired'>;
|
|
4
|
-
declare const SearchInput: ({ value, label, placeholder, iconLeft, iconRight, leftElement, rightElement, loading, fontSize, placeholderColor, disabled, readOnly, invalid, required, description, errorMessage, accepts, onChange, onInput, ref, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export default SearchInput;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { type TextFieldProps } from 'react-aria-components';
|
|
2
|
-
import type { InputProps, TextAreaProps } from '../typeDefs/inputTypes';
|
|
3
|
-
type Props = TextAreaProps & InputProps & Omit<TextFieldProps, 'isDisabled' | 'isReadOnly' | 'isInvalid' | 'isRequired'> & {
|
|
4
|
-
asTrigger?: boolean;
|
|
5
|
-
};
|
|
6
|
-
declare const TextAreaComponent: ({ value, label, placeholder, iconLeft, iconRight, loading, fontSize, placeholderColor, disabled, readOnly, invalid, required, description, errorMessage, accepts, asTrigger, height, maxHeight, onChange, onInput, ref, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default TextAreaComponent;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { type TextFieldProps } from 'react-aria-components';
|
|
2
|
-
import type { InputProps, TextInputProps } from '../typeDefs/inputTypes';
|
|
3
|
-
type Props = TextInputProps & InputProps & Omit<TextFieldProps, 'isDisabled' | 'isReadOnly' | 'isInvalid' | 'isRequired'> & {
|
|
4
|
-
asTrigger?: boolean;
|
|
5
|
-
};
|
|
6
|
-
declare const TextInput: ({ value, label, placeholder, iconLeft, iconRight, leftElement, rightElement, loading, fontSize, placeholderColor, disabled, readOnly, invalid, required, description, errorMessage, accepts, asTrigger, onChange, onInput, ref, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default TextInput;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type TimeFieldProps, type TimeValue } from 'react-aria-components';
|
|
2
|
-
import type { InputProps } from '../typeDefs/inputTypes';
|
|
3
|
-
type FieldProps = Omit<TimeFieldProps<TimeValue>, 'value' | 'onChange' | 'isDisabled' | 'isReadOnly' | 'isInvalid' | 'isRequired'>;
|
|
4
|
-
type Props = {
|
|
5
|
-
value?: string;
|
|
6
|
-
onChange: (time: string) => void;
|
|
7
|
-
} & InputProps & FieldProps;
|
|
8
|
-
declare const TimeInput: ({ value, label, iconLeft, iconRight, loading, fontSize, placeholderColor, disabled, readOnly, invalid, required, description, errorMessage, onChange, ref, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export default TimeInput;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { ThemeProp } from '../../../theme';
|
|
2
|
-
import type { Width } from '../../types';
|
|
3
|
-
declare const AriaButton: import("@emotion/styled").StyledComponent<import("react-aria-components").ButtonProps & import("react").RefAttributes<HTMLButtonElement> & {
|
|
4
|
-
theme?: import("@emotion/react").Theme;
|
|
5
|
-
} & ThemeProp & Width, {}, {}>;
|
|
6
|
-
export default AriaButton;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { ThemeProp } from '../../types';
|
|
2
|
-
declare const DateSegment: import("@emotion/styled").StyledComponent<import("react-aria-components").DateSegmentProps & import("react").RefAttributes<HTMLSpanElement> & {
|
|
3
|
-
theme?: import("@emotion/react").Theme;
|
|
4
|
-
} & {
|
|
5
|
-
placeholderColor?: string;
|
|
6
|
-
} & ThemeProp, {}, {}>;
|
|
7
|
-
export default DateSegment;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ThemeProp } from '../../types';
|
|
2
|
-
declare const Description: import("@emotion/styled").StyledComponent<import("react-aria-components").TextProps & import("react").RefAttributes<HTMLElement> & {
|
|
3
|
-
theme?: import("@emotion/react").Theme;
|
|
4
|
-
} & ThemeProp, {}, {}>;
|
|
5
|
-
export default Description;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ThemeProp } from '../../types';
|
|
2
|
-
declare const ErrorMessage: import("@emotion/styled").StyledComponent<import("react-aria-components").FieldErrorProps & import("react").RefAttributes<HTMLElement> & {
|
|
3
|
-
theme?: import("@emotion/react").Theme;
|
|
4
|
-
} & ThemeProp, {}, {}>;
|
|
5
|
-
export default ErrorMessage;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
declare const Input: import("@emotion/styled").StyledComponent<import("react-aria-components").InputProps & import("react").RefAttributes<HTMLInputElement> & {
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
-
} & {
|
|
4
|
-
hide?: boolean;
|
|
5
|
-
} & {
|
|
6
|
-
fontSize?: number | string;
|
|
7
|
-
fontWeight?: number | string;
|
|
8
|
-
color?: string;
|
|
9
|
-
placeholderColor?: string;
|
|
10
|
-
isDisabled?: boolean;
|
|
11
|
-
} & import("../../types").Width & import("../../types").ThemeProp, {}, {}>;
|
|
12
|
-
export default Input;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { CSSObject } from '@emotion/styled';
|
|
2
|
-
import type { InputContainerStyleProps, ThemeProp } from '../../types';
|
|
3
|
-
type StateProps = {
|
|
4
|
-
pointer?: boolean;
|
|
5
|
-
focused?: boolean;
|
|
6
|
-
hasLabel?: boolean;
|
|
7
|
-
isDisabled?: boolean;
|
|
8
|
-
isInvalid?: boolean;
|
|
9
|
-
isReadOnly?: boolean;
|
|
10
|
-
};
|
|
11
|
-
export type ContainerProps = InputContainerStyleProps & StateProps & ThemeProp;
|
|
12
|
-
type Props = ContainerProps & Required<ThemeProp>;
|
|
13
|
-
declare const styles: (({ theme: { input, accent }, backgroundColor, borderRadius, borderColor, textOnly, isDisabled, isInvalid, isReadOnly, hasLabel, pointer, }: Props) => CSSObject)[];
|
|
14
|
-
export default styles;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type ValidationResult } from 'react-aria-components';
|
|
2
|
-
type Props = {
|
|
3
|
-
/** Places a description message below the input */
|
|
4
|
-
description?: string;
|
|
5
|
-
/** Places an error message below the input */
|
|
6
|
-
errorMessage?: string | ((validation: ValidationResult) => string);
|
|
7
|
-
};
|
|
8
|
-
declare const InputMessage: ({ description, errorMessage }: Props) => import("react/jsx-runtime").JSX.Element | null;
|
|
9
|
-
export default InputMessage;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { CSSObject } from '@emotion/styled';
|
|
2
|
-
import type { InputElementStyleProps, ThemeProp } from '../../types';
|
|
3
|
-
export declare const preventProps: {
|
|
4
|
-
shouldForwardProp: (prop: string) => boolean;
|
|
5
|
-
};
|
|
6
|
-
export type InputStyleProps = {
|
|
7
|
-
hide?: boolean;
|
|
8
|
-
} & InputElementStyleProps & ThemeProp;
|
|
9
|
-
type Props = InputStyleProps & Required<ThemeProp>;
|
|
10
|
-
declare const inputStyles: (({ theme: { font, input, size, accent }, fontSize, hide, isDisabled, width, placeholderColor, }: Props) => CSSObject)[];
|
|
11
|
-
export default inputStyles;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
type LabelProps = {
|
|
3
|
-
filled?: boolean;
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
disablePointerEvents?: boolean;
|
|
6
|
-
};
|
|
7
|
-
type LabelWrapperProps = {
|
|
8
|
-
children: ReactNode;
|
|
9
|
-
label?: string;
|
|
10
|
-
} & LabelProps;
|
|
11
|
-
declare const LabelWrapper: ({ children, label, ...props }: LabelWrapperProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export default LabelWrapper;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
declare const LabelWrapper: import("@emotion/styled").StyledComponent<{
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
-
as?: React.ElementType;
|
|
4
|
-
} & {
|
|
5
|
-
readOnly?: boolean;
|
|
6
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
|
-
export default LabelWrapper;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ThemeProp } from '../../types';
|
|
2
|
-
declare const PickerToggle: import("@emotion/styled").StyledComponent<import("react-aria-components").ButtonProps & import("react").RefAttributes<HTMLButtonElement> & {
|
|
3
|
-
theme?: import("@emotion/react").Theme;
|
|
4
|
-
} & ThemeProp & import("../../types").Width, {}, {}>;
|
|
5
|
-
export default PickerToggle;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
declare const TextArea: import("@emotion/styled").StyledComponent<import("react-aria-components").TextAreaProps & import("react").RefAttributes<HTMLTextAreaElement> & {
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
-
} & {
|
|
4
|
-
hide?: boolean;
|
|
5
|
-
} & {
|
|
6
|
-
fontSize?: number | string;
|
|
7
|
-
fontWeight?: number | string;
|
|
8
|
-
color?: string;
|
|
9
|
-
placeholderColor?: string;
|
|
10
|
-
isDisabled?: boolean;
|
|
11
|
-
} & import("../../types").Width & import("../../types").ThemeProp, {}, {}>;
|
|
12
|
-
export default TextArea;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
type Params = {
|
|
2
|
-
value: string;
|
|
3
|
-
placeholder?: string;
|
|
4
|
-
fontSize?: number | string;
|
|
5
|
-
active?: boolean;
|
|
6
|
-
};
|
|
7
|
-
declare const useDynamicWidth: ({ value, placeholder, fontSize, active }: Params) => readonly [number | undefined, () => import("react/jsx-runtime").JSX.Element | null];
|
|
8
|
-
export default useDynamicWidth;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type FocusEvent } from 'react';
|
|
2
|
-
type FocusCallBack = (event: FocusEvent) => void;
|
|
3
|
-
declare const useInputFocus: (onFocus?: FocusCallBack, onBlur?: FocusCallBack, focusCondition?: boolean) => {
|
|
4
|
-
focused: boolean;
|
|
5
|
-
handleFocus: (event: FocusEvent) => void;
|
|
6
|
-
handleBlur: (event: FocusEvent) => void;
|
|
7
|
-
};
|
|
8
|
-
export default useInputFocus;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import { type IconType } from './helpers/getIcon';
|
|
3
|
-
import type { Margin } from './types';
|
|
4
|
-
type LabelProps = {
|
|
5
|
-
children?: ReactNode;
|
|
6
|
-
/** The name of the icon that should appear on the left side of the input */
|
|
7
|
-
iconLeft?: IconType;
|
|
8
|
-
/** The name of the icon that should appear on the right side of the input */
|
|
9
|
-
iconRight?: IconType;
|
|
10
|
-
/** Styles the Label as a pill */
|
|
11
|
-
pill?: boolean;
|
|
12
|
-
/** Reduces the emphasis of the Pill colors */
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
} & Margin;
|
|
15
|
-
declare const Label: ({ children, iconLeft, iconRight, disabled, pill, ...rest }: LabelProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export default Label;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { type ChartProps } from './ChartHelpers';
|
|
2
|
-
type Props = {
|
|
3
|
-
enableLegendToggle?: boolean;
|
|
4
|
-
} & ChartProps;
|
|
5
|
-
declare const LineChart: ({ data, legend, keys, enableLegendToggle, axisColor, tooltipLegendPostfix, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export default LineChart;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import { type GridListItemProps } from 'react-aria-components';
|
|
3
|
-
import type { SelectItem } from '../typeDefs/selectionTypes';
|
|
4
|
-
type Props = {
|
|
5
|
-
children?: ReactNode;
|
|
6
|
-
} & Partial<SelectItem> & Omit<GridListItemProps, 'value' | 'id' | 'isDisabled'>;
|
|
7
|
-
declare const GridListItem: ({ children, id, value, header, body, leftElement, rightElement, inline, disabled, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export default GridListItem;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type ListBoxItemProps } from 'react-aria-components';
|
|
2
|
-
import type { SelectItem } from '../typeDefs/selectionTypes';
|
|
3
|
-
type Props = SelectItem & Omit<ListBoxItemProps, 'value' | 'id' | 'isDisabled'>;
|
|
4
|
-
declare const ListBoxItem: ({ id, value, header, body, leftElement, rightElement, inline, disabled, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export default ListBoxItem;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import { type ListBoxProps } from 'react-aria-components';
|
|
3
|
-
import type { ListOption, SelectInputProps } from '../typeDefs/selectionTypes';
|
|
4
|
-
import type { Width } from '../types';
|
|
5
|
-
type Props = {
|
|
6
|
-
options?: ListOption[];
|
|
7
|
-
children?: ReactNode;
|
|
8
|
-
autoWidth?: boolean;
|
|
9
|
-
readOnly?: boolean;
|
|
10
|
-
createOptionItem?: ReactNode;
|
|
11
|
-
} & Width & ListBoxProps<ListOption> & Pick<SelectInputProps, 'before' | 'after' | 'menuBackground'>;
|
|
12
|
-
declare const ListOptions: ({ options, children, autoWidth, width, before, after, menuBackground, createOptionItem, ...props }: Props) => ReactNode;
|
|
13
|
-
export default ListOptions;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ThemeProp } from '../types';
|
|
2
|
-
declare const ListHeader: import("@emotion/styled").StyledComponent<import("react").HTMLAttributes<HTMLElement> & import("react").RefAttributes<object> & {
|
|
3
|
-
theme?: import("@emotion/react").Theme;
|
|
4
|
-
} & ThemeProp, {}, {}>;
|
|
5
|
-
export default ListHeader;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
type Props = {
|
|
2
|
-
header: string;
|
|
3
|
-
body: string;
|
|
4
|
-
inline?: boolean;
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
isGridItem?: boolean;
|
|
7
|
-
};
|
|
8
|
-
declare const ItemHeaderBody: ({ header, body, inline, disabled, isGridItem }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export default ItemHeaderBody;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { ThemeProp } from '../types';
|
|
2
|
-
declare const ListHeader: import("@emotion/styled").StyledComponent<import("react").HTMLAttributes<HTMLElement> & import("react").RefAttributes<object> & {
|
|
3
|
-
theme?: import("@emotion/react").Theme;
|
|
4
|
-
} & ThemeProp, {}, {}>;
|
|
5
|
-
export default ListHeader;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { CSSObject } from '@emotion/styled';
|
|
2
|
-
import type { FlexPosition, ThemeProp } from '../types';
|
|
3
|
-
export declare const preventProps: {
|
|
4
|
-
shouldForwardProp: (prop: string) => boolean;
|
|
5
|
-
};
|
|
6
|
-
export type ListItemStyleProps = {
|
|
7
|
-
selected?: boolean;
|
|
8
|
-
noSelect?: boolean;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
contentPosition?: FlexPosition;
|
|
11
|
-
color?: string;
|
|
12
|
-
accented?: boolean;
|
|
13
|
-
} & ThemeProp;
|
|
14
|
-
type Props = ListItemStyleProps & Required<ThemeProp>;
|
|
15
|
-
declare const listItemStyles: (({ theme: { optionItem, scale4 }, color, accented, selected, disabled, noSelect, }: Props) => CSSObject)[];
|
|
16
|
-
export default listItemStyles;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { CSSObject } from '@emotion/styled';
|
|
2
|
-
import type { SelectInputProps } from '../typeDefs/selectionTypes';
|
|
3
|
-
import type { Width } from '../types';
|
|
4
|
-
export declare const preventProps: {
|
|
5
|
-
shouldForwardProp: (prop: string) => boolean;
|
|
6
|
-
};
|
|
7
|
-
export type RootProps = Pick<SelectInputProps, 'textOnly'> & Width;
|
|
8
|
-
declare const rootStyles: (({ width, textOnly }: RootProps) => CSSObject)[];
|
|
9
|
-
export default rootStyles;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { CSSObject } from '@emotion/styled';
|
|
2
|
-
import type { ThemeProp, Width } from '../types';
|
|
3
|
-
export declare const preventProps: {
|
|
4
|
-
shouldForwardProp: (prop: string) => boolean;
|
|
5
|
-
};
|
|
6
|
-
export type ListProps = {
|
|
7
|
-
zIndex?: number;
|
|
8
|
-
autoWidth?: boolean;
|
|
9
|
-
readOnly?: boolean;
|
|
10
|
-
background?: string;
|
|
11
|
-
} & Width & ThemeProp;
|
|
12
|
-
declare const listStyles: (({ theme, width, zIndex, autoWidth, readOnly, background, }: ListProps & Required<ThemeProp>) => CSSObject)[];
|
|
13
|
-
export default listStyles;
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { type MouseEvent, type ReactNode } from 'react';
|
|
2
|
-
import type { FlexPosition, Padding, WidthHeight } from './types';
|
|
3
|
-
type MenuProps = {
|
|
4
|
-
/** Displays the menu as a vertical, stacked menu */
|
|
5
|
-
vertical?: boolean;
|
|
6
|
-
/** If true, a border will be displayed around the menu */
|
|
7
|
-
border?: boolean;
|
|
8
|
-
/** If true, a border will be displayed on top of the menu */
|
|
9
|
-
borderTop?: boolean;
|
|
10
|
-
/** If true, a border will be displayed on bottom of the menu */
|
|
11
|
-
borderBottom?: boolean;
|
|
12
|
-
/** If true, a border will be displayed to the left of the menu */
|
|
13
|
-
borderLeft?: boolean;
|
|
14
|
-
/** If true, a border will be displayed to the right of the menu */
|
|
15
|
-
borderRight?: boolean;
|
|
16
|
-
/** Sets the borderTopLeftRadius of the menu */
|
|
17
|
-
borderTopLeftRadius?: number | string;
|
|
18
|
-
/** Sets the borderTopRightRadius of the menu */
|
|
19
|
-
borderTopRightRadius?: number | string;
|
|
20
|
-
/** Sets the borderBottomLeftRadius of the menu */
|
|
21
|
-
borderBottomLeftRadius?: number | string;
|
|
22
|
-
/** Sets the borderBottomRightRadius of the menu */
|
|
23
|
-
borderBottomRightRadius?: number | string;
|
|
24
|
-
children?: ReactNode;
|
|
25
|
-
/** Sets the backgroundColor of the menu */
|
|
26
|
-
backgroundColor?: string;
|
|
27
|
-
className?: string;
|
|
28
|
-
} & WidthHeight & Padding;
|
|
29
|
-
declare const Menu: {
|
|
30
|
-
({ vertical, backgroundColor, children, ...rest }: MenuProps): import("react/jsx-runtime").JSX.Element;
|
|
31
|
-
Item: {
|
|
32
|
-
({ vertical, selected, disabled, contentPosition, onClick, id, children, indent, ...rest }: MenuItemProps): import("react/jsx-runtime").JSX.Element;
|
|
33
|
-
displayName: string;
|
|
34
|
-
};
|
|
35
|
-
Group: {
|
|
36
|
-
({ label, defaultOpen, vertical, selected, disabled, contentPosition, onClick, id, children, indent, backgroundColor, className, }: MenuGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
37
|
-
displayName: string;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
type MenuItemProps = {
|
|
41
|
-
children: ReactNode;
|
|
42
|
-
vertical?: boolean;
|
|
43
|
-
/** The id of the Menu Item */
|
|
44
|
-
id?: string;
|
|
45
|
-
/** Controls whether the Menu Item appears to be active */
|
|
46
|
-
selected: boolean;
|
|
47
|
-
/** Prevents the Menu Item from being clicked */
|
|
48
|
-
disabled?: boolean;
|
|
49
|
-
/** The flex positioning of the Item contents */
|
|
50
|
-
contentPosition?: FlexPosition;
|
|
51
|
-
/** The function to be called when the Menu Item is clicked */
|
|
52
|
-
onClick: (event: MouseEvent) => void;
|
|
53
|
-
indent?: number;
|
|
54
|
-
className?: string;
|
|
55
|
-
};
|
|
56
|
-
export declare const Item: {
|
|
57
|
-
({ vertical, selected, disabled, contentPosition, onClick, id, children, indent, ...rest }: MenuItemProps): import("react/jsx-runtime").JSX.Element;
|
|
58
|
-
displayName: string;
|
|
59
|
-
};
|
|
60
|
-
type MenuGroupProps = {
|
|
61
|
-
label: string | ReactNode;
|
|
62
|
-
defaultOpen?: boolean;
|
|
63
|
-
backgroundColor?: string;
|
|
64
|
-
} & Partial<MenuItemProps>;
|
|
65
|
-
export declare const Group: {
|
|
66
|
-
({ label, defaultOpen, vertical, selected, disabled, contentPosition, onClick, id, children, indent, backgroundColor, className, }: MenuGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
67
|
-
displayName: string;
|
|
68
|
-
};
|
|
69
|
-
export default Menu;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import type { Margin, ThemeProp, Width } from './types';
|
|
3
|
-
type MessageProps = {
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
/** Sets the colors and icon of the Message */
|
|
6
|
-
type?: 'info' | 'error' | 'success' | 'warning';
|
|
7
|
-
/** Sets the text of the button */
|
|
8
|
-
content?: string;
|
|
9
|
-
/** Displays a close icon in the top right of the Message */
|
|
10
|
-
closeIcon?: boolean;
|
|
11
|
-
/** Whether to use a solid background color */
|
|
12
|
-
solid?: boolean;
|
|
13
|
-
className?: string;
|
|
14
|
-
/** The function called when the Message is closed */
|
|
15
|
-
onClose?: () => void;
|
|
16
|
-
} & Width & Margin;
|
|
17
|
-
declare const Message: {
|
|
18
|
-
({ type, content, closeIcon, onClose, width, children, solid, ...rest }: MessageProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
Header: import("@emotion/styled").StyledComponent<{
|
|
20
|
-
theme?: import("@emotion/react").Theme;
|
|
21
|
-
as?: React.ElementType;
|
|
22
|
-
} & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
23
|
-
Body: import("@emotion/styled").StyledComponent<{
|
|
24
|
-
theme?: import("@emotion/react").Theme;
|
|
25
|
-
as?: React.ElementType;
|
|
26
|
-
} & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
27
|
-
};
|
|
28
|
-
export declare const MessageHeader: import("@emotion/styled").StyledComponent<{
|
|
29
|
-
theme?: import("@emotion/react").Theme;
|
|
30
|
-
as?: React.ElementType;
|
|
31
|
-
} & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
32
|
-
export declare const MessageBody: import("@emotion/styled").StyledComponent<{
|
|
33
|
-
theme?: import("@emotion/react").Theme;
|
|
34
|
-
as?: React.ElementType;
|
|
35
|
-
} & ThemeProp, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
36
|
-
export default Message;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
type MessageHrProps = {
|
|
2
|
-
/** The text to be displayed */
|
|
3
|
-
text: string | number;
|
|
4
|
-
/** The color of the text displayed */
|
|
5
|
-
color?: string;
|
|
6
|
-
/** Sets the style prop of the text */
|
|
7
|
-
style?: {
|
|
8
|
-
[key: string]: string | number;
|
|
9
|
-
};
|
|
10
|
-
className?: string;
|
|
11
|
-
};
|
|
12
|
-
declare const MessageHr: ({ text, color, style, ...rest }: MessageHrProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export default MessageHr;
|