@gjsify/adwaita-web 0.47.0 → 0.48.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 CHANGED
@@ -93,8 +93,8 @@ same state machines, so a behaviour fix lands once and both ports pick it up.
93
93
  | Element | Core state machine | What core owns |
94
94
  | --- | --- | --- |
95
95
  | `<adw-toast-overlay>` | `AdwToastQueue` + `AdwToast` | one toast at a time, FIFO ordering, auto-dismiss lifecycle |
96
- | `<adw-combo-row>` | `ComboState` | options list, index↔value mapping, out-of-range guards, programmatic-vs-user split |
97
- | `<adw-spin-row>` | `SpinState` | value/min/max/step with clamping on every mutation |
96
+ | `<adw-combo-row>` | `ComboState` | the list model + its `items-changed` splice, index↔value mapping, out-of-range guards, programmatic-vs-user split |
97
+ | `<adw-spin-row>` | `SpinState` | one `adjustment` (`Gtk.Adjustment`'s six numbers, ADR 0047) plus `value`, clamping on every mutation |
98
98
  | `<adw-toggle-group>` | `ToggleGroupState` | segment list, guarded active index |
99
99
  | `<adw-expander-row>` | `ExpanderState` | expanded/collapsed disclosure |
100
100
  | `<adw-alert-dialog>` | `AdwAlertResponses` | response registry, default/close response, resolve-to-chosen-id |
@@ -221,7 +221,7 @@ knowing which one you are on:
221
221
  | Renderer | How a name resolves | An unknown name |
222
222
  | --- | --- | --- |
223
223
  | GTK (`@gjsify/adwaita-app`) | `GtkIconTheme` looks it up in the **system** icon theme at runtime | draws the theme's `image-missing` |
224
- | NativeScript (`@gjsify/adwaita-nativescript`) | `AdwIcon` is handed the **SVG source**, not a name | cannot happen — a missing icon is a missing import |
224
+ | NativeScript (`@gjsify/adwaita-nativescript`) | `GtkImage` is handed the **SVG source**, not a name | cannot happen — a missing icon is a missing import |
225
225
  | Web (this package) | a **compile-time** subset, plus `registerIcon` | draws `image-missing` |
226
226
 
227
227
  All three therefore end on ONE glyph for a name they cannot draw. The web reaches it by two
@@ -1636,6 +1636,68 @@ gtk-popover[data-position=bottom][data-align=end], gtk-popover[data-position=top
1636
1636
  opacity: var(--dim-opacity);
1637
1637
  }
1638
1638
 
1639
+ .adw-popover-separator {
1640
+ height: 1px;
1641
+ margin: 6px 0;
1642
+ background-color: var(--separator-color, rgba(0, 0, 0, 0.15));
1643
+ }
1644
+
1645
+ .adw-popover-section-title {
1646
+ padding-top: 2px;
1647
+ }
1648
+
1649
+ .adw-popover-item-accel {
1650
+ margin-inline-start: auto;
1651
+ padding-inline-start: 12px;
1652
+ opacity: var(--dim-opacity);
1653
+ font-size: 0.9em;
1654
+ }
1655
+
1656
+ .adw-popover-item-check {
1657
+ position: relative;
1658
+ box-sizing: border-box;
1659
+ flex: none;
1660
+ width: 14px;
1661
+ height: 14px;
1662
+ padding: 2px;
1663
+ }
1664
+ [aria-checked=true] > .adw-popover-item-check::after {
1665
+ content: "";
1666
+ position: absolute;
1667
+ inset-inline-start: 4px;
1668
+ top: 1px;
1669
+ width: 4px;
1670
+ height: 8px;
1671
+ border: solid currentcolor;
1672
+ border-width: 0 2px 2px 0;
1673
+ transform: rotate(45deg);
1674
+ }
1675
+ .adw-popover-item-check.radio {
1676
+ border-radius: 9999px;
1677
+ }
1678
+ [aria-checked=true] > .adw-popover-item-check.radio::after {
1679
+ inset-inline-start: 4px;
1680
+ top: 4px;
1681
+ width: 6px;
1682
+ height: 6px;
1683
+ border: none;
1684
+ border-radius: 9999px;
1685
+ background-color: currentcolor;
1686
+ transform: none;
1687
+ }
1688
+
1689
+ .adw-popover-item-arrow {
1690
+ margin-inline-start: auto;
1691
+ width: 16px;
1692
+ height: 16px;
1693
+ flex: none;
1694
+ opacity: var(--dim-opacity);
1695
+ }
1696
+
1697
+ .adw-popover-back {
1698
+ font-weight: 700;
1699
+ }
1700
+
1639
1701
  .adw-split-button {
1640
1702
  position: relative;
1641
1703
  box-sizing: border-box;