@recursica/adapter-mantine-v8 1.1.0 → 1.2.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.
@@ -2535,21 +2535,29 @@ Ql.displayName = "Group";
2535
2535
  const Jl = "Heading-module__root___-To4U", ei = {
2536
2536
  root: Jl
2537
2537
  }, oi = _(
2538
- function({ overStyled: e = !1, order: t = 1, ...o }, n) {
2539
- const s = [
2538
+ function({
2539
+ overStyled: e = !1,
2540
+ order: t = 1,
2541
+ emphasis: o = "high",
2542
+ color: n = "default",
2543
+ ...s
2544
+ }, l) {
2545
+ const i = [
2540
2546
  "size"
2541
2547
  // Recursica controls Heading sizing via the `order` prop + typography tokens, not Mantine's native `size`.
2542
- ], l = V(
2543
- u(o, e),
2544
- s
2545
- ), i = l.className, d = [`recursica_brand_typography_h${t}`, ei.root, i].filter(Boolean).join(" ");
2548
+ ], c = V(
2549
+ u(s, e),
2550
+ i
2551
+ ), d = c.className, m = [`recursica_brand_typography_h${t}`, ei.root, d].filter(Boolean).join(" ");
2546
2552
  return /* @__PURE__ */ a(
2547
2553
  Va,
2548
2554
  {
2549
- ref: n,
2550
- ...l,
2555
+ ref: l,
2556
+ ...c,
2551
2557
  order: t,
2552
- className: d
2558
+ "data-color": n,
2559
+ "data-emphasis": o,
2560
+ className: m
2553
2561
  }
2554
2562
  );
2555
2563
  }
@@ -4571,14 +4579,22 @@ const ju = Object.assign(ha, {
4571
4579
  Panel: ba
4572
4580
  }), fd = "Text-module__root___rsBo7", yd = {
4573
4581
  root: fd
4574
- }, Ca = _(function({ overStyled: e = !1, variant: t = "body", ...o }, n) {
4575
- const s = u(o, e), l = s.className, c = [`recursica_brand_typography_${t}`, yd.root, l].filter(Boolean).join(" ");
4582
+ }, Ca = _(function({
4583
+ overStyled: e = !1,
4584
+ variant: t = "body",
4585
+ emphasis: o = "high",
4586
+ color: n = "default",
4587
+ ...s
4588
+ }, l) {
4589
+ const i = u(s, e), c = i.className, p = [`recursica_brand_typography_${t}`, yd.root, c].filter(Boolean).join(" ");
4576
4590
  return /* @__PURE__ */ a(
4577
4591
  Qa,
4578
4592
  {
4579
- ref: n,
4580
- ...s,
4581
- className: c
4593
+ ref: l,
4594
+ ...i,
4595
+ "data-color": n,
4596
+ "data-emphasis": o,
4597
+ className: p
4582
4598
  }
4583
4599
  );
4584
4600
  });