@synerise/ds-factors 0.22.28 → 0.22.29

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.29](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@0.22.28...@synerise/ds-factors@0.22.29) (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.28](https://github.com/Synerise/synerise-design/compare/@synerise/ds-factors@0.22.27...@synerise/ds-factors@0.22.28) (2024-06-21)
7
18
 
8
19
  **Note:** Version bump only for package @synerise/ds-factors
@@ -118,7 +118,7 @@ var ParameterInput = function ParameterInput(_ref) {
118
118
  renderHoverTooltip: parameter != null && parameter.name ? function () {
119
119
  var _parameter$id;
120
120
 
121
- return /*#__PURE__*/React.createElement(InformationCard, {
121
+ return /*#__PURE__*/React.createElement(InformationCard, _extends({
122
122
  icon: parameterIcon,
123
123
  subtitle: (_parameter$id = parameter.id) == null ? void 0 : _parameter$id.toString(),
124
124
  title: parameterName,
@@ -127,7 +127,7 @@ var ParameterInput = function ParameterInput(_ref) {
127
127
  disabled: true,
128
128
  label: undefined
129
129
  } : undefined
130
- });
130
+ }, parameter.informationCardProps));
131
131
  } : undefined
132
132
  }, getMenuEntryProps == null ? void 0 : getMenuEntryProps(parameter))]
133
133
  });
@@ -3,6 +3,7 @@ import { DateFilter } from '@synerise/ds-date-range-picker/dist/date.types';
3
3
  import { Texts as DateRangeTexts } from '@synerise/ds-date-range-picker/dist/DateRangePicker.types';
4
4
  import type { MenuItemProps } from '@synerise/ds-menu';
5
5
  import type { AutoResizeProp } from '@synerise/ds-input';
6
+ import { InformationCardProps } from '@synerise/ds-information-card';
6
7
  export declare const ALL_FACTOR_TYPES: readonly ["text", "number", "parameter", "contextParameter", "dynamicKey", "formula", "array", "date", "dateRange"];
7
8
  export type FactorType = typeof ALL_FACTOR_TYPES[number] | string;
8
9
  export type DefinedFactorTypes = typeof ALL_FACTOR_TYPES[number];
@@ -21,6 +22,7 @@ export type ParameterValueType = {
21
22
  id: React.ReactText;
22
23
  groupId?: React.ReactText;
23
24
  description?: string;
25
+ informationCardProps?: Partial<InformationCardProps>;
24
26
  };
25
27
  export type ParameterGroup = {
26
28
  id: React.ReactText;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-factors",
3
- "version": "0.22.28",
3
+ "version": "0.22.29",
4
4
  "description": "Factors UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -40,7 +40,7 @@
40
40
  "@synerise/ds-date-range-picker": "^0.28.7",
41
41
  "@synerise/ds-dropdown": "^0.18.1",
42
42
  "@synerise/ds-icon": "^0.62.1",
43
- "@synerise/ds-information-card": "^0.4.9",
43
+ "@synerise/ds-information-card": "^0.4.10",
44
44
  "@synerise/ds-inline-edit": "^0.7.11",
45
45
  "@synerise/ds-input": "^0.22.0",
46
46
  "@synerise/ds-input-number": "^0.9.20",
@@ -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": "ef835e848d4f02cca258130baa6c9f44dfa15dd0"
70
+ "gitHead": "97079401754d831aff3985620e6cbb623e0eb867"
71
71
  }