@splunk/react-ui 4.38.0 → 4.40.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 +151 -169
- package/ButtonGroup.js +41 -49
- package/ButtonSimple.js +264 -295
- package/CHANGELOG.md +49 -0
- package/Calendar.js +353 -414
- package/Card.js +186 -244
- package/CardLayout.js +86 -83
- package/Chip.js +136 -146
- package/Clickable.js +180 -198
- package/CloseButton.js +52 -60
- package/Code.js +24 -31
- package/CollapsiblePanel.js +172 -202
- package/Color.js +371 -412
- package/ColumnLayout.js +72 -96
- package/ComboBox.js +266 -303
- package/Concertina.js +406 -454
- package/ControlGroup.js +178 -210
- 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 +123 -38
- package/Markdown.js +288 -347
- package/Menu.js +506 -532
- package/Message.js +197 -207
- package/MessageBar.js +58 -66
- package/Modal.js +241 -290
- package/ModalLayer.js +130 -148
- package/Monogram.js +138 -138
- package/Multiselect.js +3137 -3433
- package/Number.js +164 -178
- package/Paginator.js +296 -335
- package/Paragraph.js +24 -32
- package/Popover.js +450 -442
- 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 +50 -58
- package/Scroll.js +209 -244
- package/Search.js +379 -391
- package/Select.js +2085 -2345
- package/SidePanel.js +122 -142
- package/Slider.js +132 -145
- package/SlidingPanels.js +238 -270
- package/SplitButton.d.ts +2 -0
- package/SplitButton.js +222 -245
- package/StaticContent.js +68 -76
- package/StepBar.js +206 -205
- package/Switch.js +176 -205
- package/TabBar.js +235 -268
- package/TabLayout.js +122 -141
- package/Table.js +2103 -2261
- package/Text.js +379 -493
- 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 +61 -69
- 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 +15 -15
- package/types/src/Button/Button.d.ts +5 -1
- package/types/src/ButtonSimple/ButtonSimple.d.ts +2 -2
- package/types/src/Card/Card.d.ts +1 -0
- package/types/src/Card/Footer.d.ts +1 -0
- package/types/src/Chip/Chip.d.ts +3 -6
- package/types/src/CollapsiblePanel/CollapsiblePanel.d.ts +1 -1
- package/types/src/Color/Color.d.ts +2 -2
- package/types/src/Color/Palette.d.ts +4 -2
- package/types/src/ComboBox/ComboBox.d.ts +1 -1
- 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 -2
- package/types/src/File/File.d.ts +2 -3
- package/types/src/File/Retry.d.ts +1 -2
- package/types/src/Menu/Item.d.ts +18 -5
- 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/Compact.d.ts +1 -1
- package/types/src/Multiselect/Multiselect.d.ts +1 -1
- package/types/src/Multiselect/Normal.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 +9 -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 +4 -2
- package/types/src/Select/SelectAllOption.d.ts +4 -4
- package/types/src/Select/SelectBase.d.ts +104 -66
- package/types/src/Select/docs/examples/Appearance.d.ts +0 -2
- package/types/src/SidePanel/SidePanel.d.ts +1 -1
- package/types/src/Slider/Slider.d.ts +2 -2
- package/types/src/SlidingPanels/SlidingPanels.d.ts +1 -1
- package/types/src/StepBar/Step.d.ts +1 -2
- package/types/src/Switch/Switch.d.ts +0 -1
- 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/Cell.d.ts +0 -2
- package/types/src/Table/HeadDropdownCell.d.ts +2 -0
- package/types/src/Table/HeadInner.d.ts +5 -1
- 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 +2 -2
- 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/types/src/WaitSpinner/WaitSpinner.d.ts +0 -1
- package/types/src/useControlled/index.d.ts +2 -0
- package/types/src/useControlled/useControlled.d.ts +21 -0
- package/types/src/useResizeObserver/index.d.ts +2 -0
- package/types/src/useResizeObserver/useResizeObserver.d.ts +12 -0
- package/useControlled.js +112 -0
- package/useForceUpdate.js +30 -32
- package/useKeyPress.d.ts +2 -0
- package/useKeyPress.js +1 -1
- package/useResizeObserver.d.ts +2 -0
- package/useResizeObserver.js +137 -0
- package/types/src/ButtonGroup/docs/examples/prisma/Basic.d.ts +0 -1
- package/types/src/Chip/docs/examples/Basic.d.ts +0 -2
- package/types/src/Chip/docs/examples/prisma/Appearance.d.ts +0 -2
- package/types/src/Color/docs/examples/prisma/Controlled.d.ts +0 -2
- package/types/src/Color/docs/examples/prisma/ThemeVariables.d.ts +0 -1
- package/types/src/Color/docs/examples/prisma/Uncontrolled.d.ts +0 -2
- package/types/src/Dropdown/docs/examples/prisma/Basic.d.ts +0 -2
- package/types/src/Dropdown/docs/examples/prisma/BasicMenu.d.ts +0 -2
- package/types/src/Dropdown/docs/examples/prisma/ControlledDropdown.d.ts +0 -2
- package/types/src/Dropdown/docs/examples/prisma/Dialog.d.ts +0 -2
- package/types/src/Dropdown/docs/examples/prisma/OtherToggles.d.ts +0 -2
- package/types/src/Dropdown/docs/examples/prisma/ScrollingMenu.d.ts +0 -2
- package/types/src/File/docs/examples/prisma/Disabled.d.ts +0 -12
- 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/Message/docs/examples/prisma/Title.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/WaitSpinner/docs/examples/prisma/Basic.d.ts +0 -2
- /package/types/src/Color/docs/examples/{prisma/CustomizedPalette.d.ts → CustomizedPalette.d.ts} +0 -0
- /package/types/src/Color/docs/examples/{prisma/HideInput.d.ts → HideInput.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,6 +1,55 @@
|
|
|
1
1
|
Change Log
|
|
2
2
|
============
|
|
3
3
|
|
|
4
|
+
4.40.0 - December 3, 2024
|
|
5
|
+
----------
|
|
6
|
+
New Features:
|
|
7
|
+
* `Table` now supports clickable cells in Prisma themes (SUI-6571).
|
|
8
|
+
* `Chip` now supports all `appearance` values in all themes (SUI-6856).
|
|
9
|
+
* `Multiselect` now supports the `selectedAppearance` prop in Prisma themes (SUI-6856).
|
|
10
|
+
* `WaitSpinner` now supports `size="large"` in Enterprise themes (SUI-6902).
|
|
11
|
+
|
|
12
|
+
Bug Fixes:
|
|
13
|
+
* `Number` now has the role of `spinbutton` and adds the associated aria attributes (A11Y-2976).
|
|
14
|
+
* `useKeyPress` types are now being exported (SUI-6862).
|
|
15
|
+
* `Popover`'s fading out animation now does not allow click through (SUI-6618, SUI-6456).
|
|
16
|
+
* `Table.HeadCell` with sortable headers is now correctly announced by screen readers (SUI-6672).
|
|
17
|
+
* `Message.Title` no longer is inline with other content (SUI-6250).
|
|
18
|
+
* `TabBar.Tab` and `TabLayout.Panel` are no longer incorrectly sized if the `label` attribute is not a string (SUI-6877).
|
|
19
|
+
* `SplitButton` types are now being exported (SUI-6306).
|
|
20
|
+
|
|
21
|
+
Deprecations:
|
|
22
|
+
* `Select`'s `"primary"` value of the `appearance` prop has been deprecated and will be removed in the next major version. See the migration guide for details (SUI-6866).
|
|
23
|
+
* `Card` and `Card.Footer`'s `showBorder` prop is deprecated and will be removed in the next major version (SUI-6577).
|
|
24
|
+
|
|
25
|
+
4.39.0 - November 8, 2024
|
|
26
|
+
----------
|
|
27
|
+
New Features:
|
|
28
|
+
* `File` supports `onRequestRetry` in Enterprise themes (SUI-6579).
|
|
29
|
+
* `ControlGroup`'s `controlsLayout="fillJoin"` value is now supported in Prisma (SUI-6676).
|
|
30
|
+
* `StepBar` now supports the `error` prop on `Step`s in Enterprise themes (SUI-6578).
|
|
31
|
+
* `Table` supports `stripeRows` in Prisma themes (SUI-6574).
|
|
32
|
+
* `Popover` supports `appearance="inverted"` in Prisma themes (SUI-6581).
|
|
33
|
+
* `Menu.Item`'s `selected` prop now supports the value `'some'`, which indicates a partially selected state (SUI-6746).
|
|
34
|
+
* `Menu.Item` and `Search.Option` now support `startAdornment` and `endAdornment` props (SUI-6429).
|
|
35
|
+
|
|
36
|
+
Bug Fixes:
|
|
37
|
+
* `ControlGroup` properly announces a11y labels with `fillJoin` value for `controlsLayout` prop (SUI-6424).
|
|
38
|
+
* `Color`'s text input now properly becomes disabled when `disabled` prop is passed (SUI-6680).
|
|
39
|
+
* `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).
|
|
40
|
+
* `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).
|
|
41
|
+
* `Switch`'s icon color has been corrected and will default to `accentColorNegative` in Enterprise theme (SUI-6651).
|
|
42
|
+
* `Menu.Item` with right description has been vertically aligned for Prisma themes (SUI-6535).
|
|
43
|
+
* `ComboBox` now allows to set `aria-label` value and has default value removed (SUI-6533).
|
|
44
|
+
* `RadioBar` and `RadioList` now set `aria-invalid` when there's an error (SUI-6523).
|
|
45
|
+
* `List` and `Markdown` will no longer incorrectly number ordered lists in Firefox (SUI-6855).
|
|
46
|
+
|
|
47
|
+
Deprecations:
|
|
48
|
+
* `Button`'s `selected` prop has been deprecated and will be removed in the next major version. See the migration guide for details (SUI-6704).
|
|
49
|
+
* `Table.HeadDropdownCell`'s `defaultPlacement` prop has been deprecated and will be removed in the next major version (SUI-6489).
|
|
50
|
+
* `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).
|
|
51
|
+
* `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).
|
|
52
|
+
|
|
4
53
|
4.38.0 - October 1, 2024
|
|
5
54
|
----------
|
|
6
55
|
New Features:
|