@newtone-dev/ui-react-web 0.32.1 → 0.34.0

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.
@@ -113,6 +113,11 @@
113
113
  padding-inline-end: calc(var(--newtone-button-pad-y) - 1px);
114
114
  }
115
115
 
116
+ /* THE MIRROR, for a leading glyph that points back (react-web 0.33.0). Same expression, other side. */
117
+ .newtone-button--icon-start {
118
+ padding-inline-start: calc(var(--newtone-button-pad-y) - 1px);
119
+ }
120
+
116
121
  /* :focus-visible, not :focus -- the contract is explicit, and focus is not optional.
117
122
  The ring is per variant: it sits against that variant's own fill, and area decides
118
123
  how much contrast it needs. */
@@ -28,15 +28,24 @@ interface ButtonCommon {
28
28
  size?: ButtonSize;
29
29
  /** The `label` slot. Required. */
30
30
  children: ReactNode;
31
- /**
32
- * A trailing glyph, by name. There is no leading slot: a glyph on a button points ONWARD, at
33
- * what pressing it leads to -- `Action`'s spelling and its reason. **Its presence takes one gap
34
- * off the padding on its own side**, so the glyph sits `padding-block` from the rim and the word
35
- * `padding-block + gap`. Sized by the rung. Since 2026-10-01, react-web 0.22.0;
36
- * contracts/button.md, *Slots*, and governance/code/an-icon-and-the-text-beside-it-do-not-take-the-same-padding.md.
37
- */
38
- iconEnd?: string;
39
31
  }
32
+ /**
33
+ * At most one glyph, on the side it points to. `iconEnd` points onward, at what pressing leads to;
34
+ * `iconStart` (react-web 0.33.0) points back, so it goes before the word. **The union refuses both
35
+ * together**: two glyphs would make the label one item in a row of three. Either one takes one gap
36
+ * off the padding on its own side, so the glyph sits `padding-block` from the rim and the word
37
+ * `padding-block + gap`. Sized by the rung. contracts/button.md, *Slots*, and
38
+ * governance/code/an-icon-and-the-text-beside-it-do-not-take-the-same-padding.md.
39
+ */
40
+ type ButtonGlyph = {
41
+ /** A trailing glyph, by name, pointing onward. Since 2026-10-01, react-web 0.22.0. */
42
+ iconEnd?: string;
43
+ iconStart?: undefined;
44
+ } | {
45
+ /** A leading glyph, by name, pointing back. Since 2026-10-09, react-web 0.33.0. */
46
+ iconStart?: string;
47
+ iconEnd?: undefined;
48
+ };
40
49
  /**
41
50
  * The two halves of the contract's **Action / Destination** pair, typed so that exactly one can be
42
51
  * present. A caller that passes `href` gets an anchor's attributes and no `type` or `onClick`; a
@@ -44,10 +53,10 @@ interface ButtonCommon {
44
53
  * contract states in prose**, and it is the reason this is one component rather than two: the
45
54
  * paint, the variants and the tokens do not move, and `href` is the only thing that does.
46
55
  */
