@yext/visual-editor 2.0.0-beta.2 → 2.0.0-beta.4

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 (61) hide show
  1. package/dist/{SectionLibraryVisualEditorProvider-fUGYIhyC.js → SectionLibraryVisualEditorProvider-Dbj44frg.js} +6888 -6774
  2. package/dist/SectionLibraryVisualEditorProvider.css +1 -1
  3. package/dist/cli/yextve.js +108 -28
  4. package/dist/index.d.ts +3 -3
  5. package/dist/locales/platform/cs/visual-editor.json +3 -0
  6. package/dist/locales/platform/da/visual-editor.json +3 -0
  7. package/dist/locales/platform/de/visual-editor.json +3 -0
  8. package/dist/locales/platform/en/visual-editor.json +3 -0
  9. package/dist/locales/platform/en-GB/visual-editor.json +3 -0
  10. package/dist/locales/platform/es/visual-editor.json +3 -0
  11. package/dist/locales/platform/et/visual-editor.json +3 -0
  12. package/dist/locales/platform/fi/visual-editor.json +3 -0
  13. package/dist/locales/platform/fr/visual-editor.json +3 -0
  14. package/dist/locales/platform/hr/visual-editor.json +3 -0
  15. package/dist/locales/platform/hu/visual-editor.json +3 -0
  16. package/dist/locales/platform/it/visual-editor.json +3 -0
  17. package/dist/locales/platform/ja/visual-editor.json +3 -0
  18. package/dist/locales/platform/lt/visual-editor.json +3 -0
  19. package/dist/locales/platform/lv/visual-editor.json +3 -0
  20. package/dist/locales/platform/nb/visual-editor.json +3 -0
  21. package/dist/locales/platform/nl/visual-editor.json +3 -0
  22. package/dist/locales/platform/pl/visual-editor.json +3 -0
  23. package/dist/locales/platform/pt/visual-editor.json +3 -0
  24. package/dist/locales/platform/ro/visual-editor.json +3 -0
  25. package/dist/locales/platform/sk/visual-editor.json +3 -0
  26. package/dist/locales/platform/sv/visual-editor.json +3 -0
  27. package/dist/locales/platform/tr/visual-editor.json +3 -0
  28. package/dist/locales/platform/zh/visual-editor.json +3 -0
  29. package/dist/locales/platform/zh-TW/visual-editor.json +3 -0
  30. package/dist/{locatorEntityTypes-s4dmT9l5.d.ts → locatorEntityTypes-Cx069o6O.d.ts} +8 -0
  31. package/dist/plugin/plugin.js +154 -149
  32. package/dist/section-library-support.js +49 -49
  33. package/dist/sectionLibrarySupport.d.ts +2 -2
  34. package/dist/style.css +1 -1
  35. package/dist/{visual-editor-VcrEkFyd.js → visual-editor-09Llsq7g.js} +297 -291
  36. package/dist/{visual-editor-hVELayZs.js → visual-editor-2ORuu8_g.js} +293 -287
  37. package/dist/{visual-editor-BDozYwKy.js → visual-editor-B0RChJAU.js} +293 -287
  38. package/dist/{visual-editor-BuYrclmi.js → visual-editor-B2kjEXp2.js} +299 -293
  39. package/dist/{visual-editor-Cd8yeRID.js → visual-editor-BAapOoWM.js} +307 -301
  40. package/dist/{visual-editor-D96X4hBl.js → visual-editor-BHd18M8g.js} +297 -291
  41. package/dist/{visual-editor-BIqNAAcB.js → visual-editor-BIm0S65w.js} +305 -299
  42. package/dist/{visual-editor-DjN3MVkl.js → visual-editor-BYcvKUJc.js} +281 -275
  43. package/dist/{visual-editor-DqddYaYq.js → visual-editor-Bbydkr0I.js} +284 -278
  44. package/dist/{visual-editor-CCLIvOCf.js → visual-editor-BhN3aRjm.js} +281 -275
  45. package/dist/{visual-editor-AXgoU7J5.js → visual-editor-BiWbsaWp.js} +285 -279
  46. package/dist/{visual-editor-BGMk-qTN.js → visual-editor-BlP1VpUW.js} +300 -294
  47. package/dist/{visual-editor-bauJ9beX.js → visual-editor-C4_3sOZk.js} +285 -279
  48. package/dist/{visual-editor-2Y77HmqL.js → visual-editor-CKGz4dG0.js} +308 -302
  49. package/dist/{visual-editor-DrCmls4W.js → visual-editor-CPhXp-Gz.js} +281 -275
  50. package/dist/{visual-editor-CcuA4NSE.js → visual-editor-CtqYqY5l.js} +285 -279
  51. package/dist/{visual-editor-B-8ROr4n.js → visual-editor-DHjY21yq.js} +285 -279
  52. package/dist/{visual-editor-7P4U2T4q.js → visual-editor-DZxcSdwZ.js} +286 -280
  53. package/dist/{visual-editor-Dd-aD1iL.js → visual-editor-DdRZ_kR_.js} +286 -280
  54. package/dist/{visual-editor-CY2YjlX9.js → visual-editor-DjSURqT_.js} +296 -290
  55. package/dist/{visual-editor-CE2J5pWp.js → visual-editor-Jkut-qXP.js} +281 -275
  56. package/dist/{visual-editor-BPI_dyYw.js → visual-editor-Ln4QTSN0.js} +291 -285
  57. package/dist/{visual-editor-Bo-tmHFc.js → visual-editor-U1Pe_9_s.js} +284 -278
  58. package/dist/{visual-editor-CpCR_bSp.js → visual-editor-WZ5gb_gc.js} +294 -288
  59. package/dist/{visual-editor-Bkgub-3w.js → visual-editor-fiR-iLFH.js} +284 -278
  60. package/dist/visual-editor.js +10782 -10579
  61. package/package.json +1 -1
