@up42/up-components 5.14.0 → 5.15.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.
|
@@ -31,7 +31,7 @@ export type BannerProps = {
|
|
|
31
31
|
* Note: 'slim' size has a fixed height of '32px' and should be used exclusively with variant='inline' and probably text ellipsis to ensure proper layout and appearance.
|
|
32
32
|
*/
|
|
33
33
|
size?: 'default' | 'slim';
|
|
34
|
-
} & Omit<AlertProps, 'title' | 'closeText' | '
|
|
34
|
+
} & Omit<AlertProps, 'title' | 'closeText' | 'role' | 'onClose'>;
|
|
35
35
|
/**
|
|
36
36
|
* Documentation: https://up-components.up42.com/?path=/docs/feedback-banner--docs
|
|
37
37
|
*/
|
|
@@ -65,4 +65,4 @@ export declare const Banner: React.ForwardRefExoticComponent<Omit<{
|
|
|
65
65
|
* Note: 'slim' size has a fixed height of '32px' and should be used exclusively with variant='inline' and probably text ellipsis to ensure proper layout and appearance.
|
|
66
66
|
*/
|
|
67
67
|
size?: "default" | "slim" | undefined;
|
|
68
|
-
} & Omit<AlertProps, "title" | "role" | "onClose" | "closeText"
|
|
68
|
+
} & Omit<AlertProps, "title" | "role" | "onClose" | "closeText">, "ref"> & React.RefAttributes<unknown>>;
|
|
@@ -31,7 +31,7 @@ export type BannerProps = {
|
|
|
31
31
|
* Note: 'slim' size has a fixed height of '32px' and should be used exclusively with variant='inline' and probably text ellipsis to ensure proper layout and appearance.
|
|
32
32
|
*/
|
|
33
33
|
size?: 'default' | 'slim';
|
|
34
|
-
} & Omit<AlertProps, 'title' | 'closeText' | '
|
|
34
|
+
} & Omit<AlertProps, 'title' | 'closeText' | 'role' | 'onClose'>;
|
|
35
35
|
/**
|
|
36
36
|
* Documentation: https://up-components.up42.com/?path=/docs/feedback-banner--docs
|
|
37
37
|
*/
|
|
@@ -65,4 +65,4 @@ export declare const Banner: React.ForwardRefExoticComponent<Omit<{
|
|
|
65
65
|
* Note: 'slim' size has a fixed height of '32px' and should be used exclusively with variant='inline' and probably text ellipsis to ensure proper layout and appearance.
|
|
66
66
|
*/
|
|
67
67
|
size?: "default" | "slim" | undefined;
|
|
68
|
-
} & Omit<AlertProps, "title" | "role" | "onClose" | "closeText"
|
|
68
|
+
} & Omit<AlertProps, "title" | "role" | "onClose" | "closeText">, "ref"> & React.RefAttributes<unknown>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -497,7 +497,7 @@ type BannerProps = {
|
|
|
497
497
|
* Note: 'slim' size has a fixed height of '32px' and should be used exclusively with variant='inline' and probably text ellipsis to ensure proper layout and appearance.
|
|
498
498
|
*/
|
|
499
499
|
size?: 'default' | 'slim';
|
|
500
|
-
} & Omit<AlertProps, 'title' | 'closeText' | '
|
|
500
|
+
} & Omit<AlertProps, 'title' | 'closeText' | 'role' | 'onClose'>;
|
|
501
501
|
/**
|
|
502
502
|
* Documentation: https://up-components.up42.com/?path=/docs/feedback-banner--docs
|
|
503
503
|
*/
|
|
@@ -531,7 +531,7 @@ declare const Banner: React__default.ForwardRefExoticComponent<Omit<{
|
|
|
531
531
|
* Note: 'slim' size has a fixed height of '32px' and should be used exclusively with variant='inline' and probably text ellipsis to ensure proper layout and appearance.
|
|
532
532
|
*/
|
|
533
533
|
size?: "default" | "slim" | undefined;
|
|
534
|
-
} & Omit<AlertProps, "title" | "role" | "onClose" | "closeText"
|
|
534
|
+
} & Omit<AlertProps, "title" | "role" | "onClose" | "closeText">, "ref"> & React__default.RefAttributes<unknown>>;
|
|
535
535
|
|
|
536
536
|
type ContactBoxProps = {
|
|
537
537
|
customIcon?: React__default.ReactNode;
|