@xh/hoist 69.0.0-SNAPSHOT.1727949489248 → 69.0.0-SNAPSHOT.1728037136139

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
@@ -2,10 +2,13 @@
2
2
 
3
3
  ## 69.0.0-SNAPSHOT - unreleased
4
4
 
5
+ ### 🐞 Bug Fixes
6
+
7
+ * Added a workaround for a bug where Panel drag resizing was broken in Safari.
5
8
 
6
9
  ### 💥 Breaking Changes (upgrade difficulty: 🟢 LOW )
7
10
  * The `INITIALIZING` AppState has been replaced with more fine-grained states (see below). This
8
- is not expected to effect any applications.
11
+ is not expected to affect any applications.
9
12
 
10
13
  ### 🎁 New Features
11
14
 
@@ -190,7 +190,7 @@ export class ClientErrorsModel extends HoistModel {
190
190
  }
191
191
 
192
192
  private get defaultStartDay() {
193
- return LocalDate.currentAppDay().subtract(6);
193
+ return LocalDate.currentAppDay();
194
194
  }
195
195
 
196
196
  private get defaultEndDay() {
@@ -315,7 +315,7 @@ export class ActivityTrackingModel extends HoistModel {
315
315
  }
316
316
 
317
317
  private get defaultStartDay() {
318
- return LocalDate.currentAppDay().subtract(6);
318
+ return LocalDate.currentAppDay();
319
319
  }
320
320
 
321
321
  private get defaultEndDay() {
@@ -254,7 +254,9 @@ export class DraggerModel extends HoistModel {
254
254
  }
255
255
 
256
256
  private isValidMouseEvent(e) {
257
- return e.buttons && e.buttons !== 0;
257
+ // Note: We fall back to deprecated 'which' to work around a Safari issue where `buttons`
258
+ // was not being set. We may be able to remove in the future.
259
+ return (e.buttons && e.buttons !== 0) || (e.which && e.which !== 0);
258
260
  }
259
261
 
260
262
  private isValidTouchEvent(e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xh/hoist",
3
- "version": "69.0.0-SNAPSHOT.1727949489248",
3
+ "version": "69.0.0-SNAPSHOT.1728037136139",
4
4
  "description": "Hoist add-on for building and deploying React Applications.",
5
5
  "repository": "github:xh/hoist-react",
6
6
  "homepage": "https://xh.io",