@lessly/ui 0.19.1 → 0.20.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.
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -631,8 +631,8 @@ interface SignInScreenProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>,
|
|
|
631
631
|
/** Brand mark shown at the top of the card (and centered in `loading`). Apps pass
|
|
632
632
|
* their own — e.g. a wordmark. */
|
|
633
633
|
brand: React$1.ReactNode;
|
|
634
|
-
/** Small
|
|
635
|
-
* orients without cluttering the error/forbidden headers. */
|
|
634
|
+
/** Small sentence-case eyebrow above the headline. Absent by default; rendered on
|
|
635
|
+
* `login` only, where it orients without cluttering the error/forbidden headers. */
|
|
636
636
|
eyebrow?: React$1.ReactNode;
|
|
637
637
|
/** Headline. Falls back to a per-state default ("Sign in" / "Access restricted" /
|
|
638
638
|
* "Couldn't load"). */
|
|
@@ -660,7 +660,7 @@ interface SignInScreenProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>,
|
|
|
660
660
|
retryLabel?: React$1.ReactNode;
|
|
661
661
|
/** Label for the `loading` state. Default "Loading…". */
|
|
662
662
|
loadingLabel?: React$1.ReactNode;
|
|
663
|
-
/** Muted footer signature.
|
|
663
|
+
/** Muted footer signature. Absent by default; pass a node to render one. */
|
|
664
664
|
footer?: React$1.ReactNode;
|
|
665
665
|
}
|
|
666
666
|
/**
|
package/dist/index.js
CHANGED
|
@@ -2526,7 +2526,7 @@ var SignInScreen = React43.forwardRef(
|
|
|
2526
2526
|
onRetry,
|
|
2527
2527
|
retryLabel = "Try again",
|
|
2528
2528
|
loadingLabel = "Loading\u2026",
|
|
2529
|
-
footer
|
|
2529
|
+
footer,
|
|
2530
2530
|
className,
|
|
2531
2531
|
...props
|
|
2532
2532
|
}, ref) => {
|
|
@@ -2566,7 +2566,7 @@ var SignInScreen = React43.forwardRef(
|
|
|
2566
2566
|
},
|
|
2567
2567
|
children: [
|
|
2568
2568
|
/* @__PURE__ */ jsx49("div", { className: "mb-[22px]", children: brandMark }),
|
|
2569
|
-
eyebrow && state2 === "login" && /* @__PURE__ */ jsx49("p", { className: "mb-[12px] text-[
|
|
2569
|
+
eyebrow && state2 === "login" && /* @__PURE__ */ jsx49("p", { className: "mb-[12px] text-[13px] font-medium text-text-tertiary", children: eyebrow }),
|
|
2570
2570
|
/* @__PURE__ */ jsx49("h1", { className: "mb-[8px] text-[20px] font-semibold leading-[1.25] tracking-[-0.015em] text-text-primary", children: heading }),
|
|
2571
2571
|
sub && /* @__PURE__ */ jsx49("p", { className: "mx-auto mb-[24px] max-w-[280px] text-[13.5px] leading-[1.5] text-text-secondary", children: sub }),
|
|
2572
2572
|
state2 === "login" && /* @__PURE__ */ jsx49(
|