@av-digital/components 0.0.5 → 0.0.6
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/README.md +7 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +10 -0
- package/dist/lib/Button/index.d.ts +3 -0
- package/dist/lib/Button/index.d.ts.map +1 -0
- package/dist/lib/Button/interfaces.d.ts +5 -0
- package/dist/lib/Button/interfaces.d.ts.map +1 -0
- package/dist/lib/Spinner/index.d.ts +3 -0
- package/dist/lib/Spinner/index.d.ts.map +1 -0
- package/dist/lib/Spinner/interfaces.d.ts +4 -0
- package/dist/lib/Spinner/interfaces.d.ts.map +1 -0
- package/package.json +11 -18
package/README.md
ADDED
package/dist/index.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._btn_xe7an_1{display:flex;padding:.5rem 1rem}._btn_xe7an_1[data-variant=primary]{background:var(--root-avdig-button-primary-background);color:var(--root-avdig-button-primary-text-color)}._btn_xe7an_1[data-variant=secondary]{background:var(--root-avdig-button-secondary-background);color:var(--root-avdig-button-secondary-text-color)}@keyframes _rotation_1vxmk_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._spinner_1vxmk_9{width:48px;height:48px;border:5px solid #dbdbdb;border-bottom-color:#000;border-radius:50%;display:inline-block;box-sizing:border-box;animation:_rotation_1vxmk_1 1s linear infinite}._spinner_1vxmk_9[data-variant=primary]{border-bottom-color:var(--root-avdig-spinner-primary-color)}._spinner_1vxmk_9[data-variant=secondary]{border-bottom-color:var(--root-avdig-spinner-secondary-color)}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
const r = "_btn_xe7an_1", s = {
|
|
3
|
+
btn: r
|
|
4
|
+
}, d = ({ children: t, variant: n }) => /* @__PURE__ */ a("button", { "data-variant": n || "primary", className: s.btn, children: t }), i = "_spinner_1vxmk_9", e = {
|
|
5
|
+
spinner: i
|
|
6
|
+
}, p = ({ variant: t }) => /* @__PURE__ */ a("div", { "data-variant": t || "primary", className: e.spinner });
|
|
7
|
+
export {
|
|
8
|
+
d as Button,
|
|
9
|
+
p as Spinner
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/Button/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAG1C,eAAO,MAAM,MAAM,0BAA2B,WAAW,4CAOxD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/lib/Button/interfaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE1C,MAAM,WAAW,WAAY,SAAQ,iBAAiB;IACpD,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,CAAA;CAClC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/Spinner/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAE1C,eAAO,MAAM,OAAO,gBAAe,WAAW,4CAK7C,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/lib/Spinner/interfaces.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,WAAW;IACxB,OAAO,CAAC,EAAE,GAAG,CAAA;CAChB"}
|
package/package.json
CHANGED
|
@@ -1,28 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@av-digital/components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"main": "./index.js",
|
|
6
|
-
"
|
|
7
|
-
"
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"module": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
8
|
"exports": {
|
|
9
|
+
"./package.json": "./package.json",
|
|
9
10
|
".": {
|
|
10
11
|
"development": "./src/index.ts",
|
|
11
|
-
"types": "./index.d.ts",
|
|
12
|
-
"import": "./index.js",
|
|
13
|
-
"default": "./index.js"
|
|
14
|
-
|
|
15
|
-
},
|
|
16
|
-
"./styles": "./index.css"
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/index.js",
|
|
14
|
+
"default": "./dist/index.js"
|
|
15
|
+
}
|
|
17
16
|
},
|
|
18
17
|
"files": [
|
|
19
18
|
"dist",
|
|
20
19
|
"!**/*.tsbuildinfo"
|
|
21
|
-
]
|
|
22
|
-
|
|
23
|
-
"access": "public"
|
|
24
|
-
},
|
|
25
|
-
"dependencies": {
|
|
26
|
-
"react": "19.0.0"
|
|
27
|
-
}
|
|
28
|
-
}
|
|
20
|
+
]
|
|
21
|
+
}
|