@plasmicpkgs/plasmic-chakra-ui 0.0.5 → 0.0.7

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.
@@ -1,2 +1,2 @@
1
- "use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var t=require("@chakra-ui/react"),o=e(require("@plasmicapp/host/registerComponent")),a=e(require("@plasmicapp/host/registerGlobalContext")),p=e(require("react"));function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(e[a]=o[a])}return e}).apply(this,arguments)}var l=function(e){return"chakra-ui-"+e},r=function(e){return"Chakra-UI "+e},i=function(e,t,o){var a,p;return n({name:l(e),displayName:null!=(a=null==o?void 0:o.displayName)?a:r(e),importPath:null!=(p=null==o?void 0:o.importPath)?p:"@chakra-ui/react",importName:e},t?{parentComponentName:l(t)}:{})},s=n({},i("Accordion"),{props:{allowMultiple:{type:"boolean",description:"If true, multiple accordion items can be expanded at the same time."},allowToggle:{type:"boolean",description:"If true, an expanded accordion item can be collapsed again."},defaultIndex:{type:"number",description:"The index of the accordion item that should be expanded by default."},reduceMotion:{type:"boolean",description:"If true, height animation and transitions will be disabled."},children:{type:"slot",allowedComponents:[l("AccordionItem")],defaultValue:[{type:"component",name:l("AccordionItem")},{type:"component",name:l("AccordionItem")}]}}}),d=n({},i("AccordionItem","Accordion"),{props:{id:{type:"string",description:"The unique id of the accordion item."},isDisabled:{type:"boolean",description:"If true, the accordion item will be disabled."},isFocusable:{type:"boolean",description:"If true, the accordion item will be focusable."},children:{type:"slot",allowedComponents:[l("AccordionButton"),l("AccordionPanel")],defaultValue:[{type:"component",name:l("AccordionButton")},{type:"component",name:l("AccordionPanel")}]}}}),u=n({},i("AccordionButton","AccordionItem"),{props:{_expanded:{type:"object",displayName:"expandedStyle",defaultValueHint:{bg:"orange",color:"white"}},children:{type:"slot",defaultValue:[{type:"text",value:"Section 1 title",styles:{textAlign:"left"}},{type:"component",name:l("AccordionIcon")}]}}}),c=n({},i("AccordionPanel","AccordionItem"),{props:{children:{type:"slot",defaultValue:{type:"component",name:l("Text"),props:{children:{type:"text",value:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."}}}}}}),m=n({},i("AccordionIcon","AccordionButton"),{props:{}}),y=n({},i("AspectRatio"),{defaultStyles:{width:"320px"},props:{ratio:{type:"number",defaultValue:1.333},children:{type:"slot",defaultValue:{type:"component",name:l("Image")}}}}),h=n({},i("AvatarBadge","Avatar"),{props:{boxSize:{type:"string",defaultValue:"1.25em"},bg:{type:"string",defaultValue:"green.500"},borderColor:"string"}}),b=n({},i("Avatar","AvatarGroup"),{props:{name:{type:"string",defaultValue:"Kola Tioluwani"},src:{type:"string",defaultValue:"https://bit.ly/dan-abramov"},size:{type:"choice",options:["2xs","xs","sm","md","lg","xl","2xl","full"]},loading:{type:"choice",options:["eager","lazy"]},showBorder:"boolean",children:{type:"slot",hidePlaceholder:!0,allowedComponents:[l("AvatarBadge")],defaultValue:{type:"component",name:l("AvatarBadge")}}}}),g=n({},i("AvatarGroup"),{props:{size:{type:"choice",options:["2xs","xs","sm","md","lg","xl","2xl","full"]},max:{type:"number",description:"The maximum number of avatars to show before truncating."},spacing:{type:"string",defaultValue:"-0.75rem"},children:{type:"slot",allowedComponents:[l("Avatar")],defaultValue:[{type:"component",name:l("Avatar"),props:{name:"Dan Abrahmov",src:"https://bit.ly/dan-abramov"}},{type:"component",name:l("Avatar"),props:{name:"Kola Tioluwani",src:"https://bit.ly/tioluwani-kolawole"}},{type:"component",name:l("Avatar"),props:{name:"Kent Dodds",src:"https://bit.ly/kent-c-dodds"}},{type:"component",name:l("Avatar"),props:{name:"Ryan Florence",src:"https://bit.ly/ryan-florence"}},{type:"component",name:l("Avatar"),props:{name:"Prosper Otemuyiwa",src:"https://bit.ly/prosper-baba"}},{type:"component",name:l("Avatar"),props:{name:"Christian Nwamba",src:"https://bit.ly/code-beast"}},{type:"component",name:l("Avatar"),props:{name:"Segun Adebayo",src:"https://bit.ly/sage-adebayo"}}]}}}),f=n({},i("Badge"),{importPath:"@chakra-ui/react",props:{colorScheme:{type:"choice",options:["whiteAlpha","blackAlpha","gray","red","orange","yellow","green","teal","blue","cyan","purple","pink","linkedin","facebook","messenger","whatsapp","twitter","telegram"],defaultValue:"gray"},variant:{type:"choice",options:["solid","subtle","outline"],defaultValue:"subtle"}}}),x=n({},i("BreadcrumbItem","Breadcrumb"),{props:{isCurrentPage:{type:"boolean"},isLastChild:{type:"boolean"},seperator:{type:"string",defaultValue:"/"},spacing:{type:"string",defaultValue:"8px"},children:{type:"slot",defaultValue:[{type:"component",name:l("BreadcrumbLink"),props:{children:{type:"text",value:"BreadcrumbItem"}}}]}}}),v=n({},i("BreadcrumbLink","BreadcrumbItem"),{props:{href:{type:"string",defaultValue:"#"},children:{type:"slot",defaultValue:[{type:"text",value:"Home"}]}}}),V=n({},i("Breadcrumb"),{props:{separator:{type:"string",defaultValue:"/"},spacing:{type:"string",defaultValue:"8px"},children:{type:"slot",defaultValue:[{type:"component",name:l("BreadcrumbItem"),props:{children:{type:"component",name:l("BreadcrumbLink"),props:{children:{type:"text",value:"Home"}}}}},{type:"component",name:l("BreadcrumbItem"),props:{children:{type:"component",name:l("BreadcrumbLink"),props:{children:{type:"text",value:"Docs"}}}}},{type:"component",name:l("BreadcrumbItem"),props:{isLastChild:!0,isCurrentPage:!0,children:{type:"component",name:l("BreadcrumbLink"),props:{children:{type:"text",value:"Breadcrumb"}}}}}]}}}),M=n({},i("BreadcrumbSeparator","Breadcrumb"),{props:{children:{type:"slot",defaultValue:{type:"text",value:"/"}}}}),T=n({},i("ButtonGroup"),{props:{colorScheme:{type:"choice",options:["whiteAlpha","blackAlpha","gray","red","orange","yellow","green","teal","blue","cyan","purple","pink","linkedin","facebook","messenger","whatsapp","twitter","telegram"]},size:{type:"choice",options:["xl","sm","md","lg"],defaultValue:"md"},isAttached:{type:"boolean",defaultValue:!1},isDisabled:{type:"boolean",defaultValue:!1},spacing:{type:"string",defaultValue:"0.5rem"},children:{type:"slot",defaultValue:[{type:"component",name:l("Button"),props:{children:{type:"text",value:"Button 1"}}},{type:"component",name:l("Button"),props:{children:{type:"text",value:"Button 2"}}}]}}}),C=n({},i("Button","ButtonGroup"),{props:{size:{type:"choice",options:["xl","sm","md","lg"]},variant:{type:"choice",options:["ghost","outline","solid","link","unstyled"],defaultValue:"solid"},colorScheme:{type:"choice",options:["whiteAlpha","blackAlpha","gray","red","orange","yellow","green","teal","blue","cyan","purple","pink","linkedin","facebook","messenger","whatsapp","twitter","telegram"]},iconSpacing:"number",isActive:{type:"boolean"},isDisabled:{type:"boolean"},isLoading:{type:"boolean"},children:{type:"slot",defaultValue:{type:"text",value:"Button"}}}}),w=n({},i("ChakraProvider"),{props:{theme:"object"}});function k(e,o){!function(){e?e.registerGlobalContext.apply(e,arguments):a.apply(void 0,arguments)}(t.ChakraProvider,null!=o?o:w)}var I=n({},i("Checkbox","CheckboxGroup"),{props:{colorScheme:{type:"choice",options:["whiteAlpha","blackAlpha","gray","red","orange","yellow","green","teal","blue","cyan","purple","pink","linkedin","facebook","messenger","whatsapp","twitter","telegram"],defaultValue:"blue"},size:{type:"choice",options:["xl","sm","md","lg"]},value:{type:"string"},spacing:{type:"string",defaultValue:"0.5rem"},isChecked:{type:"boolean"},isIndeterminate:{type:"boolean"},isDisabled:{type:"boolean"},isRequired:{type:"boolean"},isInvalid:{type:"boolean"},children:{type:"slot",defaultValue:{type:"text",value:"Checkbox"}}}}),A=n({},i("CheckboxGroup"),{props:{size:{type:"choice",options:["xl","sm","md","lg"],defaultValue:"md"},isDisabled:{type:"boolean"},children:{type:"slot",allowedComponents:[l("Checkbox")],defaultValue:[{type:"component",name:l("Checkbox"),props:{value:"1",children:{type:"text",value:"Checkbox 1"}}},{type:"component",name:l("Checkbox"),props:{value:"2",children:{type:"text",value:"Checkbox 2"}}},{type:"component",name:l("Checkbox"),props:{value:"3",children:{type:"text",value:"Checkbox 3"}}}]}}}),P=n({},i("Code"),{props:{colorScheme:{type:"choice",options:["whiteAlpha","blackAlpha","gray","red","orange","yellow","green","teal","blue","cyan","purple","pink","linkedin","facebook","messenger","whatsapp","twitter","telegram"],defaultValue:"gray"},variant:{type:"choice",options:["solid","subtle","outline"],defaultValue:"subtle"},children:{type:"slot",defaultValue:[{type:"text",value:"Code"}]}}}),B=n({},i("Divider"),{props:{orientation:{type:"choice",options:["vertical","horizontal"]},variant:{type:"choice",options:["solid","dashed"]}}}),S=n({},i("FormControl"),{props:{label:"string",isDisabled:"boolean",isInvalid:"boolean",isRequired:"boolean",isreadOnly:"boolean",children:{type:"slot",defaultValue:[{type:"component",name:l("FormLabel")},{type:"component",name:l("Input")}]}}}),N=n({},i("FormLabel","FormControl"),{props:{children:{type:"slot",defaultValue:{type:"text",value:"Label",styles:{display:"inline-block",width:"auto"}}}}}),L=n({},i("FormHelperText","FormControl"),{props:{children:{type:"slot",defaultValue:{type:"text",value:"We'll never share your email."}}}}),F=n({},i("FormErrorMessage","FormControl"),{props:{children:{type:"slot",defaultValue:{type:"text",value:"This is an error message."}}}}),O=n({},i("Heading"),{props:{children:{type:"slot",defaultValue:{type:"text",value:"Basic text writing, including headings, body text, lists, and more."}},size:{type:"choice",options:["4xl","3xl","2xl","xl","lg","md","sm","xs"],defaultValue:"xl"},noOfLines:{type:"number",defaultValue:1}}}),R=n({},i("Highlight"),{props:{children:{displayName:"text",type:"string",defaultValue:"With the Highlight component, you can spotlight words."},query:{type:"array",defaultValue:["Spotlight","words"]},styles:{type:"object",defaultValue:{backgroundColor:"orange.100",px:"0.3em",py:"0.1em",borderRadius:"0.3em"}}}}),D=n({},i("Image"),{props:{src:{type:"string",defaultValue:"https://bit.ly/naruto-sage"},fallbackSrc:{type:"string",defaultValue:"https://via.placeholder.com/150"},alt:{type:"string",defaultValueHint:"name of the image"},loading:{type:"choice",options:["lazy","eager"]}}}),H=n({},i("Input"),{props:{size:{type:"choice",options:["xl","sm","md","lg"]},variant:{type:"choice",options:["outline","filled","flushed","unstyled"]},isDisabled:{type:"boolean"},isInvalid:{type:"boolean"},isReadOnly:{type:"boolean"},isRequired:{type:"boolean"},errorBorderColor:{type:"string",defaultValue:"red.500"},focusBorderColor:{type:"string",defaultValue:"blue.500"}}}),z=n({},i("Kbd",void 0,{displayName:"Chakra-UI Keyboard Key"}),{props:{children:{type:"slot",defaultValue:[{type:"text",value:"⌘"}]}}}),q=n({},i("Modal"),{props:{isOpen:{type:"boolean",defaultValue:!0},isCentered:{type:"boolean",defaultValue:!1},scrollBehavior:{type:"choice",options:["inside","outside"],defaultValue:"outside",description:"\n Where scroll behavior should originate.\n - If set to 'inside', scroll only occurs within the ModalBody.\n - If set to 'outside', the entire ModalContent will scroll within the viewport.\n "},motionPreset:{type:"choice",options:["slideInBottom","slideInRight","scale","none"],defaultValue:"scale"},children:{type:"slot",allowedComponents:[l("ModalOverlay"),l("ModalContent")],defaultValue:[{type:"component",name:l("ModalOverlay")},{type:"component",name:l("ModalContent")}]}}});function G(e){var o;return p.createElement(t.Modal,Object.assign({},e,{onClose:null!=(o=e.onClose)?o:function(){}}),e.children)}var K=n({},i("ModalOverlay","Modal"),{props:{children:"slot"}}),j=n({},i("ModalContent","Modal"),{props:{children:{type:"slot",allowedComponents:[l("ModalHeader"),l("ModalCloseButton"),l("ModalBody"),l("ModalFooter")],defaultValue:[{type:"component",name:l("ModalHeader")},{type:"component",name:l("ModalBody")},{type:"component",name:l("ModalFooter")}]}}}),W=n({},i("ModalHeader","ModalContent"),{props:{children:{type:"slot",defaultValue:{type:"text",value:"Modal Title"}}}}),E=n({},i("ModalBody","ModalContent"),{props:{children:{type:"slot",defaultValue:{type:"text",value:"\n Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem\n Ipsum has been the industry's standard dummy text ever since the 1500s, when an\n unknown printer took a galley of type and scrambled it to make a type specimen book.\n It has survived not only five centuries, but also the leap into electronic typesetting,\n remaining essentially unchanged. It was popularised in the 1960s with the release of\n Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing\n software like Aldus PageMaker including versions of Lorem Ipsum.\n"}}}}),U=n({},i("ModalFooter","ModalContent"),{props:{children:{type:"slot",defaultValue:{type:"text",value:"Modal Footer"}}}}),Y=n({},i("ModalCloseButton","ModalContent"),{props:{isDisabled:"boolean"}}),_=n({},i("NumberInput"),{props:{size:{type:"choice",options:["xl","sm","md","lg"]},variant:{type:"choice",options:["outline","filled","flushed","unstyled"]},inputMode:{type:"choice",options:["text","search","none","tel","url","email","numeric","decimal"]},format:{type:"string"},step:{type:"number"},precision:{type:"number"},max:{type:"number"},min:{type:"number"},errorBorderColor:{type:"string",defaultValue:"red.500"},focusBorderColor:{type:"string",defaultValue:"blue.500"},allowMouseWheel:{type:"boolean"},isDisabled:{type:"boolean"},isInvalid:{type:"boolean"},isReadOnly:{type:"boolean"},isRequired:{type:"boolean"},children:{type:"slot",defaultValue:[{type:"component",name:l("NumberInputField")},{type:"component",name:l("NumberInputStepper")}]}}}),X=n({},i("NumberInputStepper","NumberInput"),{props:{children:{type:"slot",allowedComponents:[l("NumberIncrementStepper"),l("NumberDecrementStepper")],defaultValue:[{type:"component",name:l("NumberIncrementStepper")},{type:"component",name:l("NumberDecrementStepper")}]}}}),J=n({},i("NumberDecrementStepper","NumberInputStepper"),{props:{}}),Q=n({},i("NumberIncrementStepper","NumberInputStepper"),{props:{}}),Z=n({},i("NumberInputField","NumberInput"),{props:{}}),$=n({},i("PinInput"),{props:{size:{type:"choice",options:["xl","sm","md","lg"]},type:{type:"choice",options:["number","alphanumeric"]},variant:{type:"choice",options:["outline","filled","flushed","unstyled"]},mask:{type:"boolean",description:"Whether the pin input's value should be masked like 'type=password'."},manageFocus:{type:"boolean",defaultValue:!0,description:"Whether the pin input should move automatically to the next input once filled."},autoFocus:{type:"boolean",description:"Whether the pin input should be focused on mount."},opt:{type:"boolean",description:"autocomplete='one-time-code'"},errorBorderColor:{type:"string",defaultValue:"red.500"},focusBorderColor:{type:"string",defaultValue:"blue.500"},isDisabled:{type:"boolean"},isInvalid:{type:"boolean"},children:{type:"slot",allowedComponents:[l("PinInputField")],defaultValue:[{type:"component",name:l("PinInputField")},{type:"component",name:l("PinInputField")},{type:"component",name:l("PinInputField")},{type:"component",name:l("PinInputField")}]}}}),ee=n({},i("PinInputField","PinInput"),{props:{}}),te=n({},i("Popover"),{props:{gutter:{type:"number",defaultValue:8},arrowPadding:"number",arrowShadowColor:{type:"string",defaultValue:"rgba(0, 0, 0, 0.15)"},arrowSize:{type:"number"},offset:{type:"array",defaultValue:[0,0]},closeDelay:"number",orientation:{type:"choice",options:["horizontal","vertical"]},placement:{type:"choice",options:["top","bottom","left","right"],defaultValue:"bottom"},direction:{type:"choice",options:["ltr","rtl"],defaultValue:"ltr"},trigger:{type:"choice",options:["click","hover"],defaultValue:"click"},isLazy:{type:"boolean"},isOpen:{type:"boolean"},children:{type:"slot",defaultValue:[{type:"component",name:l("PopoverTrigger")},{type:"component",name:l("PopoverContent")}]}}}),oe=n({},i("PopoverContent","Popover"),{props:{children:{type:"slot",defaultValue:[{type:"component",name:l("PopoverArrow")},{type:"component",name:l("PopoverCloseButton")},{type:"component",name:l("PopoverHeader"),props:{children:{type:"text",value:"Confirmation!"}}},{type:"component",name:l("PopoverBody"),props:{children:{type:"text",value:"Are you sure you want to have that milkshake?"}}}]}}}),ae=n({},i("PopoverArrow","PopoverContent"),{props:{}}),pe=n({},i("PopoverCloseButton","PopoverContent"),{props:{}}),ne=n({},i("PopoverHeader","PopoverContent"),{props:{children:{type:"slot",defaultValue:{type:"text",value:"Confirmation!"}}}}),le=n({},i("PopoverBody","PopoverContent"),{props:{children:{type:"slot",defaultValue:{type:"text",value:"Are you sure you want to have that milkshake?"}}}}),re=n({},i("PopoverTrigger","Popover"),{props:{children:{type:"slot",defaultValue:{type:"component",name:l("Button"),props:{children:{type:"text",value:"Trigger"}}}}}}),ie=n({},i("Progress"),{props:{colorScheme:{type:"choice",options:["whiteAlpha","blackAlpha","gray","red","orange","yellow","green","teal","blue","cyan","purple","pink","linkedin","facebook","messenger","whatsapp","twitter","telegram"],defaultValue:"blue"},size:{type:"choice",options:["xs","sm","md","lg"],defaultValue:"md"},max:{type:"number",defaultValue:100},min:{type:"number",defaultValue:0},value:"number",isIndeterminate:{type:"boolean"},hasStripe:{type:"boolean"},isAnimated:{type:"boolean",hidden:function(e){return!e.hasStripe}}}}),se=n({},i("RadioGroup"),{props:{value:{type:"string"},size:{type:"choice",options:["xl","sm","md","lg"]},isDisabled:{type:"boolean"},isInvalid:{type:"boolean"},isReadOnly:{type:"boolean"},isRequired:{type:"boolean"},children:{type:"slot",defaultValue:{type:"hbox",styles:{gap:"12px"},children:[{type:"component",name:l("Radio"),props:{value:"1",children:{type:"text",value:"Radio 1"}}},{type:"component",name:l("Radio"),props:{value:"2",children:{type:"text",value:"Radio 2"}}},{type:"component",name:l("Radio"),props:{value:"3",children:{type:"text",value:"Radio 3"}}}]}}}}),de=n({},i("Radio","RadioGroup"),{props:{value:{type:"string"},size:{type:"choice",options:["xl","sm","md","lg"]},spacing:{type:"string",defaultValue:"0.5rem"},isChecked:{type:"boolean"},isDisabled:{type:"boolean"},isInvalid:{type:"boolean"},isReadOnly:{type:"boolean"},isRequired:{type:"boolean"},children:{type:"slot",defaultValue:[{type:"text",value:"Radio"}]}}}),ue=n({},i("Select"),{props:{size:{type:"choice",options:["lg","md","sm","xs"],defaultValue:"md"},variant:{type:"choice",options:["outline","filled","flushed","unstyled"],defaultValue:"outline"},placeholder:{type:"string"},errorBorderColor:{type:"string",defaultValueHint:"red.500"},isDisabled:{type:"boolean"},isInvalid:{type:"boolean"},isReadOnly:{type:"boolean"},isRequred:{type:"boolean"},children:{type:"slot",defaultValue:[{type:"component",name:l("Option"),props:{children:{type:"text",value:"Option 01"}}},{type:"component",name:l("Option"),props:{children:{type:"text",value:"Option 02"}}},{type:"component",name:l("Option"),props:{children:{type:"text",value:"Option 03"}}}]}}});function ce(e){return p.createElement("option",{className:e.className,value:e.value},e.children)}var me=n({},i("Option","Select",{importPath:"@plasmicpkgs/plasmic-chakra-ui"}),{props:{value:"string",children:{type:"slot",defaultValue:{type:"text",value:"Option"}}}}),ye=n({},i("Stat"),{props:{children:{type:"slot",defaultValue:[{type:"component",name:l("StatLabel"),props:{children:{type:"text",value:"Collected Fees"}}},{type:"component",name:l("StatNumber"),props:{children:{type:"text",value:"£345,670"}}},{type:"component",name:l("StatHelpText"),props:{children:{type:"hbox",styles:{alignItems:"center",padding:"0px"},children:[{type:"component",name:l("StatArrow"),props:{type:"increase"}},{type:"text",value:"Last 7 days"}]}}}]}}}),he=n({},i("StatHelpText","Stat"),{props:{children:{type:"slot",defaultValue:[{type:"text",value:"StatHelpText"}]}}}),be=n({},i("StatArrow","Stat"),{props:{type:{type:"choice",options:["increase","decrease"]}}}),ge=n({},i("StatNumber","Stat"),{props:{children:{type:"slot",defaultValue:[{type:"text",value:"£345,670"}]}}}),fe=n({},i("StatLabel","Stat"),{props:{children:{type:"slot",defaultValue:[{type:"text",value:"StatLabel"}]}}}),xe=n({},i("Switch"),{props:{isChecked:"boolean",colorScheme:{type:"choice",options:["whiteAlpha","blackAlpha","gray","red","orange","yellow","green","teal","blue","cyan","purple","pink","linkedin","facebook","messenger","whatsapp","twitter","telegram"],defaultValue:"blue"},size:{type:"choice",options:["sm","md","lg"],defaultValue:"md"},spacing:{type:"string",defaultValue:"0.5rem"},id:"string",isDisabled:"boolean",isInvalid:"boolean",isReadOnly:"boolean",isRequired:"boolean"}}),ve=n({},i("Table","TableContainer"),{props:{colorScheme:{type:"choice",options:["whiteAlpha","blackAlpha","gray","red","orange","yellow","green","teal","blue","cyan","purple","pink","linkedin","facebook","messenger","whatsapp","twitter","telegram"],defaultValue:"gray"},size:{type:"choice",options:["sm","md","lg"],defaultValue:"md"},variant:{type:"choice",options:["simple","striped","unstyled"],defaultValue:"simple"},children:{type:"slot"}}}),Ve=n({},i("TableCaption","Table"),{props:{placement:{type:"choice",options:["top","bottom"],defaultValue:"bottom"},children:{type:"slot",defaultValue:{type:"text",value:"Imperial to metric conversion factors"}}}}),Me=n({},i("Thead","Table"),{props:{children:{type:"slot",allowedComponents:[l("Th"),l("Tr")]}}}),Te=n({},i("Tbody","Table"),{props:{children:{type:"slot",allowedComponents:[l("Td"),l("Tr")]}}}),Ce=n({},i("Tr","Table"),{props:{children:{type:"slot",allowedComponents:[l("Td"),l("Th")]}}}),we=n({},i("Td","Tr"),{props:{isNumeric:"boolean",children:{type:"slot",defaultValue:{type:"text",value:"Table Cell"}}}}),ke=n({},i("Th","Tr"),{props:{isNumeric:"boolean",children:{type:"slot",defaultValue:{type:"text",value:"Table Cell"}}}}),Ie=n({},i("TableContainer"),{props:{overflowX:{type:"choice",options:["auto","scroll","hidden","visible"]},overflowY:{type:"choice",options:["auto","scroll","hidden","visible"]},whiteSpace:{type:"choice",options:["normal","nowrap","pre","pre-line","pre-wrap"]},children:{type:"slot",allowedComponents:[l("Table")],defaultValue:{type:"component",name:l("Table"),props:{children:[{type:"component",name:l("Thead"),props:{children:{type:"component",name:l("Tr"),props:{children:[{type:"component",name:l("Th"),props:{children:{type:"text",value:"TO CONVERT"}}},{type:"component",name:l("Th"),props:{children:{type:"text",value:"INTO"}}},{type:"component",name:l("Th"),props:{children:{type:"text",value:"MULTIPLY BY"}}}]}}}},{type:"component",name:l("Tbody"),props:{children:[{type:"component",name:l("Tr"),props:{children:[{type:"component",name:l("Td"),props:{children:{type:"text",value:"inches"}}},{type:"component",name:l("Td"),props:{children:{type:"text",value:"millimetres (mm)"}}},{type:"component",name:l("Td"),props:{children:{type:"text",value:"25.4"}}}]}}]}}]}}}}}),Ae=n({},i("Tfoot","Table"),{props:{children:{type:"slot",defaultValue:[{type:"component",name:l("Tr"),props:{children:[{type:"component",name:l("Th"),props:{children:{type:"text",value:"Name"}}}]}}]}}}),Pe=n({},i("TabList","Tabs"),{props:{children:{type:"slot",allowedComponents:[l("Tab")]}}}),Be=n({},i("Tabs"),{props:{align:{type:"choice",options:["start","center","end"]},colorScheme:{type:"choice",options:["whiteAlpha","blackAlpha","gray","red","orange","yellow","green","teal","blue","cyan","purple","pink","linkedin","facebook","messenger","whatsapp","twitter","telegram"]},orientation:{type:"choice",options:["horizontal","vertical"]},size:{type:"choice",options:["sm","md","lg"]},variant:{type:"choice",options:["line","enclosed","enclosed-colored","soft-rounded","solid-rounded","unstyled"],defaultValue:"line"},direction:{type:"choice",options:["ltr","rtl"]},index:{type:"number"},isFitted:"boolean",isLazy:"boolean",isManual:"boolean",children:{type:"slot",allowedComponents:[l("TabList"),l("TabPanels")],defaultValue:[{type:"component",name:l("TabList"),props:{children:[{type:"component",name:l("Tab"),props:{children:{type:"text",value:"Tab 1"}}},{type:"component",name:l("Tab"),props:{children:{type:"text",value:"Tab 2"}}},{type:"component",name:l("Tab"),props:{children:{type:"text",value:"Tab 3"}}}]}},{type:"component",name:l("TabPanels"),props:{children:[{type:"component",name:l("TabPanel"),props:{children:{type:"text",value:"Tab 1's Panel Content"}}},{type:"component",name:l("TabPanel"),props:{children:{type:"text",value:"Tab 2's Panel Content"}}},{type:"component",name:l("TabPanel"),props:{children:{type:"text",value:"Tab 3's Panel Content"}}}]}}]}}}),Se=n({},i("Tab","TabList"),{props:{id:"string",isDisabled:"boolean",panelId:"string",children:{type:"slot",defaultValue:{type:"text",value:"Tab"}}}}),Ne=n({},i("TabPanels","Tabs"),{props:{children:{type:"slot",allowedComponents:[l("TabPanel")]}}}),Le=n({},i("TabPanel","TabPanels"),{props:{children:{type:"slot",defaultValue:{type:"text",value:"Tab Panel Content"}}}}),Fe=n({},i("Text"),{props:{children:{type:"slot",defaultValue:[{type:"text",value:"Some Text"}]}}}),Oe=n({},i("Toast"),{props:{title:{type:"string",defaultValue:"Toast Title"},description:{type:"string",defaultValue:"Toast description"},variant:{type:"choice",options:["solid","subtle","left-accent","top-accent"]},duration:{type:"number",defaultValue:5e3},isClosable:{type:"boolean"},position:{type:"choice",options:["top","top-right","top-left","bottom","bottom-right","bottom-left"]},status:{type:"choice",options:["info","success","warning","error","loading"]}}}),Re=n({},i("Tooltip"),{props:{children:{type:"slot",defaultValue:{type:"component",name:l("Button"),props:{children:{type:"text",value:"Hover me"}}}},label:{type:"string",defaultValue:"Hi! I am a tooltip"},placement:{type:"choice",options:["auto","auto-start","auto-end","top","top-start","top-end","bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end"],defaultValue:"bottom"},hasArrow:"boolean",arrowSize:{type:"number",defaultValue:10},arrowShadowColor:{type:"string"},arrowPadding:{type:"number",defaultValue:8},defaultIsOpen:"boolean",isDisabled:"boolean",offset:{type:"array",defaultValue:[0,0]},closeOnClick:{type:"boolean",defaultValue:!0},closeDelay:{type:"number",defaultValue:0}}});exports.Option=ce,exports.accordionButtonMeta=u,exports.accordionIconMeta=m,exports.accordionItemMeta=d,exports.accordionMeta=s,exports.accordionPanelMeta=c,exports.aspectRatioMeta=y,exports.avatarBadgeMeta=h,exports.avatarGroupMeta=g,exports.avatarMeta=b,exports.badgeMeta=f,exports.breadcrumbItemMeta=x,exports.breadcrumbLinkMeta=v,exports.breadcrumbMeta=V,exports.breadcrumbSeparatorMeta=M,exports.buttonGroupMeta=T,exports.buttonMeta=C,exports.chakraProviderMeta=w,exports.checkboxGroupMeta=A,exports.checkboxMeta=I,exports.codeMeta=P,exports.dividerMeta=B,exports.formControlMeta=S,exports.formErrorMessageMeta=F,exports.formHelperTextMeta=L,exports.formLabelMeta=N,exports.headingMeta=O,exports.highlightMeta=R,exports.imageMeta=D,exports.inputMeta=H,exports.kbdMeta=z,exports.numberDecrementStepperMeta=J,exports.numberIncrementStepperMeta=Q,exports.numberInputFieldMeta=Z,exports.numberInputMeta=_,exports.numberInputStepperMeta=X,exports.optionMeta=me,exports.pinInputFieldMeta=ee,exports.pinInputMeta=$,exports.popoverArrowMeta=ae,exports.popoverBodyMeta=le,exports.popoverCloseButtonMeta=pe,exports.popoverContentMeta=oe,exports.popoverHeaderMeta=ne,exports.popoverMeta=te,exports.popoverTriggerMeta=re,exports.progressMeta=ie,exports.radioGroupMeta=se,exports.radioMeta=de,exports.registerAll=function(e){var a=function(t,a){e?e.registerComponent(t,a):o(t,a)};k(e),a(t.Accordion,s),a(t.AccordionButton,u),a(t.AccordionIcon,m),a(t.AccordionItem,d),a(t.AccordionPanel,c),a(t.AspectRatio,y),a(t.Avatar,b),a(t.AvatarBadge,h),a(t.AvatarGroup,g),a(t.Badge,f),a(t.Breadcrumb,V),a(t.BreadcrumbItem,x),a(t.BreadcrumbLink,v),a(t.BreadcrumbSeparator,M),a(t.Button,C),a(t.ButtonGroup,T),a(t.Checkbox,I),a(t.CheckboxGroup,A),a(t.Code,P),a(t.Divider,B),a(t.FormControl,S),a(t.FormErrorMessage,F),a(t.FormHelperText,L),a(t.FormLabel,N),a(t.Heading,O),a(t.Highlight,R),a(t.Image,D),a(t.Input,H),a(t.Kbd,z),a(G,q),a(t.ModalOverlay,K),a(t.ModalContent,j),a(t.ModalHeader,W),a(t.ModalBody,E),a(t.ModalFooter,U),a(t.ModalCloseButton,Y),a(t.NumberInput,_),a(t.NumberDecrementStepper,J),a(t.NumberIncrementStepper,Q),a(t.NumberInputField,Z),a(t.NumberInputStepper,X),a(ce,me),a(t.Select,ue),a(t.PinInput,$),a(t.PinInputField,ee),a(t.Popover,te),a(t.PopoverBody,le),a(t.PopoverArrow,ae),a(t.PopoverCloseButton,pe),a(t.PopoverContent,oe),a(t.PopoverHeader,ne),a(t.PopoverTrigger,re),a(t.Progress,ie),a(t.Radio,de),a(t.RadioGroup,se),a(t.Stat,ye),a(t.StatArrow,be),a(t.StatHelpText,he),a(t.StatLabel,fe),a(t.StatNumber,ge),a(t.Switch,xe),a(t.Table,ve),a(t.TableCaption,Ve),a(t.Tbody,Te),a(t.Thead,Me),a(t.Tfoot,Ae),a(t.Td,we),a(t.Th,ke),a(t.Tr,Ce),a(t.TableContainer,Ie),a(t.Text,Fe),a(t.Toast,Oe),a(t.Tooltip,Re),a(t.TabList,Pe),a(t.Tab,Se),a(t.Tabs,Be),a(t.TabPanel,Le),a(t.TabPanels,Ne)},exports.registerChakraProvider=k,exports.registerKbd=function(e,a){!function(){e?e.registerComponent.apply(e,arguments):o.apply(void 0,arguments)}(t.Kbd,null!=a?a:z)},exports.selectMeta=ue,exports.statArrowMeta=be,exports.statHelpTextMeta=he,exports.statLabelMeta=fe,exports.statMeta=ye,exports.statNumberMeta=ge,exports.switchMeta=xe,exports.tabListMeta=Pe,exports.tabMeta=Se,exports.tabPanelMeta=Le,exports.tabPanelsMeta=Ne,exports.tableCaptionMeta=Ve,exports.tableContainerMeta=Ie,exports.tableMeta=ve,exports.tabsMeta=Be,exports.tbodyMeta=Te,exports.tdMeta=we,exports.textMeta=Fe,exports.tfootMeta=Ae,exports.thMeta=ke,exports.theadMeta=Me,exports.toastMeta=Oe,exports.tooltipMeta=Re,exports.trMeta=Ce;
1
+ "use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var t=require("@chakra-ui/react"),o=e(require("@plasmicapp/host/registerComponent")),a=e(require("@plasmicapp/host/registerGlobalContext")),p=e(require("react"));function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(e[a]=o[a])}return e}).apply(this,arguments)}var l=function(e){return"chakra-ui-"+e},r=function(e){return"Chakra-UI "+e},i=function(e,t,o){var a,p;return n({name:l(e),displayName:null!=(a=null==o?void 0:o.displayName)?a:r(e),importPath:null!=(p=null==o?void 0:o.importPath)?p:"@chakra-ui/react",importName:e},t?{parentComponentName:l(t)}:{})},s=n({},i("Accordion"),{props:{allowMultiple:{type:"boolean",description:"If true, multiple accordion items can be expanded at the same time."},allowToggle:{type:"boolean",description:"If true, an expanded accordion item can be collapsed again."},defaultIndex:{type:"number",description:"The index of the accordion item that should be expanded by default."},reduceMotion:{type:"boolean",description:"If true, height animation and transitions will be disabled."},children:{type:"slot",allowedComponents:[l("AccordionItem")],defaultValue:[{type:"component",name:l("AccordionItem")},{type:"component",name:l("AccordionItem")}]}}}),d=n({},i("AccordionItem","Accordion"),{props:{id:{type:"string",description:"The unique id of the accordion item."},isDisabled:{type:"boolean",description:"If true, the accordion item will be disabled."},isFocusable:{type:"boolean",description:"If true, the accordion item will be focusable."},children:{type:"slot",allowedComponents:[l("AccordionButton"),l("AccordionPanel")],defaultValue:[{type:"component",name:l("AccordionButton")},{type:"component",name:l("AccordionPanel")}]}}}),u=n({},i("AccordionButton","AccordionItem"),{props:{_expanded:{type:"object",displayName:"expandedStyle",defaultValueHint:{bg:"orange",color:"white"}},children:{type:"slot",defaultValue:[{type:"text",value:"Section 1 title",styles:{textAlign:"left"}},{type:"component",name:l("AccordionIcon")}]}}}),c=n({},i("AccordionPanel","AccordionItem"),{props:{children:{type:"slot",defaultValue:{type:"component",name:l("Text"),props:{children:{type:"text",value:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."}}}}}}),m=n({},i("AccordionIcon","AccordionButton"),{props:{}}),y=n({},i("AspectRatio"),{defaultStyles:{width:"320px"},props:{ratio:{type:"number",defaultValue:1.333},children:{type:"slot",defaultValue:{type:"component",name:l("Image")}}}}),h=n({},i("AvatarBadge","Avatar"),{props:{boxSize:{type:"string",defaultValue:"1.25em"},bg:{type:"string",defaultValue:"green.500"},borderColor:"string"}}),b=n({},i("Avatar","AvatarGroup"),{props:{name:{type:"string",defaultValue:"Kola Tioluwani"},src:{type:"string",defaultValue:"https://bit.ly/dan-abramov"},size:{type:"choice",options:["2xs","xs","sm","md","lg","xl","2xl","full"]},loading:{type:"choice",options:["eager","lazy"]},showBorder:"boolean",children:{type:"slot",hidePlaceholder:!0,allowedComponents:[l("AvatarBadge")],defaultValue:{type:"component",name:l("AvatarBadge")}}}}),g=n({},i("AvatarGroup"),{props:{size:{type:"choice",options:["2xs","xs","sm","md","lg","xl","2xl","full"]},max:{type:"number",description:"The maximum number of avatars to show before truncating."},spacing:{type:"string",defaultValue:"-0.75rem"},children:{type:"slot",allowedComponents:[l("Avatar")],defaultValue:[{type:"component",name:l("Avatar"),props:{name:"Dan Abrahmov",src:"https://bit.ly/dan-abramov"}},{type:"component",name:l("Avatar"),props:{name:"Kola Tioluwani",src:"https://bit.ly/tioluwani-kolawole"}},{type:"component",name:l("Avatar"),props:{name:"Kent Dodds",src:"https://bit.ly/kent-c-dodds"}},{type:"component",name:l("Avatar"),props:{name:"Ryan Florence",src:"https://bit.ly/ryan-florence"}},{type:"component",name:l("Avatar"),props:{name:"Prosper Otemuyiwa",src:"https://bit.ly/prosper-baba"}},{type:"component",name:l("Avatar"),props:{name:"Christian Nwamba",src:"https://bit.ly/code-beast"}},{type:"component",name:l("Avatar"),props:{name:"Segun Adebayo",src:"https://bit.ly/sage-adebayo"}}]}}}),f=n({},i("Badge"),{importPath:"@chakra-ui/react",props:{colorScheme:{type:"choice",options:["whiteAlpha","blackAlpha","gray","red","orange","yellow","green","teal","blue","cyan","purple","pink","linkedin","facebook","messenger","whatsapp","twitter","telegram"],defaultValue:"gray"},variant:{type:"choice",options:["solid","subtle","outline"],defaultValue:"subtle"}}}),x=n({},i("BreadcrumbItem","Breadcrumb"),{props:{isCurrentPage:{type:"boolean"},isLastChild:{type:"boolean"},seperator:{type:"string",defaultValue:"/"},spacing:{type:"string",defaultValue:"8px"},children:{type:"slot",defaultValue:[{type:"component",name:l("BreadcrumbLink"),props:{children:{type:"text",value:"BreadcrumbItem"}}}]}}}),v=n({},i("BreadcrumbLink","BreadcrumbItem"),{props:{href:{type:"string",defaultValue:"#"},children:{type:"slot",defaultValue:[{type:"text",value:"Home"}]}}}),V=n({},i("Breadcrumb"),{props:{separator:{type:"string",defaultValue:"/"},spacing:{type:"string",defaultValue:"8px"},children:{type:"slot",defaultValue:[{type:"component",name:l("BreadcrumbItem"),props:{children:{type:"component",name:l("BreadcrumbLink"),props:{children:{type:"text",value:"Home"}}}}},{type:"component",name:l("BreadcrumbItem"),props:{children:{type:"component",name:l("BreadcrumbLink"),props:{children:{type:"text",value:"Docs"}}}}},{type:"component",name:l("BreadcrumbItem"),props:{isLastChild:!0,isCurrentPage:!0,children:{type:"component",name:l("BreadcrumbLink"),props:{children:{type:"text",value:"Breadcrumb"}}}}}]}}}),M=n({},i("BreadcrumbSeparator","Breadcrumb"),{props:{children:{type:"slot",defaultValue:{type:"text",value:"/"}}}}),T=n({},i("ButtonGroup"),{props:{colorScheme:{type:"choice",options:["whiteAlpha","blackAlpha","gray","red","orange","yellow","green","teal","blue","cyan","purple","pink","linkedin","facebook","messenger","whatsapp","twitter","telegram"]},size:{type:"choice",options:["xl","sm","md","lg"],defaultValue:"md"},isAttached:{type:"boolean",defaultValue:!1},isDisabled:{type:"boolean",defaultValue:!1},spacing:{type:"string",defaultValue:"0.5rem"},children:{type:"slot",defaultValue:[{type:"component",name:l("Button"),props:{children:{type:"text",value:"Button 1"}}},{type:"component",name:l("Button"),props:{children:{type:"text",value:"Button 2"}}}]}}}),C=n({},i("Button","ButtonGroup"),{props:{size:{type:"choice",options:["xl","sm","md","lg"]},variant:{type:"choice",options:["ghost","outline","solid","link","unstyled"],defaultValue:"solid"},colorScheme:{type:"choice",options:["whiteAlpha","blackAlpha","gray","red","orange","yellow","green","teal","blue","cyan","purple","pink","linkedin","facebook","messenger","whatsapp","twitter","telegram"]},iconSpacing:"number",isActive:{type:"boolean"},isDisabled:{type:"boolean"},isLoading:{type:"boolean"},children:{type:"slot",defaultValue:{type:"text",value:"Button"}}}}),w=n({},i("ChakraProvider"),{props:{theme:"object"}});function k(e,o){!function(){e?e.registerGlobalContext.apply(e,arguments):a.apply(void 0,arguments)}(t.ChakraProvider,null!=o?o:w)}var I=n({},i("Checkbox","CheckboxGroup"),{props:{colorScheme:{type:"choice",options:["whiteAlpha","blackAlpha","gray","red","orange","yellow","green","teal","blue","cyan","purple","pink","linkedin","facebook","messenger","whatsapp","twitter","telegram"],defaultValue:"blue"},size:{type:"choice",options:["xl","sm","md","lg"]},value:{type:"string"},spacing:{type:"string",defaultValue:"0.5rem"},isChecked:{type:"boolean"},isIndeterminate:{type:"boolean"},isDisabled:{type:"boolean"},isRequired:{type:"boolean"},isInvalid:{type:"boolean"},children:{type:"slot",defaultValue:{type:"text",value:"Checkbox"}}}}),A=n({},i("CheckboxGroup"),{props:{size:{type:"choice",options:["xl","sm","md","lg"],defaultValue:"md"},isDisabled:{type:"boolean"},children:{type:"slot",allowedComponents:[l("Checkbox")],defaultValue:[{type:"component",name:l("Checkbox"),props:{value:"1",children:{type:"text",value:"Checkbox 1"}}},{type:"component",name:l("Checkbox"),props:{value:"2",children:{type:"text",value:"Checkbox 2"}}},{type:"component",name:l("Checkbox"),props:{value:"3",children:{type:"text",value:"Checkbox 3"}}}]}}}),P=n({},i("Code"),{props:{colorScheme:{type:"choice",options:["whiteAlpha","blackAlpha","gray","red","orange","yellow","green","teal","blue","cyan","purple","pink","linkedin","facebook","messenger","whatsapp","twitter","telegram"],defaultValue:"gray"},variant:{type:"choice",options:["solid","subtle","outline"],defaultValue:"subtle"},children:{type:"slot",defaultValue:[{type:"text",value:"Code"}]}}}),B=n({},i("Divider"),{props:{orientation:{type:"choice",options:["vertical","horizontal"]},variant:{type:"choice",options:["solid","dashed"]}}}),S=n({},i("FormControl"),{props:{label:"string",isDisabled:"boolean",isInvalid:"boolean",isRequired:"boolean",isreadOnly:"boolean",children:{type:"slot",defaultValue:[{type:"component",name:l("FormLabel")},{type:"component",name:l("Input")}]}}}),N=n({},i("FormLabel","FormControl"),{props:{children:{type:"slot",defaultValue:{type:"text",value:"Label",styles:{display:"inline-block",width:"auto"}}}}}),L=n({},i("FormHelperText","FormControl"),{props:{children:{type:"slot",defaultValue:{type:"text",value:"We'll never share your email."}}}}),F=n({},i("FormErrorMessage","FormControl"),{props:{children:{type:"slot",defaultValue:{type:"text",value:"This is an error message."}}}}),O=n({},i("Heading"),{props:{children:{type:"slot",defaultValue:{type:"text",value:"Basic text writing, including headings, body text, lists, and more."}},size:{type:"choice",options:["4xl","3xl","2xl","xl","lg","md","sm","xs"],defaultValue:"xl"},noOfLines:{type:"number",defaultValue:1}}}),R=n({},i("Highlight"),{props:{children:{displayName:"text",type:"string",defaultValue:"With the Highlight component, you can spotlight words."},query:{type:"array",defaultValue:["Spotlight","words"]},styles:{type:"object",defaultValue:{backgroundColor:"orange.100",px:"0.3em",py:"0.1em",borderRadius:"0.3em"}}}}),D=n({},i("Image"),{props:{src:{type:"string",defaultValue:"https://bit.ly/naruto-sage"},fallbackSrc:{type:"string",defaultValue:"https://via.placeholder.com/150"},alt:{type:"string",defaultValueHint:"name of the image"},loading:{type:"choice",options:["lazy","eager"]}}}),H=n({},i("Input"),{props:{size:{type:"choice",options:["xl","sm","md","lg"]},variant:{type:"choice",options:["outline","filled","flushed","unstyled"]},isDisabled:{type:"boolean"},isInvalid:{type:"boolean"},isReadOnly:{type:"boolean"},isRequired:{type:"boolean"},errorBorderColor:{type:"string",defaultValue:"red.500"},focusBorderColor:{type:"string",defaultValue:"blue.500"}}}),z=n({},i("Kbd",void 0,{displayName:"Chakra-UI Keyboard Key"}),{props:{children:{type:"slot",defaultValue:[{type:"text",value:"⌘"}]}}}),q=n({},i("Modal"),{props:{isOpen:{type:"boolean",defaultValue:!0},isCentered:{type:"boolean",defaultValue:!1},scrollBehavior:{type:"choice",options:["inside","outside"],defaultValue:"outside",description:"\n Where scroll behavior should originate.\n - If set to 'inside', scroll only occurs within the ModalBody.\n - If set to 'outside', the entire ModalContent will scroll within the viewport.\n "},motionPreset:{type:"choice",options:["slideInBottom","slideInRight","scale","none"],defaultValue:"scale"},children:{type:"slot",allowedComponents:[l("ModalOverlay"),l("ModalContent")],defaultValue:[{type:"component",name:l("ModalOverlay")},{type:"component",name:l("ModalContent")}]}}});function G(e){var o;return p.createElement(t.Modal,Object.assign({},e,{onClose:null!=(o=e.onClose)?o:function(){}}),e.children)}var j=n({},i("ModalOverlay","Modal"),{props:{children:"slot"}}),K=n({},i("ModalContent","Modal"),{props:{children:{type:"slot",allowedComponents:[l("ModalHeader"),l("ModalCloseButton"),l("ModalBody"),l("ModalFooter")],defaultValue:[{type:"component",name:l("ModalHeader")},{type:"component",name:l("ModalBody")},{type:"component",name:l("ModalFooter")}]}}}),W=n({},i("ModalHeader","ModalContent"),{props:{children:{type:"slot",defaultValue:{type:"text",value:"Modal Title"}}}}),E=n({},i("ModalBody","ModalContent"),{props:{children:{type:"slot",defaultValue:{type:"text",value:"\n Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem\n Ipsum has been the industry's standard dummy text ever since the 1500s, when an\n unknown printer took a galley of type and scrambled it to make a type specimen book.\n It has survived not only five centuries, but also the leap into electronic typesetting,\n remaining essentially unchanged. It was popularised in the 1960s with the release of\n Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing\n software like Aldus PageMaker including versions of Lorem Ipsum.\n"}}}}),U=n({},i("ModalFooter","ModalContent"),{props:{children:{type:"slot",defaultValue:{type:"text",value:"Modal Footer"}}}}),Y=n({},i("ModalCloseButton","ModalContent"),{props:{isDisabled:"boolean"}}),_=n({},i("NumberInput"),{props:{size:{type:"choice",options:["xl","sm","md","lg"]},variant:{type:"choice",options:["outline","filled","flushed","unstyled"]},inputMode:{type:"choice",options:["text","search","none","tel","url","email","numeric","decimal"]},format:{type:"string"},step:{type:"number"},precision:{type:"number"},max:{type:"number"},min:{type:"number"},errorBorderColor:{type:"string",defaultValue:"red.500"},focusBorderColor:{type:"string",defaultValue:"blue.500"},allowMouseWheel:{type:"boolean"},isDisabled:{type:"boolean"},isInvalid:{type:"boolean"},isReadOnly:{type:"boolean"},isRequired:{type:"boolean"},children:{type:"slot",defaultValue:[{type:"component",name:l("NumberInputField")},{type:"component",name:l("NumberInputStepper")}]}}}),X=n({},i("NumberInputStepper","NumberInput"),{props:{children:{type:"slot",allowedComponents:[l("NumberIncrementStepper"),l("NumberDecrementStepper")],defaultValue:[{type:"component",name:l("NumberIncrementStepper")},{type:"component",name:l("NumberDecrementStepper")}]}}}),J=n({},i("NumberDecrementStepper","NumberInputStepper"),{props:{}}),Q=n({},i("NumberIncrementStepper","NumberInputStepper"),{props:{}}),Z=n({},i("NumberInputField","NumberInput"),{props:{}}),$=n({},i("PinInput"),{props:{size:{type:"choice",options:["xl","sm","md","lg"]},type:{type:"choice",options:["number","alphanumeric"]},variant:{type:"choice",options:["outline","filled","flushed","unstyled"]},mask:{type:"boolean",description:"Whether the pin input's value should be masked like 'type=password'."},manageFocus:{type:"boolean",defaultValue:!0,description:"Whether the pin input should move automatically to the next input once filled."},autoFocus:{type:"boolean",description:"Whether the pin input should be focused on mount."},opt:{type:"boolean",description:"autocomplete='one-time-code'"},errorBorderColor:{type:"string",defaultValue:"red.500"},focusBorderColor:{type:"string",defaultValue:"blue.500"},isDisabled:{type:"boolean"},isInvalid:{type:"boolean"},children:{type:"slot",allowedComponents:[l("PinInputField")],defaultValue:[{type:"component",name:l("PinInputField")},{type:"component",name:l("PinInputField")},{type:"component",name:l("PinInputField")},{type:"component",name:l("PinInputField")}]}}}),ee=n({},i("PinInputField","PinInput"),{props:{}}),te=n({},i("Popover"),{props:{gutter:{type:"number",defaultValue:8},arrowPadding:"number",arrowShadowColor:{type:"string",defaultValue:"rgba(0, 0, 0, 0.15)"},arrowSize:{type:"number"},offset:{type:"array",defaultValue:[0,0]},closeDelay:"number",orientation:{type:"choice",options:["horizontal","vertical"]},placement:{type:"choice",options:["top","bottom","left","right"],defaultValue:"bottom"},direction:{type:"choice",options:["ltr","rtl"],defaultValue:"ltr"},trigger:{type:"choice",options:["click","hover"],defaultValue:"click"},isLazy:{type:"boolean"},isOpen:{type:"boolean"},children:{type:"slot",defaultValue:[{type:"component",name:l("PopoverTrigger")},{type:"component",name:l("PopoverContent")}]}}}),oe=n({},i("PopoverContent","Popover"),{props:{children:{type:"slot",defaultValue:[{type:"component",name:l("PopoverArrow")},{type:"component",name:l("PopoverCloseButton")},{type:"component",name:l("PopoverHeader"),props:{children:{type:"text",value:"Confirmation!"}}},{type:"component",name:l("PopoverBody"),props:{children:{type:"text",value:"Are you sure you want to have that milkshake?"}}}]}}}),ae=n({},i("PopoverArrow","PopoverContent"),{props:{}}),pe=n({},i("PopoverCloseButton","PopoverContent"),{props:{}}),ne=n({},i("PopoverHeader","PopoverContent"),{props:{children:{type:"slot",defaultValue:{type:"text",value:"Confirmation!"}}}}),le=n({},i("PopoverBody","PopoverContent"),{props:{children:{type:"slot",defaultValue:{type:"text",value:"Are you sure you want to have that milkshake?"}}}}),re=n({},i("PopoverTrigger","Popover"),{props:{children:{type:"slot",defaultValue:{type:"component",name:l("Button"),props:{children:{type:"text",value:"Trigger"}}}}}}),ie=n({},i("Progress"),{props:{colorScheme:{type:"choice",options:["whiteAlpha","blackAlpha","gray","red","orange","yellow","green","teal","blue","cyan","purple","pink","linkedin","facebook","messenger","whatsapp","twitter","telegram"],defaultValue:"blue"},size:{type:"choice",options:["xs","sm","md","lg"],defaultValue:"md"},max:{type:"number",defaultValue:100},min:{type:"number",defaultValue:0},value:"number",isIndeterminate:{type:"boolean"},hasStripe:{type:"boolean"},isAnimated:{type:"boolean",hidden:function(e){return!e.hasStripe}}}}),se=n({},i("RadioGroup"),{props:{value:{type:"string"},size:{type:"choice",options:["xl","sm","md","lg"]},isDisabled:{type:"boolean"},isInvalid:{type:"boolean"},isReadOnly:{type:"boolean"},isRequired:{type:"boolean"},children:{type:"slot",defaultValue:{type:"hbox",styles:{gap:"12px"},children:[{type:"component",name:l("Radio"),props:{value:"1",children:{type:"text",value:"Radio 1"}}},{type:"component",name:l("Radio"),props:{value:"2",children:{type:"text",value:"Radio 2"}}},{type:"component",name:l("Radio"),props:{value:"3",children:{type:"text",value:"Radio 3"}}}]}}}}),de=n({},i("Radio","RadioGroup"),{props:{value:{type:"string"},size:{type:"choice",options:["xl","sm","md","lg"]},spacing:{type:"string",defaultValue:"0.5rem"},isChecked:{type:"boolean"},isDisabled:{type:"boolean"},isInvalid:{type:"boolean"},isReadOnly:{type:"boolean"},isRequired:{type:"boolean"},children:{type:"slot",defaultValue:[{type:"text",value:"Radio"}]}}}),ue=n({},i("Select"),{props:{size:{type:"choice",options:["lg","md","sm","xs"],defaultValue:"md"},variant:{type:"choice",options:["outline","filled","flushed","unstyled"],defaultValue:"outline"},placeholder:{type:"string"},errorBorderColor:{type:"string",defaultValueHint:"red.500"},isDisabled:{type:"boolean"},isInvalid:{type:"boolean"},isReadOnly:{type:"boolean"},isRequred:{type:"boolean"},children:{type:"slot",defaultValue:[{type:"component",name:l("Option"),props:{children:{type:"text",value:"Option 01"}}},{type:"component",name:l("Option"),props:{children:{type:"text",value:"Option 02"}}},{type:"component",name:l("Option"),props:{children:{type:"text",value:"Option 03"}}}]}}});function ce(e){return p.createElement("option",{className:e.className,value:e.value},e.children)}var me=n({},i("Option","Select",{importPath:"@plasmicpkgs/plasmic-chakra-ui"}),{props:{value:"string",children:{type:"slot",defaultValue:{type:"text",value:"Option"}}}}),ye=n({},i("Stat"),{props:{children:{type:"slot",defaultValue:[{type:"component",name:l("StatLabel"),props:{children:{type:"text",value:"Collected Fees"}}},{type:"component",name:l("StatNumber"),props:{children:{type:"text",value:"£345,670"}}},{type:"component",name:l("StatHelpText"),props:{children:{type:"hbox",styles:{alignItems:"center",padding:"0px"},children:[{type:"component",name:l("StatArrow"),props:{type:"increase"}},{type:"text",value:"Last 7 days"}]}}}]}}}),he=n({},i("StatHelpText","Stat"),{props:{children:{type:"slot",defaultValue:[{type:"text",value:"StatHelpText"}]}}}),be=n({},i("StatArrow","Stat"),{props:{type:{type:"choice",options:["increase","decrease"]}}}),ge=n({},i("StatNumber","Stat"),{props:{children:{type:"slot",defaultValue:[{type:"text",value:"£345,670"}]}}}),fe=n({},i("StatLabel","Stat"),{props:{children:{type:"slot",defaultValue:[{type:"text",value:"StatLabel"}]}}}),xe=n({},i("Switch"),{props:{isChecked:"boolean",colorScheme:{type:"choice",options:["whiteAlpha","blackAlpha","gray","red","orange","yellow","green","teal","blue","cyan","purple","pink","linkedin","facebook","messenger","whatsapp","twitter","telegram"],defaultValue:"blue"},size:{type:"choice",options:["sm","md","lg"],defaultValue:"md"},spacing:{type:"string",defaultValue:"0.5rem"},id:"string",isDisabled:"boolean",isInvalid:"boolean",isReadOnly:"boolean",isRequired:"boolean"}}),ve=n({},i("Table","TableContainer"),{props:{colorScheme:{type:"choice",options:["whiteAlpha","blackAlpha","gray","red","orange","yellow","green","teal","blue","cyan","purple","pink","linkedin","facebook","messenger","whatsapp","twitter","telegram"],defaultValue:"gray"},size:{type:"choice",options:["sm","md","lg"],defaultValue:"md"},variant:{type:"choice",options:["simple","striped","unstyled"],defaultValue:"simple"},children:{type:"slot"}}}),Ve=n({},i("TableCaption","Table"),{props:{placement:{type:"choice",options:["top","bottom"],defaultValue:"bottom"},children:{type:"slot",defaultValue:{type:"text",value:"Imperial to metric conversion factors"}}}}),Me=n({},i("Thead","Table"),{props:{children:{type:"slot",allowedComponents:[l("Th"),l("Tr")]}}}),Te=n({},i("Tbody","Table"),{props:{children:{type:"slot",allowedComponents:[l("Td"),l("Tr")]}}}),Ce=n({},i("Tr","Table"),{props:{children:{type:"slot",allowedComponents:[l("Td"),l("Th")]}}}),we=n({},i("Td","Tr"),{props:{isNumeric:"boolean",children:{type:"slot",defaultValue:{type:"text",value:"Table Cell"}}}}),ke=n({},i("Th","Tr"),{props:{isNumeric:"boolean",children:{type:"slot",defaultValue:{type:"text",value:"Table Cell"}}}}),Ie=n({},i("TableContainer"),{props:{overflowX:{type:"choice",options:["auto","scroll","hidden","visible"]},overflowY:{type:"choice",options:["auto","scroll","hidden","visible"]},whiteSpace:{type:"choice",options:["normal","nowrap","pre","pre-line","pre-wrap"]},children:{type:"slot",allowedComponents:[l("Table")],defaultValue:{type:"component",name:l("Table"),props:{children:[{type:"component",name:l("Thead"),props:{children:{type:"component",name:l("Tr"),props:{children:[{type:"component",name:l("Th"),props:{children:{type:"text",value:"TO CONVERT"}}},{type:"component",name:l("Th"),props:{children:{type:"text",value:"INTO"}}},{type:"component",name:l("Th"),props:{children:{type:"text",value:"MULTIPLY BY"}}}]}}}},{type:"component",name:l("Tbody"),props:{children:[{type:"component",name:l("Tr"),props:{children:[{type:"component",name:l("Td"),props:{children:{type:"text",value:"inches"}}},{type:"component",name:l("Td"),props:{children:{type:"text",value:"millimetres (mm)"}}},{type:"component",name:l("Td"),props:{children:{type:"text",value:"25.4"}}}]}}]}}]}}}}}),Ae=n({},i("Tfoot","Table"),{props:{children:{type:"slot",defaultValue:[{type:"component",name:l("Tr"),props:{children:[{type:"component",name:l("Th"),props:{children:{type:"text",value:"Name"}}}]}}]}}}),Pe=n({},i("TabList","Tabs"),{props:{children:{type:"slot",allowedComponents:[l("Tab")]}}}),Be=n({},i("Tabs"),{props:{align:{type:"choice",options:["start","center","end"]},colorScheme:{type:"choice",options:["whiteAlpha","blackAlpha","gray","red","orange","yellow","green","teal","blue","cyan","purple","pink","linkedin","facebook","messenger","whatsapp","twitter","telegram"]},orientation:{type:"choice",options:["horizontal","vertical"]},size:{type:"choice",options:["sm","md","lg"]},variant:{type:"choice",options:["line","enclosed","enclosed-colored","soft-rounded","solid-rounded","unstyled"],defaultValue:"line"},direction:{type:"choice",options:["ltr","rtl"]},index:{type:"number"},isFitted:"boolean",isLazy:"boolean",isManual:"boolean",children:{type:"slot",allowedComponents:[l("TabList"),l("TabPanels")],defaultValue:[{type:"component",name:l("TabList"),props:{children:[{type:"component",name:l("Tab"),props:{children:{type:"text",value:"Tab 1"}}},{type:"component",name:l("Tab"),props:{children:{type:"text",value:"Tab 2"}}},{type:"component",name:l("Tab"),props:{children:{type:"text",value:"Tab 3"}}}]}},{type:"component",name:l("TabPanels"),props:{children:[{type:"component",name:l("TabPanel"),props:{children:{type:"text",value:"Tab 1's Panel Content"}}},{type:"component",name:l("TabPanel"),props:{children:{type:"text",value:"Tab 2's Panel Content"}}},{type:"component",name:l("TabPanel"),props:{children:{type:"text",value:"Tab 3's Panel Content"}}}]}}]}}}),Se=n({},i("Tab","TabList"),{props:{id:"string",isDisabled:"boolean",panelId:"string",children:{type:"slot",defaultValue:{type:"text",value:"Tab"}}}}),Ne=n({},i("TabPanels","Tabs"),{props:{children:{type:"slot",allowedComponents:[l("TabPanel")]}}}),Le=n({},i("TabPanel","TabPanels"),{props:{children:{type:"slot",defaultValue:{type:"text",value:"Tab Panel Content"}}}}),Fe=n({},i("Text"),{props:{children:{type:"slot",defaultValue:[{type:"text",value:"Some Text"}]}}}),Oe=n({},i("Toast"),{props:{title:{type:"string",defaultValue:"Toast Title"},description:{type:"string",defaultValue:"Toast description"},variant:{type:"choice",options:["solid","subtle","left-accent","top-accent"]},duration:{type:"number",defaultValue:5e3},isClosable:{type:"boolean"},position:{type:"choice",options:["top","top-right","top-left","bottom","bottom-right","bottom-left"]},status:{type:"choice",options:["info","success","warning","error","loading"]}}}),Re=n({},i("Tooltip"),{props:{children:{type:"slot",defaultValue:{type:"component",name:l("Button"),props:{children:{type:"text",value:"Hover me"}}}},label:{type:"string",defaultValue:"Hi! I am a tooltip"},placement:{type:"choice",options:["auto","auto-start","auto-end","top","top-start","top-end","bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end"],defaultValue:"bottom"},hasArrow:"boolean",arrowSize:{type:"number",defaultValue:10},arrowShadowColor:{type:"string"},arrowPadding:{type:"number",defaultValue:8},defaultIsOpen:"boolean",isDisabled:"boolean",offset:{type:"array",defaultValue:[0,0]},closeOnClick:{type:"boolean",defaultValue:!0},closeDelay:{type:"number",defaultValue:0}}});exports.Option=ce,exports.accordionButtonMeta=u,exports.accordionIconMeta=m,exports.accordionItemMeta=d,exports.accordionMeta=s,exports.accordionPanelMeta=c,exports.aspectRatioMeta=y,exports.avatarBadgeMeta=h,exports.avatarGroupMeta=g,exports.avatarMeta=b,exports.badgeMeta=f,exports.breadcrumbItemMeta=x,exports.breadcrumbLinkMeta=v,exports.breadcrumbMeta=V,exports.breadcrumbSeparatorMeta=M,exports.buttonGroupMeta=T,exports.buttonMeta=C,exports.chakraProviderMeta=w,exports.checkboxGroupMeta=A,exports.checkboxMeta=I,exports.codeMeta=P,exports.dividerMeta=B,exports.formControlMeta=S,exports.formErrorMessageMeta=F,exports.formHelperTextMeta=L,exports.formLabelMeta=N,exports.headingMeta=O,exports.highlightMeta=R,exports.imageMeta=D,exports.inputMeta=H,exports.kbdMeta=z,exports.numberDecrementStepperMeta=J,exports.numberIncrementStepperMeta=Q,exports.numberInputFieldMeta=Z,exports.numberInputMeta=_,exports.numberInputStepperMeta=X,exports.optionMeta=me,exports.pinInputFieldMeta=ee,exports.pinInputMeta=$,exports.popoverArrowMeta=ae,exports.popoverBodyMeta=le,exports.popoverCloseButtonMeta=pe,exports.popoverContentMeta=oe,exports.popoverHeaderMeta=ne,exports.popoverMeta=te,exports.popoverTriggerMeta=re,exports.progressMeta=ie,exports.radioGroupMeta=se,exports.radioMeta=de,exports.registerAll=function(e){var a=function(t,a){e?e.registerComponent(t,a):o(t,a)};k(e),a(t.Accordion,s),a(t.AccordionButton,u),a(t.AccordionIcon,m),a(t.AccordionItem,d),a(t.AccordionPanel,c),a(t.AspectRatio,y),a(t.Avatar,b),a(t.AvatarBadge,h),a(t.AvatarGroup,g),a(t.Badge,f),a(t.Breadcrumb,V),a(t.BreadcrumbItem,x),a(t.BreadcrumbLink,v),a(t.BreadcrumbSeparator,M),a(t.Button,C),a(t.ButtonGroup,T),a(t.Checkbox,I),a(t.CheckboxGroup,A),a(t.Code,P),a(t.Divider,B),a(t.FormControl,S),a(t.FormErrorMessage,F),a(t.FormHelperText,L),a(t.FormLabel,N),a(t.Heading,O),a(t.Highlight,R),a(t.Image,D),a(t.Input,H),a(t.Kbd,z),a(G,q),a(t.ModalOverlay,j),a(t.ModalContent,K),a(t.ModalHeader,W),a(t.ModalBody,E),a(t.ModalFooter,U),a(t.ModalCloseButton,Y),a(t.NumberInput,_),a(t.NumberDecrementStepper,J),a(t.NumberIncrementStepper,Q),a(t.NumberInputField,Z),a(t.NumberInputStepper,X),a(ce,me),a(t.Select,ue),a(t.PinInput,$),a(t.PinInputField,ee),a(t.Popover,te),a(t.PopoverBody,le),a(t.PopoverArrow,ae),a(t.PopoverCloseButton,pe),a(t.PopoverContent,oe),a(t.PopoverHeader,ne),a(t.PopoverTrigger,re),a(t.Progress,ie),a(t.Radio,de),a(t.RadioGroup,se),a(t.Stat,ye),a(t.StatArrow,be),a(t.StatHelpText,he),a(t.StatLabel,fe),a(t.StatNumber,ge),a(t.Switch,xe),a(t.Table,ve),a(t.TableCaption,Ve),a(t.Tbody,Te),a(t.Thead,Me),a(t.Tfoot,Ae),a(t.Td,we),a(t.Th,ke),a(t.Tr,Ce),a(t.TableContainer,Ie),a(t.Text,Fe),a(t.Toast,Oe),a(t.Tooltip,Re),a(t.TabList,Pe),a(t.Tab,Se),a(t.Tabs,Be),a(t.TabPanel,Le),a(t.TabPanels,Ne)},exports.registerChakraProvider=k,exports.registerKbd=function(e,a){!function(){e?e.registerComponent.apply(e,arguments):o.apply(void 0,arguments)}(t.Kbd,null!=a?a:z)},exports.selectMeta=ue,exports.statArrowMeta=be,exports.statHelpTextMeta=he,exports.statLabelMeta=fe,exports.statMeta=ye,exports.statNumberMeta=ge,exports.switchMeta=xe,exports.tabListMeta=Pe,exports.tabMeta=Se,exports.tabPanelMeta=Le,exports.tabPanelsMeta=Ne,exports.tableCaptionMeta=Ve,exports.tableContainerMeta=Ie,exports.tableMeta=ve,exports.tabsMeta=Be,exports.tbodyMeta=Te,exports.tdMeta=we,exports.textMeta=Fe,exports.tfootMeta=Ae,exports.thMeta=ke,exports.theadMeta=Me,exports.toastMeta=Oe,exports.tooltipMeta=Re,exports.trMeta=Ce;
2
2
  //# sourceMappingURL=plasmic-chakra-ui.cjs.production.min.js.map