| 1 |
import HtmlBlockIcon from "./icons/html"; |
| 2 |
import IconBlockIcon from "./icons/icon"; |
| 3 |
import ListBlockIcon from "./icons/styled-list"; |
| 4 |
import RibbonBlockIcon from "./icons/ribbon"; |
| 5 |
import blockIcon from "./icons/tableberg"; |
| 6 |
import { BlockIcon as StarBlockIcon } from "./icons/star-rating"; |
| 7 |
import { AITableIcon } from "./icons/table-creation"; |
| 8 |
import { image, button, paragraph, list } from "@wordpress/icons"; |
| 9 |
|
| 10 |
export default [ |
| 11 |
{ |
| 12 |
name: "core/paragraph", |
| 13 |
title: "Paragraph", |
| 14 |
icon: paragraph, |
| 15 |
isPro: false, |
| 16 |
}, |
| 17 |
{ |
| 18 |
name: "core/list", |
| 19 |
title: "List", |
| 20 |
icon: list, |
| 21 |
isPro: false, |
| 22 |
demoUrl: |
| 23 |
"https://tableberg.com/docs/how-to-add-a-list-to-a-table-in-wordpress/", |
| 24 |
}, |
| 25 |
{ |
| 26 |
name: "tableberg/button", |
| 27 |
title: "Button", |
| 28 |
icon: button, |
| 29 |
isPro: false, |
| 30 |
demoUrl: |
| 31 |
"https://tableberg.com/docs/how-to-add-buttons-to-wordpress-tables/", |
| 32 |
}, |
| 33 |
{ |
| 34 |
name: "tableberg/image", |
| 35 |
title: "Image", |
| 36 |
icon: image, |
| 37 |
isPro: false, |
| 38 |
demoUrl: |
| 39 |
"https://tableberg.com/docs/how-to-add-images-to-a-table-in-wordpress/", |
| 40 |
}, |
| 41 |
{ |
| 42 |
name: "tableberg/styled-list", |
| 43 |
title: "Styled List", |
| 44 |
icon: ListBlockIcon, |
| 45 |
isPro: true, |
| 46 |
image: "styled_list_block_1.png", |
| 47 |
upsellText: |
| 48 |
"Elevate your lists with customizable icons as bullets for a polished look.", |
| 49 |
demoUrl: |
| 50 |
"https://tableberg.com/docs/how-to-add-styled-lists-in-wordpress-tables/", |
| 51 |
}, |
| 52 |
{ |
| 53 |
name: "tableberg/ribbon", |
| 54 |
title: "Ribbon", |
| 55 |
icon: RibbonBlockIcon, |
| 56 |
isPro: true, |
| 57 |
image: "ribbon_block_1.png", |
| 58 |
upsellText: |
| 59 |
"Overlay a decorative ribbon on your table, ideal for highlighting special offers or important notices.", |
| 60 |
demoUrl: |
| 61 |
"https://tableberg.com/docs/how-to-add-ribbons-to-wordpress-tables/", |
| 62 |
}, |
| 63 |
{ |
| 64 |
name: "tableberg/html", |
| 65 |
title: "Custom Html", |
| 66 |
icon: HtmlBlockIcon, |
| 67 |
isPro: true, |
| 68 |
image: "html_block_1.png", |
| 69 |
upsellText: |
| 70 |
"Add your own HTML code to create specialized content and integrate custom elements.", |
| 71 |
demoUrl: |
| 72 |
"https://tableberg.com/docs/how-to-add-custom-html-to-wordpress-tables/", |
| 73 |
}, |
| 74 |
{ |
| 75 |
name: "tableberg/icon", |
| 76 |
title: "Icon", |
| 77 |
icon: IconBlockIcon, |
| 78 |
isPro: true, |
| 79 |
image: "icon_block_1.png", |
| 80 |
upsellText: |
| 81 |
"Add scalable icons to your tables to support text and enhance user engagement.", |
| 82 |
demoUrl: |
| 83 |
"https://tableberg.com/docs/how-to-add-icons-to-wordpress-tables/", |
| 84 |
}, |
| 85 |
{ |
| 86 |
name: "tableberg/star-rating", |
| 87 |
title: "Star Rating", |
| 88 |
icon: StarBlockIcon, |
| 89 |
isPro: true, |
| 90 |
image: "star_rating_block_1.png", |
| 91 |
upsellText: |
| 92 |
"Add customizable star ratings, perfect for reviews and comparison tables.", |
| 93 |
demoUrl: |
| 94 |
"https://tableberg.com/docs/how-to-add-star-rating-in-wordpress/", |
| 95 |
}, |
| 96 |
]; |
| 97 |
|
| 98 |
export const ENHANCED_FEATURES = [ |
| 99 |
{ |
| 100 |
name: "empty-cell", |
| 101 |
title: "Empty Cell", |
| 102 |
icon: blockIcon, |
| 103 |
upsellText: |
| 104 |
"<strong>Empty Cell</strong> is not available in the free version. Please get the PRO add-on to unlock all exclusive features.", |
| 105 |
}, |
| 106 |
{ |
| 107 |
name: "cell-orientation", |
| 108 |
title: "Cell Orientation", |
| 109 |
icon: blockIcon, |
| 110 |
upsellText: |
| 111 |
"<strong>Cell Orientation</strong> is not available in the free version. Please get the PRO add-on to unlock all exclusive features.", |
| 112 |
}, |
| 113 |
{ |
| 114 |
name: "sticky-top-row", |
| 115 |
title: "Sticky Top Row", |
| 116 |
icon: blockIcon, |
| 117 |
upsellText: |
| 118 |
"<strong>Sticky Top Row</strong> is not available in the free version. Please get the PRO add-on to unlock all exclusive features.", |
| 119 |
}, |
| 120 |
{ |
| 121 |
name: "sticky-first-col", |
| 122 |
title: "Sticky First Column", |
| 123 |
icon: blockIcon, |
| 124 |
upsellText: |
| 125 |
"<strong>Sticky First Column</strong> is not available in the free version. Please get the PRO add-on to unlock all exclusive features.", |
| 126 |
}, |
| 127 |
{ |
| 128 |
name: "cell-bg", |
| 129 |
title: "Individual Cell Background", |
| 130 |
icon: blockIcon, |
| 131 |
upsellText: |
| 132 |
"<strong>Individual Cell Background</strong> is not available in the free version. Please get the PRO add-on to unlock all exclusive features.", |
| 133 |
}, |
| 134 |
{ |
| 135 |
name: "row-bg", |
| 136 |
title: "Individual Row Background", |
| 137 |
icon: blockIcon, |
| 138 |
upsellText: |
| 139 |
"<strong>Individual Row Background</strong> is not available in the free version. Please get the PRO add-on to unlock all exclusive features.", |
| 140 |
}, |
| 141 |
{ |
| 142 |
name: "col-bg", |
| 143 |
title: "Individual Column Background", |
| 144 |
icon: blockIcon, |
| 145 |
upsellText: |
| 146 |
"<strong>Individual Column Background</strong> is not available in the free version. Please get the PRO add-on to unlock all exclusive features.", |
| 147 |
}, |
| 148 |
{ |
| 149 |
name: "col-border", |
| 150 |
title: "Individual Column Border", |
| 151 |
icon: blockIcon, |
| 152 |
upsellText: |
| 153 |
"<strong>Individual Column Border</strong> is not available in the free version. Please get the PRO add-on to unlock all exclusive features.", |
| 154 |
}, |
| 155 |
{ |
| 156 |
name: "col-border-radius", |
| 157 |
title: "Individual Column Border Radius", |
| 158 |
icon: blockIcon, |
| 159 |
upsellText: |
| 160 |
"<strong>Individual Column Border Radius</strong> is not available in the free version. Please get the PRO add-on to unlock all exclusive features.", |
| 161 |
}, |
| 162 |
{ |
| 163 |
name: "row-border", |
| 164 |
title: "Individual Row Border", |
| 165 |
icon: blockIcon, |
| 166 |
upsellText: |
| 167 |
"<strong>Individual Row Border</strong> is not available in the free version. Please get the PRO add-on to unlock all exclusive features.", |
| 168 |
}, |
| 169 |
{ |
| 170 |
name: "row-border-radius", |
| 171 |
title: "Individual Row Border Radius", |
| 172 |
icon: blockIcon, |
| 173 |
upsellText: |
| 174 |
"<strong>Individual Row Border Radius</strong> is not available in the free version. Please get the PRO add-on to unlock all exclusive features.", |
| 175 |
}, |
| 176 |
{ |
| 177 |
name: "duplicate-row-col", |
| 178 |
title: "Duplicate Rows and Columns", |
| 179 |
icon: blockIcon, |
| 180 |
upsellText: |
| 181 |
"<strong>Duplicate Rows and Columns</strong> is not available in the free version. Please get the PRO add-on to unlock all exclusive features.", |
| 182 |
}, |
| 183 |
{ |
| 184 |
name: "move-row-col", |
| 185 |
title: "Move Rows and Columns", |
| 186 |
icon: blockIcon, |
| 187 |
upsellText: |
| 188 |
"<strong>Move Rows and Columns</strong> is not available in the free version. Please get the PRO add-on to unlock all exclusive features.", |
| 189 |
}, |
| 190 |
{ |
| 191 |
name: "row-only-border", |
| 192 |
title: "Row Only Border", |
| 193 |
icon: blockIcon, |
| 194 |
upsellText: |
| 195 |
"<strong>Row Only Border</strong> is not available in the free version. Please get the PRO add-on to unlock all exclusive features.", |
| 196 |
}, |
| 197 |
{ |
| 198 |
name: "col-only-border", |
| 199 |
title: "Column Only Border", |
| 200 |
icon: blockIcon, |
| 201 |
upsellText: |
| 202 |
"<strong>Column Only Border</strong> is not available in the free version. Please get the PRO add-on to unlock all exclusive features.", |
| 203 |
}, |
| 204 |
{ |
| 205 |
name: "search", |
| 206 |
title: "Search", |
| 207 |
icon: blockIcon, |
| 208 |
upsellText: |
| 209 |
"<strong>Search</strong> is not available in the free version. Please get the PRO add-on to unlock all exclusive features.", |
| 210 |
}, |
| 211 |
{ |
| 212 |
name: "sorting", |
| 213 |
title: "Sorting", |
| 214 |
icon: blockIcon, |
| 215 |
upsellText: |
| 216 |
"<strong>Sorting</strong> is not available in the free version. Please get the PRO add-on to unlock all exclusive features.", |
| 217 |
}, |
| 218 |
{ |
| 219 |
name: "product-table", |
| 220 |
title: "Product Table", |
| 221 |
icon: blockIcon, |
| 222 |
upsellText: |
| 223 |
"<strong>Product Table</strong> is not available in the free version. Please get the PRO add-on to unlock all exclusive features.", |
| 224 |
}, |
| 225 |
{ |
| 226 |
name: "ai-table", |
| 227 |
title: "AI Table", |
| 228 |
icon: AITableIcon, |
| 229 |
isPro: true, |
| 230 |
upsellText: |
| 231 |
"Generate tables instantly using AI from any content. Simply provide text, URLs, or prompts and let AI create structured tables for you.", |
| 232 |
}, |
| 233 |
] as const; |
| 234 |
|