@umriss-ui/calculation 0.5.2 → 0.6.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 +43 -0
- package/README.md +12 -4
- package/dist/calculation.css +1 -1
- package/dist/calculation.js +389 -368
- package/dist/index.d.ts +9 -1
- package/docs/llms-full.md +614 -49
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -153,6 +153,13 @@ export declare interface QuantityProps {
|
|
|
153
153
|
/** Content of the caller's own beside the line - a sparkline, a link. It
|
|
154
154
|
never takes part in the calculation. */
|
|
155
155
|
aside?: ReactNode;
|
|
156
|
+
/** How much the line stands out among the others (ADR-0049): `strong` to
|
|
157
|
+
be read first, `muted` to recede - a muted line still counts in full.
|
|
158
|
+
Not on the Result, which is already the heaviest line. */
|
|
159
|
+
emphasis?: "strong" | "muted";
|
|
160
|
+
/** `above` rules the line off from the ones before it, where a section
|
|
161
|
+
starts that is not an interim. Not on the Result. */
|
|
162
|
+
rule?: "above";
|
|
156
163
|
}
|
|
157
164
|
|
|
158
165
|
/** Exactly two operands: the first divided by the second. */
|
|
@@ -167,7 +174,8 @@ export declare interface RefProps {
|
|
|
167
174
|
to: string;
|
|
168
175
|
}
|
|
169
176
|
|
|
170
|
-
/** The sum of
|
|
177
|
+
/** The sum of its operands, however many: rows from data, one or none
|
|
178
|
+
included. The sum of none is zero, and its line says it has no entries. */
|
|
171
179
|
export declare const Sum: (props: OperatorProps) => null;
|
|
172
180
|
|
|
173
181
|
/** Multiplies the named value before it by its operand. */
|