@astoe1/ui-kit 0.1.7 → 0.1.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.
Files changed (2) hide show
  1. package/dist/index.js +36 -10
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -1,15 +1,41 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __commonJS = (cb, mod) => function __require() {
8
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
19
+ // If the importer is in node compatibility mode or this is not an ESM
20
+ // file that has been converted to a CommonJS file using a Babel-
21
+ // compatible transform (i.e. "__esModule" has not been set), then set
22
+ // "default" to the CommonJS "module.exports" for node compatibility.
23
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
24
+ mod
25
+ ));
26
+
27
+ // src/lib/components/Button/Button.module.scss
28
+ var require_Button_module = __commonJS({
29
+ "src/lib/components/Button/Button.module.scss"() {
30
+ "use strict";
31
+ }
32
+ });
33
+
1
34
  // src/lib/components/Button/Button.tsx
35
+ var import_Button_module = __toESM(require_Button_module(), 1);
2
36
  import { jsx } from "react/jsx-runtime";
3
- var Button = ({ label = "Button", onClick }) => {
4
- return /* @__PURE__ */ jsx(
5
- "button",
6
- {
7
- type: "button",
8
- onClick,
9
- className: "px-4 py-2 bg-green-600 text-white rounded",
10
- children: label
11
- }
12
- );
37
+ var Button = ({ label, onClick }) => {
38
+ return /* @__PURE__ */ jsx("button", { className: import_Button_module.default.button, onClick, children: label });
13
39
  };
14
40
  export {
15
41
  Button
package/package.json CHANGED
@@ -1,19 +1,20 @@
1
1
  {
2
2
  "name": "@astoe1/ui-kit",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",
8
8
  "types": "./dist/index.d.ts",
9
-
10
9
  "exports": {
11
10
  ".": {
12
11
  "types": "./dist/index.d.ts",
13
12
  "import": "./dist/index.js"
14
13
  }
15
14
  },
16
- "files": ["dist"],
15
+ "files": [
16
+ "dist"
17
+ ],
17
18
  "sideEffects": [
18
19
  "**/*.css"
19
20
  ],
@@ -37,14 +38,13 @@
37
38
  "@storybook/addon-docs": "^10.4.2",
38
39
  "@storybook/addon-vitest": "^10.4.2",
39
40
  "@storybook/react-vite": "^10.4.2",
40
- "@tailwindcss/vite": "^4.3.0",
41
41
  "@types/node": "^24.12.3",
42
42
  "@types/react": "^19.2.14",
43
43
  "@types/react-dom": "^19.2.3",
44
44
  "@vitejs/plugin-react": "^6.0.1",
45
45
  "eslint": "^10.3.0",
46
46
  "playwright": "^1.60.0",
47
- "tailwindcss": "^4.3.0",
47
+ "sass": "^1.100.0",
48
48
  "tsup": "^8.5.1",
49
49
  "typescript": "~6.0.2",
50
50
  "typescript-eslint": "^8.59.2",