@mistriwork/ui 1.0.0-rc.13 → 1.0.0-rc.14

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.
Files changed (2) hide show
  1. package/dist/tokens.css +5 -2
  2. package/package.json +1 -1
package/dist/tokens.css CHANGED
@@ -56,9 +56,12 @@
56
56
  and "good" must stay green there. */
57
57
  --status-good: #1f7a46;
58
58
  /* The code face, single-sourced: --mono is the data face and follows the
59
- typography preference; --code is what code surfaces pin to. */
59
+ typography preference; --code is what code surfaces pin to. A host's
60
+ look may set --data-face on the root to dress the data in another face;
61
+ the reader's explicit typography (body.type-mono, body.type-sans) wins
62
+ over it, and unset it is the code face. */
60
63
  --code: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
61
- --mono: var(--code);
64
+ --mono: var(--data-face, var(--code));
62
65
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
63
66
  --radius: 6px;
64
67
  /* A form control's own size, said once for every one of them (the field box, a listbox, a choice, a button's pair):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mistriwork/ui",
3
- "version": "1.0.0-rc.13",
3
+ "version": "1.0.0-rc.14",
4
4
  "description": "The standalone React primitives both shells are drawn with: Modal, DropMenu, Dropdown, Typeahead, Button, Field, Icon and DateField over Base UI, Switch, Tabs, Drawer, Popover, Avatar, Pagination, Carousel, Resizable, ScrollArea and Tooltip, the form controls built on them (text, masked, money and sensitive boxes, listboxes, choices, slider, progress and action bar; Preview), the landing hero's blocks (badge, photo tiles, icon rows; Preview), their tokens and stylesheet, and the zoom-aware ruler their popups are placed by.",
5
5
  "homepage": "https://mistriwork.dev",
6
6
  "bugs": {