@gjsify/example-gtk-adwaita-storybook 0.44.0 → 0.46.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.
Files changed (64) hide show
  1. package/README.md +6 -4
  2. package/dist/browser-main.js +98 -98
  3. package/dist/gjs.js +4 -4
  4. package/package.json +11 -11
  5. package/src/browser/buttons/button-content.web.ts +3 -3
  6. package/src/browser/buttons/button-styles.web.ts +3 -3
  7. package/src/browser/buttons/menu-button.web.ts +1 -1
  8. package/src/browser/controls/drop-down.web.ts +1 -1
  9. package/src/browser/controls/entry.web.ts +2 -2
  10. package/src/browser/feedback/about-dialog.web.ts +1 -1
  11. package/src/browser/feedback/alert-dialog.web.ts +1 -1
  12. package/src/browser/feedback/preferences-dialog.web.ts +1 -1
  13. package/src/browser/feedback/toast.web.ts +1 -1
  14. package/src/browser/layout/header-bar.web.ts +2 -2
  15. package/src/browser/layout/toolbar-view.web.ts +3 -3
  16. package/src/browser/layout/wrap-box.web.ts +1 -1
  17. package/src/browser/navigation/bottom-sheet.web.ts +2 -2
  18. package/src/browser/navigation/navigation-split-view.web.ts +1 -1
  19. package/src/browser/navigation/navigation-view.web.ts +1 -1
  20. package/src/browser/navigation/sidebar.web.ts +1 -1
  21. package/src/browser/presentation/status-page.web.ts +1 -1
  22. package/src/browser/rows/action-row.web.ts +2 -2
  23. package/src/browser/view-switching/view-switcher-bar.web.ts +4 -4
  24. package/src/buttons/button-content.story.ts +3 -3
  25. package/src/buttons/button-styles.story.ts +3 -3
  26. package/src/buttons/menu-button.story.ts +3 -3
  27. package/src/buttons/split-button.story.ts +3 -3
  28. package/src/buttons/toggle-group.story.ts +2 -2
  29. package/src/controls/drop-down.story.ts +2 -2
  30. package/src/controls/entry.story.ts +2 -2
  31. package/src/feedback/about-dialog.story.ts +3 -3
  32. package/src/feedback/alert-dialog.story.ts +3 -3
  33. package/src/feedback/preferences-dialog.story.ts +3 -3
  34. package/src/feedback/toast.story.ts +3 -3
  35. package/src/layout/clamp.story.ts +3 -3
  36. package/src/layout/header-bar.story.ts +4 -4
  37. package/src/layout/toolbar-view.story.ts +3 -3
  38. package/src/layout/wrap-box.story.ts +3 -3
  39. package/src/navigation/bottom-sheet.story.ts +3 -3
  40. package/src/navigation/navigation-split-view.story.ts +3 -3
  41. package/src/navigation/navigation-view.story.ts +3 -3
  42. package/src/navigation/overlay-split-view.story.ts +3 -3
  43. package/src/navigation/sidebar.story.ts +3 -3
  44. package/src/overview/widgets.story.ts +3 -3
  45. package/src/presentation/avatar.story.ts +2 -2
  46. package/src/presentation/banner.story.ts +3 -3
  47. package/src/presentation/shortcut-label.story.ts +3 -3
  48. package/src/presentation/spinner.story.ts +3 -3
  49. package/src/presentation/status-page.story.ts +3 -3
  50. package/src/presentation/window-title.story.ts +2 -2
  51. package/src/rows/action-row.story.ts +3 -3
  52. package/src/rows/button-row.story.ts +2 -2
  53. package/src/rows/combo-row.story.ts +3 -3
  54. package/src/rows/entry-row.story.ts +2 -2
  55. package/src/rows/expander-row.story.ts +2 -2
  56. package/src/rows/password-entry-row.story.ts +2 -2
  57. package/src/rows/preferences-group.story.ts +3 -3
  58. package/src/rows/spin-row.story.ts +3 -3
  59. package/src/rows/switch-row.story.ts +2 -2
  60. package/src/view-switching/carousel.story.ts +3 -3
  61. package/src/view-switching/inline-view-switcher.story.ts +3 -3
  62. package/src/view-switching/tab-view.story.ts +3 -3
  63. package/src/view-switching/view-switcher-bar.story.ts +2 -2
  64. package/src/view-switching/view-switcher.story.ts +3 -3
@@ -1,8 +1,8 @@
1
1
  // Adw.Avatar — a circular avatar that renders generated initials, a symbolic
2
2
  // icon, or a custom image. original implementation.
3
3
 
