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 / blocks / category-slate-layout / src / constants.js

constants.js in BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot 4.9.5, at react-src/gutenberg/blocks/category-slate-layout/src/constants.js

83 lines 2.8 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 // Container
4 export const CONTAINER_MARGIN = 'containerMargin';
5 export const CONTAINER_PADDING = 'containerPadding';
6 export const CONTAINER_BACKGROUND = 'containerBackground';
7
8 // Grid
9 export const GRID_COLUMNS = 'gridColumns';
10 export const GRID_SPACE = 'gridSpace';
11 export const GRID_MARGIN = 'gridMargin';
12 export const GRID_PADDING = 'gridPadding';
13 export const GRID_BACKGROUND = 'gridBackground';
14 export const GRID_BORDER = 'gridBorder';
15
16 // Category Title
17 export const TITLE_MARGIN = 'titleMargin';
18 export const TITLE_PADDING = 'titlePadding';
19 export const TITLE_BACKGROUND = 'titleBackground';
20 export const TITLE_BORDER = 'titleBorder';
21
22 // Article List
23 export const LIST_MARGIN = 'listMargin';
24 export const LIST_PADDING = 'listPadding';
25 export const LIST_BACKGROUND = 'listBackground';
26 export const LIST_BORDER = 'listBorder';
27
28 // Layout Options
29 export const LAYOUT_OPTIONS = [
30 { label: __('Layout 3 (Slate)', 'betterdocs'), value: 'layout-3' }
31 ];
32
33 // Grid Column Options
34 export const GRID_COLUMN_OPTIONS = [
35 { label: '1', value: 1 },
36 { label: '2', value: 2 },
37 { label: '3', value: 3 },
38 { label: '4', value: 4 },
39 { label: '5', value: 5 },
40 { label: '6', value: 6 }
41 ];
42
43 // Title Tag Options
44 export const TITLE_TAG_OPTIONS = [
45 { label: 'H1', value: 'h1' },
46 { label: 'H2', value: 'h2' },
47 { label: 'H3', value: 'h3' },
48 { label: 'H4', value: 'h4' },
49 { label: 'H5', value: 'h5' },
50 { label: 'H6', value: 'h6' }
51 ];
52
53 // Order Options
54 export const ORDER_OPTIONS = [
55 { label: __('ASC', 'betterdocs'), value: 'asc' },
56 { label: __('DESC', 'betterdocs'), value: 'desc' }
57 ];
58
59 // Order By Options
60 export const ORDER_BY_OPTIONS = [
61 { label: __('Name', 'betterdocs'), value: 'name' },
62 { label: __('Slug', 'betterdocs'), value: 'slug' },
63 { label: __('Term Group', 'betterdocs'), value: 'term_group' },
64 { label: __('ID', 'betterdocs'), value: 'id' },
65 { label: __('Description', 'betterdocs'), value: 'description' },
66 { label: __('Count', 'betterdocs'), value: 'count' },
67 { label: __('BetterDocs Order', 'betterdocs'), value: 'doc_category_order' }
68 ];
69
70 // Posts Order By Options (for Grid List Docs)
71 export const POSTS_ORDER_BY_OPTIONS = [
72 { label: __('Doc ID', 'betterdocs'), value: 'id' },
73 { label: __('Doc Author', 'betterdocs'), value: 'author' },
74 { label: __('Title', 'betterdocs'), value: 'title' },
75 { label: __('Date', 'betterdocs'), value: 'date' },
76 { label: __('Last Modified Date', 'betterdocs'), value: 'modified' },
77 { label: __('Parent Id', 'betterdocs'), value: 'parent' },
78 { label: __('Random', 'betterdocs'), value: 'rand' },
79 { label: __('Comment Count', 'betterdocs'), value: 'comment_count' },
80 { label: __('Menu Order', 'betterdocs'), value: 'menu_order' },
81 { label: __('BetterDocs Order', 'betterdocs'), value: 'betterdocs_order' }
82 ];
83