@synerise/ds-factors 0.28.12 → 0.28.14
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.28.14](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@0.28.13...@synerise/ds-factors@0.28.14) (2025-03-10)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-factors
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [0.28.13](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@0.28.12...@synerise/ds-factors@0.28.13) (2025-03-07)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **factors:** empty results in promoted group ([412c1b3](https://github.com/Synerise/synerise-design/commit/412c1b345ca761c32bdc1a478b04bdd582aa1757))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [0.28.12](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@0.28.11...@synerise/ds-factors@0.28.12) (2025-03-04)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @synerise/ds-factors
|
|
@@ -3,7 +3,7 @@ import styled from 'styled-components';
|
|
|
3
3
|
// eslint-disable-next-line import/prefer-default-export
|
|
4
4
|
export var FormulaButton = styled.div.withConfig({
|
|
5
5
|
displayName: "Formulastyles__FormulaButton",
|
|
6
|
-
componentId: "bixbni-0"
|
|
6
|
+
componentId: "sc-bixbni-0"
|
|
7
7
|
})([".ds-button{border-radius:", ";.ant-badge{padding:0 8px 0 12px;}}"], function (props) {
|
|
8
8
|
return props.withoutTypeSelector ? '3px' : '0 3px 3px 0';
|
|
9
9
|
});
|
|
@@ -3,51 +3,51 @@ import DropdownSkeleton from '@synerise/ds-skeleton';
|
|
|
3
3
|
import { VariableSizeList } from 'react-window';
|
|
4
4
|
export var TabsWrapper = styled.div.withConfig({
|
|
5
5
|
displayName: "Parameterstyle__TabsWrapper",
|
|
6
|
-
componentId: "u2uvgh-0"
|
|
6
|
+
componentId: "sc-u2uvgh-0"
|
|
7
7
|
})(["width:100%;padding:0 0 8px 0;"]);
|
|
8
8
|
export var ContentPlaceholder = styled.div.withConfig({
|
|
9
9
|
displayName: "Parameterstyle__ContentPlaceholder",
|
|
10
|
-
componentId: "u2uvgh-1"
|
|
10
|
+
componentId: "sc-u2uvgh-1"
|
|
11
11
|
})(["height:100px;"]);
|
|
12
12
|
export var ItemsList = styled.div.withConfig({
|
|
13
13
|
displayName: "Parameterstyle__ItemsList",
|
|
14
|
-
componentId: "u2uvgh-2"
|
|
14
|
+
componentId: "sc-u2uvgh-2"
|
|
15
15
|
})(["width:100%;", ""], function (props) {
|
|
16
16
|
return props.contentHeight !== undefined && "height: " + props.contentHeight + "px;";
|
|
17
17
|
});
|
|
18
18
|
export var SearchResult = styled.span.withConfig({
|
|
19
19
|
displayName: "Parameterstyle__SearchResult",
|
|
20
|
-
componentId: "u2uvgh-3"
|
|
20
|
+
componentId: "sc-u2uvgh-3"
|
|
21
21
|
})(["font-weight:400;color:", ";"], function (props) {
|
|
22
22
|
return props.theme.palette['grey-500'];
|
|
23
23
|
});
|
|
24
24
|
export var SearchResultHighlight = styled.span.withConfig({
|
|
25
25
|
displayName: "Parameterstyle__SearchResultHighlight",
|
|
26
|
-
componentId: "u2uvgh-4"
|
|
26
|
+
componentId: "sc-u2uvgh-4"
|
|
27
27
|
})(["font-weight:500;color:", ";"], function (props) {
|
|
28
28
|
return props.theme.palette['grey-700'];
|
|
29
29
|
});
|
|
30
30
|
export var Value = styled.span.withConfig({
|
|
31
31
|
displayName: "Parameterstyle__Value",
|
|
32
|
-
componentId: "u2uvgh-5"
|
|
32
|
+
componentId: "sc-u2uvgh-5"
|
|
33
33
|
})(["max-width:110px;text-overflow:ellipsis;overflow:hidden;"]);
|
|
34
34
|
export var StyledList = styled(VariableSizeList).withConfig({
|
|
35
35
|
displayName: "Parameterstyle__StyledList",
|
|
36
|
-
componentId: "u2uvgh-6"
|
|
36
|
+
componentId: "sc-u2uvgh-6"
|
|
37
37
|
})(["overflowx:unset;overflowy:unset;height:auto !important;max-height:300px;"]);
|
|
38
38
|
export var Skeleton = styled(DropdownSkeleton).withConfig({
|
|
39
39
|
displayName: "Parameterstyle__Skeleton",
|
|
40
|
-
componentId: "u2uvgh-7"
|
|
40
|
+
componentId: "sc-u2uvgh-7"
|
|
41
41
|
})(["", ""], function (props) {
|
|
42
42
|
return props.contentHeight !== undefined && "height: " + props.contentHeight + "px;";
|
|
43
43
|
});
|
|
44
44
|
export var Title = styled.div.withConfig({
|
|
45
45
|
displayName: "Parameterstyle__Title",
|
|
46
|
-
componentId: "u2uvgh-8"
|
|
46
|
+
componentId: "sc-u2uvgh-8"
|
|
47
47
|
})(["font-size:10px;line-height:1.6;font-weight:500;text-transform:uppercase;color:", ";padding:8px 12px;"], function (props) {
|
|
48
48
|
return props.theme.palette['grey-500'];
|
|
49
49
|
});
|
|
50
50
|
export var ShowMoreItem = styled.div.withConfig({
|
|
51
51
|
displayName: "Parameterstyle__ShowMoreItem",
|
|
52
|
-
componentId: "u2uvgh-9"
|
|
52
|
+
componentId: "sc-u2uvgh-9"
|
|
53
53
|
})(["font-weight:500;"]);
|
|
@@ -179,11 +179,6 @@ var ParameterDropdown = function ParameterDropdown(_ref) {
|
|
|
179
179
|
return item.groupId === activeGroup.id;
|
|
180
180
|
}).map(mapItemToDropdownItem), activeGroup);
|
|
181
181
|
}
|
|
182
|
-
if (activeTab && groups && groups[activeTab]) {
|
|
183
|
-
return groupItems((items || []).filter(function (item) {
|
|
184
|
-
return item.groupId === groups[activeTab].id;
|
|
185
|
-
}).map(mapItemToDropdownItem), activeGroup);
|
|
186
|
-
}
|
|
187
182
|
if (activeTab && visibleGroups && visibleGroups[activeTab]) {
|
|
188
183
|
return items == null ? void 0 : items.filter(function (item) {
|
|
189
184
|
return item.groupId === visibleGroups[activeTab].id;
|
|
@@ -197,6 +192,11 @@ var ParameterDropdown = function ParameterDropdown(_ref) {
|
|
|
197
192
|
};
|
|
198
193
|
});
|
|
199
194
|
}
|
|
195
|
+
if (activeTab && groups && groups[activeTab]) {
|
|
196
|
+
return groupItems((items || []).filter(function (item) {
|
|
197
|
+
return item.groupId === groups[activeTab].id;
|
|
198
|
+
}).map(mapItemToDropdownItem), activeGroup);
|
|
199
|
+
}
|
|
200
200
|
if ((recentItems || []).length > 0) {
|
|
201
201
|
var recentItemsWithGroup = (recentItems || []).map(function (item) {
|
|
202
202
|
return _extends({}, item, {
|
|
@@ -3,7 +3,7 @@ import styled from 'styled-components';
|
|
|
3
3
|
// eslint-disable-next-line import/prefer-default-export
|
|
4
4
|
export var IconWrapper = styled.span.withConfig({
|
|
5
5
|
displayName: "Textstyles__IconWrapper",
|
|
6
|
-
componentId: "rjr8p0-0"
|
|
6
|
+
componentId: "sc-rjr8p0-0"
|
|
7
7
|
})(["&:hover{cursor:pointer;svg{color:", ";fill:", ";}}"], function (props) {
|
|
8
8
|
return props.theme.palette['blue-600'];
|
|
9
9
|
}, function (props) {
|
|
@@ -11,9 +11,9 @@ export var IconWrapper = styled.span.withConfig({
|
|
|
11
11
|
});
|
|
12
12
|
export var InputWrapper = styled.div.withConfig({
|
|
13
13
|
displayName: "Textstyles__InputWrapper",
|
|
14
|
-
componentId: "rjr8p0-1"
|
|
14
|
+
componentId: "sc-rjr8p0-1"
|
|
15
15
|
})(["&{position:relative;display:flex;> *{min-width:0;}}"]);
|
|
16
16
|
export var TextWrapper = styled.div.withConfig({
|
|
17
17
|
displayName: "Textstyles__TextWrapper",
|
|
18
|
-
componentId: "rjr8p0-2"
|
|
18
|
+
componentId: "sc-rjr8p0-2"
|
|
19
19
|
})([""]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-factors",
|
|
3
|
-
"version": "0.28.
|
|
3
|
+
"version": "0.28.14",
|
|
4
4
|
"description": "Factors UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"build:js": "babel --delete-dir-on-start --root-mode upward src --out-dir dist --extensions '.js,.ts,.tsx'",
|
|
22
22
|
"build:watch": "npm run build:js -- --watch",
|
|
23
23
|
"defs": "tsc --declaration --outDir dist/ --emitDeclarationOnly",
|
|
24
|
-
"pack:ci": "npm pack --pack-destination ../../
|
|
24
|
+
"pack:ci": "npm pack --pack-destination ../../storybook/storybook-static/static",
|
|
25
25
|
"prepublish": "npm run build",
|
|
26
26
|
"test": "jest",
|
|
27
27
|
"test:watch": "npm run test -- --watchAll",
|
|
@@ -34,26 +34,26 @@
|
|
|
34
34
|
],
|
|
35
35
|
"types": "dist/index.d.ts",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@synerise/ds-autocomplete": "^0.9.
|
|
38
|
-
"@synerise/ds-badge": "^0.9.
|
|
39
|
-
"@synerise/ds-button": "^0.23.
|
|
40
|
-
"@synerise/ds-date-picker": "^0.14.
|
|
41
|
-
"@synerise/ds-date-range-picker": "^0.32.
|
|
42
|
-
"@synerise/ds-dropdown": "^0.19.
|
|
43
|
-
"@synerise/ds-icon": "^0.72.
|
|
44
|
-
"@synerise/ds-information-card": "^0.9.
|
|
45
|
-
"@synerise/ds-inline-edit": "^0.10.
|
|
46
|
-
"@synerise/ds-input": "^0.25.
|
|
47
|
-
"@synerise/ds-input-number": "^0.11.
|
|
48
|
-
"@synerise/ds-list-item": "^0.7.
|
|
49
|
-
"@synerise/ds-menu": "^0.21.
|
|
50
|
-
"@synerise/ds-modal": "^0.18.
|
|
51
|
-
"@synerise/ds-result": "^0.8.
|
|
52
|
-
"@synerise/ds-scrollbar": "^0.12.
|
|
53
|
-
"@synerise/ds-skeleton": "^0.7.
|
|
54
|
-
"@synerise/ds-tabs": "^0.18.
|
|
55
|
-
"@synerise/ds-tooltip": "^0.16.
|
|
56
|
-
"@synerise/ds-utils": "^0.32.
|
|
37
|
+
"@synerise/ds-autocomplete": "^0.9.9",
|
|
38
|
+
"@synerise/ds-badge": "^0.9.7",
|
|
39
|
+
"@synerise/ds-button": "^0.23.4",
|
|
40
|
+
"@synerise/ds-date-picker": "^0.14.9",
|
|
41
|
+
"@synerise/ds-date-range-picker": "^0.32.12",
|
|
42
|
+
"@synerise/ds-dropdown": "^0.19.9",
|
|
43
|
+
"@synerise/ds-icon": "^0.72.1",
|
|
44
|
+
"@synerise/ds-information-card": "^0.9.5",
|
|
45
|
+
"@synerise/ds-inline-edit": "^0.10.11",
|
|
46
|
+
"@synerise/ds-input": "^0.25.9",
|
|
47
|
+
"@synerise/ds-input-number": "^0.11.10",
|
|
48
|
+
"@synerise/ds-list-item": "^0.7.7",
|
|
49
|
+
"@synerise/ds-menu": "^0.21.10",
|
|
50
|
+
"@synerise/ds-modal": "^0.18.7",
|
|
51
|
+
"@synerise/ds-result": "^0.8.8",
|
|
52
|
+
"@synerise/ds-scrollbar": "^0.12.7",
|
|
53
|
+
"@synerise/ds-skeleton": "^0.7.7",
|
|
54
|
+
"@synerise/ds-tabs": "^0.18.11",
|
|
55
|
+
"@synerise/ds-tooltip": "^0.16.3",
|
|
56
|
+
"@synerise/ds-utils": "^0.32.3",
|
|
57
57
|
"lodash": "^4.17.21",
|
|
58
58
|
"react-window": "1.8.5",
|
|
59
59
|
"uuid": "^8.3.2"
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"react-intl": ">=3.12.0 <= 6.8",
|
|
66
66
|
"styled-components": "^5.3.3"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "a176b46dab123cd503247ae57022f8e808772d68"
|
|
69
69
|
}
|