@mappedin/react-ui 6.14.0-beta.0 → 6.16.0-beta.0

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 CHANGED
@@ -84,11 +84,11 @@ See [Props API](./documents/props-api.md).
84
84
  // Pass props down to inner elements using `props`
85
85
  const App: React.FC = () => (
86
86
  <SearchBar
87
- props={
87
+ props={{
88
88
  wrapper: {
89
89
  tabIndex: 0
90
90
  }
91
- }
91
+ }}
92
92
  />
93
93
  );
94
94
  ```
@@ -1 +1 @@
1
- import{a as i,b as R,c}from"./chunk-EX7DFGSC.js";var f="mappedin__",l="".concat(f,"keyboard-focus"),u="mappedin";var r=c((...s)=>s.filter(t=>t!=null).filter(t=>t!=="").map(t=>t.trim()).map(t=>t.startsWith(f)?t:"".concat(f).concat(t)).join(" "),"classNames");var T=c((...s)=>t=>{s.filter(e=>e!=null).forEach(e=>{typeof e=="function"?e(t):e&&(e.current=t)})},"combineRefs");var N=c((s,t)=>{if(!t&&!s)return{};let e=R(i({},s),{className:r(s.className)});return t&&Object.entries(t).forEach(([n,o])=>{e[n]==null?e[n]=o:n==="className"?e[n]=e[n]+" "+o:n==="ref"?e[n]=T(e[n],o):typeof e[n]=="object"&&typeof o=="object"?e[n]=i(i({},e[n]),o):typeof e[n]=="function"&&typeof o=="function"?e[n]=(...m)=>{s[n](...m),o(...m)}:e[n]=o}),e},"componentProps");export{l as a,u as b,r as c,T as d,N as e};
1
+ import{a as i,b as R,c}from"./chunk-F34ZKFQ7.js";var f="mappedin__",l="".concat(f,"keyboard-focus"),u="mappedin";var r=c((...s)=>s.filter(t=>t!=null).filter(t=>t!=="").map(t=>t.trim()).map(t=>t.startsWith(f)?t:"".concat(f).concat(t)).join(" "),"classNames");var T=c((...s)=>t=>{s.filter(e=>e!=null).forEach(e=>{typeof e=="function"?e(t):e&&(e.current=t)})},"combineRefs");var N=c((s,t)=>{if(!t&&!s)return{};let e=R(i({},s),{className:r(s.className)});return t&&Object.entries(t).forEach(([n,o])=>{e[n]==null?e[n]=o:n==="className"?e[n]=e[n]+" "+o:n==="ref"?e[n]=T(e[n],o):typeof e[n]=="object"&&typeof o=="object"?e[n]=i(i({},e[n]),o):typeof e[n]=="function"&&typeof o=="function"?e[n]=(...m)=>{s[n](...m),o(...m)}:e[n]=o}),e},"componentProps");export{l as a,u as b,r as c,T as d,N as e};