@arbidocs/react 0.3.161 → 0.3.163
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/dist/index.cjs +8 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +8 -23
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -1650,12 +1650,12 @@ declare function getTagTypeLabel(type?: string | null): string;
|
|
|
1650
1650
|
* ProjectEntity Component
|
|
1651
1651
|
*
|
|
1652
1652
|
* Fully-rounded pill for a "project" (a.k.a. a "matter" in some consumer apps).
|
|
1653
|
-
* The viewer's relationship to the project drives
|
|
1654
|
-
*
|
|
1655
|
-
* - your paid project → primary
|
|
1656
|
-
* - someone else's → secondary
|
|
1657
|
-
* - your free project → grey
|
|
1658
|
-
* "Common" keeps the neutral
|
|
1653
|
+
* The viewer's relationship to the project drives a TINTED (soft-fill) colour
|
|
1654
|
+
* so the kinds read at a glance without shouting:
|
|
1655
|
+
* - your paid project → primary tint
|
|
1656
|
+
* - someone else's → secondary tint
|
|
1657
|
+
* - your free project → grey tint
|
|
1658
|
+
* "Common" keeps the neutral muted pill.
|
|
1659
1659
|
*
|
|
1660
1660
|
* Promoted from the ARBI app and DECOUPLED: no store/stripe deps. The icon
|
|
1661
1661
|
* defaults to the `CreditCard` glyph and can be overridden via `icon`, and
|
package/dist/index.d.ts
CHANGED
|
@@ -1650,12 +1650,12 @@ declare function getTagTypeLabel(type?: string | null): string;
|
|
|
1650
1650
|
* ProjectEntity Component
|
|
1651
1651
|
*
|
|
1652
1652
|
* Fully-rounded pill for a "project" (a.k.a. a "matter" in some consumer apps).
|
|
1653
|
-
* The viewer's relationship to the project drives
|
|
1654
|
-
*
|
|
1655
|
-
* - your paid project → primary
|
|
1656
|
-
* - someone else's → secondary
|
|
1657
|
-
* - your free project → grey
|
|
1658
|
-
* "Common" keeps the neutral
|
|
1653
|
+
* The viewer's relationship to the project drives a TINTED (soft-fill) colour
|
|
1654
|
+
* so the kinds read at a glance without shouting:
|
|
1655
|
+
* - your paid project → primary tint
|
|
1656
|
+
* - someone else's → secondary tint
|
|
1657
|
+
* - your free project → grey tint
|
|
1658
|
+
* "Common" keeps the neutral muted pill.
|
|
1659
1659
|
*
|
|
1660
1660
|
* Promoted from the ARBI app and DECOUPLED: no store/stripe deps. The icon
|
|
1661
1661
|
* defaults to the `CreditCard` glyph and can be overridden via `icon`, and
|
package/dist/index.js
CHANGED
|
@@ -4356,16 +4356,16 @@ function DocumentEntity({
|
|
|
4356
4356
|
}
|
|
4357
4357
|
var VARIANT_STYLES = {
|
|
4358
4358
|
"mine-paid": {
|
|
4359
|
-
pill: "bg-primary text-primary
|
|
4360
|
-
icon: "text-primary
|
|
4359
|
+
pill: "bg-primary/10 text-primary border-border/60",
|
|
4360
|
+
icon: "text-primary"
|
|
4361
4361
|
},
|
|
4362
4362
|
other: {
|
|
4363
|
-
pill: "bg-secondary text-secondary
|
|
4364
|
-
icon: "text-secondary
|
|
4363
|
+
pill: "bg-secondary/10 text-secondary border-border/60",
|
|
4364
|
+
icon: "text-secondary"
|
|
4365
4365
|
},
|
|
4366
4366
|
"mine-free": {
|
|
4367
|
-
pill: "bg-muted-foreground text-
|
|
4368
|
-
icon: "text-
|
|
4367
|
+
pill: "bg-muted-foreground/10 text-muted-foreground border-border/60",
|
|
4368
|
+
icon: "text-muted-foreground"
|
|
4369
4369
|
},
|
|
4370
4370
|
common: {
|
|
4371
4371
|
pill: "",
|
|
@@ -4403,7 +4403,7 @@ function ProjectEntity({
|
|
|
4403
4403
|
icon: iconNode,
|
|
4404
4404
|
label: label ?? name,
|
|
4405
4405
|
size,
|
|
4406
|
-
shape: "
|
|
4406
|
+
shape: "rounded",
|
|
4407
4407
|
className: cn(pill, className),
|
|
4408
4408
|
onClick,
|
|
4409
4409
|
tooltipContent
|
|
@@ -5332,9 +5332,7 @@ function NotificationBell({
|
|
|
5332
5332
|
const markAllRead = useNotify((s) => s.markAllRead);
|
|
5333
5333
|
const markRead = useNotify((s) => s.markRead);
|
|
5334
5334
|
const tone = (v) => toneClassNames?.[v] ?? DEFAULT_NOTIFY_TONE[v];
|
|
5335
|
-
const
|
|
5336
|
-
const hasAmbient = notifications.some((n) => n.ambient);
|
|
5337
|
-
const visible = showAll ? notifications : notifications.filter((n) => !n.ambient);
|
|
5335
|
+
const visible = notifications.filter((n) => !n.ambient);
|
|
5338
5336
|
return /* @__PURE__ */ jsxs(DropdownMenu, { children: [
|
|
5339
5337
|
/* @__PURE__ */ jsx(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxs(
|
|
5340
5338
|
"button",
|
|
@@ -5367,19 +5365,6 @@ function NotificationBell({
|
|
|
5367
5365
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between gap-3 border-b border-border px-3.5 py-2.5", children: [
|
|
5368
5366
|
/* @__PURE__ */ jsx("p", { className: "text-sm font-semibold text-foreground", children: "Notifications" }),
|
|
5369
5367
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
5370
|
-
hasAmbient && /* @__PURE__ */ jsx(
|
|
5371
|
-
"button",
|
|
5372
|
-
{
|
|
5373
|
-
onClick: () => setShowAll((v) => !v),
|
|
5374
|
-
"aria-pressed": showAll,
|
|
5375
|
-
className: cn(
|
|
5376
|
-
"text-xs font-medium transition-colors",
|
|
5377
|
-
showAll ? "text-primary" : "text-muted-foreground hover:text-foreground"
|
|
5378
|
-
),
|
|
5379
|
-
"data-testid": `${testId}-all-activity`,
|
|
5380
|
-
children: "All activity"
|
|
5381
|
-
}
|
|
5382
|
-
),
|
|
5383
5368
|
unread > 0 && /* @__PURE__ */ jsxs(
|
|
5384
5369
|
"button",
|
|
5385
5370
|
{
|