Commit Graph

7 Commits (420c3ed0ddb5048bb3780302d277d29d1bb2d8c2)

Author SHA1 Message Date
Yannick Schaus 01cee7bb29
oh-icon component improvements, Iconify icon support (#1149)
This allows the oh-icon to display both from more sources than the
OH icon servlet; bundled Framework7/Material icons can also be displayed
by this component (use `f7:` or `material:` prefixes).
Specifying no prefix will assume an OH icon for backward compatibility.

This also introduces Iconify (https://icon-sets.iconify.design) as an
icon source, allowing access to 100,000+ icons from various icon sets,
to display them in widgets like cards or floorplan markers.

The Iconify option requires Internet connectivity on the client to access
the external API but the underlying library will cache the icons in
local/session storage to limit the requests and speed up the rendering.

Update/fix documentation and plan marker default icon registration.

Signed-off-by: Yannick Schaus <github@schaus.net>
2021-08-30 00:58:46 +02:00
stefan-hoehn 7eece15230
Allow separate icon width/height for floorplan marker (#992)
Signed-off-by: Stefan Höhn <mail@stefanhoehn.com>
2021-04-10 16:56:22 +02:00
hubsif b7bec07f66
Fix zero margin not applied in oh-grid-layout (#973)
Make slider label help more descriptive
Fix load issue in item-list-vlist

Signed-off-by: Hubert Nusser <hubsif@gmx.de>
2021-03-25 20:35:39 +01:00
AndyXMB 184c6dab2f
Component docs (#900)
Signed-off-by: Andrew Black <andrewm.black@outlook.com>
Also-by: Yannick Schaus <github@schaus.net>
2021-03-01 15:42:17 +01:00
Yannick Schaus 5e7c092f55
Add frontmatter to component reference pages (#881)
Regenerate docs.

Signed-off-by: Yannick Schaus <github@schaus.net>
2021-02-05 19:22:23 +01:00
Yannick Schaus 9be043e4ee
Components docs: Add link to component page from labels on index page (#879)
Regenerate docs.

Signed-off-by: Yannick Schaus <github@schaus.net>
2021-02-05 17:34:30 +01:00
Yannick Schaus ba4d76fe9a
Add generated component reference (#864)
Add a Node.JS script to generate or update Markdown documentation from
the definitions of components. Generate an initial set of pages.

Signed-off-by: Yannick Schaus <github@schaus.net>
2021-02-05 15:16:35 +01:00