@mccaskie-labs/workbench-ui 0.13.0 → 0.13.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @mccaskie-labs/workbench-ui
2
2
 
3
+ ## 0.13.1
4
+
5
+ ### Patch Changes
6
+
7
+ - The style guide keeps a part that is fixed to the screen (the ask button) inside its own sample box, instead of floating over the page: each sample's frame is its own layout container (`contain: layout`) with room for it.
8
+
3
9
  ## 0.13.0
4
10
 
5
11
  ### Minor Changes
package/dist/ui-styles.js CHANGED
@@ -331,7 +331,7 @@ export const UI_STYLES = {
331
331
  { name: "wb-ui-guide-caption", element: "figcaption", about: "What the sample shows", css: `display:flex;flex-wrap:wrap;gap:.5rem;justify-content:space-between;padding:.5rem .9rem;font-size:.85rem;color:${v("muted")};border-bottom:1px solid ${v("line")}` },
332
332
  { name: "wb-ui-guide-title", element: "span", about: "The sample's name", css: `color:${v("text")}` },
333
333
  { name: "wb-ui-guide-layout", element: "span", about: "The tool layout a sample shows", css: "font-weight:600" },
334
- { name: "wb-ui-guide-frame", element: "div", about: "The sample itself, drawn on the page's own background", css: "padding:1.25rem" },
334
+ { name: "wb-ui-guide-frame", element: "div", about: "The sample itself, drawn on the page's own background; a part fixed to the screen (the ask button) stays inside it", css: "padding:1.25rem;contain:layout;min-height:6rem" },
335
335
  { name: "wb-ui-guide-empty", element: "p", about: "Said when no tool has samples yet", css: `color:${v("muted")}` },
336
336
  ],
337
337
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mccaskie-labs/workbench-ui",
3
- "version": "0.13.0",
3
+ "version": "0.13.1",
4
4
  "description": "Workbench pages: one dark look, a top bar with the environment tag, cards, outcome pills, and one format for times, money and durations.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",