@umriss-ui/core 0.28.0 → 0.30.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/dist/de.d.ts CHANGED
@@ -565,6 +565,9 @@ declare interface Wording {
565
565
  /** On a folded line whose operator has more operands than are written out
566
566
  beneath it (ADR-0028): how many there are. */
567
567
  calculationOperandCount: (count: number) => string;
568
+ /** On the line of a sum with no operands, where its formula would stand
569
+ (ADR-0049). */
570
+ calculationNoOperands: string;
568
571
  }
569
572
 
570
573
  export { }
package/dist/index.d.ts CHANGED
@@ -3291,6 +3291,9 @@ export declare interface Wording {
3291
3291
  /** On a folded line whose operator has more operands than are written out
3292
3292
  beneath it (ADR-0028): how many there are. */
3293
3293
  calculationOperandCount: (count: number) => string;
3294
+ /** On the line of a sum with no operands, where its formula would stand
3295
+ (ADR-0049). */
3296
+ calculationNoOperands: string;
3294
3297
  }
3295
3298
 
3296
3299
  export { }
@@ -300,7 +300,8 @@ const c = o("de-DE"), d = {
300
300
  calculationSource: (e) => `Quelle: ${e}`,
301
301
  calculationShowDerivation: (e) => `Herleitung von ${e} zeigen`,
302
302
  calculationHideDerivation: (e) => `Herleitung von ${e} verbergen`,
303
- calculationOperandCount: (e) => `${e} Operanden`
303
+ calculationOperandCount: (e) => `${e} Operanden`,
304
+ calculationNoOperands: "keine Einträge"
304
305
  };
