@maz-ui/utils 4.0.0-beta.21 → 4.0.0-beta.24

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,44 +1,56 @@
1
- import { checkAvailability as e } from "./checkAvailability.js";
2
- import { countryCodeToUnicodeFlag as p } from "./countryCodeToUnicodeFlag.js";
3
- import { debounce as x } from "./debounce.js";
4
- import { debounceCallback as i } from "./debounceCallback.js";
5
- import { debounceId as a } from "./debounceId.js";
6
- import { getCountryFlagUrl as n } from "./getCountryFlagUrl.js";
7
- import { getErrorMessage as s } from "./getErrorMessage.js";
8
- import { IdleTimeout as g } from "./idleTimeout.js";
9
- import { isClient as y } from "./isClient.js";
10
- import { isEqual as h } from "./isEqual.js";
11
- import { isServer as F } from "./isServer.js";
12
- import { isStandaloneMode as T } from "./isStandaloneMode.js";
13
- import { normalizeString as k } from "./normalizeString.js";
14
- import { ScriptLoader as w } from "./scriptLoader.js";
15
- import { sleep as E } from "./sleep.js";
16
- import { Swipe as q } from "./swipeHandler.js";
17
- import { TextareaAutogrow as L } from "./TextareaAutogrow.js";
18
- import { throttle as j } from "./throttle.js";
19
- import { throttleId as D } from "./throttleId.js";
20
- import { truthyFilter as H } from "./truthyFilter.js";
21
- import { UserVisibility as K } from "./userVisibility.js";
1
+ import { camelCase as e } from "./camelCase.js";
2
+ import { capitalize as m } from "./capitalize.js";
3
+ import { checkAvailability as f } from "./checkAvailability.js";
4
+ import { countryCodeToUnicodeFlag as a } from "./countryCodeToUnicodeFlag.js";
5
+ import { debounce as l } from "./debounce.js";
6
+ import { debounceCallback as n } from "./debounceCallback.js";
7
+ import { debounceId as d } from "./debounceId.js";
8
+ import { formatCurrency as b } from "./formatCurrency.js";
9
+ import { formatDate as C } from "./formatDate.js";
10
+ import { formatNumber as S } from "./formatNumber.js";
11
+ import { getCountryFlagUrl as F } from "./getCountryFlagUrl.js";
12
+ import { getErrorMessage as T } from "./getErrorMessage.js";
13
+ import { IdleTimeout as k } from "./idleTimeout.js";
14
+ import { isClient as w } from "./isClient.js";
15
+ import { isEqual as A } from "./isEqual.js";
16
+ import { isServer as M } from "./isServer.js";
17
+ import { isStandaloneMode as D } from "./isStandaloneMode.js";
18
+ import { normalizeString as N } from "./normalizeString.js";
19
+ import { pascalCase as j } from "./pascalCase.js";
20
+ import { ScriptLoader as G } from "./scriptLoader.js";
21
+ import { sleep as J } from "./sleep.js";
22
+ import { Swipe as O } from "./swipeHandler.js";
23
+ import { TextareaAutogrow as Q } from "./TextareaAutogrow.js";
24
+ import { throttle as W } from "./throttle.js";
25
+ import { throttleId as Y } from "./throttleId.js";
26
+ import { truthyFilter as _ } from "./truthyFilter.js";
27
+ import { UserVisibility as rr } from "./userVisibility.js";
22
28
  export {
23
- g as IdleTimeout,
24
- w as ScriptLoader,
25
- q as Swipe,
26
- L as TextareaAutogrow,
27
- K as UserVisibility,
28
- e as checkAvailability,
29
- p as countryCodeToUnicodeFlag,
30
- x as debounce,
31
- i as debounceCallback,
32
- a as debounceId,
33
- n as getCountryFlagUrl,
34
- s as getErrorMessage,
35
- y as isClient,
36
- h as isEqual,
37
- F as isServer,
38
- T as isStandaloneMode,
39
- k as normalizeString,
40
- E as sleep,
41
- j as throttle,
42
- D as throttleId,
43
- H as truthyFilter
29
+ k as IdleTimeout,
30
+ G as ScriptLoader,
31
+ O as Swipe,
32
+ Q as TextareaAutogrow,
33
+ rr as UserVisibility,
34
+ e as camelCase,
35
+ m as capitalize,
36
+ f as checkAvailability,
37
+ a as countryCodeToUnicodeFlag,
38
+ l as debounce,
39
+ n as debounceCallback,
40
+ d as debounceId,
41
+ b as formatCurrency,
42
+ C as formatDate,
43
+ S as formatNumber,
44
+ F as getCountryFlagUrl,
45
+ T as getErrorMessage,
46
+ w as isClient,
47
+ A as isEqual,
48
+ M as isServer,
49
+ D as isStandaloneMode,
50
+ N as normalizeString,
51
+ j as pascalCase,
52
+ J as sleep,
53
+ W as throttle,
54
+ Y as throttleId,
55
+ _ as truthyFilter
44
56
  };
