@splunk/react-ui 5.8.0 → 5.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Anchor.js +2 -1
- package/ButtonSimple.js +1 -1
- package/CHANGELOG.md +38 -0
- package/Calendar.js +134 -134
- package/Clickable.js +131 -94
- package/Code.js +177 -170
- package/CollapsiblePanel.js +173 -135
- package/ColumnLayout.js +69 -45
- package/ComboBox.js +1 -0
- package/Dropdown.js +87 -72
- package/File.js +35 -35
- package/LICENSE +1 -1
- package/MIGRATION.md +40 -0
- package/Markdown.js +331 -306
- package/Menu.js +259 -215
- package/Modal.js +174 -181
- package/Monogram.js +2 -2
- package/Multiselect.js +414 -334
- package/Number.js +237 -242
- package/Search.js +15 -14
- package/SelectBase.js +777 -719
- package/SimpleTable.d.ts +2 -0
- package/SimpleTable.js +433 -0
- package/SlidingPanels.js +224 -153
- package/SpotLight.d.ts +2 -0
- package/SpotLight.js +687 -0
- package/Table.js +1232 -1238
- package/Text.js +26 -26
- package/docker-compose.yml +12 -18
- package/docs-llm/Avatar.md +2 -8
- package/docs-llm/Collapsible Panel.md +11 -57
- package/docs-llm/Column Layout.md +2 -2
- package/docs-llm/Divider.md +33 -0
- package/docs-llm/Message Bar.md +4 -1
- package/docs-llm/Multiselect.md +185 -162
- package/docs-llm/Notifications.md +46 -0
- package/docs-llm/Table.md +7 -7
- package/docs-llm/Tree.md +7 -2
- package/docs-llm/Typography.md +1 -1
- package/docs-llm/llms.txt +7 -3
- package/package.json +9 -11
- package/test-runner-jest.config.js +4 -53
- package/types/src/CollapsiblePanel/docs/examples/Actions.d.ts +1 -1
- package/types/src/ColumnLayout/ColumnLayout.d.ts +2 -2
- package/types/src/Divider/docs/examples/VerticalWithAlignItems.d.ts +8 -0
- package/types/src/Markdown/Markdown.d.ts +14 -2
- package/types/src/Markdown/renderers/MarkdownTable.d.ts +2 -22
- package/types/src/Markdown/renderers/MarkdownWrapper.d.ts +11 -0
- package/types/src/Markdown/renderers/index.d.ts +3 -1
- package/types/src/Multiselect/Compact.d.ts +12 -3
- package/types/src/Multiselect/Multiselect.d.ts +12 -3
- package/types/src/Multiselect/Normal.d.ts +8 -3
- package/types/src/Multiselect/Option.d.ts +6 -3
- package/types/src/Multiselect/docs/examples/Disabled.d.ts +1 -0
- package/types/src/Multiselect/docs/examples/LoadMoreWithSelectAll.d.ts +9 -0
- package/types/src/SelectBase/SelectBase.d.ts +5 -1
- package/types/src/SimpleTable/Body.d.ts +25 -0
- package/types/src/SimpleTable/Cell.d.ts +20 -0
- package/types/src/SimpleTable/Head.d.ts +20 -0
- package/types/src/SimpleTable/HeadCell.d.ts +20 -0
- package/types/src/SimpleTable/Row.d.ts +20 -0
- package/types/src/SimpleTable/SimpleTable.d.ts +37 -0
- package/types/src/SimpleTable/index.d.ts +3 -0
- package/types/src/SpotLight/SpotLight.d.ts +88 -0
- package/types/src/SpotLight/index.d.ts +2 -0
- package/types/src/Table/Row.d.ts +1 -1
- package/types/src/Table/Table.d.ts +1 -1
- package/types/src/Typography/Typography.d.ts +1 -1
- package/types/src/Multiselect/docs/examples/LoadMoreOnScrollBottom.d.ts +0 -7
|
@@ -145,7 +145,7 @@ interface TablePropsBase {
|
|
|
145
145
|
resizableFillLayout?: boolean;
|
|
146
146
|
}
|
|
147
147
|
type TableProps = ComponentProps<TablePropsBase, 'div'>;
|
|
148
|
-
declare function Table(
|
|
148
|
+
declare function Table({ actions, actionsColumnWidth, children, dockOffset, dockScrollBar, elementRef, headType, horizontalOverflow, innerStyle, onRequestMoveColumn, onRequestMoveRow, onRequestResizeColumn, onRequestToggleAllRows, onScroll, outerStyle, pinnedColumns, primaryColumnIndex, resizableFillLayout, rowExpansion, rowSelection, stripeRows, tableStyle, ...otherProps }: TableProps): React.JSX.Element;
|
|
149
149
|
declare namespace Table {
|
|
150
150
|
var propTypes: {
|
|
151
151
|
actions: PropTypes.Requireable<(PropTypes.ReactElementLike | null | undefined)[]>;
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { TypographyVariant, TypographyParams } from '@splunk/themes/mixins';
|
|
4
4
|
import { ComponentProps } from '../utils/types';
|
|
5
|
-
type TypographyElementTypes = 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'span' | 'blockquote' | 'dd' | 'dl' | 'dt' | 'figcaption' | 'figure' | 'li' | 'ol' | 'ul' | 'pre' | 'abbr' | 'cite' | 'code' | 'data' | 'dfn' | 'em' | 'u' | 'time' | 'sup' | 'sub' | 'strong' | 'small' | 'samp' | 's' | 'var' | 'ruby' | 'rt' | 'rp';
|
|
5
|
+
type TypographyElementTypes = 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'span' | 'blockquote' | 'dd' | 'dl' | 'dt' | 'figcaption' | 'figure' | 'li' | 'ol' | 'ul' | 'pre' | 'abbr' | 'cite' | 'code' | 'data' | 'dfn' | 'em' | 'label' | 'u' | 'time' | 'sup' | 'sub' | 'strong' | 'small' | 'samp' | 's' | 'var' | 'ruby' | 'rt' | 'rp';
|
|
6
6
|
interface TypographyPropsBase extends TypographyParams {
|
|
7
7
|
/**
|
|
8
8
|
* Tag for the element to render children content into.
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* @name Load more on scroll bottom
|
|
4
|
-
* @description Similar example as fetching but it's also possible to append more Options from a server when the list is scrolled to the bottom. Here, that behavior is simulated. The onScrollBottom prop is a function that should fetch more results and append them to the current Options. Once all items are loaded, the onScrollBottom prop should be set to null.
|
|
5
|
-
*/
|
|
6
|
-
declare function LoadMoreOnScrollBottom(): React.JSX.Element;
|
|
7
|
-
export default LoadMoreOnScrollBottom;
|