@lumx/react 4.15.1-alpha.0 → 4.16.0-alpha.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/index.d.ts +5 -4
- package/index.js +4 -2
- package/index.js.map +1 -1
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -4342,11 +4342,12 @@ type SelectButtonProps<O, E extends ElementType$1 = typeof DefaultButton, S exte
|
|
|
4342
4342
|
};
|
|
4343
4343
|
/**
|
|
4344
4344
|
* Single-selection props (`selectionType` defaults to `'single'`).
|
|
4345
|
-
* Backwards-compatible alias — existing consumers do not need to set `selectionType`.
|
|
4346
4345
|
*/
|
|
4347
|
-
type SingleSelectButtonProps<O, E extends ElementType$1 = typeof DefaultButton> = SelectButtonProps<O, E, 'single'
|
|
4348
|
-
/**
|
|
4349
|
-
|
|
4346
|
+
type SingleSelectButtonProps<O, E extends ElementType$1 = typeof DefaultButton> = NamedProps<SelectButtonProps<O, E, 'single'>>;
|
|
4347
|
+
/**
|
|
4348
|
+
* Multi-selection props (`selectionType: 'multiple'` is required to opt in).
|
|
4349
|
+
*/
|
|
4350
|
+
type MultipleSelectButtonProps<O, E extends ElementType$1 = typeof DefaultButton> = NamedProps<SelectButtonProps<O, E, 'multiple'>>;
|
|
4350
4351
|
|
|
4351
4352
|
/**
|
|
4352
4353
|
* SelectButton compound component.
|
package/index.js
CHANGED
|
@@ -9163,6 +9163,7 @@ const Popover$1 = (props, {
|
|
|
9163
9163
|
[`position-${position}`]: Boolean(position),
|
|
9164
9164
|
'is-hidden': Boolean(isHidden)
|
|
9165
9165
|
})),
|
|
9166
|
+
"aria-hidden": isHidden ? 'true' : undefined,
|
|
9166
9167
|
style: isHidden ? undefined : popoverStyle,
|
|
9167
9168
|
"data-popper-placement": position,
|
|
9168
9169
|
children: [unmountSentinel, /*#__PURE__*/jsxs(ClickAwayProvider, {
|
|
@@ -17111,10 +17112,11 @@ const DefaultButton = forwardRef((props, ref) => /*#__PURE__*/jsx(Button, {
|
|
|
17111
17112
|
|
|
17112
17113
|
/**
|
|
17113
17114
|
* Single-selection props (`selectionType` defaults to `'single'`).
|
|
17114
|
-
* Backwards-compatible alias — existing consumers do not need to set `selectionType`.
|
|
17115
17115
|
*/
|
|
17116
17116
|
|
|
17117
|
-
/**
|
|
17117
|
+
/**
|
|
17118
|
+
* Multi-selection props (`selectionType: 'multiple'` is required to opt in).
|
|
17119
|
+
*/
|
|
17118
17120
|
|
|
17119
17121
|
/**
|
|
17120
17122
|
* `React.forwardRef` re-typed to preserve our polymorphic generics
|