PluginProbe
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot / 4.9.5
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot v4.9.5
4.9.5 4.9.4 4.9.3 4.9.2 4.9.1 4.9.0 4.8.2 4.8.1 4.8.0 4.7.0 4.6.2 4.6.1 4.6.0 4.5.6 4.5.5 4.5.4 4.5.3 4.5.2 4.5.1 4.5.0 4.4.1 4.4.0 3.3.4 3.4.0 3.4.1 All 203 releases
betterdocs / react-src / gutenberg / util / typography-control-v2 / constants.js

constants.js in BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot 4.9.5, at react-src/gutenberg/util/typography-control-v2/constants.js

53 lines 2.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import { __ } from "@wordpress/i18n";
2
3 export const sizeUnitTypes = [
4 { label: "px", value: "px" },
5 { label: "%", value: "%" },
6 { label: "em", value: "em" },
7 ];
8
9 export const optionsFontWeights = [
10 { label: __("Default", "essential-blocks"), value: "" },
11 { label: __("100", "essential-blocks"), value: "100" },
12 { label: __("200", "essential-blocks"), value: "200" },
13 { label: __("300", "essential-blocks"), value: "300" },
14 { label: __("400", "essential-blocks"), value: "400" },
15 { label: __("500", "essential-blocks"), value: "500" },
16 { label: __("600", "essential-blocks"), value: "600" },
17 { label: __("700", "essential-blocks"), value: "700" },
18 { label: __("800", "essential-blocks"), value: "800" },
19 { label: __("900", "essential-blocks"), value: "900" },
20 ];
21
22 export const optionsTextTransforms = [
23 { label: __("Default", "essential-blocks"), value: "" },
24 { label: __("None", "essential-blocks"), value: "none" },
25 { label: __("Lowercase", "essential-blocks"), value: "lowercase" },
26 { label: __("Capitalize", "essential-blocks"), value: "capitalize" },
27 { label: __("Uppercase", "essential-blocks"), value: "uppercase" },
28 ];
29
30 export const optionsTextDecorations = [
31 { label: __("Default", "essential-blocks"), value: "" },
32 { label: __("None", "essential-blocks"), value: "initial" },
33 { label: __("Overline", "essential-blocks"), value: "overline" },
34 { label: __("Line Through", "essential-blocks"), value: "line-through" },
35 { label: __("Underline", "essential-blocks"), value: "underline" },
36 {
37 label: __("Underline Oveline", "essential-blocks"),
38 value: "underline overline",
39 },
40 ];
41
42 export const optionsFontStyles = [
43 { label: __("Default", "essential-blocks"), value: "" },
44 { label: __("Normal", "essential-blocks"), value: "normal" },
45 { label: __("Italic", "essential-blocks"), value: "italic" },
46 { label: __("Oblique", "essential-blocks"), value: "oblique" },
47 ];
48
49 export const optionsLhLsp = [
50 { label: "px", value: "px" },
51 { label: "em", value: "em" },
52 ];
53