4
- import Adw from '@girs/adw-1';
5
- import GObject from '@girs/gobject-2.0';
4
+ import Adw from 'gi://Adw?version=1';
5
+ import GObject from 'gi://GObject?version=2.0';
6
6
  import { type StoryArgs, type StoryMeta, type StoryModule, StoryWidget } from '@gjsify/storybook';
7
7
  import { avatarMeta } from './avatar.meta.js';
8
8
 
@@ -1,9 +1,9 @@
1
1
  // Adw.Banner — a full-width bar for a single in-context message, with an
2
2
  // optional action button. original implementation.
3
3
 
4
- import Adw from '@girs/adw-1';
5
- import Gtk from '@girs/gtk-4.0';
6
- import GObject from '@girs/gobject-2.0';
4
+ import Adw from 'gi://Adw?version=1';
5
+ import Gtk from 'gi://Gtk?version=4.0';
6
+ import GObject from 'gi://GObject?version=2.0';
7
7
  import { type StoryArgs, type StoryMeta, type StoryModule, StoryWidget } from '@gjsify/storybook';
8
8
  import { bannerMeta } from './banner.meta.js';
9
9
 
@@ -1,8 +1,8 @@
1
1
  // Adw.ShortcutLabel — an accelerator drawn as keycaps. original implementation.
2
2
 
3
- import Adw from '@girs/adw-1';
4
- import Gtk from '@girs/gtk-4.0';
5
- import GObject from '@girs/gobject-2.0';
3
+ import Adw from 'gi://Adw?version=1';
4
+ import Gtk from 'gi://Gtk?version=4.0';
5
+ import GObject from 'gi://GObject?version=2.0';
6
6
  import { type StoryArgs, type StoryMeta, type StoryModule, StoryWidget } from '@gjsify/storybook';
7
7
  import { SHORTCUT_LABEL_LEVELS, shortcutLabelLevelsMeta, shortcutLabelMeta } from './shortcut-label.meta.js';
8
8
 
@@ -1,9 +1,9 @@
1
1
  // Adw.Spinner — a determinate-free loading indicator that animates while
2
2
  // shown. original implementation.
3
3
 
4
- import Adw from '@girs/adw-1';
5
- import Gtk from '@girs/gtk-4.0';
6
- import GObject from '@girs/gobject-2.0';
4
+ import Adw from 'gi://Adw?version=1';
5
+ import Gtk from 'gi://Gtk?version=4.0';
6
+ import GObject from 'gi://GObject?version=2.0';
7
7
  import { type StoryArgs, type StoryMeta, type StoryModule, StoryWidget } from '@gjsify/storybook';
8
8
  import { spinnerMeta } from './spinner.meta.js';
9
9
 
@@ -1,9 +1,9 @@
1
1
  // Adw.StatusPage — a centred empty/placeholder state with an icon, title,
2
2
  // description and an optional action. original implementation.
3
3
 
4
- import Adw from '@girs/adw-1';
5
- import Gtk from '@girs/gtk-4.0';
6
- import GObject from '@girs/gobject-2.0';
4
+ import Adw from 'gi://Adw?version=1';
5
+ import Gtk from 'gi://Gtk?version=4.0';
6
+ import GObject from 'gi://GObject?version=2.0';
7
7
  import { type StoryArgs, type StoryMeta, type StoryModule, StoryWidget } from '@gjsify/storybook';
8
8
  import { statusPageMeta } from './status-page.meta.js';
9
9
 
@@ -1,8 +1,8 @@
1
1
  // Adw.WindowTitle — a header-bar title widget pairing a title with an
2
2
  // optional subtitle. original implementation.
3
3
 
4
- import Adw from '@girs/adw-1';
5
- import GObject from '@girs/gobject-2.0';
4
+ import Adw from 'gi://Adw?version=1';
5
+ import GObject from 'gi://GObject?version=2.0';
6
6
  import { type StoryArgs, type StoryMeta, type StoryModule, StoryWidget } from '@gjsify/storybook';
7
7
  import { windowTitleMeta } from './window-title.meta.js';
8
8
 
@@ -1,9 +1,9 @@
1
1
  // Adw.ActionRow — a boxed-list row pairing a title/subtitle with prefix/suffix
2
2
  // widgets, optionally activatable. original implementation.
3
3
 
4
- import Adw from '@girs/adw-1';
5
- import Gtk from '@girs/gtk-4.0';
6
- import GObject from '@girs/gobject-2.0';
4
+ import Adw from 'gi://Adw?version=1';
5
+ import Gtk from 'gi://Gtk?version=4.0';
6
+ import GObject from 'gi://GObject?version=2.0';
7
7
  import { type StoryArgs, type StoryMeta, type StoryModule, StoryWidget } from '@gjsify/storybook';
