@protonradio/proton-ui 0.6.2 → 0.6.4-beta1
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/dist/constants.d.ts +4 -4
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +9 -4
- package/dist/index.es.js +155 -151
- package/dist/index.es.js.map +1 -1
- package/dist/utils.d.ts +4 -4
- package/package.json +14 -1
package/dist/index.d.ts
CHANGED
|
@@ -351,6 +351,11 @@ export declare const Select: {
|
|
|
351
351
|
Option: <T>(props: ItemProps<T>) => JSX_3.Element;
|
|
352
352
|
};
|
|
353
353
|
|
|
354
|
+
/**
|
|
355
|
+
* A Dropdown select menu that opens a Popover, or an ActionMenu on mobile.
|
|
356
|
+
* Supports controlled and uncontrolled modes, and urlSearchParam syncing.
|
|
357
|
+
* @interface SelectProps
|
|
358
|
+
*/
|
|
354
359
|
declare function SelectMenu<T extends object>({ label, name, isDisabled, disabledKeys, selectedKey, onSelectionChange, items, "data-testid": testId, children, }: SelectProps<T>): JSX_2.Element;
|
|
355
360
|
|
|
356
361
|
declare interface SelectProps<T> {
|
|
@@ -593,11 +598,11 @@ declare interface WaveformProps {
|
|
|
593
598
|
export { }
|
|
594
599
|
|
|
595
600
|
|
|
596
|
-
declare namespace
|
|
597
|
-
var
|
|
601
|
+
declare namespace ButtonGroup {
|
|
602
|
+
var Option: (props: ButtonGroupOptionProps) => import("react/jsx-runtime").JSX.Element;
|
|
598
603
|
}
|
|
599
604
|
|
|
600
605
|
|
|
601
|
-
declare namespace
|
|
602
|
-
var
|
|
606
|
+
declare namespace ActionMenu {
|
|
607
|
+
var Item: ({ name, to }: ActionMenuItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
603
608
|
}
|