@monospaced/set-core 0.25.0 → 0.26.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/avatar/avatar.d.ts.map +1 -1
- package/dist/components/inline/inline.d.ts +2 -1
- package/dist/components/inline/inline.d.ts.map +1 -1
- package/dist/components/nav/nav.d.ts.map +1 -1
- package/dist/components/page/page.d.ts +14 -5
- package/dist/components/page/page.d.ts.map +1 -1
- package/dist/core-mnsp.css +1 -1
- package/dist/core-wrfr.css +1 -1
- package/dist/core.css +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +160 -148
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
- package/dist/components/panel/panel.d.ts +0 -31
- package/dist/components/panel/panel.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@monospaced/set-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.0",
|
|
4
4
|
"description": "SSR-first component library for Set. Native HTML output via custom elements, with a co-located CSS contract.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
"./styles/wrfr.css": "./dist/core-wrfr.css"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@monospaced/set-icons": "0.
|
|
27
|
+
"@monospaced/set-icons": "0.26.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@monospaced/set-config": "0.
|
|
31
|
-
"@monospaced/set-markdown": "0.
|
|
32
|
-
"@monospaced/set-system": "0.
|
|
30
|
+
"@monospaced/set-config": "0.26.0",
|
|
31
|
+
"@monospaced/set-markdown": "0.26.0",
|
|
32
|
+
"@monospaced/set-system": "0.26.0",
|
|
33
33
|
"@testing-library/dom": "^10.4.2",
|
|
34
34
|
"@testing-library/user-event": "^14.6.8",
|
|
35
35
|
"@types/node": "^26.6.6",
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { type SetNode } from "../../helpers/node";
|
|
2
|
-
import type { SetComponentSpec } from "../../spec";
|
|
3
|
-
import type { SetPanelSurfaceVariant } from "../surface/surface";
|
|
4
|
-
export type SetPanelPadding = "xs" | "sm" | "md" | "lg" | "xl";
|
|
5
|
-
export interface SetPanelProps {
|
|
6
|
-
/** Trusted inner HTML. */
|
|
7
|
-
children?: string;
|
|
8
|
-
/** DOM id. */
|
|
9
|
-
id?: string;
|
|
10
|
-
/** Inner spacing scale. @default "md" */
|
|
11
|
-
padding?: SetPanelPadding;
|
|
12
|
-
/** Surface context. */
|
|
13
|
-
surface?: SetPanelSurfaceVariant;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Builds the IR tree for the Set panel component.
|
|
17
|
-
*
|
|
18
|
-
* @param props - Panel component props.
|
|
19
|
-
* @returns IR node for a panel wrapper.
|
|
20
|
-
*/
|
|
21
|
-
export declare function buildSetPanel({ children, id, padding, surface, }: SetPanelProps): SetNode;
|
|
22
|
-
/**
|
|
23
|
-
* SSR renderer for the Set panel component.
|
|
24
|
-
*
|
|
25
|
-
* @param props - Panel component props.
|
|
26
|
-
* @returns HTML string for a panel wrapper.
|
|
27
|
-
*/
|
|
28
|
-
export declare function renderSetPanel(props: SetPanelProps): string;
|
|
29
|
-
/** Declarative panel contract mirror for tooling, docs, and adapters. */
|
|
30
|
-
export declare const SET_PANEL_SPEC: SetComponentSpec;
|
|
31
|
-
//# sourceMappingURL=panel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"panel.d.ts","sourceRoot":"","sources":["../../../src/components/panel/panel.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,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAEjE,MAAM,MAAM,eAAe,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE/D,MAAM,WAAW,aAAa;IAC5B,0BAA0B;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,yCAAyC;IACzC,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B,uBAAuB;IACvB,OAAO,CAAC,EAAE,sBAAsB,CAAC;CAClC;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,EAAE,EACF,OAAc,EACd,OAAO,GACR,EAAE,aAAa,GAAG,OAAO,CAczB;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,aAAa,GAAG,MAAM,CAE3D;AAED,yEAAyE;AACzE,eAAO,MAAM,cAAc,EAAE,gBAmD5B,CAAC"}
|