Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@patternslib/patternslib

Package Overview
Dependencies
Maintainers
5
Versions
158
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@patternslib/patternslib - npm Package Versions

1
16

9.9.6-alpha.0

Diff

Changelog

Source

9.9.6-alpha.0 (2023-08-11)

Bug Fixes

  • pat-ajax: Support anchors without a href attribute and forms without an action attribute. (099da3c)

    The URL can still be set via the data-pat-ajax attribute. This fixes a problem where pat-inject enabled forms without an action attribute but a submit button with a formaction attribute would break.

  • pat-inject: For submit buttons with a formaction, do not call ajax.onClickSubmit twice. (22d814f)

  • pat-inject: Support submit buttons without a type attribute. (6882f45)

Maintenance

  • core parser: Adapt code to Patternslib standards. (9079a47)

  • pat-ajax: Improve the default function from the url argument to not use jQuery. (bb8ce9d)

thet
published 9.9.5 •

Changelog

Source

9.9.5 (2023-07-28)

Bug Fixes

  • pat-close-panel: Do not prevent closing for formnovalidate buttons. (1272ac5)

    Do not prevent closing of panels when a form with invalid data is submitted when a button with the formnovalidate attribute is pressed. This is useful for cases where a "cancel" button actually needs to submit to roll back any changes which were already made.

  • pat-collapsible: Allow to explicitly clear the scroll selector. (9c99a2e)

    In case of nested pat-collapsible elements, child elements inherit the options from parent elements, including the scroll-selector. If the child element should do no scrolling, it needs to explicitly be reset. This can be done by adding th following options to the collapsible data attribute: data-pat-collapsible="scroll-selector: none"

Maintenance

  • Dependencies: Upgrade dependencies. (a46de2e)

  • pat-validation: Improve documentation - based on HTML standards, CSS‌ pseudo classes, formnovalidate buttons. (daab725)

thet
published 9.9.4 •

Changelog

Source

9.9.4 (2023-05-29)

Maintenance

  • Upgrade to @patternslib/dev 3.3.5 which fixes an incorrect release-it hook config. (e909e34)
thet
published 9.9.3 •

Changelog

Source

9.9.3 (2023-05-29)

Maintenance

  • Upgrade to @patternslib/dev 3.3.4 (61b3c56)

    This fixes the wrong version number comment in the package-included build files.

thet
published 9.9.2 •

Changelog

Source

9.9.2 (2023-05-29)

Maintenance

  • Upgrade to @patternslib/dev 3.3.3 (35c63df)

    This fixes a missing build in npm releases. Now you can again use jsdelivr and unpkg.

thet
published 9.9.1 •

Changelog

Source

9.9.1 (2023-05-23)

thet
published 9.9.1-alpha.0 •

Changelog

Source

9.9.1-alpha.0 (2023-05-23)

Bug Fixes

  • pat inject: Second attempt to fix the scrolling behavior, where the scrolling target could not be found. (829a6a6)

    The original problem fixed in commit 911b8b8660197d44291c7d5a9537bbb496df1a38 for 9.9.0-beta.1 addressed a problem where the scroll target was not a direct child of the injected content but some levels deeper. But this fix broke the situation where the scroll target is a direct child of the injected content. The fix applied here handles both situations.

thet
published 9.9.0 •

Changelog

Source

9.9.0 (2023-05-23)

thet
published 9.9.0-beta.3 •

Changelog

Source

9.9.0-beta.3 (2023-05-17)

Features

  • core dom: Add get_position, scroll_to_element, scroll_to_top and scroll_to_bottom functions. (0368c48)

    To help with scrolling tasks and to unify them these methods were introduced:

  • get_relative_position: Get the position of an element relative to another.
  • scroll_to_element: Scroll the given scroll_container to a given element.
  • scroll_to_top: Scroll the container to the top.
  • scroll_to_bottom: Scroll the container to the bottom.

Maintenance

  • pat inject: Use the new scrolling helpers from core.dom. (89d3ef3)

  • pat scroll: Use the new scrolling helpers from core.dom. (f37bc99)

    This fixes also the scrolling position from the previous release which would have been wrong for many cases where the scrolling target is within a positioned element.

thet
published 9.9.0-beta.2 •

Changelog

Source

9.9.0-beta.2 (2023-05-17)

Bug Fixes

  • pat scroll: Fix scroll to position. (a6d72f3)

    The scrolling offset was incorrectly calculated since Patternslib 9.9.0-alpha.5. Fix the calculation for the scrolling position by using offsetTop and offsetLeft instead getBoundingClientRect.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc