@gem-sdk/components 2.0.0-staging.902 → 2.0.0-staging.903

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.
@@ -2,4 +2,4 @@
2
2
  <path d="M1.76048 9H0.652521L3.85707 0.272727H4.94798L8.15252 9H7.04457L4.43661 1.65341H4.36843L1.76048 9ZM2.16957 5.59091H6.63548V6.52841H2.16957V5.59091ZM9.37553 9V2.45455H10.3471V3.44318H10.4153C10.5346 3.11932 10.7505 2.85653 11.063 2.65483C11.3755 2.45312 11.7278 2.35227 12.1199 2.35227C12.1937 2.35227 12.286 2.35369 12.3968 2.35653C12.5076 2.35937 12.5914 2.36364 12.6483 2.36932V3.39205C12.6142 3.38352 12.536 3.37074 12.4139 3.35369C12.2946 3.33381 12.1681 3.32386 12.0346 3.32386C11.7164 3.32386 11.4324 3.39062 11.1824 3.52415C10.9352 3.65483 10.7392 3.83665 10.5943 4.0696C10.4522 4.29972 10.3812 4.5625 10.3812 4.85795V9H9.37553ZM17.0971 2.45455V3.30682H13.7051V2.45455H17.0971ZM14.6937 0.886364H15.6994V7.125C15.6994 7.40909 15.7406 7.62216 15.823 7.7642C15.9082 7.90341 16.0162 7.99716 16.1468 8.04545C16.2804 8.09091 16.421 8.11364 16.5687 8.11364C16.6795 8.11364 16.7704 8.10795 16.8414 8.09659C16.9125 8.08239 16.9693 8.07102 17.0119 8.0625L17.2164 8.96591C17.1483 8.99148 17.0531 9.01705 16.9309 9.04261C16.8088 9.07102 16.6539 9.08523 16.4664 9.08523C16.1824 9.08523 15.9039 9.02415 15.6312 8.90199C15.3613 8.77983 15.1369 8.59375 14.9579 8.34375C14.7818 8.09375 14.6937 7.77841 14.6937 7.39773V0.886364ZM18.6099 9V2.45455H19.6156V9H18.6099ZM19.1213 1.36364C18.9252 1.36364 18.7562 1.29688 18.6142 1.16335C18.475 1.02983 18.4054 0.869318 18.4054 0.681818C18.4054 0.494318 18.475 0.333807 18.6142 0.200284C18.7562 0.0667613 18.9252 0 19.1213 0C19.3173 0 19.4849 0.0667613 19.6241 0.200284C19.7662 0.333807 19.8372 0.494318 19.8372 0.681818C19.8372 0.869318 19.7662 1.02983 19.6241 1.16335C19.4849 1.29688 19.3173 1.36364 19.1213 1.36364ZM24.1167 9.13636C23.503 9.13636 22.9746 8.99148 22.5314 8.7017C22.0882 8.41193 21.7473 8.01278 21.5087 7.50426C21.2701 6.99574 21.1507 6.41477 21.1507 5.76136C21.1507 5.09659 21.2729 4.50994 21.5172 4.00142C21.7644 3.49006 22.1081 3.09091 22.5485 2.80398C22.9917 2.5142 23.5087 2.36932 24.0996 2.36932C24.5598 2.36932 24.9746 2.45455 25.3439 2.625C25.7132 2.79545 26.0158 3.03409 26.2516 3.34091C26.4874 3.64773 26.6337 4.00568 26.6905 4.41477H25.6848C25.6081 4.11648 25.4377 3.85227 25.1735 3.62216C24.9121 3.3892 24.5598 3.27273 24.1167 3.27273C23.7246 3.27273 23.3809 3.375 23.0854 3.57955C22.7928 3.78125 22.5641 4.06676 22.3993 4.43608C22.2374 4.80256 22.1564 5.23295 22.1564 5.72727C22.1564 6.23295 22.236 6.6733 22.3951 7.0483C22.557 7.4233 22.7843 7.71449 23.0769 7.92188C23.3723 8.12926 23.7189 8.23295 24.1167 8.23295C24.378 8.23295 24.6152 8.1875 24.8283 8.09659C25.0414 8.00568 25.2218 7.875 25.3695 7.70455C25.5172 7.53409 25.6223 7.32955 25.6848 7.09091H26.6905C26.6337 7.47727 26.4931 7.82528 26.2686 8.13494C26.0471 8.44176 25.753 8.68608 25.3865 8.8679C25.0229 9.04688 24.5996 9.13636 24.1167 9.13636ZM29.1664 0.272727V9H28.1607V0.272727H29.1664ZM33.7527 9.13636C33.122 9.13636 32.5779 8.99716 32.1206 8.71875C31.666 8.4375 31.3152 8.04545 31.068 7.54261C30.8237 7.03693 30.7015 6.44886 30.7015 5.77841C30.7015 5.10795 30.8237 4.51705 31.068 4.00568C31.3152 3.49148 31.6589 3.09091 32.0993 2.80398C32.5424 2.5142 33.0595 2.36932 33.6504 2.36932C33.9913 2.36932 34.3279 2.42614 34.6603 2.53977C34.9927 2.65341 35.2953 2.83807 35.568 3.09375C35.8407 3.34659 36.0581 3.68182 36.22 4.09943C36.3819 4.51705 36.4629 5.03125 36.4629 5.64205V6.06818H31.4174V5.19886H35.4402C35.4402 4.82955 35.3663 4.5 35.2186 4.21023C35.0737 3.92045 34.8663 3.69176 34.5964 3.52415C34.3294 3.35653 34.014 3.27273 33.6504 3.27273C33.2498 3.27273 32.9032 3.37216 32.6106 3.57102C32.3208 3.76705 32.0978 4.02273 31.9416 4.33807C31.7853 4.65341 31.7072 4.99148 31.7072 5.35227V5.93182C31.7072 6.42614 31.7924 6.84517 31.9629 7.18892C32.1362 7.52983 32.3762 7.78977 32.6831 7.96875C32.9899 8.14489 33.3464 8.23295 33.7527 8.23295C34.0169 8.23295 34.2555 8.19602 34.4686 8.12216C34.6845 8.04545 34.8706 7.93182 35.0268 7.78125C35.1831 7.62784 35.3038 7.4375 35.389 7.21023L36.3606 7.48295C36.2583 7.8125 36.0865 8.10227 35.845 8.35227C35.6035 8.59943 35.3052 8.79261 34.9501 8.93182C34.595 9.06818 34.1958 9.13636 33.7527 9.13636ZM41.5041 9V0.272727H46.7711V1.21023H42.5609V4.15909H46.4984V5.09659H42.5609V8.0625H46.8393V9H41.5041ZM49.2896 2.45455L50.8578 5.13068L52.426 2.45455H53.585L51.4714 5.72727L53.585 9H52.426L50.8578 6.46023L49.2896 9H48.1305L50.21 5.72727L48.1305 2.45455H49.2896ZM57.4096 9.13636C56.796 9.13636 56.2676 8.99148 55.8244 8.7017C55.3812 8.41193 55.0403 8.01278 54.8017 7.50426C54.563 6.99574 54.4437 6.41477 54.4437 5.76136C54.4437 5.09659 54.5659 4.50994 54.8102 4.00142C55.0574 3.49006 55.4011 3.09091 55.8414 2.80398C56.2846 2.5142 56.8017 2.36932 57.3926 2.36932C57.8528 2.36932 58.2676 2.45455 58.6369 2.625C59.0062 2.79545 59.3088 3.03409 59.5446 3.34091C59.7804 3.64773 59.9267 4.00568 59.9835 4.41477H58.9778C58.9011 4.11648 58.7306 3.85227 58.4664 3.62216C58.2051 3.3892 57.8528 3.27273 57.4096 3.27273C57.0176 3.27273 56.6738 3.375 56.3784 3.57955C56.0858 3.78125 55.8571 4.06676 55.6923 4.43608C55.5304 4.80256 55.4494 5.23295 55.4494 5.72727C55.4494 6.23295 55.5289 6.6733 55.688 7.0483C55.85 7.4233 56.0772 7.71449 56.3699 7.92188C56.6653 8.12926 57.0119 8.23295 57.4096 8.23295C57.671 8.23295 57.9082 8.1875 58.1213 8.09659C58.3343 8.00568 58.5147 7.875 58.6625 7.70455C58.8102 7.53409 58.9153 7.32955 58.9778 7.09091H59.9835C59.9267 7.47727 59.786 7.82528 59.5616 8.13494C59.34 8.44176 59.046 8.68608 58.6795 8.8679C58.3159 9.04688 57.8926 9.13636 57.4096 9.13636ZM64.198 9.13636C63.5673 9.13636 63.0233 8.99716 62.5659 8.71875C62.1113 8.4375 61.7605 8.04545 61.5133 7.54261C61.269 7.03693 61.1468 6.44886 61.1468 5.77841C61.1468 5.10795 61.269 4.51705 61.5133 4.00568C61.7605 3.49148 62.1042 3.09091 62.5446 2.80398C62.9877 2.5142 63.5048 2.36932 64.0957 2.36932C64.4366 2.36932 64.7733 2.42614 65.1056 2.53977C65.438 2.65341 65.7406 2.83807 66.0133 3.09375C66.286 3.34659 66.5034 3.68182 66.6653 4.09943C66.8272 4.51705 66.9082 5.03125 66.9082 5.64205V6.06818H61.8627V5.19886H65.8855C65.8855 4.82955 65.8116 4.5 65.6639 4.21023C65.519 3.92045 65.3116 3.69176 65.0417 3.52415C64.7747 3.35653 64.4593 3.27273 64.0957 3.27273C63.6951 3.27273 63.3485 3.37216 63.0559 3.57102C62.7662 3.76705 62.5431 4.02273 62.3869 4.33807C62.2306 4.65341 62.1525 4.99148 62.1525 5.35227V5.93182C62.1525 6.42614 62.2377 6.84517 62.4082 7.18892C62.5815 7.52983 62.8216 7.78977 63.1284 7.96875C63.4352 8.14489 63.7917 8.23295 64.198 8.23295C64.4622 8.23295 64.7008 8.19602 64.9139 8.12216C65.1298 8.04545 65.3159 7.93182 65.4721 7.78125C65.6284 7.62784 65.7491 7.4375 65.8343 7.21023L66.8059 7.48295C66.7037 7.8125 66.5318 8.10227 66.2903 8.35227C66.0488 8.59943 65.7505 8.79261 65.3954 8.93182C65.0403 9.06818 64.6412 9.13636 64.198 9.13636ZM68.438 9V2.45455H69.4096V3.44318H69.4778C69.5971 3.11932 69.813 2.85653 70.1255 2.65483C70.438 2.45312 70.7903 2.35227 71.1824 2.35227C71.2562 2.35227 71.3485 2.35369 71.4593 2.35653C71.5701 2.35937 71.6539 2.36364 71.7108 2.36932V3.39205C71.6767 3.38352 71.5985 3.37074 71.4764 3.35369C71.3571 3.33381 71.2306 3.32386 71.0971 3.32386C70.7789 3.32386 70.4949 3.39062 70.2449 3.52415C69.9977 3.65483 69.8017 3.83665 69.6568 4.0696C69.5147 4.29972 69.4437 4.5625 69.4437 4.85795V9H68.438ZM72.9029 11.4545V2.45455H73.8745V3.49432H73.9938C74.0676 3.38068 74.1699 3.2358 74.3006 3.05966C74.4341 2.88068 74.6245 2.72159 74.8716 2.58239C75.1216 2.44034 75.4597 2.36932 75.8858 2.36932C76.437 2.36932 76.9228 2.5071 77.3432 2.78267C77.7637 3.05824 78.0918 3.44886 78.3276 3.95455C78.5634 4.46023 78.6813 5.05682 78.6813 5.74432C78.6813 6.4375 78.5634 7.03835 78.3276 7.54688C78.0918 8.05256 77.7651 8.4446 77.3475 8.72301C76.9299 8.99858 76.4483 9.13636 75.9029 9.13636C75.4824 9.13636 75.1458 9.06676 74.8929 8.92756C74.6401 8.78551 74.4455 8.625 74.3091 8.44602C74.1728 8.2642 74.0676 8.11364 73.9938 7.99432H73.9086V11.4545H72.9029ZM73.8915 5.72727C73.8915 6.22159 73.964 6.65767 74.1088 7.03551C74.2537 7.41051 74.4654 7.70455 74.7438 7.91761C75.0222 8.12784 75.3631 8.23295 75.7665 8.23295C76.187 8.23295 76.5378 8.12216 76.8191 7.90057C77.1032 7.67614 77.3162 7.375 77.4583 6.99716C77.6032 6.61648 77.6756 6.19318 77.6756 5.72727C77.6756 5.26705 77.6046 4.85227 77.4625 4.48295C77.3233 4.1108 77.1117 3.81676 76.8276 3.60085C76.5463 3.3821 76.1926 3.27273 75.7665 3.27273C75.3574 3.27273 75.0137 3.37642 74.7353 3.58381C74.4569 3.78835 74.2466 4.07528 74.1046 4.4446C73.9625 4.81108 73.8915 5.23864 73.8915 5.72727ZM83.062 2.45455V3.30682H79.6699V2.45455H83.062ZM80.6586 0.886364H81.6642V7.125C81.6642 7.40909 81.7054 7.62216 81.7878 7.7642C81.873 7.90341 81.981 7.99716 82.1117 8.04545C82.2452 8.09091 82.3858 8.11364 82.5336 8.11364C82.6444 8.11364 82.7353 8.10795 82.8063 8.09659C82.8773 8.08239 82.9341 8.07102 82.9767 8.0625L83.1813 8.96591C83.1131 8.99148 83.0179 9.01705 82.8958 9.04261C82.7736 9.07102 82.6188 9.08523 82.4313 9.08523C82.1472 9.08523 81.8688 9.02415 81.5961 8.90199C81.3262 8.77983 81.1017 8.59375 80.9228 8.34375C80.7466 8.09375 80.6586 7.77841 80.6586 7.39773V0.886364Z" fill="#F9F9F9"/>
