@veeqo/ui 5.2.1 → 5.3.1
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/components/Choice/Choice.d.ts +1 -2
- package/dist/components/Choice/components/styled.d.ts +2 -5
- package/dist/components/Popover/Popover.d.ts +1 -1
- package/dist/components/Popover/types.d.ts +5 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -2,7 +2,6 @@ import React, { ReactNode } from 'react';
|
|
|
2
2
|
export interface ForwardedChoiceProps {
|
|
3
3
|
disabled?: boolean;
|
|
4
4
|
label?: string;
|
|
5
|
-
isFontBold?: boolean;
|
|
6
5
|
hint?: string;
|
|
7
6
|
tooltip?: string;
|
|
8
7
|
error?: string;
|
|
@@ -15,4 +14,4 @@ export interface ChoiceProps extends ForwardedChoiceProps {
|
|
|
15
14
|
id: string;
|
|
16
15
|
children: ReactNode;
|
|
17
16
|
}
|
|
18
|
-
export declare const Choice: ({ id, label,
|
|
17
|
+
export declare const Choice: ({ id, label, hint, tooltip, error, bordered, Badge, Accessory, Footer, children, disabled, }: ChoiceProps) => React.JSX.Element;
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
import { CSSProperties } from 'styled-components';
|
|
2
1
|
export declare const RootLayout: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
2
|
export interface InputLayoutProps {
|
|
4
3
|
align: 'top' | 'center';
|
|
5
4
|
}
|
|
6
5
|
export declare const InputLayout: import("styled-components").StyledComponent<"div", any, InputLayoutProps, never>;
|
|
7
6
|
export declare const AccessoryLayout: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
|
-
export declare const TextLayout: import("styled-components").StyledComponent<"div", any, {
|
|
9
|
-
|
|
10
|
-
}, never>;
|
|
11
|
-
export declare const ChoiceLabel: import("styled-components").StyledComponent<"label", any, {}, never>;
|
|
7
|
+
export declare const TextLayout: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
|
+
export declare const LabelText: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
12
9
|
export declare const HintText: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
13
10
|
export declare const ErrorText: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
14
11
|
export declare const Wrapper: import("styled-components").StyledComponent<"label", any, {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PopoverProps } from './types';
|
|
3
|
-
export declare const Popover: ({ id: passedId, children, zIndex, placement, anchorElement, rootElementRef, onShouldClose, style, disableFocusLock, ...dialogProps }: PopoverProps) => React.JSX.Element;
|
|
3
|
+
export declare const Popover: ({ id: passedId, children, zIndex, placement, anchorElement, rootElementRef, onShouldClose, style, disableFocusLock, removeBackdrop, ...dialogProps }: PopoverProps) => React.JSX.Element;
|
|
@@ -7,9 +7,13 @@ export type PopoverProps = DialogHTMLAttributes<HTMLDialogElement> & {
|
|
|
7
7
|
anchorElement: HTMLElement | null;
|
|
8
8
|
rootElementRef?: HTMLElement;
|
|
9
9
|
/**
|
|
10
|
-
* Will disable the focus lock if set to true, use only if taking manual control.
|
|
10
|
+
* Will disable the focus lock if set to true, use only if taking manual control of focus.
|
|
11
11
|
*/
|
|
12
12
|
disableFocusLock?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Removes the backdrop, only use if taking control of closing the popover.
|
|
15
|
+
*/
|
|
16
|
+
removeBackdrop?: boolean;
|
|
13
17
|
/**
|
|
14
18
|
* When background is clicked, or ESC key is pressed we call this to close the popover.
|
|
15
19
|
*/
|