From 8a26a9bd2f3a95aa177e909cdaf014e539e52e99 Mon Sep 17 00:00:00 2001 From: ahmetemrekilinc Date: Fri, 3 Nov 2023 18:38:48 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20obss/com?= =?UTF-8?q?fort-react-demo@9317f67edee46acbd5386f878cd04ad242687a7d=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/{index-d3d7b002.js => index-b488ec2d.js} | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename assets/{index-d3d7b002.js => index-b488ec2d.js} (99%) diff --git a/assets/index-d3d7b002.js b/assets/index-b488ec2d.js similarity index 99% rename from assets/index-d3d7b002.js rename to assets/index-b488ec2d.js index 3fc78d2..b400f66 100644 --- a/assets/index-d3d7b002.js +++ b/assets/index-b488ec2d.js @@ -651,7 +651,7 @@ const useApiProviderProps = { `+on(D,{displayName:"CheckList",useFunctionCode:!0,keyValueOverride:{renderErrorMessage:C?sr:void 0}}),K=`import { CheckList } from 'comfort-react'; -`+K,c.jsxs(Et,{header:"CheckList",codeUrl:"components/components/ComponentCheckList.jsx",children:[U,c.jsxs(W,{container:!0,spacing:2,marginTop:2,children:[c.jsx(W,{item:!0,xs:12,sm:6,children:c.jsx(pt,{value:o,options:xR,onChange:Q=>{a(Q)},label:"checkbox size"})}),c.jsx(W,{item:!0,xs:12,sm:6,children:c.jsx(pt,{value:i,options:$R,onChange:Q=>{s(Q)},label:"getOptionLabel"})}),c.jsx(W,{item:!0,xs:12,sm:6,children:c.jsx(ge,{children:c.jsx(fe,{label:"disabled",value:l,onChange:Q=>{u(Q)}})})}),c.jsx(W,{item:!0,xs:12,sm:6,children:c.jsx(ge,{children:c.jsx(fe,{label:"fullWidth",value:d,onChange:Q=>{f(Q)}})})}),c.jsx(W,{item:!0,xs:12,sm:6,children:c.jsx(ge,{children:c.jsx(fe,{label:"custom theme",value:p,onChange:Q=>{h(Q)}})})}),c.jsx(W,{item:!0,xs:12,sm:6,children:c.jsx(ge,{children:c.jsx(fe,{label:"enable classname style",value:v,onChange:Q=>{g(Q)}})})}),c.jsx(W,{item:!0,xs:12,sm:6,children:c.jsx(ge,{children:c.jsx(fe,{label:"sortAlphabetically",value:$,onChange:Q=>{b(Q)}})})}),c.jsx(W,{item:!0,xs:12,sm:6,children:c.jsx(ut,{value:y,onChange:Q=>{x(Q)},label:"errorMessage"})}),c.jsx(W,{item:!0,xs:12,sm:6,children:c.jsx(ge,{children:c.jsx(fe,{label:"renderErrorMessage",value:C,onChange:Q=>{S(Q)}})})}),c.jsx(W,{item:!0,xs:12,sm:6,children:c.jsx(ge,{children:c.jsx(fe,{label:"enable useValidatableForm",value:T,onChange:Q=>{_(Q)}})})}),c.jsx(W,{item:!0,xs:12,sm:6,children:c.jsx(ge,{children:c.jsx(fe,{label:"getOptionDisabled",value:P,onChange:Q=>{I(Q)}})})})]}),c.jsx(sn,{currentRules:K,dontStringify:!0,header:"Current Jsx"}),c.jsx(Qr,{currentApiInfo:UIe,currentApiLinks:"https://mui.com/material-ui/api/radio/#main-content",header:"CheckList"})]})},UIe=[{name:"id",type:"String",defaultValue:"",description:""},{name:"path",type:"String",defaultValue:"",description:""},{name:"label",type:"String",defaultValue:"",description:""},{name:"value",type:"oneOfType [String, Number]",defaultValue:"",description:""},{name:"className",type:"String",defaultValue:"",description:""},{name:"valueKey",type:"String",defaultValue:"",description:""},{name:"options",type:"Array",defaultValue:"[]",description:""},{name:"errorMessage",type:"String",defaultValue:"",description:""},{name:"setPathValue",type:"Func",defaultValue:"",description:""},{name:"setPathIsBlurred",type:"Func",defaultValue:"",description:""},{name:"sortAlphabetically",type:"Bool",defaultValue:"false",description:""},{name:"onChange",type:"Func",defaultValue:"",description:""},{name:"onBlur",type:"Func",defaultValue:"",description:""},{name:"getOptionLabel",type:"Func",defaultValue:"(option) => option.label",description:""},{name:"row",type:"Bool",defaultValue:"false",description:""},{name:"noHelperText",type:"bool",defaultValue:"",description:""},{name:"fullWidth",type:"Bool",defaultValue:"",description:""},{name:"containerClass",type:"String",defaultValue:"",description:""},{name:"labelClassName",type:"String",defaultValue:"",description:""},{name:"disabled",type:"Bool",defaultValue:"false",description:""},{name:"checkbox",type:"Object",defaultValue:"",description:""},{name:"labelProps",type:"Object",defaultValue:"",description:""},{name:"renderErrorMessage",type:"Func",defaultValue:"",description:""},{name:"getOptionDisabled",type:"Func",defaultValue:"",description:""}],HIe={},SR=[{path:"val",ruleSet:["required"]},{path:"val2",ruleSet:["required"]}],WIe=()=>{const{isValid:e,getPathRelatedProps:t,setFormIsSubmitted:n}=q9({rules:SR,initialFormData:HIe,hideBeforeSubmit:!0,showAfterBlur:!0,focusToErrorAfterSubmit:!0});return c.jsxs(Et,{header:"useComfortForm",codeUrl:"components/validatable-form/UseComfortForm.jsx",children:[c.jsxs("p",{className:"infoParagraph",children:[c.jsx("b",{children:"useComfortForm"})," is a hook extended from"," ",c.jsx("a",{className:"outsideUrlSpan",href:"https://obss.github.io/react-validatable-form-demo/library-api/use-validatable-form",target:"_blank",rel:"noreferrer",children:"useValidatableForm"})," ","with extra ",c.jsx("b",{children:"getPathRelatedProps"})," function. ",c.jsx("b",{children:"getPathRelatedProps"})," function returns an object with ",c.jsx("b",{children:"path"}),", ",c.jsx("b",{children:"value"}),", ",c.jsx("b",{children:"errorMessage"}),", ",c.jsx("b",{children:"setPathValue"})," and ",c.jsx("b",{children:"setPathIsBlurred"})," ","properties. These properties can be used to create a comfort-react components."]}),c.jsx("div",{children:c.jsx(ut,{label:"val",...t("val")})}),c.jsx("div",{children:c.jsx(ut,{label:"val2",...t("val2")})}),c.jsx("div",{children:c.jsx(jn,{variant:"contained",onClick:()=>n(),children:"Submit Form"})}),c.jsx(Ku,{isValid:e}),c.jsx(sn,{currentRules:SR})]})},bt=({title:e,children:t})=>c.jsxs(c.Fragment,{children:[c.jsx(tv,{children:c.jsx("title",{children:e})}),t]}),qIe=e=>c.jsxs(c.Fragment,{children:[c.jsx(e6,{toggleDrawer:e.toggleDrawer,menuIsHidden:e.menuIsHidden}),c.jsx("div",{className:"generalDiv",onClick:e.onOutsideClick,children:c.jsxs(vae,{children:[c.jsx(vt,{exact:!0,path:"/getting-started/home",element:c.jsx(bt,{title:"Comfort React",children:c.jsx(FPe,{})})}),c.jsx(vt,{exact:!0,path:"/getting-started/installation",element:c.jsx(bt,{title:"Installation",children:c.jsx(MPe,{})})}),c.jsx(vt,{exact:!0,path:"/getting-started/usage",element:c.jsx(bt,{title:"Usage",children:c.jsx(_Ie,{openSettingsDialog:e.openSettingsDialog})})}),c.jsx(vt,{exact:!0,path:"/components/button",element:c.jsx(bt,{title:"Button",children:c.jsx(Xke,{})})}),c.jsx(vt,{exact:!0,path:"/components/icon-button",element:c.jsx(bt,{title:"IconButton",children:c.jsx(e3e,{})})}),c.jsx(vt,{exact:!0,path:"/components/menu-button",element:c.jsx(bt,{title:"MenuButton",children:c.jsx(mIe,{})})}),c.jsx(vt,{exact:!0,path:"/components/text-field",element:c.jsx(bt,{title:"TextField",children:c.jsx(c3e,{})})}),c.jsx(vt,{exact:!0,path:"/components/checkbox",element:c.jsx(bt,{title:"Checkbox",children:c.jsx(h3e,{})})}),c.jsx(vt,{exact:!0,path:"/components/check-list",element:c.jsx(bt,{title:"CheckList",children:c.jsx(zIe,{})})}),c.jsx(vt,{exact:!0,path:"/components/number-field",element:c.jsx(bt,{title:"NumberField",children:c.jsx(O3e,{})})}),c.jsx(vt,{exact:!0,path:"/components/date-picker",element:c.jsx(bt,{title:"DatePicker",children:c.jsx(j3e,{})})}),c.jsx(vt,{exact:!0,path:"/components/autocomplete",element:c.jsx(bt,{title:"Autocomplete",children:c.jsx(b3e,{})})}),c.jsx(vt,{exact:!0,path:"/components/radio-button",element:c.jsx(bt,{title:"RadioButton",children:c.jsx(C3e,{})})}),c.jsx(vt,{exact:!0,path:"/components/transfer-list",element:c.jsx(bt,{title:"TransferList",children:c.jsx(T3e,{})})}),c.jsx(vt,{exact:!0,path:"/components/file-input",element:c.jsx(bt,{title:"FileInput",children:c.jsx(NIe,{})})}),c.jsx(vt,{exact:!0,path:"/components/mask-field",element:c.jsx(bt,{title:"MaskField",children:c.jsx(U3e,{})})}),c.jsx(vt,{exact:!0,path:"/components/shrinkable-transfer-list",element:c.jsx(bt,{title:"ShrinkableTransferList",children:c.jsx(SIe,{})})}),c.jsx(vt,{exact:!0,path:"/components/time-picker",element:c.jsx(bt,{title:"TimePicker",children:c.jsx(K3e,{})})}),c.jsx(vt,{exact:!0,path:"/components/phone-input",element:c.jsx(bt,{title:"PhoneInput",children:c.jsx(Z3e,{})})}),c.jsx(vt,{exact:!0,path:"/components/switch",element:c.jsx(bt,{title:"Switch",children:c.jsx(LIe,{})})}),c.jsx(vt,{exact:!0,path:"/components/data-grid",element:c.jsx(bt,{title:"DataGrid",children:c.jsx(dIe,{})})}),c.jsx(vt,{exact:!0,path:"/components/dialog",element:c.jsx(bt,{title:"Dialog",children:c.jsx(wIe,{})})}),c.jsx(vt,{exact:!0,path:"/components/confirm-dialog",element:c.jsx(bt,{title:"ConfirmDialog",children:c.jsx(MIe,{})})}),c.jsx(vt,{exact:!0,path:"/components/form-dialog",element:c.jsx(bt,{title:"FormDialog",children:c.jsx(DIe,{})})}),c.jsx(vt,{exact:!0,path:"/validatable-form/tckn",element:c.jsx(bt,{title:"Tckn",children:c.jsx(jPe,{})})}),c.jsx(vt,{exact:!0,path:"/validatable-form/phone-number",element:c.jsx(bt,{title:"PhoneNumber",children:c.jsx(BPe,{})})}),c.jsx(vt,{exact:!0,path:"/validatable-form/time",element:c.jsx(bt,{title:"Time",children:c.jsx(zPe,{})})}),c.jsx(vt,{exact:!0,path:"/validatable-form/vkn",element:c.jsx(bt,{title:"Vkn",children:c.jsx(HPe,{})})}),c.jsx(vt,{exact:!0,path:"/validatable-form/custom-message",element:c.jsx(bt,{title:"CustomMessage",children:c.jsx(bPe,{})})}),c.jsx(vt,{exact:!0,path:"/validatable-form/translations",element:c.jsx(bt,{title:"CustomTranslations",children:c.jsx($Pe,{})})}),c.jsx(vt,{exact:!0,path:"/validatable-form/use-comfort-form",element:c.jsx(bt,{title:"useComfortForm",children:c.jsx(WIe,{})})}),c.jsx(vt,{exact:!0,path:"/notistack/use-snackbar",element:c.jsx(bt,{title:"useSnackbar",children:c.jsx(qPe,{})})}),c.jsx(vt,{exact:!0,path:"/notistack/use-snackbar-api",element:c.jsx(bt,{title:"useSnackbar Api",children:c.jsx(PIe,{openSettingsDialog:e.openSettingsDialog})})}),c.jsx(vt,{exact:!0,path:"/use-api/use-api",element:c.jsx(bt,{title:"useApi",children:c.jsx(ZPe,{})})}),c.jsx(vt,{exact:!0,path:"/use-api/use-api-api",element:c.jsx(bt,{title:"useApi Api",children:c.jsx(OIe,{})})}),c.jsx(vt,{exact:!0,path:"/examples/list-items",element:c.jsx(bt,{title:"ListItems Example",children:c.jsx(xIe,{})})}),c.jsx(vt,{exact:!0,path:"/api/comfort-react-provider",element:c.jsx(bt,{title:"ComfortReactProvider",children:c.jsx(DPe,{openSettingsDialog:e.openSettingsDialog})})}),c.jsx(vt,{exact:!0,path:"/",element:c.jsx(bt,{title:"Comfort React",children:c.jsx(Dae,{})})})]})})]});const GIe=e=>{const{openSettingsDialog:t}=e,n="Version: 4.0.0-beta.3";return c.jsxs("div",{className:"settings-div",children:[c.jsx("span",{className:"settingsTitle",children:c.jsx(ga,{variant:"contained",className:"topButton",onClick:()=>t(),children:c.jsx(Rae,{})})}),c.jsx(Ya,{placement:"bottom",title:"View on GitHub",children:c.jsx("span",{className:"githubIcon",children:c.jsx("a",{href:"https://github.com/obss/comfort-react",target:"_blank",rel:"noreferrer",children:c.jsx("img",{src:"/comfort-react-demo/github.png",alt:"github_icon"})})})}),c.jsx(Ya,{placement:"bottom",title:"View on npmjs",children:c.jsx("span",{className:"npmIcon",children:c.jsx("a",{href:"https://www.npmjs.com/package/comfort-react",target:"_blank",rel:"noreferrer",children:c.jsx("img",{src:"/comfort-react-demo/npm.png",alt:"npm_icon"})})})}),c.jsx(Ya,{placement:"bottom",title:"Current Version",children:c.jsx("span",{className:"versionInfo",children:c.jsx("a",{href:"https://www.npmjs.com/package/comfort-react",target:"_blank",rel:"noreferrer",children:n})})})]})},KIe=({open:e,toggleDrawer:t})=>c.jsx(NQ,{ModalProps:{keepMounted:!0},anchor:"left",open:e,onClose:()=>t(!1),children:c.jsx(e6,{toggleDrawer:t})});var GC={exports:{}};/*! +`+K,c.jsxs(Et,{header:"CheckList",codeUrl:"components/components/ComponentCheckList.jsx",children:[U,c.jsxs(W,{container:!0,spacing:2,marginTop:2,children:[c.jsx(W,{item:!0,xs:12,sm:6,children:c.jsx(pt,{value:o,options:xR,onChange:Q=>{a(Q)},label:"checkbox size"})}),c.jsx(W,{item:!0,xs:12,sm:6,children:c.jsx(pt,{value:i,options:$R,onChange:Q=>{s(Q)},label:"getOptionLabel"})}),c.jsx(W,{item:!0,xs:12,sm:6,children:c.jsx(ge,{children:c.jsx(fe,{label:"disabled",value:l,onChange:Q=>{u(Q)}})})}),c.jsx(W,{item:!0,xs:12,sm:6,children:c.jsx(ge,{children:c.jsx(fe,{label:"fullWidth",value:d,onChange:Q=>{f(Q)}})})}),c.jsx(W,{item:!0,xs:12,sm:6,children:c.jsx(ge,{children:c.jsx(fe,{label:"custom theme",value:p,onChange:Q=>{h(Q)}})})}),c.jsx(W,{item:!0,xs:12,sm:6,children:c.jsx(ge,{children:c.jsx(fe,{label:"enable classname style",value:v,onChange:Q=>{g(Q)}})})}),c.jsx(W,{item:!0,xs:12,sm:6,children:c.jsx(ge,{children:c.jsx(fe,{label:"sortAlphabetically",value:$,onChange:Q=>{b(Q)}})})}),c.jsx(W,{item:!0,xs:12,sm:6,children:c.jsx(ut,{value:y,onChange:Q=>{x(Q)},label:"errorMessage"})}),c.jsx(W,{item:!0,xs:12,sm:6,children:c.jsx(ge,{children:c.jsx(fe,{label:"renderErrorMessage",value:C,onChange:Q=>{S(Q)}})})}),c.jsx(W,{item:!0,xs:12,sm:6,children:c.jsx(ge,{children:c.jsx(fe,{label:"enable useValidatableForm",value:T,onChange:Q=>{_(Q)}})})}),c.jsx(W,{item:!0,xs:12,sm:6,children:c.jsx(ge,{children:c.jsx(fe,{label:"getOptionDisabled",value:P,onChange:Q=>{I(Q)}})})})]}),c.jsx(sn,{currentRules:K,dontStringify:!0,header:"Current Jsx"}),c.jsx(Qr,{currentApiInfo:UIe,currentApiLinks:"https://mui.com/material-ui/api/radio/#main-content",header:"CheckList"})]})},UIe=[{name:"id",type:"String",defaultValue:"",description:""},{name:"path",type:"String",defaultValue:"",description:""},{name:"label",type:"String",defaultValue:"",description:""},{name:"value",type:"oneOfType [String, Number]",defaultValue:"",description:""},{name:"className",type:"String",defaultValue:"",description:""},{name:"valueKey",type:"String",defaultValue:"",description:""},{name:"options",type:"Array",defaultValue:"[]",description:""},{name:"errorMessage",type:"String",defaultValue:"",description:""},{name:"setPathValue",type:"Func",defaultValue:"",description:""},{name:"setPathIsBlurred",type:"Func",defaultValue:"",description:""},{name:"sortAlphabetically",type:"Bool",defaultValue:"false",description:""},{name:"onChange",type:"Func",defaultValue:"",description:""},{name:"onBlur",type:"Func",defaultValue:"",description:""},{name:"getOptionLabel",type:"Func",defaultValue:"(option) => option.label",description:""},{name:"row",type:"Bool",defaultValue:"false",description:""},{name:"noHelperText",type:"bool",defaultValue:"",description:""},{name:"fullWidth",type:"Bool",defaultValue:"",description:""},{name:"containerClass",type:"String",defaultValue:"",description:""},{name:"labelClassName",type:"String",defaultValue:"",description:""},{name:"disabled",type:"Bool",defaultValue:"false",description:""},{name:"checkbox",type:"Object",defaultValue:"",description:""},{name:"labelProps",type:"Object",defaultValue:"",description:""},{name:"renderErrorMessage",type:"Func",defaultValue:"",description:""},{name:"getOptionDisabled",type:"Func",defaultValue:"",description:""}],HIe={},SR=[{path:"val",ruleSet:["required"]},{path:"val2",ruleSet:["required"]}],WIe=()=>{const{isValid:e,getPathRelatedProps:t,setFormIsSubmitted:n}=q9({rules:SR,initialFormData:HIe,hideBeforeSubmit:!0,showAfterBlur:!0,focusToErrorAfterSubmit:!0});return c.jsxs(Et,{header:"useComfortForm",codeUrl:"components/validatable-form/UseComfortForm.jsx",children:[c.jsxs("p",{className:"infoParagraph",children:[c.jsx("b",{children:"useComfortForm"})," is a hook extended from"," ",c.jsx("a",{className:"outsideUrlSpan",href:"https://obss.github.io/react-validatable-form-demo/library-api/use-validatable-form",target:"_blank",rel:"noreferrer",children:"useValidatableForm"})," ","with extra ",c.jsx("b",{children:"getPathRelatedProps"})," function. ",c.jsx("b",{children:"getPathRelatedProps"})," function returns an object with ",c.jsx("b",{children:"path"}),", ",c.jsx("b",{children:"value"}),", ",c.jsx("b",{children:"errorMessage"}),", ",c.jsx("b",{children:"setPathValue"})," and ",c.jsx("b",{children:"setPathIsBlurred"})," ","properties. These properties can be used to create a comfort-react components."]}),c.jsx("div",{children:c.jsx(ut,{label:"val",...t("val")})}),c.jsx("div",{children:c.jsx(ut,{label:"val2",...t("val2")})}),c.jsx("div",{children:c.jsx(jn,{variant:"contained",onClick:()=>n(),children:"Submit Form"})}),c.jsx(Ku,{isValid:e}),c.jsx(sn,{currentRules:SR})]})},bt=({title:e,children:t})=>c.jsxs(c.Fragment,{children:[c.jsx(tv,{children:c.jsx("title",{children:e})}),t]}),qIe=e=>c.jsxs(c.Fragment,{children:[c.jsx(e6,{toggleDrawer:e.toggleDrawer,menuIsHidden:e.menuIsHidden}),c.jsx("div",{className:"generalDiv",onClick:e.onOutsideClick,children:c.jsxs(vae,{children:[c.jsx(vt,{exact:!0,path:"/getting-started/home",element:c.jsx(bt,{title:"Comfort React",children:c.jsx(FPe,{})})}),c.jsx(vt,{exact:!0,path:"/getting-started/installation",element:c.jsx(bt,{title:"Installation",children:c.jsx(MPe,{})})}),c.jsx(vt,{exact:!0,path:"/getting-started/usage",element:c.jsx(bt,{title:"Usage",children:c.jsx(_Ie,{openSettingsDialog:e.openSettingsDialog})})}),c.jsx(vt,{exact:!0,path:"/components/button",element:c.jsx(bt,{title:"Button",children:c.jsx(Xke,{})})}),c.jsx(vt,{exact:!0,path:"/components/icon-button",element:c.jsx(bt,{title:"IconButton",children:c.jsx(e3e,{})})}),c.jsx(vt,{exact:!0,path:"/components/menu-button",element:c.jsx(bt,{title:"MenuButton",children:c.jsx(mIe,{})})}),c.jsx(vt,{exact:!0,path:"/components/text-field",element:c.jsx(bt,{title:"TextField",children:c.jsx(c3e,{})})}),c.jsx(vt,{exact:!0,path:"/components/checkbox",element:c.jsx(bt,{title:"Checkbox",children:c.jsx(h3e,{})})}),c.jsx(vt,{exact:!0,path:"/components/check-list",element:c.jsx(bt,{title:"CheckList",children:c.jsx(zIe,{})})}),c.jsx(vt,{exact:!0,path:"/components/number-field",element:c.jsx(bt,{title:"NumberField",children:c.jsx(O3e,{})})}),c.jsx(vt,{exact:!0,path:"/components/date-picker",element:c.jsx(bt,{title:"DatePicker",children:c.jsx(j3e,{})})}),c.jsx(vt,{exact:!0,path:"/components/autocomplete",element:c.jsx(bt,{title:"Autocomplete",children:c.jsx(b3e,{})})}),c.jsx(vt,{exact:!0,path:"/components/radio-button",element:c.jsx(bt,{title:"RadioButton",children:c.jsx(C3e,{})})}),c.jsx(vt,{exact:!0,path:"/components/transfer-list",element:c.jsx(bt,{title:"TransferList",children:c.jsx(T3e,{})})}),c.jsx(vt,{exact:!0,path:"/components/file-input",element:c.jsx(bt,{title:"FileInput",children:c.jsx(NIe,{})})}),c.jsx(vt,{exact:!0,path:"/components/mask-field",element:c.jsx(bt,{title:"MaskField",children:c.jsx(U3e,{})})}),c.jsx(vt,{exact:!0,path:"/components/shrinkable-transfer-list",element:c.jsx(bt,{title:"ShrinkableTransferList",children:c.jsx(SIe,{})})}),c.jsx(vt,{exact:!0,path:"/components/time-picker",element:c.jsx(bt,{title:"TimePicker",children:c.jsx(K3e,{})})}),c.jsx(vt,{exact:!0,path:"/components/phone-input",element:c.jsx(bt,{title:"PhoneInput",children:c.jsx(Z3e,{})})}),c.jsx(vt,{exact:!0,path:"/components/switch",element:c.jsx(bt,{title:"Switch",children:c.jsx(LIe,{})})}),c.jsx(vt,{exact:!0,path:"/components/data-grid",element:c.jsx(bt,{title:"DataGrid",children:c.jsx(dIe,{})})}),c.jsx(vt,{exact:!0,path:"/components/dialog",element:c.jsx(bt,{title:"Dialog",children:c.jsx(wIe,{})})}),c.jsx(vt,{exact:!0,path:"/components/confirm-dialog",element:c.jsx(bt,{title:"ConfirmDialog",children:c.jsx(MIe,{})})}),c.jsx(vt,{exact:!0,path:"/components/form-dialog",element:c.jsx(bt,{title:"FormDialog",children:c.jsx(DIe,{})})}),c.jsx(vt,{exact:!0,path:"/validatable-form/tckn",element:c.jsx(bt,{title:"Tckn",children:c.jsx(jPe,{})})}),c.jsx(vt,{exact:!0,path:"/validatable-form/phone-number",element:c.jsx(bt,{title:"PhoneNumber",children:c.jsx(BPe,{})})}),c.jsx(vt,{exact:!0,path:"/validatable-form/time",element:c.jsx(bt,{title:"Time",children:c.jsx(zPe,{})})}),c.jsx(vt,{exact:!0,path:"/validatable-form/vkn",element:c.jsx(bt,{title:"Vkn",children:c.jsx(HPe,{})})}),c.jsx(vt,{exact:!0,path:"/validatable-form/custom-message",element:c.jsx(bt,{title:"CustomMessage",children:c.jsx(bPe,{})})}),c.jsx(vt,{exact:!0,path:"/validatable-form/translations",element:c.jsx(bt,{title:"CustomTranslations",children:c.jsx($Pe,{})})}),c.jsx(vt,{exact:!0,path:"/validatable-form/use-comfort-form",element:c.jsx(bt,{title:"useComfortForm",children:c.jsx(WIe,{})})}),c.jsx(vt,{exact:!0,path:"/notistack/use-snackbar",element:c.jsx(bt,{title:"useSnackbar",children:c.jsx(qPe,{})})}),c.jsx(vt,{exact:!0,path:"/notistack/use-snackbar-api",element:c.jsx(bt,{title:"useSnackbar Api",children:c.jsx(PIe,{openSettingsDialog:e.openSettingsDialog})})}),c.jsx(vt,{exact:!0,path:"/use-api/use-api",element:c.jsx(bt,{title:"useApi",children:c.jsx(ZPe,{})})}),c.jsx(vt,{exact:!0,path:"/use-api/use-api-api",element:c.jsx(bt,{title:"useApi Api",children:c.jsx(OIe,{})})}),c.jsx(vt,{exact:!0,path:"/examples/list-items",element:c.jsx(bt,{title:"ListItems Example",children:c.jsx(xIe,{})})}),c.jsx(vt,{exact:!0,path:"/api/comfort-react-provider",element:c.jsx(bt,{title:"ComfortReactProvider",children:c.jsx(DPe,{openSettingsDialog:e.openSettingsDialog})})}),c.jsx(vt,{exact:!0,path:"/",element:c.jsx(bt,{title:"Comfort React",children:c.jsx(Dae,{})})})]})})]});const GIe=e=>{const{openSettingsDialog:t}=e,n="Version: 4.0.0";return c.jsxs("div",{className:"settings-div",children:[c.jsx("span",{className:"settingsTitle",children:c.jsx(ga,{variant:"contained",className:"topButton",onClick:()=>t(),children:c.jsx(Rae,{})})}),c.jsx(Ya,{placement:"bottom",title:"View on GitHub",children:c.jsx("span",{className:"githubIcon",children:c.jsx("a",{href:"https://github.com/obss/comfort-react",target:"_blank",rel:"noreferrer",children:c.jsx("img",{src:"/comfort-react-demo/github.png",alt:"github_icon"})})})}),c.jsx(Ya,{placement:"bottom",title:"View on npmjs",children:c.jsx("span",{className:"npmIcon",children:c.jsx("a",{href:"https://www.npmjs.com/package/comfort-react",target:"_blank",rel:"noreferrer",children:c.jsx("img",{src:"/comfort-react-demo/npm.png",alt:"npm_icon"})})})}),c.jsx(Ya,{placement:"bottom",title:"Current Version",children:c.jsx("span",{className:"versionInfo",children:c.jsx("a",{href:"https://www.npmjs.com/package/comfort-react",target:"_blank",rel:"noreferrer",children:n})})})]})},KIe=({open:e,toggleDrawer:t})=>c.jsx(NQ,{ModalProps:{keepMounted:!0},anchor:"left",open:e,onClose:()=>t(!1),children:c.jsx(e6,{toggleDrawer:t})});var GC={exports:{}};/*! * CSSJanus. https://github.com/cssjanus/cssjanus * * Copyright 2014 Trevor Parscal diff --git a/index.html b/index.html index 8b96a42..c327586 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ Comfort React - +