@ai-ecoverse/slicc-spectrum 1.104.2 → 1.104.3

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
@@ -550,7 +550,7 @@ A rejection shows the error card with its sentence (a check without a `preview`
550
550
  #### `<slicc-sprinkle>`
551
551
 
552
552
  A SLICC sprinkle (`.shtml`), as a panel or, with `inline`, as a dip in the chat that grows to fit, even when it loads out of view (the frame measures itself on load, after icons and fonts arrive, and on every resize).
553
- A dip has a tab-like handle: drag it into the dock (or onto a rail, or use its open-as-panel button, `data-action="detach-sprinkle"`) and it lives on as a sprinkle panel, with a note in the chat where it was and a **Show** button (`data-action="show-sprinkle"`) that brings the panel forward; which dips are out is saved in `slicc-ui.dips`.
553
+ A dip has a tab-like handle: drag it into the dock (or onto a rail, or use its open-as-panel button, `data-action="detach-sprinkle"`, an extra-small action button whose tap target pads out to 24 × 24 px on a coarse pointer while it looks the same) and it lives on as a sprinkle panel, with a note in the chat where it was and a **Show** button (`data-action="show-sprinkle"`) that brings the panel forward; which dips are out is saved in `slicc-ui.dips`.
554
554
  It runs in a sandboxed frame (`allow-scripts` only) with SLICC's sprinkle theme (the `--s2-*` tokens and `.sprinkle-*` classes), the app's fonts, and Lucide icons (`<i data-lucide>`, `LucideIcons.render()`).
555
555
  It talks back through `slicc.lick({ action, data })`, which reaches the owning cone as a `sprinkle` lick, and, when the port has `call`, reads files and keeps state (see [Sprinkle bridge](#sprinkle-bridge)).
556
556
  Panel sprinkles sit at the top of the right rail with their Lucide icon.
package/dist/slicc-ui.js CHANGED
@@ -43813,7 +43813,7 @@ var SliccSprinkle = class extends ThemedElement {
43813
43813
  :host {
43814
43814
  display: block;
43815
43815
  height: 100%;
43816
- background: var(--spectrum-background-layer-2-color);
43816
+ background: var(--swc-background-layer-2-color);
43817
43817
  }
43818
43818
  :host([inline]) {
43819
43819
  height: auto;
@@ -43833,27 +43833,34 @@ var SliccSprinkle = class extends ThemedElement {
43833
43833
  outline-offset: calc(-1 * var(--swc-focus-indicator-thickness));
43834
43834
  }
43835
43835
  .frame {
43836
- border: 1px solid var(--spectrum-gray-200);
43837
- background: var(--spectrum-background-layer-1-color);
43836
+ border: var(--swc-border-width-100) solid var(--swc-gray-200);
43837
+ background: var(--swc-background-layer-1-color);
43838
43838
  }
43839
43839
  .handle {
43840
43840
  display: flex;
43841
43841
  align-items: center;
43842
- gap: 6px;
43842
+ gap: var(--swc-spacing-85);
43843
43843
  width: max-content;
43844
43844
  max-width: 100%;
43845
43845
  box-sizing: border-box;
43846
- height: 28px;
43847
- padding: 0 4px 0 6px;
43848
- border: 1px solid var(--spectrum-gray-200);
43846
+ height: calc(var(--swc-component-height-75) + var(--swc-spacing-75));
43847
+ padding-block: 0;
43848
+ padding-inline: var(--swc-spacing-85) var(--swc-spacing-75);
43849
+ border: var(--swc-border-width-100) solid var(--swc-gray-200);
43849
43850
  border-bottom: 0;
43850
- border-radius: 6px 6px 0 0;
43851
- background: var(--spectrum-background-layer-1-color);
43852
- color: var(--spectrum-neutral-subdued-content-color-default);
43853
- font-size: var(--spectrum-font-size-75);
43851
+ border-radius: var(--swc-corner-radius-300) var(--swc-corner-radius-300) 0 0;
43852
+ background: var(--swc-background-layer-1-color);
43853
+ color: var(--swc-neutral-subdued-content-color-default);
43854
+ font-size: var(--swc-font-size-75);
43854
43855
  cursor: grab;
43855
43856
  user-select: none;
43856
43857
  }
43858
+ @media (pointer: coarse) {
43859
+ .handle [data-action='detach-sprinkle'] {
43860
+ display: inline-flex;
43861
+ padding: var(--swc-spacing-50);
43862
+ }
43863
+ }
43857
43864
  .handle:active {
43858
43865
  cursor: grabbing;
43859
43866
  }
@@ -43861,20 +43868,20 @@ var SliccSprinkle = class extends ThemedElement {
43861
43868
  fill: currentColor;
43862
43869
  }
43863
43870
  .handle .name {
43864
- color: var(--spectrum-neutral-content-color-default);
43871
+ color: var(--swc-neutral-content-color-default);
43865
43872
  }
43866
43873
  .moved {
43867
43874
  display: flex;
43868
43875
  align-items: center;
43869
- gap: 8px;
43870
- padding: 8px 12px;
43871
- border: 1px dashed var(--spectrum-gray-300);
43872
- border-radius: 8px;
43873
- color: var(--spectrum-neutral-subdued-content-color-default);
43874
- font-size: var(--spectrum-font-size-75);
43876
+ gap: var(--swc-spacing-100);
43877
+ padding: var(--swc-spacing-100) var(--swc-spacing-200);
43878
+ border: var(--swc-border-width-100) dashed var(--swc-gray-300);
43879
+ border-radius: var(--swc-corner-radius-medium-default);
43880
+ color: var(--swc-neutral-subdued-content-color-default);
43881
+ font-size: var(--swc-font-size-75);
43875
43882
  }
43876
43883
  .view-only {
43877
- color: var(--spectrum-neutral-subdued-content-color-default);
43884
+ color: var(--swc-neutral-subdued-content-color-default);
43878
43885
  white-space: nowrap;
43879
43886
  overflow: hidden;
43880
43887
  text-overflow: ellipsis;