sate-lib 1.11.0 → 1.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/lib/components/shadow-box/shadow-box.d.ts.map +1 -1
- package/lib/components/shadow-box/shadow-box.js +1 -1
- package/lib/components/typography/typography.d.ts +0 -3
- package/lib/components/typography/typography.d.ts.map +1 -1
- package/lib/components/typography/typography.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shadow-box.d.ts","sourceRoot":"","sources":["../../../src/components/shadow-box/shadow-box.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"shadow-box.d.ts","sourceRoot":"","sources":["../../../src/components/shadow-box/shadow-box.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,MAAM,WAAW,kBAAmB,SAAQ,cAAc,CAAC,cAAc,CAAC;CAAG;AAE7E,wBAAgB,aAAa,CAAC,EAC5B,SAAc,EACd,GAAG,KAAK,EACT,EAAE,kBAAkB,2CAcpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as r,jsxs as o}from"react/jsx-runtime";import a from"./shadow-box.styles.module.js";
|
|
1
|
+
import{jsx as r,jsxs as o}from"react/jsx-runtime";import a from"./shadow-box.styles.module.js";function d({className:d="",...e}){return r("div",{className:`${a.grid} ${d}`.trim(),...e,children:Array.from({length:8},(d,e)=>r("div",{className:a.box,style:{boxShadow:`var(--box-shadow-${e+1})`},children:o("span",{children:["Shadow ",e+1]})},e))})}export{d as ShadowBoxGrid};
|
|
@@ -5,8 +5,5 @@ export interface TypographyProps extends HTMLAttributes<HTMLParagraphElement> {
|
|
|
5
5
|
variant?: Variant;
|
|
6
6
|
palette?: "dark" | "light" | "grey";
|
|
7
7
|
}
|
|
8
|
-
export declare const typographyStyles: {
|
|
9
|
-
[key: string]: string;
|
|
10
|
-
};
|
|
11
8
|
export declare const Typography: ({ as: Tag, variant, className, palette, children, ...rest }: TypographyProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
9
|
//# sourceMappingURL=typography.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../src/components/typography/typography.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAGvC,MAAM,MAAM,OAAO,GACf,cAAc,GACd,eAAe,GACf,cAAc,GACd,aAAa,GACb,cAAc,GACd,iBAAiB,GACjB,WAAW,GACX,YAAY,GACZ,oBAAoB,GACpB,YAAY,GACZ,mBAAmB,GACnB,WAAW,GACX,qBAAqB,GACrB,aAAa,GACb,mBAAmB,GACnB,WAAW,GACX,WAAW,GACX,aAAa,GACb,WAAW,CAAC;AAEhB,MAAM,WAAW,eAAgB,SAAQ,cAAc,CAAC,oBAAoB,CAAC;IAC3E,EAAE,CAAC,EAAE,GAAG,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;CACrC;AAED,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../src/components/typography/typography.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAGvC,MAAM,MAAM,OAAO,GACf,cAAc,GACd,eAAe,GACf,cAAc,GACd,aAAa,GACb,cAAc,GACd,iBAAiB,GACjB,WAAW,GACX,YAAY,GACZ,oBAAoB,GACpB,YAAY,GACZ,mBAAmB,GACnB,WAAW,GACX,qBAAqB,GACrB,aAAa,GACb,mBAAmB,GACnB,WAAW,GACX,WAAW,GACX,aAAa,GACb,WAAW,CAAC;AAEhB,MAAM,WAAW,eAAgB,SAAQ,cAAc,CAAC,oBAAoB,CAAC;IAC3E,EAAE,CAAC,EAAE,GAAG,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;CACrC;AAED,eAAO,MAAM,UAAU,GAAI,6DAOxB,eAAe,4CAejB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as o}from"react/jsx-runtime";import r from"./typography.styles.module.js";let e=({as:e="p",variant:t="bodyDefault",className:p="",palette:a,children:l,...y})=>o(e,{className:[r.typography,r[t],a&&r[a],p].filter(Boolean).join(" "),...y,children:l});export{e as Typography};
|