@kcascend/liquid-ui 0.0.13 → 0.0.15

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.
@@ -1 +1 @@
1
- {"version":3,"file":"linkGovernance.d.ts","sourceRoot":"","sources":["../../src/governance/linkGovernance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEpD,eAAO,MAAM,cAAc,EAAE,mBAS5B,CAAC"}
1
+ {"version":3,"file":"linkGovernance.d.ts","sourceRoot":"","sources":["../../src/governance/linkGovernance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEpD,eAAO,MAAM,cAAc,EAAE,mBAgB5B,CAAC"}
@@ -6,4 +6,11 @@ export const linkGovernance = {
6
6
  'Focus-visible treatment must remain clearly visible for both inline and standalone appearances.',
7
7
  'Standalone trailing icon is decorative and should stay aria-hidden to avoid duplicate announcements.',
8
8
  ],
9
+ // Sourced from Carbon Design System's Link usage guidance: https://carbondesignsystem.com/components/link/usage/
10
+ usageNotes: [
11
+ 'Use Link only for navigation (new page, new site, same-page anchor, mailto/tel). For actions that change data or state (submit, reset, retry, delete), use Button instead.',
12
+ "Default appearance is 'inline' (no icon) — the safe default for links embedded in text, tables, and lists.",
13
+ 'Pass appearance="standalone" explicitly for an isolated CTA-style link (on its own or directly following content); only standalone links may pair with a trailing icon.',
14
+ "Set external on standalone links whose destination leaves the app (a different site/domain) so the trailing icon is 'launch' instead of 'arrow_forward', matching Carbon's external-vs-internal icon convention.",
15
+ ],
9
16
  };