@synerise/ds-context-selector 0.15.10 → 0.16.1

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.16.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-context-selector@0.16.0...@synerise/ds-context-selector@0.16.1) (2023-03-02)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-context-selector
9
+
10
+
11
+
12
+
13
+
14
+ # [0.16.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-context-selector@0.15.10...@synerise/ds-context-selector@0.16.0) (2023-03-02)
15
+
16
+
17
+ ### Features
18
+
19
+ * tooltip improvements ([7bd8c7f](https://github.com/Synerise/synerise-design/commit/7bd8c7fb3921932540edce5ee1435e5a810c852f))
20
+
21
+
22
+
23
+
24
+
6
25
  ## [0.15.10](https://github.com/Synerise/synerise-design/compare/@synerise/ds-context-selector@0.15.9...@synerise/ds-context-selector@0.15.10) (2023-03-02)
7
26
 
8
27
  **Note:** Version bump only for package @synerise/ds-context-selector
@@ -107,8 +107,8 @@ var ContextSelector = function ContextSelector(_ref) {
107
107
  renderHoverTooltip: selectedItem ? function () {
108
108
  return /*#__PURE__*/React.createElement(InformationCard, {
109
109
  icon: selectedItem.icon,
110
- subtitle: selectedItem.name,
111
- title: selectedItem.name.replace('_', ' '),
110
+ subtitle: selectedItem.subtitle,
111
+ title: selectedItem.name,
112
112
  descriptionConfig: selectedItem.description ? {
113
113
  value: selectedItem.description,
114
114
  disabled: true,
@@ -19,6 +19,7 @@ export declare type ContextItem = {
19
19
  groupName?: string;
20
20
  subGroups?: ContextGroup[];
21
21
  useCustomIcon?: boolean;
22
+ subtitle?: string;
22
23
  };
23
24
  export declare type ContextGroup = {
24
25
  id: React.ReactText;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-context-selector",
3
- "version": "0.15.10",
3
+ "version": "0.16.1",
4
4
  "description": "ContextSelector UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -26,21 +26,21 @@
26
26
  "test:watch": "npm run test -- --watchAll",
27
27
  "types": "tsc --noEmit"
28
28
  },
29
- "gitHead": "5b18fcd6b2f2f64aa2878fe6ba6a98877fa7067f",
29
+ "gitHead": "91c3937d5564d273bfb0ad2029eecaf14ca921c8",
30
30
  "sideEffects": [
31
31
  "dist/style/*",
32
32
  "*.less"
33
33
  ],
34
34
  "types": "dist/index.d.ts",
35
35
  "dependencies": {
36
- "@synerise/ds-button": "^0.17.11",
37
- "@synerise/ds-dropdown": "^0.17.53",
38
- "@synerise/ds-icon": "^0.53.0",
39
- "@synerise/ds-information-card": "^0.2.6",
40
- "@synerise/ds-menu": "^0.17.3",
41
- "@synerise/ds-result": "^0.6.18",
42
- "@synerise/ds-scrollbar": "^0.5.4",
43
- "@synerise/ds-tabs": "^0.13.49",
36
+ "@synerise/ds-button": "^0.17.12",
37
+ "@synerise/ds-dropdown": "^0.17.54",
38
+ "@synerise/ds-icon": "^0.54.0",
39
+ "@synerise/ds-information-card": "^0.3.1",
40
+ "@synerise/ds-menu": "^0.17.4",
41
+ "@synerise/ds-result": "^0.6.19",
42
+ "@synerise/ds-scrollbar": "^0.5.5",
43
+ "@synerise/ds-tabs": "^0.13.50",
44
44
  "@synerise/ds-utils": "^0.19.0",
45
45
  "classnames": "^2.2.6",
46
46
  "react-window": "1.8.5"