@umriss-ui/core 0.3.0 → 0.3.1

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +18 -7
  2. package/README.md +14 -4
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -50,6 +50,19 @@ module on the caller's side that carries `"use client"` and imports from there.
50
50
 
51
51
  ---
52
52
 
53
+ ## 0.3.1 – The README catches up (Sep. 2026)
54
+
55
+ Nothing in the code changed. The README that shipped with `0.3.0` still said
56
+ the formats default to German notation, and so did the line on `NumberInput`;
57
+ both describe ADR-0024 now, with the import that takes `GERMAN_FORMATS` beside
58
+ `GERMAN_WORDING`.
59
+
60
+ The `0.3.0` entry below listed `formatsFor(locale)` as added. It is not
61
+ exported — it builds `DEFAULT_FORMATS` and `GERMAN_FORMATS` inside the package
62
+ and nothing else — and the entry is gone.
63
+
64
+ ---
65
+
53
66
  ## 0.3.0 – English formats, and the context menu (Sep. 2026)
54
67
 
55
68
  ### Changed
@@ -78,9 +91,6 @@ module on the caller's side that carries `"use client"` and imports from there.
78
91
 
79
92
  ### Added
80
93
 
81
- - **`formatsFor(locale)`** builds a complete `Formats` for a locale - the
82
- product's options (day first, two digits, 24-hour clock, per cent without
83
- decimals) over the locale's separators and words.
84
94
  - **`separatorsOf(formats)`** and `DEFAULT_SEPARATORS`: the group and decimal
85
95
  separator a notation writes, measured rather than declared.
86
96
  - **Three wording entries for `@umriss-ui/schedule`'s lane groups**:
@@ -89,11 +99,12 @@ module on the caller's side that carries `"use client"` and imports from there.
89
99
  `Wording` of its own gains three required entries — which the type says, at
90
100
  compile time, as it is meant to (ADR-0019).
91
101
 
92
- ### The first release that is not a candidate
102
+ ### Released together
93
103
 
94
- `@umriss-ui/core` was already on `latest`; `@umriss-ui/charts` and
95
- `@umriss-ui/schedule` join it with this delivery, and the three are released
96
- together because the schedule stands on both.
104
+ `@umriss-ui/core` was already on `latest`; `@umriss-ui/charts`,
105
+ `@umriss-ui/table` and `@umriss-ui/schedule` join it with this delivery, and
106
+ the four are released together: the schedule stands on core and charts, and the
107
+ table's candidate peered on `^0.2.0` and would have refused this core.
97
108
 
98
109
  ## The context menu (Sep. 2026)
99
110
 
package/README.md CHANGED
@@ -5,7 +5,7 @@ Guiding idea: **precise and quiet, with palpable quality** – depth comes from
5
5
  soft shadows and fine light edges, not from hard outlines or effects.
6
6
 
7
7
  The design language — "Ink & Paper", the dark theme, motion — is written down
8
- once for all three packages in [`../../docs/design-language.md`](../../docs/design-language.md).
8
+ once for all four packages in [`../../docs/design-language.md`](../../docs/design-language.md).
9
9
 
10
10
  ## Use
11
11
 
@@ -82,8 +82,18 @@ import { GERMAN_WORDING } from "@umriss-ui/core/wording/de";
82
82
  ```
83
83
 
84
84
  Both objects are typed `Wording`, so a missing entry is a compile error rather
85
- than a gap that shows up in the interface (ADR-0018, ADR-0019). The formats are
86
- a separate seam and still default to German notation.
85
+ than a gap that shows up in the interface (ADR-0018, ADR-0019).
86
+
87
+ The formats — dates, numbers, durations — are a seam of their own. The default
88
+ is English notation on a 24-hour clock (`17/03/2026`, `09:05`, `1,234.5`), and
89
+ the same subpath ships `GERMAN_FORMATS` beside the German wording, so a German
90
+ application takes both halves of its language in one import (ADR-0024):
91
+
92
+ ```tsx
93
+ import { GERMAN_FORMATS, GERMAN_WORDING } from "@umriss-ui/core/wording/de";
94
+
95
+ <UmrissProvider language={{ wording: GERMAN_WORDING, formats: GERMAN_FORMATS }}>…</UmrissProvider>;
96
+ ```
87
97
 
88
98
  ## Components
89
99
 
@@ -122,7 +132,7 @@ The table and the alarm list are not part of this package. They live in
122
132
  | `MultiSelect` | multiple selection: the field always stays on one line and measures the space (as many chips as fit, the rest as "+N"); chips are remove buttons (hover shows ×, a click deletes, backspace deletes the last, roving tabindex with arrow keys), and the "+N" counter opens the selected view directly; a panel with a search field (autofocus, Enter toggles the first hit), a view switch "all \| selected (N)" (the list always in natural order, deselected rows stay visible in the selected view until the view changes), and all/none/invert acting on the filtered set of the active view |
123
133
  | `Card` / `CardHeader` / `CardBody` | panels with an eyebrow, actions, optionally collapsible; `flush` for borderless tables; a dividing line under the head only through `divider` (for borderless data) – otherwise white space carries the hierarchy |
124
134
  | `Badge` | a status label with a dot, five tones; slightly rounded by default, `pill` for counters |
125
- | `NumberInput` | numeric input in the notation the formats seam provides, today German (comma, thousands dots on leaving the field), `decimals` (0 = whole numbers), `min`/`max`, arrow keys with Shift ×10, an integrated spinner column at the right inner edge, `prefix`/`suffix` adornments (€, %) |
135
+ | `NumberInput` | numeric input in the notation the formats seam provides (group separators on leaving the field; it reads back what it writes, whatever the notation), `decimals` (0 = whole numbers), `min`/`max`, arrow keys with Shift ×10, an integrated spinner column at the right inner edge, `prefix`/`suffix` adornments (€, %) |
126
136
  | `Meter` | a narrow fill bar (0–1) with a mono percentage label, five tones – for utilisation in cells; `label` names what is being measured |
127
137
  | `UmrissProvider` | one place to set things: density, portal target, toasts, language. **Optional** – without it everything behaves as it does unconfigured. It holds no theme (light and dark are the application's `color-scheme`) and writes nothing onto the document |
128
138
  | `LanguageProvider` / `useFormats` / `useWording` | formatting and wording as an overridable seam; the wording is a directory of entries, not a translation call. English is the default, German ships as `@umriss-ui/core/wording/de` |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umriss-ui/core",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "A React component library for data-dense applications - precise, quiet, professional.",
5
5
  "license": "MIT",
6
6
  "author": "Roman Händler",