@bbearai/react-native 0.2.1 → 0.2.2

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/dist/index.js CHANGED
@@ -13117,6 +13117,8 @@ function BugBearButton({
13117
13117
  const [profilePlatforms, setProfilePlatforms] = (0, import_react2.useState)([]);
13118
13118
  const [savingProfile, setSavingProfile] = (0, import_react2.useState)(false);
13119
13119
  const [profileSaved, setProfileSaved] = (0, import_react2.useState)(false);
13120
+ const [testFilter, setTestFilter] = (0, import_react2.useState)("all");
13121
+ const [messageSendError, setMessageSendError] = (0, import_react2.useState)(false);
13120
13122
  const getInitialPosition = () => {
13121
13123
  const buttonSize = 56;
13122
13124
  const margin = 16;
@@ -13321,7 +13323,6 @@ function BugBearButton({
13321
13323
  const inProgressCount = assignments.filter((a) => a.status === "in_progress").length;
13322
13324
  const passedCount = assignments.filter((a) => a.status === "passed").length;
13323
13325
  const failedCount = assignments.filter((a) => a.status === "failed").length;
13324
- const [testFilter, setTestFilter] = (0, import_react2.useState)("all");
13325
13326
  const handleNextTest = () => {
13326
13327
  const nextTest = assignments.find(
13327
13328
  (a) => a.id !== displayedAssignment?.id && (a.status === "pending" || a.status === "in_progress")
@@ -13474,7 +13475,6 @@ function BugBearButton({
13474
13475
  await markAsRead(thread.id);
13475
13476
  }
13476
13477
  };
13477
- const [messageSendError, setMessageSendError] = (0, import_react2.useState)(false);
13478
13478
  const handleSendReply = async () => {
13479
13479
  if (!selectedThread || !replyText.trim()) return;
13480
13480
  setSendingReply(true);
package/dist/index.mjs CHANGED
@@ -13092,6 +13092,8 @@ function BugBearButton({
13092
13092
  const [profilePlatforms, setProfilePlatforms] = useState2([]);
13093
13093
  const [savingProfile, setSavingProfile] = useState2(false);
13094
13094
  const [profileSaved, setProfileSaved] = useState2(false);
13095
+ const [testFilter, setTestFilter] = useState2("all");
13096
+ const [messageSendError, setMessageSendError] = useState2(false);
13095
13097
  const getInitialPosition = () => {
13096
13098
  const buttonSize = 56;
13097
13099
  const margin = 16;
@@ -13296,7 +13298,6 @@ function BugBearButton({
13296
13298
  const inProgressCount = assignments.filter((a) => a.status === "in_progress").length;
13297
13299
  const passedCount = assignments.filter((a) => a.status === "passed").length;
13298
13300
  const failedCount = assignments.filter((a) => a.status === "failed").length;
13299
- const [testFilter, setTestFilter] = useState2("all");
13300
13301
  const handleNextTest = () => {
13301
13302
  const nextTest = assignments.find(
13302
13303
  (a) => a.id !== displayedAssignment?.id && (a.status === "pending" || a.status === "in_progress")
@@ -13449,7 +13450,6 @@ function BugBearButton({
13449
13450
  await markAsRead(thread.id);
13450
13451
  }
13451
13452
  };
13452
- const [messageSendError, setMessageSendError] = useState2(false);
13453
13453
  const handleSendReply = async () => {
13454
13454
  if (!selectedThread || !replyText.trim()) return;
13455
13455
  setSendingReply(true);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbearai/react-native",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "BugBear React Native components for mobile apps",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",