@splunk/react-ui 4.42.0 → 4.44.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/ButtonGroup.js +10 -11
- package/ButtonSimple.js +209 -209
- package/CHANGELOG.md +41 -0
- package/Clickable.js +1 -1
- package/Code.js +611 -426
- package/ComboBox.js +25 -32
- package/Date.js +42 -27
- package/Dropdown.js +1 -1
- package/DualListbox.js +1 -1
- package/JSONTree.js +30 -24
- package/MIGRATION.mdx +70 -54
- package/Menu.js +13 -9
- package/Multiselect.js +1 -1
- package/Number.js +345 -317
- 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/Slider.js +17 -13
- package/StaticContent.js +15 -13
- package/TabBar.js +4 -0
- package/Table.js +162 -153
- package/TransitionOpen.js +16 -14
- package/Tree.d.ts +2 -0
- 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 +3 -3
- 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 +4 -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/Slider/Slider.d.ts +1 -1
- package/types/src/StaticContent/StaticContent.d.ts +3 -1
- 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,47 @@
|
|
|
1
1
|
Change Log
|
|
2
2
|
============
|
|
3
3
|
|
|
4
|
+
4.44.0 - April 1, 2025
|
|
5
|
+
----------
|
|
6
|
+
New Features:
|
|
7
|
+
* `Number`'s `onChange` handler now includes a `reason` property in callback data (SUI-7401).
|
|
8
|
+
* `Date` does not render 'Invalid value' for empty strings when controlled (SUI-5993).
|
|
9
|
+
* `Date` does not revert value for empty strings when uncontrolled (SUI-5993).
|
|
10
|
+
|
|
11
|
+
Bug Fixes:
|
|
12
|
+
* `StaticContent` supports new prop `labelledBy` (SUI-5326).
|
|
13
|
+
* `Clickable` now displays the `not-allowed` cursor when disabled (SUI-7297).
|
|
14
|
+
* `Table` now renders dynamically added expansionRows (SUI-7403).
|
|
15
|
+
* `ButtonGroup`'s `role` has changed from `menubar` to `group`. Child `Button`'s `role`s have changed from `menuitem` to `button`. See the migration guide for details (SUI-6551).
|
|
16
|
+
* `Table`'s resize handler no longer triggers sorting or opening dropdown when `enter` key is pressed (SUI-7320).
|
|
17
|
+
* `Slider`'s disabled state now prevents the appearance of thumb focus when active and displays `not-allowed` cursor on the entire input (SUI-7498).
|
|
18
|
+
* `Table`'s stripe rows now extend all the way across the table for rows without actions (SUI-7232).
|
|
19
|
+
|
|
20
|
+
4.43.0 - March 4, 2025
|
|
21
|
+
----------
|
|
22
|
+
New Features:
|
|
23
|
+
* `Popover` supports a new `hideArrow` prop that controls whether or not to render the arrow pointing to the anchor (SUI-7061).
|
|
24
|
+
* Defaults to `false` in Enterprise and `true` in Prisma themes, maintaining existing behavior.
|
|
25
|
+
* 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).
|
|
26
|
+
* This controls `Color`, `ComboBox`, `Dropdown`, `Select`, `Multiselect`, `Search`, `SplitButton`, and `Tooltip`.
|
|
27
|
+
* `Paginator` supports a new `generatePageProps` prop for customizing pages and Prev/Next buttons (SUI-6991).
|
|
28
|
+
* `Code` now supports `language` `plaintext` (including additional aliases `plain`, `text`, and `txt`) (SUI-7266).
|
|
29
|
+
|
|
30
|
+
Bug Fixes:
|
|
31
|
+
* `Select`'s `filter` no longer has `aria-owns` attribute when blurred (SUI-7208).
|
|
32
|
+
* `Number` now correctly prevents multiple decimals (SUI-7234).
|
|
33
|
+
* `Menu` and `TabBar` now correctly ignore keyboard navigation when command key is pressed (SUI-7115).
|
|
34
|
+
* `Popover`'s arrow is no longer misaligned when using `pointTo` or `align="edge"` (SUI-7191).
|
|
35
|
+
* `CollapsiblePanel` now correctly applies height when content includes image (SUI-7084).
|
|
36
|
+
* `Code` no longer applies `tabIndex=0` to static (non-scrollable) content (SUI-7325).
|
|
37
|
+
* `JSONTree` now expands or collapses non-root nodes when the `enter` key is pressed (SUI-7076).
|
|
38
|
+
|
|
39
|
+
Typescript:
|
|
40
|
+
* `MultiselectChangeHandler` type now includes optional `reason` property in callback data (SUI-7222).
|
|
41
|
+
|
|
42
|
+
Docs:
|
|
43
|
+
* Added missing documentation for `ComboBox`'s `inputId` prop (SUI-7090).
|
|
44
|
+
|
|
4
45
|
4.42.0 - February 5, 2025
|
|
5
46
|
----------
|
|
6
47
|
New Features:
|
package/Clickable.js
CHANGED
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
var v = d().a.withConfig({
|
|
93
93
|
displayName: "ClickableStyles__StyledA",
|
|
94
94
|
componentId: "sc-7al1vw-0"
|
|
95
|
-
})([ "", " cursor:pointer;&[disabled],&[aria-disabled='true']{color:", ";}&::-moz-focus-inner{border:0;padding:0;}" ], b.mixins.reset("inline"), b.variables.contentColorDisabled);
|
|
95
|
+
})([ "", " cursor:pointer;&[disabled],&[aria-disabled='true']{cursor:not-allowed;color:", ";}&::-moz-focus-inner{border:0;padding:0;}" ], b.mixins.reset("inline"), b.variables.contentColorDisabled);
|
|
96
96
|
// CONCATENATED MODULE: ./src/Clickable/NavigationProvider.tsx
|
|
97
97
|
/** @public */
|
|
98
98
|
var y = {
|