sate-lib 1.85.0 → 1.86.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/skeleton/skeleton.d.ts +9 -0
- package/lib/components/skeleton/skeleton.d.ts.map +1 -0
- package/lib/components/skeleton/skeleton.js +1 -0
- package/lib/components/skeleton/skeleton.styles.module.js +1 -0
- package/lib/components/skeleton/skeleton.styles_module.css +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -1
- package/package.json +5 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface SkeletonProps {
|
|
2
|
+
variant?: "text" | "circular" | "rectangular" | "rounded";
|
|
3
|
+
palette?: "dark" | "light";
|
|
4
|
+
width?: number | string;
|
|
5
|
+
height?: number | string;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function Skeleton({ variant, palette, width, height, className, }: SkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=skeleton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../../../src/components/skeleton/skeleton.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,aAAa;IAC7B,OAAO,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,aAAa,GAAG,SAAS,CAAC;IAC1D,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,QAAQ,CAAC,EACxB,OAAgB,EAChB,OAAgB,EAChB,KAAK,EACL,MAAM,EACN,SAAS,GACT,EAAE,aAAa,2CAef"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import t from"./skeleton.styles.module.js";function o({variant:o="text",palette:r="dark",width:n,height:s,className:a}){return e("span",{"aria-hidden":!0,className:[t.root,t[o],t[r],a].filter(Boolean).join(" "),style:{height:s,width:n}})}export{o as Skeleton};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./skeleton.styles_module.css";let e={root:"root-FP6lRj",skeletonOpacity:"skeletonOpacity-qdgRhc",light:"light-sED9zn",dark:"dark-eoHwg4",text:"text-h2I188",rectangular:"rectangular-Hzdvh6",rounded:"rounded-A5VSkv",circular:"circular-Q69GjX"};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.root-FP6lRj{animation:1.6s ease-in-out infinite skeletonOpacity-qdgRhc;display:inline-block;position:relative}.light-sED9zn{background-color:#ffffff2e}.dark-eoHwg4{background-color:#0000001f}.text-h2I188{border-radius:4px;width:100%;height:1em}.rectangular-Hzdvh6{border-radius:0}.rounded-A5VSkv{border-radius:8px}.circular-Q69GjX{border-radius:50%}@keyframes skeletonOpacity-qdgRhc{0%{opacity:1}50%{opacity:.4}to{opacity:1}}
|
package/lib/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export { Notification } from "./components/notification/notification";
|
|
|
12
12
|
export { ProgressIndicator } from "./components/progress-indicator/progress-indicator";
|
|
13
13
|
export { SearchInput } from "./components/search-input/search-input";
|
|
14
14
|
export { SegmentedControl } from "./components/segmented-control/segmented-control";
|
|
15
|
+
export { Skeleton } from "./components/skeleton/skeleton";
|
|
15
16
|
export { Tabs } from "./components/tabs/tabs";
|
|
16
17
|
export { TextArea } from "./components/text-area/text-area";
|
|
17
18
|
export { TextField } from "./components/text-field/text-field";
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,KAA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;AAC9E,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAC;AACvF,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kDAAkD,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Avatar as o}from"./components/avatar/avatar.js";import{Badge as t}from"./components/badge/badge.js";import{Button as r}from"./components/button/button.js";import{ButtonIcon as
|
|
1
|
+
import{Avatar as o}from"./components/avatar/avatar.js";import{Badge as t}from"./components/badge/badge.js";import{Button as r}from"./components/button/button.js";import{ButtonIcon as e}from"./components/button/button-icon.js";import{Drawer as n,DrawerGallery as m,DrawerMenu as p}from"./components/drawer/index.js";import{FilterChipGroup as s}from"./components/filter-chip/filter-chip.js";import{Icon as i}from"./components/icon/icon.js";import{Logo as a}from"./components/logo/logo.js";import{MapMarker as c}from"./components/map-marker/map-marker.js";import{MenuItem as f}from"./components/menu-item/menu-item.js";import{Notification as j}from"./components/notification/notification.js";import{ProgressIndicator as l}from"./components/progress-indicator/progress-indicator.js";import{SearchInput as g}from"./components/search-input/search-input.js";import{SegmentedControl as d}from"./components/segmented-control/segmented-control.js";import{Skeleton as u}from"./components/skeleton/skeleton.js";import{Tabs as b}from"./components/tabs/tabs.js";import{TextArea as h}from"./components/text-area/text-area.js";import{TextField as x}from"./components/text-field/text-field.js";import{Typography as y}from"./components/typography/typography.js";export{o as Avatar,t as Badge,r as Button,e as ButtonIcon,n as Drawer,m as DrawerGallery,p as DrawerMenu,s as FilterChipGroup,i as Icon,a as Logo,c as MapMarker,f as MenuItem,j as Notification,l as ProgressIndicator,g as SearchInput,d as SegmentedControl,u as Skeleton,b as Tabs,h as TextArea,x as TextField,y as Typography};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sate-lib",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.86.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"keywords": [
|
|
@@ -21,6 +21,10 @@
|
|
|
21
21
|
"import": "./lib/index.js",
|
|
22
22
|
"types": "./lib/index.d.ts"
|
|
23
23
|
},
|
|
24
|
+
"./skeleton": {
|
|
25
|
+
"import": "./lib/components/skeleton/skeleton.js",
|
|
26
|
+
"types": "./lib/components/skeleton/skeleton.d.ts"
|
|
27
|
+
},
|
|
24
28
|
"./button": {
|
|
25
29
|
"import": "./lib/components/button/button.js",
|
|
26
30
|
"types": "./lib/components/button/button.d.ts"
|