@vinyasa/button 1.0.1 → 1.0.2

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.
@@ -32,7 +32,9 @@ __webpack_require__.d(__webpack_exports__, {
32
32
  });
33
33
  const jsx_runtime_namespaceObject = require("react/jsx-runtime");
34
34
  require("react");
35
+ var buttonStyles = '_1bwnrav0';
35
36
  const Button = ()=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
37
+ className: buttonStyles,
36
38
  children: "Button"
37
39
  });
38
40
  const button_Button = Button;
@@ -0,0 +1,9 @@
1
+ ._1bwnrav0 {
2
+ color: #fff;
3
+ background-color: #111827;
4
+ border: 1px solid #1f2937;
5
+ border-radius: .75rem;
6
+ padding: .75rem 1rem;
7
+ font-weight: 600;
8
+ }
9
+
@@ -1,12 +1,14 @@
1
1
  "use strict";
2
2
  var __webpack_modules__ = {
3
- 47 (__unused_rspack_module, __webpack_exports__, __webpack_require__) {
3
+ 239 (__unused_rspack_module, __webpack_exports__, __webpack_require__) {
4
4
  __webpack_require__.d(__webpack_exports__, {
5
5
  default: ()=>components_button
6
6
  });
7
7
  const jsx_runtime_namespaceObject = require("react/jsx-runtime");
8
8
  require("react");
9
+ var buttonStyles = '_1bwnrav0';
9
10
  const Button = ()=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
11
+ className: buttonStyles,
10
12
  children: "Button"
11
13
  });
12
14
  const button_Button = Button;
@@ -51,7 +53,7 @@ function __webpack_require__(moduleId) {
51
53
  var __webpack_exports__ = {};
52
54
  (()=>{
53
55
  __webpack_require__.r(__webpack_exports__);
54
- var _components_button__rspack_import_0 = __webpack_require__(47);
56
+ var _components_button__rspack_import_0 = __webpack_require__(239);
55
57
  __webpack_require__.d(__webpack_exports__, {
56
58
  Button: ()=>_components_button__rspack_import_0["default"],
57
59
  default: ()=>_components_button__rspack_import_0["default"]
@@ -0,0 +1,9 @@
1
+ ._1bwnrav0 {
2
+ color: #fff;
3
+ background-color: #111827;
4
+ border: 1px solid #1f2937;
5
+ border-radius: .75rem;
6
+ padding: .75rem 1rem;
7
+ font-weight: 600;
8
+ }
9
+
@@ -0,0 +1,9 @@
1
+ ._1bwnrav0 {
2
+ color: #fff;
3
+ background-color: #111827;
4
+ border: 1px solid #1f2937;
5
+ border-radius: .75rem;
6
+ padding: .75rem 1rem;
7
+ font-weight: 600;
8
+ }
9
+
@@ -1,6 +1,8 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import "react";
3
+ var buttonStyles = '_1bwnrav0';
3
4
  const Button = ()=>/*#__PURE__*/ jsx("div", {
5
+ className: buttonStyles,
4
6
  children: "Button"
5
7
  });
6
8
  const button_Button = Button;
@@ -0,0 +1,2 @@
1
+ export declare const buttonStyles: string;
2
+ //# sourceMappingURL=Button.css.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button.css.d.ts","sourceRoot":"","sources":["../../../../src/components/button/Button.css.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,QAOvB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,QAAA,MAAM,MAAM,yBAEX,CAAC;AAEF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,QAAA,MAAM,MAAM,yBAEX,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { StoryObj } from '@storybook/react-vite';
2
+ declare const meta: {
3
+ title: string;
4
+ component: () => import("react").JSX.Element;
5
+ tags: string[];
6
+ };
7
+ export default meta;
8
+ type Story = StoryObj<typeof meta>;
9
+ export declare const Default: Story;
10
+ //# sourceMappingURL=Button.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/button/__story__/Button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAI5D,QAAA,MAAM,IAAI;;;;CAIqB,CAAC;AAEhC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Button.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/button/__test__/Button.test.tsx"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vinyasa/button",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -30,6 +30,14 @@
30
30
  },
31
31
  "scripts": {
32
32
  "build": "rslib build",
33
+ "typecheck": "tsc --noEmit -p tsconfig.json",
34
+ "lint": "eslint --config ../../configs/eslint.config.mjs src/**/*.{ts,tsx}",
35
+ "lint:fix": "eslint --config ../../configs/eslint.config.mjs src/**/*.{ts,tsx} --fix",
36
+ "format": "prettier . --config ../../configs/prettier.config.json --ignore-path ../../configs/.prettierignore --write",
37
+ "format:check": "prettier . --config ../../configs/prettier.config.json --ignore-path ../../configs/.prettierignore --check",
38
+ "test": "vitest run --config vitest.config.ts",
39
+ "test:watch": "vitest --config vitest.config.ts",
40
+ "test:coverage": "vitest run --config vitest.config.ts --coverage",
33
41
  "prepack": "pnpm build",
34
42
  "pack:check": "npm pack --dry-run"
35
43
  },
@@ -40,6 +48,8 @@
40
48
  "devDependencies": {
41
49
  "@rsbuild/plugin-react": "^2.1.0",
42
50
  "@rslib/core": "^0.23.1",
51
+ "@vanilla-extract/css": "^1.21.0",
52
+ "@storybook/react-vite": "^10.4.6",
43
53
  "@types/node": "^26.0.1",
44
54
  "@types/react": "^19.0.0",
45
55
  "typescript": "^5.7.3"