stone-kit 0.0.7 → 0.0.8
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as _, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import '../../../assets/Button.css';function
|
|
2
|
+
import '../../../assets/Button.module.css';function b(e) {
|
|
3
3
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
4
4
|
}
|
|
5
5
|
var f = { exports: {} };
|
|
@@ -38,22 +38,22 @@ var f = { exports: {} };
|
|
|
38
38
|
e.exports ? (c.default = c, e.exports = c) : window.classNames = c;
|
|
39
39
|
})();
|
|
40
40
|
})(f);
|
|
41
|
-
var
|
|
42
|
-
const
|
|
43
|
-
btnCommon:
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
blue:
|
|
51
|
-
sokolniki:
|
|
52
|
-
black:
|
|
53
|
-
gray:
|
|
54
|
-
whiteStroke:
|
|
55
|
-
whiteFilled:
|
|
56
|
-
}, u =
|
|
41
|
+
var d = f.exports;
|
|
42
|
+
const h = /* @__PURE__ */ b(d), w = "_btnCommon_4cp41_1", k = "_blue_4cp41_57", y = "_sokolniki_4cp41_71", z = "_black_4cp41_85", x = "_gray_4cp41_99", S = "_whiteStroke_4cp41_113", $ = "_whiteFilled_4cp41_125", s = {
|
|
43
|
+
btnCommon: w,
|
|
44
|
+
"auto-width": "_auto-width_4cp41_17",
|
|
45
|
+
"full-width": "_full-width_4cp41_21",
|
|
46
|
+
"l-size": "_l-size_4cp41_25",
|
|
47
|
+
"m-size": "_m-size_4cp41_33",
|
|
48
|
+
"s-size": "_s-size_4cp41_41",
|
|
49
|
+
"xs-size": "_xs-size_4cp41_49",
|
|
50
|
+
blue: k,
|
|
51
|
+
sokolniki: y,
|
|
52
|
+
black: z,
|
|
53
|
+
gray: x,
|
|
54
|
+
whiteStroke: S,
|
|
55
|
+
whiteFilled: $
|
|
56
|
+
}, u = h.bind(s), N = ({
|
|
57
57
|
size: e = "l",
|
|
58
58
|
pre: i = !1,
|
|
59
59
|
children: c = "",
|
|
@@ -64,7 +64,7 @@ const b = /* @__PURE__ */ d(h), S = "_btnCommon_4cp41_1", z = "_auto-width_4cp41
|
|
|
64
64
|
...o
|
|
65
65
|
}) => {
|
|
66
66
|
if (o.as === "link") {
|
|
67
|
-
const { as:
|
|
67
|
+
const { as: C, ...p } = o;
|
|
68
68
|
return /* @__PURE__ */ _(
|
|
69
69
|
"a",
|
|
70
70
|
{
|
|
@@ -85,7 +85,7 @@ const b = /* @__PURE__ */ d(h), S = "_btnCommon_4cp41_1", z = "_auto-width_4cp41
|
|
|
85
85
|
}
|
|
86
86
|
);
|
|
87
87
|
}
|
|
88
|
-
const { as:
|
|
88
|
+
const { as: j, ...m } = o;
|
|
89
89
|
return /* @__PURE__ */ _(
|
|
90
90
|
"button",
|
|
91
91
|
{
|
|
@@ -107,5 +107,5 @@ const b = /* @__PURE__ */ d(h), S = "_btnCommon_4cp41_1", z = "_auto-width_4cp41
|
|
|
107
107
|
);
|
|
108
108
|
};
|
|
109
109
|
export {
|
|
110
|
-
|
|
110
|
+
N as default
|
|
111
111
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stone-kit",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.8",
|
|
5
5
|
"author": "Mollycodd1e",
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"type": "module",
|
|
@@ -16,9 +16,6 @@
|
|
|
16
16
|
"classnames": "^2.5.1"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@testing-library/dom": "^10.1.0",
|
|
20
|
-
"@testing-library/react": "^15.0.7",
|
|
21
|
-
"@types/node": "^20.12.12",
|
|
22
19
|
"@types/react": "^18.2.66",
|
|
23
20
|
"@types/react-dom": "^18.2.22",
|
|
24
21
|
"@typescript-eslint/eslint-plugin": "^7.2.0",
|
|
@@ -30,16 +27,13 @@
|
|
|
30
27
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
31
28
|
"eslint-plugin-react-refresh": "^0.4.6",
|
|
32
29
|
"glob": "^10.3.16",
|
|
33
|
-
"jsdom": "^24.0.0",
|
|
34
30
|
"react": "^18.2.0",
|
|
35
31
|
"react-dom": "^18.2.0",
|
|
36
|
-
"react-test-renderer": "^18.3.1",
|
|
37
32
|
"sass": "^1.77.2",
|
|
38
33
|
"typescript": "^5.2.2",
|
|
39
34
|
"vite": "^5.2.0",
|
|
40
35
|
"vite-plugin-dts": "^3.9.1",
|
|
41
|
-
"vite-plugin-lib-inject-css": "^2.1.1"
|
|
42
|
-
"vitest": "^1.6.0"
|
|
36
|
+
"vite-plugin-lib-inject-css": "^2.1.1"
|
|
43
37
|
},
|
|
44
38
|
"main": "dist/main.js",
|
|
45
39
|
"types": "dist/main.d.ts",
|
|
File without changes
|