Skip to content

Releases: bit101/quicksettings

Version 3.0.3

18 May 01:07
Compare
Choose a tag to compare

Fixed issue where different panels with components with the same title would sometimes get mixed up. Each element id is now unique.

Version 3.0.2

14 Mar 23:54
Compare
Choose a tag to compare

But fixes. Some earlier fixes went into the source files but were not compiled into the final library and minified file.

Version 3.0.1

07 Jan 23:14
Compare
Choose a tag to compare
  • A few minor fixes.

  • Allow the dropdown to accept items that are objects with a label and value property. i.e.:

    [{
    label: "seven",
    value: 7,
    },
    {
    label: "PI",
    value: 3.14159
    }]

  • Older style, simple values will still continue to work. i.e.:

    ["one", "two", "three", "four"]

  • A mix and match of item types will also work.

Callbacks and getValue will now return and object with index, label and value properties. If the item is a simple string or other value, label and value will be equal.

version 3.0

11 Nov 12:29
Compare
Choose a tag to compare

Version 3 is mostly about simplifying the panel, removing little used features and making getting and setting values easier.

  • New features / changes:
    • All controls with settable values are now set with panel.setValue(title, value)
    • All controls with gettable values are now read with panel.getValue(title)
    • You can programatically get and set control values with JSON using panel.getValuesAsJSON and panel.setValuesWithJSON.
    • Calling saveToLocalStorage(name) will cause all changes in the panel to be continuously synced to local storage and restored when the panel is restarted. See details below, and demo project.
  • Removed:
    • panel.addInfo and related methods are gone. These were just aliased to panel.addHTML anyway, so use that instead.
    • The functionality to parse an entire panel layout from JSON has been removed. This might be added in later as a separate module.
    • The snap-to-grid functionality has been removed.

Naturally, many of these changes will break backwards compatibility with version 2 or earlier. But the changes overall result in a cleaner, simpler API and are easy enough to migrate over to.

Unit testing was also added to the project, which brought to light many small issues that were then fixed.

version 2.2.1

01 Sep 23:22
Compare
Choose a tag to compare

Fixes a few methods that did not return "this" for method chaining.

version 2.2

01 Sep 22:05
Compare
Choose a tag to compare
  • new file chooser component.addFileChooser()
  • hideTitle(title) hides the title label on a given control
  • showTitle(title) shows the title label on a given control
  • hideAllTitles() hides all title labels on all controls.
  • showAllTitles() shows all title labels on all controls.

version 2.1

20 Aug 22:43
Compare
Choose a tag to compare

A few minor bug fixes. Four new methods:

  • hideControl(title)
  • showControl(title)
  • overrideStyle(title, styleName, value)
  • getValuesAsJSON(asString)

See main readme for explanations.

version 2.0

19 Aug 12:22
Compare
Choose a tag to compare

Lots of changes in this release. The default style sheet is included in the library, so no need to add a style sheet to the page, unless you want an alternate style sheet. See the readme for instructions on how to use an external stylesheet. There are a total of six style sheets available now. See the styles demo in the demo folder (live link in readme).

Lots of code clean up and testing across platforms and browsers - Windows, Mac, Linux. Chrome, Firefox, Safari, Opera, Epiphany/Web (Linux), IE 11, Edge. Look is a lot cleaner and functionality and styles are as consistent as possible across platforms and browsers.

A few minor API changes. Make sure you check the readme. Some stuff will break from 1.6 -> 2.0.

version 1.5

12 Aug 19:06
Compare
Choose a tag to compare

forgot to add minified file to 1.4

version 1.4

12 Aug 18:49
Compare
Choose a tag to compare
  • snap to grid
  • grid size
  • destroy method
  • parse from json