305
306
  export {
306
307
  c as GERMAN_FORMATS,
package/docs/llms-full.md CHANGED
@@ -1,4 +1,4 @@
1
- # @umriss-ui/core 0.28.0
1
+ # @umriss-ui/core 0.30.0
2
2
 
3
3
  > React component library for data-dense dashboards and tools - forms, date pickers, overlays, a tree view and a command palette. Precise, quiet, professional.
4
4
 
@@ -2097,8 +2097,8 @@ const REGIONS = [
2097
2097
  { id: "room-status", title: "Line status" },
2098
2098
  { id: "room-trend", title: "Kiln trend" },
2099
2099
  { id: "room-alarms", title: "Alarms" },
2100
- { id: "room-quality", title: "Tile length" },
2101
2100
  { id: "room-plan", title: "Plan" },
2101
+ { id: "room-quality", title: "Tile length" },
2102
2102
  { id: "room-oee", title: "OEE so far" },
2103
2103
  ] as const;
2104
2104
 
@@ -2239,25 +2239,6 @@ export default function ControlRoom() {
2239
2239
  />
2240
2240
  </Region>
2241
2241
 
2242
- <Region id="room-quality" title="Tile length">
2243
- <tileLength.Chart height={220} ariaLabel="Tile length after firing, individuals chart">
2244
- <tileLength.XAxis value="t" domain={[at(0), at(LAST)]} time />
2245
- <tileLength.YAxis domain={[597, 602]} label="mm" />
2246
- <LimitLine value={601.5} severity="alarm" label="USL" />
2247
- <LimitLine value={598.5} severity="alarm" label="LSL" />
2248
- <ControlChart
2249
- value="length"
2250
- data={measured}
2251
- origin={REFERENCE}
2252
- name="Length"
2253
- labelUpper="UCL"
2254
- labelLower="LCL"
2255
- violationName="Length - rule violation"
2256
- />
2257
- <Tooltip mode="x" />
2258
- </tileLength.Chart>
2259
- </Region>
2260
-
2261
2242
  <Region
2262
2243
  id="room-plan"
2263
2244
  title="Plan"
@@ -2283,30 +2264,51 @@ export default function ControlRoom() {
2283
2264
  </Schedule>
2284
2265
  </Region>
2285
2266
 
2286
- <Region id="room-oee" title="OEE so far" callout="6">
2287
- <Calculation aria-label="OEE of the shift so far">
2288
- <Product label="OEE" format="percent" target={OEE_TARGET}>
2289
- <Quotient label="Availability" format="percent">
2290
- <Difference id="runtime" label="Run time" unit="min">
2291
- <Given id="planned" label="Planned production time" value={count.planned} unit="min" />
2292
- <Given label="Downtime" value={count.downtime} unit="min" />
2293
- </Difference>
2294
- <Ref to="planned" />
2295
- </Quotient>
2296
- <Quotient label="Performance" format="percent">
2297
- <Product label="Ideal run time" unit="min">
2298
- <Given label="Ideal cycle time" value={IDEAL_CYCLE_MINUTES} unit="min/pc" />
2299
- <Given id="total" label="Total count" value={count.total} unit="pcs" />
2300
- </Product>
2301
- <Ref to="runtime" />
2302
- </Quotient>
2303
- <Quotient label="Quality" format="percent">
2304
- <Given label="Good count" value={count.good} unit="pcs" />
2305
- <Ref to="total" />
2306
- </Quotient>
2307
- </Product>
2308
- </Calculation>
2309
- </Region>
2267
+ <Grid columns={2} gap={4}>
2268
+ <Region id="room-quality" title="Tile length">
2269
+ <tileLength.Chart ariaLabel="Tile length after firing, individuals chart">
2270
+ <tileLength.XAxis value="t" domain={[at(0), at(LAST)]} time />
2271
+ <tileLength.YAxis domain={[597, 602]} label="mm" />
2272
+ <LimitLine value={601.5} severity="alarm" label="USL" />
2273
+ <LimitLine value={598.5} severity="alarm" label="LSL" />
2274
+ <ControlChart
2275
+ value="length"
2276
+ data={measured}
2277
+ origin={REFERENCE}
2278
+ name="Length"
2279
+ labelUpper="UCL"
2280
+ labelLower="LCL"
2281
+ violationName="Length - rule violation"
2282
+ />
2283
+ <Tooltip mode="x" />
2284
+ </tileLength.Chart>
2285
+ </Region>
2286
+
2287
+ <Region id="room-oee" title="OEE so far" callout="6">
2288
+ <Calculation aria-label="OEE of the shift so far">
2289
+ <Product label="OEE" format="percent" target={OEE_TARGET}>
2290
+ <Quotient label="Availability" format="percent">
2291
+ <Difference id="runtime" label="Run time" unit="min">
2292
+ <Given id="planned" label="Planned production time" value={count.planned} unit="min" />
2293
+ <Given label="Downtime" value={count.downtime} unit="min" />
2294
+ </Difference>
2295
+ <Ref to="planned" />
2296
+ </Quotient>
2297
+ <Quotient label="Performance" format="percent">
2298
+ <Product label="Ideal run time" unit="min">
2299
+ <Given label="Ideal cycle time" value={IDEAL_CYCLE_MINUTES} unit="min/pc" />
2300
+ <Given id="total" label="Total count" value={count.total} unit="pcs" />
2301
+ </Product>
2302
+ <Ref to="runtime" />
2303
+ </Quotient>
2304
+ <Quotient label="Quality" format="percent">
2305
+ <Given label="Good count" value={count.good} unit="pcs" />
2306
+ <Ref to="total" />
2307
+ </Quotient>
2308
+ </Product>
2309
+ </Calculation>
2310
+ </Region>
2311
+ </Grid>
2310
2312
 
2311
2313
  <Drawer open={details} onClose={() => setDetails(false)}>
2312
2314
  {chosen !== undefined && <BatchDetails batch={chosen} minute={minute} onClose={() => setDetails(false)} />}
@@ -4069,6 +4071,7 @@ Every entry of `Wording`: the English of `DEFAULT_WORDING` beside the German of
4069
4071
  | `calculationShowDerivation(label)` | `` `Show how ${label} is derived` `` | `` `Herleitung von ${label} zeigen` `` | The disclosure button of a derivation, named after the quantity. |
4070
4072
  | `calculationHideDerivation(label)` | `` `Hide how ${label} is derived` `` | `` `Herleitung von ${label} verbergen` `` | — |
4071
4073
  | `calculationOperandCount(count)` | `` `${count} operands` `` | `` `${count} Operanden` `` | On a folded line whose operator has more operands than are written out beneath it ([ADR-0028](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0028-a-calculation-is-a-tree-or-a-chain.md)): how many there are. |
4074
+ | `calculationNoOperands` | no entries | keine Einträge | On the line of a sum with no operands, where its formula would stand ([ADR-0049](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0049-a-sum-takes-rows-from-data.md)). |
4072
4075
 
4073
4076
  #### Charts wording
4074
4077
 
@@ -4458,6 +4461,7 @@ Everything the library puts out as text.
4458
4461
  | `calculationShowDerivation` *required* | `(label: string) => string` | — | The disclosure button of a derivation, named after the quantity. |
4459
4462
  | `calculationHideDerivation` *required* | `(label: string) => string` | — | |
4460
4463
  | `calculationOperandCount` *required* | `(count: number) => string` | — | On a folded line whose operator has more operands than are written out beneath it ([ADR-0028](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0028-a-calculation-is-a-tree-or-a-chain.md)): how many there are. |
4464
+ | `calculationNoOperands` *required* | `string` | — | On the line of a sum with no operands, where its formula would stand ([ADR-0049](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0049-a-sum-takes-rows-from-data.md)). |
4461
4465
 
4462
4466
  #### Known limits
4463
4467
 
@@ -4780,7 +4784,7 @@ Also takes every attribute of `<div>`.
4780
4784
 
4781
4785
  | Prop | Type | Default | Description |
4782
4786
  |---|---|---|---|
4783
- | `columns` | `number \| readonly `[`GridColumnWidth`](#type-GridColumnWidth)`[]` | `2` | How many columns, all of one width - or a list with one width per column: a number in pixels, or `"fill"` for a share of what is left. Overridden by minItemWidth.<br>Shown in: [Fixed columns](#/stack-and-grid/fixed-columns), [Columns of their own widths](#/stack-and-grid/columns-of-their-own-widths), [A token for one region (Theming)](#/theming/a-token-for-one-region) and 3 more |
4787
+ | `columns` | `number \| readonly `[`GridColumnWidth`](#type-GridColumnWidth)`[]` | `2` | How many columns, all of one width - or a list with one width per column: a number in pixels, or `"fill"` for a share of what is left. Overridden by minItemWidth.<br>Shown in: [Fixed columns](#/stack-and-grid/fixed-columns), [Columns of their own widths](#/stack-and-grid/columns-of-their-own-widths), [A token for one region (Theming)](#/theming/a-token-for-one-region) and 4 more |
4784
4788
  | `minItemWidth` | `string` | — | Responsive: as many columns as fit at this minimum width; wins over `columns`, a list included.<br>Shown in: [Columns by width](#/stack-and-grid/columns-by-width), [A tour summary](#/stack-and-grid/a-tour-summary), [A dark region (Theming)](#/theming/a-dark-region) and 51 more |
4785
4789
  | `gap` | [`SpaceStep`](#type-SpaceStep)<br>`1 \| 2 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8` | `4` | Spacing as a step of the 4 px spacing steps (1–8); applies in both directions.<br>Shown in: [Fixed columns](#/stack-and-grid/fixed-columns), [Columns by width](#/stack-and-grid/columns-by-width), [Columns of their own widths](#/stack-and-grid/columns-of-their-own-widths) and 57 more |
4786
4790
 
@@ -20541,6 +20545,7 @@ Everything the library puts out as text.
20541
20545
  | `calculationShowDerivation` *required* | `(label: string) => string` | — | The disclosure button of a derivation, named after the quantity. |
20542
20546
  | `calculationHideDerivation` *required* | `(label: string) => string` | — | |
20543
20547
  | `calculationOperandCount` *required* | `(count: number) => string` | — | On a folded line whose operator has more operands than are written out beneath it ([ADR-0028](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0028-a-calculation-is-a-tree-or-a-chain.md)): how many there are. |
20548
+ | `calculationNoOperands` *required* | `string` | — | On the line of a sum with no operands, where its formula would stand ([ADR-0049](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0049-a-sum-takes-rows-from-data.md)). |
20544
20549
 
20545
20550
  Used on [Language](#/language).
20546
20551
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umriss-ui/core",
3
- "version": "0.28.0",
3
+ "version": "0.30.0",
4
4
  "description": "React component library for data-dense dashboards and tools - forms, date pickers, overlays, a tree view and a command palette. Precise, quiet, professional.",
5
5
  "license": "MIT",
6
6
  "author": "Roman Händler",