@gem-sdk/components 2.0.0-staging.899 → 2.0.0-staging.900

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,4 +3,4 @@
3
3
  <path d="M0.439631 9V0.272727H1.44531V3.49432H1.53054C1.6044 3.38068 1.70668 3.2358 1.83736 3.05966C1.97088 2.88068 2.16122 2.72159 2.40838 2.58239C2.65838 2.44034 2.99645 2.36932 3.42259 2.36932C3.97372 2.36932 4.45952 2.5071 4.87997 2.78267C5.30043 3.05824 5.62855 3.44886 5.86435 3.95455C6.10014 4.46023 6.21804 5.05682 6.21804 5.74432C6.21804 6.4375 6.10014 7.03835 5.86435 7.54688C5.62855 8.05256 5.30185 8.4446 4.88423 8.72301C4.46662 8.99858 3.98509 9.13636 3.43963 9.13636C3.01918 9.13636 2.68253 9.06676 2.42969 8.92756C2.17685 8.78551 1.98224 8.625 1.84588 8.44602C1.70952 8.2642 1.6044 8.11364 1.53054 7.99432H1.41122V9H0.439631ZM1.42827 5.72727C1.42827 6.22159 1.50071 6.65767 1.6456 7.03551C1.79048 7.41051 2.00213 7.70455 2.28054 7.91761C2.55895 8.12784 2.89986 8.23295 3.30327 8.23295C3.72372 8.23295 4.07457 8.12216 4.35582 7.90057C4.63991 7.67614 4.85298 7.375 4.99503 6.99716C5.13991 6.61648 5.21236 6.19318 5.21236 5.72727C5.21236 5.26705 5.14134 4.85227 4.99929 4.48295C4.86009 4.1108 4.64844 3.81676 4.36435 3.60085C4.0831 3.3821 3.7294 3.27273 3.30327 3.27273C2.89418 3.27273 2.55043 3.37642 2.27202 3.58381C1.99361 3.78835 1.78338 4.07528 1.64134 4.4446C1.49929 4.81108 1.42827 5.23864 1.42827 5.72727ZM8.16974 11.4545C7.99929 11.4545 7.8473 11.4403 7.71378 11.4119C7.58026 11.3864 7.48793 11.3608 7.43679 11.3352L7.69247 10.4489C7.93679 10.5114 8.1527 10.5341 8.3402 10.517C8.5277 10.5 8.69389 10.4162 8.83878 10.2656C8.98651 10.1179 9.12145 9.87784 9.24361 9.54545L9.43111 9.03409L7.01065 2.45455H8.10156L9.90838 7.67045H9.97656L11.7834 2.45455H12.8743L10.0959 9.95455C9.97088 10.2926 9.81605 10.5724 9.63139 10.794C9.44673 11.0185 9.23224 11.1847 8.98793 11.2926C8.74645 11.4006 8.47372 11.4545 8.16974 11.4545ZM21.054 0.272727H22.1108V6.51136C22.1108 7.06818 22.0085 7.54119 21.804 7.9304C21.5994 8.3196 21.3111 8.61506 20.9389 8.81676C20.5668 9.01847 20.1278 9.11932 19.6222 9.11932C19.1449 9.11932 18.7202 9.03267 18.348 8.85938C17.9759 8.68324 17.6832 8.43324 17.4702 8.10938C17.2571 7.78551 17.1506 7.40057 17.1506 6.95455H18.1903C18.1903 7.2017 18.2514 7.41761 18.3736 7.60227C18.4986 7.78409 18.669 7.92614 18.8849 8.02841C19.1009 8.13068 19.3466 8.18182 19.6222 8.18182C19.9261 8.18182 20.1847 8.1179 20.3977 7.99006C20.6108 7.86222 20.7727 7.67472 20.8835 7.42756C20.9972 7.17756 21.054 6.87216 21.054 6.51136V0.272727ZM26.0185 9.15341C25.6037 9.15341 25.2273 9.07528 24.8892 8.91903C24.5511 8.75994 24.2827 8.53125 24.0838 8.23295C23.8849 7.93182 23.7855 7.56818 23.7855 7.14205C23.7855 6.76705 23.8594 6.46307 24.0071 6.23011C24.1548 5.99432 24.3523 5.80966 24.5994 5.67614C24.8466 5.54261 25.1193 5.44318 25.4176 5.37784C25.7188 5.30966 26.0213 5.25568 26.3253 5.21591C26.723 5.16477 27.0455 5.12642 27.2926 5.10085C27.5426 5.07244 27.7244 5.02557 27.8381 4.96023C27.9545 4.89489 28.0128 4.78125 28.0128 4.61932V4.58523C28.0128 4.16477 27.8977 3.83807 27.6676 3.60511C27.4403 3.37216 27.0952 3.25568 26.6321 3.25568C26.152 3.25568 25.7756 3.3608 25.5028 3.57102C25.2301 3.78125 25.0384 4.00568 24.9276 4.24432L23.973 3.90341C24.1435 3.50568 24.3707 3.19602 24.6548 2.97443C24.9418 2.75 25.2543 2.59375 25.5923 2.50568C25.9332 2.41477 26.2685 2.36932 26.598 2.36932C26.8082 2.36932 27.0497 2.39489 27.3224 2.44602C27.598 2.49432 27.8636 2.59517 28.1193 2.74858C28.3778 2.90199 28.5923 3.13352 28.7628 3.44318C28.9332 3.75284 29.0185 4.16761 29.0185 4.6875V9H28.0128V8.11364H27.9616C27.8935 8.25568 27.7798 8.40767 27.6207 8.5696C27.4616 8.73153 27.25 8.86932 26.9858 8.98295C26.7216 9.09659 26.3991 9.15341 26.0185 9.15341ZM26.1719 8.25C26.5696 8.25 26.9048 8.17188 27.1776 8.01562C27.4531 7.85938 27.6605 7.65767 27.7997 7.41051C27.9418 7.16335 28.0128 6.90341 28.0128 6.63068V5.71023C27.9702 5.76136 27.8764 5.80824 27.7315 5.85085C27.5895 5.89062 27.4247 5.92614 27.2372 5.95739C27.0526 5.9858 26.8722 6.01136 26.696 6.03409C26.5227 6.05398 26.3821 6.07102 26.2741 6.08523C26.0128 6.11932 25.7685 6.17472 25.5412 6.25142C25.3168 6.32528 25.1349 6.4375 24.9957 6.58807C24.8594 6.7358 24.7912 6.9375 24.7912 7.19318C24.7912 7.54261 24.9205 7.80682 25.179 7.9858C25.4403 8.16193 25.7713 8.25 26.1719 8.25ZM30.854 9V2.45455H31.8256V3.47727H31.9109C32.0472 3.12784 32.2674 2.85653 32.5714 2.66335C32.8754 2.46733 33.2404 2.36932 33.6665 2.36932C34.0984 2.36932 34.4577 2.46733 34.7447 2.66335C35.0344 2.85653 35.2603 3.12784 35.4222 3.47727H35.4904C35.658 3.1392 35.9094 2.87074 36.2447 2.67188C36.5799 2.47017 36.9819 2.36932 37.4506 2.36932C38.0359 2.36932 38.5146 2.55256 38.8867 2.91903C39.2589 3.28267 39.445 3.84943 39.445 4.61932V9H38.4393V4.61932C38.4393 4.13636 38.3072 3.79119 38.043 3.58381C37.7788 3.37642 37.4677 3.27273 37.1097 3.27273C36.6495 3.27273 36.293 3.41193 36.0401 3.69034C35.7873 3.96591 35.6609 4.31534 35.6609 4.73864V9H34.6381V4.51705C34.6381 4.14489 34.5174 3.84517 34.2759 3.6179C34.0344 3.38778 33.7234 3.27273 33.3427 3.27273C33.0813 3.27273 32.837 3.34233 32.6097 3.48153C32.3853 3.62074 32.2035 3.81392 32.0643 4.06108C31.9279 4.3054 31.8597 4.58807 31.8597 4.90909V9H30.854ZM44.0281 9.13636C43.3974 9.13636 42.8533 8.99716 42.396 8.71875C41.9414 8.4375 41.5906 8.04545 41.3434 7.54261C41.0991 7.03693 40.9769 6.44886 40.9769 5.77841C40.9769 5.10795 41.0991 4.51705 41.3434 4.00568C41.5906 3.49148 41.9343 3.09091 42.3746 2.80398C42.8178 2.5142 43.3349 2.36932 43.9258 2.36932C44.2667 2.36932 44.6033 2.42614 44.9357 2.53977C45.2681 2.65341 45.5707 2.83807 45.8434 3.09375C46.1161 3.34659 46.3335 3.68182 46.4954 4.09943C46.6573 4.51705 46.7383 5.03125 46.7383 5.64205V6.06818H41.6928V5.19886H45.7156C45.7156 4.82955 45.6417 4.5 45.494 4.21023C45.3491 3.92045 45.1417 3.69176 44.8718 3.52415C44.6048 3.35653 44.2894 3.27273 43.9258 3.27273C43.5252 3.27273 43.1786 3.37216 42.886 3.57102C42.5962 3.76705 42.3732 4.02273 42.217 4.33807C42.0607 4.65341 41.9826 4.99148 41.9826 5.35227V5.93182C41.9826 6.42614 42.0678 6.84517 42.2383 7.18892C42.4116 7.52983 42.6516 7.78977 42.9585 7.96875C43.2653 8.14489 43.6218 8.23295 44.0281 8.23295C44.2923 8.23295 44.5309 8.19602 44.744 8.12216C44.9599 8.04545 45.146 7.93182 45.3022 7.78125C45.4585 7.62784 45.5792 7.4375 45.6644 7.21023L46.636 7.48295C46.5337 7.8125 46.3619 8.10227 46.1204 8.35227C45.8789 8.59943 45.5806 8.79261 45.2255 8.93182C44.8704 9.06818 44.4712 9.13636 44.0281 9.13636ZM52.9045 3.92045L52.0011 4.17614C51.9442 4.02557 51.8604 3.87926 51.7496 3.73722C51.6417 3.59233 51.494 3.47301 51.3065 3.37926C51.119 3.28551 50.8789 3.23864 50.5863 3.23864C50.1857 3.23864 49.8519 3.33097 49.5849 3.51562C49.3207 3.69744 49.1886 3.92898 49.1886 4.21023C49.1886 4.46023 49.2795 4.65767 49.4613 4.80256C49.6431 4.94744 49.9272 5.06818 50.3136 5.16477L51.2852 5.40341C51.8704 5.54545 52.3065 5.76278 52.5934 6.0554C52.8803 6.34517 53.0238 6.71875 53.0238 7.17614C53.0238 7.55114 52.9158 7.88636 52.6999 8.18182C52.4869 8.47727 52.1886 8.71023 51.805 8.88068C51.4215 9.05114 50.9755 9.13636 50.467 9.13636C49.7994 9.13636 49.2468 8.99148 48.8093 8.7017C48.3718 8.41193 48.0948 7.98864 47.9783 7.43182L48.9329 7.19318C49.0238 7.54545 49.1957 7.80966 49.4485 7.9858C49.7042 8.16193 50.038 8.25 50.4499 8.25C50.9187 8.25 51.2908 8.15057 51.5664 7.9517C51.8448 7.75 51.984 7.50852 51.984 7.22727C51.984 7 51.9045 6.80966 51.7454 6.65625C51.5863 6.5 51.342 6.38352 51.0124 6.30682L49.9215 6.05114C49.3221 5.90909 48.8817 5.68892 48.6005 5.39062C48.3221 5.08949 48.1829 4.71307 48.1829 4.26136C48.1829 3.89205 48.2866 3.56534 48.494 3.28125C48.7042 2.99716 48.9897 2.77415 49.3505 2.61222C49.7141 2.45028 50.1261 2.36932 50.5863 2.36932C51.234 2.36932 51.7425 2.51136 52.1119 2.79545C52.484 3.07955 52.7482 3.45455 52.9045 3.92045Z" fill="#F9F9F9"/>
