@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.
Files changed (63) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +13 -25
  3. package/dist/assets/readme/overview-dark.png +0 -0
  4. package/dist/assets/readme/overview-light.png +0 -0
  5. package/dist/styles/Code.css +1 -1
  6. package/dist/styles.css +1 -1
  7. package/docs/components/avatar.md +1 -1
  8. package/docs/components/box.md +1 -1
  9. package/docs/components/breadcrumbs.md +1 -1
  10. package/docs/components/card.md +1 -1
  11. package/docs/components/checkbox.md +1 -1
  12. package/docs/components/color-picker.md +1 -1
  13. package/docs/components/column.md +1 -1
  14. package/docs/components/combobox.md +1 -1
  15. package/docs/components/composer.md +1 -1
  16. package/docs/components/confirm-dialog.md +1 -1
  17. package/docs/components/date-picker.md +1 -1
  18. package/docs/components/description-list.md +1 -1
  19. package/docs/components/dialog.md +1 -1
  20. package/docs/components/document-tabs.md +1 -1
  21. package/docs/components/empty-state.md +1 -1
  22. package/docs/components/field.md +1 -1
  23. package/docs/components/graphic.md +1 -1
  24. package/docs/components/halo.md +1 -1
  25. package/docs/components/hover-card.md +1 -1
  26. package/docs/components/kbd.md +1 -1
  27. package/docs/components/link.md +1 -1
  28. package/docs/components/list.md +1 -1
  29. package/docs/components/markdown.md +1 -1
  30. package/docs/components/menu.md +1 -1
  31. package/docs/components/message.md +1 -1
  32. package/docs/components/month-picker.md +1 -1
  33. package/docs/components/navigation-drawer.md +1 -1
  34. package/docs/components/page.md +1 -1
  35. package/docs/components/panes.md +1 -1
  36. package/docs/components/popover.md +1 -1
  37. package/docs/components/progress.md +1 -1
  38. package/docs/components/radio.md +1 -1
  39. package/docs/components/relative-time.md +1 -1
  40. package/docs/components/resize-handle.md +1 -1
  41. package/docs/components/row.md +1 -1
  42. package/docs/components/scaffold.md +1 -1
  43. package/docs/components/segmented-control.md +1 -1
  44. package/docs/components/select.md +1 -1
  45. package/docs/components/slider.md +1 -1
  46. package/docs/components/spinner.md +1 -1
  47. package/docs/components/surface.md +1 -1
  48. package/docs/components/table-of-contents.md +1 -1
  49. package/docs/components/table.md +1 -1
  50. package/docs/components/time-picker.md +1 -1
  51. package/docs/components/toolbar.md +1 -1
  52. package/docs/components/top-bar.md +1 -1
  53. package/docs/components/tree.md +1 -1
  54. package/docs/foundations/accessibility.md +1 -1
  55. package/docs/foundations/icons.md +1 -1
  56. package/docs/foundations/responsive.md +1 -1
  57. package/docs/foundations/spacing.md +1 -1
  58. package/docs/foundations/typography.md +1 -1
  59. package/docs/index.md +52 -52
  60. package/docs/setup.md +2 -2
  61. package/package.json +1 -1
  62. package/dist/assets/readme/gallery-dark.png +0 -0
  63. 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
  [![npm](https://img.shields.io/npm/v/@envsemble/envui?logo=npm&logoColor=white&color=cb3837)](https://www.npmjs.com/package/@envsemble/envui)
8
8
  ![MIT license](https://img.shields.io/badge/license-MIT-555)
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 overview of the envUI website: its banner, with Get started beside the install command, over a fan of cards built with envUI: a pull request, a conversation with an assistant, a heatmap of deploys and a calendar" width="1440">
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
- Install it from npm with `npm install --save-exact @envsemble/envui`. [Install and set up](https://envui.envsemble.com/docs/setup) walks through the rest: styles, theme and router. A coding agent can do the setup with you from one prompt:
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
- - **Foundations:** light, dark and high-contrast themes, design tokens, typography, spacing and density.
30
- - **Components:** actions, navigation, native form controls, selection, data display, dialogs and notifications, with Base UI under the complex interactions.
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
- - **Local assets:** the Geist fonts and Material Symbols Rounded icons ship in the package, with no CDN.
33
- - **Lint rules:** an [ESLint plugin and a Stylelint config](https://envui.envsemble.com/docs?section=lint-rules) that name the envUI component or token to use instead of hand-built controls and raw colors.
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
- A published version never changes, and each release lists its breaking changes in the changelog. Prereleases are published under the `prerelease` dist-tag, and stable releases under `latest`.
38
+ ## License
51
39
 
52
- envUI is open source under the [MIT license](LICENSE). It covers the code, not the envUI name or logos, which remain envsemble's. Bundled third-party assets and dependencies keep their [notices](THIRD_PARTY_NOTICES.md) and [licenses](licenses/).
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/).
@@ -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:var(--env-space-1)}.env-code-block[data-wrap] pre{white-space:pre-wrap;overflow-wrap:anywhere}.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)}}
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)}}