@alfadocs/ui-kit-debug 1.3.6 → 1.3.7

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.
@@ -2247,19 +2247,30 @@ function xt({
2247
2247
  ]
2248
2248
  }
2249
2249
  ) : null,
2250
- T ? /* @__PURE__ */ t(
2251
- X,
2252
- {
2253
- ref: S,
2254
- id: v,
2255
- intent: E ? "primary" : "outline",
2256
- "data-testid": "anamnesis-compare-toggle",
2257
- "aria-pressed": E,
2258
- "aria-expanded": E,
2259
- "aria-controls": C,
2260
- onClick: () => R(($) => !$),
2261
- children: a(E ? "anamnesis.compare.stop" : "anamnesis.compare.start")
2262
- }
2250
+ T ? (
2251
+ // The picker beside it is a FormField — label, control, then
2252
+ // description. A bare button in an `items-start` row top-aligns
2253
+ // with that LABEL and reads as floating above the control it acts
2254
+ // on, so reserve one label line above it. Sized from the same type
2255
+ // token as the real label, so it tracks the accessible theme's
2256
+ // larger type instead of a hardcoded offset.
2257
+ /* @__PURE__ */ d("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
2258
+ /* @__PURE__ */ t("span", { "aria-hidden": "true", className: "type-label ds:invisible", children: " " }),
2259
+ /* @__PURE__ */ t(
2260
+ X,
2261
+ {
2262
+ ref: S,
2263
+ id: v,
2264
+ intent: E ? "primary" : "outline",
2265
+ "data-testid": "anamnesis-compare-toggle",
2266
+ "aria-pressed": E,
2267
+ "aria-expanded": E,
2268
+ "aria-controls": C,
2269
+ onClick: () => R(($) => !$),
2270
+ children: a(E ? "anamnesis.compare.stop" : "anamnesis.compare.start")
2271
+ }
2272
+ )
2273
+ ] })
2263
2274
  ) : null
2264
2275
  ]
2265
2276
  }
@@ -8859,4 +8870,4 @@ export {
8859
8870
  rl as r,
8860
8871
  il as s
8861
8872
  };
8862
- //# sourceMappingURL=anamnesis-i18n-DqRbWU2L.js.map
8873
+ //# sourceMappingURL=anamnesis-i18n-S0cCfFg9.js.map