eidotter 0.30.0 → 0.32.0
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/components/AIText/components/AIText.d.ts +3 -3
- package/dist/components/InlineLink/components/InlineLink.d.ts +1 -1
- package/dist/eidotter.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +16 -16
- package/dist/index.umd.js +1 -1
- package/guidelines/design-principles.md +8 -0
- package/llms.txt +162 -0
- package/package.json +6 -3
- package/src/styles/shadcn.css +223 -0
- package/src/styles/theme.amber-mono.css +13 -1
- package/src/styles/theme.cga-amber.css +6 -0
- package/src/styles/theme.cga-mode4-p0.css +6 -0
- package/src/styles/theme.cga-mode4-p1.css +6 -0
- package/src/styles/theme.cga-mode5.css +6 -0
- package/src/styles/tokens.css +27 -0
- package/tailwind.preset.cjs +20 -0
|
@@ -8,9 +8,9 @@ export interface AITextProps {
|
|
|
8
8
|
/**
|
|
9
9
|
* Inline marker for AI-drafted prose. Renders a `<span>` with
|
|
10
10
|
* `data-provenance="ai-draft"`, the canonical attribute set by the eidotter
|
|
11
|
-
* provenance system (DMNC-884). The visual treatment —
|
|
12
|
-
* gradient
|
|
13
|
-
* shared with the per-paragraph diff pipeline.
|
|
11
|
+
* provenance system (DMNC-884). The visual treatment — a static, theme-aware
|
|
12
|
+
* magenta gradient clipped to the text ('AI writer' style; DMNC-946) — lives in
|
|
13
|
+
* `src/styles/provenance.css` and is shared with the per-paragraph diff pipeline.
|
|
14
14
|
*
|
|
15
15
|
* For per-paragraph use inside MDX, prefer wrapping the paragraph directly:
|
|
16
16
|
* <p data-provenance="ai-draft">…</p>
|
|
@@ -26,7 +26,7 @@ export interface InlineLinkProps extends Omit<React.AnchorHTMLAttributes<HTMLAnc
|
|
|
26
26
|
*
|
|
27
27
|
* Rest: dotted amber underline, trailing `▸`.
|
|
28
28
|
* Hover: phosphor inversion — amber background, dark foreground.
|
|
29
|
-
* Visited: dimmed amber (
|
|
29
|
+
* Visited: dimmed amber (`text.tertiary` role; amber-dim under the default theme).
|
|
30
30
|
* External: opens in a new tab safely, trailing glyph becomes `↗`.
|
|
31
31
|
*
|
|
32
32
|
* Consumer-passed `target="_blank"` is treated as implicit-external for
|