@@ -1 +1 @@
1
- .rtf-theme{p,li{font-family:var(--fontFamily-body-fontFamily)!important;font-size:var(--fontSize-body-fontSize)!important;line-height:1.5!important;font-weight:var(--fontWeight-body-fontWeight)!important;font-style:var(--fontStyle-body-fontStyle)!important;text-transform:var(--textTransform-body-textTransform)!important}h1{font-family:var(--fontFamily-h2-fontFamily)!important;font-size:var(--fontSize-h2-fontSize)!important;line-height:1.2!important;font-weight:var(--fontWeight-h2-fontWeight)!important;font-style:var(--fontStyle-h2-fontStyle)!important;text-transform:var(--textTransform-h1-textTransform)!important;@media(min-width:640px){font-family:var(--fontFamily-h1-fontFamily)!important;font-size:var(--fontSize-h1-fontSize)!important;font-weight:var(--fontWeight-h1-fontWeight)!important;font-style:var(--fontStyle-h1-fontStyle)!important}}h2{font-family:var(--fontFamily-h3-fontFamily)!important;font-size:var(--fontSize-h3-fontSize)!important;line-height:1.2!important;font-weight:var(--fontWeight-h3-fontWeight)!important;font-style:var(--fontStyle-h3-fontStyle)!important;text-transform:var(--textTransform-h2-textTransform)!important;@media(min-width:640px){font-family:var(--fontFamily-h2-fontFamily)!important;font-size:var(--fontSize-h2-fontSize)!important;font-weight:var(--fontWeight-h2-fontWeight)!important;font-style:var(--fontStyle-h2-fontStyle)!important}}h3{font-family:var(--fontFamily-h4-fontFamily)!important;font-size:var(--fontSize-h4-fontSize)!important;line-height:1.2!important;font-weight:var(--fontWeight-h4-fontWeight)!important;font-style:var(--fontStyle-h4-fontStyle)!important;text-transform:var(--textTransform-h3-textTransform)!important;@media(min-width:640px){font-family:var(--fontFamily-h3-fontFamily)!important;font-size:var(--fontSize-h3-fontSize)!important;font-weight:var(--fontWeight-h3-fontWeight)!important;font-style:var(--fontStyle-h3-fontStyle)!important}}h4{font-family:var(--fontFamily-h5-fontFamily)!important;font-size:var(--fontSize-h5-fontSize)!important;line-height:1.2!important;font-weight:var(--fontWeight-h5-fontWeight)!important;font-style:var(--fontStyle-h5-fontStyle)!important;text-transform:var(--textTransform-h4-textTransform)!important;@media(min-width:640px){font-family:var(--fontFamily-h4-fontFamily)!important;font-size:var(--fontSize-h4-fontSize)!important;font-weight:var(--fontWeight-h4-fontWeight)!important;font-style:var(--fontStyle-h4-fontStyle)!important}}h5{font-family:var(--fontFamily-h6-fontFamily)!important;font-size:var(--fontSize-h6-fontSize)!important;line-height:1.2!important;font-weight:var(--fontWeight-h6-fontWeight)!important;font-style:var(--fontStyle-h6-fontStyle)!important;text-transform:var(--textTransform-h5-textTransform)!important;@media(min-width:640px){font-family:var(--fontFamily-h5-fontFamily)!important;font-size:var(--fontSize-h5-fontSize)!important;font-weight:var(--fontWeight-h5-fontWeight)!important;font-style:var(--fontStyle-h5-fontStyle)!important}}h6{font-family:var(--fontFamily-h6-fontFamily)!important;font-size:var(--fontSize-h6-fontSize)!important;line-height:1.2!important;font-weight:var(--fontWeight-h6-fontWeight)!important;font-style:var(--fontStyle-h6-fontStyle)!important;text-transform:var(--textTransform-h6-textTransform)!important}a{font-family:var(--fontFamily-link-fontFamily)!important;font-size:var(--fontSize-link-fontSize)!important;font-weight:var(--fontWeight-link-fontWeight)!important;font-style:var(--fontStyle-link-fontStyle)!important;line-height:1.5!important;text-decoration:underline!important;text-transform:var(--textTransform-link-textTransform)!important;letter-spacing:var(--letterSpacing-link-letterSpacing)!important;color:hsl(from var(--colors-palette-primary) h s 20)!important;.text-white &{color:#fff!important}}&[style*="color:"]{a{color:inherit!important}}a:hover{text-decoration:none!important}strong{font-weight:inherit!important}}.rtf-body-sm p,.rtf-body-sm li{font-size:calc(var(--fontSize-body-fontSize) - 2px)!important}.rtf-body-lg p,.rtf-body-lg li{font-size:calc(var(--fontSize-body-fontSize) + 2px)!important}.rtf-wrapper *{color:inherit!important}.puck-header{grid-area:header;display:flex;align-items:center;padding:var(--puck-space-4);width:100%;border-bottom:1px solid var(--puck-color-grey-09);.header-left{flex:1;display:flex;justify-content:flex-start}.header-center{gap:16px;flex:1;text-align:center;display:flex;justify-content:center;flex-direction:row}.actions{flex:1;display:flex;gap:16px;justify-content:flex-end}}.ve-loading-wrapper{width:100vw;height:100vh;justify-content:center;.ve-loading-progress{width:30%}}.sm-icon{height:1rem;width:1rem}.theme-field{color:var(--puck-color-grey-04);font-size:var(--puck-font-size-xxs);font-weight:600;padding:12px 0 12px 4px;border-bottom:1px solid #e5e5f0}.theme-field>:first-child{padding:0 16px}.theme-field>div{padding:12px 16px}.theme-field>fieldset{padding:16px 15px}.theme-field fieldset>div,.theme-field fieldset>label{padding:0;border:none!important}.font-select{text-align:left;width:100%;padding:12px 15px;font-size:14px;cursor:pointer;background-color:var(--puck-color-white);border:1px solid var(--puck-color-grey-09);border-radius:4px;transition:border-color 50ms ease-in;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%23c3c3c3'><polygon points='0,0 100,0 50,50'/></svg>") no-repeat;background-size:12px;background-position:calc(100% - 12px) calc(50% + 3px);background-repeat:no-repeat}.font-select:hover,.font-select:focus{background-color:var(--puck-color-azure-12);border-color:var(--puck-color-grey-05);transition:none}.font-select-dropdown{position:absolute;z-index:1;background-color:var(--puck-color-white);border:1px solid var(--puck-color-grey-09);border-radius:4px;box-shadow:0 4px 8px #0000001a;max-height:200px;overflow-y:auto;width:100%}.font-select-option{text-align:left;width:100%;padding:12px 15px;background-color:transparent;border:none;cursor:pointer;font-size:14px}.font-select-option:hover,.font-select-option:active{background-color:var(--puck-color-grey-09)}.font-select-search{display:flex;gap:16px;background-color:#fff;padding:12px 15px;align-items:center;position:sticky;top:0;z-index:2}.font-search-input{font-family:var(--puck-font-family)}.font-search-input:focus{outline:none}.date-time-picker{border:1px solid var(--puck-color-grey-09);border-radius:4px;padding:12px 15px;font-size:14px;font-family:inherit;width:100%}.react-international-phone-input{border:1px solid var(--puck-color-grey-09);border-radius:4px;font-size:14px;font-family:inherit;transition:border-color 50ms ease-in;display:flex;align-items:center;padding:12px 15px;height:100%;flex:1;min-width:0}.puck-select{background:var(--puck-color-white);border-width:1px;border-style:solid;border-color:var(--puck-color-grey-09);border-radius:4px;box-sizing:border-box;font-family:inherit;font-size:14px;padding:12px 15px;transition:border-color 50ms ease-in;width:100%;max-width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%23c3c3c3'><polygon points='0,0 100,0 50,50'/></svg>") no-repeat;background-size:12px;background-position:calc(100% - 12px) calc(50% + 3px);background-repeat:no-repeat;background-color:var(--puck-color-white);cursor:pointer}select.puck-select:dir(rtl){background-position:12px calc(50% + 3px)}.puck-select:hover{background-color:var(--puck-color-azure-12);background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%235a5a5a'><polygon points='0,0 100,0 50,50'/></svg>");border-color:var(--puck-color-grey-05);transition:none}.puck-select:focus-visible{border-color:var(--puck-color-grey-05);outline:2px solid var(--puck-color-azure-05);transition:none}div[class*=_SidebarSection-breadcrumb]{overflow:hidden!important;white-space:nowrap!important}div[class*=_SidebarSection-breadcrumbs] *{font-size:12px!important}div[class*=_SidebarSection-breadcrumb] button{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important;flex:1!important;min-width:0!important}.react-international-phone-country-selector{position:relative}.react-international-phone-country-selector-button{display:flex;height:var(--react-international-phone-height, 36px);box-sizing:border-box;align-items:center;justify-content:center;padding:0;border:1px solid var(--react-international-phone-country-selector-border-color, var(--react-international-phone-border-color, gainsboro));margin:0;-moz-appearance:button;appearance:button;-webkit-appearance:button;background-color:var(--react-international-phone-country-selector-background-color, var(--react-international-phone-background-color, white));cursor:pointer;text-transform:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-international-phone-country-selector-button:hover{background-color:var(--react-international-phone-country-selector-background-color-hover, whitesmoke)}.react-international-phone-country-selector-button--hide-dropdown{cursor:auto}.react-international-phone-country-selector-button--hide-dropdown:hover{background-color:transparent}.react-international-phone-country-selector-button__button-content{display:flex;align-items:center;justify-content:center}.react-international-phone-country-selector-button__flag-emoji{margin:0 4px}.react-international-phone-country-selector-button__flag-emoji--disabled{opacity:.75}.react-international-phone-country-selector-button__dropdown-arrow{border-top:var(--react-international-phone-country-selector-arrow-size, 4px) solid var(--react-international-phone-country-selector-arrow-color, #777);border-right:var(--react-international-phone-country-selector-arrow-size, 4px) solid transparent;border-left:var(--react-international-phone-country-selector-arrow-size, 4px) solid transparent;margin-right:4px;transition:all .1s ease-out}.react-international-phone-country-selector-button__dropdown-arrow--active{transform:rotateX(180deg)}.react-international-phone-country-selector-button__dropdown-arrow--disabled{border-top-color:var(--react-international-phone-disabled-country-selector-arrow-color, #999)}.react-international-phone-country-selector-button--disabled,.react-international-phone-country-selector-button--disabled:hover{background-color:var(--react-international-phone-disabled-country-selector-background-color, var(--react-international-phone-disabled-background-color, whitesmoke))}.react-international-phone-country-selector-button--disabled{cursor:auto}.react-international-phone-flag-emoji{width:var(--react-international-phone-flag-width, 24px);height:var(--react-international-phone-flag-height, 24px);box-sizing:border-box}.react-international-phone-country-selector-dropdown{position:absolute;z-index:1;top:var(--react-international-phone-dropdown-top, 44px);left:var(--react-international-phone-dropdown-left, 0);display:flex;width:300px;max-height:200px;flex-direction:column;padding:4px 0;margin:0;background-color:var(--react-international-phone-dropdown-item-background-color, var(--react-international-phone-background-color, white));box-shadow:var(--react-international-phone-dropdown-shadow, 2px 2px 16px rgba(0, 0, 0, .25));color:var(--react-international-phone-dropdown-item-text-color, var(--react-international-phone-text-color, #222));list-style:none;overflow-y:scroll}.react-international-phone-country-selector-dropdown__preferred-list-divider{height:1px;border:none;margin:var(--react-international-phone-dropdown-preferred-list-divider-margin, 0);background:var(--react-international-phone-dropdown-preferred-list-divider-color, var(--react-international-phone-border-color, gainsboro))}.react-international-phone-country-selector-dropdown__list-item{display:flex;min-height:var(--react-international-phone-dropdown-item-height, 28px);box-sizing:border-box;align-items:center;padding:2px 8px}.react-international-phone-country-selector-dropdown__list-item-flag-emoji{margin-right:8px}.react-international-phone-country-selector-dropdown__list-item-country-name{overflow:hidden;margin-right:8px;font-size:var(--react-international-phone-dropdown-item-font-size, 14px);text-overflow:ellipsis;white-space:nowrap}.react-international-phone-country-selector-dropdown__list-item-dial-code{color:var(--react-international-phone-dropdown-item-dial-code-color, gray);font-size:var(--react-international-phone-dropdown-item-font-size, 14px)}.react-international-phone-country-selector-dropdown__list-item:hover{background-color:var(--react-international-phone-selected-dropdown-item-background-color, var(--react-international-phone-selected-dropdown-item-background-color, whitesmoke));cursor:pointer}.react-international-phone-country-selector-dropdown__list-item--selected,.react-international-phone-country-selector-dropdown__list-item--focused{background-color:var(--react-international-phone-selected-dropdown-item-background-color, whitesmoke);color:var(--react-international-phone-selected-dropdown-item-text-color, var(--react-international-phone-text-color, #222))}.react-international-phone-country-selector-dropdown__list-item--selected .react-international-phone-country-selector-dropdown__list-item-dial-code,.react-international-phone-country-selector-dropdown__list-item--focused .react-international-phone-country-selector-dropdown__list-item-dial-code{color:var(--react-international-phone-selected-dropdown-item-dial-code-color, var(--react-international-phone-dropdown-item-dial-code-color, gray))}.react-international-phone-country-selector-dropdown__list-item--focused{background-color:var(--react-international-phone-selected-dropdown-item-background-color, var(--react-international-phone-selected-dropdown-item-background-color, whitesmoke))}.react-international-phone-dial-code-preview{display:flex;align-items:center;justify-content:center;padding:0 8px;border:1px solid var(--react-international-phone-dial-code-preview-border-color, var(--react-international-phone-border-color, gainsboro));margin-right:-1px;background-color:var(--react-international-phone-dial-code-preview-background-color, var(--react-international-phone-background-color, white));color:var(--react-international-phone-dial-code-preview-text-color, var(--react-international-phone-text-color, #222));font-size:var(--react-international-phone-dial-code-preview-font-size, var(--react-international-phone-font-size, 13px))}.react-international-phone-dial-code-preview--disabled{background-color:var(--react-international-phone-dial-code-preview-disabled-background-color, var(--react-international-phone-disabled-background-color, whitesmoke));color:var(--react-international-phone-dial-code-preview-disabled-text-color, var(--react-international-phone-disabled-text-color, #666))}.react-international-phone-input-container{display:flex}.react-international-phone-input-container .react-international-phone-country-selector-button{border-radius:var(--react-international-phone-border-radius, 4px);margin-right:-1px;border-bottom-right-radius:0;border-top-right-radius:0}.react-international-phone-input-container .react-international-phone-input{overflow:visible;height:var(--react-international-phone-height, 36px);box-sizing:border-box;padding:0 8px;border:1px solid var(--react-international-phone-border-color, gainsboro);border-radius:var(--react-international-phone-border-radius, 4px);margin:0;background-color:var(--react-international-phone-background-color, white);border-bottom-left-radius:0;border-top-left-radius:0;color:var(--react-international-phone-text-color, #222);font-family:inherit;font-size:var(--react-international-phone-font-size, 13px)}.react-international-phone-input-container .react-international-phone-input:focus{outline:none}.react-international-phone-input-container .react-international-phone-input--disabled{background-color:var(--react-international-phone-disabled-background-color, whitesmoke);color:var(--react-international-phone-disabled-text-color, #666)}.is-today{font-weight:700}.HoursTable-row{display:flex;justify-content:space-between;width:18rem}.components .HoursTable-intervals{display:flex;flex-direction:column;flex:0 0 auto}
1
+ .rtf-theme{p,li{font-family:var(--fontFamily-body-fontFamily)!important;font-size:var(--fontSize-body-fontSize)!important;line-height:1.5!important;font-weight:var(--fontWeight-body-fontWeight)!important;font-style:var(--fontStyle-body-fontStyle)!important;text-transform:var(--textTransform-body-textTransform)!important}h1{font-family:var(--fontFamily-h2-fontFamily)!important;font-size:var(--fontSize-h2-fontSize)!important;line-height:1.2!important;font-weight:var(--fontWeight-h2-fontWeight)!important;font-style:var(--fontStyle-h2-fontStyle)!important;text-transform:var(--textTransform-h1-textTransform)!important;@media(min-width:640px){font-family:var(--fontFamily-h1-fontFamily)!important;font-size:var(--fontSize-h1-fontSize)!important;font-weight:var(--fontWeight-h1-fontWeight)!important;font-style:var(--fontStyle-h1-fontStyle)!important}}h2{font-family:var(--fontFamily-h3-fontFamily)!important;font-size:var(--fontSize-h3-fontSize)!important;line-height:1.2!important;font-weight:var(--fontWeight-h3-fontWeight)!important;font-style:var(--fontStyle-h3-fontStyle)!important;text-transform:var(--textTransform-h2-textTransform)!important;@media(min-width:640px){font-family:var(--fontFamily-h2-fontFamily)!important;font-size:var(--fontSize-h2-fontSize)!important;font-weight:var(--fontWeight-h2-fontWeight)!important;font-style:var(--fontStyle-h2-fontStyle)!important}}h3{font-family:var(--fontFamily-h4-fontFamily)!important;font-size:var(--fontSize-h4-fontSize)!important;line-height:1.2!important;font-weight:var(--fontWeight-h4-fontWeight)!important;font-style:var(--fontStyle-h4-fontStyle)!important;text-transform:var(--textTransform-h3-textTransform)!important;@media(min-width:640px){font-family:var(--fontFamily-h3-fontFamily)!important;font-size:var(--fontSize-h3-fontSize)!important;font-weight:var(--fontWeight-h3-fontWeight)!important;font-style:var(--fontStyle-h3-fontStyle)!important}}h4{font-family:var(--fontFamily-h5-fontFamily)!important;font-size:var(--fontSize-h5-fontSize)!important;line-height:1.2!important;font-weight:var(--fontWeight-h5-fontWeight)!important;font-style:var(--fontStyle-h5-fontStyle)!important;text-transform:var(--textTransform-h4-textTransform)!important;@media(min-width:640px){font-family:var(--fontFamily-h4-fontFamily)!important;font-size:var(--fontSize-h4-fontSize)!important;font-weight:var(--fontWeight-h4-fontWeight)!important;font-style:var(--fontStyle-h4-fontStyle)!important}}h5{font-family:var(--fontFamily-h6-fontFamily)!important;font-size:var(--fontSize-h6-fontSize)!important;line-height:1.2!important;font-weight:var(--fontWeight-h6-fontWeight)!important;font-style:var(--fontStyle-h6-fontStyle)!important;text-transform:var(--textTransform-h5-textTransform)!important;@media(min-width:640px){font-family:var(--fontFamily-h5-fontFamily)!important;font-size:var(--fontSize-h5-fontSize)!important;font-weight:var(--fontWeight-h5-fontWeight)!important;font-style:var(--fontStyle-h5-fontStyle)!important}}h6{font-family:var(--fontFamily-h6-fontFamily)!important;font-size:var(--fontSize-h6-fontSize)!important;line-height:1.2!important;font-weight:var(--fontWeight-h6-fontWeight)!important;font-style:var(--fontStyle-h6-fontStyle)!important;text-transform:var(--textTransform-h6-textTransform)!important}a{font-family:var(--fontFamily-link-fontFamily)!important;font-size:var(--fontSize-link-fontSize)!important;font-weight:var(--fontWeight-link-fontWeight)!important;font-style:var(--fontStyle-link-fontStyle)!important;line-height:1.5!important;text-decoration:underline!important;text-transform:var(--textTransform-link-textTransform)!important;letter-spacing:var(--letterSpacing-link-letterSpacing)!important;color:hsl(from var(--colors-palette-primary) h s 20)!important;.text-white &{color:#fff!important}}&[style*="color:"]{a{color:inherit!important}}a:hover{text-decoration:none!important}strong{font-weight:inherit!important}}.rtf-body-xs p,.rtf-body-xs li{font-size:calc(var(--fontSize-body-fontSize) - 4px)!important}.rtf-body-sm p,.rtf-body-sm li{font-size:calc(var(--fontSize-body-fontSize) - 2px)!important}.rtf-body-lg p,.rtf-body-lg li{font-size:calc(var(--fontSize-body-fontSize) + 2px)!important}.rtf-wrapper *{color:inherit!important}.puck-header{grid-area:header;display:flex;align-items:center;padding:var(--puck-space-4);width:100%;border-bottom:1px solid var(--puck-color-grey-09);.header-left{flex:1;display:flex;justify-content:flex-start}.header-center{gap:16px;flex:1;text-align:center;display:flex;justify-content:center;flex-direction:row}.actions{flex:1;display:flex;gap:16px;justify-content:flex-end}}.ve-loading-wrapper{width:100vw;height:100vh;justify-content:center;.ve-loading-progress{width:30%}}.sm-icon{height:1rem;width:1rem}.theme-field{color:var(--puck-color-grey-04);font-size:var(--puck-font-size-xxs);font-weight:600;padding:12px 0 12px 4px;border-bottom:1px solid #e5e5f0}.theme-field>:first-child{padding:0 16px}.theme-field>div{padding:12px 16px}.theme-field>fieldset{padding:16px 15px}.theme-field fieldset>div,.theme-field fieldset>label{padding:0;border:none!important}.font-select{text-align:left;width:100%;padding:12px 15px;font-size:14px;cursor:pointer;background-color:var(--puck-color-white);border:1px solid var(--puck-color-grey-09);border-radius:4px;transition:border-color 50ms ease-in;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%23c3c3c3'><polygon points='0,0 100,0 50,50'/></svg>") no-repeat;background-size:12px;background-position:calc(100% - 12px) calc(50% + 3px);background-repeat:no-repeat}.font-select:hover,.font-select:focus{background-color:var(--puck-color-azure-12);border-color:var(--puck-color-grey-05);transition:none}.font-select-dropdown{position:absolute;z-index:1;background-color:var(--puck-color-white);border:1px solid var(--puck-color-grey-09);border-radius:4px;box-shadow:0 4px 8px #0000001a;max-height:200px;overflow-y:auto;width:100%}.font-select-option{text-align:left;width:100%;padding:12px 15px;background-color:transparent;border:none;cursor:pointer;font-size:14px}.font-select-option:hover,.font-select-option:active{background-color:var(--puck-color-grey-09)}.font-select-search{display:flex;gap:16px;background-color:#fff;padding:12px 15px;align-items:center;position:sticky;top:0;z-index:2}.font-search-input{font-family:var(--puck-font-family)}.font-search-input:focus{outline:none}.date-time-picker{border:1px solid var(--puck-color-grey-09);border-radius:4px;padding:12px 15px;font-size:14px;font-family:inherit;width:100%}.react-international-phone-input{border:1px solid var(--puck-color-grey-09);border-radius:4px;font-size:14px;font-family:inherit;transition:border-color 50ms ease-in;display:flex;align-items:center;padding:12px 15px;height:100%;flex:1;min-width:0}.puck-select{background:var(--puck-color-white);border-width:1px;border-style:solid;border-color:var(--puck-color-grey-09);border-radius:4px;box-sizing:border-box;font-family:inherit;font-size:14px;padding:12px 15px;transition:border-color 50ms ease-in;width:100%;max-width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%23c3c3c3'><polygon points='0,0 100,0 50,50'/></svg>") no-repeat;background-size:12px;background-position:calc(100% - 12px) calc(50% + 3px);background-repeat:no-repeat;background-color:var(--puck-color-white);cursor:pointer}select.puck-select:dir(rtl){background-position:12px calc(50% + 3px)}.puck-select:hover{background-color:var(--puck-color-azure-12);background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%235a5a5a'><polygon points='0,0 100,0 50,50'/></svg>");border-color:var(--puck-color-grey-05);transition:none}.puck-select:focus-visible{border-color:var(--puck-color-grey-05);outline:2px solid var(--puck-color-azure-05);transition:none}div[class*=_SidebarSection-breadcrumb]{overflow:hidden!important;white-space:nowrap!important}div[class*=_SidebarSection-breadcrumbs] *{font-size:12px!important}div[class*=_SidebarSection-breadcrumb] button{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important;flex:1!important;min-width:0!important}.react-international-phone-country-selector{position:relative}.react-international-phone-country-selector-button{display:flex;height:var(--react-international-phone-height, 36px);box-sizing:border-box;align-items:center;justify-content:center;padding:0;border:1px solid var(--react-international-phone-country-selector-border-color, var(--react-international-phone-border-color, gainsboro));margin:0;-moz-appearance:button;appearance:button;-webkit-appearance:button;background-color:var(--react-international-phone-country-selector-background-color, var(--react-international-phone-background-color, white));cursor:pointer;text-transform:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-international-phone-country-selector-button:hover{background-color:var(--react-international-phone-country-selector-background-color-hover, whitesmoke)}.react-international-phone-country-selector-button--hide-dropdown{cursor:auto}.react-international-phone-country-selector-button--hide-dropdown:hover{background-color:transparent}.react-international-phone-country-selector-button__button-content{display:flex;align-items:center;justify-content:center}.react-international-phone-country-selector-button__flag-emoji{margin:0 4px}.react-international-phone-country-selector-button__flag-emoji--disabled{opacity:.75}.react-international-phone-country-selector-button__dropdown-arrow{border-top:var(--react-international-phone-country-selector-arrow-size, 4px) solid var(--react-international-phone-country-selector-arrow-color, #777);border-right:var(--react-international-phone-country-selector-arrow-size, 4px) solid transparent;border-left:var(--react-international-phone-country-selector-arrow-size, 4px) solid transparent;margin-right:4px;transition:all .1s ease-out}.react-international-phone-country-selector-button__dropdown-arrow--active{transform:rotateX(180deg)}.react-international-phone-country-selector-button__dropdown-arrow--disabled{border-top-color:var(--react-international-phone-disabled-country-selector-arrow-color, #999)}.react-international-phone-country-selector-button--disabled,.react-international-phone-country-selector-button--disabled:hover{background-color:var(--react-international-phone-disabled-country-selector-background-color, var(--react-international-phone-disabled-background-color, whitesmoke))}.react-international-phone-country-selector-button--disabled{cursor:auto}.react-international-phone-flag-emoji{width:var(--react-international-phone-flag-width, 24px);height:var(--react-international-phone-flag-height, 24px);box-sizing:border-box}.react-international-phone-country-selector-dropdown{position:absolute;z-index:1;top:var(--react-international-phone-dropdown-top, 44px);left:var(--react-international-phone-dropdown-left, 0);display:flex;width:300px;max-height:200px;flex-direction:column;padding:4px 0;margin:0;background-color:var(--react-international-phone-dropdown-item-background-color, var(--react-international-phone-background-color, white));box-shadow:var(--react-international-phone-dropdown-shadow, 2px 2px 16px rgba(0, 0, 0, .25));color:var(--react-international-phone-dropdown-item-text-color, var(--react-international-phone-text-color, #222));list-style:none;overflow-y:scroll}.react-international-phone-country-selector-dropdown__preferred-list-divider{height:1px;border:none;margin:var(--react-international-phone-dropdown-preferred-list-divider-margin, 0);background:var(--react-international-phone-dropdown-preferred-list-divider-color, var(--react-international-phone-border-color, gainsboro))}.react-international-phone-country-selector-dropdown__list-item{display:flex;min-height:var(--react-international-phone-dropdown-item-height, 28px);box-sizing:border-box;align-items:center;padding:2px 8px}.react-international-phone-country-selector-dropdown__list-item-flag-emoji{margin-right:8px}.react-international-phone-country-selector-dropdown__list-item-country-name{overflow:hidden;margin-right:8px;font-size:var(--react-international-phone-dropdown-item-font-size, 14px);text-overflow:ellipsis;white-space:nowrap}.react-international-phone-country-selector-dropdown__list-item-dial-code{color:var(--react-international-phone-dropdown-item-dial-code-color, gray);font-size:var(--react-international-phone-dropdown-item-font-size, 14px)}.react-international-phone-country-selector-dropdown__list-item:hover{background-color:var(--react-international-phone-selected-dropdown-item-background-color, var(--react-international-phone-selected-dropdown-item-background-color, whitesmoke));cursor:pointer}.react-international-phone-country-selector-dropdown__list-item--selected,.react-international-phone-country-selector-dropdown__list-item--focused{background-color:var(--react-international-phone-selected-dropdown-item-background-color, whitesmoke);color:var(--react-international-phone-selected-dropdown-item-text-color, var(--react-international-phone-text-color, #222))}.react-international-phone-country-selector-dropdown__list-item--selected .react-international-phone-country-selector-dropdown__list-item-dial-code,.react-international-phone-country-selector-dropdown__list-item--focused .react-international-phone-country-selector-dropdown__list-item-dial-code{color:var(--react-international-phone-selected-dropdown-item-dial-code-color, var(--react-international-phone-dropdown-item-dial-code-color, gray))}.react-international-phone-country-selector-dropdown__list-item--focused{background-color:var(--react-international-phone-selected-dropdown-item-background-color, var(--react-international-phone-selected-dropdown-item-background-color, whitesmoke))}.react-international-phone-dial-code-preview{display:flex;align-items:center;justify-content:center;padding:0 8px;border:1px solid var(--react-international-phone-dial-code-preview-border-color, var(--react-international-phone-border-color, gainsboro));margin-right:-1px;background-color:var(--react-international-phone-dial-code-preview-background-color, var(--react-international-phone-background-color, white));color:var(--react-international-phone-dial-code-preview-text-color, var(--react-international-phone-text-color, #222));font-size:var(--react-international-phone-dial-code-preview-font-size, var(--react-international-phone-font-size, 13px))}.react-international-phone-dial-code-preview--disabled{background-color:var(--react-international-phone-dial-code-preview-disabled-background-color, var(--react-international-phone-disabled-background-color, whitesmoke));color:var(--react-international-phone-dial-code-preview-disabled-text-color, var(--react-international-phone-disabled-text-color, #666))}.react-international-phone-input-container{display:flex}.react-international-phone-input-container .react-international-phone-country-selector-button{border-radius:var(--react-international-phone-border-radius, 4px);margin-right:-1px;border-bottom-right-radius:0;border-top-right-radius:0}.react-international-phone-input-container .react-international-phone-input{overflow:visible;height:var(--react-international-phone-height, 36px);box-sizing:border-box;padding:0 8px;border:1px solid var(--react-international-phone-border-color, gainsboro);border-radius:var(--react-international-phone-border-radius, 4px);margin:0;background-color:var(--react-international-phone-background-color, white);border-bottom-left-radius:0;border-top-left-radius:0;color:var(--react-international-phone-text-color, #222);font-family:inherit;font-size:var(--react-international-phone-font-size, 13px)}.react-international-phone-input-container .react-international-phone-input:focus{outline:none}.react-international-phone-input-container .react-international-phone-input--disabled{background-color:var(--react-international-phone-disabled-background-color, whitesmoke);color:var(--react-international-phone-disabled-text-color, #666)}.is-today{font-weight:700}.HoursTable-row{display:flex;justify-content:space-between;width:18rem}.components .HoursTable-intervals{display:flex;flex-direction:column;flex:0 0 auto}
@@ -12228,7 +12228,7 @@ import { fileURLToPath as fileURLToPath3 } from "url";
12228
12228
  var package_default = {
12229
12229
  name: "@yext/visual-editor",
12230
12230
  description: "Component library for Yext Pages Visual Editor",
12231
- version: "2.0.0-beta.2",
12231
+ version: "2.0.0-beta.4",
12232
12232
  author: "sprumo@yext.com",
12233
12233
  repository: {
12234
12234
  type: "git",
@@ -12411,7 +12411,7 @@ import { Project } from "ts-morph";
12411
12411
  // src/internal/sectionLibraryValidation/stages/api/libraryMetadata.ts
12412
12412
  import path from "path";
12413
12413
  import fs from "fs-extra";
12414
- var safeIdPattern = /^[A-Za-z0-9_-]{1,64}$/;
12414
+ var safeIdPattern = /^[a-z][a-z0-9-]{0,61}[a-z0-9](?![\s\S])/;
12415
12415
  var descriptionMaxLength = 1024;
12416
12416
  var validateLibraryMetadata = (rootDir) => {
12417
12417
  const filePath = path.join(rootDir, "src", "library", "library.json");
@@ -12467,11 +12467,14 @@ var validateLibraryMetadata = (rootDir) => {
12467
12467
  libraryMetadataValues.set("description", description);
12468
12468
  }
12469
12469
  const id = libraryMetadataValues.get("id");
12470
- if (id && !safeIdPattern.test(id)) {
12471
- addIssue(
12472
- "field/id/safe",
12473
- "id must be at most 64 characters and may contain only letters, numbers, underscores, and hyphens."
12474
- );
12470
+ if (id) {
12471
+ const unprefixedId = id.startsWith("yext_") ? id.slice(5) : id;
12472
+ if (id.length > 63 || !safeIdPattern.test(unprefixedId)) {
12473
+ addIssue(
12474
+ "field/id/safe",
12475
+ "id must be 2\u201363 characters, contain only lowercase letters, numbers, and hyphens, start with a lowercase letter, and end with a letter or number."
12476
+ );
12477
+ }
12475
12478
  }
12476
12479
  if (issues.length > 0) {
12477
12480
  return { issues };
@@ -13176,6 +13179,7 @@ var purposes = ["LOCATION", "CITATION"];
13176
13179
 
13177
13180
  // src/cli/commands/internal/convertTemplatesToSectionLibrary.ts
13178
13181
  var SAFE_ID = /^[A-Za-z0-9][A-Za-z0-9_-]*$/;
13182
+ var ID_REQUIREMENTS = "must start with a letter or number and contain only letters, numbers, underscores, and hyphens";
13179
13183
  var VERTICALS = new Set(verticals);
13180
13184
  var PURPOSES = new Set(purposes);
13181
13185
  var REQUIRED_BASE_SECTIONS = /* @__PURE__ */ new Set(["Directory", "Locator"]);
@@ -13282,24 +13286,28 @@ var readLegacyTemplates = (rootDirectory) => {
13282
13286
  if (templateDirectories.length === 0) {
13283
13287
  throw new Error(`No legacy templates found in ${registryDirectory}`);
13284
13288
  }
13285
- const normalizedTemplateIds = /* @__PURE__ */ new Set();
13289
+ const normalizedTemplateIds = /* @__PURE__ */ new Map();
13286
13290
  return templateDirectories.map((templateDirectory) => {
13287
13291
  if (!SAFE_ID.test(templateDirectory)) {
13288
- throw new Error(`Template ID is not valid: ${templateDirectory}`);
13292
+ throw new Error(
13293
+ `Template ID is not valid: ${path3.join(registryDirectory, templateDirectory)}. Template IDs ${ID_REQUIREMENTS}.`
13294
+ );
13289
13295
  }
13290
13296
  const templateId = removeYextPrefix(templateDirectory);
13291
13297
  if (!SAFE_ID.test(templateId)) {
13292
- throw new Error(`Template ID is not valid: ${templateDirectory}`);
13298
+ throw new Error(
13299
+ `Template ID is not valid: ${path3.join(registryDirectory, templateDirectory)}. After removing the yext prefix, ${JSON.stringify(templateId)} ${ID_REQUIREMENTS}.`
13300
+ );
13293
13301
  }
13294
13302
  if (normalizedTemplateIds.has(templateId)) {
13295
13303
  throw new Error(
13296
- `Template IDs collide after removing the yext- prefix: ${templateId}`
13304
+ `Template IDs collide after removing the yext prefix: ${path3.join(registryDirectory, normalizedTemplateIds.get(templateId))} and ${path3.join(registryDirectory, templateDirectory)} both normalize to ${JSON.stringify(templateId)}.`
13297
13305
  );
13298
13306
  }
13299
- normalizedTemplateIds.add(templateId);
13307
+ normalizedTemplateIds.set(templateId, templateDirectory);
13300
13308
  if (RESERVED_LAYOUT_IDS.has(templateId)) {
13301
13309
  throw new Error(
13302
- `Template ID is reserved for a generated template alias: ${templateId}`
13310
+ `Template ID is reserved for a generated template alias: ${path3.join(registryDirectory, templateDirectory)} normalizes to ${JSON.stringify(templateId)}. Reserved IDs: ${Array.from(RESERVED_LAYOUT_IDS).join(", ")}. Rename the template directory.`
13303
13311
  );
13304
13312
  }
13305
13313
  return readLegacyTemplate(
@@ -13589,8 +13597,37 @@ var readBaseLibrary = (libraryDirectory) => {
13589
13597
  metadataPath,
13590
13598
  `layout metadata for ${entry.name}`
13591
13599
  );
13592
- if (!isRecord(metadata) || !["ENTITY", "DIRECTORY", "LOCATOR"].includes(metadata.pageSetType) || typeof metadata.id !== "string" || metadata.id !== entry.name || !SAFE_ID.test(metadata.id)) {
13593
- throw new Error(`Base layout metadata is not valid: ${metadataPath}`);
13600
+ const issues = [];
13601
+ if (!isRecord(metadata)) {
13602
+ issues.push("metadata must be a JSON object.");
13603
+ } else {
13604
+ if (!["ENTITY", "DIRECTORY", "LOCATOR"].includes(metadata.pageSetType)) {
13605
+ issues.push(
13606
+ `pageSetType must be ENTITY, DIRECTORY, or LOCATOR; received ${JSON.stringify(metadata.pageSetType)}.`
13607
+ );
13608
+ }
13609
+ if (typeof metadata.id !== "string") {
13610
+ issues.push(
13611
+ `id must be a string; received ${JSON.stringify(metadata.id)}.`
13612
+ );
13613
+ } else {
13614
+ if (metadata.id !== entry.name) {
13615
+ issues.push(
13616
+ `id must match directory name ${JSON.stringify(entry.name)}; received ${JSON.stringify(metadata.id)}.`
13617
+ );
13618
+ }
13619
+ if (!SAFE_ID.test(metadata.id)) {
13620
+ issues.push(
13621
+ `id ${ID_REQUIREMENTS}; received ${JSON.stringify(metadata.id)}.`
13622
+ );
13623
+ }
13624
+ }
13625
+ }
13626
+ if (issues.length > 0) {
13627
+ throw new Error(
13628
+ `Base layout metadata is not valid: ${metadataPath}
13629
+ ${issues.map((issue) => ` - ${issue}`).join("\n")}`
13630
+ );
13594
13631
  }
13595
13632
  const defaultLayoutPath = path3.join(directory, "defaultLayout.json");
13596
13633
  const defaultLayout = readJson(
@@ -13659,11 +13696,12 @@ var buildConversion = (templates, baseLibrary) => {
13659
13696
  const componentIds = new Set(components.keys());
13660
13697
  const directoryLayoutId = `${firstTemplate.templateId}-directory`;
13661
13698
  const locatorLayoutId = `${firstTemplate.templateId}-locator`;
13662
- if (templates.some(
13699
+ const conflictingTemplate = templates.find(
13663
13700
  (template) => template.templateId === directoryLayoutId || template.templateId === locatorLayoutId
13664
- )) {
13701
+ );
13702
+ if (conflictingTemplate) {
13665
13703
  throw new Error(
13666
- "A legacy template ID conflicts with the generated Directory or Locator layout ID"
13704
+ `Legacy template ${conflictingTemplate.directory} conflicts with generated layout ID ${JSON.stringify(conflictingTemplate.templateId)} from ${firstTemplate.directory}. Rename the conflicting template directory.`
13667
13705
  );
13668
13706
  }
13669
13707
  for (const template of templates) {
@@ -13742,19 +13780,43 @@ var readMetadataList = (value, allowedValues, sourcePath, property) => {
13742
13780
  if (value === void 0) {
13743
13781
  return [];
13744
13782
  }
13745
- if (!Array.isArray(value) || value.some(
13783
+ if (!Array.isArray(value)) {
13784
+ throw new Error(
13785
+ `${sourcePath} ${property} must be an array of supported strings; received ${JSON.stringify(value)}. Allowed values: ${Array.from(allowedValues).join(", ")}.`
13786
+ );
13787
+ }
13788
+ const invalidValues = value.filter(
13746
13789
  (item) => typeof item !== "string" || !allowedValues.has(item)
13747
- )) {
13790
+ );
13791
+ if (invalidValues.length > 0) {
13748
13792
  throw new Error(
13749
- `${sourcePath} ${property} must contain supported string values`
13793
+ `${sourcePath} ${property} contains unsupported values: ${invalidValues.map((item) => JSON.stringify(item)).join(", ")}. Allowed values: ${Array.from(allowedValues).join(", ")}.`
13750
13794
  );
13751
13795
  }
13752
13796
  return value;
13753
13797
  };
13754
13798
  function validateDefaultLayout(defaultLayout, sourcePath, description) {
13755
- if (!isRecord(defaultLayout) || !isRecord(defaultLayout.root) || !isRecord(defaultLayout.zones) || !Array.isArray(defaultLayout.content)) {
13799
+ const issues = [];
13800
+ if (!isRecord(defaultLayout)) {
13801
+ issues.push("default layout must be a JSON object.");
13802
+ } else {
13803
+ for (const field of ["root", "zones"]) {
13804
+ if (!isRecord(defaultLayout[field])) {
13805
+ issues.push(
13806
+ `${field} must be a JSON object; received ${JSON.stringify(defaultLayout[field])}.`
13807
+ );
13808
+ }
13809
+ }
13810
+ if (!Array.isArray(defaultLayout.content)) {
13811
+ issues.push(
13812
+ `content must be an array; received ${JSON.stringify(defaultLayout.content)}.`
13813
+ );
13814
+ }
13815
+ }
13816
+ if (issues.length > 0) {
13756
13817
  throw new Error(
13757
- `${description} default layout is not valid: ${sourcePath}`
13818
+ `${description} default layout is not valid: ${sourcePath}
13819
+ ${issues.map((issue) => ` - ${issue}`).join("\n")}`
13758
13820
  );
13759
13821
  }
13760
13822
  }
@@ -14409,12 +14471,15 @@ import { execFileSync as execFileSync2 } from "child_process";
14409
14471
 
14410
14472
  // src/cli/commands/internal/deploy/logging.ts
14411
14473
  import ora from "ora";
14412
- function logApiCall(text, method, url, verbose = false) {
14474
+ function logApiCall(text, method, url, verbose = false, expectedStatusMessages = {}) {
14413
14475
  const spinner = text.length > 0 ? ora(text).start() : void 0;
14414
14476
  const finishVerboseLog = verbose ? verboseLogApiCall(method, url) : void 0;
14415
14477
  return (res) => {
14416
14478
  if (spinner) {
14417
- if (res?.ok) {
14479
+ const expectedMessage = res && expectedStatusMessages[res.status];
14480
+ if (expectedMessage) {
14481
+ spinner.info(expectedMessage);
14482
+ } else if (res?.ok) {
14418
14483
  spinner.succeed(`${text} ${color("done", true)}`);
14419
14484
  } else {
14420
14485
  spinner.fail(`${text} ${color("error", false)}`);
@@ -14459,7 +14524,7 @@ function color(text, success) {
14459
14524
 
14460
14525
  // src/cli/commands/internal/deploy/api.ts
14461
14526
  var API_PATH_PREFIX = "/v2/";
14462
- async function yextApiRequest(logAction, method, path16, config, verbose = false, data) {
14527
+ async function yextApiRequest(logAction, method, path16, config, verbose = false, data, expectedStatusMessages = {}) {
14463
14528
  const url = new URL(`${API_PATH_PREFIX}${path16}`, config.apiHost);
14464
14529
  url.searchParams.set("v", "20260819");
14465
14530
  url.searchParams.set("api_key", config.apiKey);
@@ -14470,7 +14535,13 @@ async function yextApiRequest(logAction, method, path16, config, verbose = false
14470
14535
  });
14471
14536
  requestInit.body = JSON.stringify(data);
14472
14537
  }
14473
- const finishLog = logApiCall(logAction, method, url, verbose);
14538
+ const finishLog = logApiCall(
14539
+ logAction,
14540
+ method,
14541
+ url,
14542
+ verbose,
14543
+ expectedStatusMessages
14544
+ );
14474
14545
  try {
14475
14546
  const response = await fetch(url, new Request(url, requestInit));
14476
14547
  const responseJson = JSON.parse(
@@ -14550,6 +14621,13 @@ async function createSectionLibraryRevision(config, libraryId, data, verbose) {
14550
14621
  data
14551
14622
  );
14552
14623
  if (!result.ok) {
14624
+ if (result.errors[0]?.message.includes(
14625
+ "cannot create revision for built-in section library"
14626
+ )) {
14627
+ throw new Error(
14628
+ 'Cannot create a revision for a built-in section library. Check the "id" field in src/library/library.json. To deploy your own library, remove the reserved "yext_" prefix and retry.'
14629
+ );
14630
+ }
14553
14631
  throw sectionLibraryApiError(
14554
14632
  result.errors,
14555
14633
  "Failed to upload current commit as a Section Library Revision"
@@ -14606,7 +14684,9 @@ async function getSectionLibrary(config, libraryId, verbose) {
14606
14684
  "GET",
14607
14685
  `accounts/me/sectionLibraries/${encodeURIComponent(libraryId)}`,
14608
14686
  config,
14609
- verbose
14687
+ verbose,
14688
+ void 0,
14689
+ { 404: "Section library not found" }
14610
14690
  );
14611
14691
  if (!result.ok && result.status !== 404) {
14612
14692
  throw sectionLibraryApiError(
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { S as StreamFields, a as StreamDocument, T as TranslationDictionary, b as ThemeConfig, P as ProductPrice, C as CreateItemSourceOptions, I as ItemSourceInstance, c as TailwindConfig, E as EntityFieldTypes, d as ComponentRegistry, e as TranslatableRichText, M as MsgString, R as RichText, f as ThemeOptions, g as ThemeColor, Y as YextComponentConfig, h as YextEntityField, i as CTAVariant, j as TranslatableString, H as HeadingProps, k as HeadingLevel, l as ImageFillType, m as TranslatableAssetImage, n as ImgSizesByBreakpoint, B as BasicSelectorField, o as SlottedItemSourceInstance, L as LocatorEntityType, p as BodyProps, q as MultiSelectorValue, r as StyledTextValue, s as ComprehensiveCTAValue, t as CTAProps, u as BaseTextStyles, F as FontRegistry, v as CTASelectorField, w as CodeField, x as ComprehensiveCTAField, D as DateTimeSelectorField, y as EntityFieldSelectorField, z as MultiSelectorOptionValue, A as MultiSelectorField, G as FontSizeSelectorField, J as ImageField, O as OptionalNumberField, K as StyledButtonField, N as StyledButtonValue, Q as StyledImageField, U as StyledImageValue, V as StyledLinkField, W as StyledLinkValue, X as StyledPageSectionField, Z as StyledPageSectionValue, _ as StyledTextField, $ as TranslatableStringField, a0 as VideoField, a1 as AssetVideo, a2 as SectionLibraryTranslationLoaders } from './locatorEntityTypes-s4dmT9l5.js';
2
- export { a3 as Accordion, a4 as AccordionContent, a5 as AccordionItem, a6 as AccordionTrigger, a7 as AssetImageType, a8 as Background, a9 as BackgroundProps, aa as BackgroundProvider, ab as BasicSelectorFieldOverride, ac as Body, ad as BreadcrumbLink, ae as Button, af as ButtonProps, ag as CTA, ah as CTASelectorFieldOverride, ai as CodeFieldOverride, aj as ComprehensiveCTAFieldOverride, ak as CreateSlottedItemSourceOptions, al as DateTimeSelectorFieldOverride, am as DropdownMenu, an as DropdownMenuContent, ao as DropdownMenuItem, ap as DropdownMenuTrigger, aq as EmbeddedFieldStringInputFromEntity, ar as EmbeddedFieldStringInputFromOptions, as as EnhancedTranslatableCTA, at as EntityField, au as EntityFieldSelectorFieldOverride, av as EventSectionType, aw as EventStruct, ax as FAQSectionType, ay as FAQStruct, az as FOOD_DELIVERY_SERVICES, aA as Font, aB as FontSizeSelectorFieldOverride, aC as FoodDeliveryServiceType, aD as Heading, aE as HeroSectionType, aF as HoursStatusAtom, aG as HoursStatusAtomProps, aH as HoursTableAtom, aI as HoursTableAtomProps, aJ as Image, aK as ImageContentData, aL as ImageFieldOverride, aM as ImageProps, aN as InsightSectionType, aO as InsightStruct, aP as LocalizedAssetImage, aQ as MaybeLink, aR as MaybeLinkProps, aS as MultiSelectorFieldOverride, aT as MultiSelectorOption, aU as MultiSelectorOptions, aV as OptionalNumberFieldOverride, aW as PageSection, aX as PageSectionProps, aY as PersonStruct, aZ as PhoneAtom, a_ as PhoneAtomProps, a$ as PresetImageType, b0 as ProductSectionType, b1 as ProductStruct, b2 as PromoSectionType, b3 as RenderYextEntityFieldSelectorProps, b4 as StyledButtonFieldOverride, b5 as StyledImageFieldOverride, b6 as StyledLinkFieldOverride, b7 as StyledPageSectionFieldOverride, b8 as StyledTextFieldOverride, b9 as TeamSectionType, ba as TemplatePropsContext, bb as TestimonialSectionType, bc as TestimonialStruct, bd as TimestampAtom, be as TimestampAtomProps, bf as TimestampOption, bg as TranslatableCTA, bh as TranslatableStringFieldOverride, bi as TranslationLoader, bj as TranslationLoaders, bk as VideoAtom, bl as VideoAtomProps, bm as VideoFieldOverride, bn as VisibilityWrapper, bo as VisualEditorComponentsContentPath, bp as VisualEditorThemeClassSafelist, bq as YextArrayField, br as YextAutoField, bs as YextCTAField, bt as YextCustomFieldRenderProps, bu as YextEntityFieldSelector, bv as YextFieldDefinition, bw as YextFieldMap, bx as YextFields, by as YextObjectField, bz as YextPuckField, bA as YextSchemaField, bB as YextSchemaFieldDefinition, bC as backgroundColors, bD as bindSlots, bE as bodyVariants, bF as buttonVariants, bG as constructFontSelectOptions, bH as createSearchAnalyticsConfig, bI as createSearchHeadlessConfig, bJ as createSlottedItemSource, bK as deepMerge, bL as defaultFonts, bM as defaultThemeTailwindExtensions, bN as fetchLocalesToPathsForEntity, bO as getDefaultForegroundColor, bP as getFontWeightOptions, bQ as getFontWeightOverrideOptions, bR as getPageMetadata, bS as getPreferredDistanceUnit, bT as getSurfaceColorStyle, bU as getThemeColorCssValue, bV as getThemeColorHexValue, bW as headingVariants, bX as imgSizesHelper, bY as isDarkColor, bZ as isLocalizedAssetImage, b_ as mergeMeta, b$ as msg, c0 as normalizeLink, c1 as normalizeSlug, c2 as normalizeThemeColorToken, c3 as pt, c4 as resolveBreadcrumbs, c5 as resolveComponentData, c6 as resolveDataFromParent, c7 as resolveLocalizedAssetImage, c8 as resolveUrlTemplate, c9 as resolveUrlTemplateOfChild, ca as resolveYextEntityField, cb as themeManagerCn, cc as themeManagerTwMergeConfiguration, cd as themeResolver, ce as toKilometers, cf as toPuckFields, cg as useBackground, ch as useDocument, ci as usePlatformTranslation, cj as useTemplateProps } from './locatorEntityTypes-s4dmT9l5.js';
1
+ import { S as StreamFields, a as StreamDocument, T as TranslationDictionary, b as ThemeConfig, P as ProductPrice, C as CreateItemSourceOptions, I as ItemSourceInstance, c as TailwindConfig, E as EntityFieldTypes, d as ComponentRegistry, e as TranslatableRichText, M as MsgString, R as RichText, f as ThemeOptions, g as ThemeColor, Y as YextComponentConfig, h as YextEntityField, i as CTAVariant, j as TranslatableString, H as HeadingProps, k as HeadingLevel, l as ImageFillType, m as TranslatableAssetImage, n as ImgSizesByBreakpoint, B as BasicSelectorField, o as SlottedItemSourceInstance, L as LocatorEntityType, p as BodyProps, q as MultiSelectorValue, r as StyledTextValue, s as ComprehensiveCTAValue, t as CTAProps, u as BaseTextStyles, F as FontRegistry, v as CTASelectorField, w as CodeField, x as ComprehensiveCTAField, D as DateTimeSelectorField, y as EntityFieldSelectorField, z as MultiSelectorOptionValue, A as MultiSelectorField, G as FontSizeSelectorField, J as ImageField, O as OptionalNumberField, K as StyledButtonField, N as StyledButtonValue, Q as StyledImageField, U as StyledImageValue, V as StyledLinkField, W as StyledLinkValue, X as StyledPageSectionField, Z as StyledPageSectionValue, _ as StyledTextField, $ as TranslatableStringField, a0 as VideoField, a1 as AssetVideo, a2 as SectionLibraryTranslationLoaders } from './locatorEntityTypes-Cx069o6O.js';
2
+ export { a3 as Accordion, a4 as AccordionContent, a5 as AccordionItem, a6 as AccordionTrigger, a7 as AssetImageType, a8 as Background, a9 as BackgroundProps, aa as BackgroundProvider, ab as BasicSelectorFieldOverride, ac as Body, ad as BreadcrumbLink, ae as Button, af as ButtonProps, ag as CTA, ah as CTASelectorFieldOverride, ai as CodeFieldOverride, aj as ComprehensiveCTAFieldOverride, ak as CreateSlottedItemSourceOptions, al as DateTimeSelectorFieldOverride, am as DropdownMenu, an as DropdownMenuContent, ao as DropdownMenuItem, ap as DropdownMenuTrigger, aq as EmbeddedFieldStringInputFromEntity, ar as EmbeddedFieldStringInputFromOptions, as as EnhancedTranslatableCTA, at as EntityField, au as EntityFieldSelectorFieldOverride, av as EventSectionType, aw as EventStruct, ax as FAQSectionType, ay as FAQStruct, az as FOOD_DELIVERY_SERVICES, aA as Font, aB as FontSizeSelectorFieldOverride, aC as FoodDeliveryServiceType, aD as Heading, aE as HeroSectionType, aF as HoursStatusAtom, aG as HoursStatusAtomProps, aH as HoursTableAtom, aI as HoursTableAtomProps, aJ as Image, aK as ImageContentData, aL as ImageFieldOverride, aM as ImageProps, aN as InsightSectionType, aO as InsightStruct, aP as LocalizedAssetImage, aQ as MaybeLink, aR as MaybeLinkProps, aS as MultiSelectorFieldOverride, aT as MultiSelectorOption, aU as MultiSelectorOptions, aV as OptionalNumberFieldOverride, aW as PageSection, aX as PageSectionProps, aY as PersonStruct, aZ as PhoneAtom, a_ as PhoneAtomProps, a$ as PresetImageType, b0 as ProductSectionType, b1 as ProductStruct, b2 as PromoSectionType, b3 as RenderYextEntityFieldSelectorProps, b4 as StyledButtonFieldOverride, b5 as StyledImageFieldOverride, b6 as StyledLinkFieldOverride, b7 as StyledPageSectionFieldOverride, b8 as StyledTextFieldOverride, b9 as TeamSectionType, ba as TemplatePropsContext, bb as TestimonialSectionType, bc as TestimonialStruct, bd as TimestampAtom, be as TimestampAtomProps, bf as TimestampOption, bg as TranslatableCTA, bh as TranslatableStringFieldOverride, bi as TranslationLoader, bj as TranslationLoaders, bk as VideoAtom, bl as VideoAtomProps, bm as VideoFieldOverride, bn as VisibilityWrapper, bo as VisualEditorComponentsContentPath, bp as VisualEditorThemeClassSafelist, bq as YextArrayField, br as YextAutoField, bs as YextCTAField, bt as YextCustomFieldRenderProps, bu as YextEntityFieldSelector, bv as YextFieldDefinition, bw as YextFieldMap, bx as YextFields, by as YextObjectField, bz as YextPuckField, bA as YextSchemaField, bB as YextSchemaFieldDefinition, bC as backgroundColors, bD as bindSlots, bE as bodyVariants, bF as buttonVariants, bG as constructFontSelectOptions, bH as createSearchAnalyticsConfig, bI as createSearchHeadlessConfig, bJ as createSlottedItemSource, bK as deepMerge, bL as defaultFonts, bM as defaultThemeTailwindExtensions, bN as fetchLocalesToPathsForEntity, bO as getDefaultForegroundColor, bP as getFontWeightOptions, bQ as getFontWeightOverrideOptions, bR as getPageMetadata, bS as getPreferredDistanceUnit, bT as getSurfaceColorStyle, bU as getThemeColorCssValue, bV as getThemeColorHexValue, bW as headingVariants, bX as imgSizesHelper, bY as isDarkColor, bZ as isLocalizedAssetImage, b_ as mergeMeta, b$ as msg, c0 as normalizeLink, c1 as normalizeSlug, c2 as normalizeThemeColorToken, c3 as pt, c4 as resolveBreadcrumbs, c5 as resolveComponentData, c6 as resolveDataFromParent, c7 as resolveLocalizedAssetImage, c8 as resolveUrlTemplate, c9 as resolveUrlTemplateOfChild, ca as resolveYextEntityField, cb as themeManagerCn, cc as themeManagerTwMergeConfiguration, cd as themeResolver, ce as toKilometers, cf as toPuckFields, cg as useBackground, ch as useDocument, ci as usePlatformTranslation, cj as useTemplateProps } from './locatorEntityTypes-Cx069o6O.js';
3
3
  import * as React$1 from 'react';
4
4
  import React__default from 'react';
5
5
  import * as _puckeditor_core from '@puckeditor/core';
@@ -63,7 +63,7 @@ interface TemplateRenderProps {
63
63
  /** The stream document */
64
64
  document: StreamDocument;
65
65
  }
66
- declare const getSchema: (data: TemplateRenderProps) => Record<string, any>;
66
+ declare const getSchema: (data: TemplateRenderProps) => Record<string, any> | string;
67
67
 
68
68
  /**
69
69
  * getDirectoryParents returns an array of objects. If no dm_directoryParents or children of
@@ -79,6 +79,7 @@
79
79
  "textAndLink": "Text a odkaz"
80
80
  },
81
81
  "currentLocation": "Aktuální poloha",
82
+ "custom": "Vlastní",
82
83
  "customSearchArea": "Vlastní vyhledávací oblast",
83
84
  "dataAttribute": "Atribut",
84
85
  "date": "Datum",
@@ -414,6 +415,7 @@
414
415
  "metaTitle": "vyplňte název metadat pro všechna národní prostředí tak, že přejdete do nastavení komponenty stránky nejvyšší úrovně",
415
416
  "metaTitleWithLocales": "vyplňte metanázev pro následující národní prostředí tak, že přejdete do nastavení komponenty stránky nejvyšší úrovně: {{locales}}"
416
417
  },
418
+ "recommended": "Doporučené",
417
419
  "recommendedColor": "Doporučená barva",
418
420
  "recommendedColors": "Doporučené barvy",
419
421
  "redo": "Předělat",
@@ -423,6 +425,7 @@
423
425
  "restaurants": "Restaurace",
424
426
  "saturday": "sobota",
425
427
  "schemaMarkup": "Označení schématu",
428
+ "schemaMode": "Režim schématu",
426
429
  "search": "Vyhledávání",
427
430
  "searchHere": "Hledejte zde ...",
428
431
  "searchThisArea": "Prohledejte tuto oblast",
@@ -79,6 +79,7 @@
79
79
  "textAndLink": "Tekst og link"
80
80
  },
81
81
  "currentLocation": "Nuværende placering",
82
+ "custom": "Brugerdefineret",
82
83
  "customSearchArea": "Brugerdefineret søgeområde",
83
84
  "dataAttribute": "Attribut",
84
85
  "date": "Dato",
@@ -404,6 +405,7 @@
404
405
  "metaTitle": "udfyld Meta Title for alle lokaliteter ved at navigere til sidekomponentens indstillinger på øverste niveau",
405
406
  "metaTitleWithLocales": "udfyld Meta Title for følgende lokaliteter ved at navigere til sidekomponentens indstillinger på øverste niveau: {{locales}}"
406
407
  },
408
+ "recommended": "Anbefalet",
407
409
  "recommendedColor": "Anbefalet farve",
408
410
  "recommendedColors": "Anbefalede farver",
409
411
  "redo": "Genindstille",
@@ -413,6 +415,7 @@
413
415
  "restaurants": "Restauranter",
414
416
  "saturday": "lørdag",
415
417
  "schemaMarkup": "Skema markering",
418
+ "schemaMode": "Skematilstand",
416
419
  "search": "Søge",
417
420
  "searchHere": "Søg her ...",
418
421
  "searchThisArea": "Søg i dette område",
@@ -79,6 +79,7 @@
79
79
  "textAndLink": "Text & Link"
80
80
  },
81
81
  "currentLocation": "Aktueller Standort",
82
+ "custom": "Benutzerdefiniert",
82
83
  "customSearchArea": "Benutzerdefinierter Suchbereich",
83
84
  "dataAttribute": "Attribut",
84
85
  "date": "Datum",
@@ -404,6 +405,7 @@
404
405
  "metaTitle": "Geben Sie den Metatitel für alle Gebietsschemas ein, indem Sie zu den Einstellungen der Seitenkomponente der obersten Ebene navigieren",
405
406
  "metaTitleWithLocales": "Geben Sie den Metatitel für die folgenden Gebietsschemata ein, indem Sie zu den Einstellungen der Seitenkomponente der obersten Ebene navigieren: {{locales}}"
406
407
  },
408
+ "recommended": "Empfohlen",
407
409
  "recommendedColor": "Empfohlene Farbe",
408
410
  "recommendedColors": "Empfohlene Farben",
409
411
  "redo": "Wiederholen",
@@ -413,6 +415,7 @@
413
415
  "restaurants": "Restaurants",
414
416
  "saturday": "Samstag",
415
417
  "schemaMarkup": "Schema Markup",
418
+ "schemaMode": "Schema-Modus",
416
419
  "search": "Suchen",
417
420
  "searchHere": "Hier suchen...",
418
421
  "searchThisArea": "In diesem Bereich suchen",
@@ -79,6 +79,7 @@
79
79
  "textAndLink": "Text & Link"
80
80
  },
81
81
  "currentLocation": "Current Location",
82
+ "custom": "Custom",
82
83
  "customSearchArea": "Custom Search Area",
83
84
  "dataAttribute": "Attribute",
84
85
  "date": "Date",
@@ -404,6 +405,7 @@
404
405
  "metaTitle": "fill in Meta Title for all locales by navigating to the top-level Page component's settings",
405
406
  "metaTitleWithLocales": "fill in Meta Title for the following locales by navigating to the top-level Page component's settings: {{locales}}"
406
407
  },
408
+ "recommended": "Recommended",
407
409
  "recommendedColor": "Recommended Color",
408
410
  "recommendedColors": "Recommended Colors",
409
411
  "redo": "Redo",
@@ -413,6 +415,7 @@
413
415
  "restaurants": "Restaurants",
414
416
  "saturday": "Saturday",
415
417
  "schemaMarkup": "Schema Markup",
418
+ "schemaMode": "Schema Mode",
416
419
  "search": "Search",
417
420
  "searchHere": "Search here...",
418
421
  "searchThisArea": "Search This Area",
@@ -79,6 +79,7 @@
79
79
  "textAndLink": "Text & Link"
80
80
  },
81
81
  "currentLocation": "Current Location",
82
+ "custom": "Custom",
82
83
  "customSearchArea": "Custom Search Area",
83
84
  "dataAttribute": "Attribute",
84
85
  "date": "Date",
@@ -404,6 +405,7 @@
404
405
  "metaTitle": "fill in Meta Title for all locales by navigating to the top-level Page component's settings",
405
406
  "metaTitleWithLocales": "fill in Meta Title for the following locales by navigating to the top-level Page component's settings: {{locales}}"
406
407
  },
408
+ "recommended": "Recommended",
407
409
  "recommendedColor": "Recommended Color",
408
410
  "recommendedColors": "Recommended Colors",
409
411
  "redo": "Redo",
@@ -413,6 +415,7 @@
413
415
  "restaurants": "Restaurants",
414
416
  "saturday": "Saturday",
415
417
  "schemaMarkup": "Schema Markup",
418
+ "schemaMode": "Schema Mode",
416
419
  "search": "Search",
417
420
  "searchHere": "Search here...",
418
421
  "searchThisArea": "Search This Area",
@@ -79,6 +79,7 @@
79
79
  "textAndLink": "Texto y enlace"
80
80
  },
81
81
  "currentLocation": "Ubicación actual",
82
+ "custom": "Personalizado",
82
83
  "customSearchArea": "Área de búsqueda personalizada",
83
84
  "dataAttribute": "Atributo",
84
85
  "date": "Fecha",
@@ -409,6 +410,7 @@
409
410
  "metaTitle": "complete el metatítulo para todas las configuraciones regionales navegando a la configuración del componente de página de nivel superior",
410
411
  "metaTitleWithLocales": "complete el metatítulo para las siguientes configuraciones regionales navegando a la configuración del componente de página de nivel superior: {{locales}}"
411
412
  },
413
+ "recommended": "Recomendado",
412
414
  "recommendedColor": "Color recomendado",
413
415
  "recommendedColors": "Colores recomendados",
414
416
  "redo": "Rehacer",
@@ -418,6 +420,7 @@
418
420
  "restaurants": "Restaurantes",
419
421
  "saturday": "Sábado",
420
422
  "schemaMarkup": "Marcado de esquema",
423
+ "schemaMode": "Modo de esquema",
421
424
  "search": "Buscar",
422
425
  "searchHere": "Buscar aquí ...",
423
426
  "searchThisArea": "Busca esta área",
@@ -79,6 +79,7 @@
79
79
  "textAndLink": "Tekst ja link"
80
80
  },
81
81
  "currentLocation": "Praegune asukoht",
82
+ "custom": "Kohandatud",
82
83
  "customSearchArea": "Kohandatud otsinguala",
83
84
  "dataAttribute": "Atribuut",
84
85
  "date": "Kuupäev",
@@ -404,6 +405,7 @@
404
405
  "metaTitle": "täitke metapealkiri kõigi lokaatide jaoks, navigeerides lehe ülataseme komponendi seadetesse",
405
406
  "metaTitleWithLocales": "täitke metapealkiri järgmiste lokaatide jaoks, navigeerides lehe ülataseme komponendi seadetesse: {{locales}}"
406
407
  },
408
+ "recommended": "Soovitatav",
407
409
  "recommendedColor": "Soovitatav värv",
408
410
  "recommendedColors": "Soovitatavad värvid",
409
411
  "redo": "Uuesti tegema",
@@ -413,6 +415,7 @@
413
415
  "restaurants": "Restoranid",
414
416
  "saturday": "Laupäev",
415
417
  "schemaMarkup": "Skeemi märgistus",
418
+ "schemaMode": "Skeemi režiim",
416
419
  "search": "Otsima",
417
420
  "searchHere": "Otsige siit ...",
418
421
  "searchThisArea": "Otsige sellest piirkonnast",
@@ -79,6 +79,7 @@
79
79
  "textAndLink": "Teksti ja linkki"
80
80
  },
81
81
  "currentLocation": "Nykyinen sijainti",
82
+ "custom": "Mukautettu",
82
83
  "customSearchArea": "Mukautettu hakualue",
83
84
  "dataAttribute": "Attribuutti",
84
85
  "date": "Päivämäärä",
@@ -404,6 +405,7 @@
404
405
  "metaTitle": "täytä Meta Title kaikille alueille siirtymällä sivukomponentin ylätason asetuksiin",
405
406
  "metaTitleWithLocales": "täytä Meta Title seuraaville alueille siirtymällä sivukomponentin ylätason asetuksiin: {{locales}}"
406
407
  },
408
+ "recommended": "Suositeltu",
407
409
  "recommendedColor": "Suositeltu väri",
408
410
  "recommendedColors": "Suositellut värit",
409
411
  "redo": "Tehdä uudelleen",
@@ -413,6 +415,7 @@
413
415
  "restaurants": "Ravintolat",
414
416
  "saturday": "lauantai",
415
417
  "schemaMarkup": "Kaavio",
418
+ "schemaMode": "Skeeman tila",
416
419
  "search": "Haku",
417
420
  "searchHere": "Etsi täältä ...",
418
421
  "searchThisArea": "Etsi tätä aluetta",
@@ -79,6 +79,7 @@
79
79
  "textAndLink": "Texte et lien"
80
80
  },
81
81
  "currentLocation": "Emplacement actuel",
82
+ "custom": "Personnalisé",
82
83
  "customSearchArea": "Zone de recherche personnalisée",
83
84
  "dataAttribute": "Attribut",
84
85
  "date": "Date",
@@ -409,6 +410,7 @@
409
410
  "metaTitle": "remplissez le méta-titre pour tous les paramètres régionaux en accédant aux paramètres du composant Page de niveau supérieur",
410
411
  "metaTitleWithLocales": "remplissez le méta-titre pour les paramètres régionaux suivants en accédant aux paramètres du composant Page de niveau supérieur : {{locales}}"
411
412
  },
413
+ "recommended": "Recommandé",
412
414
  "recommendedColor": "Couleur recommandée",
413
415
  "recommendedColors": "Couleurs recommandées",
414
416
  "redo": "Refaire",
@@ -418,6 +420,7 @@
418
420
  "restaurants": "Restaurants",
419
421
  "saturday": "Samedi",
420
422
  "schemaMarkup": "Marquage du schéma",
423
+ "schemaMode": "Mode de schéma",
421
424
  "search": "Recherche",
422
425
  "searchHere": "Recherche ici ...",
423
426
  "searchThisArea": "Recherchez cette zone",
@@ -79,6 +79,7 @@
79
79
  "textAndLink": "Tekst i veza"
80
80
  },
81
81
  "currentLocation": "Trenutna lokacija",
82
+ "custom": "Prilagođeno",
82
83
  "customSearchArea": "Područje prilagođenog pretraživanja",
83
84
  "dataAttribute": "Atribut",
84
85
  "date": "Datum",
@@ -409,6 +410,7 @@
409
410
  "metaTitle": "ispunite Meta Title za sve jezike tako što ćete otići do postavki komponente stranice najviše razine",
410
411
  "metaTitleWithLocales": "ispunite Meta Title za sljedeće lokalitete dolaskom na postavke komponente stranice najviše razine: {{locales}}"
411
412
  },
413
+ "recommended": "Preporučeno",
412
414
  "recommendedColor": "Preporučena boja",
413
415
  "recommendedColors": "Preporučene boje",
414
416
  "redo": "Ponovno obnavljati",
@@ -418,6 +420,7 @@
418
420
  "restaurants": "Restorani",
419
421
  "saturday": "subota",
420
422
  "schemaMarkup": "Oznaka sheme",
423
+ "schemaMode": "Način sheme",
421
424
  "search": "Pretraživanje",
422
425
  "searchHere": "Pretražite ovdje ...",
423
426
  "searchThisArea": "Pretražite ovo područje",
@@ -79,6 +79,7 @@
79
79
  "textAndLink": "Szöveg és link"
80
80
  },
81
81
  "currentLocation": "Jelenlegi hely",
82
+ "custom": "Egyéni",
82
83
  "customSearchArea": "Egyedi keresési terület",
83
84
  "dataAttribute": "Adatattribútum",
84
85
  "date": "Dátum",
@@ -404,6 +405,7 @@
404
405
  "metaTitle": "töltse ki a metacímet az összes területhez a legfelső szintű oldal összetevő beállításaihoz navigálva",
405
406
  "metaTitleWithLocales": "töltse ki a metacímet a következő nyelvekhez a legfelső szintű oldal összetevő beállításaihoz navigálva: {{locales}}"
406
407
  },
408
+ "recommended": "Ajánlott",
407
409
  "recommendedColor": "Ajánlott szín",
408
410
  "recommendedColors": "Ajánlott színek",
409
411
  "redo": "Újra felújít",
@@ -413,6 +415,7 @@
413
415
  "restaurants": "Éttermek",
414
416
  "saturday": "szombat",
415
417
  "schemaMarkup": "Séma jelölés",
418
+ "schemaMode": "Sémamód",
416
419
  "search": "Keresés",
417
420
  "searchHere": "Keressen itt ...",
418
421
  "searchThisArea": "Keresse meg ezt a területet",