@abhishekzambare/mui 0.0.4 → 0.0.6

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/mui.js CHANGED
@@ -1,37 +1,20 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- //#region \0rolldown/runtime.js
3
- var t = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), n = /* @__PURE__ */ ((e) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(e, { get: (e, t) => (typeof require < "u" ? require : e)[t] }) : e)(function(e) {
4
- if (typeof require < "u") return require.apply(this, arguments);
5
- throw Error("Calling `require` for \"" + e + "\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.");
6
- }), r = /* @__PURE__ */ t(((e) => {
7
- var t = n("react").__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
8
- e.c = function(e) {
9
- return t.H.useMemoCache(e);
10
- };
11
- })), i = /* @__PURE__ */ t(((e) => {
12
- process.env.NODE_ENV !== "production" && (function() {
13
- var t = n("react").__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
14
- e.c = function(e) {
15
- var n = t.H;
16
- return n === null && console.error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."), n.useMemoCache(e);
17
- };
18
- })();
19
- })), a = (/* @__PURE__ */ t(((e, t) => {
20
- process.env.NODE_ENV === "production" ? t.exports = r() : t.exports = i();
21
- })))(), o = (t) => {
22
- let n = (0, a.c)(3), { children: r } = t, i;
23
- n[0] === Symbol.for("react.memo_cache_sentinel") ? (i = {
1
+ import { c as e } from "react/compiler-runtime";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ //#region lib/Card/index.tsx
4
+ var n = (n) => {
5
+ let r = e(3), { children: i } = n, a;
6
+ r[0] === Symbol.for("react.memo_cache_sentinel") ? (a = {
24
7
  padding: "10px",
25
8
  margin: "10px",
26
9
  backgroundColor: "lightblue",
27
10
  minHeight: "500px",
28
11
  minWidth: "500px"
29
- }, n[0] = i) : i = n[0];
12
+ }, r[0] = a) : a = r[0];
30
13
  let o;
31
- return n[1] === r ? o = n[2] : (o = /* @__PURE__ */ e("div", {
32
- style: i,
33
- children: r
34
- }), n[1] = r, n[2] = o), o;
14
+ return r[1] === i ? o = r[2] : (o = /* @__PURE__ */ t("div", {
15
+ style: a,
16
+ children: i
17
+ }), r[1] = i, r[2] = o), o;
35
18
  };
36
19
  //#endregion
37
- export { o as Card };
20
+ export { n as Card };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abhishekzambare/mui",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
package/dist/mui.umd.cjs DELETED
@@ -1,5 +0,0 @@
1
- (function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports,require(`react/jsx-runtime`)):typeof define==`function`&&define.amd?define([`exports`,`react/jsx-runtime`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.Mui={},e[`react/jsx-runtime`]))})(this,function(e,t){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var n=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),r=n((e=>{var t=require(`react`).__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;e.c=function(e){return t.H.useMemoCache(e)}})),i=n((e=>{process.env.NODE_ENV!==`production`&&(function(){var t=require(`react`).__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;e.c=function(e){var n=t.H;return n===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
2
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
3
- 2. You might be breaking the Rules of Hooks
4
- 3. You might have more than one copy of React in the same app
5
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),n.useMemoCache(e)}})()})),a=n(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=r():t.exports=i()}))();e.Card=e=>{let n=(0,a.c)(3),{children:r}=e,i;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={padding:`10px`,margin:`10px`,backgroundColor:`lightblue`,minHeight:`500px`,minWidth:`500px`},n[0]=i):i=n[0];let o;return n[1]===r?o=n[2]:(o=(0,t.jsx)(`div`,{style:i,children:r}),n[1]=r,n[2]=o),o}});