@gem-sdk/components 2.0.0-dev.838 → 2.0.0-dev.839
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.
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<path d="M4.31507 1.5C4.00299 1.5 3.75 1.7641 3.75 2.08989V4.92135C3.75 5.24713 4.00299 5.51124 4.31507 5.51124H5.21918C5.53125 5.51124 5.78425 5.24713 5.78425 4.92135V3.6236H10.9829V20.3764H9.73973C9.42769 20.3764 9.17466 20.6405 9.17466 20.9663V21.9101C9.17466 22.2359 9.42769 22.5 9.73973 22.5H14.2603C14.5723 22.5 14.8253 22.2359 14.8253 21.9101V20.9663C14.8253 20.6405 14.5723 20.3764 14.2603 20.3764H13.0171V3.6236H18.2158V4.92135C18.2158 5.24714 18.4688 5.51124 18.7808 5.51124H19.6849C19.997 5.51124 20.25 5.24714 20.25 4.92135V2.08989C20.25 1.7641 19.997 1.5 19.6849 1.5H4.31507Z" fill="currentColor"/>
|
|
4
4
|
</svg>
|
|
5
5
|
|
|
6
|
-
`,settings:[{id:"setting",controls:[{id:"htmlTag",label:"HTML Tag",type:"select",options:[{value:"h1",label:"H1"},{value:"h2",label:"H2"},{value:"h3",label:"H3"},{value:"h4",label:"H4"},{value:"h5",label:"H5"},{value:"h6",label:"H6"}],default:"h1"},{id:"linkProduct",label:"Link To Product",type:"select",options:[{label:"Open product page",value:!0},{label:"None",value:!1}],default:!1,info:"Ability to click on product title to go to product detail page."}]},{id:"style",controls:[{id:"typo",type:"typography-v2",default:{type:"subheading-3"},ignoreReRender:!0,hiddenSetting:{color:!0}},{id:"textAlign",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"text"},{label:"Center",value:"center",type:"text"},{label:"Right",value:"right",type:"text"},{label:"Justify",value:"justify",type:"text"}],devices:{desktop:{default:"left"}}},{id:"hasLineClamp",type:"toggle",label:"Has Line Clamp",devices:{desktop:{default:!1}}},{id:"lineClamp",type:"input:number",min:1,label:"Line Clamp",devices:{desktop:{default:12}},hide:!0},{id:"color",label:"Text Color",type:"colorpicker",default:{normal:"text-2"},state:{normal:!0,hover:!0}},{id:"hasTextShadow",type:"toggle",label:"Enable Text Shadow",default:{normal:!1,hover:!1},state:{normal:!0,hover:!0}},{id:"textShadow",type:"textShadow",label:"Text Shadow",hideOnState:{normal:!0,hover:!0},default:{normal:{type:"shadow-1"}},state:{normal:!0,hover:!0}}]}],ui:[{type:"control",label:{en:"Product link"},setting:{id:"linkProduct"},options:{label:"large",hideOnPages:["STATIC"]}},{type:"control",label:{en:"Text"},setting:{id:"typo"},layout:"vertical"},{type:"group",label:{en:""},controls:[{type:"control",label:{en:"Max lines"},setting:{id:"hasLineClamp"},options:{label:"large"}},{type:"control",label:{en:"Max lines"},setting:{id:"lineClamp"},condition:"hasLineClamp == true"}]},{type:"group",label:{en:"States"},options:{labelSpacing:"small"},controls:[{type:"tab",controls:[{type:"group",label:{en:"Normal"},controls:[{type:"control",label:{en:"Text color"},setting:{id:"color",state:"normal"}}]},{type:"group",label:{en:"Hover"},controls:[{type:"control",label:{en:"Text color"},setting:{id:"color",state:"hover"}}]}]}]},{type:"control",label:{en:"Align"},setting:{id:"textAlign"}},{type:"group",label:{en:"SEO"},controls:[{type:"control",label:{en:"HTML tag"},setting:{id:"htmlTag"}}]}],editorConfigs:{placeholder:{flowTag:["Product"]}},presets:[{id:"product-title",name:{en:"Product Title"},icon:{desktop:`<svg width="96" height="48" viewBox="0 0 96 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
6
|
+
`,settings:[{id:"setting",controls:[{id:"htmlTag",label:"HTML Tag",type:"select",options:[{value:"h1",label:"H1"},{value:"h2",label:"H2"},{value:"h3",label:"H3"},{value:"h4",label:"H4"},{value:"h5",label:"H5"},{value:"h6",label:"H6"},{value:"div",label:"Div"},{value:"p",label:"P"}],default:"h1"},{id:"linkProduct",label:"Link To Product",type:"select",options:[{label:"Open product page",value:!0},{label:"None",value:!1}],default:!1,info:"Ability to click on product title to go to product detail page."}]},{id:"style",controls:[{id:"typo",type:"typography-v2",default:{type:"subheading-3"},ignoreReRender:!0,hiddenSetting:{color:!0}},{id:"textAlign",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"text"},{label:"Center",value:"center",type:"text"},{label:"Right",value:"right",type:"text"},{label:"Justify",value:"justify",type:"text"}],devices:{desktop:{default:"left"}}},{id:"hasLineClamp",type:"toggle",label:"Has Line Clamp",devices:{desktop:{default:!1}}},{id:"lineClamp",type:"input:number",min:1,label:"Line Clamp",devices:{desktop:{default:12}},hide:!0},{id:"color",label:"Text Color",type:"colorpicker",default:{normal:"text-2"},state:{normal:!0,hover:!0}},{id:"hasTextShadow",type:"toggle",label:"Enable Text Shadow",default:{normal:!1,hover:!1},state:{normal:!0,hover:!0}},{id:"textShadow",type:"textShadow",label:"Text Shadow",hideOnState:{normal:!0,hover:!0},default:{normal:{type:"shadow-1"}},state:{normal:!0,hover:!0}}]}],ui:[{type:"control",label:{en:"Product link"},setting:{id:"linkProduct"},options:{label:"large",hideOnPages:["STATIC"]}},{type:"control",label:{en:"Text"},setting:{id:"typo"},layout:"vertical"},{type:"group",label:{en:""},controls:[{type:"control",label:{en:"Max lines"},setting:{id:"hasLineClamp"},options:{label:"large"}},{type:"control",label:{en:"Max lines"},setting:{id:"lineClamp"},condition:"hasLineClamp == true"}]},{type:"group",label:{en:"States"},options:{labelSpacing:"small"},controls:[{type:"tab",controls:[{type:"group",label:{en:"Normal"},controls:[{type:"control",label:{en:"Text color"},setting:{id:"color",state:"normal"}}]},{type:"group",label:{en:"Hover"},controls:[{type:"control",label:{en:"Text color"},setting:{id:"color",state:"hover"}}]}]}]},{type:"control",label:{en:"Align"},setting:{id:"textAlign"}},{type:"group",label:{en:"SEO"},controls:[{type:"control",label:{en:"HTML tag"},setting:{id:"htmlTag"}}]}],editorConfigs:{placeholder:{flowTag:["Product"]}},presets:[{id:"product-title",name:{en:"Product Title"},icon:{desktop:`<svg width="96" height="48" viewBox="0 0 96 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
7
7
|
<path d="M15.0639 18.875V17.3636H24.0696V18.875H20.4389V29H18.6889V18.875H15.0639ZM28.3338 29.1761C27.5156 29.1761 26.8016 28.9886 26.1918 28.6136C25.5819 28.2386 25.1084 27.714 24.7713 27.0398C24.4342 26.3655 24.2656 25.5777 24.2656 24.6761C24.2656 23.7708 24.4342 22.9792 24.7713 22.3011C25.1084 21.6231 25.5819 21.0966 26.1918 20.7216C26.8016 20.3466 27.5156 20.1591 28.3338 20.1591C29.152 20.1591 29.866 20.3466 30.4759 20.7216C31.0857 21.0966 31.5592 21.6231 31.8963 22.3011C32.2334 22.9792 32.402 23.7708 32.402 24.6761C32.402 25.5777 32.2334 26.3655 31.8963 27.0398C31.5592 27.714 31.0857 28.2386 30.4759 28.6136C29.866 28.9886 29.152 29.1761 28.3338 29.1761ZM28.3395 27.75C28.8698 27.75 29.3092 27.6098 29.6577 27.3295C30.0062 27.0492 30.2637 26.6761 30.4304 26.2102C30.6009 25.7443 30.6861 25.2311 30.6861 24.6705C30.6861 24.1136 30.6009 23.6023 30.4304 23.1364C30.2637 22.6667 30.0062 22.2898 29.6577 22.0057C29.3092 21.7216 28.8698 21.5795 28.3395 21.5795C27.8054 21.5795 27.3622 21.7216 27.0099 22.0057C26.6615 22.2898 26.402 22.6667 26.2315 23.1364C26.0649 23.6023 25.9815 24.1136 25.9815 24.6705C25.9815 25.2311 26.0649 25.7443 26.2315 26.2102C26.402 26.6761 26.6615 27.0492 27.0099 27.3295C27.3622 27.6098 27.8054 27.75 28.3395 27.75ZM38.3722 20.2727V21.6364H33.6051V20.2727H38.3722ZM34.8835 18.1818H36.5824V26.4375C36.5824 26.767 36.6316 27.0152 36.7301 27.1818C36.8286 27.3447 36.9555 27.4564 37.1108 27.517C37.2699 27.5739 37.4422 27.6023 37.6278 27.6023C37.7642 27.6023 37.8835 27.5928 37.9858 27.5739C38.0881 27.5549 38.1676 27.5398 38.2244 27.5284L38.5312 28.9318C38.4328 28.9697 38.2926 29.0076 38.1108 29.0455C37.929 29.0871 37.7017 29.1098 37.429 29.1136C36.982 29.1212 36.5653 29.0417 36.179 28.875C35.7926 28.7083 35.4801 28.4508 35.2415 28.1023C35.0028 27.7538 34.8835 27.3163 34.8835 26.7898V18.1818ZM43.919 29.1761C43.0592 29.1761 42.3187 28.9924 41.6974 28.625C41.08 28.2538 40.6027 27.733 40.2656 27.0625C39.9323 26.3883 39.7656 25.5985 39.7656 24.6932C39.7656 23.7992 39.9323 23.0114 40.2656 22.3295C40.6027 21.6477 41.0724 21.1155 41.6747 20.733C42.2808 20.3504 42.9891 20.1591 43.7997 20.1591C44.2921 20.1591 44.7694 20.2405 45.2315 20.4034C45.6937 20.5663 46.1084 20.822 46.4759 21.1705C46.8433 21.5189 47.133 21.9716 47.3452 22.5284C47.5573 23.0814 47.6634 23.7538 47.6634 24.5455V25.1477H40.7259V23.875H45.9986C45.9986 23.428 45.9077 23.0322 45.7259 22.6875C45.544 22.339 45.2884 22.0644 44.9588 21.8636C44.633 21.6629 44.2505 21.5625 43.8111 21.5625C43.3338 21.5625 42.9171 21.6799 42.5611 21.9148C42.2088 22.1458 41.9361 22.4489 41.7429 22.8239C41.5535 23.1951 41.4588 23.5985 41.4588 24.0341V25.0284C41.4588 25.6117 41.5611 26.108 41.7656 26.517C41.974 26.9261 42.2637 27.2386 42.6349 27.4545C43.0062 27.6667 43.4399 27.7727 43.9361 27.7727C44.258 27.7727 44.5516 27.7273 44.8168 27.6364C45.0819 27.5417 45.3111 27.4015 45.5043 27.2159C45.6974 27.0303 45.8452 26.8011 45.9474 26.5284L47.5554 26.8182C47.4266 27.2917 47.1955 27.7064 46.8622 28.0625C46.5327 28.4148 46.1179 28.6894 45.6179 28.8864C45.1217 29.0795 44.5554 29.1761 43.919 29.1761ZM53.919 29V17.3636H55.6179V21.6875H55.7202C55.8187 21.5057 55.9607 21.2955 56.1463 21.0568C56.3319 20.8182 56.5895 20.6098 56.919 20.4318C57.2486 20.25 57.6842 20.1591 58.2259 20.1591C58.9304 20.1591 59.5592 20.3371 60.1122 20.6932C60.6652 21.0492 61.099 21.5625 61.4134 22.233C61.7315 22.9034 61.8906 23.7102 61.8906 24.6534C61.8906 25.5966 61.7334 26.4053 61.419 27.0795C61.1046 27.75 60.6728 28.267 60.1236 28.6307C59.5743 28.9905 58.9474 29.1705 58.2429 29.1705C57.7126 29.1705 57.2789 29.0814 56.9418 28.9034C56.6084 28.7254 56.3471 28.517 56.1577 28.2784C55.9683 28.0398 55.8224 27.8277 55.7202 27.642H55.5781V29H53.919ZM55.5838 24.6364C55.5838 25.25 55.6728 25.7879 55.8509 26.25C56.0289 26.7121 56.2865 27.0739 56.6236 27.3352C56.9607 27.5928 57.3736 27.7216 57.8622 27.7216C58.3698 27.7216 58.794 27.5871 59.1349 27.3182C59.4759 27.0455 59.7334 26.6761 59.9077 26.2102C60.0857 25.7443 60.1747 25.2197 60.1747 24.6364C60.1747 24.0606 60.0876 23.5436 59.9134 23.0852C59.7429 22.6269 59.4853 22.2652 59.1406 22C58.7997 21.7348 58.3736 21.6023 57.8622 21.6023C57.3698 21.6023 56.9531 21.7292 56.6122 21.983C56.2751 22.2367 56.0194 22.5909 55.8452 23.0455C55.6709 23.5 55.5838 24.0303 55.5838 24.6364ZM66.3381 29.1932C65.785 29.1932 65.285 29.0909 64.8381 28.8864C64.3911 28.678 64.0369 28.3769 63.7756 27.983C63.518 27.589 63.3892 27.1061 63.3892 26.5341C63.3892 26.0417 63.4839 25.6364 63.6733 25.3182C63.8627 25 64.1184 24.7481 64.4403 24.5625C64.7623 24.3769 65.1222 24.2367 65.5199 24.142C65.9176 24.0473 66.3229 23.9754 66.7358 23.9261C67.2585 23.8655 67.6828 23.8163 68.0085 23.7784C68.3343 23.7367 68.571 23.6705 68.7188 23.5795C68.8665 23.4886 68.9403 23.3409 68.9403 23.1364V23.0966C68.9403 22.6004 68.8002 22.2159 68.5199 21.9432C68.2434 21.6705 67.8305 21.5341 67.2812 21.5341C66.7093 21.5341 66.2585 21.661 65.929 21.9148C65.6032 22.1648 65.3778 22.4432 65.2528 22.75L63.6562 22.3864C63.8456 21.8561 64.1222 21.428 64.4858 21.1023C64.8532 20.7727 65.2756 20.5341 65.7528 20.3864C66.2301 20.2348 66.732 20.1591 67.2585 20.1591C67.607 20.1591 67.9763 20.2008 68.3665 20.2841C68.7604 20.3636 69.1278 20.5114 69.4688 20.7273C69.8134 20.9432 70.0956 21.2519 70.3153 21.6534C70.535 22.0511 70.6449 22.5682 70.6449 23.2045V29H68.9858V27.8068H68.9176C68.8078 28.0265 68.643 28.2424 68.4233 28.4545C68.2036 28.6667 67.9214 28.8428 67.5767 28.983C67.232 29.1231 66.8191 29.1932 66.3381 29.1932ZM66.7074 27.8295C67.1771 27.8295 67.5786 27.7367 67.9119 27.5511C68.2491 27.3655 68.5047 27.1231 68.679 26.8239C68.857 26.5208 68.946 26.197 68.946 25.8523V24.7273C68.8854 24.7879 68.768 24.8447 68.5938 24.8977C68.4233 24.947 68.2282 24.9905 68.0085 25.0284C67.7888 25.0625 67.5748 25.0947 67.3665 25.125C67.1581 25.1515 66.9839 25.1742 66.8438 25.1932C66.5142 25.2348 66.2131 25.3049 65.9403 25.4034C65.6714 25.5019 65.4555 25.6439 65.2926 25.8295C65.1335 26.0114 65.054 26.2538 65.054 26.5568C65.054 26.9773 65.2093 27.2955 65.5199 27.5114C65.8305 27.7235 66.2263 27.8295 66.7074 27.8295ZM76.5668 32.4545C75.8736 32.4545 75.277 32.3636 74.777 32.1818C74.2808 32 73.8755 31.7595 73.5611 31.4602C73.2467 31.161 73.0118 30.8333 72.8565 30.4773L74.3168 29.875C74.419 30.0417 74.5554 30.2178 74.7259 30.4034C74.9001 30.5928 75.1349 30.7538 75.4304 30.8864C75.7296 31.0189 76.1141 31.0852 76.5838 31.0852C77.2277 31.0852 77.7599 30.928 78.1804 30.6136C78.6009 30.303 78.8111 29.8068 78.8111 29.125V27.4091H78.7031C78.6009 27.5947 78.4531 27.8011 78.2599 28.0284C78.0705 28.2557 77.8092 28.4527 77.4759 28.6193C77.1425 28.786 76.7088 28.8693 76.1747 28.8693C75.4853 28.8693 74.8641 28.7083 74.3111 28.3864C73.7618 28.0606 73.3262 27.5814 73.0043 26.9489C72.6861 26.3125 72.527 25.5303 72.527 24.6023C72.527 23.6742 72.6842 22.8788 72.9986 22.2159C73.3168 21.553 73.7524 21.0455 74.3054 20.6932C74.8584 20.3371 75.4853 20.1591 76.1861 20.1591C76.7277 20.1591 77.1652 20.25 77.4986 20.4318C77.8319 20.6098 78.0914 20.8182 78.277 21.0568C78.4664 21.2955 78.6122 21.5057 78.7145 21.6875H78.8395V20.2727H80.5043V29.1932C80.5043 29.9432 80.33 30.5587 79.9815 31.0398C79.633 31.5208 79.1615 31.8769 78.5668 32.108C77.9759 32.339 77.3092 32.4545 76.5668 32.4545ZM76.5497 27.4602C77.0384 27.4602 77.4512 27.3466 77.7884 27.1193C78.1293 26.8883 78.3868 26.5587 78.5611 26.1307C78.7391 25.6989 78.8281 25.1818 78.8281 24.5795C78.8281 23.9924 78.741 23.4754 78.5668 23.0284C78.3925 22.5814 78.1368 22.233 77.7997 21.983C77.4626 21.7292 77.0459 21.6023 76.5497 21.6023C76.0384 21.6023 75.6122 21.7348 75.2713 22C74.9304 22.2614 74.6728 22.6174 74.4986 23.0682C74.3281 23.5189 74.2429 24.0227 74.2429 24.5795C74.2429 25.1515 74.33 25.6534 74.5043 26.0852C74.6785 26.517 74.9361 26.8542 75.277 27.0966C75.6217 27.339 76.0459 27.4602 76.5497 27.4602Z" fill="#AAAAAA"/>
|
|
8
8
|
</svg>
|
|
9
9
|
`},components:[{tag:"ProductTitle",advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-l)"}}}}}]}],locales:{editor:{en:{product_not_found:"Product Not Found"}}}};exports.default=config;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
3
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M1.33301 9.16663C1.33301 8.89048 1.55687 8.66663 1.83301 8.66663H14.833C15.1091 8.66663 15.333 8.89048 15.333 9.16663V17.7105C15.333 17.9866 15.1091 18.2105 14.833 18.2105H1.83301C1.55687 18.2105 1.33301 17.9866 1.33301 17.7105V9.16663ZM3.66634 15.8245H12.9997V11.0526H3.66634V15.8245ZM18.833 9.16663C18.833 8.89048 19.0569 8.66663 19.333 8.66663H32.333C32.6091 8.66663 32.833 8.89048 32.833 9.16663V17.7105C32.833 17.9866 32.6091 18.2105 32.333 18.2105H19.333C19.0569 18.2105 18.833 17.9866 18.833 17.7105V9.16663ZM21.1663 15.8245H30.4997V11.0526H21.1663V15.8245ZM7.16634 30.8333C7.16634 31.1094 7.3902 31.3333 7.66634 31.3333H20.6663C20.9425 31.3333 21.1663 31.1094 21.1663 30.8333V22.2894C21.1663 22.0133 20.9425 21.7894 20.6663 21.7894H7.66634C7.3902 21.7894 7.16634 22.0133 7.16634 22.2894V30.8333ZM9.49967 24.1754H18.833V28.9473H9.49967V24.1754ZM25.1663 31.3333C24.8902 31.3333 24.6663 31.1094 24.6663 30.8333V22.2894C24.6663 22.0133 24.8902 21.7894 25.1663 21.7894H38.1663C38.4425 21.7894 38.6663 22.0133 38.6663 22.2894V30.8333C38.6663 31.1094 38.4425 31.3333 38.1663 31.3333H25.1663ZM26.9997 28.9473H36.333V24.1754H26.9997V28.9473Z" fill="currentColor"/>
|
|
4
4
|
</svg>
|
|
5
|
-
`,settings:[{id:"setting",controls:[{id:"variantsOption",type:"group",label:"Variants Options",controls:[{id:"optionType",label:"Option Label",type:"segment",default:"singleOption",options:[{label:"Separate",value:"singleOption"},{label:"Combine",value:"groupOption"}]},{id:"label",label:"Option Label",type:"toggle",default:!0},{id:"optionAlign",label:"Alignment",type:"segment",devices:{desktop:{default:"left"}},options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}]},{id:"price",label:"Option Price",type:"toggle",hide:!0,default:!0},{id:"showAsSwatches",label:"Use Option Swatches",type:"swatchesLink",hide:!0,default:!0,hyperlinkInfo:{beforeText:"Go to ",hyperlinkText:"Manage Swatches",afterText:" to configure options display as swatches",modal:"manage_swatches"}},{id:"combineFullWidth",label:"Full Width",type:"toggle",devices:{desktop:{default:!0}}},{id:"combineWidth",type:"input:unit",label:"Width",placeholder:"Auto",min:0,units:["px","%"],hide:!0,devices:{desktop:{default:"100%"}}},{id:"combineHeight",type:"input:unit",label:"Height",placeholder:"Auto",min:0,units:["px"],default:"45px"},{id:"variantPresets",label:"Use Option Swatches",type:"variant:presets",default:[{optionName:"base",optionType:"rectangle_list",presets:{...color.colorPresetConfig,...rectangleList.rectangleListPresetConfig,...image.imagePresetConfig,...imageShopify.imageShopifyPresetConfig,...dropdown.dropdownPresetConfig}}],hyperlinkInfo:{modal:"manage_swatches"}},{id:"soldOutStyle",type:"select",default:"disable",options:[{label:"None",value:"none"},{label:"Unclickable",value:"disable"},{label:"Cross-out",value:"line",icon:"sold-out-mark-line"}]}]},{id:"options",type:"group",label:"Options",controls:[{id:"layout",label:"Layout",type:"layout-segment",iconViewBox:"0 0 66 45",enableItemBackground:!0,devices:{desktop:{default:"vertical"}},options:[{label:"Horizontal",value:"horizontal",type:"arrange"},{label:"Vertical",value:"vertical",type:"arrange"}]},{id:"column",label:"Column",type:"select",devices:{desktop:{default:1}},options:[{label:"1 column",value:1},{label:"2 columns",value:2},{label:"3 columns",value:3},{label:"4 columns",value:4}]}]},{id:"variantDisplay",type:"group",label:"Variant Display",controls:[{id:"hasPreSelected",type:"toggle",label:"hasPreSelected",default:!0},{id:"selectVariantDefault",type:"select-variant",label:"Select Default Variant",hide:!0}]},{id:"blankText",label:"Blank Option Text",type:"input",hide:!0,default:"Please select an option"},{id:"hasOnlyDefaultVariant",label:"Blank Option Text",type:"variant:default",hide:!0,default:!1}]},{id:"style",controls:[{id:"dimension",type:"group",label:"Variants Dimension",controls:[{id:"fullWidth",label:"Full Width",type:"toggle",devices:{desktop:{default:!0}}},{id:"width",type:"input:unit",label:"Width",min:0,units:["px","%"],hide:!0,devices:{desktop:{default:"400px"}}},{id:"optionSpacing",label:"Option Spacing",type:"input:unit",units:["px"],placeholder:"Auto",default:"30px"},{id:"labelGap",label:"Gap",type:"input:unit-spacing",units:["px"],default:"8px"}]},{id:"swatchDimension",type:"group",label:"Swatch Dimension",controls:[{id:"swatchAutoWidth",label:"Auto Width",type:"toggle",devices:{desktop:{default:!0}}},{id:"swatchWidth",type:"input:unit",label:"Width",placeholder:"Auto Width",min:0,units:["px","%"],hide:!0,devices:{desktop:{default:"80px"}}},{id:"swatchHeight",type:"input:unit",label:"Height",placeholder:"Auto Height",min:0,units:["px"],devices:{desktop:{default:"45px"}}},{id:"swatchSpacing",label:"Swatch Spacing",type:"input:unit-spacing",units:["px"],placeholder:"Auto",default:"var(--g-s-m)"},{id:"marginBottom",label:"Margin Bottom",type:"input:unit-spacing",units:["px"],devices:{desktop:{default:"var(--g-s-xl)"},mobile:{default:"var(--g-s-xl)"}}}]},{id:"align",label:"Align",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}},{id:"labelGroup",type:"group",label:"Label",controls:[{id:"labelTypo",type:"typography-v2",label:"Typography",default:{type:"paragraph-2",attrs:{color:"text-1",bold:!0}},ignoreReRender:!0},{id:"labelColor",type:"colorpicker",label:"Text Color",default:"text-2"}]},{id:"labelGroup",type:"group",label:"Option Value",controls:[{id:"optionTypo",type:"typography-v2",label:"Typography",default:{type:"paragraph-2"},hiddenSetting:{color:!0},ignoreReRender:!0}]},{id:"behavior-state",type:"behavior-state",label:"Option Value",controls:[{id:"optionBgColor",type:"colorpicker",label:"Background Color",default:{normal:"bg-3",hover:"bg-3",active:"bg-3"},state:{active:!0,hover:!0,normal:!0}},{id:"optionTextColor",type:"colorpicker",label:"Text Color",default:{normal:"text-2",hover:"text-2",active:"text-2"},state:{active:!0,hover:!0,normal:!0}},{id:"optionBorder",type:"border",label:"Border",default:{normal:{borderType:"style-2",border:"solid",color:"line-2",isCustom:!1,width:"1px 1px 1px 1px",borderWidth:"1px"},active:{borderType:"style-3",border:"solid",color:"line-3",isCustom:!1,width:"2px 2px 2px 2px",borderWidth:"2px"},hover:{borderType:"style-3",border:"solid",color:"line-3",isCustom:!1,width:"1px 1px 1px 1px",borderWidth:"1px"}},state:{active:!0,hover:!0,normal:!0}},{id:"optionRounded",type:"radius-preset",label:"Border Radius",default:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"custom"},hover:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"custom"},active:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"custom"}},state:{active:!0,hover:!0,normal:!0}},{id:"optionHasShadow",type:"toggle",label:"Shadow Enable",default:{normal:!1,hover:!1,active:!1},state:{normal:!0,hover:!0,active:!0}},{id:"optionShadow",type:"boxShadow",label:"Shadow",hideOnState:{normal:!0,hover:!0,active:!0},default:{normal:{type:"shadow-1",distance:"4px",blur:"12px",spread:"0px",color:"rgba(0, 0, 0, 0.20)",angle:90},hover:{type:"shadow-1",distance:"4px",blur:"12px",spread:"0px",color:"rgba(0, 0, 0, 0.20)",angle:90},active:{type:"shadow-1",distance:"4px",blur:"12px",spread:"0px",color:"rgba(0, 0, 0, 0.20)",angle:90}},state:{normal:!0,hover:!0,active:!0}}]},{id:"dropdownItemWidth",type:"segment",label:"Dropdown Width",devices:{desktop:{default:"fill"},mobile:{default:"fill"},tablet:{default:"fill"}},options:[{label:"Fill",value:"fill"},{label:"Fixed",value:"fixed"}]},{id:"fixedDropdownWidth",type:"input:unit",label:"Fixed Width",units:["px","%"],devices:{desktop:{default:"240px"},mobile:{default:"240px"},tablet:{default:"240px"}}},{id:"swatchItemWidth",type:"segment",label:"Swatch Width",devices:{desktop:{default:"auto"}},options:[{label:"Fill",value:"auto"},{label:"Fixed",value:"fixed"}]},{id:"fixedDropdownWidth",type:"input:unit",label:"Fixed Width",units:["px","%"],devices:{desktop:{default:"240px"}}}]}],ui:[{type:"group",label:{en:"Variants settings"},controls:[{type:"control",label:{en:"Type"},setting:{id:"optionType"}},{type:"control",label:{en:"Options price"},setting:{id:"price"},condition:"optionType == 'groupOption'"},{type:"control",label:{en:"Sold out style"},setting:{id:"soldOutStyle"}}]},{type:"control",condition:"false",layout:"vertical",label:{en:"Variant style"},setting:{id:"showAsSwatches"}},{type:"control",condition:"optionType == 'singleOption'",layout:"vertical",label:{en:"Variant style"},setting:{id:"variantPresets"}},{type:"group",condition:"optionType === 'groupOption'",layout:"vertical",label:{en:"Variant style"},controls:[{type:"control",label:{en:""},setting:{id:"hasOnlyDefaultVariant"},layout:"vertical",condition:"hasOnlyDefaultVariant === true"},{type:"control",label:{en:"Width"},setting:{id:"combineWidth"},condition:"hasOnlyDefaultVariant === false"},{type:"control",label:{en:"Height"},setting:{id:"combineHeight"},condition:"hasOnlyDefaultVariant === false"},{type:"tab",label:{en:"States"},isMoreSetting:!0,condition:"hasOnlyDefaultVariant === false",controls:[{type:"group",label:{en:"Normal"},controls:[{type:"control",label:{en:"Background color"},setting:{id:"optionBgColor",state:"normal"}},{type:"control",label:{en:"Text color"},setting:{id:"optionTextColor",state:"normal"}},{type:"control",options:{labelPosition:"start"},label:{en:"Border"},setting:{id:"optionBorder",state:"normal"}},{type:"control",label:{en:"Corner"},setting:{id:"optionRounded",state:"normal"}},{type:"control",label:{en:"Shadow"},setting:{id:"optionHasShadow",state:"normal"}},{type:"control",label:{en:""},condition:"optionHasShadow.normal === true",layout:"vertical",setting:{id:"optionShadow",state:"normal"}}]},{type:"group",label:{en:"Hover"},controls:[{type:"control",label:{en:"Background color"},setting:{id:"optionBgColor",state:"hover"}},{type:"control",label:{en:"Text color"},setting:{id:"optionTextColor",state:"hover"}},{type:"control",options:{labelPosition:"start"},label:{en:"Border"},setting:{id:"optionBorder",state:"hover"}},{type:"control",label:{en:"Corner"},setting:{id:"optionRounded",state:"hover"}},{type:"control",label:{en:"Shadow"},setting:{id:"optionHasShadow",state:"hover"}},{type:"control",label:{en:""},condition:"optionHasShadow.hover === true",layout:"vertical",setting:{id:"optionShadow",state:"hover"}}]},{type:"group",label:{en:"Active"},controls:[{type:"control",label:{en:"Background color"},setting:{id:"optionBgColor",state:"active"}},{type:"control",label:{en:"Text color"},setting:{id:"optionTextColor",state:"active"}},{type:"control",options:{labelPosition:"start"},label:{en:"Border"},setting:{id:"optionBorder",state:"active"}},{type:"control",label:{en:"Corner"},setting:{id:"optionRounded",state:"active"}},{type:"control",label:{en:"Shadow"},setting:{id:"optionHasShadow",state:"active"}},{type:"control",label:{en:""},layout:"vertical",condition:"optionHasShadow.active === true",setting:{id:"optionShadow",state:"active"}}]}]}]},{type:"group",label:{en:""},condition:"optionType !== 'groupOption'",controls:[{type:"control",label:{en:"Title"},setting:{id:"label"},options:{label:"large",styleControl:{width:"auto"}}},{type:"control",setting:{id:"labelTypo"},layout:"vertical"},{type:"control",condition:"label == true",setting:{id:"labelTypography"},layout:"vertical"},{type:"control",condition:"label == true",label:{en:"Arrangement"},setting:{id:"layout"}},{type:"control",condition:"label == true",label:{en:"Gap"},setting:{id:"labelGap"}}]},{type:"group",label:{en:"Option value text"},controls:[{type:"control",setting:{id:"optionTypography"},layout:"vertical"},{type:"control",setting:{id:"optionTypo"},layout:"vertical"}]},{type:"group",label:{en:""},controls:[{type:"control",label:{en:"Pre-selected option"},setting:{id:"hasPreSelected"},options:{label:"large",styleControl:{width:"auto"}}},{type:"control",condition:"hasPreSelected == true",layout:"vertical",setting:{id:"selectVariantDefault"},options:{styleControl:{"max-width":"100%"}}},{type:"control",condition:"hasPreSelected == false",setting:{id:"blankText"}}]},{type:"group",label:{en:"Size"},controls:[{type:"control",label:{en:"Full width"},setting:{id:"fullWidth"}},{type:"control",label:{en:"Width"},condition:"fullWidth == false",setting:{id:"width"}},{type:"control",label:{en:"Spacing"},setting:{id:"marginBottom"}}]},{type:"control",label:{en:"Align"},setting:{id:"align"},options:{label:"large"}}],editorConfigs:{placeholder:{flowTag:["Product"]}},presets:[{id:"product-swatches",name:{en:"Product Swatches"},icon:{desktop:`
|
|
5
|
+
`,settings:[{id:"setting",controls:[{id:"variantsOption",type:"group",label:"Variants Options",controls:[{id:"optionType",label:"Option Label",type:"segment",default:"singleOption",options:[{label:"Separate",value:"singleOption"},{label:"Combine",value:"groupOption"}]},{id:"label",label:"Option Label",type:"toggle",default:!0},{id:"optionAlign",label:"Alignment",type:"segment",devices:{desktop:{default:"left"}},options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}]},{id:"price",label:"Option Price",type:"toggle",hide:!0,default:!0},{id:"showAsSwatches",label:"Use Option Swatches",type:"swatchesLink",hide:!0,default:!0,hyperlinkInfo:{beforeText:"Go to ",hyperlinkText:"Manage Swatches",afterText:" to configure options display as swatches",modal:"manage_swatches"}},{id:"combineFullWidth",label:"Full Width",type:"toggle",devices:{desktop:{default:!0}}},{id:"combineWidth",type:"input:unit",label:"Width",placeholder:"Auto",min:0,units:["px","%"],hide:!0,devices:{desktop:{default:"100%"}}},{id:"combineHeight",type:"input:unit",label:"Height",placeholder:"Auto",min:0,units:["px"],default:"45px"},{id:"variantPresets",label:"Use Option Swatches",type:"variant:presets",default:[{optionName:"base",optionType:"rectangle_list",presets:{...color.colorPresetConfig,...rectangleList.rectangleListPresetConfig,...image.imagePresetConfig,...imageShopify.imageShopifyPresetConfig,...dropdown.dropdownPresetConfig}}],hyperlinkInfo:{modal:"manage_swatches"}},{id:"soldOutStyle",type:"select",default:"disable",options:[{label:"None",value:"none"},{label:"Unclickable",value:"disable"},{label:"Cross-out",value:"line",icon:"sold-out-mark-line"}]}]},{id:"options",type:"group",label:"Options",controls:[{id:"layout",label:"Layout",type:"layout-segment",iconViewBox:"0 0 66 45",enableItemBackground:!0,devices:{desktop:{default:"vertical"}},options:[{label:"Horizontal",value:"horizontal",type:"arrange"},{label:"Vertical",value:"vertical",type:"arrange"}]},{id:"column",label:"Column",type:"select",devices:{desktop:{default:1}},options:[{label:"1 column",value:1},{label:"2 columns",value:2},{label:"3 columns",value:3},{label:"4 columns",value:4}]}]},{id:"variantDisplay",type:"group",label:"Variant Display",controls:[{id:"hasPreSelected",type:"toggle",label:"hasPreSelected",default:!0},{id:"selectVariantDefault",type:"select-variant",label:"Select Default Variant",hide:!0}]},{id:"blankText",label:"Blank Option Text",type:"input",hide:!0,default:"Please select an option"},{id:"hasOnlyDefaultVariant",label:"Blank Option Text",type:"variant:default",hide:!0,default:!1}]},{id:"style",controls:[{id:"dimension",type:"group",label:"Variants Dimension",controls:[{id:"fullWidth",label:"Full Width",type:"toggle",devices:{desktop:{default:!0}}},{id:"width",type:"input:unit",label:"Width",min:0,units:["px","%"],hide:!0,devices:{desktop:{default:"400px"}}},{id:"optionSpacing",label:"Option Spacing",type:"input:unit",units:["px"],placeholder:"Auto",default:"30px"},{id:"labelGap",label:"Gap",type:"input:unit-spacing",units:["px"],default:"8px"}]},{id:"swatchDimension",type:"group",label:"Swatch Dimension",controls:[{id:"swatchAutoWidth",label:"Auto Width",type:"toggle",devices:{desktop:{default:!0}}},{id:"swatchWidth",type:"input:unit",label:"Width",placeholder:"Auto Width",min:0,units:["px","%"],hide:!0,devices:{desktop:{default:"80px"}}},{id:"swatchHeight",type:"input:unit",label:"Height",placeholder:"Auto Height",min:0,units:["px"],devices:{desktop:{default:"45px"}}},{id:"swatchSpacing",label:"Swatch Spacing",type:"input:unit-spacing",units:["px"],placeholder:"Auto",default:"var(--g-s-m)"},{id:"marginBottom",label:"Margin Bottom",type:"input:unit-spacing",units:["px"],devices:{desktop:{default:"var(--g-s-xl)"},mobile:{default:"var(--g-s-xl)"}}}]},{id:"align",label:"Align",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}},{id:"labelGroup",type:"group",label:"Label",controls:[{id:"labelTypo",type:"typography-v2",label:"Typography",default:{type:"paragraph-2",attrs:{color:"text-1",bold:!0}},ignoreReRender:!0},{id:"labelColor",type:"colorpicker",label:"Text Color",default:"text-2"}]},{id:"labelGroup",type:"group",label:"Option Value",controls:[{id:"optionTypo",type:"typography-v2",label:"Typography",default:{type:"paragraph-2"},hiddenSetting:{color:!0},ignoreReRender:!0}]},{id:"behavior-state",type:"behavior-state",label:"Option Value",controls:[{id:"optionBgColor",type:"colorpicker",label:"Background Color",default:{normal:"bg-3",hover:"bg-3",active:"bg-3"},state:{active:!0,hover:!0,normal:!0}},{id:"optionTextColor",type:"colorpicker",label:"Text Color",default:{normal:"text-2",hover:"text-2",active:"text-2"},state:{active:!0,hover:!0,normal:!0}},{id:"optionBorder",type:"border",label:"Border",default:{normal:{borderType:"style-2",border:"solid",color:"line-2",isCustom:!1,width:"1px 1px 1px 1px",borderWidth:"1px"},active:{borderType:"style-3",border:"solid",color:"line-3",isCustom:!1,width:"2px 2px 2px 2px",borderWidth:"2px"},hover:{borderType:"style-3",border:"solid",color:"line-3",isCustom:!1,width:"1px 1px 1px 1px",borderWidth:"1px"}},state:{active:!0,hover:!0,normal:!0}},{id:"optionRounded",type:"radius-preset",label:"Border Radius",default:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"custom"},hover:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"custom"},active:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"custom"}},state:{active:!0,hover:!0,normal:!0}},{id:"optionHasShadow",type:"toggle",label:"Shadow Enable",default:{normal:!1,hover:!1,active:!1},state:{normal:!0,hover:!0,active:!0}},{id:"optionShadow",type:"boxShadow",label:"Shadow",hideOnState:{normal:!0,hover:!0,active:!0},default:{normal:{type:"shadow-1",distance:"4px",blur:"12px",spread:"0px",color:"rgba(0, 0, 0, 0.20)",angle:90},hover:{type:"shadow-1",distance:"4px",blur:"12px",spread:"0px",color:"rgba(0, 0, 0, 0.20)",angle:90},active:{type:"shadow-1",distance:"4px",blur:"12px",spread:"0px",color:"rgba(0, 0, 0, 0.20)",angle:90}},state:{normal:!0,hover:!0,active:!0}}]},{id:"dropdownItemWidth",type:"segment",label:"Dropdown Width",devices:{desktop:{default:"fill"},mobile:{default:"fill"},tablet:{default:"fill"}},options:[{label:"Fill",value:"fill"},{label:"Fixed",value:"fixed"}]},{id:"fixedDropdownWidth",type:"input:unit",label:"Fixed Width",units:["px","%"],devices:{desktop:{default:"240px"},mobile:{default:"240px"},tablet:{default:"240px"}}},{id:"swatchItemWidth",type:"segment",label:"Swatch Width",devices:{desktop:{default:"auto"}},options:[{label:"Fill",value:"auto"},{label:"Fixed",value:"fixed"}]},{id:"fixedDropdownWidth",type:"input:unit",label:"Fixed Width",units:["px","%"],devices:{desktop:{default:"240px"}}}]}],ui:[{type:"group",label:{en:"Variants settings"},controls:[{type:"control",label:{en:"Type"},setting:{id:"optionType"}},{type:"control",label:{en:"Options price"},setting:{id:"price"},condition:"optionType == 'groupOption'"},{type:"control",label:{en:"Sold out style"},setting:{id:"soldOutStyle"}}]},{type:"control",condition:"false",layout:"vertical",label:{en:"Variant style"},setting:{id:"showAsSwatches"}},{type:"control",condition:"optionType == 'singleOption'",layout:"vertical",label:{en:"Variant style"},setting:{id:"variantPresets"}},{type:"group",condition:"optionType === 'groupOption'",layout:"vertical",label:{en:"Variant style"},controls:[{type:"control",label:{en:""},setting:{id:"hasOnlyDefaultVariant"},layout:"vertical",condition:"hasOnlyDefaultVariant === true"},{type:"control",label:{en:"Width"},setting:{id:"combineWidth"},condition:"hasOnlyDefaultVariant === false"},{type:"control",label:{en:"Height"},setting:{id:"combineHeight"},condition:"hasOnlyDefaultVariant === false"},{type:"tab",label:{en:"States"},isMoreSetting:!0,condition:"hasOnlyDefaultVariant === false",controls:[{type:"group",label:{en:"Normal"},controls:[{type:"control",label:{en:"Background color"},setting:{id:"optionBgColor",state:"normal"}},{type:"control",label:{en:"Text color"},setting:{id:"optionTextColor",state:"normal"}},{type:"control",options:{labelPosition:"start"},label:{en:"Border"},setting:{id:"optionBorder",state:"normal"}},{type:"control",label:{en:"Corner"},setting:{id:"optionRounded",state:"normal"}},{type:"control",label:{en:"Shadow"},setting:{id:"optionHasShadow",state:"normal"}},{type:"control",label:{en:""},condition:"optionHasShadow.normal === true",layout:"vertical",setting:{id:"optionShadow",state:"normal"}}]},{type:"group",label:{en:"Hover"},controls:[{type:"control",label:{en:"Background color"},setting:{id:"optionBgColor",state:"hover"}},{type:"control",label:{en:"Text color"},setting:{id:"optionTextColor",state:"hover"}},{type:"control",options:{labelPosition:"start"},label:{en:"Border"},setting:{id:"optionBorder",state:"hover"}},{type:"control",label:{en:"Corner"},setting:{id:"optionRounded",state:"hover"}},{type:"control",label:{en:"Shadow"},setting:{id:"optionHasShadow",state:"hover"}},{type:"control",label:{en:""},condition:"optionHasShadow.hover === true",layout:"vertical",setting:{id:"optionShadow",state:"hover"}}]},{type:"group",label:{en:"Active"},controls:[{type:"control",label:{en:"Background color"},setting:{id:"optionBgColor",state:"active"}},{type:"control",label:{en:"Text color"},setting:{id:"optionTextColor",state:"active"}},{type:"control",options:{labelPosition:"start"},label:{en:"Border"},setting:{id:"optionBorder",state:"active"}},{type:"control",label:{en:"Corner"},setting:{id:"optionRounded",state:"active"}},{type:"control",label:{en:"Shadow"},setting:{id:"optionHasShadow",state:"active"}},{type:"control",label:{en:""},layout:"vertical",condition:"optionHasShadow.active === true",setting:{id:"optionShadow",state:"active"}}]}]}]},{type:"group",label:{en:""},condition:"optionType !== 'groupOption'",controls:[{type:"control",label:{en:"Title"},setting:{id:"label"},options:{label:"large",styleControl:{width:"auto"}}},{type:"control",setting:{id:"labelTypo"},layout:"vertical"},{type:"control",condition:"label == true",setting:{id:"labelTypography"},layout:"vertical"},{type:"control",condition:"label == true",label:{en:"Arrangement"},setting:{id:"layout"}},{type:"control",condition:"label == true",label:{en:"Gap"},setting:{id:"labelGap"}}]},{type:"group",label:{en:"Option value text"},controls:[{type:"control",setting:{id:"optionTypography"},layout:"vertical"},{type:"control",setting:{id:"optionTypo"},layout:"vertical"}]},{type:"group",label:{en:""},controls:[{type:"control",label:{en:"Pre-selected option"},setting:{id:"hasPreSelected"},options:{label:"large",styleControl:{width:"auto"}}},{type:"control",condition:"hasPreSelected == false",setting:{id:"blankText"}}]},{type:"group",label:{en:"Size"},controls:[{type:"control",label:{en:"Full width"},setting:{id:"fullWidth"}},{type:"control",label:{en:"Width"},condition:"fullWidth == false",setting:{id:"width"}},{type:"control",label:{en:"Spacing"},setting:{id:"marginBottom"}}]},{type:"control",label:{en:"Align"},setting:{id:"align"},options:{label:"large"}}],editorConfigs:{placeholder:{flowTag:["Product"]}},presets:[{id:"product-swatches",name:{en:"Product Swatches"},icon:{desktop:`
|
|
6
6
|
<svg width="96" height="42" viewBox="0 0 96 42" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
7
7
|
<path d="M7.08159 6.5H6.20091C6.14882 6.24669 6.05768 6.02415 5.92747 5.83239C5.79963 5.64062 5.64338 5.47964 5.45872 5.34943C5.27643 5.21686 5.07401 5.11742 4.85147 5.05114C4.62894 4.98485 4.39693 4.9517 4.15545 4.9517C3.71511 4.9517 3.3162 5.06297 2.95872 5.28551C2.6036 5.50805 2.3207 5.83594 2.11 6.26918C1.90166 6.70241 1.7975 7.2339 1.7975 7.86364C1.7975 8.49337 1.90166 9.02486 2.11 9.4581C2.3207 9.89134 2.6036 10.2192 2.95872 10.4418C3.3162 10.6643 3.71511 10.7756 4.15545 10.7756C4.39693 10.7756 4.62894 10.7424 4.85147 10.6761C5.07401 10.6098 5.27643 10.5116 5.45872 10.3814C5.64338 10.2488 5.79963 10.0866 5.92747 9.89489C6.05768 9.70076 6.14882 9.47822 6.20091 9.22727H7.08159C7.0153 9.59896 6.89456 9.93158 6.71937 10.2251C6.54418 10.5187 6.32638 10.7685 6.06596 10.9744C5.80555 11.178 5.51317 11.3331 5.18883 11.4396C4.86686 11.5462 4.5224 11.5994 4.15545 11.5994C3.53519 11.5994 2.98358 11.4479 2.50062 11.1449C2.01767 10.8419 1.6377 10.411 1.36071 9.85227C1.08372 9.29356 0.945224 8.63068 0.945224 7.86364C0.945224 7.09659 1.08372 6.43371 1.36071 5.875C1.6377 5.31629 2.01767 4.88542 2.50062 4.58239C2.98358 4.27936 3.53519 4.12784 4.15545 4.12784C4.5224 4.12784 4.86686 4.18111 5.18883 4.28764C5.51317 4.39418 5.80555 4.55043 6.06596 4.75639C6.32638 4.95999 6.54418 5.20857 6.71937 5.50213C6.89456 5.79332 7.0153 6.12595 7.08159 6.5ZM10.607 11.6136C10.1146 11.6136 9.6825 11.4964 9.31081 11.2621C8.9415 11.0277 8.65267 10.6998 8.44434 10.2784C8.23837 9.85701 8.13539 9.36458 8.13539 8.80114C8.13539 8.23295 8.23837 7.73698 8.44434 7.31321C8.65267 6.88944 8.9415 6.56037 9.31081 6.32599C9.6825 6.09162 10.1146 5.97443 10.607 5.97443C11.0994 5.97443 11.5303 6.09162 11.8996 6.32599C12.2713 6.56037 12.5601 6.88944 12.7661 7.31321C12.9744 7.73698 13.0786 8.23295 13.0786 8.80114C13.0786 9.36458 12.9744 9.85701 12.7661 10.2784C12.5601 10.6998 12.2713 11.0277 11.8996 11.2621C11.5303 11.4964 11.0994 11.6136 10.607 11.6136ZM10.607 10.8608C10.981 10.8608 11.2888 10.7649 11.5303 10.5732C11.7718 10.3814 11.9505 10.1293 12.0665 9.81676C12.1825 9.50426 12.2405 9.16572 12.2405 8.80114C12.2405 8.43655 12.1825 8.09683 12.0665 7.78196C11.9505 7.46709 11.7718 7.21259 11.5303 7.01847C11.2888 6.82434 10.981 6.72727 10.607 6.72727C10.2329 6.72727 9.92516 6.82434 9.68368 7.01847C9.44221 7.21259 9.26346 7.46709 9.14746 7.78196C9.03146 8.09683 8.97346 8.43655 8.97346 8.80114C8.97346 9.16572 9.03146 9.50426 9.14746 9.81676C9.26346 10.1293 9.44221 10.3814 9.68368 10.5732C9.92516 10.7649 10.2329 10.8608 10.607 10.8608ZM15.1959 4.22727V11.5H14.3579V4.22727H15.1959ZM18.9468 11.6136C18.4544 11.6136 18.0223 11.4964 17.6507 11.2621C17.2813 11.0277 16.9925 10.6998 16.7842 10.2784C16.5782 9.85701 16.4752 9.36458 16.4752 8.80114C16.4752 8.23295 16.5782 7.73698 16.7842 7.31321C16.9925 6.88944 17.2813 6.56037 17.6507 6.32599C18.0223 6.09162 18.4544 5.97443 18.9468 5.97443C19.4392 5.97443 19.8701 6.09162 20.2394 6.32599C20.6111 6.56037 20.8999 6.88944 21.1059 7.31321C21.3142 7.73698 21.4184 8.23295 21.4184 8.80114C21.4184 9.36458 21.3142 9.85701 21.1059 10.2784C20.8999 10.6998 20.6111 11.0277 20.2394 11.2621C19.8701 11.4964 19.4392 11.6136 18.9468 11.6136ZM18.9468 10.8608C19.3209 10.8608 19.6286 10.7649 19.8701 10.5732C20.1116 10.3814 20.2903 10.1293 20.4063 9.81676C20.5223 9.50426 20.5803 9.16572 20.5803 8.80114C20.5803 8.43655 20.5223 8.09683 20.4063 7.78196C20.2903 7.46709 20.1116 7.21259 19.8701 7.01847C19.6286 6.82434 19.3209 6.72727 18.9468 6.72727C18.5728 6.72727 18.265 6.82434 18.0235 7.01847C17.782 7.21259 17.6033 7.46709 17.4873 7.78196C17.3713 8.09683 17.3133 8.43655 17.3133 8.80114C17.3133 9.16572 17.3713 9.50426 17.4873 9.81676C17.6033 10.1293 17.782 10.3814 18.0235 10.5732C18.265 10.7649 18.5728 10.8608 18.9468 10.8608ZM22.6977 11.5V6.04545H23.5074V6.86932H23.5642C23.6636 6.59943 23.8435 6.38045 24.104 6.21236C24.3644 6.04427 24.6579 5.96023 24.9846 5.96023C25.0462 5.96023 25.1231 5.96141 25.2155 5.96378C25.3078 5.96615 25.3776 5.9697 25.425 5.97443V6.8267C25.3966 6.8196 25.3315 6.80895 25.2297 6.79474C25.1302 6.77817 25.0249 6.76989 24.9136 6.76989C24.6485 6.76989 24.4117 6.82552 24.2034 6.93679C23.9974 7.04569 23.8341 7.19721 23.7133 7.39134C23.595 7.5831 23.5358 7.80208 23.5358 8.0483V11.5H22.6977Z" fill="#D6D6D6"/>
|
|
8
8
|
<g clip-path="url(#clip0_9753_94241)">
|
|
@@ -3,7 +3,7 @@ let config={tag:"ProductTitle",label:"Product Title",icon:`
|
|
|
3
3
|
<path d="M4.31507 1.5C4.00299 1.5 3.75 1.7641 3.75 2.08989V4.92135C3.75 5.24713 4.00299 5.51124 4.31507 5.51124H5.21918C5.53125 5.51124 5.78425 5.24713 5.78425 4.92135V3.6236H10.9829V20.3764H9.73973C9.42769 20.3764 9.17466 20.6405 9.17466 20.9663V21.9101C9.17466 22.2359 9.42769 22.5 9.73973 22.5H14.2603C14.5723 22.5 14.8253 22.2359 14.8253 21.9101V20.9663C14.8253 20.6405 14.5723 20.3764 14.2603 20.3764H13.0171V3.6236H18.2158V4.92135C18.2158 5.24714 18.4688 5.51124 18.7808 5.51124H19.6849C19.997 5.51124 20.25 5.24714 20.25 4.92135V2.08989C20.25 1.7641 19.997 1.5 19.6849 1.5H4.31507Z" fill="currentColor"/>
|
|
4
4
|
</svg>
|
|
5
5
|
|
|
6
|
-
`,settings:[{id:"setting",controls:[{id:"htmlTag",label:"HTML Tag",type:"select",options:[{value:"h1",label:"H1"},{value:"h2",label:"H2"},{value:"h3",label:"H3"},{value:"h4",label:"H4"},{value:"h5",label:"H5"},{value:"h6",label:"H6"}],default:"h1"},{id:"linkProduct",label:"Link To Product",type:"select",options:[{label:"Open product page",value:!0},{label:"None",value:!1}],default:!1,info:"Ability to click on product title to go to product detail page."}]},{id:"style",controls:[{id:"typo",type:"typography-v2",default:{type:"subheading-3"},ignoreReRender:!0,hiddenSetting:{color:!0}},{id:"textAlign",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"text"},{label:"Center",value:"center",type:"text"},{label:"Right",value:"right",type:"text"},{label:"Justify",value:"justify",type:"text"}],devices:{desktop:{default:"left"}}},{id:"hasLineClamp",type:"toggle",label:"Has Line Clamp",devices:{desktop:{default:!1}}},{id:"lineClamp",type:"input:number",min:1,label:"Line Clamp",devices:{desktop:{default:12}},hide:!0},{id:"color",label:"Text Color",type:"colorpicker",default:{normal:"text-2"},state:{normal:!0,hover:!0}},{id:"hasTextShadow",type:"toggle",label:"Enable Text Shadow",default:{normal:!1,hover:!1},state:{normal:!0,hover:!0}},{id:"textShadow",type:"textShadow",label:"Text Shadow",hideOnState:{normal:!0,hover:!0},default:{normal:{type:"shadow-1"}},state:{normal:!0,hover:!0}}]}],ui:[{type:"control",label:{en:"Product link"},setting:{id:"linkProduct"},options:{label:"large",hideOnPages:["STATIC"]}},{type:"control",label:{en:"Text"},setting:{id:"typo"},layout:"vertical"},{type:"group",label:{en:""},controls:[{type:"control",label:{en:"Max lines"},setting:{id:"hasLineClamp"},options:{label:"large"}},{type:"control",label:{en:"Max lines"},setting:{id:"lineClamp"},condition:"hasLineClamp == true"}]},{type:"group",label:{en:"States"},options:{labelSpacing:"small"},controls:[{type:"tab",controls:[{type:"group",label:{en:"Normal"},controls:[{type:"control",label:{en:"Text color"},setting:{id:"color",state:"normal"}}]},{type:"group",label:{en:"Hover"},controls:[{type:"control",label:{en:"Text color"},setting:{id:"color",state:"hover"}}]}]}]},{type:"control",label:{en:"Align"},setting:{id:"textAlign"}},{type:"group",label:{en:"SEO"},controls:[{type:"control",label:{en:"HTML tag"},setting:{id:"htmlTag"}}]}],editorConfigs:{placeholder:{flowTag:["Product"]}},presets:[{id:"product-title",name:{en:"Product Title"},icon:{desktop:`<svg width="96" height="48" viewBox="0 0 96 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
6
|
+
`,settings:[{id:"setting",controls:[{id:"htmlTag",label:"HTML Tag",type:"select",options:[{value:"h1",label:"H1"},{value:"h2",label:"H2"},{value:"h3",label:"H3"},{value:"h4",label:"H4"},{value:"h5",label:"H5"},{value:"h6",label:"H6"},{value:"div",label:"Div"},{value:"p",label:"P"}],default:"h1"},{id:"linkProduct",label:"Link To Product",type:"select",options:[{label:"Open product page",value:!0},{label:"None",value:!1}],default:!1,info:"Ability to click on product title to go to product detail page."}]},{id:"style",controls:[{id:"typo",type:"typography-v2",default:{type:"subheading-3"},ignoreReRender:!0,hiddenSetting:{color:!0}},{id:"textAlign",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"text"},{label:"Center",value:"center",type:"text"},{label:"Right",value:"right",type:"text"},{label:"Justify",value:"justify",type:"text"}],devices:{desktop:{default:"left"}}},{id:"hasLineClamp",type:"toggle",label:"Has Line Clamp",devices:{desktop:{default:!1}}},{id:"lineClamp",type:"input:number",min:1,label:"Line Clamp",devices:{desktop:{default:12}},hide:!0},{id:"color",label:"Text Color",type:"colorpicker",default:{normal:"text-2"},state:{normal:!0,hover:!0}},{id:"hasTextShadow",type:"toggle",label:"Enable Text Shadow",default:{normal:!1,hover:!1},state:{normal:!0,hover:!0}},{id:"textShadow",type:"textShadow",label:"Text Shadow",hideOnState:{normal:!0,hover:!0},default:{normal:{type:"shadow-1"}},state:{normal:!0,hover:!0}}]}],ui:[{type:"control",label:{en:"Product link"},setting:{id:"linkProduct"},options:{label:"large",hideOnPages:["STATIC"]}},{type:"control",label:{en:"Text"},setting:{id:"typo"},layout:"vertical"},{type:"group",label:{en:""},controls:[{type:"control",label:{en:"Max lines"},setting:{id:"hasLineClamp"},options:{label:"large"}},{type:"control",label:{en:"Max lines"},setting:{id:"lineClamp"},condition:"hasLineClamp == true"}]},{type:"group",label:{en:"States"},options:{labelSpacing:"small"},controls:[{type:"tab",controls:[{type:"group",label:{en:"Normal"},controls:[{type:"control",label:{en:"Text color"},setting:{id:"color",state:"normal"}}]},{type:"group",label:{en:"Hover"},controls:[{type:"control",label:{en:"Text color"},setting:{id:"color",state:"hover"}}]}]}]},{type:"control",label:{en:"Align"},setting:{id:"textAlign"}},{type:"group",label:{en:"SEO"},controls:[{type:"control",label:{en:"HTML tag"},setting:{id:"htmlTag"}}]}],editorConfigs:{placeholder:{flowTag:["Product"]}},presets:[{id:"product-title",name:{en:"Product Title"},icon:{desktop:`<svg width="96" height="48" viewBox="0 0 96 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
7
7
|
<path d="M15.0639 18.875V17.3636H24.0696V18.875H20.4389V29H18.6889V18.875H15.0639ZM28.3338 29.1761C27.5156 29.1761 26.8016 28.9886 26.1918 28.6136C25.5819 28.2386 25.1084 27.714 24.7713 27.0398C24.4342 26.3655 24.2656 25.5777 24.2656 24.6761C24.2656 23.7708 24.4342 22.9792 24.7713 22.3011C25.1084 21.6231 25.5819 21.0966 26.1918 20.7216C26.8016 20.3466 27.5156 20.1591 28.3338 20.1591C29.152 20.1591 29.866 20.3466 30.4759 20.7216C31.0857 21.0966 31.5592 21.6231 31.8963 22.3011C32.2334 22.9792 32.402 23.7708 32.402 24.6761C32.402 25.5777 32.2334 26.3655 31.8963 27.0398C31.5592 27.714 31.0857 28.2386 30.4759 28.6136C29.866 28.9886 29.152 29.1761 28.3338 29.1761ZM28.3395 27.75C28.8698 27.75 29.3092 27.6098 29.6577 27.3295C30.0062 27.0492 30.2637 26.6761 30.4304 26.2102C30.6009 25.7443 30.6861 25.2311 30.6861 24.6705C30.6861 24.1136 30.6009 23.6023 30.4304 23.1364C30.2637 22.6667 30.0062 22.2898 29.6577 22.0057C29.3092 21.7216 28.8698 21.5795 28.3395 21.5795C27.8054 21.5795 27.3622 21.7216 27.0099 22.0057C26.6615 22.2898 26.402 22.6667 26.2315 23.1364C26.0649 23.6023 25.9815 24.1136 25.9815 24.6705C25.9815 25.2311 26.0649 25.7443 26.2315 26.2102C26.402 26.6761 26.6615 27.0492 27.0099 27.3295C27.3622 27.6098 27.8054 27.75 28.3395 27.75ZM38.3722 20.2727V21.6364H33.6051V20.2727H38.3722ZM34.8835 18.1818H36.5824V26.4375C36.5824 26.767 36.6316 27.0152 36.7301 27.1818C36.8286 27.3447 36.9555 27.4564 37.1108 27.517C37.2699 27.5739 37.4422 27.6023 37.6278 27.6023C37.7642 27.6023 37.8835 27.5928 37.9858 27.5739C38.0881 27.5549 38.1676 27.5398 38.2244 27.5284L38.5312 28.9318C38.4328 28.9697 38.2926 29.0076 38.1108 29.0455C37.929 29.0871 37.7017 29.1098 37.429 29.1136C36.982 29.1212 36.5653 29.0417 36.179 28.875C35.7926 28.7083 35.4801 28.4508 35.2415 28.1023C35.0028 27.7538 34.8835 27.3163 34.8835 26.7898V18.1818ZM43.919 29.1761C43.0592 29.1761 42.3187 28.9924 41.6974 28.625C41.08 28.2538 40.6027 27.733 40.2656 27.0625C39.9323 26.3883 39.7656 25.5985 39.7656 24.6932C39.7656 23.7992 39.9323 23.0114 40.2656 22.3295C40.6027 21.6477 41.0724 21.1155 41.6747 20.733C42.2808 20.3504 42.9891 20.1591 43.7997 20.1591C44.2921 20.1591 44.7694 20.2405 45.2315 20.4034C45.6937 20.5663 46.1084 20.822 46.4759 21.1705C46.8433 21.5189 47.133 21.9716 47.3452 22.5284C47.5573 23.0814 47.6634 23.7538 47.6634 24.5455V25.1477H40.7259V23.875H45.9986C45.9986 23.428 45.9077 23.0322 45.7259 22.6875C45.544 22.339 45.2884 22.0644 44.9588 21.8636C44.633 21.6629 44.2505 21.5625 43.8111 21.5625C43.3338 21.5625 42.9171 21.6799 42.5611 21.9148C42.2088 22.1458 41.9361 22.4489 41.7429 22.8239C41.5535 23.1951 41.4588 23.5985 41.4588 24.0341V25.0284C41.4588 25.6117 41.5611 26.108 41.7656 26.517C41.974 26.9261 42.2637 27.2386 42.6349 27.4545C43.0062 27.6667 43.4399 27.7727 43.9361 27.7727C44.258 27.7727 44.5516 27.7273 44.8168 27.6364C45.0819 27.5417 45.3111 27.4015 45.5043 27.2159C45.6974 27.0303 45.8452 26.8011 45.9474 26.5284L47.5554 26.8182C47.4266 27.2917 47.1955 27.7064 46.8622 28.0625C46.5327 28.4148 46.1179 28.6894 45.6179 28.8864C45.1217 29.0795 44.5554 29.1761 43.919 29.1761ZM53.919 29V17.3636H55.6179V21.6875H55.7202C55.8187 21.5057 55.9607 21.2955 56.1463 21.0568C56.3319 20.8182 56.5895 20.6098 56.919 20.4318C57.2486 20.25 57.6842 20.1591 58.2259 20.1591C58.9304 20.1591 59.5592 20.3371 60.1122 20.6932C60.6652 21.0492 61.099 21.5625 61.4134 22.233C61.7315 22.9034 61.8906 23.7102 61.8906 24.6534C61.8906 25.5966 61.7334 26.4053 61.419 27.0795C61.1046 27.75 60.6728 28.267 60.1236 28.6307C59.5743 28.9905 58.9474 29.1705 58.2429 29.1705C57.7126 29.1705 57.2789 29.0814 56.9418 28.9034C56.6084 28.7254 56.3471 28.517 56.1577 28.2784C55.9683 28.0398 55.8224 27.8277 55.7202 27.642H55.5781V29H53.919ZM55.5838 24.6364C55.5838 25.25 55.6728 25.7879 55.8509 26.25C56.0289 26.7121 56.2865 27.0739 56.6236 27.3352C56.9607 27.5928 57.3736 27.7216 57.8622 27.7216C58.3698 27.7216 58.794 27.5871 59.1349 27.3182C59.4759 27.0455 59.7334 26.6761 59.9077 26.2102C60.0857 25.7443 60.1747 25.2197 60.1747 24.6364C60.1747 24.0606 60.0876 23.5436 59.9134 23.0852C59.7429 22.6269 59.4853 22.2652 59.1406 22C58.7997 21.7348 58.3736 21.6023 57.8622 21.6023C57.3698 21.6023 56.9531 21.7292 56.6122 21.983C56.2751 22.2367 56.0194 22.5909 55.8452 23.0455C55.6709 23.5 55.5838 24.0303 55.5838 24.6364ZM66.3381 29.1932C65.785 29.1932 65.285 29.0909 64.8381 28.8864C64.3911 28.678 64.0369 28.3769 63.7756 27.983C63.518 27.589 63.3892 27.1061 63.3892 26.5341C63.3892 26.0417 63.4839 25.6364 63.6733 25.3182C63.8627 25 64.1184 24.7481 64.4403 24.5625C64.7623 24.3769 65.1222 24.2367 65.5199 24.142C65.9176 24.0473 66.3229 23.9754 66.7358 23.9261C67.2585 23.8655 67.6828 23.8163 68.0085 23.7784C68.3343 23.7367 68.571 23.6705 68.7188 23.5795C68.8665 23.4886 68.9403 23.3409 68.9403 23.1364V23.0966C68.9403 22.6004 68.8002 22.2159 68.5199 21.9432C68.2434 21.6705 67.8305 21.5341 67.2812 21.5341C66.7093 21.5341 66.2585 21.661 65.929 21.9148C65.6032 22.1648 65.3778 22.4432 65.2528 22.75L63.6562 22.3864C63.8456 21.8561 64.1222 21.428 64.4858 21.1023C64.8532 20.7727 65.2756 20.5341 65.7528 20.3864C66.2301 20.2348 66.732 20.1591 67.2585 20.1591C67.607 20.1591 67.9763 20.2008 68.3665 20.2841C68.7604 20.3636 69.1278 20.5114 69.4688 20.7273C69.8134 20.9432 70.0956 21.2519 70.3153 21.6534C70.535 22.0511 70.6449 22.5682 70.6449 23.2045V29H68.9858V27.8068H68.9176C68.8078 28.0265 68.643 28.2424 68.4233 28.4545C68.2036 28.6667 67.9214 28.8428 67.5767 28.983C67.232 29.1231 66.8191 29.1932 66.3381 29.1932ZM66.7074 27.8295C67.1771 27.8295 67.5786 27.7367 67.9119 27.5511C68.2491 27.3655 68.5047 27.1231 68.679 26.8239C68.857 26.5208 68.946 26.197 68.946 25.8523V24.7273C68.8854 24.7879 68.768 24.8447 68.5938 24.8977C68.4233 24.947 68.2282 24.9905 68.0085 25.0284C67.7888 25.0625 67.5748 25.0947 67.3665 25.125C67.1581 25.1515 66.9839 25.1742 66.8438 25.1932C66.5142 25.2348 66.2131 25.3049 65.9403 25.4034C65.6714 25.5019 65.4555 25.6439 65.2926 25.8295C65.1335 26.0114 65.054 26.2538 65.054 26.5568C65.054 26.9773 65.2093 27.2955 65.5199 27.5114C65.8305 27.7235 66.2263 27.8295 66.7074 27.8295ZM76.5668 32.4545C75.8736 32.4545 75.277 32.3636 74.777 32.1818C74.2808 32 73.8755 31.7595 73.5611 31.4602C73.2467 31.161 73.0118 30.8333 72.8565 30.4773L74.3168 29.875C74.419 30.0417 74.5554 30.2178 74.7259 30.4034C74.9001 30.5928 75.1349 30.7538 75.4304 30.8864C75.7296 31.0189 76.1141 31.0852 76.5838 31.0852C77.2277 31.0852 77.7599 30.928 78.1804 30.6136C78.6009 30.303 78.8111 29.8068 78.8111 29.125V27.4091H78.7031C78.6009 27.5947 78.4531 27.8011 78.2599 28.0284C78.0705 28.2557 77.8092 28.4527 77.4759 28.6193C77.1425 28.786 76.7088 28.8693 76.1747 28.8693C75.4853 28.8693 74.8641 28.7083 74.3111 28.3864C73.7618 28.0606 73.3262 27.5814 73.0043 26.9489C72.6861 26.3125 72.527 25.5303 72.527 24.6023C72.527 23.6742 72.6842 22.8788 72.9986 22.2159C73.3168 21.553 73.7524 21.0455 74.3054 20.6932C74.8584 20.3371 75.4853 20.1591 76.1861 20.1591C76.7277 20.1591 77.1652 20.25 77.4986 20.4318C77.8319 20.6098 78.0914 20.8182 78.277 21.0568C78.4664 21.2955 78.6122 21.5057 78.7145 21.6875H78.8395V20.2727H80.5043V29.1932C80.5043 29.9432 80.33 30.5587 79.9815 31.0398C79.633 31.5208 79.1615 31.8769 78.5668 32.108C77.9759 32.339 77.3092 32.4545 76.5668 32.4545ZM76.5497 27.4602C77.0384 27.4602 77.4512 27.3466 77.7884 27.1193C78.1293 26.8883 78.3868 26.5587 78.5611 26.1307C78.7391 25.6989 78.8281 25.1818 78.8281 24.5795C78.8281 23.9924 78.741 23.4754 78.5668 23.0284C78.3925 22.5814 78.1368 22.233 77.7997 21.983C77.4626 21.7292 77.0459 21.6023 76.5497 21.6023C76.0384 21.6023 75.6122 21.7348 75.2713 22C74.9304 22.2614 74.6728 22.6174 74.4986 23.0682C74.3281 23.5189 74.2429 24.0227 74.2429 24.5795C74.2429 25.1515 74.33 25.6534 74.5043 26.0852C74.6785 26.517 74.9361 26.8542 75.277 27.0966C75.6217 27.339 76.0459 27.4602 76.5497 27.4602Z" fill="#AAAAAA"/>
|
|
8
8
|
</svg>
|
|
9
9
|
`},components:[{tag:"ProductTitle",advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-l)"}}}}}]}],locales:{editor:{en:{product_not_found:"Product Not Found"}}}};export{config as default};
|
|
@@ -2,7 +2,7 @@ import{rectangleListPresetConfig as e}from"./swatches-style-config/rectangle-lis
|
|
|
2
2
|
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
3
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M1.33301 9.16663C1.33301 8.89048 1.55687 8.66663 1.83301 8.66663H14.833C15.1091 8.66663 15.333 8.89048 15.333 9.16663V17.7105C15.333 17.9866 15.1091 18.2105 14.833 18.2105H1.83301C1.55687 18.2105 1.33301 17.9866 1.33301 17.7105V9.16663ZM3.66634 15.8245H12.9997V11.0526H3.66634V15.8245ZM18.833 9.16663C18.833 8.89048 19.0569 8.66663 19.333 8.66663H32.333C32.6091 8.66663 32.833 8.89048 32.833 9.16663V17.7105C32.833 17.9866 32.6091 18.2105 32.333 18.2105H19.333C19.0569 18.2105 18.833 17.9866 18.833 17.7105V9.16663ZM21.1663 15.8245H30.4997V11.0526H21.1663V15.8245ZM7.16634 30.8333C7.16634 31.1094 7.3902 31.3333 7.66634 31.3333H20.6663C20.9425 31.3333 21.1663 31.1094 21.1663 30.8333V22.2894C21.1663 22.0133 20.9425 21.7894 20.6663 21.7894H7.66634C7.3902 21.7894 7.16634 22.0133 7.16634 22.2894V30.8333ZM9.49967 24.1754H18.833V28.9473H9.49967V24.1754ZM25.1663 31.3333C24.8902 31.3333 24.6663 31.1094 24.6663 30.8333V22.2894C24.6663 22.0133 24.8902 21.7894 25.1663 21.7894H38.1663C38.4425 21.7894 38.6663 22.0133 38.6663 22.2894V30.8333C38.6663 31.1094 38.4425 31.3333 38.1663 31.3333H25.1663ZM26.9997 28.9473H36.333V24.1754H26.9997V28.9473Z" fill="currentColor"/>
|
|
4
4
|
</svg>
|
|
5
|
-
`,settings:[{id:"setting",controls:[{id:"variantsOption",type:"group",label:"Variants Options",controls:[{id:"optionType",label:"Option Label",type:"segment",default:"singleOption",options:[{label:"Separate",value:"singleOption"},{label:"Combine",value:"groupOption"}]},{id:"label",label:"Option Label",type:"toggle",default:!0},{id:"optionAlign",label:"Alignment",type:"segment",devices:{desktop:{default:"left"}},options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}]},{id:"price",label:"Option Price",type:"toggle",hide:!0,default:!0},{id:"showAsSwatches",label:"Use Option Swatches",type:"swatchesLink",hide:!0,default:!0,hyperlinkInfo:{beforeText:"Go to ",hyperlinkText:"Manage Swatches",afterText:" to configure options display as swatches",modal:"manage_swatches"}},{id:"combineFullWidth",label:"Full Width",type:"toggle",devices:{desktop:{default:!0}}},{id:"combineWidth",type:"input:unit",label:"Width",placeholder:"Auto",min:0,units:["px","%"],hide:!0,devices:{desktop:{default:"100%"}}},{id:"combineHeight",type:"input:unit",label:"Height",placeholder:"Auto",min:0,units:["px"],default:"45px"},{id:"variantPresets",label:"Use Option Swatches",type:"variant:presets",default:[{optionName:"base",optionType:"rectangle_list",presets:{...t,...e,...l,...o,...i}}],hyperlinkInfo:{modal:"manage_swatches"}},{id:"soldOutStyle",type:"select",default:"disable",options:[{label:"None",value:"none"},{label:"Unclickable",value:"disable"},{label:"Cross-out",value:"line",icon:"sold-out-mark-line"}]}]},{id:"options",type:"group",label:"Options",controls:[{id:"layout",label:"Layout",type:"layout-segment",iconViewBox:"0 0 66 45",enableItemBackground:!0,devices:{desktop:{default:"vertical"}},options:[{label:"Horizontal",value:"horizontal",type:"arrange"},{label:"Vertical",value:"vertical",type:"arrange"}]},{id:"column",label:"Column",type:"select",devices:{desktop:{default:1}},options:[{label:"1 column",value:1},{label:"2 columns",value:2},{label:"3 columns",value:3},{label:"4 columns",value:4}]}]},{id:"variantDisplay",type:"group",label:"Variant Display",controls:[{id:"hasPreSelected",type:"toggle",label:"hasPreSelected",default:!0},{id:"selectVariantDefault",type:"select-variant",label:"Select Default Variant",hide:!0}]},{id:"blankText",label:"Blank Option Text",type:"input",hide:!0,default:"Please select an option"},{id:"hasOnlyDefaultVariant",label:"Blank Option Text",type:"variant:default",hide:!0,default:!1}]},{id:"style",controls:[{id:"dimension",type:"group",label:"Variants Dimension",controls:[{id:"fullWidth",label:"Full Width",type:"toggle",devices:{desktop:{default:!0}}},{id:"width",type:"input:unit",label:"Width",min:0,units:["px","%"],hide:!0,devices:{desktop:{default:"400px"}}},{id:"optionSpacing",label:"Option Spacing",type:"input:unit",units:["px"],placeholder:"Auto",default:"30px"},{id:"labelGap",label:"Gap",type:"input:unit-spacing",units:["px"],default:"8px"}]},{id:"swatchDimension",type:"group",label:"Swatch Dimension",controls:[{id:"swatchAutoWidth",label:"Auto Width",type:"toggle",devices:{desktop:{default:!0}}},{id:"swatchWidth",type:"input:unit",label:"Width",placeholder:"Auto Width",min:0,units:["px","%"],hide:!0,devices:{desktop:{default:"80px"}}},{id:"swatchHeight",type:"input:unit",label:"Height",placeholder:"Auto Height",min:0,units:["px"],devices:{desktop:{default:"45px"}}},{id:"swatchSpacing",label:"Swatch Spacing",type:"input:unit-spacing",units:["px"],placeholder:"Auto",default:"var(--g-s-m)"},{id:"marginBottom",label:"Margin Bottom",type:"input:unit-spacing",units:["px"],devices:{desktop:{default:"var(--g-s-xl)"},mobile:{default:"var(--g-s-xl)"}}}]},{id:"align",label:"Align",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}},{id:"labelGroup",type:"group",label:"Label",controls:[{id:"labelTypo",type:"typography-v2",label:"Typography",default:{type:"paragraph-2",attrs:{color:"text-1",bold:!0}},ignoreReRender:!0},{id:"labelColor",type:"colorpicker",label:"Text Color",default:"text-2"}]},{id:"labelGroup",type:"group",label:"Option Value",controls:[{id:"optionTypo",type:"typography-v2",label:"Typography",default:{type:"paragraph-2"},hiddenSetting:{color:!0},ignoreReRender:!0}]},{id:"behavior-state",type:"behavior-state",label:"Option Value",controls:[{id:"optionBgColor",type:"colorpicker",label:"Background Color",default:{normal:"bg-3",hover:"bg-3",active:"bg-3"},state:{active:!0,hover:!0,normal:!0}},{id:"optionTextColor",type:"colorpicker",label:"Text Color",default:{normal:"text-2",hover:"text-2",active:"text-2"},state:{active:!0,hover:!0,normal:!0}},{id:"optionBorder",type:"border",label:"Border",default:{normal:{borderType:"style-2",border:"solid",color:"line-2",isCustom:!1,width:"1px 1px 1px 1px",borderWidth:"1px"},active:{borderType:"style-3",border:"solid",color:"line-3",isCustom:!1,width:"2px 2px 2px 2px",borderWidth:"2px"},hover:{borderType:"style-3",border:"solid",color:"line-3",isCustom:!1,width:"1px 1px 1px 1px",borderWidth:"1px"}},state:{active:!0,hover:!0,normal:!0}},{id:"optionRounded",type:"radius-preset",label:"Border Radius",default:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"custom"},hover:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"custom"},active:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"custom"}},state:{active:!0,hover:!0,normal:!0}},{id:"optionHasShadow",type:"toggle",label:"Shadow Enable",default:{normal:!1,hover:!1,active:!1},state:{normal:!0,hover:!0,active:!0}},{id:"optionShadow",type:"boxShadow",label:"Shadow",hideOnState:{normal:!0,hover:!0,active:!0},default:{normal:{type:"shadow-1",distance:"4px",blur:"12px",spread:"0px",color:"rgba(0, 0, 0, 0.20)",angle:90},hover:{type:"shadow-1",distance:"4px",blur:"12px",spread:"0px",color:"rgba(0, 0, 0, 0.20)",angle:90},active:{type:"shadow-1",distance:"4px",blur:"12px",spread:"0px",color:"rgba(0, 0, 0, 0.20)",angle:90}},state:{normal:!0,hover:!0,active:!0}}]},{id:"dropdownItemWidth",type:"segment",label:"Dropdown Width",devices:{desktop:{default:"fill"},mobile:{default:"fill"},tablet:{default:"fill"}},options:[{label:"Fill",value:"fill"},{label:"Fixed",value:"fixed"}]},{id:"fixedDropdownWidth",type:"input:unit",label:"Fixed Width",units:["px","%"],devices:{desktop:{default:"240px"},mobile:{default:"240px"},tablet:{default:"240px"}}},{id:"swatchItemWidth",type:"segment",label:"Swatch Width",devices:{desktop:{default:"auto"}},options:[{label:"Fill",value:"auto"},{label:"Fixed",value:"fixed"}]},{id:"fixedDropdownWidth",type:"input:unit",label:"Fixed Width",units:["px","%"],devices:{desktop:{default:"240px"}}}]}],ui:[{type:"group",label:{en:"Variants settings"},controls:[{type:"control",label:{en:"Type"},setting:{id:"optionType"}},{type:"control",label:{en:"Options price"},setting:{id:"price"},condition:"optionType == 'groupOption'"},{type:"control",label:{en:"Sold out style"},setting:{id:"soldOutStyle"}}]},{type:"control",condition:"false",layout:"vertical",label:{en:"Variant style"},setting:{id:"showAsSwatches"}},{type:"control",condition:"optionType == 'singleOption'",layout:"vertical",label:{en:"Variant style"},setting:{id:"variantPresets"}},{type:"group",condition:"optionType === 'groupOption'",layout:"vertical",label:{en:"Variant style"},controls:[{type:"control",label:{en:""},setting:{id:"hasOnlyDefaultVariant"},layout:"vertical",condition:"hasOnlyDefaultVariant === true"},{type:"control",label:{en:"Width"},setting:{id:"combineWidth"},condition:"hasOnlyDefaultVariant === false"},{type:"control",label:{en:"Height"},setting:{id:"combineHeight"},condition:"hasOnlyDefaultVariant === false"},{type:"tab",label:{en:"States"},isMoreSetting:!0,condition:"hasOnlyDefaultVariant === false",controls:[{type:"group",label:{en:"Normal"},controls:[{type:"control",label:{en:"Background color"},setting:{id:"optionBgColor",state:"normal"}},{type:"control",label:{en:"Text color"},setting:{id:"optionTextColor",state:"normal"}},{type:"control",options:{labelPosition:"start"},label:{en:"Border"},setting:{id:"optionBorder",state:"normal"}},{type:"control",label:{en:"Corner"},setting:{id:"optionRounded",state:"normal"}},{type:"control",label:{en:"Shadow"},setting:{id:"optionHasShadow",state:"normal"}},{type:"control",label:{en:""},condition:"optionHasShadow.normal === true",layout:"vertical",setting:{id:"optionShadow",state:"normal"}}]},{type:"group",label:{en:"Hover"},controls:[{type:"control",label:{en:"Background color"},setting:{id:"optionBgColor",state:"hover"}},{type:"control",label:{en:"Text color"},setting:{id:"optionTextColor",state:"hover"}},{type:"control",options:{labelPosition:"start"},label:{en:"Border"},setting:{id:"optionBorder",state:"hover"}},{type:"control",label:{en:"Corner"},setting:{id:"optionRounded",state:"hover"}},{type:"control",label:{en:"Shadow"},setting:{id:"optionHasShadow",state:"hover"}},{type:"control",label:{en:""},condition:"optionHasShadow.hover === true",layout:"vertical",setting:{id:"optionShadow",state:"hover"}}]},{type:"group",label:{en:"Active"},controls:[{type:"control",label:{en:"Background color"},setting:{id:"optionBgColor",state:"active"}},{type:"control",label:{en:"Text color"},setting:{id:"optionTextColor",state:"active"}},{type:"control",options:{labelPosition:"start"},label:{en:"Border"},setting:{id:"optionBorder",state:"active"}},{type:"control",label:{en:"Corner"},setting:{id:"optionRounded",state:"active"}},{type:"control",label:{en:"Shadow"},setting:{id:"optionHasShadow",state:"active"}},{type:"control",label:{en:""},layout:"vertical",condition:"optionHasShadow.active === true",setting:{id:"optionShadow",state:"active"}}]}]}]},{type:"group",label:{en:""},condition:"optionType !== 'groupOption'",controls:[{type:"control",label:{en:"Title"},setting:{id:"label"},options:{label:"large",styleControl:{width:"auto"}}},{type:"control",setting:{id:"labelTypo"},layout:"vertical"},{type:"control",condition:"label == true",setting:{id:"labelTypography"},layout:"vertical"},{type:"control",condition:"label == true",label:{en:"Arrangement"},setting:{id:"layout"}},{type:"control",condition:"label == true",label:{en:"Gap"},setting:{id:"labelGap"}}]},{type:"group",label:{en:"Option value text"},controls:[{type:"control",setting:{id:"optionTypography"},layout:"vertical"},{type:"control",setting:{id:"optionTypo"},layout:"vertical"}]},{type:"group",label:{en:""},controls:[{type:"control",label:{en:"Pre-selected option"},setting:{id:"hasPreSelected"},options:{label:"large",styleControl:{width:"auto"}}},{type:"control",condition:"hasPreSelected == true",layout:"vertical",setting:{id:"selectVariantDefault"},options:{styleControl:{"max-width":"100%"}}},{type:"control",condition:"hasPreSelected == false",setting:{id:"blankText"}}]},{type:"group",label:{en:"Size"},controls:[{type:"control",label:{en:"Full width"},setting:{id:"fullWidth"}},{type:"control",label:{en:"Width"},condition:"fullWidth == false",setting:{id:"width"}},{type:"control",label:{en:"Spacing"},setting:{id:"marginBottom"}}]},{type:"control",label:{en:"Align"},setting:{id:"align"},options:{label:"large"}}],editorConfigs:{placeholder:{flowTag:["Product"]}},presets:[{id:"product-swatches",name:{en:"Product Swatches"},icon:{desktop:`
|
|
5
|
+
`,settings:[{id:"setting",controls:[{id:"variantsOption",type:"group",label:"Variants Options",controls:[{id:"optionType",label:"Option Label",type:"segment",default:"singleOption",options:[{label:"Separate",value:"singleOption"},{label:"Combine",value:"groupOption"}]},{id:"label",label:"Option Label",type:"toggle",default:!0},{id:"optionAlign",label:"Alignment",type:"segment",devices:{desktop:{default:"left"}},options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}]},{id:"price",label:"Option Price",type:"toggle",hide:!0,default:!0},{id:"showAsSwatches",label:"Use Option Swatches",type:"swatchesLink",hide:!0,default:!0,hyperlinkInfo:{beforeText:"Go to ",hyperlinkText:"Manage Swatches",afterText:" to configure options display as swatches",modal:"manage_swatches"}},{id:"combineFullWidth",label:"Full Width",type:"toggle",devices:{desktop:{default:!0}}},{id:"combineWidth",type:"input:unit",label:"Width",placeholder:"Auto",min:0,units:["px","%"],hide:!0,devices:{desktop:{default:"100%"}}},{id:"combineHeight",type:"input:unit",label:"Height",placeholder:"Auto",min:0,units:["px"],default:"45px"},{id:"variantPresets",label:"Use Option Swatches",type:"variant:presets",default:[{optionName:"base",optionType:"rectangle_list",presets:{...t,...e,...l,...o,...i}}],hyperlinkInfo:{modal:"manage_swatches"}},{id:"soldOutStyle",type:"select",default:"disable",options:[{label:"None",value:"none"},{label:"Unclickable",value:"disable"},{label:"Cross-out",value:"line",icon:"sold-out-mark-line"}]}]},{id:"options",type:"group",label:"Options",controls:[{id:"layout",label:"Layout",type:"layout-segment",iconViewBox:"0 0 66 45",enableItemBackground:!0,devices:{desktop:{default:"vertical"}},options:[{label:"Horizontal",value:"horizontal",type:"arrange"},{label:"Vertical",value:"vertical",type:"arrange"}]},{id:"column",label:"Column",type:"select",devices:{desktop:{default:1}},options:[{label:"1 column",value:1},{label:"2 columns",value:2},{label:"3 columns",value:3},{label:"4 columns",value:4}]}]},{id:"variantDisplay",type:"group",label:"Variant Display",controls:[{id:"hasPreSelected",type:"toggle",label:"hasPreSelected",default:!0},{id:"selectVariantDefault",type:"select-variant",label:"Select Default Variant",hide:!0}]},{id:"blankText",label:"Blank Option Text",type:"input",hide:!0,default:"Please select an option"},{id:"hasOnlyDefaultVariant",label:"Blank Option Text",type:"variant:default",hide:!0,default:!1}]},{id:"style",controls:[{id:"dimension",type:"group",label:"Variants Dimension",controls:[{id:"fullWidth",label:"Full Width",type:"toggle",devices:{desktop:{default:!0}}},{id:"width",type:"input:unit",label:"Width",min:0,units:["px","%"],hide:!0,devices:{desktop:{default:"400px"}}},{id:"optionSpacing",label:"Option Spacing",type:"input:unit",units:["px"],placeholder:"Auto",default:"30px"},{id:"labelGap",label:"Gap",type:"input:unit-spacing",units:["px"],default:"8px"}]},{id:"swatchDimension",type:"group",label:"Swatch Dimension",controls:[{id:"swatchAutoWidth",label:"Auto Width",type:"toggle",devices:{desktop:{default:!0}}},{id:"swatchWidth",type:"input:unit",label:"Width",placeholder:"Auto Width",min:0,units:["px","%"],hide:!0,devices:{desktop:{default:"80px"}}},{id:"swatchHeight",type:"input:unit",label:"Height",placeholder:"Auto Height",min:0,units:["px"],devices:{desktop:{default:"45px"}}},{id:"swatchSpacing",label:"Swatch Spacing",type:"input:unit-spacing",units:["px"],placeholder:"Auto",default:"var(--g-s-m)"},{id:"marginBottom",label:"Margin Bottom",type:"input:unit-spacing",units:["px"],devices:{desktop:{default:"var(--g-s-xl)"},mobile:{default:"var(--g-s-xl)"}}}]},{id:"align",label:"Align",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}},{id:"labelGroup",type:"group",label:"Label",controls:[{id:"labelTypo",type:"typography-v2",label:"Typography",default:{type:"paragraph-2",attrs:{color:"text-1",bold:!0}},ignoreReRender:!0},{id:"labelColor",type:"colorpicker",label:"Text Color",default:"text-2"}]},{id:"labelGroup",type:"group",label:"Option Value",controls:[{id:"optionTypo",type:"typography-v2",label:"Typography",default:{type:"paragraph-2"},hiddenSetting:{color:!0},ignoreReRender:!0}]},{id:"behavior-state",type:"behavior-state",label:"Option Value",controls:[{id:"optionBgColor",type:"colorpicker",label:"Background Color",default:{normal:"bg-3",hover:"bg-3",active:"bg-3"},state:{active:!0,hover:!0,normal:!0}},{id:"optionTextColor",type:"colorpicker",label:"Text Color",default:{normal:"text-2",hover:"text-2",active:"text-2"},state:{active:!0,hover:!0,normal:!0}},{id:"optionBorder",type:"border",label:"Border",default:{normal:{borderType:"style-2",border:"solid",color:"line-2",isCustom:!1,width:"1px 1px 1px 1px",borderWidth:"1px"},active:{borderType:"style-3",border:"solid",color:"line-3",isCustom:!1,width:"2px 2px 2px 2px",borderWidth:"2px"},hover:{borderType:"style-3",border:"solid",color:"line-3",isCustom:!1,width:"1px 1px 1px 1px",borderWidth:"1px"}},state:{active:!0,hover:!0,normal:!0}},{id:"optionRounded",type:"radius-preset",label:"Border Radius",default:{normal:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"custom"},hover:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"custom"},active:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"custom"}},state:{active:!0,hover:!0,normal:!0}},{id:"optionHasShadow",type:"toggle",label:"Shadow Enable",default:{normal:!1,hover:!1,active:!1},state:{normal:!0,hover:!0,active:!0}},{id:"optionShadow",type:"boxShadow",label:"Shadow",hideOnState:{normal:!0,hover:!0,active:!0},default:{normal:{type:"shadow-1",distance:"4px",blur:"12px",spread:"0px",color:"rgba(0, 0, 0, 0.20)",angle:90},hover:{type:"shadow-1",distance:"4px",blur:"12px",spread:"0px",color:"rgba(0, 0, 0, 0.20)",angle:90},active:{type:"shadow-1",distance:"4px",blur:"12px",spread:"0px",color:"rgba(0, 0, 0, 0.20)",angle:90}},state:{normal:!0,hover:!0,active:!0}}]},{id:"dropdownItemWidth",type:"segment",label:"Dropdown Width",devices:{desktop:{default:"fill"},mobile:{default:"fill"},tablet:{default:"fill"}},options:[{label:"Fill",value:"fill"},{label:"Fixed",value:"fixed"}]},{id:"fixedDropdownWidth",type:"input:unit",label:"Fixed Width",units:["px","%"],devices:{desktop:{default:"240px"},mobile:{default:"240px"},tablet:{default:"240px"}}},{id:"swatchItemWidth",type:"segment",label:"Swatch Width",devices:{desktop:{default:"auto"}},options:[{label:"Fill",value:"auto"},{label:"Fixed",value:"fixed"}]},{id:"fixedDropdownWidth",type:"input:unit",label:"Fixed Width",units:["px","%"],devices:{desktop:{default:"240px"}}}]}],ui:[{type:"group",label:{en:"Variants settings"},controls:[{type:"control",label:{en:"Type"},setting:{id:"optionType"}},{type:"control",label:{en:"Options price"},setting:{id:"price"},condition:"optionType == 'groupOption'"},{type:"control",label:{en:"Sold out style"},setting:{id:"soldOutStyle"}}]},{type:"control",condition:"false",layout:"vertical",label:{en:"Variant style"},setting:{id:"showAsSwatches"}},{type:"control",condition:"optionType == 'singleOption'",layout:"vertical",label:{en:"Variant style"},setting:{id:"variantPresets"}},{type:"group",condition:"optionType === 'groupOption'",layout:"vertical",label:{en:"Variant style"},controls:[{type:"control",label:{en:""},setting:{id:"hasOnlyDefaultVariant"},layout:"vertical",condition:"hasOnlyDefaultVariant === true"},{type:"control",label:{en:"Width"},setting:{id:"combineWidth"},condition:"hasOnlyDefaultVariant === false"},{type:"control",label:{en:"Height"},setting:{id:"combineHeight"},condition:"hasOnlyDefaultVariant === false"},{type:"tab",label:{en:"States"},isMoreSetting:!0,condition:"hasOnlyDefaultVariant === false",controls:[{type:"group",label:{en:"Normal"},controls:[{type:"control",label:{en:"Background color"},setting:{id:"optionBgColor",state:"normal"}},{type:"control",label:{en:"Text color"},setting:{id:"optionTextColor",state:"normal"}},{type:"control",options:{labelPosition:"start"},label:{en:"Border"},setting:{id:"optionBorder",state:"normal"}},{type:"control",label:{en:"Corner"},setting:{id:"optionRounded",state:"normal"}},{type:"control",label:{en:"Shadow"},setting:{id:"optionHasShadow",state:"normal"}},{type:"control",label:{en:""},condition:"optionHasShadow.normal === true",layout:"vertical",setting:{id:"optionShadow",state:"normal"}}]},{type:"group",label:{en:"Hover"},controls:[{type:"control",label:{en:"Background color"},setting:{id:"optionBgColor",state:"hover"}},{type:"control",label:{en:"Text color"},setting:{id:"optionTextColor",state:"hover"}},{type:"control",options:{labelPosition:"start"},label:{en:"Border"},setting:{id:"optionBorder",state:"hover"}},{type:"control",label:{en:"Corner"},setting:{id:"optionRounded",state:"hover"}},{type:"control",label:{en:"Shadow"},setting:{id:"optionHasShadow",state:"hover"}},{type:"control",label:{en:""},condition:"optionHasShadow.hover === true",layout:"vertical",setting:{id:"optionShadow",state:"hover"}}]},{type:"group",label:{en:"Active"},controls:[{type:"control",label:{en:"Background color"},setting:{id:"optionBgColor",state:"active"}},{type:"control",label:{en:"Text color"},setting:{id:"optionTextColor",state:"active"}},{type:"control",options:{labelPosition:"start"},label:{en:"Border"},setting:{id:"optionBorder",state:"active"}},{type:"control",label:{en:"Corner"},setting:{id:"optionRounded",state:"active"}},{type:"control",label:{en:"Shadow"},setting:{id:"optionHasShadow",state:"active"}},{type:"control",label:{en:""},layout:"vertical",condition:"optionHasShadow.active === true",setting:{id:"optionShadow",state:"active"}}]}]}]},{type:"group",label:{en:""},condition:"optionType !== 'groupOption'",controls:[{type:"control",label:{en:"Title"},setting:{id:"label"},options:{label:"large",styleControl:{width:"auto"}}},{type:"control",setting:{id:"labelTypo"},layout:"vertical"},{type:"control",condition:"label == true",setting:{id:"labelTypography"},layout:"vertical"},{type:"control",condition:"label == true",label:{en:"Arrangement"},setting:{id:"layout"}},{type:"control",condition:"label == true",label:{en:"Gap"},setting:{id:"labelGap"}}]},{type:"group",label:{en:"Option value text"},controls:[{type:"control",setting:{id:"optionTypography"},layout:"vertical"},{type:"control",setting:{id:"optionTypo"},layout:"vertical"}]},{type:"group",label:{en:""},controls:[{type:"control",label:{en:"Pre-selected option"},setting:{id:"hasPreSelected"},options:{label:"large",styleControl:{width:"auto"}}},{type:"control",condition:"hasPreSelected == false",setting:{id:"blankText"}}]},{type:"group",label:{en:"Size"},controls:[{type:"control",label:{en:"Full width"},setting:{id:"fullWidth"}},{type:"control",label:{en:"Width"},condition:"fullWidth == false",setting:{id:"width"}},{type:"control",label:{en:"Spacing"},setting:{id:"marginBottom"}}]},{type:"control",label:{en:"Align"},setting:{id:"align"},options:{label:"large"}}],editorConfigs:{placeholder:{flowTag:["Product"]}},presets:[{id:"product-swatches",name:{en:"Product Swatches"},icon:{desktop:`
|
|
6
6
|
<svg width="96" height="42" viewBox="0 0 96 42" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
7
7
|
<path d="M7.08159 6.5H6.20091C6.14882 6.24669 6.05768 6.02415 5.92747 5.83239C5.79963 5.64062 5.64338 5.47964 5.45872 5.34943C5.27643 5.21686 5.07401 5.11742 4.85147 5.05114C4.62894 4.98485 4.39693 4.9517 4.15545 4.9517C3.71511 4.9517 3.3162 5.06297 2.95872 5.28551C2.6036 5.50805 2.3207 5.83594 2.11 6.26918C1.90166 6.70241 1.7975 7.2339 1.7975 7.86364C1.7975 8.49337 1.90166 9.02486 2.11 9.4581C2.3207 9.89134 2.6036 10.2192 2.95872 10.4418C3.3162 10.6643 3.71511 10.7756 4.15545 10.7756C4.39693 10.7756 4.62894 10.7424 4.85147 10.6761C5.07401 10.6098 5.27643 10.5116 5.45872 10.3814C5.64338 10.2488 5.79963 10.0866 5.92747 9.89489C6.05768 9.70076 6.14882 9.47822 6.20091 9.22727H7.08159C7.0153 9.59896 6.89456 9.93158 6.71937 10.2251C6.54418 10.5187 6.32638 10.7685 6.06596 10.9744C5.80555 11.178 5.51317 11.3331 5.18883 11.4396C4.86686 11.5462 4.5224 11.5994 4.15545 11.5994C3.53519 11.5994 2.98358 11.4479 2.50062 11.1449C2.01767 10.8419 1.6377 10.411 1.36071 9.85227C1.08372 9.29356 0.945224 8.63068 0.945224 7.86364C0.945224 7.09659 1.08372 6.43371 1.36071 5.875C1.6377 5.31629 2.01767 4.88542 2.50062 4.58239C2.98358 4.27936 3.53519 4.12784 4.15545 4.12784C4.5224 4.12784 4.86686 4.18111 5.18883 4.28764C5.51317 4.39418 5.80555 4.55043 6.06596 4.75639C6.32638 4.95999 6.54418 5.20857 6.71937 5.50213C6.89456 5.79332 7.0153 6.12595 7.08159 6.5ZM10.607 11.6136C10.1146 11.6136 9.6825 11.4964 9.31081 11.2621C8.9415 11.0277 8.65267 10.6998 8.44434 10.2784C8.23837 9.85701 8.13539 9.36458 8.13539 8.80114C8.13539 8.23295 8.23837 7.73698 8.44434 7.31321C8.65267 6.88944 8.9415 6.56037 9.31081 6.32599C9.6825 6.09162 10.1146 5.97443 10.607 5.97443C11.0994 5.97443 11.5303 6.09162 11.8996 6.32599C12.2713 6.56037 12.5601 6.88944 12.7661 7.31321C12.9744 7.73698 13.0786 8.23295 13.0786 8.80114C13.0786 9.36458 12.9744 9.85701 12.7661 10.2784C12.5601 10.6998 12.2713 11.0277 11.8996 11.2621C11.5303 11.4964 11.0994 11.6136 10.607 11.6136ZM10.607 10.8608C10.981 10.8608 11.2888 10.7649 11.5303 10.5732C11.7718 10.3814 11.9505 10.1293 12.0665 9.81676C12.1825 9.50426 12.2405 9.16572 12.2405 8.80114C12.2405 8.43655 12.1825 8.09683 12.0665 7.78196C11.9505 7.46709 11.7718 7.21259 11.5303 7.01847C11.2888 6.82434 10.981 6.72727 10.607 6.72727C10.2329 6.72727 9.92516 6.82434 9.68368 7.01847C9.44221 7.21259 9.26346 7.46709 9.14746 7.78196C9.03146 8.09683 8.97346 8.43655 8.97346 8.80114C8.97346 9.16572 9.03146 9.50426 9.14746 9.81676C9.26346 10.1293 9.44221 10.3814 9.68368 10.5732C9.92516 10.7649 10.2329 10.8608 10.607 10.8608ZM15.1959 4.22727V11.5H14.3579V4.22727H15.1959ZM18.9468 11.6136C18.4544 11.6136 18.0223 11.4964 17.6507 11.2621C17.2813 11.0277 16.9925 10.6998 16.7842 10.2784C16.5782 9.85701 16.4752 9.36458 16.4752 8.80114C16.4752 8.23295 16.5782 7.73698 16.7842 7.31321C16.9925 6.88944 17.2813 6.56037 17.6507 6.32599C18.0223 6.09162 18.4544 5.97443 18.9468 5.97443C19.4392 5.97443 19.8701 6.09162 20.2394 6.32599C20.6111 6.56037 20.8999 6.88944 21.1059 7.31321C21.3142 7.73698 21.4184 8.23295 21.4184 8.80114C21.4184 9.36458 21.3142 9.85701 21.1059 10.2784C20.8999 10.6998 20.6111 11.0277 20.2394 11.2621C19.8701 11.4964 19.4392 11.6136 18.9468 11.6136ZM18.9468 10.8608C19.3209 10.8608 19.6286 10.7649 19.8701 10.5732C20.1116 10.3814 20.2903 10.1293 20.4063 9.81676C20.5223 9.50426 20.5803 9.16572 20.5803 8.80114C20.5803 8.43655 20.5223 8.09683 20.4063 7.78196C20.2903 7.46709 20.1116 7.21259 19.8701 7.01847C19.6286 6.82434 19.3209 6.72727 18.9468 6.72727C18.5728 6.72727 18.265 6.82434 18.0235 7.01847C17.782 7.21259 17.6033 7.46709 17.4873 7.78196C17.3713 8.09683 17.3133 8.43655 17.3133 8.80114C17.3133 9.16572 17.3713 9.50426 17.4873 9.81676C17.6033 10.1293 17.782 10.3814 18.0235 10.5732C18.265 10.7649 18.5728 10.8608 18.9468 10.8608ZM22.6977 11.5V6.04545H23.5074V6.86932H23.5642C23.6636 6.59943 23.8435 6.38045 24.104 6.21236C24.3644 6.04427 24.6579 5.96023 24.9846 5.96023C25.0462 5.96023 25.1231 5.96141 25.2155 5.96378C25.3078 5.96615 25.3776 5.9697 25.425 5.97443V6.8267C25.3966 6.8196 25.3315 6.80895 25.2297 6.79474C25.1302 6.77817 25.0249 6.76989 24.9136 6.76989C24.6485 6.76989 24.4117 6.82552 24.2034 6.93679C23.9974 7.04569 23.8341 7.19721 23.7133 7.39134C23.595 7.5831 23.5358 7.80208 23.5358 8.0483V11.5H22.6977Z" fill="#D6D6D6"/>
|
|
8
8
|
<g clip-path="url(#clip0_9753_94241)">
|