@synerise/ds-context-selector 0.22.2 → 0.22.4
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 +19 -0
- package/dist/ContextSelector.js +2 -2
- package/dist/ContextSelector.types.d.ts +2 -0
- package/package.json +11 -11
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.22.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-context-selector@0.22.3...@synerise/ds-context-selector@0.22.4) (2024-06-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **information-card:** updated ui and added actions and properties ([c30ed42](https://github.com/Synerise/synerise-design/commit/c30ed4203511f2c29aeea6d8bc17a6fd6170ffe5))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [0.22.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-context-selector@0.22.2...@synerise/ds-context-selector@0.22.3) (2024-06-21)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @synerise/ds-context-selector
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [0.22.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-context-selector@0.22.1...@synerise/ds-context-selector@0.22.2) (2024-06-05)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @synerise/ds-context-selector
|
package/dist/ContextSelector.js
CHANGED
|
@@ -120,7 +120,7 @@ var ContextSelector = function ContextSelector(_ref) {
|
|
|
120
120
|
getPopupContainer: getPopupContainerOverride || getPopupContainer
|
|
121
121
|
},
|
|
122
122
|
renderHoverTooltip: selectedItem ? function () {
|
|
123
|
-
return /*#__PURE__*/React.createElement(InformationCard, {
|
|
123
|
+
return /*#__PURE__*/React.createElement(InformationCard, _extends({
|
|
124
124
|
icon: selectedItem.icon,
|
|
125
125
|
subtitle: selectedItem.subtitle,
|
|
126
126
|
title: selectedItem.name,
|
|
@@ -129,7 +129,7 @@ var ContextSelector = function ContextSelector(_ref) {
|
|
|
129
129
|
disabled: true,
|
|
130
130
|
label: undefined
|
|
131
131
|
} : undefined
|
|
132
|
-
});
|
|
132
|
+
}, selectedItem.informationCardProps));
|
|
133
133
|
} : undefined
|
|
134
134
|
}, getMenuEntryProps == null ? void 0 : getMenuEntryProps(selectedItem))]
|
|
135
135
|
});
|
|
@@ -3,6 +3,7 @@ import { HandledEventsType } from '@synerise/ds-utils';
|
|
|
3
3
|
import { ItemSize } from '@synerise/ds-menu';
|
|
4
4
|
import { DropdownProps } from '@synerise/ds-dropdown/dist/Dropdown';
|
|
5
5
|
import type { FactorsProps } from '@synerise/ds-factors';
|
|
6
|
+
import { InformationCardProps } from '@synerise/ds-information-card';
|
|
6
7
|
export type ContextTexts = {
|
|
7
8
|
buttonLabel: string;
|
|
8
9
|
searchPlaceholder: string;
|
|
@@ -20,6 +21,7 @@ export type ContextItem = {
|
|
|
20
21
|
subGroups?: ContextGroup[];
|
|
21
22
|
useCustomIcon?: boolean;
|
|
22
23
|
subtitle?: string;
|
|
24
|
+
informationCardProps?: Partial<InformationCardProps>;
|
|
23
25
|
};
|
|
24
26
|
export type ContextGroup = {
|
|
25
27
|
id: ReactText;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-context-selector",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.4",
|
|
4
4
|
"description": "ContextSelector UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -27,23 +27,23 @@
|
|
|
27
27
|
"test:watch": "npm run test -- --watchAll",
|
|
28
28
|
"types": "tsc --noEmit"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "97079401754d831aff3985620e6cbb623e0eb867",
|
|
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.18.
|
|
39
|
-
"@synerise/ds-factors": "^0.22.
|
|
40
|
-
"@synerise/ds-icon": "^0.62.
|
|
41
|
-
"@synerise/ds-information-card": "^0.4.
|
|
42
|
-
"@synerise/ds-menu": "^0.19.
|
|
43
|
-
"@synerise/ds-result": "^0.6.
|
|
44
|
-
"@synerise/ds-scrollbar": "^0.11.
|
|
37
|
+
"@synerise/ds-button": "^0.21.0",
|
|
38
|
+
"@synerise/ds-dropdown": "^0.18.1",
|
|
39
|
+
"@synerise/ds-factors": "^0.22.29",
|
|
40
|
+
"@synerise/ds-icon": "^0.62.1",
|
|
41
|
+
"@synerise/ds-information-card": "^0.4.10",
|
|
42
|
+
"@synerise/ds-menu": "^0.19.2",
|
|
43
|
+
"@synerise/ds-result": "^0.6.57",
|
|
44
|
+
"@synerise/ds-scrollbar": "^0.11.1",
|
|
45
45
|
"@synerise/ds-skeleton": "^0.6.1",
|
|
46
|
-
"@synerise/ds-tabs": "^0.14.
|
|
46
|
+
"@synerise/ds-tabs": "^0.14.5",
|
|
47
47
|
"@synerise/ds-utils": "^0.27.0",
|
|
48
48
|
"react-window": "1.8.5",
|
|
49
49
|
"uuid": "^8.3.2"
|