@gearbox-protocol/permissionless-ui 1.0.2 → 1.0.3

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,7 +1,9 @@
1
1
  "use strict";
2
+ var __create = Object.create;
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
5
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
8
  var __export = (target, all) => {
7
9
  for (var name in all)
@@ -15,12 +17,21 @@ var __copyProps = (to, from, except, desc) => {
15
17
  }
16
18
  return to;
17
19
  };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
18
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
29
  var tailwind_config_exports = {};
20
30
  __export(tailwind_config_exports, {
21
31
  default: () => tailwind_config_default
22
32
  });
23
33
  module.exports = __toCommonJS(tailwind_config_exports);
34
+ var import_tailwindcss_animate = __toESM(require("tailwindcss-animate"));
24
35
  const tailwindConfig = {
25
36
  darkMode: ["class"],
26
37
  content: [
@@ -79,6 +90,6 @@ const tailwindConfig = {
79
90
  }
80
91
  }
81
92
  },
82
- plugins: [require("tailwindcss-animate")]
93
+ plugins: [import_tailwindcss_animate.default]
83
94
  };
84
95
  var tailwind_config_default = tailwindConfig;
@@ -1,3 +1,4 @@
1
+ import animate from "tailwindcss-animate";
1
2
  const tailwindConfig = {
2
3
  darkMode: ["class"],
3
4
  content: [
@@ -56,7 +57,7 @@ const tailwindConfig = {
56
57
  }
57
58
  }
58
59
  },
59
- plugins: [require("tailwindcss-animate")]
60
+ plugins: [animate]
60
61
  };
61
62
  var tailwind_config_default = tailwindConfig;
62
63
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/permissionless-ui",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Internal UI components",
5
5
  "license": "MIT",
6
6
  "main": "./dist/cjs/index.js",
@@ -15,6 +15,11 @@
15
15
  "import": "./dist/esm/index.js",
16
16
  "default": "./dist/cjs/index.js"
17
17
  },
18
+ "./tailwind": {
19
+ "types": "./dist/types/configs/tailwind.config.d.ts",
20
+ "import": "./dist/esm/configs/tailwind.config.js",
21
+ "default": "./dist/cjs/configs/tailwind.config.js"
22
+ },
18
23
  "./globals.css": "./dist/globals.css"
19
24
  },
20
25
  "files": [
@@ -1,38 +0,0 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
19
- };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var configs_exports = {};
30
- __export(configs_exports, {
31
- tailwindConfig: () => import_tailwind.default
32
- });
33
- module.exports = __toCommonJS(configs_exports);
34
- var import_tailwind = __toESM(require('./tailwind.config.js'));
35
- // Annotate the CommonJS export names for ESM import in node:
36
- 0 && (module.exports = {
37
- tailwindConfig
38
- });
@@ -1,4 +0,0 @@
1
- import { default as default2 } from "./tailwind.config.js";
2
- export {
3
- default2 as tailwindConfig
4
- };
@@ -1 +0,0 @@
1
- export { default as tailwindConfig } from "./tailwind.config";