@putdotio/design 3.11.0 → 3.11.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/DESIGN.md CHANGED
@@ -70,7 +70,7 @@ A web mock is never a native spec. Every surface binds at one tier, and every ca
70
70
 
71
71
  - **Tier 0: Foundations.** The token graph. Values only; binds every tier.
72
72
  - **Tier 1: www · app · auth.** The full system: tokens plus the `system/components.css` recipes, which are the contract here only.
73
- - **Tier 2: iOS · iPadOS · tvOS · watchOS · Android · Android TV.** Tokens only. Components and pages come from the platform's guidelines; cards show how a stock control takes put.io tokens. The shipped tvOS and Android TV app draws its own components with Lucide icons: documented drift.
73
+ - **Tier 2: iOS · iPadOS · tvOS · watchOS · Android · Android TV.** Tokens only. Components and pages come from the platform's guidelines; cards show how a stock control takes put.io tokens. The shipped tvOS and Android TV app draws its own components with Phosphor icons; the components are documented drift.
74
74
  - **Tier 3: Roku.** Tier 2, plus put.io conventions in custom SceneGraph components.
75
75
  - **Tier 4: tv.put.io · Tizen · webOS.** The web system, restrained to a calm, list-first 10-foot interface.
76
76
 
@@ -135,10 +135,10 @@ Default radius `6px`; `4px` for tight controls, `8px` or `10px` for panels, pill
135
135
 
136
136
  - Sign in, sign up, password reset, and two-factor pages have no card or panel: the form sits on `--bg`. Recipe: `.auth-page`, `.auth-header`, `.auth-main`, `.auth-column`, `.auth-title`, `.auth-links`, `.auth-footer`.
137
137
  - The logo sits top-left in the header, in a `30.33px` box (26px ink × 7/6). The top right stays empty by default.
138
- - One left-aligned column, up to `340px`, is centred horizontally and vertically.
138
+ - One left-aligned column, up to `340px`, is centred horizontally and optically centred vertically: the form's middle sits near 45% of the viewport height, never below the true middle.
139
139
  - A quiet centred footer links Terms of Service, Privacy Policy, and Help in muted `--fs-sm`.
140
140
  - One title per screen: `--fs-title` (`22px`), medium, `--tracking-snug` (`-0.01em`). No subtitles, taglines, or marketing lines; copy stays short.
141
- - Fields are the standard filled field. Fields and buttons in the column are `44px`.
141
+ - Fields and buttons keep the standard 36px box: the filled field and a full-width default-size primary.
142
142
  - Labels are small, muted, and above the field.
143
143
  - The primary button is full-width yellow. Secondary actions sit under the form as muted text links: “Forgot password?”, “New to put.io? Sign up”, “Wrong account? Sign out”.
144
144
  - Tab order runs fields, submit, then secondary links; DOM order follows visual order, with no positive `tabindex`. Two-factor runs the code, Verify, then its links. The reveal-password toggle takes `tabindex="-1"` and keeps its accessible name: keyboard-only users can't toggle visibility, screen-reader users still can in browse mode. No link leaves the tab order.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putdotio/design",
3
- "version": "3.11.0",
3
+ "version": "3.11.1",
4
4
  "description": "Public put.io design tokens, brand assets, and design-system guidance.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -568,7 +568,8 @@ input, textarea, select { text-transform: none; letter-spacing: normal; }
568
568
 
569
569
  Card-less: the form sits on the page background. Logo top-left
570
570
  in .auth-header, one left-aligned 340px column centred in
571
- .auth-main, a quiet link row in .auth-footer. Controls are 44px;
571
+ .auth-main, a quiet link row in .auth-footer. Controls keep the
572
+ standard 36px box;
572
573
  the title is the only heading. Under 640px the gutters drop to 24px so the logo lines
573
574
  up with the column.
574
575
  =========================================================== */
@@ -593,7 +594,9 @@ input, textarea, select { text-transform: none; letter-spacing: normal; }
593
594
  display: flex;
594
595
  align-items: center;
595
596
  justify-content: center;
596
- padding: 24px 24px 48px;
597
+ /* Optical centre: the extra bottom padding lifts the form so its middle
598
+ sits near 45% of the viewport height, never below the true middle. */
599
+ padding: 24px 24px max(48px, 10vh);
597
600
  }
598
601
  .auth-column {
599
602
  width: 100%;
@@ -615,9 +618,7 @@ input, textarea, select { text-transform: none; letter-spacing: normal; }
615
618
  font-weight: var(--fw-regular);
616
619
  color: var(--text-secondary);
617
620
  }
618
- .auth-column .field { height: 44px; }
619
621
  .auth-column form > .form-reveal .form-callout { padding-top: 12px; font-size: var(--fs-base); }
620
- .auth-column .btn-block { height: 44px; }
621
622
  .auth-column form > .form-reveal + .btn-block { margin-top: 16px; }
622
623
  .auth-links {
623
624
  margin: 24px 0 0;