@splunk/react-ui 4.42.0 → 4.43.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/CHANGELOG.md +25 -0
- package/Code.js +611 -426
- package/ComboBox.js +25 -32
- package/Date.js +21 -26
- package/Dropdown.js +1 -1
- package/JSONTree.js +30 -24
- package/MIGRATION.mdx +48 -53
- package/Menu.js +12 -8
- package/Multiselect.js +1 -1
- package/Number.js +418 -392
- package/Paginator.js +269 -251
- package/Popover.js +412 -345
- package/RadioList.js +44 -43
- package/ResultsMenu.d.ts +2 -0
- package/Search.js +56 -65
- package/Select.js +1 -1
- package/TabBar.js +4 -0
- package/Table.js +146 -146
- package/TransitionOpen.js +16 -14
- package/Tree.js +20 -14
- package/package.json +6 -6
- package/types/src/Button/Button.d.ts +1 -0
- package/types/src/Code/Code.d.ts +1 -1
- package/types/src/ComboBox/ComboBox.d.ts +6 -3
- package/types/src/Date/Date.d.ts +0 -1
- package/types/src/Dropdown/docs/examples/TooltipButtonToggle.d.ts +2 -0
- package/types/src/Multiselect/Multiselect.d.ts +2 -0
- package/types/src/Number/Number.d.ts +3 -10
- package/types/src/Number/utils.d.ts +29 -0
- package/types/src/Paginator/Paginator.d.ts +15 -2
- package/types/src/Paginator/docs/examples/CustomPages.d.ts +2 -0
- package/types/src/Popover/Popover.d.ts +17 -8
- package/types/src/Popover/PopoverMenuContext.d.ts +6 -0
- package/types/src/Popover/PopoverProvider.d.ts +23 -0
- package/types/src/Popover/index.d.ts +2 -1
- package/types/src/RadioList/RadioList.d.ts +1 -1
- package/types/src/Select/SelectBase.d.ts +1 -1
- package/types/src/Select/docs/examples/Appearance.d.ts +1 -11
- package/types/src/Select/docs/examples/Basic.d.ts +1 -9
- package/types/src/Select/docs/examples/Children.d.ts +1 -9
- package/types/src/Select/docs/examples/Descriptions.d.ts +1 -9
- package/types/src/Select/docs/examples/Fetching.d.ts +1 -22
- package/types/src/Select/docs/examples/Filter.d.ts +1 -9
- package/types/src/Select/docs/examples/Headings.d.ts +1 -9
- package/types/src/Select/docs/examples/LoadMoreOnScrollBottom.d.ts +1 -24
- package/types/src/Select/docs/examples/Prefix.d.ts +1 -9
- package/types/src/Select/docs/examples/Truncate.d.ts +1 -9
- package/types/src/Table/docs/examples/Click.d.ts +2 -16
- package/types/src/Table/docs/examples/ClickRows.d.ts +2 -16
- package/types/src/Table/docs/examples/Complex.d.ts +2 -50
- package/types/src/Table/docs/examples/FilterColumnValues.d.ts +1 -13
- package/types/src/Table/docs/examples/HeadDropdownCell.d.ts +1 -17
- package/types/src/Table/docs/examples/ReorderColumns.d.ts +2 -21
- package/types/src/Table/docs/examples/ReorderRows.d.ts +2 -21
- package/types/src/Table/docs/examples/Resizable.d.ts +2 -23
- package/types/src/Table/docs/examples/ResizableFill.d.ts +2 -23
- package/types/src/Table/docs/examples/RowActions.d.ts +2 -39
- package/types/src/Table/docs/examples/Selectable.d.ts +2 -18
- package/types/src/Table/docs/examples/SortableColumns.d.ts +1 -11
- package/useResizeObserver.js +122 -90
- package/types/src/Dropdown/docs/examples/OtherToggles.d.ts +0 -2
- package/types/src/Popover/PopoverContext.d.ts +0 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,31 @@
|
|
|
1
1
|
Change Log
|
|
2
2
|
============
|
|
3
3
|
|
|
4
|
+
4.43.0 - March 4, 2025
|
|
5
|
+
----------
|
|
6
|
+
New Features:
|
|
7
|
+
* `Popover` supports a new `hideArrow` prop that controls whether or not to render the arrow pointing to the anchor (SUI-7061).
|
|
8
|
+
* Defaults to `false` in Enterprise and `true` in Prisma themes, maintaining existing behavior.
|
|
9
|
+
* A new `PopoverProvider` component has been added that supports a `hideArrow` prop to control whether or not any components using `Popover` render the arrow pointing to the anchor (SUI-5262).
|
|
10
|
+
* This controls `Color`, `ComboBox`, `Dropdown`, `Select`, `Multiselect`, `Search`, `SplitButton`, and `Tooltip`.
|
|
11
|
+
* `Paginator` supports a new `generatePageProps` prop for customizing pages and Prev/Next buttons (SUI-6991).
|
|
12
|
+
* `Code` now supports `language` `plaintext` (including additional aliases `plain`, `text`, and `txt`) (SUI-7266).
|
|
13
|
+
|
|
14
|
+
Bug Fixes:
|
|
15
|
+
* `Select`'s `filter` no longer has `aria-owns` attribute when blurred (SUI-7208).
|
|
16
|
+
* `Number` now correctly prevents multiple decimals (SUI-7234).
|
|
17
|
+
* `Menu` and `TabBar` now correctly ignore keyboard navigation when command key is pressed (SUI-7115).
|
|
18
|
+
* `Popover`'s arrow is no longer misaligned when using `pointTo` or `align="edge"` (SUI-7191).
|
|
19
|
+
* `CollapsiblePanel` now correctly applies height when content includes image (SUI-7084).
|
|
20
|
+
* `Code` no longer applies `tabIndex=0` to static (non-scrollable) content (SUI-7325).
|
|
21
|
+
* `JSONTree` now expands or collapses non-root nodes when the `enter` key is pressed (SUI-7076).
|
|
22
|
+
|
|
23
|
+
Typescript:
|
|
24
|
+
* `MultiselectChangeHandler` type now includes optional `reason` property in callback data (SUI-7222).
|
|
25
|
+
|
|
26
|
+
Docs:
|
|
27
|
+
* Added missing documentation for `ComboBox`'s `inputId` prop (SUI-7090).
|
|
28
|
+
|
|
4
29
|
4.42.0 - February 5, 2025
|
|
5
30
|
----------
|
|
6
31
|
New Features:
|