@ecomcx/ecomweb-editor 1.33.0 → 1.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/package.json +3 -3
  2. package/src/locales/en/attrs.ts +2 -1
  3. package/src/locales/en/background.ts +5 -0
  4. package/src/locales/en/bindings.ts +4 -0
  5. package/src/locales/en/block-desc.ts +4 -11
  6. package/src/locales/en/block-style.ts +17 -6
  7. package/src/locales/en/block-titles.ts +38 -16
  8. package/src/locales/en/blocks.ts +36 -6
  9. package/src/locales/en/columns.ts +1 -0
  10. package/src/locales/en/controls.ts +1 -1
  11. package/src/locales/en/hints.ts +241 -12
  12. package/src/locales/en/index.ts +3 -1
  13. package/src/locales/en/layout.ts +13 -0
  14. package/src/locales/en/motion.ts +16 -0
  15. package/src/locales/en/palette.ts +8 -0
  16. package/src/locales/en/parts.ts +2 -1
  17. package/src/locales/en/pattern-overrides.ts +14 -0
  18. package/src/locales/en/placeholders.ts +6 -3
  19. package/src/locales/en/v2.ts +2 -0
  20. package/src/locales/vi/attrs.ts +3 -2
  21. package/src/locales/vi/background.ts +5 -0
  22. package/src/locales/vi/bindings.ts +4 -0
  23. package/src/locales/vi/block-desc.ts +7 -14
  24. package/src/locales/vi/block-style.ts +18 -7
  25. package/src/locales/vi/block-titles.ts +48 -26
  26. package/src/locales/vi/blocks.ts +36 -6
  27. package/src/locales/vi/columns.ts +1 -0
  28. package/src/locales/vi/controls.ts +1 -1
  29. package/src/locales/vi/hints.ts +241 -12
  30. package/src/locales/vi/index.ts +3 -1
  31. package/src/locales/vi/layout.ts +13 -0
  32. package/src/locales/vi/motion.ts +16 -0
  33. package/src/locales/vi/palette.ts +8 -0
  34. package/src/locales/vi/parts.ts +2 -1
  35. package/src/locales/vi/pattern-overrides.ts +14 -0
  36. package/src/locales/vi/placeholders.ts +7 -4
  37. package/src/locales/vi/v2.ts +2 -0
  38. package/src/v2/blocks/columns-inspector.tsx +11 -2
  39. package/src/v2/blocks/index.ts +9 -6
  40. package/src/v2/blocks/layout-options.tsx +80 -0
  41. package/src/v2/blocks/layout.tsx +331 -124
  42. package/src/v2/blocks/media.tsx +51 -21
  43. package/src/v2/blocks/resize.tsx +50 -19
  44. package/src/v2/blocks/social-icons.ts +22 -0
  45. package/src/v2/blocks/text.tsx +12 -50
  46. package/src/v2/blocks/theme.tsx +13 -19
  47. package/src/v2/blocks/tools.tsx +24 -2
  48. package/src/v2/blocks/widgets.tsx +84 -28
  49. package/src/v2/canvas/block-list.tsx +30 -4
  50. package/src/v2/canvas/canvas-css.ts +81 -9
  51. package/src/v2/canvas/canvas.tsx +63 -7
  52. package/src/v2/canvas/dnd.ts +7 -0
  53. package/src/v2/canvas/variation-picker.tsx +63 -0
  54. package/src/v2/context.tsx +48 -0
  55. package/src/v2/core/bindings.ts +6 -1
  56. package/src/v2/core/block-presets.ts +10 -0
  57. package/src/v2/core/clipboard.ts +5 -5
  58. package/src/v2/core/host.ts +2 -0
  59. package/src/v2/core/model.ts +6 -6
  60. package/src/v2/core/registry.ts +15 -0
  61. package/src/v2/core/store.ts +9 -9
  62. package/src/v2/core/structure.ts +1 -3
  63. package/src/v2/editor.css +74 -0
  64. package/src/v2/editor.tsx +22 -7
  65. package/src/v2/text/rich-text.tsx +20 -5
  66. package/src/v2/ui/ai-markdown.ts +52 -0
  67. package/src/v2/ui/ai.tsx +81 -14
  68. package/src/v2/ui/attr-form.tsx +26 -6
  69. package/src/v2/ui/attr-hints.ts +115 -16
  70. package/src/v2/ui/background-panel.tsx +22 -0
  71. package/src/v2/ui/bg-video-preview.tsx +7 -0
  72. package/src/v2/ui/bindings.tsx +7 -2
  73. package/src/v2/ui/block-icons.tsx +3 -10
  74. package/src/v2/ui/block-live-preview.tsx +21 -0
  75. package/src/v2/ui/block-style-panel.tsx +3 -1
  76. package/src/v2/ui/command-palette.tsx +125 -0
  77. package/src/v2/ui/icon-picker.tsx +88 -21
  78. package/src/v2/ui/icon-svg.tsx +21 -0
  79. package/src/v2/ui/inserter.tsx +62 -12
  80. package/src/v2/ui/inspector.tsx +12 -6
  81. package/src/v2/ui/layout-panel.tsx +1 -1
  82. package/src/v2/ui/motion-panel.tsx +22 -13
  83. package/src/v2/ui/option-thumbs.tsx +81 -0
  84. package/src/v2/ui/pattern-library.tsx +2 -1
  85. package/src/v2/ui/pattern-overrides.tsx +67 -0
  86. package/src/v2/ui/placeholders.tsx +21 -2
  87. package/src/v2/ui/preset-bar.tsx +5 -5
  88. package/src/v2/ui/style-supports.ts +2 -3
  89. package/src/v2/ui/style-tab.tsx +83 -20
  90. package/src/v2/ui/toolbar.tsx +40 -6
  91. package/src/v2/ui/transform-panel.tsx +77 -0
