Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

spec(public-component-api): INV23's gap note names the lint that now runs (#9237)

Cindy Zhang4265bc407699
diff --git a/docs/architecture/public-component-api.md b/docs/architecture/public-component-api.md
index 916e0c6a33..016351cb03 100644
--- a/docs/architecture/public-component-api.md
+++ b/docs/architecture/public-component-api.md
@@ -395,9 +395,13 @@ Known verification gaps:
- INV18: shipped props that configure a subcomponent's label or target, such
as TopNavMegaMenuFeaturedCard's `linkLabel` and `linkHref` and
TopNavHeading's `logoLabel`, conform only through replacement under INV9.
-- INV23: the `@astryx/no-raw-private-attribute` rule and its baseline do not
- exist yet, and no owner module exists yet; public-API review is the check
- until they do. The `data-astryx-press` selector is copied in 14 Core files.
+- INV23: the `@astryx/no-raw-private-attribute` rule runs with a baseline of
+ the sites that predate it, and no owner module exists yet; public-API review
+ covers what the rule cannot see: Changesets, component `.doc.mjs` files (the
+ lint does not reach them), and names assembled from the namespace with `+` or reached in a template
+ through anything but `dataAttrNamespace` or `NAMESPACE` (a member access, an
+ aliased import, `classPrefix`), and names read or written through
+ `element.dataset`. The `data-astryx-press` selector is copied in 14 Core files.
Other private attributes still written at their sites include
`data-astryx-popover-fallback-close` and DropdownMenu's
`data-astryx-submenu-regions`, which Popover and DropdownMenuSubMenu also read