@splunk/react-ui 5.9.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.
Files changed (53) hide show
  1. package/ButtonSimple.js +1 -1
  2. package/CHANGELOG.md +16 -0
  3. package/Code.js +177 -170
  4. package/ColumnLayout.js +69 -45
  5. package/Dropdown.js +74 -68
  6. package/LICENSE +1 -1
  7. package/MIGRATION.md +40 -0
  8. package/Markdown.js +331 -306
  9. package/Menu.js +2 -2
  10. package/Multiselect.js +59 -59
  11. package/Number.js +236 -242
  12. package/SimpleTable.d.ts +2 -0
  13. package/SimpleTable.js +433 -0
  14. package/SlidingPanels.js +224 -153
  15. package/SpotLight.d.ts +2 -0
  16. package/SpotLight.js +687 -0
  17. package/Table.js +1230 -1233
  18. package/docker-compose.yml +12 -18
  19. package/docs-llm/Avatar.md +2 -2
  20. package/docs-llm/Collapsible Panel.md +11 -57
  21. package/docs-llm/Column Layout.md +2 -2
  22. package/docs-llm/Divider.md +33 -0
  23. package/docs-llm/Message Bar.md +4 -1
  24. package/docs-llm/Multiselect.md +180 -159
  25. package/docs-llm/Table.md +7 -7
  26. package/docs-llm/Typography.md +1 -1
  27. package/docs-llm/llms.txt +1 -1
  28. package/package.json +9 -11
  29. package/test-runner-jest.config.js +4 -53
  30. package/types/src/CollapsiblePanel/docs/examples/Actions.d.ts +1 -1
  31. package/types/src/ColumnLayout/ColumnLayout.d.ts +2 -2
  32. package/types/src/Divider/docs/examples/VerticalWithAlignItems.d.ts +8 -0
  33. package/types/src/Markdown/Markdown.d.ts +14 -2
  34. package/types/src/Markdown/renderers/MarkdownTable.d.ts +2 -22
  35. package/types/src/Markdown/renderers/MarkdownWrapper.d.ts +11 -0
  36. package/types/src/Markdown/renderers/index.d.ts +3 -1
  37. package/types/src/Multiselect/Compact.d.ts +4 -0
  38. package/types/src/Multiselect/Multiselect.d.ts +4 -0
  39. package/types/src/Multiselect/docs/examples/LoadMoreWithSelectAll.d.ts +9 -0
  40. package/types/src/SelectBase/SelectBase.d.ts +4 -0
  41. package/types/src/SimpleTable/Body.d.ts +25 -0
  42. package/types/src/SimpleTable/Cell.d.ts +20 -0
  43. package/types/src/SimpleTable/Head.d.ts +20 -0
  44. package/types/src/SimpleTable/HeadCell.d.ts +20 -0
  45. package/types/src/SimpleTable/Row.d.ts +20 -0
  46. package/types/src/SimpleTable/SimpleTable.d.ts +37 -0
  47. package/types/src/SimpleTable/index.d.ts +3 -0
  48. package/types/src/SpotLight/SpotLight.d.ts +88 -0
  49. package/types/src/SpotLight/index.d.ts +2 -0
  50. package/types/src/Table/Row.d.ts +1 -1
  51. package/types/src/Table/Table.d.ts +1 -1
  52. package/types/src/Typography/Typography.d.ts +1 -1
  53. package/types/src/Multiselect/docs/examples/LoadMoreOnScrollBottom.d.ts +0 -7
@@ -96,7 +96,7 @@ interface RowPropsBase {
96
96
  stripe?: 'odd' | 'even' | 'none';
97
97
  }
98
98
  type RowProps = ComponentProps<RowPropsBase, 'tr'>;
99
- declare function Row(props: RowProps): React.JSX.Element;
99
+ declare function Row({ actions, actionPrimary, actionsSecondary, children, data, dragId, disabled, pinnedColumns, isDraggable, elementRef, expandable, expanded, expansionRowIds, expansionRow, index, movableColumns, onClick, onExpansion, onKeyDown, onRequestToggle, primaryColumnIndex, rowScreenReaderText, selected, stripe, style, ...otherProps }: RowProps): React.JSX.Element;
100
100
  declare namespace Row {
101
101
  var propTypes: {
102
102
  /** @private. Generally passed by Table rather than added directly. */
@@ -145,7 +145,7 @@ interface TablePropsBase {
145
145
  resizableFillLayout?: boolean;
146
146
  }
147
147
  type TableProps = ComponentProps<TablePropsBase, 'div'>;
148
- declare function Table(props: TableProps): React.JSX.Element;
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;