@toolpath/dfm 0.2.0 → 0.3.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/README.md +4 -0
- package/dist/index.d.ts +6 -1
- package/dist/index.js +520 -377
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -77,6 +77,10 @@ lower-cased feature tag; `regionAreas` is each face's area by region index.
|
|
|
77
77
|
Put `ruleListKeys` on the panel that holds the list, so the arrow keys walk the
|
|
78
78
|
rules from anywhere in it.
|
|
79
79
|
|
|
80
|
+
`actions` puts the app's own buttons at the end of the footer's row, after
|
|
81
|
+
Import…, Export and Copy LLM prompt — a way back to the app's default rules,
|
|
82
|
+
say, since the package has none of its own.
|
|
83
|
+
|
|
80
84
|
## Reach chart
|
|
81
85
|
|
|
82
86
|
`ReachChart` draws a feature's reach curve: the section through the part at the
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { FC, KeyboardEvent, Ref, ComponentType,
|
|
2
|
+
import { ReactNode, FC, KeyboardEvent, Ref, ComponentType, ReactElement, HTMLAttributes } from 'react';
|
|
3
3
|
import { D as DfmRule, a as DfmCheck, b as DfmFeature, F as FeatureSheets, U as Units, R as ReachCurve, c as FeatureProfile, B as BrokenRule, M as Measurement, d as FeatureRecord } from './feature-record-BUoFFjN6.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -32,6 +32,11 @@ interface RuleListProps {
|
|
|
32
32
|
selectedGroup: readonly string[] | null;
|
|
33
33
|
onInspect: (tag: string, group?: readonly string[]) => void;
|
|
34
34
|
onHover: (hovered: Hovered) => void;
|
|
35
|
+
/**
|
|
36
|
+
* At the end of the footer's row, after Copy LLM prompt: the app's own
|
|
37
|
+
* buttons — a way back to its default rules, say.
|
|
38
|
+
*/
|
|
39
|
+
actions?: ReactNode;
|
|
35
40
|
}
|
|
36
41
|
|
|
37
42
|
/**
|