@@ -24,11 +24,8 @@ export const hints = {
24
24
  "file.src.label": "File",
25
25
  "video.src.label": "Video URL",
26
26
  "audio.src.label": "Audio URL",
27
- "youtube.src.label": "YouTube link",
28
- "youtube.start.label": "Start at second",
29
27
  "image.src.label": "Image URL",
30
28
  "cover.src.label": "Background image",
31
- "pullquote.citation.label": "Citation",
32
29
  "heading.level.help": "The page / post title is already the H1 — start content headings at H2 and don't skip levels (SEO).",
33
30
  "queryTitle.level.help": "Archive / search pages should have exactly one H1 — this block.",
34
31
  "breadcrumbs.separator.opt.\u203a": "›",
@@ -43,14 +40,9 @@ export const hints = {
43
40
  "columns.verticalAlign.opt.top": "Top",
44
41
  "columns.verticalAlign.opt.center": "Middle",
45
42
  "columns.verticalAlign.opt.bottom": "Bottom",
46
- "mediaText.verticalAlign.opt.top": "Top",
47
- "mediaText.verticalAlign.opt.center": "Middle",
48
- "mediaText.verticalAlign.opt.bottom": "Bottom",
49
43
  "cover.contentAlign.opt.top": "Top",
50
44
  "cover.contentAlign.opt.center": "Middle",
51
45
  "cover.contentAlign.opt.bottom": "Bottom",
52
- "mediaText.position.opt.left": "Media left",
53
- "mediaText.position.opt.right": "Media right",
54
46
  "buttons.align.opt.left": "Left",
55
47
  "buttons.align.opt.center": "Center",
56
48
  "buttons.align.opt.right": "Right",
@@ -71,10 +63,6 @@ export const hints = {
71
63
  "button.ariaLabel.help": "Read instead of the button text when the text is not clear enough (e.g. \"More\" → \"More about the Pro plan\").",
72
64
  "button.rel.help": "e.g. nofollow, sponsored",
73
65
  "spacer.height.help": "Theme size (xs → 2xl) or a length (e.g. 3rem, 80px)",
74
- "callout.tone.opt.info": "Info",
75
- "callout.tone.opt.success": "Success",
76
- "callout.tone.opt.warning": "Warning",
77
- "callout.tone.opt.danger": "Danger",
78
66
  "image.align.opt.left": "Left",
79
67
  "image.align.opt.center": "Center",
80
68
  "image.align.opt.right": "Right",
@@ -156,6 +144,20 @@ export const hints = {
156
144
  "gallery.imageCrop.label": "Crop images to fit",
157
145
  "gallery.lightbox.label": "Enlarge on click",
158
146
  "image.lightbox.label": "Enlarge on click",
147
+ "table.striped.label": "Striped rows",
148
+ "table.hoverRows.label": "Highlight row on hover",
149
+ "table.lines.label": "Lines",
150
+ "table.lines.opt.all": "All",
151
+ "table.lines.opt.rows": "Between rows",
152
+ "table.lines.opt.columns": "Between columns",
153
+ "table.lines.opt.none": "None",
154
+ "table.density.label": "Cell spacing",
155
+ "table.density.opt.compact": "Compact",
156
+ "table.density.opt.normal": "Normal",
157
+ "table.density.opt.roomy": "Roomy",
158
+ "table.stickyHead.label": "Sticky header row when scrolling",
159
+ "table.stickyHead.help": "A long table scrolls inside a 70%-height frame with the header row pinned",
160
+ "table.caption.label": "Table caption",
159
161
  "countdown.expiredText.label": "Text when expired",
160
162
  "navigation.overlayMenu.label": "Collapse into menu button",
161
163
  "navigation.overlayMenu.opt.never": "Never",
@@ -185,6 +187,9 @@ export const hints = {
185
187
  "loginout.logoutText.label": "“Log out” text",
186
188
  "pageList.parentId.label": "Only children of (page ID)",
187
189
  "archives.showCount.label": "Show post count",
190
+ "icon.tooltip.label": "Hover tooltip",
191
+ "icon.tooltip.placeholder": "e.g. Call now",
192
+ "icon.tooltip.help": "Shown as a small box above the icon on hover or keyboard focus.",
188
193
  "icon.name.opt.check": "Check",
189
194
  "icon.name.opt.x": "X",
190
195
  "icon.name.opt.star": "Star",
@@ -241,7 +246,102 @@ export const hints = {
241
246
  "iconBox.position.label": "Icon position",
242
247
  "iconBox.position.opt.top": "Top",
243
248
  "iconBox.position.opt.left": "Left",
249
+ "imageOverlay.src.label": "Image",
250
+ "imageOverlay.subtitle.label": "Subtitle",
251
+ "imageOverlay.linkTarget.label": "Open link",
252
+ "imageOverlay.ratio.label": "Aspect ratio",
253
+ "imageOverlay.hAlign.label": "Horizontal text align",
254
+ "imageOverlay.vAlign.label": "Vertical text align",
255
+ "imageOverlay.subtitleMode.label": "Show subtitle",
256
+ "imageOverlay.imageEffect.label": "Image effect on hover",
257
+ "imageOverlay.overlayColor.label": "Overlay colour",
258
+ "imageOverlay.overlayOpacity.label": "Strength on hover",
259
+ "imageOverlay.restOpacity.label": "Strength at rest",
260
+ "imageOverlay.frame.label": "White frame on hover",
261
+ "imageOverlay.frameInset.label": "Frame inset",
262
+ "imageOverlay.divider.label": "Short rule under the title",
263
+ "imageOverlay.linkTarget.opt._self": "Same tab",
264
+ "imageOverlay.linkTarget.opt._blank": "New tab",
265
+ "imageOverlay.ratio.opt.auto": "Image size",
266
+ "imageOverlay.ratio.opt.1/1": "1/1",
267
+ "imageOverlay.ratio.opt.4/3": "4/3",
268
+ "imageOverlay.ratio.opt.3/2": "3/2",
269
+ "imageOverlay.ratio.opt.16/9": "16/9",
270
+ "imageOverlay.ratio.opt.3/4": "3/4",
271
+ "imageOverlay.ratio.opt.2/3": "2/3",
272
+ "imageOverlay.hAlign.opt.left": "Left",
273
+ "imageOverlay.hAlign.opt.center": "Center",
274
+ "imageOverlay.hAlign.opt.right": "Right",
275
+ "imageOverlay.vAlign.opt.top": "Top",
276
+ "imageOverlay.vAlign.opt.center": "Middle",
277
+ "imageOverlay.vAlign.opt.bottom": "Bottom",
278
+ "imageOverlay.subtitleMode.opt.hover": "On hover",
279
+ "imageOverlay.subtitleMode.opt.always": "Always",
280
+ "imageOverlay.imageEffect.opt.none": "None",
281
+ "imageOverlay.imageEffect.opt.zoom": "Zoom",
282
+ "imageOverlay.imageEffect.opt.grayscale": "Grayscale",
283
+ "imageOverlay.imageEffect.opt.blur": "Blur",
284
+ "imageOverlay.imageEffect.opt.slide": "Slide",
285
+ "imageOverlay.restOpacity.help": "At 0 the colour layer only shows on hover; raise it for a light tint at rest.",
286
+ "popup.triggerStyle.label": "Open button style",
287
+ "popup.triggerAlign.label": "Open button alignment",
288
+ "popup.size.label": "Dialog width",
289
+ "popup.anim.label": "Open animation",
290
+ "popup.overlayOpacity.label": "Backdrop darkness",
291
+ "popup.vAlign.label": "Dialog position",
292
+ "popup.closeButton.label": "Show close button ×",
293
+ "popup.closeOnOverlay.label": "Click the backdrop to close",
294
+ "popup.label.label": "Dialog name (for screen readers)",
295
+ "popup.triggerStyle.opt.primary": "Solid button",
296
+ "popup.triggerStyle.opt.outline": "Outline button",
297
+ "popup.triggerStyle.opt.link": "Text link",
298
+ "popup.triggerStyle.opt.play": "Video play button",
299
+ "popup.popupId.label": "Opening ID",
300
+ "popup.popupId.help": "Lowercase letters, digits, hyphens (e.g. promo). Point any link or button to #popup-promo (or use data-popup-open) to open this popup from anywhere.",
301
+ "popup.popupId.placeholder": "promo",
302
+ "popup.autoOpen.label": "Open automatically",
303
+ "popup.autoOpen.help": "The popup opens without a click. Set “Show once” so you do not annoy visitors.",
304
+ "popup.autoOpen.opt.none": "Never",
305
+ "popup.autoOpen.opt.delay": "After a few seconds",
306
+ "popup.autoOpen.opt.scroll": "After scrolling",
307
+ "popup.autoOpen.opt.exit": "On exit intent (desktop)",
308
+ "popup.autoOpen.opt.idle": "When idle",
309
+ "popup.autoDelay.label": "Seconds",
310
+ "popup.autoScroll.label": "Scroll to (%)",
311
+ "popup.onceDays.label": "Show once (days remembered)",
312
+ "popup.onceDays.help": "0 = every page load. Needs an Opening ID to remember.",
313
+ "popup.triggerImage.label": "Play button cover image",
314
+ "popup.triggerImage.help": "Image address (/uploads/… path or https). Put a video or YouTube block in the popup content to make a Video Popup.",
315
+ "popup.triggerAlign.opt.left": "Left",
316
+ "popup.triggerAlign.opt.center": "Center",
317
+ "popup.triggerAlign.opt.right": "Right",
318
+ "popup.size.opt.sm": "Small",
319
+ "popup.size.opt.md": "Medium",
320
+ "popup.size.opt.lg": "Large",
321
+ "popup.size.opt.xl": "Extra large",
322
+ "popup.anim.opt.fade": "Fade",
323
+ "popup.anim.opt.up": "Slide up",
324
+ "popup.anim.opt.zoom": "Zoom",
325
+ "popup.anim.opt.none": "None",
326
+ "popup.vAlign.opt.top": "Near top",
327
+ "popup.vAlign.opt.center": "Screen centre",
328
+ "popup.label.help": "Defaults to the button text. Give a short name if the button text does not say what the dialog holds.",
329
+ "testimonials.layout.label": "Layout",
330
+ "testimonials.columns.label": "Columns (desktop)",
331
+ "testimonials.columnsTablet.label": "Columns (tablet)",
332
+ "testimonials.columnsMobile.label": "Columns (phone)",
333
+ "testimonials.gap.label": "Gap between cards",
334
+ "testimonials.arrows.label": "Previous / next buttons",
335
+ "testimonials.dots.label": "Position dots",
336
+ "testimonials.autoplay.label": "Autoplay",
337
+ "testimonials.interval.label": "Seconds between slides",
338
+ "testimonials.loop.label": "Loop back after the last card",
339
+ "testimonials.layout.opt.grid": "Grid",
340
+ "testimonials.layout.opt.carousel": "Slider",
341
+ "testimonials.gap.help": "A length with unit (e.g. 1.5rem, 24px) or a theme size. Empty = 1.5rem.",
244
342
  "imageBox.src.label": "Image",
343
+ "testimonial.mediaIcon.label": "Icon instead of avatar",
344
+ "testimonial.mediaIcon.help": "Used when there is no avatar image: shows a round icon beside the reviewer name.",
245
345
  "testimonial.src.label": "Avatar",
246
346
  "counter.start.label": "Count from",
247
347
  "counter.prefix.label": "Prefix (e.g. ~, $)",
@@ -293,6 +393,10 @@ export const hints = {
293
393
  "progressBar.prefix.label": "Number prefix",
294
394
  "progressBar.suffix.label": "Number suffix",
295
395
  "progressBar.suffix.help": "Empty = \"%\".",
396
+ "progressBar.shape.label": "Shape",
397
+ "progressBar.shape.opt.bar": "Bar",
398
+ "progressBar.shape.opt.circle": "Circle",
399
+ "progressBar.shape.opt.half": "Half circle",
296
400
  "progressBar.textPosition.label": "Text position",
297
401
  "progressBar.textPosition.opt.above": "Above",
298
402
  "progressBar.textPosition.opt.inside": "Inside",
@@ -333,6 +437,11 @@ export const hints = {
333
437
  "tableOfContents.smoothScroll.label": "Smooth scroll to item",
334
438
  "tableOfContents.highlight.label": "Highlight the item being read",
335
439
  "formField.width.opt.third": "1/3 row",
440
+ "formField.showIf.label": "Show only when",
441
+ "formField.showIf.help": "Condition on another field: name=value (equals), name!=value (differs) or just name (filled in). A hidden field is not required and not sent.",
442
+ "formField.showIf.placeholder": "topic=Other",
443
+ "formField.step.label": "Step (multi-step form)",
444
+ "formField.step.help": "Give fields a step number (1–8) to split the form into steps with Next / Back buttons. Empty = step 1.",
336
445
  "formField.autocomplete.label": "Browser autofill",
337
446
  "formField.autocomplete.help": "Helps people fill the form quickly on phones.",
338
447
  "formField.autocomplete.opt.off": "Off",
@@ -486,6 +595,15 @@ export const hints = {
486
595
  "queryFilter.allLabel.label": "All label",
487
596
  "queryFilter.allLabel.placeholder": "All",
488
597
  "queryFilter.showSearch.label": "Show search",
598
+ "queryFilter.showRange.label": "Show range filter (from – to)",
599
+ "queryFilter.rangeParam.label": "Range filter name",
600
+ "queryFilter.rangeParam.help": "Lowercase, underscores (e.g. price). Sent in the address as ?fq_price_min= and ?fq_price_max=; a plugin (like the shop) reads these to filter.",
601
+ "queryFilter.rangeParam.placeholder": "price",
602
+ "queryFilter.rangeLabel.label": "Range label", "queryFilter.rangeLabel.placeholder": "Price",
603
+ "queryFilter.rangeMax.label": "Largest value allowed",
604
+ "queryFilter.termStyle.opt.checks": "Checkboxes (multi-select)",
605
+ "queryFilter.showYear.label": "Show year picker",
606
+ "queryFilter.showReset.label": "Show Clear filters button",
489
607
  "queryFilter.showSort.label": "Show sorting",
490
608
  "queryFilter.sortOptions.label": "Sort choices",
491
609
  "queryFilter.sortOptions.help": "Pick from: date_desc, date_asc, title_asc, title_desc, modified_desc, rand",
@@ -501,6 +619,14 @@ export const hints = {
501
619
  "gallery.layout.label": "Layout",
502
620
  "gallery.layout.opt.grid": "Even grid",
503
621
  "gallery.layout.opt.masonry": "Masonry",
622
+ "gallery.layout.opt.mosaic": "Mosaic (big first image)",
623
+ "gallery.layout.opt.tiles": "Tiles (mixed sizes)",
624
+ "gallery.layout.opt.thumbs": "Big image + thumbnails",
625
+ "gallery.captionStyle.label": "Caption style",
626
+ "gallery.captionStyle.opt.below": "Below image",
627
+ "gallery.captionStyle.opt.hover": "On hover",
628
+ "gallery.captionStyle.opt.overlay": "Over image",
629
+ "gallery.layout.opt.slider": "Slider",
504
630
  "form.inputSize.label": "Input size",
505
631
  "form.inputSize.opt.sm": "Small",
506
632
  "form.inputSize.opt.md": "Medium",
@@ -511,6 +637,101 @@ export const hints = {
511
637
  "map.title.help": "For screen readers; empty = the address",
512
638
  "map.zoom.label": "Zoom",
513
639
  "map.height.label": "Height",
640
+ "carousel.effect.label": "Transition",
641
+ "carousel.effect.opt.slide": "Slide",
642
+ "carousel.effect.opt.fade": "Fade",
643
+ "carousel.speed.label": "Transition speed",
644
+ "carousel.heightMode.label": "Slide height",
645
+ "carousel.heightMode.opt.auto": "Fit content",
646
+ "carousel.heightMode.opt.ratio": "Aspect ratio",
647
+ "carousel.heightMode.opt.min": "Minimum",
648
+ "carousel.ratio.label": "Aspect ratio",
649
+ "carousel.ratio.opt.16/9": "16/9",
650
+ "carousel.ratio.opt.4/3": "4/3",
651
+ "carousel.ratio.opt.3/2": "3/2",
652
+ "carousel.ratio.opt.1/1": "1/1",
653
+ "carousel.ratio.opt.21/9": "21/9",
654
+ "carousel.ratio.opt.3/1": "3/1",
655
+ "carousel.minHeight.label": "Minimum height",
656
+ "carousel.arrowStyle.label": "Arrow style",
657
+ "carousel.arrowStyle.opt.circle": "Round",
658
+ "carousel.arrowStyle.opt.square": "Square",
659
+ "carousel.arrowStyle.opt.plain": "Arrow only",
660
+ "carousel.arrowStyle.opt.light": "Light fill",
661
+ "carousel.arrowPos.label": "Arrow position",
662
+ "carousel.arrowPos.opt.center": "Middle sides",
663
+ "carousel.arrowPos.opt.bottom": "Bottom",
664
+ "carousel.dotStyle.label": "Dot style",
665
+ "carousel.dotStyle.opt.dot": "Dots",
666
+ "carousel.dotStyle.opt.line": "Bars",
667
+ "carousel.dotStyle.opt.light": "White over slide",
668
+ "carousel.hoverPause.label": "Pause on hover",
669
+ "carousel.minHeight.help": "A number with unit, e.g. 24rem or 400px. Shorter slides are stretched.",
670
+ "countdown.expireAction.label": "When time is up",
671
+ "countdown.redirectUrl.label": "Redirect to",
672
+ "countdown.repeat.label": "Repeat",
673
+ "countdown.evergreenReset.label": "Restart after",
674
+ "countdown.pauseButton.label": "Pause button for visitors",
675
+ "countdown.expireAction.opt.zero": "Stay at 0",
676
+ "countdown.expireAction.opt.message": "Show replacement text",
677
+ "countdown.expireAction.opt.hide": "Hide the timer",
678
+ "countdown.expireAction.opt.redirect": "Go to another page",
679
+ "countdown.repeat.opt.none": "No repeat",
680
+ "countdown.repeat.opt.daily": "Every day",
681
+ "countdown.repeat.opt.weekly": "Every week",
682
+ "countdown.repeat.opt.monthly": "Every month",
683
+ "countdown.repeat.opt.yearly": "Every year",
684
+ "countdown.redirectUrl.help": "A path on the site (e.g. /thanks) or a full address. Unsafe addresses are dropped.",
685
+ "countdown.evergreenReset.help": "Set 0 so each visitor only counts once, ever.",
686
+ "spacer.line.label": "Show a line in the middle",
687
+ "spacer.lineStyle.label": "Line style",
688
+ "spacer.lineWeight.label": "Thickness",
689
+ "spacer.lineWidth.label": "Line length",
690
+ "spacer.lineAlign.label": "Line alignment",
691
+ "spacer.lineColor.label": "Line colour",
692
+ "spacer.lineStyle.opt.solid": "Solid",
693
+ "spacer.lineStyle.opt.dashed": "Dashed",
694
+ "spacer.lineStyle.opt.dotted": "Dotted",
695
+ "spacer.lineStyle.opt.double": "Double",
696
+ "spacer.lineAlign.opt.left": "Left",
697
+ "spacer.lineAlign.opt.center": "Center",
698
+ "spacer.lineAlign.opt.right": "Right",
699
+ "image.ratio.label": "Aspect ratio",
700
+ "image.ratio.opt.auto": "Image size",
701
+ "image.ratio.opt.1/1": "1/1",
702
+ "image.ratio.opt.4/3": "4/3",
703
+ "image.ratio.opt.3/2": "3/2",
704
+ "image.ratio.opt.16/9": "16/9",
705
+ "image.ratio.opt.21/9": "21/9",
706
+ "image.ratio.opt.3/4": "3/4",
707
+ "image.ratio.opt.2/3": "2/3",
708
+ "cover.videoSrc.label": "Background video (mp4 / webm)",
709
+ "cover.videoSrc.help": "Paste a video path from the library or an https address. Autoplays muted on loop; the cover image is the poster. Keep it under 5 MB. Visitors who prefer reduced motion only see the image.",
710
+ "button.tooltip.label": "Hover tooltip",
711
+ "button.tooltip.help": "A small note shown when hovering the button; also helps screen-reader users understand what it does.",
712
+ "heading.typedWords.label": "Typed words at the end",
713
+ "heading.typedWords.help": "Words separated by |, e.g. websites | apps | brands. The website types them one after another; visitors who prefer reduced motion see only the first.",
714
+ "heading.typedWords.placeholder": "websites | apps | brands",
715
+ "heading.typedSpeed.label": "Typing speed",
716
+ "heading.typedPause.label": "Pause between words",
717
+ "heading.typedLoop.label": "Loop",
718
+ "group.href.label": "Link the whole block",
719
+ "group.href.help": "Set an address and clicking anywhere in the block opens it (a clickable card). Avoid other links inside the block.",
720
+ "group.href.placeholder": "https://… or /path",
721
+ "heading.htmlTag.label": "Use another tag",
722
+ "heading.htmlTag.help": "Only swaps the HTML tag (e.g. <p> or <span> with heading styling). Real headings for SEO should stay H1–H6; other tags are left out of the table of contents.",
723
+ "heading.htmlTag.opt.": "Heading (by level)",
724
+ "heading.htmlTag.opt.p": "Paragraph <p>", "heading.htmlTag.opt.span": "<span>", "heading.htmlTag.opt.div": "<div>",
725
+ "group.collapseFade.label": "Fade at the cut edge", "group.collapseOnce.label": "Hide the button after opening",
726
+ "group.collapseHeight.label": "Collapse to height (Show more)",
727
+ "group.collapseHeight.help": "Empty = show everything. Enter a height (e.g. 12rem) and the website cuts the block there with a Show more button. The editor always shows it in full.",
728
+ "group.collapseHeight.placeholder": "12rem",
729
+ "group.moreText.label": "Expand button text",
730
+ "group.moreText.placeholder": "Show more",
731
+ "group.lessText.label": "Collapse button text",
732
+ "group.lessText.placeholder": "Show less",
733
+ "group.linkLabel.label": "Link name (for screen readers)",
734
+ "group.linkLabel.help": "Describe where the link goes, e.g. “See the summer collection”.",
514
735
  "map.mapType.label": "Map type",
515
736
  "map.mapType.opt.roadmap": "Roadmap",
516
737
  "map.mapType.opt.satellite": "Satellite",
@@ -526,6 +747,14 @@ export const hints = {
526
747
  "heading.iconPosition.opt.right": "After text",
527
748
  "heading.iconTitle.label": "Icon tooltip",
528
749
  "heading.iconTitle.help": "Shown when hovering the heading.",
750
+ "heading.href.label": "Link the whole heading",
751
+ "heading.href.help": "Clicking the heading opens this address (keeps the heading color). To link part of the text, select it and use the link button.",
752
+ "heading.href.placeholder": "https://… or /path",
753
+ "heading.linkRel.label": "Link type",
754
+ "heading.linkRel.opt.": "Normal",
755
+ "heading.linkRel.opt.nofollow": "No follow",
756
+ "heading.linkRel.opt.sponsored": "Sponsored",
757
+ "heading.linkRel.opt.nofollow sponsored": "Sponsored, no follow",
529
758
  "heading.tocTitle.label": "Name in table of contents",
530
759
  "heading.tocTitle.help": "Leave empty to use the heading's own text.",
531
760
  };
@@ -21,6 +21,8 @@ import { patternLib } from "./pattern-lib";
21
21
  import { shortcuts } from "./shortcuts";
22
22
  import { placeholders } from "./placeholders";
23
23
  import { library } from "./library";
24
+ import { palette } from "./palette";
25
+ import { patternOverrides } from "./pattern-overrides";
24
26
 
25
27
  /** Tiếng Anh: đủ khoá như vi/ (thiếu khoá là lỗi biên dịch) và là ngôn ngữ dự phòng của mọi ngôn ngữ khác. */
26
- export const en: typeof vi = { v2, legacy, attrs, background, bindings, blockStyle, blockDesc, blockTitles, blocks, controls, columns, hints, parts, presets, layout, legacyBasic, legacyDynamic, motion, library, patternLib, placeholders, shortcuts };
28
+ export const en: typeof vi = { patternOverrides, v2, legacy, attrs, background, bindings, blockStyle, blockDesc, blockTitles, blocks, controls, columns, hints, parts, presets, layout, legacyBasic, legacyDynamic, motion, library, patternLib, placeholders, shortcuts, palette };
@@ -21,6 +21,18 @@ export const layout = {
21
21
  none: "None",
22
22
  shadow: "Shadow",
23
23
  ratio: "Aspect ratio",
24
+ customCss: "Custom CSS", customCssHelp: "CSS that only affects this block — use \"selector\" for the block itself. Example: selector:hover { opacity: .8 }", customCssDropped: "Removed unsafe part", customCssExample: "selector { box-shadow: 0 4px 12px #0002 }\nselector:hover { opacity: .85 }\nselector img { border-radius: 8px }",
25
+ backdrop: "Frosted glass", backdropBlur: "Blur what is behind", backdropHelp: "Blurs the page behind this block (glass effect). Works best with a slightly transparent background colour.",
26
+ inheritedValue: "inherited", placeTitle: "Position", placeType: "Positioning", placeTypeRelative: "Relative", placeTypeAbsolute: "Absolute", placeTypeFixed: "Fixed",
27
+ placeTop: "Top", placeRight: "Right", placeBottom: "Bottom", placeLeft: "Left",
28
+ placeHelpRelative: "Keeps its place in the layout, then shifts by the values above (does not push other blocks).",
29
+ placeHelpAbsolute: "Leaves the layout and sits by the edges of its parent (the parent becomes the anchor). For badges and images overlapping other blocks.",
30
+ placeHelpFixed: "Sticks to the screen while scrolling (floating buttons, bars). Set the phone view so it does not cover content.",
31
+ transformTitle: "Transform", rotate: "Rotate", scale: "Scale", skewX: "Skew X", skewY: "Skew Y", moveX: "Move X", moveY: "Move Y", origin: "Origin",
32
+ origin_top_left: "Top left", origin_top: "Top", origin_top_right: "Top right", origin_left: "Left", origin_center: "Center", origin_right: "Right", origin_bottom_left: "Bottom left", origin_bottom: "Bottom", origin_bottom_right: "Bottom right",
33
+ audience: "Who can see it", audienceAll: "Everyone", audienceGuest: "Guests only (not signed in)", audienceUser: "Signed-in members only", audienceHelp: "Hidden in the browser only; do not use for confidential content. The editor still shows it so you can edit.",
34
+ schedule: "Schedule", scheduleFrom: "Show from", scheduleUntil: "Show until", scheduleHelp: "The website only shows this block within this range (your device time). The editor still shows it so you can edit. Cached pages may lag a few minutes.",
35
+ hoverPreview: "Preview hover state", hoverPreviewHelp: "Show the block as if hovered, to tune its hover colours, border and shadow",
24
36
  sticky: "Sticky",
25
37
  top: "Top offset",
26
38
  hover: "Hover",
@@ -58,6 +70,7 @@ export const layout = {
58
70
  divider_tilt: "Tilt",
59
71
  divider_triangle: "Triangle",
60
72
  divider_zigzag: "Zigzag",
73
+ divider_arrow: "Arrow", divider_stairs: "Stairs", divider_ripple: "Double wave", divider_mountains: "Mountains",
61
74
  textShadow: "Text shadow",
62
75
  tsX: "Offset X",
63
76
  tsY: "Offset Y",
@@ -14,6 +14,12 @@ export const motion = {
14
14
  stagger: "Reveal children one by one",
15
15
  hover: "Hover effect",
16
16
  plugin: "Plugin",
17
+ ease: "Easing",
18
+ eases: { smooth: "Smooth", snappy: "Snappy", bounce: "Bounce", linear: "Linear" },
19
+ loop: "Looping motion",
20
+ loops: { float: "Float up and down", pulse: "Pulse", spin: "Spin", swing: "Gentle swing" },
21
+ parallax: "Scroll parallax",
22
+ parallaxes: { slow: "Slow", fast: "Fast", reverse: "Reverse" },
17
23
  in: {
18
24
  fade: "Fade",
19
25
  "slide-up": "Slide up",
@@ -23,11 +29,21 @@ export const motion = {
23
29
  "zoom-in": "Zoom in",
24
30
  "zoom-out": "Zoom out",
25
31
  "blur-in": "Blur in",
32
+ "flip-x": "Flip horizontal",
33
+ "flip-y": "Flip vertical",
34
+ "rotate-in": "Rotate in",
35
+ "bounce-in": "Bounce in",
36
+ "reveal-up": "Reveal upward",
37
+ "reveal-left": "Reveal from left",
26
38
  },
27
39
  hv: {
28
40
  lift: "Lift",
29
41
  grow: "Grow",
30
42
  brighten: "Brighten",
31
43
  glow: "Glow",
44
+ rotate: "Slight rotate",
45
+ tilt: "3D tilt",
46
+ gray: "Grey to colour",
47
+ shrink: "Shrink",
32
48
  },
33
49
  };
@@ -0,0 +1,8 @@
1
+ /** Command palette (⌘⇧P / Ctrl+Shift+P): quickly find an action, a view, a block to insert, or jump to a block on the page. */
2
+ export const palette: typeof import("../vi/palette").palette = {
3
+ title: "Command palette", placeholder: "Type a command, a block to insert or text on the page…", empty: "No matching command", hint: "↑ ↓ choose · Enter run · Esc close",
4
+ groupActions: "Actions", groupView: "View", groupInsert: "Insert block", groupGoto: "Go to block",
5
+ save: "Save", undo: "Undo", redo: "Redo", selectParent: "Select parent block", duplicate: "Duplicate selected block", remove: "Delete selected block", moveUp: "Move block up", moveDown: "Move block down", copyStyle: "Copy selected block style", pasteStyle: "Paste style onto selected block",
6
+ desktop: "Preview desktop", tablet: "Preview tablet", mobile: "Preview phone", listView: "Toggle block list", settings: "Toggle settings panel", inserter: "Open block inserter", zoomOut: "Zoom out to rearrange", library: "Open pattern library",
7
+ insert: "Insert", goto: "Go to",
8
+ };
@@ -1,7 +1,8 @@
1
1
  /** Block parts (content 1.26 PartSpec) and their controls. */
2
2
  export const parts = {
3
+ frame: "Frame", subtitle: "Subtitle",
3
4
  box: "Box", icon: "Icon", title: "Title", text: "Description", image: "Image", quote: "Quote", avatar: "Avatar", name: "Name", role: "Role",
4
- quoteMark: "Quote mark", rating: "Star rating", required: "Required asterisk", help: "Field help", error: "Error message", success: "Success message", input: "Input", map: "Map frame", number: "Number", label: "Label", track: "Track", bar: "Bar", item: "Item",
5
+ more: "Read more button", quoteMark: "Quote mark", rating: "Star rating", required: "Required asterisk", help: "Field help", error: "Error message", success: "Success message", input: "Input", map: "Map frame", number: "Number", label: "Label", track: "Track", bar: "Bar", item: "Item",
5
6
  paneTitle: "Pane title", paneContent: "Pane content", tabList: "Tab bar", tab: "Tab button", panel: "Tab content", button: "Button", caption: "Caption",
6
7
  tableHead: "Header cells", tableCell: "Cells", unitBox: "Time box", unitLabel: "Unit label", content: "Content area",
7
8
  highlight: "Highlight", link: "Link", active: "Open / active",
@@ -0,0 +1,14 @@
1
+ /** Synced pattern per-use overrides. */
2
+ export const patternOverrides = {
3
+ title: "Pattern override fields",
4
+ none: "This pattern has no overridable blocks yet. Open the pattern, select a block and turn on “Allow override” in the Advanced tab.",
5
+ followPattern: "Follow pattern",
6
+ help: "Empty = same as the pattern (synced). A value = only this use of the pattern differs.",
7
+ allowTitle: "Override when used",
8
+ allow: "Allow overriding at each use of the pattern",
9
+ allowHelp: "This block's text / image / link can be set separately at each use; styling still follows the pattern.",
10
+ key: "Field key",
11
+ attrContent: "Content", attrSrc: "Image", attrAlt: "Image alt", attrCaption: "Caption", attrText: "Text", attrHref: "Link", attrTitle: "Title", attrSubtitle: "Subtitle",
12
+ attrQuote: "Quote", attrName: "Name", attrRole: "Role", attrPoster: "Poster image", attrAddress: "Address", attrPlaceholder: "Placeholder", attrButtonText: "Button text",
13
+ attrSummary: "Item title", attrCitation: "Citation", attrLabel: "Label", attrTooltip: "Hover tooltip", attrPrefix: "Prefix", attrSuffix: "Suffix", attrTarget: "Target time",
14
+ };
@@ -16,23 +16,25 @@ export const placeholders: typeof vi = {
16
16
  missing: "Missing: {fields}",
17
17
  paragraph: "Write something, or type / to choose a block",
18
18
  listItem: "List item…",
19
- taskItem: "To-do…",
20
19
  heading: "Heading…",
21
20
  quote: "Add a quote…",
22
21
  citation: "Add a source…",
23
22
  speaker: "Add the speaker's name…",
24
23
  caption: "Add a caption…",
24
+ popupPreview: "Preview dialog", popupPreviewing: "Previewing", popupPreviewClose: "Close preview",
25
+ addTestimonial: "Add testimonial",
26
+ popupTrigger: "Open button text…", popupContent: "Popup content",
25
27
  detailsSummary: "Title when collapsed…",
26
28
  calloutTitle: "Title (optional)…",
27
29
  code: "// Paste or type code…",
28
- preformatted: "Text that keeps its spacing…",
29
30
  buttonText: "Button text",
30
31
  tabTitle: "Tab name…",
31
32
  moveTabLeft: "Move open tab left",
32
33
  moveTabRight: "Move open tab right",
33
34
  addTab: "Add tab",
34
35
  addItem: "Add item",
35
- addSlide: "Add slide",
36
+ addSlide: "Add slide", removeSlide: "Delete this slide", slideOf: "Slide",
37
+ duplicateSlide: "Duplicate slide", moveSlideLeft: "Move slide left", moveSlideRight: "Move slide right",
36
38
  slide: "Slide",
37
39
  prevSlide: "Previous slide",
38
40
  nextSlide: "Next slide",
@@ -102,6 +104,7 @@ export const placeholders: typeof vi = {
102
104
  openSettings: "Open settings",
103
105
  cdDays: "days", cdHours: "hours", cdMinutes: "minutes", cdSeconds: "seconds",
104
106
  "mapAddress": "Type an address to show the map…",
107
+ countdownMode: "Countdown type", countdownModeDate: "Fixed date", countdownModeEvergreen: "Per visitor", countdownHours: "Hours", countdownMinutes: "Minutes", countdownEvergreenHint: "Each visitor starts counting on their first visit (saved in their browser), so everyone gets the full time.",
105
108
  countdownZone: "Time zone",
106
109
  countdownZoneLocal: "Viewer's device",
107
110
  };
@@ -103,6 +103,8 @@ export const v2 = {
103
103
  queryEmptyCollapsed: "When there are no posts (hidden because the list has posts) — click to edit",
104
104
  undo: "Undo",
105
105
  redo: "Redo",
106
+ commandPalette: "Command palette",
107
+ resizeGap: "change column gap",
106
108
  listView: "List view",
107
109
  settings: "Settings",
108
110
  noSelection: "Select a block to edit",
@@ -82,7 +82,7 @@ export const attrs = {
82
82
  successMessage: "Lời cảm ơn sau khi gửi",
83
83
  notifyEmail: "Email nhận thông báo",
84
84
  icon: "Icon",
85
- quote: "Lời chứng thực",
85
+ quote: "Nội dung đánh giá",
86
86
  name: "Tên",
87
87
  role: "Chức danh",
88
88
  label: "Nhãn",
@@ -91,7 +91,8 @@ export const attrs = {
91
91
  suffix: "Hậu tố",
92
92
  duration: "Thời gian chạy (ms)",
93
93
  showValue: "Hiện phần trăm",
94
- slidesPerView: "Số thẻ mỗi khung",
94
+ slidesPerView: "Slide thấy cùng lúc (máy tính)", slidesTablet: "Slide thấy cùng lúc (tablet)", slidesMobile: "Slide thấy cùng lúc (điện thoại)",
95
+ arrows: "Nút trước / sau hai bên", dots: "Chấm chỉ vị trí bên dưới", autoplay: "Tự chuyển slide", interval: "Giây giữa hai lần chuyển", loop: "Hết slide cuối thì quay lại slide đầu", gap: "Khoảng cách giữa các slide",
95
96
  max: "Giá trị tối đa",
96
97
  display: "Kiểu hiển thị",
97
98
  depth: "Số cấp hiện",
@@ -17,10 +17,15 @@ export const background = {
17
17
  focal: "Điểm lấy nét",
18
18
  repeat: "Lặp lại ảnh",
19
19
  fixed: "Cố định khi cuộn (parallax, chỉ trên máy tính)",
20
+ video: "Video nền (mp4 / webm)",
21
+ videoHint: "Tự phát, tắt tiếng, lặp, nằm dưới nội dung. Đường dẫn trong website (/uploads/…) hoặc https. Người xem bật giảm chuyển động thì video dừng.",
20
22
  overlay: "Lớp phủ",
21
23
  opacity: "Độ đậm lớp phủ",
22
24
  overlayTitle: "Lớp phủ nền",
23
25
  overlayType: "Loại lớp phủ",
26
+ imageOpacity: "Độ mờ của ảnh nền",
27
+ imageBlur: "Làm mờ ảnh nền",
28
+ imageBlend: "Hoà trộn ảnh với màu nền",
24
29
  overlayBlend: "Hoà trộn với nền",
25
30
  blendNormal: "Thường",
26
31
  blend_multiply: "Nhân",
@@ -12,6 +12,10 @@ export const bindings = {
12
12
  attrCaption: "Chú thích",
13
13
  attrText: "Chữ trên nút",
14
14
  attrHref: "Liên kết",
15
+ attrTitle: "Tiêu đề", attrSubtitle: "Phụ đề", attrQuote: "Lời đánh giá", attrName: "Tên", attrRole: "Chức vụ", attrPoster: "Ảnh xem trước", attrAddress: "Địa chỉ",
16
+ attrPlaceholder: "Chữ gợi ý", attrButtonText: "Chữ trên nút", attrSummary: "Tiêu đề mục", attrCitation: "Nguồn trích dẫn", attrLabel: "Nhãn", attrTooltip: "Chú thích khi rê chuột",
17
+ attrPrefix: "Tiền tố", attrSuffix: "Hậu tố", attrTarget: "Thời điểm đích",
18
+ fFeaturedImageAlt: "Mô tả ảnh đại diện", fCategory: "Chuyên mục đầu tiên", fModified: "Ngày cập nhật", fComments: "Số bình luận", fAuthorAvatar: "Ảnh tác giả", fAuthorBio: "Giới thiệu tác giả", fSlug: "Slug",
15
19
  srcPost: "Bài đang xem",
16
20
  srcPostMeta: "Trường meta của bài",
17
21
  srcSite: "Website",
@@ -2,30 +2,25 @@
2
2
  export const blockDesc = {
3
3
  paragraph: "Đoạn chữ thường — nền tảng của mọi nội dung.",
4
4
  heading: "Tiêu đề mục (H2–H6), giúp người đọc và Google hiểu cấu trúc trang.",
5
- bulletList: "Danh sách gạch đầu dòng — kiểu dấu (✓, →…), màu dấu, khoảng cách và đường kẻ giữa mục ở Kiểu dáng.",
5
+ bulletList: "Danh sách gạch đầu dòng — kiểu dấu (✓, →…), chia cột, xếp ngang ở Cài đặt; màu dấu, khoảng cách, đường kẻ giữa mục ở Kiểu dáng.",
6
6
  orderedList: "Danh sách đánh số theo thứ tự.",
7
- taskList: "Danh sách việc có ô đánh dấu.",
8
7
  blockquote: "Trích dẫn lời của ai đó.",
9
8
  codeBlock: "Hiện mã nguồn, giữ nguyên khoảng trắng.",
10
- preformatted: "Chữ giữ nguyên khoảng trắng và xuống dòng.",
11
- pullquote: "Trích dẫn nổi bật, chữ lớn ở giữa trang.",
9
+ testimonials: "Nhiều đánh giá của khách hàng xếp lưới hoặc chạy như slider.",
10
+ popup: "Nút mở một hộp thoại chứa nội dung (biểu mẫu, ảnh, chi tiết sản phẩm…).",
12
11
  details: "Nội dung ẩn, bấm để mở (câu hỏi thường gặp…).",
13
12
  table: "Bảng dữ liệu hàng / cột, gộp ô được.",
14
13
  image: "Ảnh có chú thích, alt cho SEO, đổi cỡ bằng tay kéo.",
15
14
  gallery: "Nhiều ảnh xếp lưới.",
16
15
  cover: "Ảnh phủ kín (hoặc màu / chuyển màu) với lớp phủ và chữ đè lên — phần mở đầu trang; ảnh, điểm lấy nét, lớp phủ ở mục Nền.",
17
- mediaText: "Ảnh và chữ đặt cạnh nhau để bố cục hấp dẫn hơn.",
18
16
  video: "Video tải lên hoặc từ địa chỉ.",
19
17
  audio: "Tệp âm thanh có trình phát.",
20
18
  file: "Liên kết tải tệp (PDF…), có thể xem ngay trên trang.",
21
- youtube: "Nhúng video YouTube.",
22
19
  embed: "Nhúng nội dung từ địa chỉ (Facebook, TikTok, bản đồ…).",
23
20
  group: "Gom nhiều khối vào một khung: Nền (màu, chuyển màu, ảnh + lớp phủ) ngay ở Cài đặt, căn lề, bố cục hàng / cột / lưới.",
24
21
  columns: "Chia nội dung thành nhiều cột, kéo để đổi độ rộng.",
25
22
  buttons: "Một hoặc nhiều nút kêu gọi hành động.",
26
- spacer: "Khoảng trống giữa các khối.",
27
- horizontalRule: "Đường kẻ ngăn cách các phần.",
28
- callout: "Hộp lưu ý / cảnh báo nổi bật.",
23
+ spacer: "Khoảng cách giữa các khối, có thể kèm đường kẻ ngăn cách.",
29
24
  customHtml: "Chèn HTML tự viết (đã được làm sạch).",
30
25
  socialLinks: "Biểu tượng liên kết mạng xã hội.",
31
26
  tableOfContents: "Mục lục tự sinh từ các tiêu đề trong bài.",
@@ -57,13 +52,11 @@ export const blockDesc = {
57
52
  accordion: "Nhiều mục gập / mở (câu hỏi thường gặp) — mỗi mục là khối Nội dung ẩn.",
58
53
  tabs: "Nội dung chia thẻ, bấm tên thẻ để chuyển; màu tiêu đề thường / đang mở ở Kiểu dáng.",
59
54
  tab: "Một thẻ trong khối Thẻ: tên thẻ và nội dung bên trong.",
60
- carousel: "Trình chiếu nhiều trang trượt (ảnh, thẻ, lời chứng thực), chọn số trang hiện cùng lúc.",
55
+ carousel: "Trình chiếu nhiều trang trượt (ảnh, thẻ, đánh giá), chọn số trang hiện cùng lúc.",
61
56
  shortcode: "Chèn tính năng của plugin bằng mã ngắn.",
62
57
  countdown: "Đồng hồ đếm ngược tới một thời điểm (khuyến mãi, sự kiện).",
63
58
  rating: "Số sao đánh giá (ví dụ 4,5 / 5).",
64
59
  icon: "Biểu tượng nhỏ (dấu tích, sao, điện thoại…) đổi cỡ và màu.",
65
- footnotes: "Danh sách chú thích cuối bài, tự đánh số.",
66
- pageBreak: "Ngắt bài thành nhiều trang.",
67
60
  readMore: "Liên kết “Đọc tiếp” tới bài (dùng trong danh sách bài).",
68
61
  commentsCount: "Số bình luận của bài.",
69
62
  avatar: "Ảnh đại diện của tác giả bài.",
@@ -78,15 +71,15 @@ export const blockDesc = {
78
71
  queryEmpty: "Nội dung hiện khi danh sách bài không có bài nào.",
79
72
  syncedPattern: "Mẫu dùng chung — sửa một nơi, đổi ở mọi trang dùng nó.",
80
73
  listItem: "Một mục của danh sách.",
81
- taskItem: "Một việc có ô đánh dấu trong danh sách việc.",
82
74
  tableRow: "Một hàng của bảng.",
83
75
  tableHeader: "Ô tiêu đề của bảng.",
84
76
  tableCell: "Một ô của bảng.",
85
77
  iconBox: "Icon + tiêu đề + mô tả (thẻ tính năng / dịch vụ), có thể gắn liên kết; icon nằm trên hoặc bên trái.",
78
+ imageOverlay: "Ảnh có lớp màu, khung viền và chữ hiện khi rê chuột — thẻ chuyên mục, bộ sưu tập, dự án.",
86
79
  imageBox: "Ảnh + tiêu đề + mô tả (thẻ dịch vụ / sản phẩm / chi nhánh), có thể gắn liên kết.",
87
80
  iconList: "Danh sách có icon ở đầu mỗi dòng (lợi ích, checklist, thông tin liên hệ), dọc hoặc hàng ngang; mỗi mục có thể có liên kết.",
88
81
  counter: "Con số nổi bật (vd 1.200+ khách hàng) đếm lên khi cuộn tới; có tiền tố / hậu tố và nhãn.",
89
- testimonial: "Lời chứng thực của khách hàng: câu trích, tên, chức danh và ảnh đại diện.",
82
+ testimonial: "Đánh giá của khách hàng: nội dung, tên, chức danh, ảnh đại diện và số sao.",
90
83
  progressBar: "Thanh tiến độ có nhãn và phần trăm (kỹ năng, mục tiêu), chạy lên khi cuộn tới.",
91
84
  "map": "Bản đồ Google theo địa chỉ gõ tay (cửa hàng, văn phòng).",
92
85
  };