@splunk/react-ui 4.7.0 → 4.10.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/Accordion.js +4 -4
- package/Anchor.js +2 -2
- package/Animation.js +2 -2
- package/AnimationToggle.js +2 -2
- package/Box.js +2 -2
- package/Button.js +7 -31
- package/ButtonGroup.js +6 -27
- package/ButtonSimple.js +2 -2
- package/CHANGELOG.md +31 -0
- package/Calendar.js +2 -2
- package/Card.js +24 -50
- package/CardLayout.js +14 -35
- package/Chip.js +2 -2
- package/Clickable.js +3 -2
- package/CloseButton.js +2 -2
- package/Code.js +8 -5
- package/CollapsiblePanel.js +2 -2
- package/Color.js +4 -4
- package/ColumnLayout.js +2 -2
- package/ComboBox.js +2 -2
- package/Concertina.js +2 -2
- package/ControlGroup.js +10 -10
- package/Date.js +4 -4
- package/DefinitionList.js +2 -2
- package/Dropdown.js +2 -2
- package/EventListener.js +4 -4
- package/FetchOptions.js +8 -8
- package/File.js +7 -7
- package/FormRows.js +9 -9
- package/Heading.js +2 -2
- package/Image.js +6 -6
- package/JSONTree.js +38 -20
- package/Layer.js +6 -6
- package/Link.js +4 -4
- package/List.js +2 -2
- package/Markdown.js +62 -30
- package/Menu.js +14 -14
- package/Message.js +16 -16
- package/MessageBar.js +14 -14
- package/Modal.js +4 -4
- package/ModalLayer.js +16 -7
- package/Monogram.js +2 -2
- package/Multiselect.js +10 -10
- package/Number.js +2 -2
- package/Paginator.js +11 -14
- package/Paragraph.js +2 -2
- package/Popover.js +12 -7
- package/Progress.js +2 -2
- package/RadioBar.js +158 -41
- package/RadioList.js +2 -2
- package/Resize.js +2 -2
- package/ResultsMenu.js +6 -6
- package/ScreenReaderContent.js +2 -2
- package/Scroll.js +2 -2
- package/ScrollContainerContext.js +2 -2
- package/Search.js +4 -4
- package/Select.js +9 -9
- package/SidePanel.js +4 -4
- package/Slider.js +4 -4
- package/SlidingPanels.js +14 -5
- package/StaticContent.js +2 -2
- package/StepBar.js +2 -2
- package/Switch.js +2 -2
- package/TabBar.js +2 -2
- package/TabLayout.js +4 -4
- package/Table.js +22 -24
- package/Text.js +5 -4
- package/Tooltip.js +8 -4
- package/TransitionOpen.js +14 -5
- package/WaitSpinner.js +2 -2
- package/package.json +12 -6
- package/stubs-splunkui.d.ts +1 -0
- package/types/src/Accordion/AccordionContext.d.ts +0 -1
- package/types/src/Accordion/docs/examples/Controlled.d.ts +2 -0
- package/types/src/Accordion/docs/examples/FixedHeight.d.ts +2 -0
- package/types/src/Accordion/docs/examples/InDropdown.d.ts +2 -0
- package/types/src/Accordion/docs/examples/Inset.d.ts +2 -0
- package/types/src/Accordion/docs/examples/Uncontrolled.d.ts +2 -0
- package/types/src/Anchor/docs/examples/Basic.d.ts +2 -0
- package/types/src/AnimationToggle/docs/examples/Provider.d.ts +11 -0
- package/types/src/AnimationToggle/docs/examples/ReducedMotionComponent.d.ts +2 -0
- package/types/src/AnimationToggle/docs/examples/ReducedMotionHook.d.ts +2 -0
- package/types/src/AnimationToggle/docs/examples/ToggleComponent.d.ts +9 -0
- package/types/src/AnimationToggle/docs/examples/ToggleHook.d.ts +2 -0
- package/types/src/Button/Button.d.ts +0 -2
- package/types/src/Button/docs/examples/Basic.d.ts +2 -0
- package/types/src/Button/docs/examples/Block.d.ts +2 -0
- package/types/src/Button/docs/examples/Disabled.d.ts +2 -0
- package/types/src/Button/docs/examples/Icons.d.ts +2 -0
- package/types/src/Button/docs/examples/Menus.d.ts +2 -0
- package/types/src/Button/docs/examples/Selected.d.ts +2 -0
- package/types/src/Button/docs/examples/To.d.ts +2 -0
- package/types/src/Button/docs/examples/Truncated.d.ts +2 -0
- package/types/src/Button/docs/examples/prisma/Basic.d.ts +2 -0
- package/types/src/Button/docs/examples/prisma/Block.d.ts +2 -0
- package/types/src/Button/docs/examples/prisma/Disabled.d.ts +2 -0
- package/types/src/Button/docs/examples/prisma/Icons.d.ts +2 -0
- package/types/src/Button/docs/examples/prisma/Menus.d.ts +2 -0
- package/types/src/Button/docs/examples/prisma/To.d.ts +2 -0
- package/types/src/Button/docs/examples/prisma/Truncated.d.ts +2 -0
- package/types/src/ButtonGroup/ButtonGroupContext.d.ts +0 -1
- package/types/src/ButtonGroup/docs/examples/Basic.d.ts +1 -0
- package/types/src/ButtonGroup/docs/examples/prisma/Basic.d.ts +1 -0
- package/types/src/ButtonSimple/ButtonSimple.d.ts +2 -6
- package/types/src/Card/Card.d.ts +0 -2
- package/types/src/Card/docs/examples/Basic.d.ts +2 -0
- package/types/src/Card/docs/examples/Clickable.d.ts +2 -0
- package/types/src/Card/docs/examples/Full.d.ts +2 -0
- package/types/src/Card/docs/examples/Images.d.ts +2 -0
- package/types/src/Card/docs/examples/Selectable.d.ts +2 -0
- package/types/src/Card/docs/examples/prisma/Actions.d.ts +2 -0
- package/types/src/CardLayout/CardLayoutContext.d.ts +0 -1
- package/types/src/CardLayout/docs/examples/Basic.d.ts +2 -0
- package/types/src/CardLayout/docs/examples/Interactive.d.ts +28 -0
- package/types/src/Chip/docs/examples/Appearance.d.ts +2 -0
- package/types/src/Chip/docs/examples/Basic.d.ts +2 -0
- package/types/src/Chip/docs/examples/CustomColors.d.ts +2 -0
- package/types/src/Chip/docs/examples/Disabled.d.ts +2 -0
- package/types/src/Chip/docs/examples/Icon.d.ts +2 -0
- package/types/src/Chip/docs/examples/Removable.d.ts +2 -0
- package/types/src/Chip/docs/examples/prisma/Appearance.d.ts +2 -0
- package/types/src/Clickable/NavigationProvider.d.ts +1 -0
- package/types/src/Clickable/docs/examples/Basic.d.ts +2 -0
- package/types/src/Clickable/docs/examples/NavigationProvider.d.ts +2 -0
- package/types/src/Code/docs/examples/Default.d.ts +2 -0
- package/types/src/Code/docs/examples/HideIndent.d.ts +2 -0
- package/types/src/Code/docs/examples/Language.d.ts +2 -0
- package/types/src/CollapsiblePanel/docs/examples/BasicControlled.d.ts +2 -0
- package/types/src/CollapsiblePanel/docs/examples/BasicUncontrolled.d.ts +2 -0
- package/types/src/CollapsiblePanel/docs/examples/MultiControlled.d.ts +2 -0
- package/types/src/CollapsiblePanel/docs/examples/MultiUncontrolled.d.ts +2 -0
- package/types/src/CollapsiblePanel/docs/examples/TitleWithActions.d.ts +2 -0
- package/types/src/CollapsiblePanel/docs/examples/prisma/BasicControlled.d.ts +2 -0
- package/types/src/CollapsiblePanel/docs/examples/prisma/BasicUncontrolled.d.ts +2 -0
- package/types/src/CollapsiblePanel/docs/examples/prisma/Content.d.ts +1 -0
- package/types/src/CollapsiblePanel/docs/examples/prisma/MultiControlled.d.ts +2 -0
- package/types/src/CollapsiblePanel/docs/examples/prisma/MultiUncontrolled.d.ts +2 -0
- package/types/src/Color/Color.d.ts +3 -3
- package/types/src/Color/docs/examples/Controlled.d.ts +2 -0
- package/types/src/Color/docs/examples/Null.d.ts +2 -0
- package/types/src/Color/docs/examples/ThemeVariables.d.ts +1 -0
- package/types/src/Color/docs/examples/Transparent.d.ts +2 -0
- package/types/src/Color/docs/examples/Uncontrolled.d.ts +2 -0
- package/types/src/Color/docs/examples/prisma/Controlled.d.ts +2 -0
- package/types/src/Color/docs/examples/prisma/CustomizedPalette.d.ts +1 -0
- package/types/src/Color/docs/examples/prisma/HideInput.d.ts +2 -0
- package/types/src/Color/docs/examples/prisma/ThemeVariables.d.ts +1 -0
- package/types/src/Color/docs/examples/prisma/Uncontrolled.d.ts +2 -0
- package/types/src/ColumnLayout/docs/examples/AlignItems.d.ts +2 -0
- package/types/src/ColumnLayout/docs/examples/Basic.d.ts +2 -0
- package/types/src/ColumnLayout/docs/examples/Dividers.d.ts +2 -0
- package/types/src/ColumnLayout/docs/examples/Gutters.d.ts +2 -0
- package/types/src/ComboBox/docs/examples/Controlled.d.ts +2 -0
- package/types/src/ComboBox/docs/examples/Fetching.d.ts +2 -0
- package/types/src/ComboBox/docs/examples/Headings.d.ts +1 -0
- package/types/src/ComboBox/docs/examples/Label.d.ts +2 -0
- package/types/src/ComboBox/docs/examples/LoadMoreOnScrollBottom.d.ts +2 -0
- package/types/src/ComboBox/docs/examples/Uncontrolled.d.ts +2 -0
- package/types/src/Concertina/ConcertinaContext.d.ts +0 -1
- package/types/src/Concertina/docs/examples/Basic.d.ts +2 -0
- package/types/src/Concertina/docs/examples/Disabled.d.ts +9 -0
- package/types/src/Concertina/docs/examples/Status.d.ts +2 -0
- package/types/src/ControlGroup/docs/examples/Basic.d.ts +2 -0
- package/types/src/ControlGroup/docs/examples/CustomizedLabelTarget.d.ts +10 -0
- package/types/src/ControlGroup/docs/examples/Error.d.ts +2 -0
- package/types/src/ControlGroup/docs/examples/HelpWithLinks.d.ts +2 -0
- package/types/src/ControlGroup/docs/examples/LabelTop.d.ts +2 -0
- package/types/src/ControlGroup/docs/examples/LayoutFill.d.ts +2 -0
- package/types/src/ControlGroup/docs/examples/LayoutFillJoin.d.ts +2 -0
- package/types/src/ControlGroup/docs/examples/LayoutNone.d.ts +2 -0
- package/types/src/Date/docs/examples/Basic.d.ts +2 -0
- package/types/src/Date/docs/examples/Controlled.d.ts +10 -0
- package/types/src/Date/docs/examples/CustomDate.d.ts +2 -0
- package/types/src/Date/docs/examples/Disabled.d.ts +2 -0
- package/types/src/Date/docs/examples/HighlightToday.d.ts +10 -0
- package/types/src/DefinitionList/docs/examples/Basic.d.ts +2 -0
- package/types/src/DefinitionList/docs/examples/Customize.d.ts +2 -0
- package/types/src/Dropdown/docs/examples/Basic.d.ts +2 -0
- package/types/src/Dropdown/docs/examples/BasicMenu.d.ts +2 -0
- package/types/src/Dropdown/docs/examples/ControlledDropdown.d.ts +2 -0
- package/types/src/Dropdown/docs/examples/Dialog.d.ts +2 -0
- package/types/src/Dropdown/docs/examples/OtherToggles.d.ts +2 -0
- package/types/src/Dropdown/docs/examples/ScrollContainer.d.ts +2 -0
- package/types/src/Dropdown/docs/examples/ScrollingMenu.d.ts +2 -0
- package/types/src/Dropdown/docs/examples/prisma/Basic.d.ts +2 -0
- package/types/src/Dropdown/docs/examples/prisma/BasicMenu.d.ts +2 -0
- package/types/src/Dropdown/docs/examples/prisma/ControlledDropdown.d.ts +2 -0
- package/types/src/Dropdown/docs/examples/prisma/Dialog.d.ts +2 -0
- package/types/src/Dropdown/docs/examples/prisma/OtherToggles.d.ts +2 -0
- package/types/src/Dropdown/docs/examples/prisma/ScrollingMenu.d.ts +2 -0
- package/types/src/File/FileContext.d.ts +0 -1
- package/types/src/File/docs/examples/CustomChildren.d.ts +12 -0
- package/types/src/File/docs/examples/CustomizedMessages.d.ts +1 -0
- package/types/src/File/docs/examples/Disabled.d.ts +12 -0
- package/types/src/File/docs/examples/DropAnywhere.d.ts +15 -0
- package/types/src/File/docs/examples/Error.d.ts +1 -0
- package/types/src/File/docs/examples/FullScreen.d.ts +15 -0
- package/types/src/File/docs/examples/Multi.d.ts +16 -0
- package/types/src/File/docs/examples/Progress.d.ts +15 -0
- package/types/src/File/docs/examples/Single.d.ts +12 -0
- package/types/src/File/docs/examples/prisma/Disabled.d.ts +12 -0
- package/types/src/File/docs/examples/prisma/Error.d.ts +1 -0
- package/types/src/File/docs/examples/prisma/Progress.d.ts +1 -0
- package/types/src/FormRows/FormRowsContext.d.ts +0 -1
- package/types/src/FormRows/docs/examples/Basic.d.ts +12 -0
- package/types/src/FormRows/docs/examples/Header.d.ts +12 -0
- package/types/src/FormRows/docs/examples/Menu.d.ts +13 -0
- package/types/src/FormRows/docs/examples/ReorderOnly.d.ts +10 -0
- package/types/src/Heading/docs/examples/Basic.d.ts +2 -0
- package/types/src/Image/docs/examples/Basic.d.ts +2 -0
- package/types/src/JSONTree/JSONTree.d.ts +2 -2
- package/types/src/JSONTree/TreeNode.d.ts +1 -1
- package/types/src/JSONTree/docs/examples/Basic.d.ts +1 -0
- package/types/src/JSONTree/docs/examples/Events.d.ts +13 -0
- package/types/src/JSONTree/docs/examples/WithShiftModifier.d.ts +1 -0
- package/types/src/Layer/docs/examples/Basic.d.ts +2 -0
- package/types/src/Link/docs/examples/Basic.d.ts +2 -0
- package/types/src/Link/docs/examples/Disabled.d.ts +2 -0
- package/types/src/Link/docs/examples/Inline.d.ts +2 -0
- package/types/src/Link/docs/examples/NewTab.d.ts +2 -0
- package/types/src/List/docs/examples/Decimal.d.ts +2 -0
- package/types/src/List/docs/examples/Disc.d.ts +2 -0
- package/types/src/List/docs/examples/LowerAlpha.d.ts +2 -0
- package/types/src/List/docs/examples/UpperAlpha.d.ts +2 -0
- package/types/src/Markdown/Markdown.d.ts +9 -4
- package/types/src/Markdown/docs/examples/Basic.d.ts +2 -0
- package/types/src/Markdown/docs/examples/I18n.d.ts +2 -0
- package/types/src/Markdown/docs/examples/RenderProps.d.ts +2 -0
- package/types/src/Markdown/renderers/MarkdownAnchorHeading.d.ts +15 -0
- package/types/src/Markdown/renderers/index.d.ts +2 -1
- package/types/src/Menu/MenuContext.d.ts +0 -1
- package/types/src/Menu/docs/examples/Basic.d.ts +2 -0
- package/types/src/Menu/docs/examples/Complex.d.ts +2 -0
- package/types/src/Menu/docs/examples/Descriptions.d.ts +2 -0
- package/types/src/Menu/docs/examples/Disabled.d.ts +2 -0
- package/types/src/Menu/docs/examples/Dividers.d.ts +2 -0
- package/types/src/Menu/docs/examples/Headings.d.ts +2 -0
- package/types/src/Menu/docs/examples/Icons.d.ts +2 -0
- package/types/src/Menu/docs/examples/Links.d.ts +2 -0
- package/types/src/Menu/docs/examples/MatchRanges.d.ts +2 -0
- package/types/src/Menu/docs/examples/Selectable.d.ts +2 -0
- package/types/src/Menu/docs/examples/SelectableWithIcons.d.ts +2 -0
- package/types/src/Menu/docs/examples/Truncate.d.ts +2 -0
- package/types/src/Message/docs/examples/Basic.d.ts +2 -0
- package/types/src/Message/docs/examples/Content.d.ts +2 -0
- package/types/src/Message/docs/examples/Fill.d.ts +2 -0
- package/types/src/Message/docs/examples/Removable.d.ts +2 -0
- package/types/src/Message/docs/examples/prisma/Title.d.ts +2 -0
- package/types/src/MessageBar/docs/examples/Types.d.ts +2 -0
- package/types/src/Modal/ModalContext.d.ts +0 -1
- package/types/src/Modal/docs/examples/Basic.d.ts +2 -0
- package/types/src/Modal/docs/examples/InitialFocus.d.ts +2 -0
- package/types/src/Modal/docs/examples/TypicalUsage.d.ts +2 -0
- package/types/src/Modal/docs/examples/Undismissable.d.ts +2 -0
- package/types/src/Modal/docs/examples/prisma/TypicalUsage.d.ts +2 -0
- package/types/src/ModalLayer/ModalLayer.d.ts +2 -0
- package/types/src/Monogram/docs/examples/BackgroundAuto.d.ts +1 -0
- package/types/src/Monogram/docs/examples/BackgroundCustom.d.ts +1 -0
- package/types/src/Monogram/docs/examples/Basic.d.ts +1 -0
- package/types/src/Monogram/docs/examples/Interactive.d.ts +1 -0
- package/types/src/Monogram/docs/examples/Size.d.ts +1 -0
- package/types/src/Multiselect/docs/examples/Children.d.ts +10 -0
- package/types/src/Multiselect/docs/examples/Compact.d.ts +2 -0
- package/types/src/Multiselect/docs/examples/Controlled.d.ts +10 -0
- package/types/src/Multiselect/docs/examples/CustomizeSelected.d.ts +10 -0
- package/types/src/Multiselect/docs/examples/Disabled.d.ts +10 -0
- package/types/src/Multiselect/docs/examples/Error.d.ts +10 -0
- package/types/src/Multiselect/docs/examples/Fetching.d.ts +23 -0
- package/types/src/Multiselect/docs/examples/Headings.d.ts +1 -0
- package/types/src/Multiselect/docs/examples/Icons.d.ts +2 -0
- package/types/src/Multiselect/docs/examples/LoadMoreOnScrollBottom.d.ts +26 -0
- package/types/src/Multiselect/docs/examples/NewValues.d.ts +10 -0
- package/types/src/Multiselect/docs/examples/TabInput.d.ts +10 -0
- package/types/src/Multiselect/docs/examples/Uncontrolled.d.ts +2 -0
- package/types/src/Number/Number.d.ts +3 -3
- package/types/src/Number/docs/examples/Basic.d.ts +10 -0
- package/types/src/Number/docs/examples/Disabled.d.ts +2 -0
- package/types/src/Number/docs/examples/Error.d.ts +2 -0
- package/types/src/Number/docs/examples/Limits.d.ts +10 -0
- package/types/src/Number/docs/examples/Locale.d.ts +10 -0
- package/types/src/Number/docs/examples/Uncontrolled.d.ts +2 -0
- package/types/src/Paginator/docs/examples/Basic.d.ts +2 -0
- package/types/src/Paragraph/docs/examples/Basic.d.ts +2 -0
- package/types/src/Popover/Popover.d.ts +1 -0
- package/types/src/Popover/PopoverContext.d.ts +0 -1
- package/types/src/Popover/docs/examples/Basic.d.ts +2 -0
- package/types/src/Progress/docs/examples/Basic.d.ts +2 -0
- package/types/src/Progress/docs/examples/prisma/Type.d.ts +2 -0
- package/types/src/RadioBar/Option.d.ts +23 -5
- package/types/src/RadioBar/RadioBar.d.ts +6 -1
- package/types/src/RadioBar/RadioBarContext.d.ts +4 -2
- package/types/src/RadioBar/docs/examples/AdornmentAriaExamples.d.ts +2 -0
- package/types/src/RadioBar/docs/examples/Basic.d.ts +2 -0
- package/types/src/RadioBar/docs/examples/Disabled.d.ts +2 -0
- package/types/src/RadioBar/docs/examples/Error.d.ts +2 -0
- package/types/src/RadioBar/docs/examples/Uncontrolled.d.ts +2 -0
- package/types/src/RadioList/RadioListContext.d.ts +0 -1
- package/types/src/RadioList/docs/examples/Basic.d.ts +2 -0
- package/types/src/RadioList/docs/examples/Composing.d.ts +2 -0
- package/types/src/RadioList/docs/examples/Disabled.d.ts +2 -0
- package/types/src/RadioList/docs/examples/Error.d.ts +2 -0
- package/types/src/RadioList/docs/examples/Row.d.ts +2 -0
- package/types/src/RadioList/docs/examples/Uncontrolled.d.ts +2 -0
- package/types/src/Resize/docs/examples/Appearance.d.ts +2 -0
- package/types/src/Resize/docs/examples/Percentage.d.ts +2 -0
- package/types/src/Resize/docs/examples/SizingInner.d.ts +2 -0
- package/types/src/Resize/docs/examples/SizingOuter.d.ts +2 -0
- package/types/src/Resize/docs/examples/Typical.d.ts +2 -0
- package/types/src/ScreenReaderContent/docs/examples/Basic.d.ts +2 -0
- package/types/src/Scroll/docs/examples/Controlled.d.ts +13 -0
- package/types/src/Scroll/docs/examples/Uncontrolled.d.ts +2 -0
- package/types/src/ScrollContainerContext/docs/examples/Consumer.d.ts +2 -0
- package/types/src/ScrollContainerContext/docs/examples/Provider.d.ts +2 -0
- package/types/src/Search/docs/examples/Controlled.d.ts +2 -0
- package/types/src/Search/docs/examples/Loading.d.ts +2 -0
- package/types/src/Search/docs/examples/Options.d.ts +2 -0
- package/types/src/Search/docs/examples/Results.d.ts +2 -0
- package/types/src/Select/Select.d.ts +2 -2
- package/types/src/Select/SelectBase.d.ts +2 -2
- package/types/src/Select/docs/examples/Appearance.d.ts +14 -0
- package/types/src/Select/docs/examples/Basic.d.ts +10 -0
- package/types/src/Select/docs/examples/Children.d.ts +10 -0
- package/types/src/Select/docs/examples/Descriptions.d.ts +10 -0
- package/types/src/Select/docs/examples/Error.d.ts +2 -0
- package/types/src/Select/docs/examples/Fetching.d.ts +23 -0
- package/types/src/Select/docs/examples/Filter.d.ts +10 -0
- package/types/src/Select/docs/examples/Headings.d.ts +10 -0
- package/types/src/Select/docs/examples/Icons.d.ts +10 -0
- package/types/src/Select/docs/examples/LoadMoreOnScrollBottom.d.ts +25 -0
- package/types/src/Select/docs/examples/Prefix.d.ts +10 -0
- package/types/src/Select/docs/examples/Truncate.d.ts +10 -0
- package/types/src/Select/docs/examples/Uncontrolled.d.ts +2 -0
- package/types/src/Select/docs/examples/prisma/Appearance.d.ts +14 -0
- package/types/src/SidePanel/docs/examples/Basic.d.ts +2 -0
- package/types/src/SidePanel/docs/examples/ChangeSize.d.ts +2 -0
- package/types/src/SidePanel/docs/examples/Composition.d.ts +2 -0
- package/types/src/Slider/docs/examples/Basic.d.ts +2 -0
- package/types/src/Slider/docs/examples/Controlled.d.ts +12 -0
- package/types/src/Slider/docs/examples/CustomLabels.d.ts +12 -0
- package/types/src/Slider/docs/examples/Disabled.d.ts +2 -0
- package/types/src/Slider/docs/examples/StepMarks.d.ts +2 -0
- package/types/src/Slider/docs/examples/prisma/Error.d.ts +2 -0
- package/types/src/SlidingPanels/SlidingPanels.d.ts +2 -0
- package/types/src/SlidingPanels/docs/examples/Basic.d.ts +11 -0
- package/types/src/SlidingPanels/docs/examples/Dropdown.d.ts +11 -0
- package/types/src/SlidingPanels/docs/examples/Modal.d.ts +14 -0
- package/types/src/StaticContent/docs/examples/Basic.d.ts +2 -0
- package/types/src/StaticContent/docs/examples/FieldValue.d.ts +2 -0
- package/types/src/StepBar/StepBarContext.d.ts +0 -1
- package/types/src/StepBar/docs/examples/Basic.d.ts +2 -0
- package/types/src/StepBar/docs/examples/prisma/Error.d.ts +2 -0
- package/types/src/Switch/docs/examples/Basic.d.ts +10 -0
- package/types/src/Switch/docs/examples/Disabled.d.ts +10 -0
- package/types/src/Switch/docs/examples/Error.d.ts +2 -0
- package/types/src/TabBar/TabBarContext.d.ts +0 -1
- package/types/src/TabBar/docs/examples/Basic.d.ts +2 -0
- package/types/src/TabBar/docs/examples/IconsInline.d.ts +2 -0
- package/types/src/TabBar/docs/examples/IconsSmall.d.ts +2 -0
- package/types/src/TabBar/docs/examples/Tooltips.d.ts +2 -0
- package/types/src/TabBar/docs/examples/Vertical.d.ts +2 -0
- package/types/src/TabBar/docs/examples/VerticalSmallIcons.d.ts +2 -0
- package/types/src/TabBar/docs/examples/WithCount.d.ts +2 -0
- package/types/src/TabBar/docs/examples/prisma/Context.d.ts +2 -0
- package/types/src/TabBar/docs/examples/prisma/Disabled.d.ts +2 -0
- package/types/src/TabLayout/docs/examples/AutoActivate.d.ts +2 -0
- package/types/src/TabLayout/docs/examples/Controlled.d.ts +2 -0
- package/types/src/TabLayout/docs/examples/Icons.d.ts +2 -0
- package/types/src/TabLayout/docs/examples/Uncontrolled.d.ts +2 -0
- package/types/src/TabLayout/docs/examples/Vertical.d.ts +2 -0
- package/types/src/TabLayout/docs/examples/VerticalIcons.d.ts +2 -0
- package/types/src/TabLayout/docs/examples/prisma/Context.d.ts +2 -0
- package/types/src/Table/docs/examples/Basic.d.ts +2 -0
- package/types/src/Table/docs/examples/Click.d.ts +16 -0
- package/types/src/Table/docs/examples/ClickRows.d.ts +16 -0
- package/types/src/Table/docs/examples/Complex.d.ts +39 -0
- package/types/src/Table/docs/examples/DockedHeader.d.ts +2 -0
- package/types/src/Table/docs/examples/ExpandableRows.d.ts +2 -0
- package/types/src/Table/docs/examples/ExpandableRowsControlled.d.ts +2 -0
- package/types/src/Table/docs/examples/FixedHeader.d.ts +2 -0
- package/types/src/Table/docs/examples/HeadDropdownCell.d.ts +18 -0
- package/types/src/Table/docs/examples/ReorderColumns.d.ts +21 -0
- package/types/src/Table/docs/examples/ReorderRows.d.ts +21 -0
- package/types/src/Table/docs/examples/Resizable.d.ts +23 -0
- package/types/src/Table/docs/examples/ResizableFill.d.ts +23 -0
- package/types/src/Table/docs/examples/Selectable.d.ts +18 -0
- package/types/src/Table/docs/examples/SortableColumns.d.ts +12 -0
- package/types/src/Table/docs/examples/prisma/Basic.d.ts +2 -0
- package/types/src/Table/docs/examples/prisma/Complex.d.ts +48 -0
- package/types/src/Table/docs/examples/prisma/DockedHeader.d.ts +2 -0
- package/types/src/Table/docs/examples/prisma/RowActions.d.ts +39 -0
- package/types/src/Text/Text.d.ts +5 -5
- package/types/src/Text/docs/examples/Basic.d.ts +10 -0
- package/types/src/Text/docs/examples/CustomizedIcon.d.ts +2 -0
- package/types/src/Text/docs/examples/Disabled.d.ts +2 -0
- package/types/src/Text/docs/examples/Error.d.ts +10 -0
- package/types/src/Text/docs/examples/Inline.d.ts +10 -0
- package/types/src/Text/docs/examples/Multiline.d.ts +10 -0
- package/types/src/Text/docs/examples/Password.d.ts +10 -0
- package/types/src/Text/docs/examples/Search.d.ts +10 -0
- package/types/src/Text/docs/examples/Uncontrolled.d.ts +2 -0
- package/types/src/Text/docs/examples/prisma/Multiline.d.ts +10 -0
- package/types/src/Text/docs/examples/prisma/Search.d.ts +10 -0
- package/types/src/Tooltip/Tooltip.d.ts +7 -5
- package/types/src/Tooltip/docs/examples/Basic.d.ts +2 -0
- package/types/src/Tooltip/docs/examples/ContentRelationship.d.ts +2 -0
- package/types/src/Tooltip/docs/examples/Controlled.d.ts +12 -0
- package/types/src/Tooltip/docs/examples/CustomContent.d.ts +2 -0
- package/types/src/Tooltip/docs/examples/CustomDelay.d.ts +2 -0
- package/types/src/TransitionOpen/TransitionOpen.d.ts +2 -0
- package/types/src/TransitionOpen/docs/examples/ExpandHeight.d.ts +2 -0
- package/types/src/TransitionOpen/docs/examples/ExpandWidth.d.ts +2 -0
- package/types/src/TransitionOpen/docs/examples/None.d.ts +2 -0
- package/types/src/TransitionOpen/docs/examples/SlideFromBottom.d.ts +2 -0
- package/types/src/TransitionOpen/docs/examples/SlideFromLeft.d.ts +2 -0
- package/types/src/TransitionOpen/docs/examples/SlideFromRight.d.ts +2 -0
- package/types/src/TransitionOpen/docs/examples/SlideFromTop.d.ts +2 -0
- package/types/src/WaitSpinner/docs/examples/Basic.d.ts +2 -0
- package/types/src/WaitSpinner/docs/examples/prisma/Basic.d.ts +2 -0
- package/types/src/fixtures/FetchOptions.d.ts +2 -0
- package/types/src/fixtures/text.d.ts +1 -0
- package/usePrevious.js +2 -2
package/Accordion.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 131);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 131:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|
|
@@ -124,7 +124,7 @@ var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_pr
|
|
|
124
124
|
var external_lodash_ = __webpack_require__(4);
|
|
125
125
|
|
|
126
126
|
// EXTERNAL MODULE: external "@splunk/react-ui/CollapsiblePanel"
|
|
127
|
-
var CollapsiblePanel_ = __webpack_require__(
|
|
127
|
+
var CollapsiblePanel_ = __webpack_require__(82);
|
|
128
128
|
var CollapsiblePanel_default = /*#__PURE__*/__webpack_require__.n(CollapsiblePanel_);
|
|
129
129
|
|
|
130
130
|
// EXTERNAL MODULE: external "@splunk/themes"
|
|
@@ -415,7 +415,7 @@ module.exports = require("@splunk/react-ui/Box");
|
|
|
415
415
|
|
|
416
416
|
/***/ }),
|
|
417
417
|
|
|
418
|
-
/***/
|
|
418
|
+
/***/ 82:
|
|
419
419
|
/***/ (function(module, exports) {
|
|
420
420
|
|
|
421
421
|
module.exports = require("@splunk/react-ui/CollapsiblePanel");
|
package/Anchor.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 148);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 148:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|
package/Animation.js
CHANGED
|
@@ -82,12 +82,12 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 175);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
90
|
+
/***/ 175:
|
|
91
91
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
92
92
|
|
|
93
93
|
"use strict";
|
package/AnimationToggle.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 132);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -94,7 +94,7 @@ module.exports = require("prop-types");
|
|
|
94
94
|
|
|
95
95
|
/***/ }),
|
|
96
96
|
|
|
97
|
-
/***/
|
|
97
|
+
/***/ 132:
|
|
98
98
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
99
99
|
|
|
100
100
|
"use strict";
|
package/Box.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 149);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 149:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|
package/Button.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 137);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 137:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|
|
@@ -135,7 +135,7 @@ var style_ = __webpack_require__(40);
|
|
|
135
135
|
var CaretDown = __webpack_require__(36);
|
|
136
136
|
|
|
137
137
|
// EXTERNAL MODULE: external "@splunk/react-icons/External"
|
|
138
|
-
var External_ = __webpack_require__(
|
|
138
|
+
var External_ = __webpack_require__(58);
|
|
139
139
|
var External_default = /*#__PURE__*/__webpack_require__.n(External_);
|
|
140
140
|
|
|
141
141
|
// EXTERNAL MODULE: ./src/icons/ThemedIcon.tsx
|
|
@@ -169,9 +169,6 @@ function External(props) {
|
|
|
169
169
|
Prisma24: Prisma24
|
|
170
170
|
}, props));
|
|
171
171
|
}
|
|
172
|
-
// EXTERNAL MODULE: ./src/ButtonGroup/ButtonGroupContext.tsx
|
|
173
|
-
var ButtonGroupContext = __webpack_require__(58);
|
|
174
|
-
|
|
175
172
|
// EXTERNAL MODULE: external "styled-components"
|
|
176
173
|
var external_styled_components_ = __webpack_require__(3);
|
|
177
174
|
var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
|
|
@@ -339,7 +336,6 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|
|
339
336
|
|
|
340
337
|
|
|
341
338
|
|
|
342
|
-
|
|
343
339
|
var propTypes = {
|
|
344
340
|
action: external_prop_types_default.a.string,
|
|
345
341
|
appearance: external_prop_types_default.a.oneOf(['default', 'secondary', 'primary', 'destructive', 'pill', 'toggle', 'flat']),
|
|
@@ -444,9 +440,6 @@ var Button_Button = /*#__PURE__*/function (_Component) {
|
|
|
444
440
|
prepend = _this$props2.prepend,
|
|
445
441
|
to = _this$props2.to,
|
|
446
442
|
value = _this$props2.value;
|
|
447
|
-
var _this$context = this.context,
|
|
448
|
-
inlineContext = _this$context.inline,
|
|
449
|
-
roleContext = _this$context.role;
|
|
450
443
|
var _this$props3 = this.props,
|
|
451
444
|
children = _this$props3.children,
|
|
452
445
|
label = _this$props3.label;
|
|
@@ -461,16 +454,15 @@ var Button_Button = /*#__PURE__*/function (_Component) {
|
|
|
461
454
|
return /*#__PURE__*/external_react_default.a.createElement(StyledButtonSimple, Button_extends({
|
|
462
455
|
"aria-haspopup": isMenu || undefined,
|
|
463
456
|
"aria-invalid": error || undefined,
|
|
464
|
-
"data-test": "button"
|
|
465
|
-
role: roleContext || undefined
|
|
457
|
+
"data-test": "button"
|
|
466
458
|
}, this.props, {
|
|
467
459
|
className: Object(style_["toClassName"])(className, classNamePrivate),
|
|
468
460
|
"data-action": action,
|
|
469
|
-
"data-inline":
|
|
461
|
+
"data-inline": inline || null,
|
|
470
462
|
disabled: disabled,
|
|
471
463
|
append: append,
|
|
472
464
|
prepend: prepend,
|
|
473
|
-
$inline:
|
|
465
|
+
$inline: inline,
|
|
474
466
|
$hasPrismaIcon: hasPrismaIcon,
|
|
475
467
|
$isIconOnly: isIconOnly,
|
|
476
468
|
$isMenu: isMenu,
|
|
@@ -514,8 +506,6 @@ _defineProperty(Button_Button, "propTypes", propTypes);
|
|
|
514
506
|
|
|
515
507
|
_defineProperty(Button_Button, "defaultProps", defaultProps);
|
|
516
508
|
|
|
517
|
-
_defineProperty(Button_Button, "contextType", ButtonGroupContext["a" /* ButtonGroupContext */]);
|
|
518
|
-
|
|
519
509
|
_defineProperty(Button_Button, Dropdown_["legacyRefMode"], true);
|
|
520
510
|
|
|
521
511
|
/* harmony default export */ var src_Button_Button = (Button_Button);
|
|
@@ -619,27 +609,13 @@ module.exports = require("@splunk/ui-utils/i18n");
|
|
|
619
609
|
|
|
620
610
|
/***/ }),
|
|
621
611
|
|
|
622
|
-
/***/
|
|
612
|
+
/***/ 58:
|
|
623
613
|
/***/ (function(module, exports) {
|
|
624
614
|
|
|
625
615
|
module.exports = require("@splunk/react-icons/External");
|
|
626
616
|
|
|
627
617
|
/***/ }),
|
|
628
618
|
|
|
629
|
-
/***/ 58:
|
|
630
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
631
|
-
|
|
632
|
-
"use strict";
|
|
633
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ButtonGroupContext; });
|
|
634
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
635
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
636
|
-
|
|
637
|
-
var ButtonGroupContext = /*#__PURE__*/Object(react__WEBPACK_IMPORTED_MODULE_0__["createContext"])({});
|
|
638
|
-
ButtonGroupContext.displayName = 'ButtonGroup';
|
|
639
|
-
/* harmony default export */ __webpack_exports__["b"] = (ButtonGroupContext);
|
|
640
|
-
|
|
641
|
-
/***/ }),
|
|
642
|
-
|
|
643
619
|
/***/ 6:
|
|
644
620
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
645
621
|
|
package/ButtonGroup.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 150);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 150:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|
|
@@ -142,9 +142,6 @@ var StyledBox = external_styled_components_default()(Box_default.a).withConfig({
|
|
|
142
142
|
prisma: themes_["variables"].spacingSmall
|
|
143
143
|
}));
|
|
144
144
|
|
|
145
|
-
// EXTERNAL MODULE: ./src/ButtonGroup/ButtonGroupContext.tsx
|
|
146
|
-
var ButtonGroupContext = __webpack_require__(58);
|
|
147
|
-
|
|
148
145
|
// CONCATENATED MODULE: ./src/ButtonGroup/ButtonGroup.tsx
|
|
149
146
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
150
147
|
|
|
@@ -155,7 +152,6 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
155
152
|
|
|
156
153
|
|
|
157
154
|
|
|
158
|
-
|
|
159
155
|
var propTypes = {
|
|
160
156
|
children: external_prop_types_default.a.node,
|
|
161
157
|
elementRef: external_prop_types_default.a.oneOfType([external_prop_types_default.a.func, external_prop_types_default.a.object]),
|
|
@@ -173,7 +169,9 @@ function ButtonGroup(_ref) {
|
|
|
173
169
|
var length = _ref2.length;
|
|
174
170
|
return /*#__PURE__*/Object(external_react_["cloneElement"])(item, {
|
|
175
171
|
prepend: i > 0,
|
|
176
|
-
append: i < length - 1
|
|
172
|
+
append: i < length - 1,
|
|
173
|
+
inline: false,
|
|
174
|
+
role: item.props && item.props.role || 'menuitem'
|
|
177
175
|
});
|
|
178
176
|
});
|
|
179
177
|
return /*#__PURE__*/external_react_default.a.createElement(StyledBox, _extends({
|
|
@@ -181,12 +179,7 @@ function ButtonGroup(_ref) {
|
|
|
181
179
|
flex: true,
|
|
182
180
|
"data-test": "button-group",
|
|
183
181
|
role: "menubar"
|
|
184
|
-
}, otherProps),
|
|
185
|
-
value: {
|
|
186
|
-
inline: false,
|
|
187
|
-
role: 'menuitem'
|
|
188
|
-
}
|
|
189
|
-
}, childrenCleaned));
|
|
182
|
+
}, otherProps), childrenCleaned);
|
|
190
183
|
}
|
|
191
184
|
|
|
192
185
|
ButtonGroup.propTypes = propTypes;
|
|
@@ -210,20 +203,6 @@ module.exports = require("styled-components");
|
|
|
210
203
|
|
|
211
204
|
/***/ }),
|
|
212
205
|
|
|
213
|
-
/***/ 58:
|
|
214
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
215
|
-
|
|
216
|
-
"use strict";
|
|
217
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ButtonGroupContext; });
|
|
218
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
219
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
220
|
-
|
|
221
|
-
var ButtonGroupContext = /*#__PURE__*/Object(react__WEBPACK_IMPORTED_MODULE_0__["createContext"])({});
|
|
222
|
-
ButtonGroupContext.displayName = 'ButtonGroup';
|
|
223
|
-
/* harmony default export */ __webpack_exports__["b"] = (ButtonGroupContext);
|
|
224
|
-
|
|
225
|
-
/***/ }),
|
|
226
|
-
|
|
227
206
|
/***/ 8:
|
|
228
207
|
/***/ (function(module, exports) {
|
|
229
208
|
|
package/ButtonSimple.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 133);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -108,7 +108,7 @@ module.exports = require("@splunk/react-ui/Clickable");
|
|
|
108
108
|
|
|
109
109
|
/***/ }),
|
|
110
110
|
|
|
111
|
-
/***/
|
|
111
|
+
/***/ 133:
|
|
112
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
113
|
|
|
114
114
|
"use strict";
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
Change Log
|
|
2
2
|
============
|
|
3
|
+
4.10.0 - June 29, 2022
|
|
4
|
+
----------
|
|
5
|
+
New Features:
|
|
6
|
+
* Changed `Paginator`'s `PageSeparator` to have active color for Enterprise theme (SUI-3237).
|
|
7
|
+
* Added `expandChildren="withShiftModifier"` prop to `JSONTree` (SUI-3627).
|
|
8
|
+
|
|
9
|
+
Bug Fixes:
|
|
10
|
+
* `RadioBar` supports keyboard navigation using the arrow keys (SUI-3745).
|
|
11
|
+
* Fixed line-height for `Code` in Prisma themes (SUI-3637).
|
|
12
|
+
* Fixes `RadioBar.Option` spacing when using adornments in Enterprise themes.
|
|
13
|
+
* `File` descriptive button text now includes an ellipsis.
|
|
14
|
+
* Fixed animation toggle issue with `SlidingPanels` by bumping `react-spring` version (SUI-3474).
|
|
15
|
+
* Fixed life cycle warnings for components leveraging the `onRest` on `react-spring` (SUI-3666).
|
|
16
|
+
|
|
17
|
+
4.9.0 - June 7, 2020
|
|
18
|
+
----------
|
|
19
|
+
New Features:
|
|
20
|
+
* `MarkdownAnchorHeading` added to Markdown's renderers to allow headings as Anchors (SUI-831).
|
|
21
|
+
|
|
22
|
+
Bug Fixes:
|
|
23
|
+
* Clear button for `Text` now clears value on Safari (SUI-3510).
|
|
24
|
+
|
|
25
|
+
4.8.0 - May 20, 2022
|
|
26
|
+
----------
|
|
27
|
+
New Features:
|
|
28
|
+
* Added `startAdornment` and `endAdornment` props to `RadioBar.Option` (SUI-3505).
|
|
29
|
+
|
|
30
|
+
Deprecation:
|
|
31
|
+
* `RadioBar.Option`s `icon` prop is deprecated and will be removed in a future major version. Use `startAdornment` or `endAdornment` instead (SUI-3505).
|
|
32
|
+
* `RadioBar`s `appearance` prop is deprecated and will be removed in a future major version (SUI-3505).
|
|
3
33
|
|
|
4
34
|
4.7.0 - May 4, 2022
|
|
5
35
|
----------
|
|
@@ -15,6 +45,7 @@ Bug Fixes:
|
|
|
15
45
|
* `Select`'s options should no longer be clickable while it's collapsing (SUI-3337).
|
|
16
46
|
* `Menu`s should now correctly manage focus if the first item is disabled (SUI-3468).
|
|
17
47
|
* `Message`'s `appearance="banner"` renders with an icon for improved accessibility (SUI-3526).
|
|
48
|
+
* `Modal` will now correctly gain focus when created with `open=true` (SUI-3412).
|
|
18
49
|
|
|
19
50
|
Deprecations:
|
|
20
51
|
* `Message`'s `appearance="banner"`is deprecated and will be removed in a future major version. Use `MessageBar` instead (SUI-3437).
|
package/Calendar.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 117);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -108,7 +108,7 @@ module.exports = require("@splunk/ui-utils/id");
|
|
|
108
108
|
|
|
109
109
|
/***/ }),
|
|
110
110
|
|
|
111
|
-
/***/
|
|
111
|
+
/***/ 117:
|
|
112
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
113
|
|
|
114
114
|
"use strict";
|
package/Card.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 118);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -108,7 +108,7 @@ module.exports = require("@splunk/react-ui/Clickable");
|
|
|
108
108
|
|
|
109
109
|
/***/ }),
|
|
110
110
|
|
|
111
|
-
/***/
|
|
111
|
+
/***/ 118:
|
|
112
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
113
|
|
|
114
114
|
"use strict";
|
|
@@ -243,7 +243,7 @@ Footer.propTypes = Footer_propTypes;
|
|
|
243
243
|
var i18n_ = __webpack_require__(5);
|
|
244
244
|
|
|
245
245
|
// EXTERNAL MODULE: external "@splunk/react-ui/Anchor"
|
|
246
|
-
var Anchor_ = __webpack_require__(
|
|
246
|
+
var Anchor_ = __webpack_require__(61);
|
|
247
247
|
var Anchor_default = /*#__PURE__*/__webpack_require__.n(Anchor_);
|
|
248
248
|
|
|
249
249
|
// EXTERNAL MODULE: external "@splunk/react-ui/Button"
|
|
@@ -259,7 +259,7 @@ var useSplunkTheme_ = __webpack_require__(38);
|
|
|
259
259
|
var useSplunkTheme_default = /*#__PURE__*/__webpack_require__.n(useSplunkTheme_);
|
|
260
260
|
|
|
261
261
|
// EXTERNAL MODULE: ./src/icons/MoreVertical.tsx
|
|
262
|
-
var MoreVertical = __webpack_require__(
|
|
262
|
+
var MoreVertical = __webpack_require__(62);
|
|
263
263
|
|
|
264
264
|
// CONCATENATED MODULE: ./src/Card/HeaderStyles.ts
|
|
265
265
|
|
|
@@ -436,9 +436,6 @@ var StyledFirefoxFlexHack = external_styled_components_default.a.div.withConfig(
|
|
|
436
436
|
prisma: Object(external_styled_components_["css"])(["border-radius:", ";"], themes_["variables"].borderRadius)
|
|
437
437
|
}));
|
|
438
438
|
|
|
439
|
-
// EXTERNAL MODULE: ./src/CardLayout/CardLayoutContext.tsx
|
|
440
|
-
var CardLayoutContext = __webpack_require__(63);
|
|
441
|
-
|
|
442
439
|
// CONCATENATED MODULE: ./src/Card/Card.tsx
|
|
443
440
|
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
444
441
|
|
|
@@ -492,9 +489,6 @@ function Card_objectWithoutPropertiesLoose(source, excluded) { if (source == nul
|
|
|
492
489
|
|
|
493
490
|
|
|
494
491
|
|
|
495
|
-
|
|
496
|
-
/** @public */
|
|
497
|
-
|
|
498
492
|
var Card_propTypes = {
|
|
499
493
|
children: external_prop_types_default.a.node,
|
|
500
494
|
elementRef: external_prop_types_default.a.oneOfType([external_prop_types_default.a.func, external_prop_types_default.a.object]),
|
|
@@ -524,23 +518,19 @@ function isClickable(props) {
|
|
|
524
518
|
return !!props.onClick || !!props.to;
|
|
525
519
|
}
|
|
526
520
|
|
|
527
|
-
function getSharedProps(props
|
|
528
|
-
var
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
style = props.style,
|
|
521
|
+
function getSharedProps(props) {
|
|
522
|
+
var margin = props.margin,
|
|
523
|
+
maxWidth = props.maxWidth,
|
|
524
|
+
minWidth = props.minWidth,
|
|
532
525
|
selected = props.selected,
|
|
533
526
|
showBorder = props.showBorder,
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
var minWidthContext = context.minWidth,
|
|
537
|
-
maxWidthContext = context.maxWidth,
|
|
538
|
-
marginContext = context.margin;
|
|
527
|
+
style = props.style,
|
|
528
|
+
otherProps = Card_objectWithoutProperties(props, ["margin", "maxWidth", "minWidth", "selected", "showBorder", "style"]);
|
|
539
529
|
|
|
540
530
|
var cardStyle = _objectSpread({
|
|
541
|
-
minWidth:
|
|
542
|
-
maxWidth:
|
|
543
|
-
margin:
|
|
531
|
+
minWidth: minWidth,
|
|
532
|
+
maxWidth: maxWidth,
|
|
533
|
+
margin: margin
|
|
544
534
|
}, style);
|
|
545
535
|
|
|
546
536
|
var sharedProps = {
|
|
@@ -587,7 +577,7 @@ var Card_Card = /*#__PURE__*/function (_Component) {
|
|
|
587
577
|
key: "render",
|
|
588
578
|
value: function render() {
|
|
589
579
|
if (isClickable(this.props)) {
|
|
590
|
-
var _getSharedProps = getSharedProps(this.props
|
|
580
|
+
var _getSharedProps = getSharedProps(this.props),
|
|
591
581
|
_getSharedProps2 = _slicedToArray(_getSharedProps, 2),
|
|
592
582
|
_sharedProps = _getSharedProps2[0],
|
|
593
583
|
_ownProps = _getSharedProps2[1];
|
|
@@ -614,7 +604,7 @@ var Card_Card = /*#__PURE__*/function (_Component) {
|
|
|
614
604
|
}), /*#__PURE__*/external_react_default.a.createElement(StyledFirefoxFlexHack, null, _children));
|
|
615
605
|
}
|
|
616
606
|
|
|
617
|
-
var _getSharedProps3 = getSharedProps(this.props
|
|
607
|
+
var _getSharedProps3 = getSharedProps(this.props),
|
|
618
608
|
_getSharedProps4 = _slicedToArray(_getSharedProps3, 2),
|
|
619
609
|
sharedProps = _getSharedProps4[0],
|
|
620
610
|
ownProps = _getSharedProps4[1];
|
|
@@ -641,8 +631,6 @@ _defineProperty(Card_Card, "propTypes", Card_propTypes);
|
|
|
641
631
|
|
|
642
632
|
_defineProperty(Card_Card, "defaultProps", defaultProps);
|
|
643
633
|
|
|
644
|
-
_defineProperty(Card_Card, "contextType", CardLayoutContext["a" /* default */]);
|
|
645
|
-
|
|
646
634
|
_defineProperty(Card_Card, "Header", Card_Header);
|
|
647
635
|
|
|
648
636
|
_defineProperty(Card_Card, "Body", Card_Body);
|
|
@@ -725,13 +713,20 @@ function SVG(props) {
|
|
|
725
713
|
/***/ }),
|
|
726
714
|
|
|
727
715
|
/***/ 61:
|
|
716
|
+
/***/ (function(module, exports) {
|
|
717
|
+
|
|
718
|
+
module.exports = require("@splunk/react-ui/Anchor");
|
|
719
|
+
|
|
720
|
+
/***/ }),
|
|
721
|
+
|
|
722
|
+
/***/ 62:
|
|
728
723
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
729
724
|
|
|
730
725
|
"use strict";
|
|
731
726
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MoreVertical; });
|
|
732
727
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
733
728
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
734
|
-
/* harmony import */ var _splunk_react_icons_MoreVertical__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
729
|
+
/* harmony import */ var _splunk_react_icons_MoreVertical__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(63);
|
|
735
730
|
/* harmony import */ var _splunk_react_icons_MoreVertical__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_MoreVertical__WEBPACK_IMPORTED_MODULE_1__);
|
|
736
731
|
/* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
|
|
737
732
|
/* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
|
|
@@ -762,27 +757,13 @@ function MoreVertical(props) {
|
|
|
762
757
|
|
|
763
758
|
/***/ }),
|
|
764
759
|
|
|
765
|
-
/***/
|
|
760
|
+
/***/ 63:
|
|
766
761
|
/***/ (function(module, exports) {
|
|
767
762
|
|
|
768
763
|
module.exports = require("@splunk/react-icons/MoreVertical");
|
|
769
764
|
|
|
770
765
|
/***/ }),
|
|
771
766
|
|
|
772
|
-
/***/ 63:
|
|
773
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
774
|
-
|
|
775
|
-
"use strict";
|
|
776
|
-
/* unused harmony export CardLayoutContext */
|
|
777
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
778
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
779
|
-
|
|
780
|
-
var CardLayoutContext = /*#__PURE__*/Object(react__WEBPACK_IMPORTED_MODULE_0__["createContext"])({});
|
|
781
|
-
CardLayoutContext.displayName = 'CardLayout';
|
|
782
|
-
/* harmony default export */ __webpack_exports__["a"] = (CardLayoutContext);
|
|
783
|
-
|
|
784
|
-
/***/ }),
|
|
785
|
-
|
|
786
767
|
/***/ 7:
|
|
787
768
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
788
769
|
|
|
@@ -906,13 +887,6 @@ Icon.defaultProps = defaultProps;
|
|
|
906
887
|
|
|
907
888
|
module.exports = require("@splunk/react-ui/Box");
|
|
908
889
|
|
|
909
|
-
/***/ }),
|
|
910
|
-
|
|
911
|
-
/***/ 84:
|
|
912
|
-
/***/ (function(module, exports) {
|
|
913
|
-
|
|
914
|
-
module.exports = require("@splunk/react-ui/Anchor");
|
|
915
|
-
|
|
916
890
|
/***/ })
|
|
917
891
|
|
|
918
892
|
/******/ });
|
package/CardLayout.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 151);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 151:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|
|
@@ -140,9 +140,6 @@ var Styled = external_styled_components_default.a.div.withConfig({
|
|
|
140
140
|
right: Object(external_styled_components_["css"])(["justify-content:flex-end;"])
|
|
141
141
|
}));
|
|
142
142
|
|
|
143
|
-
// EXTERNAL MODULE: ./src/CardLayout/CardLayoutContext.tsx
|
|
144
|
-
var CardLayoutContext = __webpack_require__(63);
|
|
145
|
-
|
|
146
143
|
// CONCATENATED MODULE: ./src/CardLayout/CardLayout.tsx
|
|
147
144
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
148
145
|
|
|
@@ -159,7 +156,6 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
159
156
|
|
|
160
157
|
|
|
161
158
|
|
|
162
|
-
|
|
163
159
|
var propTypes = {
|
|
164
160
|
alignCards: external_prop_types_default.a.oneOf(['left', 'center', 'right']),
|
|
165
161
|
cardMaxWidth: external_prop_types_default.a.oneOfType([external_prop_types_default.a.number, external_prop_types_default.a.string]),
|
|
@@ -186,25 +182,22 @@ function CardLayout(_ref) {
|
|
|
186
182
|
wrapCards = _ref$wrapCards === void 0 ? true : _ref$wrapCards,
|
|
187
183
|
otherProps = _objectWithoutProperties(_ref, ["alignCards", "cardMaxWidth", "cardMinWidth", "cardWidth", "children", "elementRef", "gutterSize", "style", "wrapCards"]);
|
|
188
184
|
|
|
189
|
-
var
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
185
|
+
var clonedChildren = external_react_["Children"].toArray(children).filter(external_react_["isValidElement"]).map(function (child) {
|
|
186
|
+
return /*#__PURE__*/Object(external_react_["cloneElement"])(child, {
|
|
187
|
+
minWidth: cardWidth || cardMinWidth || undefined,
|
|
188
|
+
maxWidth: cardWidth || cardMaxWidth || undefined,
|
|
189
|
+
margin: gutterSize / 2
|
|
190
|
+
});
|
|
191
|
+
});
|
|
193
192
|
return /*#__PURE__*/external_react_default.a.createElement(Styled, _extends({
|
|
193
|
+
"data-test": "card-layout",
|
|
194
|
+
$alignCards: alignCards,
|
|
195
|
+
$wrapCards: wrapCards,
|
|
194
196
|
ref: elementRef,
|
|
195
197
|
style: _objectSpread({
|
|
196
198
|
padding: gutterSize / 2
|
|
197
|
-
}, style)
|
|
198
|
-
|
|
199
|
-
$alignCards: alignCards,
|
|
200
|
-
$wrapCards: wrapCards
|
|
201
|
-
}, otherProps), /*#__PURE__*/external_react_default.a.createElement(CardLayoutContext["a" /* default */].Provider, {
|
|
202
|
-
value: {
|
|
203
|
-
minWidth: minWidth,
|
|
204
|
-
maxWidth: maxWidth,
|
|
205
|
-
margin: margin
|
|
206
|
-
}
|
|
207
|
-
}, validChildren));
|
|
199
|
+
}, style)
|
|
200
|
+
}, otherProps), clonedChildren);
|
|
208
201
|
}
|
|
209
202
|
|
|
210
203
|
CardLayout.propTypes = propTypes;
|
|
@@ -226,20 +219,6 @@ module.exports = require("react");
|
|
|
226
219
|
|
|
227
220
|
module.exports = require("styled-components");
|
|
228
221
|
|
|
229
|
-
/***/ }),
|
|
230
|
-
|
|
231
|
-
/***/ 63:
|
|
232
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
233
|
-
|
|
234
|
-
"use strict";
|
|
235
|
-
/* unused harmony export CardLayoutContext */
|
|
236
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
237
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
238
|
-
|
|
239
|
-
var CardLayoutContext = /*#__PURE__*/Object(react__WEBPACK_IMPORTED_MODULE_0__["createContext"])({});
|
|
240
|
-
CardLayoutContext.displayName = 'CardLayout';
|
|
241
|
-
/* harmony default export */ __webpack_exports__["a"] = (CardLayoutContext);
|
|
242
|
-
|
|
243
222
|
/***/ })
|
|
244
223
|
|
|
245
224
|
/******/ });
|
package/Chip.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 152);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -108,7 +108,7 @@ module.exports = require("@splunk/react-ui/Clickable");
|
|
|
108
108
|
|
|
109
109
|
/***/ }),
|
|
110
110
|
|
|
111
|
-
/***/
|
|
111
|
+
/***/ 152:
|
|
112
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
113
|
|
|
114
114
|
"use strict";
|