@box/activity-feed 1.24.2 → 1.24.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.
@@ -10,7 +10,7 @@ import { useActivityFeedScroll as c } from "../esm/lib/scroll/use-activity-feed-
10
10
  import { useCallback as l, useLayoutEffect as u, useRef as d } from "react";
11
11
  import { MentionContextProvider as f, ThreadedAnnotationsV2 as p } from "@box/threaded-annotations";
12
12
  import { jsx as m } from "react/jsx-runtime";
13
- import '../styles/activity-feed.css';var h = { container: "_container_9nbtr_1" }, g = ({ children: e, scrollTo: t, mentionContext: n }) => {
13
+ import '../styles/activity-feed.css';var h = { container: "_container_40rcc_1" }, g = ({ children: e, scrollTo: t, mentionContext: n }) => {
14
14
  let r = d(null);
15
15
  r.current ||= o();
16
16
  let i = r.current, a = t != null && s(t) ? t : i;
@@ -1,6 +1,6 @@
1
1
  import { MessageEditorV2 as e } from "@box/threaded-annotations";
2
2
  import { jsx as t } from "react/jsx-runtime";
3
- import '../styles/editor.css';var n = { editorWrapper: "_editorWrapper_ht77e_1" }, r = ({ disableComponent: r, maxCharacterCount: i, onPost: a, onPostError: o, onPostSuccess: s, userSelectorProps: c, videoTimestamp: l }) => /* @__PURE__ */ t("div", {
3
+ import '../styles/editor.css';var n = { editorWrapper: "_editorWrapper_1ye9q_1" }, r = ({ disableComponent: r, maxCharacterCount: i, onPost: a, onPostError: o, onPostSuccess: s, userSelectorProps: c, videoTimestamp: l }) => /* @__PURE__ */ t("div", {
4
4
  className: n.editorWrapper,
5
5
  children: /* @__PURE__ */ t(e, {
6
6
  disableComponent: r,
@@ -7,12 +7,12 @@ import { useIntl as l } from "react-intl";
7
7
  import { jsx as u, jsxs as d } from "react/jsx-runtime";
8
8
  import { Funnel as f, XMark as p } from "@box/blueprint-web-assets/icons/Medium";
9
9
  import '../styles/header.css';var m = {
10
- header: "_header_almui_2",
11
- title: "_title_almui_12",
12
- actions: "_actions_almui_20",
13
- filterMenuContent: "_filterMenuContent_almui_27",
14
- filtersTitle: "_filtersTitle_almui_31",
15
- filterTrigger: "_filterTrigger_almui_35"
10
+ header: "_header_1hh6r_2",
11
+ title: "_title_1hh6r_12",
12
+ actions: "_actions_1hh6r_20",
13
+ filterMenuContent: "_filterMenuContent_1hh6r_27",
14
+ filtersTitle: "_filtersTitle_1hh6r_31",
15
+ filterTrigger: "_filterTrigger_1hh6r_35"
16
16
  }, h = Object.assign(({ children: e, title: t }) => /* @__PURE__ */ d("div", {
17
17
  className: m.header,
18
18
  children: [/* @__PURE__ */ u(c, {
@@ -2,11 +2,11 @@ import { defineMessages as e } from "react-intl";
2
2
  var t = e({
3
3
  body: {
4
4
  id: "groupSharedFeatures.activityFeed.emptyState.body",
5
- defaultMessage: "Leave a comment to start the conversation. Use @ to mention collaborators in this file."
5
+ defaultMessage: "Comment, annotate, or @mention a collaborator to share your thoughts."
6
6
  },
7
7
  title: {
8
8
  id: "groupSharedFeatures.activityFeed.emptyState.title",
9
- defaultMessage: "No comments yet"
9
+ defaultMessage: "Start the conversation"
10
10
  }
11
11
  });
12
12
  export { t as messages };
@@ -1,7 +1,7 @@
1
1
  export default {
2
2
  "groupSharedFeatures.activityFeed.activityItemText": "{appName}: {parsedContent} · {timestamp}",
3
- "groupSharedFeatures.activityFeed.emptyState.body": "Leave a comment to start the conversation. Use @ to mention collaborators in this file.",
4
- "groupSharedFeatures.activityFeed.emptyState.title": "No comments yet",
3
+ "groupSharedFeatures.activityFeed.emptyState.body": "Comment, annotate, or @mention a collaborator to share your thoughts.",
4
+ "groupSharedFeatures.activityFeed.emptyState.title": "Start the conversation",
5
5
  "groupSharedFeatures.activityFeed.header.closeAriaLabel": "Close",
6
6
  "groupSharedFeatures.activityFeed.header.filterAriaLabel": "Filter",
7
7
  "groupSharedFeatures.activityFeed.header.filtersTitle": "Filters",
@@ -1,9 +1,9 @@
1
1
  # Text for an activity item in the activity feed
2
2
  groupSharedFeatures.activityFeed.activityItemText = {appName}: {parsedContent} · {timestamp}
3
3
  # Body text shown in the activity feed empty state
4
- groupSharedFeatures.activityFeed.emptyState.body = Leave a comment to start the conversation. Use @ to mention collaborators in this file.
4
+ groupSharedFeatures.activityFeed.emptyState.body = Comment, annotate, or @mention a collaborator to share your thoughts.
5
5
  # Title shown in the activity feed empty state
6
- groupSharedFeatures.activityFeed.emptyState.title = No comments yet
6
+ groupSharedFeatures.activityFeed.emptyState.title = Start the conversation
7
7
  # Aria label for the close button in the activity feed header
8
8
  groupSharedFeatures.activityFeed.header.closeAriaLabel = Close
9
9
  # Aria label for the filter toggle button in the activity feed header
@@ -1 +1 @@
1
- [{"id":"groupSharedFeatures.activityFeed.emptyState.body","description":"Body text shown in the activity feed empty state","defaultMessage":"Leave a comment to start the conversation. Use @ to mention collaborators in this file."},{"id":"groupSharedFeatures.activityFeed.emptyState.title","description":"Title shown in the activity feed empty state","defaultMessage":"No comments yet"}]
1
+ [{"id":"groupSharedFeatures.activityFeed.emptyState.body","description":"Body text shown in the activity feed empty state","defaultMessage":"Comment, annotate, or @mention a collaborator to share your thoughts."},{"id":"groupSharedFeatures.activityFeed.emptyState.title","description":"Title shown in the activity feed empty state","defaultMessage":"Start the conversation"}]
@@ -1 +1 @@
1
- ._container_9nbtr_1{background:var(--surface-surface-secondary);flex-direction:column;justify-content:space-between;width:100%;height:100%;display:flex}
1
+ ._container_40rcc_1{background:var(--bp-surface-surface);flex-direction:column;justify-content:space-between;width:100%;height:100%;display:flex}
@@ -1 +1 @@
1
- ._editorWrapper_ht77e_1{padding:0 var(--space-4) var(--space-5)}
1
+ ._editorWrapper_1ye9q_1{margin:0 var(--space-4) var(--space-5);border-radius:var(--bp-radius-10);box-shadow:var(--dropshadow-3)}
@@ -1 +1 @@
1
- ._header_almui_2{background:var(--surface-surface-secondary);box-sizing:border-box;padding:var(--space-3) var(--space-5) 0;justify-content:space-between;align-items:center;width:100%;display:flex}._title_almui_12{-webkit-line-clamp:1;-webkit-box-orient:vertical;min-width:0;display:-webkit-box;overflow:hidden}._actions_almui_20{align-items:center;gap:var(--space-2);flex-shrink:0;display:flex}._filterMenuContent_almui_27{--blueprint-web-dropdown-content-max-width:18rem}._filtersTitle_almui_31{padding:var(--space-2)}._filterTrigger_almui_35[data-modern]{--icon-toggle-button-off-background:transparent}
1
+ ._header_1hh6r_2{background:var(--bp-surface-surface);box-sizing:border-box;padding:var(--space-3) var(--space-5) 0;justify-content:space-between;align-items:center;width:100%;display:flex}._title_1hh6r_12{-webkit-line-clamp:1;-webkit-box-orient:vertical;min-width:0;display:-webkit-box;overflow:hidden}._actions_1hh6r_20{align-items:center;gap:var(--space-2);flex-shrink:0;display:flex}._filterMenuContent_1hh6r_27{--blueprint-web-dropdown-content-max-width:18rem}._filtersTitle_1hh6r_31{padding:var(--space-2)}._filterTrigger_1hh6r_35[data-modern]{--icon-toggle-button-off-background:transparent}
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@box/activity-feed",
3
- "version": "1.24.2",
3
+ "version": "1.24.4",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "peerDependencies": {
6
- "@box/blueprint-web": "^15.7.1",
7
- "@box/blueprint-web-assets": "^4.124.1",
8
- "@box/collaboration-popover": "^1.64.1",
9
- "@box/readable-time": "^1.43.1",
10
- "@box/threaded-annotations": "^1.97.2",
11
- "@box/user-selector": "^1.78.1",
6
+ "@box/blueprint-web": "^15.8.0",
7
+ "@box/blueprint-web-assets": "^4.124.2",
8
+ "@box/collaboration-popover": "^1.64.2",
9
+ "@box/readable-time": "^1.43.2",
10
+ "@box/threaded-annotations": "^1.97.3",
11
+ "@box/user-selector": "^1.78.2",
12
12
  "clsx": "^1.2.1",
13
13
  "react": "^18.0.0",
14
14
  "react-dom": "^18.0.0",
@@ -18,14 +18,14 @@
18
18
  "access": "public"
19
19
  },
20
20
  "devDependencies": {
21
- "@box/blueprint-web": "^15.7.1",
22
- "@box/blueprint-web-assets": "^4.124.1",
23
- "@box/collaboration-popover": "^1.64.1",
21
+ "@box/blueprint-web": "^15.8.0",
22
+ "@box/blueprint-web-assets": "^4.124.2",
23
+ "@box/collaboration-popover": "^1.64.2",
24
24
  "@box/eslint-plugin-blueprint": "1.2.6",
25
- "@box/readable-time": "^1.43.1",
26
- "@box/storybook-utils": "0.21.1",
27
- "@box/threaded-annotations": "^1.97.2",
28
- "@box/user-selector": "^1.78.1",
25
+ "@box/readable-time": "^1.43.2",
26
+ "@box/storybook-utils": "0.21.2",
27
+ "@box/threaded-annotations": "^1.97.3",
28
+ "@box/user-selector": "^1.78.2",
29
29
  "react-intl": "^6.4.2"
30
30
  },
31
31
  "files": [