New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

collapsible-block

Package Overview
Dependencies
Maintainers
0
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

collapsible-block - npm Package Versions

23

1.1.13

Diff

Changelog

Source

[1.1.13] - 2024-12-19

  • Fixed: In some cases, focus was still set even when explicitly expanding without focus.
diegoversiani
published 1.1.12 •

Changelog

Source

[1.1.12] - 2024-12-17

  • Added: Set class is-transitioning while transitioning between expanded and collapsed states, and vice-versa.
diegoversiani
published 1.1.11 •

Changelog

Source

[1.1.11] - 2024-12-17

  • Fixed: Do not set focus on element initialization.
diegoversiani
published 1.1.10 •

Changelog

Source

[1.1.10] - 2024-10-10

  • Added: New methods CollapsibleBlock.enableFocusOnExpand and CollapsibleBlock.disableFocusOnExpand to control whether to focus on the first focusable element when expanding a block.
diegoversiani
published 1.1.9 •

Changelog

Source

[1.1.9] - 2024-06-28

  • Fixed: Make sure to finish the "expand" state change after the duration of the height transition, so we don't need to rely completely on the browser's transitionend event.
diegoversiani
published 1.1.8 •

Changelog

Source

[1.1.8] - 2022-10-28

  • Added: New parameter withFocus for the CollapsibleBlock.expand function which allows to expand a collapsible block without setting focus to the focusable elements inside it.
diegoversiani
published 1.1.7 •

Changelog

Source

[1.1.7] - 2021-12-23

  • Fix: Detect links with role="button" as focusable elements.
  • Fix: Do not try to select the contents of fields or other elements that do not support it.
diegoversiani
published 1.1.6 •

Changelog

Source

[1.1.6] - 2021-06-04

Added

  • Added option to select focusable field contents when expanding a collapsible-block. Defaults to true.
diegoversiani
published 1.1.5 •

Changelog

Source

[1.1.5] - 2021-05-26

Fixed

  • Fix: do not set auto-focus when initializing the collapsible blocks when the element's initialiation happens late (ie. after an ajax call)
diegoversiani
published 1.1.4 •

Changelog

Source

[1.1.4] - 2021-05-26

Fixed

  • Fix: do not set auto-focus when element is not visible or inside nested collapsible blocks.
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