@synerise/ds-context-selector 0.19.24 → 0.20.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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [0.20.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-context-selector@0.19.25...@synerise/ds-context-selector@0.20.0) (2024-01-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **context-selector:** replace: skeleton instead of loader ([291e3bf](https://github.com/Synerise/synerise-design/commit/291e3bf9c4abcd22aeda39dd3347e1bf7424b12d))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [0.19.25](https://github.com/Synerise/synerise-design/compare/@synerise/ds-context-selector@0.19.24...@synerise/ds-context-selector@0.19.25) (2024-01-17)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @synerise/ds-context-selector
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [0.19.24](https://github.com/Synerise/synerise-design/compare/@synerise/ds-context-selector@0.19.23...@synerise/ds-context-selector@0.19.24) (2024-01-15)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @synerise/ds-context-selector
|
|
@@ -7,4 +7,3 @@ export declare const SearchResultHighlight: import("styled-components").StyledCo
|
|
|
7
7
|
export declare const Title: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
8
|
export declare const ItemWrapper: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
9
9
|
export declare const ErrorWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
10
|
-
export declare const LoaderWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -39,8 +39,4 @@ export var ErrorWrapper = styled.div.withConfig({
|
|
|
39
39
|
componentId: "sc-1tuu6xk-7"
|
|
40
40
|
})(["color:", ";margin-top:8px;"], function (props) {
|
|
41
41
|
return props.theme.palette['red-600'];
|
|
42
|
-
});
|
|
43
|
-
export var LoaderWrapper = styled.div.withConfig({
|
|
44
|
-
displayName: "ContextSelectorstyles__LoaderWrapper",
|
|
45
|
-
componentId: "sc-1tuu6xk-8"
|
|
46
|
-
})(["width:100%;display:flex;align-items:center;justify-content:center;padding:32px 0;"]);
|
|
42
|
+
});
|
|
@@ -15,11 +15,11 @@ import Tabs from '@synerise/ds-tabs';
|
|
|
15
15
|
import { focusWithArrowKeys, getClosest, useOnClickOutside } from '@synerise/ds-utils';
|
|
16
16
|
import Result from '@synerise/ds-result';
|
|
17
17
|
import Scrollbar from '@synerise/ds-scrollbar';
|
|
18
|
-
import Loader from '@synerise/ds-loader';
|
|
19
18
|
import { theme } from '@synerise/ds-core';
|
|
20
19
|
import { v4 as uuid } from 'uuid';
|
|
21
20
|
import { VariableSizeList as List } from 'react-window';
|
|
22
21
|
import { ItemSize } from '@synerise/ds-menu';
|
|
22
|
+
import DropdownSkeleton from '@synerise/ds-skeleton';
|
|
23
23
|
import * as S from '../ContextSelector.styles';
|
|
24
24
|
import ContextSelectorDropdownItem from './ContextSelectorDropdownItem';
|
|
25
25
|
var NO_GROUP_NAME = 'NO_GROUP_NAME';
|
|
@@ -311,10 +311,9 @@ var ContextSelectorDropdown = function ContextSelectorDropdown(_ref) {
|
|
|
311
311
|
onClick: function onClick() {
|
|
312
312
|
return setActiveGroup(undefined);
|
|
313
313
|
}
|
|
314
|
-
}), loading ? /*#__PURE__*/React.createElement(
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
})) : /*#__PURE__*/React.createElement(S.ItemsList, null, activeItems != null && activeItems.length ? /*#__PURE__*/React.createElement(Scrollbar, {
|
|
314
|
+
}), loading ? /*#__PURE__*/React.createElement(DropdownSkeleton, {
|
|
315
|
+
size: "M"
|
|
316
|
+
}) : /*#__PURE__*/React.createElement(S.ItemsList, null, activeItems != null && activeItems.length ? /*#__PURE__*/React.createElement(Scrollbar, {
|
|
318
317
|
absolute: true,
|
|
319
318
|
style: {
|
|
320
319
|
padding: 8
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-context-selector",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"description": "ContextSelector UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -27,24 +27,24 @@
|
|
|
27
27
|
"test:watch": "npm run test -- --watchAll",
|
|
28
28
|
"types": "tsc --noEmit"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "9e7d97fc5f8a9fd938b38e9d1678e050e0478e0e",
|
|
31
31
|
"sideEffects": [
|
|
32
32
|
"dist/style/*",
|
|
33
33
|
"*.less"
|
|
34
34
|
],
|
|
35
35
|
"types": "dist/index.d.ts",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@synerise/ds-button": "^0.
|
|
38
|
-
"@synerise/ds-dropdown": "^0.17.
|
|
39
|
-
"@synerise/ds-factors": "^0.
|
|
40
|
-
"@synerise/ds-icon": "^0.
|
|
41
|
-
"@synerise/ds-information-card": "^0.3.
|
|
42
|
-
"@synerise/ds-
|
|
43
|
-
"@synerise/ds-
|
|
44
|
-
"@synerise/ds-
|
|
45
|
-
"@synerise/ds-
|
|
46
|
-
"@synerise/ds-tabs": "^0.13.
|
|
47
|
-
"@synerise/ds-utils": "^0.24.
|
|
37
|
+
"@synerise/ds-button": "^0.19.0",
|
|
38
|
+
"@synerise/ds-dropdown": "^0.17.94",
|
|
39
|
+
"@synerise/ds-factors": "^0.21.0",
|
|
40
|
+
"@synerise/ds-icon": "^0.60.0",
|
|
41
|
+
"@synerise/ds-information-card": "^0.3.54",
|
|
42
|
+
"@synerise/ds-menu": "^0.18.11",
|
|
43
|
+
"@synerise/ds-result": "^0.6.43",
|
|
44
|
+
"@synerise/ds-scrollbar": "^0.7.3",
|
|
45
|
+
"@synerise/ds-skeleton": "^0.4.0",
|
|
46
|
+
"@synerise/ds-tabs": "^0.13.92",
|
|
47
|
+
"@synerise/ds-utils": "^0.24.24",
|
|
48
48
|
"react-window": "1.8.5",
|
|
49
49
|
"uuid": "^8.3.2"
|
|
50
50
|
},
|