highmark-cli 0.0.135 → 0.0.138

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/src/constants.js CHANGED
@@ -2,13 +2,16 @@
2
2
 
3
3
  export const { PI } = Math;
4
4
 
5
+ export const TAP_DELAY = 250;
6
+ export const ZOOM_RATIO = 1.1;
7
+ export const SHOW_DELAY = 0;
8
+ export const PI_OVER_TWO = PI / 2;
9
+ export const SCROLL_DELAY = 10;
10
+ export const DECELERATION = 0.0333333;
5
11
  export const SINGLE_SPACE = " ";
12
+ export const UP_DIRECTION = +1;
13
+ export const DOWN_DIRECTION = -1;
14
+ export const MAXIMUM_SPREAD = PI / 4;
6
15
  export const MAXIMUM_TAP_TIME = 125;
7
- export const VIEW_DIV_SELECTOR = "body > div:not(.loading)"; ///
8
- export const ENABLE_SWIPES_DELAY = 500;
9
- export const MINIMUM_SWIPE_SPEED = 1.25;
10
- export const LOADING_DIV_SELECTOR = "body > div.loading";
11
- export const ONE_HUNDRED_AND_EIGHTY = 180;
12
- export const VIEW_CHILD_DIVS_SELECTOR = "body > div:not(.loading) div"; ///
13
- export const MAXIMUM_CLICK_WIDTH_RATIO = 0.3;
14
- export const MAXIMUM_SWIPE_ABSOLUTE_DIRECTION = 30;
16
+ export const MINIMUM_SWIPE_SPEED = 1;
17
+ export const MENU_DIV_SWIPE_BOTTOM = 100;
@@ -1,6 +1,15 @@
1
1
  "use strict";
2
2
 
3
3
  export const TAP_CUSTOM_EVENT_TYPE = "tap";
4
+ export const DRAG_UP_CUSTOM_EVENT_TYPE = "drag-up";
5
+ export const DRAG_DOWN_CUSTOM_EVENT_TYPE = "drag-down";
6
+ export const DRAG_LEFT_CUSTOM_EVENT_TYPE = "drag-left";
7
+ export const DRAG_RIGHT_CUSTOM_EVENT_TYPE = "drag-right";
8
+ export const DRAG_START_CUSTOM_EVENT_TYPE = "drag-start";
9
+ export const SWIPE_UP_CUSTOM_EVENT_TYPE = "swipe-up";
10
+ export const SWIPE_DOWN_CUSTOM_EVENT_TYPE = "swipe-down";
4
11
  export const SWIPE_LEFT_CUSTOM_EVENT_TYPE = "swipe-left";
5
12
  export const SWIPE_RIGHT_CUSTOM_EVENT_TYPE = "swipe-right";
6
- export const ARROW_KEY_DOWN_CUSTOM_EVENT_TYPE = "arrow-key-down";
13
+ export const PINCH_MOVE_CUSTOM_EVENT_TYPE = "pinch-move";
14
+ export const PINCH_START_CUSTOM_EVENT_TYPE = "pinch-start";
15
+ export const DOUBLE_TAP_CUSTOM_EVENT_TYPE = "double-tap";