@envsemble/envui 3.0.0 → 3.0.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 +8 -0
- package/README.md +13 -25
- package/dist/assets/readme/overview-dark.png +0 -0
- package/dist/assets/readme/overview-light.png +0 -0
- package/dist/styles/Code.css +1 -1
- package/dist/styles.css +1 -1
- package/docs/components/avatar.md +1 -1
- package/docs/components/box.md +1 -1
- package/docs/components/breadcrumbs.md +1 -1
- package/docs/components/card.md +1 -1
- package/docs/components/checkbox.md +1 -1
- package/docs/components/color-picker.md +1 -1
- package/docs/components/column.md +1 -1
- package/docs/components/combobox.md +1 -1
- package/docs/components/composer.md +1 -1
- package/docs/components/confirm-dialog.md +1 -1
- package/docs/components/date-picker.md +1 -1
- package/docs/components/description-list.md +1 -1
- package/docs/components/dialog.md +1 -1
- package/docs/components/document-tabs.md +1 -1
- package/docs/components/empty-state.md +1 -1
- package/docs/components/field.md +1 -1
- package/docs/components/graphic.md +1 -1
- package/docs/components/halo.md +1 -1
- package/docs/components/hover-card.md +1 -1
- package/docs/components/kbd.md +1 -1
- package/docs/components/link.md +1 -1
- package/docs/components/list.md +1 -1
- package/docs/components/markdown.md +1 -1
- package/docs/components/menu.md +1 -1
- package/docs/components/message.md +1 -1
- package/docs/components/month-picker.md +1 -1
- package/docs/components/navigation-drawer.md +1 -1
- package/docs/components/page.md +1 -1
- package/docs/components/panes.md +1 -1
- package/docs/components/popover.md +1 -1
- package/docs/components/progress.md +1 -1
- package/docs/components/radio.md +1 -1
- package/docs/components/relative-time.md +1 -1
- package/docs/components/resize-handle.md +1 -1
- package/docs/components/row.md +1 -1
- package/docs/components/scaffold.md +1 -1
- package/docs/components/segmented-control.md +1 -1
- package/docs/components/select.md +1 -1
- package/docs/components/slider.md +1 -1
- package/docs/components/spinner.md +1 -1
- package/docs/components/surface.md +1 -1
- package/docs/components/table-of-contents.md +1 -1
- package/docs/components/table.md +1 -1
- package/docs/components/time-picker.md +1 -1
- package/docs/components/toolbar.md +1 -1
- package/docs/components/top-bar.md +1 -1
- package/docs/components/tree.md +1 -1
- package/docs/foundations/accessibility.md +1 -1
- package/docs/foundations/icons.md +1 -1
- package/docs/foundations/responsive.md +1 -1
- package/docs/foundations/spacing.md +1 -1
- package/docs/foundations/typography.md +1 -1
- package/docs/index.md +52 -52
- package/docs/setup.md +2 -2
- package/package.json +1 -1
- package/dist/assets/readme/gallery-dark.png +0 -0
- package/dist/assets/readme/gallery-light.png +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.0.1 — 2026-11-21
|
|
4
|
+
|
|
5
|
+
A patch release with one fix, to CodeBlock.
|
|
6
|
+
|
|
7
|
+
### Patch Changes
|
|
8
|
+
|
|
9
|
+
- CodeBlock: code that scrolls sideways now runs to the block's edges instead of being cut off at its padding, so scrolling no longer narrows what shows. At rest the code keeps the same inset, and the focus ring of the scrolling code sits inside the block.
|
|
10
|
+
|
|
3
11
|
## 3.0.0 — 2026-11-21
|
|
4
12
|
|
|
5
13
|
envUI 3.0 gives each place one name and leaves the application its own decisions. Components that belong to one kind of product leave the library (AnimatedNumber, CalendarHeatmap, DiffStat, Rating, MarkdownEditor, RichTextEditor and dev mode), content before a label is always `start`, and where a theme preference or a pane's width is kept is the application's call. Halo is new, a breathing halo that points at the one thing to look at next, and NavigationRail's current destination now looks like the drawer's current row. Each breaking change below says what to write instead.
|
package/README.md
CHANGED
|
@@ -7,18 +7,20 @@
|
|
|
7
7
|
[](https://www.npmjs.com/package/@envsemble/envui)
|
|
8
8
|

|
|
9
9
|
|
|
10
|
-
envUI gives B2B SaaS products and AI developer tools one consistent interface: themes and components, from a button or a form to an app frame, a data table or a conversation with an agent. Its documentation is written for the people and the coding agents who build with it, and ships in the package.
|
|
11
|
-
|
|
12
10
|
[Website](https://envui.envsemble.com) · [Docs](https://envui.envsemble.com/docs) · [Changelog](CHANGELOG.md) · [Contributing](https://github.com/envsemble/envUI/blob/main/CONTRIBUTING.md)
|
|
13
11
|
|
|
14
12
|
<picture>
|
|
15
13
|
<source media="(prefers-color-scheme: dark)" srcset="dist/assets/readme/overview-dark.png">
|
|
16
|
-
<img src="dist/assets/readme/overview-light.png" alt="The
|
|
14
|
+
<img src="dist/assets/readme/overview-light.png" alt="The front page of the envUI website: its headline, the Explore button and the setup prompt to copy, over a component's code beside the card it renders" width="1440">
|
|
17
15
|
</picture>
|
|
18
16
|
|
|
19
17
|
## Get started
|
|
20
18
|
|
|
21
|
-
|
|
19
|
+
```bash
|
|
20
|
+
npm install --save-exact @envsemble/envui
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
[Install and set up](https://envui.envsemble.com/docs/setup) covers styles, theme and router. Or let a coding agent do it:
|
|
22
24
|
|
|
23
25
|
```text
|
|
24
26
|
Set up envUI in my app: envui.envsemble.com/SKILL.md
|
|
@@ -26,27 +28,13 @@ Set up envUI in my app: envui.envsemble.com/SKILL.md
|
|
|
26
28
|
|
|
27
29
|
## What’s inside
|
|
28
30
|
|
|
29
|
-
- **
|
|
30
|
-
- **Components:**
|
|
31
|
+
- **Themes:** light, dark and high contrast, with design tokens for type, spacing and density.
|
|
32
|
+
- **Components:** from buttons and forms to app frames, data tables and agent conversations, with Base UI under the complex interactions.
|
|
31
33
|
- **Content:** Markdown, code highlighting and diffs, on entry points of their own.
|
|
32
|
-
- **
|
|
33
|
-
- **
|
|
34
|
-
|
|
35
|
-
<picture>
|
|
36
|
-
<source media="(prefers-color-scheme: dark)" srcset="dist/assets/readme/gallery-dark.png">
|
|
37
|
-
<img src="dist/assets/readme/gallery-light.png" alt="The components gallery of the envUI website: a live tile for each component, grouped by what it is for, starting with the actions: Button, Link, Toolbar, Menu, Menubar and CommandPalette" width="1920">
|
|
38
|
-
</picture>
|
|
39
|
-
|
|
40
|
-
## Documentation
|
|
41
|
-
|
|
42
|
-
The [website](https://envui.envsemble.com) has two parts. The catalogue shows every foundation and component, live. The [Docs](https://envui.envsemble.com/docs) are the developer reference: setup, guides, props, part names and the changelog. The same pages ship in the package under `docs/`, so an agent reads the ones for the version it has installed.
|
|
43
|
-
|
|
44
|
-
## Contributing
|
|
45
|
-
|
|
46
|
-
To work on envUI itself, start with [CONTRIBUTING.md](https://github.com/envsemble/envUI/blob/main/CONTRIBUTING.md).
|
|
47
|
-
|
|
48
|
-
## Versions and license
|
|
34
|
+
- **No CDN:** the Geist fonts and Material Symbols Rounded icons ship in the package.
|
|
35
|
+
- **Docs in the package:** under `docs/`, so an agent reads the ones for the version it has installed.
|
|
36
|
+
- **Lint rules:** an [ESLint plugin and a Stylelint config](https://envui.envsemble.com/docs?section=lint-rules) that point to the envUI component or token instead of hand-built controls and raw colors.
|
|
49
37
|
|
|
50
|
-
|
|
38
|
+
## License
|
|
51
39
|
|
|
52
|
-
|
|
40
|
+
[MIT](LICENSE), for the code; the envUI name and logos remain envsemble’s. Bundled third-party assets and dependencies keep their [notices](THIRD_PARTY_NOTICES.md) and [licenses](licenses/).
|
|
Binary file
|
|
Binary file
|
package/dist/styles/Code.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer env.reset,env.tokens,env.base,env.components,env.utilities;@layer env.components{.env-theme{--_code-font-family: ui-monospace, "Cascadia Code", Consolas, monospace;--_code-font-size: 0.8125rem;--_code-background: rgb(31 31 34 / 0.06);--_code-background-high: rgb(31 31 34 / 0.06);--_code-foreground: #1f2328;--_code-foreground-high: #0e1116}.env-theme[data-env-theme=dark]{--_code-background: rgb(232 234 238 / 0.05);--_code-background-high: #0a0c10;--_code-foreground: #b2c0cd;--_code-foreground-high: #f0f3f6}.env-code,.env-code-block,.env-code-diff{--_code-background-now: var(--_theme-high-contrast) var(--_code-background-high);--_code-foreground-now: var(--_theme-high-contrast) var(--_code-foreground-high);background:var(--_code-background-now, var(--_code-background));color:var(--_code-foreground-now, var(--_code-foreground))}.env-code{--_code-inline-fill-now: var(--_theme-high-contrast) var(--env-color-bg-neutral-muted);padding:0.125em 0.375em;border-radius:var(--env-radius-sm);background:var( --_code-inline-fill-now, color-mix(in srgb, var(--env-color-bg-neutral-muted) 50%, transparent) );font:0.9em/1.4 var(--_code-font-family);overflow-wrap:var(--_code-overflow-wrap, anywhere);box-decoration-break:clone;-webkit-box-decoration-break:clone}.env-code-block{box-sizing:border-box;min-inline-size:0;max-inline-size:100%;padding:var(--env-space-5);border-radius:var(--env-radius-sm);font:var(--_code-font-size) / 1.7 var(--_code-font-family)}.env-code-block pre{margin:0;overflow:auto;font:inherit;tab-size:2}.env-code-block code{font:inherit}.env-code-block-token{--_code-token-now: var(--_theme-high-contrast) var(--_code-token-high);--_code-token-dark-now: var(--_theme-high-contrast) var(--_code-token-dark-high);--_code-token-dark-shown: var(--_theme-dark) var(--_code-token-dark-now, var(--_code-token-dark));color:var(--_code-token-dark-shown, var(--_code-token-now, var(--_code-token)))}.env-code-block pre:focus-visible{outline:2px solid var(--env-color-border-focus);outline-offset
|
|
1
|
+
@layer env.reset,env.tokens,env.base,env.components,env.utilities;@layer env.components{.env-theme{--_code-font-family: ui-monospace, "Cascadia Code", Consolas, monospace;--_code-font-size: 0.8125rem;--_code-background: rgb(31 31 34 / 0.06);--_code-background-high: rgb(31 31 34 / 0.06);--_code-foreground: #1f2328;--_code-foreground-high: #0e1116}.env-theme[data-env-theme=dark]{--_code-background: rgb(232 234 238 / 0.05);--_code-background-high: #0a0c10;--_code-foreground: #b2c0cd;--_code-foreground-high: #f0f3f6}.env-code,.env-code-block,.env-code-diff{--_code-background-now: var(--_theme-high-contrast) var(--_code-background-high);--_code-foreground-now: var(--_theme-high-contrast) var(--_code-foreground-high);background:var(--_code-background-now, var(--_code-background));color:var(--_code-foreground-now, var(--_code-foreground))}.env-code{--_code-inline-fill-now: var(--_theme-high-contrast) var(--env-color-bg-neutral-muted);padding:0.125em 0.375em;border-radius:var(--env-radius-sm);background:var( --_code-inline-fill-now, color-mix(in srgb, var(--env-color-bg-neutral-muted) 50%, transparent) );font:0.9em/1.4 var(--_code-font-family);overflow-wrap:var(--_code-overflow-wrap, anywhere);box-decoration-break:clone;-webkit-box-decoration-break:clone}.env-code-block{--_code-block-inset-start: var(--env-space-5);--_code-block-inset-end: var(--env-space-5);box-sizing:border-box;min-inline-size:0;max-inline-size:100%;padding-block:var(--env-space-5);border-radius:var(--env-radius-sm);font:var(--_code-font-size) / 1.7 var(--_code-font-family)}.env-code-block pre{margin:0;overflow:auto;font:inherit;tab-size:2}.env-code-block code{font:inherit}.env-code-block-token{--_code-token-now: var(--_theme-high-contrast) var(--_code-token-high);--_code-token-dark-now: var(--_theme-high-contrast) var(--_code-token-dark-high);--_code-token-dark-shown: var(--_theme-dark) var(--_code-token-dark-now, var(--_code-token-dark));color:var(--_code-token-dark-shown, var(--_code-token-now, var(--_code-token)))}.env-code-block pre:focus-visible{outline:2px solid var(--env-color-border-focus);outline-offset:-2px}.env-code-block[data-wrap] pre{white-space:pre-wrap;overflow-wrap:anywhere}.env-code-block pre,.env-code-block-header{padding-inline-start:var(--_code-block-inset-start);padding-inline-end:var(--_code-block-inset-end)}.env-code-block-header{margin-block-end:var(--env-space-3)}.env-code-block-header>span{min-inline-size:0;max-inline-size:100%;overflow-wrap:anywhere;font:var(--env-type-body-sm)}.env-code-block-copy-status{--_code-block-copy-status-visually-hidden-size: 0.0625rem;position:absolute;inline-size:var(--_code-block-copy-status-visually-hidden-size);block-size:var(--_code-block-copy-status-visually-hidden-size);clip-path:inset(50%);overflow:hidden;white-space:nowrap}.env-code-diff{min-inline-size:0;overflow:hidden;border-radius:var(--env-radius-sm)}.env-code-diff>.env-spinner,.env-code-diff-failed{padding:var(--env-space-5)}.env-code-diff-failed-icon{color:var(--env-color-fg-danger)}}
|