@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/Markdown.js
CHANGED
|
@@ -61,93 +61,146 @@
|
|
|
61
61
|
e.r(r);
|
|
62
62
|
// EXPORTS
|
|
63
63
|
e.d(r, {
|
|
64
|
-
MarkdownAnchorHeading: () => /* reexport */
|
|
65
|
-
MarkdownBlockquote: () => /* reexport */
|
|
66
|
-
MarkdownCode: () => /* reexport */
|
|
67
|
-
MarkdownCodeBlock: () => /* reexport */
|
|
68
|
-
MarkdownHeading: () => /* reexport */
|
|
69
|
-
MarkdownImage: () => /* reexport */
|
|
70
|
-
MarkdownItem: () => /* reexport */
|
|
71
|
-
MarkdownLink: () => /* reexport */
|
|
72
|
-
MarkdownList: () => /* reexport */
|
|
73
|
-
MarkdownParagraph: () => /* reexport */
|
|
74
|
-
default: () => /* reexport */
|
|
64
|
+
MarkdownAnchorHeading: () => /* reexport */ j,
|
|
65
|
+
MarkdownBlockquote: () => /* reexport */ T,
|
|
66
|
+
MarkdownCode: () => /* reexport */ B,
|
|
67
|
+
MarkdownCodeBlock: () => /* reexport */ F,
|
|
68
|
+
MarkdownHeading: () => /* reexport */ V,
|
|
69
|
+
MarkdownImage: () => /* reexport */ ee,
|
|
70
|
+
MarkdownItem: () => /* reexport */ ge,
|
|
71
|
+
MarkdownLink: () => /* reexport */ ae,
|
|
72
|
+
MarkdownList: () => /* reexport */ ve,
|
|
73
|
+
MarkdownParagraph: () => /* reexport */ ke,
|
|
74
|
+
default: () => /* reexport */ We
|
|
75
75
|
});
|
|
76
76
|
// CONCATENATED MODULE: external "react"
|
|
77
77
|
const n = require("react");
|
|
78
78
|
var t = e.n(n);
|
|
79
79
|
// CONCATENATED MODULE: external "prop-types"
|
|
80
|
-
const
|
|
81
|
-
var
|
|
82
|
-
// CONCATENATED MODULE: external "commonmark-react-renderer"
|
|
83
|
-
const l = require("commonmark-react-renderer");
|
|
84
|
-
var a = e.n(l);
|
|
85
|
-
// CONCATENATED MODULE: external "commonmark"
|
|
86
|
-
const c = require("commonmark");
|
|
87
|
-
// CONCATENATED MODULE: external "@splunk/react-ui/Box"
|
|
88
|
-
const u = require("@splunk/react-ui/Box");
|
|
89
|
-
var s = e.n(u);
|
|
80
|
+
const l = require("prop-types");
|
|
81
|
+
var o = e.n(l);
|
|
90
82
|
// CONCATENATED MODULE: external "styled-components"
|
|
91
|
-
const
|
|
92
|
-
var
|
|
83
|
+
const i = require("styled-components");
|
|
84
|
+
var a = e.n(i);
|
|
85
|
+
// CONCATENATED MODULE: external "react-markdown"
|
|
86
|
+
const u = require("react-markdown");
|
|
87
|
+
var c = e.n(u);
|
|
88
|
+
// CONCATENATED MODULE: external "remark-gfm"
|
|
89
|
+
const s = require("remark-gfm");
|
|
90
|
+
var f = e.n(s);
|
|
91
|
+
// CONCATENATED MODULE: external "@splunk/react-ui/Prose"
|
|
92
|
+
const d = require("@splunk/react-ui/Prose");
|
|
93
|
+
var p = e.n(d);
|
|
94
|
+
// CONCATENATED MODULE: external "@splunk/react-ui/Anchor"
|
|
95
|
+
const v = require("@splunk/react-ui/Anchor");
|
|
96
|
+
var y = e.n(v);
|
|
97
|
+
// CONCATENATED MODULE: ./src/Markdown/renderers/MarkdownAnchorHeading.tsx
|
|
98
|
+
function b() {
|
|
99
|
+
return b = Object.assign ? Object.assign.bind() : function(e) {
|
|
100
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
101
|
+
var n = arguments[r];
|
|
102
|
+
for (var t in n) {
|
|
103
|
+
({}).hasOwnProperty.call(n, t) && (e[t] = n[t]);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
return e;
|
|
107
|
+
}, b.apply(null, arguments);
|
|
108
|
+
}
|
|
109
|
+
function m(e, r) {
|
|
110
|
+
if (null == e) return {};
|
|
111
|
+
var n, t, l = g(e, r);
|
|
112
|
+
if (Object.getOwnPropertySymbols) {
|
|
113
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
114
|
+
for (t = 0; t < o.length; t++) {
|
|
115
|
+
n = o[t], r.includes(n) || {}.propertyIsEnumerable.call(e, n) && (l[n] = e[n]);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
return l;
|
|
119
|
+
}
|
|
120
|
+
function g(e, r) {
|
|
121
|
+
if (null == e) return {};
|
|
122
|
+
var n = {};
|
|
123
|
+
for (var t in e) {
|
|
124
|
+
if ({}.hasOwnProperty.call(e, t)) {
|
|
125
|
+
if (r.includes(t)) continue;
|
|
126
|
+
n[t] = e[t];
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
return n;
|
|
130
|
+
}
|
|
131
|
+
function h(e) {
|
|
132
|
+
"@babel/helpers - typeof";
|
|
133
|
+
return h = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
|
|
134
|
+
return typeof e;
|
|
135
|
+
} : function(e) {
|
|
136
|
+
return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
137
|
+
}, h(e);
|
|
138
|
+
}
|
|
139
|
+
// When this is used in MDX, the node isn't guaranteed to be text,
|
|
140
|
+
// so this method extracts the actual text from the node.
|
|
141
|
+
function O(e) {
|
|
142
|
+
var r = h(e);
|
|
143
|
+
var n = "";
|
|
144
|
+
if (e != null) {
|
|
145
|
+
if (r === "string" || r === "number") {
|
|
146
|
+
n = e.toString();
|
|
147
|
+
} else if (r === "boolean") {
|
|
148
|
+
n = e ? "true" : "false";
|
|
149
|
+
} else if (h(e) === "object") {
|
|
150
|
+
if (e instanceof Array) {
|
|
151
|
+
n = e.map(O).join(" ");
|
|
152
|
+
} else if ("props" in e) {
|
|
153
|
+
n = O(e.props.children);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
return n;
|
|
158
|
+
}
|
|
159
|
+
function w(e) {
|
|
160
|
+
return n.Children.toArray(e).map(O).join(" ").toLowerCase().replace(/[^a-z0-9-. ]/g, "").replace(/[-. ]+/g, "-");
|
|
161
|
+
}
|
|
162
|
+
function P(e) {
|
|
163
|
+
var r = e.level, n = e.children, l = m(e, [ "level", "children" ]);
|
|
164
|
+
|
|
165
|
+
return t().createElement(V, b({
|
|
166
|
+
level: r
|
|
167
|
+
}, l), t().createElement(y(), {
|
|
168
|
+
name: w(n)
|
|
169
|
+
}, n));
|
|
170
|
+
}
|
|
171
|
+
/* harmony default export */ const j = P;
|
|
93
172
|
// CONCATENATED MODULE: external "@splunk/themes"
|
|
94
|
-
const
|
|
173
|
+
const k = require("@splunk/themes");
|
|
95
174
|
// CONCATENATED MODULE: ./src/Markdown/MarkdownStyles.ts
|
|
96
|
-
var
|
|
175
|
+
var S = a().div.withConfig({
|
|
97
176
|
displayName: "MarkdownStyles__StyledCodeBlock",
|
|
98
177
|
componentId: "sc-1xadih-0"
|
|
99
|
-
})([ "", "
|
|
100
|
-
|
|
101
|
-
prisma: (0, f.css)([ "padding:10px ", ";" ], d.variables.spacingLarge)
|
|
102
|
-
}), (0, d.pick)({
|
|
103
|
-
enterprise: d.variables.spacingSmall,
|
|
104
|
-
prisma: d.variables.spacingLarge
|
|
105
|
-
}), (0, d.pick)({
|
|
106
|
-
enterprise: {
|
|
107
|
-
light: d.variables.gray96,
|
|
108
|
-
dark: d.variables.gray22
|
|
109
|
-
},
|
|
110
|
-
prisma: d.variables.backgroundColorSection
|
|
111
|
-
}));
|
|
112
|
-
var b = p().code.withConfig({
|
|
178
|
+
})([ "", "" ], k.mixins.reset("block"));
|
|
179
|
+
var E = a().code.withConfig({
|
|
113
180
|
displayName: "MarkdownStyles__StyledCodeInline",
|
|
114
181
|
componentId: "sc-1xadih-1"
|
|
115
|
-
})([ "", ";font-family:", ";background-color:", ";" ],
|
|
116
|
-
|
|
117
|
-
enterprise: {
|
|
118
|
-
light: d.variables.gray92,
|
|
119
|
-
dark: d.variables.gray22
|
|
120
|
-
},
|
|
121
|
-
prisma: d.variables.neutral200
|
|
122
|
-
}));
|
|
123
|
-
var v = p().blockquote.withConfig({
|
|
182
|
+
})([ "", ";font-family:", ";background-color:", ";" ], k.mixins.reset("inline"), k.variables.monoFontFamily, k.variables.neutral100);
|
|
183
|
+
var R = a().blockquote.withConfig({
|
|
124
184
|
displayName: "MarkdownStyles__StyledHint",
|
|
125
185
|
componentId: "sc-1xadih-2"
|
|
126
|
-
})([ "", "
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
},
|
|
132
|
-
prisma: d.variables.neutral100
|
|
133
|
-
}), d.variables.spacingSmall, d.variables.infoColor);
|
|
134
|
-
var m = p().img.withConfig({
|
|
135
|
-
displayName: "MarkdownStyles__StyledImage",
|
|
136
|
-
componentId: "sc-1xadih-3"
|
|
137
|
-
})([ "max-width:100%;" ]);
|
|
186
|
+
})([ "", " padding:", ";border-left:10px solid ", ";>:last-child{margin-bottom:0;}" ], k.mixins.reset("block"), k.variables.spacingSmall, (0,
|
|
187
|
+
k.pick)({
|
|
188
|
+
dark: k.variables.white,
|
|
189
|
+
light: k.variables.neutral500
|
|
190
|
+
}));
|
|
138
191
|
// CONCATENATED MODULE: ./src/Markdown/renderers/MarkdownBlockquote.tsx
|
|
139
|
-
function
|
|
192
|
+
function q(e, r) {
|
|
140
193
|
if (null == e) return {};
|
|
141
|
-
var n, t,
|
|
194
|
+
var n, t, l = I(e, r);
|
|
142
195
|
if (Object.getOwnPropertySymbols) {
|
|
143
|
-
var
|
|
144
|
-
for (t = 0; t <
|
|
145
|
-
n =
|
|
196
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
197
|
+
for (t = 0; t < o.length; t++) {
|
|
198
|
+
n = o[t], r.includes(n) || {}.propertyIsEnumerable.call(e, n) && (l[n] = e[n]);
|
|
146
199
|
}
|
|
147
200
|
}
|
|
148
|
-
return
|
|
201
|
+
return l;
|
|
149
202
|
}
|
|
150
|
-
function
|
|
203
|
+
function I(e, r) {
|
|
151
204
|
if (null == e) return {};
|
|
152
205
|
var n = {};
|
|
153
206
|
for (var t in e) {
|
|
@@ -158,29 +211,25 @@
|
|
|
158
211
|
}
|
|
159
212
|
return n;
|
|
160
213
|
}
|
|
161
|
-
|
|
162
|
-
children
|
|
163
|
-
};
|
|
164
|
-
function w(e) {
|
|
165
|
-
var r = e.children, n = g(e, [ "children" ]);
|
|
214
|
+
function M(e) {
|
|
215
|
+
var r = e.children, n = q(e, [ "children" ]);
|
|
166
216
|
|
|
167
|
-
return t().createElement(
|
|
217
|
+
return t().createElement(R, n, r);
|
|
168
218
|
}
|
|
169
|
-
|
|
170
|
-
/* harmony default export */ const k = w;
|
|
219
|
+
/* harmony default export */ const T = M;
|
|
171
220
|
// CONCATENATED MODULE: ./src/Markdown/renderers/MarkdownCode.tsx
|
|
172
|
-
function
|
|
221
|
+
function C(e, r) {
|
|
173
222
|
if (null == e) return {};
|
|
174
|
-
var n, t,
|
|
223
|
+
var n, t, l = x(e, r);
|
|
175
224
|
if (Object.getOwnPropertySymbols) {
|
|
176
|
-
var
|
|
177
|
-
for (t = 0; t <
|
|
178
|
-
n =
|
|
225
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
226
|
+
for (t = 0; t < o.length; t++) {
|
|
227
|
+
n = o[t], r.includes(n) || {}.propertyIsEnumerable.call(e, n) && (l[n] = e[n]);
|
|
179
228
|
}
|
|
180
229
|
}
|
|
181
|
-
return
|
|
230
|
+
return l;
|
|
182
231
|
}
|
|
183
|
-
function
|
|
232
|
+
function x(e, r) {
|
|
184
233
|
if (null == e) return {};
|
|
185
234
|
var n = {};
|
|
186
235
|
for (var t in e) {
|
|
@@ -191,34 +240,30 @@
|
|
|
191
240
|
}
|
|
192
241
|
return n;
|
|
193
242
|
}
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
};
|
|
197
|
-
function R(e) {
|
|
198
|
-
var r = e.literal, n = P(e, [ "literal" ]);
|
|
243
|
+
function _(e) {
|
|
244
|
+
var r = e.children, n = C(e, [ "children" ]);
|
|
199
245
|
|
|
200
|
-
return t().createElement(
|
|
246
|
+
return t().createElement(E, n, r);
|
|
201
247
|
}
|
|
202
|
-
|
|
203
|
-
/* harmony default export */ const E = R;
|
|
248
|
+
/* harmony default export */ const B = _;
|
|
204
249
|
// CONCATENATED MODULE: external "@splunk/react-ui/Code"
|
|
205
|
-
const
|
|
206
|
-
var
|
|
250
|
+
const H = require("@splunk/react-ui/Code");
|
|
251
|
+
var A = e.n(H);
|
|
207
252
|
// CONCATENATED MODULE: external "@splunk/ui-utils/i18n"
|
|
208
|
-
const
|
|
253
|
+
const U = require("@splunk/ui-utils/i18n");
|
|
209
254
|
// CONCATENATED MODULE: ./src/Markdown/renderers/MarkdownCodeBlock.tsx
|
|
210
|
-
function
|
|
255
|
+
function L(e, r) {
|
|
211
256
|
if (null == e) return {};
|
|
212
|
-
var n, t,
|
|
257
|
+
var n, t, l = N(e, r);
|
|
213
258
|
if (Object.getOwnPropertySymbols) {
|
|
214
|
-
var
|
|
215
|
-
for (t = 0; t <
|
|
216
|
-
n =
|
|
259
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
260
|
+
for (t = 0; t < o.length; t++) {
|
|
261
|
+
n = o[t], r.includes(n) || {}.propertyIsEnumerable.call(e, n) && (l[n] = e[n]);
|
|
217
262
|
}
|
|
218
263
|
}
|
|
219
|
-
return
|
|
264
|
+
return l;
|
|
220
265
|
}
|
|
221
|
-
function
|
|
266
|
+
function N(e, r) {
|
|
222
267
|
if (null == e) return {};
|
|
223
268
|
var n = {};
|
|
224
269
|
for (var t in e) {
|
|
@@ -229,30 +274,22 @@
|
|
|
229
274
|
}
|
|
230
275
|
return n;
|
|
231
276
|
}
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
language: i().string
|
|
235
|
-
};
|
|
236
|
-
function _(e) {
|
|
237
|
-
var r = e.literal, n = e.language, o = C(e, [ "literal", "language" ]);
|
|
277
|
+
function D(e) {
|
|
278
|
+
var r = e.children, n = e.language, l = L(e, [ "children", "language" ]);
|
|
238
279
|
|
|
239
|
-
return t().createElement(
|
|
240
|
-
"aria-label": (0,
|
|
280
|
+
return t().createElement(S, l, t().createElement(A(), {
|
|
281
|
+
"aria-label": (0, U._)("Code Block"),
|
|
241
282
|
language: n,
|
|
242
|
-
value: r
|
|
243
|
-
style: {
|
|
244
|
-
margin: 0
|
|
245
|
-
}
|
|
283
|
+
value: String(r).replace(/\n$/, "")
|
|
246
284
|
}));
|
|
247
285
|
}
|
|
248
|
-
|
|
249
|
-
/* harmony default export */ const B = _;
|
|
286
|
+
/* harmony default export */ const F = D;
|
|
250
287
|
// CONCATENATED MODULE: external "@splunk/react-ui/Heading"
|
|
251
|
-
const
|
|
252
|
-
var
|
|
288
|
+
const z = require("@splunk/react-ui/Heading");
|
|
289
|
+
var $ = e.n(z);
|
|
253
290
|
// CONCATENATED MODULE: ./src/Markdown/renderers/MarkdownHeading.tsx
|
|
254
|
-
function
|
|
255
|
-
return
|
|
291
|
+
function G() {
|
|
292
|
+
return G = Object.assign ? Object.assign.bind() : function(e) {
|
|
256
293
|
for (var r = 1; r < arguments.length; r++) {
|
|
257
294
|
var n = arguments[r];
|
|
258
295
|
for (var t in n) {
|
|
@@ -260,20 +297,20 @@
|
|
|
260
297
|
}
|
|
261
298
|
}
|
|
262
299
|
return e;
|
|
263
|
-
},
|
|
300
|
+
}, G.apply(null, arguments);
|
|
264
301
|
}
|
|
265
|
-
function
|
|
302
|
+
function J(e, r) {
|
|
266
303
|
if (null == e) return {};
|
|
267
|
-
var n, t,
|
|
304
|
+
var n, t, l = K(e, r);
|
|
268
305
|
if (Object.getOwnPropertySymbols) {
|
|
269
|
-
var
|
|
270
|
-
for (t = 0; t <
|
|
271
|
-
n =
|
|
306
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
307
|
+
for (t = 0; t < o.length; t++) {
|
|
308
|
+
n = o[t], r.includes(n) || {}.propertyIsEnumerable.call(e, n) && (l[n] = e[n]);
|
|
272
309
|
}
|
|
273
310
|
}
|
|
274
|
-
return
|
|
311
|
+
return l;
|
|
275
312
|
}
|
|
276
|
-
function
|
|
313
|
+
function K(e, r) {
|
|
277
314
|
if (null == e) return {};
|
|
278
315
|
var n = {};
|
|
279
316
|
for (var t in e) {
|
|
@@ -284,24 +321,18 @@
|
|
|
284
321
|
}
|
|
285
322
|
return n;
|
|
286
323
|
}
|
|
287
|
-
|
|
288
|
-
children
|
|
289
|
-
|
|
290
|
-
function z(e) {
|
|
291
|
-
var r = e.level, n = e.children, o = N(e, [ "level", "children" ]);
|
|
324
|
+
function Q(e) {
|
|
325
|
+
var r = e.level, n = e.children, l = J(e, [ "level", "children" ]);
|
|
326
|
+
var o = Math.min(r, 6);
|
|
292
327
|
|
|
293
|
-
return t().createElement(
|
|
294
|
-
level:
|
|
295
|
-
},
|
|
328
|
+
return t().createElement($(), G({
|
|
329
|
+
level: o
|
|
330
|
+
}, l), n);
|
|
296
331
|
}
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
var K = e.n(J);
|
|
302
|
-
// CONCATENATED MODULE: ./src/Markdown/renderers/MarkdownAnchorHeading.tsx
|
|
303
|
-
function Q() {
|
|
304
|
-
return Q = Object.assign ? Object.assign.bind() : function(e) {
|
|
332
|
+
/* harmony default export */ const V = Q;
|
|
333
|
+
// CONCATENATED MODULE: ./src/Markdown/renderers/MarkdownImage.tsx
|
|
334
|
+
function W() {
|
|
335
|
+
return W = Object.assign ? Object.assign.bind() : function(e) {
|
|
305
336
|
for (var r = 1; r < arguments.length; r++) {
|
|
306
337
|
var n = arguments[r];
|
|
307
338
|
for (var t in n) {
|
|
@@ -309,20 +340,20 @@
|
|
|
309
340
|
}
|
|
310
341
|
}
|
|
311
342
|
return e;
|
|
312
|
-
},
|
|
343
|
+
}, W.apply(null, arguments);
|
|
313
344
|
}
|
|
314
|
-
function
|
|
345
|
+
function X(e, r) {
|
|
315
346
|
if (null == e) return {};
|
|
316
|
-
var n, t,
|
|
347
|
+
var n, t, l = Y(e, r);
|
|
317
348
|
if (Object.getOwnPropertySymbols) {
|
|
318
|
-
var
|
|
319
|
-
for (t = 0; t <
|
|
320
|
-
n =
|
|
349
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
350
|
+
for (t = 0; t < o.length; t++) {
|
|
351
|
+
n = o[t], r.includes(n) || {}.propertyIsEnumerable.call(e, n) && (l[n] = e[n]);
|
|
321
352
|
}
|
|
322
353
|
}
|
|
323
|
-
return
|
|
354
|
+
return l;
|
|
324
355
|
}
|
|
325
|
-
function
|
|
356
|
+
function Y(e, r) {
|
|
326
357
|
if (null == e) return {};
|
|
327
358
|
var n = {};
|
|
328
359
|
for (var t in e) {
|
|
@@ -333,54 +364,22 @@
|
|
|
333
364
|
}
|
|
334
365
|
return n;
|
|
335
366
|
}
|
|
336
|
-
function W(e) {
|
|
337
|
-
"@babel/helpers - typeof";
|
|
338
|
-
return W = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
|
|
339
|
-
return typeof e;
|
|
340
|
-
} : function(e) {
|
|
341
|
-
return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
342
|
-
}, W(e);
|
|
343
|
-
}
|
|
344
|
-
var X = {
|
|
345
|
-
children: i().node
|
|
346
|
-
};
|
|
347
|
-
// When this is used in MDX, the node isn't guaranteed to be text,
|
|
348
|
-
// so this method extracts the actual text from the node.
|
|
349
|
-
function Y(e) {
|
|
350
|
-
var r = W(e);
|
|
351
|
-
var n = "";
|
|
352
|
-
if (e != null) {
|
|
353
|
-
if (r === "string" || r === "number") {
|
|
354
|
-
n = e.toString();
|
|
355
|
-
} else if (r === "boolean") {
|
|
356
|
-
n = e ? "true" : "false";
|
|
357
|
-
} else if (W(e) === "object") {
|
|
358
|
-
if (e instanceof Array) {
|
|
359
|
-
n = e.map(Y).join(" ");
|
|
360
|
-
} else if ("props" in e) {
|
|
361
|
-
n = Y(e.props.children);
|
|
362
|
-
}
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
return n;
|
|
366
|
-
}
|
|
367
367
|
function Z(e) {
|
|
368
|
-
|
|
369
|
-
}
|
|
370
|
-
function $(e) {
|
|
371
|
-
var r = e.level, n = e.children, o = U(e, [ "level", "children" ]);
|
|
368
|
+
var r = e.src, n = e.title, l = e.alt, o = X(e, [ "src", "title", "alt" ]);
|
|
372
369
|
|
|
373
|
-
return t().createElement(
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
},
|
|
370
|
+
return t().createElement("img", W({
|
|
371
|
+
src: r,
|
|
372
|
+
title: n,
|
|
373
|
+
alt: l
|
|
374
|
+
}, o));
|
|
378
375
|
}
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
376
|
+
/* harmony default export */ const ee = Z;
|
|
377
|
+
// CONCATENATED MODULE: external "@splunk/react-ui/Link"
|
|
378
|
+
const re = require("@splunk/react-ui/Link");
|
|
379
|
+
var ne = e.n(re);
|
|
380
|
+
// CONCATENATED MODULE: ./src/Markdown/renderers/MarkdownLink.tsx
|
|
381
|
+
function te() {
|
|
382
|
+
return te = Object.assign ? Object.assign.bind() : function(e) {
|
|
384
383
|
for (var r = 1; r < arguments.length; r++) {
|
|
385
384
|
var n = arguments[r];
|
|
386
385
|
for (var t in n) {
|
|
@@ -388,20 +387,20 @@
|
|
|
388
387
|
}
|
|
389
388
|
}
|
|
390
389
|
return e;
|
|
391
|
-
},
|
|
390
|
+
}, te.apply(null, arguments);
|
|
392
391
|
}
|
|
393
|
-
function
|
|
392
|
+
function le(e, r) {
|
|
394
393
|
if (null == e) return {};
|
|
395
|
-
var n, t,
|
|
394
|
+
var n, t, l = oe(e, r);
|
|
396
395
|
if (Object.getOwnPropertySymbols) {
|
|
397
|
-
var
|
|
398
|
-
for (t = 0; t <
|
|
399
|
-
n =
|
|
396
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
397
|
+
for (t = 0; t < o.length; t++) {
|
|
398
|
+
n = o[t], r.includes(n) || {}.propertyIsEnumerable.call(e, n) && (l[n] = e[n]);
|
|
400
399
|
}
|
|
401
400
|
}
|
|
402
|
-
return
|
|
401
|
+
return l;
|
|
403
402
|
}
|
|
404
|
-
function
|
|
403
|
+
function oe(e, r) {
|
|
405
404
|
if (null == e) return {};
|
|
406
405
|
var n = {};
|
|
407
406
|
for (var t in e) {
|
|
@@ -412,28 +411,20 @@
|
|
|
412
411
|
}
|
|
413
412
|
return n;
|
|
414
413
|
}
|
|
415
|
-
var oe = {
|
|
416
|
-
alt: i().string,
|
|
417
|
-
src: i().string,
|
|
418
|
-
title: i().string
|
|
419
|
-
};
|
|
420
414
|
function ie(e) {
|
|
421
|
-
var r = e.
|
|
415
|
+
var r = e.children, n = e.href, l = le(e, [ "children", "href" ]);
|
|
422
416
|
|
|
423
|
-
return t().createElement(
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
alt: o
|
|
427
|
-
}, i));
|
|
417
|
+
return t().createElement(ne(), te({
|
|
418
|
+
to: n
|
|
419
|
+
}, l), r);
|
|
428
420
|
}
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
return ue = Object.assign ? Object.assign.bind() : function(e) {
|
|
421
|
+
/* harmony default export */ const ae = ie;
|
|
422
|
+
// CONCATENATED MODULE: external "@splunk/react-ui/List"
|
|
423
|
+
const ue = require("@splunk/react-ui/List");
|
|
424
|
+
var ce = e.n(ue);
|
|
425
|
+
// CONCATENATED MODULE: ./src/Markdown/renderers/MarkdownList.tsx
|
|
426
|
+
function se() {
|
|
427
|
+
return se = Object.assign ? Object.assign.bind() : function(e) {
|
|
437
428
|
for (var r = 1; r < arguments.length; r++) {
|
|
438
429
|
var n = arguments[r];
|
|
439
430
|
for (var t in n) {
|
|
@@ -441,20 +432,20 @@
|
|
|
441
432
|
}
|
|
442
433
|
}
|
|
443
434
|
return e;
|
|
444
|
-
},
|
|
435
|
+
}, se.apply(null, arguments);
|
|
445
436
|
}
|
|
446
|
-
function
|
|
437
|
+
function fe(e, r) {
|
|
447
438
|
if (null == e) return {};
|
|
448
|
-
var n, t,
|
|
439
|
+
var n, t, l = de(e, r);
|
|
449
440
|
if (Object.getOwnPropertySymbols) {
|
|
450
|
-
var
|
|
451
|
-
for (t = 0; t <
|
|
452
|
-
n =
|
|
441
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
442
|
+
for (t = 0; t < o.length; t++) {
|
|
443
|
+
n = o[t], r.includes(n) || {}.propertyIsEnumerable.call(e, n) && (l[n] = e[n]);
|
|
453
444
|
}
|
|
454
445
|
}
|
|
455
|
-
return
|
|
446
|
+
return l;
|
|
456
447
|
}
|
|
457
|
-
function
|
|
448
|
+
function de(e, r) {
|
|
458
449
|
if (null == e) return {};
|
|
459
450
|
var n = {};
|
|
460
451
|
for (var t in e) {
|
|
@@ -465,47 +456,27 @@
|
|
|
465
456
|
}
|
|
466
457
|
return n;
|
|
467
458
|
}
|
|
468
|
-
|
|
469
|
-
children
|
|
470
|
-
href: i().string,
|
|
471
|
-
title: i().string
|
|
472
|
-
};
|
|
473
|
-
function de(e) {
|
|
474
|
-
var r = e.children, n = e.href, o = se(e, [ "children", "href" ]);
|
|
459
|
+
function pe(e) {
|
|
460
|
+
var r = e.children, n = e.ordered, l = fe(e, [ "children", "ordered" ]);
|
|
475
461
|
|
|
476
|
-
return t().createElement(ce(),
|
|
477
|
-
|
|
478
|
-
}
|
|
462
|
+
return t().createElement(ce(), se({}, l, {
|
|
463
|
+
ordered: n
|
|
464
|
+
}), r);
|
|
479
465
|
}
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
const be = require("@splunk/react-ui/List");
|
|
484
|
-
var ve = e.n(be);
|
|
485
|
-
// CONCATENATED MODULE: ./src/Markdown/renderers/MarkdownList.tsx
|
|
486
|
-
function me() {
|
|
487
|
-
return me = Object.assign ? Object.assign.bind() : function(e) {
|
|
488
|
-
for (var r = 1; r < arguments.length; r++) {
|
|
489
|
-
var n = arguments[r];
|
|
490
|
-
for (var t in n) {
|
|
491
|
-
({}).hasOwnProperty.call(n, t) && (e[t] = n[t]);
|
|
492
|
-
}
|
|
493
|
-
}
|
|
494
|
-
return e;
|
|
495
|
-
}, me.apply(null, arguments);
|
|
496
|
-
}
|
|
497
|
-
function ge(e, r) {
|
|
466
|
+
/* harmony default export */ const ve = pe;
|
|
467
|
+
// CONCATENATED MODULE: ./src/Markdown/renderers/MarkdownItem.tsx
|
|
468
|
+
function ye(e, r) {
|
|
498
469
|
if (null == e) return {};
|
|
499
|
-
var n, t,
|
|
470
|
+
var n, t, l = be(e, r);
|
|
500
471
|
if (Object.getOwnPropertySymbols) {
|
|
501
|
-
var
|
|
502
|
-
for (t = 0; t <
|
|
503
|
-
n =
|
|
472
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
473
|
+
for (t = 0; t < o.length; t++) {
|
|
474
|
+
n = o[t], r.includes(n) || {}.propertyIsEnumerable.call(e, n) && (l[n] = e[n]);
|
|
504
475
|
}
|
|
505
476
|
}
|
|
506
|
-
return
|
|
477
|
+
return l;
|
|
507
478
|
}
|
|
508
|
-
function
|
|
479
|
+
function be(e, r) {
|
|
509
480
|
if (null == e) return {};
|
|
510
481
|
var n = {};
|
|
511
482
|
for (var t in e) {
|
|
@@ -516,36 +487,28 @@
|
|
|
516
487
|
}
|
|
517
488
|
return n;
|
|
518
489
|
}
|
|
519
|
-
|
|
520
|
-
children
|
|
521
|
-
type: i().string
|
|
522
|
-
};
|
|
523
|
-
function we(e) {
|
|
524
|
-
var r = e.children, n = e.type, o = ge(e, [ "children", "type" ]);
|
|
525
|
-
if (n === "ordered") {
|
|
526
|
-
|
|
527
|
-
return t().createElement(ve(), me({}, o, {
|
|
528
|
-
ordered: true
|
|
529
|
-
}), r);
|
|
530
|
-
}
|
|
490
|
+
function me(e) {
|
|
491
|
+
var r = e.children, n = ye(e, [ "children" ]);
|
|
531
492
|
|
|
532
|
-
return t().createElement(
|
|
493
|
+
return t().createElement(ue.Item, n, r);
|
|
533
494
|
}
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
495
|
+
/* harmony default export */ const ge = me;
|
|
496
|
+
// CONCATENATED MODULE: external "@splunk/react-ui/Paragraph"
|
|
497
|
+
const he = require("@splunk/react-ui/Paragraph");
|
|
498
|
+
var Oe = e.n(he);
|
|
499
|
+
// CONCATENATED MODULE: ./src/Markdown/renderers/MarkdownParagraph.tsx
|
|
500
|
+
function we(e, r) {
|
|
538
501
|
if (null == e) return {};
|
|
539
|
-
var n, t,
|
|
502
|
+
var n, t, l = Pe(e, r);
|
|
540
503
|
if (Object.getOwnPropertySymbols) {
|
|
541
|
-
var
|
|
542
|
-
for (t = 0; t <
|
|
543
|
-
n =
|
|
504
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
505
|
+
for (t = 0; t < o.length; t++) {
|
|
506
|
+
n = o[t], r.includes(n) || {}.propertyIsEnumerable.call(e, n) && (l[n] = e[n]);
|
|
544
507
|
}
|
|
545
508
|
}
|
|
546
|
-
return
|
|
509
|
+
return l;
|
|
547
510
|
}
|
|
548
|
-
function
|
|
511
|
+
function Pe(e, r) {
|
|
549
512
|
if (null == e) return {};
|
|
550
513
|
var n = {};
|
|
551
514
|
for (var t in e) {
|
|
@@ -556,32 +519,39 @@
|
|
|
556
519
|
}
|
|
557
520
|
return n;
|
|
558
521
|
}
|
|
559
|
-
|
|
560
|
-
children
|
|
561
|
-
};
|
|
562
|
-
function Re(e) {
|
|
563
|
-
var r = e.children, n = Pe(e, [ "children" ]);
|
|
522
|
+
function je(e) {
|
|
523
|
+
var r = e.children, n = we(e, [ "children" ]);
|
|
564
524
|
|
|
565
|
-
return t().createElement(
|
|
525
|
+
return t().createElement(Oe(), n, r);
|
|
526
|
+
}
|
|
527
|
+
/* harmony default export */ const ke = je;
|
|
528
|
+
// CONCATENATED MODULE: external "@splunk/react-ui/Table"
|
|
529
|
+
const Se = require("@splunk/react-ui/Table");
|
|
530
|
+
var Ee = e.n(Se);
|
|
531
|
+
// CONCATENATED MODULE: ./src/Markdown/renderers/MarkdownTable.tsx
|
|
532
|
+
function Re() {
|
|
533
|
+
return Re = Object.assign ? Object.assign.bind() : function(e) {
|
|
534
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
535
|
+
var n = arguments[r];
|
|
536
|
+
for (var t in n) {
|
|
537
|
+
({}).hasOwnProperty.call(n, t) && (e[t] = n[t]);
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
return e;
|
|
541
|
+
}, Re.apply(null, arguments);
|
|
566
542
|
}
|
|
567
|
-
|
|
568
|
-
/* harmony default export */ const Ee = Re;
|
|
569
|
-
// CONCATENATED MODULE: external "@splunk/react-ui/Paragraph"
|
|
570
|
-
const Ie = require("@splunk/react-ui/Paragraph");
|
|
571
|
-
var qe = e.n(Ie);
|
|
572
|
-
// CONCATENATED MODULE: ./src/Markdown/renderers/MarkdownParagraph.tsx
|
|
573
|
-
function Me(e, r) {
|
|
543
|
+
function qe(e, r) {
|
|
574
544
|
if (null == e) return {};
|
|
575
|
-
var n, t,
|
|
545
|
+
var n, t, l = Ie(e, r);
|
|
576
546
|
if (Object.getOwnPropertySymbols) {
|
|
577
|
-
var
|
|
578
|
-
for (t = 0; t <
|
|
579
|
-
n =
|
|
547
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
548
|
+
for (t = 0; t < o.length; t++) {
|
|
549
|
+
n = o[t], r.includes(n) || {}.propertyIsEnumerable.call(e, n) && (l[n] = e[n]);
|
|
580
550
|
}
|
|
581
551
|
}
|
|
582
|
-
return
|
|
552
|
+
return l;
|
|
583
553
|
}
|
|
584
|
-
function
|
|
554
|
+
function Ie(e, r) {
|
|
585
555
|
if (null == e) return {};
|
|
586
556
|
var n = {};
|
|
587
557
|
for (var t in e) {
|
|
@@ -592,27 +562,71 @@
|
|
|
592
562
|
}
|
|
593
563
|
return n;
|
|
594
564
|
}
|
|
595
|
-
|
|
596
|
-
children
|
|
597
|
-
|
|
565
|
+
function Me(e) {
|
|
566
|
+
var r = e.children, n = qe(e, [ "children" ]);
|
|
567
|
+
|
|
568
|
+
return t().createElement(Ee(), n, r);
|
|
569
|
+
}
|
|
570
|
+
Me.splunkUiType = "Table";
|
|
598
571
|
function Te(e) {
|
|
599
|
-
var r = e.children, n =
|
|
572
|
+
var r = e.children, n = qe(e, [ "children" ]);
|
|
600
573
|
|
|
601
|
-
return t().createElement(
|
|
574
|
+
return t().createElement(Ee().Body, n, r);
|
|
602
575
|
}
|
|
603
|
-
Te.
|
|
604
|
-
|
|
605
|
-
|
|
576
|
+
Te.splunkUiType = "Table.Body";
|
|
577
|
+
function Ce(e) {
|
|
578
|
+
var r = e.children, n = e.style, l = qe(e, [ "children", "style" ]);
|
|
579
|
+
|
|
580
|
+
return t().createElement(Ee().Cell, Re({}, l, {
|
|
581
|
+
align: n === null || n === void 0 ? void 0 : n.textAlign
|
|
582
|
+
}), r);
|
|
583
|
+
}
|
|
584
|
+
Ce.splunkUiType = "Table.Cell";
|
|
585
|
+
function xe(e) {
|
|
586
|
+
var r;
|
|
587
|
+
return (e === null || e === void 0 ? void 0 : (r = e.props) === null || r === void 0 ? void 0 : r.children) != null;
|
|
588
|
+
}
|
|
589
|
+
// `Table.Head` automatically adds a `tr`, so the one generated by `react-markdown` needs to be thrown out
|
|
590
|
+
function _e(e) {
|
|
591
|
+
var r = e.children, n = qe(e, [ "children" ]);
|
|
592
|
+
// We can assume there is only one tr inside of thead as multiple trs are not supported in Markdown tables
|
|
593
|
+
var l = r[0];
|
|
594
|
+
// The types from react-markdown are in conflict here.
|
|
595
|
+
// react-markdown expects the `thead` component to take React.ReactNode as children to be a valid custom component,
|
|
596
|
+
// but will actually be passed react components from our custom `th` components, which also have children props
|
|
597
|
+
var o;
|
|
598
|
+
if (xe(l)) {
|
|
599
|
+
o = l.props.children;
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
return t().createElement(Ee().Head, n, o);
|
|
603
|
+
}
|
|
604
|
+
_e.splunkUiType = "Table.Head";
|
|
606
605
|
function Be(e) {
|
|
606
|
+
var r = e.children, n = e.style, l = qe(e, [ "children", "style" ]);
|
|
607
|
+
|
|
608
|
+
return t().createElement(Ee().HeadCell, Re({}, l, {
|
|
609
|
+
align: n === null || n === void 0 ? void 0 : n.textAlign
|
|
610
|
+
}), r);
|
|
611
|
+
}
|
|
612
|
+
Be.splunkUiType = "Table.HeadCell";
|
|
613
|
+
function He(e) {
|
|
614
|
+
var r = e.children, n = qe(e, [ "children" ]);
|
|
615
|
+
|
|
616
|
+
return t().createElement(Ee().Row, n, r);
|
|
617
|
+
}
|
|
618
|
+
He.splunkUiType = "Table.Row";
|
|
619
|
+
// CONCATENATED MODULE: ./src/Markdown/Markdown.tsx
|
|
620
|
+
function Ae(e) {
|
|
607
621
|
"@babel/helpers - typeof";
|
|
608
|
-
return
|
|
622
|
+
return Ae = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
|
|
609
623
|
return typeof e;
|
|
610
624
|
} : function(e) {
|
|
611
625
|
return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
612
|
-
},
|
|
626
|
+
}, Ae(e);
|
|
613
627
|
}
|
|
614
|
-
function
|
|
615
|
-
return
|
|
628
|
+
function Ue() {
|
|
629
|
+
return Ue = Object.assign ? Object.assign.bind() : function(e) {
|
|
616
630
|
for (var r = 1; r < arguments.length; r++) {
|
|
617
631
|
var n = arguments[r];
|
|
618
632
|
for (var t in n) {
|
|
@@ -620,9 +634,9 @@
|
|
|
620
634
|
}
|
|
621
635
|
}
|
|
622
636
|
return e;
|
|
623
|
-
},
|
|
637
|
+
}, Ue.apply(null, arguments);
|
|
624
638
|
}
|
|
625
|
-
function
|
|
639
|
+
function Le(e, r) {
|
|
626
640
|
var n = Object.keys(e);
|
|
627
641
|
if (Object.getOwnPropertySymbols) {
|
|
628
642
|
var t = Object.getOwnPropertySymbols(e);
|
|
@@ -632,49 +646,49 @@
|
|
|
632
646
|
}
|
|
633
647
|
return n;
|
|
634
648
|
}
|
|
635
|
-
function
|
|
649
|
+
function Ne(e) {
|
|
636
650
|
for (var r = 1; r < arguments.length; r++) {
|
|
637
651
|
var n = null != arguments[r] ? arguments[r] : {};
|
|
638
|
-
r % 2 ?
|
|
639
|
-
|
|
640
|
-
})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
652
|
+
r % 2 ? Le(Object(n), !0).forEach((function(r) {
|
|
653
|
+
De(e, r, n[r]);
|
|
654
|
+
})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Le(Object(n)).forEach((function(r) {
|
|
641
655
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
|
|
642
656
|
}));
|
|
643
657
|
}
|
|
644
658
|
return e;
|
|
645
659
|
}
|
|
646
|
-
function
|
|
647
|
-
return (r =
|
|
660
|
+
function De(e, r, n) {
|
|
661
|
+
return (r = Fe(r)) in e ? Object.defineProperty(e, r, {
|
|
648
662
|
value: n,
|
|
649
663
|
enumerable: !0,
|
|
650
664
|
configurable: !0,
|
|
651
665
|
writable: !0
|
|
652
666
|
}) : e[r] = n, e;
|
|
653
667
|
}
|
|
654
|
-
function
|
|
655
|
-
var r =
|
|
656
|
-
return "symbol" ==
|
|
668
|
+
function Fe(e) {
|
|
669
|
+
var r = ze(e, "string");
|
|
670
|
+
return "symbol" == Ae(r) ? r : r + "";
|
|
657
671
|
}
|
|
658
|
-
function
|
|
659
|
-
if ("object" !=
|
|
672
|
+
function ze(e, r) {
|
|
673
|
+
if ("object" != Ae(e) || !e) return e;
|
|
660
674
|
var n = e[Symbol.toPrimitive];
|
|
661
675
|
if (void 0 !== n) {
|
|
662
676
|
var t = n.call(e, r || "default");
|
|
663
|
-
if ("object" !=
|
|
677
|
+
if ("object" != Ae(t)) return t;
|
|
664
678
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
665
679
|
}
|
|
666
680
|
return ("string" === r ? String : Number)(e);
|
|
667
681
|
}
|
|
668
|
-
function
|
|
682
|
+
function $e(e, r) {
|
|
669
683
|
if (null == e) return {};
|
|
670
|
-
var n, t,
|
|
684
|
+
var n, t, l = Ge(e, r);
|
|
671
685
|
if (Object.getOwnPropertySymbols) {
|
|
672
|
-
var
|
|
673
|
-
for (t = 0; t <
|
|
674
|
-
n =
|
|
686
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
687
|
+
for (t = 0; t < o.length; t++) {
|
|
688
|
+
n = o[t], r.includes(n) || {}.propertyIsEnumerable.call(e, n) && (l[n] = e[n]);
|
|
675
689
|
}
|
|
676
690
|
}
|
|
677
|
-
return
|
|
691
|
+
return l;
|
|
678
692
|
}
|
|
679
693
|
function Ge(e, r) {
|
|
680
694
|
if (null == e) return {};
|
|
@@ -688,6 +702,8 @@
|
|
|
688
702
|
return n;
|
|
689
703
|
}
|
|
690
704
|
/** @public */
|
|
705
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
706
|
+
/** @public */
|
|
691
707
|
/** @public */
|
|
692
708
|
/** @public */
|
|
693
709
|
/** @public */
|
|
@@ -697,60 +713,98 @@
|
|
|
697
713
|
/** @public */
|
|
698
714
|
/** @public */
|
|
699
715
|
/** @public */ var Je = {
|
|
700
|
-
blockquoteRenderer:
|
|
701
|
-
codeBlockRenderer:
|
|
702
|
-
codeRenderer:
|
|
703
|
-
elementRef:
|
|
704
|
-
headingRenderer:
|
|
705
|
-
imageRenderer:
|
|
706
|
-
itemRenderer:
|
|
707
|
-
linkRenderer:
|
|
708
|
-
listRenderer:
|
|
709
|
-
paragraphRenderer:
|
|
710
|
-
text:
|
|
711
|
-
rendererOptions:
|
|
716
|
+
blockquoteRenderer: o().func,
|
|
717
|
+
codeBlockRenderer: o().func,
|
|
718
|
+
codeRenderer: o().func,
|
|
719
|
+
elementRef: o().oneOfType([ o().func, o().object ]),
|
|
720
|
+
headingRenderer: o().func,
|
|
721
|
+
imageRenderer: o().func,
|
|
722
|
+
itemRenderer: o().func,
|
|
723
|
+
linkRenderer: o().func,
|
|
724
|
+
listRenderer: o().func,
|
|
725
|
+
paragraphRenderer: o().func,
|
|
726
|
+
text: o().string.isRequired,
|
|
727
|
+
rendererOptions: o().object
|
|
728
|
+
};
|
|
729
|
+
// <pre /> is used to wrap <code /> blocks, but Code already adds a pre tag
|
|
730
|
+
// This custom renderer, removes the default tag from react-markdown to avoid nested pre tags
|
|
731
|
+
var Ke = function e(r) {
|
|
732
|
+
// eslint-disable-next-line react/jsx-no-useless-fragment, react/prop-types
|
|
733
|
+
|
|
734
|
+
return t().createElement(t().Fragment, null, r.children);
|
|
712
735
|
};
|
|
713
|
-
var
|
|
736
|
+
var Qe = [ f() ];
|
|
714
737
|
/**
|
|
715
738
|
* The `Markdown` component renders the given Markdown text as a React component.
|
|
716
739
|
* The component prefers @splunk/react-ui components over plain HTML components. For example
|
|
717
740
|
* links are rendered as the `@splunk/react-ui/Link` component instead of plain `<a>` tag.
|
|
718
|
-
*/ function
|
|
719
|
-
var r = e.blockquoteRenderer,
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
var O =
|
|
745
|
-
|
|
741
|
+
*/ function Ve(e) {
|
|
742
|
+
var r = e.blockquoteRenderer, l = e.codeBlockRenderer, o = e.codeRenderer, a = e.elementRef, u = e.headingRenderer, s = e.imageRenderer, f = e.itemRenderer, d = e.linkRenderer, v = e.listRenderer, y = e.paragraphRenderer, b = e.text, m = e.rendererOptions, g = $e(e, [ "blockquoteRenderer", "codeBlockRenderer", "codeRenderer", "elementRef", "headingRenderer", "imageRenderer", "itemRenderer", "linkRenderer", "listRenderer", "paragraphRenderer", "text", "rendererOptions" ]);
|
|
743
|
+
// @docs-props-type MarkdownPropsBase
|
|
744
|
+
var h = (0, n.useCallback)((function(e) {
|
|
745
|
+
var r, n;
|
|
746
|
+
var i = e.className, a = i === void 0 ? "" : i, u = e.node;
|
|
747
|
+
// react-markdown does not indicate if the element is inline or a codeblock
|
|
748
|
+
// we have to infer this by checking if the node's position
|
|
749
|
+
// is on the same line or across multiple lines
|
|
750
|
+
var c = u === null || u === void 0 ? void 0 : (r = u.position) === null || r === void 0 ? void 0 : r.start.line;
|
|
751
|
+
var s = u === null || u === void 0 ? void 0 : (n = u.position) === null || n === void 0 ? void 0 : n.end.line;
|
|
752
|
+
var f = c !== undefined && s !== undefined && c === s;
|
|
753
|
+
if (f) {
|
|
754
|
+
return o ? o(Ne({}, e)) : t().createElement(B, e);
|
|
755
|
+
}
|
|
756
|
+
// Languages are passed from `react-markdown` via `classname`
|
|
757
|
+
// Follows react-markdown's README recommendation for handling syntax highlighting
|
|
758
|
+
// https://github.com/remarkjs/react-markdown?tab=readme-ov-file#use-custom-components-syntax-highlight
|
|
759
|
+
var d = /language-(\w+)/.exec(a);
|
|
760
|
+
var p = d && d[1] || undefined;
|
|
761
|
+
return l ? l(Ne({
|
|
762
|
+
language: p
|
|
763
|
+
}, e)) : t().createElement(F, Ue({
|
|
764
|
+
language: p
|
|
765
|
+
}, e));
|
|
766
|
+
}), [ l, o ]);
|
|
767
|
+
var O = (0, n.useMemo)((function() {
|
|
768
|
+
return {
|
|
769
|
+
a: d || ae,
|
|
770
|
+
blockquote: r || T,
|
|
771
|
+
code: h,
|
|
772
|
+
h1: u || V,
|
|
773
|
+
h2: u || V,
|
|
774
|
+
h3: u || V,
|
|
775
|
+
h4: u || V,
|
|
776
|
+
h5: u || V,
|
|
777
|
+
h6: u || V,
|
|
778
|
+
img: s || ee,
|
|
779
|
+
li: f || ge,
|
|
780
|
+
ol: v || ve,
|
|
781
|
+
p: y || ke,
|
|
782
|
+
pre: Ke,
|
|
783
|
+
ul: v || ve,
|
|
784
|
+
table: Me,
|
|
785
|
+
thead: _e,
|
|
786
|
+
th: Be,
|
|
787
|
+
td: Ce,
|
|
788
|
+
tr: He,
|
|
789
|
+
tbody: Te
|
|
790
|
+
};
|
|
791
|
+
}), [ r, h, u, s, f, d, v, y ]);
|
|
746
792
|
|
|
747
|
-
return t().createElement(
|
|
793
|
+
return t().createElement(p(), Ue({
|
|
748
794
|
"data-test": "markdown",
|
|
749
|
-
elementRef:
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
795
|
+
elementRef: a,
|
|
796
|
+
elementSelectors: {
|
|
797
|
+
/* stylelint-disable */
|
|
798
|
+
pre: (0, i.css)([ ":is(", ")" ], S),
|
|
799
|
+
blockquote: (0, i.css)([ ":is(", ")" ], R)
|
|
800
|
+
/* stylelint-enable */ }
|
|
801
|
+
}, g), t().createElement(c(), Ue({
|
|
802
|
+
remarkPlugins: Qe,
|
|
803
|
+
components: O
|
|
804
|
+
}, m), b));
|
|
805
|
+
}
|
|
806
|
+
Ve.propTypes = Je;
|
|
807
|
+
/* harmony default export */ const We = Ve;
|
|
754
808
|
// CONCATENATED MODULE: ./src/Markdown/index.ts
|
|
755
809
|
module.exports = r;
|
|
756
810
|
/******/})();
|