@wordpress/block-library
Version:
Block library for the WordPress editor.
8 lines (7 loc) • 584 B
Source Map (JSON)
{
"version": 3,
"sources": ["../../src/search/utils.js"],
"sourcesContent": ["/**\n * Constants\n */\nexport const PC_WIDTH_DEFAULT = 50;\nexport const PX_WIDTH_DEFAULT = 350;\nexport const MIN_WIDTH = 220;\n\n/**\n * Returns a boolean whether passed unit is percentage\n *\n * @param {string} unit Block width unit.\n *\n * @return {boolean} \tWhether unit is '%'.\n */\nexport function isPercentageUnit( unit ) {\n\treturn unit === '%';\n}\n"],
"mappings": ";AAGO,IAAM,mBAAmB;AACzB,IAAM,mBAAmB;AACzB,IAAM,YAAY;AASlB,SAAS,iBAAkB,MAAO;AACxC,SAAO,SAAS;AACjB;",
"names": []
}