@cntrl-site/components 1.0.9-alpha.3 → 1.0.9-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2021,7 +2021,7 @@ export type MarqueeSettings = {
|
|
|
2021
2021
|
imageMaxWidth: number;
|
|
2022
2022
|
imageMaxHeight: number;
|
|
2023
2023
|
};
|
|
2024
|
-
`,Ys={type:"object",version:1,settings:{sizing:"auto manual",properties:{speed:{type:"number",scope:"layout",title:"Speed",display:{type:"speed-control"},min:.5,max:7},direction:{type:"string",scope:"common",title:"Direction",display:{type:"direction-control"},enum:["left","right"]},pauseOnHover:{title:"Pause on hover",type:"string",scope:"common",display:{type:"switch-toggle-2",enum:["on","off"]}},gap:{type:"number",scope:"layout",title:"Gap",min:0,max:200,display:{type:"range-control"}},imageMaxWidth:{type:"number",scope:"layout",title:"Max width",min:
|
|
2024
|
+
`,Ys={type:"object",version:1,settings:{sizing:"auto manual",properties:{speed:{type:"number",scope:"layout",title:"Speed",display:{type:"speed-control"},min:.5,max:7},direction:{type:"string",scope:"common",title:"Direction",display:{type:"direction-control"},enum:["left","right"]},pauseOnHover:{title:"Pause on hover",type:"string",scope:"common",display:{type:"switch-toggle-2",enum:["on","off"]}},gap:{type:"number",scope:"layout",title:"Gap",min:0,max:200,display:{type:"range-control"}},imageMaxWidth:{type:"number",scope:"layout",title:"Max width",min:10,max:400,display:{type:"range-control"}},imageMaxHeight:{type:"number",scope:"layout",title:"Max height",min:10,max:400,display:{type:"range-control"}}},defaults:{direction:"left",pauseOnHover:"off"},layoutDefaults:{m:{speed:.55,gap:.04,imageMaxWidth:.8,imageMaxHeight:.21},d:{speed:1.64,gap:.02,imageMaxWidth:.15,imageMaxHeight:.1}},displayRules:[],layout:["__componentName__","speed","direction","pauseOnHover","gap","imageMaxWidth","imageMaxHeight"]},panels:[{id:"general",icon:"settings",title:"General",tooltip:"General Settings",layout:[{type:"row",items:["__componentName__"]},{type:"row",items:["imageMaxWidth","speed"]},{type:"row",items:["imageMaxHeight","pauseOnHover"]},{type:"row",items:["direction"]}]}],content:{type:"array",settings:{addItemFromFileExplorer:!0},items:{type:"object",properties:{image:{type:"object",label:"Image",display:{type:"media-input"}}}},default:[{image:{objectFit:"contain",url:"https://cdn.cntrl.site/projects/01KM5KBNFNRT3D0JP64K5EY92A/articles-assets/01KQ7RZNCQFC3T744H0KX6R3FR.jpeg",name:""}},{image:{objectFit:"contain",url:"https://cdn.cntrl.site/projects/01KM5KBNFNRT3D0JP64K5EY92A/articles-assets/01KQ7RZRTSS60YBFT6Y37ZX00T.jpeg",name:""}},{image:{objectFit:"contain",url:"https://cdn.cntrl.site/projects/01KM5KBNFNRT3D0JP64K5EY92A/articles-assets/01KQ9M9YJPQ5JWKCHDEW5M1GJD.jpeg",name:""}},{image:{objectFit:"contain",url:"https://cdn.cntrl.site/projects/01KM5KBNFNRT3D0JP64K5EY92A/articles-assets/01KQ7S04EHBXQS1T4KVAMZNZQM.jpeg",name:""}},{image:{objectFit:"contain",url:"https://cdn.cntrl.site/projects/01KM5KBNFNRT3D0JP64K5EY92A/articles-assets/01KQ7S08Q40WHD39024VNDWF2Q.jpeg",name:""}}]}},Xs={element:Gs,id:"marquee",name:"Marquee",category:"galleries",version:1,defaultSize:{width:"100%",height:200},preview:{type:"image",url:"https://cdn.cntrl.site/component-assets/marquee.png"},schema:Ys,sourceCode:Ks,assetsPaths:{content:[{path:"image.url",placeholderEnabled:!0}],parameters:[]},fontSettingsPaths:{content:[],parameters:[]}};function Eo(e){return`
|
|
2025
2025
|
.${e}-marquee-wrapper {
|
|
2026
2026
|
overflow: hidden;
|
|
2027
2027
|
width: 100%;
|
package/dist/index.mjs
CHANGED
|
@@ -9000,7 +9000,7 @@ export type MarqueeSettings = {
|
|
|
9000
9000
|
type: "number",
|
|
9001
9001
|
scope: "layout",
|
|
9002
9002
|
title: "Max width",
|
|
9003
|
-
min:
|
|
9003
|
+
min: 10,
|
|
9004
9004
|
max: 400,
|
|
9005
9005
|
display: { type: "range-control" }
|
|
9006
9006
|
},
|
|
@@ -9008,7 +9008,7 @@ export type MarqueeSettings = {
|
|
|
9008
9008
|
type: "number",
|
|
9009
9009
|
scope: "layout",
|
|
9010
9010
|
title: "Max height",
|
|
9011
|
-
min:
|
|
9011
|
+
min: 10,
|
|
9012
9012
|
max: 400,
|
|
9013
9013
|
display: { type: "range-control" }
|
|
9014
9014
|
}
|