@synerise/ds-context-selector 0.22.3 → 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 CHANGED
@@ -3,6 +3,17 @@
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
+
6
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)
7
18
 
8
19
  **Note:** Version bump only for package @synerise/ds-context-selector
@@ -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",
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,7 +27,7 @@
27
27
  "test:watch": "npm run test -- --watchAll",
28
28
  "types": "tsc --noEmit"
29
29
  },
30
- "gitHead": "ef835e848d4f02cca258130baa6c9f44dfa15dd0",
30
+ "gitHead": "97079401754d831aff3985620e6cbb623e0eb867",
31
31
  "sideEffects": [
32
32
  "dist/style/*",
33
33
  "*.less"
@@ -36,9 +36,9 @@
36
36
  "dependencies": {
37
37
  "@synerise/ds-button": "^0.21.0",
38
38
  "@synerise/ds-dropdown": "^0.18.1",
39
- "@synerise/ds-factors": "^0.22.28",
39
+ "@synerise/ds-factors": "^0.22.29",
40
40
  "@synerise/ds-icon": "^0.62.1",
41
- "@synerise/ds-information-card": "^0.4.9",
41
+ "@synerise/ds-information-card": "^0.4.10",
42
42
  "@synerise/ds-menu": "^0.19.2",
43
43
  "@synerise/ds-result": "^0.6.57",
44
44
  "@synerise/ds-scrollbar": "^0.11.1",