@reopt-ai/opt-ui 1.4.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.
- package/CHANGELOG.md +40 -0
- package/COMPONENT_CATALOG.md +3000 -0
- package/LICENSE +21 -0
- package/README.md +244 -0
- package/dist/chunk-3GWWZKX7.js +38 -0
- package/dist/chunk-AFF2HPE5.cjs +5008 -0
- package/dist/chunk-ELWICXYY.js +4745 -0
- package/dist/chunk-N4NDU5ET.cjs +4745 -0
- package/dist/chunk-ONE3C5RV.cjs +38 -0
- package/dist/chunk-QWBHD54V.js +3218 -0
- package/dist/chunk-RBM2RNC2.js +5008 -0
- package/dist/chunk-X5WCXJAF.cjs +3218 -0
- package/dist/core/index.cjs +324 -0
- package/dist/core/index.d.cts +5 -0
- package/dist/core/index.d.ts +5 -0
- package/dist/core/index.js +324 -0
- package/dist/docs/01-getting-started.md +129 -0
- package/dist/docs/02-components/01-core.md +1841 -0
- package/dist/docs/02-components/02-visuals.md +11 -0
- package/dist/docs/02-components/03-shells.md +1361 -0
- package/dist/docs/02-components/04-surfaces.md +11 -0
- package/dist/docs/02-components/index.md +106 -0
- package/dist/docs/03-recipes/01-forms.md +471 -0
- package/dist/docs/03-recipes/02-dashboards.md +397 -0
- package/dist/docs/03-recipes/03-layouts.md +424 -0
- package/dist/docs/04-theming.md +232 -0
- package/dist/docs/05-migration/01-breaking-changes.md +117 -0
- package/dist/docs/05-migration/02-formstore.md +336 -0
- package/dist/docs/06-troubleshooting.md +119 -0
- package/dist/docs/index.md +71 -0
- package/dist/id-registry.cjs +1875 -0
- package/dist/id-registry.d.cts +27 -0
- package/dist/id-registry.d.ts +27 -0
- package/dist/id-registry.js +1875 -0
- package/dist/id-registry.json +3799 -0
- package/dist/index-BZ_lBlO1.d.ts +474 -0
- package/dist/index-BuvxoWHf.d.cts +474 -0
- package/dist/index-DlAcuvQp.d.cts +1686 -0
- package/dist/index-Slu5hOj1.d.ts +1686 -0
- package/dist/index.cjs +9959 -0
- package/dist/index.d.cts +2351 -0
- package/dist/index.d.ts +2351 -0
- package/dist/index.js +9959 -0
- package/dist/meta.cjs +6898 -0
- package/dist/meta.d.cts +36 -0
- package/dist/meta.d.ts +36 -0
- package/dist/meta.js +6869 -0
- package/dist/shells/index.cjs +65 -0
- package/dist/shells/index.d.cts +5 -0
- package/dist/shells/index.d.ts +5 -0
- package/dist/shells/index.js +65 -0
- package/dist/tailwind.css +401 -0
- package/dist/theme/presets/default.css +355 -0
- package/dist/theme/presets/minimal.css +354 -0
- package/dist/theme/presets/mono-dark.css +354 -0
- package/dist/theme/presets/natural.css +181 -0
- package/dist/theme/presets/pro.css +354 -0
- package/dist/types-D4-0lwaE.d.cts +298 -0
- package/dist/types-D4-0lwaE.d.ts +298 -0
- package/dist/visuals/index.cjs +4 -0
- package/dist/visuals/index.d.cts +1 -0
- package/dist/visuals/index.d.ts +1 -0
- package/dist/visuals/index.js +4 -0
- package/package.json +165 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to `@reopt-ai/opt-ui` will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- Drawer slide animations now reference `OPT_ANIMATE_DRAWER` tokens in `lib/styles.ts` instead of inline `slideIn` definitions. Runtime behavior unchanged.
|
|
13
|
+
|
|
14
|
+
## [1.3.0] - 2026-05-15
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
- **`data-opt-id` infrastructure (Phase 1–6, 250/250 components)**: every component carries a stable 5-char identifier surfaced via `data-opt-id` and `data-opt-slug` attributes. New `./id-registry` and `./id-registry.json` exports expose the catalog for downstream tooling (devtools, agents).
|
|
19
|
+
- **Theme system integration**: `OptThemeProvider` accepts a `ThemeSpec` and supports a `generated` mode. New `THEME_REGISTRY`, codegen of `presets/tokens.ts` as the single source of truth for theme CSS, dynamic `ThemeSwitcher` with i18n labels and a11y. FOUC eliminated on first paint.
|
|
20
|
+
- **`mono-dark` theme preset**.
|
|
21
|
+
- **`PageAside` shell component**.
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
25
|
+
- **Command** anatomy rewritten to a cmdk-style flow; floating dialog wrapper removed (improves keyboard handling and a11y).
|
|
26
|
+
- **ESLint policies tightened**: `no-raw-color` now covers the full Tailwind palette (with automatic `dark:` allowance); `require-use-client` detector refined — 28 statically-typed components moved to server-safe (no `"use client"`). active-item overlay migrated from raw white to `accent-fg` tokens.
|
|
27
|
+
|
|
28
|
+
### Fixed
|
|
29
|
+
|
|
30
|
+
- a11y deep audit for high-priority issues.
|
|
31
|
+
- popover/menu jump bug — `transform` split into separate `translate` declarations to avoid compositing reset on hover.
|
|
32
|
+
- Dialog horizontal centering broken by a global `[data-enter]` rule — dialog excluded from that rule.
|
|
33
|
+
|
|
34
|
+
### Breaking changes (major)
|
|
35
|
+
|
|
36
|
+
- Theme presets `corporate.css` and `playful.css` removed. Consumers importing those CSS entry points must switch to `default`, `minimal`, `natural`, `pro`, or `mono-dark`.
|
|
37
|
+
|
|
38
|
+
## [1.2.1] - earlier
|
|
39
|
+
|
|
40
|
+
See git tag `@reopt-ai/opt-ui@1.2.1` and earlier entries on the design system release notes page (`/docs/opt-ui/releases`).
|