~whereswaldon/gio-x

fix: prevent multiple simultaneous menus

This fixes a bug in which a ContextArea could display its
contextual widget twice if the user right-clicked quickly
while the area was open.

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
all: update to latest gio

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
component: fix screenshot URLs in README

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
component: document new types in README

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
component: add Menu and associated types

This commit introduces a context menu type based on the material.io
Menu component, as well as a number of auxiliary types that are useful
in conjunction with it. In particular:

- Shadow creates drop shadows for rounded rectangles (based on Egon
  Elbre's work).
- Surface is a simple rounded rectangle with a background color and
  a drop shadow.
- Divider implements the material.io divider and can easily be used
  within surfaces or Menus to separate content.
- ContextArea defines an area that will display a widget if right-clicked.
  This is useful to show context menus, but can be used to display anything.
- MenuItem provides a pre-configured menu element that respects material
  specifications. You can also provide any layout.Widget as a menu element.

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
component: make SimpleIconAction work without passing *material.Theme

The theme was only ever used because we used the material.IconButton
helper function, and did not build a material.IconButtonStyle directly.
No values were ever really used from it.

Signed-off-by: Fabian Geiselhart <me@f4814n.de>
all: update to latest gio

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
haptic: fix ios build constraints

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
notify: remove dangling golang references to niotify

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
scroll: fix screenshot path

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
notify: fix macos dependency import

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
notify: fix go.mod module name declaration typo

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
doc: update README with pkg purposes

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
haptic: fix go.mod module name declaration

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
notify: fix go.mod module name declaration

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
all: fix license link in README

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
notify: stop locking gogio version in pkg

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
haptic: update pkg docs

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
component,eventx,outlay,scroll: update pkg docs

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
haptic: add back iOS support

Accidentally lost this implementation during branch renaming
a while ago, and only just noticed.

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
haptic: fix missing word in godoc

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
Next