@trebired/frontend 13.31.0 → 13.32.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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 13.32.0
4
+
5
+ - The disclosure indicator's push to the end of its trigger is now the `--tbf-ui-disclosure-indicator-offset` token rather than a hard-coded `margin-inline-start: auto`, matching what 13.30.0 did for the header toggle. A site whose own rules forbid margins can set it to `0` and lay the trigger out itself.
6
+
3
7
  ## 13.31.0
4
8
 
5
9
  - Every popover trigger now draws its own disclosure arrow. It was left to each call site, so two triggers in the same header could disagree about whether they looked openable, and a site that forgot one had a control with no affordance at all. The chevron is a `::after` on `data-tbf-popover-trigger`, so it applies to any trigger however it was built, rotates on `aria-expanded`, and is sized by `--tbf-overlay-popover-trigger-indicator-size`.
@@ -40,7 +40,7 @@
40
40
  #{ns.element-class("disclosure", "indicator")} {
41
41
  display: inline-flex;
42
42
  flex: 0 0 auto;
43
- margin-inline-start: auto;
43
+ margin-inline-start: var(#{ns.css-var("ui-disclosure-indicator-offset")}, auto);
44
44
  font-size: 1.35em;
45
45
  color: var(#{ns.css-var("text-muted")}, currentColor);
46
46
  transition: transform var(#{ns.css-var("transition-fast")}, 120ms) ease;
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  }
9
9
  },
10
10
  "name": "@trebired/frontend",
11
- "version": "13.31.0",
11
+ "version": "13.32.0",
12
12
  "description": "Generic browser runtime systems for Trebired frontend packages and applications.",
13
13
  "type": "module",
14
14
  "private": false,