@wordpress/block-editor
Version:
8 lines (7 loc) • 1.62 kB
Source Map (JSON)
{
"version": 3,
"sources": ["../../../src/components/border-radius-control/constants.js"],
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\nimport {\n\tcornerAll,\n\tcornerBottomLeft,\n\tcornerBottomRight,\n\tcornerTopLeft,\n\tcornerTopRight,\n} from '@wordpress/icons';\n\nexport const DEFAULT_VALUES = {\n\ttopLeft: undefined,\n\ttopRight: undefined,\n\tbottomLeft: undefined,\n\tbottomRight: undefined,\n};\n\nexport const RANGE_CONTROL_MAX_SIZE = 8;\n\nexport const EMPTY_ARRAY = [];\n\nexport const CORNERS = {\n\tall: __( 'Border radius' ),\n\ttopLeft: __( 'Top left' ),\n\ttopRight: __( 'Top right' ),\n\tbottomLeft: __( 'Bottom left' ),\n\tbottomRight: __( 'Bottom right' ),\n};\n\nexport const ICONS = {\n\tall: cornerAll,\n\ttopLeft: cornerTopLeft,\n\ttopRight: cornerTopRight,\n\tbottomLeft: cornerBottomLeft,\n\tbottomRight: cornerBottomRight,\n};\n\nexport const MIN_BORDER_RADIUS_VALUE = 0;\n\nexport const MAX_BORDER_RADIUS_VALUES = {\n\tpx: 100,\n\tem: 20,\n\trem: 20,\n};\n"],
"mappings": ";AAGA,SAAS,UAAU;AACnB;AAAA,EACC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACM;AAEA,IAAM,iBAAiB;AAAA,EAC7B,SAAS;AAAA,EACT,UAAU;AAAA,EACV,YAAY;AAAA,EACZ,aAAa;AACd;AAEO,IAAM,yBAAyB;AAE/B,IAAM,cAAc,CAAC;AAErB,IAAM,UAAU;AAAA,EACtB,KAAK,GAAI,eAAgB;AAAA,EACzB,SAAS,GAAI,UAAW;AAAA,EACxB,UAAU,GAAI,WAAY;AAAA,EAC1B,YAAY,GAAI,aAAc;AAAA,EAC9B,aAAa,GAAI,cAAe;AACjC;AAEO,IAAM,QAAQ;AAAA,EACpB,KAAK;AAAA,EACL,SAAS;AAAA,EACT,UAAU;AAAA,EACV,YAAY;AAAA,EACZ,aAAa;AACd;AAEO,IAAM,0BAA0B;AAEhC,IAAM,2BAA2B;AAAA,EACvC,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,KAAK;AACN;",
"names": []
}