package/dist/index.js CHANGED
@@ -1,22 +1,22 @@
1
- import { camelCase as e } from "./formatters/camelCase.js";
2
- import { capitalize as m } from "./formatters/capitalize.js";
3
- import { formatCurrency as f } from "./formatters/formatCurrency.js";
4
- import { formatDate as a } from "./formatters/formatDate.js";
5
- import { formatNumber as l } from "./formatters/formatNumber.js";
6
- import { pascalCase as n } from "./formatters/pascalCase.js";
7
- import { checkAvailability as d } from "./helpers/checkAvailability.js";
8
- import { countryCodeToUnicodeFlag as b } from "./helpers/countryCodeToUnicodeFlag.js";
9
- import { debounce as C } from "./helpers/debounce.js";
10
- import { debounceCallback as S } from "./helpers/debounceCallback.js";
11
- import { debounceId as F } from "./helpers/debounceId.js";
12
- import { getCountryFlagUrl as T } from "./helpers/getCountryFlagUrl.js";
13
- import { getErrorMessage as k } from "./helpers/getErrorMessage.js";
14
- import { IdleTimeout as w } from "./helpers/idleTimeout.js";
15
- import { isClient as A } from "./helpers/isClient.js";
16
- import { isEqual as M } from "./helpers/isEqual.js";
17
- import { isServer as D } from "./helpers/isServer.js";
18
- import { isStandaloneMode as N } from "./helpers/isStandaloneMode.js";
19
- import { normalizeString as j } from "./helpers/normalizeString.js";
1
+ import { camelCase as e } from "./helpers/camelCase.js";
2
+ import { capitalize as m } from "./helpers/capitalize.js";
3
+ import { checkAvailability as f } from "./helpers/checkAvailability.js";
4
+ import { countryCodeToUnicodeFlag as a } from "./helpers/countryCodeToUnicodeFlag.js";
5
+ import { debounce as l } from "./helpers/debounce.js";
6
+ import { debounceCallback as n } from "./helpers/debounceCallback.js";
7
+ import { debounceId as d } from "./helpers/debounceId.js";
8
+ import { formatCurrency as b } from "./helpers/formatCurrency.js";
9
+ import { formatDate as C } from "./helpers/formatDate.js";
10
+ import { formatNumber as S } from "./helpers/formatNumber.js";
11
+ import { getCountryFlagUrl as F } from "./helpers/getCountryFlagUrl.js";
12
+ import { getErrorMessage as T } from "./helpers/getErrorMessage.js";
13
+ import { IdleTimeout as k } from "./helpers/idleTimeout.js";
14
+ import { isClient as w } from "./helpers/isClient.js";
15
+ import { isEqual as A } from "./helpers/isEqual.js";
16
+ import { isServer as M } from "./helpers/isServer.js";
17
+ import { isStandaloneMode as D } from "./helpers/isStandaloneMode.js";
18
+ import { normalizeString as N } from "./helpers/normalizeString.js";
19
+ import { pascalCase as j } from "./helpers/pascalCase.js";
20
20
  import { ScriptLoader as G } from "./helpers/scriptLoader.js";
21
21
  import { sleep as J } from "./helpers/sleep.js";
22
22
  import { Swipe as O } from "./helpers/swipeHandler.js";
@@ -26,29 +26,29 @@ import { throttleId as Y } from "./helpers/throttleId.js";
26
26
  import { truthyFilter as _ } from "./helpers/truthyFilter.js";
27
27
  import { UserVisibility as rr } from "./helpers/userVisibility.js";
