@solid-primitives/props
Advanced tools
Comparing version 2.1.7 to 2.1.8
@@ -9,8 +9,8 @@ 'use strict'; | ||
const _tmpl$ = /*#__PURE__*/web.template(`<label><input type="checkbox"> <span></span> </label>`, 5), | ||
_tmpl$2 = /*#__PURE__*/web.template(`<label><span></span> <input type="number"> </label>`, 5), | ||
_tmpl$3 = /*#__PURE__*/web.template(`<label><span></span> <input type="text"> </label>`, 5), | ||
_tmpl$4 = /*#__PURE__*/web.template(`<label><span></span> <select></select> </label>`, 6), | ||
_tmpl$5 = /*#__PURE__*/web.template(`<option>"options missing"</option>`, 2), | ||
_tmpl$6 = /*#__PURE__*/web.template(`<option></option>`, 2); | ||
const _tmpl$ = web.template(`<label><input type="checkbox"> <span></span> </label>`, 5), | ||
_tmpl$2 = web.template(`<label><span></span> <input type="number"> </label>`, 5), | ||
_tmpl$3 = web.template(`<label><span></span> <input type="text"> </label>`, 5), | ||
_tmpl$4 = web.template(`<label><span></span> <select></select> </label>`, 6), | ||
_tmpl$5 = web.template(`<option>"options missing"</option>`, 2), | ||
_tmpl$6 = web.template(`<option></option>`, 2); | ||
const BoolProp = props => (() => { | ||
@@ -17,0 +17,0 @@ const _el$ = _tmpl$.cloneNode(true), |
@@ -1,11 +0,11 @@ | ||
import { insert, effect, setAttribute, createComponent, template } from 'solid-js/web'; | ||
import { template, insert, effect, setAttribute, createComponent } from 'solid-js/web'; | ||
import { createMemo, For, createSignal, mergeProps } from 'solid-js'; | ||
import { chain } from '@solid-primitives/utils'; | ||
const _tmpl$ = /*#__PURE__*/template(`<label><input type="checkbox"> <span></span> </label>`, 5), | ||
_tmpl$2 = /*#__PURE__*/template(`<label><span></span> <input type="number"> </label>`, 5), | ||
_tmpl$3 = /*#__PURE__*/template(`<label><span></span> <input type="text"> </label>`, 5), | ||
_tmpl$4 = /*#__PURE__*/template(`<label><span></span> <select></select> </label>`, 6), | ||
_tmpl$5 = /*#__PURE__*/template(`<option>"options missing"</option>`, 2), | ||
_tmpl$6 = /*#__PURE__*/template(`<option></option>`, 2); | ||
const _tmpl$ = template(`<label><input type="checkbox"> <span></span> </label>`, 5), | ||
_tmpl$2 = template(`<label><span></span> <input type="number"> </label>`, 5), | ||
_tmpl$3 = template(`<label><span></span> <input type="text"> </label>`, 5), | ||
_tmpl$4 = template(`<label><span></span> <select></select> </label>`, 6), | ||
_tmpl$5 = template(`<option>"options missing"</option>`, 2), | ||
_tmpl$6 = template(`<option></option>`, 2); | ||
const BoolProp = props => (() => { | ||
@@ -12,0 +12,0 @@ const _el$ = _tmpl$.cloneNode(true), |
{ | ||
"name": "@solid-primitives/props", | ||
"version": "2.1.7", | ||
"version": "2.1.8", | ||
"description": "Library of primitives focused around component props.", | ||
@@ -36,3 +36,6 @@ "author": "Alex Lohr <alex.lohr@logmein.com>", | ||
"import": "./dist/esm/index.js", | ||
"browser": "./dist/esm/index.js", | ||
"browser": { | ||
"import": "./dist/esm/index.js", | ||
"require": "./dist/cjs/index.js" | ||
}, | ||
"require": "./dist/cjs/index.js", | ||
@@ -56,3 +59,3 @@ "node": "./dist/cjs/index.js" | ||
"dependencies": { | ||
"@solid-primitives/utils": "^2.0.0" | ||
"@solid-primitives/utils": "^2.1.1" | ||
}, | ||
@@ -62,11 +65,11 @@ "devDependencies": { | ||
"nanospy": "^0.5.0", | ||
"prettier": "^2.5.1", | ||
"prettier": "^2.7.1", | ||
"rollup": "^2.75.7", | ||
"rollup-preset-solid": "^1.4.0", | ||
"solid-register": "^0.2.5", | ||
"tslib": "^2.4.0", | ||
"rollup": "^2.75.6", | ||
"rollup-preset-solid": "^1.4.0", | ||
"typescript": "^4.6.4", | ||
"uvu": "^0.5.3", | ||
"unocss": "0.31.13", | ||
"vite": "2.9.5", | ||
"typescript": "^4.7.4", | ||
"unocss": "^0.39.3", | ||
"uvu": "^0.5.4", | ||
"vite": "^2.9.12", | ||
"vite-plugin-solid": "2.2.6" | ||
@@ -73,0 +76,0 @@ }, |
@@ -39,9 +39,8 @@ <p> | ||
ssr: { | ||
// It allows Vite to preprocess the package | ||
noExternal: ["@solid-primitives/props"], | ||
}, | ||
}) | ||
// It allows Vite to preprocess the package | ||
noExternal: ["@solid-primitives/props"] | ||
} | ||
}); | ||
``` | ||
## `combineProps` | ||
@@ -48,0 +47,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
108747
217