@citrusworx/juiceui 0.9.6 → 1.0.0

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/README.md CHANGED
@@ -82,7 +82,9 @@ Built files are `dist/index.css` (core) and `dist/themes/<id>.css`. Each theme i
82
82
 
83
83
  The top-level JS entry is small. Thirty-two runtimes stay Emerging.
84
84
 
85
- Navigation through field (twenty-five) shipped in `@citrusworx/juiceui@0.9.2`. Icon button, avatar, and table shipped in 0.9.3. Pressable and touchable row shipped in 0.9.4. Keyboard avoider shipped in 0.9.5. Sheet is the thirty-second, on master, and not in that npm cut.
85
+ Navigation through field (twenty-five) shipped in `@citrusworx/juiceui@0.9.2`. Icon button, avatar, and table shipped in 0.9.3. Pressable and touchable row shipped in 0.9.4. Keyboard avoider shipped in 0.9.5. Sheet is the thirty-second and shipped in 0.9.6.
86
+
87
+ The shared overlay stack shipped in **0.9.7**. npm latest is **0.9.7** (published 2026-11-03, `gitHead` `403cbdb9`). Last-opened-wins Escape and outside pointer cover modal, drawer, sheet, popover, menu, and combobox. The dismiss reason is `'cascade'`. A cascaded dialog skips focus restore. A non-modal sheet suspends the modal trap under it. Tooltip and toast stay off that stack. All thirty-two Emerging runtimes stay Emerging. The CDN pin below is the published 0.9.7 tarball and includes that stack.
86
88
 