3
3
  </svg>
4
4
 
5
- `},components:[{tag:"ArticleExcerpt",styles:{typo:{type:"paragraph-2"}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-l)"}}}}}]}];exports.ArticleExcerptPresets=ArticleExcerptPresets;
5
+ `},components:[{tag:"ArticleExcerpt",styles:{typo:{type:"paragraph-3"}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-l)"}}}}}]}];exports.ArticleExcerptPresets=ArticleExcerptPresets;
@@ -1 +1 @@
1
- "use strict";const ArticleExcerptSettings=[{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"}],default:"div"}]},{id:"style",controls:[{id:"typo",type:"typography-v2",default:{type:"paragraph-3",attrs:{color:"text-2"}},ignoreReRender:!0},{id:"textAlign",label:"Alignment",type:"option:value",options:[{label:"Left",value:"left",type:"text",tooltip:"Align left",iconName:"gp-text-align-left"},{label:"Center",value:"center",type:"text",tooltip:"Align center",iconName:"gp-text-align-center"},{label:"Right",value:"right",type:"text",tooltip:"Align right",iconName:"gp-text-align-right"},{label:"Justify",value:"justify",type:"text",tooltip:"Align justify",iconName:"gp-text-align-justify"}],devices:{desktop:{default:"left"}}},{id:"hasLineClamp",label:"Max lines",type:"toggle",devices:{desktop:{default:!0}}},{id:"lineClamp",type:"input:stepper",min:1,label:"Line Clamp",disableDecimal:!0,devices:{desktop:{default:2}},hide:!0},{id:"color",label:"Text Color",type:"colorpicker",default:{normal:"text-1"},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}}]}];exports.ArticleExcerptSettings=ArticleExcerptSettings;
1
+ "use strict";const ArticleExcerptSettings=[{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"}],default:"div"}]},{id:"style",controls:[{id:"typo",type:"typography-v2",default:{type:"paragraph-3",attrs:{color:"text-2"}},ignoreReRender:!0},{id:"textAlign",label:"Alignment",type:"option:value",options:[{label:"Left",value:"left",type:"text",tooltip:"Align left",iconName:"gp-text-align-left"},{label:"Center",value:"center",type:"text",tooltip:"Align center",iconName:"gp-text-align-center"},{label:"Right",value:"right",type:"text",tooltip:"Align right",iconName:"gp-text-align-right"},{label:"Justify",value:"justify",type:"text",tooltip:"Align justify",iconName:"gp-text-align-justify"}],devices:{desktop:{default:"left"}}},{id:"hasLineClamp",label:"Max lines",type:"toggle",devices:{desktop:{default:!0}}},{id:"lineClamp",type:"input:stepper",min:1,label:"Line Clamp",disableDecimal:!0,devices:{desktop:{default:2}},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}}]}];exports.ArticleExcerptSettings=ArticleExcerptSettings;
@@ -1 +1 @@
1
- "use strict";const ArticleTagSettings=[{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"}],default:"div"}]},{id:"style",controls:[{id:"typo",type:"typography-v2",default:{type:"paragraph-3",custom:{letterSpacing:"0px"},attrs:{color:"text-2"}},ignoreReRender:!0},{id:"textAlign",label:"Alignment",type:"option:value",options:[{label:"Left",value:"left",type:"text",tooltip:"Align left",iconName:"gp-text-align-left"},{label:"Center",value:"center",type:"text",tooltip:"Align center",iconName:"gp-text-align-center"},{label:"Right",value:"right",type:"text",tooltip:"Align right",iconName:"gp-text-align-right"},{label:"Justify",value:"justify",type:"text",tooltip:"Align justify",iconName:"gp-text-align-justify"}],devices:{desktop:{default:"left"}}},{id:"color",label:"Text Color",type:"colorpicker",default:{normal:"text-1"},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}}]}];exports.ArticleTagSettings=ArticleTagSettings;
1
+ "use strict";const ArticleTagSettings=[{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"}],default:"div"}]},{id:"style",controls:[{id:"typo",type:"typography-v2",default:{type:"paragraph-3",attrs:{color:"text-2"}},ignoreReRender:!0},{id:"textAlign",label:"Alignment",type:"option:value",options:[{label:"Left",value:"left",type:"text",tooltip:"Align left",iconName:"gp-text-align-left"},{label:"Center",value:"center",type:"text",tooltip:"Align center",iconName:"gp-text-align-center"},{label:"Right",value:"right",type:"text",tooltip:"Align right",iconName:"gp-text-align-right"},{label:"Justify",value:"justify",type:"text",tooltip:"Align justify",iconName:"gp-text-align-justify"}],devices:{desktop:{default:"left"}}},{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}}]}];exports.ArticleTagSettings=ArticleTagSettings;
@@ -1 +1 @@
1
- "use strict";var helpers=require("../../../../helpers.js");const getTextDropContent=t=>t?.includes("$max_size")?t?.replace("$max_size","10MB"):t,getDisplayText=(t,e)=>{let{setting:n,styles:r,uid:s,pageContext:a}=e;return"Liquid"===t?helpers.getDynamicSourceLocales({val:n?.textContent,uid:s,settingId:"textContent",pageContext:a,isCapitalize:r?.typo?.attrs?.transform==="capitalize",translate:n?.translate}):getTextDropContent(n?.textContent)};exports.getDisplayText=getDisplayText,exports.getTextDropContent=getTextDropContent;
1
+ "use strict";var helpers=require("../../../../helpers.js");const getTextDropContent=t=>t?.includes("$max_size")?t?.replace("$max_size","20MB"):t,getDisplayText=(t,e)=>{let{setting:n,styles:r,uid:s,pageContext:a}=e;return"Liquid"===t?helpers.getDynamicSourceLocales({val:n?.textContent,uid:s,settingId:"textContent",pageContext:a,isCapitalize:r?.typo?.attrs?.transform==="capitalize",translate:n?.translate}):getTextDropContent(n?.textContent)};exports.getDisplayText=getDisplayText,exports.getTextDropContent=getTextDropContent;
@@ -2,4 +2,4 @@ let ArticleExcerptPresets=[{id:"article-excerpt",name:{en:"Article Excerpt"},ico
2
2
  <path d="M1.76048 9H0.652521L3.85707 0.272727H4.94798L8.15252 9H7.04457L4.43661 1.65341H4.36843L1.76048 9ZM2.16957 5.59091H6.63548V6.52841H2.16957V5.59091ZM9.37553 9V2.45455H10.3471V3.44318H10.4153C10.5346 3.11932 10.7505 2.85653 11.063 2.65483C11.3755 2.45312 11.7278 2.35227 12.1199 2.35227C12.1937 2.35227 12.286 2.35369 12.3968 2.35653C12.5076 2.35937 12.5914 2.36364 12.6483 2.36932V3.39205C12.6142 3.38352 12.536 3.37074 12.4139 3.35369C12.2946 3.33381 12.1681 3.32386 12.0346 3.32386C11.7164 3.32386 11.4324 3.39062 11.1824 3.52415C10.9352 3.65483 10.7392 3.83665 10.5943 4.0696C10.4522 4.29972 10.3812 4.5625 10.3812 4.85795V9H9.37553ZM17.0971 2.45455V3.30682H13.7051V2.45455H17.0971ZM14.6937 0.886364H15.6994V7.125C15.6994 7.40909 15.7406 7.62216 15.823 7.7642C15.9082 7.90341 16.0162 7.99716 16.1468 8.04545C16.2804 8.09091 16.421 8.11364 16.5687 8.11364C16.6795 8.11364 16.7704 8.10795 16.8414 8.09659C16.9125 8.08239 16.9693 8.07102 17.0119 8.0625L17.2164 8.96591C17.1483 8.99148 17.0531 9.01705 16.9309 9.04261C16.8088 9.07102 16.6539 9.08523 16.4664 9.08523C16.1824 9.08523 15.9039 9.02415 15.6312 8.90199C15.3613 8.77983 15.1369 8.59375 14.9579 8.34375C14.7818 8.09375 14.6937 7.77841 14.6937 7.39773V0.886364ZM18.6099 9V2.45455H19.6156V9H18.6099ZM19.1213 1.36364C18.9252 1.36364 18.7562 1.29688 18.6142 1.16335C18.475 1.02983 18.4054 0.869318 18.4054 0.681818C18.4054 0.494318 18.475 0.333807 18.6142 0.200284C18.7562 0.0667613 18.9252 0 19.1213 0C19.3173 0 19.4849 0.0667613 19.6241 0.200284C19.7662 0.333807 19.8372 0.494318 19.8372 0.681818C19.8372 0.869318 19.7662 1.02983 19.6241 1.16335C19.4849 1.29688 19.3173 1.36364 19.1213 1.36364ZM24.1167 9.13636C23.503 9.13636 22.9746 8.99148 22.5314 8.7017C22.0882 8.41193 21.7473 8.01278 21.5087 7.50426C21.2701 6.99574 21.1507 6.41477 21.1507 5.76136C21.1507 5.09659 21.2729 4.50994 21.5172 4.00142C21.7644 3.49006 22.1081 3.09091 22.5485 2.80398C22.9917 2.5142 23.5087 2.36932 24.0996 2.36932C24.5598 2.36932 24.9746 2.45455 25.3439 2.625C25.7132 2.79545 26.0158 3.03409 26.2516 3.34091C26.4874 3.64773 26.6337 4.00568 26.6905 4.41477H25.6848C25.6081 4.11648 25.4377 3.85227 25.1735 3.62216C24.9121 3.3892 24.5598 3.27273 24.1167 3.27273C23.7246 3.27273 23.3809 3.375 23.0854 3.57955C22.7928 3.78125 22.5641 4.06676 22.3993 4.43608C22.2374 4.80256 22.1564 5.23295 22.1564 5.72727C22.1564 6.23295 22.236 6.6733 22.3951 7.0483C22.557 7.4233 22.7843 7.71449 23.0769 7.92188C23.3723 8.12926 23.7189 8.23295 24.1167 8.23295C24.378 8.23295 24.6152 8.1875 24.8283 8.09659C25.0414 8.00568 25.2218 7.875 25.3695 7.70455C25.5172 7.53409 25.6223 7.32955 25.6848 7.09091H26.6905C26.6337 7.47727 26.4931 7.82528 26.2686 8.13494C26.0471 8.44176 25.753 8.68608 25.3865 8.8679C25.0229 9.04688 24.5996 9.13636 24.1167 9.13636ZM29.1664 0.272727V9H28.1607V0.272727H29.1664ZM33.7527 9.13636C33.122 9.13636 32.5779 8.99716 32.1206 8.71875C31.666 8.4375 31.3152 8.04545 31.068 7.54261C30.8237 7.03693 30.7015 6.44886 30.7015 5.77841C30.7015 5.10795 30.8237 4.51705 31.068 4.00568C31.3152 3.49148 31.6589 3.09091 32.0993 2.80398C32.5424 2.5142 33.0595 2.36932 33.6504 2.36932C33.9913 2.36932 34.3279 2.42614 34.6603 2.53977C34.9927 2.65341 35.2953 2.83807 35.568 3.09375C35.8407 3.34659 36.0581 3.68182 36.22 4.09943C36.3819 4.51705 36.4629 5.03125 36.4629 5.64205V6.06818H31.4174V5.19886H35.4402C35.4402 4.82955 35.3663 4.5 35.2186 4.21023C35.0737 3.92045 34.8663 3.69176 34.5964 3.52415C34.3294 3.35653 34.014 3.27273 33.6504 3.27273C33.2498 3.27273 32.9032 3.37216 32.6106 3.57102C32.3208 3.76705 32.0978 4.02273 31.9416 4.33807C31.7853 4.65341 31.7072 4.99148 31.7072 5.35227V5.93182C31.7072 6.42614 31.7924 6.84517 31.9629 7.18892C32.1362 7.52983 32.3762 7.78977 32.6831 7.96875C32.9899 8.14489 33.3464 8.23295 33.7527 8.23295C34.0169 8.23295 34.2555 8.19602 34.4686 8.12216C34.6845 8.04545 34.8706 7.93182 35.0268 7.78125C35.1831 7.62784 35.3038 7.4375 35.389 7.21023L36.3606 7.48295C36.2583 7.8125 36.0865 8.10227 35.845 8.35227C35.6035 8.59943 35.3052 8.79261 34.9501 8.93182C34.595 9.06818 34.1958 9.13636 33.7527 9.13636ZM41.5041 9V0.272727H46.7711V1.21023H42.5609V4.15909H46.4984V5.09659H42.5609V8.0625H46.8393V9H41.5041ZM49.2896 2.45455L50.8578 5.13068L52.426 2.45455H53.585L51.4714 5.72727L53.585 9H52.426L50.8578 6.46023L49.2896 9H48.1305L50.21 5.72727L48.1305 2.45455H49.2896ZM57.4096 9.13636C56.796 9.13636 56.2676 8.99148 55.8244 8.7017C55.3812 8.41193 55.0403 8.01278 54.8017 7.50426C54.563 6.99574 54.4437 6.41477 54.4437 5.76136C54.4437 5.09659 54.5659 4.50994 54.8102 4.00142C55.0574 3.49006 55.4011 3.09091 55.8414 2.80398C56.2846 2.5142 56.8017 2.36932 57.3926 2.36932C57.8528 2.36932 58.2676 2.45455 58.6369 2.625C59.0062 2.79545 59.3088 3.03409 59.5446 3.34091C59.7804 3.64773 59.9267 4.00568 59.9835 4.41477H58.9778C58.9011 4.11648 58.7306 3.85227 58.4664 3.62216C58.2051 3.3892 57.8528 3.27273 57.4096 3.27273C57.0176 3.27273 56.6738 3.375 56.3784 3.57955C56.0858 3.78125 55.8571 4.06676 55.6923 4.43608C55.5304 4.80256 55.4494 5.23295 55.4494 5.72727C55.4494 6.23295 55.5289 6.6733 55.688 7.0483C55.85 7.4233 56.0772 7.71449 56.3699 7.92188C56.6653 8.12926 57.0119 8.23295 57.4096 8.23295C57.671 8.23295 57.9082 8.1875 58.1213 8.09659C58.3343 8.00568 58.5147 7.875 58.6625 7.70455C58.8102 7.53409 58.9153 7.32955 58.9778 7.09091H59.9835C59.9267 7.47727 59.786 7.82528 59.5616 8.13494C59.34 8.44176 59.046 8.68608 58.6795 8.8679C58.3159 9.04688 57.8926 9.13636 57.4096 9.13636ZM64.198 9.13636C63.5673 9.13636 63.0233 8.99716 62.5659 8.71875C62.1113 8.4375 61.7605 8.04545 61.5133 7.54261C61.269 7.03693 61.1468 6.44886 61.1468 5.77841C61.1468 5.10795 61.269 4.51705 61.5133 4.00568C61.7605 3.49148 62.1042 3.09091 62.5446 2.80398C62.9877 2.5142 63.5048 2.36932 64.0957 2.36932C64.4366 2.36932 64.7733 2.42614 65.1056 2.53977C65.438 2.65341 65.7406 2.83807 66.0133 3.09375C66.286 3.34659 66.5034 3.68182 66.6653 4.09943C66.8272 4.51705 66.9082 5.03125 66.9082 5.64205V6.06818H61.8627V5.19886H65.8855C65.8855 4.82955 65.8116 4.5 65.6639 4.21023C65.519 3.92045 65.3116 3.69176 65.0417 3.52415C64.7747 3.35653 64.4593 3.27273 64.0957 3.27273C63.6951 3.27273 63.3485 3.37216 63.0559 3.57102C62.7662 3.76705 62.5431 4.02273 62.3869 4.33807C62.2306 4.65341 62.1525 4.99148 62.1525 5.35227V5.93182C62.1525 6.42614 62.2377 6.84517 62.4082 7.18892C62.5815 7.52983 62.8216 7.78977 63.1284 7.96875C63.4352 8.14489 63.7917 8.23295 64.198 8.23295C64.4622 8.23295 64.7008 8.19602 64.9139 8.12216C65.1298 8.04545 65.3159 7.93182 65.4721 7.78125C65.6284 7.62784 65.7491 7.4375 65.8343 7.21023L66.8059 7.48295C66.7037 7.8125 66.5318 8.10227 66.2903 8.35227C66.0488 8.59943 65.7505 8.79261 65.3954 8.93182C65.0403 9.06818 64.6412 9.13636 64.198 9.13636ZM68.438 9V2.45455H69.4096V3.44318H69.4778C69.5971 3.11932 69.813 2.85653 70.1255 2.65483C70.438 2.45312 70.7903 2.35227 71.1824 2.35227C71.2562 2.35227 71.3485 2.35369 71.4593 2.35653C71.5701 2.35937 71.6539 2.36364 71.7108 2.36932V3.39205C71.6767 3.38352 71.5985 3.37074 71.4764 3.35369C71.3571 3.33381 71.2306 3.32386 71.0971 3.32386C70.7789 3.32386 70.4949 3.39062 70.2449 3.52415C69.9977 3.65483 69.8017 3.83665 69.6568 4.0696C69.5147 4.29972 69.4437 4.5625 69.4437 4.85795V9H68.438ZM72.9029 11.4545V2.45455H73.8745V3.49432H73.9938C74.0676 3.38068 74.1699 3.2358 74.3006 3.05966C74.4341 2.88068 74.6245 2.72159 74.8716 2.58239C75.1216 2.44034 75.4597 2.36932 75.8858 2.36932C76.437 2.36932 76.9228 2.5071 77.3432 2.78267C77.7637 3.05824 78.0918 3.44886 78.3276 3.95455C78.5634 4.46023 78.6813 5.05682 78.6813 5.74432C78.6813 6.4375 78.5634 7.03835 78.3276 7.54688C78.0918 8.05256 77.7651 8.4446 77.3475 8.72301C76.9299 8.99858 76.4483 9.13636 75.9029 9.13636C75.4824 9.13636 75.1458 9.06676 74.8929 8.92756C74.6401 8.78551 74.4455 8.625 74.3091 8.44602C74.1728 8.2642 74.0676 8.11364 73.9938 7.99432H73.9086V11.4545H72.9029ZM73.8915 5.72727C73.8915 6.22159 73.964 6.65767 74.1088 7.03551C74.2537 7.41051 74.4654 7.70455 74.7438 7.91761C75.0222 8.12784 75.3631 8.23295 75.7665 8.23295C76.187 8.23295 76.5378 8.12216 76.8191 7.90057C77.1032 7.67614 77.3162 7.375 77.4583 6.99716C77.6032 6.61648 77.6756 6.19318 77.6756 5.72727C77.6756 5.26705 77.6046 4.85227 77.4625 4.48295C77.3233 4.1108 77.1117 3.81676 76.8276 3.60085C76.5463 3.3821 76.1926 3.27273 75.7665 3.27273C75.3574 3.27273 75.0137 3.37642 74.7353 3.58381C74.4569 3.78835 74.2466 4.07528 74.1046 4.4446C73.9625 4.81108 73.8915 5.23864 73.8915 5.72727ZM83.062 2.45455V3.30682H79.6699V2.45455H83.062ZM80.6586 0.886364H81.6642V7.125C81.6642 7.40909 81.7054 7.62216 81.7878 7.7642C81.873 7.90341 81.981 7.99716 82.1117 8.04545C82.2452 8.09091 82.3858 8.11364 82.5336 8.11364C82.6444 8.11364 82.7353 8.10795 82.8063 8.09659C82.8773 8.08239 82.9341 8.07102 82.9767 8.0625L83.1813 8.96591C83.1131 8.99148 83.0179 9.01705 82.8958 9.04261C82.7736 9.07102 82.6188 9.08523 82.4313 9.08523C82.1472 9.08523 81.8688 9.02415 81.5961 8.90199C81.3262 8.77983 81.1017 8.59375 80.9228 8.34375C80.7466 8.09375 80.6586 7.77841 80.6586 7.39773V0.886364Z" fill="#F9F9F9"/>
3
3
  </svg>
4
4
 
5
- `},components:[{tag:"ArticleExcerpt",styles:{typo:{type:"paragraph-2"}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-l)"}}}}}]}];export{ArticleExcerptPresets};
5
+ `},components:[{tag:"ArticleExcerpt",styles:{typo:{type:"paragraph-3"}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-l)"}}}}}]}];export{ArticleExcerptPresets};
@@ -1 +1 @@
1
- let ArticleExcerptSettings=[{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"}],default:"div"}]},{id:"style",controls:[{id:"typo",type:"typography-v2",default:{type:"paragraph-3",attrs:{color:"text-2"}},ignoreReRender:!0},{id:"textAlign",label:"Alignment",type:"option:value",options:[{label:"Left",value:"left",type:"text",tooltip:"Align left",iconName:"gp-text-align-left"},{label:"Center",value:"center",type:"text",tooltip:"Align center",iconName:"gp-text-align-center"},{label:"Right",value:"right",type:"text",tooltip:"Align right",iconName:"gp-text-align-right"},{label:"Justify",value:"justify",type:"text",tooltip:"Align justify",iconName:"gp-text-align-justify"}],devices:{desktop:{default:"left"}}},{id:"hasLineClamp",label:"Max lines",type:"toggle",devices:{desktop:{default:!0}}},{id:"lineClamp",type:"input:stepper",min:1,label:"Line Clamp",disableDecimal:!0,devices:{desktop:{default:2}},hide:!0},{id:"color",label:"Text Color",type:"colorpicker",default:{normal:"text-1"},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}}]}];export{ArticleExcerptSettings};
1
+ let ArticleExcerptSettings=[{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"}],default:"div"}]},{id:"style",controls:[{id:"typo",type:"typography-v2",default:{type:"paragraph-3",attrs:{color:"text-2"}},ignoreReRender:!0},{id:"textAlign",label:"Alignment",type:"option:value",options:[{label:"Left",value:"left",type:"text",tooltip:"Align left",iconName:"gp-text-align-left"},{label:"Center",value:"center",type:"text",tooltip:"Align center",iconName:"gp-text-align-center"},{label:"Right",value:"right",type:"text",tooltip:"Align right",iconName:"gp-text-align-right"},{label:"Justify",value:"justify",type:"text",tooltip:"Align justify",iconName:"gp-text-align-justify"}],devices:{desktop:{default:"left"}}},{id:"hasLineClamp",label:"Max lines",type:"toggle",devices:{desktop:{default:!0}}},{id:"lineClamp",type:"input:stepper",min:1,label:"Line Clamp",disableDecimal:!0,devices:{desktop:{default:2}},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}}]}];export{ArticleExcerptSettings};
@@ -1 +1 @@
1
- let ArticleTagSettings=[{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"}],default:"div"}]},{id:"style",controls:[{id:"typo",type:"typography-v2",default:{type:"paragraph-3",custom:{letterSpacing:"0px"},attrs:{color:"text-2"}},ignoreReRender:!0},{id:"textAlign",label:"Alignment",type:"option:value",options:[{label:"Left",value:"left",type:"text",tooltip:"Align left",iconName:"gp-text-align-left"},{label:"Center",value:"center",type:"text",tooltip:"Align center",iconName:"gp-text-align-center"},{label:"Right",value:"right",type:"text",tooltip:"Align right",iconName:"gp-text-align-right"},{label:"Justify",value:"justify",type:"text",tooltip:"Align justify",iconName:"gp-text-align-justify"}],devices:{desktop:{default:"left"}}},{id:"color",label:"Text Color",type:"colorpicker",default:{normal:"text-1"},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}}]}];export{ArticleTagSettings};
1
+ let ArticleTagSettings=[{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"}],default:"div"}]},{id:"style",controls:[{id:"typo",type:"typography-v2",default:{type:"paragraph-3",attrs:{color:"text-2"}},ignoreReRender:!0},{id:"textAlign",label:"Alignment",type:"option:value",options:[{label:"Left",value:"left",type:"text",tooltip:"Align left",iconName:"gp-text-align-left"},{label:"Center",value:"center",type:"text",tooltip:"Align center",iconName:"gp-text-align-center"},{label:"Right",value:"right",type:"text",tooltip:"Align right",iconName:"gp-text-align-right"},{label:"Justify",value:"justify",type:"text",tooltip:"Align justify",iconName:"gp-text-align-justify"}],devices:{desktop:{default:"left"}}},{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}}]}];export{ArticleTagSettings};
@@ -1 +1 @@
1
- import{getDynamicSourceLocales as t}from"../../../../helpers.js";let getTextDropContent=t=>t?.includes("$max_size")?t?.replace("$max_size","10MB"):t,getDisplayText=(e,n)=>{let{setting:a,styles:r,uid:i,pageContext:o}=n;return"Liquid"===e?t({val:a?.textContent,uid:i,settingId:"textContent",pageContext:o,isCapitalize:r?.typo?.attrs?.transform==="capitalize",translate:a?.translate}):getTextDropContent(a?.textContent)};export{getDisplayText,getTextDropContent};
1
+ import{getDynamicSourceLocales as t}from"../../../../helpers.js";let getTextDropContent=t=>t?.includes("$max_size")?t?.replace("$max_size","20MB"):t,getDisplayText=(e,n)=>{let{setting:a,styles:r,uid:i,pageContext:o}=n;return"Liquid"===e?t({val:a?.textContent,uid:i,settingId:"textContent",pageContext:o,isCapitalize:r?.typo?.attrs?.transform==="capitalize",translate:a?.translate}):getTextDropContent(a?.textContent)};export{getDisplayText,getTextDropContent};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-staging.902",
3
+ "version": "2.0.0-staging.903",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",