@splunk/react-ui 4.43.0 → 5.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Accordion.js +87 -109
- package/Animation.js +48 -31
- package/Avatar.d.ts +2 -0
- package/Avatar.js +478 -0
- package/Box.js +8 -8
- package/Breadcrumbs.js +45 -49
- package/Button.js +144 -399
- package/ButtonGroup.js +22 -26
- package/ButtonSimple.js +239 -605
- package/CHANGELOG.md +4 -0
- package/CHANGELOG.v5.mdx +195 -0
- package/Calendar.js +55 -68
- package/Card.js +162 -200
- package/Chip.js +108 -96
- package/Clickable.js +174 -310
- package/Code.js +393 -422
- package/CollapsiblePanel.js +439 -601
- package/Color.js +727 -967
- package/ColumnLayout.js +190 -234
- package/ComboBox.js +147 -135
- package/ControlGroup.js +502 -531
- package/Date.js +315 -416
- package/DefinitionList.js +128 -140
- package/Dropdown.js +201 -358
- package/DualListbox.js +26 -26
- package/File.js +479 -558
- package/FormRows.js +339 -569
- package/Heading.js +53 -99
- package/Image.js +254 -305
- package/JSONTree.js +105 -107
- package/Layer.js +187 -269
- package/{CloseButton.js → Layout.js} +39 -61
- package/Link.js +91 -244
- package/List.js +68 -74
- package/MIGRATION.v5.mdx +428 -0
- package/Markdown.js +439 -385
- package/Menu.js +383 -741
- package/Message.js +150 -322
- package/MessageBar.js +15 -15
- package/Modal.js +444 -587
- package/Monogram.js +1 -1
- package/Multiselect.js +1207 -1256
- package/NonInteractiveCheckbox.js +189 -0
- package/Number.js +495 -604
- package/Paginator.js +294 -406
- package/Paragraph.js +12 -15
- package/Popover.js +582 -744
- package/Progress.js +141 -244
- package/Prose.d.ts +2 -0
- package/Prose.js +213 -0
- package/RadioBar.js +328 -450
- package/RadioList.js +132 -216
- package/Resize.js +351 -402
- package/ResultsMenu.js +255 -358
- package/Scroll.js +159 -238
- package/Search.js +358 -437
- package/Select.js +1097 -1380
- package/SidePanel.js +179 -223
- package/Slider.js +440 -542
- package/SlidingPanels.js +377 -504
- package/SplitButton.js +114 -102
- package/StaticContent.js +58 -74
- package/StepBar.js +193 -258
- package/Switch.js +246 -552
- package/TabBar.js +438 -622
- package/TabLayout.js +197 -251
- package/Table.js +2355 -3673
- package/Text.js +422 -909
- package/TextArea.js +537 -959
- package/Tooltip.js +35 -41
- package/TransitionOpen.js +296 -336
- package/Typography.js +35 -50
- package/WaitSpinner.js +93 -124
- package/package.json +14 -15
- package/stubs-dependencies.d.ts +0 -7
- package/stubs-splunkui.d.ts +6 -1
- package/types/src/Accordion/Accordion.d.ts +5 -1
- package/types/src/Accordion/Panel.d.ts +1 -2
- package/types/src/Accordion/docs/examples/Controlled.d.ts +2 -1
- package/types/src/Accordion/docs/examples/Inset.d.ts +2 -1
- package/types/src/Accordion/docs/examples/Uncontrolled.d.ts +2 -1
- package/types/src/Anchor/Anchor.d.ts +1 -1
- package/types/src/Anchor/docs/examples/Basic.d.ts +2 -1
- package/types/src/Animation/Animation.d.ts +12 -2
- package/types/src/AnimationToggle/AnimationToggleProvider.d.ts +1 -1
- package/types/src/AnimationToggle/docs/examples/Provider.d.ts +2 -2
- package/types/src/AnimationToggle/docs/examples/ReducedMotionComponent.d.ts +2 -1
- package/types/src/AnimationToggle/docs/examples/ReducedMotionHook.d.ts +2 -1
- package/types/src/AnimationToggle/docs/examples/ToggleComponent.d.ts +2 -2
- package/types/src/AnimationToggle/docs/examples/ToggleHook.d.ts +2 -1
- package/types/src/Avatar/Avatar.d.ts +65 -0
- package/types/src/Avatar/docs/examples/BackgroundColor.d.ts +2 -0
- package/types/src/Avatar/docs/examples/Basic.d.ts +2 -0
- package/types/src/Avatar/docs/examples/Image.d.ts +2 -0
- package/types/src/Avatar/docs/examples/Interactive.d.ts +2 -0
- package/types/src/Avatar/docs/examples/Size.d.ts +2 -0
- package/types/src/Avatar/getInitials.d.ts +9 -0
- package/types/src/Avatar/index.d.ts +2 -0
- package/types/src/Box/Box.d.ts +1 -1
- package/types/src/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/types/src/Breadcrumbs/Item.d.ts +1 -1
- package/types/src/Breadcrumbs/docs/examples/Adornments.d.ts +2 -1
- package/types/src/Breadcrumbs/docs/examples/Basic.d.ts +2 -1
- package/types/src/Breadcrumbs/docs/examples/CustomizedClick.d.ts +2 -1
- package/types/src/Button/Button.d.ts +19 -34
- package/types/src/Button/docs/examples/Basic.d.ts +2 -1
- package/types/src/Button/docs/examples/Block.d.ts +2 -1
- package/types/src/Button/docs/examples/Disabled.d.ts +2 -1
- package/types/src/Button/docs/examples/Icons.d.ts +2 -1
- package/types/src/Button/docs/examples/Menus.d.ts +2 -1
- package/types/src/Button/docs/examples/To.d.ts +2 -1
- package/types/src/Button/docs/examples/Truncated.d.ts +2 -1
- package/types/src/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/types/src/ButtonGroup/docs/examples/Basic.d.ts +2 -1
- package/types/src/ButtonSimple/ButtonSimple.d.ts +22 -41
- package/types/src/ButtonSimple/mixin.d.ts +6 -2
- package/types/src/Calendar/Calendar.d.ts +2 -2
- package/types/src/Calendar/DateTable.d.ts +1 -1
- package/types/src/Calendar/Day.d.ts +1 -1
- package/types/src/Calendar/MonthHeader.d.ts +1 -1
- package/types/src/Card/Body.d.ts +1 -1
- package/types/src/Card/Card.d.ts +4 -9
- package/types/src/Card/Footer.d.ts +1 -8
- package/types/src/Card/Header.d.ts +2 -2
- package/types/src/Card/docs/examples/Actions.d.ts +2 -1
- package/types/src/Card/docs/examples/Basic.d.ts +2 -1
- package/types/src/Card/docs/examples/Clickable.d.ts +2 -1
- package/types/src/Card/docs/examples/Full.d.ts +2 -1
- package/types/src/Card/docs/examples/Images.d.ts +2 -1
- package/types/src/Card/docs/examples/Selectable.d.ts +2 -1
- package/types/src/CardLayout/CardLayout.d.ts +1 -1
- package/types/src/CardLayout/docs/examples/Basic.d.ts +2 -1
- package/types/src/CardLayout/docs/examples/Interactive.d.ts +2 -2
- package/types/src/Chip/Chip.d.ts +1 -1
- package/types/src/Chip/docs/examples/Appearance.d.ts +2 -1
- package/types/src/Chip/docs/examples/CustomColors.d.ts +2 -1
- package/types/src/Chip/docs/examples/Disabled.d.ts +2 -1
- package/types/src/Chip/docs/examples/Icon.d.ts +2 -1
- package/types/src/Chip/docs/examples/Removable.d.ts +2 -1
- package/types/src/Chip/docs/examples/RemovableWithNonStringChildren.d.ts +2 -1
- package/types/src/Clickable/Clickable.d.ts +13 -37
- package/types/src/Clickable/NavigationProvider.d.ts +2 -19
- package/types/src/Clickable/docs/examples/Basic.d.ts +2 -1
- package/types/src/Clickable/docs/examples/Disabled.d.ts +3 -0
- package/types/src/Clickable/docs/examples/NavigationProvider.d.ts +2 -1
- package/types/src/Code/Code.d.ts +2 -2
- package/types/src/Code/docs/examples/Default.d.ts +2 -1
- package/types/src/Code/docs/examples/HideIndent.d.ts +2 -1
- package/types/src/Code/docs/examples/Language.d.ts +2 -1
- package/types/src/CollapsiblePanel/CollapsiblePanel.d.ts +31 -70
- package/types/src/CollapsiblePanel/SingleOpenPanelGroup.d.ts +2 -2
- package/types/src/CollapsiblePanel/docs/examples/Actions.d.ts +3 -0
- package/types/src/CollapsiblePanel/docs/examples/BasicControlled.d.ts +2 -1
- package/types/src/CollapsiblePanel/docs/examples/BasicUncontrolled.d.ts +2 -1
- package/types/src/CollapsiblePanel/docs/examples/Disabled.d.ts +3 -0
- package/types/src/CollapsiblePanel/docs/examples/MultiControlled.d.ts +2 -1
- package/types/src/CollapsiblePanel/docs/examples/MultiUncontrolled.d.ts +2 -1
- package/types/src/CollapsiblePanel/docs/examples/SingleOpenPanelGroupControlled.d.ts +2 -1
- package/types/src/CollapsiblePanel/docs/examples/SingleOpenPanelGroupInset.d.ts +2 -1
- package/types/src/CollapsiblePanel/docs/examples/SingleOpenPanelGroupUncontrolled.d.ts +2 -1
- package/types/src/CollapsiblePanel/docs/examples/Subtle.d.ts +3 -0
- package/types/src/CollapsiblePanel/icons/ExpandPanel.d.ts +2 -1
- package/types/src/Color/Color.d.ts +24 -59
- package/types/src/Color/Palette.d.ts +3 -18
- package/types/src/Color/Swatch.d.ts +1 -4
- package/types/src/Color/docs/examples/Controlled.d.ts +2 -1
- package/types/src/Color/docs/examples/CustomizedPalette.d.ts +2 -1
- package/types/src/Color/docs/examples/HideInput.d.ts +2 -1
- package/types/src/Color/docs/examples/Null.d.ts +2 -1
- package/types/src/Color/docs/examples/ThemeVariables.d.ts +2 -1
- package/types/src/Color/docs/examples/Transparent.d.ts +2 -1
- package/types/src/Color/docs/examples/Uncontrolled.d.ts +2 -1
- package/types/src/ColumnLayout/Column.d.ts +1 -11
- package/types/src/ColumnLayout/ColumnLayout.d.ts +1 -1
- package/types/src/ColumnLayout/Row.d.ts +1 -11
- package/types/src/ColumnLayout/docs/examples/AlignItems.d.ts +2 -1
- package/types/src/ColumnLayout/docs/examples/Basic.d.ts +2 -1
- package/types/src/ColumnLayout/docs/examples/Dividers.d.ts +2 -1
- package/types/src/ColumnLayout/docs/examples/Gutters.d.ts +2 -1
- package/types/src/ComboBox/ComboBox.d.ts +4 -11
- package/types/src/ComboBox/Option.d.ts +2 -2
- package/types/src/ComboBox/docs/examples/Controlled.d.ts +2 -1
- package/types/src/ComboBox/docs/examples/Fetching.d.ts +2 -1
- package/types/src/ComboBox/docs/examples/Headings.d.ts +2 -1
- package/types/src/ComboBox/docs/examples/Label.d.ts +2 -1
- package/types/src/ComboBox/docs/examples/LoadMoreOnScrollBottom.d.ts +2 -1
- package/types/src/ComboBox/docs/examples/Uncontrolled.d.ts +2 -1
- package/types/src/ControlGroup/ControlGroup.d.ts +22 -38
- package/types/src/ControlGroup/ErrorMessageBar.d.ts +18 -0
- package/types/src/ControlGroup/docs/examples/Basic.d.ts +2 -1
- package/types/src/ControlGroup/docs/examples/CustomizedLabelTarget.d.ts +2 -2
- package/types/src/ControlGroup/docs/examples/Error.d.ts +2 -1
- package/types/src/ControlGroup/docs/examples/HelpWithErrorText.d.ts +2 -1
- package/types/src/ControlGroup/docs/examples/HelpWithLinks.d.ts +2 -1
- package/types/src/ControlGroup/docs/examples/LabelLeft.d.ts +3 -0
- package/types/src/ControlGroup/docs/examples/LayoutFill.d.ts +2 -1
- package/types/src/ControlGroup/docs/examples/LayoutFillJoin.d.ts +2 -1
- package/types/src/ControlGroup/docs/examples/LayoutNone.d.ts +2 -1
- package/types/src/ControlGroup/docs/examples/Required.d.ts +2 -1
- package/types/src/Date/Date.d.ts +30 -64
- package/types/src/Date/Icon.d.ts +2 -1
- package/types/src/Date/docs/examples/Basic.d.ts +2 -1
- package/types/src/Date/docs/examples/Controlled.d.ts +2 -2
- package/types/src/Date/docs/examples/CustomDate.d.ts +2 -1
- package/types/src/Date/docs/examples/Disabled.d.ts +2 -1
- package/types/src/Date/docs/examples/Error.d.ts +2 -1
- package/types/src/Date/docs/examples/HighlightToday.d.ts +2 -2
- package/types/src/Date/docs/examples/WithoutCalendar.d.ts +2 -1
- package/types/src/DefinitionList/DefinitionList.d.ts +8 -3
- package/types/src/DefinitionList/DefinitionListContext.d.ts +7 -0
- package/types/src/DefinitionList/Description.d.ts +3 -3
- package/types/src/DefinitionList/Term.d.ts +3 -3
- package/types/src/DefinitionList/docs/examples/Basic.d.ts +2 -1
- package/types/src/DefinitionList/docs/examples/Customize.d.ts +2 -1
- package/types/src/DefinitionList/docs/examples/EmptyDescription.d.ts +3 -0
- package/types/src/DefinitionList/docs/examples/WithSeparator.d.ts +3 -0
- package/types/src/Divider/Divider.d.ts +1 -1
- package/types/src/Divider/docs/examples/Basic.d.ts +2 -1
- package/types/src/Divider/docs/examples/CustomStyle.d.ts +2 -1
- package/types/src/Divider/docs/examples/Decorative.d.ts +2 -1
- package/types/src/Divider/docs/examples/Vertical.d.ts +2 -1
- package/types/src/Dropdown/Dropdown.d.ts +29 -44
- package/types/src/Dropdown/docs/examples/Basic.d.ts +2 -1
- package/types/src/Dropdown/docs/examples/BasicMenu.d.ts +2 -1
- package/types/src/Dropdown/docs/examples/ControlledDropdown.d.ts +2 -1
- package/types/src/Dropdown/docs/examples/Dialog.d.ts +2 -1
- package/types/src/Dropdown/docs/examples/ScrollContainer.d.ts +2 -1
- package/types/src/Dropdown/docs/examples/ScrollingMenu.d.ts +2 -1
- package/types/src/Dropdown/docs/examples/Submenu.d.ts +2 -1
- package/types/src/Dropdown/docs/examples/TooltipButtonToggle.d.ts +2 -1
- package/types/src/DualListbox/DualListbox.d.ts +1 -1
- package/types/src/DualListbox/Label.d.ts +1 -1
- package/types/src/DualListbox/Listbox.d.ts +1 -1
- package/types/src/DualListbox/Option.d.ts +1 -1
- package/types/src/DualListbox/ScreenReaderWrapper.d.ts +2 -1
- package/types/src/DualListbox/ToolbarButton.d.ts +1 -1
- package/types/src/DualListbox/docs/examples/Basic.d.ts +2 -1
- package/types/src/DualListbox/docs/examples/Controlled.d.ts +2 -1
- package/types/src/DualListbox/docs/examples/Fill.d.ts +2 -1
- package/types/src/EventListener/EventListener.d.ts +1 -1
- package/types/src/File/File.d.ts +26 -33
- package/types/src/File/Icon.d.ts +2 -1
- package/types/src/File/IconCloud.d.ts +2 -1
- package/types/src/File/Item.d.ts +1 -1
- package/types/src/File/PaperClip.d.ts +2 -1
- package/types/src/File/Retry.d.ts +2 -1
- package/types/src/File/Trash.d.ts +2 -1
- package/types/src/File/docs/examples/CustomizedMessages.d.ts +2 -1
- package/types/src/File/docs/examples/Disabled.d.ts +2 -2
- package/types/src/File/docs/examples/DropAnywhere.d.ts +2 -2
- package/types/src/File/docs/examples/Error.d.ts +2 -1
- package/types/src/File/docs/examples/FullScreen.d.ts +2 -1
- package/types/src/File/docs/examples/Multi.d.ts +2 -2
- package/types/src/File/docs/examples/Progress.d.ts +2 -1
- package/types/src/File/docs/examples/Single.d.ts +2 -2
- package/types/src/FormRows/FormRows.d.ts +20 -14
- package/types/src/FormRows/Row.d.ts +11 -7
- package/types/src/FormRows/SortableList.d.ts +1 -1
- package/types/src/FormRows/docs/examples/Basic.d.ts +1 -1
- package/types/src/FormRows/docs/examples/Header.d.ts +1 -1
- package/types/src/FormRows/docs/examples/Menu.d.ts +1 -1
- package/types/src/FormRows/docs/examples/ReorderOnly.d.ts +1 -1
- package/types/src/FormRows/icons/FormRowsPlusIcon.d.ts +2 -1
- package/types/src/Heading/Heading.d.ts +8 -20
- package/types/src/Heading/docs/examples/Basic.d.ts +2 -1
- package/types/src/Heading/docs/examples/Variant.d.ts +2 -1
- package/types/src/Heading/index.d.ts +1 -0
- package/types/src/Image/Image.d.ts +8 -19
- package/types/src/Image/docs/examples/Basic.d.ts +2 -1
- package/types/src/Image/icons/Cross.d.ts +2 -1
- package/types/src/JSONTree/JSONTree.d.ts +6 -10
- package/types/src/JSONTree/JSONTreeItem.d.ts +1 -1
- package/types/src/JSONTree/docs/examples/Basic.d.ts +2 -1
- package/types/src/JSONTree/docs/examples/Events.d.ts +2 -2
- package/types/src/JSONTree/docs/examples/ExpandChildrenOnShiftKey.d.ts +2 -1
- package/types/src/JSONTree/renderTreeItems.d.ts +3 -2
- package/types/src/Layer/Layer.d.ts +8 -25
- package/types/src/Layer/LayerStack.d.ts +2 -3
- package/types/src/Layer/docs/examples/Basic.d.ts +2 -1
- package/types/src/Layout/Layout.d.ts +22 -0
- package/types/src/Layout/docs/examples/Basic.d.ts +3 -0
- package/types/src/Layout/index.d.ts +2 -0
- package/types/src/Layout/test/Layout.unit.d.ts +1 -0
- package/types/src/Link/Link.d.ts +9 -22
- package/types/src/Link/docs/examples/Basic.d.ts +2 -1
- package/types/src/Link/docs/examples/Disabled.d.ts +2 -1
- package/types/src/Link/docs/examples/NewWindow.d.ts +2 -1
- package/types/src/Link/docs/examples/Standalone.d.ts +3 -0
- package/types/src/Link/icons/External.d.ts +2 -1
- package/types/src/List/Item.d.ts +1 -1
- package/types/src/List/List.d.ts +5 -17
- package/types/src/List/docs/examples/CustomizedList.d.ts +2 -1
- package/types/src/List/docs/examples/OrderedList.d.ts +2 -1
- package/types/src/List/docs/examples/UnorderedList.d.ts +2 -1
- package/types/src/Markdown/Markdown.d.ts +50 -59
- package/types/src/Markdown/docs/examples/Basic.d.ts +2 -1
- package/types/src/Markdown/docs/examples/I18n.d.ts +2 -1
- package/types/src/Markdown/docs/examples/RenderProps.d.ts +2 -1
- package/types/src/Markdown/renderers/MarkdownAnchorHeading.d.ts +2 -8
- package/types/src/Markdown/renderers/MarkdownBlockquote.d.ts +3 -7
- package/types/src/Markdown/renderers/MarkdownCode.d.ts +3 -9
- package/types/src/Markdown/renderers/MarkdownCodeBlock.d.ts +5 -9
- package/types/src/Markdown/renderers/MarkdownHeading.d.ts +3 -9
- package/types/src/Markdown/renderers/MarkdownImage.d.ts +4 -11
- package/types/src/Markdown/renderers/MarkdownItem.d.ts +4 -8
- package/types/src/Markdown/renderers/MarkdownLink.d.ts +3 -11
- package/types/src/Markdown/renderers/MarkdownList.d.ts +6 -22
- package/types/src/Markdown/renderers/MarkdownParagraph.d.ts +1 -7
- package/types/src/Markdown/renderers/MarkdownTable.d.ts +40 -0
- package/types/src/Markdown/renderers/index.d.ts +5 -4
- package/types/src/Menu/Divider.d.ts +2 -1
- package/types/src/Menu/Heading.d.ts +3 -3
- package/types/src/Menu/Item.d.ts +14 -47
- package/types/src/Menu/Menu.d.ts +4 -19
- package/types/src/Menu/docs/examples/Adornments.d.ts +2 -1
- package/types/src/Menu/docs/examples/Basic.d.ts +2 -1
- package/types/src/Menu/docs/examples/Complex.d.ts +2 -1
- package/types/src/Menu/docs/examples/Descriptions.d.ts +2 -1
- package/types/src/Menu/docs/examples/Dimmed.d.ts +2 -1
- package/types/src/Menu/docs/examples/Disabled.d.ts +2 -1
- package/types/src/Menu/docs/examples/Dividers.d.ts +2 -1
- package/types/src/Menu/docs/examples/Headings.d.ts +2 -1
- package/types/src/Menu/docs/examples/Links.d.ts +2 -1
- package/types/src/Menu/docs/examples/MatchRanges.d.ts +2 -1
- package/types/src/Menu/docs/examples/Selectable.d.ts +2 -1
- package/types/src/Menu/docs/examples/SelectableWithAdornments.d.ts +2 -1
- package/types/src/Menu/docs/examples/Truncate.d.ts +2 -1
- package/types/src/Menu/icons/External.d.ts +2 -1
- package/types/src/Message/Message.d.ts +4 -11
- package/types/src/Message/Title.d.ts +1 -1
- package/types/src/Message/docs/examples/Basic.d.ts +2 -1
- package/types/src/Message/docs/examples/Content.d.ts +2 -1
- package/types/src/Message/docs/examples/Fill.d.ts +2 -1
- package/types/src/Message/docs/examples/Removable.d.ts +2 -1
- package/types/src/MessageBar/MessageBar.d.ts +1 -1
- package/types/src/MessageBar/docs/examples/Basic.d.ts +2 -1
- package/types/src/MessageBar/docs/examples/Types.d.ts +2 -1
- package/types/src/MessageBar/docs/examples/WithActions.d.ts +2 -1
- package/types/src/Modal/Body.d.ts +1 -1
- package/types/src/Modal/Footer.d.ts +9 -1
- package/types/src/Modal/Header.d.ts +7 -11
- package/types/src/Modal/Modal.d.ts +26 -32
- package/types/src/Modal/ModalContext.d.ts +2 -0
- package/types/src/Modal/docs/examples/Basic.d.ts +2 -1
- package/types/src/Modal/docs/examples/InitialFocus.d.ts +2 -1
- package/types/src/Modal/docs/examples/TypicalUsage.d.ts +2 -1
- package/types/src/Modal/docs/examples/Undismissable.d.ts +2 -1
- package/types/src/ModalLayer/ModalLayer.d.ts +1 -1
- package/types/src/Monogram/Monogram.d.ts +3 -7
- package/types/src/Monogram/docs/examples/BackgroundAuto.d.ts +2 -1
- package/types/src/Monogram/docs/examples/BackgroundCustom.d.ts +2 -1
- package/types/src/Monogram/docs/examples/Basic.d.ts +2 -1
- package/types/src/Monogram/docs/examples/Interactive.d.ts +2 -1
- package/types/src/Monogram/docs/examples/Size.d.ts +2 -1
- package/types/src/Multiselect/Compact.d.ts +1 -1
- package/types/src/Multiselect/Multiselect.d.ts +2 -2
- package/types/src/Multiselect/Normal.d.ts +1 -1
- package/types/src/Multiselect/Option.d.ts +1 -1
- package/types/src/Multiselect/docs/examples/Children.d.ts +2 -2
- package/types/src/Multiselect/docs/examples/Compact.d.ts +2 -1
- package/types/src/Multiselect/docs/examples/CompactSelectAll.d.ts +2 -1
- package/types/src/Multiselect/docs/examples/Controlled.d.ts +2 -2
- package/types/src/Multiselect/docs/examples/CustomizeSelected.d.ts +2 -2
- package/types/src/Multiselect/docs/examples/Disabled.d.ts +2 -2
- package/types/src/Multiselect/docs/examples/Error.d.ts +2 -2
- package/types/src/Multiselect/docs/examples/Fetching.d.ts +4 -4
- package/types/src/Multiselect/docs/examples/Headings.d.ts +2 -1
- package/types/src/Multiselect/docs/examples/Icons.d.ts +2 -1
- package/types/src/Multiselect/docs/examples/LoadMoreOnScrollBottom.d.ts +4 -4
- package/types/src/Multiselect/docs/examples/NewValues.d.ts +2 -2
- package/types/src/Multiselect/docs/examples/TabInput.d.ts +2 -2
- package/types/src/Multiselect/docs/examples/Uncontrolled.d.ts +2 -1
- package/types/src/NonInteractiveCheckbox/NonInteractiveCheckbox.d.ts +21 -0
- package/types/src/NonInteractiveCheckbox/index.d.ts +1 -0
- package/types/src/Number/Number.d.ts +46 -61
- package/types/src/Number/docs/examples/Basic.d.ts +2 -2
- package/types/src/Number/docs/examples/Disabled.d.ts +2 -1
- package/types/src/Number/docs/examples/Error.d.ts +2 -1
- package/types/src/Number/docs/examples/Limits.d.ts +2 -2
- package/types/src/Number/docs/examples/Locale.d.ts +2 -2
- package/types/src/Number/docs/examples/Uncontrolled.d.ts +2 -1
- package/types/src/Number/utils.d.ts +1 -2
- package/types/src/Paginator/Button.d.ts +4 -8
- package/types/src/Paginator/Compact.d.ts +1 -1
- package/types/src/Paginator/PageControl.d.ts +1 -1
- package/types/src/Paginator/PageSelect.d.ts +1 -1
- package/types/src/Paginator/PageSeparator.d.ts +2 -1
- package/types/src/Paginator/Paginator.d.ts +1 -1
- package/types/src/Paginator/docs/examples/Basic.d.ts +2 -1
- package/types/src/Paginator/docs/examples/Compact.d.ts +2 -1
- package/types/src/Paginator/docs/examples/CompactCustomLabel.d.ts +2 -1
- package/types/src/Paginator/docs/examples/CompactWithLabel.d.ts +2 -1
- package/types/src/Paginator/docs/examples/CustomPages.d.ts +2 -1
- package/types/src/Paginator/docs/examples/Labelled.d.ts +2 -1
- package/types/src/Paginator/docs/examples/PageControl.d.ts +2 -1
- package/types/src/Paragraph/Paragraph.d.ts +3 -1
- package/types/src/Paragraph/docs/examples/Basic.d.ts +2 -1
- package/types/src/Paragraph/index.d.ts +1 -0
- package/types/src/Popover/Popover.d.ts +38 -69
- package/types/src/Popover/PopoverProvider.d.ts +1 -1
- package/types/src/Popover/docs/examples/Basic.d.ts +2 -1
- package/types/src/Popover/getPlacement.d.ts +1 -1
- package/types/src/Progress/Progress.d.ts +3 -4
- package/types/src/Progress/docs/examples/Basic.d.ts +2 -1
- package/types/src/Progress/docs/examples/Type.d.ts +2 -1
- package/types/src/Prose/Prose.d.ts +29 -0
- package/types/src/Prose/docs/examples/Basic.d.ts +3 -0
- package/types/src/Prose/docs/examples/Customize.d.ts +3 -0
- package/types/src/Prose/index.d.ts +2 -0
- package/types/src/Prose/test/Prose.unit.d.ts +1 -0
- package/types/src/RadioBar/Option.d.ts +2 -18
- package/types/src/RadioBar/RadioBar.d.ts +22 -39
- package/types/src/RadioBar/RadioBarContext.d.ts +0 -1
- package/types/src/RadioBar/docs/examples/AdornmentAriaExamples.d.ts +2 -1
- package/types/src/RadioBar/docs/examples/Basic.d.ts +2 -1
- package/types/src/RadioBar/docs/examples/Disabled.d.ts +2 -1
- package/types/src/RadioBar/docs/examples/Error.d.ts +2 -1
- package/types/src/RadioBar/docs/examples/MenuBar.d.ts +2 -1
- package/types/src/RadioBar/docs/examples/Uncontrolled.d.ts +2 -1
- package/types/src/RadioList/Option.d.ts +1 -1
- package/types/src/RadioList/RadioList.d.ts +5 -2
- package/types/src/RadioList/docs/examples/Basic.d.ts +2 -1
- package/types/src/RadioList/docs/examples/Disabled.d.ts +2 -1
- package/types/src/RadioList/docs/examples/Error.d.ts +2 -1
- package/types/src/RadioList/docs/examples/Row.d.ts +2 -1
- package/types/src/RadioList/docs/examples/Uncontrolled.d.ts +2 -1
- package/types/src/Resize/Resize.d.ts +15 -23
- package/types/src/Resize/docs/examples/Appearance.d.ts +2 -1
- package/types/src/Resize/docs/examples/Basic.d.ts +2 -1
- package/types/src/Resize/docs/examples/Percentage.d.ts +2 -1
- package/types/src/Resize/docs/examples/SizingInner.d.ts +2 -1
- package/types/src/Resize/docs/examples/SizingOuter.d.ts +2 -1
- package/types/src/ResultsMenu/ResultsMenu.d.ts +1 -1
- package/types/src/ResultsMenu/VirtualizedResultsMenu/VirtualizedResultsMenu.d.ts +1 -1
- package/types/src/ScreenReaderContent/ScreenReaderContent.d.ts +1 -1
- package/types/src/ScreenReaderContent/docs/examples/Basic.d.ts +2 -1
- package/types/src/Scroll/Inner.d.ts +1 -1
- package/types/src/Scroll/Scroll.d.ts +37 -27
- package/types/src/Scroll/docs/examples/Controlled.d.ts +2 -2
- package/types/src/Scroll/docs/examples/Uncontrolled.d.ts +2 -1
- package/types/src/ScrollContainerContext/docs/examples/Consumer.d.ts +2 -1
- package/types/src/ScrollContainerContext/docs/examples/Provider.d.ts +2 -1
- package/types/src/Search/Option.d.ts +32 -32
- package/types/src/Search/Search.d.ts +4 -4
- package/types/src/Search/docs/examples/Controlled.d.ts +2 -1
- package/types/src/Search/docs/examples/Loading.d.ts +2 -1
- package/types/src/Search/docs/examples/Options.d.ts +2 -1
- package/types/src/Search/docs/examples/OptionsLinks.d.ts +2 -1
- package/types/src/Search/docs/examples/Results.d.ts +2 -1
- package/types/src/Select/Option.d.ts +8 -21
- package/types/src/Select/OptionBase.d.ts +3 -8
- package/types/src/Select/Select.d.ts +62 -22
- package/types/src/Select/SelectAllOption.d.ts +1 -1
- package/types/src/Select/SelectBase.d.ts +4 -7
- package/types/src/Select/docs/examples/Appearance.d.ts +2 -1
- package/types/src/Select/docs/examples/Basic.d.ts +2 -1
- package/types/src/Select/docs/examples/Children.d.ts +2 -1
- package/types/src/Select/docs/examples/Descriptions.d.ts +2 -1
- package/types/src/Select/docs/examples/Error.d.ts +2 -1
- package/types/src/Select/docs/examples/Fetching.d.ts +2 -1
- package/types/src/Select/docs/examples/Filter.d.ts +2 -1
- package/types/src/Select/docs/examples/Headings.d.ts +2 -1
- package/types/src/Select/docs/examples/Icons.d.ts +2 -1
- package/types/src/Select/docs/examples/LoadMoreOnScrollBottom.d.ts +2 -1
- package/types/src/Select/docs/examples/Prefix.d.ts +2 -1
- package/types/src/Select/docs/examples/Truncate.d.ts +2 -1
- package/types/src/Select/docs/examples/Uncontrolled.d.ts +2 -1
- package/types/src/SidePanel/SidePanel.d.ts +18 -16
- package/types/src/SidePanel/docs/examples/Basic.d.ts +2 -1
- package/types/src/SidePanel/docs/examples/ChangeSize.d.ts +2 -1
- package/types/src/SidePanel/docs/examples/Composition.d.ts +2 -1
- package/types/src/Slider/Slider.d.ts +32 -46
- package/types/src/Slider/docs/examples/Basic.d.ts +2 -1
- package/types/src/Slider/docs/examples/Controlled.d.ts +2 -2
- package/types/src/Slider/docs/examples/CustomLabels.d.ts +2 -2
- package/types/src/Slider/docs/examples/Disabled.d.ts +2 -1
- package/types/src/Slider/docs/examples/Error.d.ts +2 -1
- package/types/src/Slider/docs/examples/StepMarks.d.ts +2 -1
- package/types/src/SlidingPanels/Panel.d.ts +23 -20
- package/types/src/SlidingPanels/SlidingPanels.d.ts +18 -25
- package/types/src/SlidingPanels/docs/examples/Basic.d.ts +2 -2
- package/types/src/SlidingPanels/docs/examples/Dropdown.d.ts +2 -2
- package/types/src/SlidingPanels/docs/examples/Modal.d.ts +2 -1
- package/types/src/SplitButton/Item.d.ts +2 -2
- package/types/src/SplitButton/SplitButton.d.ts +1 -1
- package/types/src/SplitButton/docs/examples/Basic.d.ts +2 -1
- package/types/src/SplitButton/docs/examples/Block.d.ts +2 -1
- package/types/src/SplitButton/docs/examples/ChangeLabel.d.ts +2 -1
- package/types/src/SplitButton/docs/examples/Disabled.d.ts +2 -1
- package/types/src/StaticContent/StaticContent.d.ts +1 -8
- package/types/src/StaticContent/docs/examples/Basic.d.ts +2 -1
- package/types/src/StaticContent/docs/examples/FieldValue.d.ts +2 -1
- package/types/src/StepBar/Step.d.ts +1 -1
- package/types/src/StepBar/StepBar.d.ts +2 -3
- package/types/src/StepBar/docs/examples/Basic.d.ts +2 -1
- package/types/src/StepBar/docs/examples/Error.d.ts +2 -1
- package/types/src/StepBar/types.d.ts +2 -0
- package/types/src/Switch/Switch.d.ts +37 -23
- package/types/src/Switch/docs/examples/Basic.d.ts +2 -2
- package/types/src/Switch/docs/examples/Disabled.d.ts +2 -2
- package/types/src/Switch/docs/examples/Error.d.ts +2 -1
- package/types/src/TabBar/Tab.d.ts +37 -44
- package/types/src/TabBar/TabBar.d.ts +21 -22
- package/types/src/TabBar/TabBarContext.d.ts +3 -5
- package/types/src/TabBar/docs/examples/Basic.d.ts +2 -1
- package/types/src/TabBar/docs/examples/Disabled.d.ts +2 -1
- package/types/src/TabBar/docs/examples/IconsAbove.d.ts +2 -1
- package/types/src/TabBar/docs/examples/IconsLeft.d.ts +2 -1
- package/types/src/TabBar/docs/examples/Tooltips.d.ts +2 -1
- package/types/src/TabBar/docs/examples/Vertical.d.ts +2 -1
- package/types/src/TabBar/docs/examples/VerticalIconsAbove.d.ts +2 -1
- package/types/src/TabBar/docs/examples/VerticalIconsLeft.d.ts +2 -1
- package/types/src/TabBar/docs/examples/WithCount.d.ts +2 -1
- package/types/src/TabLayout/Panel.d.ts +6 -1
- package/types/src/TabLayout/TabLayout.d.ts +18 -31
- package/types/src/TabLayout/docs/examples/AutoActivate.d.ts +2 -1
- package/types/src/TabLayout/docs/examples/Controlled.d.ts +2 -1
- package/types/src/TabLayout/docs/examples/Icons.d.ts +2 -1
- package/types/src/TabLayout/docs/examples/Uncontrolled.d.ts +2 -1
- package/types/src/TabLayout/docs/examples/Vertical.d.ts +2 -1
- package/types/src/TabLayout/docs/examples/VerticalIcons.d.ts +2 -1
- package/types/src/Table/Body.d.ts +6 -13
- package/types/src/Table/Caption.d.ts +1 -1
- package/types/src/Table/Cell.d.ts +40 -18
- package/types/src/Table/ExpandButton.d.ts +9 -3
- package/types/src/Table/Head.d.ts +40 -40
- package/types/src/Table/HeadCell.d.ts +49 -23
- package/types/src/Table/HeadDropdownCell.d.ts +58 -51
- package/types/src/Table/HeadInner.d.ts +1 -3
- package/types/src/Table/HeadTable.d.ts +23 -12
- package/types/src/Table/Row.d.ts +7 -14
- package/types/src/Table/RowDragCell.d.ts +2 -1
- package/types/src/Table/Table.d.ts +13 -19
- package/types/src/Table/Toggle.d.ts +1 -3
- package/types/src/Table/docs/examples/Basic.d.ts +2 -1
- package/types/src/Table/docs/examples/Click.d.ts +2 -1
- package/types/src/Table/docs/examples/ClickRows.d.ts +2 -1
- package/types/src/Table/docs/examples/Complex.d.ts +2 -1
- package/types/src/Table/docs/examples/DockedHeaderScrollbar.d.ts +2 -1
- package/types/src/Table/docs/examples/ExpandableRows.d.ts +2 -1
- package/types/src/Table/docs/examples/ExpandableRowsControlled.d.ts +2 -1
- package/types/src/Table/docs/examples/FilterColumnValues.d.ts +2 -1
- package/types/src/Table/docs/examples/FixedHeader.d.ts +2 -1
- package/types/src/Table/docs/examples/HeadDropdownCell.d.ts +2 -1
- package/types/src/Table/docs/examples/ReorderColumns.d.ts +2 -1
- package/types/src/Table/docs/examples/ReorderRows.d.ts +2 -1
- package/types/src/Table/docs/examples/Resizable.d.ts +2 -1
- package/types/src/Table/docs/examples/ResizableFill.d.ts +2 -1
- package/types/src/Table/docs/examples/RowActions.d.ts +2 -1
- package/types/src/Table/docs/examples/Selectable.d.ts +2 -1
- package/types/src/Table/docs/examples/SortableColumns.d.ts +2 -1
- package/types/src/Table/docs/examples/StripeRows.d.ts +2 -1
- package/types/src/Table/docs/examples/prisma/DockedHeaderScrollbar.d.ts +2 -1
- package/types/src/Text/IconOutlinedHide.d.ts +2 -1
- package/types/src/Text/IconOutlinedView.d.ts +2 -1
- package/types/src/Text/Text.d.ts +62 -112
- package/types/src/Text/docs/examples/Basic.d.ts +2 -1
- package/types/src/Text/docs/examples/CustomizedIcon.d.ts +2 -1
- package/types/src/Text/docs/examples/Dimmed.d.ts +2 -1
- package/types/src/Text/docs/examples/Disabled.d.ts +2 -1
- package/types/src/Text/docs/examples/Error.d.ts +2 -1
- package/types/src/Text/docs/examples/Inline.d.ts +2 -1
- package/types/src/Text/docs/examples/Password.d.ts +2 -1
- package/types/src/Text/docs/examples/Uncontrolled.d.ts +2 -1
- package/types/src/TextArea/TextArea.d.ts +49 -87
- package/types/src/TextArea/docs/examples/Basic.d.ts +2 -1
- package/types/src/TextArea/docs/examples/Disabled.d.ts +2 -1
- package/types/src/TextArea/docs/examples/Error.d.ts +2 -1
- package/types/src/TextArea/docs/examples/Inline.d.ts +2 -1
- package/types/src/TextArea/docs/examples/Uncontrolled.d.ts +2 -1
- package/types/src/TextArea/syncHeightWithShadow.d.ts +1 -1
- package/types/src/Tooltip/InfoIcon.d.ts +2 -1
- package/types/src/Tooltip/Tooltip.d.ts +9 -3
- package/types/src/Tooltip/docs/examples/Basic.d.ts +2 -1
- package/types/src/Tooltip/docs/examples/ContentRelationship.d.ts +2 -1
- package/types/src/Tooltip/docs/examples/Controlled.d.ts +2 -2
- package/types/src/Tooltip/docs/examples/CustomDelay.d.ts +2 -1
- package/types/src/Tooltip/docs/examples/CustomProps.d.ts +2 -1
- package/types/src/Tooltip/docs/examples/Toggletip.d.ts +2 -1
- package/types/src/TransitionOpen/TransitionOpen.d.ts +23 -25
- package/types/src/TransitionOpen/docs/examples/ExpandHeight.d.ts +2 -1
- package/types/src/TransitionOpen/docs/examples/ExpandWidth.d.ts +2 -1
- package/types/src/TransitionOpen/docs/examples/None.d.ts +2 -1
- package/types/src/TransitionOpen/docs/examples/SlideFromBottom.d.ts +2 -1
- package/types/src/TransitionOpen/docs/examples/SlideFromLeft.d.ts +2 -1
- package/types/src/TransitionOpen/docs/examples/SlideFromRight.d.ts +2 -1
- package/types/src/TransitionOpen/docs/examples/SlideFromTop.d.ts +2 -1
- package/types/src/Tree/Tree.d.ts +1 -1
- package/types/src/Tree/TreeItem.d.ts +1 -1
- package/types/src/Typography/Typography.d.ts +10 -19
- package/types/src/Typography/docs/examples/Basic.d.ts +2 -1
- package/types/src/WaitSpinner/WaitSpinner.d.ts +2 -3
- package/types/src/WaitSpinner/docs/examples/Basic.d.ts +2 -1
- package/types/src/utils/types.d.ts +1 -0
- package/Concertina.d.ts +0 -2
- package/Concertina.js +0 -963
- package/types/src/Accordion/docs/examples/FixedHeight.d.ts +0 -2
- package/types/src/Accordion/docs/examples/InDropdown.d.ts +0 -2
- package/types/src/Button/docs/examples/Dimmed.d.ts +0 -2
- package/types/src/Button/icons/CaretSmallDown.d.ts +0 -2
- package/types/src/Button/icons/External.d.ts +0 -2
- package/types/src/Clickable/docs/examples/Dimmed.d.ts +0 -2
- package/types/src/CloseButton/CloseButton.d.ts +0 -21
- package/types/src/CloseButton/index.d.ts +0 -1
- package/types/src/CollapsiblePanel/docs/examples/TitleWithActions.d.ts +0 -2
- package/types/src/Concertina/Concertina.d.ts +0 -46
- package/types/src/Concertina/ConcertinaContext.d.ts +0 -8
- package/types/src/Concertina/Heading.d.ts +0 -35
- package/types/src/Concertina/Panel.d.ts +0 -59
- package/types/src/Concertina/docs/examples/Basic.d.ts +0 -2
- package/types/src/Concertina/docs/examples/Disabled.d.ts +0 -9
- package/types/src/Concertina/docs/examples/Status.d.ts +0 -2
- package/types/src/Concertina/index.d.ts +0 -2
- package/types/src/Concertina/types.d.ts +0 -1
- package/types/src/ControlGroup/docs/examples/LabelTop.d.ts +0 -2
- package/types/src/Link/docs/examples/Inline.d.ts +0 -2
- package/types/src/Message/Link.d.ts +0 -37
- package/types/src/Number/IncrementIcon.d.ts +0 -2
- package/types/src/Paginator/icons/ChevronLeft.d.ts +0 -5
- package/types/src/Paginator/icons/ChevronRight.d.ts +0 -5
- package/types/src/RadioList/docs/examples/Composing.d.ts +0 -2
- package/types/src/Select/icons/CaretSmallDown.d.ts +0 -2
- package/types/src/Select/icons/Search.d.ts +0 -2
- package/types/src/Switch/CheckIcon.d.ts +0 -1
- package/types/src/Table/DragHandle.d.ts +0 -12
- package/types/src/Table/icons/HeadExpandRows.d.ts +0 -1
- package/types/src/Text/docs/examples/Multiline.d.ts +0 -2
- package/types/src/Text/docs/examples/Search.d.ts +0 -2
- package/types/src/TextArea/docs/examples/ClearContent.d.ts +0 -2
- package/types/src/TextArea/icons/ClearButton.d.ts +0 -3
- package/types/src/TextArea/icons/SearchIcon.d.ts +0 -1
package/ComboBox.js
CHANGED
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
e.d(t, {
|
|
64
64
|
Divider: () => /* reexport */ S.Divider,
|
|
65
65
|
Heading: () => /* reexport */ S.Heading,
|
|
66
|
-
Option: () => /* reexport */
|
|
67
|
-
default: () => /* reexport */
|
|
66
|
+
Option: () => /* reexport */ J,
|
|
67
|
+
default: () => /* reexport */ Oe
|
|
68
68
|
});
|
|
69
69
|
// CONCATENATED MODULE: external "react"
|
|
70
70
|
const n = require("react");
|
|
@@ -101,14 +101,32 @@
|
|
|
101
101
|
// CONCATENATED MODULE: external "@splunk/react-ui/Menu"
|
|
102
102
|
const S = require("@splunk/react-ui/Menu");
|
|
103
103
|
// CONCATENATED MODULE: external "@splunk/react-ui/Popover"
|
|
104
|
-
const
|
|
105
|
-
var
|
|
104
|
+
const P = require("@splunk/react-ui/Popover");
|
|
105
|
+
var j = e.n(P);
|
|
106
106
|
// CONCATENATED MODULE: external "@splunk/react-ui/ResultsMenu"
|
|
107
|
-
const
|
|
108
|
-
var C = e.n(
|
|
107
|
+
const I = require("@splunk/react-ui/ResultsMenu");
|
|
108
|
+
var C = e.n(I);
|
|
109
109
|
// CONCATENATED MODULE: external "@splunk/react-ui/Text"
|
|
110
110
|
const k = require("@splunk/react-ui/Text");
|
|
111
111
|
var x = e.n(k);
|
|
112
|
+
// CONCATENATED MODULE: ./src/utils/scrollIntoViewIfNeeded.ts
|
|
113
|
+
// A utility that attempts to move an element into view by scrolling it's derived parent.
|
|
114
|
+
var R = function e(t) {
|
|
115
|
+
if (!t) {
|
|
116
|
+
return;
|
|
117
|
+
}
|
|
118
|
+
var n = t.offsetParent;
|
|
119
|
+
if (!n) {
|
|
120
|
+
return;
|
|
121
|
+
}
|
|
122
|
+
// Below the bottom of the container.
|
|
123
|
+
if (n.scrollTop + n.clientHeight < t.offsetTop + t.clientHeight) {
|
|
124
|
+
n.scrollTop = t.offsetTop + t.clientHeight - n.clientHeight;
|
|
125
|
+
// Above the top of the container.
|
|
126
|
+
} else if (n.scrollTop > t.offsetTop) {
|
|
127
|
+
n.scrollTop = t.offsetTop;
|
|
128
|
+
}
|
|
129
|
+
};
|
|
112
130
|
// CONCATENATED MODULE: ./src/ComboBox/Option.tsx
|
|
113
131
|
function E(e) {
|
|
114
132
|
"@babel/helpers - typeof";
|
|
@@ -131,7 +149,7 @@
|
|
|
131
149
|
}
|
|
132
150
|
function V(e, t) {
|
|
133
151
|
if (null == e) return {};
|
|
134
|
-
var n, o, r =
|
|
152
|
+
var n, o, r = T(e, t);
|
|
135
153
|
if (Object.getOwnPropertySymbols) {
|
|
136
154
|
var i = Object.getOwnPropertySymbols(e);
|
|
137
155
|
for (o = 0; o < i.length; o++) {
|
|
@@ -140,7 +158,7 @@
|
|
|
140
158
|
}
|
|
141
159
|
return r;
|
|
142
160
|
}
|
|
143
|
-
function
|
|
161
|
+
function T(e, t) {
|
|
144
162
|
if (null == e) return {};
|
|
145
163
|
var n = {};
|
|
146
164
|
for (var o in e) {
|
|
@@ -158,7 +176,7 @@
|
|
|
158
176
|
for (var n = 0; n < t.length; n++) {
|
|
159
177
|
var o = t[n];
|
|
160
178
|
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0),
|
|
161
|
-
Object.defineProperty(e,
|
|
179
|
+
Object.defineProperty(e, W(o.key), o);
|
|
162
180
|
}
|
|
163
181
|
}
|
|
164
182
|
function _(e, t, n) {
|
|
@@ -176,15 +194,15 @@
|
|
|
176
194
|
}
|
|
177
195
|
}), Object.defineProperty(e, "prototype", {
|
|
178
196
|
writable: !1
|
|
179
|
-
}), t &&
|
|
197
|
+
}), t && A(e, t);
|
|
180
198
|
}
|
|
181
|
-
function
|
|
182
|
-
return
|
|
199
|
+
function A(e, t) {
|
|
200
|
+
return A = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
|
|
183
201
|
return e.__proto__ = t, e;
|
|
184
|
-
},
|
|
202
|
+
}, A(e, t);
|
|
185
203
|
}
|
|
186
|
-
function
|
|
187
|
-
var t =
|
|
204
|
+
function H(e) {
|
|
205
|
+
var t = K();
|
|
188
206
|
return function() {
|
|
189
207
|
var n, o = N(e);
|
|
190
208
|
if (t) {
|
|
@@ -203,11 +221,11 @@
|
|
|
203
221
|
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
204
222
|
return e;
|
|
205
223
|
}
|
|
206
|
-
function
|
|
224
|
+
function K() {
|
|
207
225
|
try {
|
|
208
226
|
var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], (function() {})));
|
|
209
227
|
} catch (e) {}
|
|
210
|
-
return (
|
|
228
|
+
return (K = function t() {
|
|
211
229
|
return !!e;
|
|
212
230
|
})();
|
|
213
231
|
}
|
|
@@ -217,18 +235,18 @@
|
|
|
217
235
|
}, N(e);
|
|
218
236
|
}
|
|
219
237
|
function z(e, t, n) {
|
|
220
|
-
return (t =
|
|
238
|
+
return (t = W(t)) in e ? Object.defineProperty(e, t, {
|
|
221
239
|
value: n,
|
|
222
240
|
enumerable: !0,
|
|
223
241
|
configurable: !0,
|
|
224
242
|
writable: !0
|
|
225
243
|
}) : e[t] = n, e;
|
|
226
244
|
}
|
|
227
|
-
function
|
|
228
|
-
var t =
|
|
245
|
+
function W(e) {
|
|
246
|
+
var t = U(e, "string");
|
|
229
247
|
return "symbol" == E(t) ? t : t + "";
|
|
230
248
|
}
|
|
231
|
-
function
|
|
249
|
+
function U(e, t) {
|
|
232
250
|
if ("object" != E(e) || !e) return e;
|
|
233
251
|
var n = e[Symbol.toPrimitive];
|
|
234
252
|
if (void 0 !== n) {
|
|
@@ -238,7 +256,7 @@
|
|
|
238
256
|
}
|
|
239
257
|
return ("string" === t ? String : Number)(e);
|
|
240
258
|
}
|
|
241
|
-
var
|
|
259
|
+
var X = {
|
|
242
260
|
/** @private */
|
|
243
261
|
active: i().bool,
|
|
244
262
|
description: i().string,
|
|
@@ -255,7 +273,7 @@
|
|
|
255
273
|
truncate: i().bool,
|
|
256
274
|
value: i().string.isRequired
|
|
257
275
|
};
|
|
258
|
-
var
|
|
276
|
+
var Y = {
|
|
259
277
|
active: false,
|
|
260
278
|
descriptionPosition: "bottom",
|
|
261
279
|
disabled: false,
|
|
@@ -265,17 +283,17 @@
|
|
|
265
283
|
* An option within a `ComboBox`. This inherits from
|
|
266
284
|
* [PureComponent](https://reactjs.org/docs/react-api.html#reactpurecomponent)
|
|
267
285
|
* so any elements passed to it must also be pure.
|
|
268
|
-
*/ var
|
|
286
|
+
*/ var G = function(e) {
|
|
269
287
|
B(n, e);
|
|
270
|
-
var t =
|
|
288
|
+
var t = H(n);
|
|
271
289
|
function n() {
|
|
272
290
|
var e;
|
|
273
291
|
D(this, n);
|
|
274
|
-
for (var
|
|
275
|
-
|
|
292
|
+
for (var r = arguments.length, i = new Array(r), a = 0; a < r; a++) {
|
|
293
|
+
i[a] = arguments[a];
|
|
276
294
|
}
|
|
277
|
-
e = t.call.apply(t, [ this ].concat(
|
|
278
|
-
z(F(e), "
|
|
295
|
+
e = t.call.apply(t, [ this ].concat(i));
|
|
296
|
+
z(F(e), "itemRef", o().createRef());
|
|
279
297
|
z(F(e), "handleClick", (function(t) {
|
|
280
298
|
var n = e.props, o = n.disabled, r = n.onClick, i = n.value;
|
|
281
299
|
if (!o) {
|
|
@@ -291,34 +309,30 @@
|
|
|
291
309
|
key: "scrollIntoViewIfNeeded",
|
|
292
310
|
// eslint-disable-next-line react/no-unused-class-component-methods
|
|
293
311
|
value: function e() {
|
|
294
|
-
|
|
295
|
-
(t = this.item) === null || t === void 0 ? void 0 : t.scrollIntoViewIfNeeded();
|
|
312
|
+
R(this.itemRef.current);
|
|
296
313
|
}
|
|
297
314
|
}, {
|
|
298
315
|
key: "render",
|
|
299
316
|
value: function e() {
|
|
300
|
-
var t = this;
|
|
301
317
|
// eslint-disable-next-line no-unused-vars
|
|
302
|
-
|
|
303
|
-
var
|
|
318
|
+
var t = this.props, n = t.value, r = t.label, i = V(t, [ "value", "label" ]);
|
|
319
|
+
var a = r === undefined ? n : r;
|
|
304
320
|
|
|
305
321
|
return o().createElement(S.Item, M({
|
|
306
|
-
|
|
307
|
-
t.item = n;
|
|
308
|
-
},
|
|
322
|
+
elementRef: this.itemRef,
|
|
309
323
|
"data-test": "option",
|
|
310
|
-
"data-test-value":
|
|
311
|
-
},
|
|
324
|
+
"data-test-value": n
|
|
325
|
+
}, i, {
|
|
312
326
|
onClick: this.handleClick,
|
|
313
327
|
role: "option"
|
|
314
|
-
}),
|
|
328
|
+
}), a);
|
|
315
329
|
}
|
|
316
330
|
} ]);
|
|
317
331
|
return n;
|
|
318
332
|
}(n.PureComponent);
|
|
319
|
-
z(
|
|
320
|
-
z(
|
|
321
|
-
/* harmony default export */ const
|
|
333
|
+
z(G, "propTypes", X);
|
|
334
|
+
z(G, "defaultProps", Y);
|
|
335
|
+
/* harmony default export */ const J = G;
|
|
322
336
|
// CONCATENATED MODULE: ./src/utils/updateReactRef.ts
|
|
323
337
|
/**
|
|
324
338
|
* Updates a React ref. Callback refs and object refs (from `createRef` and `useRef`) are supported.
|
|
@@ -326,7 +340,7 @@
|
|
|
326
340
|
* @param ref - The React callback or object ref. Can be `null` or `undefined`.
|
|
327
341
|
* @param current - The new value of the ref.
|
|
328
342
|
*/
|
|
329
|
-
function
|
|
343
|
+
function Q(e, t) {
|
|
330
344
|
if (e) {
|
|
331
345
|
if (typeof e === "function") {
|
|
332
346
|
e(t);
|
|
@@ -339,16 +353,16 @@
|
|
|
339
353
|
}
|
|
340
354
|
}
|
|
341
355
|
// CONCATENATED MODULE: ./src/ComboBox/ComboBox.tsx
|
|
342
|
-
function
|
|
356
|
+
function Z(e) {
|
|
343
357
|
"@babel/helpers - typeof";
|
|
344
|
-
return
|
|
358
|
+
return Z = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
|
|
345
359
|
return typeof e;
|
|
346
360
|
} : function(e) {
|
|
347
361
|
return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
348
|
-
},
|
|
362
|
+
}, Z(e);
|
|
349
363
|
}
|
|
350
|
-
function
|
|
351
|
-
return
|
|
364
|
+
function $() {
|
|
365
|
+
return $ = Object.assign ? Object.assign.bind() : function(e) {
|
|
352
366
|
for (var t = 1; t < arguments.length; t++) {
|
|
353
367
|
var n = arguments[t];
|
|
354
368
|
for (var o in n) {
|
|
@@ -356,9 +370,9 @@
|
|
|
356
370
|
}
|
|
357
371
|
}
|
|
358
372
|
return e;
|
|
359
|
-
},
|
|
373
|
+
}, $.apply(null, arguments);
|
|
360
374
|
}
|
|
361
|
-
function
|
|
375
|
+
function ee(e, t) {
|
|
362
376
|
var n = Object.keys(e);
|
|
363
377
|
if (Object.getOwnPropertySymbols) {
|
|
364
378
|
var o = Object.getOwnPropertySymbols(e);
|
|
@@ -368,33 +382,33 @@
|
|
|
368
382
|
}
|
|
369
383
|
return n;
|
|
370
384
|
}
|
|
371
|
-
function
|
|
385
|
+
function te(e) {
|
|
372
386
|
for (var t = 1; t < arguments.length; t++) {
|
|
373
387
|
var n = null != arguments[t] ? arguments[t] : {};
|
|
374
|
-
t % 2 ?
|
|
375
|
-
|
|
376
|
-
})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
388
|
+
t % 2 ? ee(Object(n), !0).forEach((function(t) {
|
|
389
|
+
fe(e, t, n[t]);
|
|
390
|
+
})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ee(Object(n)).forEach((function(t) {
|
|
377
391
|
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
378
392
|
}));
|
|
379
393
|
}
|
|
380
394
|
return e;
|
|
381
395
|
}
|
|
382
|
-
function
|
|
396
|
+
function ne(e, t) {
|
|
383
397
|
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
384
398
|
}
|
|
385
|
-
function
|
|
399
|
+
function oe(e, t) {
|
|
386
400
|
for (var n = 0; n < t.length; n++) {
|
|
387
401
|
var o = t[n];
|
|
388
402
|
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0),
|
|
389
|
-
Object.defineProperty(e,
|
|
403
|
+
Object.defineProperty(e, de(o.key), o);
|
|
390
404
|
}
|
|
391
405
|
}
|
|
392
|
-
function
|
|
393
|
-
return t &&
|
|
406
|
+
function re(e, t, n) {
|
|
407
|
+
return t && oe(e.prototype, t), n && oe(e, n), Object.defineProperty(e, "prototype", {
|
|
394
408
|
writable: !1
|
|
395
409
|
}), e;
|
|
396
410
|
}
|
|
397
|
-
function
|
|
411
|
+
function ie(e, t) {
|
|
398
412
|
if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function");
|
|
399
413
|
e.prototype = Object.create(t && t.prototype, {
|
|
400
414
|
constructor: {
|
|
@@ -404,64 +418,64 @@
|
|
|
404
418
|
}
|
|
405
419
|
}), Object.defineProperty(e, "prototype", {
|
|
406
420
|
writable: !1
|
|
407
|
-
}), t &&
|
|
421
|
+
}), t && ae(e, t);
|
|
408
422
|
}
|
|
409
|
-
function
|
|
410
|
-
return
|
|
423
|
+
function ae(e, t) {
|
|
424
|
+
return ae = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
|
|
411
425
|
return e.__proto__ = t, e;
|
|
412
|
-
},
|
|
426
|
+
}, ae(e, t);
|
|
413
427
|
}
|
|
414
|
-
function
|
|
415
|
-
var t =
|
|
428
|
+
function le(e) {
|
|
429
|
+
var t = se();
|
|
416
430
|
return function() {
|
|
417
|
-
var n, o =
|
|
431
|
+
var n, o = pe(e);
|
|
418
432
|
if (t) {
|
|
419
|
-
var r =
|
|
433
|
+
var r = pe(this).constructor;
|
|
420
434
|
n = Reflect.construct(o, arguments, r);
|
|
421
435
|
} else n = o.apply(this, arguments);
|
|
422
|
-
return
|
|
436
|
+
return ue(this, n);
|
|
423
437
|
};
|
|
424
438
|
}
|
|
425
|
-
function
|
|
426
|
-
if (t && ("object" ==
|
|
439
|
+
function ue(e, t) {
|
|
440
|
+
if (t && ("object" == Z(t) || "function" == typeof t)) return t;
|
|
427
441
|
if (void 0 !== t) throw new TypeError("Derived constructors may only return object or undefined");
|
|
428
|
-
return
|
|
442
|
+
return ce(e);
|
|
429
443
|
}
|
|
430
|
-
function
|
|
444
|
+
function ce(e) {
|
|
431
445
|
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
432
446
|
return e;
|
|
433
447
|
}
|
|
434
|
-
function
|
|
448
|
+
function se() {
|
|
435
449
|
try {
|
|
436
450
|
var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], (function() {})));
|
|
437
451
|
} catch (e) {}
|
|
438
|
-
return (
|
|
452
|
+
return (se = function t() {
|
|
439
453
|
return !!e;
|
|
440
454
|
})();
|
|
441
455
|
}
|
|
442
|
-
function
|
|
443
|
-
return
|
|
456
|
+
function pe(e) {
|
|
457
|
+
return pe = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
|
|
444
458
|
return e.__proto__ || Object.getPrototypeOf(e);
|
|
445
|
-
},
|
|
459
|
+
}, pe(e);
|
|
446
460
|
}
|
|
447
|
-
function
|
|
448
|
-
return (t =
|
|
461
|
+
function fe(e, t, n) {
|
|
462
|
+
return (t = de(t)) in e ? Object.defineProperty(e, t, {
|
|
449
463
|
value: n,
|
|
450
464
|
enumerable: !0,
|
|
451
465
|
configurable: !0,
|
|
452
466
|
writable: !0
|
|
453
467
|
}) : e[t] = n, e;
|
|
454
468
|
}
|
|
455
|
-
function
|
|
456
|
-
var t =
|
|
457
|
-
return "symbol" ==
|
|
469
|
+
function de(e) {
|
|
470
|
+
var t = ve(e, "string");
|
|
471
|
+
return "symbol" == Z(t) ? t : t + "";
|
|
458
472
|
}
|
|
459
|
-
function
|
|
460
|
-
if ("object" !=
|
|
473
|
+
function ve(e, t) {
|
|
474
|
+
if ("object" != Z(e) || !e) return e;
|
|
461
475
|
var n = e[Symbol.toPrimitive];
|
|
462
476
|
if (void 0 !== n) {
|
|
463
477
|
var o = n.call(e, t || "default");
|
|
464
|
-
if ("object" !=
|
|
478
|
+
if ("object" != Z(o)) return o;
|
|
465
479
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
466
480
|
}
|
|
467
481
|
return ("string" === t ? String : Number)(e);
|
|
@@ -469,7 +483,7 @@
|
|
|
469
483
|
/** @public */
|
|
470
484
|
/** @public */
|
|
471
485
|
/** @public */
|
|
472
|
-
/** @public */ var
|
|
486
|
+
/** @public */ var be = {
|
|
473
487
|
animateLoading: i().bool,
|
|
474
488
|
append: i().bool,
|
|
475
489
|
children: i().node,
|
|
@@ -501,12 +515,11 @@
|
|
|
501
515
|
onSelect: i().func,
|
|
502
516
|
placeholder: i().string,
|
|
503
517
|
prepend: i().bool,
|
|
504
|
-
size: i().oneOf([ "small", "medium", "large" ]),
|
|
505
518
|
value: i().string,
|
|
506
519
|
/** @private. */
|
|
507
520
|
virtualization: i().number
|
|
508
521
|
};
|
|
509
|
-
var
|
|
522
|
+
var he = {
|
|
510
523
|
animateLoading: false,
|
|
511
524
|
controlledFilter: false,
|
|
512
525
|
defaultPlacement: "vertical",
|
|
@@ -517,12 +530,12 @@
|
|
|
517
530
|
menuStyle: {},
|
|
518
531
|
placeholder: (0, O._)("Select...")
|
|
519
532
|
};
|
|
520
|
-
function
|
|
533
|
+
function ye(e, t) {
|
|
521
534
|
var n = t.clientX, o = t.clientY;
|
|
522
535
|
var r = e.getBoundingClientRect(), i = r.top, a = r.left, l = r.bottom, u = r.right;
|
|
523
536
|
return n > a && n < u && o > i && o < l;
|
|
524
537
|
}
|
|
525
|
-
var
|
|
538
|
+
var me = p()((function(e) {
|
|
526
539
|
var t = e.anchorWidth, n = e.maxHeight, o = e.menuStyle;
|
|
527
540
|
return l()({
|
|
528
541
|
maxHeight: n,
|
|
@@ -533,43 +546,43 @@
|
|
|
533
546
|
/**
|
|
534
547
|
* `ComboBox` allows the user to select a predefined string or enter a new value. Unlike `Select`
|
|
535
548
|
* and `Multiselect`, `Option` value must always be a string.
|
|
536
|
-
*/ var
|
|
537
|
-
|
|
538
|
-
var t =
|
|
549
|
+
*/ var ge = function(e) {
|
|
550
|
+
ie(r, e);
|
|
551
|
+
var t = le(r);
|
|
539
552
|
// @docs-props-type ComboBoxPropsBase
|
|
540
553
|
function r(e) {
|
|
541
554
|
var i;
|
|
542
|
-
|
|
555
|
+
ne(this, r);
|
|
543
556
|
i = t.call(this, e);
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
557
|
+
fe(ce(i), "activeItemId", void 0);
|
|
558
|
+
fe(ce(i), "activeValue", void 0);
|
|
559
|
+
fe(ce(i), "availableOptionCount", 0);
|
|
560
|
+
fe(ce(i), "controlledExternally", void 0);
|
|
561
|
+
fe(ce(i), "options", void 0);
|
|
562
|
+
fe(ce(i), "popoverId", void 0);
|
|
563
|
+
fe(ce(i), "previousActiveIndex", null);
|
|
564
|
+
fe(ce(i), "textInput", null);
|
|
565
|
+
fe(ce(i), "handleInputMount", (function(e) {
|
|
553
566
|
i.textInput = e;
|
|
554
|
-
|
|
567
|
+
Q(i.props.inputRef, e);
|
|
555
568
|
}));
|
|
556
|
-
|
|
569
|
+
fe(ce(i), "handleAnchorMount", (function(e) {
|
|
557
570
|
i.setState({
|
|
558
571
|
anchor: e
|
|
559
572
|
});
|
|
560
|
-
|
|
573
|
+
Q(i.props.elementRef, e);
|
|
561
574
|
}));
|
|
562
|
-
|
|
575
|
+
fe(ce(i), "handleActiveOptionMount", (function(e) {
|
|
563
576
|
if (i.previousActiveIndex !== i.state.activeIndex) {
|
|
564
577
|
e === null || e === void 0 ? void 0 : e.scrollIntoViewIfNeeded();
|
|
565
578
|
}
|
|
566
579
|
}));
|
|
567
|
-
|
|
580
|
+
fe(ce(i), "handleInputFocus", (function(e, t) {
|
|
568
581
|
var n, o;
|
|
569
582
|
i.open();
|
|
570
583
|
(n = (o = i.props).onFocus) === null || n === void 0 ? void 0 : n.call(o, e, t);
|
|
571
584
|
}));
|
|
572
|
-
|
|
585
|
+
fe(ce(i), "handleChange", (function(e, t) {
|
|
573
586
|
var n, o;
|
|
574
587
|
var r = t.value, a = t.selectedOption;
|
|
575
588
|
e.stopPropagation();
|
|
@@ -592,14 +605,14 @@
|
|
|
592
605
|
name: l
|
|
593
606
|
});
|
|
594
607
|
}));
|
|
595
|
-
|
|
596
|
-
i.handleChange(e,
|
|
608
|
+
fe(ce(i), "handleSelectOption", (function(e, t) {
|
|
609
|
+
i.handleChange(e, te(te({}, t), {}, {
|
|
597
610
|
selectedOption: true
|
|
598
611
|
}));
|
|
599
612
|
i.focus();
|
|
600
613
|
i.close();
|
|
601
614
|
}));
|
|
602
|
-
|
|
615
|
+
fe(ce(i), "handleInputKeyDown", (function(e) {
|
|
603
616
|
var t = i.props, o = t.children, r = t.onKeyDown, a = t.onScrollBottom;
|
|
604
617
|
var l = i.availableOptionCount;
|
|
605
618
|
var u = i.activeValue;
|
|
@@ -652,26 +665,26 @@
|
|
|
652
665
|
}
|
|
653
666
|
r === null || r === void 0 ? void 0 : r(e);
|
|
654
667
|
}));
|
|
655
|
-
|
|
668
|
+
fe(ce(i), "handleInputClick", (function(e) {
|
|
656
669
|
e.stopPropagation();
|
|
657
670
|
if (!i.state.open && !i.props.disabled) {
|
|
658
671
|
i.open();
|
|
659
672
|
}
|
|
660
673
|
}));
|
|
661
|
-
|
|
674
|
+
fe(ce(i), "handleRequestClose", (function(e) {
|
|
662
675
|
var t = e.event, n = e.reason;
|
|
663
|
-
var o = n === "offScreen" || n === "escapeKey" || n === "clickAway" && i.state.anchor && !
|
|
676
|
+
var o = n === "offScreen" || n === "escapeKey" || n === "clickAway" && i.state.anchor && !ye(i.state.anchor, t);
|
|
664
677
|
if (o) {
|
|
665
678
|
i.close();
|
|
666
679
|
}
|
|
667
680
|
}));
|
|
668
|
-
|
|
681
|
+
fe(ce(i), "handleScrollBottom", (function(e) {
|
|
669
682
|
if (i.state.open && !i.props.isLoadingOptions) {
|
|
670
683
|
var t, n;
|
|
671
684
|
(t = (n = i.props).onScrollBottom) === null || t === void 0 ? void 0 : t.call(n, e);
|
|
672
685
|
}
|
|
673
686
|
}));
|
|
674
|
-
|
|
687
|
+
fe(ce(i), "prepareOptions", (function() {
|
|
675
688
|
var e = i.props, t = e.children, r = e.controlledFilter;
|
|
676
689
|
var a = i.state, l = a.activeIndex, u = a.typedValue;
|
|
677
690
|
var s = i.getValue();
|
|
@@ -689,7 +702,7 @@
|
|
|
689
702
|
return e.props.value === s;
|
|
690
703
|
}));
|
|
691
704
|
if (!f && s) {
|
|
692
|
-
p.unshift( o().createElement(
|
|
705
|
+
p.unshift( o().createElement(J, {
|
|
693
706
|
description: (0, O._)("(New value)"),
|
|
694
707
|
descriptionPosition: "right",
|
|
695
708
|
key: "currentValueOption",
|
|
@@ -740,15 +753,15 @@
|
|
|
740
753
|
});
|
|
741
754
|
}));
|
|
742
755
|
}));
|
|
743
|
-
|
|
756
|
+
fe(ce(i), "renderMenu", (function(e) {
|
|
744
757
|
var t = e.anchorWidth, n = e.maxHeight;
|
|
745
758
|
var r = i.props, a = r.isLoadingOptions, l = r.menuStyle, u = r.onScrollBottom, c = r.virtualization;
|
|
746
|
-
var s =
|
|
759
|
+
var s = me({
|
|
747
760
|
anchorWidth: t,
|
|
748
761
|
maxHeight: n,
|
|
749
762
|
menuStyle: l
|
|
750
763
|
});
|
|
751
|
-
var p =
|
|
764
|
+
var p = te({
|
|
752
765
|
style: s,
|
|
753
766
|
controlledExternally: true,
|
|
754
767
|
onScrollBottom: u ? i.handleScrollBottom : undefined,
|
|
@@ -756,7 +769,7 @@
|
|
|
756
769
|
}, b()(i.props, "className", "noOptionsMessage", "footerMessage", "animateLoading", "loadingMessage", "onScroll"));
|
|
757
770
|
if (c) {
|
|
758
771
|
|
|
759
|
-
return o().createElement(
|
|
772
|
+
return o().createElement(I.VirtualizedResultsMenu, $({
|
|
760
773
|
virtualization: c
|
|
761
774
|
}, p), i.options);
|
|
762
775
|
}
|
|
@@ -775,10 +788,9 @@
|
|
|
775
788
|
i.activeItemId = (0, g.createDOMID)("active-item");
|
|
776
789
|
if (false) {}
|
|
777
790
|
if (false) {}
|
|
778
|
-
if (false) {}
|
|
779
791
|
return i;
|
|
780
792
|
}
|
|
781
|
-
|
|
793
|
+
re(r, [ {
|
|
782
794
|
key: "componentDidUpdate",
|
|
783
795
|
value: function e(t, n) {
|
|
784
796
|
if (false) {}
|
|
@@ -849,7 +861,7 @@
|
|
|
849
861
|
var c = this.getDisplayValue();
|
|
850
862
|
this.prepareOptions();
|
|
851
863
|
|
|
852
|
-
return o().createElement(x(),
|
|
864
|
+
return o().createElement(x(), $({
|
|
853
865
|
autoCapitalize: "off",
|
|
854
866
|
autoComplete: "off",
|
|
855
867
|
autoCorrect: "off",
|
|
@@ -862,7 +874,7 @@
|
|
|
862
874
|
"data-test-value": u,
|
|
863
875
|
"data-test-open": l && !!a,
|
|
864
876
|
onFocus: this.handleInputFocus,
|
|
865
|
-
|
|
877
|
+
onClick: this.handleInputClick,
|
|
866
878
|
onChange: this.handleChange,
|
|
867
879
|
onKeyDown: this.handleInputKeyDown,
|
|
868
880
|
inputId: r,
|
|
@@ -873,7 +885,7 @@
|
|
|
873
885
|
"aria-activedescendant": this.state.open && Array.isArray(this.options) && this.options.length > 0 ? this.activeItemId : undefined,
|
|
874
886
|
"aria-expanded": l,
|
|
875
887
|
"aria-controls": l ? this.popoverId : undefined
|
|
876
|
-
}), o().createElement(
|
|
888
|
+
}), o().createElement(j(), {
|
|
877
889
|
anchor: a,
|
|
878
890
|
autoCloseWhenOffScreen: true,
|
|
879
891
|
canCoverAnchor: false,
|
|
@@ -887,12 +899,12 @@
|
|
|
887
899
|
} ]);
|
|
888
900
|
return r;
|
|
889
901
|
}(n.Component);
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
/* harmony default export */ const
|
|
902
|
+
fe(ge, "propTypes", be);
|
|
903
|
+
fe(ge, "defaultProps", he);
|
|
904
|
+
fe(ge, "Option", J);
|
|
905
|
+
fe(ge, "Divider", S.Divider);
|
|
906
|
+
fe(ge, "Heading", S.Heading);
|
|
907
|
+
/* harmony default export */ const Oe = ge;
|
|
896
908
|
// CONCATENATED MODULE: ./src/ComboBox/index.ts
|
|
897
909
|
module.exports = t;
|
|
898
910
|
/******/})();
|