87
89
  The full index, including how to choose between similar components, is [Runtime behavior](../../docs/juice/juice-runtime-behavior.md#components).
88
90
 
@@ -92,7 +94,7 @@ The full index, including how to choose between similar components, is [Runtime
92
94
  | --- | --- | --- | --- |
93
95
  | Modal | `[modal-overlay]` | Dialog. Open and close, Escape, focus trap, one open at a time. | [Modal](../../docs/juice/juice-modal-runtime.md) |
94
96
  | Drawer | `[drawer-overlay]` | Edge dialog (`left` or `right`, optional `drawer-size` of `sm` or `lg`). Escape, focus trap, exclusive. | [Drawer](../../docs/juice/juice-drawer-runtime.md) |
95
- | Sheet | `[sheet-overlay]` | Bottom dialog. Detents `peek`, `half`, `full`. The thirty-second runtime. On master, not in npm 0.9.5. Not a `JuiceRuntimeName`. | [Sheet](../../docs/juice/juice-sheet-runtime.md) |
97
+ | Sheet | `[sheet-overlay]` | Bottom dialog. Detents `peek`, `half`, `full`. The thirty-second runtime. Shipped in 0.9.6. A `JuiceRuntimeName` in npm `@citrusworx/sigjs` **1.1.2**. Binds on juiceui 0.9.6+. On 0.9.5 `bind` throws. **1.1.1** does not name sheet. | [Sheet](../../docs/juice/juice-sheet-runtime.md) |
96
98
  | Popover | `[popover-root]` | Anchored non-modal dialog. The surface is `[popover-panel]`, never a bare `popover` attribute. | [Popover](../../docs/juice/juice-popover-runtime.md) |
97
99
  | Tooltip | `[tooltip-root]` | Hover and focus tip. The surface is `[tooltip-panel]`, never a bare `tooltip` attribute or native `title`. | [Tooltip](../../docs/juice/juice-tooltip-runtime.md) |
98
100
  | Toast | `[toast-region]` | Non-modal stack (default `top-right`). Not a dialog: no focus trap, no `aria-modal`, stacking is allowed. | [Toast](../../docs/juice/juice-toast-runtime.md) |
@@ -151,7 +153,7 @@ The full index, including how to choose between similar components, is [Runtime
151
153
 
152
154
  | Component | Markup | What it is | Docs |
153
155
  | --- | --- | --- | --- |
154
- | Keyboard avoider | `[keyboard-avoider]` | Inset while the software keyboard is open. The thirty-first runtime. Shipped in 0.9.5. Workspace `@citrusworx/sigjs` **1.1.0** (not published) names it. npm **1.0.0** does not. | [Keyboard avoider](../../docs/juice/juice-keyboard-avoider-runtime.md) |
156
+ | Keyboard avoider | `[keyboard-avoider]` | Inset while the software keyboard is open. The thirty-first runtime. Shipped in 0.9.5. npm `@citrusworx/sigjs` **1.1.2** names it. npm **1.0.0** does not. **1.1.1** names thirty-one, through keyboard-avoider. | [Keyboard avoider](../../docs/juice/juice-keyboard-avoider-runtime.md) |
155
157
 
156
158
  ### Auto-start
157
159
 
@@ -191,7 +193,7 @@ stopModalRuntime();
191
193
 
192
194
  `tokens` is the shared token object: color families and swatches, and the `adobe` and `google` font providers. `Accordion` is a Sig component that renders one `[accordion]` section (trigger plus panel). It is not the document runtime. The runtime is `createAccordion` / `startAccordionRuntime`.
193
195
 
194
- Icon button, avatar, table, pressable, touchable row, keyboard avoider, and sheet export the same four names. Icon button, avatar, and table shipped in 0.9.3. Pressable and touchable row shipped in 0.9.4. Keyboard avoider shipped in 0.9.5. Sheet is on master and is not in that npm cut.
196
+ Icon button, avatar, table, pressable, touchable row, keyboard avoider, and sheet export the same four names. Icon button, avatar, and table shipped in 0.9.3. Pressable and touchable row shipped in 0.9.4. Keyboard avoider shipped in 0.9.5. Sheet shipped in 0.9.6.
195
197
 
196
198
  ### `juice:change` and `getState`
197
199
 
@@ -199,14 +201,14 @@ Interactive runtimes dispatch a bubbling `juice:change` from the widget host whe
199
201
 
200
202
  Select, input, and textarea publish through native `input` and `change`. They still expose `getState()`.
201
203
 
202
- The contract covers all thirty-two runtimes. `juice:change` and `JUICE_CHANGE_EVENT` shipped in 0.9.3. Pressable and touchable row dispatch that contract from 0.9.4. Keyboard avoider dispatches it from 0.9.5. Sheet dispatches it on master and is not in the 0.9.5 npm cut.
204
+ The contract covers all thirty-two runtimes. `juice:change` and `JUICE_CHANGE_EVENT` shipped in 0.9.3. Pressable and touchable row dispatch that contract from 0.9.4. Keyboard avoider dispatches it from 0.9.5. Sheet dispatches it. It shipped in 0.9.6.
203
205
 
204
- npm `@citrusworx/sigjs` **1.0.0** and **0.7.2** `bind` names twenty-eight runtimes, through `table`. Workspace `@citrusworx/sigjs` **1.1.0** (not published) names thirty-one, through keyboard-avoider. `sheet` is not a `JuiceRuntimeName`.
206
+ npm `@citrusworx/sigjs` **1.0.0** and **0.7.2** `bind` names twenty-eight runtimes, through `table`. npm and master `@citrusworx/sigjs` **1.1.2** name thirty-two, through sheet. `sheet` is a `JuiceRuntimeName` on that tree. `@citrusworx/juiceui@0.9.6` publishes `startSheetRuntime`. It binds on **0.9.6** or newer. On **0.9.5** it throws. **1.1.1** names thirty-one, through keyboard-avoider, and does not bind sheet.
205
207
 
206
208
  - `icon-button`, `avatar`, and `table` are `JuiceRuntimeName` values on npm **1.0.0** and on the workspace tree.
207
- - Pressable, touchable row, and keyboard avoider are `JuiceRuntimeName` values on workspace **1.1.0** and are not names on npm **1.0.0**. Sheet is not a name on either tree.
209
+ - Pressable, touchable row, and keyboard avoider are `JuiceRuntimeName` values on npm **1.1.1** and **1.1.2**, and are not names on npm **1.0.0**. Sheet is a name on **1.1.2** and is not a name on **1.1.1** or **1.0.0**.
208
210
  - `@citrusworx/sigjs@0.7.0` and `@citrusworx/sigjs@0.7.1` stop at twenty-five names, through `textarea`.
209
- - Binding `icon-button`, `avatar`, or `table` against `@citrusworx/juiceui@0.9.1` or `@citrusworx/juiceui@0.9.2` throws. Those cuts do not export their start functions. The three exports shipped in 0.9.3. Pressable and touchable row shipped in 0.9.4. Keyboard avoider shipped in 0.9.5.
211
+ - Binding `icon-button`, `avatar`, or `table` against `@citrusworx/juiceui@0.9.1` or `@citrusworx/juiceui@0.9.2` throws. Those cuts do not export their start functions. The three exports shipped in 0.9.3. Pressable and touchable row shipped in 0.9.4. Keyboard avoider shipped in 0.9.5. Sheet shipped in 0.9.6. Binding sheet on **0.9.5** throws.
210
212
 
211
213
  Juice works without Sig. The optional adapter is `@citrusworx/sigjs/juice` only.
212
214
 
@@ -408,15 +410,15 @@ If you are hosting Juice assets yourself, the main built files are:
408
410
 
409
411
  Load core plus at least one theme CSS file when using `theme="..."` on the root element.
410
412
 
411
- There is no first-party Juice CDN. Those `dist/` files are on npm, so jsDelivr and unpkg serve them (verified for `@citrusworx/juiceui@0.9.5`):
413
+ There is no first-party Juice CDN. Those `dist/` files are on npm, so jsDelivr and unpkg serve them (verified for `@citrusworx/juiceui@0.9.7`):
412
414
 
413
415
  ```html
414
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@citrusworx/juiceui@0.9.5/dist/index.css" />
415
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@citrusworx/juiceui@0.9.5/dist/themes/kiwipress.css" />
416
- <script type="module" src="https://cdn.jsdelivr.net/npm/@citrusworx/juiceui@0.9.5/dist/index.js"></script>
416
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@citrusworx/juiceui@0.9.7/dist/index.css" />
417
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@citrusworx/juiceui@0.9.7/dist/themes/kiwipress.css" />
418
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@citrusworx/juiceui@0.9.7/dist/index.js"></script>
417
419
  ```
418
420
 
419
- The JS module is optional. Pin a version. You can also copy the same files out of `node_modules/@citrusworx/juiceui/dist/` next to a plain HTML page. unpkg uses the same paths under `https://unpkg.com/@citrusworx/juiceui@0.9.5/`.
421
+ The JS module is optional. Pin a version. You can also copy the same files out of `node_modules/@citrusworx/juiceui/dist/` next to a plain HTML page. unpkg uses the same paths under `https://unpkg.com/@citrusworx/juiceui@0.9.7/`.
420
422
 
421
423
  ### What the build contains
422
424
 
@@ -541,6 +543,7 @@ Internal project docs live in `docs/juice/`. Start with the course. The pages un
541
543
  ### Using Juice
542
544
 
543
545
  - [Docs index](../../docs/juice/README.md)
546
+ - [Public contract](../../docs/juice/juice-public-contract.md) — Frozen, Emerging, and not-contract surfaces for 1.0
544
547
  - [Getting started](../../docs/juice/juice-getting-started.md)
545
548
  - [Attributes](../../docs/juice/juice-attributes.md)
546
549
  - [Layout](../../docs/juice/juice-layout.md)