@reopt-ai/opt-ui 1.12.4 → 1.13.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 +236 -0
- package/COMPONENT_CATALOG.md +290 -111
- package/dist/core/index.cjs +13 -13
- package/dist/core/index.d.cts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.js +2 -2
- package/dist/docs/02-components/01-core.md +49 -49
- package/dist/docs/02-components/02-visuals.md +1 -1
- package/dist/docs/02-components/03-shells.md +260 -63
- package/dist/docs/02-components/04-surfaces.md +1 -1
- package/dist/docs/02-components/index.md +4 -4
- package/dist/{field-sidebar-C8bDzGPs.js → field-sidebar-CRdToHRO.js} +3975 -235
- package/dist/{field-sidebar-DX5wP0qn.cjs → field-sidebar-CxxSK4JO.cjs} +4338 -244
- package/dist/{field-sidebar-Ct8c9L4V.d.cts → field-sidebar-D-rwuN_w.d.cts} +824 -2
- package/dist/{field-sidebar-YaWHfLLW.d.ts → field-sidebar-Dz7J4ett.d.ts} +824 -2
- package/dist/id-registry.cjs +72 -0
- package/dist/id-registry.js +72 -0
- package/dist/id-registry.json +153 -0
- package/dist/index.cjs +334 -1419
- package/dist/index.d.cts +51 -86
- package/dist/index.d.ts +51 -86
- package/dist/index.js +248 -1356
- package/dist/{key-pad-menu-1YN221Oi.cjs → key-pad-menu-0KWOnELe.cjs} +53 -483
- package/dist/{key-pad-menu-CwcY_Vps.d.cts → key-pad-menu-BOVu97bj.d.cts} +4 -55
- package/dist/{key-pad-menu-CUiQ-vKw.js → key-pad-menu-DMmbQ1jF.js} +54 -418
- package/dist/{key-pad-menu-WBJShCJn.d.ts → key-pad-menu-NlZ9zNF8.d.ts} +4 -55
- package/dist/meta.cjs +896 -7
- package/dist/meta.js +896 -7
- package/dist/shells/index.cjs +20 -1
- package/dist/shells/index.d.cts +2 -2
- package/dist/shells/index.d.ts +2 -2
- package/dist/shells/index.js +2 -2
- package/dist/{text-truncate-BFWd2cE_.js → text-truncate-Bd-0WkSP.js} +463 -99
- package/dist/{text-truncate-DsG5UAOY.cjs → text-truncate-BeYW6XZu.cjs} +525 -101
- package/dist/{text-truncate-CQyfUZvq.d.cts → text-truncate-eMzvU_7k.d.cts} +52 -1
- package/dist/{text-truncate-CQyfUZvq.d.ts → text-truncate-eMzvU_7k.d.ts} +52 -1
- package/dist/theme/server.cjs +2 -2
- package/dist/theme/server.js +2 -2
- package/package.json +6 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,10 +7,246 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.13.0] - 2026-09-05
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- `QueryWorkspace`, `SchemaTree`, `QueryToolbar`, `QueryOutputPane`,
|
|
15
|
+
`QueryResultChart`, `QueryFiltersMenu`, `QueryVariablesMenu`,
|
|
16
|
+
`QueryHistoryList` and `SaveQueryDialog` — the shells a SQL query page
|
|
17
|
+
composes: the three-pane frame, the schema with insert-at-cursor and
|
|
18
|
+
preview, a run button that carries its state, results as table, chart or
|
|
19
|
+
split with a cost status bar, `{filters}` / `{variables}` menus, run
|
|
20
|
+
history and a save dialog that pages through statements.
|
|
21
|
+
- `splitSqlStatements`, `sqlStatementAtOffset`, `sqlUsesPlaceholder`,
|
|
22
|
+
`replaceSqlPlaceholder` and `sqlPlaceholderNames`, which skip strings and
|
|
23
|
+
comments so a `;` inside a literal never splits a query.
|
|
24
|
+
|
|
10
25
|
### Changed
|
|
11
26
|
|
|
27
|
+
- `SqlEditor` exposes an imperative handle (`insertText`, `getSelection`,
|
|
28
|
+
`getCursorOffset`), passes the selection and cursor offset to `onRun`,
|
|
29
|
+
follows the theme (`theme="auto"` reads the provider's resolved mode),
|
|
30
|
+
shows line numbers and offers undo/redo through the optional
|
|
31
|
+
`@codemirror/commands` peer.
|
|
32
|
+
- `QueryResultsTable` is rebuilt: typed column headers, local sort with
|
|
33
|
+
`aria-sort`, drag-to-resize columns, windowed rows, a row detail flyout, and
|
|
34
|
+
cells that write `NULL`, booleans and JSON out. Plain string columns still
|
|
35
|
+
work.
|
|
12
36
|
- Drawer slide animations now reference `OPT_ANIMATE_DRAWER` tokens in `lib/styles.ts` instead of inline `slideIn` definitions. Runtime behavior unchanged.
|
|
13
37
|
|
|
38
|
+
## [1.12.5] - 2026-09-02
|
|
39
|
+
|
|
40
|
+
### Added
|
|
41
|
+
|
|
42
|
+
- `Callout`, `CopyButton`, `StatusDot`, `SegmentedControl`, `CatalogFrame`,
|
|
43
|
+
`InspectorLayout` and `QueryFilterBar`.
|
|
44
|
+
|
|
45
|
+
### Changed
|
|
46
|
+
|
|
47
|
+
- Extended the catalog editing contracts of `FieldToken`, `DataTable`,
|
|
48
|
+
`EventMetaEditor` and `PropertyExplorer`.
|
|
49
|
+
|
|
50
|
+
### Fixed
|
|
51
|
+
|
|
52
|
+
- `Checkbox` and `Radio` inputs now cover the whole control as a click target.
|
|
53
|
+
- `SegmentedControl` radios now cover the whole segment as a click target.
|
|
54
|
+
- The overlay `Flyout` scrim no longer covers the page.
|
|
55
|
+
- Screen-reader-only strings are now translatable by the caller.
|
|
56
|
+
|
|
57
|
+
## [1.11.0] - 2026-08-27
|
|
58
|
+
|
|
59
|
+
### Added
|
|
60
|
+
|
|
61
|
+
- `DescriptionList`, `Identity`, `EventTimeline`, `ScoreBreakdown` and
|
|
62
|
+
`Flyout` — detail primitives for investigating an entity's identity,
|
|
63
|
+
attributes, behaviour and score rationale in one flow.
|
|
64
|
+
|
|
65
|
+
### Changed
|
|
66
|
+
|
|
67
|
+
- Extended the semantic, state and density contracts of `EmptyState`,
|
|
68
|
+
`StatCard` and `SummaryRow`.
|
|
69
|
+
|
|
70
|
+
## [1.10.0] - 2026-08-26
|
|
71
|
+
|
|
72
|
+
### Added
|
|
73
|
+
|
|
74
|
+
- `FieldToken`, `Facet`, `Expression`, `TextTruncate`, `Highlight`,
|
|
75
|
+
`LiveRegion`, `ColorPalette`, `InlineEdit` and `KeyPadMenu`.
|
|
76
|
+
|
|
77
|
+
## [1.6.0] - 2026-07-29
|
|
78
|
+
|
|
79
|
+
### Added
|
|
80
|
+
|
|
81
|
+
- An `app.css` bootstrap entry that keeps consuming projects from shipping
|
|
82
|
+
without the required setup, plus semantic `BlockLayout` inset support.
|
|
83
|
+
|
|
84
|
+
## [1.5.0] - 2026-07-16
|
|
85
|
+
|
|
86
|
+
### Added
|
|
87
|
+
|
|
88
|
+
- `Resizable` exposes production editor controls (callbacks, ref, resize and
|
|
89
|
+
a11y props) and a server-safe `theme/server` entry
|
|
90
|
+
(`createThemeBootScript`).
|
|
91
|
+
- `Meter` and `AlertDialogPanel` in Core, with accessibility work on number
|
|
92
|
+
input, pagination and the command palette absorbed from primitives.
|
|
93
|
+
|
|
94
|
+
### Removed
|
|
95
|
+
|
|
96
|
+
- **Breaking:** runtime Surface exports. Surfaces moved to the opt-cli block
|
|
97
|
+
registry and are consumed by copy, not by import.
|
|
98
|
+
|
|
99
|
+
### Deprecated
|
|
100
|
+
|
|
101
|
+
- `SurfaceLayout` in favour of `BlockLayout` / `createBlock`.
|
|
102
|
+
|
|
103
|
+
## [1.4.1] - 2026-06-22
|
|
104
|
+
|
|
105
|
+
### Changed
|
|
106
|
+
|
|
107
|
+
- Primitive parity reworked against the Base UI v1.6.0 reference
|
|
108
|
+
(`@reopt-ai/opt-ui-primitives@1.4.2`).
|
|
109
|
+
|
|
110
|
+
### Fixed
|
|
111
|
+
|
|
112
|
+
- Chart sizing, builder ids, the demo workflow and deterministic id-registry
|
|
113
|
+
output.
|
|
114
|
+
|
|
115
|
+
## [1.4.0] - 2026-06-13
|
|
116
|
+
|
|
117
|
+
### Changed
|
|
118
|
+
|
|
119
|
+
- Fewer redundant recomputations and re-renders; hydration-safe date
|
|
120
|
+
formatting.
|
|
121
|
+
- Paired with `@reopt-ai/opt-ui-primitives@1.4.0`, a WAI-ARIA, keyboard and
|
|
122
|
+
React consistency overhaul.
|
|
123
|
+
|
|
124
|
+
## [1.1.1] - 2026-03-12
|
|
125
|
+
|
|
126
|
+
### Added
|
|
127
|
+
|
|
128
|
+
- `StarRating` Core component with keyboard navigation, hover preview and a
|
|
129
|
+
`readOnly` mode.
|
|
130
|
+
- Publish Readiness Audit — five cross-checks with automatic fixes.
|
|
131
|
+
|
|
132
|
+
### Changed
|
|
133
|
+
|
|
134
|
+
- `SettingsForm` accepts an extended `FormFieldDef`.
|
|
135
|
+
|
|
136
|
+
### Fixed
|
|
137
|
+
|
|
138
|
+
- Corrected the `keyboardShortcuts` field name in `StarRating` meta.
|
|
139
|
+
|
|
140
|
+
## [1.1.0] - 2026-03-12
|
|
141
|
+
|
|
142
|
+
### Changed
|
|
143
|
+
|
|
144
|
+
- **Breaking:** migrated fully off Ariakit onto `@reopt-ai/opt-ui-primitives`;
|
|
145
|
+
the `@ariakit/react` dependency is gone.
|
|
146
|
+
- Standardized on lucide icons and improved the docs infrastructure.
|
|
147
|
+
|
|
148
|
+
### Fixed
|
|
149
|
+
|
|
150
|
+
- Core accessibility and API contract corrections; unified theme resolution.
|
|
151
|
+
|
|
152
|
+
## [1.0.7] - 2026-02-23
|
|
153
|
+
|
|
154
|
+
### Changed
|
|
155
|
+
|
|
156
|
+
- Theme preset text colors converted from `rgba()` to plain `hsl()` for
|
|
157
|
+
legibility.
|
|
158
|
+
- `AuditLog` redesigned as a timeline with per-action colors and
|
|
159
|
+
expand/collapse.
|
|
160
|
+
- Core input components (Input, Textarea, Select, Checkbox, Switch, RadioGroup,
|
|
161
|
+
NumberInput) reworked, and `TagInput` gained metadata.
|
|
162
|
+
|
|
163
|
+
### Fixed
|
|
164
|
+
|
|
165
|
+
- `Dialog`'s `animated` prop is now configurable, working around the Ariakit
|
|
166
|
+
#4075 freeze.
|
|
167
|
+
- `Dialog` types corrected to `DialogProviderProps`.
|
|
168
|
+
|
|
169
|
+
## [1.0.6] - 2026-02-23
|
|
170
|
+
|
|
171
|
+
### Added
|
|
172
|
+
|
|
173
|
+
- `AuditTimeline` Shell — diff view, per-action colors, expand/collapse.
|
|
174
|
+
- `ReportBuilder` rewritten as a four-step wizard (type, config, style,
|
|
175
|
+
preview).
|
|
176
|
+
|
|
177
|
+
### Changed
|
|
178
|
+
|
|
179
|
+
- `TagInput` gained a suggestions dropdown with keyboard navigation.
|
|
180
|
+
- `DateRangePicker` gained presets, a comparison mode and granularity
|
|
181
|
+
selection.
|
|
182
|
+
- `Card` supports selectable/selected states, and `Badge` can render a circular
|
|
183
|
+
progress ring.
|
|
184
|
+
|
|
185
|
+
## [1.0.5] - 2026-02-23
|
|
186
|
+
|
|
187
|
+
### Added
|
|
188
|
+
|
|
189
|
+
- `Dialog` nine-part anatomy — Heading, Description, Disclosure and
|
|
190
|
+
Header/Body/Footer.
|
|
191
|
+
- Twelve form components wrapping the Ariakit Form API (`FormProvider`,
|
|
192
|
+
`FormGroup`, `FormField`, `FormControl` and others).
|
|
193
|
+
|
|
194
|
+
### Changed
|
|
195
|
+
|
|
196
|
+
- `SettingsPanel` sidebar separator, accent selection state and description
|
|
197
|
+
field.
|
|
198
|
+
- `TimeRangeSelector` presets and `DateRangePicker` unified into one bordered
|
|
199
|
+
container.
|
|
200
|
+
|
|
201
|
+
### Fixed
|
|
202
|
+
|
|
203
|
+
- `ToolbarButton` padding ratio, plus layer guide violations across
|
|
204
|
+
Shells/Core (accessibility, `displayName`, type safety).
|
|
205
|
+
|
|
206
|
+
## [1.0.4] - 2026-02-22
|
|
207
|
+
|
|
208
|
+
### Added
|
|
209
|
+
|
|
210
|
+
- `COMPONENT_CATALOG.md` is generated at build time and shipped in the npm
|
|
211
|
+
package, so consuming projects can read it.
|
|
212
|
+
- A `/docs/releases` page for release history.
|
|
213
|
+
|
|
214
|
+
## [1.0.3] - 2026-02-22
|
|
215
|
+
|
|
216
|
+
### Added
|
|
217
|
+
|
|
218
|
+
- A combined `tailwind.css` entry so consumers need only one import.
|
|
219
|
+
|
|
220
|
+
### Changed
|
|
221
|
+
|
|
222
|
+
- Packaging cleanup — CSS `sideEffects` declared, sourcemaps dropped, `files`
|
|
223
|
+
narrowed.
|
|
224
|
+
|
|
225
|
+
## [1.0.2] - 2026-02-22
|
|
226
|
+
|
|
227
|
+
### Fixed
|
|
228
|
+
|
|
229
|
+
- Theme preset CSS was not copied into `dist/` at build time.
|
|
230
|
+
|
|
231
|
+
## [1.0.1] - 2026-02-22
|
|
232
|
+
|
|
233
|
+
### Fixed
|
|
234
|
+
|
|
235
|
+
- Synced the migration skill's Surface list, versions and prerequisites.
|
|
236
|
+
|
|
237
|
+
## [1.0.0] - 2026-02-22
|
|
238
|
+
|
|
239
|
+
### Added
|
|
240
|
+
|
|
241
|
+
- First stable release — 163 components (Core 47, Visuals 17, Shells 74,
|
|
242
|
+
Surfaces 25).
|
|
243
|
+
- Compound theme architecture — six presets x light/dark, driven by CSS
|
|
244
|
+
variables.
|
|
245
|
+
- Semantic spacing tokens (`gap-section` / `gap-group` / `gap-element`) and
|
|
246
|
+
`SurfaceLayout`.
|
|
247
|
+
- The `createSurface` factory, which structurally enforces the `SurfaceLayout`
|
|
248
|
+
wrapper.
|
|
249
|
+
|
|
14
250
|
## [1.3.0] - 2026-05-15
|
|
15
251
|
|
|
16
252
|
### Added
|