@lumx/react 4.15.1-alpha.1 → 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 +3 -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
|
@@ -17112,10 +17112,11 @@ const DefaultButton = forwardRef((props, ref) => /*#__PURE__*/jsx(Button, {
|
|
|
17112
17112
|
|
|
17113
17113
|
/**
|
|
17114
17114
|
* Single-selection props (`selectionType` defaults to `'single'`).
|
|
17115
|
-
* Backwards-compatible alias — existing consumers do not need to set `selectionType`.
|
|
17116
17115
|
*/
|
|
17117
17116
|
|
|
17118
|
-
/**
|
|
17117
|
+
/**
|
|
17118
|
+
* Multi-selection props (`selectionType: 'multiple'` is required to opt in).
|
|
17119
|
+
*/
|
|
17119
17120
|
|
|
17120
17121
|
/**
|
|
17121
17122
|
* `React.forwardRef` re-typed to preserve our polymorphic generics
|