semiotic 3.8.8 → 3.8.9
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/CLAUDE.md +5 -4
- package/README.md +44 -44
- package/ai/schema.json +263 -1
- package/ai/surface-manifest.json +1 -1
- package/ai/system-prompt.md +1 -1
- package/dist/chunk-chunk-2X3FJCME.module.min.js +1 -0
- package/dist/{chunk-chunk-UEZ6SHW5.module.min.js → chunk-chunk-2ZHHWZQM.module.min.js} +1 -1
- package/dist/chunk-chunk-5ZON5NMV.module.min.js +2 -0
- package/dist/{chunk-chunk-L6FFYGYS.module.min.js → chunk-chunk-6S3YGYW7.module.min.js} +1 -1
- package/dist/chunk-chunk-7C5EDZ3Z.module.min.js +2 -0
- package/dist/chunk-chunk-A3I4HBD5.module.min.js +1 -0
- package/dist/{chunk-chunk-4MLLQUGW.module.min.js → chunk-chunk-AFQHURLO.module.min.js} +1 -1
- package/dist/{chunk-chunk-OG3TTJGJ.module.min.js → chunk-chunk-DDB4TLQG.module.min.js} +1 -1
- package/dist/{chunk-chunk-W5HWGQMD.module.min.js → chunk-chunk-DTH3SUOU.module.min.js} +1 -1
- package/dist/{chunk-chunk-H5IFO6CU.module.min.js → chunk-chunk-DVCWU7MT.module.min.js} +1 -1
- package/dist/{chunk-chunk-JRHXQGEV.module.min.js → chunk-chunk-FSIHAW6L.module.min.js} +1 -1
- package/dist/{chunk-chunk-BWV55BZK.module.min.js → chunk-chunk-G2RGVEYY.module.min.js} +1 -1
- package/dist/chunk-chunk-HAJVODLO.module.min.js +2 -0
- package/dist/{chunk-chunk-BZNOAHJV.module.min.js → chunk-chunk-HIV7AW2V.module.min.js} +1 -1
- package/dist/{chunk-chunk-LJDH3WV3.module.min.js → chunk-chunk-JZAMMSQQ.module.min.js} +1 -1
- package/dist/{chunk-chunk-VUWYT7DY.module.min.js → chunk-chunk-MXMRXSCI.module.min.js} +1 -1
- package/dist/chunk-chunk-MXVBXFKW.module.min.js +2 -0
- package/dist/{chunk-chunk-7LE56WAE.module.min.js → chunk-chunk-OFAP623Y.module.min.js} +1 -1
- package/dist/{chunk-chunk-SFLUSZ73.module.min.js → chunk-chunk-OHLRAEQZ.module.min.js} +1 -1
- package/dist/{chunk-chunk-CD6PVVS3.module.min.js → chunk-chunk-PRNXOCYZ.module.min.js} +1 -1
- package/dist/chunk-chunk-RLKZVJMQ.module.min.js +2 -0
- package/dist/chunk-chunk-SK2TQMG4.module.min.js +2 -0
- package/dist/chunk-chunk-SKLYXNYW.module.min.js +2 -0
- package/dist/{chunk-chunk-57RBPDBQ.module.min.js → chunk-chunk-U4NZCU5T.module.min.js} +1 -1
- package/dist/{chunk-chunk-QQJNG23C.module.min.js → chunk-chunk-VKL6DI43.module.min.js} +1 -1
- package/dist/chunk-chunk-W62673ZE.module.min.js +1 -0
- package/dist/{chunk-chunk-WSDJFBKX.module.min.js → chunk-chunk-XCC25CZZ.module.min.js} +1 -1
- package/dist/{chunk-chunk-AF53TBSN.module.min.js → chunk-chunk-XECNOUZY.module.min.js} +1 -1
- package/dist/{chunk-chunk-FC3NZWYR.module.min.js → chunk-chunk-XYZDTYAF.module.min.js} +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +54 -1
- package/dist/components/charts/physics/chainReactionTypes.d.ts +1 -0
- package/dist/components/charts/physics/physicsHocUtils.d.ts +1 -1
- package/dist/components/charts/realtime/RealtimeHeatmap.d.ts +2 -0
- package/dist/components/charts/realtime/RealtimeHistogram.d.ts +2 -0
- package/dist/components/charts/realtime/RealtimeLineChart.d.ts +2 -0
- package/dist/components/charts/realtime/RealtimeSwarmChart.d.ts +2 -0
- package/dist/components/charts/realtime/RealtimeWaterfallChart.d.ts +2 -0
- package/dist/components/charts/shared/formatUtils.d.ts +40 -9
- package/dist/components/charts/shared/streamPropsHelpers.d.ts +1 -0
- package/dist/components/charts/shared/types.d.ts +8 -1
- package/dist/components/semiotic-utils-core.d.ts +1 -0
- package/dist/components/semiotic.d.ts +4 -3
- package/dist/components/stream/GeoTileRenderer.d.ts +1 -0
- package/dist/components/stream/canvasSetup.d.ts +15 -4
- package/dist/components/stream/geoTypes.d.ts +2 -0
- package/dist/components/stream/networkFramePaint.d.ts +8 -0
- package/dist/components/stream/networkTypes.d.ts +2 -0
- package/dist/components/stream/ordinalTypes.d.ts +2 -0
- package/dist/components/stream/physics/StreamPhysicsTypes.d.ts +2 -0
- package/dist/components/stream/pipelineConfig.d.ts +2 -0
- package/dist/components/stream/pipelineDomainResolution.d.ts +1 -1
- package/dist/components/stream/types.d.ts +8 -1
- package/dist/components/stream/useCanvasFrameHost.d.ts +9 -0
- package/dist/components/stream/xyFrameAxisTypes.d.ts +5 -0
- package/dist/geo.min.js +1 -1
- package/dist/geo.module.min.js +1 -1
- package/dist/network.min.js +1 -1
- package/dist/network.module.min.js +1 -1
- package/dist/ordinal.min.js +1 -1
- package/dist/ordinal.module.min.js +1 -1
- package/dist/physics.min.js +1 -1
- package/dist/physics.module.min.js +1 -1
- package/dist/realtime.min.js +1 -1
- package/dist/realtime.module.min.js +1 -1
- package/dist/semiotic-ai-core.min.js +1 -1
- package/dist/semiotic-ai-core.module.min.js +1 -1
- package/dist/semiotic-ai.min.js +1 -1
- package/dist/semiotic-ai.module.min.js +1 -1
- package/dist/semiotic-experimental.min.js +1 -1
- package/dist/semiotic-experimental.module.min.js +1 -1
- package/dist/semiotic-realtime-core.min.js +1 -1
- package/dist/semiotic-realtime-core.module.min.js +1 -1
- package/dist/semiotic-server-edge.min.js +1 -1
- package/dist/semiotic-server-edge.module.min.js +1 -1
- package/dist/semiotic-server-node.min.js +1 -1
- package/dist/semiotic-server-node.module.min.js +1 -1
- package/dist/semiotic-utils-core.d.ts +1 -0
- package/dist/semiotic-utils-core.min.js +1 -1
- package/dist/semiotic-utils-core.module.min.js +1 -1
- package/dist/semiotic-utils.min.js +1 -1
- package/dist/semiotic-utils.module.min.js +1 -1
- package/dist/semiotic.d.ts +4 -3
- package/dist/semiotic.min.js +1 -1
- package/dist/semiotic.module.min.js +1 -1
- package/dist/server.min.js +1 -1
- package/dist/server.module.min.js +1 -1
- package/dist/xy.min.js +1 -1
- package/dist/xy.module.min.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-chunk-3GCILWPB.module.min.js +0 -2
- package/dist/chunk-chunk-46KRGJQP.module.min.js +0 -1
- package/dist/chunk-chunk-7T25U75Z.module.min.js +0 -2
- package/dist/chunk-chunk-BTZYH2IE.module.min.js +0 -1
- package/dist/chunk-chunk-FRGBMTZR.module.min.js +0 -1
- package/dist/chunk-chunk-HCNDE26Q.module.min.js +0 -2
- package/dist/chunk-chunk-JJ4BSUYL.module.min.js +0 -2
- package/dist/chunk-chunk-N3Q33XCB.module.min.js +0 -2
- package/dist/chunk-chunk-RGJ6TKAH.module.min.js +0 -2
- package/dist/chunk-chunk-WGROBM3I.module.min.js +0 -2
package/CLAUDE.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
- Install: `npm install semiotic`
|
|
5
5
|
<!-- semiotic-bundle-sizes:start -->
|
|
6
6
|
<!-- Auto-generated by scripts/sync-bundle-sizes.mjs — do not edit by hand. -->
|
|
7
|
-
- **Use sub-path imports** — `semiotic/xy` (
|
|
7
|
+
- **Use sub-path imports** — `semiotic/xy` (146KB gz), `semiotic/ordinal` (122KB gz), `semiotic/network` (146KB gz), `semiotic/geo` (104KB gz), `semiotic/realtime` (155KB gz), `semiotic/realtime/core` (146KB gz), `semiotic/realtime/react` (1KB gz), `semiotic/server` (226KB gz), `semiotic/server/node` (226KB gz), `semiotic/server/edge` (241KB gz), `semiotic/utils` (86KB gz), `semiotic/utils/core` (84KB gz), `semiotic/utils/react` (6KB gz), `semiotic/recipes` (90KB gz), `semiotic/recipes/core` (89KB gz), `semiotic/recipes/react` (2KB gz), `semiotic/themes` (7KB gz), `semiotic/themes/core` (7KB gz), `semiotic/themes/react` (6KB gz), `semiotic/data` (4KB gz), `semiotic/value` (8KB gz), `semiotic/physics` (161KB gz), `semiotic/physics/matter` (1KB gz), `semiotic/physics/rapier` (1KB gz), `semiotic/ai` (507KB gz), `semiotic/ai/core` (81KB gz), `semiotic/controls` (12KB gz), `semiotic/rough` (4KB gz). Full `semiotic` is 410KB gz.
|
|
8
8
|
<!-- semiotic-bundle-sizes:end -->
|
|
9
9
|
- CLI: `npx semiotic-ai [--schema|--compact|--examples|--doctor|--audit-a11y]` · MCP: `npx semiotic-mcp`
|
|
10
10
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
HOC Charts (simple, default) → Stream Frames (full control). Use HOCs unless you need control they don't expose. Stream Frames pass `RealtimeNode`/`RealtimeEdge` wrappers in callbacks, not your data. Every HOC accepts `frameProps`, has an error boundary + dev-mode validation. TypeScript `strict: true`.
|
|
13
13
|
|
|
14
14
|
## Common Props (chart HOCs only)
|
|
15
|
-
`title`, `description` (aria-label), `summary` (sr-only), `width` (600), `height` (400), `responsiveWidth`, `responsiveHeight`, `margin`, `className`, `color` (uniform fill), `stroke`, `strokeWidth`, `opacity`, `enableHover` (true), `tooltip` (boolean | "multi" | function | config), `showLegend`, `showGrid` (false), `frameProps`, `onObservation`, `onClick`, `chartId`, `loading`, `loadingContent` (ReactNode; `false` suppresses), `emptyContent`, `legendInteraction` ("none"|"highlight"|"isolate"), `legendPosition` ("right"|"left"|"top"|"bottom"), `emphasis` ("primary"|"secondary"), `annotations`, `accessibleTable` (true), `hoverHighlight` (requires `colorBy`), `hoverRadius` (30), `animate` (boolean | {duration?, easing?, intro?}), `axisExtent` ("nice"|"exact" — pins first/last tick to data min/max; XY x/y + ordinal value axis only).
|
|
15
|
+
`title`, `description` (aria-label), `summary` (sr-only), `width` (600), `height` (400), `responsiveWidth`, `responsiveHeight`, `margin`, `className`, `color` (uniform fill), `stroke`, `strokeWidth`, `opacity`, `enableHover` (true), `tooltip` (boolean | "multi" | function | config), `showLegend`, `showGrid` (false), `frameProps`, `onObservation`, `onClick`, `chartId`, `loading`, `loadingContent` (ReactNode; `false` suppresses), `emptyContent`, `legendInteraction` ("none"|"highlight"|"isolate"), `legendPosition` ("right"|"left"|"top"|"bottom"), `emphasis` ("primary"|"secondary"), `annotations`, `accessibleTable` (true), `hoverHighlight` (requires `colorBy`), `hoverRadius` (30), `animate` (boolean | {duration?, easing?, intro?}), `axisExtent` ("nice"|"exact" — pins first/last tick to data min/max; XY x/y + ordinal value axis only; override per XY axis with `frameProps.axes[i].extent`), `maxDevicePixelRatio` (canvas backing-store cap; defaults 3 desktop / 2 coarse-pointer or narrow viewports; canvases repaint on browser zoom / display-density changes).
|
|
16
16
|
|
|
17
17
|
This list is not global. Plain value components do not inherit chart-HOC props and must be
|
|
18
18
|
validated against their own schema. In particular, `BigNumber` uses `label`, `description`, and
|
|
@@ -405,7 +405,7 @@ These rules are generated from `ai/behaviorContracts.cjs` and are consumed by `s
|
|
|
405
405
|
- **Push API**: Omit `data`. `data={[]}` clears on every render.
|
|
406
406
|
- **Tooltip datum shape**: HOC tooltips get raw data. Frame `tooltipContent` gets wrapped — use `d.data`.
|
|
407
407
|
- **Tooltip format cascade**: `valueFormat`/`xFormat`/`yFormat` flow to default tooltip (axis + tooltip read identically). Custom `tooltip` fully overrides — re-pass via `Tooltip({format})` / `MultiLineTooltip({fields:[{format}]})`. Bespoke-tooltip charts (Histogram, FunnelChart, LikertChart, GaugeChart) don't participate; customize via `tooltip`.
|
|
408
|
-
- **`tooltip="multi"
|
|
408
|
+
- **`tooltip="multi"`** / **`tooltip={{ mode: "multi", content? }}`**: multi-series hover-anywhere for LineChart, AreaChart, StackedAreaChart, DifferenceChart (wires `tooltipMode:"multi"`). Built-in multi renderer when `content` is omitted. Custom multi: `tooltip={{ mode: "multi", content: (d) => … }}` — the function receives the unwrapped raw datum with hover-root `allSeries` / `xValue` re-attached (`{group, value, valuePx, color, datum}` entries). Legacy escape hatch: `tooltip={fn}` + `frameProps={{ tooltipMode: "multi" }}`.
|
|
409
409
|
- **Legend**: "bottom" expands margin ~80px. MultiAxisLineChart: use `legendPosition="bottom"`. A **bottom** legend is placed *outside* the bottom axis chrome (tick labels, axis title) so it doesn't overdraw it; the band is auto-measured. Top axes are opt-in, so a **top** legend reserves nothing by default — set `frameProps.legendLayout.axisGutter` for one. `axisGutter` also overrides the measured bottom band (`0` anchors to the plot edge); `sideGutter` is the left/right counterpart.
|
|
410
410
|
- **Horizontal bars**: need wider left margin (`margin={{ left: 120 }}`).
|
|
411
411
|
- **Log scale**: domain min clamped to 1e-6. **`xScaleType: "time"`**: creates `scaleTime`; required for landmark ticks with timestamps.
|
|
@@ -415,7 +415,8 @@ These rules are generated from `ai/behaviorContracts.cjs` and are consumed by `s
|
|
|
415
415
|
- **`hoverHighlight`**: requires `colorBy` as a string field.
|
|
416
416
|
- **`frameProps` style functions**: bypass HOC color resolution — use `colorBy` instead.
|
|
417
417
|
- **Geo imports**: always `semiotic/geo`, never `semiotic`.
|
|
418
|
-
- **Axis config**: `frameProps.axes: [{ orient, includeMax, autoRotate, gridStyle, landmarkTicks, tickAnchor }]`. `tickAnchor: "edges"` flips first tick's `text-anchor` to `start`, last to `end` (and `dominant-baseline` on vertical axes) so edge labels don't overflow. Pairs with `axisExtent: "exact"`.
|
|
418
|
+
- **Axis config**: `frameProps.axes: [{ orient, includeMax, autoRotate, gridStyle, landmarkTicks, tickAnchor, extent }]`. `tickAnchor: "edges"` flips first tick's `text-anchor` to `start`, last to `end` (and `dominant-baseline` on vertical axes) so edge labels don't overflow. Pairs with `axisExtent: "exact"`. Per-axis `extent: "nice"|"exact"` overrides chart-level `axisExtent` (common: exact x / nice y). Exact on a **value (y)** axis also skips y `extentPadding`; exact on x only affects tick placement.
|
|
419
|
+
- **Adaptive time ticks**: `xFormat={adaptiveTimeTicks()}` or `adaptiveTimeTicks("minutes")`. Default formats in **UTC** for deterministic SSR. Timezone: `{ timeZone: "local" }` for the viewer, `{ timeZone: "America/Los_Angeles" }` (any IANA id) for a pinned region, or legacy `{ utc: false }` for local. `timeZone` wins over `utc` when both are set.
|
|
419
420
|
- **Per-axis CSS**: every axis renders as `<g class="semiotic-axis semiotic-axis-{bottom|left|right|top}" data-orient="…">`. Style via `[data-orient="left"] text { font-size: 14px }` — CSS-var defaults are set inline via `var(--semiotic-tick-font-size, …)`, so cascade overrides win cleanly. Tick text: `class="semiotic-axis-tick"`; labels: `class="semiotic-axis-label"`; titles: `class="semiotic-chart-title"`.
|
|
420
421
|
- **`scalePadding`**: pixel inset on scale ranges (via `frameProps={{ scalePadding: 12 }}`).
|
|
421
422
|
- **`categoryFormat`/`xFormat`/`yFormat`**: can return ReactNode (renders in `<foreignObject>`). Tick deduplication: adjacent identical labels auto-removed.
|
package/README.md
CHANGED
|
@@ -17,28 +17,28 @@ AI coding assistants generate correct chart code on the first try.
|
|
|
17
17
|
<img src="./docs/public/assets/img/semiotic-release-dashboard.svg" alt="Semiotic release dashboard showing chart count, bundle sizes, capability coverage, chart families, and documentation growth" width="100%">
|
|
18
18
|
<!-- semiotic-readme-dashboard:end -->
|
|
19
19
|
|
|
20
|
-
## What's New in 3.8.
|
|
20
|
+
## What's New in 3.8.9
|
|
21
21
|
|
|
22
|
-
3.8.
|
|
23
|
-
history-river docs that exercise it hard:
|
|
22
|
+
3.8.9 sharpens Stream Frame reliability and the chart chrome shared by browser and server rendering:
|
|
24
23
|
|
|
25
|
-
-
|
|
26
|
-
|
|
27
|
-
-
|
|
28
|
-
|
|
29
|
-
-
|
|
30
|
-
|
|
24
|
+
- Zoom- and display-aware canvas resolution keeps Stream Frames crisp when browser zoom, display
|
|
25
|
+
scale, or monitor changes alter `devicePixelRatio`, without rebuilding retained scene geometry.
|
|
26
|
+
- XY axes now support per-axis `"nice"` / `"exact"` extent modes consistently across domain
|
|
27
|
+
padding, ticks, grids, client SVG, and static SSR — including top- and right-only axis configs.
|
|
28
|
+
- Adaptive time ticks accept IANA time zones, and multi-series tooltips have a first-class
|
|
29
|
+
configuration object with optional custom content.
|
|
31
30
|
|
|
32
31
|
```jsx
|
|
33
|
-
import {
|
|
34
|
-
|
|
35
|
-
<
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
32
|
+
import { LineChart } from "semiotic/xy"
|
|
33
|
+
|
|
34
|
+
<LineChart
|
|
35
|
+
data={salesData}
|
|
36
|
+
xAccessor="month"
|
|
37
|
+
yAccessor="revenue"
|
|
38
|
+
axisExtent="exact"
|
|
39
|
+
frameProps={{
|
|
40
|
+
axes: [{ orient: "left", extent: "nice" }]
|
|
41
|
+
}}
|
|
42
42
|
/>
|
|
43
43
|
```
|
|
44
44
|
|
|
@@ -404,20 +404,20 @@ The numbers below are **first-party artifact cost**: the gzip size of Semiotic's
|
|
|
404
404
|
|
|
405
405
|
| Entry Point | gzip | What's inside |
|
|
406
406
|
|---|---|---|
|
|
407
|
-
| `semiotic/xy` | **
|
|
408
|
-
| `semiotic/ordinal` | **
|
|
409
|
-
| `semiotic/network` | **
|
|
407
|
+
| `semiotic/xy` | **146 KB** | LineChart, AreaChart, Scatterplot, Heatmap, + 8 more XY charts |
|
|
408
|
+
| `semiotic/ordinal` | **122 KB** | BarChart, PieChart, BoxPlot, Histogram, + 11 more categorical charts |
|
|
409
|
+
| `semiotic/network` | **146 KB** | ForceDirectedGraph, SankeyDiagram, ProcessSankey, Treemap, + 4 more |
|
|
410
410
|
| `semiotic/geo` | **104 KB** | ChoroplethMap, FlowMap, DistanceCartogram, ProportionalSymbolMap |
|
|
411
|
-
| `semiotic/realtime` | **
|
|
412
|
-
| `semiotic/realtime/core` | **
|
|
411
|
+
| `semiotic/realtime` | **155 KB** | RealtimeLineChart, RealtimeHistogram, + 4 streaming charts |
|
|
412
|
+
| `semiotic/realtime/core` | **146 KB** | Streaming chart types, HOCs, and buffer helpers |
|
|
413
413
|
| `semiotic/realtime/react` | **1 KB** | Stream status and synced push hooks |
|
|
414
|
-
| `semiotic/server` | **
|
|
415
|
-
| `semiotic/server/node` | **
|
|
416
|
-
| `semiotic/server/edge` | **
|
|
417
|
-
| `semiotic/utils` | **
|
|
414
|
+
| `semiotic/server` | **226 KB** | renderChart, renderDashboard, renderToImage, renderToAnimatedGif |
|
|
415
|
+
| `semiotic/server/node` | **226 KB** | renderChart, renderDashboard, renderToImage, renderToAnimatedGif |
|
|
416
|
+
| `semiotic/server/edge` | **241 KB** | renderChart, renderChartWithEvidence, renderToStaticSVG, renderDashboard |
|
|
417
|
+
| `semiotic/utils` | **86 KB** | ThemeProvider, numeric/accessibility audits, serialization — no chart components |
|
|
418
418
|
| `semiotic/utils/core` | **84 KB** | Pure theme helpers, numeric/accessibility audits, and serialization |
|
|
419
419
|
| `semiotic/utils/react` | **6 KB** | ThemeProvider, useTheme, useReducedMotion, useHighContrast, useStreamStatus |
|
|
420
|
-
| `semiotic/recipes` | **
|
|
420
|
+
| `semiotic/recipes` | **90 KB** | Pure layout functions (waffle, marimekko, flextree, dagre, …) |
|
|
421
421
|
| `semiotic/recipes/core` | **89 KB** | Pure layout functions (waffle, marimekko, flextree, dagre, …) |
|
|
422
422
|
| `semiotic/recipes/react` | **2 KB** | Glyph and React layout-selection helpers |
|
|
423
423
|
| `semiotic/themes` | **7 KB** | Theme presets only (tufte, carbon, etc.) |
|
|
@@ -428,11 +428,11 @@ The numbers below are **first-party artifact cost**: the gzip size of Semiotic's
|
|
|
428
428
|
| `semiotic/physics` | **161 KB** | GaltonBoardChart, EventDropChart, UnitPileChart, CollisionSwarmChart, PacketFlowChart, PhysicsCustomChart |
|
|
429
429
|
| `semiotic/physics/matter` | **1 KB** | Matter.js migration helpers + optional peer guard (no chart components) |
|
|
430
430
|
| `semiotic/physics/rapier` | **1 KB** | Rapier peer guard + adapter decision metadata (no chart components) |
|
|
431
|
-
| `semiotic/ai` | **
|
|
431
|
+
| `semiotic/ai` | **507 KB** | All schema-backed charts + validation — optimized for LLM code generation |
|
|
432
432
|
| `semiotic/ai/core` | **81 KB** | suggestCharts, auditData, describeChart, repairChartConfig, tool adapters — no chart components |
|
|
433
433
|
| `semiotic/controls` | **12 KB** | DirectManipulationControl, CircularBrush, MobileStandardControls, auditVisualizationControls — no frame renderer |
|
|
434
434
|
| `semiotic/rough` | **4 KB** | Optional deterministic Rough.js paint backend — exact Semiotic geometry remains authoritative |
|
|
435
|
-
| `semiotic` | **
|
|
435
|
+
| `semiotic` | **410 KB** | Everything below (full bundle) |
|
|
436
436
|
|
|
437
437
|
<!-- semiotic-bundle-sizes:end -->
|
|
438
438
|
|
|
@@ -453,28 +453,28 @@ Method: fresh `npm pack --ignore-scripts` tarball → temporary consumer → min
|
|
|
453
453
|
|
|
454
454
|
| Public named import | Runtime | gzip cold-consumer bundle |
|
|
455
455
|
|---|---:|---:|
|
|
456
|
-
| `import { LineChart } from "semiotic"` | browser | **
|
|
457
|
-
| `import { LineChart } from "semiotic/xy"` | browser | **
|
|
458
|
-
| `import { BarChart } from "semiotic/ordinal"` | browser | **
|
|
459
|
-
| `import { SankeyDiagram } from "semiotic/network"` | browser | **
|
|
460
|
-
| `import { RealtimeLineChart } from "semiotic/realtime"` | browser | **123.
|
|
461
|
-
| `import { RingBuffer } from "semiotic/realtime/core"` | browser | **171.
|
|
456
|
+
| `import { LineChart } from "semiotic"` | browser | **154.2 KiB** |
|
|
457
|
+
| `import { LineChart } from "semiotic/xy"` | browser | **154.4 KiB** |
|
|
458
|
+
| `import { BarChart } from "semiotic/ordinal"` | browser | **124.5 KiB** |
|
|
459
|
+
| `import { SankeyDiagram } from "semiotic/network"` | browser | **147.0 KiB** |
|
|
460
|
+
| `import { RealtimeLineChart } from "semiotic/realtime"` | browser | **123.9 KiB** |
|
|
461
|
+
| `import { RingBuffer } from "semiotic/realtime/core"` | browser | **171.5 KiB** |
|
|
462
462
|
| `import { useStreamStatus } from "semiotic/realtime/react"` | browser | **0.6 KiB** |
|
|
463
|
-
| `import { GaltonBoardChart } from "semiotic/physics"` | browser | **134.
|
|
463
|
+
| `import { GaltonBoardChart } from "semiotic/physics"` | browser | **134.9 KiB** |
|
|
464
464
|
| `import { MATTER_PHYSICS_CAPABILITIES } from "semiotic/physics/matter"` | browser | **0.2 KiB** |
|
|
465
465
|
| `import { RAPIER_PHYSICS_CAPABILITIES } from "semiotic/physics/rapier"` | browser | **0.2 KiB** |
|
|
466
|
-
| `import { renderChart } from "semiotic/server"` | node | **
|
|
467
|
-
| `import { generateFrameSVGs } from "semiotic/server/edge"` | node | **
|
|
468
|
-
| `import { renderToImage } from "semiotic/server/node"` | node | **
|
|
469
|
-
| `import { suggestCharts } from "semiotic/ai"` | browser | **
|
|
470
|
-
| `import { suggestCharts } from "semiotic/ai/core"` | browser | **36.
|
|
466
|
+
| `import { renderChart } from "semiotic/server"` | node | **287.0 KiB** |
|
|
467
|
+
| `import { generateFrameSVGs } from "semiotic/server/edge"` | node | **166.1 KiB** |
|
|
468
|
+
| `import { renderToImage } from "semiotic/server/node"` | node | **287.4 KiB** |
|
|
469
|
+
| `import { suggestCharts } from "semiotic/ai"` | browser | **194.2 KiB** |
|
|
470
|
+
| `import { suggestCharts } from "semiotic/ai/core"` | browser | **36.5 KiB** |
|
|
471
471
|
| `import { bin } from "semiotic/data"` | browser | **0.4 KiB** |
|
|
472
|
-
| `import { ChoroplethMap } from "semiotic/geo"` | browser | **
|
|
472
|
+
| `import { ChoroplethMap } from "semiotic/geo"` | browser | **109.3 KiB** |
|
|
473
473
|
| `import { createRoughRenderMode } from "semiotic/rough"` | browser | **3.4 KiB** |
|
|
474
474
|
| `import { resolveThemePreset } from "semiotic/themes"` | browser | **3.4 KiB** |
|
|
475
475
|
| `import { resolveThemePreset } from "semiotic/themes/core"` | browser | **3.4 KiB** |
|
|
476
476
|
| `import { ThemeProvider } from "semiotic/themes/react"` | browser | **4.4 KiB** |
|
|
477
|
-
| `import { validateProps } from "semiotic/utils"` | browser | **8.
|
|
477
|
+
| `import { validateProps } from "semiotic/utils"` | browser | **8.6 KiB** |
|
|
478
478
|
| `import { smartTickFormat } from "semiotic/utils/core"` | browser | **0.9 KiB** |
|
|
479
479
|
| `import { useReducedMotion } from "semiotic/utils/react"` | browser | **0.3 KiB** |
|
|
480
480
|
| `import { waffleLayout } from "semiotic/recipes"` | browser | **2.5 KiB** |
|