@monospaced/set-core 0.10.1 → 0.12.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/components/figure/figure.d.ts +4 -2
- package/dist/components/figure/figure.d.ts.map +1 -1
- package/dist/core.css +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +174 -161
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type SetNode } from "../../helpers/node";
|
|
2
2
|
import type { SetComponentSpec } from "../../spec";
|
|
3
|
-
import type { SetAlign } from "../../types";
|
|
3
|
+
import type { SetAlign, SetInlineSize } from "../../types";
|
|
4
4
|
export interface SetFigureProps {
|
|
5
5
|
/** Alignment within available space. @default "start" */
|
|
6
6
|
align?: SetAlign;
|
|
@@ -10,6 +10,8 @@ export interface SetFigureProps {
|
|
|
10
10
|
children: string;
|
|
11
11
|
/** DOM id. */
|
|
12
12
|
id?: string;
|
|
13
|
+
/** Inline-size behavior. @default "full" */
|
|
14
|
+
inlineSize?: SetInlineSize;
|
|
13
15
|
/** Enables breakpoint-responsive type sizing for the caption. @default false */
|
|
14
16
|
responsive?: boolean;
|
|
15
17
|
}
|
|
@@ -19,7 +21,7 @@ export interface SetFigureProps {
|
|
|
19
21
|
* @param props - Figure component props.
|
|
20
22
|
* @returns IR node for a figure wrapper.
|
|
21
23
|
*/
|
|
22
|
-
export declare function buildSetFigure({ align, caption, children, id, responsive, }: SetFigureProps): SetNode;
|
|
24
|
+
export declare function buildSetFigure({ align, caption, children, id, inlineSize, responsive, }: SetFigureProps): SetNode;
|
|
23
25
|
/**
|
|
24
26
|
* SSR renderer for the Set figure component.
|
|
25
27
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"figure.d.ts","sourceRoot":"","sources":["../../../src/components/figure/figure.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAEpE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"figure.d.ts","sourceRoot":"","sources":["../../../src/components/figure/figure.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAEpE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAG3D,MAAM,WAAW,cAAc;IAC7B,yDAAyD;IACzD,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,4BAA4B;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,gEAAgE;IAChE,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,4CAA4C;IAC5C,UAAU,CAAC,EAAE,aAAa,CAAC;IAC3B,gFAAgF;IAChF,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,EAC7B,KAAe,EACf,OAAO,EACP,QAAQ,EACR,EAAE,EACF,UAAmB,EACnB,UAAkB,GACnB,EAAE,cAAc,GAAG,OAAO,CA6B1B;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,cAAc,GAAG,MAAM,CAE7D;AAED,0EAA0E;AAC1E,eAAO,MAAM,eAAe,EAAE,gBAuE7B,CAAC"}
|