pangea-helpers 1.0.21 → 1.0.23

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.
@@ -0,0 +1,8 @@
1
+ import * as animationHelpers from './helpers/animation';
2
+ import * as coinHelpers from './helpers/coin';
3
+ import * as datetimeHelpers from './helpers/datetime';
4
+ import * as numberHelpers from './helpers/number';
5
+ import * as objectHelpers from './helpers/object';
6
+ import * as tokenHelpers from './helpers/token';
7
+ import * as urlHelpers from './helpers/url';
8
+ export { animationHelpers, coinHelpers, datetimeHelpers, numberHelpers, objectHelpers, tokenHelpers, urlHelpers };
package/package.json CHANGED
@@ -1,56 +1,22 @@
1
1
  {
2
2
  "name": "pangea-helpers",
3
3
  "description": "",
4
- "version": "1.0.21",
4
+ "version": "1.0.23",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"
8
8
  ],
9
- "main": "./dist/index.cjs.js",
10
- "module": "./dist/index.es.js",
9
+ "main": "./dist/main.cjs.js",
10
+ "module": "./dist/main.es.js",
11
11
  "exports": {
12
12
  ".": {
13
- "require": "./dist/index.cjs.js",
14
- "import": "./dist/index.es.js",
15
- "types": "./dist/types/index.d.ts"
13
+ "require": "./dist/main.cjs.js",
14
+ "import": "./dist/main.es.js",
15
+ "types": "./dist/types/main.d.ts"
16
16
  },
17
- "./animation": {
18
- "require": "./dist/animation.cjs.js",
19
- "import": "./dist/animation.es.js",
20
- "types": "./dist/types/helpers/animation.d.ts"
21
- },
22
- "./coin": {
23
- "require": "./dist/coin.cjs.js",
24
- "import": "./dist/coin.es.js",
25
- "types": "./dist/types/helpers/coin.d.ts"
26
- },
27
- "./datetime": {
28
- "require": "./dist/datetime.cjs.js",
29
- "import": "./dist/datetime.es.js",
30
- "types": "./dist/types/helpers/datetime.d.ts"
31
- },
32
- "./number": {
33
- "require": "./dist/number.cjs.js",
34
- "import": "./dist/number.es.js",
35
- "types": "./dist/types/helpers/number.d.ts"
36
- },
37
- "./object": {
38
- "require": "./dist/object.cjs.js",
39
- "import": "./dist/object.es.js",
40
- "types": "./dist/types/helpers/object.d.ts"
41
- },
42
- "./token": {
43
- "require": "./dist/token.cjs.js",
44
- "import": "./dist/token.es.js",
45
- "types": "./dist/types/helpers/token.d.ts"
46
- },
47
- "./url": {
48
- "require": "./dist/url.cjs.js",
49
- "import": "./dist/url.es.js",
50
- "types": "./dist/types/helpers/url.d.ts"
51
- }
17
+ "./package.json": "./package.json"
52
18
  },
53
- "types": "./dist/types/index.d.ts",
19
+ "types": "./dist/types/main.d.ts",
54
20
  "scripts": {
55
21
  "build": "tsc && vite build",
56
22
  "deploy": "node deploy.js"
@@ -1 +0,0 @@
1
- "use strict";function a(o,i,t="animate__"){try{return new Promise(r=>{const e=`${t}${i}`,n=document.querySelector(o);if(n){n.classList.add(`${t}animated`,e);const m=c=>{c.stopPropagation(),n==null||n.classList.remove(`${t}animated`,e),r("Animation ended")};n.addEventListener("animationend",m,{once:!0})}})}catch{throw Error("wrong environment")}}const s=Object.freeze(Object.defineProperty({__proto__:null,animateCSS:a},Symbol.toStringTag,{value:"Module"}));exports.animateCSS=a;exports.animation=s;
@@ -1,24 +0,0 @@
1
- function s(a, o, t = "animate__") {
2
- try {
3
- return new Promise((i) => {
4
- const e = `${t}${o}`, n = document.querySelector(a);
5
- if (n) {
6
- n.classList.add(`${t}animated`, e);
7
- const r = (m) => {
8
- m.stopPropagation(), n == null || n.classList.remove(`${t}animated`, e), i("Animation ended");
9
- };
10
- n.addEventListener("animationend", r, { once: !0 });
11
- }
12
- });
13
- } catch {
14
- throw Error("wrong environment");
15
- }
16
- }
17
- const c = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
18
- __proto__: null,
19
- animateCSS: s
20
- }, Symbol.toStringTag, { value: "Module" }));
21
- export {
22
- c as a,
23
- s as b
24
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./animation-6901ffc4.cjs");exports.animateCSS=e.animateCSS;
@@ -1,4 +0,0 @@
1
- import { b as m } from "./animation-af1322b3.js";
2
- export {
3
- m as animateCSS
4
- };