sate-lib 1.11.0 → 1.13.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/assets/image/noise.js +1 -0
- package/lib/components/button/button.styles_module.css +1 -1
- 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 +3 -2
- package/lib/components/button/noise.js +0 -1
- /package/lib/{static → assets}/image/noise.png +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"../../assets/image/noise.png";export{e as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.button-es9ITD{all:unset;cursor:pointer;justify-content:center;align-items:center;gap:var(--spacing-size-4,.25rem);border-radius:var(--radius-radii-12,.75rem);transition:outline .2s,background .2s,box-shadow .2s;display:inline-flex}.button-es9ITD:disabled,.button-es9ITD.loading-VKSpAI{opacity:.38;pointer-events:none}.button-es9ITD.icon-KwFnbg{padding-inline-start:var(--spacing-size-16,1rem)}.button-es9ITD.directionRight-WAP5c6{flex-direction:row-reverse;padding-inline-start:var(--spacing-size-24,1.5rem);padding-inline-end:var(--spacing-size-16,1rem)}.filled-xa4u4J{color:var(--color-interactive-control,#fff);background-image:url(../../
|
|
1
|
+
.button-es9ITD{all:unset;cursor:pointer;justify-content:center;align-items:center;gap:var(--spacing-size-4,.25rem);border-radius:var(--radius-radii-12,.75rem);transition:outline .2s,background .2s,box-shadow .2s;display:inline-flex}.button-es9ITD:disabled,.button-es9ITD.loading-VKSpAI{opacity:.38;pointer-events:none}.button-es9ITD.icon-KwFnbg{padding-inline-start:var(--spacing-size-16,1rem)}.button-es9ITD.directionRight-WAP5c6{flex-direction:row-reverse;padding-inline-start:var(--spacing-size-24,1.5rem);padding-inline-end:var(--spacing-size-16,1rem)}.filled-xa4u4J{color:var(--color-interactive-control,#fff);background-image:url(../../assets/image/noise.png);background-position:50%;background-repeat:no-repeat;background-color:var(--color-interactive-accent,#202020)}.filled-xa4u4J:hover{background-color:var(--color-interactive-accent-hover,#000)}.filled-xa4u4J:active{background-color:var(--color-interactive-accent-active,#202020)}.filled-xa4u4J:focus-visible{box-shadow:0 0 0 2px var(--color-background-screen,#fdfdf9),0 0 0 4px var(--color-content-primary,#202020)}.outlined-gCb7Hr{color:var(--color-interactive-primary,#646464);outline:1px solid color-mix(in srgb,var(--color-interactive-secondary,#0000002b)17%,transparent);outline-offset:-1px;background:0 0}.outlined-gCb7Hr:hover{background:color-mix(in srgb,var(--color-background-screen-hover,#0000000a)4%,transparent)}.outlined-gCb7Hr:active{background:color-mix(in srgb,var(--color-background-screen-active,#0000000a)4%,transparent)}.outlined-gCb7Hr:focus-visible{background:var(--color-background-screen,#fdfdf9);outline:2px solid var(--color-background-screen,#fdfdf9);box-shadow:0 0 0 4px var(--color-content-primary,#202020);outline-offset:0}.text-s9AYuv{color:var(--color-interactive-primary,#646464);background:0 0}.text-s9AYuv:hover,.text-s9AYuv:active{background:color-mix(in srgb,var(--color-background-screen-hover,#0000000a)4%,transparent)}.text-s9AYuv:focus-visible{background:var(--color-background-screen,#fdfdf9);box-shadow:0 0 0 2px var(--color-background-screen,#fdfdf9),0 0 0 4px var(--color-content-primary,#202020)}.toned-wooKOh{color:var(--color-interactive-primary,#646464);background:color-mix(in srgb,var(--color-background-neutral,#0000000a)4%,transparent)}.toned-wooKOh:hover{background:color-mix(in srgb,var(--color-background-neutral-hover,#00000014)8%,transparent)}.toned-wooKOh:active{background:color-mix(in srgb,var(--color-background-neutral-active,#00000014)8%,transparent)}.toned-wooKOh:focus-visible{background:color-mix(in srgb,var(--color-background-neutral,#0000000a)4%,transparent);box-shadow:0 0 0 2px var(--color-background-screen,#fdfdf9),0 0 0 4px var(--color-content-primary,#202020)}.small-UmKEXc{padding:var(--spacing-size-8,.5rem)var(--spacing-size-12,.75rem);font-family:var(--typescale-display-font-secondary,"Golos UI");font-size:var(--typescale-body-default-emphasis-font-size,.875rem);font-weight:500;line-height:var(--typescale-body-default-emphasis-line-height,1.25rem);letter-spacing:var(--typescale-body-default-emphasis-letter-spacing,0)}.medium-gHb8hS{padding:var(--spacing-size-8,.5rem)var(--spacing-size-16,1rem);font-family:var(--typescale-display-font-secondary,"Golos UI");font-size:var(--typescale-body-large-emphasis-font-size,1rem);font-weight:500;line-height:var(--typescale-body-large-emphasis-line-height,1.5rem);letter-spacing:var(--typescale-body-large-emphasis-letter-spacing,-.0125rem)}.large-JwSUDq{padding:var(--spacing-size-12,.75rem)var(--spacing-size-24,1.5rem);font-family:var(--typescale-display-font-secondary,"Golos UI");font-size:var(--typescale-body-x-large-emphasis-font-size,1.125rem);font-weight:500;line-height:var(--typescale-body-x-large-emphasis-line-height,1.625rem);letter-spacing:var(--typescale-body-x-large-emphasis-letter-spacing,-.0125rem)}.iconOnly-qeXgqW{border-radius:var(--radius-radii-full,62.5rem);padding:unset!important}.iconOnly-qeXgqW.xSmall-Z2xJog{width:1.5rem;height:1.5rem;padding:.3125rem}.iconOnly-qeXgqW.xSmall-Z2xJog svg{width:1rem;height:1rem}.iconOnly-qeXgqW.small-UmKEXc{width:2rem;height:2rem;padding:.3125rem}.iconOnly-qeXgqW.small-UmKEXc svg{width:1.125rem;height:1.125rem}.iconOnly-qeXgqW.medium-gHb8hS{width:2.5rem;height:2.5rem}.iconOnly-qeXgqW.medium-gHb8hS svg{width:1.5rem;height:1.5rem}
|
|
@@ -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};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sate-lib",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -61,7 +61,8 @@
|
|
|
61
61
|
},
|
|
62
62
|
"./tokens.css": "./lib/assets/styles/tokens.css",
|
|
63
63
|
"./reset.css": "./lib/assets/styles/reset.css",
|
|
64
|
-
"./fonts.css": "./lib/assets/styles/fonts.css"
|
|
64
|
+
"./fonts.css": "./lib/assets/styles/fonts.css",
|
|
65
|
+
"./images/*": "./lib/assets/images/*"
|
|
65
66
|
},
|
|
66
67
|
"types": "./lib/index.d.ts",
|
|
67
68
|
"files": [
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"../../static/image/noise.png";export{e as default};
|
|
File without changes
|