@ai-matrx/associations 0.13.23 → 0.13.26
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 +23 -4
- package/dist/{CommentThread-oaeNU_5g.d.cts → CommentThread-CRR3jLBl.d.cts} +10 -8
- package/dist/{CommentThread-oaeNU_5g.d.ts → CommentThread-CRR3jLBl.d.ts} +10 -8
- package/dist/core/index.d.cts +1 -1
- package/dist/core/index.d.ts +1 -1
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/{ports-D2Im-Tjl.d.cts → ports-vvtD75Sp.d.cts} +1 -1
- package/dist/{ports-D2Im-Tjl.d.ts → ports-vvtD75Sp.d.ts} +1 -1
- package/dist/react/index.cjs +35 -19
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +2 -2
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +35 -19
- package/dist/react/index.js.map +1 -1
- package/dist/react/lazy/index.d.cts +1 -1
- package/dist/react/lazy/index.d.ts +1 -1
- package/package.json +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog — @ai-matrx/associations
|
|
2
2
|
|
|
3
|
+
## 0.13.26
|
|
4
|
+
|
|
5
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
6
|
+
`git diff npm/associations/v0.13.25..npm/associations/v0.13.26 -- apps/shared/associations`).
|
|
7
|
+
No source changes intended and no consumer action required.
|
|
8
|
+
|
|
9
|
+
## 0.13.25
|
|
10
|
+
|
|
11
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
12
|
+
`git diff npm/associations/v0.13.23..npm/associations/v0.13.25 -- apps/shared/associations`).
|
|
13
|
+
No source changes intended and no consumer action required.
|
|
14
|
+
|
|
15
|
+
## 0.13.24
|
|
16
|
+
|
|
17
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
18
|
+
`git diff npm/associations/v0.13.23..npm/associations/v0.13.24 -- apps/shared/associations`).
|
|
19
|
+
No source changes intended and no consumer action required.
|
|
20
|
+
|
|
3
21
|
## 0.13.23
|
|
4
22
|
|
|
5
23
|
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
@@ -13,10 +31,11 @@ No source changes intended and no consumer action required.
|
|
|
13
31
|
`AssociationCard` again draw the colored group dot, the one-line group description, the colored
|
|
14
32
|
top bar, the tinted icon chip, the "N attached" line and the square "+" — undoing the 2026-09-27
|
|
15
33
|
page-pass restyle (0b7ed5ee91, ab22ca7f10, 8ab54b828c). The 12px count line (6fb9d79138) stays.
|
|
16
|
-
- New opt-in `look?: "tiles" | "simplified"` on both (default `"tiles"
|
|
17
|
-
one
|
|
18
|
-
|
|
19
|
-
|
|
34
|
+
- New opt-in `look?: "tiles" | "simplified" | "compact"` on both (default `"tiles"`, used
|
|
35
|
+
everywhere). `"simplified"`: one uppercase line with the classic square "+". `"compact"`: one
|
|
36
|
+
line with the real `PlusTapButton variant="outline"` from `@ai-matrx/tap-target` (new
|
|
37
|
+
dependency) — no glass, no padding around it. The CRM record uses `"compact"`.
|
|
38
|
+
Consumer action: none (hosts already load `@ai-matrx/tap-target/styles.css`).
|
|
20
39
|
- Root now exports `isRegisteredPair(source, target)` and `registeredEdgeLabel(source, target)`
|
|
21
40
|
from the generated association registry, so a host decides an edge's direction from the package
|
|
22
41
|
instead of reading `platform.association_types` itself (A3-F, the Source input's file filing).
|
|
@@ -684,7 +684,7 @@ interface AssociationsConfig {
|
|
|
684
684
|
authorDisplay?: AuthorDisplayPort;
|
|
685
685
|
}
|
|
686
686
|
|
|
687
|
-
declare const ASSOCIATION_TARGET_TYPES: readonly ["organization", "scope", "scope_type", "project", "task", "context_item", "thread", "war_room", "category", "conversation", "fc_set", "fc_card", "study_media", "assessment", "note", "file", "quiz_session", "agent", "agent_term_list", "research_tag", "skill", "surface", "plan_entity", "plan_node", "web_site", "seo_topic", "seo_keyword", "web_page", "web_screenshot", "party", "crm_outreach_list", "crm_deal", "rulebook", "research_topic", "media_source_library"];
|
|
687
|
+
declare const ASSOCIATION_TARGET_TYPES: readonly ["organization", "scope", "scope_type", "project", "task", "context_item", "thread", "war_room", "category", "conversation", "fc_set", "fc_card", "study_media", "assessment", "note", "file", "processed_document", "quiz_session", "agent", "agent_term_list", "research_tag", "skill", "surface", "plan_entity", "plan_node", "web_site", "seo_topic", "seo_keyword", "web_page", "web_screenshot", "party", "crm_outreach_list", "crm_deal", "rulebook", "research_topic", "media_source_library"];
|
|
688
688
|
type AssociationTargetType = (typeof ASSOCIATION_TARGET_TYPES)[number];
|
|
689
689
|
interface AssociationEdge {
|
|
690
690
|
id: string;
|
|
@@ -1697,14 +1697,15 @@ interface AssociationCardProps {
|
|
|
1697
1697
|
/** Override the page's primary entity. Defaults to PrimaryEntityProvider. */
|
|
1698
1698
|
container?: PrimaryEntity;
|
|
1699
1699
|
/**
|
|
1700
|
-
* "tiles" (default): the tinted icon chip, role-colored top bar,
|
|
1701
|
-
* line and square "+".
|
|
1702
|
-
*
|
|
1700
|
+
* "tiles" (default, everywhere): the tinted icon chip, role-colored top bar,
|
|
1701
|
+
* "N attached" line and square "+". Opt-in one-line looks for pages that do
|
|
1702
|
+
* not want the full card: "simplified" (square "+") and "compact" (the
|
|
1703
|
+
* outline PlusTapButton — the CRM record's look).
|
|
1703
1704
|
*/
|
|
1704
1705
|
look?: AssociationCardLook;
|
|
1705
1706
|
className?: string;
|
|
1706
1707
|
}
|
|
1707
|
-
type AssociationCardLook = "tiles" | "simplified";
|
|
1708
|
+
type AssociationCardLook = "tiles" | "simplified" | "compact";
|
|
1708
1709
|
declare function AssociationCard({ token, container: containerProp, look, className, }: AssociationCardProps): react.JSX.Element | null;
|
|
1709
1710
|
|
|
1710
1711
|
interface AssociationCardGridProps {
|
|
@@ -1713,9 +1714,10 @@ interface AssociationCardGridProps {
|
|
|
1713
1714
|
/** Registry tokens this surface cannot honestly support yet. */
|
|
1714
1715
|
excludeTokens?: EntityTypeToken[];
|
|
1715
1716
|
/**
|
|
1716
|
-
* "tiles" (default): each group has a colored dot, its title and
|
|
1717
|
-
* description; cards sit in a 1/2/3-column grid.
|
|
1718
|
-
* eyebrow over wrapping one-line
|
|
1717
|
+
* "tiles" (default, everywhere): each group has a colored dot, its title and
|
|
1718
|
+
* a one-line description; cards sit in a 1/2/3-column grid. Opt-in
|
|
1719
|
+
* "simplified" / "compact": an uppercase eyebrow over wrapping one-line
|
|
1720
|
+
* cards (see AssociationCard for the two "+" buttons).
|
|
1719
1721
|
*/
|
|
1720
1722
|
look?: AssociationCardLook;
|
|
1721
1723
|
className?: string;
|
|
@@ -684,7 +684,7 @@ interface AssociationsConfig {
|
|
|
684
684
|
authorDisplay?: AuthorDisplayPort;
|
|
685
685
|
}
|
|
686
686
|
|
|
687
|
-
declare const ASSOCIATION_TARGET_TYPES: readonly ["organization", "scope", "scope_type", "project", "task", "context_item", "thread", "war_room", "category", "conversation", "fc_set", "fc_card", "study_media", "assessment", "note", "file", "quiz_session", "agent", "agent_term_list", "research_tag", "skill", "surface", "plan_entity", "plan_node", "web_site", "seo_topic", "seo_keyword", "web_page", "web_screenshot", "party", "crm_outreach_list", "crm_deal", "rulebook", "research_topic", "media_source_library"];
|
|
687
|
+
declare const ASSOCIATION_TARGET_TYPES: readonly ["organization", "scope", "scope_type", "project", "task", "context_item", "thread", "war_room", "category", "conversation", "fc_set", "fc_card", "study_media", "assessment", "note", "file", "processed_document", "quiz_session", "agent", "agent_term_list", "research_tag", "skill", "surface", "plan_entity", "plan_node", "web_site", "seo_topic", "seo_keyword", "web_page", "web_screenshot", "party", "crm_outreach_list", "crm_deal", "rulebook", "research_topic", "media_source_library"];
|
|
688
688
|
type AssociationTargetType = (typeof ASSOCIATION_TARGET_TYPES)[number];
|
|
689
689
|
interface AssociationEdge {
|
|
690
690
|
id: string;
|
|
@@ -1697,14 +1697,15 @@ interface AssociationCardProps {
|
|
|
1697
1697
|
/** Override the page's primary entity. Defaults to PrimaryEntityProvider. */
|
|
1698
1698
|
container?: PrimaryEntity;
|
|
1699
1699
|
/**
|
|
1700
|
-
* "tiles" (default): the tinted icon chip, role-colored top bar,
|
|
1701
|
-
* line and square "+".
|
|
1702
|
-
*
|
|
1700
|
+
* "tiles" (default, everywhere): the tinted icon chip, role-colored top bar,
|
|
1701
|
+
* "N attached" line and square "+". Opt-in one-line looks for pages that do
|
|
1702
|
+
* not want the full card: "simplified" (square "+") and "compact" (the
|
|
1703
|
+
* outline PlusTapButton — the CRM record's look).
|
|
1703
1704
|
*/
|
|
1704
1705
|
look?: AssociationCardLook;
|
|
1705
1706
|
className?: string;
|
|
1706
1707
|
}
|
|
1707
|
-
type AssociationCardLook = "tiles" | "simplified";
|
|
1708
|
+
type AssociationCardLook = "tiles" | "simplified" | "compact";
|
|
1708
1709
|
declare function AssociationCard({ token, container: containerProp, look, className, }: AssociationCardProps): react.JSX.Element | null;
|
|
1709
1710
|
|
|
1710
1711
|
interface AssociationCardGridProps {
|
|
@@ -1713,9 +1714,10 @@ interface AssociationCardGridProps {
|
|
|
1713
1714
|
/** Registry tokens this surface cannot honestly support yet. */
|
|
1714
1715
|
excludeTokens?: EntityTypeToken[];
|
|
1715
1716
|
/**
|
|
1716
|
-
* "tiles" (default): each group has a colored dot, its title and
|
|
1717
|
-
* description; cards sit in a 1/2/3-column grid.
|
|
1718
|
-
* eyebrow over wrapping one-line
|
|
1717
|
+
* "tiles" (default, everywhere): each group has a colored dot, its title and
|
|
1718
|
+
* a one-line description; cards sit in a 1/2/3-column grid. Opt-in
|
|
1719
|
+
* "simplified" / "compact": an uppercase eyebrow over wrapping one-line
|
|
1720
|
+
* cards (see AssociationCard for the two "+" buttons).
|
|
1719
1721
|
*/
|
|
1720
1722
|
look?: AssociationCardLook;
|
|
1721
1723
|
className?: string;
|
package/dist/core/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as EntityOverlayMap, a as EntityTypeToken, b as EntityOverlayEntry, c as ErrorSink, A as AssociationsRpcError, d as AssociationsDataSource, e as AssociationsIdentity, f as AssociationTargetType, g as AssociationsRpcResult, h as AssociationEdge, i as AssociationTargetEdge, j as AssociationSourceEdge, C as CategoryDimension, P as PlatformCategory, U as UserStateKind, k as UserEntityState, l as PlatformComment, m as AssociationsEntry, n as CategoriesEntry, o as CommentsEntry, p as AssociationsConfig } from '../ports-
|
|
1
|
+
import { E as EntityOverlayMap, a as EntityTypeToken, b as EntityOverlayEntry, c as ErrorSink, A as AssociationsRpcError, d as AssociationsDataSource, e as AssociationsIdentity, f as AssociationTargetType, g as AssociationsRpcResult, h as AssociationEdge, i as AssociationTargetEdge, j as AssociationSourceEdge, C as CategoryDimension, P as PlatformCategory, U as UserStateKind, k as UserEntityState, l as PlatformComment, m as AssociationsEntry, n as CategoriesEntry, o as CommentsEntry, p as AssociationsConfig } from '../ports-vvtD75Sp.cjs';
|
|
2
2
|
import 'react';
|
|
3
3
|
|
|
4
4
|
/** The universal ownership column post-2026-reorg. */
|
package/dist/core/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as EntityOverlayMap, a as EntityTypeToken, b as EntityOverlayEntry, c as ErrorSink, A as AssociationsRpcError, d as AssociationsDataSource, e as AssociationsIdentity, f as AssociationTargetType, g as AssociationsRpcResult, h as AssociationEdge, i as AssociationTargetEdge, j as AssociationSourceEdge, C as CategoryDimension, P as PlatformCategory, U as UserStateKind, k as UserEntityState, l as PlatformComment, m as AssociationsEntry, n as CategoriesEntry, o as CommentsEntry, p as AssociationsConfig } from '../ports-
|
|
1
|
+
import { E as EntityOverlayMap, a as EntityTypeToken, b as EntityOverlayEntry, c as ErrorSink, A as AssociationsRpcError, d as AssociationsDataSource, e as AssociationsIdentity, f as AssociationTargetType, g as AssociationsRpcResult, h as AssociationEdge, i as AssociationTargetEdge, j as AssociationSourceEdge, C as CategoryDimension, P as PlatformCategory, U as UserStateKind, k as UserEntityState, l as PlatformComment, m as AssociationsEntry, n as CategoriesEntry, o as CommentsEntry, p as AssociationsConfig } from '../ports-vvtD75Sp.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
|
|
4
4
|
/** The universal ownership column post-2026-reorg. */
|
package/dist/index.cjs
CHANGED
|
@@ -2196,6 +2196,8 @@ var ASSOCIATION_TARGET_TYPES = [
|
|
|
2196
2196
|
// a note — the origin a converted study artifact links back to (artifact→note 'source' lineage, P4)
|
|
2197
2197
|
"file",
|
|
2198
2198
|
// a file (card→file media + source lineage)
|
|
2199
|
+
"processed_document",
|
|
2200
|
+
// a processed source document (study-aid source lineage and kit membership)
|
|
2199
2201
|
"quiz_session",
|
|
2200
2202
|
// a quiz a card is used in
|
|
2201
2203
|
"agent",
|