@photoroom/ui 0.1.491 → 0.1.493
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/components/list/SectionHeader/NumberedSectionHeader.d.ts +2 -1
- package/components/list/SectionHeader/NumberedSectionHeader.d.ts.map +1 -1
- package/components/list/SectionHeader/SectionHeader.d.ts +5 -1
- package/components/list/SectionHeader/SectionHeader.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export type NumberedSectionHeaderProps = Readonly<{
|
|
2
2
|
index: string;
|
|
3
|
-
title:
|
|
3
|
+
/** Same contract as SectionHeader's title: plain text or phrasing content. */
|
|
4
|
+
title: React.ReactNode;
|
|
4
5
|
/**
|
|
5
6
|
* Plain text, or a node when the subtitle embeds inline controls (e.g. an `InlineButton`).
|
|
6
7
|
* Phrasing content only — it renders inside a `<p>`, so block elements would be re-parented.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumberedSectionHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/list/SectionHeader/NumberedSectionHeader.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,0BAA0B,GAAG,QAAQ,CAAC;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"NumberedSectionHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/list/SectionHeader/NumberedSectionHeader.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,0BAA0B,GAAG,QAAQ,CAAC;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,8EAA8E;IAC9E,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB;;;OAGG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC,CAAC;AAEH,eAAO,MAAM,qBAAqB,GAAI,wCAKnC,0BAA0B,gCAiB5B,CAAC"}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
export type SectionHeaderProps = Readonly<{
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Plain text, or a node when part of the title carries its own styling
|
|
4
|
+
* (e.g. a muted "(optional)" suffix). Phrasing content only.
|
|
5
|
+
*/
|
|
6
|
+
title: React.ReactNode;
|
|
3
7
|
size?: "medium" | "large";
|
|
4
8
|
variant?: "primary" | "secondary";
|
|
5
9
|
className?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/list/SectionHeader/SectionHeader.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CAAC;IACxC,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"SectionHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/list/SectionHeader/SectionHeader.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CAAC;IACxC;;;OAGG;IACH,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC1B,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB,CAAC,CAAC;AAqCH,eAAO,MAAM,aAAa,GAAI,qEAQ3B,kBAAkB,gCAQpB,CAAC"}
|