Resource icon

Standard Library by Xon v1.21.9

No permission to download
  • Author Author KodeBlend
  • Creation date Creation date

New posts New threads Most answered Most reaction Most viewed threads

ifastnet
  • Update choices.js
    • Adjust font-size css to be more inline with standard XF
    • Fix select did not reset correct after a form submit.
      • Noticeable with Threadmarks Pro add-on on replying to a thread
    • Fix "no choices to choose from"/"no results found" notice did not reliably trigger
    • Fix options loader would unexpectedly clear options. This impacts the move thread function.
  • Update count down timer to only show seconds in the last 2 minutes by default, this avoid excessive page-reflows
    • Noticeable with notice time replacables add-on
  • Fix "Class XFES\Listener not found" from some of my add-on installers
  • Fix bad reference to useNativeTimeInputs in README.md
  • Update choices.js (v11.0.0-rc7)
    • Smaller bundle size
    • Improve aria attribute handling (aka accessability)
    • Many bugfixes around keyboard handling & displaying notices
  • Fix ajax pagination & ajax filtered pagination code did not dynamically loading css/js
  • Update choices.js
    • Various performance fixes when used with large number of options (ie hundreds of prefixes when using Multi-Prefix)
    • Fix filtering/search could return unstable search results
    • Fix possible empty aria-label generation on remove item button
    • Fix enter could cause accidental form submit instead of open/closing the choices list in all cases

Change log

  • XF2.3 support
    • Various .js files should work with XF2.1/XF2.2/XF2.3
  • Fix hasDesiredAddOnVersion could error if the target addon was in a processing state
  • Fix Standard Lib: Log parse_less_func debug info option not working
  • Backport <xf:macro name="template::macro syntax to to XF2.1
  • Update parse_less_color to not return CSS variables where possible
  • Bundle choices.js as a near drop-in replacement for select2

HTML:
Please, Log in or Register to view codes content!
  • The initial structure is pre-rendered to reduce/prevent page jank.
  • To opt-out add the skip-rendering="true" attribute to the <xf:select> or <xf:selectrow> element
  • This will be used by a number of my add-ons and other 3rd party addons.
  • Like
Reactions: eyulya1
  • Fix \SV\StandardLib\Helper::repo()->aliasClass() had a compatibility issue with XF2.2.13+ when the aliased class was the top-most class extension.
  • Require php 7.2+
  • php 8.4+ compatibility fix
  • Improve custom AJAX pagination and AJAX pagination with filter bar javascript. Includes admincp option helper option rendering code
    See Who Replied for an implementation of the feature allowing selectable pagination styles
  • Add Helper::Plugin for type-safe plugin creation
  • Fix Helper::find() and Helper::findCached() assumed entity ids are only ints (can be string/int/array)
  • Add Helper::instantiateEntity() type-safe wrapper
  • Fix Helper::createEntity() could cause "Call to undefined method ...\XF\Entity\...::where()" errors when verifying content is unique
  • Actually distribute minified ajaxPagination.js file