UNPKG

@salesforce-ux/design-system

Version:
1 lines 3.23 kB
var SLDS;!function(){"use strict";var e,t,n,r={1594:function(e){e.exports=React},1981:function(e){e.exports=JSBeautify},5206:function(e){e.exports=ReactDOM},8461:function(e,t,n){n.r(t),n.d(t,{getContents:function(){return d},getElement:function(){return s}});var r=n(1594),o=n.n(r),i=n(5671),u=n(6547),c=n(806),l=[{id:"absolute-center",label:"Absolute center",element:o().createElement("div",{className:"slds-align_absolute-center",style:{height:"5rem"}},"This content will be positioned in the absolute center of its container")}],f=i.XB.h2,a=i.XB.h3,s=function(){return(0,r.createElement)(i.Ay,{},(0,r.createElement)("div",{className:"doc lead"},"Alignment utilities will assist with general alignment problems"),f({id:"Examples"},"Examples"),a({id:"Absolute-Center"},"Absolute Center"),(0,r.createElement)(u.A,null,(0,c.NO)(l,"absolute-center")))},d=function(){return(0,i.Qr)(s())}}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={id:e,exports:{}};return r[e](n,n.exports,i),n.exports}i.m=r,i.amdO={},e=[],i.O=function(t,n,r,o){if(!n){var u=1/0;for(a=0;a<e.length;a++){n=e[a][0],r=e[a][1],o=e[a][2];for(var c=!0,l=0;l<n.length;l++)(!1&o||u>=o)&&Object.keys(i.O).every(function(e){return i.O[e](n[l])})?n.splice(l--,1):(c=!1,o<u&&(u=o));if(c){e.splice(a--,1);var f=r();void 0!==f&&(t=f)}}return t}o=o||0;for(var a=e.length;a>0&&e[a-1][2]>o;a--)e[a]=e[a-1];e[a]=[n,r,o]},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},n=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},i.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var o=Object.create(null);i.r(o);var u={};t=t||[null,n({}),n([]),n(n)];for(var c=2&r&&e;("object"==typeof c||"function"==typeof c)&&!~t.indexOf(c);c=n(c))Object.getOwnPropertyNames(c).forEach(function(t){u[t]=function(){return e[t]}});return u.default=function(){return e},i.d(o,u),o},i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.e=function(){return Promise.resolve()},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.j=8510,function(){var e={8510:0};i.O.j=function(t){return 0===e[t]};var t=function(t,n){var r,o,u=n[0],c=n[1],l=n[2],f=0;if(u.some(function(t){return 0!==e[t]})){for(r in c)i.o(c,r)&&(i.m[r]=c[r]);if(l)var a=l(i)}for(t&&t(n);f<u.length;f++)o=u[f],i.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return i.O(a)},n=self.webpackJsonpSLDS___internal_chunked_docs=self.webpackJsonpSLDS___internal_chunked_docs||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}(),i.nc=void 0;var u=i.O(void 0,[3540],function(){return i(8461)});u=i.O(u),(SLDS=void 0===SLDS?{}:SLDS)["__internal/chunked/docs/./ui/utilities/alignment/docs.mdx.js"]=u}();