Comparing version 0.0.22 to 0.0.23
{ | ||
"name": "fuzzy-ui", | ||
"version": "0.0.22", | ||
"version": "0.0.23", | ||
"main": "src/index.ts", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -29,3 +29,3 @@ /* eslint-disable no-unused-vars */ | ||
component: T, | ||
props?: Record<string, unknown> | null, | ||
props?: Record<string, unknown> | null | (() => Record<string, unknown> | null), | ||
children?: VNodeChild | Slot | Slots | ||
@@ -60,3 +60,3 @@ ) => { | ||
const sideRoot = h({ | ||
render: () => h(component as any, props, children as any), | ||
render: () => h(component as any, typeof props === 'function' ? props() : props, children as any), | ||
}) | ||
@@ -63,0 +63,0 @@ |
@@ -36,3 +36,3 @@ import { defineConfig } from 'vite' | ||
// // fileName: (format) => `my-lib.${format}.js` | ||
// formats: ['es'], | ||
// formats: ['umd'], | ||
// }, | ||
@@ -51,2 +51,3 @@ // rollupOptions: { | ||
// }, | ||
// name: 'FuzzyUI', | ||
// // preserveModules: true, | ||
@@ -56,5 +57,5 @@ // // entryFileNames: ({ name: fileName }) => { | ||
// // }, | ||
// preserveModules: true, | ||
// // preserveModules: true, | ||
// entryFileNames: '[name].js', | ||
// format: 'es', | ||
// format: 'umd', | ||
// }, | ||
@@ -61,0 +62,0 @@ // }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
110739
350