@maxhealth.tech/prefab 0.3.1 → 0.3.2

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/dist/app.d.ts CHANGED
@@ -9,7 +9,7 @@ import type { ComponentJSON } from './core/component.js';
9
9
  import type { Action, ActionJSON } from './actions/types.js';
10
10
  import type { PipeFn } from './rx/pipes.js';
11
11
  /** Package version — injected by build script, updated at release time. */
12
- export declare const VERSION = "0.3.1";
12
+ export declare const VERSION = "0.3.2";
13
13
  /**
14
14
  * Wire protocol version emitted in `$prefab.version`.
15
15
  *
package/dist/app.js CHANGED
@@ -8,7 +8,7 @@ import {} from './core/component.js';
8
8
  import { drainAutoState } from './rx/state-collector.js';
9
9
  import { compileThemeCss } from './core/theme-css.js';
10
10
  /** Package version — injected by build script, updated at release time. */
11
- export const VERSION = '0.3.1';
11
+ export const VERSION = '0.3.2';
12
12
  /**
13
13
  * Wire protocol version emitted in `$prefab.version`.
14
14
  *
package/dist/prefab.css CHANGED
@@ -346,6 +346,11 @@
346
346
  .pf-badge {
347
347
  display: inline-flex;
348
348
  align-items: center;
349
+ /* Hug content: as a flex child, inline-flex is blockified to flex and would
350
+ otherwise stretch to the container's cross size (full width in a column,
351
+ full height in a row). align-self keeps the pill intrinsically sized; an
352
+ explicit w-full/width utility still overrides it. */
353
+ align-self: flex-start;
349
354
  border-radius: 9999px;
350
355
  padding: 0.15em 0.6em;
351
356
  font-size: 0.75rem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxhealth.tech/prefab",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "TypeScript declarative UI component library for MCP apps. Wire-compatible with Python prefab-ui.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",