@synerise/ds-avatar 1.0.25 → 1.1.0

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
+ # [1.1.0](https://github.com/synerise/synerise-design/compare/@synerise/ds-avatar@1.0.26...@synerise/ds-avatar@1.1.0) (2025-11-06)
7
+
8
+
9
+ ### Features
10
+
11
+ * **dropdown:** dropdownMenu component ([f0ec827](https://github.com/synerise/synerise-design/commit/f0ec82792cdcb021fa9a454912f6e7a892e53895))
12
+
13
+
14
+
15
+
16
+
17
+ ## [1.0.26](https://github.com/synerise/synerise-design/compare/@synerise/ds-avatar@1.0.25...@synerise/ds-avatar@1.0.26) (2025-10-16)
18
+
19
+ **Note:** Version bump only for package @synerise/ds-avatar
20
+
21
+
22
+
23
+
24
+
6
25
  ## [1.0.25](https://github.com/synerise/synerise-design/compare/@synerise/ds-avatar@1.0.24...@synerise/ds-avatar@1.0.25) (2025-10-10)
7
26
 
8
27
  **Note:** Version bump only for package @synerise/ds-avatar
@@ -3,7 +3,7 @@ function _extends() { return _extends = Object.assign ? Object.assign.bind() : f
3
3
  function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React from 'react';
5
5
  import Badge from '@synerise/ds-badge';
6
- import { theme } from '@synerise/ds-core';
6
+ import { useTheme } from '@synerise/ds-core';
7
7
  import Icon, { UserM, UserS } from '@synerise/ds-icon';
8
8
  import Avatar from '../Avatar';
9
9
  import { addIconColor, getColorByText, getUserText } from '../utils';
@@ -23,6 +23,7 @@ var UserAvatar = function UserAvatar(_ref) {
23
23
  disabled = _ref.disabled,
24
24
  style = _ref.style,
25
25
  restProps = _objectWithoutPropertiesLoose(_ref, _excluded);
26
+ var theme = useTheme();
26
27
  var _ref2 = user || {},
27
28
  _ref2$firstName = _ref2.firstName,
28
29
  firstName = _ref2$firstName === void 0 ? '' : _ref2$firstName,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-avatar",
3
- "version": "1.0.25",
3
+ "version": "1.1.0",
4
4
  "description": "Avatar UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "synerise/synerise-design",
@@ -35,11 +35,11 @@
35
35
  ],
36
36
  "types": "dist/index.d.ts",
37
37
  "dependencies": {
38
- "@synerise/ds-badge": "^1.0.24",
39
- "@synerise/ds-icon": "^1.7.3",
40
- "@synerise/ds-status": "^1.2.18",
41
- "@synerise/ds-tooltip": "^1.2.1",
42
- "@synerise/ds-typography": "^1.0.22",
38
+ "@synerise/ds-badge": "^1.0.25",
39
+ "@synerise/ds-icon": "^1.8.0",
40
+ "@synerise/ds-status": "^1.3.0",
41
+ "@synerise/ds-tooltip": "^1.3.0",
42
+ "@synerise/ds-typography": "^1.0.23",
43
43
  "@synerise/ds-utils": "^1.5.0"
44
44
  },
45
45
  "peerDependencies": {
@@ -48,5 +48,5 @@
48
48
  "react": ">=16.9.0 <= 18.3.1",
49
49
  "styled-components": "^5.3.3"
50
50
  },
51
- "gitHead": "4e09fc37fa21ff2e27655e7bb305b136db0ca199"
51
+ "gitHead": "cbbb7d9f155735bcc4035d8fd8a7813878d6e051"
52
52
  }