@gjsify/adwaita-web 0.59.1 → 0.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- package/dist/adwaita-web.css +4 -0
- package/dist/adwaita-web.css.map +1 -1
- package/lib/types/elements/gtk-button.d.ts +13 -0
- package/lib/types/elements/gtk-drop-down.d.ts +4 -0
- package/lib/types/elements/gtk-label.d.ts +4 -0
- package/lib/types/elements/gtk-text-view.d.ts +15 -0
- package/lib/types/file-chooser-host.d.ts +55 -0
- package/lib/types/file-chooser.spec.d.ts +1 -0
- package/lib/types/gtk-platform.spec.d.ts +1 -0
- package/lib/types/namespace/adw.d.ts +1 -0
- package/lib/types/namespace/gdk.d.ts +2 -0
- package/lib/types/namespace/gio.d.ts +3 -0
- package/lib/types/namespace/glib.d.ts +1 -0
- package/lib/types/namespace/gtk-enums.d.ts +22 -0
- package/lib/types/namespace/gtk-platform.d.ts +13 -0
- package/lib/types/namespace/gtk.d.ts +4 -1
- package/lib/types/platform-host.d.ts +2 -0
- package/lib/types/registered-styles.d.ts +2 -0
- package/lib/types/style-manager.d.ts +7 -0
- package/lib/types/styles.generated.d.ts +1 -1
- package/lib/types/template-classes.d.ts +2 -0
- package/lib/types/widget-members.spec.d.ts +1 -0
- package/package.json +23 -10
- package/scss/_viewport.scss +9 -0
- package/src/capabilities.mjs +1 -4
- package/src/construct-vectors.spec.ts +10 -1
- package/src/elements/gtk-button.ts +34 -0
- package/src/elements/gtk-drop-down.ts +10 -0
- package/src/elements/gtk-label.ts +10 -0
- package/src/elements/gtk-text-view.ts +40 -0
- package/src/file-chooser-host.ts +421 -0
- package/src/file-chooser.spec.ts +376 -0
- package/src/gobject-door.ts +15 -2
- package/src/gobject-elements.ts +4 -0
- package/src/gtk-drop-down.spec.ts +11 -0
- package/src/gtk-label.spec.ts +12 -0
- package/src/gtk-platform.spec.ts +19 -0
- package/src/gtk-text-view.spec.ts +22 -0
- package/src/namespace/adw.ts +1 -0
- package/src/namespace/gdk.ts +18 -1
- package/src/namespace/gio.ts +20 -2
- package/src/namespace/glib.ts +6 -1
- package/src/namespace/gtk-enums.ts +7 -2
- package/src/namespace/gtk-platform.ts +16 -0
- package/src/namespace/gtk.ts +12 -1
- package/src/platform-host.ts +88 -0
- package/src/registered-styles.ts +73 -0
- package/src/shared-tree-builder.ts +46 -2
- package/src/shared-trees.spec.ts +36 -0
- package/src/style-manager.ts +10 -1
- package/src/styles.generated.ts +1 -1
- package/src/template-classes.ts +6 -0
- package/src/test.browser.mts +6 -0
- package/src/widget-members.spec.ts +147 -0
package/README.md
CHANGED
|
@@ -185,6 +185,17 @@ Chromium 149 to `rgb(0, 117, 255)`: both blue, neither the desktop's accent. A p
|
|
|
185
185
|
cannot tell such a default from a real accent, which is why the server handoff ranks
|
|
186
186
|
above it.
|
|
187
187
|
|
|
188
|
+
## Platform members
|
|
189
|
+
|
|
190
|
+
`Gtk.CssProvider`, `Gtk.StyleContext`, `Gtk.Settings`, `Gtk.IconTheme`, `Gtk.EventControllerKey`,
|
|
191
|
+
`Gtk.show_uri`, `Gdk.KEY_*`, `Adw.ColorScheme` and the web `Gtk.License` are ONE behaviour in
|
|
192
|
+
`adwaita-core/src/gtk-platform.ts`. Each port only supplies a `PlatformHost` (`src/platform-host.ts`):
|
|
193
|
+
a `<style>` element, `window.open` and a keydown listener on the web; `Application.addCss`, an Intent
|
|
194
|
+
and an `OnKeyListener` on NativeScript, where iOS never delivers keys.
|
|
195
|
+
|
|
196
|
+
`Gio.Settings` is `@gjsify/app-settings` (ADR 0099), an OPTIONAL peer of both ports (Tier 3, ADR 0003
|
|
197
|
+
rule 1).
|
|
198
|
+
|
|
188
199
|
## Icons, and the ones the stylesheet does not ship
|
|
189
200
|
|
|
190
201
|
A `<gtk-image icon-name="go-next">` is a CSS mask: the box takes its colour from
|
package/dist/adwaita-web.css
CHANGED