@vchasno/ui-kit 0.3.22 → 0.3.23
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 +6 -0
- package/dist/Datepicker/types/components/Select/Label.d.ts +1 -2
- package/dist/Datepicker/types/components/Select/customComponents.d.ts +0 -2
- package/dist/Menu/types/components/Select/Label.d.ts +1 -2
- package/dist/Menu/types/components/Select/customComponents.d.ts +0 -2
- package/dist/ProjectsPopover/types/components/Select/Label.d.ts +1 -2
- package/dist/ProjectsPopover/types/components/Select/customComponents.d.ts +0 -2
- package/dist/Select/index.cjs.js +27 -24
- package/dist/Select/index.cjs.js.map +1 -1
- package/dist/Select/index.js +27 -24
- package/dist/Select/index.js.map +1 -1
- package/dist/Select/types/components/Select/Label.d.ts +1 -2
- package/dist/Select/types/components/Select/customComponents.d.ts +0 -2
- package/dist/SelectCreatable/index.cjs.js +28 -25
- package/dist/SelectCreatable/index.cjs.js.map +1 -1
- package/dist/SelectCreatable/index.js +28 -25
- package/dist/SelectCreatable/index.js.map +1 -1
- package/dist/SelectCreatable/types/components/Select/Label.d.ts +1 -2
- package/dist/SelectCreatable/types/components/Select/customComponents.d.ts +0 -2
- package/dist/Snackbar/types/components/Select/Label.d.ts +1 -2
- package/dist/Snackbar/types/components/Select/customComponents.d.ts +0 -2
- package/dist/css/Select.global.css +26 -4
- package/dist/css/_theme.css +1 -1
- package/dist/types/components/Select/Label.d.ts +1 -2
- package/dist/types/components/Select/customComponents.d.ts +0 -2
- package/package.json +1 -1
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ClearIndicatorProps, DropdownIndicatorProps } from 'react-select';
|
|
3
|
-
import { CustomControlProps } from './types';
|
|
4
3
|
declare const _default: {
|
|
5
4
|
DropdownIndicator: (props: DropdownIndicatorProps<unknown, boolean, import("react-select").GroupBase<unknown>>) => React.JSX.Element;
|
|
6
5
|
LoadingIndicator: () => React.JSX.Element;
|
|
7
6
|
IndicatorSeparator: () => null;
|
|
8
7
|
ClearIndicator: (props: ClearIndicatorProps<unknown, boolean, import("react-select").GroupBase<unknown>>) => React.JSX.Element;
|
|
9
|
-
Control: (props: CustomControlProps) => React.JSX.Element;
|
|
10
8
|
};
|
|
11
9
|
export default _default;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ClearIndicatorProps, DropdownIndicatorProps } from 'react-select';
|
|
3
|
-
import { CustomControlProps } from './types';
|
|
4
3
|
declare const _default: {
|
|
5
4
|
DropdownIndicator: (props: DropdownIndicatorProps<unknown, boolean, import("react-select").GroupBase<unknown>>) => React.JSX.Element;
|
|
6
5
|
LoadingIndicator: () => React.JSX.Element;
|
|
7
6
|
IndicatorSeparator: () => null;
|
|
8
7
|
ClearIndicator: (props: ClearIndicatorProps<unknown, boolean, import("react-select").GroupBase<unknown>>) => React.JSX.Element;
|
|
9
|
-
Control: (props: CustomControlProps) => React.JSX.Element;
|
|
10
8
|
};
|
|
11
9
|
export default _default;
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
.vchasno-ui-select {
|
|
2
|
+
position: relative;
|
|
2
3
|
display: inline-flex;
|
|
3
4
|
flex-direction: column;
|
|
4
5
|
gap: 5px;
|
|
5
6
|
}
|
|
6
7
|
|
|
8
|
+
.vchasno-ui-select .vchasno-ui-label-text {
|
|
9
|
+
transform: translate(0, -18px);
|
|
10
|
+
transition:
|
|
11
|
+
font-size 0.3s,
|
|
12
|
+
transform 0.3s;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.vchasno-ui-select.--with-value .vchasno-ui-label-text,
|
|
16
|
+
.vchasno-ui-select:focus-within .vchasno-ui-label-text {
|
|
17
|
+
font-size: 12px;
|
|
18
|
+
transform: translate(0, -42px);
|
|
19
|
+
}
|
|
20
|
+
|
|
7
21
|
.vchasno-ui-select.--wide {
|
|
8
22
|
width: 100%;
|
|
9
23
|
}
|
|
@@ -157,17 +171,25 @@
|
|
|
157
171
|
}
|
|
158
172
|
|
|
159
173
|
.vchasno-ui-select .vchasno-ui-select__multi-value {
|
|
174
|
+
border-radius: 8px;
|
|
160
175
|
background-color: var(--vchasno-ui-select-option-bg-selected);
|
|
161
|
-
outline: 1px solid var(--vchasno-ui-select-menu-border-color,
|
|
176
|
+
outline: 1px solid var(--vchasno-ui-select-menu-border-color, transparent);
|
|
162
177
|
}
|
|
163
178
|
|
|
164
179
|
.vchasno-ui-select .vchasno-ui-select__multi-value__remove {
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
180
|
+
padding: 0;
|
|
181
|
+
padding-right: 3px;
|
|
182
|
+
background-color: transparent;
|
|
183
|
+
transition: color var(--vchasno-ui-transition-duration-sec, 0.3s);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.vchasno-ui-select .vchasno-ui-select__multi-value__remove svg {
|
|
187
|
+
width: 16px;
|
|
188
|
+
height: 16px;
|
|
168
189
|
}
|
|
169
190
|
|
|
170
191
|
.vchasno-ui-select .vchasno-ui-select__multi-value__remove:hover {
|
|
192
|
+
background-color: transparent;
|
|
171
193
|
cursor: pointer;
|
|
172
194
|
}
|
|
173
195
|
|
package/dist/css/_theme.css
CHANGED
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
--vchasno-ui-checkbox-font-size: 12px;
|
|
42
42
|
--vchasno-ui-select-option-bg-selected: #f3f6f8;
|
|
43
43
|
--vchasno-ui-select-option-color-selected: #333;
|
|
44
|
-
--vchasno-ui-select-menu-border-color:
|
|
44
|
+
--vchasno-ui-select-menu-border-color: transparent;
|
|
45
45
|
--vchasno-ui-calendar-color: #6b5fff;
|
|
46
46
|
--vchasno-ui-calendar-bg-hover: #ffb200;
|
|
47
47
|
--vchasno-ui-text-primary-color: #333;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ClearIndicatorProps, DropdownIndicatorProps } from 'react-select';
|
|
3
|
-
import { CustomControlProps } from './types';
|
|
4
3
|
declare const _default: {
|
|
5
4
|
DropdownIndicator: (props: DropdownIndicatorProps<unknown, boolean, import("react-select").GroupBase<unknown>>) => React.JSX.Element;
|
|
6
5
|
LoadingIndicator: () => React.JSX.Element;
|
|
7
6
|
IndicatorSeparator: () => null;
|
|
8
7
|
ClearIndicator: (props: ClearIndicatorProps<unknown, boolean, import("react-select").GroupBase<unknown>>) => React.JSX.Element;
|
|
9
|
-
Control: (props: CustomControlProps) => React.JSX.Element;
|
|
10
8
|
};
|
|
11
9
|
export default _default;
|