@synerise/ds-factors 0.20.17 → 0.21.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,26 @@
|
|
|
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.21.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@0.20.18...@synerise/ds-factors@0.21.0) (2024-01-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **autocomplete:** add readonly prop ([e16133f](https://github.com/Synerise/synerise-design/commit/e16133f91e317c3019e844c615b77811c9ce2114))
|
|
12
|
+
* **context-selector:** replace: skeleton instead of loader ([291e3bf](https://github.com/Synerise/synerise-design/commit/291e3bf9c4abcd22aeda39dd3347e1bf7424b12d))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## [0.20.18](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@0.20.17...@synerise/ds-factors@0.20.18) (2024-01-17)
|
|
19
|
+
|
|
20
|
+
**Note:** Version bump only for package @synerise/ds-factors
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
6
26
|
## [0.20.17](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@0.20.16...@synerise/ds-factors@0.20.17) (2024-01-15)
|
|
7
27
|
|
|
8
28
|
|
|
@@ -5,4 +5,3 @@ export declare const ItemsList: import("styled-components").StyledComponent<type
|
|
|
5
5
|
export declare const SearchResult: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
6
6
|
export declare const SearchResultHighlight: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
7
7
|
export declare const Value: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
8
|
-
export declare const LoaderWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -27,8 +27,4 @@ export var SearchResultHighlight = styled.span.withConfig({
|
|
|
27
27
|
export var Value = styled.span.withConfig({
|
|
28
28
|
displayName: "Parameterstyle__Value",
|
|
29
29
|
componentId: "u2uvgh-5"
|
|
30
|
-
})(["max-width:100px;text-overflow:ellipsis;overflow:hidden;"]);
|
|
31
|
-
export var LoaderWrapper = styled.div.withConfig({
|
|
32
|
-
displayName: "Parameterstyle__LoaderWrapper",
|
|
33
|
-
componentId: "u2uvgh-6"
|
|
34
|
-
})(["width:100%;display:flex;align-items:center;justify-content:center;padding:32px 0;"]);
|
|
30
|
+
})(["max-width:100px;text-overflow:ellipsis;overflow:hidden;"]);
|
|
@@ -9,7 +9,7 @@ import Result from '@synerise/ds-result';
|
|
|
9
9
|
import { theme } from '@synerise/ds-core';
|
|
10
10
|
import Scrollbar from '@synerise/ds-scrollbar';
|
|
11
11
|
import { v4 as uuid } from 'uuid';
|
|
12
|
-
import
|
|
12
|
+
import DropdownSkeleton from '@synerise/ds-skeleton';
|
|
13
13
|
import { FixedSizeList as List } from 'react-window';
|
|
14
14
|
import * as S from './Parameter.style';
|
|
15
15
|
import ParameterDropdownItem from './ParameterDropdownItem';
|
|
@@ -209,10 +209,9 @@ var ParameterDropdown = function ParameterDropdown(_ref) {
|
|
|
209
209
|
onClick: function onClick() {
|
|
210
210
|
return setActiveGroup(undefined);
|
|
211
211
|
}
|
|
212
|
-
}), loading ? /*#__PURE__*/React.createElement(
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
})) : /*#__PURE__*/React.createElement(S.ItemsList, null, currentItems != null && currentItems.length ? /*#__PURE__*/React.createElement(Scrollbar, {
|
|
212
|
+
}), loading ? /*#__PURE__*/React.createElement(DropdownSkeleton, {
|
|
213
|
+
size: "M"
|
|
214
|
+
}) : /*#__PURE__*/React.createElement(S.ItemsList, null, currentItems != null && currentItems.length ? /*#__PURE__*/React.createElement(Scrollbar, {
|
|
216
215
|
absolute: true,
|
|
217
216
|
style: {
|
|
218
217
|
padding: 8
|
|
@@ -94,9 +94,8 @@ var TextInput = function TextInput(_ref) {
|
|
|
94
94
|
onBlur: onDeactivate,
|
|
95
95
|
error: localError || error,
|
|
96
96
|
handleInputRef: setInputRef,
|
|
97
|
-
defaultOpen: true
|
|
98
|
-
|
|
99
|
-
|
|
97
|
+
defaultOpen: true,
|
|
98
|
+
readOnly: readOnly
|
|
100
99
|
}), autocompleteOptions == null ? void 0 : autocompleteOptions.map(function (option) {
|
|
101
100
|
return /*#__PURE__*/React.createElement(Autocomplete.Option, {
|
|
102
101
|
key: option,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-factors",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
4
4
|
"description": "Factors UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -33,25 +33,25 @@
|
|
|
33
33
|
],
|
|
34
34
|
"types": "dist/index.d.ts",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@synerise/ds-autocomplete": "^0.
|
|
37
|
-
"@synerise/ds-badge": "^0.6.
|
|
38
|
-
"@synerise/ds-button": "^0.
|
|
39
|
-
"@synerise/ds-date-picker": "^0.10.
|
|
40
|
-
"@synerise/ds-date-range-picker": "^0.26.
|
|
41
|
-
"@synerise/ds-dropdown": "^0.17.
|
|
42
|
-
"@synerise/ds-icon": "^0.
|
|
43
|
-
"@synerise/ds-information-card": "^0.3.
|
|
44
|
-
"@synerise/ds-inline-edit": "^0.6.
|
|
45
|
-
"@synerise/ds-input": "^0.19.
|
|
46
|
-
"@synerise/ds-input-number": "^0.9.
|
|
47
|
-
"@synerise/ds-
|
|
48
|
-
"@synerise/ds-
|
|
49
|
-
"@synerise/ds-
|
|
50
|
-
"@synerise/ds-
|
|
51
|
-
"@synerise/ds-
|
|
52
|
-
"@synerise/ds-tabs": "^0.13.
|
|
53
|
-
"@synerise/ds-tooltip": "^0.14.
|
|
54
|
-
"@synerise/ds-utils": "^0.24.
|
|
36
|
+
"@synerise/ds-autocomplete": "^0.6.0",
|
|
37
|
+
"@synerise/ds-badge": "^0.6.48",
|
|
38
|
+
"@synerise/ds-button": "^0.19.0",
|
|
39
|
+
"@synerise/ds-date-picker": "^0.10.32",
|
|
40
|
+
"@synerise/ds-date-range-picker": "^0.26.5",
|
|
41
|
+
"@synerise/ds-dropdown": "^0.17.94",
|
|
42
|
+
"@synerise/ds-icon": "^0.60.0",
|
|
43
|
+
"@synerise/ds-information-card": "^0.3.54",
|
|
44
|
+
"@synerise/ds-inline-edit": "^0.6.94",
|
|
45
|
+
"@synerise/ds-input": "^0.19.15",
|
|
46
|
+
"@synerise/ds-input-number": "^0.9.2",
|
|
47
|
+
"@synerise/ds-menu": "^0.18.11",
|
|
48
|
+
"@synerise/ds-modal": "^0.17.17",
|
|
49
|
+
"@synerise/ds-result": "^0.6.43",
|
|
50
|
+
"@synerise/ds-scrollbar": "^0.7.3",
|
|
51
|
+
"@synerise/ds-skeleton": "^0.4.0",
|
|
52
|
+
"@synerise/ds-tabs": "^0.13.92",
|
|
53
|
+
"@synerise/ds-tooltip": "^0.14.16",
|
|
54
|
+
"@synerise/ds-utils": "^0.24.24",
|
|
55
55
|
"lodash": "^4.17.19",
|
|
56
56
|
"react-intl": "3.12.0",
|
|
57
57
|
"react-window": "1.8.5",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"@testing-library/react": "10.0.1",
|
|
68
68
|
"@testing-library/user-event": "^10.3.1"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "9e7d97fc5f8a9fd938b38e9d1678e050e0478e0e"
|
|
71
71
|
}
|