@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.
- package/CHANGELOG.md +7 -0
- package/dist/adapter-mantine-v8.cjs +1 -1
- package/dist/adapter-mantine-v8.cjs.map +1 -1
- package/dist/adapter-mantine-v8.css +1 -1
- package/dist/adapter-mantine-v8.js +30 -14
- package/dist/adapter-mantine-v8.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/package.json +2 -2
- package/src/components/Button/Button.stories.tsx +1 -5
- package/src/components/Card/Card.stories.tsx +29 -85
- package/src/components/FormControlLayout/FormControlLayout.module.css +6 -3
- package/src/components/Heading/Heading.module.css +39 -0
- package/src/components/Heading/Heading.stories.tsx +62 -0
- package/src/components/Heading/Heading.tsx +16 -2
- package/src/components/Heading/USAGE.md +19 -1
- package/src/components/Text/Text.module.css +39 -0
- package/src/components/Text/Text.stories.tsx +52 -3
- package/src/components/Text/Text.tsx +14 -2
- package/src/components/Text/USAGE.md +20 -2
|
@@ -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({
|
|
2539
|
-
|
|
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
|
-
],
|
|
2543
|
-
u(
|
|
2544
|
-
|
|
2545
|
-
),
|
|
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:
|
|
2550
|
-
...
|
|
2555
|
+
ref: l,
|
|
2556
|
+
...c,
|
|
2551
2557
|
order: t,
|
|
2552
|
-
|
|
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({
|
|
4575
|
-
|
|
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:
|
|
4580
|
-
...
|
|
4581
|
-
|
|
4593
|
+
ref: l,
|
|
4594
|
+
...i,
|
|
4595
|
+
"data-color": n,
|
|
4596
|
+
"data-emphasis": o,
|
|
4597
|
+
className: p
|
|
4582
4598
|
}
|
|
4583
4599
|
);
|
|
4584
4600
|
});
|