зеркало из https://github.com/mozilla/hubs.git
2 строки
5.4 KiB
JavaScript
2 строки
5.4 KiB
JavaScript
/*! For license information please see home-SocialBar-stories.4489156a.iframe.bundle.js.LICENSE.txt */
|
|
(globalThis.webpackChunkhubs=globalThis.webpackChunkhubs||[]).push([[1574],{"./src/react-components/home/SocialBar.stories.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{All:()=>All,Mobile:()=>Mobile,__namedExportsOrder:()=>__namedExportsOrder,default:()=>__WEBPACK_DEFAULT_EXPORT__});__webpack_require__("./node_modules/react/index.js");var _All$parameters,_All$parameters2,_All$parameters2$docs,_Mobile$parameters,_Mobile$parameters2,_Mobile$parameters2$d,_layout_Column__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/react-components/layout/Column.js"),_home_SocialBar_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/react-components/home/SocialBar.js"),_storybook_addon_viewport__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@storybook/addon-viewport/dist/index.mjs"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/react/jsx-runtime.js");function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach((function(key){_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}function _defineProperty(obj,key,value){return(key=function _toPropertyKey(arg){var key=function _toPrimitive(input,hint){if("object"!=typeof input||null===input)return input;var prim=input[Symbol.toPrimitive];if(void 0!==prim){var res=prim.call(input,hint||"default");if("object"!=typeof res)return res;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===hint?String:Number)(input)}(arg,"string");return"symbol"==typeof key?key:String(key)}(key))in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}const __WEBPACK_DEFAULT_EXPORT__={title:"SocialBar",parameters:{viewport:{viewports:_storybook_addon_viewport__WEBPACK_IMPORTED_MODULE_3__.p}}},All=()=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)(_layout_Column__WEBPACK_IMPORTED_MODULE_1__.s,{padding:!0,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_home_SocialBar_js__WEBPACK_IMPORTED_MODULE_2__.Y,{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_home_SocialBar_js__WEBPACK_IMPORTED_MODULE_2__.Y,{mobile:!0})]});All.displayName="All";const Mobile=()=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_layout_Column__WEBPACK_IMPORTED_MODULE_1__.s,{padding:!0,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_home_SocialBar_js__WEBPACK_IMPORTED_MODULE_2__.Y,{mobile:!0})});Mobile.displayName="Mobile",Mobile.parameters={viewport:{defaultViewport:"iphone6"}},All.parameters=_objectSpread(_objectSpread({},All.parameters),{},{docs:_objectSpread(_objectSpread({},null===(_All$parameters=All.parameters)||void 0===_All$parameters?void 0:_All$parameters.docs),{},{source:_objectSpread({originalSource:"() => <Column padding>\n <SocialBar />\n <SocialBar mobile />\n </Column>"},null===(_All$parameters2=All.parameters)||void 0===_All$parameters2||null===(_All$parameters2$docs=_All$parameters2.docs)||void 0===_All$parameters2$docs?void 0:_All$parameters2$docs.source)})}),Mobile.parameters=_objectSpread(_objectSpread({},Mobile.parameters),{},{docs:_objectSpread(_objectSpread({},null===(_Mobile$parameters=Mobile.parameters)||void 0===_Mobile$parameters?void 0:_Mobile$parameters.docs),{},{source:_objectSpread({originalSource:"() => <Column padding>\n <SocialBar mobile />\n </Column>"},null===(_Mobile$parameters2=Mobile.parameters)||void 0===_Mobile$parameters2||null===(_Mobile$parameters2$d=_Mobile$parameters2.docs)||void 0===_Mobile$parameters2$d?void 0:_Mobile$parameters2$d.source)})});const __namedExportsOrder=["All","Mobile"];All.__docgenInfo={description:"",methods:[],displayName:"All"},Mobile.__docgenInfo={description:"",methods:[],displayName:"Mobile"}},"./node_modules/classnames/index.js":(module,exports)=>{var __WEBPACK_AMD_DEFINE_RESULT__;!function(){"use strict";var hasOwn={}.hasOwnProperty;function classNames(){for(var classes=[],i=0;i<arguments.length;i++){var arg=arguments[i];if(arg){var argType=typeof arg;if("string"===argType||"number"===argType)classes.push(arg);else if(Array.isArray(arg)){if(arg.length){var inner=classNames.apply(null,arg);inner&&classes.push(inner)}}else if("object"===argType){if(arg.toString!==Object.prototype.toString&&!arg.toString.toString().includes("[native code]")){classes.push(arg.toString());continue}for(var key in arg)hasOwn.call(arg,key)&&arg[key]&&classes.push(key)}}}return classes.join(" ")}module.exports?(classNames.default=classNames,module.exports=classNames):void 0===(__WEBPACK_AMD_DEFINE_RESULT__=function(){return classNames}.apply(exports,[]))||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)}()}}]); |