PageSourceSearch

https://dxf-kit.netlify.app/assets/whatsNew-Cvys6ZCU.js

js dxf-kit.netlify.app collected 2026-10-03 10:40:25 UTC 9,701 bytes, 2 lines download raw bytes

1const t=[{pkg:"dxf-render",version:"1.7.1",text:"Fix — TEXT and MTEXT now render out of the box. createThreeObjectsFromDXF falls back to the embedded default font when no font option is passed, so text no longer silently disappears. Pass options.font only to override with a custom font. (#13)"},{pkg:"dxf-react",version:"0.1.0",text:"New package dxf-react — a React 18+ wrapper at feature parity with dxf-vuer. <DXFViewer> plus toolbar / layer panel / properties panel, standalone hooks, render-props, a forwardRef imperative handle, and controlled measureMode / hiddenLayers. Works on React 18 and 19."},{pkg:"dxf-lit",version:"0.1.0",text:"New package dxf-lit — a <dxf-viewer> Web Component (built on Lit) that works in any stack: Angular, Svelte, plain HTML, or no framework. Attributes / properties in, Custom Events + methods out, Shadow-DOM theming via --dxfk-* variables and ::part()."},{pkg:"dxf-vuer",version:"3.0.0",text:"Measurement tools — distance, area (+ perimeter) and a 3-point directed angle, selected via v-model:measure-mode. Geometry snap (endpoint / midpoint / center / quadrant / node) with an AutoCAD-style marker keeps clicks on real geometry; labels are $INSUNITS-aware."},{pkg:"dxf-vuer",version:"3.0.0",text:"Rectangle selection — hold a modifier and drag to select many entities at once; AutoCAD direction-based mode (L→R window solid blue, R→L crossing dashed green). New entities-select / selection-start / selection-end events."},{pkg:"dxf-vuer",version:"3.0.0",text:"Rulers and a properties panel — opt-in DPI-aware rulers (zoom-adaptive ticks, mm / inch / dxf-units) and a read-only <PropertiesPanel> for the picked entity (General + per-type Geometry + Text). getEntityProperties() exported for custom layouts."},{pkg:"dxf-vuer",version:"3.0.0",text:"Layer power-ups — auto-grouping by name prefix (A-WALL, A-DOOR → group A) with batch toggles, controlled v-model:hidden-layers, layer-row hover highlight, and a precise geometric highlight that traces the entity outline instead of a bounding box."},{pkg:"dxf-vuer",version:"3.0.0",text:"classes prop on <DXFViewer> — Headless UI-style class map for ~10 root elements (root, toolbar, layerPanel, fileNameOverlay, coordinatesOverlay, debugOverlay, loadingOverlay, errorOverlay, dropOverlay, emptyStateOverlay). Tailwind / utility-CSS finally first-class, no :deep() workarounds."},{pkg:"dxf-vuer",version:"3.0.0",text:"Stable .dxfk-* hook classes — every overlay and component root has a single-class, low-specificity selector (specificity 0,1,0) safe for plain CSS overrides and Tailwind @apply. Documented in README → Customizing styles. Breaking: classes and CSS variables renamed (.dxf-viewer → .dxfk-viewer, --dxf-vuer-* → --dxfk-*), child components own their dark-theme styles via a darkTheme prop instead of parent :deep() — see migration table."},{pkg:"dxf-render",version:"1.7.0",text:"Interaction primitives — buildHighlightGeometry (precise entity outlines), findSnapPoint / getEntitySnapPoints (CAD object snap), and findEntriesInRect (window / crossing rectangle test). Framework-agnostic building blocks behind the new measurement, snap and rectangle-selection tools."},{pkg:"dxf-render",version:"1.7.0",text:"Measurement & layer utilities — measureDistance / measureArea / measurePerimeter / measureAngle / measureDirectedAngle (+ polygonSelfIntersects), groupLayersByPrefix for layer-panel auto-grouping, and getUnitsToMmFactor($INSUNITS) for unit-aware labels."},{pkg:"dxf-render",version:"1.7.0",text:"ACAD_GROUP support — the OBJECTS parser now reads named GROUP records (new DxfGroup type), and buildAssociations emits 'group' links so picking a grouped entity can highlight the whole group."},{pkg:"dxf-interaction",version:"0.1.0",text:"New package dxf-interaction — the framework-agnostic interaction controllers (measure / snap / picking / highlight / rectangle-select) shared by dxf-vuer, dxf-react and dxf-lit. Install it directly only when building your own wrapper over dxf-render; otherwise it ships transitively."},{pkg:"dxf-render",version:"1.6.0",text:"REGION entities now render their contour by borrowing the boundary edges of any HATCH that references them as a source object (DXF codes 97/330) — no ACIS decoding needed. The REGION becomes pickable too, so hatched details with a REGION outline (common in AutoCAD-built profile drawings) finally show their visible boundary and fire entity-hover / entity-click events."},{pkg:"dxf-render",version:"1.6.0",text:"Standard AutoCAD arrowhead blocks at DIMENSION endpoints and on LEADER / MULTILEADER tips — all 18 names now supported: filled / blank dots, ticks, boxes, origin rings, integral, open arrows at 30° / 90°, datum, and none. Previously only ticks were recognised; everything else collapsed to a default triangle."},{pkg:"dxf-render",version:"1.6.0",text:"MTEXT inline scoped formatting — \\C, \\H, \\f, \\L\\l, \\O\\o, \\K\\k inside brace groups {…} now apply only to that scope and revert on the closing brace. Each line is a list of MTextRun segments with per-run color / height / bold / italic / font / underline / overline / strikethrough. \\W<n>; (width factor) and \\Q<n>; (obliquing angle) are now honored too."},{pkg:"dxf-vuer",version:"2.6.0",text:"persistLayersKey prop — remember which layers were hidden across reloads via localStorage, scoped per file"},{pkg:"dxf-vuer",version:"2.6.0",text:"viewer.zoomToLayer(layerName) — fit the camera to a single layer; ARIA roles/labels added to toolbar, layer panel, and status overlays"},{pkg:"dxf-render",version:"1.5.0",text:"getZoomBoxForLayer / findEntitiesByLayer / findEntitiesByType — three pure utilities for layer- and type-based zoom and search"},{pkg:"dxf-vuer",version:"2.5.0",text:"Hover and click individual entities — entity-hover / entity-click events with handle, type, layer, text, and full parsed entity payload"},{pkg:"dxf-vuer",version:"2.5.0",text:"Semantic associations — events and the built-in highlight automatically expand to all members of MLEADER, LEADER↔TEXT (DXF 340), INSERT+ATTRIB, and DIMENSION groups"},{pkg:"dxf-vuer",version:"2.5.0",text:"Imperative API on viewer ref — highlight(handles[]), clearHighlight(), getAssociations(), findAssociationsByHandle(), zoomToEntity(handles[]), getPickingIndex() — sync selection, camera, and search results with AG Grid or any external UI"},{pkg:"dxf-vuer",version:"2.5.0",text:"New props pickingEnabled, highlightOnHover, highlightAssociated, highlightColor — opt-in interactivity, no overhead when disabled"},{pkg:"dxf-render",version:"1.4.0",text:"Picking primitives — buildPickingIndex(dxf), createPickingGroup(index, offset), buildEntityIndex(dxf), extractEntityText(entity) — framework-agnostic raycasting building blocks"},{pkg:"dxf-render",version:"1.4.0",text:"getZoomBox(pickingIndex, handles, options?) and findEntitiesByText(dxf, query, options?) — pure utilities for zoom-to-entity and full-text search across all entity text content"},{pkg:"dxf-render",version:"1.4.0",text:"buildAssociations(dxf) — pure function deriving entity links strictly from DXF data (no geometric heuristics): MLEADER, LEADER, INSERT+ATTRIB, DIMENSION"},{pkg:"dxf-render",version:"1.4.0",text:"LEADER parser now extracts annotationHandle (DXF code 340) for linking to TEXT/MTEXT annotations"},{pkg:"dxf-vuer",version:"2.4.0",text:"Configurable antialiasing — MSAA (default), SMAA, FXAA, TAA, SSAA, or none — pick the right tradeoff for your drawing"},{pkg:"dxf-vuer",version:"2.4.0",text:"Layers panel filter — text search by name, auto-shown for drawings with more than 5 layers"},{pkg:"dxf-vuer",version:"2.4.0",text:"loadDXFFromBuffer / loadDXFFromBlob — load drawings from storage SDKs, IndexedDB, or fetch().blob() with UTF-8 / UTF-16 BOM auto-detection"},{pkg:"dxf-vuer",version:"2.4.0",text:"Respects prefers-reduced-motion — TAA accumulation loop is skipped for users who opted into reduced motion"},{pkg:"dxf-vuer",version:"2.4.0",text:"showLayerPanel prop — programmatically hide the layers panel"},{pkg:"dxf-render",version:"1.3.0",text:"Configurable antialiasing pipeline — framework-agnostic factories createRenderer / createComposer / isReducedMotionPreferred for use in React, Svelte, or vanilla JS, with the same AA palette that powers dxf-vuer"},{pkg:"dxf-render",version:"1.3.0",text:"Browser bundling fix — package.json browser.fs=false eliminates 'Could not resolve fs' errors with Vite/esbuild/Angular CLI by stripping opentype.js's Node-only file-system branch"},{pkg:"dxf-render",version:"1.2.0",text:"Variable-width polylines with per-vertex tapering, arrows, and donuts"},{pkg:"dxf-render",version:"1.2.0",text:"GIS origin translation — large UTM/state plane coordinates without precision loss"},{pkg:"dxf-render",version:"1.2.0",text:"Touch support — native one-finger pan on mobile devices"},{pkg:"dxf-render",version:"1.1.0",text:"Theme-adaptive ACI 250-251 colors — dark grays invert in dark mode"}
1,{pkg:"dxf-vuer",version:"1.5.0",text:"TAA anti-aliasing — 32-frame temporal accumulation for crisp text and edges"},{pkg:"dxf-vuer",version:"1.5.0",text:"Instant dark mode — theme switching without full re-render"},{pkg:"dxf-vuer",version:"1.4.0",text:"MLINE, XLINE, RAY entities — multilines and construction lines"},{pkg:"dxf-vuer",version:"1.4.0",text:"25 built-in hatch patterns with solid fill optimization (86× faster)"}],r=new Set(["[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]"]),n=t.filter(e=>r.has(`${e.pkg}@${e.version}`));export{n as l,t as w};
2//# sourceMappingURL=whatsNew-Cvys6ZCU.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.