@gjsify/adwaita-web 0.45.0 → 0.47.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 (110) hide show
  1. package/README.md +8 -6
  2. package/dist/adwaita-web.css +96 -96
  3. package/dist/adwaita-web.css.map +1 -1
  4. package/lib/types/elements/adw-entry-row.d.ts +2 -2
  5. package/lib/types/elements/adw-expander-row.d.ts +1 -1
  6. package/lib/types/elements/adw-split-button.d.ts +1 -1
  7. package/lib/types/elements/adw-switch-row.d.ts +1 -1
  8. package/lib/types/elements/adw-wrap-box.d.ts +1 -1
  9. package/lib/types/elements/{adw-checks.d.ts → checks.d.ts} +9 -2
  10. package/lib/types/elements/{adw-button.d.ts → gtk-button.d.ts} +1 -1
  11. package/lib/types/elements/{adw-drop-down.d.ts → gtk-drop-down.d.ts} +6 -6
  12. package/lib/types/elements/{adw-entry.d.ts → gtk-entry.d.ts} +1 -1
  13. package/lib/types/elements/{adw-icon.d.ts → gtk-image.d.ts} +2 -2
  14. package/lib/types/elements/{adw-menu-button.d.ts → gtk-menu-button.d.ts} +13 -4
  15. package/lib/types/elements/{adw-popover.d.ts → gtk-popover.d.ts} +9 -9
  16. package/lib/types/elements/{adw-progress-bar.d.ts → gtk-progress-bar.d.ts} +1 -1
  17. package/lib/types/elements/{adw-switch.d.ts → gtk-switch.d.ts} +2 -2
  18. package/lib/types/elements/view-switcher-dom.d.ts +4 -4
  19. package/lib/types/exported-elements.d.ts +10 -0
  20. package/lib/types/gtk-button.spec.d.ts +1 -0
  21. package/lib/types/gtk-drop-down.spec.d.ts +1 -0
  22. package/lib/types/gtk-entry.spec.d.ts +1 -0
  23. package/lib/types/gtk-image.spec.d.ts +1 -0
  24. package/lib/types/gtk-menu-button.spec.d.ts +1 -0
  25. package/lib/types/gtk-progress-bar.spec.d.ts +1 -0
  26. package/lib/types/gtk-switch.spec.d.ts +1 -0
  27. package/lib/types/icon-registry.d.ts +2 -2
  28. package/lib/types/index.d.ts +13 -51
  29. package/lib/types/namespace/adw.d.ts +44 -0
  30. package/lib/types/namespace/gtk.d.ts +9 -0
  31. package/lib/types/styles.generated.d.ts +1 -1
  32. package/package.json +6 -6
  33. package/scss/_about_dialog.scss +1 -1
  34. package/scss/_button.scss +4 -4
  35. package/scss/_checks.scss +6 -6
  36. package/scss/_drop_down.scss +3 -3
  37. package/scss/_entry.scss +3 -3
  38. package/scss/_expander_row.scss +1 -1
  39. package/scss/_icon.scss +4 -4
  40. package/scss/_menu_button.scss +3 -3
  41. package/scss/_popover.scss +2 -2
  42. package/scss/_progress_bar.scss +4 -4
  43. package/scss/_reset.scss +10 -8
  44. package/scss/_split_button.scss +1 -1
  45. package/scss/_style_classes.scss +9 -9
  46. package/scss/_switch.scss +2 -2
  47. package/scss/_switch_row.scss +1 -1
  48. package/scss/_toast.scss +1 -1
  49. package/scss/adwaita-skin.scss +2 -2
  50. package/src/adw-action-rows.spec.ts +2 -2
  51. package/src/adw-button-content.spec.ts +1 -1
  52. package/src/bottom-sheet.spec.ts +2 -2
  53. package/src/{adw-checks.spec.ts → checks.spec.ts} +11 -11
  54. package/src/chrome.spec.ts +2 -2
  55. package/src/connect-lifecycle.spec.ts +10 -7
  56. package/src/elements/adw-about-dialog.ts +6 -6
  57. package/src/elements/adw-avatar.ts +4 -4
  58. package/src/elements/adw-button-content.ts +6 -6
  59. package/src/elements/adw-button-row.ts +6 -6
  60. package/src/elements/adw-combo-row.ts +1 -1
  61. package/src/elements/adw-entry-row.ts +5 -5
  62. package/src/elements/adw-expander-row.ts +10 -10
  63. package/src/elements/adw-navigation-view.ts +1 -1
  64. package/src/elements/adw-password-entry-row.ts +3 -3
  65. package/src/elements/adw-sidebar.ts +4 -4
  66. package/src/elements/adw-split-button.ts +14 -14
  67. package/src/elements/adw-status-page.ts +4 -4
  68. package/src/elements/adw-switch-row.ts +8 -8
  69. package/src/elements/adw-tab-view.ts +7 -7
  70. package/src/elements/adw-toast-overlay.ts +2 -2
  71. package/src/elements/adw-toggle-group.ts +3 -3
  72. package/src/elements/adw-view-switcher-bar.ts +3 -3
  73. package/src/elements/adw-view-switcher.ts +3 -3
  74. package/src/elements/{adw-checks.ts → checks.ts} +13 -6
  75. package/src/elements/{adw-button.ts → gtk-button.ts} +6 -6
  76. package/src/elements/{adw-drop-down.ts → gtk-drop-down.ts} +18 -18
  77. package/src/elements/{adw-entry.ts → gtk-entry.ts} +4 -4
  78. package/src/elements/{adw-icon.ts → gtk-image.ts} +5 -5
  79. package/src/elements/{adw-menu-button.ts → gtk-menu-button.ts} +27 -18
  80. package/src/elements/{adw-popover.ts → gtk-popover.ts} +18 -18
  81. package/src/elements/{adw-progress-bar.ts → gtk-progress-bar.ts} +5 -5
  82. package/src/elements/{adw-switch.ts → gtk-switch.ts} +4 -4
  83. package/src/elements/view-switcher-dom.ts +5 -5
  84. package/src/exported-elements.ts +50 -0
  85. package/src/{adw-button.spec.ts → gtk-button.spec.ts} +6 -6
  86. package/src/{adw-drop-down.spec.ts → gtk-drop-down.spec.ts} +17 -17
  87. package/src/{adw-entry.spec.ts → gtk-entry.spec.ts} +8 -8
  88. package/src/{adw-icon.spec.ts → gtk-image.spec.ts} +21 -21
  89. package/src/{adw-menu-button.spec.ts → gtk-menu-button.spec.ts} +6 -6
  90. package/src/{adw-progress-bar.spec.ts → gtk-progress-bar.spec.ts} +12 -12
  91. package/src/{adw-switch.spec.ts → gtk-switch.spec.ts} +20 -20
  92. package/src/icon-registry.spec.ts +6 -6
  93. package/src/icon-registry.ts +6 -6
  94. package/src/index.ts +64 -63
  95. package/src/namespace/adw.ts +99 -0
  96. package/src/namespace/gtk.ts +22 -0
  97. package/src/preferences-search.ts +1 -1
  98. package/src/slotted-children.spec.ts +5 -3
  99. package/src/source-view/adw-source-view.ts +2 -2
  100. package/src/split-button.spec.ts +5 -5
  101. package/src/styles.generated.ts +1 -1
  102. package/src/test.browser.mts +15 -15
  103. package/lib/types/adw-button.spec.d.ts +0 -1
  104. package/lib/types/adw-drop-down.spec.d.ts +0 -1
  105. package/lib/types/adw-entry.spec.d.ts +0 -1
  106. package/lib/types/adw-icon.spec.d.ts +0 -1
  107. package/lib/types/adw-menu-button.spec.d.ts +0 -1
  108. package/lib/types/adw-progress-bar.spec.d.ts +0 -1
  109. package/lib/types/adw-switch.spec.d.ts +0 -1
  110. /package/lib/types/{adw-checks.spec.d.ts → checks.spec.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { EntryRowState, type EntryRowRenderState } from '@gjsify/adwaita-core';
2
- import { type AdwIcon } from './adw-icon.js';
2
+ import { type GtkImage } from './gtk-image.js';
3
3
  export declare class AdwEntryRow extends HTMLElement {
4
4
  /** The headless `update_empty` derivation + apply latch (ADR 0004). */
5
5
  protected readonly _state: EntryRowState;
@@ -10,7 +10,7 @@ export declare class AdwEntryRow extends HTMLElement {
10
10
  protected _title: HTMLSpanElement;
11
11
  /** The `editable-area` gizmo: both titles plus the input. */
12
12
  protected _area: HTMLDivElement;
13
- protected _editIcon: AdwIcon;
13
+ protected _editIcon: GtkImage;
14
14
  protected _indicator: HTMLSpanElement;
15
15
  protected _applyButton: HTMLButtonElement;
16
16
  protected _prefixes: HTMLDivElement;
@@ -1,4 +1,4 @@
1
- import './adw-switch.js';
1
+ import './gtk-switch.js';
2
2
  export declare class AdwExpanderRow extends HTMLElement {
3
3
  private _headerEl;
4
4
  private _titleEl;
@@ -1,5 +1,5 @@
1
1
  import type { AdwMenuEntry, SplitButtonDirection } from '@gjsify/adwaita-core';
2
- import './adw-popover.js';
2
+ import './gtk-popover.js';
3
3
  export declare class AdwSplitButton extends HTMLElement {
4
4
  private readonly _state;
5
5
  private _actionEl;
@@ -1,4 +1,4 @@
1
- import './adw-switch.js';
1
+ import './gtk-switch.js';
2
2
  export declare class AdwSwitchRow extends HTMLElement {
3
3
  private _switchEl;
4
4
  private _titleEl;
@@ -1,7 +1,7 @@
1
1
  import { type AdwLengthUnit } from '@gjsify/adwaita-core';
2
2
  export declare class AdwWrapBox extends HTMLElement {
3
3
  private _initialized;
4
- static get observedAttributes(): ("align" | "child-spacing" | "child-spacing-unit" | "pack-direction" | "justify" | "justify-last-line" | "line-spacing" | "line-spacing-unit" | "line-homogeneous" | "natural-line-length" | "natural-line-length-unit" | "wrap-reverse" | "wrap-policy" | "orientation")[];
4
+ static get observedAttributes(): ("orientation" | "align" | "child-spacing" | "child-spacing-unit" | "pack-direction" | "justify" | "justify-last-line" | "line-spacing" | "line-spacing-unit" | "line-homogeneous" | "natural-line-length" | "natural-line-length-unit" | "wrap-reverse" | "wrap-policy")[];
5
5
  /** Spacing between children on the same line, in `child-spacing-unit`. */
6
6
  get childSpacing(): number;
7
7
  set childSpacing(value: number);
@@ -1,4 +1,11 @@
1
- /** The markup + state shared by `<adw-checkbox>` and `<adw-radio>`. */
1
+ /**
2
+ * The markup + state shared by `<gtk-check-button>` and `<adw-radio>`.
3
+ *
4
+ * It keeps the `Adw` prefix while the element above it does not, and the split is the
5
+ * same one the stylesheet makes: this class builds `.adw-check-input`,
6
+ * `.adw-check-indicator` and `.adw-check-label`, which are the Adwaita SKIN, and the
7
+ * skin is not what the tag names. It is also not a widget — nothing registers it.
8
+ */
2
9
  declare abstract class AdwCheckBase extends HTMLElement {
3
10
  protected _input: HTMLInputElement;
4
11
  protected _indicator: HTMLSpanElement;
@@ -25,7 +32,7 @@ declare abstract class AdwCheckBase extends HTMLElement {
25
32
  protected render(): void;
26
33
  }
27
34
  /** The Adwaita checkbox — `checkbutton > check` as a custom element. */
28
- export declare class AdwCheckbox extends AdwCheckBase {
35
+ export declare class GtkCheckButton extends AdwCheckBase {
29
36
  static get observedAttributes(): string[];
30
37
  protected get inputType(): 'checkbox';
31
38
  protected activate(): void;
@@ -1,4 +1,4 @@
1
- export declare class AdwButton extends HTMLElement {
1
+ export declare class GtkButton extends HTMLElement {
2
2
  private _button;
3
3
  private _label;
4
4
  private _initialized;
@@ -1,12 +1,12 @@
1
- import './adw-popover.js';
1
+ import './gtk-popover.js';
2
2
  import type { AdwComboOption, AdwComboOptionInput } from '@gjsify/adwaita-core';
3
3
  /**
4
4
  * A dropdown option — `value` is the stable id, `label` the shown text. An alias of
5
5
  * core's {@link AdwComboOption}, since the drop-down and the combo row are the same
6
6
  * selection model behind two chromes; still exported so the published name keeps working.
7
7
  */
8
- export type AdwDropDownOption = AdwComboOption;
9
- export declare class AdwDropDown extends HTMLElement {
8
+ export type GtkDropDownOption = AdwComboOption;
9
+ export declare class GtkDropDown extends HTMLElement {
10
10
  private _buttonEl;
11
11
  private _labelEl;
12
12
  private _popoverEl;
@@ -20,9 +20,9 @@ export declare class AdwDropDown extends HTMLElement {
20
20
  private _typeAheadTimer;
21
21
  static get observedAttributes(): string[];
22
22
  /** The options list. Setting it rebuilds the popover and clamps the selection. */
23
- get options(): AdwDropDownOption[];
23
+ get options(): GtkDropDownOption[];
24
24
  set options(value: ReadonlyArray<AdwComboOptionInput>);
25
- get items(): AdwDropDownOption[];
25
+ get items(): GtkDropDownOption[];
26
26
  set items(value: ReadonlyArray<AdwComboOptionInput>);
27
27
  /** The selected index. Out-of-range values are ignored (Gtk.DropDown:selected). */
28
28
  get selected(): number;
@@ -30,7 +30,7 @@ export declare class AdwDropDown extends HTMLElement {
30
30
  /** The selected option's value, or '' when empty (Gtk.DropDown:selected-item). */
31
31
  get selectedValue(): string;
32
32
  set selectedValue(value: string);
33
- get selectedItem(): AdwDropDownOption | null;
33
+ get selectedItem(): GtkDropDownOption | null;
34
34
  get enableSearch(): boolean;
35
35
  set enableSearch(value: boolean);
36
36
  get active(): boolean;
@@ -1,4 +1,4 @@
1
- export declare class AdwEntry extends HTMLElement {
1
+ export declare class GtkEntry extends HTMLElement {
2
2
  private _input;
3
3
  private _initialized;
4
4
  private _maxLength;
@@ -10,7 +10,7 @@ export declare const MASK_CLASS_PREFIX = "adw-icon--";
10
10
  * returns for a name it cannot find.
11
11
  */
12
12
  export declare const MISSING_ICON_NAME = "image-missing";
13
- export declare class AdwIcon extends HTMLElement {
13
+ export declare class GtkImage extends HTMLElement {
14
14
  static get observedAttributes(): string[];
15
15
  /** The declared symbolic name, `-symbolic` suffix optional. */
16
16
  get iconName(): string;
@@ -36,4 +36,4 @@ export declare class AdwIcon extends HTMLElement {
36
36
  * Build one icon node. `extraClasses` are the caller's own positioning/context
37
37
  * classes, added alongside the managed `.adw-icon` + mask class, not replacing them.
38
38
  */
39
- export declare function createAdwIcon(iconName: string | null, ...extraClasses: string[]): AdwIcon;
39
+ export declare function createGtkImage(iconName: string | null, ...extraClasses: string[]): GtkImage;
@@ -1,15 +1,24 @@
1
1
  import type { AdwMenuEntry, SplitButtonDirection } from '@gjsify/adwaita-core';
2
- import './adw-popover.js';
2
+ import './gtk-popover.js';
3
3
  /**
4
- * A menu entry — `@gjsify/adwaita-core`'s {@link AdwMenuEntry}, re-exported under the
5
- * name this element has always used.
4
+ * A menu entry — `@gjsify/adwaita-core`'s {@link AdwMenuEntry} under the name both
5
+ * renderers export it as.
6
+ *
7
+ * IT KEEPS THE `Adw` PREFIX WHILE THE ELEMENT ABOVE IT DOES NOT, and the reason is not
8
+ * "the name it has always used" — ADR 0034 clause 1 just moved every name in this file
9
+ * that had one. It is that this is not a WIDGET name: clause 1 is about the tag, and
10
+ * this is the descriptor a consumer writes menu entries with. `@gjsify/adwaita-
11
+ * nativescript` exports `AdwMenuItem` for the same type, and that port deliberately
12
+ * keeps `Adw` throughout, so renaming this half would give one object two spellings —
13
+ * which is the thing the ADR is removing, not applying. (`GtkDropDownOption` next door
14
+ * DID move: its NativeScript twin exports no such name, so there was nothing to split.)
6
15
  *
7
16
  * It used to be a SECOND declaration of the same shape, and the NativeScript menu
8
17
  * button declared a THIRD that was missing `icon` entirely. One type, so a consumer
9
18
  * writing menu entries writes the same object for either renderer.
10
19
  */
11
20
  export type AdwMenuItem = AdwMenuEntry;
12
- export declare class AdwMenuButton extends HTMLElement {
21
+ export declare class GtkMenuButton extends HTMLElement {
13
22
  private _buttonEl;
14
23
  private _popoverEl;
15
24
  private _items;
@@ -1,10 +1,10 @@
1
1
  /** Which side of the anchor the surface sits on. */
2
- export type AdwPopoverPosition = 'bottom' | 'top' | 'start' | 'end';
2
+ export type GtkPopoverPosition = 'bottom' | 'top' | 'start' | 'end';
3
3
  /** Which edge of the anchor the surface lines up with. */
4
- export type AdwPopoverAlign = 'start' | 'end';
4
+ export type GtkPopoverAlign = 'start' | 'end';
5
5
  /** The ARIA role of the surface — it decides the row role consumers give their items. */
6
- export type AdwPopoverRole = 'menu' | 'listbox';
7
- export declare class AdwPopover extends HTMLElement {
6
+ export type GtkPopoverRole = 'menu' | 'listbox';
7
+ export declare class GtkPopover extends HTMLElement {
8
8
  private readonly _state;
9
9
  private _anchor;
10
10
  private _initialized;
@@ -21,11 +21,11 @@ export declare class AdwPopover extends HTMLElement {
21
21
  */
22
22
  get anchor(): HTMLElement | null;
23
23
  set anchor(value: HTMLElement | null);
24
- get position(): AdwPopoverPosition;
25
- set position(value: AdwPopoverPosition);
26
- get align(): AdwPopoverAlign;
27
- set align(value: AdwPopoverAlign);
28
- get popoverRole(): AdwPopoverRole;
24
+ get position(): GtkPopoverPosition;
25
+ set position(value: GtkPopoverPosition);
26
+ get align(): GtkPopoverAlign;
27
+ set align(value: GtkPopoverAlign);
28
+ get popoverRole(): GtkPopoverRole;
29
29
  /** The navigable rows, in DOM order. Hidden rows are skipped — a filtered list navigates what it shows. */
30
30
  get items(): HTMLElement[];
31
31
  /** Show the popover — `gtk_popover_popup()`. */
@@ -1,4 +1,4 @@
1
- export declare class AdwProgressBar extends HTMLElement {
1
+ export declare class GtkProgressBar extends HTMLElement {
2
2
  private _trough;
3
3
  private _progress;
4
4
  private _text;
@@ -1,4 +1,4 @@
1
- export declare class AdwSwitch extends HTMLElement {
1
+ export declare class GtkSwitch extends HTMLElement {
2
2
  private _input;
3
3
  private _slider;
4
4
  private _initialized;
@@ -9,7 +9,7 @@ export declare class AdwSwitch extends HTMLElement {
9
9
  * `adw_switch_row_init` does `gtk_widget_set_can_focus (self->slider, FALSE)`
10
10
  * (adw-switch-row.c:159) and makes the ROW activatable instead, so a switch row is ONE
11
11
  * tab stop announced as its own title — not a bare checkbox followed by a label that
12
- * cannot be reached. A standalone `<adw-switch>` keeps its checkbox focusable.
12
+ * cannot be reached. A standalone `<gtk-switch>` keeps its checkbox focusable.
13
13
  */
14
14
  get unfocusable(): boolean;
15
15
  set unfocusable(value: boolean);
@@ -1,5 +1,5 @@
1
1
  import type { AdwViewSwitcherPageInit, ViewSwitcherScheduler } from '@gjsify/adwaita-core';
2
- import { type AdwIcon } from './adw-icon.js';
2
+ import { type GtkImage } from './gtk-image.js';
3
3
  /**
4
4
  * The browser's timer behind the core's scheduler seam. One shared instance rather than
5
5
  * one per element: it holds no state, and the seam exists so the CORE stays free of a
@@ -11,13 +11,13 @@ export declare const domViewSwitcherScheduler: ViewSwitcherScheduler;
11
11
  *
12
12
  * The core resolves NULL/empty to `image-missing` (which the stylesheet carries
13
13
  * a real glyph for); the `-symbolic` strip and the CSS-token guard are
14
- * `normalizeIconName`'s, applied by `<adw-icon>` — that strip is this package's
14
+ * `normalizeIconName`'s, applied by `<gtk-image>` — that strip is this package's
15
15
  * own mask-class convention and has no counterpart in C, where the name reaches
16
16
  * `GtkImage` untouched.
17
17
  */
18
- export declare function createSwitcherIcon(iconName: string, extra: string): AdwIcon;
18
+ export declare function createSwitcherIcon(iconName: string, extra: string): GtkImage;
19
19
  /** Repaint an existing switcher icon from a page's declared name. */
20
- export declare function applySwitcherIcon(icon: AdwIcon, iconName: string): void;
20
+ export declare function applySwitcherIcon(icon: GtkImage, iconName: string): void;
21
21
  /**
22
22
  * Read a declared page element into the core's page init.
23
23
  *
@@ -0,0 +1,10 @@
1
+ /**
2
+ * The element classes reachable from `barrel`, de-duplicated.
3
+ *
4
+ * De-duplicated because a class can arrive twice: `Adw.CheckBox`-style aliasing is not
5
+ * used today, but a widget that is both a namespace member and a flat web-only export
6
+ * would otherwise be driven twice and counted twice in the floors below the callers.
7
+ *
8
+ * @param barrel the module namespace of `index.ts` (`import * as adwaitaWeb`)
9
+ */
10
+ export declare function exportedElementClasses(barrel: Record<string, unknown>): CustomElementConstructor[];
@@ -0,0 +1 @@
1
+ export declare const GtkButtonTest: () => Promise<void>;
@@ -0,0 +1 @@
1
+ export declare const GtkDropDownTest: () => Promise<void>;
@@ -0,0 +1 @@
1
+ export declare const GtkEntryTest: () => Promise<void>;
@@ -0,0 +1 @@
1
+ export declare const GtkImageTest: () => Promise<void>;
@@ -0,0 +1 @@
1
+ export declare const GtkMenuButtonTest: () => Promise<void>;
@@ -0,0 +1 @@
1
+ export declare const GtkProgressBarTest: () => Promise<void>;
@@ -0,0 +1 @@
1
+ export declare const GtkSwitchTest: () => Promise<void>;
@@ -5,8 +5,8 @@
5
5
  * BOTH arguments are checked and a wrong one THROWS rather than registering nothing: unlike
6
6
  * a render, this is an explicit call with a wrong argument, and silently doing nothing is
7
7
  * the failure mode this whole area exists to end. The name is normalized exactly as
8
- * `<adw-icon icon-name>` normalizes it — a single `-symbolic` suffix comes off, and the rest
9
- * must be one CSS token; the SVG has to parse to an `<svg>` root. `<adw-icon>` draws
8
+ * `<gtk-image icon-name>` normalizes it — a single `-symbolic` suffix comes off, and the rest
9
+ * must be one CSS token; the SVG has to parse to an `<svg>` root. `<gtk-image>` draws
10
10
  * `image-missing` for the same unusable name instead — there it came from markup, and
11
11
  * taking the page down over a typo is not proportionate.
12
12
  *
@@ -4,59 +4,21 @@ export type { ApplyAccentOptions } from './accent.js';
4
4
  export { AdwScrollShading } from './scroll-shading.js';
5
5
  export type { AdwUndershootEdges } from './scroll-shading.js';
6
6
  export { isIconAvailable, registerIcon } from './icon-registry.js';
7
- export { AdwAvatar } from './elements/adw-avatar.js';
8
- export { AdwBanner } from './elements/adw-banner.js';
7
+ export * as Adw from './namespace/adw.js';
8
+ export * as Gtk from './namespace/gtk.js';
9
9
  export { AdwCard } from './elements/adw-card.js';
10
10
  export { AdwDataGrid } from './elements/adw-data-grid.js';
11
11
  export type { AdwDataGridAlign, AdwDataGridColumn, AdwDataGridRow, AdwDataGridRowVariant, } from './elements/adw-data-grid.js';
12
- export { AdwClamp } from './elements/adw-clamp.js';
13
- export { AdwSpinner } from './elements/adw-spinner.js';
14
- export { AdwStatusPage } from './elements/adw-status-page.js';
15
- export { AdwWindow } from './elements/adw-window.js';
16
- export { AdwHeaderBar } from './elements/adw-header-bar.js';
17
- export { AdwWindowTitle } from './elements/adw-window-title.js';
18
- export { AdwButton } from './elements/adw-button.js';
19
- export { AdwButtonContent } from './elements/adw-button-content.js';
20
- export { AdwIcon, createAdwIcon } from './elements/adw-icon.js';
21
- export { AdwSwitch } from './elements/adw-switch.js';
22
- export { AdwCheckbox, AdwRadio } from './elements/adw-checks.js';
23
- export { AdwProgressBar } from './elements/adw-progress-bar.js';
24
- export { AdwShortcutLabel } from './elements/adw-shortcut-label.js';
25
- export { AdwPopover } from './elements/adw-popover.js';
26
- export type { AdwPopoverAlign, AdwPopoverPosition, AdwPopoverRole } from './elements/adw-popover.js';
27
- export { AdwSplitButton } from './elements/adw-split-button.js';
28
- export { AdwToggle, AdwToggleGroup } from './elements/adw-toggle-group.js';
29
- export { AdwEntry } from './elements/adw-entry.js';
30
- export { AdwPreferencesGroup } from './elements/adw-preferences-group.js';
31
- export { AdwActionRow } from './elements/adw-action-row.js';
32
- export { AdwEntryRow } from './elements/adw-entry-row.js';
33
- export { AdwSwitchRow } from './elements/adw-switch-row.js';
34
- export { AdwComboRow } from './elements/adw-combo-row.js';
35
- export { AdwSpinRow } from './elements/adw-spin-row.js';
36
- export { AdwButtonRow } from './elements/adw-button-row.js';
37
- export { AdwExpanderRow } from './elements/adw-expander-row.js';
38
- export { AdwPasswordEntryRow } from './elements/adw-password-entry-row.js';
39
- export { AdwToastOverlay } from './elements/adw-toast-overlay.js';
40
- export { AdwToolbarView } from './elements/adw-toolbar-view.js';
41
- export { AdwWrapBox } from './elements/adw-wrap-box.js';
42
- export { AdwOverlaySplitView } from './elements/adw-overlay-split-view.js';
43
- export { AdwNavigationSplitView } from './elements/adw-navigation-split-view.js';
44
- export { AdwCarousel, AdwCarouselIndicatorDots, AdwCarouselIndicatorLines } from './elements/adw-carousel.js';
45
- export { AdwTabPage, AdwTabView } from './elements/adw-tab-view.js';
46
- export { AdwViewSwitcher, AdwViewSwitcherPage } from './elements/adw-view-switcher.js';
47
- export { AdwInlineViewSwitcher, AdwViewStackPage } from './elements/adw-inline-view-switcher.js';
48
- export { AdwViewStack } from './elements/adw-view-stack.js';
12
+ export { createGtkImage } from './elements/gtk-image.js';
13
+ export { AdwRadio } from './elements/checks.js';
14
+ export { AdwTabPage } from './elements/adw-tab-view.js';
15
+ export { AdwViewSwitcherPage } from './elements/adw-view-switcher.js';
16
+ export { AdwViewStackPage } from './elements/adw-inline-view-switcher.js';
17
+ export { AdwSidebarItem, AdwSidebarSection } from './elements/adw-sidebar.js';
18
+ export { AdwBottomSheetContent, AdwBottomSheetSheet } from './elements/adw-bottom-sheet.js';
19
+ export { AdwAlertResponse } from './elements/adw-alert-dialog.js';
20
+ export type { GtkPopoverAlign, GtkPopoverPosition, GtkPopoverRole } from './elements/gtk-popover.js';
49
21
  export type { AdwViewStackPageInfo } from './elements/adw-view-stack.js';
50
- export { AdwViewSwitcherBar } from './elements/adw-view-switcher-bar.js';
51
- export { AdwMenuButton } from './elements/adw-menu-button.js';
52
- export type { AdwMenuItem } from './elements/adw-menu-button.js';
53
- export { AdwDropDown } from './elements/adw-drop-down.js';
54
- export type { AdwDropDownOption } from './elements/adw-drop-down.js';
55
- export { AdwNavigationPage, AdwNavigationView } from './elements/adw-navigation-view.js';
56
- export { AdwBottomSheet, AdwBottomSheetContent, AdwBottomSheetSheet } from './elements/adw-bottom-sheet.js';
57
- export { AdwSidebar, AdwSidebarItem, AdwSidebarSection } from './elements/adw-sidebar.js';
58
- export { AdwAboutDialog } from './elements/adw-about-dialog.js';
59
- export { AdwAlertDialog, AdwAlertResponse } from './elements/adw-alert-dialog.js';
60
- export { AdwPreferencesDialog, AdwPreferencesPage } from './elements/adw-preferences-dialog.js';
61
- export { AdwDialog } from './elements/adw-dialog.js';
22
+ export type { AdwMenuItem } from './elements/gtk-menu-button.js';
23
+ export type { GtkDropDownOption } from './elements/gtk-drop-down.js';
62
24
  export type { AdwDialogPresentationMode } from './elements/adw-dialog.js';
@@ -0,0 +1,44 @@
1
+ export { AdwAboutDialog as AboutDialog } from '../elements/adw-about-dialog.js';
2
+ export { AdwActionRow as ActionRow } from '../elements/adw-action-row.js';
3
+ export { AdwAlertDialog as AlertDialog } from '../elements/adw-alert-dialog.js';
4
+ export { AdwAvatar as Avatar } from '../elements/adw-avatar.js';
5
+ export { AdwBanner as Banner } from '../elements/adw-banner.js';
6
+ export { AdwBottomSheet as BottomSheet } from '../elements/adw-bottom-sheet.js';
7
+ export { AdwButtonContent as ButtonContent } from '../elements/adw-button-content.js';
8
+ export { AdwButtonRow as ButtonRow } from '../elements/adw-button-row.js';
9
+ export { AdwCarousel as Carousel } from '../elements/adw-carousel.js';
10
+ export { AdwCarouselIndicatorDots as CarouselIndicatorDots } from '../elements/adw-carousel.js';
11
+ export { AdwCarouselIndicatorLines as CarouselIndicatorLines } from '../elements/adw-carousel.js';
12
+ export { AdwClamp as Clamp } from '../elements/adw-clamp.js';
13
+ export { AdwComboRow as ComboRow } from '../elements/adw-combo-row.js';
14
+ export { AdwDialog as Dialog } from '../elements/adw-dialog.js';
15
+ export { AdwEntryRow as EntryRow } from '../elements/adw-entry-row.js';
16
+ export { AdwExpanderRow as ExpanderRow } from '../elements/adw-expander-row.js';
17
+ export { AdwHeaderBar as HeaderBar } from '../elements/adw-header-bar.js';
18
+ export { AdwInlineViewSwitcher as InlineViewSwitcher } from '../elements/adw-inline-view-switcher.js';
19
+ export { AdwNavigationPage as NavigationPage } from '../elements/adw-navigation-view.js';
20
+ export { AdwNavigationSplitView as NavigationSplitView } from '../elements/adw-navigation-split-view.js';
21
+ export { AdwNavigationView as NavigationView } from '../elements/adw-navigation-view.js';
22
+ export { AdwOverlaySplitView as OverlaySplitView } from '../elements/adw-overlay-split-view.js';
23
+ export { AdwPasswordEntryRow as PasswordEntryRow } from '../elements/adw-password-entry-row.js';
24
+ export { AdwPreferencesDialog as PreferencesDialog } from '../elements/adw-preferences-dialog.js';
25
+ export { AdwPreferencesGroup as PreferencesGroup } from '../elements/adw-preferences-group.js';
26
+ export { AdwPreferencesPage as PreferencesPage } from '../elements/adw-preferences-dialog.js';
27
+ export { AdwShortcutLabel as ShortcutLabel } from '../elements/adw-shortcut-label.js';
28
+ export { AdwSidebar as Sidebar } from '../elements/adw-sidebar.js';
29
+ export { AdwSpinRow as SpinRow } from '../elements/adw-spin-row.js';
30
+ export { AdwSpinner as Spinner } from '../elements/adw-spinner.js';
31
+ export { AdwSplitButton as SplitButton } from '../elements/adw-split-button.js';
32
+ export { AdwStatusPage as StatusPage } from '../elements/adw-status-page.js';
33
+ export { AdwSwitchRow as SwitchRow } from '../elements/adw-switch-row.js';
34
+ export { AdwTabView as TabView } from '../elements/adw-tab-view.js';
35
+ export { AdwToastOverlay as ToastOverlay } from '../elements/adw-toast-overlay.js';
36
+ export { AdwToggle as Toggle } from '../elements/adw-toggle-group.js';
37
+ export { AdwToggleGroup as ToggleGroup } from '../elements/adw-toggle-group.js';
38
+ export { AdwToolbarView as ToolbarView } from '../elements/adw-toolbar-view.js';
39
+ export { AdwViewStack as ViewStack } from '../elements/adw-view-stack.js';
40
+ export { AdwViewSwitcher as ViewSwitcher } from '../elements/adw-view-switcher.js';
41
+ export { AdwViewSwitcherBar as ViewSwitcherBar } from '../elements/adw-view-switcher-bar.js';
42
+ export { AdwWindow as Window } from '../elements/adw-window.js';
43
+ export { AdwWindowTitle as WindowTitle } from '../elements/adw-window-title.js';
44
+ export { AdwWrapBox as WrapBox } from '../elements/adw-wrap-box.js';
@@ -0,0 +1,9 @@
1
+ export { GtkButton as Button } from '../elements/gtk-button.js';
2
+ export { GtkCheckButton as CheckButton } from '../elements/checks.js';
3
+ export { GtkDropDown as DropDown } from '../elements/gtk-drop-down.js';
4
+ export { GtkEntry as Entry } from '../elements/gtk-entry.js';
5
+ export { GtkImage as Image } from '../elements/gtk-image.js';
6
+ export { GtkMenuButton as MenuButton } from '../elements/gtk-menu-button.js';
7
+ export { GtkPopover as Popover } from '../elements/gtk-popover.js';
8
+ export { GtkProgressBar as ProgressBar } from '../elements/gtk-progress-bar.js';
9
+ export { GtkSwitch as Switch } from '../elements/gtk-switch.js';