8
8
  import { actionRowMeta } from './action-row.meta.js';
9
9
 
@@ -1,8 +1,8 @@
1
1
  // Adw.ButtonRow — a boxed-list row that behaves like a button, with an optional
2
2
  // start icon and an applied style class. original implementation.
3
3
 
4
- import Adw from '@girs/adw-1';
5
- import GObject from '@girs/gobject-2.0';
4
+ import Adw from 'gi://Adw?version=1';
5
+ import GObject from 'gi://GObject?version=2.0';
6
6
  import { type StoryArgs, type StoryMeta, type StoryModule, StoryWidget } from '@gjsify/storybook';
7
7
  import { buttonRowMeta } from './button-row.meta.js';
8
8
 
@@ -1,9 +1,9 @@
1
1
  // Adw.ComboRow — a boxed-list row presenting a drop-down backed by a string list.
2
2
  // original implementation.
3
3
 
4
- import Adw from '@girs/adw-1';
5
- import Gtk from '@girs/gtk-4.0';
6
- import GObject from '@girs/gobject-2.0';
4
+ import Adw from 'gi://Adw?version=1';
5
+ import Gtk from 'gi://Gtk?version=4.0';
6
+ import GObject from 'gi://GObject?version=2.0';
7
7
  import { type StoryArgs, type StoryMeta, type StoryModule, StoryWidget } from '@gjsify/storybook';
8
8
  import { COMBO_ROW_OPTIONS, comboRowMeta } from './combo-row.meta.js';
9
9
 
@@ -1,8 +1,8 @@
1
1
  // Adw.EntryRow — a boxed-list row with an embedded text entry and an optional
2
2
  // apply button. original implementation.
3
3
 
4
- import Adw from '@girs/adw-1';
5
- import GObject from '@girs/gobject-2.0';
4
+ import Adw from 'gi://Adw?version=1';
5
+ import GObject from 'gi://GObject?version=2.0';
6
6
  import { type StoryArgs, type StoryMeta, type StoryModule, StoryWidget } from '@gjsify/storybook';
7
7
  import { entryRowMeta } from './entry-row.meta.js';
8
8
 
@@ -1,8 +1,8 @@
1
1
  // Adw.ExpanderRow — a boxed-list row that reveals nested rows when expanded, with
2
2
  // an optional enable switch. original implementation.
3
3
 
4
- import Adw from '@girs/adw-1';
5
- import GObject from '@girs/gobject-2.0';
4
+ import Adw from 'gi://Adw?version=1';
5
+ import GObject from 'gi://GObject?version=2.0';
6
6
  import { type StoryArgs, type StoryMeta, type StoryModule, StoryWidget } from '@gjsify/storybook';
7
7
  import { expanderRowMeta } from './expander-row.meta.js';
8
8
 
@@ -1,8 +1,8 @@
1
1
  // Adw.PasswordEntryRow — a boxed-list entry row that masks its text and offers a
2
2
  // peek toggle. original implementation.
3
3
 
4
- import Adw from '@girs/adw-1';
5
- import GObject from '@girs/gobject-2.0';
4
+ import Adw from 'gi://Adw?version=1';
5
+ import GObject from 'gi://GObject?version=2.0';
6
6
  import { type StoryArgs, type StoryMeta, type StoryModule, StoryWidget } from '@gjsify/storybook';
7
7
  import { passwordEntryRowMeta } from './password-entry-row.meta.js';
8
8
 
@@ -2,9 +2,9 @@
2
2
  // description, a header-suffix button and a set of mixed rows. original
3
3
  // implementation.
4
4
 
5
- import Adw from '@girs/adw-1';
6
- import Gtk from '@girs/gtk-4.0';
7
- import GObject from '@girs/gobject-2.0';
5
+ import Adw from 'gi://Adw?version=1';
6
+ import Gtk from 'gi://Gtk?version=4.0';
7
+ import GObject from 'gi://GObject?version=2.0';
8
8
  import { type StoryArgs, type StoryMeta, type StoryModule, StoryWidget } from '@gjsify/storybook';
9
9
  import { preferencesGroupMeta } from './preferences-group.meta.js';
10
10
 
@@ -1,9 +1,9 @@
1
1
  // Adw.SpinRow — a boxed-list row embedding a spin button over an adjustment.
2
2
  // original implementation.
3
3
 
4
- import Adw from '@girs/adw-1';
5
- import Gtk from '@girs/gtk-4.0';
6
- import GObject from '@girs/gobject-2.0';
4
+ import Adw from 'gi://Adw?version=1';
5
+ import Gtk from 'gi://Gtk?version=4.0';
6
+ import GObject from 'gi://GObject?version=2.0';
7
7
  import { type StoryArgs, type StoryMeta, type StoryModule, StoryWidget } from '@gjsify/storybook';
