@vchasno/ui-kit 0.2.10 → 0.2.11
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/CHANGELOG.md +11 -0
- package/dist/Datepicker/types/components/BubbleBox/index.d.ts +1 -0
- package/dist/Datepicker/types/components/Select/Select.d.ts +27 -0
- package/dist/Datepicker/types/components/Select/index.d.ts +1 -3
- package/dist/Datepicker/types/components/SvgBorder/SvgBorder.d.ts +18 -0
- package/dist/Datepicker/types/components/SvgBorder/index.d.ts +3 -0
- package/dist/Datepicker/types/components/SvgBorder/utils.d.ts +1 -0
- package/dist/Datepicker/types/components/index.d.ts +3 -1
- package/dist/Datepicker/types/index.d.ts +1 -0
- package/dist/Select/index.cjs.js +5 -1
- package/dist/Select/index.cjs.js.map +1 -1
- package/dist/Select/index.d.ts +34 -2
- package/dist/Select/index.js +2 -1
- package/dist/Select/index.js.map +1 -1
- package/dist/Select/types/components/BubbleBox/index.d.ts +1 -0
- package/dist/Select/types/components/Select/Select.d.ts +27 -0
- package/dist/Select/types/components/Select/index.d.ts +1 -3
- package/dist/Select/types/components/SvgBorder/SvgBorder.d.ts +18 -0
- package/dist/Select/types/components/SvgBorder/index.d.ts +3 -0
- package/dist/Select/types/components/SvgBorder/utils.d.ts +1 -0
- package/dist/Select/types/components/index.d.ts +3 -1
- package/dist/Select/types/index.d.ts +1 -0
- package/dist/SelectCreatable/types/components/BubbleBox/index.d.ts +1 -0
- package/dist/SelectCreatable/types/components/Select/Select.d.ts +27 -0
- package/dist/SelectCreatable/types/components/Select/index.d.ts +1 -3
- package/dist/SelectCreatable/types/components/SvgBorder/SvgBorder.d.ts +18 -0
- package/dist/SelectCreatable/types/components/SvgBorder/index.d.ts +3 -0
- package/dist/SelectCreatable/types/components/SvgBorder/utils.d.ts +1 -0
- package/dist/SelectCreatable/types/components/index.d.ts +3 -1
- package/dist/SelectCreatable/types/index.d.ts +1 -0
- package/dist/index.d.ts +26 -1
- package/dist/index.js +82 -39
- package/dist/index.js.map +1 -1
- package/dist/types/components/BubbleBox/index.d.ts +1 -0
- package/dist/types/components/Select/Select.d.ts +27 -0
- package/dist/types/components/Select/index.d.ts +1 -3
- package/dist/types/components/SvgBorder/SvgBorder.d.ts +18 -0
- package/dist/types/components/SvgBorder/index.d.ts +3 -0
- package/dist/types/components/SvgBorder/utils.d.ts +1 -0
- package/dist/types/components/index.d.ts +3 -1
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
- /package/dist/Datepicker/types/{components/BubbleBox → hooks}/useClientRect.d.ts +0 -0
- /package/dist/Select/types/{components/BubbleBox → hooks}/useClientRect.d.ts +0 -0
- /package/dist/SelectCreatable/types/{components/BubbleBox → hooks}/useClientRect.d.ts +0 -0
- /package/dist/types/{components/BubbleBox → hooks}/useClientRect.d.ts +0 -0
|
@@ -9,4 +9,31 @@ export interface SelectProps extends ReactSelectProps, Partial<WithLabel & WithH
|
|
|
9
9
|
dataQa?: string;
|
|
10
10
|
}
|
|
11
11
|
declare const Select: React.FC<SelectProps>;
|
|
12
|
+
export declare const SelectComponents: {
|
|
13
|
+
ClearIndicator: <Option_1, IsMulti extends boolean, Group extends import("react-select").GroupBase<Option_1>>(props: import("react-select").ClearIndicatorProps<Option_1, IsMulti, Group>) => import("@emotion/react").jsx.JSX.Element;
|
|
14
|
+
Control: <Option_1, IsMulti_1 extends boolean, Group_1 extends import("react-select").GroupBase<Option_1>>(props: import("react-select").ControlProps<Option_1, IsMulti_1, Group_1>) => import("@emotion/react").jsx.JSX.Element;
|
|
15
|
+
DropdownIndicator: <Option_2, IsMulti_2 extends boolean, Group_2 extends import("react-select").GroupBase<Option_2>>(props: import("react-select").DropdownIndicatorProps<Option_2, IsMulti_2, Group_2>) => import("@emotion/react").jsx.JSX.Element;
|
|
16
|
+
DownChevron: (props: import("react-select/dist/declarations/src/components/indicators").DownChevronProps) => import("@emotion/react").jsx.JSX.Element;
|
|
17
|
+
CrossIcon: (props: import("react-select/dist/declarations/src/components/indicators").CrossIconProps) => import("@emotion/react").jsx.JSX.Element;
|
|
18
|
+
Group: <Option_3, IsMulti_3 extends boolean, Group_3 extends import("react-select").GroupBase<Option_3>>(props: import("react-select").GroupProps<Option_3, IsMulti_3, Group_3>) => import("@emotion/react").jsx.JSX.Element;
|
|
19
|
+
GroupHeading: <Option_4, IsMulti_4 extends boolean, Group_4 extends import("react-select").GroupBase<Option_4>>(props: import("react-select").GroupHeadingProps<Option_4, IsMulti_4, Group_4>) => import("@emotion/react").jsx.JSX.Element;
|
|
20
|
+
IndicatorsContainer: <Option_5, IsMulti_5 extends boolean, Group_5 extends import("react-select").GroupBase<Option_5>>(props: import("react-select").IndicatorsContainerProps<Option_5, IsMulti_5, Group_5>) => import("@emotion/react").jsx.JSX.Element;
|
|
21
|
+
IndicatorSeparator: <Option_6, IsMulti_6 extends boolean, Group_6 extends import("react-select").GroupBase<Option_6>>(props: import("react-select").IndicatorSeparatorProps<Option_6, IsMulti_6, Group_6>) => import("@emotion/react").jsx.JSX.Element;
|
|
22
|
+
Input: <Option_7, IsMulti_7 extends boolean, Group_7 extends import("react-select").GroupBase<Option_7>>(props: import("react-select").InputProps<Option_7, IsMulti_7, Group_7>) => import("@emotion/react").jsx.JSX.Element;
|
|
23
|
+
LoadingIndicator: <Option_8, IsMulti_8 extends boolean, Group_8 extends import("react-select").GroupBase<Option_8>>({ innerProps, isRtl, size, ...restProps }: import("react-select").LoadingIndicatorProps<Option_8, IsMulti_8, Group_8>) => import("@emotion/react").jsx.JSX.Element;
|
|
24
|
+
Menu: <Option_9, IsMulti_9 extends boolean, Group_9 extends import("react-select").GroupBase<Option_9>>(props: import("react-select").MenuProps<Option_9, IsMulti_9, Group_9>) => import("@emotion/react").jsx.JSX.Element;
|
|
25
|
+
MenuList: <Option_10, IsMulti_10 extends boolean, Group_10 extends import("react-select").GroupBase<Option_10>>(props: import("react-select").MenuListProps<Option_10, IsMulti_10, Group_10>) => import("@emotion/react").jsx.JSX.Element;
|
|
26
|
+
MenuPortal: <Option_11, IsMulti_11 extends boolean, Group_11 extends import("react-select").GroupBase<Option_11>>(props: import("react-select/dist/declarations/src/components/Menu").MenuPortalProps<Option_11, IsMulti_11, Group_11>) => import("@emotion/react").jsx.JSX.Element | null;
|
|
27
|
+
LoadingMessage: <Option_12, IsMulti_12 extends boolean, Group_12 extends import("react-select").GroupBase<Option_12>>({ children, innerProps, ...restProps }: import("react-select").NoticeProps<Option_12, IsMulti_12, Group_12>) => import("@emotion/react").jsx.JSX.Element;
|
|
28
|
+
NoOptionsMessage: <Option_13, IsMulti_13 extends boolean, Group_13 extends import("react-select").GroupBase<Option_13>>({ children, innerProps, ...restProps }: import("react-select").NoticeProps<Option_13, IsMulti_13, Group_13>) => import("@emotion/react").jsx.JSX.Element;
|
|
29
|
+
MultiValue: <Option_14, IsMulti_14 extends boolean, Group_14 extends import("react-select").GroupBase<Option_14>>(props: import("react-select").MultiValueProps<Option_14, IsMulti_14, Group_14>) => import("@emotion/react").jsx.JSX.Element;
|
|
30
|
+
MultiValueContainer: <Option_15, IsMulti_15 extends boolean, Group_15 extends import("react-select").GroupBase<Option_15>>({ children, innerProps, }: import("react-select").MultiValueGenericProps<Option_15, IsMulti_15, Group_15>) => import("@emotion/react").jsx.JSX.Element;
|
|
31
|
+
MultiValueLabel: <Option_15_1, IsMulti_15_1 extends boolean, Group_15_1 extends import("react-select").GroupBase<Option_15_1>>({ children, innerProps, }: import("react-select").MultiValueGenericProps<Option_15_1, IsMulti_15_1, Group_15_1>) => import("@emotion/react").jsx.JSX.Element;
|
|
32
|
+
MultiValueRemove: typeof import("react-select/dist/declarations/src/components/MultiValue").MultiValueRemove;
|
|
33
|
+
Option: <Option_16, IsMulti_16 extends boolean, Group_16 extends import("react-select").GroupBase<Option_16>>(props: import("react-select").OptionProps<Option_16, IsMulti_16, Group_16>) => import("@emotion/react").jsx.JSX.Element;
|
|
34
|
+
Placeholder: <Option_17, IsMulti_17 extends boolean, Group_17 extends import("react-select").GroupBase<Option_17>>(props: import("react-select").PlaceholderProps<Option_17, IsMulti_17, Group_17>) => import("@emotion/react").jsx.JSX.Element;
|
|
35
|
+
SelectContainer: <Option_18, IsMulti_18 extends boolean, Group_18 extends import("react-select").GroupBase<Option_18>>(props: import("react-select").ContainerProps<Option_18, IsMulti_18, Group_18>) => import("@emotion/react").jsx.JSX.Element;
|
|
36
|
+
SingleValue: <Option_19, IsMulti_19 extends boolean, Group_19 extends import("react-select").GroupBase<Option_19>>(props: import("react-select").SingleValueProps<Option_19, IsMulti_19, Group_19>) => import("@emotion/react").jsx.JSX.Element;
|
|
37
|
+
ValueContainer: <Option_20, IsMulti_20 extends boolean, Group_20 extends import("react-select").GroupBase<Option_20>>(props: import("react-select").ValueContainerProps<Option_20, IsMulti_20, Group_20>) => import("@emotion/react").jsx.JSX.Element;
|
|
38
|
+
};
|
|
12
39
|
export default Select;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
export { default } from './Select';
|
|
1
|
+
export { default, SelectComponents } from './Select';
|
|
2
2
|
export type { SelectProps } from './Select';
|
|
3
3
|
export { default as SelectCreatable } from './SelectCreatable';
|
|
4
4
|
export type { SelectCreatableProps } from './SelectCreatable';
|
|
5
5
|
export type { Option } from './types';
|
|
6
|
-
export { PlaceholderProps, CommonProps, PropsValue, ControlProps, MultiValueProps, MultiValueRemoveProps, MultiValueGenericProps, SingleValueProps, ValueContainerProps, ContainerProps, IndicatorsContainerProps, ClearIndicatorProps, DropdownIndicatorProps, IndicatorSeparatorProps, LoadingIndicatorProps, GroupProps, GroupHeadingProps, MenuProps, MenuListProps, InputProps, AriaGuidanceProps, AriaOnFilterProps, ActionMetaBase, AriaLiveMessages, AriaOnFocusProps, ClearActionMeta, Colors, CommonPropsAndClassName, CreateOptionActionMeta, } from 'react-select';
|
|
7
|
-
export { components } from 'react-select';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React, { HTMLAttributes } from 'react';
|
|
2
|
+
import './SvgBorder.global.css';
|
|
3
|
+
export interface SvgBorderProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
svgClassName?: string;
|
|
5
|
+
strokeDasharray?: string;
|
|
6
|
+
strokeWidth?: number;
|
|
7
|
+
color?: string;
|
|
8
|
+
borderRadius?: number;
|
|
9
|
+
animation?: 'border-offset';
|
|
10
|
+
animationPlay?: boolean;
|
|
11
|
+
animationDurationSec?: number;
|
|
12
|
+
dashoffset?: number | string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @link <https://css-tricks.com/svg-line-animation-works/>
|
|
16
|
+
*/
|
|
17
|
+
declare const SvgBorder: React.FC<SvgBorderProps>;
|
|
18
|
+
export default SvgBorder;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const composeRoundedBorderPath: (width: number, height: number, radiusOffset: number) => string;
|
|
@@ -32,5 +32,7 @@ export { default as Checkbox } from './Checkbox';
|
|
|
32
32
|
export type { CheckboxProps } from './Checkbox';
|
|
33
33
|
export { default as PulseDot } from './PulseDot';
|
|
34
34
|
export type { PulseDotProps } from './PulseDot';
|
|
35
|
-
export { default as BubbleBox } from './BubbleBox';
|
|
35
|
+
export { default as BubbleBox, composeBubblePath } from './BubbleBox';
|
|
36
36
|
export type { BubbleBoxProps } from './BubbleBox';
|
|
37
|
+
export { default as SvgBorder, composeRoundedBorderPath } from './SvgBorder';
|
|
38
|
+
export type { SvgBorderProps } from './SvgBorder';
|
|
@@ -9,4 +9,31 @@ export interface SelectProps extends ReactSelectProps, Partial<WithLabel & WithH
|
|
|
9
9
|
dataQa?: string;
|
|
10
10
|
}
|
|
11
11
|
declare const Select: React.FC<SelectProps>;
|
|
12
|
+
export declare const SelectComponents: {
|
|
13
|
+
ClearIndicator: <Option_1, IsMulti extends boolean, Group extends import("react-select").GroupBase<Option_1>>(props: import("react-select").ClearIndicatorProps<Option_1, IsMulti, Group>) => import("@emotion/react").jsx.JSX.Element;
|
|
14
|
+
Control: <Option_1, IsMulti_1 extends boolean, Group_1 extends import("react-select").GroupBase<Option_1>>(props: import("react-select").ControlProps<Option_1, IsMulti_1, Group_1>) => import("@emotion/react").jsx.JSX.Element;
|
|
15
|
+
DropdownIndicator: <Option_2, IsMulti_2 extends boolean, Group_2 extends import("react-select").GroupBase<Option_2>>(props: import("react-select").DropdownIndicatorProps<Option_2, IsMulti_2, Group_2>) => import("@emotion/react").jsx.JSX.Element;
|
|
16
|
+
DownChevron: (props: import("react-select/dist/declarations/src/components/indicators").DownChevronProps) => import("@emotion/react").jsx.JSX.Element;
|
|
17
|
+
CrossIcon: (props: import("react-select/dist/declarations/src/components/indicators").CrossIconProps) => import("@emotion/react").jsx.JSX.Element;
|
|
18
|
+
Group: <Option_3, IsMulti_3 extends boolean, Group_3 extends import("react-select").GroupBase<Option_3>>(props: import("react-select").GroupProps<Option_3, IsMulti_3, Group_3>) => import("@emotion/react").jsx.JSX.Element;
|
|
19
|
+
GroupHeading: <Option_4, IsMulti_4 extends boolean, Group_4 extends import("react-select").GroupBase<Option_4>>(props: import("react-select").GroupHeadingProps<Option_4, IsMulti_4, Group_4>) => import("@emotion/react").jsx.JSX.Element;
|
|
20
|
+
IndicatorsContainer: <Option_5, IsMulti_5 extends boolean, Group_5 extends import("react-select").GroupBase<Option_5>>(props: import("react-select").IndicatorsContainerProps<Option_5, IsMulti_5, Group_5>) => import("@emotion/react").jsx.JSX.Element;
|
|
21
|
+
IndicatorSeparator: <Option_6, IsMulti_6 extends boolean, Group_6 extends import("react-select").GroupBase<Option_6>>(props: import("react-select").IndicatorSeparatorProps<Option_6, IsMulti_6, Group_6>) => import("@emotion/react").jsx.JSX.Element;
|
|
22
|
+
Input: <Option_7, IsMulti_7 extends boolean, Group_7 extends import("react-select").GroupBase<Option_7>>(props: import("react-select").InputProps<Option_7, IsMulti_7, Group_7>) => import("@emotion/react").jsx.JSX.Element;
|
|
23
|
+
LoadingIndicator: <Option_8, IsMulti_8 extends boolean, Group_8 extends import("react-select").GroupBase<Option_8>>({ innerProps, isRtl, size, ...restProps }: import("react-select").LoadingIndicatorProps<Option_8, IsMulti_8, Group_8>) => import("@emotion/react").jsx.JSX.Element;
|
|
24
|
+
Menu: <Option_9, IsMulti_9 extends boolean, Group_9 extends import("react-select").GroupBase<Option_9>>(props: import("react-select").MenuProps<Option_9, IsMulti_9, Group_9>) => import("@emotion/react").jsx.JSX.Element;
|
|
25
|
+
MenuList: <Option_10, IsMulti_10 extends boolean, Group_10 extends import("react-select").GroupBase<Option_10>>(props: import("react-select").MenuListProps<Option_10, IsMulti_10, Group_10>) => import("@emotion/react").jsx.JSX.Element;
|
|
26
|
+
MenuPortal: <Option_11, IsMulti_11 extends boolean, Group_11 extends import("react-select").GroupBase<Option_11>>(props: import("react-select/dist/declarations/src/components/Menu").MenuPortalProps<Option_11, IsMulti_11, Group_11>) => import("@emotion/react").jsx.JSX.Element | null;
|
|
27
|
+
LoadingMessage: <Option_12, IsMulti_12 extends boolean, Group_12 extends import("react-select").GroupBase<Option_12>>({ children, innerProps, ...restProps }: import("react-select").NoticeProps<Option_12, IsMulti_12, Group_12>) => import("@emotion/react").jsx.JSX.Element;
|
|
28
|
+
NoOptionsMessage: <Option_13, IsMulti_13 extends boolean, Group_13 extends import("react-select").GroupBase<Option_13>>({ children, innerProps, ...restProps }: import("react-select").NoticeProps<Option_13, IsMulti_13, Group_13>) => import("@emotion/react").jsx.JSX.Element;
|
|
29
|
+
MultiValue: <Option_14, IsMulti_14 extends boolean, Group_14 extends import("react-select").GroupBase<Option_14>>(props: import("react-select").MultiValueProps<Option_14, IsMulti_14, Group_14>) => import("@emotion/react").jsx.JSX.Element;
|
|
30
|
+
MultiValueContainer: <Option_15, IsMulti_15 extends boolean, Group_15 extends import("react-select").GroupBase<Option_15>>({ children, innerProps, }: import("react-select").MultiValueGenericProps<Option_15, IsMulti_15, Group_15>) => import("@emotion/react").jsx.JSX.Element;
|
|
31
|
+
MultiValueLabel: <Option_15_1, IsMulti_15_1 extends boolean, Group_15_1 extends import("react-select").GroupBase<Option_15_1>>({ children, innerProps, }: import("react-select").MultiValueGenericProps<Option_15_1, IsMulti_15_1, Group_15_1>) => import("@emotion/react").jsx.JSX.Element;
|
|
32
|
+
MultiValueRemove: typeof import("react-select/dist/declarations/src/components/MultiValue").MultiValueRemove;
|
|
33
|
+
Option: <Option_16, IsMulti_16 extends boolean, Group_16 extends import("react-select").GroupBase<Option_16>>(props: import("react-select").OptionProps<Option_16, IsMulti_16, Group_16>) => import("@emotion/react").jsx.JSX.Element;
|
|
34
|
+
Placeholder: <Option_17, IsMulti_17 extends boolean, Group_17 extends import("react-select").GroupBase<Option_17>>(props: import("react-select").PlaceholderProps<Option_17, IsMulti_17, Group_17>) => import("@emotion/react").jsx.JSX.Element;
|
|
35
|
+
SelectContainer: <Option_18, IsMulti_18 extends boolean, Group_18 extends import("react-select").GroupBase<Option_18>>(props: import("react-select").ContainerProps<Option_18, IsMulti_18, Group_18>) => import("@emotion/react").jsx.JSX.Element;
|
|
36
|
+
SingleValue: <Option_19, IsMulti_19 extends boolean, Group_19 extends import("react-select").GroupBase<Option_19>>(props: import("react-select").SingleValueProps<Option_19, IsMulti_19, Group_19>) => import("@emotion/react").jsx.JSX.Element;
|
|
37
|
+
ValueContainer: <Option_20, IsMulti_20 extends boolean, Group_20 extends import("react-select").GroupBase<Option_20>>(props: import("react-select").ValueContainerProps<Option_20, IsMulti_20, Group_20>) => import("@emotion/react").jsx.JSX.Element;
|
|
38
|
+
};
|
|
12
39
|
export default Select;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
export { default } from './Select';
|
|
1
|
+
export { default, SelectComponents } from './Select';
|
|
2
2
|
export type { SelectProps } from './Select';
|
|
3
3
|
export { default as SelectCreatable } from './SelectCreatable';
|
|
4
4
|
export type { SelectCreatableProps } from './SelectCreatable';
|
|
5
5
|
export type { Option } from './types';
|
|
6
|
-
export { PlaceholderProps, CommonProps, PropsValue, ControlProps, MultiValueProps, MultiValueRemoveProps, MultiValueGenericProps, SingleValueProps, ValueContainerProps, ContainerProps, IndicatorsContainerProps, ClearIndicatorProps, DropdownIndicatorProps, IndicatorSeparatorProps, LoadingIndicatorProps, GroupProps, GroupHeadingProps, MenuProps, MenuListProps, InputProps, AriaGuidanceProps, AriaOnFilterProps, ActionMetaBase, AriaLiveMessages, AriaOnFocusProps, ClearActionMeta, Colors, CommonPropsAndClassName, CreateOptionActionMeta, } from 'react-select';
|
|
7
|
-
export { components } from 'react-select';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React, { HTMLAttributes } from 'react';
|
|
2
|
+
import './SvgBorder.global.css';
|
|
3
|
+
export interface SvgBorderProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
svgClassName?: string;
|
|
5
|
+
strokeDasharray?: string;
|
|
6
|
+
strokeWidth?: number;
|
|
7
|
+
color?: string;
|
|
8
|
+
borderRadius?: number;
|
|
9
|
+
animation?: 'border-offset';
|
|
10
|
+
animationPlay?: boolean;
|
|
11
|
+
animationDurationSec?: number;
|
|
12
|
+
dashoffset?: number | string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @link <https://css-tricks.com/svg-line-animation-works/>
|
|
16
|
+
*/
|
|
17
|
+
declare const SvgBorder: React.FC<SvgBorderProps>;
|
|
18
|
+
export default SvgBorder;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const composeRoundedBorderPath: (width: number, height: number, radiusOffset: number) => string;
|
|
@@ -32,5 +32,7 @@ export { default as Checkbox } from './Checkbox';
|
|
|
32
32
|
export type { CheckboxProps } from './Checkbox';
|
|
33
33
|
export { default as PulseDot } from './PulseDot';
|
|
34
34
|
export type { PulseDotProps } from './PulseDot';
|
|
35
|
-
export { default as BubbleBox } from './BubbleBox';
|
|
35
|
+
export { default as BubbleBox, composeBubblePath } from './BubbleBox';
|
|
36
36
|
export type { BubbleBoxProps } from './BubbleBox';
|
|
37
|
+
export { default as SvgBorder, composeRoundedBorderPath } from './SvgBorder';
|
|
38
|
+
export type { SvgBorderProps } from './SvgBorder';
|
package/dist/index.d.ts
CHANGED
|
@@ -222,4 +222,29 @@ interface BubbleBoxProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
222
222
|
}
|
|
223
223
|
declare const BubbleBox: React.FC<BubbleBoxProps>;
|
|
224
224
|
|
|
225
|
-
|
|
225
|
+
declare const composeBubblePath: (width: number, height: number, bubble: number, radiusOffset: number) => string;
|
|
226
|
+
|
|
227
|
+
interface SvgBorderProps extends HTMLAttributes<HTMLDivElement> {
|
|
228
|
+
svgClassName?: string;
|
|
229
|
+
strokeDasharray?: string;
|
|
230
|
+
strokeWidth?: number;
|
|
231
|
+
color?: string;
|
|
232
|
+
borderRadius?: number;
|
|
233
|
+
animation?: 'border-offset';
|
|
234
|
+
animationPlay?: boolean;
|
|
235
|
+
animationDurationSec?: number;
|
|
236
|
+
dashoffset?: number | string;
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* @link <https://css-tricks.com/svg-line-animation-works/>
|
|
240
|
+
*/
|
|
241
|
+
declare const SvgBorder: React.FC<SvgBorderProps>;
|
|
242
|
+
|
|
243
|
+
declare const composeRoundedBorderPath: (width: number, height: number, radiusOffset: number) => string;
|
|
244
|
+
|
|
245
|
+
declare const useClientRect: () => {
|
|
246
|
+
rect: DOMRect | null;
|
|
247
|
+
ref: React.RefObject<HTMLDivElement>;
|
|
248
|
+
};
|
|
249
|
+
|
|
250
|
+
export { Alert, type AlertProps, BubbleBox, type BubbleBoxProps, Button, type ButtonProps, Checkbox, type CheckboxProps, FlexBox, type FlexBoxProps, Input, InputMeta, type InputMetaProps, type InputProps, MaskInput, type MaskInputProps, Pagination, type PaginationProps, Paragraph, type ParagraphProps, PulseDot, type PulseDotProps, Spinner, type SpinnerProps, SvgBorder, type SvgBorderProps, Switch, type SwitchProps, Tabs, type TabsProps, Text, TextAreaInput, type TextAreaInputProps, TextInput, type TextInputProps, type TextProps, Title, type TitleProps, composeBubblePath, composeRoundedBorderPath, useClientRect };
|