4
4
  </svg>
5
5
 
6
- `},components:[{tag:"ArticleAuthor",settings:{htmlTag:"div"},styles:{typo:{type:"paragraph-3",attrs:{color:"text-1"}}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-s)"}}}}}]}];exports.ArticleAuthorPresets=ArticleAuthorPresets;
6
+ `},components:[{tag:"ArticleAuthor",settings:{htmlTag:"div"},styles:{typo:{type:"paragraph-3",attrs:{color:"text-2"}}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-s)"}}}}}]}];exports.ArticleAuthorPresets=ArticleAuthorPresets;
@@ -1 +1 @@
1
- "use strict";const SettingUIV2=[{label:{en:"Text style"},controls:[{label:{en:"Prefix"},getValueFromSettingID:"prefix",iconName:"gp-prefix",type:"combo",defaultValueWhenClear:"",compoDefaultValue:"By",controls:[{label:{en:"Prefix"},type:"control",setting:{id:"prefix"},defaultValueWhenClear:""}]},{id:"typo",label:{en:"Basic"},setting:{id:"typo"},options:{hideLabel:!0,fullWidth:!0,updateFields:[{field:"attrs.color",settingId:"color",state:"normal"},{field:"attrs.textAlign",settingId:"textAlign"}]},layout:"vertical",controlChangeTrigger:{settings:[{action:{controlId:"textAlign",valueFromField:"attrs.textAlign",groupType:"style",controlType:"style"}},{action:{controlId:"color",valueFromField:"attrs.color",groupType:"style",controlType:"style",removeDevice:!0,state:"normal"}}],options:{noRecordHistory:!0}}}]},{label:{en:"SEO"},controls:[{label:{en:"SEO tag"},setting:{id:"htmlTag"}}]}];exports.SettingUIV2=SettingUIV2;
1
+ "use strict";const SettingUIV2=[{label:{en:"Text style"},controls:[{label:{en:"Prefix"},getValueFromSettingID:"prefix",iconName:"gp-prefix",type:"combo",defaultValueWhenClear:"",compoDefaultValue:"By",controls:[{label:{en:"Prefix"},type:"control",setting:{id:"prefix"},defaultValueWhenClear:""}]},{id:"typo",label:{en:"Basic"},setting:{id:"typo"},options:{hideLabel:!0,fullWidth:!0,updateFields:[{field:"attrs.color",settingId:"color",state:"normal"},{field:"attrs.textAlign",settingId:"textAlign"}]},layout:"vertical",controlChangeTrigger:{settings:[{action:{controlId:"textAlign",valueFromField:"attrs.textAlign",groupType:"style",controlType:"style"}},{action:{controlId:"color",valueFromField:"attrs.color",groupType:"style",controlType:"style",removeDevice:!0,state:"normal"}}],options:{noRecordHistory:!0}}}]},{label:{en:"SEO"},controls:[{label:{en:"HTML tag"},setting:{id:"htmlTag"}}]}];exports.SettingUIV2=SettingUIV2;
@@ -1 +1 @@
1
- "use strict";const SettingUIV2=[{label:{en:"Text style"},controls:[{id:"typo",label:{en:"Basic"},setting:{id:"typo"},options:{hideLabel:!0,fullWidth:!0,updateFields:[{field:"attrs.color",settingId:"color",state:"normal"},{field:"attrs.textAlign",settingId:"textAlign"}]},layout:"vertical",controlChangeTrigger:{settings:[{action:{controlId:"textAlign",valueFromField:"attrs.textAlign",groupType:"style",controlType:"style"}},{action:{controlId:"color",valueFromField:"attrs.color",groupType:"style",controlType:"style",removeDevice:!0,state:"normal"}}],options:{noRecordHistory:!0}}}]},{label:{en:"SEO"},controls:[{label:{en:"SEO tag"},setting:{id:"htmlTag"}}]}];exports.SettingUIV2=SettingUIV2;
1
+ "use strict";const SettingUIV2=[{label:{en:"Text style"},controls:[{id:"typo",label:{en:"Basic"},setting:{id:"typo"},options:{hideLabel:!0,fullWidth:!0,updateFields:[{field:"attrs.color",settingId:"color",state:"normal"},{field:"attrs.textAlign",settingId:"textAlign"}]},layout:"vertical",controlChangeTrigger:{settings:[{action:{controlId:"textAlign",valueFromField:"attrs.textAlign",groupType:"style",controlType:"style"}},{action:{controlId:"color",valueFromField:"attrs.color",groupType:"style",controlType:"style",removeDevice:!0,state:"normal"}}],options:{noRecordHistory:!0}}}]},{label:{en:"SEO"},controls:[{label:{en:"HTML tag"},setting:{id:"htmlTag"}}]}];exports.SettingUIV2=SettingUIV2;
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),core=require("@gem-sdk/core"),Text=require("../../text/components/Text.js");const PostPurchaseProductDescription=({setting:e,builderProps:t,styles:r})=>{let s=core.useProduct(),i=s?.baseID?.replace("gid://shopify/Product/","");return jsxRuntime.jsx("div",{id:`shopify-text-element-${t?.uid}`,"data-product-id":i,children:s?jsxRuntime.jsx(Text.default,{styles:r,setting:{...e,text:s.description}}):null})};exports.default=PostPurchaseProductDescription;
2
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),core=require("@gem-sdk/core"),Text=require("../../text/components/Text.js");const PostPurchaseProductDescription=({setting:e,builderProps:t,styles:r})=>{let s=core.useProduct(),i=s?.baseID?.replace("gid://shopify/Product/","");return jsxRuntime.jsx("div",{id:`shopify-text-element-${t?.uid}`,"data-product-id":i,children:s?jsxRuntime.jsx(Text.default,{styles:r,setting:{...e,text:s.descriptionHtml}}):null})};exports.default=PostPurchaseProductDescription;
@@ -3,4 +3,4 @@ let ArticleAuthorPresets=[{id:"article-author",name:{en:"Article Author"},icon:{
3
3
  <path d="M0.439631 9V0.272727H1.44531V3.49432H1.53054C1.6044 3.38068 1.70668 3.2358 1.83736 3.05966C1.97088 2.88068 2.16122 2.72159 2.40838 2.58239C2.65838 2.44034 2.99645 2.36932 3.42259 2.36932C3.97372 2.36932 4.45952 2.5071 4.87997 2.78267C5.30043 3.05824 5.62855 3.44886 5.86435 3.95455C6.10014 4.46023 6.21804 5.05682 6.21804 5.74432C6.21804 6.4375 6.10014 7.03835 5.86435 7.54688C5.62855 8.05256 5.30185 8.4446 4.88423 8.72301C4.46662 8.99858 3.98509 9.13636 3.43963 9.13636C3.01918 9.13636 2.68253 9.06676 2.42969 8.92756C2.17685 8.78551 1.98224 8.625 1.84588 8.44602C1.70952 8.2642 1.6044 8.11364 1.53054 7.99432H1.41122V9H0.439631ZM1.42827 5.72727C1.42827 6.22159 1.50071 6.65767 1.6456 7.03551C1.79048 7.41051 2.00213 7.70455 2.28054 7.91761C2.55895 8.12784 2.89986 8.23295 3.30327 8.23295C3.72372 8.23295 4.07457 8.12216 4.35582 7.90057C4.63991 7.67614 4.85298 7.375 4.99503 6.99716C5.13991 6.61648 5.21236 6.19318 5.21236 5.72727C5.21236 5.26705 5.14134 4.85227 4.99929 4.48295C4.86009 4.1108 4.64844 3.81676 4.36435 3.60085C4.0831 3.3821 3.7294 3.27273 3.30327 3.27273C2.89418 3.27273 2.55043 3.37642 2.27202 3.58381C1.99361 3.78835 1.78338 4.07528 1.64134 4.4446C1.49929 4.81108 1.42827 5.23864 1.42827 5.72727ZM8.16974 11.4545C7.99929 11.4545 7.8473 11.4403 7.71378 11.4119C7.58026 11.3864 7.48793 11.3608 7.43679 11.3352L7.69247 10.4489C7.93679 10.5114 8.1527 10.5341 8.3402 10.517C8.5277 10.5 8.69389 10.4162 8.83878 10.2656C8.98651 10.1179 9.12145 9.87784 9.24361 9.54545L9.43111 9.03409L7.01065 2.45455H8.10156L9.90838 7.67045H9.97656L11.7834 2.45455H12.8743L10.0959 9.95455C9.97088 10.2926 9.81605 10.5724 9.63139 10.794C9.44673 11.0185 9.23224 11.1847 8.98793 11.2926C8.74645 11.4006 8.47372 11.4545 8.16974 11.4545ZM21.054 0.272727H22.1108V6.51136C22.1108 7.06818 22.0085 7.54119 21.804 7.9304C21.5994 8.3196 21.3111 8.61506 20.9389 8.81676C20.5668 9.01847 20.1278 9.11932 19.6222 9.11932C19.1449 9.11932 18.7202 9.03267 18.348 8.85938C17.9759 8.68324 17.6832 8.43324 17.4702 8.10938C17.2571 7.78551 17.1506 7.40057 17.1506 6.95455H18.1903C18.1903 7.2017 18.2514 7.41761 18.3736 7.60227C18.4986 7.78409 18.669 7.92614 18.8849 8.02841C19.1009 8.13068 19.3466 8.18182 19.6222 8.18182C19.9261 8.18182 20.1847 8.1179 20.3977 7.99006C20.6108 7.86222 20.7727 7.67472 20.8835 7.42756C20.9972 7.17756 21.054 6.87216 21.054 6.51136V0.272727ZM26.0185 9.15341C25.6037 9.15341 25.2273 9.07528 24.8892 8.91903C24.5511 8.75994 24.2827 8.53125 24.0838 8.23295C23.8849 7.93182 23.7855 7.56818 23.7855 7.14205C23.7855 6.76705 23.8594 6.46307 24.0071 6.23011C24.1548 5.99432 24.3523 5.80966 24.5994 5.67614C24.8466 5.54261 25.1193 5.44318 25.4176 5.37784C25.7188 5.30966 26.0213 5.25568 26.3253 5.21591C26.723 5.16477 27.0455 5.12642 27.2926 5.10085C27.5426 5.07244 27.7244 5.02557 27.8381 4.96023C27.9545 4.89489 28.0128 4.78125 28.0128 4.61932V4.58523C28.0128 4.16477 27.8977 3.83807 27.6676 3.60511C27.4403 3.37216 27.0952 3.25568 26.6321 3.25568C26.152 3.25568 25.7756 3.3608 25.5028 3.57102C25.2301 3.78125 25.0384 4.00568 24.9276 4.24432L23.973 3.90341C24.1435 3.50568 24.3707 3.19602 24.6548 2.97443C24.9418 2.75 25.2543 2.59375 25.5923 2.50568C25.9332 2.41477 26.2685 2.36932 26.598 2.36932C26.8082 2.36932 27.0497 2.39489 27.3224 2.44602C27.598 2.49432 27.8636 2.59517 28.1193 2.74858C28.3778 2.90199 28.5923 3.13352 28.7628 3.44318C28.9332 3.75284 29.0185 4.16761 29.0185 4.6875V9H28.0128V8.11364H27.9616C27.8935 8.25568 27.7798 8.40767 27.6207 8.5696C27.4616 8.73153 27.25 8.86932 26.9858 8.98295C26.7216 9.09659 26.3991 9.15341 26.0185 9.15341ZM26.1719 8.25C26.5696 8.25 26.9048 8.17188 27.1776 8.01562C27.4531 7.85938 27.6605 7.65767 27.7997 7.41051C27.9418 7.16335 28.0128 6.90341 28.0128 6.63068V5.71023C27.9702 5.76136 27.8764 5.80824 27.7315 5.85085C27.5895 5.89062 27.4247 5.92614 27.2372 5.95739C27.0526 5.9858 26.8722 6.01136 26.696 6.03409C26.5227 6.05398 26.3821 6.07102 26.2741 6.08523C26.0128 6.11932 25.7685 6.17472 25.5412 6.25142C25.3168 6.32528 25.1349 6.4375 24.9957 6.58807C24.8594 6.7358 24.7912 6.9375 24.7912 7.19318C24.7912 7.54261 24.9205 7.80682 25.179 7.9858C25.4403 8.16193 25.7713 8.25 26.1719 8.25ZM30.854 9V2.45455H31.8256V3.47727H31.9109C32.0472 3.12784 32.2674 2.85653 32.5714 2.66335C32.8754 2.46733 33.2404 2.36932 33.6665 2.36932C34.0984 2.36932 34.4577 2.46733 34.7447 2.66335C35.0344 2.85653 35.2603 3.12784 35.4222 3.47727H35.4904C35.658 3.1392 35.9094 2.87074 36.2447 2.67188C36.5799 2.47017 36.9819 2.36932 37.4506 2.36932C38.0359 2.36932 38.5146 2.55256 38.8867 2.91903C39.2589 3.28267 39.445 3.84943 39.445 4.61932V9H38.4393V4.61932C38.4393 4.13636 38.3072 3.79119 38.043 3.58381C37.7788 3.37642 37.4677 3.27273 37.1097 3.27273C36.6495 3.27273 36.293 3.41193 36.0401 3.69034C35.7873 3.96591 35.6609 4.31534 35.6609 4.73864V9H34.6381V4.51705C34.6381 4.14489 34.5174 3.84517 34.2759 3.6179C34.0344 3.38778 33.7234 3.27273 33.3427 3.27273C33.0813 3.27273 32.837 3.34233 32.6097 3.48153C32.3853 3.62074 32.2035 3.81392 32.0643 4.06108C31.9279 4.3054 31.8597 4.58807 31.8597 4.90909V9H30.854ZM44.0281 9.13636C43.3974 9.13636 42.8533 8.99716 42.396 8.71875C41.9414 8.4375 41.5906 8.04545 41.3434 7.54261C41.0991 7.03693 40.9769 6.44886 40.9769 5.77841C40.9769 5.10795 41.0991 4.51705 41.3434 4.00568C41.5906 3.49148 41.9343 3.09091 42.3746 2.80398C42.8178 2.5142 43.3349 2.36932 43.9258 2.36932C44.2667 2.36932 44.6033 2.42614 44.9357 2.53977C45.2681 2.65341 45.5707 2.83807 45.8434 3.09375C46.1161 3.34659 46.3335 3.68182 46.4954 4.09943C46.6573 4.51705 46.7383 5.03125 46.7383 5.64205V6.06818H41.6928V5.19886H45.7156C45.7156 4.82955 45.6417 4.5 45.494 4.21023C45.3491 3.92045 45.1417 3.69176 44.8718 3.52415C44.6048 3.35653 44.2894 3.27273 43.9258 3.27273C43.5252 3.27273 43.1786 3.37216 42.886 3.57102C42.5962 3.76705 42.3732 4.02273 42.217 4.33807C42.0607 4.65341 41.9826 4.99148 41.9826 5.35227V5.93182C41.9826 6.42614 42.0678 6.84517 42.2383 7.18892C42.4116 7.52983 42.6516 7.78977 42.9585 7.96875C43.2653 8.14489 43.6218 8.23295 44.0281 8.23295C44.2923 8.23295 44.5309 8.19602 44.744 8.12216C44.9599 8.04545 45.146 7.93182 45.3022 7.78125C45.4585 7.62784 45.5792 7.4375 45.6644 7.21023L46.636 7.48295C46.5337 7.8125 46.3619 8.10227 46.1204 8.35227C45.8789 8.59943 45.5806 8.79261 45.2255 8.93182C44.8704 9.06818 44.4712 9.13636 44.0281 9.13636ZM52.9045 3.92045L52.0011 4.17614C51.9442 4.02557 51.8604 3.87926 51.7496 3.73722C51.6417 3.59233 51.494 3.47301 51.3065 3.37926C51.119 3.28551 50.8789 3.23864 50.5863 3.23864C50.1857 3.23864 49.8519 3.33097 49.5849 3.51562C49.3207 3.69744 49.1886 3.92898 49.1886 4.21023C49.1886 4.46023 49.2795 4.65767 49.4613 4.80256C49.6431 4.94744 49.9272 5.06818 50.3136 5.16477L51.2852 5.40341C51.8704 5.54545 52.3065 5.76278 52.5934 6.0554C52.8803 6.34517 53.0238 6.71875 53.0238 7.17614C53.0238 7.55114 52.9158 7.88636 52.6999 8.18182C52.4869 8.47727 52.1886 8.71023 51.805 8.88068C51.4215 9.05114 50.9755 9.13636 50.467 9.13636C49.7994 9.13636 49.2468 8.99148 48.8093 8.7017C48.3718 8.41193 48.0948 7.98864 47.9783 7.43182L48.9329 7.19318C49.0238 7.54545 49.1957 7.80966 49.4485 7.9858C49.7042 8.16193 50.038 8.25 50.4499 8.25C50.9187 8.25 51.2908 8.15057 51.5664 7.9517C51.8448 7.75 51.984 7.50852 51.984 7.22727C51.984 7 51.9045 6.80966 51.7454 6.65625C51.5863 6.5 51.342 6.38352 51.0124 6.30682L49.9215 6.05114C49.3221 5.90909 48.8817 5.68892 48.6005 5.39062C48.3221 5.08949 48.1829 4.71307 48.1829 4.26136C48.1829 3.89205 48.2866 3.56534 48.494 3.28125C48.7042 2.99716 48.9897 2.77415 49.3505 2.61222C49.7141 2.45028 50.1261 2.36932 50.5863 2.36932C51.234 2.36932 51.7425 2.51136 52.1119 2.79545C52.484 3.07955 52.7482 3.45455 52.9045 3.92045Z" fill="#F9F9F9"/>
4
4
  </svg>
5
5
 
6
- `},components:[{tag:"ArticleAuthor",settings:{htmlTag:"div"},styles:{typo:{type:"paragraph-3",attrs:{color:"text-1"}}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-s)"}}}}}]}];export{ArticleAuthorPresets};
6
+ `},components:[{tag:"ArticleAuthor",settings:{htmlTag:"div"},styles:{typo:{type:"paragraph-3",attrs:{color:"text-2"}}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-s)"}}}}}]}];export{ArticleAuthorPresets};
@@ -1 +1 @@
1
- let SettingUIV2=[{label:{en:"Text style"},controls:[{label:{en:"Prefix"},getValueFromSettingID:"prefix",iconName:"gp-prefix",type:"combo",defaultValueWhenClear:"",compoDefaultValue:"By",controls:[{label:{en:"Prefix"},type:"control",setting:{id:"prefix"},defaultValueWhenClear:""}]},{id:"typo",label:{en:"Basic"},setting:{id:"typo"},options:{hideLabel:!0,fullWidth:!0,updateFields:[{field:"attrs.color",settingId:"color",state:"normal"},{field:"attrs.textAlign",settingId:"textAlign"}]},layout:"vertical",controlChangeTrigger:{settings:[{action:{controlId:"textAlign",valueFromField:"attrs.textAlign",groupType:"style",controlType:"style"}},{action:{controlId:"color",valueFromField:"attrs.color",groupType:"style",controlType:"style",removeDevice:!0,state:"normal"}}],options:{noRecordHistory:!0}}}]},{label:{en:"SEO"},controls:[{label:{en:"SEO tag"},setting:{id:"htmlTag"}}]}];export{SettingUIV2};
1
+ let SettingUIV2=[{label:{en:"Text style"},controls:[{label:{en:"Prefix"},getValueFromSettingID:"prefix",iconName:"gp-prefix",type:"combo",defaultValueWhenClear:"",compoDefaultValue:"By",controls:[{label:{en:"Prefix"},type:"control",setting:{id:"prefix"},defaultValueWhenClear:""}]},{id:"typo",label:{en:"Basic"},setting:{id:"typo"},options:{hideLabel:!0,fullWidth:!0,updateFields:[{field:"attrs.color",settingId:"color",state:"normal"},{field:"attrs.textAlign",settingId:"textAlign"}]},layout:"vertical",controlChangeTrigger:{settings:[{action:{controlId:"textAlign",valueFromField:"attrs.textAlign",groupType:"style",controlType:"style"}},{action:{controlId:"color",valueFromField:"attrs.color",groupType:"style",controlType:"style",removeDevice:!0,state:"normal"}}],options:{noRecordHistory:!0}}}]},{label:{en:"SEO"},controls:[{label:{en:"HTML tag"},setting:{id:"htmlTag"}}]}];export{SettingUIV2};
@@ -1 +1 @@
1
- let SettingUIV2=[{label:{en:"Text style"},controls:[{id:"typo",label:{en:"Basic"},setting:{id:"typo"},options:{hideLabel:!0,fullWidth:!0,updateFields:[{field:"attrs.color",settingId:"color",state:"normal"},{field:"attrs.textAlign",settingId:"textAlign"}]},layout:"vertical",controlChangeTrigger:{settings:[{action:{controlId:"textAlign",valueFromField:"attrs.textAlign",groupType:"style",controlType:"style"}},{action:{controlId:"color",valueFromField:"attrs.color",groupType:"style",controlType:"style",removeDevice:!0,state:"normal"}}],options:{noRecordHistory:!0}}}]},{label:{en:"SEO"},controls:[{label:{en:"SEO tag"},setting:{id:"htmlTag"}}]}];export{SettingUIV2};
1
+ let SettingUIV2=[{label:{en:"Text style"},controls:[{id:"typo",label:{en:"Basic"},setting:{id:"typo"},options:{hideLabel:!0,fullWidth:!0,updateFields:[{field:"attrs.color",settingId:"color",state:"normal"},{field:"attrs.textAlign",settingId:"textAlign"}]},layout:"vertical",controlChangeTrigger:{settings:[{action:{controlId:"textAlign",valueFromField:"attrs.textAlign",groupType:"style",controlType:"style"}},{action:{controlId:"color",valueFromField:"attrs.color",groupType:"style",controlType:"style",removeDevice:!0,state:"normal"}}],options:{noRecordHistory:!0}}}]},{label:{en:"SEO"},controls:[{label:{en:"HTML tag"},setting:{id:"htmlTag"}}]}];export{SettingUIV2};
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- import{jsx as t}from"react/jsx-runtime";import{useProduct as e}from"@gem-sdk/core";import r from"../../text/components/Text.js";let PostPurchaseProductDescription=({setting:o,builderProps:i,styles:s})=>{let c=e(),d=c?.baseID?.replace("gid://shopify/Product/","");return t("div",{id:`shopify-text-element-${i?.uid}`,"data-product-id":d,children:c?t(r,{styles:s,setting:{...o,text:c.description}}):null})};export{PostPurchaseProductDescription as default};
2
+ import{jsx as t}from"react/jsx-runtime";import{useProduct as e}from"@gem-sdk/core";import r from"../../text/components/Text.js";let PostPurchaseProductDescription=({setting:o,builderProps:i,styles:s})=>{let c=e(),d=c?.baseID?.replace("gid://shopify/Product/","");return t("div",{id:`shopify-text-element-${i?.uid}`,"data-product-id":d,children:c?t(r,{styles:s,setting:{...o,text:c.descriptionHtml}}):null})};export{PostPurchaseProductDescription as default};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-staging.899",
3
+ "version": "2.0.0-staging.900",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",