@synerise/ds-manageable-list 0.24.10 → 0.24.12

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,26 @@
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.24.12](https://github.com/Synerise/synerise-design/compare/@synerise/ds-manageable-list@0.24.11...@synerise/ds-manageable-list@0.24.12) (2023-03-31)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-manageable-list
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.24.11](https://github.com/Synerise/synerise-design/compare/@synerise/ds-manageable-list@0.24.10...@synerise/ds-manageable-list@0.24.11) (2023-03-28)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * **date-range-picker:** fix monthly filter clipping ([20a205f](https://github.com/Synerise/synerise-design/commit/20a205fb892fd2bbeaf1d3f5f93641fe759f8dfe))
20
+ * **inline-edit:** flatten classnames to string ([8e2735c](https://github.com/Synerise/synerise-design/commit/8e2735cbb5b4fceb5c6ec86061d23157874d4ca7))
21
+
22
+
23
+
24
+
25
+
6
26
  ## [0.24.10](https://github.com/Synerise/synerise-design/compare/@synerise/ds-manageable-list@0.24.9...@synerise/ds-manageable-list@0.24.10) (2023-03-21)
7
27
 
8
28
  **Note:** Version bump only for package @synerise/ds-manageable-list
@@ -39,6 +39,7 @@ export declare type ItemProps<T extends object = {}> = T & {
39
39
  canDelete?: boolean;
40
40
  canDuplicate?: boolean;
41
41
  name: string;
42
+ nameWrapperClassNames?: string[];
42
43
  description?: string;
43
44
  tag?: React.ReactElement;
44
45
  icon?: React.ReactNode;
@@ -6,6 +6,8 @@ import { escapeRegEx } from '@synerise/ds-utils';
6
6
  import * as S from '../SimpleItem/SimpleItem.styles';
7
7
 
8
8
  var ItemName = function ItemName(_ref) {
9
+ var _item$nameWrapperClas;
10
+
9
11
  var item = _ref.item,
10
12
  onUpdate = _ref.onUpdate,
11
13
  editMode = _ref.editMode,
@@ -46,6 +48,7 @@ var ItemName = function ItemName(_ref) {
46
48
 
47
49
  return item.name;
48
50
  }, [item.id, item.name, searchQuery]);
51
+ var classes = (_item$nameWrapperClas = item.nameWrapperClassNames) != null && _item$nameWrapperClas.length ? ['title'].concat(item.nameWrapperClassNames) : ['title'];
49
52
  return /*#__PURE__*/React.createElement(S.ItemLabelWrapper, {
50
53
  "data-testid": item.description && 'item-description-icon'
51
54
  }, editMode ? /*#__PURE__*/React.createElement(InlineEdit, {
@@ -60,7 +63,7 @@ var ItemName = function ItemName(_ref) {
60
63
  autoFocus: true
61
64
  }) : /*#__PURE__*/React.createElement(S.ItemLabelWithIcon, null, /*#__PURE__*/React.createElement(S.ItemLabel, {
62
65
  "data-testid": "list-item-name",
63
- className: "title"
66
+ className: classes.join(' ')
64
67
  }, name), item.description && /*#__PURE__*/React.createElement(Tooltip, {
65
68
  description: item.description,
66
69
  placement: "top",
@@ -5,7 +5,7 @@ import { ItemActionsWrapper } from '../ItemActions/ItemActions.styles';
5
5
  export var ItemLabel = styled.span.withConfig({
6
6
  displayName: "SimpleItemstyles__ItemLabel",
7
7
  componentId: "sc-1eyeaqw-0"
8
- })(["", ";color:", ";height:24px;display:inline-block;align-items:center;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;line-height:24px;max-width:170px;user-select:none;.search-highlight{font-weight:500;color:", ";}"], macro.h300, function (_ref) {
8
+ })(["", ";color:", ";height:24px;display:inline-block;align-items:center;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;line-height:24px;max-width:170px;user-select:none;&.full-width{max-width:unset;}.search-highlight{font-weight:500;color:", ";}"], macro.h300, function (_ref) {
9
9
  var theme = _ref.theme;
10
10
  return theme.palette['grey-600'];
11
11
  }, function (props) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-manageable-list",
3
- "version": "0.24.10",
3
+ "version": "0.24.12",
4
4
  "description": "ManageableList UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -32,18 +32,18 @@
32
32
  ],
33
33
  "types": "dist/index.d.ts",
34
34
  "dependencies": {
35
- "@synerise/ds-avatar": "^0.14.59",
35
+ "@synerise/ds-avatar": "^0.14.60",
36
36
  "@synerise/ds-button": "^0.17.12",
37
- "@synerise/ds-dropdown": "^0.17.58",
37
+ "@synerise/ds-dropdown": "^0.17.59",
38
38
  "@synerise/ds-icon": "^0.54.0",
39
- "@synerise/ds-inline-edit": "^0.6.55",
39
+ "@synerise/ds-inline-edit": "^0.6.57",
40
40
  "@synerise/ds-input": "^0.18.36",
41
- "@synerise/ds-list": "^0.6.32",
41
+ "@synerise/ds-list": "^0.6.33",
42
42
  "@synerise/ds-menu": "^0.17.5",
43
43
  "@synerise/ds-modal": "^0.16.10",
44
44
  "@synerise/ds-popconfirm": "^0.10.3",
45
45
  "@synerise/ds-result": "^0.6.19",
46
- "@synerise/ds-tags": "^0.7.15",
46
+ "@synerise/ds-tags": "^0.7.16",
47
47
  "@synerise/ds-tooltip": "^0.13.0",
48
48
  "@synerise/ds-typography": "^0.12.7",
49
49
  "@synerise/ds-utils": "^0.19.0",
@@ -58,5 +58,5 @@
58
58
  "react": ">=16.9.0 < 17.0.0",
59
59
  "styled-components": "^4.4.0"
60
60
  },
61
- "gitHead": "d8913fe084ae139a15d419477da3b6dac969bd3a"
61
+ "gitHead": "2ba3cb743a9dde56429a5616ca840dbcd8f3f8be"
62
62
  }