@protonradio/proton-ui 0.10.13-beta.1 → 0.10.13-beta.3
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 +8 -8
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +2 -11
- package/dist/index.es.js +1666 -1661
- package/dist/index.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/utils-B6kgnxF2.js +2 -0
- package/dist/utils-B6kgnxF2.js.map +1 -0
- package/dist/{utils-DRhYCcfX.mjs → utils-CRsxDkRV.mjs} +132 -136
- package/dist/utils-CRsxDkRV.mjs.map +1 -0
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.d.ts +0 -6
- package/dist/utils.es.js +4 -5
- package/package.json +1 -1
- package/dist/utils-Bg77Dlyi.js +0 -2
- package/dist/utils-Bg77Dlyi.js.map +0 -1
- package/dist/utils-DRhYCcfX.mjs.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -335,7 +335,7 @@ declare interface DialogProps extends AriaDialogProps {
|
|
|
335
335
|
*
|
|
336
336
|
* @interface ElevationProps
|
|
337
337
|
*/
|
|
338
|
-
export declare const Elevation: ({ children, hasPrimaryGradient,
|
|
338
|
+
export declare const Elevation: ({ children, hasPrimaryGradient, "data-testid": dataTestId, }: ElevationProps) => JSX_2.Element;
|
|
339
339
|
|
|
340
340
|
declare interface ElevationProps {
|
|
341
341
|
/**
|
|
@@ -348,10 +348,6 @@ declare interface ElevationProps {
|
|
|
348
348
|
* @default false
|
|
349
349
|
*/
|
|
350
350
|
hasPrimaryGradient?: boolean;
|
|
351
|
-
/**
|
|
352
|
-
* The direction of the background gradient.
|
|
353
|
-
*/
|
|
354
|
-
backgroundGradientDirection?: "left" | "right";
|
|
355
351
|
/**
|
|
356
352
|
* The data-testid attribute for testing purposes.
|
|
357
353
|
*/
|
|
@@ -581,7 +577,7 @@ export declare const ResponsiveSelect: {
|
|
|
581
577
|
* Supports controlled and uncontrolled modes.
|
|
582
578
|
* @interface SelectProps
|
|
583
579
|
*/
|
|
584
|
-
declare function ResponsiveSelectMenu
|
|
580
|
+
declare function ResponsiveSelectMenu({ label, name, isDisabled, disabledKeys, selectedKey, onSelectionChange, onOpen, onClose, items, "data-testid": testId, children, }: SelectProps<ActionMenuAction>): JSX_2.Element;
|
|
585
581
|
|
|
586
582
|
export declare const Row: <T = object>(props: ProtonRowProps<T>) => JSX.Element;
|
|
587
583
|
|
|
@@ -635,11 +631,6 @@ export declare const Select: {
|
|
|
635
631
|
Option: <T>(props: ItemProps<T>) => JSX_3.Element;
|
|
636
632
|
};
|
|
637
633
|
|
|
638
|
-
declare interface SelectItem {
|
|
639
|
-
name: string;
|
|
640
|
-
[key: string]: any;
|
|
641
|
-
}
|
|
642
|
-
|
|
643
634
|
/**
|
|
644
635
|
* A dropdown select menu that opens a popover. Supports controlled and uncontrolled modes.
|
|
645
636
|
* @interface SelectProps
|