Skip to content

Releases: gebruederheitz/clicktrigger2

2.6.1: Node 18+

10 Jul 17:45
7751a4d

Choose a tag to compare

  • chore: node 18 compatibility (8da36c2)
  • [ci] Fix node image tag (5b22554)
  • [chore] Fix eslint config (3bd5c03)

2.6.0: SCSS customizable class names

30 Sep 16:08
9ae10b1

Choose a tag to compare

  • [docs] Document options (2a30e2a)
  • [fix] CSS animations for grid layout (2f15ad9)
  • [chore] Add demo for default styles & css animations (d354c2f)
  • [feat] Customizable classnames in SCSS (c48a988)
  • [chore] Update dependencies & docs (a2f6655)
  • [chore] Fix demos (75fa223)

2.5.0: "Relative" selectors for data-attribute factory

27 Jun 14:03
1fdd8eb

Choose a tag to compare

Feature

  • [feat] "self" and relative (parent) virtual selectors for Data-Attribute Factory (9b3bae1)
    Use data-triggertarget="self" and data-triggertarget="relative::parent::parent::[data-attribute=\"value\"}" to select target elements relative to the trigger being configured.

Caveats

The global that jQuery is read from has changed from window.$ to window.jQuery. This might cause compatibility problems in some rare setups.

Maintenance

  • [chore] Add CI configuration (d6eed19)
  • [chore] Fix demos; add basic factory; fix jquery global (5de165a)

2.4.1: Bugfix release

02 Feb 18:01
6a9d419

Choose a tag to compare

  • [chore] Skip npm prepublish steps, as release-it performs those now (53bdb3c)
  • [fix] Use for...of to loop over array to retain element order (147fab2)

2.4.0: Add option to only scroll on LocationTriggers

02 Feb 17:45
bec6c16

Choose a tag to compare

  • [fix] Use correct entry module in rollup config (955a797)
  • [fix] Typo double-whammy (62695c3)
  • [feat] Option to only scroll on LocationTrigger (ce3c405)
  • [refactor] Reorganise modules (1cbc272)

2.3.1: Bugfix release

02 Feb 17:01
8430586

Choose a tag to compare

  • [fix] Reverse breakpoint order to allow for covering all sizes. (0eaa65c)

2.3.0: Breakpoints for Scroller module

02 Feb 16:59
c87ab15

Choose a tag to compare

  • [feat] Add breakpoint configuration for scroller (6916a3d):
    scroll: {
      doScroll: true,
      breakpoints: {
        0: {
          doScroll: true,
          buffer: 50,
        },
        756: {
          doScroll: false,
        },
        1200: {
          doScroll: true,
          buffer: '100vh',
        },
      },
    }
    This configuration will
    • scroll 100vh on screens wider than 1200px,
    • not scroll on screens between 756px and 1200px,
    • and scroll 50px for any screen narrower than that.
  • [chore] Add release-it and document node dependency (cc8a87e)
  • [fix] Update uuid package to not use node:crypto (273e20a)