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

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/dist/Icon.js CHANGED
@@ -95,5 +95,5 @@ export function Icon({ name, label, size = '1em', weight, className }) {
95
95
  loadEveryGlyph();
96
96
  }, [own]);
97
97
  const accessibleLabel = label?.trim() || undefined;
98
- return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: size, height: size, fill: "currentColor", viewBox: "0 0 256 256", className: `tw-icon${className ? ` ${className}` : ''}`, role: accessibleLabel ? 'img' : undefined, "aria-label": accessibleLabel, "aria-hidden": accessibleLabel ? undefined : true, focusable: "false", children: drawing?.map((d, index) => (_jsx("path", { d: d }, index))) }));
98
+ return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: size, height: size, fill: "currentColor", viewBox: "0 0 256 256", className: `mistri-icon${className ? ` ${className}` : ''}`, role: accessibleLabel ? 'img' : undefined, "aria-label": accessibleLabel, "aria-hidden": accessibleLabel ? undefined : true, focusable: "false", children: drawing?.map((d, index) => (_jsx("path", { d: d }, index))) }));
99
99
  }
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @mistriwork/ui: the primitives every dialog, menu, listbox, icon and form here is drawn with, over Base UI and dressed in
3
- * the house classes (`modal`, `dd-*`, `btn`, `form-field`, `date-field`, `tw-icon`), which its own stylesheet styles
3
+ * the house classes (`modal`, `dd-*`, `btn`, `form-field`, `date-field`, `mistri-icon`), which its own stylesheet styles
4
4
  * (`@mistriwork/ui/style.css`). A primitive reads no walk, no address, no transport and no copy catalog: its words, its
5
5
  * icons, its answers and its hooks are props (scripts/check-boundary.mjs holds the `ui` layer to importing only
6
6
  * itself).
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @mistriwork/ui: the primitives every dialog, menu, listbox, icon and form here is drawn with, over Base UI and dressed in
3
- * the house classes (`modal`, `dd-*`, `btn`, `form-field`, `date-field`, `tw-icon`), which its own stylesheet styles
3
+ * the house classes (`modal`, `dd-*`, `btn`, `form-field`, `date-field`, `mistri-icon`), which its own stylesheet styles
4
4
  * (`@mistriwork/ui/style.css`). A primitive reads no walk, no address, no transport and no copy catalog: its words, its
5
5
  * icons, its answers and its hooks are props (scripts/check-boundary.mjs holds the `ui` layer to importing only
6
6
  * itself).
@@ -11,7 +11,7 @@
11
11
  * offsetWidth/offsetHeight are already layout pixels and stay as read.
12
12
  *
13
13
  * The root is the page's own element unless a shell says otherwise: an
14
- * embedded shell wears its zoom on its own `.tw-root` and names it with
14
+ * embedded shell wears its zoom on its own `.mistri-root` and names it with
15
15
  * `measureFrom` (packages/mistri/src/embed/seams/shellHost.ts). The kit
16
16
  * reads these through core.js, under the names it always had.
17
17
  */
@@ -11,7 +11,7 @@
11
11
  * offsetWidth/offsetHeight are already layout pixels and stay as read.
12
12
  *
13
13
  * The root is the page's own element unless a shell says otherwise: an
14
- * embedded shell wears its zoom on its own `.tw-root` and names it with
14
+ * embedded shell wears its zoom on its own `.mistri-root` and names it with
15
15
  * `measureFrom` (packages/mistri/src/embed/seams/shellHost.ts). The kit
16
16
  * reads these through core.js, under the names it always had.
17
17
  */
@@ -181,7 +181,7 @@ textarea.field-control { min-height: 72px; resize: vertical; }
181
181
  @media (pointer: coarse) { .date-field-popup button { min-height: 36px; } }
182
182
 
183
183
  /* An icon (Icon.tsx). */
184
- .tw-icon { display: inline-block; flex: none; vertical-align: middle; }
184
+ .mistri-icon { display: inline-block; flex: none; vertical-align: middle; }
185
185
 
186
186
  /* The newer standalone primitives' rules live in standalone.css, not
187
187
  here: the kit imports this sheet into every first paint, and none of
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mistriwork/ui",
3
- "version": "1.0.0-rc.14",
3
+ "version": "1.0.0-rc.15",
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": {