-
Notifications
You must be signed in to change notification settings - Fork 31
/
47585.2badb8a4.iframe.bundle.js
1 lines (1 loc) · 23.9 KB
/
47585.2badb8a4.iframe.bundle.js
1
"use strict";(globalThis.webpackChunkmetamask_crx=globalThis.webpackChunkmetamask_crx||[]).push([[47585],{"./ui/components/ui/box/box.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Ay:()=>__WEBPACK_DEFAULT_EXPORT__,Ve:()=>MultipleSizesAndAuto});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),prop_types__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/prop-types/index.js"),prop_types__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__),classnames__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/classnames/index.js"),classnames__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__),lodash__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/lodash/lodash.js"),_helpers_constants_design_system__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./ui/helpers/constants/design-system.ts");function _array_like_to_array(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _array_without_holes(arr){if(Array.isArray(arr))return _array_like_to_array(arr)}function _define_property(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _iterable_to_array(iter){if("undefined"!=typeof Symbol&&null!=iter[Symbol.iterator]||null!=iter["@@iterator"])return Array.from(iter)}function _non_iterable_spread(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _object_spread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{},ownKeys=Object.keys(source);"function"==typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable}))),ownKeys.forEach(function(key){_define_property(target,key,source[key])})}return target}function _object_without_properties(source,excluded){if(null==source)return{};var key,i,target=_object_without_properties_loose(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],!(excluded.indexOf(key)>=0)&&Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function _object_without_properties_loose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}function _to_consumable_array(arr){return _array_without_holes(arr)||_iterable_to_array(arr)||_unsupported_iterable_to_array(arr)||_non_iterable_spread()}function _unsupported_iterable_to_array(o,minLen){if(o){if("string"==typeof o)return _array_like_to_array(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if("Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _array_like_to_array(o,minLen)}}var Sizes=[0,1,2,3,4,5,6,7,8,9,10,11,12],ValidSize=prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOf(Sizes),ValidBlockSize=prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOf(Object.values(_helpers_constants_design_system__WEBPACK_IMPORTED_MODULE_3__.Zf)),ValidSizeAndAuto=prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOf(_to_consumable_array(Sizes).concat(["auto"])),ValidBackgroundColor=prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOf(Object.values(_helpers_constants_design_system__WEBPACK_IMPORTED_MODULE_3__.i0)),ValidBorderColors=prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOf(Object.values(_helpers_constants_design_system__WEBPACK_IMPORTED_MODULE_3__.cG)),ValidTextColors=prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOf(Object.values(_helpers_constants_design_system__WEBPACK_IMPORTED_MODULE_3__.r7)),ValidIconColors=prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOf(Object.values(_helpers_constants_design_system__WEBPACK_IMPORTED_MODULE_3__.Li)),ValidAlignItem=prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOf(Object.values(_helpers_constants_design_system__WEBPACK_IMPORTED_MODULE_3__.k2)),ValidJustifyContent=prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOf(Object.values(_helpers_constants_design_system__WEBPACK_IMPORTED_MODULE_3__.A9)),ArrayOfValidSizes=prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(ValidSize),MultipleSizes=prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOfType([ValidSize,ArrayOfValidSizes]),ArrayOfValidBlockSizes=prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(ValidBlockSize),MultipleBlockSizes=prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOfType([ValidBlockSize,ArrayOfValidBlockSizes]),ArrayOfValidSizesAndAuto=prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(ValidSizeAndAuto),MultipleSizesAndAuto=prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOfType([ValidSizeAndAuto,ArrayOfValidSizesAndAuto]),ArrayOfValidBorderColors=prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(ValidBorderColors),MultipleBorderColors=prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOfType([ValidBorderColors,ArrayOfValidBorderColors]),ArrayOfValidBackgroundColor=prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(ValidBackgroundColor),MultipleBackgroundColor=prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOfType([ValidBackgroundColor,ArrayOfValidBackgroundColor]),ArrayOfValidTextColors=prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(ValidTextColors),ArrayOfValidIconColors=prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(ValidIconColors),MultipleTextColors=prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOfType([ValidTextColors,ArrayOfValidTextColors,ValidIconColors,ArrayOfValidIconColors]),ArrayOfValidAlignItems=prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(ValidAlignItem),MultipleAlignItems=prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOfType([ValidAlignItem,ArrayOfValidAlignItems]),ArrayOfValidJustifyContents=prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(ValidJustifyContent),MultipleJustifyContents=prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOfType([ValidJustifyContent,ArrayOfValidJustifyContents]);function isValidSize(type,value){return"number"==typeof value||("margin"===type||"margin-top"===type||"margin-right"===type||"margin-bottom"===type||"margin-left"===type||"margin-inline"===type||"margin-inline-start"===type||"margin-inline-end"===type)&&"auto"===value}function isValidString(type,value){return"string"==typeof type&&"string"==typeof value}var generateClassNames=(0,lodash__WEBPACK_IMPORTED_MODULE_2__.memoize)(function(type,value,validatorFn){if(!value)return null;var classesObject={},singleArrayItemProp=Array.isArray(value)&&1===value.length?value[0]:void 0,singleValue=((Array.isArray(value)||"string"!=typeof value)&&"number"!=typeof value?void 0:value)||singleArrayItemProp;if(singleValue||0===singleValue)classesObject["".concat("box","--").concat(type,"-").concat(singleValue)]=validatorFn(type,singleValue);else switch(value.length){case 4:classesObject["".concat("box","--").concat(type,"-").concat(value[0])]=value[0]&&validatorFn(type,value[0]),classesObject["".concat("box","--").concat(_helpers_constants_design_system__WEBPACK_IMPORTED_MODULE_3__.LO[1],":").concat(type,"-").concat(value[1])]=value[1]&&validatorFn(type,value[1]),classesObject["".concat("box","--").concat(_helpers_constants_design_system__WEBPACK_IMPORTED_MODULE_3__.LO[2],":").concat(type,"-").concat(value[2])]=value[2]&&validatorFn(type,value[2]),classesObject["".concat("box","--").concat(_helpers_constants_design_system__WEBPACK_IMPORTED_MODULE_3__.LO[3],":").concat(type,"-").concat(value[3])]=value[3]&&validatorFn(type,value[3]);break;case 3:classesObject["".concat("box","--").concat(type,"-").concat(value[0])]=value[0]&&validatorFn(type,value[0]),classesObject["".concat("box","--").concat(_helpers_constants_design_system__WEBPACK_IMPORTED_MODULE_3__.LO[1],":").concat(type,"-").concat(value[1])]=value[1]&&validatorFn(type,value[1]),classesObject["".concat("box","--").concat(_helpers_constants_design_system__WEBPACK_IMPORTED_MODULE_3__.LO[2],":").concat(type,"-").concat(value[2])]=value[2]&&validatorFn(type,value[2]);break;case 2:classesObject["".concat("box","--").concat(type,"-").concat(value[0])]=value[0]&&validatorFn(type,value[0]),classesObject["".concat("box","--").concat(_helpers_constants_design_system__WEBPACK_IMPORTED_MODULE_3__.LO[1],":").concat(type,"-").concat(value[1])]=value[1]&&validatorFn(type,value[1]);break;default:console.log("Invalid array prop length: ".concat(value.length))}return classesObject},function(type,value){return"".concat(type).concat(value)}),Box=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(function Box(_param,ref){var padding=_param.padding,paddingTop=_param.paddingTop,paddingRight=_param.paddingRight,paddingBottom=_param.paddingBottom,paddingLeft=_param.paddingLeft,paddingInline=_param.paddingInline,paddingInlineStart=_param.paddingInlineStart,paddingInlineEnd=_param.paddingInlineEnd,margin=_param.margin,marginTop=_param.marginTop,marginRight=_param.marginRight,marginBottom=_param.marginBottom,marginLeft=_param.marginLeft,marginInline=_param.marginInline,marginInlineStart=_param.marginInlineStart,marginInlineEnd=_param.marginInlineEnd,borderColor=_param.borderColor,borderWidth=_param.borderWidth,borderRadius=_param.borderRadius,borderStyle=_param.borderStyle,alignItems=_param.alignItems,justifyContent=_param.justifyContent,textAlign=_param.textAlign,_param_flexDirection=_param.flexDirection,flexDirection=void 0===_param_flexDirection?_helpers_constants_design_system__WEBPACK_IMPORTED_MODULE_3__.bo.Row:_param_flexDirection,flexWrap=_param.flexWrap,gap=_param.gap,display=_param.display,width=_param.width,height=_param.height,children=_param.children,className=_param.className,backgroundColor=_param.backgroundColor,color=_param.color,ariaLabel=_param.ariaLabel,_param_as=_param.as,props=_object_without_properties(_param,["padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingInline","paddingInlineStart","paddingInlineEnd","margin","marginTop","marginRight","marginBottom","marginLeft","marginInline","marginInlineStart","marginInlineEnd","borderColor","borderWidth","borderRadius","borderStyle","alignItems","justifyContent","textAlign","flexDirection","flexWrap","gap","display","width","height","children","className","backgroundColor","color","ariaLabel","as"]),boxClassName=classnames__WEBPACK_IMPORTED_MODULE_1___default()("box",className,margin&&generateClassNames("margin",margin,isValidSize),marginTop&&generateClassNames("margin-top",marginTop,isValidSize),marginRight&&generateClassNames("margin-right",marginRight,isValidSize),marginBottom&&generateClassNames("margin-bottom",marginBottom,isValidSize),marginLeft&&generateClassNames("margin-left",marginLeft,isValidSize),marginInline&&generateClassNames("margin-inline",marginInline,isValidSize),marginInlineStart&&generateClassNames("margin-inline-start",marginInlineStart,isValidSize),marginInlineEnd&&generateClassNames("margin-inline-end",marginInlineEnd,isValidSize),padding&&generateClassNames("padding",padding,isValidSize),paddingTop&&generateClassNames("padding-top",paddingTop,isValidSize),paddingRight&&generateClassNames("padding-right",paddingRight,isValidSize),paddingBottom&&generateClassNames("padding-bottom",paddingBottom,isValidSize),paddingLeft&&generateClassNames("padding-left",paddingLeft,isValidSize),paddingInline&&generateClassNames("padding-inline",paddingInline,isValidSize),paddingInlineStart&&generateClassNames("padding-inline-start",paddingInlineStart,isValidSize),paddingInlineEnd&&generateClassNames("padding-inline-end",paddingInlineEnd,isValidSize),display&&generateClassNames("display",display,isValidString),gap&&generateClassNames("gap",gap,isValidSize),flexDirection&&generateClassNames("flex-direction",flexDirection,isValidString),flexWrap&&generateClassNames("flex-wrap",flexWrap,isValidString),justifyContent&&generateClassNames("justify-content",justifyContent,isValidString),alignItems&&generateClassNames("align-items",alignItems,isValidString),textAlign&&generateClassNames("text-align",textAlign,isValidString),width&&generateClassNames("width",width,isValidString),height&&generateClassNames("height",height,isValidString),color&&generateClassNames("color",color,isValidString),backgroundColor&&generateClassNames("background-color",backgroundColor,isValidString),borderRadius&&generateClassNames("rounded",borderRadius,isValidString),borderStyle&&generateClassNames("border-style",borderStyle,isValidString),borderColor&&generateClassNames("border-color",borderColor,isValidString),borderWidth&&generateClassNames("border-width",borderWidth,isValidSize),{"box--border-style-solid":!borderStyle&&(!!borderWidth||!!borderColor),"box--border-width-1":!borderWidth&&!!borderColor,"box--display-flex":!display&&(!!justifyContent||!!alignItems)});if("function"==typeof children)return children(boxClassName);var Component=void 0===_param_as?"div":_param_as,ariaLabelProp={};return isCustomComponent(Component)?ariaLabelProp.ariaLabel=ariaLabel:ariaLabelProp["aria-label"]=ariaLabel,props["aria-label"]&&(ariaLabelProp["aria-label"]=props["aria-label"]),react__WEBPACK_IMPORTED_MODULE_0__.createElement(Component,_object_spread({className:boxClassName,ref:ref},props,ariaLabelProp),children)});function isCustomComponent(element){return"function"==typeof element.type}Box.propTypes={children:prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_4___default().node,prop_types__WEBPACK_IMPORTED_MODULE_4___default().func]),flexDirection:prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOf(Object.values(_helpers_constants_design_system__WEBPACK_IMPORTED_MODULE_3__.bo)),prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOf(Object.values(_helpers_constants_design_system__WEBPACK_IMPORTED_MODULE_3__.bo)))]),flexWrap:prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOf(Object.values(_helpers_constants_design_system__WEBPACK_IMPORTED_MODULE_3__.I4)),prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOf(Object.values(_helpers_constants_design_system__WEBPACK_IMPORTED_MODULE_3__.I4)))]),gap:MultipleSizes,margin:MultipleSizesAndAuto,marginTop:MultipleSizesAndAuto,marginBottom:MultipleSizesAndAuto,marginRight:MultipleSizesAndAuto,marginLeft:MultipleSizesAndAuto,marginInline:MultipleSizesAndAuto,marginInlineStart:MultipleSizesAndAuto,marginInlineEnd:MultipleSizesAndAuto,padding:MultipleSizes,paddingTop:MultipleSizes,paddingBottom:MultipleSizes,paddingRight:MultipleSizes,paddingLeft:MultipleSizes,paddingInline:MultipleSizes,paddingInlineStart:MultipleSizes,paddingInlineEnd:MultipleSizes,borderColor:MultipleBorderColors,borderWidth:prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_4___default().number,prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_4___default().number)]),borderRadius:prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOf(Object.values(_helpers_constants_design_system__WEBPACK_IMPORTED_MODULE_3__.Z6)),prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOf(Object.values(_helpers_constants_design_system__WEBPACK_IMPORTED_MODULE_3__.Z6)))]),borderStyle:prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOf(Object.values(_helpers_constants_design_system__WEBPACK_IMPORTED_MODULE_3__.kD)),prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOf(Object.values(_helpers_constants_design_system__WEBPACK_IMPORTED_MODULE_3__.kD)))]),alignItems:MultipleAlignItems,justifyContent:MultipleJustifyContents,textAlign:prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOf(Object.values(_helpers_constants_design_system__WEBPACK_IMPORTED_MODULE_3__.nO)),prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOf(Object.values(_helpers_constants_design_system__WEBPACK_IMPORTED_MODULE_3__.nO)))]),display:prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOf(Object.values(_helpers_constants_design_system__WEBPACK_IMPORTED_MODULE_3__.nl)),prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf(prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOf(Object.values(_helpers_constants_design_system__WEBPACK_IMPORTED_MODULE_3__.nl)))]),width:MultipleBlockSizes,height:MultipleBlockSizes,backgroundColor:MultipleBackgroundColor,className:prop_types__WEBPACK_IMPORTED_MODULE_4___default().string,style:prop_types__WEBPACK_IMPORTED_MODULE_4___default().object,as:prop_types__WEBPACK_IMPORTED_MODULE_4___default().string,color:MultipleTextColors,ariaLabel:prop_types__WEBPACK_IMPORTED_MODULE_4___default().string,"aria-label":prop_types__WEBPACK_IMPORTED_MODULE_4___default().string};let __WEBPACK_DEFAULT_EXPORT__=Box;Box.__docgenInfo={description:"@deprecated The JS version of the <Box /> component has been deprecated in favor of the new TS version from the component-library.\nPlease update your code to use the new <Box> component instead\nimport { Box } from '../../component-library';\nThe component API is the same so you should only have to update the import statement but you can find documentation for the new Box component in the MetaMask Storybook:\n{@link https://metamask.github.io/metamask-storybook/?path=/docs/components-componentlibrary-box--docs}\nIf you would like to help with the replacement of the old Button component, please submit a pull request against this GitHub issue:\n{@link https://github.com/MetaMask/metamask-extension/issues/19526}",methods:[],displayName:"Box",props:{flexDirection:{defaultValue:{value:"FlexDirection.Row",computed:!0},description:"",type:{name:"union",value:[{name:"enum",computed:!0,value:"Object.values(FlexDirection)"},{name:"arrayOf",value:{name:"enum",computed:!0,value:"Object.values(FlexDirection)"}}]},required:!1},as:{defaultValue:{value:"'div'",computed:!1},description:"The polymorphic `as` prop allows you to change the root HTML element of the Box component\nDefaults to 'div'",type:{name:"string"},required:!1},children:{description:"",type:{name:"union",value:[{name:"node"},{name:"func"}]},required:!1},flexWrap:{description:"",type:{name:"union",value:[{name:"enum",computed:!0,value:"Object.values(FlexWrap)"},{name:"arrayOf",value:{name:"enum",computed:!0,value:"Object.values(FlexWrap)"}}]},required:!1},gap:{description:"",type:{name:"union",value:[{name:"custom",raw:"ValidSize"},{name:"custom",raw:"ArrayOfValidSizes"}]},required:!1},margin:{description:"",type:{name:"union",value:[{name:"custom",raw:"ValidSizeAndAuto"},{name:"custom",raw:"ArrayOfValidSizesAndAuto"}]},required:!1},marginTop:{description:"",type:{name:"union",value:[{name:"custom",raw:"ValidSizeAndAuto"},{name:"custom",raw:"ArrayOfValidSizesAndAuto"}]},required:!1},marginBottom:{description:"",type:{name:"union",value:[{name:"custom",raw:"ValidSizeAndAuto"},{name:"custom",raw:"ArrayOfValidSizesAndAuto"}]},required:!1},marginRight:{description:"",type:{name:"union",value:[{name:"custom",raw:"ValidSizeAndAuto"},{name:"custom",raw:"ArrayOfValidSizesAndAuto"}]},required:!1},marginLeft:{description:"",type:{name:"union",value:[{name:"custom",raw:"ValidSizeAndAuto"},{name:"custom",raw:"ArrayOfValidSizesAndAuto"}]},required:!1},marginInline:{description:"",type:{name:"union",value:[{name:"custom",raw:"ValidSizeAndAuto"},{name:"custom",raw:"ArrayOfValidSizesAndAuto"}]},required:!1},marginInlineStart:{description:"",type:{name:"union",value:[{name:"custom",raw:"ValidSizeAndAuto"},{name:"custom",raw:"ArrayOfValidSizesAndAuto"}]},required:!1},marginInlineEnd:{description:"",type:{name:"union",value:[{name:"custom",raw:"ValidSizeAndAuto"},{name:"custom",raw:"ArrayOfValidSizesAndAuto"}]},required:!1},padding:{description:"",type:{name:"union",value:[{name:"custom",raw:"ValidSize"},{name:"custom",raw:"ArrayOfValidSizes"}]},required:!1},paddingTop:{description:"",type:{name:"union",value:[{name:"custom",raw:"ValidSize"},{name:"custom",raw:"ArrayOfValidSizes"}]},required:!1},paddingBottom:{description:"",type:{name:"union",value:[{name:"custom",raw:"ValidSize"},{name:"custom",raw:"ArrayOfValidSizes"}]},required:!1},paddingRight:{description:"",type:{name:"union",value:[{name:"custom",raw:"ValidSize"},{name:"custom",raw:"ArrayOfValidSizes"}]},required:!1},paddingLeft:{description:"",type:{name:"union",value:[{name:"custom",raw:"ValidSize"},{name:"custom",raw:"ArrayOfValidSizes"}]},required:!1},paddingInline:{description:"",type:{name:"union",value:[{name:"custom",raw:"ValidSize"},{name:"custom",raw:"ArrayOfValidSizes"}]},required:!1},paddingInlineStart:{description:"",type:{name:"union",value:[{name:"custom",raw:"ValidSize"},{name:"custom",raw:"ArrayOfValidSizes"}]},required:!1},paddingInlineEnd:{description:"",type:{name:"union",value:[{name:"custom",raw:"ValidSize"},{name:"custom",raw:"ArrayOfValidSizes"}]},required:!1},borderColor:{description:"",type:{name:"union",value:[{name:"custom",raw:"ValidBorderColors"},{name:"custom",raw:"ArrayOfValidBorderColors"}]},required:!1},borderWidth:{description:"",type:{name:"union",value:[{name:"number"},{name:"arrayOf",value:{name:"number"}}]},required:!1},borderRadius:{description:"",type:{name:"union",value:[{name:"enum",computed:!0,value:"Object.values(BorderRadius)"},{name:"arrayOf",value:{name:"enum",computed:!0,value:"Object.values(BorderRadius)"}}]},required:!1},borderStyle:{description:"",type:{name:"union",value:[{name:"enum",computed:!0,value:"Object.values(BorderStyle)"},{name:"arrayOf",value:{name:"enum",computed:!0,value:"Object.values(BorderStyle)"}}]},required:!1},alignItems:{description:"",type:{name:"union",value:[{name:"custom",raw:"ValidAlignItem"},{name:"custom",raw:"ArrayOfValidAlignItems"}]},required:!1},justifyContent:{description:"",type:{name:"union",value:[{name:"custom",raw:"ValidJustifyContent"},{name:"custom",raw:"ArrayOfValidJustifyContents"}]},required:!1},textAlign:{description:"",type:{name:"union",value:[{name:"enum",computed:!0,value:"Object.values(TextAlign)"},{name:"arrayOf",value:{name:"enum",computed:!0,value:"Object.values(TextAlign)"}}]},required:!1},display:{description:"",type:{name:"union",value:[{name:"enum",computed:!0,value:"Object.values(Display)"},{name:"arrayOf",value:{name:"enum",computed:!0,value:"Object.values(Display)"}}]},required:!1},width:{description:"",type:{name:"union",value:[{name:"custom",raw:"ValidBlockSize"},{name:"custom",raw:"ArrayOfValidBlockSizes"}]},required:!1},height:{description:"",type:{name:"union",value:[{name:"custom",raw:"ValidBlockSize"},{name:"custom",raw:"ArrayOfValidBlockSizes"}]},required:!1},backgroundColor:{description:"",type:{name:"union",value:[{name:"custom",raw:"ValidBackgroundColor"},{name:"custom",raw:"ArrayOfValidBackgroundColor"}]},required:!1},className:{description:"",type:{name:"string"},required:!1},style:{description:"",type:{name:"object"},required:!1},color:{description:"The color of the Typography component Should use the COLOR object from\n./ui/helpers/constants/design-system.js",type:{name:"union",value:[{name:"custom",raw:"ValidTextColors"},{name:"custom",raw:"ArrayOfValidTextColors"},{name:"custom",raw:"ValidIconColors"},{name:"custom",raw:"ArrayOfValidIconColors"}]},required:!1},ariaLabel:{description:"",type:{name:"string"},required:!1},"aria-label":{description:"",type:{name:"string"},required:!1}}}}}]);