[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 1137 lines (40 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
__extends(d, b) X-Ref |
No description |
__() X-Ref |
No description |
__rest(s, e) X-Ref |
No description |
__decorate(decorators, target, key, desc) X-Ref |
No description |
__param(paramIndex, decorator) X-Ref |
No description |
__esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) X-Ref |
No description |
accept(f) X-Ref |
No description |
__runInitializers(thisArg, initializers, value) X-Ref |
No description |
__propKey(x) X-Ref |
No description |
__setFunctionName(f, name, prefix) X-Ref |
No description |
__metadata(metadataKey, metadataValue) X-Ref |
No description |
__awaiter(thisArg, _arguments, P, generator) X-Ref |
No description |
adopt(value) X-Ref |
No description |
fulfilled(value) X-Ref |
No description |
rejected(value) X-Ref |
No description |
step(result) X-Ref |
No description |
__generator(thisArg, body) X-Ref |
No description |
verb(n) X-Ref |
No description |
step(op) X-Ref |
No description |
__exportStar(m, o) X-Ref |
No description |
__values(o) X-Ref |
No description |
__read(o, n) X-Ref |
No description |
__spread() X-Ref |
No description |
__spreadArrays() X-Ref |
No description |
__spreadArray(to, from, pack) X-Ref |
No description |
__await(v) X-Ref |
No description |
__asyncGenerator(thisArg, _arguments, generator) X-Ref |
No description |
awaitReturn(f) X-Ref |
No description |
verb(n, f) X-Ref |
No description |
resume(n, v) X-Ref |
No description |
step(r) X-Ref |
No description |
fulfill(value) X-Ref |
No description |
reject(value) X-Ref |
No description |
settle(f, v) X-Ref |
No description |
__asyncDelegator(o) X-Ref |
No description |
verb(n, f) X-Ref |
No description |
__asyncValues(o) X-Ref |
No description |
verb(n) X-Ref |
No description |
settle(resolve, reject, d, v) X-Ref |
No description |
__makeTemplateObject(cooked, raw) X-Ref |
No description |
__importStar(mod) X-Ref |
No description |
__importDefault(mod) X-Ref |
No description |
__classPrivateFieldGet(receiver, state, kind, f) X-Ref |
No description |
__classPrivateFieldSet(receiver, state, value, kind, f) X-Ref |
No description |
__classPrivateFieldIn(state, receiver) X-Ref |
No description |
__addDisposableResource(env, value, async) X-Ref |
No description |
__disposeResources(env) X-Ref |
No description |
fail(e) X-Ref |
No description |
next() X-Ref |
No description |
localeLowerCase(str, locale) X-Ref |
Localized lower case. |
lowerCase(str) X-Ref |
Lower case as a function. |
noCase(input, options) X-Ref |
Normalize the string into something other libraries can manipulate easier. |
replace(input, re, value) X-Ref |
Replace `re` in the input string with the replacement value. |
dotCase(input, options) X-Ref |
No description |
paramCase(input, options) X-Ref |
No description |
generateRule(style, options, path, ruleKey) X-Ref |
Returns a JSON representation of the generated CSS rules. param: style Style object. param: options Options object with settings to adjust how the styles are generated. param: path An array of strings representing the path to the style value in the style object. param: ruleKey A CSS property key. return: GeneratedCSSRule[] CSS rules. |
generateBoxRules(style, options, path, ruleKeys, individualProperties = ['top', 'right', 'bottom', 'left']) X-Ref |
Returns a JSON representation of the generated CSS rules taking into account box model properties, top, right, bottom, left. param: style Style object. param: options Options object with settings to adjust how the styles are generated. param: path An array of strings representing the path to the style value in the style object. param: ruleKeys An array of CSS property keys and patterns. param: individualProperties The "sides" or individual properties for which to generate rules. return: GeneratedCSSRule[] CSS rules. |
getCSSValueFromRawStyle(styleValue) X-Ref |
Returns a WordPress CSS custom var value from incoming style preset value, if one is detected. The preset value is a string and follows the pattern `var:description|context|slug`. Example: `getCSSValueFromRawStyle( 'var:preset|color|heavenlyBlue' )` // returns 'var(--wp--preset--color--heavenly-blue)' param: styleValue A string representing a raw CSS value. Non-strings won't be processed. return: A CSS custom var value if the incoming style value is a preset value. |
upperFirst(string) X-Ref |
Capitalizes the first letter in a string. param: string The string whose first letter the function will capitalize. return: String with the first letter capitalized. |
camelCaseJoin(strings) X-Ref |
Converts an array of strings into a camelCase string. param: strings The strings to join into a camelCase string. return: camelCase string. |
safeDecodeURI(uri) X-Ref |
Safely decodes a URI with `decodeURI`. Returns the URI unmodified if `decodeURI` throws an error. param: {string} uri URI to decode. return: {string} Decoded URI if possible. |
createBorderGenerateFunction(path) X-Ref |
Creates a function for generating CSS rules when the style path is the same as the camelCase CSS property used in React. param: path An array of strings representing the path to the style value in the style object. return: A function that generates CSS rules. |
createBorderEdgeGenerateFunction(edge) X-Ref |
Creates a function for generating border-{top,bottom,left,right}-{color,style,width} CSS rules. param: edge The edge to create CSS rules for. return: A function that generates CSS rules. |
compileCSS(style, options = {}) X-Ref |
Generates a stylesheet for a given style object and selector. param: style Style object, for example, the value of a block's attributes.style object or the top level styles in theme.json param: options Options object with settings to adjust how the styles are generated. return: A generated stylesheet or inline style declarations. |
getCSSRules(style, options = {}) X-Ref |
Returns a JSON representation of the generated CSS rules. param: style Style object, for example, the value of a block's attributes.style object or the top level styles in theme.json param: options Options object with settings to adjust how the styles are generated. return: A collection of objects containing the selector, if any, the CSS property key (camelcase) and parsed CSS value. |
Generated : Thu Nov 21 08:20:01 2024 | Cross-referenced by PHPXref |