@salesforce-ux/design-system
Version:
Salesforce Lightning Design System
1 lines • 6.73 kB
JavaScript
var SLDS;!function(){"use strict";var e,t={1594:function(e){e.exports=React},7707:function(e,t,l){l.r(t),l.d(t,{examples:function(){return a}});var n=l(1594),o=l.n(n),r=function(e){return o().createElement("div",{className:e.className},"The quick brown fox jumps over the lazy dog.")},a=[{id:"body-default",label:"Body size - default",element:o().createElement(r,{className:"slds-text-body_regular"}),description:"This default helper sets regular body copy. You usually don’t need this class since most components will inherit this globally from the `body` element. However, it exists if you still need to specifically set it."},{id:"body-small",label:"Body size - Small",element:o().createElement(r,{className:"slds-text-body_small"}),description:"This body-small text helper sets smaller, subtler body copy. It is typically used as supportive text."},{id:"heading-large",label:"Heading size - Large",element:o().createElement(r,{className:"slds-text-heading_large"})},{id:"heading-medium",label:"Heading size - Medium",element:o().createElement(r,{className:"slds-text-heading_medium"})},{id:"heading-small",label:"Heading size - Small",element:o().createElement(r,{className:"slds-text-heading_small"})},{id:"heading-title",label:"Title",element:o().createElement(r,{className:"slds-text-title"})},{id:"heading-title--caps",label:"Title uppercase",element:o().createElement(r,{className:"slds-text-title_caps"})},{id:"longform",label:"Longform",element:o().createElement("div",{className:"slds-text-longform"},o().createElement("p",null,"The quick brown fox jumps over the lazy dog."),o().createElement("p",null,"The quick brown fox jumps over the lazy dog."),o().createElement("h3",{className:"slds-text-heading_small"},"Heading"),o().createElement("ul",null,o().createElement("li",null,"The quick brown fox jumps over the lazy dog."),o().createElement("li",null,"The quick brown fox jumps over the lazy dog.",o().createElement("ul",null,o().createElement("li",null,"The quick brown fox jumps over the lazy dog."),o().createElement("li",null,"The quick brown fox jumps over the lazy dog.",o().createElement("ul",null,o().createElement("li",null,"The quick brown fox jumps over the lazy dog."),o().createElement("li",null,"The quick brown fox jumps over the lazy dog.")))))),o().createElement("h3",{className:"slds-text-heading_small"},"Heading"),o().createElement("ol",null,o().createElement("li",null,"The quick brown fox jumps over the lazy dog."),o().createElement("li",null,"The quick brown fox jumps over the lazy dog.",o().createElement("ol",null,o().createElement("li",null,"The quick brown fox jumps over the lazy dog."),o().createElement("li",null,"The quick brown fox jumps over the lazy dog.",o().createElement("ol",null,o().createElement("li",null,"The quick brown fox jumps over the lazy dog."),o().createElement("li",null,"The quick brown fox jumps over the lazy dog.")))))))},{id:"align-left",label:"Align left",element:o().createElement(r,{className:"slds-text-align_left"}),description:"These helpers align text to the left, right, or center. Note that this is not used for layout and is only for aligning text horizontally."},{id:"align-right",label:"Align right",element:o().createElement(r,{className:"slds-text-align_right"}),description:"These helpers align text to the left, right, or center. Note that this is not used for layout and is only for aligning text horizontally."},{id:"align-center",label:"Align center",element:o().createElement(r,{className:"slds-text-align_center"}),description:"These helpers align text to the left, right, or center. Note that this is not used for layout and is only for aligning text horizontally."},{id:"text-color-default",label:"Color - Default",element:o().createElement(r,{className:"slds-text-color_default"})},{id:"text-color-success",label:"Color - Success",element:o().createElement(r,{className:"slds-text-color_success"})},{id:"text-color-weak",label:"Color - Weak",element:o().createElement(r,{className:"slds-text-color_weak"})},{id:"text-color-error",label:"Color - Error",element:o().createElement(r,{className:"slds-text-color_error"})},{id:"text-color-destructive",label:"Color - Destructive Actions",element:o().createElement(r,{className:"slds-text-color_destructive"})},{id:"text-color-inverse",label:"Color - Inverse",element:o().createElement("div",{className:"demo-only",style:{padding:"0.5rem",background:"#16325c"}},o().createElement(r,{className:"slds-text-color_inverse"}))},{id:"text-color-inverse-weak",label:"Color - Inverse - Weak",element:o().createElement("div",{className:"demo-only",style:{padding:"0.5rem",background:"#16325c"}},o().createElement(r,{className:"slds-text-color_inverse-weak"}))},{id:"text-font-monospace",label:"Font - Monospace",element:o().createElement(r,{className:"slds-text-font_monospace"})}]}},l={};function n(e){var o=l[e];if(void 0!==o)return o.exports;var r=l[e]={exports:{}};return t[e](r,r.exports,n),r.exports}n.m=t,n.amdO={},e=[],n.O=function(t,l,o,r){if(!l){var a=1/0;for(u=0;u<e.length;u++){l=e[u][0],o=e[u][1],r=e[u][2];for(var s=!0,i=0;i<l.length;i++)(!1&r||a>=r)&&Object.keys(n.O).every(function(e){return n.O[e](l[i])})?l.splice(i--,1):(s=!1,r<a&&(a=r));if(s){e.splice(u--,1);var c=o();void 0!==c&&(t=c)}}return t}r=r||0;for(var u=e.length;u>0&&e[u-1][2]>r;u--)e[u]=e[u-1];e[u]=[l,o,r]},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var l in t)n.o(t,l)&&!n.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:t[l]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.j=6525,function(){var e={518:0,1117:0,1252:0,1578:0,1974:0,2033:0,2274:0,2782:0,3140:0,4268:0,4583:0,4723:0,4924:0,6525:0,6671:0,7217:0,7257:0,7385:0,7508:0,8167:0,8458:0};n.O.j=function(t){return 0===e[t]};var t=function(t,l){var o,r,a=l[0],s=l[1],i=l[2],c=0;if(a.some(function(t){return 0!==e[t]})){for(o in s)n.o(s,o)&&(n.m[o]=s[o]);if(i)var u=i(n)}for(t&&t(l);c<a.length;c++)r=a[c],n.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return n.O(u)},l=self.webpackJsonpSLDS___internal_chunked_showcase=self.webpackJsonpSLDS___internal_chunked_showcase||[];l.forEach(t.bind(null,0)),l.push=t.bind(null,l.push.bind(l))}(),n.nc=void 0;var o=n.O(void 0,[6790],function(){return n(7707)});o=n.O(o),(SLDS=void 0===SLDS?{}:SLDS)["__internal/chunked/showcase/./ui/utilities/text/example.jsx.js"]=o}();