@radix-ui/primitive 1.1.5 → 1.1.6-rc.1784498721701
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/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -2
- package/dist/index.mjs.map +1 -1
- package/dist/internal/is-development.false.d.mts +3 -0
- package/dist/internal/is-development.false.d.ts +3 -0
- package/dist/internal/is-development.false.js +27 -0
- package/dist/internal/is-development.false.js.map +7 -0
- package/dist/internal/is-development.false.mjs +6 -0
- package/dist/internal/is-development.false.mjs.map +7 -0
- package/dist/internal/is-development.true.d.mts +3 -0
- package/dist/internal/is-development.true.d.ts +3 -0
- package/dist/internal/is-development.true.js +27 -0
- package/dist/internal/is-development.true.js.map +7 -0
- package/dist/internal/is-development.true.mjs +6 -0
- package/dist/internal/is-development.true.mjs.map +7 -0
- package/package.json +47 -15
package/dist/index.js
CHANGED
|
@@ -3,6 +3,7 @@ var __defProp = Object.defineProperty;
|
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
6
7
|
var __export = (target, all) => {
|
|
7
8
|
for (var name in all)
|
|
8
9
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -32,25 +33,28 @@ module.exports = __toCommonJS(index_exports);
|
|
|
32
33
|
// src/primitive.tsx
|
|
33
34
|
var canUseDOM = !!(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
34
35
|
function composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {
|
|
35
|
-
return function handleEvent(event) {
|
|
36
|
+
return /* @__PURE__ */ __name(function handleEvent(event) {
|
|
36
37
|
originalEventHandler?.(event);
|
|
37
38
|
if (checkForDefaultPrevented === false || !event || !event.defaultPrevented) {
|
|
38
39
|
return ourEventHandler?.(event);
|
|
39
40
|
}
|
|
40
|
-
};
|
|
41
|
+
}, "handleEvent");
|
|
41
42
|
}
|
|
43
|
+
__name(composeEventHandlers, "composeEventHandlers");
|
|
42
44
|
function getOwnerWindow(element) {
|
|
43
45
|
if (!canUseDOM) {
|
|
44
46
|
throw new Error("Cannot access window outside of the DOM");
|
|
45
47
|
}
|
|
46
48
|
return element?.ownerDocument?.defaultView ?? window;
|
|
47
49
|
}
|
|
50
|
+
__name(getOwnerWindow, "getOwnerWindow");
|
|
48
51
|
function getOwnerDocument(element) {
|
|
49
52
|
if (!canUseDOM) {
|
|
50
53
|
throw new Error("Cannot access document outside of the DOM");
|
|
51
54
|
}
|
|
52
55
|
return element?.ownerDocument ?? document;
|
|
53
56
|
}
|
|
57
|
+
__name(getOwnerDocument, "getOwnerDocument");
|
|
54
58
|
function getActiveElement(node, activeDescendant = false) {
|
|
55
59
|
const { activeElement } = getOwnerDocument(node);
|
|
56
60
|
if (!activeElement?.nodeName) {
|
|
@@ -70,7 +74,9 @@ function getActiveElement(node, activeDescendant = false) {
|
|
|
70
74
|
}
|
|
71
75
|
return activeElement;
|
|
72
76
|
}
|
|
77
|
+
__name(getActiveElement, "getActiveElement");
|
|
73
78
|
function isFrame(element) {
|
|
74
79
|
return element.tagName === "IFRAME";
|
|
75
80
|
}
|
|
81
|
+
__name(isFrame, "isFrame");
|
|
76
82
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/index.ts", "../src/primitive.tsx"],
|
|
4
4
|
"sourcesContent": ["export * from './primitive';\nexport type * from './types';\n", "/* eslint-disable no-restricted-properties */\n\n/* eslint-disable no-restricted-globals */\nexport const canUseDOM = !!(\n typeof window !== 'undefined' &&\n window.document &&\n window.document.createElement\n);\n/* eslint-enable no-restricted-globals */\n\nexport function composeEventHandlers<E extends { defaultPrevented: boolean }>(\n originalEventHandler?: (event: E) => void,\n ourEventHandler?: (event: E) => void,\n { checkForDefaultPrevented = true } = {},\n) {\n return function handleEvent(event: E) {\n originalEventHandler?.(event);\n\n if (checkForDefaultPrevented === false || !event || !event.defaultPrevented) {\n return ourEventHandler?.(event);\n }\n };\n}\n\nexport function getOwnerWindow(element: Node | null | undefined) {\n if (!canUseDOM) {\n throw new Error('Cannot access window outside of the DOM');\n }\n // eslint-disable-next-line no-restricted-globals\n return element?.ownerDocument?.defaultView ?? window;\n}\n\nexport function getOwnerDocument(element: Node | null | undefined) {\n if (!canUseDOM) {\n throw new Error('Cannot access document outside of the DOM');\n }\n // eslint-disable-next-line no-restricted-globals\n return element?.ownerDocument ?? document;\n}\n\n/**\n * Lifted from https://github.com/ariakit/ariakit/blob/main/packages/ariakit-core/src/utils/dom.ts#L37\n * MIT License, Copyright (c) AriaKit.\n */\nexport function getActiveElement(\n node: Node | null | undefined,\n activeDescendant = false,\n): HTMLElement | null {\n const { activeElement } = getOwnerDocument(node);\n if (!activeElement?.nodeName) {\n // `activeElement` might be an empty object if we're interacting with elements\n // inside of an iframe.\n return null;\n }\n\n if (isFrame(activeElement) && activeElement.contentDocument) {\n return getActiveElement(activeElement.contentDocument.body, activeDescendant);\n }\n\n if (activeDescendant) {\n const id = activeElement.getAttribute('aria-activedescendant');\n if (id) {\n const element = getOwnerDocument(activeElement).getElementById(id);\n if (element) {\n return element;\n }\n }\n }\n\n return activeElement as HTMLElement | null;\n}\n\nexport function isFrame(element: Element): element is HTMLIFrameElement {\n return element.tagName === 'IFRAME';\n}\n"],
|
|
5
|
-
"mappings": "
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACGO,IAAM,YAAY,CAAC,EACxB,OAAO,WAAW,eAClB,OAAO,YACP,OAAO,SAAS;AAIX,SAAS,qBACd,sBACA,iBACA,EAAE,2BAA2B,KAAK,IAAI,CAAC,GACvC;AACA,SAAO,gCAAS,YAAY,OAAU;AACpC,2BAAuB,KAAK;AAE5B,QAAI,6BAA6B,SAAS,CAAC,SAAS,CAAC,MAAM,kBAAkB;AAC3E,aAAO,kBAAkB,KAAK;AAAA,IAChC;AAAA,EACF,GANO;AAOT;AAZgB;AAcT,SAAS,eAAe,SAAkC;AAC/D,MAAI,CAAC,WAAW;AACd,UAAM,IAAI,MAAM,yCAAyC;AAAA,EAC3D;AAEA,SAAO,SAAS,eAAe,eAAe;AAChD;AANgB;AAQT,SAAS,iBAAiB,SAAkC;AACjE,MAAI,CAAC,WAAW;AACd,UAAM,IAAI,MAAM,2CAA2C;AAAA,EAC7D;AAEA,SAAO,SAAS,iBAAiB;AACnC;AANgB;AAYT,SAAS,iBACd,MACA,mBAAmB,OACC;AACpB,QAAM,EAAE,cAAc,IAAI,iBAAiB,IAAI;AAC/C,MAAI,CAAC,eAAe,UAAU;AAG5B,WAAO;AAAA,EACT;AAEA,MAAI,QAAQ,aAAa,KAAK,cAAc,iBAAiB;AAC3D,WAAO,iBAAiB,cAAc,gBAAgB,MAAM,gBAAgB;AAAA,EAC9E;AAEA,MAAI,kBAAkB;AACpB,UAAM,KAAK,cAAc,aAAa,uBAAuB;AAC7D,QAAI,IAAI;AACN,YAAM,UAAU,iBAAiB,aAAa,EAAE,eAAe,EAAE;AACjE,UAAI,SAAS;AACX,eAAO;AAAA,MACT;AAAA,IACF;AAAA,EACF;AAEA,SAAO;AACT;AA1BgB;AA4BT,SAAS,QAAQ,SAAgD;AACtE,SAAO,QAAQ,YAAY;AAC7B;AAFgB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -1,25 +1,31 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
|
|
1
4
|
// src/primitive.tsx
|
|
2
5
|
var canUseDOM = !!(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
3
6
|
function composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {
|
|
4
|
-
return function handleEvent(event) {
|
|
7
|
+
return /* @__PURE__ */ __name(function handleEvent(event) {
|
|
5
8
|
originalEventHandler?.(event);
|
|
6
9
|
if (checkForDefaultPrevented === false || !event || !event.defaultPrevented) {
|
|
7
10
|
return ourEventHandler?.(event);
|
|
8
11
|
}
|
|
9
|
-
};
|
|
12
|
+
}, "handleEvent");
|
|
10
13
|
}
|
|
14
|
+
__name(composeEventHandlers, "composeEventHandlers");
|
|
11
15
|
function getOwnerWindow(element) {
|
|
12
16
|
if (!canUseDOM) {
|
|
13
17
|
throw new Error("Cannot access window outside of the DOM");
|
|
14
18
|
}
|
|
15
19
|
return element?.ownerDocument?.defaultView ?? window;
|
|
16
20
|
}
|
|
21
|
+
__name(getOwnerWindow, "getOwnerWindow");
|
|
17
22
|
function getOwnerDocument(element) {
|
|
18
23
|
if (!canUseDOM) {
|
|
19
24
|
throw new Error("Cannot access document outside of the DOM");
|
|
20
25
|
}
|
|
21
26
|
return element?.ownerDocument ?? document;
|
|
22
27
|
}
|
|
28
|
+
__name(getOwnerDocument, "getOwnerDocument");
|
|
23
29
|
function getActiveElement(node, activeDescendant = false) {
|
|
24
30
|
const { activeElement } = getOwnerDocument(node);
|
|
25
31
|
if (!activeElement?.nodeName) {
|
|
@@ -39,9 +45,11 @@ function getActiveElement(node, activeDescendant = false) {
|
|
|
39
45
|
}
|
|
40
46
|
return activeElement;
|
|
41
47
|
}
|
|
48
|
+
__name(getActiveElement, "getActiveElement");
|
|
42
49
|
function isFrame(element) {
|
|
43
50
|
return element.tagName === "IFRAME";
|
|
44
51
|
}
|
|
52
|
+
__name(isFrame, "isFrame");
|
|
45
53
|
export {
|
|
46
54
|
canUseDOM,
|
|
47
55
|
composeEventHandlers,
|
package/dist/index.mjs.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/primitive.tsx"],
|
|
4
4
|
"sourcesContent": ["/* eslint-disable no-restricted-properties */\n\n/* eslint-disable no-restricted-globals */\nexport const canUseDOM = !!(\n typeof window !== 'undefined' &&\n window.document &&\n window.document.createElement\n);\n/* eslint-enable no-restricted-globals */\n\nexport function composeEventHandlers<E extends { defaultPrevented: boolean }>(\n originalEventHandler?: (event: E) => void,\n ourEventHandler?: (event: E) => void,\n { checkForDefaultPrevented = true } = {},\n) {\n return function handleEvent(event: E) {\n originalEventHandler?.(event);\n\n if (checkForDefaultPrevented === false || !event || !event.defaultPrevented) {\n return ourEventHandler?.(event);\n }\n };\n}\n\nexport function getOwnerWindow(element: Node | null | undefined) {\n if (!canUseDOM) {\n throw new Error('Cannot access window outside of the DOM');\n }\n // eslint-disable-next-line no-restricted-globals\n return element?.ownerDocument?.defaultView ?? window;\n}\n\nexport function getOwnerDocument(element: Node | null | undefined) {\n if (!canUseDOM) {\n throw new Error('Cannot access document outside of the DOM');\n }\n // eslint-disable-next-line no-restricted-globals\n return element?.ownerDocument ?? document;\n}\n\n/**\n * Lifted from https://github.com/ariakit/ariakit/blob/main/packages/ariakit-core/src/utils/dom.ts#L37\n * MIT License, Copyright (c) AriaKit.\n */\nexport function getActiveElement(\n node: Node | null | undefined,\n activeDescendant = false,\n): HTMLElement | null {\n const { activeElement } = getOwnerDocument(node);\n if (!activeElement?.nodeName) {\n // `activeElement` might be an empty object if we're interacting with elements\n // inside of an iframe.\n return null;\n }\n\n if (isFrame(activeElement) && activeElement.contentDocument) {\n return getActiveElement(activeElement.contentDocument.body, activeDescendant);\n }\n\n if (activeDescendant) {\n const id = activeElement.getAttribute('aria-activedescendant');\n if (id) {\n const element = getOwnerDocument(activeElement).getElementById(id);\n if (element) {\n return element;\n }\n }\n }\n\n return activeElement as HTMLElement | null;\n}\n\nexport function isFrame(element: Element): element is HTMLIFrameElement {\n return element.tagName === 'IFRAME';\n}\n"],
|
|
5
|
-
"mappings": "
|
|
5
|
+
"mappings": ";;;;AAGO,IAAM,YAAY,CAAC,EACxB,OAAO,WAAW,eAClB,OAAO,YACP,OAAO,SAAS;AAIX,SAAS,qBACd,sBACA,iBACA,EAAE,2BAA2B,KAAK,IAAI,CAAC,GACvC;AACA,SAAO,gCAAS,YAAY,OAAU;AACpC,2BAAuB,KAAK;AAE5B,QAAI,6BAA6B,SAAS,CAAC,SAAS,CAAC,MAAM,kBAAkB;AAC3E,aAAO,kBAAkB,KAAK;AAAA,IAChC;AAAA,EACF,GANO;AAOT;AAZgB;AAcT,SAAS,eAAe,SAAkC;AAC/D,MAAI,CAAC,WAAW;AACd,UAAM,IAAI,MAAM,yCAAyC;AAAA,EAC3D;AAEA,SAAO,SAAS,eAAe,eAAe;AAChD;AANgB;AAQT,SAAS,iBAAiB,SAAkC;AACjE,MAAI,CAAC,WAAW;AACd,UAAM,IAAI,MAAM,2CAA2C;AAAA,EAC7D;AAEA,SAAO,SAAS,iBAAiB;AACnC;AANgB;AAYT,SAAS,iBACd,MACA,mBAAmB,OACC;AACpB,QAAM,EAAE,cAAc,IAAI,iBAAiB,IAAI;AAC/C,MAAI,CAAC,eAAe,UAAU;AAG5B,WAAO;AAAA,EACT;AAEA,MAAI,QAAQ,aAAa,KAAK,cAAc,iBAAiB;AAC3D,WAAO,iBAAiB,cAAc,gBAAgB,MAAM,gBAAgB;AAAA,EAC9E;AAEA,MAAI,kBAAkB;AACpB,UAAM,KAAK,cAAc,aAAa,uBAAuB;AAC7D,QAAI,IAAI;AACN,YAAM,UAAU,iBAAiB,aAAa,EAAE,eAAe,EAAE;AACjE,UAAI,SAAS;AACX,eAAO;AAAA,MACT;AAAA,IACF;AAAA,EACF;AAEA,SAAO;AACT;AA1BgB;AA4BT,SAAS,QAAQ,SAAgD;AACtE,SAAO,QAAQ,YAAY;AAC7B;AAFgB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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/internal/is-development.false.ts
|
|
21
|
+
var is_development_false_exports = {};
|
|
22
|
+
__export(is_development_false_exports, {
|
|
23
|
+
IS_DEVELOPMENT: () => IS_DEVELOPMENT
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(is_development_false_exports);
|
|
26
|
+
var IS_DEVELOPMENT = false;
|
|
27
|
+
//# sourceMappingURL=is-development.false.js.map
|
|
@@ -0,0 +1,27 @@
|
|
|
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/internal/is-development.true.ts
|
|
21
|
+
var is_development_true_exports = {};
|
|
22
|
+
__export(is_development_true_exports, {
|
|
23
|
+
IS_DEVELOPMENT: () => IS_DEVELOPMENT
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(is_development_true_exports);
|
|
26
|
+
var IS_DEVELOPMENT = true;
|
|
27
|
+
//# sourceMappingURL=is-development.true.js.map
|
package/package.json
CHANGED
|
@@ -1,10 +1,54 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@radix-ui/primitive",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.6-rc.1784498721701",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"source": "./src/index.ts",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"module": "./dist/index.mjs",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": {
|
|
11
|
+
"types": "./dist/index.d.mts",
|
|
12
|
+
"default": "./dist/index.mjs"
|
|
13
|
+
},
|
|
14
|
+
"require": {
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"default": "./dist/index.js"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"./is-development": {
|
|
20
|
+
"development": {
|
|
21
|
+
"import": {
|
|
22
|
+
"types": "./dist/internal/is-development.true.d.mts",
|
|
23
|
+
"default": "./dist/internal/is-development.true.mjs"
|
|
24
|
+
},
|
|
25
|
+
"require": {
|
|
26
|
+
"types": "./dist/internal/is-development.true.d.ts",
|
|
27
|
+
"default": "./dist/internal/is-development.true.js"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"production": {
|
|
31
|
+
"import": {
|
|
32
|
+
"types": "./dist/internal/is-development.false.d.mts",
|
|
33
|
+
"default": "./dist/internal/is-development.false.mjs"
|
|
34
|
+
},
|
|
35
|
+
"require": {
|
|
36
|
+
"types": "./dist/internal/is-development.false.d.ts",
|
|
37
|
+
"default": "./dist/internal/is-development.false.js"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"default": {
|
|
41
|
+
"import": {
|
|
42
|
+
"types": "./dist/internal/is-development.false.d.mts",
|
|
43
|
+
"default": "./dist/internal/is-development.false.mjs"
|
|
44
|
+
},
|
|
45
|
+
"require": {
|
|
46
|
+
"types": "./dist/internal/is-development.false.d.ts",
|
|
47
|
+
"default": "./dist/internal/is-development.false.js"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
},
|
|
8
52
|
"files": [
|
|
9
53
|
"dist",
|
|
10
54
|
"README.md"
|
|
@@ -12,7 +56,7 @@
|
|
|
12
56
|
"sideEffects": false,
|
|
13
57
|
"devDependencies": {
|
|
14
58
|
"typescript": "^5.9.3",
|
|
15
|
-
"@repo/builder": "0.0.
|
|
59
|
+
"@repo/builder": "0.0.1-rc.1784498721701",
|
|
16
60
|
"@repo/typescript-config": "0.0.0"
|
|
17
61
|
},
|
|
18
62
|
"homepage": "https://radix-ui.com/primitives",
|
|
@@ -31,17 +75,5 @@
|
|
|
31
75
|
"typecheck": "tsc --noEmit",
|
|
32
76
|
"build": "radix-build"
|
|
33
77
|
},
|
|
34
|
-
"types": "./dist/index.d.ts"
|
|
35
|
-
"exports": {
|
|
36
|
-
".": {
|
|
37
|
-
"import": {
|
|
38
|
-
"types": "./dist/index.d.mts",
|
|
39
|
-
"default": "./dist/index.mjs"
|
|
40
|
-
},
|
|
41
|
-
"require": {
|
|
42
|
-
"types": "./dist/index.d.ts",
|
|
43
|
-
"default": "./dist/index.js"
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
78
|
+
"types": "./dist/index.d.ts"
|
|
47
79
|
}
|