@splunk/react-ui 4.37.0 → 4.39.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/Accordion.js +131 -153
- package/Anchor.js +50 -58
- package/Animation.js +64 -59
- package/AnimationToggle.js +59 -61
- package/Box.js +59 -67
- package/Breadcrumbs.js +113 -127
- package/Button.js +208 -219
- package/ButtonGroup.js +41 -49
- package/ButtonSimple.js +264 -295
- package/CHANGELOG.md +50 -1
- package/Calendar.js +353 -414
- package/Card.js +183 -243
- package/CardLayout.js +86 -83
- package/Chip.js +104 -122
- package/Clickable.js +180 -198
- package/CloseButton.js +52 -60
- package/Code.js +24 -31
- package/CollapsiblePanel.js +172 -202
- package/Color.js +1107 -980
- package/ColumnLayout.js +72 -96
- package/ComboBox.js +267 -305
- package/Concertina.js +406 -454
- package/ControlGroup.js +165 -194
- package/Date.js +116 -131
- package/DefinitionList.js +125 -149
- package/Divider.js +81 -79
- package/Dropdown.js +226 -237
- package/DualListbox.js +150 -186
- package/EventListener.js +4 -1
- package/File.js +1032 -955
- package/FormRows.js +281 -334
- package/Heading.js +27 -35
- package/Image.js +101 -116
- package/JSONTree.js +301 -344
- package/Layer.js +118 -126
- package/Link.js +141 -159
- package/List.js +61 -77
- package/MIGRATION.mdx +92 -38
- package/Markdown.js +288 -347
- package/Menu.js +512 -530
- package/Message.js +173 -196
- package/MessageBar.js +58 -66
- package/Modal.js +241 -290
- package/ModalLayer.js +130 -148
- package/Monogram.js +138 -138
- package/Multiselect.js +1600 -1923
- package/Number.js +159 -178
- package/Paginator.js +296 -335
- package/Paragraph.js +24 -32
- package/Popover.js +448 -441
- package/Progress.js +65 -75
- package/RadioBar.js +301 -303
- package/RadioList.js +77 -119
- package/Resize.js +105 -127
- package/ResultsMenu.js +373 -385
- package/ScreenReaderContent.js +130 -94
- package/Scroll.js +209 -244
- package/Search.js +375 -384
- package/Select.js +1076 -1354
- package/SidePanel.js +122 -142
- package/Slider.js +192 -222
- package/SlidingPanels.js +238 -270
- package/SplitButton.js +222 -245
- package/StaticContent.js +68 -76
- package/StepBar.js +206 -205
- package/Switch.js +211 -236
- package/TabBar.js +222 -258
- package/TabLayout.js +114 -139
- package/Table.js +2017 -2180
- package/Text.js +401 -512
- package/TextArea.js +411 -441
- package/Tooltip.js +116 -132
- package/TransitionOpen.js +160 -178
- package/Tree.js +268 -287
- package/Typography.js +48 -52
- package/WaitSpinner.js +60 -68
- package/cypress/support/commands.ts +9 -0
- package/cypress/support/index.d.ts +6 -0
- package/cypress/tsconfig.cypress.json +1 -0
- package/docker-compose.yml +0 -1
- package/package.json +17 -17
- package/types/src/Button/Button.d.ts +20 -6
- package/types/src/ButtonSimple/ButtonSimple.d.ts +2 -2
- package/types/src/CollapsiblePanel/CollapsiblePanel.d.ts +1 -1
- package/types/src/Color/Color.d.ts +5 -2
- package/types/src/Color/Palette.d.ts +6 -2
- package/types/src/ComboBox/Option.d.ts +1 -1
- package/types/src/ControlGroup/ControlGroup.d.ts +1 -2
- package/types/src/Date/Date.d.ts +2 -3
- package/types/src/File/File.d.ts +2 -3
- package/types/src/File/Retry.d.ts +1 -2
- package/types/src/Link/Link.d.ts +3 -4
- package/types/src/Menu/Item.d.ts +24 -8
- package/types/src/Menu/Menu.d.ts +3 -3
- package/types/src/Menu/docs/examples/Adornments.d.ts +2 -0
- package/types/src/Menu/docs/examples/SelectableWithAdornments.d.ts +2 -0
- package/types/src/ModalLayer/ModalLayer.d.ts +1 -1
- package/types/src/Multiselect/Option.d.ts +2 -0
- package/types/src/Number/Number.d.ts +3 -3
- package/types/src/Popover/Popover.d.ts +3 -4
- package/types/src/RadioBar/RadioBar.d.ts +2 -2
- package/types/src/ResultsMenu/VirtualizedResultsMenu/VirtualizedResultsMenu.d.ts +1 -1
- package/types/src/ScrollContainerContext/ScrollContainerContext.d.ts +2 -2
- package/types/src/Search/Option.d.ts +16 -3
- package/types/src/Select/Option.d.ts +3 -1
- package/types/src/Select/OptionBase.d.ts +7 -5
- package/types/src/Select/Select.d.ts +2 -2
- package/types/src/Select/SelectAllOption.d.ts +4 -4
- package/types/src/Select/SelectBase.d.ts +0 -1
- package/types/src/SidePanel/SidePanel.d.ts +1 -1
- package/types/src/Slider/Slider.d.ts +2 -3
- package/types/src/Slider/docs/examples/Error.d.ts +2 -0
- package/types/src/SlidingPanels/SlidingPanels.d.ts +1 -1
- package/types/src/StepBar/Step.d.ts +1 -2
- package/types/src/TabBar/Tab.d.ts +1 -1
- package/types/src/TabBar/TabBar.d.ts +3 -1
- package/types/src/TabLayout/TabLayout.d.ts +2 -0
- package/types/src/Table/HeadDropdownCell.d.ts +2 -0
- package/types/src/Table/Table.d.ts +0 -1
- package/types/src/Table/docs/examples/StripeRows.d.ts +2 -0
- package/types/src/Text/IconOutlinedHide.d.ts +1 -2
- package/types/src/Text/IconOutlinedView.d.ts +1 -2
- package/types/src/Text/Text.d.ts +6 -4
- package/types/src/Text/docs/examples/Dimmed.d.ts +2 -0
- package/types/src/TextArea/TextArea.d.ts +2 -2
- package/types/src/Tooltip/Tooltip.d.ts +4 -4
- package/types/src/TransitionOpen/TransitionOpen.d.ts +1 -1
- package/useForceUpdate.js +30 -32
- package/useKeyPress.js +1 -1
- package/types/src/Button/docs/examples/Selected.d.ts +0 -2
- package/types/src/ButtonGroup/docs/examples/prisma/Basic.d.ts +0 -1
- package/types/src/File/docs/examples/prisma/Error.d.ts +0 -1
- package/types/src/Menu/docs/examples/Icons.d.ts +0 -2
- package/types/src/Menu/docs/examples/SelectableWithIcons.d.ts +0 -2
- package/types/src/Slider/docs/examples/prisma/Error.d.ts +0 -2
- package/types/src/TabBar/docs/examples/prisma/Context.d.ts +0 -2
- package/types/src/TabLayout/docs/examples/prisma/Context.d.ts +0 -2
- package/types/src/Table/docs/examples/prisma/Basic.d.ts +0 -2
- /package/types/src/Date/docs/examples/{prisma/WithoutCalendar.d.ts → WithoutCalendar.d.ts} +0 -0
- /package/types/src/Message/docs/examples/{prisma/Title.d.ts → Title.d.ts} +0 -0
- /package/types/src/StepBar/docs/examples/{prisma/Error.d.ts → Error.d.ts} +0 -0
- /package/types/src/TabBar/docs/examples/{prisma/Disabled.d.ts → Disabled.d.ts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,56 @@
|
|
|
1
1
|
Change Log
|
|
2
2
|
============
|
|
3
3
|
|
|
4
|
-
4.
|
|
4
|
+
4.39.0 - November 8, 2024
|
|
5
|
+
----------
|
|
6
|
+
New Features:
|
|
7
|
+
* `File` supports `onRequestRetry` in Enterprise themes (SUI-6579).
|
|
8
|
+
* `ControlGroup`'s `controlsLayout="fillJoin"` value is now supported in Prisma (SUI-6676).
|
|
9
|
+
* `StepBar` now supports the `error` prop on `Step`s in Enterprise themes (SUI-6578).
|
|
10
|
+
* `Table` supports `stripeRows` in Prisma themes (SUI-6574).
|
|
11
|
+
* `Popover` supports `appearance="inverted"` in Prisma themes (SUI-6581).
|
|
12
|
+
* `Menu.Item`'s `selected` prop now supports the value `'some'`, which indicates a partially selected state (SUI-6746).
|
|
13
|
+
* `Menu.Item` and `Search.Option` now support `startAdornment` and `endAdornment` props (SUI-6429).
|
|
14
|
+
|
|
15
|
+
Bug Fixes:
|
|
16
|
+
* `ControlGroup` properly announces a11y labels with `fillJoin` value for `controlsLayout` prop (SUI-6424).
|
|
17
|
+
* `Color`'s text input now properly becomes disabled when `disabled` prop is passed (SUI-6680).
|
|
18
|
+
* `Table.Row` no longer triggers its `onClick` callback or sets a pointer cursor on the actions column created by the `actionPrimary` or `actionSecondary` props (SUI-6427).
|
|
19
|
+
* `Switch`'s error styles for `border-color` in hover states have been corrected in Prisma and corrected for selected and hover states in Enterprise (SUI-6651).
|
|
20
|
+
* `Switch`'s icon color has been corrected and will default to `accentColorNegative` in Enterprise theme (SUI-6651).
|
|
21
|
+
* `Menu.Item` with right description has been vertically aligned for Prisma themes (SUI-6535).
|
|
22
|
+
* `ComboBox` now allows to set `aria-label` value and has default value removed (SUI-6533).
|
|
23
|
+
* `RadioBar` and `RadioList` now set `aria-invalid` when there's an error (SUI-6523).
|
|
24
|
+
* `List` and `Markdown` will no longer incorrectly number ordered lists in Firefox (SUI-6855).
|
|
25
|
+
|
|
26
|
+
Deprecations:
|
|
27
|
+
* `Button`'s `selected` prop has been deprecated and will be removed in the next major version. See the migration guide for details (SUI-6704).
|
|
28
|
+
* `Table.HeadDropdownCell`'s `defaultPlacement` prop has been deprecated and will be removed in the next major version (SUI-6489).
|
|
29
|
+
* `TabBar` and `TabLayout`'s `appearance` prop has been deprecated and will be removed in the next major version. See the migration guide for details (SUI-6834).
|
|
30
|
+
* `Menu.Item` and `Search.Option`'s `icon` prop has been deprecated and will be removed in the next major version. Use `startAdornment` and/or `endAdornment` instead (SUI-6429).
|
|
31
|
+
|
|
32
|
+
4.38.0 - October 1, 2024
|
|
33
|
+
----------
|
|
34
|
+
New Features:
|
|
35
|
+
* `Slider` now supports the `error` prop in Enterprise themes (SUI-6580).
|
|
36
|
+
* `Search.Option` now supports the `matchRanges` prop (SUI-6383).
|
|
37
|
+
* `Text` now supports a new `"dimmed"` value for the `disabled` prop (SUI-6648).
|
|
38
|
+
* `Button` and `Menu.Item` support type `string` for `openInNewContext` to customize the default message (SUI-6662).
|
|
39
|
+
* `Date` now supports the `inputOnly` prop in Enterprise themes (SUI-6579).
|
|
40
|
+
|
|
41
|
+
Bug Fixes:
|
|
42
|
+
* `Color`'s palette now renders with the correct role and has an accessible name (SUI-6635).
|
|
43
|
+
* `Select` with `prefixLabel` or `suffixLabel` now has correct `aria-label` when option is selected (SUI-6642).
|
|
44
|
+
* `Select`'s `role` has been changed from `"button"` to `"combobox"` (SUI-6441).
|
|
45
|
+
* Screen reader now announces the `option` selection status and number within the `listbox`.
|
|
46
|
+
* `Color`'s interactive elements are additionally labelled by ControlGroup (SUI-6660).
|
|
47
|
+
* `Button` and `Menu.Item` now correctly informs users when a link will open in a new window in Prisma themes (SUI-6662).
|
|
48
|
+
* `Button` and `Menu.Item` have updated screen reader text better describing the `openInNewContext` behavior to users (SUI-6662).
|
|
49
|
+
|
|
50
|
+
Docs:
|
|
51
|
+
* New `List`, `Paginator`, `Table`, and `TextArea` component overviews.
|
|
52
|
+
|
|
53
|
+
4.37.0 - September 9, 2024
|
|
5
54
|
----------
|
|
6
55
|
New Features:
|
|
7
56
|
* `Progress` supports `success` and `error` values for the `type` prop in Enterprise themes (SUI-6492).
|