28
28
  export {
29
- w as IdleTimeout,
29
+ k as IdleTimeout,
30
30
  G as ScriptLoader,
31
31
  O as Swipe,
32
32
  Q as TextareaAutogrow,
33
33
  rr as UserVisibility,
34
34
  e as camelCase,
35
35
  m as capitalize,
36
- d as checkAvailability,
37
- b as countryCodeToUnicodeFlag,
38
- C as debounce,
39
- S as debounceCallback,
40
- F as debounceId,
41
- f as formatCurrency,
42
- a as formatDate,
43
- l as formatNumber,
44
- T as getCountryFlagUrl,
45
- k as getErrorMessage,
46
- A as isClient,
47
- M as isEqual,
48
- D as isServer,
49
- N as isStandaloneMode,
50
- j as normalizeString,
51
- n as pascalCase,
36
+ f as checkAvailability,
37
+ a as countryCodeToUnicodeFlag,
38
+ l as debounce,
39
+ n as debounceCallback,
40
+ d as debounceId,
41
+ b as formatCurrency,
42
+ C as formatDate,
43
+ S as formatNumber,
44
+ F as getCountryFlagUrl,
45
+ T as getErrorMessage,
46
+ w as isClient,
47
+ A as isEqual,
48
+ M as isServer,
49
+ D as isStandaloneMode,
50
+ N as normalizeString,
51
+ j as pascalCase,
52
52
  J as sleep,
53
53
  W as throttle,
54
54
  Y as throttleId,
@@ -1,8 +1,13 @@
1
+ export * from './camelCase';
2
+ export * from './capitalize';
1
3
  export * from './checkAvailability';
2
4
  export * from './countryCodeToUnicodeFlag';
3
5
  export * from './debounce';
4
6
  export * from './debounceCallback';
5
7
  export * from './debounceId';
8
+ export * from './formatCurrency';
9
+ export * from './formatDate';
10
+ export * from './formatNumber';
6
11
  export * from './getCountryFlagUrl';
7
12
  export * from './getErrorMessage';
8
13
  export * from './idleTimeout';
@@ -11,6 +16,7 @@ export * from './isEqual';
11
16
  export * from './isServer';
12
17
  export * from './isStandaloneMode';
13
18
  export * from './normalizeString';
19
+ export * from './pascalCase';
14
20
  export * from './scriptLoader';
15
21
  export * from './sleep';
16
22
  export * from './swipeHandler';
@@ -1,3 +1,2 @@
1
- export * from './formatters';
2
1
  export * from './helpers';
3
2
  export * from './ts-helpers';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@maz-ui/utils",
3
3
  "type": "module",
4
- "version": "4.0.0-beta.21",
4
+ "version": "4.0.0-beta.24",
5
5
  "description": "Utils of maz-ui for JavaScript/TypeScript users",
6
6
  "author": "Louis Mazel <me@loicmazuel.com>",
7
7
  "license": "MIT",
@@ -32,24 +32,12 @@
32
32
  "module": "./dist/helpers/index.js",
33
33
  "default": "./dist/helpers/index.js"
34
34
  },
35
- "./formatters": {
36
- "types": "./dist/types/formatters/index.d.ts",
37
- "import": "./dist/formatters/index.js",
38
- "module": "./dist/formatters/index.js",
39
- "default": "./dist/formatters/index.js"
40
- },
41
35
  "./helpers/*": {
42
36
  "types": "./dist/types/helpers/*.d.ts",
43
37
  "import": "./dist/helpers/*.js",
44
38
  "module": "./dist/helpers/*.js",
45
39
  "default": "./dist/helpers/*.js"
46
40
  },
47
- "./formatters/*": {
48
- "types": "./dist/types/formatters/*.d.ts",
49
- "import": "./dist/formatters/*.js",
50
- "module": "./dist/formatters/*.js",
51
- "default": "./dist/formatters/*.js"
52
- },
53
41
  "./*": "./*"
54
42
  },
55
43
  "main": "./dist/index.js",
@@ -86,5 +74,5 @@
86
74
  "eslint --fix"
87
75
  ]
88
76
  },
89
- "gitHead": "b1960589b8f969f4675251dd5e39eecaf98388b1"
77
+ "gitHead": "9ea5ccdfb15f18c4e102ef5d2cfba29bd304d38e"
90
78
  }
@@ -1,14 +0,0 @@
1
- import { camelCase as e } from "./camelCase.js";
2
- import { capitalize as m } from "./capitalize.js";
3
- import { formatCurrency as f } from "./formatCurrency.js";
4
- import { formatDate as x } from "./formatDate.js";
5
- import { formatNumber as l } from "./formatNumber.js";
6
- import { pascalCase as C } from "./pascalCase.js";
7
- export {
8
- e as camelCase,
9
- m as capitalize,
10
- f as formatCurrency,
11
- x as formatDate,
12
- l as formatNumber,
13
- C as pascalCase
14
- };
@@ -1,6 +0,0 @@
1
- export * from './camelCase';
2
- export * from './capitalize';
3
- export * from './formatCurrency';
4
- export * from './formatDate';
5
- export * from './formatNumber';
6
- export * from './pascalCase';
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes