@vinyasa/button 1.0.12 → 1.0.13
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/dist/cjs/button.cjs +48 -0
- package/dist/cjs/index.cjs +33 -14
- package/dist/esm/button.css +26 -0
- package/dist/esm/button.js +12 -0
- package/dist/esm/index.js +1 -12
- package/package.json +8 -1
- /package/dist/{esm/index.css → cjs/button.css} +0 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __webpack_require__ = {};
|
|
3
|
+
(()=>{
|
|
4
|
+
__webpack_require__.d = (exports1, getters, values)=>{
|
|
5
|
+
var define = (defs, kind)=>{
|
|
6
|
+
for(var key in defs)if (__webpack_require__.o(defs, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
[kind]: defs[key]
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
define(getters, "get");
|
|
12
|
+
define(values, "value");
|
|
13
|
+
};
|
|
14
|
+
})();
|
|
15
|
+
(()=>{
|
|
16
|
+
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
17
|
+
})();
|
|
18
|
+
(()=>{
|
|
19
|
+
__webpack_require__.r = (exports1)=>{
|
|
20
|
+
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
21
|
+
value: 'Module'
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports1, '__esModule', {
|
|
24
|
+
value: true
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
})();
|
|
28
|
+
var __webpack_exports__ = {};
|
|
29
|
+
__webpack_require__.r(__webpack_exports__);
|
|
30
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
31
|
+
default: ()=>components_button
|
|
32
|
+
});
|
|
33
|
+
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
34
|
+
require("react");
|
|
35
|
+
var Button_css_button = '_1bwnrav0';
|
|
36
|
+
const Button = ()=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("button", {
|
|
37
|
+
className: Button_css_button,
|
|
38
|
+
children: "Button"
|
|
39
|
+
});
|
|
40
|
+
const button_Button = Button;
|
|
41
|
+
const components_button = button_Button;
|
|
42
|
+
exports["default"] = __webpack_exports__["default"];
|
|
43
|
+
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
44
|
+
"default"
|
|
45
|
+
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
46
|
+
Object.defineProperty(exports, '__esModule', {
|
|
47
|
+
value: true
|
|
48
|
+
});
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var
|
|
2
|
+
var __webpack_modules__ = {
|
|
3
|
+
748 (__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
4
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
5
|
+
default: ()=>components_button
|
|
6
|
+
});
|
|
7
|
+
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
8
|
+
require("react");
|
|
9
|
+
var Button_css_button = '_1bwnrav0';
|
|
10
|
+
const Button = ()=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("button", {
|
|
11
|
+
className: Button_css_button,
|
|
12
|
+
children: "Button"
|
|
13
|
+
});
|
|
14
|
+
const button_Button = Button;
|
|
15
|
+
const components_button = button_Button;
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
var __webpack_module_cache__ = {};
|
|
19
|
+
function __webpack_require__(moduleId) {
|
|
20
|
+
var cachedModule = __webpack_module_cache__[moduleId];
|
|
21
|
+
if (void 0 !== cachedModule) return cachedModule.exports;
|
|
22
|
+
var module = __webpack_module_cache__[moduleId] = {
|
|
23
|
+
exports: {}
|
|
24
|
+
};
|
|
25
|
+
__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
26
|
+
return module.exports;
|
|
27
|
+
}
|
|
3
28
|
(()=>{
|
|
4
29
|
__webpack_require__.d = (exports1, getters, values)=>{
|
|
5
30
|
var define = (defs, kind)=>{
|
|
@@ -26,20 +51,14 @@ var __webpack_require__ = {};
|
|
|
26
51
|
};
|
|
27
52
|
})();
|
|
28
53
|
var __webpack_exports__ = {};
|
|
29
|
-
|
|
30
|
-
__webpack_require__.
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
require("react");
|
|
36
|
-
var Button_css_button = '_1bwnrav0';
|
|
37
|
-
const Button = ()=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("button", {
|
|
38
|
-
className: Button_css_button,
|
|
39
|
-
children: "Button"
|
|
54
|
+
(()=>{
|
|
55
|
+
__webpack_require__.r(__webpack_exports__);
|
|
56
|
+
var _components_button__rspack_import_0 = __webpack_require__(748);
|
|
57
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
58
|
+
Button: ()=>_components_button__rspack_import_0["default"],
|
|
59
|
+
default: ()=>_components_button__rspack_import_0["default"]
|
|
40
60
|
});
|
|
41
|
-
|
|
42
|
-
const components_button = button_Button;
|
|
61
|
+
})();
|
|
43
62
|
exports.Button = __webpack_exports__.Button;
|
|
44
63
|
exports["default"] = __webpack_exports__["default"];
|
|
45
64
|
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
._1bwnrav0 {
|
|
2
|
+
color: #fff;
|
|
3
|
+
cursor: pointer;
|
|
4
|
+
background-color: #111827;
|
|
5
|
+
border: none;
|
|
6
|
+
border-radius: 9999px;
|
|
7
|
+
padding: .625rem 1rem;
|
|
8
|
+
font-size: .875rem;
|
|
9
|
+
font-weight: 600;
|
|
10
|
+
line-height: 1;
|
|
11
|
+
transition: transform .15s, opacity .15s;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
._1bwnrav0:hover {
|
|
15
|
+
opacity: .92;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
._1bwnrav0:active {
|
|
19
|
+
transform: translateY(1px);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
._1bwnrav0:focus-visible {
|
|
23
|
+
outline-offset: 2px;
|
|
24
|
+
outline: 2px solid #2563eb;
|
|
25
|
+
}
|
|
26
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import "./button.css";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import "react";
|
|
4
|
+
var Button_css_button = '_1bwnrav0';
|
|
5
|
+
const Button = ()=>/*#__PURE__*/ jsx("button", {
|
|
6
|
+
className: Button_css_button,
|
|
7
|
+
children: "Button"
|
|
8
|
+
});
|
|
9
|
+
const button_Button = Button;
|
|
10
|
+
const components_button = button_Button;
|
|
11
|
+
export default components_button;
|
|
12
|
+
export { components_button as Button };
|
package/dist/esm/index.js
CHANGED
|
@@ -1,12 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import "react";
|
|
4
|
-
var Button_css_button = '_1bwnrav0';
|
|
5
|
-
const Button = ()=>/*#__PURE__*/ jsx("button", {
|
|
6
|
-
className: Button_css_button,
|
|
7
|
-
children: "Button"
|
|
8
|
-
});
|
|
9
|
-
const button_Button = Button;
|
|
10
|
-
const components_button = button_Button;
|
|
11
|
-
export default components_button;
|
|
12
|
-
export { components_button as Button };
|
|
1
|
+
export { Button, Button as default } from "./button.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vinyasa/button",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.13",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -28,6 +28,13 @@
|
|
|
28
28
|
"require": "./dist/cjs/index.cjs",
|
|
29
29
|
"default": "./dist/esm/index.js"
|
|
30
30
|
},
|
|
31
|
+
"./button": {
|
|
32
|
+
"types": "./dist/esm/button.d.ts",
|
|
33
|
+
"import": "./dist/esm/button.js",
|
|
34
|
+
"require": "./dist/cjs/button.cjs",
|
|
35
|
+
"default": "./dist/esm/button.js"
|
|
36
|
+
},
|
|
37
|
+
"./button/style.css": "./dist/esm/button.css",
|
|
31
38
|
"./style.css": "./dist/esm/index.css",
|
|
32
39
|
"./package.json": "./package.json"
|
|
33
40
|
},
|
|
File without changes
|