@deskpro/deskpro-ui 9.3.1 → 10.0.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/README.md +27 -6
- package/dist/cjs/components/AttachmentTag/AttachmentTag.js +5 -5
- package/dist/cjs/components/AttachmentTag/AttachmentTag.js.map +1 -1
- package/dist/cjs/components/Avatar/Avatar.js +48 -48
- package/dist/cjs/components/Avatar/Avatar.js.map +1 -1
- package/dist/cjs/components/Avatar/AvatarGroup.js +4 -4
- package/dist/cjs/components/Avatar/AvatarGroup.js.map +1 -1
- package/dist/cjs/components/Avatar/styles.js +4 -4
- package/dist/cjs/components/Avatar/styles.js.map +1 -1
- package/dist/cjs/components/Badge/Badge.js +3 -3
- package/dist/cjs/components/Badge/Badge.js.map +1 -1
- package/dist/cjs/components/Button/Button.js +53 -52
- package/dist/cjs/components/Button/Button.js.map +1 -1
- package/dist/cjs/components/Button/GroupByButton.js +19 -2
- package/dist/cjs/components/Button/GroupByButton.js.map +1 -1
- package/dist/cjs/components/ButtonGroup/ButtonGroup.js +2 -2
- package/dist/cjs/components/ButtonGroup/ButtonGroup.js.map +1 -1
- package/dist/cjs/components/CCUserTag/CCUserTag.js +4 -4
- package/dist/cjs/components/CCUserTag/CCUserTag.js.map +1 -1
- package/dist/cjs/components/Card/AppCard.js +7 -7
- package/dist/cjs/components/Card/AppCard.js.map +1 -1
- package/dist/cjs/components/Card/CardKanban.js +17 -17
- package/dist/cjs/components/Card/CardKanban.js.map +1 -1
- package/dist/cjs/components/Card/CardList.js +23 -23
- package/dist/cjs/components/Card/CardList.js.map +1 -1
- package/dist/cjs/components/Card/MessageCard.js +2 -2
- package/dist/cjs/components/Card/MessageCard.js.map +1 -1
- package/dist/cjs/components/Card/RowCard.js +16 -16
- package/dist/cjs/components/Card/RowCard.js.map +1 -1
- package/dist/cjs/components/Checkbox/Checkbox.js +4 -4
- package/dist/cjs/components/Checkbox/Checkbox.js.map +1 -1
- package/dist/cjs/components/Dialog/Dialog.js +9 -5
- package/dist/cjs/components/Dialog/Dialog.js.map +1 -1
- package/dist/cjs/components/Divider/Divider.js +3 -3
- package/dist/cjs/components/Divider/Divider.js.map +1 -1
- package/dist/cjs/components/Drilldown/CreateNewOption.js +1 -1
- package/dist/cjs/components/Drilldown/CreateNewOption.js.map +1 -1
- package/dist/cjs/components/Drilldown/Drilldown.js +9 -6
- package/dist/cjs/components/Drilldown/Drilldown.js.map +1 -1
- package/dist/cjs/components/Drilldown/DrilldownItem.js +5 -5
- package/dist/cjs/components/Drilldown/DrilldownItem.js.map +1 -1
- package/dist/cjs/components/Drilldown/DrilldownList.js +5 -5
- package/dist/cjs/components/Drilldown/DrilldownList.js.map +1 -1
- package/dist/cjs/components/Drilldown/DrilldownResetButton.js.map +1 -1
- package/dist/cjs/components/Drilldown/styles.js +19 -11
- package/dist/cjs/components/Drilldown/styles.js.map +1 -1
- package/dist/cjs/components/Drilldown/testUtils/AllVariantsDrilldown.js +3 -3
- package/dist/cjs/components/Drilldown/testUtils/AllVariantsDrilldown.js.map +1 -1
- package/dist/cjs/components/Dropdown/Dropdown.js +6 -6
- package/dist/cjs/components/Dropdown/Dropdown.js.map +1 -1
- package/dist/cjs/components/Dropdown/DropdownResetButton.js.map +1 -1
- package/dist/cjs/components/Dropdown/styles.js +16 -8
- package/dist/cjs/components/Dropdown/styles.js.map +1 -1
- package/dist/cjs/components/Dropdown/testUtils/AllVariantsSelect.js +3 -3
- package/dist/cjs/components/Dropdown/testUtils/AllVariantsSelect.js.map +1 -1
- package/dist/cjs/components/Icon/DazzleIcon.js +2 -2
- package/dist/cjs/components/Icon/DazzleIcon.js.map +1 -1
- package/dist/cjs/components/Icon/Icon.js +6 -6
- package/dist/cjs/components/Icon/Icon.js.map +1 -1
- package/dist/cjs/components/Icon/SVGRIcon.js +5 -2
- package/dist/cjs/components/Icon/SVGRIcon.js.map +1 -1
- package/dist/cjs/components/IconV2/IconV2.js +3 -2
- package/dist/cjs/components/IconV2/IconV2.js.map +1 -1
- package/dist/cjs/components/Infinite/Infinite.js +6 -6
- package/dist/cjs/components/Infinite/Infinite.js.map +1 -1
- package/dist/cjs/components/Infinite/InfiniteTopBottom.js +4 -4
- package/dist/cjs/components/Infinite/InfiniteTopBottom.js.map +1 -1
- package/dist/cjs/components/Input/Input.js +34 -33
- package/dist/cjs/components/Input/Input.js.map +1 -1
- package/dist/cjs/components/Input/styles.js +2 -2
- package/dist/cjs/components/Input/styles.js.map +1 -1
- package/dist/cjs/components/Label/Label.js +20 -19
- package/dist/cjs/components/Label/Label.js.map +1 -1
- package/dist/cjs/components/LabelTag/Tag.js +16 -16
- package/dist/cjs/components/LabelTag/Tag.js.map +1 -1
- package/dist/cjs/components/LabelTag/TagCircle.js +9 -9
- package/dist/cjs/components/LabelTag/TagCircle.js.map +1 -1
- package/dist/cjs/components/LabelTag/liteAgent.js +1 -1
- package/dist/cjs/components/LabelTag/liteAgent.js.map +1 -1
- package/dist/cjs/components/Link/Link.js +3 -3
- package/dist/cjs/components/Link/Link.js.map +1 -1
- package/dist/cjs/components/LoadingState/LoadingBlock.js +2 -2
- package/dist/cjs/components/LoadingState/LoadingBlock.js.map +1 -1
- package/dist/cjs/components/Menu/Menu.js +5 -5
- package/dist/cjs/components/Menu/Menu.js.map +1 -1
- package/dist/cjs/components/Menu/styles.js +3 -3
- package/dist/cjs/components/Menu/styles.js.map +1 -1
- package/dist/cjs/components/Modal/Modal.js +7 -7
- package/dist/cjs/components/Modal/Modal.js.map +1 -1
- package/dist/cjs/components/NonIdealState/NonIdealContainer.js.map +1 -1
- package/dist/cjs/components/NonIdealState/NonIdealState.js +3 -3
- package/dist/cjs/components/NonIdealState/NonIdealState.js.map +1 -1
- package/dist/cjs/components/Overlay/Overlay.js +5 -5
- package/dist/cjs/components/Overlay/Overlay.js.map +1 -1
- package/dist/cjs/components/Pagination/Pagination.js +1 -1
- package/dist/cjs/components/Pagination/Pagination.js.map +1 -1
- package/dist/cjs/components/Pill/Pill.js +11 -11
- package/dist/cjs/components/Pill/Pill.js.map +1 -1
- package/dist/cjs/components/Pill/UrgencyCircle.js +10 -6
- package/dist/cjs/components/Pill/UrgencyCircle.js.map +1 -1
- package/dist/cjs/components/Popover/Popover.js +4 -4
- package/dist/cjs/components/Popover/Popover.js.map +1 -1
- package/dist/cjs/components/Portal/Portal.js +1 -1
- package/dist/cjs/components/Portal/Portal.js.map +1 -1
- package/dist/cjs/components/Radio/Radio.js +4 -4
- package/dist/cjs/components/Radio/Radio.js.map +1 -1
- package/dist/cjs/components/Scrollbar/Scrollbar.js +11 -1
- package/dist/cjs/components/Scrollbar/Scrollbar.js.map +1 -1
- package/dist/cjs/components/Select/Select.js +10 -9
- package/dist/cjs/components/Select/Select.js.map +1 -1
- package/dist/cjs/components/Span/Span.js.map +1 -1
- package/dist/cjs/components/TabBar/TabBar.js +7 -7
- package/dist/cjs/components/TabBar/TabBar.js.map +1 -1
- package/dist/cjs/components/TabbedSection/TabbedSections.js +1 -1
- package/dist/cjs/components/TabbedSection/TabbedSections.js.map +1 -1
- package/dist/cjs/components/TabbedSection/Tabs.js +9 -9
- package/dist/cjs/components/TabbedSection/Tabs.js.map +1 -1
- package/dist/cjs/components/Tabs/Tabs.js +3 -3
- package/dist/cjs/components/Tabs/Tabs.js.map +1 -1
- package/dist/cjs/components/TextArea/TextArea.js +9 -8
- package/dist/cjs/components/TextArea/TextArea.js.map +1 -1
- package/dist/cjs/components/TimeInput/TimeInput.js +14 -14
- package/dist/cjs/components/TimeInput/TimeInput.js.map +1 -1
- package/dist/cjs/components/Toggle/Toggle.js +10 -10
- package/dist/cjs/components/Toggle/Toggle.js.map +1 -1
- package/dist/cjs/components/Tooltip/SafePolygon.js +1 -1
- package/dist/cjs/components/Tooltip/SafePolygon.js.map +1 -1
- package/dist/cjs/components/Tooltip/Tooltip.js +6 -6
- package/dist/cjs/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/cjs/components/Tooltip/styles.js +26 -26
- package/dist/cjs/components/Tooltip/styles.js.map +1 -1
- package/dist/cjs/components/Typography/TSpan.js +6 -6
- package/dist/cjs/components/Typography/TSpan.js.map +1 -1
- package/dist/cjs/components/Typography/index.js.map +1 -1
- package/dist/cjs/components/Typography/v1/Typography.js +6 -2
- package/dist/cjs/components/Typography/v1/Typography.js.map +1 -1
- package/dist/cjs/components/Typography/v1/styles.js +0 -8
- package/dist/cjs/components/Typography/v1/styles.js.map +1 -1
- package/dist/cjs/components/Typography/v2/Typography.js +123 -41
- package/dist/cjs/components/Typography/v2/Typography.js.map +1 -1
- package/dist/cjs/components/Typography/v2/styles.js.map +1 -1
- package/dist/cjs/components/VisuallyHidden/VisuallyHidden.js.map +1 -1
- package/dist/cjs/components/index.js +0 -1
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/cjs/hooks/usePopper.js +114 -0
- package/dist/cjs/hooks/usePopper.js.map +1 -0
- package/dist/cjs/layout/Stack.js +43 -43
- package/dist/cjs/layout/Stack.js.map +1 -1
- package/dist/cjs/layout/ToolbarStack.js +4 -4
- package/dist/cjs/layout/ToolbarStack.js.map +1 -1
- package/dist/cjs/structure/AppSidebar/AppSidebar.js +9 -9
- package/dist/cjs/structure/AppSidebar/AppSidebar.js.map +1 -1
- package/dist/cjs/style/globalStyles/GlobalStyles.js.map +1 -1
- package/dist/cjs/style/theme/helpers.js.map +1 -1
- package/dist/cjs/utils/ParentResizeObserver.js +49 -0
- package/dist/cjs/utils/ParentResizeObserver.js.map +1 -0
- package/dist/cjs/utils/mergeRefs.js.map +1 -1
- package/dist/cjs/utils/styledTypes.js +17 -0
- package/dist/cjs/utils/styledTypes.js.map +1 -0
- package/dist/deskpro-ui.d.ts +504 -687
- package/dist/esm/components/AttachmentTag/AttachmentTag.js +5 -5
- package/dist/esm/components/AttachmentTag/AttachmentTag.js.map +1 -1
- package/dist/esm/components/Avatar/Avatar.js +48 -48
- package/dist/esm/components/Avatar/Avatar.js.map +1 -1
- package/dist/esm/components/Avatar/AvatarGroup.js +4 -4
- package/dist/esm/components/Avatar/AvatarGroup.js.map +1 -1
- package/dist/esm/components/Avatar/styles.js +4 -4
- package/dist/esm/components/Avatar/styles.js.map +1 -1
- package/dist/esm/components/Badge/Badge.js +3 -3
- package/dist/esm/components/Badge/Badge.js.map +1 -1
- package/dist/esm/components/Button/Button.js +53 -52
- package/dist/esm/components/Button/Button.js.map +1 -1
- package/dist/esm/components/Button/GroupByButton.js +19 -2
- package/dist/esm/components/Button/GroupByButton.js.map +1 -1
- package/dist/esm/components/ButtonGroup/ButtonGroup.js +2 -2
- package/dist/esm/components/ButtonGroup/ButtonGroup.js.map +1 -1
- package/dist/esm/components/CCUserTag/CCUserTag.js +4 -4
- package/dist/esm/components/CCUserTag/CCUserTag.js.map +1 -1
- package/dist/esm/components/Card/AppCard.js +7 -7
- package/dist/esm/components/Card/AppCard.js.map +1 -1
- package/dist/esm/components/Card/CardKanban.js +17 -17
- package/dist/esm/components/Card/CardKanban.js.map +1 -1
- package/dist/esm/components/Card/CardList.js +23 -23
- package/dist/esm/components/Card/CardList.js.map +1 -1
- package/dist/esm/components/Card/MessageCard.js +2 -2
- package/dist/esm/components/Card/MessageCard.js.map +1 -1
- package/dist/esm/components/Card/RowCard.js +16 -16
- package/dist/esm/components/Card/RowCard.js.map +1 -1
- package/dist/esm/components/Checkbox/Checkbox.js +4 -4
- package/dist/esm/components/Checkbox/Checkbox.js.map +1 -1
- package/dist/esm/components/Dialog/Dialog.js +9 -5
- package/dist/esm/components/Dialog/Dialog.js.map +1 -1
- package/dist/esm/components/Divider/Divider.js +3 -3
- package/dist/esm/components/Divider/Divider.js.map +1 -1
- package/dist/esm/components/Drilldown/CreateNewOption.js +1 -1
- package/dist/esm/components/Drilldown/CreateNewOption.js.map +1 -1
- package/dist/esm/components/Drilldown/Drilldown.js +8 -5
- package/dist/esm/components/Drilldown/Drilldown.js.map +1 -1
- package/dist/esm/components/Drilldown/DrilldownItem.js +5 -5
- package/dist/esm/components/Drilldown/DrilldownItem.js.map +1 -1
- package/dist/esm/components/Drilldown/DrilldownList.js +5 -5
- package/dist/esm/components/Drilldown/DrilldownList.js.map +1 -1
- package/dist/esm/components/Drilldown/DrilldownResetButton.js.map +1 -1
- package/dist/esm/components/Drilldown/styles.js +18 -10
- package/dist/esm/components/Drilldown/styles.js.map +1 -1
- package/dist/esm/components/Drilldown/testUtils/AllVariantsDrilldown.js +3 -3
- package/dist/esm/components/Drilldown/testUtils/AllVariantsDrilldown.js.map +1 -1
- package/dist/esm/components/Dropdown/Dropdown.js +5 -5
- package/dist/esm/components/Dropdown/Dropdown.js.map +1 -1
- package/dist/esm/components/Dropdown/DropdownResetButton.js.map +1 -1
- package/dist/esm/components/Dropdown/styles.js +15 -7
- package/dist/esm/components/Dropdown/styles.js.map +1 -1
- package/dist/esm/components/Dropdown/testUtils/AllVariantsSelect.js +3 -3
- package/dist/esm/components/Dropdown/testUtils/AllVariantsSelect.js.map +1 -1
- package/dist/esm/components/Icon/DazzleIcon.js +2 -2
- package/dist/esm/components/Icon/DazzleIcon.js.map +1 -1
- package/dist/esm/components/Icon/Icon.js +6 -6
- package/dist/esm/components/Icon/Icon.js.map +1 -1
- package/dist/esm/components/Icon/SVGRIcon.js +5 -2
- package/dist/esm/components/Icon/SVGRIcon.js.map +1 -1
- package/dist/esm/components/IconV2/IconV2.js +3 -2
- package/dist/esm/components/IconV2/IconV2.js.map +1 -1
- package/dist/esm/components/Infinite/Infinite.js +6 -6
- package/dist/esm/components/Infinite/Infinite.js.map +1 -1
- package/dist/esm/components/Infinite/InfiniteTopBottom.js +4 -4
- package/dist/esm/components/Infinite/InfiniteTopBottom.js.map +1 -1
- package/dist/esm/components/Input/Input.js +34 -33
- package/dist/esm/components/Input/Input.js.map +1 -1
- package/dist/esm/components/Input/styles.js +2 -2
- package/dist/esm/components/Input/styles.js.map +1 -1
- package/dist/esm/components/Label/Label.js +20 -19
- package/dist/esm/components/Label/Label.js.map +1 -1
- package/dist/esm/components/LabelTag/Tag.js +16 -16
- package/dist/esm/components/LabelTag/Tag.js.map +1 -1
- package/dist/esm/components/LabelTag/TagCircle.js +9 -9
- package/dist/esm/components/LabelTag/TagCircle.js.map +1 -1
- package/dist/esm/components/LabelTag/liteAgent.js +1 -1
- package/dist/esm/components/LabelTag/liteAgent.js.map +1 -1
- package/dist/esm/components/Link/Link.js +3 -3
- package/dist/esm/components/Link/Link.js.map +1 -1
- package/dist/esm/components/LoadingState/LoadingBlock.js +2 -2
- package/dist/esm/components/LoadingState/LoadingBlock.js.map +1 -1
- package/dist/esm/components/Menu/Menu.js +5 -5
- package/dist/esm/components/Menu/Menu.js.map +1 -1
- package/dist/esm/components/Menu/styles.js +3 -3
- package/dist/esm/components/Menu/styles.js.map +1 -1
- package/dist/esm/components/Modal/Modal.js +7 -7
- package/dist/esm/components/Modal/Modal.js.map +1 -1
- package/dist/esm/components/NonIdealState/NonIdealContainer.js.map +1 -1
- package/dist/esm/components/NonIdealState/NonIdealState.js +3 -3
- package/dist/esm/components/NonIdealState/NonIdealState.js.map +1 -1
- package/dist/esm/components/Overlay/Overlay.js +5 -5
- package/dist/esm/components/Overlay/Overlay.js.map +1 -1
- package/dist/esm/components/Pagination/Pagination.js +1 -1
- package/dist/esm/components/Pagination/Pagination.js.map +1 -1
- package/dist/esm/components/Pill/Pill.js +11 -11
- package/dist/esm/components/Pill/Pill.js.map +1 -1
- package/dist/esm/components/Pill/UrgencyCircle.js +10 -6
- package/dist/esm/components/Pill/UrgencyCircle.js.map +1 -1
- package/dist/esm/components/Popover/Popover.js +3 -3
- package/dist/esm/components/Popover/Popover.js.map +1 -1
- package/dist/esm/components/Portal/Portal.js +1 -1
- package/dist/esm/components/Portal/Portal.js.map +1 -1
- package/dist/esm/components/Radio/Radio.js +4 -4
- package/dist/esm/components/Radio/Radio.js.map +1 -1
- package/dist/esm/components/Scrollbar/Scrollbar.js +12 -2
- package/dist/esm/components/Scrollbar/Scrollbar.js.map +1 -1
- package/dist/esm/components/Select/Select.js +10 -9
- package/dist/esm/components/Select/Select.js.map +1 -1
- package/dist/esm/components/Span/Span.js.map +1 -1
- package/dist/esm/components/TabBar/TabBar.js +7 -7
- package/dist/esm/components/TabBar/TabBar.js.map +1 -1
- package/dist/esm/components/TabbedSection/TabbedSections.js +1 -1
- package/dist/esm/components/TabbedSection/TabbedSections.js.map +1 -1
- package/dist/esm/components/TabbedSection/Tabs.js +9 -9
- package/dist/esm/components/TabbedSection/Tabs.js.map +1 -1
- package/dist/esm/components/Tabs/Tabs.js +3 -3
- package/dist/esm/components/Tabs/Tabs.js.map +1 -1
- package/dist/esm/components/TextArea/TextArea.js +9 -8
- package/dist/esm/components/TextArea/TextArea.js.map +1 -1
- package/dist/esm/components/TimeInput/TimeInput.js +14 -14
- package/dist/esm/components/TimeInput/TimeInput.js.map +1 -1
- package/dist/esm/components/Toggle/Toggle.js +10 -10
- package/dist/esm/components/Toggle/Toggle.js.map +1 -1
- package/dist/esm/components/Tooltip/SafePolygon.js +1 -1
- package/dist/esm/components/Tooltip/SafePolygon.js.map +1 -1
- package/dist/esm/components/Tooltip/Tooltip.js +6 -6
- package/dist/esm/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/esm/components/Tooltip/styles.js +26 -26
- package/dist/esm/components/Tooltip/styles.js.map +1 -1
- package/dist/esm/components/Typography/TSpan.js +6 -6
- package/dist/esm/components/Typography/TSpan.js.map +1 -1
- package/dist/esm/components/Typography/index.js.map +1 -1
- package/dist/esm/components/Typography/v1/Typography.js +6 -2
- package/dist/esm/components/Typography/v1/Typography.js.map +1 -1
- package/dist/esm/components/Typography/v1/styles.js +0 -8
- package/dist/esm/components/Typography/v1/styles.js.map +1 -1
- package/dist/esm/components/Typography/v2/Typography.js +123 -41
- package/dist/esm/components/Typography/v2/Typography.js.map +1 -1
- package/dist/esm/components/Typography/v2/styles.js.map +1 -1
- package/dist/esm/components/VisuallyHidden/VisuallyHidden.js.map +1 -1
- package/dist/esm/components/index.js +0 -1
- package/dist/esm/components/index.js.map +1 -1
- package/dist/esm/hooks/usePopper.js +111 -0
- package/dist/esm/hooks/usePopper.js.map +1 -0
- package/dist/esm/layout/Stack.js +43 -43
- package/dist/esm/layout/Stack.js.map +1 -1
- package/dist/esm/layout/ToolbarStack.js +4 -4
- package/dist/esm/layout/ToolbarStack.js.map +1 -1
- package/dist/esm/structure/AppSidebar/AppSidebar.js +9 -9
- package/dist/esm/structure/AppSidebar/AppSidebar.js.map +1 -1
- package/dist/esm/style/globalStyles/GlobalStyles.js.map +1 -1
- package/dist/esm/style/theme/helpers.js.map +1 -1
- package/dist/esm/utils/ParentResizeObserver.js +46 -0
- package/dist/esm/utils/ParentResizeObserver.js.map +1 -0
- package/dist/esm/utils/mergeRefs.js.map +1 -1
- package/dist/esm/utils/styledTypes.js +14 -0
- package/dist/esm/utils/styledTypes.js.map +1 -0
- package/package.json +20 -36
- package/dist/cjs/components/TippyTooltip/EllipsesTippyTooltip.js +0 -18
- package/dist/cjs/components/TippyTooltip/EllipsesTippyTooltip.js.map +0 -1
- package/dist/cjs/components/TippyTooltip/TippyTooltip.js +0 -121
- package/dist/cjs/components/TippyTooltip/TippyTooltip.js.map +0 -1
- package/dist/cjs/components/TippyTooltip/index.js +0 -9
- package/dist/cjs/components/TippyTooltip/index.js.map +0 -1
- package/dist/cjs/components/TippyTooltip/mergePlugins.js +0 -15
- package/dist/cjs/components/TippyTooltip/mergePlugins.js.map +0 -1
- package/dist/cjs/components/TippyTooltip/plugIns/disableForTouchDevicesPlugin.js +0 -14
- package/dist/cjs/components/TippyTooltip/plugIns/disableForTouchDevicesPlugin.js.map +0 -1
- package/dist/cjs/components/TippyTooltip/plugIns/dpNamePlugin.js +0 -9
- package/dist/cjs/components/TippyTooltip/plugIns/dpNamePlugin.js.map +0 -1
- package/dist/cjs/components/TippyTooltip/plugIns/escPlugin.js +0 -21
- package/dist/cjs/components/TippyTooltip/plugIns/escPlugin.js.map +0 -1
- package/dist/cjs/components/TippyTooltip/plugIns/index.js +0 -10
- package/dist/cjs/components/TippyTooltip/plugIns/index.js.map +0 -1
- package/dist/esm/components/TippyTooltip/EllipsesTippyTooltip.js +0 -16
- package/dist/esm/components/TippyTooltip/EllipsesTippyTooltip.js.map +0 -1
- package/dist/esm/components/TippyTooltip/TippyTooltip.js +0 -117
- package/dist/esm/components/TippyTooltip/TippyTooltip.js.map +0 -1
- package/dist/esm/components/TippyTooltip/index.js +0 -3
- package/dist/esm/components/TippyTooltip/index.js.map +0 -1
- package/dist/esm/components/TippyTooltip/mergePlugins.js +0 -13
- package/dist/esm/components/TippyTooltip/mergePlugins.js.map +0 -1
- package/dist/esm/components/TippyTooltip/plugIns/disableForTouchDevicesPlugin.js +0 -12
- package/dist/esm/components/TippyTooltip/plugIns/disableForTouchDevicesPlugin.js.map +0 -1
- package/dist/esm/components/TippyTooltip/plugIns/dpNamePlugin.js +0 -7
- package/dist/esm/components/TippyTooltip/plugIns/dpNamePlugin.js.map +0 -1
- package/dist/esm/components/TippyTooltip/plugIns/escPlugin.js +0 -19
- package/dist/esm/components/TippyTooltip/plugIns/escPlugin.js.map +0 -1
- package/dist/esm/components/TippyTooltip/plugIns/index.js +0 -4
- package/dist/esm/components/TippyTooltip/plugIns/index.js.map +0 -1
package/dist/deskpro-ui.d.ts
CHANGED
|
@@ -9,10 +9,12 @@ import type { ButtonHTMLAttributes } from 'react';
|
|
|
9
9
|
import type { ChangeEvent } from 'react';
|
|
10
10
|
import type { ComponentProps } from 'react';
|
|
11
11
|
import type { ComponentType } from 'react';
|
|
12
|
+
import type { createGlobalStyle } from 'styled-components';
|
|
13
|
+
import type { css } from 'styled-components';
|
|
12
14
|
import type { CSSProp } from 'styled-components';
|
|
13
|
-
import { CSSProperties } from 'react';
|
|
15
|
+
import type { CSSProperties } from 'react';
|
|
14
16
|
import type { CSSProperties as CSSProperties_2 } from 'styled-components';
|
|
15
|
-
import { DefaultTheme } from 'styled-components';
|
|
17
|
+
import type { DefaultTheme } from 'styled-components';
|
|
16
18
|
import { Dispatch } from 'react';
|
|
17
19
|
import type { ElementType } from 'react';
|
|
18
20
|
import type { ErrorMessageProps } from 'formik';
|
|
@@ -20,14 +22,9 @@ import type { FieldHelperProps } from 'formik';
|
|
|
20
22
|
import type { FieldHookConfig } from 'formik';
|
|
21
23
|
import type { FieldInputProps } from 'formik';
|
|
22
24
|
import type { FieldMetaProps } from 'formik';
|
|
23
|
-
import { FlattenInterpolation } from 'styled-components';
|
|
24
|
-
import { FlattenSimpleInterpolation } from 'styled-components';
|
|
25
|
-
import { ForwardRefComponent } from 'framer-motion';
|
|
26
25
|
import { ForwardRefExoticComponent } from 'react';
|
|
27
|
-
import { GlobalStyleComponent } from 'styled-components';
|
|
28
26
|
import type { HierarchyNode } from 'd3-hierarchy';
|
|
29
27
|
import type { HTMLAttributes } from 'react';
|
|
30
|
-
import { HTMLMotionProps } from 'framer-motion';
|
|
31
28
|
import type { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
32
29
|
import type { InputHTMLAttributes } from 'react';
|
|
33
30
|
import { JSX as JSX_2 } from 'react';
|
|
@@ -40,7 +37,6 @@ import type { MutableRefObject } from 'react';
|
|
|
40
37
|
import type { OptgroupHTMLAttributes } from 'react';
|
|
41
38
|
import type { OptionHTMLAttributes } from 'react';
|
|
42
39
|
import type { Placement } from '@popperjs/core';
|
|
43
|
-
import type { Props } from 'simplebar-react';
|
|
44
40
|
import * as React_2 from 'react';
|
|
45
41
|
import { ReactNode } from 'react';
|
|
46
42
|
import type { ReactPortal } from 'react';
|
|
@@ -49,12 +45,9 @@ import { RefAttributes } from 'react';
|
|
|
49
45
|
import type { RefObject } from 'react';
|
|
50
46
|
import type { SelectHTMLAttributes } from 'react';
|
|
51
47
|
import { SetStateAction } from 'react';
|
|
52
|
-
import { default as SimpleBar_2 } from 'simplebar-react';
|
|
53
48
|
import type { StrictModifiers } from '@popperjs/core';
|
|
54
|
-
import
|
|
49
|
+
import styled from 'styled-components';
|
|
55
50
|
import type { TextareaHTMLAttributes } from 'react';
|
|
56
|
-
import { ThemeProps } from 'styled-components';
|
|
57
|
-
import { TippyProps } from '@tippyjs/react';
|
|
58
51
|
|
|
59
52
|
export declare type AccessibleIcon = IconDefinition | DpCustomIconsId;
|
|
60
53
|
|
|
@@ -77,9 +70,7 @@ export declare type AllButtonIntents = "primary" | "secondary" | "tertiary" | "m
|
|
|
77
70
|
* Anchor component styled like a button
|
|
78
71
|
* @public
|
|
79
72
|
*/
|
|
80
|
-
export declare const AnchorButton:
|
|
81
|
-
disabled?: boolean;
|
|
82
|
-
} & React_2.RefAttributes<HTMLAnchorElement>>, DefaultTheme, {}, never>;
|
|
73
|
+
export declare const AnchorButton: ReturnType<typeof styled.a<AnchorButtonProps>>;
|
|
83
74
|
|
|
84
75
|
/**
|
|
85
76
|
* @public
|
|
@@ -91,7 +82,7 @@ export declare type AnchorButtonProps = HTMLAnchorButtonProps & CommonButtonProp
|
|
|
91
82
|
/**
|
|
92
83
|
* @public
|
|
93
84
|
*/
|
|
94
|
-
export declare type AnyIcon = IconDefinition | DpCustomIconsId | SVGRIconType | JSX.Element | DazzleIconType;
|
|
85
|
+
export declare type AnyIcon = IconDefinition | DpCustomIconsId | SVGRIconType | React_2.JSX.Element | DazzleIconType;
|
|
95
86
|
|
|
96
87
|
/**
|
|
97
88
|
* @public
|
|
@@ -102,28 +93,12 @@ export declare function AppCard({ children, backgroundColor, hasCheckBox, onChan
|
|
|
102
93
|
* @public
|
|
103
94
|
*/
|
|
104
95
|
export declare const AppCardComponents: {
|
|
105
|
-
IdTitle:
|
|
106
|
-
AppCardInfo:
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
SubjectLine: StyledComponent<"span", DefaultTheme, TProps & {
|
|
112
|
-
as: string;
|
|
113
|
-
type: string;
|
|
114
|
-
overflow: string;
|
|
115
|
-
}, "type" | "overflow" | "as">;
|
|
116
|
-
ProfileDetailsEmail: StyledComponent<"span", DefaultTheme, TProps & {
|
|
117
|
-
as: string;
|
|
118
|
-
type: string;
|
|
119
|
-
overflow: string;
|
|
120
|
-
}, "type" | "overflow" | "as">;
|
|
121
|
-
ProfileDetailsName: StyledComponent<"span", DefaultTheme, TProps & {
|
|
122
|
-
as: string;
|
|
123
|
-
type: string;
|
|
124
|
-
overflow: string;
|
|
125
|
-
}, "type" | "overflow" | "as">;
|
|
126
|
-
ProfileDetailsWrapper: StyledComponent<"div", DefaultTheme, StackProps, never>;
|
|
96
|
+
IdTitle: ReturnType<typeof styled.span<object>>;
|
|
97
|
+
AppCardInfo: ReturnType<typeof styled.span<Partial<TProps>>>;
|
|
98
|
+
SubjectLine: ReturnType<typeof styled.span<Partial<TProps>>>;
|
|
99
|
+
ProfileDetailsEmail: ReturnType<typeof styled.span<Partial<TProps>>>;
|
|
100
|
+
ProfileDetailsName: ReturnType<typeof styled.span<Partial<TProps>>>;
|
|
101
|
+
ProfileDetailsWrapper: ReturnType<typeof styled.div<StackProps>>;
|
|
127
102
|
};
|
|
128
103
|
|
|
129
104
|
/**
|
|
@@ -250,7 +225,7 @@ export declare const Avatar: React_2.MemoExoticComponent<({ imageStyles, backupI
|
|
|
250
225
|
/**
|
|
251
226
|
* @public
|
|
252
227
|
*/
|
|
253
|
-
export declare const AvatarButton:
|
|
228
|
+
export declare const AvatarButton: ReturnType<typeof styled.button<AvatarButtonProps>>;
|
|
254
229
|
|
|
255
230
|
/**
|
|
256
231
|
* @public
|
|
@@ -274,7 +249,7 @@ export declare type AvatarGroupArray = Extract<AvatarProps, {
|
|
|
274
249
|
/**
|
|
275
250
|
* @public
|
|
276
251
|
*/
|
|
277
|
-
export declare const AvatarGroupButton:
|
|
252
|
+
export declare const AvatarGroupButton: ReturnType<typeof styled.button<IconButtonProps>>;
|
|
278
253
|
|
|
279
254
|
/**
|
|
280
255
|
* @public
|
|
@@ -378,18 +353,18 @@ export declare const brandColors: {
|
|
|
378
353
|
* Button
|
|
379
354
|
* @public
|
|
380
355
|
*/
|
|
381
|
-
export declare const Button:
|
|
356
|
+
export declare const Button: ReturnType<typeof styled.button<AttachQuickActions<ButtonProps>>>;
|
|
382
357
|
|
|
383
358
|
/**
|
|
384
359
|
* @public
|
|
385
360
|
*/
|
|
386
|
-
export declare const ButtonGroup:
|
|
361
|
+
export declare const ButtonGroup: ReturnType<typeof styled.div<ButtonGroupProps>>;
|
|
387
362
|
|
|
388
363
|
/**
|
|
389
364
|
* @public
|
|
390
365
|
*/
|
|
391
366
|
export declare type ButtonGroupProps = {
|
|
392
|
-
quickActions?: boolean;
|
|
367
|
+
$quickActions?: boolean;
|
|
393
368
|
};
|
|
394
369
|
|
|
395
370
|
/**
|
|
@@ -479,7 +454,7 @@ export declare interface CheckboxProps extends InputHTMLAttributes<HTMLInputElem
|
|
|
479
454
|
/**
|
|
480
455
|
* @public
|
|
481
456
|
*/
|
|
482
|
-
export declare const Code:
|
|
457
|
+
export declare const Code: ReturnType<typeof styled.code<object>>;
|
|
483
458
|
|
|
484
459
|
/**
|
|
485
460
|
* @public
|
|
@@ -510,12 +485,16 @@ export declare const Code: StyledComponent<"code", DefaultTheme, {}, never>;
|
|
|
510
485
|
* `
|
|
511
486
|
* ```
|
|
512
487
|
*/
|
|
513
|
-
export declare const color: <T extends
|
|
488
|
+
export declare const color: <T extends {
|
|
489
|
+
theme: DefaultTheme;
|
|
490
|
+
}>(colorPicker: keyof ThemeColors | ((props: T) => ThemeColorKey | undefined | null | void | false) | null | undefined, defaultColor?: keyof ThemeColors | undefined) => (props: T) => ((string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "aliceblue" | "antiquewhite" | "aqua" | "aquamarine" | "azure" | "beige" | "bisque" | "black" | "blanchedalmond" | "blue" | "blueviolet" | "brown" | "burlywood" | "cadetblue" | "chartreuse" | "chocolate" | "coral" | "cornflowerblue" | "cornsilk" | "crimson" | "cyan" | "darkblue" | "darkcyan" | "darkgoldenrod" | "darkgray" | "darkgreen" | "darkgrey" | "darkkhaki" | "darkmagenta" | "darkolivegreen" | "darkorange" | "darkorchid" | "darkred" | "darksalmon" | "darkseagreen" | "darkslateblue" | "darkslategray" | "darkslategrey" | "darkturquoise" | "darkviolet" | "deeppink" | "deepskyblue" | "dimgray" | "dimgrey" | "dodgerblue" | "firebrick" | "floralwhite" | "forestgreen" | "fuchsia" | "gainsboro" | "ghostwhite" | "gold" | "goldenrod" | "gray" | "green" | "greenyellow" | "grey" | "honeydew" | "hotpink" | "indianred" | "indigo" | "ivory" | "khaki" | "lavender" | "lavenderblush" | "lawngreen" | "lemonchiffon" | "lightblue" | "lightcoral" | "lightcyan" | "lightgoldenrodyellow" | "lightgray" | "lightgreen" | "lightgrey" | "lightpink" | "lightsalmon" | "lightseagreen" | "lightskyblue" | "lightslategray" | "lightslategrey" | "lightsteelblue" | "lightyellow" | "lime" | "limegreen" | "linen" | "magenta" | "maroon" | "mediumaquamarine" | "mediumblue" | "mediumorchid" | "mediumpurple" | "mediumseagreen" | "mediumslateblue" | "mediumspringgreen" | "mediumturquoise" | "mediumvioletred" | "midnightblue" | "mintcream" | "mistyrose" | "moccasin" | "navajowhite" | "navy" | "oldlace" | "olive" | "olivedrab" | "orange" | "orangered" | "orchid" | "palegoldenrod" | "palegreen" | "paleturquoise" | "palevioletred" | "papayawhip" | "peachpuff" | "peru" | "pink" | "plum" | "powderblue" | "purple" | "rebeccapurple" | "red" | "rosybrown" | "royalblue" | "saddlebrown" | "salmon" | "sandybrown" | "seagreen" | "seashell" | "sienna" | "silver" | "skyblue" | "slateblue" | "slategray" | "slategrey" | "snow" | "springgreen" | "steelblue" | "tan" | "teal" | "thistle" | "tomato" | "transparent" | "turquoise" | "violet" | "wheat" | "white" | "whitesmoke" | "yellow" | "yellowgreen" | "ActiveBorder" | "ActiveCaption" | "AppWorkspace" | "Background" | "ButtonFace" | "ButtonHighlight" | "ButtonShadow" | "ButtonText" | "CaptionText" | "GrayText" | "Highlight" | "HighlightText" | "InactiveBorder" | "InactiveCaption" | "InactiveCaptionText" | "InfoBackground" | "InfoText" | "Menu" | "MenuText" | "Scrollbar" | "ThreeDDarkShadow" | "ThreeDFace" | "ThreeDHighlight" | "ThreeDLightShadow" | "ThreeDShadow" | "Window" | "WindowFrame" | "WindowText" | "currentcolor") | undefined;
|
|
514
491
|
|
|
515
492
|
/**
|
|
516
493
|
* @public
|
|
517
494
|
*/
|
|
518
|
-
export declare type ColorProps<T extends
|
|
495
|
+
export declare type ColorProps<T extends {
|
|
496
|
+
theme: DefaultTheme;
|
|
497
|
+
}> = [
|
|
519
498
|
colorPicker: ThemeColorKey | undefined | null | ((props: T) => ThemeColorKey | undefined | null | void | false),
|
|
520
499
|
defaultColor?: ThemeColorKey
|
|
521
500
|
];
|
|
@@ -531,15 +510,15 @@ export declare interface CommonButtonProps {
|
|
|
531
510
|
/** default false */
|
|
532
511
|
danger?: boolean;
|
|
533
512
|
/** default "left" */
|
|
534
|
-
alignText?:
|
|
513
|
+
alignText?: React_2.CSSProperties["textAlign"];
|
|
535
514
|
/** the label node */
|
|
536
515
|
text?: ReactNode;
|
|
537
516
|
/** default "normal" */
|
|
538
517
|
size?: ButtonSize;
|
|
539
518
|
/** An icon that will appear on the left, or the middle for icon buttons */
|
|
540
|
-
icon?: AnyIcon | IconProps | JSX.Element | null;
|
|
519
|
+
icon?: AnyIcon | IconProps | React_2.JSX.Element | null;
|
|
541
520
|
/** An icon that will appear on the right */
|
|
542
|
-
rightIcon?: AnyIcon | IconProps | JSX.Element | null;
|
|
521
|
+
rightIcon?: AnyIcon | IconProps | React_2.JSX.Element | null;
|
|
543
522
|
/** Render a loading spinner without change the size of the button */
|
|
544
523
|
loading?: boolean;
|
|
545
524
|
/** Show active style - same style as when pressing down on a button */
|
|
@@ -559,7 +538,7 @@ export declare interface CommonButtonProps {
|
|
|
559
538
|
/**
|
|
560
539
|
* @public
|
|
561
540
|
*/
|
|
562
|
-
export declare const CreateNewOption: ({ text, icon, onClick, onMouseEnter, resetButton, iconColor, active, }: CreateNewOptionProps) => JSX.Element;
|
|
541
|
+
export declare const CreateNewOption: ({ text, icon, onClick, onMouseEnter, resetButton, iconColor, active, }: CreateNewOptionProps) => React_2.JSX.Element;
|
|
563
542
|
|
|
564
543
|
/**
|
|
565
544
|
* @public
|
|
@@ -579,10 +558,10 @@ declare type CssColor = Exclude<React.CSSProperties["color"], undefined>;
|
|
|
579
558
|
/**
|
|
580
559
|
* @public
|
|
581
560
|
*/
|
|
582
|
-
export declare const DatePickerInputWithDisplay:
|
|
583
|
-
isVisibleRightIcon?: boolean;
|
|
584
|
-
error?: boolean;
|
|
585
|
-
}
|
|
561
|
+
export declare const DatePickerInputWithDisplay: ReturnType<typeof styled.input<DatePickerInputWithDisplayProps & {
|
|
562
|
+
isVisibleRightIcon?: boolean;
|
|
563
|
+
error?: boolean;
|
|
564
|
+
}>>;
|
|
586
565
|
|
|
587
566
|
/**
|
|
588
567
|
* @public
|
|
@@ -829,16 +808,12 @@ export declare interface DeskproTheme {
|
|
|
829
808
|
* </Dialog>
|
|
830
809
|
* ```
|
|
831
810
|
*/
|
|
832
|
-
export declare function Dialog({ isOpen, canClickOutsideClose, canEscClose, children, hasBackdrop, onRequestClose, autofocus, size, zIndex, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, "aria-describedby": ariaDescribedBy, }: DialogProps): JSX.Element;
|
|
811
|
+
export declare function Dialog({ isOpen, canClickOutsideClose, canEscClose, children, hasBackdrop, onRequestClose, autofocus, size, zIndex, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, "aria-describedby": ariaDescribedBy, }: DialogProps): React_2.JSX.Element;
|
|
833
812
|
|
|
834
813
|
/**
|
|
835
814
|
* @public
|
|
836
815
|
*/
|
|
837
|
-
export declare const DialogFooter:
|
|
838
|
-
align: string;
|
|
839
|
-
justify: string;
|
|
840
|
-
gap: number;
|
|
841
|
-
}, "align" | "justify" | "gap">;
|
|
816
|
+
export declare const DialogFooter: ReturnType<typeof styled.div<StackProps>>;
|
|
842
817
|
|
|
843
818
|
/**
|
|
844
819
|
* @public
|
|
@@ -875,14 +850,14 @@ export declare type DisplayItem = "perPageText" | "perPageSelect" | "pageSelect"
|
|
|
875
850
|
/**
|
|
876
851
|
* @public
|
|
877
852
|
*/
|
|
878
|
-
export declare const DivAsInput:
|
|
853
|
+
export declare const DivAsInput: ReturnType<typeof styled.div<DivAsInputProps>>;
|
|
879
854
|
|
|
880
855
|
/**
|
|
881
856
|
* @public
|
|
882
857
|
*/
|
|
883
858
|
export declare interface DivAsInputProps extends Omit<HTMLAttributes<HTMLDivElement>, "placeholder"> {
|
|
884
|
-
leftIcon?: AnyIcon | IconProps | JSX.Element | null;
|
|
885
|
-
rightIcon?: AnyIcon | IconProps | JSX.Element | null;
|
|
859
|
+
leftIcon?: AnyIcon | IconProps | React_2.JSX.Element | null;
|
|
860
|
+
rightIcon?: AnyIcon | IconProps | React_2.JSX.Element | null;
|
|
886
861
|
variant?: InputVariant;
|
|
887
862
|
value?: ReactNode;
|
|
888
863
|
placeholder?: ReactNode;
|
|
@@ -899,14 +874,14 @@ export declare interface DivAsInputProps extends Omit<HTMLAttributes<HTMLDivElem
|
|
|
899
874
|
/**
|
|
900
875
|
* @public
|
|
901
876
|
*/
|
|
902
|
-
export declare const DivAsInputWithDisplay:
|
|
877
|
+
export declare const DivAsInputWithDisplay: ReturnType<typeof styled.div<DivAsInputWithDisplayProps>>;
|
|
903
878
|
|
|
904
879
|
/**
|
|
905
880
|
* @public
|
|
906
881
|
*/
|
|
907
882
|
export declare interface DivAsInputWithDisplayProps extends HTMLAttributes<HTMLDivElement> {
|
|
908
|
-
leftIcon?: AnyIcon | IconProps | JSX.Element | null;
|
|
909
|
-
rightIcon?: AnyIcon | IconProps | JSX.Element | null;
|
|
883
|
+
leftIcon?: AnyIcon | IconProps | React_2.JSX.Element | null;
|
|
884
|
+
rightIcon?: AnyIcon | IconProps | React_2.JSX.Element | null;
|
|
910
885
|
variant?: InputVariant;
|
|
911
886
|
value?: ReactNode;
|
|
912
887
|
placeholder?: string;
|
|
@@ -924,18 +899,33 @@ export declare interface DivAsInputWithDisplayProps extends HTMLAttributes<HTMLD
|
|
|
924
899
|
/**
|
|
925
900
|
* @public
|
|
926
901
|
*/
|
|
927
|
-
export declare const Divider:
|
|
902
|
+
export declare const Divider: ReturnType<typeof styled.div<DividerProps>>;
|
|
928
903
|
|
|
929
904
|
/**
|
|
930
905
|
* @public
|
|
931
906
|
*/
|
|
932
907
|
export declare interface DividerProps {
|
|
933
|
-
vertical?: boolean;
|
|
934
|
-
themeColor?: ThemeColorKey;
|
|
908
|
+
$vertical?: boolean;
|
|
909
|
+
$themeColor?: ThemeColorKey;
|
|
935
910
|
}
|
|
936
911
|
|
|
912
|
+
/**
|
|
913
|
+
* A `css` mixin, typed by the consumer's own styled-components version.
|
|
914
|
+
*
|
|
915
|
+
* @public
|
|
916
|
+
*/
|
|
917
|
+
export declare type DpCss = ReturnType<typeof css>;
|
|
918
|
+
|
|
937
919
|
export declare type DpCustomIconsId = "active-call" | "admin" | "advanced-filter" | "agent" | "api" | "approval" | "apps-zapier" | "archived" | "arrow" | "awaiting-user" | "check" | "column-width" | "community" | "crown" | "deskpro" | "dot" | "drag" | "dual-card" | "dual-table" | "dual-view" | "email-primary" | "enter" | "export-alt" | "export" | "follow-up-new" | "follow-up" | "glossary" | "google-analytics" | "grip" | "hang-up" | "helping-hand" | "history" | "im-outline" | "im-send" | "im" | "inbound-call" | "kanban-view" | "level-down" | "linked-ticket-new" | "linked-ticket" | "live" | "location-arrow" | "merge" | "merge2" | "missed-call" | "mobile-rotate" | "organization-circle" | "outbound-call" | "read" | "record" | "sent" | "sip-address" | "sort" | "transfer-queue" | "triangle" | "user-edit" | "version-history" | "warm-add" | "warm-transfer" | "webhook" | "workspaces";
|
|
938
920
|
|
|
921
|
+
/**
|
|
922
|
+
* A `createGlobalStyle` component, typed by the consumer's own
|
|
923
|
+
* styled-components version.
|
|
924
|
+
*
|
|
925
|
+
* @public
|
|
926
|
+
*/
|
|
927
|
+
export declare type DpGlobalStyle = ReturnType<typeof createGlobalStyle>;
|
|
928
|
+
|
|
939
929
|
/**
|
|
940
930
|
* Wraps around any child to upgrade it to a drilldown component. If used in the
|
|
941
931
|
* render props style you get access to some of the internal state of the drilldown
|
|
@@ -963,7 +953,7 @@ export declare type DpCustomIconsId = "active-call" | "admin" | "advanced-filter
|
|
|
963
953
|
* </Drilldown>
|
|
964
954
|
* ```
|
|
965
955
|
*/
|
|
966
|
-
export declare function Drilldown<T, TargetRef extends HTMLElement>({ type, children, options, inputValue, searchPlaceholder, placement, showInternalSearch, isLoading, usePortal, closeOnSelect, isOpen: isOpenProp, renderCreateNewOption, onCreateNewOption, hideIcons, hidePaths, iconColumnWidth, containerWidth, containerHeight, onSelectOption, onInputChange, onFetchMore, onClear, onClose, onOpen, onInputReturn, tabProps, disabled, fetchMoreText, autoscrollText, emptySearchResultsText, externalLinkIcon, selectedIcon, layer, animationDuration, onDrilldown, onDrilldownAnimationEnd, onDrillupAnimationEnd, backText, backLabel, clearLabel, expandLabel, filterPredicate, includeParentsInSearch, }: DrilldownProps<T, TargetRef>): JSX.Element;
|
|
956
|
+
export declare function Drilldown<T, TargetRef extends HTMLElement>({ type, children, options, inputValue, searchPlaceholder, placement, showInternalSearch, isLoading, usePortal, closeOnSelect, isOpen: isOpenProp, renderCreateNewOption, onCreateNewOption, hideIcons, hidePaths, iconColumnWidth, containerWidth, containerHeight, onSelectOption, onInputChange, onFetchMore, onClear, onClose, onOpen, onInputReturn, tabProps, disabled, fetchMoreText, autoscrollText, emptySearchResultsText, externalLinkIcon, selectedIcon, layer, animationDuration, onDrilldown, onDrilldownAnimationEnd, onDrillupAnimationEnd, backText, backLabel, clearLabel, expandLabel, filterPredicate, includeParentsInSearch, }: DrilldownProps<T, TargetRef>): React_2.JSX.Element;
|
|
967
957
|
|
|
968
958
|
export declare interface DrilldownBaseProps<T, TargetRef extends HTMLElement> {
|
|
969
959
|
/** Event handler for when an option is selected */
|
|
@@ -1011,7 +1001,7 @@ export declare interface DrilldownBaseProps<T, TargetRef extends HTMLElement> {
|
|
|
1011
1001
|
onOpen?: () => void;
|
|
1012
1002
|
/** The target for the drilldown. Either a normal ReactNode or a render
|
|
1013
1003
|
* prop with additional state from the drilldown */
|
|
1014
|
-
children: ((props: DrilldownTargetProps<TargetRef>) => JSX.Element) | JSX.Element;
|
|
1004
|
+
children: ((props: DrilldownTargetProps<TargetRef>) => React_2.JSX.Element) | React_2.JSX.Element;
|
|
1015
1005
|
/** Render the create new option - no default implementation and renders as a
|
|
1016
1006
|
* sticky footer above the normal sticky footer
|
|
1017
1007
|
*/
|
|
@@ -1052,17 +1042,11 @@ export declare interface DrilldownBaseProps<T, TargetRef extends HTMLElement> {
|
|
|
1052
1042
|
/**
|
|
1053
1043
|
* @public
|
|
1054
1044
|
*/
|
|
1055
|
-
export declare const DrilldownContainer:
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
containerHeight?: number;
|
|
1061
|
-
layer: keyof Layers;
|
|
1062
|
-
}, keyof {
|
|
1063
|
-
"data-dp-name": string;
|
|
1064
|
-
"data-dp-ident"?: string;
|
|
1065
|
-
}>;
|
|
1045
|
+
export declare const DrilldownContainer: ReturnType<typeof styled.div<{
|
|
1046
|
+
containerWidth?: number;
|
|
1047
|
+
containerHeight?: number;
|
|
1048
|
+
layer: keyof Layers;
|
|
1049
|
+
}>>;
|
|
1066
1050
|
|
|
1067
1051
|
/**
|
|
1068
1052
|
* @public
|
|
@@ -1075,7 +1059,7 @@ export declare interface DrilldownCreateNew {
|
|
|
1075
1059
|
/**
|
|
1076
1060
|
* @public
|
|
1077
1061
|
*/
|
|
1078
|
-
export declare const DrilldownCreateNewOption: ({ text, icon, onClick, resetButton, iconColor, active, }: DrilldownCreateNewOptionProps) => JSX.Element;
|
|
1062
|
+
export declare const DrilldownCreateNewOption: ({ text, icon, onClick, resetButton, iconColor, active, }: DrilldownCreateNewOptionProps) => React_2.JSX.Element;
|
|
1079
1063
|
|
|
1080
1064
|
/**
|
|
1081
1065
|
* @public
|
|
@@ -1107,7 +1091,7 @@ export declare interface DrilldownDividerFlat extends DrilldownDivider {
|
|
|
1107
1091
|
/**
|
|
1108
1092
|
* @public
|
|
1109
1093
|
*/
|
|
1110
|
-
export declare const DrilldownDividerItem:
|
|
1094
|
+
export declare const DrilldownDividerItem: ReturnType<typeof styled.div<object>>;
|
|
1111
1095
|
|
|
1112
1096
|
/**
|
|
1113
1097
|
* @public
|
|
@@ -1159,7 +1143,7 @@ export declare interface DrilldownHeaderFlatType extends DrilldownHeaderType {
|
|
|
1159
1143
|
/**
|
|
1160
1144
|
* @public
|
|
1161
1145
|
*/
|
|
1162
|
-
export declare const DrilldownHeaderItem:
|
|
1146
|
+
export declare const DrilldownHeaderItem: ReturnType<typeof styled.div<object>>;
|
|
1163
1147
|
|
|
1164
1148
|
/**
|
|
1165
1149
|
* @public
|
|
@@ -1173,19 +1157,19 @@ export declare interface DrilldownHeaderType {
|
|
|
1173
1157
|
/**
|
|
1174
1158
|
* @public
|
|
1175
1159
|
*/
|
|
1176
|
-
export declare const DrilldownIcon:
|
|
1177
|
-
iconColumnWidth?: number;
|
|
1178
|
-
}
|
|
1160
|
+
export declare const DrilldownIcon: ReturnType<typeof styled.div<{
|
|
1161
|
+
$iconColumnWidth?: number;
|
|
1162
|
+
}>>;
|
|
1179
1163
|
|
|
1180
1164
|
/**
|
|
1181
1165
|
* @public
|
|
1182
1166
|
*/
|
|
1183
|
-
export declare const DrilldownInternalSearchInputContainer:
|
|
1167
|
+
export declare const DrilldownInternalSearchInputContainer: ReturnType<typeof styled.div<object>>;
|
|
1184
1168
|
|
|
1185
1169
|
/**
|
|
1186
1170
|
* @public
|
|
1187
1171
|
*/
|
|
1188
|
-
export declare function DrilldownItem<T = unknown>({ value, active, onSelect, onSelectIcon, onClickSubItem, hideIcons, iconColumnWidth, selectedIcon, externalLinkIcon, handleDrilldown, dataKey, subItems, isSearchResult, inputValue, flatItemTree, hidePaths, hasSelectedItems, hasExpandableItems, hasItemsWithIcons, setActiveItem, expandLabel, }: DrilldownItemProps<T>): JSX.Element;
|
|
1172
|
+
export declare function DrilldownItem<T = unknown>({ value, active, onSelect, onSelectIcon, onClickSubItem, hideIcons, iconColumnWidth, selectedIcon, externalLinkIcon, handleDrilldown, dataKey, subItems, isSearchResult, inputValue, flatItemTree, hidePaths, hasSelectedItems, hasExpandableItems, hasItemsWithIcons, setActiveItem, expandLabel, }: DrilldownItemProps<T>): React_2.JSX.Element;
|
|
1189
1173
|
|
|
1190
1174
|
/**
|
|
1191
1175
|
* @public
|
|
@@ -1195,12 +1179,12 @@ export declare type DrilldownItemFlatType<T = unknown> = DrilldownValueFlatType<
|
|
|
1195
1179
|
/**
|
|
1196
1180
|
* @public
|
|
1197
1181
|
*/
|
|
1198
|
-
export declare const DrilldownItemLayout:
|
|
1182
|
+
export declare const DrilldownItemLayout: ReturnType<typeof styled.a<DrilldownItemLayoutProps>>;
|
|
1199
1183
|
|
|
1200
1184
|
export declare interface DrilldownItemLayoutProps {
|
|
1201
1185
|
disabled?: boolean;
|
|
1202
|
-
active?: boolean;
|
|
1203
|
-
paddingLeft?: boolean;
|
|
1186
|
+
$active?: boolean;
|
|
1187
|
+
$paddingLeft?: boolean;
|
|
1204
1188
|
}
|
|
1205
1189
|
|
|
1206
1190
|
/**
|
|
@@ -1256,9 +1240,9 @@ export declare type DrilldownItemType<T = unknown> = DrilldownItemTreeType<T> |
|
|
|
1256
1240
|
/**
|
|
1257
1241
|
* @public
|
|
1258
1242
|
*/
|
|
1259
|
-
export declare const DrilldownLabel:
|
|
1260
|
-
selected?: boolean;
|
|
1261
|
-
}
|
|
1243
|
+
export declare const DrilldownLabel: ReturnType<typeof styled.div<{
|
|
1244
|
+
selected?: boolean;
|
|
1245
|
+
}>>;
|
|
1262
1246
|
|
|
1263
1247
|
/**
|
|
1264
1248
|
* @public
|
|
@@ -1311,7 +1295,7 @@ export declare type DrilldownRenderOptionsProps<T> = {
|
|
|
1311
1295
|
/**
|
|
1312
1296
|
* @public
|
|
1313
1297
|
*/
|
|
1314
|
-
export declare const DrilldownResetButton: ({ onClick, buttonText, undoIcon, }: DrilldownResetButtonProps) => JSX.Element;
|
|
1298
|
+
export declare const DrilldownResetButton: ({ onClick, buttonText, undoIcon, }: DrilldownResetButtonProps) => React_2.JSX.Element;
|
|
1315
1299
|
|
|
1316
1300
|
/**
|
|
1317
1301
|
* @public
|
|
@@ -1425,7 +1409,7 @@ export declare interface DrilldownTreeProps<T, TargetRef extends HTMLElement> ex
|
|
|
1425
1409
|
/**
|
|
1426
1410
|
* @public
|
|
1427
1411
|
*/
|
|
1428
|
-
export declare const DrilldownTrigger:
|
|
1412
|
+
export declare const DrilldownTrigger: ReturnType<typeof styled.div<object>>;
|
|
1429
1413
|
|
|
1430
1414
|
/**
|
|
1431
1415
|
* @public
|
|
@@ -1444,7 +1428,7 @@ export declare interface DrilldownValueBaseType<OriginalValue> {
|
|
|
1444
1428
|
/** Description to render */
|
|
1445
1429
|
description?: string;
|
|
1446
1430
|
/** Icon to render */
|
|
1447
|
-
icon?: AnyIcon | IconProps | JSX.Element | null;
|
|
1431
|
+
icon?: AnyIcon | IconProps | React_2.JSX.Element | null;
|
|
1448
1432
|
/** Show option as selected */
|
|
1449
1433
|
selected?: boolean;
|
|
1450
1434
|
/** Link to render - changes behavior to open link in new browser tab */
|
|
@@ -1512,23 +1496,17 @@ export declare type DrilldownValueType<OriginalValue> = DrilldownValueTreeType<O
|
|
|
1512
1496
|
* </Dropdown>
|
|
1513
1497
|
* ```
|
|
1514
1498
|
*/
|
|
1515
|
-
export declare function Dropdown<T, TargetRef extends HTMLElement = any>({ children, options, stickyHeaderOptions, stickyFooterOptions, inputValue, searchPlaceholder, clearLabel, expandLabel, placement, showInternalSearch, isLoading, usePortal, closeOnSelect, isOpen: isOpenProp, renderCreateNewOption, onCreateNewOption, hideIcons, iconColumnWidth, containerWidth, containerHeight, containerRef, onSelectOption, onInputChange, onFetchMore, onClear, onClose, onOpen, optionsRenderer, onInputReturn, tabProps, disabled, fetchMoreText, autoscrollText, externalLinkIcon, selectedIcon, layer, containerMaxHeight, openChildrenOnMouseOver, isSubItemDropdown, openSubmenuOnButtonHover, listboxAriaLabel, listboxAriaLabelledBy, }: DropdownProps<T, TargetRef>): JSX.Element;
|
|
1499
|
+
export declare function Dropdown<T, TargetRef extends HTMLElement = any>({ children, options, stickyHeaderOptions, stickyFooterOptions, inputValue, searchPlaceholder, clearLabel, expandLabel, placement, showInternalSearch, isLoading, usePortal, closeOnSelect, isOpen: isOpenProp, renderCreateNewOption, onCreateNewOption, hideIcons, iconColumnWidth, containerWidth, containerHeight, containerRef, onSelectOption, onInputChange, onFetchMore, onClear, onClose, onOpen, optionsRenderer, onInputReturn, tabProps, disabled, fetchMoreText, autoscrollText, externalLinkIcon, selectedIcon, layer, containerMaxHeight, openChildrenOnMouseOver, isSubItemDropdown, openSubmenuOnButtonHover, listboxAriaLabel, listboxAriaLabelledBy, }: DropdownProps<T, TargetRef>): React_2.JSX.Element;
|
|
1516
1500
|
|
|
1517
1501
|
/**
|
|
1518
1502
|
* @public
|
|
1519
1503
|
*/
|
|
1520
|
-
export declare const DropdownContainer:
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
layer: keyof Layers;
|
|
1527
|
-
containerMaxHeight?: string | number;
|
|
1528
|
-
}, keyof {
|
|
1529
|
-
"data-dp-name": string;
|
|
1530
|
-
"data-dp-ident"?: string;
|
|
1531
|
-
}>;
|
|
1504
|
+
export declare const DropdownContainer: ReturnType<typeof styled.div<{
|
|
1505
|
+
containerWidth?: number;
|
|
1506
|
+
containerHeight?: number;
|
|
1507
|
+
layer: keyof Layers;
|
|
1508
|
+
containerMaxHeight?: string | number;
|
|
1509
|
+
}>>;
|
|
1532
1510
|
|
|
1533
1511
|
/**
|
|
1534
1512
|
* @public
|
|
@@ -1540,12 +1518,12 @@ export declare interface DropdownDivider {
|
|
|
1540
1518
|
/**
|
|
1541
1519
|
* @public
|
|
1542
1520
|
*/
|
|
1543
|
-
export declare const DropdownDividerItem:
|
|
1521
|
+
export declare const DropdownDividerItem: ReturnType<typeof styled.div<object>>;
|
|
1544
1522
|
|
|
1545
1523
|
/**
|
|
1546
1524
|
* @public
|
|
1547
1525
|
*/
|
|
1548
|
-
export declare const DropdownHeaderItem:
|
|
1526
|
+
export declare const DropdownHeaderItem: ReturnType<typeof styled.div<object>>;
|
|
1549
1527
|
|
|
1550
1528
|
/**
|
|
1551
1529
|
* @public
|
|
@@ -1559,9 +1537,9 @@ export declare interface DropdownHeaderType {
|
|
|
1559
1537
|
/**
|
|
1560
1538
|
* @public
|
|
1561
1539
|
*/
|
|
1562
|
-
export declare const DropdownInternalSearchInputContainer:
|
|
1540
|
+
export declare const DropdownInternalSearchInputContainer: ReturnType<typeof styled.div<object>>;
|
|
1563
1541
|
|
|
1564
|
-
export declare const DropdownItem: <T>(p: DropdownItemProps<T>) => JSX.Element;
|
|
1542
|
+
export declare const DropdownItem: <T>(p: DropdownItemProps<T>) => React_2.JSX.Element;
|
|
1565
1543
|
|
|
1566
1544
|
/**
|
|
1567
1545
|
* @public
|
|
@@ -1671,7 +1649,7 @@ export declare interface DropdownProps<T, TargetRef extends HTMLElement> {
|
|
|
1671
1649
|
/** Add in custom max height to the dropdown options container */
|
|
1672
1650
|
containerMaxHeight?: string | number;
|
|
1673
1651
|
/** A ref to the container element */
|
|
1674
|
-
containerRef?: React_2.RefObject<HTMLElement>;
|
|
1652
|
+
containerRef?: React_2.RefObject<HTMLElement | null>;
|
|
1675
1653
|
/** Event handler for when the "active" item changes via keyboard events */
|
|
1676
1654
|
onActiveOptionChange?: (item: DropdownValueType<T> | null) => void;
|
|
1677
1655
|
/** Event handler for when the "clear" event is triggered for the search input */
|
|
@@ -1689,23 +1667,23 @@ export declare interface DropdownProps<T, TargetRef extends HTMLElement> {
|
|
|
1689
1667
|
onOpen?: () => void;
|
|
1690
1668
|
/** The target for the dropdown. Either a normal ReactNode or a render
|
|
1691
1669
|
* prop with additional state from the dropdown */
|
|
1692
|
-
children: ((props: DropdownTargetProps<TargetRef>) => JSX.Element) | JSX.Element;
|
|
1670
|
+
children: ((props: DropdownTargetProps<TargetRef>) => React_2.JSX.Element) | React_2.JSX.Element;
|
|
1693
1671
|
/** Tag to use for the wrapper element, default div */
|
|
1694
|
-
renderItem?: (item: DropdownValueType<T>, meta: DropdownItemMeta) => JSX.Element;
|
|
1672
|
+
renderItem?: (item: DropdownValueType<T>, meta: DropdownItemMeta) => React_2.JSX.Element;
|
|
1695
1673
|
/** Override the rendering of dropdown labels within dropdown options */
|
|
1696
|
-
renderLabel?: (item: DropdownValueType<T>, meta: DropdownItemMeta) => JSX.Element;
|
|
1674
|
+
renderLabel?: (item: DropdownValueType<T>, meta: DropdownItemMeta) => React_2.JSX.Element;
|
|
1697
1675
|
/** Override the rendering of menu container */
|
|
1698
|
-
renderMenu?: () => JSX.Element;
|
|
1676
|
+
renderMenu?: () => React_2.JSX.Element;
|
|
1699
1677
|
/** Override the rendering of divider elements in the list of options*/
|
|
1700
|
-
renderDivider?: () => JSX.Element;
|
|
1678
|
+
renderDivider?: () => React_2.JSX.Element;
|
|
1701
1679
|
/** Override the rendering of header elements in the list of options */
|
|
1702
|
-
renderHeader?: (item: DropdownHeaderType) => JSX.Element;
|
|
1680
|
+
renderHeader?: (item: DropdownHeaderType) => React_2.JSX.Element;
|
|
1703
1681
|
/** Override the rendering of the sticky header in the list of options */
|
|
1704
1682
|
renderStickyHeader?: ReactNode;
|
|
1705
1683
|
/** Override the rendering of the sticky footer in the list of options */
|
|
1706
1684
|
renderStickyFooter?: ReactNode;
|
|
1707
1685
|
/** Override the rendering of the internal search input*/
|
|
1708
|
-
renderInternalSearch?: (props: InputHTMLAttributes<HTMLInputElement>) => JSX.Element;
|
|
1686
|
+
renderInternalSearch?: (props: InputHTMLAttributes<HTMLInputElement>) => React_2.JSX.Element;
|
|
1709
1687
|
/** Render the create new option - no default implementation and renders as a
|
|
1710
1688
|
* sticky footer above the normal sticky footer
|
|
1711
1689
|
*/
|
|
@@ -1740,7 +1718,7 @@ export declare interface DropdownProps<T, TargetRef extends HTMLElement> {
|
|
|
1740
1718
|
/**
|
|
1741
1719
|
* @public
|
|
1742
1720
|
*/
|
|
1743
|
-
export declare function dropdownRenderOptions<T = string>({ handleSelectOption, activeItem, activeSubItem, setActiveSubItem, fetchMoreText, autoscrollText, selectedIcon, externalLinkIcon, hasSelectedItems, hasExpandableItems, hideIcons, iconColumnWidth, openChildrenOnMouseOver, layer, setActiveValueIndex, valueOptions, openSubmenuOnButtonHover, listboxId, optionIndexOffset, expandLabel, }: DropdownRenderOptionsProps<T>): (value: DropdownItemType<T>, index: number, array: DropdownItemType<T>[]) => JSX.Element | null;
|
|
1721
|
+
export declare function dropdownRenderOptions<T = string>({ handleSelectOption, activeItem, activeSubItem, setActiveSubItem, fetchMoreText, autoscrollText, selectedIcon, externalLinkIcon, hasSelectedItems, hasExpandableItems, hideIcons, iconColumnWidth, openChildrenOnMouseOver, layer, setActiveValueIndex, valueOptions, openSubmenuOnButtonHover, listboxId, optionIndexOffset, expandLabel, }: DropdownRenderOptionsProps<T>): (value: DropdownItemType<T>, index: number, array: DropdownItemType<T>[]) => React_2.JSX.Element | null;
|
|
1744
1722
|
|
|
1745
1723
|
/**
|
|
1746
1724
|
* @public
|
|
@@ -1774,7 +1752,7 @@ export declare type DropdownRenderOptionsProps<T = string> = {
|
|
|
1774
1752
|
/**
|
|
1775
1753
|
* @public
|
|
1776
1754
|
*/
|
|
1777
|
-
export declare const DropdownResetButton: ({ onClick, buttonText, undoIcon, }: DropdownResetButtonProps) => JSX.Element;
|
|
1755
|
+
export declare const DropdownResetButton: ({ onClick, buttonText, undoIcon, }: DropdownResetButtonProps) => React_2.JSX.Element;
|
|
1778
1756
|
|
|
1779
1757
|
export declare interface DropdownResetButtonProps {
|
|
1780
1758
|
onClick: () => void;
|
|
@@ -1806,7 +1784,7 @@ export declare interface DropdownTargetProps<TargetRef extends HTMLElement> {
|
|
|
1806
1784
|
/**
|
|
1807
1785
|
* @public
|
|
1808
1786
|
*/
|
|
1809
|
-
export declare const DropdownTrigger:
|
|
1787
|
+
export declare const DropdownTrigger: ReturnType<typeof styled.div<object>>;
|
|
1810
1788
|
|
|
1811
1789
|
/**
|
|
1812
1790
|
* @public
|
|
@@ -1823,7 +1801,7 @@ export declare interface DropdownValueType<OriginalValue> {
|
|
|
1823
1801
|
/** Description to render */
|
|
1824
1802
|
description?: string;
|
|
1825
1803
|
/** Icon to render */
|
|
1826
|
-
icon?: AnyIcon | IconProps | JSX.Element | null;
|
|
1804
|
+
icon?: AnyIcon | IconProps | React_2.JSX.Element | null;
|
|
1827
1805
|
/** Show option as selected */
|
|
1828
1806
|
selected?: boolean;
|
|
1829
1807
|
/** Link to render - changes behavior to open link in new browser tab */
|
|
@@ -1847,11 +1825,6 @@ export declare interface DropdownValueType<OriginalValue> {
|
|
|
1847
1825
|
showHrefIcon?: boolean;
|
|
1848
1826
|
}
|
|
1849
1827
|
|
|
1850
|
-
/**
|
|
1851
|
-
* @public
|
|
1852
|
-
*/
|
|
1853
|
-
export declare const EllipsesTippyTooltip: ({ disabled, ...props }: Parameters<typeof TippyTooltip>[0]) => React_2.JSX.Element;
|
|
1854
|
-
|
|
1855
1828
|
/**
|
|
1856
1829
|
* @public
|
|
1857
1830
|
*/
|
|
@@ -1860,7 +1833,7 @@ export declare const EllipsesTooltip: ({ disabled, ...props }: TooltipProps) =>
|
|
|
1860
1833
|
/**
|
|
1861
1834
|
* @public
|
|
1862
1835
|
*/
|
|
1863
|
-
export declare const EmailSpan:
|
|
1836
|
+
export declare const EmailSpan: ReturnType<typeof styled.span<TProps>>;
|
|
1864
1837
|
|
|
1865
1838
|
/**
|
|
1866
1839
|
* @public
|
|
@@ -1937,7 +1910,7 @@ export declare const getTextareaNumberOfLines: (element: HTMLTextAreaElement | H
|
|
|
1937
1910
|
/**
|
|
1938
1911
|
* @public
|
|
1939
1912
|
*/
|
|
1940
|
-
export declare const GlobalStyles:
|
|
1913
|
+
export declare const GlobalStyles: DpGlobalStyle;
|
|
1941
1914
|
|
|
1942
1915
|
export declare const GroupByButton: React_2.ForwardRefExoticComponent<HTMLButtonProps & Omit<CommonButtonProps, "intent"> & {
|
|
1943
1916
|
intent?: ButtonIntent;
|
|
@@ -1962,214 +1935,202 @@ export declare type GroupByProps = {
|
|
|
1962
1935
|
/**
|
|
1963
1936
|
* @public
|
|
1964
1937
|
*/
|
|
1965
|
-
export declare const H0:
|
|
1966
|
-
type
|
|
1967
|
-
}
|
|
1938
|
+
export declare const H0: ReturnType<typeof styled.h1<{
|
|
1939
|
+
type?: string;
|
|
1940
|
+
}>>;
|
|
1968
1941
|
|
|
1969
1942
|
/**
|
|
1970
1943
|
* @public
|
|
1971
1944
|
*/
|
|
1972
|
-
export declare const H1:
|
|
1973
|
-
type
|
|
1974
|
-
}
|
|
1945
|
+
export declare const H1: ReturnType<typeof styled.h1<{
|
|
1946
|
+
type?: string;
|
|
1947
|
+
}>>;
|
|
1975
1948
|
|
|
1976
1949
|
/**
|
|
1977
1950
|
* @public
|
|
1978
1951
|
*/
|
|
1979
|
-
export declare const H10:
|
|
1980
|
-
type
|
|
1981
|
-
}
|
|
1952
|
+
export declare const H10: ReturnType<typeof styled.h1<{
|
|
1953
|
+
type?: string;
|
|
1954
|
+
}>>;
|
|
1982
1955
|
|
|
1983
1956
|
/**
|
|
1984
1957
|
* @public
|
|
1985
1958
|
*/
|
|
1986
|
-
export declare const H11:
|
|
1987
|
-
type
|
|
1988
|
-
}
|
|
1959
|
+
export declare const H11: ReturnType<typeof styled.h1<{
|
|
1960
|
+
type?: string;
|
|
1961
|
+
}>>;
|
|
1989
1962
|
|
|
1990
1963
|
/**
|
|
1991
1964
|
* @public
|
|
1992
1965
|
*/
|
|
1993
|
-
export declare const H2:
|
|
1994
|
-
type
|
|
1995
|
-
}
|
|
1966
|
+
export declare const H2: ReturnType<typeof styled.h2<{
|
|
1967
|
+
type?: string;
|
|
1968
|
+
}>>;
|
|
1996
1969
|
|
|
1997
1970
|
/**
|
|
1998
1971
|
* @public
|
|
1999
1972
|
*/
|
|
2000
|
-
export declare const H3:
|
|
2001
|
-
type
|
|
2002
|
-
}
|
|
1973
|
+
export declare const H3: ReturnType<typeof styled.h3<{
|
|
1974
|
+
type?: string;
|
|
1975
|
+
}>>;
|
|
2003
1976
|
|
|
2004
1977
|
/**
|
|
2005
1978
|
* @public
|
|
2006
1979
|
*/
|
|
2007
|
-
export declare const H4:
|
|
2008
|
-
type
|
|
2009
|
-
}
|
|
1980
|
+
export declare const H4: ReturnType<typeof styled.h4<{
|
|
1981
|
+
type?: string;
|
|
1982
|
+
}>>;
|
|
2010
1983
|
|
|
2011
1984
|
/**
|
|
2012
1985
|
* @public
|
|
2013
1986
|
*/
|
|
2014
|
-
export declare const H5:
|
|
2015
|
-
type
|
|
2016
|
-
}
|
|
1987
|
+
export declare const H5: ReturnType<typeof styled.h5<{
|
|
1988
|
+
type?: string;
|
|
1989
|
+
}>>;
|
|
2017
1990
|
|
|
2018
1991
|
/**
|
|
2019
1992
|
* @public
|
|
2020
1993
|
*/
|
|
2021
|
-
export declare const H6:
|
|
2022
|
-
type
|
|
2023
|
-
}
|
|
1994
|
+
export declare const H6: ReturnType<typeof styled.h6<{
|
|
1995
|
+
type?: string;
|
|
1996
|
+
}>>;
|
|
2024
1997
|
|
|
2025
1998
|
/**
|
|
2026
1999
|
* @public
|
|
2027
2000
|
*/
|
|
2028
|
-
export declare const H7:
|
|
2029
|
-
type
|
|
2030
|
-
}
|
|
2001
|
+
export declare const H7: ReturnType<typeof styled.h6<{
|
|
2002
|
+
type?: string;
|
|
2003
|
+
}>>;
|
|
2031
2004
|
|
|
2032
2005
|
/**
|
|
2033
2006
|
* @public
|
|
2034
2007
|
*/
|
|
2035
|
-
export declare const H8:
|
|
2036
|
-
type
|
|
2037
|
-
}
|
|
2008
|
+
export declare const H8: ReturnType<typeof styled.h6<{
|
|
2009
|
+
type?: string;
|
|
2010
|
+
}>>;
|
|
2038
2011
|
|
|
2039
2012
|
/**
|
|
2040
2013
|
* @public
|
|
2041
2014
|
*/
|
|
2042
|
-
export declare const H9:
|
|
2043
|
-
type
|
|
2044
|
-
}
|
|
2015
|
+
export declare const H9: ReturnType<typeof styled.h1<{
|
|
2016
|
+
type?: string;
|
|
2017
|
+
}>>;
|
|
2045
2018
|
|
|
2046
2019
|
/**
|
|
2047
2020
|
* @public
|
|
2048
2021
|
*/
|
|
2049
2022
|
export declare type HeaderSize = "small" | "medium" | "large" | "xlarge" | "overlay";
|
|
2050
2023
|
|
|
2024
|
+
/**
|
|
2025
|
+
* @public
|
|
2026
|
+
* @deprecated Don't use outside this file, use the styled typography components instead eg <TSpan type="h0" /> or <H0 />
|
|
2027
|
+
*/
|
|
2028
|
+
/**
|
|
2029
|
+
* @public
|
|
2030
|
+
*/
|
|
2031
|
+
export declare type HeadingStyleKeysV1 = "h0" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "h7" | "h8" | "h9" | "h10" | "h11";
|
|
2032
|
+
|
|
2033
|
+
/**
|
|
2034
|
+
* @public
|
|
2035
|
+
*/
|
|
2036
|
+
export declare type HeadingStyleKeysV2 = "h_h1" | "h_h1_paragraph" | "h_h2" | "h_h2_paragraph" | "h_h3" | "h_h3_paragraph" | "h_h4" | "h_h4_paragraph" | "h_h5" | "h_h5_paragraph" | "h_h6" | "h_h6_paragraph" | "h_h6_kerning";
|
|
2037
|
+
|
|
2051
2038
|
/**
|
|
2052
2039
|
* @public
|
|
2053
2040
|
* @deprecated Don't use outside this file, use the styled typography components instead eg <TSpan type="h_h1" /> or <HH1 />
|
|
2054
2041
|
*/
|
|
2055
|
-
export declare const headingStyles:
|
|
2056
|
-
h_h1: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
2057
|
-
h_h1_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
2058
|
-
h_h2: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
2059
|
-
h_h2_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
2060
|
-
h_h3: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
2061
|
-
h_h3_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
2062
|
-
h_h4: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
2063
|
-
h_h4_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
2064
|
-
h_h5: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
2065
|
-
h_h5_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
2066
|
-
h_h6: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
2067
|
-
h_h6_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
2068
|
-
h_h6_kerning: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
2069
|
-
h0: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
2070
|
-
h1: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
2071
|
-
h2: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
2072
|
-
h3: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
2073
|
-
h4: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
2074
|
-
h5: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
2075
|
-
h6: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
2076
|
-
h7: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
2077
|
-
h8: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
2078
|
-
h9: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
2079
|
-
h10: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
2080
|
-
h11: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
2081
|
-
};
|
|
2042
|
+
export declare const headingStyles: Record<HeadingStyleKeysV1 | HeadingStyleKeysV2, DpCss>;
|
|
2082
2043
|
|
|
2083
2044
|
/**
|
|
2084
2045
|
* @public
|
|
2085
2046
|
*/
|
|
2086
|
-
export declare const HH1:
|
|
2087
|
-
type
|
|
2088
|
-
}
|
|
2047
|
+
export declare const HH1: ReturnType<typeof styled.h1<{
|
|
2048
|
+
type?: string;
|
|
2049
|
+
}>>;
|
|
2089
2050
|
|
|
2090
2051
|
/**
|
|
2091
2052
|
* @public
|
|
2092
2053
|
*/
|
|
2093
|
-
export declare const HH1Paragraph:
|
|
2094
|
-
type
|
|
2095
|
-
}
|
|
2054
|
+
export declare const HH1Paragraph: ReturnType<typeof styled.h1<{
|
|
2055
|
+
type?: string;
|
|
2056
|
+
}>>;
|
|
2096
2057
|
|
|
2097
2058
|
/**
|
|
2098
2059
|
* @public
|
|
2099
2060
|
*/
|
|
2100
|
-
export declare const HH2:
|
|
2101
|
-
type
|
|
2102
|
-
}
|
|
2061
|
+
export declare const HH2: ReturnType<typeof styled.h2<{
|
|
2062
|
+
type?: string;
|
|
2063
|
+
}>>;
|
|
2103
2064
|
|
|
2104
2065
|
/**
|
|
2105
2066
|
* @public
|
|
2106
2067
|
*/
|
|
2107
|
-
export declare const HH2Paragraph:
|
|
2108
|
-
type
|
|
2109
|
-
}
|
|
2068
|
+
export declare const HH2Paragraph: ReturnType<typeof styled.h2<{
|
|
2069
|
+
type?: string;
|
|
2070
|
+
}>>;
|
|
2110
2071
|
|
|
2111
2072
|
/**
|
|
2112
2073
|
* @public
|
|
2113
2074
|
*/
|
|
2114
|
-
export declare const HH3:
|
|
2115
|
-
type
|
|
2116
|
-
}
|
|
2075
|
+
export declare const HH3: ReturnType<typeof styled.h1<{
|
|
2076
|
+
type?: string;
|
|
2077
|
+
}>>;
|
|
2117
2078
|
|
|
2118
2079
|
/**
|
|
2119
2080
|
* @public
|
|
2120
2081
|
*/
|
|
2121
|
-
export declare const HH3Paragraph:
|
|
2122
|
-
type
|
|
2123
|
-
}
|
|
2082
|
+
export declare const HH3Paragraph: ReturnType<typeof styled.h3<{
|
|
2083
|
+
type?: string;
|
|
2084
|
+
}>>;
|
|
2124
2085
|
|
|
2125
2086
|
/**
|
|
2126
2087
|
* @public
|
|
2127
2088
|
*/
|
|
2128
|
-
export declare const HH4:
|
|
2129
|
-
type
|
|
2130
|
-
}
|
|
2089
|
+
export declare const HH4: ReturnType<typeof styled.h4<{
|
|
2090
|
+
type?: string;
|
|
2091
|
+
}>>;
|
|
2131
2092
|
|
|
2132
2093
|
/**
|
|
2133
2094
|
* @public
|
|
2134
2095
|
*/
|
|
2135
|
-
export declare const HH4Paragraph:
|
|
2136
|
-
type
|
|
2137
|
-
}
|
|
2096
|
+
export declare const HH4Paragraph: ReturnType<typeof styled.h4<{
|
|
2097
|
+
type?: string;
|
|
2098
|
+
}>>;
|
|
2138
2099
|
|
|
2139
2100
|
/**
|
|
2140
2101
|
* @public
|
|
2141
2102
|
*/
|
|
2142
|
-
export declare const HH5:
|
|
2143
|
-
type
|
|
2144
|
-
}
|
|
2103
|
+
export declare const HH5: ReturnType<typeof styled.h5<{
|
|
2104
|
+
type?: string;
|
|
2105
|
+
}>>;
|
|
2145
2106
|
|
|
2146
2107
|
/**
|
|
2147
2108
|
* @public
|
|
2148
2109
|
*/
|
|
2149
|
-
export declare const HH5Paragraph:
|
|
2150
|
-
type
|
|
2151
|
-
}
|
|
2110
|
+
export declare const HH5Paragraph: ReturnType<typeof styled.h5<{
|
|
2111
|
+
type?: string;
|
|
2112
|
+
}>>;
|
|
2152
2113
|
|
|
2153
2114
|
/**
|
|
2154
2115
|
* @public
|
|
2155
2116
|
*/
|
|
2156
|
-
export declare const HH6:
|
|
2157
|
-
type
|
|
2158
|
-
}
|
|
2117
|
+
export declare const HH6: ReturnType<typeof styled.h6<{
|
|
2118
|
+
type?: string;
|
|
2119
|
+
}>>;
|
|
2159
2120
|
|
|
2160
2121
|
/**
|
|
2161
2122
|
* @public
|
|
2162
2123
|
*/
|
|
2163
|
-
export declare const HH6Kerning:
|
|
2164
|
-
type
|
|
2165
|
-
}
|
|
2124
|
+
export declare const HH6Kerning: ReturnType<typeof styled.h6<{
|
|
2125
|
+
type?: string;
|
|
2126
|
+
}>>;
|
|
2166
2127
|
|
|
2167
2128
|
/**
|
|
2168
2129
|
* @public
|
|
2169
2130
|
*/
|
|
2170
|
-
export declare const HH6Paragraph:
|
|
2171
|
-
type
|
|
2172
|
-
}
|
|
2131
|
+
export declare const HH6Paragraph: ReturnType<typeof styled.h6<{
|
|
2132
|
+
type?: string;
|
|
2133
|
+
}>>;
|
|
2173
2134
|
|
|
2174
2135
|
export declare type HTMLAnchorButtonProps = Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "children">;
|
|
2175
2136
|
|
|
@@ -2208,13 +2169,13 @@ export declare type HTMLSelectAttributes = SelectHTMLAttributes<HTMLSelectElemen
|
|
|
2208
2169
|
* <Icon icon="agent" themeColor="green100" />;
|
|
2209
2170
|
* ```
|
|
2210
2171
|
*/
|
|
2211
|
-
export declare const Icon:
|
|
2172
|
+
export declare const Icon: ReturnType<typeof styled.span<IconProps>>;
|
|
2212
2173
|
|
|
2213
2174
|
/**
|
|
2214
2175
|
* Icon Button
|
|
2215
2176
|
* @public
|
|
2216
2177
|
*/
|
|
2217
|
-
export declare const IconButton:
|
|
2178
|
+
export declare const IconButton: ReturnType<typeof styled.button<IconButtonProps>>;
|
|
2218
2179
|
|
|
2219
2180
|
export declare type IconButtonGuard = AccessibleIconButton | InaccessibleIconButton;
|
|
2220
2181
|
|
|
@@ -2260,7 +2221,7 @@ export declare type IconType = (typeof ICONS)[number];
|
|
|
2260
2221
|
/**
|
|
2261
2222
|
* @public
|
|
2262
2223
|
*/
|
|
2263
|
-
export declare const IconV2:
|
|
2224
|
+
export declare const IconV2: ReturnType<typeof styled.span<IconV2Props>>;
|
|
2264
2225
|
|
|
2265
2226
|
/**
|
|
2266
2227
|
* @public
|
|
@@ -2277,7 +2238,7 @@ export declare interface IconV2Props extends HTMLAttributes<HTMLElement> {
|
|
|
2277
2238
|
/**
|
|
2278
2239
|
* @public
|
|
2279
2240
|
*/
|
|
2280
|
-
export declare const IdHashSpan:
|
|
2241
|
+
export declare const IdHashSpan: ReturnType<typeof styled.span<TProps>>;
|
|
2281
2242
|
|
|
2282
2243
|
/**
|
|
2283
2244
|
* @public
|
|
@@ -2318,7 +2279,7 @@ export declare interface InfiniteProps {
|
|
|
2318
2279
|
scrollSideEffect?: (event: React_2.UIEvent<HTMLElement, UIEvent>) => void;
|
|
2319
2280
|
width?: string;
|
|
2320
2281
|
/** Align the list, you probably want flex-end if the list is reversed so it aligns to the bottom of the viewport */
|
|
2321
|
-
justify?: StackProps["justify"];
|
|
2282
|
+
justify?: StackProps["$justify"];
|
|
2322
2283
|
fetchMoreText: ReactNode;
|
|
2323
2284
|
autoscrollText: ReactNode;
|
|
2324
2285
|
scrollRef?: Ref<HTMLDivElement>;
|
|
@@ -2371,14 +2332,14 @@ export declare interface InfiniteTopBottomProps {
|
|
|
2371
2332
|
/**
|
|
2372
2333
|
* @public
|
|
2373
2334
|
*/
|
|
2374
|
-
export declare const Input:
|
|
2335
|
+
export declare const Input: ReturnType<typeof styled.input<InputProps>>;
|
|
2375
2336
|
|
|
2376
2337
|
/**
|
|
2377
2338
|
* @public
|
|
2378
2339
|
*/
|
|
2379
2340
|
export declare interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
2380
|
-
leftIcon?: AnyIcon | IconProps | JSX.Element | null;
|
|
2381
|
-
rightIcon?: AnyIcon | IconProps | JSX.Element | null;
|
|
2341
|
+
leftIcon?: AnyIcon | IconProps | React_2.JSX.Element | null;
|
|
2342
|
+
rightIcon?: AnyIcon | IconProps | React_2.JSX.Element | null;
|
|
2382
2343
|
variant?: InputVariant;
|
|
2383
2344
|
/** default medium */
|
|
2384
2345
|
inputsize?: InputSize;
|
|
@@ -2403,7 +2364,7 @@ export declare type InputVariant = "normal" | "inline";
|
|
|
2403
2364
|
/**
|
|
2404
2365
|
* @public
|
|
2405
2366
|
*/
|
|
2406
|
-
export declare const InputWithDisplay:
|
|
2367
|
+
export declare const InputWithDisplay: ReturnType<typeof styled.input<InputWithDisplayProps>>;
|
|
2407
2368
|
|
|
2408
2369
|
/**
|
|
2409
2370
|
* @public
|
|
@@ -2450,50 +2411,48 @@ export declare const isV2Icon: (icon: unknown) => icon is IconType;
|
|
|
2450
2411
|
/**
|
|
2451
2412
|
* @public
|
|
2452
2413
|
*/
|
|
2453
|
-
export declare const Label:
|
|
2414
|
+
export declare const Label: ReturnType<typeof styled.label<LabelProps>>;
|
|
2454
2415
|
|
|
2455
2416
|
/**
|
|
2456
2417
|
* @public
|
|
2457
2418
|
*/
|
|
2458
|
-
export declare const Label1:
|
|
2459
|
-
type
|
|
2460
|
-
}
|
|
2419
|
+
export declare const Label1: ReturnType<typeof styled.p<{
|
|
2420
|
+
type?: string;
|
|
2421
|
+
}>>;
|
|
2461
2422
|
|
|
2462
2423
|
/**
|
|
2463
2424
|
* @public
|
|
2464
2425
|
*/
|
|
2465
|
-
export declare const Label1Medium:
|
|
2466
|
-
type
|
|
2467
|
-
}
|
|
2426
|
+
export declare const Label1Medium: ReturnType<typeof styled.p<{
|
|
2427
|
+
type?: string;
|
|
2428
|
+
}>>;
|
|
2468
2429
|
|
|
2469
2430
|
/**
|
|
2470
2431
|
* @public
|
|
2471
2432
|
*/
|
|
2472
|
-
export declare const Label1Semibold:
|
|
2473
|
-
type
|
|
2474
|
-
}
|
|
2433
|
+
export declare const Label1Semibold: ReturnType<typeof styled.p<{
|
|
2434
|
+
type?: string;
|
|
2435
|
+
}>>;
|
|
2475
2436
|
|
|
2476
2437
|
/**
|
|
2477
2438
|
* @public
|
|
2478
2439
|
*/
|
|
2479
|
-
export declare const Label2:
|
|
2480
|
-
type
|
|
2481
|
-
}
|
|
2440
|
+
export declare const Label2: ReturnType<typeof styled.p<{
|
|
2441
|
+
type?: string;
|
|
2442
|
+
}>>;
|
|
2482
2443
|
|
|
2483
2444
|
/**
|
|
2484
2445
|
* Label component styled like a button - useful for wrapping around file input for example
|
|
2485
2446
|
* @public
|
|
2486
2447
|
*/
|
|
2487
|
-
export declare const LabelButton:
|
|
2488
|
-
disabled?: boolean;
|
|
2489
|
-
} & React_2.RefAttributes<HTMLLabelElement>>, DefaultTheme, {}, never>;
|
|
2448
|
+
export declare const LabelButton: ReturnType<typeof styled.label<LabelButtonProps>>;
|
|
2490
2449
|
|
|
2491
2450
|
/**
|
|
2492
2451
|
* @public
|
|
2493
2452
|
*/
|
|
2494
|
-
export declare const LabelButtonFileInput:
|
|
2495
|
-
type
|
|
2496
|
-
}
|
|
2453
|
+
export declare const LabelButtonFileInput: ReturnType<typeof styled.input<{
|
|
2454
|
+
type?: "file";
|
|
2455
|
+
}>>;
|
|
2497
2456
|
|
|
2498
2457
|
/**
|
|
2499
2458
|
* @public
|
|
@@ -2526,7 +2485,7 @@ export declare type LabelColors = {
|
|
|
2526
2485
|
/**
|
|
2527
2486
|
* @public
|
|
2528
2487
|
*/
|
|
2529
|
-
export declare const LabelGroup:
|
|
2488
|
+
export declare const LabelGroup: ReturnType<typeof styled.div<LabelGroupProps>>;
|
|
2530
2489
|
|
|
2531
2490
|
/**
|
|
2532
2491
|
* @public
|
|
@@ -2656,16 +2615,12 @@ export declare interface LoadingAttachmentProps {
|
|
|
2656
2615
|
* Wrap one or more LoadingBlocks in {@link LoadingState} to announce loading to screen readers.
|
|
2657
2616
|
* @public
|
|
2658
2617
|
*/
|
|
2659
|
-
export declare const LoadingBlock:
|
|
2660
|
-
|
|
2661
|
-
"
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
width?: number | string | "stretch";
|
|
2666
|
-
round?: boolean;
|
|
2667
|
-
animate?: boolean;
|
|
2668
|
-
}, "aria-hidden" | "data-dp-ident" | "data-dp-name">;
|
|
2618
|
+
export declare const LoadingBlock: ReturnType<typeof styled.div<{
|
|
2619
|
+
height?: number;
|
|
2620
|
+
width?: number | string | "stretch";
|
|
2621
|
+
$round?: boolean;
|
|
2622
|
+
$animate?: boolean;
|
|
2623
|
+
}>>;
|
|
2669
2624
|
|
|
2670
2625
|
/**
|
|
2671
2626
|
* A live region that wraps skeleton {@link LoadingBlock} placeholders and
|
|
@@ -2726,8 +2681,8 @@ export declare interface MenuItemProps extends React_2.ComponentPropsWithRef<"a"
|
|
|
2726
2681
|
active?: boolean;
|
|
2727
2682
|
children?: ReactNode;
|
|
2728
2683
|
disabled?: boolean;
|
|
2729
|
-
icon?: AnyIcon | IconProps | JSX.Element | null;
|
|
2730
|
-
rightIcon?: AnyIcon | IconProps | JSX.Element | null;
|
|
2684
|
+
icon?: AnyIcon | IconProps | React_2.JSX.Element | null;
|
|
2685
|
+
rightIcon?: AnyIcon | IconProps | React_2.JSX.Element | null;
|
|
2731
2686
|
label?: ReactNode;
|
|
2732
2687
|
htmlTitle?: string;
|
|
2733
2688
|
iconColor?: string;
|
|
@@ -2752,14 +2707,14 @@ export declare type MenuType = "normal" | "nav";
|
|
|
2752
2707
|
/**
|
|
2753
2708
|
* @public
|
|
2754
2709
|
*/
|
|
2755
|
-
export declare const MessageCard:
|
|
2710
|
+
export declare const MessageCard: ReturnType<typeof styled.div<MessageCardProps>>;
|
|
2756
2711
|
|
|
2757
2712
|
/**
|
|
2758
2713
|
* @public
|
|
2759
2714
|
*/
|
|
2760
2715
|
export declare interface MessageCardProps {
|
|
2761
|
-
messageType?: MessageCardType;
|
|
2762
|
-
isOfficialResponse?: boolean;
|
|
2716
|
+
$messageType?: MessageCardType;
|
|
2717
|
+
$isOfficialResponse?: boolean;
|
|
2763
2718
|
}
|
|
2764
2719
|
|
|
2765
2720
|
/**
|
|
@@ -2833,38 +2788,34 @@ export declare type ModalStyleTypes = "extraDark" | "dark" | "light" | "lightBox
|
|
|
2833
2788
|
/**
|
|
2834
2789
|
* @public
|
|
2835
2790
|
*/
|
|
2836
|
-
export declare const Monospace:
|
|
2837
|
-
type
|
|
2838
|
-
}
|
|
2791
|
+
export declare const Monospace: ReturnType<typeof styled.p<{
|
|
2792
|
+
type?: string;
|
|
2793
|
+
}>>;
|
|
2839
2794
|
|
|
2840
2795
|
/**
|
|
2841
2796
|
* @public
|
|
2842
2797
|
*/
|
|
2843
|
-
export declare const MonospaceMedium:
|
|
2844
|
-
type
|
|
2845
|
-
}
|
|
2798
|
+
export declare const MonospaceMedium: ReturnType<typeof styled.p<{
|
|
2799
|
+
type?: string;
|
|
2800
|
+
}>>;
|
|
2846
2801
|
|
|
2847
2802
|
/**
|
|
2848
2803
|
* @public
|
|
2849
2804
|
*/
|
|
2850
|
-
export declare const MonospaceSemibold:
|
|
2851
|
-
type
|
|
2852
|
-
}
|
|
2805
|
+
export declare const MonospaceSemibold: ReturnType<typeof styled.p<{
|
|
2806
|
+
type?: string;
|
|
2807
|
+
}>>;
|
|
2853
2808
|
|
|
2854
2809
|
/**
|
|
2855
2810
|
* @public
|
|
2856
2811
|
*/
|
|
2857
|
-
export declare const NavButton:
|
|
2858
|
-
icon: AnyIcon | IconProps | JSX.Element | null;
|
|
2859
|
-
size?: "small" | "normal";
|
|
2860
|
-
reverse?: boolean;
|
|
2861
|
-
} & React_2.RefAttributes<HTMLButtonElement>>, DefaultTheme, {}, never>;
|
|
2812
|
+
export declare const NavButton: ReturnType<typeof styled.button<NavButtonProps>>;
|
|
2862
2813
|
|
|
2863
2814
|
/**
|
|
2864
2815
|
* @public
|
|
2865
2816
|
*/
|
|
2866
2817
|
export declare type NavButtonProps = HTMLButtonProps & Omit<CommonButtonProps, "rightIcon" | "fill" | "danger" | "loading" | "size" | "icon" | "minimal"> & {
|
|
2867
|
-
icon: AnyIcon | IconProps | JSX.Element | null;
|
|
2818
|
+
icon: AnyIcon | IconProps | React_2.JSX.Element | null;
|
|
2868
2819
|
size?: "small" | "normal";
|
|
2869
2820
|
reverse?: boolean;
|
|
2870
2821
|
};
|
|
@@ -2872,12 +2823,12 @@ export declare type NavButtonProps = HTMLButtonProps & Omit<CommonButtonProps, "
|
|
|
2872
2823
|
/**
|
|
2873
2824
|
* @public
|
|
2874
2825
|
*/
|
|
2875
|
-
export declare const NonIdealContainer:
|
|
2826
|
+
export declare const NonIdealContainer: ReturnType<typeof styled.div<object>>;
|
|
2876
2827
|
|
|
2877
2828
|
/**
|
|
2878
2829
|
* @public
|
|
2879
2830
|
*/
|
|
2880
|
-
export declare const NonIdealContainerTop:
|
|
2831
|
+
export declare const NonIdealContainerTop: ReturnType<typeof styled.div<object>>;
|
|
2881
2832
|
|
|
2882
2833
|
/**
|
|
2883
2834
|
* @public
|
|
@@ -2888,7 +2839,7 @@ export declare function NonIdealState({ title, description, icon, action, vertic
|
|
|
2888
2839
|
* @public
|
|
2889
2840
|
*/
|
|
2890
2841
|
export declare interface NonIdealStateProps {
|
|
2891
|
-
icon?: AnyIcon | IconProps | JSX.Element | null;
|
|
2842
|
+
icon?: AnyIcon | IconProps | React_2.JSX.Element | null;
|
|
2892
2843
|
title?: ReactNode;
|
|
2893
2844
|
description?: ReactNode;
|
|
2894
2845
|
action?: ReactNode;
|
|
@@ -2920,6 +2871,11 @@ export declare interface OptionTagProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
2920
2871
|
removeLabel?: string;
|
|
2921
2872
|
}
|
|
2922
2873
|
|
|
2874
|
+
/**
|
|
2875
|
+
* @public
|
|
2876
|
+
*/
|
|
2877
|
+
export declare type OtherStyleKeysV2 = "label1" | "label1_medium" | "label1_semibold" | "label2" | "monospace" | "monospace_medium" | "monospace_semibold" | "shortcode";
|
|
2878
|
+
|
|
2923
2879
|
/**
|
|
2924
2880
|
* Renders an overlay with a backdrop and places children within an absolutely positioned
|
|
2925
2881
|
* container at the top of the viewport
|
|
@@ -2931,13 +2887,9 @@ export declare function Overlay({ isOpen, onRequestClose, hasBackdrop, canClickO
|
|
|
2931
2887
|
* OverlayButton requires `position: relative` wrapper to overlay unless position set to relative
|
|
2932
2888
|
* @public
|
|
2933
2889
|
*/
|
|
2934
|
-
export declare const OverlayButton:
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
rightIcon?: AnyIcon | IconProps | JSX.Element | null;
|
|
2938
|
-
} & React_2.RefAttributes<HTMLButtonElement>>, DefaultTheme, {
|
|
2939
|
-
position?: "relative" | "absolute";
|
|
2940
|
-
}, never>;
|
|
2890
|
+
export declare const OverlayButton: ReturnType<typeof styled.button<OverlayButtonProps & {
|
|
2891
|
+
position?: "relative" | "absolute";
|
|
2892
|
+
}>>;
|
|
2941
2893
|
|
|
2942
2894
|
/**
|
|
2943
2895
|
* @public
|
|
@@ -2948,9 +2900,9 @@ export declare type OverlayButtonPlacement = `${"right" | "left" | "middle"}-${"
|
|
|
2948
2900
|
* @public
|
|
2949
2901
|
*/
|
|
2950
2902
|
export declare type OverlayButtonProps = HTMLButtonProps & Omit<CommonButtonProps, "rightIcon" | "fill" | "icon" | "size" | "minimal"> & {
|
|
2951
|
-
icon?: AnyIcon | IconProps | JSX.Element | null;
|
|
2903
|
+
icon?: AnyIcon | IconProps | React_2.JSX.Element | null;
|
|
2952
2904
|
placement?: OverlayButtonPlacement;
|
|
2953
|
-
rightIcon?: AnyIcon | IconProps | JSX.Element | null;
|
|
2905
|
+
rightIcon?: AnyIcon | IconProps | React_2.JSX.Element | null;
|
|
2954
2906
|
};
|
|
2955
2907
|
|
|
2956
2908
|
/**
|
|
@@ -2978,129 +2930,129 @@ export declare interface OverlayProps {
|
|
|
2978
2930
|
/**
|
|
2979
2931
|
* @public
|
|
2980
2932
|
*/
|
|
2981
|
-
export declare const P1:
|
|
2982
|
-
type
|
|
2983
|
-
}
|
|
2933
|
+
export declare const P1: ReturnType<typeof styled.p<{
|
|
2934
|
+
type?: string;
|
|
2935
|
+
}>>;
|
|
2984
2936
|
|
|
2985
2937
|
/**
|
|
2986
2938
|
* @public
|
|
2987
2939
|
*/
|
|
2988
|
-
export declare const P10:
|
|
2989
|
-
type
|
|
2990
|
-
}
|
|
2940
|
+
export declare const P10: ReturnType<typeof styled.p<{
|
|
2941
|
+
type?: string;
|
|
2942
|
+
}>>;
|
|
2991
2943
|
|
|
2992
2944
|
/**
|
|
2993
2945
|
* @public
|
|
2994
2946
|
*/
|
|
2995
|
-
export declare const P11:
|
|
2996
|
-
type
|
|
2997
|
-
}
|
|
2947
|
+
export declare const P11: ReturnType<typeof styled.p<{
|
|
2948
|
+
type?: string;
|
|
2949
|
+
}>>;
|
|
2998
2950
|
|
|
2999
2951
|
/**
|
|
3000
2952
|
* @public
|
|
3001
2953
|
*/
|
|
3002
|
-
export declare const P12:
|
|
3003
|
-
type
|
|
3004
|
-
}
|
|
2954
|
+
export declare const P12: ReturnType<typeof styled.p<{
|
|
2955
|
+
type?: string;
|
|
2956
|
+
}>>;
|
|
3005
2957
|
|
|
3006
2958
|
/**
|
|
3007
2959
|
* @public
|
|
3008
2960
|
*/
|
|
3009
|
-
export declare const P13:
|
|
3010
|
-
type
|
|
3011
|
-
}
|
|
2961
|
+
export declare const P13: ReturnType<typeof styled.p<{
|
|
2962
|
+
type?: string;
|
|
2963
|
+
}>>;
|
|
3012
2964
|
|
|
3013
2965
|
/**
|
|
3014
2966
|
* @public
|
|
3015
2967
|
*/
|
|
3016
|
-
export declare const P14:
|
|
2968
|
+
export declare const P14: ReturnType<typeof styled.code<object>>;
|
|
3017
2969
|
|
|
3018
2970
|
/**
|
|
3019
2971
|
* @public
|
|
3020
2972
|
*/
|
|
3021
|
-
export declare const P15:
|
|
2973
|
+
export declare const P15: ReturnType<typeof styled.code<object>>;
|
|
3022
2974
|
|
|
3023
2975
|
/**
|
|
3024
2976
|
* @public
|
|
3025
2977
|
*/
|
|
3026
|
-
export declare const P16:
|
|
3027
|
-
type
|
|
3028
|
-
}
|
|
2978
|
+
export declare const P16: ReturnType<typeof styled.p<{
|
|
2979
|
+
type?: string;
|
|
2980
|
+
}>>;
|
|
3029
2981
|
|
|
3030
2982
|
/**
|
|
3031
2983
|
* @public
|
|
3032
2984
|
*/
|
|
3033
|
-
export declare const P17:
|
|
3034
|
-
type
|
|
3035
|
-
}
|
|
2985
|
+
export declare const P17: ReturnType<typeof styled.p<{
|
|
2986
|
+
type?: string;
|
|
2987
|
+
}>>;
|
|
3036
2988
|
|
|
3037
2989
|
/**
|
|
3038
2990
|
* @public
|
|
3039
2991
|
*/
|
|
3040
|
-
export declare const P18:
|
|
3041
|
-
type
|
|
3042
|
-
}
|
|
2992
|
+
export declare const P18: ReturnType<typeof styled.p<{
|
|
2993
|
+
type?: string;
|
|
2994
|
+
}>>;
|
|
3043
2995
|
|
|
3044
2996
|
/**
|
|
3045
2997
|
* @public
|
|
3046
2998
|
*/
|
|
3047
|
-
export declare const P2:
|
|
3048
|
-
type
|
|
3049
|
-
}
|
|
2999
|
+
export declare const P2: ReturnType<typeof styled.p<{
|
|
3000
|
+
type?: string;
|
|
3001
|
+
}>>;
|
|
3050
3002
|
|
|
3051
3003
|
/**
|
|
3052
3004
|
* @public
|
|
3053
3005
|
*/
|
|
3054
|
-
export declare const P3:
|
|
3055
|
-
type
|
|
3056
|
-
}
|
|
3006
|
+
export declare const P3: ReturnType<typeof styled.p<{
|
|
3007
|
+
type?: string;
|
|
3008
|
+
}>>;
|
|
3057
3009
|
|
|
3058
3010
|
/**
|
|
3059
3011
|
* @public
|
|
3060
3012
|
*/
|
|
3061
|
-
export declare const P4:
|
|
3062
|
-
type
|
|
3063
|
-
}
|
|
3013
|
+
export declare const P4: ReturnType<typeof styled.p<{
|
|
3014
|
+
type?: string;
|
|
3015
|
+
}>>;
|
|
3064
3016
|
|
|
3065
3017
|
/**
|
|
3066
3018
|
* @public
|
|
3067
3019
|
*/
|
|
3068
|
-
export declare const P5:
|
|
3069
|
-
type
|
|
3070
|
-
}
|
|
3020
|
+
export declare const P5: ReturnType<typeof styled.p<{
|
|
3021
|
+
type?: string;
|
|
3022
|
+
}>>;
|
|
3071
3023
|
|
|
3072
3024
|
/**
|
|
3073
3025
|
* @public
|
|
3074
3026
|
*/
|
|
3075
|
-
export declare const P6:
|
|
3076
|
-
type
|
|
3077
|
-
}
|
|
3027
|
+
export declare const P6: ReturnType<typeof styled.p<{
|
|
3028
|
+
type?: string;
|
|
3029
|
+
}>>;
|
|
3078
3030
|
|
|
3079
3031
|
/**
|
|
3080
3032
|
* @public
|
|
3081
3033
|
*/
|
|
3082
|
-
export declare const P7:
|
|
3083
|
-
type
|
|
3084
|
-
}
|
|
3034
|
+
export declare const P7: ReturnType<typeof styled.p<{
|
|
3035
|
+
type?: string;
|
|
3036
|
+
}>>;
|
|
3085
3037
|
|
|
3086
3038
|
/**
|
|
3087
3039
|
* @public
|
|
3088
3040
|
*/
|
|
3089
|
-
export declare const P8:
|
|
3090
|
-
type
|
|
3091
|
-
}
|
|
3041
|
+
export declare const P8: ReturnType<typeof styled.p<{
|
|
3042
|
+
type?: string;
|
|
3043
|
+
}>>;
|
|
3092
3044
|
|
|
3093
3045
|
/**
|
|
3094
3046
|
* @public
|
|
3095
3047
|
*/
|
|
3096
|
-
export declare const P9:
|
|
3097
|
-
type
|
|
3098
|
-
}
|
|
3048
|
+
export declare const P9: ReturnType<typeof styled.p<{
|
|
3049
|
+
type?: string;
|
|
3050
|
+
}>>;
|
|
3099
3051
|
|
|
3100
3052
|
/**
|
|
3101
3053
|
* @public
|
|
3102
3054
|
*/
|
|
3103
|
-
export declare function Pagination({ perPage, currentPage, totalItems, uniqueItems, onPageChange, onPerPageChange, displayItems, itemsPerPageText, ofTotalText, uniqueItemsText, navigationLabel, previousPageLabel, nextPageLabel, itemsPerPageLabel, pageLabel, }: PaginationProps): JSX.Element;
|
|
3055
|
+
export declare function Pagination({ perPage, currentPage, totalItems, uniqueItems, onPageChange, onPerPageChange, displayItems, itemsPerPageText, ofTotalText, uniqueItemsText, navigationLabel, previousPageLabel, nextPageLabel, itemsPerPageLabel, pageLabel, }: PaginationProps): React_2.JSX.Element;
|
|
3104
3056
|
|
|
3105
3057
|
/**
|
|
3106
3058
|
* @public
|
|
@@ -3131,50 +3083,21 @@ export declare interface PaginationProps {
|
|
|
3131
3083
|
* @public
|
|
3132
3084
|
* @deprecated Don't use outside this file, use the styled typography components instead eg <TSpan type="h_h1" /> or <HH1 />
|
|
3133
3085
|
*/
|
|
3134
|
-
export declare const paragraphStyled:
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
p_p3_semibold: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
3150
|
-
p_p3_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
3151
|
-
p_p3_paragraph_medium: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
3152
|
-
p_p3_paragraph_semibold: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
3153
|
-
p_p4: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
3154
|
-
p_p4_medium: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
3155
|
-
p_p4_semibold: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
3156
|
-
p_p4_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
3157
|
-
p_p4_paragraph_medium: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
3158
|
-
p_p4_paragraph_semibold: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
3159
|
-
p1: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
3160
|
-
p2: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
3161
|
-
p3: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
3162
|
-
p4: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
3163
|
-
p5: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
3164
|
-
p6: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
3165
|
-
p7: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
3166
|
-
p8: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
3167
|
-
p9: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
3168
|
-
p10: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
3169
|
-
p11: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
3170
|
-
p12: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
3171
|
-
p13: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
3172
|
-
p14: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
3173
|
-
p15: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
3174
|
-
p16: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
3175
|
-
p17: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
3176
|
-
p18: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
3177
|
-
};
|
|
3086
|
+
export declare const paragraphStyled: Record<ParagraphStyleKeysV1 | ParagraphStyleKeysV2, DpCss>;
|
|
3087
|
+
|
|
3088
|
+
/**
|
|
3089
|
+
* @public
|
|
3090
|
+
* @deprecated Don't use outside this file, use the styled typography components instead eg <TSpan type="p1" /> or <P1 />
|
|
3091
|
+
*/
|
|
3092
|
+
/**
|
|
3093
|
+
* @public
|
|
3094
|
+
*/
|
|
3095
|
+
export declare type ParagraphStyleKeysV1 = "p1" | "p2" | "p3" | "p4" | "p5" | "p6" | "p7" | "p8" | "p9" | "p10" | "p11" | "p12" | "p13" | "p14" | "p15" | "p16" | "p17" | "p18";
|
|
3096
|
+
|
|
3097
|
+
/**
|
|
3098
|
+
* @public
|
|
3099
|
+
*/
|
|
3100
|
+
export declare type ParagraphStyleKeysV2 = "p_p1" | "p_p1_medium" | "p_p1_semibold" | "p_p1_paragraph" | "p_p1_paragraph_medium" | "p_p1_paragraph_semibold" | "p_p2" | "p_p2_medium" | "p_p2_semibold" | "p_p2_paragraph" | "p_p2_paragraph_medium" | "p_p2_paragraph_semibold" | "p_p3" | "p_p3_medium" | "p_p3_semibold" | "p_p3_paragraph" | "p_p3_paragraph_medium" | "p_p3_paragraph_semibold" | "p_p4" | "p_p4_medium" | "p_p4_semibold" | "p_p4_paragraph" | "p_p4_paragraph_medium" | "p_p4_paragraph_semibold";
|
|
3178
3101
|
|
|
3179
3102
|
/**
|
|
3180
3103
|
* @public
|
|
@@ -3212,7 +3135,7 @@ export { Placement }
|
|
|
3212
3135
|
* portal
|
|
3213
3136
|
* @public
|
|
3214
3137
|
*/
|
|
3215
|
-
export declare function Popover(props: PopoverProps): JSX.Element;
|
|
3138
|
+
export declare function Popover(props: PopoverProps): React_2.JSX.Element;
|
|
3216
3139
|
|
|
3217
3140
|
/**
|
|
3218
3141
|
* Props passed to the render-prop children of Popover.
|
|
@@ -3258,7 +3181,7 @@ export declare interface PopoverChildrenProps {
|
|
|
3258
3181
|
*/
|
|
3259
3182
|
export declare interface PopoverProps {
|
|
3260
3183
|
/** Popover target - either wrapped with a span container or a render props interface */
|
|
3261
|
-
children?: JSX.Element | null | ((props: PopoverChildrenProps) => ReactNode);
|
|
3184
|
+
children?: React_2.JSX.Element | null | ((props: PopoverChildrenProps) => ReactNode);
|
|
3262
3185
|
/** The content to be positioned relative to the target children */
|
|
3263
3186
|
content: ReactNode;
|
|
3264
3187
|
/** How popper should attempt to position its content relative to the target */
|
|
@@ -3333,170 +3256,170 @@ export declare type Position = {
|
|
|
3333
3256
|
/**
|
|
3334
3257
|
* @public
|
|
3335
3258
|
*/
|
|
3336
|
-
export declare const PP1:
|
|
3337
|
-
type
|
|
3338
|
-
}
|
|
3259
|
+
export declare const PP1: ReturnType<typeof styled.p<{
|
|
3260
|
+
type?: string;
|
|
3261
|
+
}>>;
|
|
3339
3262
|
|
|
3340
3263
|
/**
|
|
3341
3264
|
* @public
|
|
3342
3265
|
*/
|
|
3343
|
-
export declare const PP1Medium:
|
|
3344
|
-
type
|
|
3345
|
-
}
|
|
3266
|
+
export declare const PP1Medium: ReturnType<typeof styled.p<{
|
|
3267
|
+
type?: string;
|
|
3268
|
+
}>>;
|
|
3346
3269
|
|
|
3347
3270
|
/**
|
|
3348
3271
|
* @public
|
|
3349
3272
|
*/
|
|
3350
|
-
export declare const PP1Paragraph:
|
|
3351
|
-
type
|
|
3352
|
-
}
|
|
3273
|
+
export declare const PP1Paragraph: ReturnType<typeof styled.p<{
|
|
3274
|
+
type?: string;
|
|
3275
|
+
}>>;
|
|
3353
3276
|
|
|
3354
3277
|
/**
|
|
3355
3278
|
* @public
|
|
3356
3279
|
*/
|
|
3357
|
-
export declare const PP1ParagraphMedium:
|
|
3358
|
-
type
|
|
3359
|
-
}
|
|
3280
|
+
export declare const PP1ParagraphMedium: ReturnType<typeof styled.p<{
|
|
3281
|
+
type?: string;
|
|
3282
|
+
}>>;
|
|
3360
3283
|
|
|
3361
3284
|
/**
|
|
3362
3285
|
* @public
|
|
3363
3286
|
*/
|
|
3364
|
-
export declare const PP1ParagraphSemibold:
|
|
3365
|
-
type
|
|
3366
|
-
}
|
|
3287
|
+
export declare const PP1ParagraphSemibold: ReturnType<typeof styled.p<{
|
|
3288
|
+
type?: string;
|
|
3289
|
+
}>>;
|
|
3367
3290
|
|
|
3368
3291
|
/**
|
|
3369
3292
|
* @public
|
|
3370
3293
|
*/
|
|
3371
|
-
export declare const PP1Semibold:
|
|
3372
|
-
type
|
|
3373
|
-
}
|
|
3294
|
+
export declare const PP1Semibold: ReturnType<typeof styled.p<{
|
|
3295
|
+
type?: string;
|
|
3296
|
+
}>>;
|
|
3374
3297
|
|
|
3375
3298
|
/**
|
|
3376
3299
|
* @public
|
|
3377
3300
|
*/
|
|
3378
|
-
export declare const PP2:
|
|
3379
|
-
type
|
|
3380
|
-
}
|
|
3301
|
+
export declare const PP2: ReturnType<typeof styled.p<{
|
|
3302
|
+
type?: string;
|
|
3303
|
+
}>>;
|
|
3381
3304
|
|
|
3382
3305
|
/**
|
|
3383
3306
|
* @public
|
|
3384
3307
|
*/
|
|
3385
|
-
export declare const PP2Medium:
|
|
3386
|
-
type
|
|
3387
|
-
}
|
|
3308
|
+
export declare const PP2Medium: ReturnType<typeof styled.p<{
|
|
3309
|
+
type?: string;
|
|
3310
|
+
}>>;
|
|
3388
3311
|
|
|
3389
3312
|
/**
|
|
3390
3313
|
* @public
|
|
3391
3314
|
*/
|
|
3392
|
-
export declare const PP2Paragraph:
|
|
3393
|
-
type
|
|
3394
|
-
}
|
|
3315
|
+
export declare const PP2Paragraph: ReturnType<typeof styled.p<{
|
|
3316
|
+
type?: string;
|
|
3317
|
+
}>>;
|
|
3395
3318
|
|
|
3396
3319
|
/**
|
|
3397
3320
|
* @public
|
|
3398
3321
|
*/
|
|
3399
|
-
export declare const PP2ParagraphMedium:
|
|
3400
|
-
type
|
|
3401
|
-
}
|
|
3322
|
+
export declare const PP2ParagraphMedium: ReturnType<typeof styled.p<{
|
|
3323
|
+
type?: string;
|
|
3324
|
+
}>>;
|
|
3402
3325
|
|
|
3403
3326
|
/**
|
|
3404
3327
|
* @public
|
|
3405
3328
|
*/
|
|
3406
|
-
export declare const PP2ParagraphSemibold:
|
|
3407
|
-
type
|
|
3408
|
-
}
|
|
3329
|
+
export declare const PP2ParagraphSemibold: ReturnType<typeof styled.p<{
|
|
3330
|
+
type?: string;
|
|
3331
|
+
}>>;
|
|
3409
3332
|
|
|
3410
3333
|
/**
|
|
3411
3334
|
* @public
|
|
3412
3335
|
*/
|
|
3413
|
-
export declare const PP2Semibold:
|
|
3414
|
-
type
|
|
3415
|
-
}
|
|
3336
|
+
export declare const PP2Semibold: ReturnType<typeof styled.p<{
|
|
3337
|
+
type?: string;
|
|
3338
|
+
}>>;
|
|
3416
3339
|
|
|
3417
3340
|
/**
|
|
3418
3341
|
* @public
|
|
3419
3342
|
*/
|
|
3420
|
-
export declare const PP3:
|
|
3421
|
-
type
|
|
3422
|
-
}
|
|
3343
|
+
export declare const PP3: ReturnType<typeof styled.p<{
|
|
3344
|
+
type?: string;
|
|
3345
|
+
}>>;
|
|
3423
3346
|
|
|
3424
3347
|
/**
|
|
3425
3348
|
* @public
|
|
3426
3349
|
*/
|
|
3427
|
-
export declare const PP3Medium:
|
|
3428
|
-
type
|
|
3429
|
-
}
|
|
3350
|
+
export declare const PP3Medium: ReturnType<typeof styled.p<{
|
|
3351
|
+
type?: string;
|
|
3352
|
+
}>>;
|
|
3430
3353
|
|
|
3431
3354
|
/**
|
|
3432
3355
|
* @public
|
|
3433
3356
|
*/
|
|
3434
|
-
export declare const PP3Paragraph:
|
|
3435
|
-
type
|
|
3436
|
-
}
|
|
3357
|
+
export declare const PP3Paragraph: ReturnType<typeof styled.p<{
|
|
3358
|
+
type?: string;
|
|
3359
|
+
}>>;
|
|
3437
3360
|
|
|
3438
3361
|
/**
|
|
3439
3362
|
* @public
|
|
3440
3363
|
*/
|
|
3441
|
-
export declare const PP3ParagraphMedium:
|
|
3442
|
-
type
|
|
3443
|
-
}
|
|
3364
|
+
export declare const PP3ParagraphMedium: ReturnType<typeof styled.p<{
|
|
3365
|
+
type?: string;
|
|
3366
|
+
}>>;
|
|
3444
3367
|
|
|
3445
3368
|
/**
|
|
3446
3369
|
* @public
|
|
3447
3370
|
*/
|
|
3448
|
-
export declare const PP3ParagraphSemibold:
|
|
3449
|
-
type
|
|
3450
|
-
}
|
|
3371
|
+
export declare const PP3ParagraphSemibold: ReturnType<typeof styled.p<{
|
|
3372
|
+
type?: string;
|
|
3373
|
+
}>>;
|
|
3451
3374
|
|
|
3452
3375
|
/**
|
|
3453
3376
|
* @public
|
|
3454
3377
|
*/
|
|
3455
|
-
export declare const PP3Semibold:
|
|
3456
|
-
type
|
|
3457
|
-
}
|
|
3378
|
+
export declare const PP3Semibold: ReturnType<typeof styled.p<{
|
|
3379
|
+
type?: string;
|
|
3380
|
+
}>>;
|
|
3458
3381
|
|
|
3459
3382
|
/**
|
|
3460
3383
|
* @public
|
|
3461
3384
|
*/
|
|
3462
|
-
export declare const PP4:
|
|
3463
|
-
type
|
|
3464
|
-
}
|
|
3385
|
+
export declare const PP4: ReturnType<typeof styled.p<{
|
|
3386
|
+
type?: string;
|
|
3387
|
+
}>>;
|
|
3465
3388
|
|
|
3466
3389
|
/**
|
|
3467
3390
|
* @public
|
|
3468
3391
|
*/
|
|
3469
|
-
export declare const PP4Medium:
|
|
3470
|
-
type
|
|
3471
|
-
}
|
|
3392
|
+
export declare const PP4Medium: ReturnType<typeof styled.p<{
|
|
3393
|
+
type?: string;
|
|
3394
|
+
}>>;
|
|
3472
3395
|
|
|
3473
3396
|
/**
|
|
3474
3397
|
* @public
|
|
3475
3398
|
*/
|
|
3476
|
-
export declare const PP4Paragraph:
|
|
3477
|
-
type
|
|
3478
|
-
}
|
|
3399
|
+
export declare const PP4Paragraph: ReturnType<typeof styled.p<{
|
|
3400
|
+
type?: string;
|
|
3401
|
+
}>>;
|
|
3479
3402
|
|
|
3480
3403
|
/**
|
|
3481
3404
|
* @public
|
|
3482
3405
|
*/
|
|
3483
|
-
export declare const PP4ParagraphMedium:
|
|
3484
|
-
type
|
|
3485
|
-
}
|
|
3406
|
+
export declare const PP4ParagraphMedium: ReturnType<typeof styled.p<{
|
|
3407
|
+
type?: string;
|
|
3408
|
+
}>>;
|
|
3486
3409
|
|
|
3487
3410
|
/**
|
|
3488
3411
|
* @public
|
|
3489
3412
|
*/
|
|
3490
|
-
export declare const PP4ParagraphSemibold:
|
|
3491
|
-
type
|
|
3492
|
-
}
|
|
3413
|
+
export declare const PP4ParagraphSemibold: ReturnType<typeof styled.p<{
|
|
3414
|
+
type?: string;
|
|
3415
|
+
}>>;
|
|
3493
3416
|
|
|
3494
3417
|
/**
|
|
3495
3418
|
* @public
|
|
3496
3419
|
*/
|
|
3497
|
-
export declare const PP4Semibold:
|
|
3498
|
-
type
|
|
3499
|
-
}
|
|
3420
|
+
export declare const PP4Semibold: ReturnType<typeof styled.p<{
|
|
3421
|
+
type?: string;
|
|
3422
|
+
}>>;
|
|
3500
3423
|
|
|
3501
3424
|
/**
|
|
3502
3425
|
* @public
|
|
@@ -3582,26 +3505,56 @@ export declare const SafePolygon: ({ onMouseEnterTooltip, onMouseLeaveTooltip, p
|
|
|
3582
3505
|
onMouseEnterTooltip: () => void;
|
|
3583
3506
|
onMouseLeaveTooltip: () => void;
|
|
3584
3507
|
placement: TooltipPlacement;
|
|
3585
|
-
tooltipRef: RefObject<HTMLDivElement>;
|
|
3508
|
+
tooltipRef: RefObject<HTMLDivElement | null>;
|
|
3586
3509
|
tooltipPosition: Position;
|
|
3587
3510
|
tooltipTriggerMousePosition?: Position;
|
|
3588
|
-
triggerRef: RefObject<HTMLDivElement>;
|
|
3511
|
+
triggerRef: RefObject<HTMLDivElement | null>;
|
|
3589
3512
|
debug?: string;
|
|
3590
3513
|
} & React_2.HTMLAttributes<HTMLDivElement>) => React_2.JSX.Element | null;
|
|
3591
3514
|
|
|
3592
3515
|
/**
|
|
3593
3516
|
* @public
|
|
3594
3517
|
*/
|
|
3595
|
-
export declare const Scrollbar: React_2.ForwardRefExoticComponent<ScrollbarProps & React_2.RefAttributes<
|
|
3518
|
+
export declare const Scrollbar: React_2.ForwardRefExoticComponent<ScrollbarProps & React_2.RefAttributes<ScrollbarHandle>>;
|
|
3519
|
+
|
|
3520
|
+
/**
|
|
3521
|
+
* Imperative handle exposed through a `Scrollbar` ref.
|
|
3522
|
+
*
|
|
3523
|
+
* @public
|
|
3524
|
+
*/
|
|
3525
|
+
export declare interface ScrollbarHandle {
|
|
3526
|
+
/** The element that actually scrolls. `null` before mount. */
|
|
3527
|
+
getScrollElement(): HTMLElement | null;
|
|
3528
|
+
/** The element that wraps the scrollbar's children. `null` before mount. */
|
|
3529
|
+
getContentElement(): HTMLElement | null;
|
|
3530
|
+
/** Re-measure the content and update the scrollbars. */
|
|
3531
|
+
recalculate(): void;
|
|
3532
|
+
/** The scrollbar's root element. */
|
|
3533
|
+
readonly el: HTMLElement;
|
|
3534
|
+
}
|
|
3596
3535
|
|
|
3597
3536
|
/**
|
|
3598
3537
|
* @public
|
|
3599
3538
|
*/
|
|
3600
|
-
export declare interface ScrollbarProps extends
|
|
3539
|
+
export declare interface ScrollbarProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
|
|
3540
|
+
children?: ReactNode;
|
|
3601
3541
|
height?: string;
|
|
3602
3542
|
width?: string;
|
|
3603
3543
|
style?: CSSProperties | undefined;
|
|
3544
|
+
/** Hide the scrollbar until the user scrolls or hovers. */
|
|
3604
3545
|
autoHide?: boolean;
|
|
3546
|
+
/** Always show the scrollbar on both axes (`true`) or one axis. */
|
|
3547
|
+
forceVisible?: boolean | "x" | "y";
|
|
3548
|
+
/** Scroll by a page when the track is clicked. */
|
|
3549
|
+
clickOnTrack?: boolean;
|
|
3550
|
+
scrollbarMinSize?: number;
|
|
3551
|
+
scrollbarMaxSize?: number;
|
|
3552
|
+
/** Accessible label for the scrollable region. */
|
|
3553
|
+
ariaLabel?: string;
|
|
3554
|
+
/** Props passed to the element that scrolls, e.g. a `ref` or `onScroll`. */
|
|
3555
|
+
scrollableNodeProps?: HTMLAttributes<HTMLDivElement> & {
|
|
3556
|
+
ref?: Ref<HTMLDivElement>;
|
|
3557
|
+
};
|
|
3605
3558
|
}
|
|
3606
3559
|
|
|
3607
3560
|
/**
|
|
@@ -3633,9 +3586,9 @@ export declare interface SelectProps extends HTMLSelectAttributes {
|
|
|
3633
3586
|
/**
|
|
3634
3587
|
* @public
|
|
3635
3588
|
*/
|
|
3636
|
-
export declare const Shortcode:
|
|
3637
|
-
type
|
|
3638
|
-
}
|
|
3589
|
+
export declare const Shortcode: ReturnType<typeof styled.p<{
|
|
3590
|
+
type?: string;
|
|
3591
|
+
}>>;
|
|
3639
3592
|
|
|
3640
3593
|
/**
|
|
3641
3594
|
* How big a switch is drawn.
|
|
@@ -3689,26 +3642,26 @@ export declare type SpinnerSize = "extra-small" | "small" | "medium" | "large" |
|
|
|
3689
3642
|
* This is basically a wrapper around flexbox.
|
|
3690
3643
|
* @public
|
|
3691
3644
|
*/
|
|
3692
|
-
export declare const Stack:
|
|
3645
|
+
export declare const Stack: ReturnType<typeof styled.div<StackProps>>;
|
|
3693
3646
|
|
|
3694
3647
|
/**
|
|
3695
3648
|
* @public
|
|
3696
3649
|
*/
|
|
3697
|
-
export declare const StackItem:
|
|
3650
|
+
export declare const StackItem: ReturnType<typeof styled.div<StackItemProps>>;
|
|
3698
3651
|
|
|
3699
3652
|
/**
|
|
3700
3653
|
* @public
|
|
3701
3654
|
*/
|
|
3702
3655
|
export declare interface StackItemProps {
|
|
3703
|
-
basis?: number | string;
|
|
3704
|
-
grow?: boolean | number;
|
|
3705
|
-
shrink?: boolean | number;
|
|
3706
|
-
padding?: number | string;
|
|
3707
|
-
gap?: number | string;
|
|
3708
|
-
fixedHeight?: number | string;
|
|
3709
|
-
justifySelf?: React.CSSProperties["justifySelf"];
|
|
3710
|
-
alignSelf?: React.CSSProperties["alignSelf"];
|
|
3711
|
-
flex?: React.CSSProperties["flex"];
|
|
3656
|
+
$basis?: number | string;
|
|
3657
|
+
$grow?: boolean | number;
|
|
3658
|
+
$shrink?: boolean | number;
|
|
3659
|
+
$padding?: number | string;
|
|
3660
|
+
$gap?: number | string;
|
|
3661
|
+
$fixedHeight?: number | string;
|
|
3662
|
+
$justifySelf?: React.CSSProperties["justifySelf"];
|
|
3663
|
+
$alignSelf?: React.CSSProperties["alignSelf"];
|
|
3664
|
+
$flex?: React.CSSProperties["flex"];
|
|
3712
3665
|
}
|
|
3713
3666
|
|
|
3714
3667
|
/**
|
|
@@ -3718,49 +3671,49 @@ export declare interface StackProps {
|
|
|
3718
3671
|
/**
|
|
3719
3672
|
* The max width of the container
|
|
3720
3673
|
*/
|
|
3721
|
-
maxWidth?: number | string;
|
|
3674
|
+
$maxWidth?: number | string;
|
|
3722
3675
|
/**
|
|
3723
3676
|
* The max height of the container
|
|
3724
3677
|
*/
|
|
3725
|
-
maxHeight?: number | string;
|
|
3678
|
+
$maxHeight?: number | string;
|
|
3726
3679
|
/**
|
|
3727
3680
|
* Inner padding to apply to the stack container element
|
|
3728
3681
|
*/
|
|
3729
|
-
padding?: number | string;
|
|
3682
|
+
$padding?: number | string;
|
|
3730
3683
|
/**
|
|
3731
3684
|
* The margin to apply to items
|
|
3732
3685
|
*/
|
|
3733
|
-
gap?: number | string;
|
|
3686
|
+
$gap?: number | string;
|
|
3734
3687
|
/**
|
|
3735
3688
|
* The height to apply to items
|
|
3736
3689
|
*/
|
|
3737
|
-
fixedHeight?: number | string;
|
|
3690
|
+
$fixedHeight?: number | string;
|
|
3738
3691
|
/**
|
|
3739
3692
|
* How to align the items within the container
|
|
3740
3693
|
*/
|
|
3741
|
-
align?: "start" | "end" | "center" | "baseline" | "stretch";
|
|
3694
|
+
$align?: "start" | "end" | "center" | "baseline" | "stretch";
|
|
3742
3695
|
/**
|
|
3743
3696
|
* Specify if to use inline-flex, defaults to false
|
|
3744
3697
|
*/
|
|
3745
|
-
inline?: boolean;
|
|
3698
|
+
$inline?: boolean;
|
|
3746
3699
|
/**
|
|
3747
3700
|
* Define a border bottom
|
|
3748
3701
|
*/
|
|
3749
|
-
borderBottom?: boolean;
|
|
3702
|
+
$borderBottom?: boolean;
|
|
3750
3703
|
/**
|
|
3751
3704
|
* How to justify the items within the container
|
|
3752
3705
|
*/
|
|
3753
|
-
justify?: React.CSSProperties["justifyContent"] | "start" | "end" | "center" | "space-between" | "space-around" | "space-evenly" | "baseline";
|
|
3706
|
+
$justify?: React.CSSProperties["justifyContent"] | "start" | "end" | "center" | "space-between" | "space-around" | "space-evenly" | "baseline";
|
|
3754
3707
|
/**
|
|
3755
3708
|
* Specify if the stack itself should grow
|
|
3756
3709
|
* (i.e. if the stack is a child of some other flex element)
|
|
3757
3710
|
*/
|
|
3758
|
-
grow?: boolean | number | "inherit" | "initial" | "unset";
|
|
3711
|
+
$grow?: boolean | number | "inherit" | "initial" | "unset";
|
|
3759
3712
|
/**
|
|
3760
3713
|
* Specify if the stack itself should shrink
|
|
3761
3714
|
* (i.e. if the stack is a child of some other flex element)
|
|
3762
3715
|
*/
|
|
3763
|
-
shrink?: boolean | number | "inherit" | "initial" | "unset";
|
|
3716
|
+
$shrink?: boolean | number | "inherit" | "initial" | "unset";
|
|
3764
3717
|
/**
|
|
3765
3718
|
* Specify if the flex items are forced onto one lone or can
|
|
3766
3719
|
* wrap onto multiple line. "wrap" can be useful for expanding a
|
|
@@ -3770,15 +3723,15 @@ export declare interface StackProps {
|
|
|
3770
3723
|
/**
|
|
3771
3724
|
* Layout items vertically (flex column instead of row)
|
|
3772
3725
|
*/
|
|
3773
|
-
vertical?: boolean;
|
|
3726
|
+
$vertical?: boolean;
|
|
3774
3727
|
/**
|
|
3775
3728
|
* Layout items in reverse of their order
|
|
3776
3729
|
*/
|
|
3777
|
-
reverse?: boolean;
|
|
3730
|
+
$reverse?: boolean;
|
|
3778
3731
|
/**
|
|
3779
3732
|
* if 0 grow not relative to size - it's relative to space
|
|
3780
3733
|
*/
|
|
3781
|
-
basis?: string;
|
|
3734
|
+
$basis?: string;
|
|
3782
3735
|
overflow?: React.CSSProperties["overflow"];
|
|
3783
3736
|
}
|
|
3784
3737
|
|
|
@@ -3824,11 +3777,11 @@ export declare interface StandardLabelColors {
|
|
|
3824
3777
|
/**
|
|
3825
3778
|
* @public
|
|
3826
3779
|
*/
|
|
3827
|
-
export declare const StyledA:
|
|
3828
|
-
underline?: boolean;
|
|
3829
|
-
}
|
|
3780
|
+
export declare const StyledA: ReturnType<typeof styled.a<{
|
|
3781
|
+
$underline?: boolean;
|
|
3782
|
+
}>>;
|
|
3830
3783
|
|
|
3831
|
-
export declare type SVGRIconType = (props: ComponentProps<"svg">) => JSX.Element;
|
|
3784
|
+
export declare type SVGRIconType = (props: ComponentProps<"svg">) => React_2.JSX.Element;
|
|
3832
3785
|
|
|
3833
3786
|
/**
|
|
3834
3787
|
* @public
|
|
@@ -3890,14 +3843,12 @@ export declare interface TabBarTabProps {
|
|
|
3890
3843
|
/**
|
|
3891
3844
|
* @public
|
|
3892
3845
|
*/
|
|
3893
|
-
export declare const TabbedSectionBody:
|
|
3894
|
-
vertical: boolean;
|
|
3895
|
-
}, "vertical">;
|
|
3846
|
+
export declare const TabbedSectionBody: ReturnType<typeof styled.div<StackProps>>;
|
|
3896
3847
|
|
|
3897
3848
|
/**
|
|
3898
3849
|
* @public
|
|
3899
3850
|
*/
|
|
3900
|
-
export declare const TabbedSectionContainer:
|
|
3851
|
+
export declare const TabbedSectionContainer: ReturnType<typeof styled.div<StackProps>>;
|
|
3901
3852
|
|
|
3902
3853
|
/**
|
|
3903
3854
|
* @public
|
|
@@ -3939,7 +3890,7 @@ export declare interface TabbedSectionTabType<TabId = string> {
|
|
|
3939
3890
|
/**
|
|
3940
3891
|
* @public
|
|
3941
3892
|
*/
|
|
3942
|
-
export declare const TabbedSectionTitleBar:
|
|
3893
|
+
export declare const TabbedSectionTitleBar: ReturnType<typeof styled.div<object>>;
|
|
3943
3894
|
|
|
3944
3895
|
/**
|
|
3945
3896
|
* @public
|
|
@@ -3975,18 +3926,18 @@ export declare interface TabsProps {
|
|
|
3975
3926
|
}
|
|
3976
3927
|
|
|
3977
3928
|
export declare type TabStyleDef = {
|
|
3978
|
-
container?: () =>
|
|
3929
|
+
container?: () => DpCss;
|
|
3979
3930
|
TabContainer?: (props: {
|
|
3980
3931
|
active?: boolean;
|
|
3981
3932
|
disabled?: boolean;
|
|
3982
3933
|
isTicketHistory?: boolean;
|
|
3983
|
-
}) =>
|
|
3934
|
+
}) => DpCss;
|
|
3984
3935
|
TabInner?: (props: {
|
|
3985
3936
|
active?: boolean;
|
|
3986
3937
|
disabled?: boolean;
|
|
3987
3938
|
isTicketHistory?: boolean;
|
|
3988
|
-
}) =>
|
|
3989
|
-
label?: () =>
|
|
3939
|
+
}) => DpCss;
|
|
3940
|
+
label?: () => DpCss;
|
|
3990
3941
|
};
|
|
3991
3942
|
|
|
3992
3943
|
export declare type TabStyles = {
|
|
@@ -4059,7 +4010,7 @@ export declare interface TagLoadingProps {
|
|
|
4059
4010
|
/**
|
|
4060
4011
|
* @public
|
|
4061
4012
|
*/
|
|
4062
|
-
export declare const TagNumber: ({ number, icon, color }: TagNumberProps) => JSX.Element;
|
|
4013
|
+
export declare const TagNumber: ({ number, icon, color }: TagNumberProps) => React_2.JSX.Element;
|
|
4063
4014
|
|
|
4064
4015
|
/**
|
|
4065
4016
|
* @public
|
|
@@ -4094,7 +4045,7 @@ export declare interface TagProps {
|
|
|
4094
4045
|
/**
|
|
4095
4046
|
* @public
|
|
4096
4047
|
*/
|
|
4097
|
-
export declare const TextArea:
|
|
4048
|
+
export declare const TextArea: ReturnType<typeof styled.textarea<TextAreaProps>>;
|
|
4098
4049
|
|
|
4099
4050
|
/**
|
|
4100
4051
|
* @public
|
|
@@ -4104,13 +4055,13 @@ export declare interface TextAreaProps extends TextareaHTMLAttributes<HTMLTextAr
|
|
|
4104
4055
|
required?: boolean;
|
|
4105
4056
|
variant?: InputVariant;
|
|
4106
4057
|
calcRow?: boolean;
|
|
4107
|
-
rightIcon?: JSX.Element | null;
|
|
4058
|
+
rightIcon?: React_2.JSX.Element | null;
|
|
4108
4059
|
}
|
|
4109
4060
|
|
|
4110
4061
|
/**
|
|
4111
4062
|
* @public
|
|
4112
4063
|
*/
|
|
4113
|
-
export declare const TextAreaWithDisplay:
|
|
4064
|
+
export declare const TextAreaWithDisplay: ReturnType<typeof styled.textarea<TextAreaWithDisplayProps>>;
|
|
4114
4065
|
|
|
4115
4066
|
/**
|
|
4116
4067
|
* @public
|
|
@@ -4324,57 +4275,6 @@ export declare interface TimeInputProps {
|
|
|
4324
4275
|
secondsText: ReactNode;
|
|
4325
4276
|
}
|
|
4326
4277
|
|
|
4327
|
-
/**
|
|
4328
|
-
* @public
|
|
4329
|
-
*/
|
|
4330
|
-
export declare type TippyModalStyleTypes = "extraDark" | "dark" | "light" | "lightBox" | "lightBoxModal";
|
|
4331
|
-
|
|
4332
|
-
/**
|
|
4333
|
-
* @public
|
|
4334
|
-
* @deprecated Due to Tippy causing memory leaks. Use {@link Tooltip} instead.
|
|
4335
|
-
*/
|
|
4336
|
-
export declare const TippyTooltip: StyledComponent<({ suppressClassNameWarning, styleType, arrow, width, offsetTop, styledCss, customComponent, arrowColor, offsetLeft, borderRadius, onPresEsc, enableOnTouchDevices, ...props }: TippyTooltipProps) => React_2.JSX.Element, DefaultTheme, {
|
|
4337
|
-
suppressClassNameWarning: true;
|
|
4338
|
-
}, "suppressClassNameWarning">;
|
|
4339
|
-
|
|
4340
|
-
/**
|
|
4341
|
-
* @public
|
|
4342
|
-
*/
|
|
4343
|
-
export declare function TippyTooltipCommonIcon({ content, styleType, placement, iconSize, }: TippyTooltipCommonIconProps): React_2.JSX.Element;
|
|
4344
|
-
|
|
4345
|
-
/**
|
|
4346
|
-
* @public
|
|
4347
|
-
*/
|
|
4348
|
-
export declare interface TippyTooltipCommonIconProps {
|
|
4349
|
-
styleType?: "dark" | "light" | "lightBox";
|
|
4350
|
-
content: string;
|
|
4351
|
-
placement?: "top" | "bottom" | "left" | "right";
|
|
4352
|
-
iconSize?: number;
|
|
4353
|
-
}
|
|
4354
|
-
|
|
4355
|
-
/**
|
|
4356
|
-
* @public
|
|
4357
|
-
*/
|
|
4358
|
-
export declare type TippyTooltipPlacement = TippyProps["placement"];
|
|
4359
|
-
|
|
4360
|
-
/**
|
|
4361
|
-
* @public
|
|
4362
|
-
* @deprecated Due to Tippy causing memory leaks. Use {@link Tooltip} instead.
|
|
4363
|
-
*/
|
|
4364
|
-
export declare interface TippyTooltipProps extends TippyProps {
|
|
4365
|
-
styleType?: TippyModalStyleTypes;
|
|
4366
|
-
suppressClassNameWarning?: boolean;
|
|
4367
|
-
width?: number | string;
|
|
4368
|
-
offsetTop?: number | string;
|
|
4369
|
-
offsetLeft?: number;
|
|
4370
|
-
styledCss?: FlattenSimpleInterpolation | CSSProp;
|
|
4371
|
-
customComponent?: boolean;
|
|
4372
|
-
arrowColor?: ThemeColorKey;
|
|
4373
|
-
borderRadius?: number;
|
|
4374
|
-
onPresEsc?: () => void;
|
|
4375
|
-
enableOnTouchDevices?: boolean;
|
|
4376
|
-
}
|
|
4377
|
-
|
|
4378
4278
|
/**
|
|
4379
4279
|
* A switch and its label, wrapped in one `<label>`. Falls back to `title`,
|
|
4380
4280
|
* then `"toggle"`, so it is never nameless.
|
|
@@ -4432,13 +4332,13 @@ export declare interface ToggleProps extends ToggleControlProps {
|
|
|
4432
4332
|
*/
|
|
4433
4333
|
export declare const Toolbar: ToolBarType;
|
|
4434
4334
|
|
|
4435
|
-
export declare type ToolbarItemType =
|
|
4335
|
+
export declare type ToolbarItemType = ReturnType<typeof styled.div<StackItemProps>>;
|
|
4436
4336
|
|
|
4437
|
-
export declare type ToolbarStackType =
|
|
4337
|
+
export declare type ToolbarStackType = ReturnType<typeof styled.div<StackProps>>;
|
|
4438
4338
|
|
|
4439
4339
|
export declare type ToolBarType = ToolbarStackType & {
|
|
4440
4340
|
Item: ToolbarItemType;
|
|
4441
|
-
Spacer: () => JSX.Element;
|
|
4341
|
+
Spacer: () => React_2.JSX.Element;
|
|
4442
4342
|
};
|
|
4443
4343
|
|
|
4444
4344
|
/**
|
|
@@ -4449,13 +4349,13 @@ export declare const Tooltip: ({ styleType, width, maxWidth, offsetTop, offsetLe
|
|
|
4449
4349
|
/**
|
|
4450
4350
|
* @public
|
|
4451
4351
|
*/
|
|
4452
|
-
export declare const TooltipBox:
|
|
4453
|
-
padding?: string;
|
|
4454
|
-
styleType?: ModalStyleTypes;
|
|
4455
|
-
borderRadius?: number;
|
|
4456
|
-
offset: [number, number];
|
|
4457
|
-
duration?: number;
|
|
4458
|
-
}
|
|
4352
|
+
export declare const TooltipBox: ReturnType<typeof styled.div<{
|
|
4353
|
+
$padding?: string;
|
|
4354
|
+
$styleType?: ModalStyleTypes;
|
|
4355
|
+
$borderRadius?: number;
|
|
4356
|
+
offset: [number, number];
|
|
4357
|
+
$duration?: number;
|
|
4358
|
+
}>>;
|
|
4459
4359
|
|
|
4460
4360
|
/**
|
|
4461
4361
|
* @public
|
|
@@ -4488,7 +4388,7 @@ export declare interface TooltipProps {
|
|
|
4488
4388
|
offsetTop?: number;
|
|
4489
4389
|
offsetLeft?: number;
|
|
4490
4390
|
offset?: [number, number];
|
|
4491
|
-
styledCss?:
|
|
4391
|
+
styledCss?: DpCss | CSSProp;
|
|
4492
4392
|
customComponent?: boolean;
|
|
4493
4393
|
borderRadius?: number;
|
|
4494
4394
|
onPressEsc?: () => void;
|
|
@@ -4518,7 +4418,7 @@ export declare interface TooltipProps {
|
|
|
4518
4418
|
flip?: boolean;
|
|
4519
4419
|
debug?: string;
|
|
4520
4420
|
safePolygon?: boolean;
|
|
4521
|
-
triggerRef?: React_2.RefObject<HTMLDivElement>;
|
|
4421
|
+
triggerRef?: React_2.RefObject<HTMLDivElement | null>;
|
|
4522
4422
|
zIndex?: keyof Layers;
|
|
4523
4423
|
}
|
|
4524
4424
|
|
|
@@ -4558,11 +4458,11 @@ export declare type TooltipTriggerProps = {
|
|
|
4558
4458
|
export declare interface TProps {
|
|
4559
4459
|
type: TypesV1 | TypesV2;
|
|
4560
4460
|
overflow?: React.CSSProperties["textOverflow"];
|
|
4561
|
-
flex?: React.CSSProperties["flex"];
|
|
4461
|
+
$flex?: React.CSSProperties["flex"];
|
|
4562
4462
|
$fill?: boolean;
|
|
4563
|
-
themeColor?: ThemeColorKey;
|
|
4564
|
-
font?: keyof ThemeFonts;
|
|
4565
|
-
textAlign?: React.CSSProperties["textAlign"];
|
|
4463
|
+
$themeColor?: ThemeColorKey;
|
|
4464
|
+
$font?: keyof ThemeFonts;
|
|
4465
|
+
$textAlign?: React.CSSProperties["textAlign"];
|
|
4566
4466
|
transform?: React.CSSProperties["textTransform"];
|
|
4567
4467
|
as?: string | ComponentType<unknown> | undefined;
|
|
4568
4468
|
}
|
|
@@ -4570,7 +4470,7 @@ export declare interface TProps {
|
|
|
4570
4470
|
/**
|
|
4571
4471
|
* @public
|
|
4572
4472
|
*/
|
|
4573
|
-
export declare const TSpan:
|
|
4473
|
+
export declare const TSpan: ReturnType<typeof styled.span<TProps>>;
|
|
4574
4474
|
|
|
4575
4475
|
/**
|
|
4576
4476
|
* @public
|
|
@@ -4586,9 +4486,9 @@ export declare type TypesV2 = keyof typeof v2Styles;
|
|
|
4586
4486
|
/**
|
|
4587
4487
|
* @public
|
|
4588
4488
|
*/
|
|
4589
|
-
export declare const UnstyledA:
|
|
4590
|
-
underline?: boolean;
|
|
4591
|
-
}
|
|
4489
|
+
export declare const UnstyledA: ReturnType<typeof styled.a<{
|
|
4490
|
+
$underline?: boolean;
|
|
4491
|
+
}>>;
|
|
4592
4492
|
|
|
4593
4493
|
/**
|
|
4594
4494
|
* @public
|
|
@@ -4655,7 +4555,7 @@ export declare interface UrgencyPillProps {
|
|
|
4655
4555
|
/**
|
|
4656
4556
|
* @public
|
|
4657
4557
|
*/
|
|
4658
|
-
export declare const UrgencyStatus:
|
|
4558
|
+
export declare const UrgencyStatus: React_2.FunctionComponent<UrgencyCircleProps>;
|
|
4659
4559
|
|
|
4660
4560
|
/**
|
|
4661
4561
|
* @public
|
|
@@ -4697,8 +4597,8 @@ export declare const usePosition: ({ offset, offsetLeft, offsetTop, placement, i
|
|
|
4697
4597
|
isOpen: boolean;
|
|
4698
4598
|
disabled?: boolean;
|
|
4699
4599
|
enableOnTouchDevices?: boolean;
|
|
4700
|
-
triggerRef: RefObject<HTMLDivElement>;
|
|
4701
|
-
tooltipRef: RefObject<HTMLDivElement>;
|
|
4600
|
+
triggerRef: RefObject<HTMLDivElement | null>;
|
|
4601
|
+
tooltipRef: RefObject<HTMLDivElement | null>;
|
|
4702
4602
|
preventOverflow?: boolean;
|
|
4703
4603
|
/** @see `getNoOverflowPosition` */
|
|
4704
4604
|
allowReposition: boolean;
|
|
@@ -4751,89 +4651,12 @@ export declare const useTooltip: ({ delayOpenRef, delayCloseRef, closeDelay, int
|
|
|
4751
4651
|
* @public
|
|
4752
4652
|
* @deprecated Use v2Styles instead
|
|
4753
4653
|
*/
|
|
4754
|
-
export declare const v1Styles:
|
|
4755
|
-
p1: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4756
|
-
p2: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4757
|
-
p3: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4758
|
-
p4: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4759
|
-
p5: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4760
|
-
p6: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4761
|
-
p7: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4762
|
-
p8: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4763
|
-
p9: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4764
|
-
p10: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4765
|
-
p11: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4766
|
-
p12: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4767
|
-
p13: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4768
|
-
p14: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4769
|
-
p15: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4770
|
-
p16: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4771
|
-
p17: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4772
|
-
p18: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4773
|
-
h0: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4774
|
-
h1: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4775
|
-
h2: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4776
|
-
h3: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4777
|
-
h4: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4778
|
-
h5: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4779
|
-
h6: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4780
|
-
h7: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4781
|
-
h8: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4782
|
-
h9: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4783
|
-
h10: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4784
|
-
h11: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4785
|
-
};
|
|
4654
|
+
export declare const v1Styles: Record<HeadingStyleKeysV1 | ParagraphStyleKeysV1, DpCss>;
|
|
4786
4655
|
|
|
4787
4656
|
/**
|
|
4788
4657
|
* @public
|
|
4789
4658
|
*/
|
|
4790
|
-
export declare const v2Styles:
|
|
4791
|
-
label1: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4792
|
-
label1_medium: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4793
|
-
label1_semibold: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4794
|
-
label2: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4795
|
-
monospace: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4796
|
-
monospace_medium: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4797
|
-
monospace_semibold: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4798
|
-
shortcode: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4799
|
-
p_p1: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4800
|
-
p_p1_medium: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4801
|
-
p_p1_semibold: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4802
|
-
p_p1_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4803
|
-
p_p1_paragraph_medium: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4804
|
-
p_p1_paragraph_semibold: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4805
|
-
p_p2: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4806
|
-
p_p2_medium: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4807
|
-
p_p2_semibold: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4808
|
-
p_p2_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4809
|
-
p_p2_paragraph_medium: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4810
|
-
p_p2_paragraph_semibold: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4811
|
-
p_p3: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4812
|
-
p_p3_medium: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4813
|
-
p_p3_semibold: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4814
|
-
p_p3_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4815
|
-
p_p3_paragraph_medium: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4816
|
-
p_p3_paragraph_semibold: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4817
|
-
p_p4: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4818
|
-
p_p4_medium: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4819
|
-
p_p4_semibold: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4820
|
-
p_p4_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4821
|
-
p_p4_paragraph_medium: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4822
|
-
p_p4_paragraph_semibold: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4823
|
-
h_h1: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4824
|
-
h_h1_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4825
|
-
h_h2: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4826
|
-
h_h2_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4827
|
-
h_h3: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4828
|
-
h_h3_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4829
|
-
h_h4: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4830
|
-
h_h4_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4831
|
-
h_h5: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4832
|
-
h_h5_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4833
|
-
h_h6: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4834
|
-
h_h6_paragraph: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4835
|
-
h_h6_kerning: FlattenInterpolation<ThemeProps<DefaultTheme>>;
|
|
4836
|
-
};
|
|
4659
|
+
export declare const v2Styles: Record<HeadingStyleKeysV2 | ParagraphStyleKeysV2 | OtherStyleKeysV2, DpCss>;
|
|
4837
4660
|
|
|
4838
4661
|
/**
|
|
4839
4662
|
* Renders content that is available to screen readers but hidden visually.
|
|
@@ -4847,13 +4670,7 @@ export declare const v2Styles: {
|
|
|
4847
4670
|
*
|
|
4848
4671
|
* @public
|
|
4849
4672
|
*/
|
|
4850
|
-
export declare const VisuallyHidden:
|
|
4851
|
-
"data-dp-name": string;
|
|
4852
|
-
"data-dp-ident"?: string;
|
|
4853
|
-
} & VisuallyHiddenProps, keyof {
|
|
4854
|
-
"data-dp-name": string;
|
|
4855
|
-
"data-dp-ident"?: string;
|
|
4856
|
-
}>;
|
|
4673
|
+
export declare const VisuallyHidden: ReturnType<typeof styled.span<VisuallyHiddenProps>>;
|
|
4857
4674
|
|
|
4858
4675
|
/**
|
|
4859
4676
|
* The canonical "visually hidden" CSS recipe. Removes an element from the
|
|
@@ -4870,7 +4687,7 @@ export declare const VisuallyHidden: StyledComponent<"span", DefaultTheme, {
|
|
|
4870
4687
|
*
|
|
4871
4688
|
* @public
|
|
4872
4689
|
*/
|
|
4873
|
-
export declare const visuallyHidden:
|
|
4690
|
+
export declare const visuallyHidden: DpCss;
|
|
4874
4691
|
|
|
4875
4692
|
/**
|
|
4876
4693
|
* @public
|