@salesforce-ux/design-system
Version:
Salesforce Lightning Design System
1 lines • 3.41 kB
JavaScript
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},7793: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),a=[{id:"default",label:"Hyphenate",element:o().createElement("p",{className:"slds-hyphenate"},"A long heading might be supercalifragilisticexpiallidocious.")}],f=i.XB.h2,l=i.XB.p,s=function(){return(0,r.createElement)(i.Ay,{},(0,r.createElement)("div",{className:"doc lead"},"The hyphenation class should be placed on text that might be served in narrow width containers and is not truncated."),f({id:"About-Hyphenation"},"About Hyphenation"),l({},"This will allow the text to break, or hyphenate, depending on the browser's capabilities. Chrome currently doesn't show the hyphenation, but the bug is currently marked fixed, so it should soon."),f({id:"Base"},"Base"),(0,r.createElement)(u.A,null,(0,c.NO)(a,"default")))},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(l=0;l<e.length;l++){n=e[l][0],r=e[l][1],o=e[l][2];for(var c=!0,a=0;a<n.length;a++)(!1&o||u>=o)&&Object.keys(i.O).every(function(e){return i.O[e](n[a])})?n.splice(a--,1):(c=!1,o<u&&(u=o));if(c){e.splice(l--,1);var f=r();void 0!==f&&(t=f)}}return t}o=o||0;for(var l=e.length;l>0&&e[l-1][2]>o;l--)e[l]=e[l-1];e[l]=[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=106,function(){var e={106:0};i.O.j=function(t){return 0===e[t]};var t=function(t,n){var r,o,u=n[0],c=n[1],a=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(a)var l=a(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(l)},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(7793)});u=i.O(u),(SLDS=void 0===SLDS?{}:SLDS)["__internal/chunked/docs/./ui/utilities/hyphenation/docs.mdx.js"]=u}();