8
8
  import { spinRowMeta } from './spin-row.meta.js';
9
9
 
@@ -1,8 +1,8 @@
1
1
  // Adw.SwitchRow — a boxed-list row pairing a title/subtitle with a switch.
2
2
  // original implementation.
3
3
 
4
- import Adw from '@girs/adw-1';
5
- import GObject from '@girs/gobject-2.0';
4
+ import Adw from 'gi://Adw?version=1';
5
+ import GObject from 'gi://GObject?version=2.0';
6
6
  import { type StoryArgs, type StoryMeta, type StoryModule, StoryWidget } from '@gjsify/storybook';
7
7
  import { switchRowMeta } from './switch-row.meta.js';
8
8
 
@@ -1,8 +1,8 @@
1
1
  // Adw.Carousel — a swipeable pager paired with page indicators. original implementation.
2
2
 
3
- import Adw from '@girs/adw-1';
4
- import Gtk from '@girs/gtk-4.0';
5
- import GObject from '@girs/gobject-2.0';
3
+ import Adw from 'gi://Adw?version=1';
4
+ import Gtk from 'gi://Gtk?version=4.0';
5
+ import GObject from 'gi://GObject?version=2.0';
6
6
  import { type StoryArgs, type StoryMeta, type StoryModule, StoryWidget } from '@gjsify/storybook';
7
7
  import { carouselDotsMeta, carouselLinesMeta } from './carousel.meta.js';
8
8
 
@@ -1,9 +1,9 @@
1
1
  // Adw.InlineViewSwitcher — a compact, toolbar-friendly switcher for an Adw.ViewStack.
2
2
  // original implementation.
3
3
 
4
- import Adw from '@girs/adw-1';
5
- import Gtk from '@girs/gtk-4.0';
6
- import GObject from '@girs/gobject-2.0';
4
+ import Adw from 'gi://Adw?version=1';
5
+ import Gtk from 'gi://Gtk?version=4.0';
6
+ import GObject from 'gi://GObject?version=2.0';
7
7
  import { type StoryArgs, type StoryMeta, type StoryModule, StoryWidget } from '@gjsify/storybook';
8
8
  import { inlineViewSwitcherMeta } from './inline-view-switcher.meta.js';
9
9
 
@@ -1,8 +1,8 @@
1
1
  // Adw.TabView — a tabbed container with an Adw.TabBar header. original implementation.
2
2
 
3
- import Adw from '@girs/adw-1';
4
- import Gtk from '@girs/gtk-4.0';
5
- import GObject from '@girs/gobject-2.0';
3
+ import Adw from 'gi://Adw?version=1';
4
+ import Gtk from 'gi://Gtk?version=4.0';
5
+ import GObject from 'gi://GObject?version=2.0';
6
6
  import { type StoryArgs, type StoryMeta, type StoryModule, StoryWidget } from '@gjsify/storybook';
7
7
  import { tabViewMeta } from './tab-view.meta.js';
8
8
 
@@ -1,8 +1,8 @@
1
1
  // Adw.ViewSwitcherBar — the narrow-window switcher, pinned to the bottom.
2
2
  // original implementation.
3
3
 
4
- import Adw from '@girs/adw-1';
5
- import GObject from '@girs/gobject-2.0';
4
+ import Adw from 'gi://Adw?version=1';
5
+ import GObject from 'gi://GObject?version=2.0';
6
6
  import { type StoryArgs, type StoryMeta, type StoryModule, StoryWidget } from '@gjsify/storybook';
7
7
  import { VIEW_SWITCHER_BAR_PAGES, viewSwitcherBarMeta } from './view-switcher-bar.meta.js';
8
8
 
@@ -1,9 +1,9 @@
1
1
  // Adw.ViewSwitcher — a tab-style switcher driving an Adw.ViewStack of pages.
2
2
  // original implementation.
3
3
 
4
- import Adw from '@girs/adw-1';
5
- import Gtk from '@girs/gtk-4.0';
6
- import GObject from '@girs/gobject-2.0';
4
+ import Adw from 'gi://Adw?version=1';
5
+ import Gtk from 'gi://Gtk?version=4.0';
6
+ import GObject from 'gi://GObject?version=2.0';
7
7
  import { type StoryArgs, type StoryMeta, type StoryModule, StoryWidget } from '@gjsify/storybook';
8
8
  import { viewSwitcherMeta } from './view-switcher.meta.js';
9
9