@partrunner-ai/ui 2.5.0 → 2.5.1
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/DESIGN.md +4 -0
- package/dist/index.cjs +8 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/recipes/inbox.md +1 -0
- package/styles/light.css +23 -4
- package/styles/theme.css +23 -4
- package/styles/ui.css +23 -4
package/dist/index.js
CHANGED
|
@@ -7404,25 +7404,26 @@ var ItemRow = forwardRef(function ItemRow2({
|
|
|
7404
7404
|
...rest
|
|
7405
7405
|
}, ref) {
|
|
7406
7406
|
const content = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
7407
|
-
leading != null ? /* @__PURE__ */ jsxs("span", { className: "pr-item-row__leading", children: [
|
|
7407
|
+
leading != null ? /* @__PURE__ */ jsxs("span", { className: "pr-item-row__leading", "data-slot": "item-row-leading", children: [
|
|
7408
7408
|
leading,
|
|
7409
|
-
unread ? /* @__PURE__ */ jsx("span", { className: "pr-item-row__dot pr-item-row__dot--overlay", "aria-hidden": true }) : null
|
|
7409
|
+
unread ? /* @__PURE__ */ jsx("span", { className: "pr-item-row__dot pr-item-row__dot--overlay", "data-slot": "item-row-dot", "aria-hidden": true }) : null
|
|
7410
7410
|
] }) : null,
|
|
7411
7411
|
/* @__PURE__ */ jsxs("span", { className: "pr-item-row__body", children: [
|
|
7412
7412
|
/* @__PURE__ */ jsxs("span", { className: "pr-item-row__top", children: [
|
|
7413
|
-
unread && leading == null ? /* @__PURE__ */ jsx("span", { className: "pr-item-row__dot", "aria-hidden": true }) : null,
|
|
7414
|
-
/* @__PURE__ */ jsxs("span", { className: "pr-item-row__title", children: [
|
|
7413
|
+
unread && leading == null ? /* @__PURE__ */ jsx("span", { className: "pr-item-row__dot", "data-slot": "item-row-dot", "aria-hidden": true }) : null,
|
|
7414
|
+
/* @__PURE__ */ jsxs("span", { className: "pr-item-row__title", "data-slot": "item-row-title", children: [
|
|
7415
7415
|
unread ? /* @__PURE__ */ jsxs("span", { className: "pr-visually-hidden", children: [
|
|
7416
7416
|
unreadLabel,
|
|
7417
7417
|
", "
|
|
7418
7418
|
] }) : null,
|
|
7419
7419
|
title
|
|
7420
7420
|
] }),
|
|
7421
|
-
meta != null ? /* @__PURE__ */ jsx("span", { className: "pr-item-row__meta", children: meta }) : null
|
|
7421
|
+
meta != null ? /* @__PURE__ */ jsx("span", { className: "pr-item-row__meta", "data-slot": "item-row-meta", children: meta }) : null
|
|
7422
7422
|
] }),
|
|
7423
7423
|
description != null ? /* @__PURE__ */ jsx(
|
|
7424
7424
|
"span",
|
|
7425
7425
|
{
|
|
7426
|
+
"data-slot": "item-row-description",
|
|
7426
7427
|
className: [
|
|
7427
7428
|
"pr-item-row__description",
|
|
7428
7429
|
descriptionLines === 2 ? "pr-item-row__description--2" : null
|
|
@@ -7430,9 +7431,9 @@ var ItemRow = forwardRef(function ItemRow2({
|
|
|
7430
7431
|
children: description
|
|
7431
7432
|
}
|
|
7432
7433
|
) : null,
|
|
7433
|
-
footer != null ? /* @__PURE__ */ jsx("span", { className: "pr-item-row__footer", children: footer }) : null
|
|
7434
|
+
footer != null ? /* @__PURE__ */ jsx("span", { className: "pr-item-row__footer", "data-slot": "item-row-footer", children: footer }) : null
|
|
7434
7435
|
] }),
|
|
7435
|
-
trailing != null ? /* @__PURE__ */ jsx("span", { className: "pr-item-row__trailing", children: trailing }) : null
|
|
7436
|
+
trailing != null ? /* @__PURE__ */ jsx("span", { className: "pr-item-row__trailing", "data-slot": "item-row-trailing", children: trailing }) : null
|
|
7436
7437
|
] });
|
|
7437
7438
|
const mainClass = "pr-item-row__main";
|
|
7438
7439
|
const current = selected ? "true" : void 0;
|