multiple-select-vanilla

This lib allows you to select multiple elements with checkboxes

MIT License

Downloads
12.4K
Stars
12

Bot releases are hidden (Show)

multiple-select-vanilla - v1.0.2

Published by ghiscoding 11 months ago

1.0.2 (2023-11-22)

Note: Version bump only for package multiple-select-vanilla-root

multiple-select-vanilla - v1.0.2-beta.3

Published by ghiscoding 11 months ago

1.0.2-beta.3 (2023-11-22)

Note: Version bump only for package multiple-select-vanilla-root

multiple-select-vanilla - v1.0.2-beta.2

Published by ghiscoding 11 months ago

1.0.2-beta.2 (2023-11-22)

Note: Version bump only for package multiple-select-vanilla-root

multiple-select-vanilla - v1.0.2-beta.1

Published by ghiscoding 11 months ago

1.0.2-beta.1 (2023-11-22)

Note: Version bump only for package multiple-select-vanilla-root

multiple-select-vanilla - v1.0.2-beta.0

Published by ghiscoding 11 months ago

1.0.2-beta.0 (2023-11-22)

Bug Fixes

  • revert to using .js for both CJS/ESM (#173) (fff2484) - by @ghiscoding
multiple-select-vanilla - v0.6.3

Published by ghiscoding 12 months ago

0.6.3 (2023-11-13)

CSP Compliant

The focus of this release was around CSP (Content Security Policy) compliance, all dynamic html string were replaced by native HTML Element and a lot of code refactoring had to be done to make it all work. There are some exception though, if you still use html string as template, you will not be compliant unless you return TrustedHTML, you can get more info on the main readme homepage.

⚠️ Deprecation

styler is now deprecated and replaced by cssStyler .

  • styler was built around the fact that we use HTML string and we pass any style to the html string but now that we converted html string to native HTML Element, these style are not compatible and need extra work since we need to convert CSS style them to valid CSSStyleDeclaration (i.e.: font-weight: 'bold' should be fontWeight: 'bold') so that we can then pass it to our native HTML Element. Because this is an extra step, we decided to deprecate styler in favor of cssStyler which only accept CSSStyleDeclaration.

Features

  • add cssStyler option to use typed CSSStyleDeclaration props (#148) (8ad2b28) - by @ghiscoding
  • add showSearchClear option to clear search input (#147) (32de6f2) - by @ghiscoding
  • replace all dynamic html strings by pure HTML elements (#144) (adcc33d) - by @ghiscoding
  • VirtualScroll replace all html strings to pure HTML elements (#146) (8731387) - by @ghiscoding

Performance Improvements

  • don't recreate items list twice while filtering (#154) (5e58ceb) - by @ghiscoding
  • use array of html struct instead of plain HTML Element (#153) (6731228) - by @ghiscoding

Bug Fixes

  • input checkbox value should always be included even when null (#158) (4d33cff) - by @ghiscoding
  • [improve types & exports for all bundler](fix: improve build & types exports for all targets, Node, CJS/ESM) (#161) (b4ad0ac) - by @ghiscoding
  • @types/trusted-types should be lib dependency (#162) (946de83) - by @ghiscoding
multiple-select-vanilla - v0.5.0

Published by ghiscoding about 1 year ago

0.5.0 (2023-10-27)

Bug Fixes

  • updated onFilter event parameter to original search (#140) (02c1d45) - by @ghiscoding

Features

  • added onBeforeClick event (#141) (6b0cdb8) - by @ghiscoding
  • added locale ja-JP (#139) (d473bd9) - by @ghiscoding
multiple-select-vanilla - v0.4.11

Published by ghiscoding about 1 year ago

0.4.11 (2023-10-25)

Bug Fixes

  • make sure source element exists when calling findParent on it (#136) (0d7c185) - by @ghiscoding
multiple-select-vanilla - v0.4.10

Published by ghiscoding about 1 year ago

0.4.10 (2023-09-08)

Bug Fixes

  • remove type module to support non-ESM, fixes #123 (#126) (63f2e82) - by @ghiscoding
multiple-select-vanilla - v0.4.9

Published by ghiscoding about 1 year ago

0.4.9 (2023-08-22)

Bug Fixes

  • previous values should not be reused as selected values (#121) (46fb7cd) - by @ghiscoding
multiple-select-vanilla - v0.4.8

Published by ghiscoding about 1 year ago

0.4.8 (2023-08-22)

Bug Fixes

  • select option should compare full value not substring, fix #115 (#119) (79ce83d) - by @ghiscoding
multiple-select-vanilla - v0.4.7

Published by ghiscoding about 1 year ago

0.4.7 (2023-08-22)

Bug Fixes

  • select option should compare full value not substring, fix #115 (#118) (2ec33a7) - by @ghiscoding
multiple-select-vanilla - v0.4.5

Published by ghiscoding over 1 year ago

0.4.5 (2023-07-17)

Bug Fixes

  • CJS fallbacks should be at the end not at beginning (#103) (febdc9c) - by @ghiscoding
multiple-select-vanilla - v0.4.4

Published by ghiscoding over 1 year ago

0.4.4 (2023-06-28)

Bug Fixes

  • data collection shouldn't render label as html by default (#86) (50f4652) - by @ghiscoding
multiple-select-vanilla - v0.4.3

Published by ghiscoding over 1 year ago

0.4.3 (2023-06-28)

Bug Fixes

  • replace some DOM Element method not supported in Salesforce (#84) (2617514) - by @ghiscoding
multiple-select-vanilla - v0.4.2

Published by ghiscoding over 1 year ago

0.4.2 (2023-06-27)

Bug Fixes

  • add missing repo links to package.json (21c7a9d) - by @ghiscoding
multiple-select-vanilla - v0.4.1

Published by ghiscoding over 1 year ago

0.4.1 (2023-06-27)

Bug Fixes

  • remove leftover console.log (#83) (e64351c) - by @ghiscoding
multiple-select-vanilla - v0.4.0

Published by ghiscoding over 1 year ago

0.4.0 (2023-06-25)

⚠ Small Breaking Change

The only breaking change is the customFilter argument signature changed from multiple arguments to a single object arguments to be more flexible. This version also follows the original multiple-select v1.6.0 that was released recently which include the following changes:

⚠ BREAKING CHANGES

  • change customFilter fn signature & add extra options/methods (#80) (ca9f0ce) - by @ghiscoding

Bug Fixes

  • deps: update dependency @popperjs/core to ^2.11.8 (#70) (ce647a0) - by @renovate-bot

Features

  • add cz-CS and da-DK locales (#80) (c74ce59) - by @ghiscoding
multiple-select-vanilla - v0.3.1

Published by ghiscoding over 1 year ago

0.3.1 (2023-05-18)

Bug Fixes

  • create DOM element util should spread element props (#62) (97d1d64) - by @ghiscoding
multiple-select-vanilla - v0.3.0

Published by ghiscoding over 1 year ago

0.3.0 (2023-05-03)

Features

  • add CSS/SASS variables for ul > li vertical alignment (#54) (07ac9ab) - by @ghiscoding