@xqmsg/ui-core 0.14.5 → 0.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.
- package/dist/components/input/StackedMultiSelect/index.d.ts +0 -1
- package/dist/components/input/StackedPilledInput/index.d.ts +0 -1
- package/dist/components/input/components/dropdown/index.d.ts +3 -1
- package/dist/theme/components/button.d.ts +10 -8
- package/dist/theme/components/input.d.ts +2 -0
- package/dist/theme/components/select.d.ts +2 -0
- package/dist/theme/components/table.d.ts +1 -0
- package/dist/theme/components/textarea.d.ts +3 -1
- package/dist/ui-core.cjs.development.js +318 -168
- package/dist/ui-core.cjs.development.js.map +1 -1
- package/dist/ui-core.cjs.production.min.js +1 -1
- package/dist/ui-core.cjs.production.min.js.map +1 -1
- package/dist/ui-core.esm.js +319 -169
- package/dist/ui-core.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/banner/index.tsx +7 -15
- package/src/components/button/Button.stories.tsx +15 -5
- package/src/components/button/index.tsx +2 -2
- package/src/components/input/Input.stories.tsx +95 -53
- package/src/components/input/StackedMultiSelect/index.tsx +187 -144
- package/src/components/input/StackedPilledInput/index.tsx +217 -225
- package/src/components/input/StackedSelect/StackedSelect.tsx +34 -2
- package/src/components/input/StackedSwitch/index.tsx +7 -1
- package/src/components/input/StackedTextarea/StackedTextarea.tsx +1 -1
- package/src/components/input/components/dropdown/index.tsx +23 -6
- package/src/components/input/components/token/index.tsx +11 -6
- package/src/components/input/index.tsx +0 -1
- package/src/theme/components/button.ts +10 -10
- package/src/theme/components/input.ts +1 -0
- package/src/theme/components/table.ts +1 -0
- package/src/theme/components/textarea.ts +4 -1
- package/dist/components/input/StackedMultiSelect/components/MultiValue/index.d.ts +0 -10
- package/src/components/input/StackedMultiSelect/components/MultiValue/index.tsx +0 -21
|
@@ -7,7 +7,6 @@ export interface StackedMultiSelectProps extends ReactSelectFieldProps {
|
|
|
7
7
|
setError: UseFormSetError<FieldValues>;
|
|
8
8
|
clearErrors: UseFormClearErrors<FieldValues>;
|
|
9
9
|
control: Control<FieldValues, any>;
|
|
10
|
-
maxLength?: number;
|
|
11
10
|
}
|
|
12
11
|
/**
|
|
13
12
|
* A functional React component utilized to render the `StackedMultiSelect` component.
|
|
@@ -6,7 +6,6 @@ export interface StackedPilledInputProps extends InputFieldProps {
|
|
|
6
6
|
setError: UseFormSetError<FieldValues>;
|
|
7
7
|
clearErrors: UseFormClearErrors<FieldValues>;
|
|
8
8
|
control: Control<FieldValues, any>;
|
|
9
|
-
maxLength?: number;
|
|
10
9
|
}
|
|
11
10
|
/**
|
|
12
11
|
* A functional React component utilized to render the `StackedPilledInput` component.
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { RefObject } from 'react';
|
|
2
2
|
import { FieldOption, FieldOptions } from '../../InputTypes';
|
|
3
3
|
export interface DropdownProps {
|
|
4
4
|
onSelectItem: (option: FieldOption) => void;
|
|
5
5
|
options: FieldOptions;
|
|
6
|
+
dropdownRef: RefObject<HTMLDivElement>;
|
|
7
|
+
position: 'top' | 'bottom';
|
|
6
8
|
}
|
|
7
9
|
/**
|
|
8
10
|
* A functional React component utilized to render the `Dropdown` component
|
|
@@ -4,6 +4,7 @@ declare const _default: {
|
|
|
4
4
|
fontSize: string;
|
|
5
5
|
bg: string;
|
|
6
6
|
color: string;
|
|
7
|
+
border: string;
|
|
7
8
|
px: string;
|
|
8
9
|
py: string;
|
|
9
10
|
bgGradient: string;
|
|
@@ -23,16 +24,17 @@ declare const _default: {
|
|
|
23
24
|
bgGradient: string;
|
|
24
25
|
};
|
|
25
26
|
_focus: {
|
|
26
|
-
|
|
27
|
-
|
|
27
|
+
outline: string;
|
|
28
|
+
outlineOffset: string;
|
|
28
29
|
};
|
|
29
30
|
};
|
|
30
31
|
variants: {
|
|
31
|
-
|
|
32
|
+
primary: {
|
|
32
33
|
borderRadius: string;
|
|
33
34
|
fontSize: string;
|
|
34
35
|
bg: string;
|
|
35
36
|
color: string;
|
|
37
|
+
border: string;
|
|
36
38
|
px: string;
|
|
37
39
|
py: string;
|
|
38
40
|
bgGradient: string;
|
|
@@ -52,14 +54,13 @@ declare const _default: {
|
|
|
52
54
|
bgGradient: string;
|
|
53
55
|
};
|
|
54
56
|
_focus: {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
+
outline: string;
|
|
58
|
+
outlineOffset: string;
|
|
57
59
|
};
|
|
58
60
|
};
|
|
59
|
-
|
|
61
|
+
secondary: {
|
|
60
62
|
color: string;
|
|
61
63
|
bg: string;
|
|
62
|
-
border: string;
|
|
63
64
|
_hover: {
|
|
64
65
|
bg: string;
|
|
65
66
|
};
|
|
@@ -73,6 +74,7 @@ declare const _default: {
|
|
|
73
74
|
};
|
|
74
75
|
borderRadius: string;
|
|
75
76
|
fontSize: string;
|
|
77
|
+
border: string;
|
|
76
78
|
px: string;
|
|
77
79
|
py: string;
|
|
78
80
|
bgGradient: string;
|
|
@@ -86,7 +88,7 @@ declare const _default: {
|
|
|
86
88
|
};
|
|
87
89
|
};
|
|
88
90
|
defaultProps: {
|
|
89
|
-
|
|
91
|
+
variant: string;
|
|
90
92
|
};
|
|
91
93
|
};
|
|
92
94
|
export default _default;
|
|
@@ -3,6 +3,7 @@ declare const _default: {
|
|
|
3
3
|
baseStyle: {
|
|
4
4
|
field: {
|
|
5
5
|
fontSize: string;
|
|
6
|
+
h: string;
|
|
6
7
|
'::placeholder': {
|
|
7
8
|
color: string;
|
|
8
9
|
};
|
|
@@ -26,6 +27,7 @@ declare const _default: {
|
|
|
26
27
|
default: {
|
|
27
28
|
field: {
|
|
28
29
|
fontSize: string;
|
|
30
|
+
h: string;
|
|
29
31
|
'::placeholder': {
|
|
30
32
|
color: string;
|
|
31
33
|
};
|
|
@@ -8,6 +8,7 @@ declare const _default: {
|
|
|
8
8
|
bg: string;
|
|
9
9
|
'> option': {};
|
|
10
10
|
fontSize: string;
|
|
11
|
+
h: string;
|
|
11
12
|
'::placeholder': {
|
|
12
13
|
color: string;
|
|
13
14
|
};
|
|
@@ -38,6 +39,7 @@ declare const _default: {
|
|
|
38
39
|
default: {
|
|
39
40
|
field: {
|
|
40
41
|
fontSize: string;
|
|
42
|
+
h: string;
|
|
41
43
|
'::placeholder': {
|
|
42
44
|
color: string;
|
|
43
45
|
};
|