@msviderok/base-ui-solid 1.0.0-beta.3 → 1.0.0-beta.9
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/README.md +11 -32
- package/cjs/merge-props/mergeProps.js +40 -24
- package/cjs/scroll-area/root/ScrollAreaRoot.js +7 -6
- package/cjs/select/popup/SelectPopup.js +13 -2
- package/cjs/utils/styles.d.ts +1 -1
- package/cjs/utils/styles.js +6 -3
- package/esm/index.js +1 -1
- package/esm/merge-props/mergeProps.js +40 -24
- package/esm/scroll-area/root/ScrollAreaRoot.js +7 -6
- package/esm/select/popup/SelectPopup.js +15 -5
- package/esm/utils/styles.d.ts +1 -1
- package/esm/utils/styles.js +6 -3
- package/package.json +13 -6
package/README.md
CHANGED
|
@@ -1,48 +1,27 @@
|
|
|
1
1
|
<!-- markdownlint-disable MD041 -->
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
# _(WIP)_ This project is a work in progress.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
- Library is compatible with **@base-ui-components/react@1.0.0-beta.1**
|
|
6
|
+
- Docs have everything copied over from the original React-based docs so **_a lot_** of discrepancies in text are present
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
### Please, consider supporting an awesome Base UI team directly on [OpenCollective](https://opencollective.com/mui-org). This port is a gesture of appreciation of an increadible work they've been doing.
|
|
9
|
+
|
|
10
|
+
### Link to the original library: [Base UI GitHub](https://github.com/mui/base-ui)
|
|
8
11
|
|
|
9
|
-
|
|
12
|
+
<hr />
|
|
13
|
+
|
|
14
|
+
## Installation
|
|
10
15
|
|
|
11
16
|
```bash
|
|
12
|
-
npm install @base-ui-
|
|
17
|
+
npm install @msviderok/base-ui-solid
|
|
13
18
|
```
|
|
14
19
|
|
|
15
20
|
## Documentation
|
|
16
21
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
Visit [base-ui.com](https://base-ui.com) to view the full documentation.
|
|
20
|
-
|
|
21
|
-
## Questions
|
|
22
|
-
|
|
23
|
-
For how-to questions that don't involve making changes to the code base, please use [Stack Overflow](https://stackoverflow.com/questions/tagged/base-ui) instead of GitHub issues.
|
|
24
|
-
Use the "base-ui" tag on Stack Overflow to make it easier for the community to find your question.
|
|
25
|
-
|
|
26
|
-
## Contributing
|
|
27
|
-
|
|
28
|
-
Read the [contributing guide](/CONTRIBUTING.md) to learn about our development process, how to propose bug fixes and improvements, and how to build and test your changes.
|
|
29
|
-
|
|
30
|
-
Contributing to Base UI is about more than just issues and pull requests!
|
|
31
|
-
There are many other ways to [support Base UI](https://mui.com/material-ui/getting-started/faq/#mui-is-awesome-how-can-i-support-the-project) beyond contributing to the code base.
|
|
32
|
-
|
|
33
|
-
## Changelog
|
|
34
|
-
|
|
35
|
-
The [changelog](https://github.com/mui/base-ui/releases) is regularly updated to reflect what's changed in each new release.
|
|
36
|
-
|
|
37
|
-
## Roadmap
|
|
38
|
-
|
|
39
|
-
Future plans and high-priority features and enhancements can be found in the [roadmap](https://github.com/orgs/mui/projects/1).
|
|
22
|
+
### [base-ui-docs-solid.vercel.app](https://base-ui-docs-solid.vercel.app/)
|
|
40
23
|
|
|
41
24
|
## License
|
|
42
25
|
|
|
43
26
|
This project is licensed under the terms of the
|
|
44
27
|
[MIT license](/LICENSE).
|
|
45
|
-
|
|
46
|
-
## Security
|
|
47
|
-
|
|
48
|
-
For details of supported versions and contact details for reporting security issues, please refer to the [security policy](https://github.com/mui/base-ui/security/policy).
|
|
@@ -133,23 +133,32 @@ function mergeProps(...args) {
|
|
|
133
133
|
for (let props of sources) {
|
|
134
134
|
let propsOverride = false;
|
|
135
135
|
if (typeof props === 'function') {
|
|
136
|
-
const mergedListeners = {
|
|
137
|
-
|
|
136
|
+
const mergedListeners = Object.assign({}, cachedListeners);
|
|
137
|
+
const mergedStyles = Object.assign([], cacheStyles);
|
|
138
|
+
const mergedRefs = Object.assign([], cacheRefs);
|
|
139
|
+
const mergedClasses = Object.assign([], cacheClasses);
|
|
140
|
+
const mergedClassList = Object.assign([], cacheClassList);
|
|
141
|
+
const localMerged = {
|
|
142
|
+
get style() {
|
|
143
|
+
return reduce(mergedStyles, 'style', combineStyle);
|
|
144
|
+
},
|
|
145
|
+
get ref() {
|
|
146
|
+
return reverseChain(mergedRefs);
|
|
147
|
+
},
|
|
148
|
+
get class() {
|
|
149
|
+
return reduce(mergedClasses, 'class', (a, b) => `${a} ${b}`);
|
|
150
|
+
},
|
|
151
|
+
get classList() {
|
|
152
|
+
return reduce(mergedClassList, 'classList', (a, b) => ({
|
|
153
|
+
...a,
|
|
154
|
+
...b
|
|
155
|
+
}));
|
|
156
|
+
}
|
|
138
157
|
};
|
|
139
|
-
const mergedStyles = reduce(cacheStyles, 'style', combineStyle);
|
|
140
|
-
const mergedRefs = reverseChain(cacheRefs);
|
|
141
|
-
const mergedClasses = reduce(cacheClasses, 'class', (a, b) => `${a} ${b}`);
|
|
142
|
-
const mergedClassList = reduce(cacheClassList, 'classList', (a, b) => ({
|
|
143
|
-
...a,
|
|
144
|
-
...b
|
|
145
|
-
}));
|
|
146
158
|
const mergedForGetter = new Proxy(merge, {
|
|
147
159
|
get(target, key, receiver) {
|
|
148
160
|
if (typeof key !== 'string') return Reflect.get(target, key, receiver);
|
|
149
|
-
if (key
|
|
150
|
-
if (key === 'ref') return mergedRefs;
|
|
151
|
-
if (key === 'class') return mergedClasses;
|
|
152
|
-
if (key === 'classList') return mergedClassList;
|
|
161
|
+
if (key in localMerged) return localMerged[key];
|
|
153
162
|
if (key[0] === 'o' && key[1] === 'n' && key[2]) {
|
|
154
163
|
const name = key.toLowerCase();
|
|
155
164
|
if (name in mergedListeners) return mergedListeners[name];
|
|
@@ -209,20 +218,27 @@ function mergeProps(...args) {
|
|
|
209
218
|
const mergedListeners = {
|
|
210
219
|
...cachedListeners
|
|
211
220
|
};
|
|
212
|
-
const
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
221
|
+
const localMerged = {
|
|
222
|
+
get style() {
|
|
223
|
+
return reduce(cacheStyles, 'style', combineStyle);
|
|
224
|
+
},
|
|
225
|
+
get ref() {
|
|
226
|
+
return reverseChain(cacheRefs);
|
|
227
|
+
},
|
|
228
|
+
get class() {
|
|
229
|
+
return reduce(cacheClasses, 'class', (a, b) => `${a} ${b}`);
|
|
230
|
+
},
|
|
231
|
+
get classList() {
|
|
232
|
+
return reduce(cacheClassList, 'classList', (a, b) => ({
|
|
233
|
+
...a,
|
|
234
|
+
...b
|
|
235
|
+
}));
|
|
236
|
+
}
|
|
237
|
+
};
|
|
219
238
|
return new Proxy({
|
|
220
239
|
get(key) {
|
|
221
240
|
if (typeof key !== 'string') return Reflect.get(merge, key);
|
|
222
|
-
if (key
|
|
223
|
-
if (key === 'ref') return mergedRefs;
|
|
224
|
-
if (key === 'class') return mergedClasses;
|
|
225
|
-
if (key === 'classList') return mergedClassList;
|
|
241
|
+
if (key in localMerged) return localMerged[key];
|
|
226
242
|
if (key[0] === 'o' && key[1] === 'n' && key[2]) {
|
|
227
243
|
const name = key.toLowerCase();
|
|
228
244
|
if (name in mergedListeners) return mergedListeners[name];
|
|
@@ -176,13 +176,14 @@ function ScrollAreaRoot(componentProps) {
|
|
|
176
176
|
};
|
|
177
177
|
(0, _solidJs.onMount)(() => {
|
|
178
178
|
if (!document.head.getElementsByTagName('style').namedItem(_styles.STYLE_TAG_ID)) {
|
|
179
|
-
|
|
179
|
+
const el = _styles.styleDisableScrollbar.element();
|
|
180
|
+
document.head.appendChild(el);
|
|
181
|
+
(0, _solidJs.onCleanup)(() => {
|
|
182
|
+
if (document.head.getElementsByTagName('style').namedItem(_styles.STYLE_TAG_ID)) {
|
|
183
|
+
document.head.removeChild(el);
|
|
184
|
+
}
|
|
185
|
+
});
|
|
180
186
|
}
|
|
181
|
-
(0, _solidJs.onCleanup)(() => {
|
|
182
|
-
if (document.head.getElementsByTagName('style').namedItem(_styles.STYLE_TAG_ID)) {
|
|
183
|
-
document.head.removeChild(_styles.styleDisableScrollbar.element);
|
|
184
|
-
}
|
|
185
|
-
});
|
|
186
187
|
});
|
|
187
188
|
const element = (0, _useRenderElement.useRenderElement)('div', componentProps, {
|
|
188
189
|
props: [{
|
|
@@ -315,7 +315,18 @@ function SelectPopup(componentProps) {
|
|
|
315
315
|
}
|
|
316
316
|
}, elementProps]
|
|
317
317
|
});
|
|
318
|
-
|
|
318
|
+
(0, _solidJs.onMount)(() => {
|
|
319
|
+
if (!document.head.getElementsByTagName('style').namedItem(_styles.STYLE_TAG_ID)) {
|
|
320
|
+
const el = _styles.styleDisableScrollbar.element();
|
|
321
|
+
document.head.appendChild(el);
|
|
322
|
+
(0, _solidJs.onCleanup)(() => {
|
|
323
|
+
if (document.head.getElementsByTagName('style').namedItem(_styles.STYLE_TAG_ID)) {
|
|
324
|
+
document.head.removeChild(el);
|
|
325
|
+
}
|
|
326
|
+
});
|
|
327
|
+
}
|
|
328
|
+
});
|
|
329
|
+
return (0, _web.createComponent)(_floatingUiSolid.FloatingFocusManager, {
|
|
319
330
|
context: context,
|
|
320
331
|
modal: false,
|
|
321
332
|
get disabled() {
|
|
@@ -325,5 +336,5 @@ function SelectPopup(componentProps) {
|
|
|
325
336
|
get children() {
|
|
326
337
|
return element();
|
|
327
338
|
}
|
|
328
|
-
})
|
|
339
|
+
});
|
|
329
340
|
}
|
package/cjs/utils/styles.d.ts
CHANGED
package/cjs/utils/styles.js
CHANGED
|
@@ -4,10 +4,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.styleDisableScrollbar = exports.STYLE_TAG_ID = void 0;
|
|
7
|
-
var _web = require("solid-js/web");
|
|
8
|
-
var _tmpl$ = /*#__PURE__*/(0, _web.template)(`<style id=disable-scrollbar>.base-ui-disable-scrollbar\{scrollbar-width:none}.base-ui-disable-scrollbar::-webkit-scrollbar\{display:none}`);
|
|
9
7
|
const STYLE_TAG_ID = exports.STYLE_TAG_ID = 'disable-scrollbar';
|
|
10
8
|
const styleDisableScrollbar = exports.styleDisableScrollbar = {
|
|
11
9
|
class: 'base-ui-disable-scrollbar',
|
|
12
|
-
element:
|
|
10
|
+
element: () => {
|
|
11
|
+
const style = document.createElement('style');
|
|
12
|
+
style.id = STYLE_TAG_ID;
|
|
13
|
+
style.textContent = `.base-ui-disable-scrollbar{scrollbar-width:none}.base-ui-disable-scrollbar::-webkit-scrollbar{display:none}`;
|
|
14
|
+
return style;
|
|
15
|
+
}
|
|
13
16
|
};
|
package/esm/index.js
CHANGED
|
@@ -124,23 +124,32 @@ export function mergeProps(...args) {
|
|
|
124
124
|
for (let props of sources) {
|
|
125
125
|
let propsOverride = false;
|
|
126
126
|
if (typeof props === 'function') {
|
|
127
|
-
const mergedListeners = {
|
|
128
|
-
|
|
127
|
+
const mergedListeners = Object.assign({}, cachedListeners);
|
|
128
|
+
const mergedStyles = Object.assign([], cacheStyles);
|
|
129
|
+
const mergedRefs = Object.assign([], cacheRefs);
|
|
130
|
+
const mergedClasses = Object.assign([], cacheClasses);
|
|
131
|
+
const mergedClassList = Object.assign([], cacheClassList);
|
|
132
|
+
const localMerged = {
|
|
133
|
+
get style() {
|
|
134
|
+
return reduce(mergedStyles, 'style', combineStyle);
|
|
135
|
+
},
|
|
136
|
+
get ref() {
|
|
137
|
+
return reverseChain(mergedRefs);
|
|
138
|
+
},
|
|
139
|
+
get class() {
|
|
140
|
+
return reduce(mergedClasses, 'class', (a, b) => `${a} ${b}`);
|
|
141
|
+
},
|
|
142
|
+
get classList() {
|
|
143
|
+
return reduce(mergedClassList, 'classList', (a, b) => ({
|
|
144
|
+
...a,
|
|
145
|
+
...b
|
|
146
|
+
}));
|
|
147
|
+
}
|
|
129
148
|
};
|
|
130
|
-
const mergedStyles = reduce(cacheStyles, 'style', combineStyle);
|
|
131
|
-
const mergedRefs = reverseChain(cacheRefs);
|
|
132
|
-
const mergedClasses = reduce(cacheClasses, 'class', (a, b) => `${a} ${b}`);
|
|
133
|
-
const mergedClassList = reduce(cacheClassList, 'classList', (a, b) => ({
|
|
134
|
-
...a,
|
|
135
|
-
...b
|
|
136
|
-
}));
|
|
137
149
|
const mergedForGetter = new Proxy(merge, {
|
|
138
150
|
get(target, key, receiver) {
|
|
139
151
|
if (typeof key !== 'string') return Reflect.get(target, key, receiver);
|
|
140
|
-
if (key
|
|
141
|
-
if (key === 'ref') return mergedRefs;
|
|
142
|
-
if (key === 'class') return mergedClasses;
|
|
143
|
-
if (key === 'classList') return mergedClassList;
|
|
152
|
+
if (key in localMerged) return localMerged[key];
|
|
144
153
|
if (key[0] === 'o' && key[1] === 'n' && key[2]) {
|
|
145
154
|
const name = key.toLowerCase();
|
|
146
155
|
if (name in mergedListeners) return mergedListeners[name];
|
|
@@ -200,20 +209,27 @@ export function mergeProps(...args) {
|
|
|
200
209
|
const mergedListeners = {
|
|
201
210
|
...cachedListeners
|
|
202
211
|
};
|
|
203
|
-
const
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
212
|
+
const localMerged = {
|
|
213
|
+
get style() {
|
|
214
|
+
return reduce(cacheStyles, 'style', combineStyle);
|
|
215
|
+
},
|
|
216
|
+
get ref() {
|
|
217
|
+
return reverseChain(cacheRefs);
|
|
218
|
+
},
|
|
219
|
+
get class() {
|
|
220
|
+
return reduce(cacheClasses, 'class', (a, b) => `${a} ${b}`);
|
|
221
|
+
},
|
|
222
|
+
get classList() {
|
|
223
|
+
return reduce(cacheClassList, 'classList', (a, b) => ({
|
|
224
|
+
...a,
|
|
225
|
+
...b
|
|
226
|
+
}));
|
|
227
|
+
}
|
|
228
|
+
};
|
|
210
229
|
return new Proxy({
|
|
211
230
|
get(key) {
|
|
212
231
|
if (typeof key !== 'string') return Reflect.get(merge, key);
|
|
213
|
-
if (key
|
|
214
|
-
if (key === 'ref') return mergedRefs;
|
|
215
|
-
if (key === 'class') return mergedClasses;
|
|
216
|
-
if (key === 'classList') return mergedClassList;
|
|
232
|
+
if (key in localMerged) return localMerged[key];
|
|
217
233
|
if (key[0] === 'o' && key[1] === 'n' && key[2]) {
|
|
218
234
|
const name = key.toLowerCase();
|
|
219
235
|
if (name in mergedListeners) return mergedListeners[name];
|
|
@@ -170,13 +170,14 @@ export function ScrollAreaRoot(componentProps) {
|
|
|
170
170
|
};
|
|
171
171
|
onMount(() => {
|
|
172
172
|
if (!document.head.getElementsByTagName('style').namedItem(STYLE_TAG_ID)) {
|
|
173
|
-
|
|
173
|
+
const el = styleDisableScrollbar.element();
|
|
174
|
+
document.head.appendChild(el);
|
|
175
|
+
onCleanup(() => {
|
|
176
|
+
if (document.head.getElementsByTagName('style').namedItem(STYLE_TAG_ID)) {
|
|
177
|
+
document.head.removeChild(el);
|
|
178
|
+
}
|
|
179
|
+
});
|
|
174
180
|
}
|
|
175
|
-
onCleanup(() => {
|
|
176
|
-
if (document.head.getElementsByTagName('style').namedItem(STYLE_TAG_ID)) {
|
|
177
|
-
document.head.removeChild(styleDisableScrollbar.element);
|
|
178
|
-
}
|
|
179
|
-
});
|
|
180
181
|
});
|
|
181
182
|
const element = useRenderElement('div', componentProps, {
|
|
182
183
|
props: [{
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { createComponent as _$createComponent } from "solid-js/web";
|
|
2
|
-
import {
|
|
3
|
-
import { createEffect, onCleanup } from 'solid-js';
|
|
2
|
+
import { createEffect, onCleanup, onMount } from 'solid-js';
|
|
4
3
|
import { FloatingFocusManager } from "../../floating-ui-solid/index.js";
|
|
5
4
|
import { splitComponentProps } from "../../solid-helpers.js";
|
|
6
5
|
import { DISABLED_TRANSITIONS_STYLE } from "../../utils/constants.js";
|
|
@@ -9,7 +8,7 @@ import { isMouseWithinBounds } from "../../utils/isMouseWithinBounds.js";
|
|
|
9
8
|
import { ownerDocument, ownerWindow } from "../../utils/owner.js";
|
|
10
9
|
import { popupStateMapping } from "../../utils/popupStateMapping.js";
|
|
11
10
|
import { transitionStatusMapping } from "../../utils/styleHookMapping.js";
|
|
12
|
-
import { styleDisableScrollbar } from "../../utils/styles.js";
|
|
11
|
+
import { STYLE_TAG_ID, styleDisableScrollbar } from "../../utils/styles.js";
|
|
13
12
|
import { useOpenChangeComplete } from "../../utils/useOpenChangeComplete.js";
|
|
14
13
|
import { useRenderElement } from "../../utils/useRenderElement.js";
|
|
15
14
|
import { useSelectPositionerContext } from "../positioner/SelectPositionerContext.js";
|
|
@@ -310,7 +309,18 @@ export function SelectPopup(componentProps) {
|
|
|
310
309
|
}
|
|
311
310
|
}, elementProps]
|
|
312
311
|
});
|
|
313
|
-
|
|
312
|
+
onMount(() => {
|
|
313
|
+
if (!document.head.getElementsByTagName('style').namedItem(STYLE_TAG_ID)) {
|
|
314
|
+
const el = styleDisableScrollbar.element();
|
|
315
|
+
document.head.appendChild(el);
|
|
316
|
+
onCleanup(() => {
|
|
317
|
+
if (document.head.getElementsByTagName('style').namedItem(STYLE_TAG_ID)) {
|
|
318
|
+
document.head.removeChild(el);
|
|
319
|
+
}
|
|
320
|
+
});
|
|
321
|
+
}
|
|
322
|
+
});
|
|
323
|
+
return _$createComponent(FloatingFocusManager, {
|
|
314
324
|
context: context,
|
|
315
325
|
modal: false,
|
|
316
326
|
get disabled() {
|
|
@@ -320,5 +330,5 @@ export function SelectPopup(componentProps) {
|
|
|
320
330
|
get children() {
|
|
321
331
|
return element();
|
|
322
332
|
}
|
|
323
|
-
})
|
|
333
|
+
});
|
|
324
334
|
}
|
package/esm/utils/styles.d.ts
CHANGED
package/esm/utils/styles.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import { template as _$template } from "solid-js/web";
|
|
2
|
-
var _tmpl$ = /*#__PURE__*/_$template(`<style id=disable-scrollbar>.base-ui-disable-scrollbar\{scrollbar-width:none}.base-ui-disable-scrollbar::-webkit-scrollbar\{display:none}`);
|
|
3
1
|
export const STYLE_TAG_ID = 'disable-scrollbar';
|
|
4
2
|
export const styleDisableScrollbar = {
|
|
5
3
|
class: 'base-ui-disable-scrollbar',
|
|
6
|
-
element:
|
|
4
|
+
element: () => {
|
|
5
|
+
const style = document.createElement('style');
|
|
6
|
+
style.id = STYLE_TAG_ID;
|
|
7
|
+
style.textContent = `.base-ui-disable-scrollbar{scrollbar-width:none}.base-ui-disable-scrollbar::-webkit-scrollbar{display:none}`;
|
|
8
|
+
return style;
|
|
9
|
+
}
|
|
7
10
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@msviderok/base-ui-solid",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.9",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"description": "Base UI is a library of headless ('unstyled') Solid components and low-level hooks. You gain complete control over your app's CSS and accessibility features.",
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
],
|
|
14
14
|
"repository": {
|
|
15
15
|
"type": "git",
|
|
16
|
-
"url": "git+https://github.com/
|
|
16
|
+
"url": "git+https://github.com/msviderok/base-ui.git",
|
|
17
17
|
"directory": "packages/solid"
|
|
18
18
|
},
|
|
19
19
|
"license": "MIT",
|
|
20
20
|
"bugs": {
|
|
21
|
-
"url": "https://github.com/
|
|
21
|
+
"url": "https://github.com/msviderok/base-ui/issues"
|
|
22
22
|
},
|
|
23
23
|
"homepage": "https://base-ui.com",
|
|
24
24
|
"funding": {
|
|
@@ -43,9 +43,6 @@
|
|
|
43
43
|
"node": ">=14.0.0"
|
|
44
44
|
},
|
|
45
45
|
"main": "./cjs/index.js",
|
|
46
|
-
"directories": {
|
|
47
|
-
"test": "test"
|
|
48
|
-
},
|
|
49
46
|
"module": "./esm/index.js",
|
|
50
47
|
"types": "index",
|
|
51
48
|
"typesVersions": {
|
|
@@ -440,6 +437,16 @@
|
|
|
440
437
|
"default": "./esm/unstable-use-media-query/index.js"
|
|
441
438
|
}
|
|
442
439
|
},
|
|
440
|
+
"./use-render": {
|
|
441
|
+
"require": {
|
|
442
|
+
"types": "./cjs/use-render/index.d.ts",
|
|
443
|
+
"default": "./cjs/use-render/index.js"
|
|
444
|
+
},
|
|
445
|
+
"import": {
|
|
446
|
+
"types": "./esm/use-render/index.d.ts",
|
|
447
|
+
"default": "./esm/use-render/index.js"
|
|
448
|
+
}
|
|
449
|
+
},
|
|
443
450
|
"./utils": {
|
|
444
451
|
"require": {
|
|
445
452
|
"types": "./cjs/utils/index.d.ts",
|