josenanodev-react-components-library 0.2.15 → 0.2.16

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.
@@ -356,14 +356,14 @@ const Multicalendar = ({ multicalendarId, ReactCellChildren, ReactListElementChi
356
356
  setPastDaysQuantity(pastDaysQuantity + 1);
357
357
  e.target.scrollLeft = cellsWidth * 3;
358
358
  }
359
- Funciones.authomaticScrollInGrid(userIsHoldingMouseDown, clientXPositionOnGrid, clientYPositionOnGrid, cellsWidth * 0.3, cellsHeight * 0.3, e.target);
359
+ Funciones.authomaticScrollInGrid(userIsHoldingMouseDown, clientXPositionOnGrid, clientYPositionOnGrid, cellsWidth * 0.8, cellsHeight * 0.8, e.target);
360
360
  }, onMouseMove: (e) => {
361
361
  if (gridWrapperRef.current !== null && userIsHoldingMouseDown) {
362
362
  let x = e.clientX - gridWrapperRef.current.getBoundingClientRect().left;
363
363
  let y = e.clientY - gridWrapperRef.current.getBoundingClientRect().top;
364
364
  setClientXPositionOnGrid(x);
365
365
  setClientYPositionOnGrid(y);
366
- Funciones.startAuthomaticScrollInGrid(userIsHoldingMouseDown, x, y, cellsWidth * 0.3, cellsHeight * 0.3, gridWrapperRef);
366
+ Funciones.startAuthomaticScrollInGrid(userIsHoldingMouseDown, x, y, cellsWidth * 0.8, cellsHeight * 0.8, gridWrapperRef);
367
367
  }
368
368
  } },
369
369
  react_1.default.createElement(DatesGrid_1.default, { gridWidth: (pastDaysQuantity + futureDaysQuantity) * cellsWidth, gridHeight: cellsHeight * listElementsIdsArray.length, xOffset: xOffset, yOffset: yOffset, cellsWidth: cellsWidth, cellsHeight: cellsHeight, visibleListElementsIdsArray: visibleListElementsIds, visibleDates: visibleDates, ReactCellChildren: ReactCellChildren })))));
@@ -328,14 +328,14 @@ const Multicalendar = ({ multicalendarId, ReactCellChildren, ReactListElementChi
328
328
  setPastDaysQuantity(pastDaysQuantity + 1);
329
329
  e.target.scrollLeft = cellsWidth * 3;
330
330
  }
331
- Funciones.authomaticScrollInGrid(userIsHoldingMouseDown, clientXPositionOnGrid, clientYPositionOnGrid, cellsWidth * 0.3, cellsHeight * 0.3, e.target);
331
+ Funciones.authomaticScrollInGrid(userIsHoldingMouseDown, clientXPositionOnGrid, clientYPositionOnGrid, cellsWidth * 0.8, cellsHeight * 0.8, e.target);
332
332
  }, onMouseMove: (e) => {
333
333
  if (gridWrapperRef.current !== null && userIsHoldingMouseDown) {
334
334
  let x = e.clientX - gridWrapperRef.current.getBoundingClientRect().left;
335
335
  let y = e.clientY - gridWrapperRef.current.getBoundingClientRect().top;
336
336
  setClientXPositionOnGrid(x);
337
337
  setClientYPositionOnGrid(y);
338
- Funciones.startAuthomaticScrollInGrid(userIsHoldingMouseDown, x, y, cellsWidth * 0.3, cellsHeight * 0.3, gridWrapperRef);
338
+ Funciones.startAuthomaticScrollInGrid(userIsHoldingMouseDown, x, y, cellsWidth * 0.8, cellsHeight * 0.8, gridWrapperRef);
339
339
  }
340
340
  } },
341
341
  React.createElement(DatesGrid, { gridWidth: (pastDaysQuantity + futureDaysQuantity) * cellsWidth, gridHeight: cellsHeight * listElementsIdsArray.length, xOffset: xOffset, yOffset: yOffset, cellsWidth: cellsWidth, cellsHeight: cellsHeight, visibleListElementsIdsArray: visibleListElementsIds, visibleDates: visibleDates, ReactCellChildren: ReactCellChildren })))));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "josenanodev-react-components-library",
3
- "version": "0.2.15",
3
+ "version": "0.2.16",
4
4
  "author": {
5
5
  "name": "Jose Carlos Cardenas Martinez"
6
6
  },