-
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploying to gh-pages from @ 6a28394 🚀
- Loading branch information
Showing
233 changed files
with
61,258 additions
and
46,491 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
import{c as v,t}from"./index-D9l_Mn70.js";var a=t('<svg><path d="M0 0h24v24H0z"fill=none></svg>',!1,!0),e=t('<svg><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"></svg>',!1,!0);const h=v(()=>[a(),e()],"Add");export{h as A}; | ||
import{c as v,t}from"./index-ridAuENd.js";var a=t('<svg><path d="M0 0h24v24H0z"fill=none></svg>',!1,!0),e=t('<svg><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"></svg>',!1,!0);const h=v(()=>[a(),e()],"Add");export{h as A}; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
var p=Object.defineProperty;var e=(n,i)=>p(n,"name",{value:i,configurable:!0});import{A as r}from"./Alert-DEyugyMG.js";import{C as m}from"./ComponentInfo-CHqyrOGo.js";import{h as t,z as d,N as T,O as f,f as k,R as y,k as v,m as w,W as S,t as x}from"./index-ridAuENd.js";import{S as l}from"./copyText-CCrSkyLZ.js";import"./Link-q_lmqSfc.js";import"./PaperCode-Ae8UmCps.js";function a(){return t(l,{sx:{width:"100%"},spacing:2,get children(){return[t(r,{onClose:e(()=>{console.log("close")},"onClose"),children:"This is a success alert — check it out!"}),t(r,{get action(){return t(d,{color:"inherit",size:"small",children:"UNDO"})},children:"This is a success alert — check it out!"})]}})}e(a,"ActionAlerts");a.code=`import { Alert, Button, Stack } from "@suid/material"; | ||
export default function ActionAlerts() { | ||
return ( | ||
<Stack sx={{ width: "100%" }} spacing={2}> | ||
<Alert | ||
onClose={() => { | ||
console.log("close"); | ||
}} | ||
> | ||
This is a success alert — check it out! | ||
</Alert> | ||
<Alert | ||
action={ | ||
<Button color="inherit" size="small"> | ||
UNDO | ||
</Button> | ||
} | ||
> | ||
This is a success alert — check it out! | ||
</Alert> | ||
</Stack> | ||
); | ||
} | ||
`;function u(){return t(l,{sx:{width:"100%"},spacing:2,get children(){return[t(r,{severity:"error",children:"This is an error alert — check it out!"}),t(r,{severity:"warning",children:"This is a warning alert — check it out!"}),t(r,{severity:"info",children:"This is an info alert — check it out!"}),t(r,{severity:"success",children:"This is a success alert — check it out!"})]}})}e(u,"BasicAlerts");u.code=`import { Alert, Stack } from "@suid/material"; | ||
export default function BasicAlerts() { | ||
return ( | ||
<Stack sx={{ width: "100%" }} spacing={2}> | ||
<Alert severity="error">This is an error alert — check it out!</Alert> | ||
<Alert severity="warning">This is a warning alert — check it out!</Alert> | ||
<Alert severity="info">This is an info alert — check it out!</Alert> | ||
<Alert severity="success">This is a success alert — check it out!</Alert> | ||
</Stack> | ||
); | ||
} | ||
`;function C(n){return f("MuiAlertTitle",n)}e(C,"getAlertTitleUtilityClass");T("MuiAlertTitle",["root"]);const B=k()({name:"MuiAlertTitle",selfPropNames:["children","classes"],propDefaults:e(({set:n})=>n({component:"div"}),"propDefaults"),utilityClass:C,slotClasses:e(()=>({root:["root"]}),"slotClasses")}),D=y(v,{name:"MuiAlertTitle",slot:"Root",overridesResolver:e((n,i)=>i.root,"overridesResolver")})(({theme:n})=>({fontWeight:n.typography.fontWeightMedium,marginTop:-2})),s=B.component(e(function({allProps:i,classes:A,otherProps:c,props:g}){return t(D,w({gutterBottom:!0},c,{ownerState:i,get class(){return S(A.root,c.class)},get children(){return g.children}}))},"AlertTitle2"));var o=x("<strong>check it out!");function h(){return t(l,{sx:{width:"100%"},spacing:2,get children(){return[t(r,{severity:"error",get children(){return[t(s,{children:"Error"}),"This is an error alert — ",o()]}}),t(r,{severity:"warning",get children(){return[t(s,{children:"Warning"}),"This is a warning alert — ",o()]}}),t(r,{severity:"info",get children(){return[t(s,{children:"Info"}),"This is an info alert — ",o()]}}),t(r,{severity:"success",get children(){return[t(s,{children:"Success"}),"This is a success alert — ",o()]}})]}})}e(h,"DescriptionAlerts");h.code=`import { Alert, AlertTitle, Stack } from "@suid/material"; | ||
export default function DescriptionAlerts() { | ||
return ( | ||
<Stack sx={{ width: "100%" }} spacing={2}> | ||
<Alert severity="error"> | ||
<AlertTitle>Error</AlertTitle> | ||
This is an error alert — <strong>check it out!</strong> | ||
</Alert> | ||
<Alert severity="warning"> | ||
<AlertTitle>Warning</AlertTitle> | ||
This is a warning alert — <strong>check it out!</strong> | ||
</Alert> | ||
<Alert severity="info"> | ||
<AlertTitle>Info</AlertTitle> | ||
This is an info alert — <strong>check it out!</strong> | ||
</Alert> | ||
<Alert severity="success"> | ||
<AlertTitle>Success</AlertTitle> | ||
This is a success alert — <strong>check it out!</strong> | ||
</Alert> | ||
</Stack> | ||
); | ||
} | ||
`;function O(){return t(m,{get name(){return r.name},importInfo:["Alert","AlertTitle"],examples:[u,{title:"Description",component:h},{title:"Actions",component:a}]})}e(O,"AlertPage");export{O as default}; |
Oops, something went wrong.