@gem-sdk/components 2.0.0-dev.859 → 2.0.0-dev.860
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.
- package/dist/cjs/grid/setting/Row.js +4 -4
- package/dist/cjs/grid/setting/Section.js +4 -4
- package/dist/cjs/heading/setting/Heading.js +1 -1
- package/dist/cjs/post-purchase/callout-banner/setting/CalloutText.js +1 -1
- package/dist/cjs/post-purchase/product/settings/ProductDescription.js +1 -1
- package/dist/cjs/post-purchase/product/settings/ProductPrice.js +1 -1
- package/dist/cjs/post-purchase/product/settings/ProductTitle.js +1 -1
- package/dist/cjs/product/components/ProductList.liquid.js +31 -14
- package/dist/cjs/product/components/ProductProperties/ProductPropertyInput.js +1 -1
- package/dist/cjs/product/components/ProductProperties/ProductPropertyInput.liquid.js +7 -6
- package/dist/cjs/product/components/ProductProperties.js +1 -1
- package/dist/cjs/product/components/ProductProperties.liquid.js +4 -4
- package/dist/cjs/product/setting/ProductList.js +1 -1
- package/dist/cjs/product/setting/ProductProperties.js +1 -1
- package/dist/cjs/product/setting/ProductQuantity.js +1 -1
- package/dist/cjs/product/setting/ProductTag.js +1 -1
- package/dist/cjs/product/setting/ProductTitle.js +1 -1
- package/dist/cjs/product/setting/Vendor.js +1 -1
- package/dist/cjs/text/setting/Text.js +1 -1
- package/dist/esm/grid/setting/Row.js +4 -4
- package/dist/esm/grid/setting/Section.js +4 -4
- package/dist/esm/heading/setting/Heading.js +1 -1
- package/dist/esm/post-purchase/callout-banner/setting/CalloutText.js +1 -1
- package/dist/esm/post-purchase/product/settings/ProductDescription.js +1 -1
- package/dist/esm/post-purchase/product/settings/ProductPrice.js +1 -1
- package/dist/esm/post-purchase/product/settings/ProductTitle.js +1 -1
- package/dist/esm/product/components/ProductList.liquid.js +33 -16
- package/dist/esm/product/components/ProductProperties/ProductPropertyInput.js +1 -1
- package/dist/esm/product/components/ProductProperties/ProductPropertyInput.liquid.js +9 -8
- package/dist/esm/product/components/ProductProperties.js +1 -1
- package/dist/esm/product/components/ProductProperties.liquid.js +1 -1
- package/dist/esm/product/setting/ProductList.js +1 -1
- package/dist/esm/product/setting/ProductProperties.js +1 -1
- package/dist/esm/product/setting/ProductQuantity.js +1 -1
- package/dist/esm/product/setting/ProductTag.js +1 -1
- package/dist/esm/product/setting/ProductTitle.js +1 -1
- package/dist/esm/product/setting/Vendor.js +1 -1
- package/dist/esm/text/setting/Text.js +1 -1
- package/dist/types/index.d.ts +2 -1
- package/package.json +1 -1
|
@@ -2,6 +2,6 @@ let config={tag:"Text",label:"Text Block",icon:`
|
|
|
2
2
|
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
3
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.19448 7H6.59995L10.2944 16.4858H8.55837L7.53884 13.7231H4.25559L3.23606 16.4858H1.5L5.19448 7ZM5.8937 9.30461L4.78109 12.2986H7.00631L5.8937 9.30461ZM13.0014 9.0633C13.3404 8.98396 13.714 8.94562 14.1203 8.94562C14.6354 8.94562 15.1134 9.02321 15.5514 9.18267C16.0081 9.34283 16.3829 9.6099 16.6621 9.98863C16.9537 10.3842 17.0848 10.8908 17.0848 11.477V16.4858H15.501V15.9596L15.4704 15.9848C15.2475 16.1701 14.9804 16.3168 14.6752 16.4294L14.6716 16.4307C14.3527 16.5435 13.9891 16.5961 13.5859 16.5961C12.8234 16.5961 12.1737 16.3941 11.6632 15.9628L11.6619 15.9617C11.1431 15.5184 10.8815 14.9216 10.8815 14.2009C10.8815 13.5177 11.1427 12.952 11.65 12.529C12.1598 12.0996 12.8743 11.9095 13.7476 11.9095H15.4588V11.4965C15.4588 11.096 15.3369 10.8544 15.1311 10.7025C14.8926 10.5265 14.5489 10.422 14.0711 10.422C13.7425 10.422 13.4942 10.4592 13.3154 10.5222C13.1325 10.5883 13.0096 10.671 12.9295 10.759C12.8408 10.8573 12.7807 10.9623 12.7443 11.0752L12.6748 11.291H11.1355L11.1715 10.9367C11.2043 10.6142 11.2985 10.3203 11.4585 10.0619L11.4612 10.0576C11.6238 9.80424 11.8375 9.5961 12.0963 9.43184C12.3587 9.26403 12.662 9.14273 13.0014 9.0633ZM13.7687 13.3339C13.2451 13.3339 12.9423 13.444 12.7857 13.5912C12.6157 13.7511 12.5356 13.9405 12.5356 14.1814C12.5356 14.5079 12.6483 14.7173 12.8701 14.8617C13.1355 15.0345 13.4525 15.1262 13.832 15.1262C14.1616 15.1262 14.4439 15.064 14.6849 14.9475C14.9356 14.8243 15.1231 14.664 15.2579 14.4704L15.2603 14.4671C15.3934 14.2812 15.4588 14.075 15.4588 13.8377V13.3339H13.7687ZM19.9323 8.3429C19.6012 8.3429 19.3328 8.62932 19.3328 8.98264C19.3328 9.33596 19.6012 9.62238 19.9323 9.62238H20.3169V15.7205H19.9323C19.6012 15.7205 19.3328 16.0069 19.3328 16.3603C19.3328 16.7136 19.6012 17 19.9323 17H21.9006C22.2316 17 22.5 16.7136 22.5 16.3603C22.5 16.0069 22.2316 15.7205 21.9006 15.7205H21.5157V9.62238H21.9006C22.2316 9.62238 22.5 9.33596 22.5 8.98264C22.5 8.62932 22.2316 8.3429 21.9006 8.3429H20.9163H19.9323Z" fill="white"/>
|
|
4
4
|
</svg>
|
|
5
|
-
`,settings:[{id:"setting",controls:[{id:"textGroup",type:"group",label:"Text",controls:[{id:"text",label:"Content",type:"texteditor",options:["bold","italic","underline","foreColor","createlink"],default:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."}]},{id:"translate",type:"input",default:"text"},{id:"seo",type:"group",label:"SEO",controls:[{id:"htmlTag",label:"HTML Tag",type:"select",options:[{value:"p",label:"P"},{value:"span",label:"Span"},{value:"div",label:"Div"}],default:"div"}]},{id:"background",type:"background",ignoreReRender:!0,devices:{desktop:{default:{type:"color",color:"transparent",image:{src:"",width:0,height:0},size:"cover",position:{x:50,y:50},repeat:"no-repeat",attachment:"scroll"}}}},{id:"globalSize",type:"size-setting",devices:{desktop:{default:{width:"100%",padding:{type:"custom"}}}},settingConfig:{width:{displayOptions:["full","auto","default"]},padding:{paddingConfig:{small:{vertical:"4px",horizontal:"4px"},medium:{vertical:"8px",horizontal:"8px"},large:{vertical:"16px",horizontal:"16px"},custom:{vertical:"0px",horizontal:"0px"}}}},hiddenSettings:["shape","height","gap"]}]},{id:"style",controls:[{id:"typo",type:"typography-v2",default:{type:"paragraph-1",attrs:{color:"text-1"}},ignoreReRender:!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:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align",tooltip:"Align left"},{label:"Center",value:"center",type:"align",tooltip:"Align center"},{label:"Right",value:"right",type:"align",tooltip:"Align right"}],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:1},tablet:{default:1},mobile:{default:1}},hide:!0}]}],ui:[{type:"control",label:{en:"Text"},setting:{id:"typo"},layout:"vertical"},{type:"control",label:{en:"Text align"},setting:{id:"textAlign"}},{type:"group",label:{en:"Size"},controls:[{type:"control",setting:{id:"globalSize"},layout:"vertical"}]},{type:"control",label:{en:"Align"},condition:"globalSize.width !== '100%'",options:{label:"large"},setting:{id:"align"}},{type:"control",label:{en:"Background"},options:{label:"large",styleLabel:{marginBottom:"4px"}},setting:{id:"background"},layout:"vertical"}],advanced:{},presets:[{id:"text",name:{en:"Text Block"},icon:{desktop:`<svg width="13" height="15" viewBox="0 0 13 15" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
5
|
+
`,settings:[{id:"setting",controls:[{id:"textGroup",type:"group",label:"Text",controls:[{id:"text",label:"Content",type:"texteditor",options:["bold","italic","underline","foreColor","createlink"],default:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."}]},{id:"translate",type:"input",default:"text"},{id:"seo",type:"group",label:"SEO",controls:[{id:"htmlTag",label:"HTML Tag",type:"select",options:[{value:"p",label:"P"},{value:"span",label:"Span"},{value:"div",label:"Div"}],default:"div"}]},{id:"background",type:"background",ignoreReRender:!0,devices:{desktop:{default:{type:"color",color:"transparent",image:{src:"",width:0,height:0},size:"cover",position:{x:50,y:50},repeat:"no-repeat",attachment:"scroll"}}}},{id:"globalSize",type:"size-setting",devices:{desktop:{default:{width:"100%",padding:{type:"custom"}}}},settingConfig:{width:{displayOptions:["full","auto","default"]},padding:{paddingConfig:{small:{vertical:"4px",horizontal:"4px"},medium:{vertical:"8px",horizontal:"8px"},large:{vertical:"16px",horizontal:"16px"},custom:{vertical:"0px",horizontal:"0px"}}}},hiddenSettings:["shape","height","gap"]}]},{id:"style",controls:[{id:"typo",type:"typography-v2",default:{type:"paragraph-1",attrs:{color:"text-1"}},ignoreReRender:!0},{id:"textAlign",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"text",tooltip:"Align left"},{label:"Center",value:"center",type:"text",tooltip:"Align center"},{label:"Right",value:"right",type:"text",tooltip:"Align right"},{label:"Justify",value:"justify",type:"text",tooltip:"Align justify"}],devices:{desktop:{default:"left"}}},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align",tooltip:"Align left"},{label:"Center",value:"center",type:"align",tooltip:"Align center"},{label:"Right",value:"right",type:"align",tooltip:"Align right"}],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:1},tablet:{default:1},mobile:{default:1}},hide:!0}]}],ui:[{type:"control",label:{en:"Text"},setting:{id:"typo"},layout:"vertical"},{type:"control",label:{en:"Text align"},setting:{id:"textAlign"}},{type:"group",label:{en:"Size"},controls:[{type:"control",setting:{id:"globalSize"},layout:"vertical"}]},{type:"control",label:{en:"Align"},condition:"globalSize.width !== '100%'",options:{label:"large"},setting:{id:"align"}},{type:"control",label:{en:"Background"},options:{label:"large",styleLabel:{marginBottom:"4px"}},setting:{id:"background"},layout:"vertical"}],advanced:{},presets:[{id:"text",name:{en:"Text Block"},icon:{desktop:`<svg width="13" height="15" viewBox="0 0 13 15" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
6
6
|
<path d="M0.728516 15V13.4961L2.28125 13.2031V2.58789L0.728516 2.29492V0.78125H2.28125H7.39844C8.45964 0.78125 9.36784 0.966797 10.123 1.33789C10.8848 1.70898 11.4674 2.22656 11.8711 2.89062C12.2747 3.54818 12.4766 4.31966 12.4766 5.20508C12.4766 6.09049 12.2747 6.86523 11.8711 7.5293C11.4674 8.18685 10.8848 8.69792 10.123 9.0625C9.36784 9.42708 8.45964 9.60938 7.39844 9.60938H4.74219V13.2031L6.29492 13.4961V15H0.728516ZM4.74219 7.70508H7.39844C8.27083 7.70508 8.92513 7.4707 9.36133 7.00195C9.79753 6.5332 10.0156 5.94076 10.0156 5.22461C10.0156 4.49544 9.79753 3.88997 9.36133 3.4082C8.92513 2.92643 8.27083 2.68555 7.39844 2.68555H4.74219V7.70508Z" fill="#D6D6D6"/>
|
|
7
7
|
</svg>`},components:[{tag:"Text",advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-l)"}}},editorData:{rootClassName:"{{rootClassName}}",css:".{{rootClassName}} {\n\n}\n.{{rootClassName}} p {\n\n}"}}}]}]};export{config as default};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1626,8 +1626,9 @@ type ProductPropertiesProps = BaseProps<{
|
|
|
1626
1626
|
name?: string;
|
|
1627
1627
|
block?: boolean;
|
|
1628
1628
|
placeholder?: string;
|
|
1629
|
-
type?: 'text' | 'textarea' | 'email' | 'checkbox' | 'radio' | 'dropdown';
|
|
1629
|
+
type?: 'text' | 'textarea' | 'email' | 'checkbox' | 'radio' | 'dropdown' | 'hidden';
|
|
1630
1630
|
label?: string;
|
|
1631
|
+
valueHidden?: string;
|
|
1631
1632
|
translate?: string;
|
|
1632
1633
|
required?: boolean;
|
|
1633
1634
|
numberOnly?: boolean;
|