@diegopluna/narvi 0.3.12 → 0.3.13

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.
@@ -16,6 +16,8 @@
16
16
  base: {
17
17
  display: 'inline-grid',
18
18
  placeItems: 'center',
19
+ // A key cap keeps its width in a flex row, so a long label beside it gives way first
20
+ flexShrink: 0,
19
21
  boxSizing: 'border-box',
20
22
  minWidth: '1.25rem',
21
23
  minHeight: '1.25rem',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diegopluna/narvi",
3
- "version": "0.3.12",
3
+ "version": "0.3.13",
4
4
  "packageManager": "pnpm@12.18.0",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -12,7 +12,7 @@ metadata:
12
12
  Grid, and Narvi's conventions for colour, labels and copy.
13
13
  type: core
14
14
  library: '@diegopluna/narvi'
15
- library_version: '0.3.12'
15
+ library_version: '0.3.13'
16
16
  requires:
17
17
  - setup
18
18
  sources:
@@ -20,7 +20,7 @@ component: import the namespace (`Dialog`) and use `Dialog.Root`. Docs and live
20
20
  | `List.Root`, `.Item` | Rows on one card, with a line between each | `list` |
21
21
  | `Code` | A short piece of code inside text | `code` |
22
22
  | `Markdown` | Markdown, streamed or finished: an AI reply, a README (see the `markdown` skill) | `markdown` |
23
- | `Kbd` | A key cap, for shortcuts. Inside a `Button` it takes the button's ink | `kbd` |
23
+ | `Kbd` | A key cap, for shortcuts. Inside a `Button` it takes the button's ink, and in a flex row it keeps its width | `kbd` |
24
24
  | `Reveal` | Eases part of a scrolled page into place. For marketing pages, not apps | `reveal` |
25
25
  | `Theme` | Sets the scheme or a custom theme for part of the page (see `theming`) | `theme` |
26
26
 
@@ -12,7 +12,7 @@ metadata:
12
12
  patching the DOM, and decide which links and images text from a model may load.
13
13
  type: core
14
14
  library: '@diegopluna/narvi'
15
- library_version: '0.3.12'
15
+ library_version: '0.3.13'
16
16
  requires:
17
17
  - setup
18
18
  sources:
@@ -11,7 +11,7 @@ metadata:
11
11
  4 when the app uses it.
12
12
  type: lifecycle
13
13
  library: '@diegopluna/narvi'
14
- library_version: '0.3.12'
14
+ library_version: '0.3.13'
15
15
  sources:
16
16
  - src/lib/vite.ts
17
17
  - src/lib/base.css
@@ -12,7 +12,7 @@ metadata:
12
12
  hover, motion and forced-colour preferences.
13
13
  type: core
14
14
  library: '@diegopluna/narvi'
15
- library_version: '0.3.12'
15
+ library_version: '0.3.13'
16
16
  requires:
17
17
  - setup
18
18
  sources:
@@ -12,7 +12,7 @@ metadata:
12
12
  menus and dialogs, and resolve token colours for drawing code that cannot read CSS variables.
13
13
  type: core
14
14
  library: '@diegopluna/narvi'
15
- library_version: '0.3.12'
15
+ library_version: '0.3.13'
16
16
  requires:
17
17
  - setup
18
18
  sources: