@umriss-ui/core 0.29.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/docs/llms-full.md CHANGED
@@ -1,4 +1,4 @@
1
- # @umriss-ui/core 0.29.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)} />}
@@ -4782,7 +4784,7 @@ Also takes every attribute of `<div>`.
4782
4784
 
4783
4785
  | Prop | Type | Default | Description |
4784
4786
  |---|---|---|---|
4785
- | `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 |
4786
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 |
4787
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 |
4788
4790
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umriss-ui/core",
3
- "version": "0.29.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",