Skip to content

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

TypeScript

chore: remove internal references from public comments and labels (#4374)

Cindy Zhangd2d84f801ec0
diff --git a/apps/storybook/stories/Stepper.stories.tsx b/apps/storybook/stories/Stepper.stories.tsx
index a736436de7..26d592ca87 100644
--- a/apps/storybook/stories/Stepper.stories.tsx
+++ b/apps/storybook/stories/Stepper.stories.tsx
@@ -684,7 +684,7 @@ export const LongLabels: Story = {
};
// ============================================================
-// ON-TRACK (EPS-aligned) — indicator slotted into the connector line
+// ON-TRACK — indicator slotted into the connector line
// ============================================================
export const OnTrackVertical: Story = {
@@ -836,7 +836,7 @@ export const OnTrackComparison: Story = {
</Stepper>
</div>
<div style={{maxWidth: 280}}>
- <Text type="label">on-track (EPS-aligned)</Text>
+ <Text type="label">on-track</Text>
<Stepper
activeStep={active}
orientation="vertical"
diff --git a/packages/core/src/Avatar/Avatar.tsx b/packages/core/src/Avatar/Avatar.tsx
index f73db9c7e0..7f7827d8bb 100644
--- a/packages/core/src/Avatar/Avatar.tsx
+++ b/packages/core/src/Avatar/Avatar.tsx
@@ -65,7 +65,7 @@ const INITIALS_FONT_SIZE_RATIO = 0.4;
*
* Avatar uses the same abbreviated scale as Icon (`xsm`/`sm`/`md`/`lg`/`xl`),
* but the values are larger because avatars align with media rather than
- * glyphs. The tiers match EPS's avatar sizes.
+ * glyphs. The tiers follow the standard avatar size scale.
*/
type AvatarNamedSize = 'xsm' | 'sm' | 'md' | 'lg' | 'xl';
diff --git a/packages/core/src/Table/plugins/stickyColumns/useTableStickyColumns.tsx b/packages/core/src/Table/plugins/stickyColumns/useTableStickyColumns.tsx
index a9ee923863..da4b220eb2 100644
--- a/packages/core/src/Table/plugins/stickyColumns/useTableStickyColumns.tsx
+++ b/packages/core/src/Table/plugins/stickyColumns/useTableStickyColumns.tsx
@@ -205,7 +205,7 @@ const stickyStyles = stylex.create({
},
});
-// Soft drop shadow over the scrolling region (matches the EPS sticky treatment).
+// Soft drop shadow over the scrolling region (a standard sticky-column shadow treatment).
// border-collapse tables don't paint box-shadow on cells in Chromium, so it's a
// ::after gradient strip just past the pinned edge (visible thanks to the cell's
// overflow: visible). Opacity is gated by the scroll-state variable above.
diff --git a/packages/lab/src/Stepper/Step.tsx b/packages/lab/src/Stepper/Step.tsx
index 747dba3626..d3b032aa06 100644
--- a/packages/lab/src/Stepper/Step.tsx
+++ b/packages/lab/src/Stepper/Step.tsx
@@ -871,7 +871,7 @@ export function Step({
status: status ?? undefined,
});
- // ======= ON-TRACK (EPS-aligned): indicator is a node on the connector =======
+ // ======= ON-TRACK: indicator is a node on the connector =======
if (indicatorPosition === 'on-track') {
// Connector fill is purely progress-based (matches the separated bar):
// the segment before the indicator is "reached" once we're at/past this
diff --git a/packages/lab/src/Stepper/Stepper.tsx b/packages/lab/src/Stepper/Stepper.tsx
index cc1ea6e5cf..d366ce34c8 100644
--- a/packages/lab/src/Stepper/Stepper.tsx
+++ b/packages/lab/src/Stepper/Stepper.tsx
@@ -66,7 +66,7 @@ export interface StepperProps extends BaseProps<HTMLOListElement> {
* - 'separated': indicator lives in the label row, distinct from the progress
* bar (the original Astryx layout).
* - 'on-track': indicator is slotted into the connector line as a node on the
- * track (EPS-aligned design).
+ * track (the on-track indicator design).
* @default 'separated'
*/
indicatorPosition?: StepperIndicatorPosition;
diff --git a/packages/lab/src/Stepper/StepperContext.ts b/packages/lab/src/Stepper/StepperContext.ts
index 0f5ddc274b..58300d6f19 100644
--- a/packages/lab/src/Stepper/StepperContext.ts
+++ b/packages/lab/src/Stepper/StepperContext.ts
@@ -24,7 +24,7 @@ export type StepperDensity = 'compact' | 'balanced' | 'spacious';
* bar (Astryx's original layout).
* - 'on-track': indicator is slotted *into* the connector line as a node on the
* track, with the label beside (vertical) or below (horizontal). Aligns with
- * the EPS stepper design.
+ * the on-track stepper design.
*/
export type StepperIndicatorPosition = 'separated' | 'on-track';