@atlaskit/teams-public 0.59.3 → 0.60.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
@@ -1,5 +1,23 @@
1
1
  # @atlaskit/teams-public
2
2
 
3
+ ## 0.60.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`4d5bc9551475a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4d5bc9551475a) -
8
+ Added changes for updating relay store for member count updates
9
+
10
+ ## 0.60.0
11
+
12
+ ### Minor Changes
13
+
14
+ - [`a0ddad21c9698`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a0ddad21c9698) -
15
+ Export i18n from teams-public, kudos-list, team-profile
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
3
21
  ## 0.59.3
4
22
 
5
23
  ### Patch Changes
@@ -93,12 +93,18 @@ var TeamLinkCard = exports.TeamLinkCard = function TeamLinkCard(_ref) {
93
93
  var _useAnalyticsEventsNe = (0, _teamsAppInternalAnalytics.useAnalyticsEvents)(),
94
94
  fireEvent = _useAnalyticsEventsNe.fireEvent;
95
95
  var handleMouseEnter = function handleMouseEnter() {
96
+ if (isReadOnly) {
97
+ return;
98
+ }
96
99
  setHovered(true);
97
100
  if (containerType !== 'WebLink') {
98
101
  setShowCloseIcon(true);
99
102
  }
100
103
  };
101
104
  var handleFocus = function handleFocus() {
105
+ if (isReadOnly) {
106
+ return;
107
+ }
102
108
  setFocused(true);
103
109
  if (containerType !== 'WebLink') {
104
110
  setShowCloseIcon(true);
@@ -69,12 +69,18 @@ export const TeamLinkCard = ({
69
69
  fireEvent
70
70
  } = useAnalyticsEventsNext();
71
71
  const handleMouseEnter = () => {
72
+ if (isReadOnly) {
73
+ return;
74
+ }
72
75
  setHovered(true);
73
76
  if (containerType !== 'WebLink') {
74
77
  setShowCloseIcon(true);
75
78
  }
76
79
  };
77
80
  const handleFocus = () => {
81
+ if (isReadOnly) {
82
+ return;
83
+ }
78
84
  setFocused(true);
79
85
  if (containerType !== 'WebLink') {
80
86
  setShowCloseIcon(true);
@@ -84,12 +84,18 @@ export var TeamLinkCard = function TeamLinkCard(_ref) {
84
84
  var _useAnalyticsEventsNe = useAnalyticsEventsNext(),
85
85
  fireEvent = _useAnalyticsEventsNe.fireEvent;
86
86
  var handleMouseEnter = function handleMouseEnter() {
87
+ if (isReadOnly) {
88
+ return;
89
+ }
87
90
  setHovered(true);
88
91
  if (containerType !== 'WebLink') {
89
92
  setShowCloseIcon(true);
90
93
  }
91
94
  };
92
95
  var handleFocus = function handleFocus() {
96
+ if (isReadOnly) {
97
+ return;
98
+ }
93
99
  setFocused(true);
94
100
  if (containerType !== 'WebLink') {
95
101
  setShowCloseIcon(true);
package/package.json CHANGED
@@ -26,7 +26,7 @@
26
26
  "dependencies": {
27
27
  "@atlaskit/afm-i18n-platform-people-and-teams-teams-public": "2.7.0",
28
28
  "@atlaskit/analytics-next": "^11.1.0",
29
- "@atlaskit/avatar": "^25.1.0",
29
+ "@atlaskit/avatar": "^25.2.0",
30
30
  "@atlaskit/button": "^23.4.0",
31
31
  "@atlaskit/css": "^0.14.0",
32
32
  "@atlaskit/dropdown-menu": "^16.3.0",
@@ -34,17 +34,17 @@
34
34
  "@atlaskit/flag": "^17.4.0",
35
35
  "@atlaskit/frontend-utilities": "^3.1.0",
36
36
  "@atlaskit/heading": "^5.2.0",
37
- "@atlaskit/icon": "^28.2.0",
37
+ "@atlaskit/icon": "^28.3.0",
38
38
  "@atlaskit/icon-lab": "^5.7.0",
39
39
  "@atlaskit/image": "^3.0.0",
40
40
  "@atlaskit/link": "^3.2.0",
41
41
  "@atlaskit/logo": "^19.7.0",
42
- "@atlaskit/modal-dialog": "^14.3.0",
42
+ "@atlaskit/modal-dialog": "^14.4.0",
43
43
  "@atlaskit/people-teams-ui-public": "^3.3.0",
44
44
  "@atlaskit/platform-feature-flags": "^1.1.0",
45
45
  "@atlaskit/primitives": "^14.15.0",
46
46
  "@atlaskit/skeleton": "^2.1.0",
47
- "@atlaskit/teams-app-internal-analytics": "^1.5.0",
47
+ "@atlaskit/teams-app-internal-analytics": "^1.6.0",
48
48
  "@atlaskit/teams-app-internal-product-permissions": "^1.2.0",
49
49
  "@atlaskit/teams-client": "^4.15.0",
50
50
  "@atlaskit/theme": "^21.0.0",
@@ -111,7 +111,7 @@
111
111
  }
112
112
  },
113
113
  "name": "@atlaskit/teams-public",
114
- "version": "0.59.3",
114
+ "version": "0.60.1",
115
115
  "description": "Public components related to teams",
116
116
  "author": "Atlassian Pty Ltd",
117
117
  "license": "Apache-2.0",