47
- export type ButtonProps = (ButtonCommon & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children'> & {
56
+ export type ButtonProps = (ButtonCommon & ButtonGlyph & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children'> & {
48
57
  /** Absent on this arm. A Button with no destination is a button. */
49
58
  href?: undefined;
50
- }) | (ButtonCommon & Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'children' | 'href'> & {
59
+ }) | (ButtonCommon & ButtonGlyph & Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'children' | 'href'> & {
51
60
  /**
52
61
  * Where pressing it goes. Its presence turns the rendered element into an `<a>` --
53
62
  * see contracts/button.md, *Destination*. Nothing else about the component changes.
@@ -62,6 +71,6 @@ export type ButtonProps = (ButtonCommon & Omit<ButtonHTMLAttributes<HTMLButtonEl
62
71
  * sits on -- so the same Button inverts on an `emphasis` surface with nothing passed to it.
63
72
  * Adding a `theme` prop here would put the 24-way context product back on every component.
64
73
  */
65
- export declare function Button({ variant, size, children, iconEnd, className, ...rest }: ButtonProps): import("react").JSX.Element;
74
+ export declare function Button({ variant, size, children, iconStart, iconEnd, className, ...rest }: ButtonProps): import("react").JSX.Element;
66
75
  export {};
67
76
  //# sourceMappingURL=button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/button/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,SAAS,EAAE,MA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AClB,wEAAwE;IACxE,OAAO,CAAC,EAAE,aAAa,CAAA;IACvB;;;;;;;;OAQG;IACH,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,kCAAkC;IAClC,QAAQ,EAAE,SAAS,CAAA;CACtB;AAED;;;;;;;GAOG;AACH,KAAK,WAAW,GACV;IACI,sFAAsF;IACtF,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,SAAS,CAAA;CACxB,GACD;IACI,mFAAmF;IACnF,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,SAAS,CAAA;CACtB,CAAA;AAEP;;;;;;GAMG;AACH,MAAM,MAAM,WAAW,GACjB,CAAC,YAAY,GACT,WAAW,GACX,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,UAAU,CAAC,GAAG;IACxD,oEAAoE;IACpE,IAAI,CAAC,EAAE,SAAS,CAAA;CACnB,CAAC,GACN,CAAC,YAAY,GACT,WAAW,GACX,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,UAAU,GAAG,MAAM,CAAC,GAAG;IACjE;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAA;CACf,CAAC,CAAA;AAEZ;;;;;;;GAOG;AACH,wBAAgB,MAAM,CAAC,EACnB,OAAmB,EACnB,IAAW,EACX,QAAQ,EACR,SAAS,EACT,OAAO,EACP,SAAS,EACT,GAAG,IAAI,EACV,EAAE,WAAW,+BAwDb"}
@@ -10,7 +10,7 @@ const GLYPH = { sm: 'sm', md: 'sm', lg: 'md' };
10
10
  * sits on -- so the same Button inverts on an `emphasis` surface with nothing passed to it.
11
11
  * Adding a `theme` prop here would put the 24-way context product back on every component.
12
12
  */
13
- export function Button({ variant = 'primary', size = 'md', children, iconEnd, className, ...rest }) {
13
+ export function Button({ variant = 'primary', size = 'md', children, iconStart, iconEnd, className, ...rest }) {
14
14
  // One class list, both arms. The whole of the destination change is which element wears it --
15
15
  // no token moves, no variant is added, and `button.*` stays the only group this file reads.
16
16
  //
@@ -23,14 +23,15 @@ export function Button({ variant = 'primary', size = 'md', children, iconEnd, cl
23
23
  `newtone-button--${variant}`,
24
24
  `newtone-button--${size}`,
25
25
  // Keyed on the glyph being PRESENT, as `Action`'s is: a button with no glyph keeps both sides.
26
+ iconStart === undefined ? null : 'newtone-button--icon-start',
26
27
  iconEnd === undefined ? null : 'newtone-button--icon-end',
27
28
  className,
28
29
  ]
29
30
  .filter(Boolean)
30
31
  .join(' ');
31
- // With a glyph the label is wrapped, so the glyph is the one element after it. `Icon` writes its
32
+ // With a glyph the label is wrapped, so the glyph is the one element beside it. `Icon` writes its
32
33
  // own `aria-hidden`, so the button's name is still the label.
33
- const content = iconEnd === undefined ? (children) : (_jsxs(_Fragment, { children: [_jsx("span", { className: "newtone-button-label", children: children }), _jsx(Icon, { name: iconEnd, size: GLYPH[size] })] }));
34
+ const content = iconStart === undefined && iconEnd === undefined ? (children) : (_jsxs(_Fragment, { children: [iconStart !== undefined && _jsx(Icon, { name: iconStart, size: GLYPH[size] }), _jsx("span", { className: "newtone-button-label", children: children }), iconEnd !== undefined && _jsx(Icon, { name: iconEnd, size: GLYPH[size] })] }));
34
35
  if (rest.href !== undefined) {
35
36
  const { href, ...anchor } = rest;
36
37
  return (_jsx("a", { href: href, className: classes, ...anchor, children: content }));
@@ -1 +1 @@
1
- {"version":3,"file":"button.js","sourceRoot":"","sources":["../../src/button/button.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAiB,MAAM,kBAAkB,CAAA;AAkBtD,iGAAiG;AACjG,MAAM,KAAK,GAAiC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,CAAA;AAiD5E;;;;;;;GAOG;AACH,MAAM,UAAU,MAAM,CAAC,EACnB,OAAO,GAAG,SAAS,EACnB,IAAI,GAAG,IAAI,EACX,QAAQ,EACR,OAAO,EACP,SAAS,EACT,GAAG,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GAAG,IAG3B,CAAA;QACD,OAAO,CACH,YAAG,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,KAAM,MAAM,YACxC,OAAO,GACR,CACP,CAAA;IACL,CAAC;IAED,+FAA+F;IAC/F,0FAA0F;IAC1F,OAAO,CACH,iBACI,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,OAAO,KACb,IAAgD,YAEpD,OAAO,GACH,CACZ,CAAA;AACL,CAAC"}
@@ -40,7 +40,7 @@
40
40
  *
41
41
  * ---- and its colour, which stopped being one value on 2026-09-06 ---------
42
42
  *
43
- * This rule read `border: 1px solid var(--newtone-role-divider)` -- one declaration for every card
43
+ * This rule read `border: 1px solid var(--newtone-role-divider-secondary)` -- one declaration for every card
44
44
  * in the repo -- until `pricing-card/` needed a ring that turns accent when a reader picks a
45
45
  * segment. **It is still one declaration.** What changed is that the colour is now a property with
46
46
  * the old value as its default, so a card that says nothing gets exactly what it got before and
@@ -103,8 +103,10 @@
103
103
 
104
104
  /* ROUND, 0.9.0 (2026-09-25): a circle for a glyph-only control, whose box is already square. 50% is
105
105
  * geometry and names no length, so it is not a radius step. control.md, *`round`*. */
106
+ /* FULLY ROUND ENDS: a circle on a bare square, a pill on a labelled row (0.34.0). 999px rather than
107
+ * 50%, which drew an ellipse on a row. Geometry, not a step on the radius scale. control.md. */
106
108
  .newtone-control--round {
107
- border-radius: 50%;
109
+ border-radius: 999px;
108
110
  }
109
111
 
110
112
  /* ---- the rungs ----------------------------------------------------------
@@ -56,9 +56,10 @@ interface ControlCommon {
56
56
  */
57
57
  iconEnd?: boolean;
58
58
  /**
59
- * A circle rather than the control's corner, from 0.9.0 (2026-09-25): `border-radius: 50%`. For a
60
- * glyph-only control, whose box is square; geometry, not a step on the radius scale. First caller:
61
- * atril's footer source button. control.md, *`round`*.
59
+ * Fully round ends rather than the control's corner: a circle on a glyph-only control, whose box is
60
+ * square (0.9.0, 2026-09-25), and a pill on a labelled one (0.34.0, 2026-10-09). `999px`, geometry,
61
+ * not a step on the radius scale. Callers: atril's footer source button; joshua-allen_website's
62
+ * resume back control. control.md, *`round`*.
62
63
  */
63
64
  round?: boolean;
64
65
  }
@@ -1 +1 @@
1
- {"version":3,"file":"control.d.ts","sourceRoot":"","sources":["../../src/control/control.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAA;AAGvE,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,WAAW,CAAA;AACpD;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,MAAM,WAAW,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAgCnD,UAAU,aAAa;IACnB,6EAA6E;IAC7E,IAAI,EAAE,MAAM,CAAA;IACZ,wFAAwF;IACxF,OAAO,CAAC,EAAE,cAAc,CAAA;IACxB;;;;;;;;;OASG;IACH,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,uEAAuE;IACvE,IAAI,CAAC,EAAE,OAAO,CAAA;IACd;;;;;;;;;;;;;;;OAeG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;CAClB;AAED;;;;;;;;;GASG;AACH,KAAK,WAAW,GACV;IACI,+FAA+F;IAC/F,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;CACrB,GACD;IACI,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,yFAAyF;IACzF,SAAS,EAAE,MAAM,CAAA;CACpB,CAAA;AAEP;;;;;GAKG;AACH,KAAK,cAAc,GACb,CAAC,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC,GAAG;IACxE,uEAAuE;IACvE,IAAI,CAAC,EAAE,SAAS,CAAA;CACnB,CAAC,GACF,CAAC,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,UA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,8FAA8F;IAC9F,oCAAoC;IACpC,EAAE;IACF,+FAA+F;IAC/F,+FAA+F;IAC/F,0FAA0F;IAC1F,EAAE;IACF,4FAA4F;IAC5F,+FAA+F;IAC/F,+FAA+F;IAC/F,8FAA8F;IAC9F,cAAc;IACd,MAAM,KAAK,GAAG,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,GAAI,CAAA;IACjE,MAAM,IAAI,GAAG,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,eAAM,SAAS,EAAC,uBAAuB,YAAE,KAAK,GAAQ,CAAA;IAChG,MAAM,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,CACtB,8BACK,IAAI,EACJ,KAAK,IACP,CACN,CAAC,CAAC,CAAC,CACA,8BACK,KAAK,EACL,IAAI,IACN,CACN,CAAA;IAED,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;QAC1B,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,EAAE,GAAG,IAG3B,CAAA;QACD,OAAO,CACH,YAAG,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,gBAAc,SAAS,KAAM,MAAM,YAC/D,OAAO,GACR,CACP,CAAA;IACL,CAAC;IAED,OAAO,CACH,iBACI,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,OAAO,gBACN,SAAS,KAChB,IAAgD,YAEpD,OAAO,GACH,CACZ,CAAA;AACL,CAAC"}
@@ -51,7 +51,7 @@
51
51
  overflow-y: auto;
52
52
  background: var(--newtone-role-surface-primary);
53
53
  color: var(--newtone-role-text-primary);
54
- border-inline-end: 1px solid var(--newtone-role-divider);
54
+ border-inline-end: 1px solid var(--newtone-role-divider-secondary);
55
55
  z-index: 2;
56
56
  }
57
57
 
@@ -62,7 +62,7 @@
62
62
  flex: none;
63
63
  block-size: var(--_shell-row);
64
64
  padding-inline: var(--newtone-space-4);
65
- border-block-end: 1px solid var(--newtone-role-divider);
65
+ border-block-end: 1px solid var(--newtone-role-divider-secondary);
66
66
  overflow: hidden;
67
67
  white-space: nowrap;
68
68
  }
@@ -204,7 +204,7 @@
204
204
  gap: var(--newtone-space-3);
205
205
  block-size: var(--_shell-row);
206
206
  padding-inline: var(--newtone-space-4);
207
- border-block-end: 1px solid var(--newtone-role-divider);
207
+ border-block-end: 1px solid var(--newtone-role-divider-secondary);
208
208
  }
209
209
 
210
210
  .newtone-shell-main {
@@ -214,7 +214,7 @@
214
214
 
215
215
  .newtone-shell-footer {
216
216
  padding: var(--newtone-space-3) var(--newtone-space-4);
217
- border-block-start: 1px solid var(--newtone-role-divider);
217
+ border-block-start: 1px solid var(--newtone-role-divider-secondary);
218
218
  }
219
219
 
220
220
  .newtone-shell-toggle {
@@ -113,7 +113,7 @@
113
113
  display: grid;
114
114
  grid-template-rows: 1fr auto;
115
115
  gap: 1px;
116
- background: var(--newtone-role-divider);
116
+ background: var(--newtone-role-divider-secondary);
117
117
  }
118
118
 
119
119
  /* `min-inline-size: 0` IS NOT DECORATION. A grid item's automatic minimum size is its content, so a
@@ -286,7 +286,7 @@
286
286
  gap: clamp(2.5rem, 6vw, 6rem);
287
287
  align-items: start;
288
288
  padding-block-end: clamp(2.5rem, 6vh, 4rem);
289
- border-block-end: 1px solid var(--newtone-role-divider);
289
+ border-block-end: 1px solid var(--newtone-role-divider-secondary);
290
290
  }
291
291
 
292
292
  .newtone-site-footer-brand {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newtone-dev/ui-react-web",
3
- "version": "0.32.1",
3
+ "version": "0.34.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",