tsquare 0.5.0 → 0.5.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,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.5.1
4
+
5
+ Docs only: tooltips are easier to find.
6
+ - **Language guide:** the "Tooltips and open states" section starts with a rendered picture of a tooltip, an open select, an open date picker and a row menu. It's generated by `npm run docs`, so it always matches the renderer. The section also now says notes can't take tooltips.
7
+ - **Button page and the playground's Components tab:** a rendered tooltip example.
8
+ - **Components index:** a note that any element inside a screen can take `tooltip="…"`.
9
+
3
10
  ## 0.5.0
4
11
 
5
12
  ### Open states and tooltips
@@ -262,6 +262,12 @@ var EXAMPLES = {
262
262
  button primary "Next" trailingIcon=chevron-right
263
263
  button primary "Full width" fullWidth
264
264
  text "With a board accent, primary buttons fill with it and ghost buttons use it for text." sm muted
265
+ screen custom "tooltip" width=380 height=170
266
+ spacer size=34
267
+ stack row gap=8
268
+ button secondary "Draft" tooltip="Saves without publishing"
269
+ button primary "Publish"
270
+ text "Any element inside a screen can take tooltip=." sm muted
265
271
  screen custom "menu and open" width=380 height=300
266
272
  stack row justify=between align=center
267
273
  heading "Notes" level=3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tsquare",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Wireframes in plain text: easy for LLMs to write, fast to render as SVG or PNG.",
5
5
  "keywords": [
6
6
  "wireframe",