neo

The application worker driven frontend framework

MIT License

Downloads
5.2K
Stars
2.7K
Committers
33

Bot releases are hidden (Show)

neo - Neo.layout.Grid

Published by tobiu almost 2 years ago

super simplistic first version

neo - tree list: ensuring lists fit into their parent container

Published by tobiu almost 2 years ago

neo - container.Base enhancements

Published by tobiu almost 2 years ago

  1. replaceAt() convenience method
  2. removeAt() => fixed a bug for silently destroying a child component
  3. createItem() => defaults to component.Base now for object based configurations
neo - workspace based theming

Published by tobiu almost 2 years ago

neo - buildScripts/buildThemes: smarter support for own scss imports

Published by tobiu almost 2 years ago

neo - buildScripts/watchThemes: support for SCSS imports

Published by tobiu almost 2 years ago

neo - basic enhancements

Published by tobiu almost 2 years ago

  1. container.Base: removeAll()
  2. form.Container: validate() => return value
  3. drag&drop support for list.Circle in progress
neo - table.Container: support for string based column renderers

Published by tobiu almost 2 years ago

neo - component.Base: smarter handling for domEvents

Published by tobiu almost 2 years ago

afterSetDomEvents() will now always parse domEvents before getting registered inside manager.DomEvent.

this will honor dynamically added listeners and makes converting listeners inside the manager obsolete.

  • we do check now, if a given config value exists inside the configSymbol (newer state value)
  • we can now pass props of an object based config value directly. this includes deep nesting
neo - dialog.Base: header toolbar sizing fix

Published by tobiu almost 2 years ago

neo - dialog.Base: flexbox layout for the dialog content

Published by tobiu almost 2 years ago

neo - ServiceWorker enhancements

Published by tobiu almost 2 years ago

For the framework scope, a running SW will now clear the caches once a browser with a different app version connects.
See: https://github.com/neomjs/neo/issues/3543

We still need to adjust this for the workspace based scope => npx neo-app.
In case this is important for you, please add a comment to the related issue: https://github.com/neomjs/neo/issues/3550

Opening an app which starts a new SW will no longer cause JS errors. The same goes for force refresh.
See: https://github.com/neomjs/neo/issues/3551

This is more like a workaround fix, since navigator.serviceWorker.controller will stay null, even when a new SW registers and is ready. I did try globalThis.clients.claim() without success.

neo - dialog.header.Toolbar

Published by tobiu almost 2 years ago

This release will make dialogs more configurable. You can now easily define the order of your header actions, as well as adding custom actions or not using actions at all.

Details here:
https://github.com/neomjs/neo/blob/dev/src/dialog/header/Toolbar.mjs

This release also includes the component.Base: update() convenience shortcut.

before:

afterSetMyConfig(value, oldValue) {
    let vdom = this.vdom;

    vdom.cn[0].html = 'test';

    this.vdom = vdom;
}

now:

afterSetMyConfig(value, oldValue) {
    this.vdom.cn[0].html = 'test';
    this.update();
}

hint: using the new method is optional.

neo - component.Base: update()

Published by tobiu about 2 years ago

and using the new convenience method in all spots which made sense.

you will no longer find me.vdom = vdom; as an update trigger.

neo - form.field.Text: polishing

Published by tobiu about 2 years ago

  1. improved the reset() logic to honor initial values
  2. styling enhancements when switching between different labelPositions
neo - Stability release

Published by tobiu about 2 years ago

  • Neo.isEmpty() now returns true for null and undefined
  • form.field.Number: position: 'inline' now honors 0 as a content-value (moving the label node to the top)
neo - tab.Container: drag&drop stability

Published by tobiu about 2 years ago

double-clicks can no longer break tabs. see: https://github.com/neomjs/neo/issues/3516

Package Rankings
Top 2.35% on Npmjs.org
Top 6.61% on Proxy.golang.org
Related Projects