@pushword/js-helper 0.0.97 → 0.0.98

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushword/js-helper",
3
- "version": "0.0.97",
3
+ "version": "0.0.98",
4
4
  "description": "Pushword front end helpers. ",
5
5
  "author": "Robin@PiedWeb <contact@piedweb.com>",
6
6
  "license": "MIT",
@@ -2,7 +2,7 @@
2
2
  * Demo in Draft
3
3
  */
4
4
 
5
- class ScrollYEnhancer {
5
+ export class ScrollYEnhancer {
6
6
  constructor(
7
7
  selector = '.enhance-scroll-y',
8
8
  chevron = '<div class="scroller absolute left-[128px] z-10 -mt-[10px] h-[44px] w-[44px] cursor-pointer rounded-full border border-gray-200 bg-white text-center text-3xl leading-none text-gray-600 hover:bg-gray-100 select-none" onclick="scrollPreviousDiv(this)">⌄</div><div class="relative z-0 -mt-8 h-8 w-full bg-gradient-to-t from-white to-transparent"></div>',
@@ -98,7 +98,7 @@ class ScrollYEnhancer {
98
98
  }
99
99
  }
100
100
 
101
- class ScrollXEnhancer {
101
+ export class ScrollXEnhancer {
102
102
  constructor(
103
103
  selector = '.enhance-scroll-x',
104
104
  chevronRight = '<div class="scroll-right fixed right-0 top-1/3 z-20 h-[44px] w-[44px] cursor-pointer select-none rounded-full border border-gray-200 bg-white pt-[6px] text-center text-3xl leading-none text-gray-600 hover:bg-gray-100" onclick="scrollX(this)">🠆</div>',