@rtkelly-labs/design-system 0.19.0 → 0.20.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/CHANGELOG.md +31 -0
- package/dist/components/BracketText.js +3 -2
- package/dist/components/BracketText.js.map +1 -1
- package/dist/components/Button.js.map +1 -1
- package/dist/components/Card.js +2 -1
- package/dist/components/Card.js.map +1 -1
- package/dist/components/DataTable.js.map +1 -1
- package/dist/components/Divider.js +21 -14
- package/dist/components/Divider.js.map +1 -1
- package/dist/components/InlineAction.js.map +1 -1
- package/dist/components/PageTitle.js +5 -1
- package/dist/components/PageTitle.js.map +1 -1
- package/dist/components/ResourceState.js.map +1 -1
- package/dist/components/SocialIcon.js.map +1 -1
- package/dist/components/StatCard.js +2 -2
- package/dist/components/StatCard.js.map +1 -1
- package/dist/components/StatusPage.js.map +1 -1
- package/dist/components/docs/figures/ActivityGrid.js.map +1 -1
- package/dist/components/docs/figures/ChangeSummary.js +68 -25
- package/dist/components/docs/figures/ChangeSummary.js.map +1 -1
- package/dist/components/docs/figures/FigureFrame.js.map +1 -1
- package/dist/components/docs/figures/index.js.map +1 -1
- package/dist/components/experiments/ExperimentsView.js.map +1 -1
- package/dist/components/marketing/FeatureGrid.js.map +1 -1
- package/dist/components/marketing/Hero.js +2 -2
- package/dist/components/marketing/Hero.js.map +1 -1
- package/dist/components/marketing/PricingGrid.js.map +1 -1
- package/dist/components/review/ChangeBar.js +29 -0
- package/dist/components/review/ChangeBar.js.map +1 -0
- package/dist/components/review/ChangeCount.js +27 -0
- package/dist/components/review/ChangeCount.js.map +1 -0
- package/dist/components/review/ChangeIndex.js +50 -0
- package/dist/components/review/ChangeIndex.js.map +1 -0
- package/dist/components/review/DeltaValue.js +87 -0
- package/dist/components/review/DeltaValue.js.map +1 -0
- package/dist/components/review/DiffView.js +115 -0
- package/dist/components/review/DiffView.js.map +1 -0
- package/dist/components/review/KeyedDiff.js +43 -0
- package/dist/components/review/KeyedDiff.js.map +1 -0
- package/dist/components/review/ProvenanceStrip.js +17 -0
- package/dist/components/review/ProvenanceStrip.js.map +1 -0
- package/dist/components/review/PullRequestPage.js +223 -0
- package/dist/components/review/PullRequestPage.js.map +1 -0
- package/dist/components/review/ReviewReportPage.js +111 -0
- package/dist/components/review/ReviewReportPage.js.map +1 -0
- package/dist/components/review/StatusMark.js +32 -0
- package/dist/components/review/StatusMark.js.map +1 -0
- package/dist/components/review/VerdictBand.js +45 -0
- package/dist/components/review/VerdictBand.js.map +1 -0
- package/dist/components/review/diff.js +53 -0
- package/dist/components/review/diff.js.map +1 -0
- package/dist/components/review/index.js +16 -0
- package/dist/components/review/index.js.map +1 -0
- package/dist/components/review/samples.js +235 -0
- package/dist/components/review/samples.js.map +1 -0
- package/dist/components/review/vocabulary.js +51 -0
- package/dist/components/review/vocabulary.js.map +1 -0
- package/dist/components/saas/SaasLandingPage.js +10 -2
- package/dist/components/saas/SaasLandingPage.js.map +1 -1
- package/dist/index.d.ts +640 -24
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +8 -2
package/dist/index.js
CHANGED
|
@@ -24,6 +24,7 @@ export { InlineAction } from "./components/InlineAction.js";
|
|
|
24
24
|
export { Card } from "./components/Card.js";
|
|
25
25
|
export { Badge } from "./components/Badge.js";
|
|
26
26
|
export { ReportDetails, ReportDocument, ReportSection } from "./components/ReportDocument.js";
|
|
27
|
+
export { ChangeBar, ChangeCount, ChangeIndex, DEFAULT_PULL_REQUEST, DEFAULT_REVIEW_REPORT, DEFAULT_SIGNIFICANCE, DeltaValue, DiffView, KeyedDiff, ProvenanceStrip, PullRequestPage, ReviewReportPage, SAMPLE_BASELINE_COMMIT, SAMPLE_CALLGRAPH_HUNKS, SAMPLE_DUPLICATION_HUNKS, SAMPLE_METRICS_HUNKS, STATUS_APPEARANCE, STATUS_TONE_TEXT, StatusMark, VerdictBand, countDiff, deltaSignificance, deltaTrend, diffAnchor, parseUnifiedDiff, statusAppearance, trendTone } from "./components/review/index.js";
|
|
27
28
|
import { TOKEN_RULES, scanRules, scanTokenRules } from "./lib/tokenRules.js";
|
|
28
29
|
export { Avatar } from "./components/Avatar.js";
|
|
29
30
|
export { PageTitle } from "./components/PageTitle.js";
|
|
@@ -32,7 +33,7 @@ export { Tag } from "./components/Tag.js";
|
|
|
32
33
|
export { Pagination } from "./components/Pagination.js";
|
|
33
34
|
export { Tabs, TabsList, TabsPanel, TabsTab } from "./components/Tabs.js";
|
|
34
35
|
export { SectionContainer } from "./components/SectionContainer.js";
|
|
35
|
-
export { DIVIDER_PATTERNS, Divider } from "./components/Divider.js";
|
|
36
|
+
export { DIVIDER_MARKS, DIVIDER_PATTERNS, Divider } from "./components/Divider.js";
|
|
36
37
|
export { AsciiDivider } from "./components/AsciiDivider.js";
|
|
37
38
|
export { ThemeProvider, useOptionalTheme, useTheme } from "./components/ThemeProvider.js";
|
|
38
39
|
export { THEME_ATTRIBUTE, THEME_STORAGE_KEY, getThemeInitScript } from "./components/themeInitScript.js";
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["// @rtkelly-labs/design-system main entrypoint\n\nexport * from './tokens';\n\n// The theme ladder — the single source for level names, level colours, and the\n// contrast arithmetic that gates them.\nexport * from './theme/levels';\nexport {\n MEDIA,\n CSS_MEDIUM,\n MEDIA_DEFINITIONS,\n isMedium,\n} from './theme/media';\nexport type {\n Medium,\n MediumDefinition,\n TypeStep,\n TypeStepName,\n Motion,\n} from './theme/media';\nexport * from './theme/contrast';\nexport { ANSI_SLOTS, SLOTS, ansiScheme } from './theme/ansi';\nexport type { AnsiSlot, AnsiScheme, AnsiChrome } from './theme/ansi';\n\n// Semantic theming — prefer these over the raw palette in `tokens`.\nexport * from './lib/theme';\nexport * from './theme/recommended';\n// Only `cn` is public. `recipe`'s type comes from the library that implements\n// it, so exporting it would put that library back into the published .d.ts and\n// make replacing it a breaking change. Components import it directly.\nexport { cn } from './lib/recipe';\nexport type { ClassInput } from './lib/recipe';\nexport * from './lib/slug';\nexport * from './lib/units';\n\n// Hooks\nexport * from './hooks/useCopyToClipboard';\nexport * from './hooks/useActiveHeading';\nexport * from './hooks/useTraceClock';\nexport * from './hooks/useTraceReplay';\nexport * from './hooks/usePolledResource';\n\n// Primitives & Callouts\nexport * from './components/Button';\nexport * from './components/InlineAction';\nexport * from './components/Card';\nexport * from './components/Badge';\n// The report frame — the page a generated report is built in. Separate from\n// the docs components because a report is written by a tool and read once,\n// where a docs page is written by a person and read often: the frame owns the\n// measure, the header strip and the print behaviour, and everything inside it\n// is ordinary composition.\nexport * from './components/ReportDocument';\n\n// The colour-instead-of-role rules, and the scanner over them. Published\n// because a tool generating markup against this system should be able to hold\n// itself to the same rule the system holds itself to — the report generator\n// lints at budget zero with exactly these.\nexport { TOKEN_RULES, scanRules, scanTokenRules } from './lib/tokenRules';\nexport type { Finding, TokenRule } from './lib/tokenRules';\nexport * from './components/Avatar';\nexport * from './components/PageTitle';\nexport * from './components/PageHeader';\nexport * from './components/Tag';\nexport * from './components/Pagination';\n// The tablist. There is exactly one in this tree: `CodeTabs` renders through\n// it rather than hand-rolling a second keyboard model — see #240, and #163 for\n// why it is first-party rather than a wrapper over Base UI.\nexport * from './components/Tabs';\nexport * from './components/SectionContainer';\nexport * from './components/Divider';\nexport * from './components/AsciiDivider';\nexport * from './components/ThemeProvider';\n// Server-safe: a root layout calls `getThemeInitScript`, and that layout is a\n// server component under the Next App Router. See the module's header.\nexport * from './components/themeInitScript';\nexport * from './components/BracketText';\nexport * from './components/NoteBlock';\nexport * from './components/TLDR';\n// Named rather than `export *`: `Input.tsx` also exports the field recipe\n// `Select` draws its trigger with, and a recipe's type is `tailwind-variants`'.\nexport { Input, TextArea } from './components/Input';\nexport type { InputProps, TextAreaProps } from './components/Input';\n// One of a fixed set (#164): the same field as `Input`, with a listbox this\n// system paints instead of the operating system's, and `native` for the\n// platform picker when that is the better phone experience.\nexport * from './components/Select';\n// The booleans, added together: one capability in two presentations,\n// composing the same Field as the text controls above.\nexport * from './components/Checkbox';\nexport * from './components/Switch';\n// The groups (#239): `Fieldset` and `Legend` are the set's label, description\n// and error on the same Field contract, and `RadioGroup` / `Radio` are the\n// choose-one control built on that frame rather than beside it.\nexport * from './components/Fieldset';\nexport * from './components/RadioGroup';\n// The form-level half of validation (issue 50): the field errors above,\n// gathered at the top of the form as links that move focus to each field.\nexport * from './components/ErrorSummary';\nexport * from './components/Swatch';\nexport * from './components/StatCard';\nexport * from './components/Table';\nexport * from './components/DataTable';\nexport * from './components/Modal';\nexport * from './components/AlertDialog';\nexport * from './components/Drawer';\n\n// The application layout (#247): sidebar, topbar and main as five composable\n// pieces, with the sidebar off-canvas in a `Drawer` below desktop width.\nexport * from './components/AppShell';\n\n// System feedback — the three states an application has besides \"loaded\".\n// One vocabulary on purpose: the same motion tokens, the same reduced-motion\n// rule, the same muted surface, so a loading card and an empty table read as\n// the same system rather than as two consumers' guesses.\nexport * from './components/Spinner';\nexport * from './components/Skeleton';\nexport * from './components/Progress';\nexport * from './components/EmptyState';\n// The page-level states (#251) — 404, 500, maintenance, offline, unauthorized\n// — as `EmptyState` in a page frame, not a component family of their own.\nexport * from './components/StatusPage';\n\n// The floating set (#166): anchored to a trigger, positioned by the same\n// engine, dismissed by the same stack as the dialogs above. `Tooltip` labels,\n// `Popover` shows content, `Menu` offers actions.\nexport * from './components/Tooltip';\nexport * from './components/Popover';\nexport * from './components/Menu';\n\n// Site chrome (issue 246): the banner, the navigation in its two widths, and\n// the footer — layouts and landmarks that hold no items of their own. The\n// link adapter is the package's one, shared with the docs chrome: a router's\n// `Link` and its current-route test are injected once and reach both.\nexport {\n LinkProvider,\n SiteLink,\n isExternalHref,\n useIsCurrentHref,\n useLinkComponent,\n} from './components/LinkProvider';\nexport type {\n LinkComponentProps,\n LinkProviderProps,\n SiteLinkProps,\n} from './components/LinkProvider';\nexport * from './components/SiteHeader';\nexport * from './components/SiteNav';\nexport * from './components/MobileNav';\nexport * from './components/SiteFooter';\n\n// Marketing sections (issue 248): the parts a landing page is composed from.\n// Layouts that hold no copy — `SaasLandingPage` below is one composition of\n// them, and the `SaaS/LandingPage` stories build two more.\nexport * from './components/marketing/Hero';\nexport * from './components/marketing/FeatureGrid';\nexport * from './components/marketing/PricingGrid';\nexport * from './components/marketing/CTASection';\n\n// Transient notifications. Not an overlay: a toast shares neither the\n// positioning nor the dismissal model of Tooltip/Popover/Menu — it is a queue,\n// a live region and a lifetime (#243).\nexport * from './components/Toast';\n\nexport * from './components/NerdIcon';\nexport * from './components/SocialIcon';\nexport * from './components/Glyph';\n\n// Terminal & Monospace Telemetry Primitives\nexport * from './components/AsciiGauge';\nexport * from './components/TelemetryGauge';\nexport * from './components/TickerTape';\n\n// Chart Primitives & Trend Visualizers\nexport * from './components/BarChart';\nexport * from './components/Sparkline';\nexport * from './components/ChartTooltip';\nexport * from './components/BulletChart';\n// Traces: one React-free model (`lib/trace`) — layout, critical path, OTLP\n// parsing — drawn by the waterfall and the viewer around it.\nexport * from './lib/trace';\nexport * from './components/TraceWaterfall';\nexport * from './components/TraceViewer';\n// Observability (#407): one time window and hover cursor that every view on a\n// page shares, and the views that follow it. Each works standalone too.\nexport * from './lib/timeRange';\nexport * from './components/TimeRange';\nexport * from './lib/severity';\nexport * from './components/SeverityBadge';\nexport * from './components/TimeSeriesChart';\nexport * from './lib/latency';\nexport * from './components/LatencyHistogram';\nexport * from './components/LatencyHeatmap';\nexport * from './lib/logs';\nexport * from './components/LogViewer';\nexport * from './lib/filters';\nexport * from './components/FilterBar';\nexport * from './lib/serviceGraph';\nexport * from './components/ServiceMap';\nexport * from './components/AlertList';\nexport * from './components/IncidentTimeline';\nexport * from './components/FreshnessIndicator';\nexport * from './components/ResourceState';\nexport * from './lib/ids';\nexport * from './components/IdChip';\n\n// Slides & Presentation Deck Engine\nexport * from './components/slides/Slide';\nexport * from './components/slides/SlideDeck';\n\n// Blog & Editorial Post Foundations\nexport * from './components/blog/BlogPost';\nexport * from './components/blog/LoremIpsumPost';\nexport * from './components/MetadataGrid';\nexport * from './components/TrackCard';\nexport * from './components/ColophonCard';\n\n// Experiments Page & Design System Sandbox\nexport * from './components/experiments/ExperimentsView';\nexport * from './components/experiments/DesignSandbox';\n\n// SaaS Landing Pages\nexport * from './components/saas/SaasLandingPage';\nexport * from './components/saas/ObservabilityConsole';\n\n// Documentation Portal Chrome & MDX Rendering\nexport * from './components/docs';\n"],"mappings":";AAEA,cAAc;AAId,cAAc;AACd;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAQP,cAAc;AACd,SAAS,YAAY,OAAO,kBAAkB;AAI9C,cAAc;AACd,cAAc;AAId,SAAS,UAAU;AAEnB,cAAc;AACd,cAAc;AAGd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAGd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAMd,cAAc;AAMd,SAAS,aAAa,WAAW,sBAAsB;AAEvD,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAId,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAGd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAGd,SAAS,OAAO,gBAAgB;AAKhC,cAAc;AAGd,cAAc;AACd,cAAc;AAId,cAAc;AACd,cAAc;AAGd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAId,cAAc;AAMd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAGd,cAAc;AAKd,cAAc;AACd,cAAc;AACd,cAAc;AAMd;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAMP,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAKd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAKd,cAAc;AAEd,cAAc;AACd,cAAc;AACd,cAAc;AAGd,cAAc;AACd,cAAc;AACd,cAAc;AAGd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAGd,cAAc;AACd,cAAc;AACd,cAAc;AAGd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAGd,cAAc;AACd,cAAc;AAGd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAGd,cAAc;AACd,cAAc;AAGd,cAAc;AACd,cAAc;AAGd,cAAc;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["// @rtkelly-labs/design-system main entrypoint\n\nexport * from './tokens';\n\n// The theme ladder — the single source for level names, level colours, and the\n// contrast arithmetic that gates them.\nexport * from './theme/levels';\nexport {\n MEDIA,\n CSS_MEDIUM,\n MEDIA_DEFINITIONS,\n isMedium,\n} from './theme/media';\nexport type {\n Medium,\n MediumDefinition,\n TypeStep,\n TypeStepName,\n Motion,\n} from './theme/media';\nexport * from './theme/contrast';\nexport { ANSI_SLOTS, SLOTS, ansiScheme } from './theme/ansi';\nexport type { AnsiSlot, AnsiScheme, AnsiChrome } from './theme/ansi';\n\n// Semantic theming — prefer these over the raw palette in `tokens`.\nexport * from './lib/theme';\nexport * from './theme/recommended';\n// Only `cn` is public. `recipe`'s type comes from the library that implements\n// it, so exporting it would put that library back into the published .d.ts and\n// make replacing it a breaking change. Components import it directly.\nexport { cn } from './lib/recipe';\nexport type { ClassInput } from './lib/recipe';\nexport * from './lib/slug';\nexport * from './lib/units';\n\n// Hooks\nexport * from './hooks/useCopyToClipboard';\nexport * from './hooks/useActiveHeading';\nexport * from './hooks/useTraceClock';\nexport * from './hooks/useTraceReplay';\nexport * from './hooks/usePolledResource';\n\n// Primitives & Callouts\nexport * from './components/Button';\nexport * from './components/InlineAction';\nexport * from './components/Card';\nexport * from './components/Badge';\n// The report frame — the page a generated report is built in. Separate from\n// the docs components because a report is written by a tool and read once,\n// where a docs page is written by a person and read often: the frame owns the\n// measure, the header strip and the print behaviour, and everything inside it\n// is ordinary composition.\nexport * from './components/ReportDocument';\n// Reviewing a change — the verdict, provenance, measured deltas and line diffs a review report\n// is built from. Separate from the report frame because an application can show a review too.\nexport * from './components/review';\n\n// The colour-instead-of-role rules, and the scanner over them. Published\n// because a tool generating markup against this system should be able to hold\n// itself to the same rule the system holds itself to — the report generator\n// lints at budget zero with exactly these.\nexport { TOKEN_RULES, scanRules, scanTokenRules } from './lib/tokenRules';\nexport type { Finding, TokenRule } from './lib/tokenRules';\nexport * from './components/Avatar';\nexport * from './components/PageTitle';\nexport * from './components/PageHeader';\nexport * from './components/Tag';\nexport * from './components/Pagination';\n// The tablist. There is exactly one in this tree: `CodeTabs` renders through\n// it rather than hand-rolling a second keyboard model — see #240, and #163 for\n// why it is first-party rather than a wrapper over Base UI.\nexport * from './components/Tabs';\nexport * from './components/SectionContainer';\nexport * from './components/Divider';\nexport * from './components/AsciiDivider';\nexport * from './components/ThemeProvider';\n// Server-safe: a root layout calls `getThemeInitScript`, and that layout is a\n// server component under the Next App Router. See the module's header.\nexport * from './components/themeInitScript';\nexport * from './components/BracketText';\nexport * from './components/NoteBlock';\nexport * from './components/TLDR';\n// Named rather than `export *`: `Input.tsx` also exports the field recipe\n// `Select` draws its trigger with, and a recipe's type is `tailwind-variants`'.\nexport { Input, TextArea } from './components/Input';\nexport type { InputProps, TextAreaProps } from './components/Input';\n// The props every field control shares. `InputProps`, `CheckboxProps` and the rest\n// extend them, so a wrapper that takes \"any field\" needs to name them.\nexport type { BooleanFieldProps, FieldProps } from './components/fieldFrame';\n// One of a fixed set (#164): the same field as `Input`, with a listbox this\n// system paints instead of the operating system's, and `native` for the\n// platform picker when that is the better phone experience.\nexport * from './components/Select';\n// The booleans, added together: one capability in two presentations,\n// composing the same Field as the text controls above.\nexport * from './components/Checkbox';\nexport * from './components/Switch';\n// The groups (#239): `Fieldset` and `Legend` are the set's label, description\n// and error on the same Field contract, and `RadioGroup` / `Radio` are the\n// choose-one control built on that frame rather than beside it.\nexport * from './components/Fieldset';\nexport * from './components/RadioGroup';\n// The form-level half of validation (issue 50): the field errors above,\n// gathered at the top of the form as links that move focus to each field.\nexport * from './components/ErrorSummary';\nexport * from './components/Swatch';\nexport * from './components/StatCard';\nexport * from './components/Table';\nexport * from './components/DataTable';\nexport * from './components/Modal';\nexport * from './components/AlertDialog';\nexport * from './components/Drawer';\n\n// The application layout (#247): sidebar, topbar and main as five composable\n// pieces, with the sidebar off-canvas in a `Drawer` below desktop width.\nexport * from './components/AppShell';\n\n// System feedback — the three states an application has besides \"loaded\".\n// One vocabulary on purpose: the same motion tokens, the same reduced-motion\n// rule, the same muted surface, so a loading card and an empty table read as\n// the same system rather than as two consumers' guesses.\nexport * from './components/Spinner';\nexport * from './components/Skeleton';\nexport * from './components/Progress';\nexport * from './components/EmptyState';\n// The page-level states (#251) — 404, 500, maintenance, offline, unauthorized\n// — as `EmptyState` in a page frame, not a component family of their own.\nexport * from './components/StatusPage';\n\n// The floating set (#166): anchored to a trigger, positioned by the same\n// engine, dismissed by the same stack as the dialogs above. `Tooltip` labels,\n// `Popover` shows content, `Menu` offers actions.\nexport * from './components/Tooltip';\nexport * from './components/Popover';\nexport * from './components/Menu';\n\n// Site chrome (issue 246): the banner, the navigation in its two widths, and\n// the footer — layouts and landmarks that hold no items of their own. The\n// link adapter is the package's one, shared with the docs chrome: a router's\n// `Link` and its current-route test are injected once and reach both.\nexport {\n LinkProvider,\n SiteLink,\n isExternalHref,\n useIsCurrentHref,\n useLinkComponent,\n} from './components/LinkProvider';\nexport type {\n LinkComponentProps,\n LinkProviderProps,\n SiteLinkProps,\n} from './components/LinkProvider';\nexport * from './components/SiteHeader';\nexport * from './components/SiteNav';\nexport * from './components/MobileNav';\nexport * from './components/SiteFooter';\n\n// Marketing sections (issue 248): the parts a landing page is composed from.\n// Layouts that hold no copy — `SaasLandingPage` below is one composition of\n// them, and the `SaaS/LandingPage` stories build two more.\nexport * from './components/marketing/Hero';\nexport * from './components/marketing/FeatureGrid';\nexport * from './components/marketing/PricingGrid';\nexport * from './components/marketing/CTASection';\n\n// Transient notifications. Not an overlay: a toast shares neither the\n// positioning nor the dismissal model of Tooltip/Popover/Menu — it is a queue,\n// a live region and a lifetime (#243).\nexport * from './components/Toast';\n\nexport * from './components/NerdIcon';\nexport * from './components/SocialIcon';\nexport * from './components/Glyph';\n\n// Terminal & Monospace Telemetry Primitives\nexport * from './components/AsciiGauge';\nexport * from './components/TelemetryGauge';\nexport * from './components/TickerTape';\n\n// Chart Primitives & Trend Visualizers\nexport * from './components/BarChart';\nexport * from './components/Sparkline';\nexport * from './components/ChartTooltip';\nexport * from './components/BulletChart';\n// Traces: one React-free model (`lib/trace`) — layout, critical path, OTLP\n// parsing — drawn by the waterfall and the viewer around it.\nexport * from './lib/trace';\nexport * from './components/TraceWaterfall';\nexport * from './components/TraceViewer';\n// Observability (#407): one time window and hover cursor that every view on a\n// page shares, and the views that follow it. Each works standalone too.\nexport * from './lib/timeRange';\nexport * from './components/TimeRange';\nexport * from './lib/severity';\nexport * from './components/SeverityBadge';\nexport * from './components/TimeSeriesChart';\nexport * from './lib/latency';\nexport * from './components/LatencyHistogram';\nexport * from './components/LatencyHeatmap';\nexport * from './lib/logs';\nexport * from './components/LogViewer';\nexport * from './lib/filters';\nexport * from './components/FilterBar';\nexport * from './lib/serviceGraph';\nexport * from './components/ServiceMap';\nexport * from './components/AlertList';\nexport * from './components/IncidentTimeline';\nexport * from './components/FreshnessIndicator';\nexport * from './components/ResourceState';\nexport * from './lib/ids';\nexport * from './components/IdChip';\n\n// Slides & Presentation Deck Engine\nexport * from './components/slides/Slide';\nexport * from './components/slides/SlideDeck';\n\n// Blog & Editorial Post Foundations\nexport * from './components/blog/BlogPost';\nexport * from './components/blog/LoremIpsumPost';\nexport * from './components/MetadataGrid';\nexport * from './components/TrackCard';\nexport * from './components/ColophonCard';\n\n// Experiments Page & Design System Sandbox\nexport * from './components/experiments/ExperimentsView';\nexport * from './components/experiments/DesignSandbox';\n\n// SaaS Landing Pages\nexport * from './components/saas/SaasLandingPage';\nexport * from './components/saas/ObservabilityConsole';\n\n// Documentation Portal Chrome & MDX Rendering\nexport * from './components/docs';\n"],"mappings":";AAEA,cAAc;AAId,cAAc;AACd;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAQP,cAAc;AACd,SAAS,YAAY,OAAO,kBAAkB;AAI9C,cAAc;AACd,cAAc;AAId,SAAS,UAAU;AAEnB,cAAc;AACd,cAAc;AAGd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAGd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAMd,cAAc;AAGd,cAAc;AAMd,SAAS,aAAa,WAAW,sBAAsB;AAEvD,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAId,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAGd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAGd,SAAS,OAAO,gBAAgB;AAQhC,cAAc;AAGd,cAAc;AACd,cAAc;AAId,cAAc;AACd,cAAc;AAGd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAId,cAAc;AAMd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAGd,cAAc;AAKd,cAAc;AACd,cAAc;AACd,cAAc;AAMd;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAMP,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAKd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAKd,cAAc;AAEd,cAAc;AACd,cAAc;AACd,cAAc;AAGd,cAAc;AACd,cAAc;AACd,cAAc;AAGd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAGd,cAAc;AACd,cAAc;AACd,cAAc;AAGd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAGd,cAAc;AACd,cAAc;AAGd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAGd,cAAc;AACd,cAAc;AAGd,cAAc;AACd,cAAc;AAGd,cAAc;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rtkelly-labs/design-system",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"description": "Brutalist design system for Ryan Kelly websites: a two-level theme ladder, role-addressed tokens, and Base UI-backed components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -100,6 +100,8 @@
|
|
|
100
100
|
"storybook": "storybook dev -p 8100",
|
|
101
101
|
"build-storybook": "storybook build -o storybook-static",
|
|
102
102
|
"test:a11y": "playwright test tests/a11y.spec.ts",
|
|
103
|
+
"test:edges": "playwright test tests/edges.spec.ts",
|
|
104
|
+
"edges:census": "node -e \"require('node:fs').rmSync('../../temp/edges',{recursive:true,force:true})\" && EDGES_CENSUS=1 playwright test tests/edges.spec.ts",
|
|
103
105
|
"test:visual": "playwright test tests/visual.spec.ts",
|
|
104
106
|
"test:visual:missing": "playwright test tests/visual.spec.ts --update-snapshots=missing",
|
|
105
107
|
"test:visual:update": "playwright test tests/visual.spec.ts --update-snapshots=all",
|
|
@@ -117,7 +119,8 @@
|
|
|
117
119
|
"check:tokens": "node scripts/check-tokens.mjs",
|
|
118
120
|
"check:tokens:list": "node scripts/check-tokens.mjs --list",
|
|
119
121
|
"ansi:build": "node scripts/build-ansi.mjs",
|
|
120
|
-
"ansi:check": "node scripts/build-ansi.mjs --check"
|
|
122
|
+
"ansi:check": "node scripts/build-ansi.mjs --check",
|
|
123
|
+
"test:mutation": "stryker run"
|
|
121
124
|
},
|
|
122
125
|
"publishConfig": {
|
|
123
126
|
"access": "public"
|
|
@@ -175,6 +178,8 @@
|
|
|
175
178
|
"@storybook/addon-docs": "^10.5.5",
|
|
176
179
|
"@storybook/react": "^10.5.5",
|
|
177
180
|
"@storybook/react-vite": "^10.5.5",
|
|
181
|
+
"@stryker-mutator/core": "^10.1.1",
|
|
182
|
+
"@stryker-mutator/vitest-runner": "^10.1.1",
|
|
178
183
|
"@tailwindcss/typography": "^0.5.20",
|
|
179
184
|
"@tailwindcss/vite": "^4.3.3",
|
|
180
185
|
"@tanstack/intent": "^0.4.0",
|
|
@@ -188,6 +193,7 @@
|
|
|
188
193
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
189
194
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
190
195
|
"eslint-plugin-tailwindcss": "4.3.0",
|
|
196
|
+
"fast-check": "^4.10.2",
|
|
191
197
|
"jsdom": "^30.0.1",
|
|
192
198
|
"knip": "^6.32.2",
|
|
193
199
|
"react": "^19.2.8",
|