@protonradio/proton-ui 0.10.14 → 0.10.16
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/index.cjs.js +6 -6
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +2 -3
- package/dist/index.es.js +1063 -1057
- package/dist/index.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -616,10 +616,9 @@ export declare const Select: {
|
|
|
616
616
|
};
|
|
617
617
|
|
|
618
618
|
declare interface SelectItem {
|
|
619
|
-
key: string;
|
|
620
619
|
label: string;
|
|
620
|
+
value: string;
|
|
621
621
|
to?: string;
|
|
622
|
-
onAction?: (key: string) => void;
|
|
623
622
|
}
|
|
624
623
|
|
|
625
624
|
/**
|
|
@@ -650,7 +649,7 @@ declare interface SelectProps {
|
|
|
650
649
|
/** Callback fired when the menu closes */
|
|
651
650
|
onClose?: () => void;
|
|
652
651
|
/** Array of items to display
|
|
653
|
-
* @example [{
|
|
652
|
+
* @example [{ value: "thing-1", label: "Thing 1" }, { value: "thing-2", label: "Thing 2" }]
|
|
654
653
|
*/
|
|
655
654
|
items: SelectItem[];
|
|
656
655
|
/** Test ID for the select */
|