@yamada-ui/utils 0.0.0-dev-20231208053121 → 0.0.0-dev-20231213073545

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,6 @@
1
+ // src/module.ts
2
+ var interopDefault = (module) => module.default || module;
3
+
4
+ export {
5
+ interopDefault
6
+ };
package/dist/color.mjs CHANGED
@@ -14,8 +14,9 @@ import {
14
14
  toneColor,
15
15
  toneColors,
16
16
  transparentizeColor
17
- } from "./chunk-IL6ZQBL5.mjs";
17
+ } from "./chunk-WYLOTAWH.mjs";
18
18
  import "./chunk-SLJ4M7XC.mjs";
19
+ import "./chunk-SAZNI4PK.mjs";
19
20
  import "./chunk-VYMGBE25.mjs";
20
21
  import "./chunk-BZAW2D6U.mjs";
21
22
  import "./chunk-PURW64JE.mjs";
package/dist/function.mjs CHANGED
@@ -3,8 +3,9 @@ import {
3
3
  handlerAll,
4
4
  noop,
5
5
  runIfFunc
6
- } from "./chunk-IL6ZQBL5.mjs";
6
+ } from "./chunk-WYLOTAWH.mjs";
7
7
  import "./chunk-SLJ4M7XC.mjs";
8
+ import "./chunk-SAZNI4PK.mjs";
8
9
  import "./chunk-VYMGBE25.mjs";
9
10
  import "./chunk-BZAW2D6U.mjs";
10
11
  import "./chunk-PURW64JE.mjs";
package/dist/index.d.mts CHANGED
@@ -10,4 +10,5 @@ export { darkenColor, getColor, hues, isAccessible, isDark, isGray, isLight, isT
10
10
  export { filterEmpty } from './array.mjs';
11
11
  export { clampNumber, countDecimal, percentToValue, roundNumberToStep, toPrecision, valueToPercent } from './number.mjs';
12
12
  export { AnyPointerEvent, MixedEventListener, Point, PointType, PointerEventInfo, addDomEvent, addPointerEvent, getEventPoint, getEventWindow, isMouseEvent, isMultiTouchEvent, isTouchEvent, pointFromMouse, pointFromTouch } from './event.mjs';
13
+ export { interopDefault } from './module.mjs';
13
14
  import 'react';
package/dist/index.d.ts CHANGED
@@ -10,4 +10,5 @@ export { darkenColor, getColor, hues, isAccessible, isDark, isGray, isLight, isT
10
10
  export { filterEmpty } from './array.js';
11
11
  export { clampNumber, countDecimal, percentToValue, roundNumberToStep, toPrecision, valueToPercent } from './number.js';
12
12
  export { AnyPointerEvent, MixedEventListener, Point, PointType, PointerEventInfo, addDomEvent, addPointerEvent, getEventPoint, getEventWindow, isMouseEvent, isMultiTouchEvent, isTouchEvent, pointFromMouse, pointFromTouch } from './event.js';
13
+ export { interopDefault } from './module.js';
13
14
  import 'react';
package/dist/index.js CHANGED
@@ -69,6 +69,7 @@ __export(src_exports, {
69
69
  hasTabIndex: () => hasTabIndex,
70
70
  hues: () => hues,
71
71
  includesChildren: () => includesChildren,
72
+ interopDefault: () => interopDefault,
72
73
  isAccessible: () => isAccessible,
73
74
  isActiveElement: () => isActiveElement,
74
75
  isApple: () => isApple,
@@ -787,6 +788,9 @@ var wrap = (cb, filterPrimary = false) => {
787
788
  return fn;
788
789
  };
789
790
  var addPointerEvent = (target, type, cb, options) => addDomEvent(target, type, wrap(cb, type === "pointerdown"), options);
791
+
792
+ // src/module.ts
793
+ var interopDefault = (module2) => module2.default || module2;
790
794
  // Annotate the CommonJS export names for ESM import in node:
791
795
  0 && (module.exports = {
792
796
  addDomEvent,
@@ -828,6 +832,7 @@ var addPointerEvent = (target, type, cb, options) => addDomEvent(target, type, w
828
832
  hasTabIndex,
829
833
  hues,
830
834
  includesChildren,
835
+ interopDefault,
831
836
  isAccessible,
832
837
  isActiveElement,
833
838
  isApple,
package/dist/index.mjs CHANGED
@@ -53,8 +53,11 @@ import {
53
53
  useSafeLayoutEffect,
54
54
  useUnmountEffect,
55
55
  useUpdateEffect
56
- } from "./chunk-IL6ZQBL5.mjs";
56
+ } from "./chunk-WYLOTAWH.mjs";
57
57
  import "./chunk-SLJ4M7XC.mjs";
58
+ import {
59
+ interopDefault
60
+ } from "./chunk-SAZNI4PK.mjs";
58
61
  import {
59
62
  clampNumber,
60
63
  countDecimal,
@@ -164,6 +167,7 @@ export {
164
167
  hasTabIndex,
165
168
  hues,
166
169
  includesChildren,
170
+ interopDefault,
167
171
  isAccessible,
168
172
  isActiveElement,
169
173
  isApple,
@@ -0,0 +1,3 @@
1
+ declare const interopDefault: <T extends unknown>(module: T) => T;
2
+
3
+ export { interopDefault };
@@ -0,0 +1,3 @@
1
+ declare const interopDefault: <T extends unknown>(module: T) => T;
2
+
3
+ export { interopDefault };
package/dist/module.js ADDED
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
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 __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/module.ts
21
+ var module_exports = {};
22
+ __export(module_exports, {
23
+ interopDefault: () => interopDefault
24
+ });
25
+ module.exports = __toCommonJS(module_exports);
26
+ var interopDefault = (module2) => module2.default || module2;
27
+ // Annotate the CommonJS export names for ESM import in node:
28
+ 0 && (module.exports = {
29
+ interopDefault
30
+ });
@@ -0,0 +1,6 @@
1
+ import {
2
+ interopDefault
3
+ } from "./chunk-SAZNI4PK.mjs";
4
+ export {
5
+ interopDefault
6
+ };
package/dist/object.mjs CHANGED
@@ -13,8 +13,9 @@ import {
13
13
  pickObject,
14
14
  replaceObject,
15
15
  splitObject
16
- } from "./chunk-IL6ZQBL5.mjs";
16
+ } from "./chunk-WYLOTAWH.mjs";
17
17
  import "./chunk-SLJ4M7XC.mjs";
18
+ import "./chunk-SAZNI4PK.mjs";
18
19
  import "./chunk-VYMGBE25.mjs";
19
20
  import "./chunk-BZAW2D6U.mjs";
20
21
  import "./chunk-PURW64JE.mjs";
package/dist/react.mjs CHANGED
@@ -20,8 +20,9 @@ import {
20
20
  useSafeLayoutEffect,
21
21
  useUnmountEffect,
22
22
  useUpdateEffect
23
- } from "./chunk-IL6ZQBL5.mjs";
23
+ } from "./chunk-WYLOTAWH.mjs";
24
24
  import "./chunk-SLJ4M7XC.mjs";
25
+ import "./chunk-SAZNI4PK.mjs";
25
26
  import "./chunk-VYMGBE25.mjs";
26
27
  import "./chunk-BZAW2D6U.mjs";
27
28
  import "./chunk-PURW64JE.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamada-ui/utils",
3
- "version": "0.0.0-dev-20231208053121",
3
+ "version": "0.0.0-dev-20231213073545",
4
4
  "description": "Yamada UI utils",
5
5
  "keywords": [
6
6
  "utils",
File without changes