@rovula/ui 0.0.2 → 0.0.4

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/main.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import "./src/style.css";
1
2
  export { default as Button } from "./src/components/Button/Button";
2
3
  export { default as Table } from "./src/components/Table/Table";
3
4
  export { default as TextInput } from "./src/components/Form/TextInput";
package/dist/main.js CHANGED
@@ -5,6 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.getTimestampUTC = exports.getStartEndTimestampOfDay = exports.getEndDateOfDay = exports.getStartDateOfDay = exports.resloveTimestamp = exports.Tabs = exports.Text = exports.TextInput = exports.Table = exports.Button = void 0;
7
7
  // UI Components
8
+ require("./src/style.css");
8
9
  var Button_1 = require("./src/components/Button/Button");
9
10
  Object.defineProperty(exports, "Button", { enumerable: true, get: function () { return __importDefault(Button_1).default; } });
10
11
  var Table_1 = require("./src/components/Table/Table");
@@ -0,0 +1,3 @@
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@rovula/ui",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "main": "dist/main.js",
5
5
  "types": "dist/main.d.ts",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1",
8
8
  "build": "tsc",
9
- "prepare": "npm run build "
9
+ "prepare": "npm run build ",
10
+ "build:css": "copyfiles src/style.css dist"
10
11
  },
11
12
  "files": [
12
13
  "dist/**/*",
@@ -23,6 +24,7 @@
23
24
  "@rollup/plugin-typescript": "^11.1.6",
24
25
  "@types/node": "^20.12.12",
25
26
  "babel-loader": "^9.1.3",
27
+ "copyfiles": "^2.4.1",
26
28
  "css-loader": "^7.1.2",
27
29
  "style-loader": "^4.0.0",
28
30
  "typescript": "^5.4.5",
@@ -30,6 +32,8 @@
30
32
  "webpack-cli": "^5.1.4"
31
33
  },
32
34
  "dependencies": {
35
+ "@headlessui/react": "^2.0.3",
36
+ "@heroicons/react": "^2.1.3",
33
37
  "@types/react": "^18.3.2",
34
38
  "autoprefixer": "^10.4.19",
35
39
  "axios": "^1.6.4",
@@ -38,7 +42,7 @@
38
42
  "react": "^17.0.0 || ^18.0.0",
39
43
  "react-dom": "^17.0.0 || ^18.0.0",
40
44
  "rollup": "^4.17.2",
41
- "tailwindcss": "npm:@tailwindcss/postcss7-compat@^2.2.17",
45
+ "tailwindcss": "^3.4.3",
42
46
  "yup": "^1.4.0"
43
47
  },
44
48
  "peerDependencies": {
package/src/style.css ADDED
@@ -0,0 +1,3 @@
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;