@cntrl-site/components 0.1.10-alpha.0 → 0.1.10-alpha.1

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 CHANGED
@@ -3640,12 +3640,14 @@ const TestimonialsComponent = {
3640
3640
  autoplay: {
3641
3641
  type: "boolean",
3642
3642
  display: {
3643
- type: "setting-toggle"
3644
- }
3643
+ type: "ratio-group",
3644
+ direction: "horizontal"
3645
+ },
3646
+ enum: ["on", "off"]
3645
3647
  },
3646
3648
  inView: {
3647
3649
  type: "number",
3648
- label: "In View",
3650
+ title: "In View",
3649
3651
  min: 1,
3650
3652
  display: {
3651
3653
  type: "numeric-input"
@@ -3653,21 +3655,24 @@ const TestimonialsComponent = {
3653
3655
  },
3654
3656
  alignment: {
3655
3657
  type: "string",
3658
+ title: "Align",
3656
3659
  display: {
3657
- type: "ratio-group"
3660
+ type: "align-group",
3661
+ direction: "horizontal"
3658
3662
  },
3659
- enum: ["left", "center", "right"]
3663
+ enum: ["start", "center", "end"]
3660
3664
  },
3661
3665
  move: {
3662
3666
  type: "string",
3663
3667
  display: {
3664
- type: "ratio-group"
3668
+ type: "ratio-group",
3669
+ direction: "horizontal"
3665
3670
  },
3666
3671
  enum: ["one", "view"]
3667
3672
  },
3668
3673
  speed: {
3669
3674
  type: "number",
3670
- label: "Speed",
3675
+ title: "Speed",
3671
3676
  min: 100,
3672
3677
  max: 1e4,
3673
3678
  step: 100,
@@ -3683,6 +3688,7 @@ const TestimonialsComponent = {
3683
3688
  enum: ["left", "right"]
3684
3689
  },
3685
3690
  pause: {
3691
+ title: "Pause on",
3686
3692
  type: "string",
3687
3693
  display: {
3688
3694
  type: "ratio-group"
@@ -3699,14 +3705,14 @@ const TestimonialsComponent = {
3699
3705
  properties: {
3700
3706
  dimensions: {
3701
3707
  type: "object",
3702
- title: "Dimensions",
3708
+ title: "Size",
3703
3709
  display: {
3704
3710
  type: "group"
3705
3711
  },
3706
3712
  properties: {
3707
3713
  width: {
3708
3714
  type: "number",
3709
- label: "Width",
3715
+ label: "W",
3710
3716
  scalingEnabled: true,
3711
3717
  display: {
3712
3718
  type: "numeric-input",
@@ -3715,7 +3721,7 @@ const TestimonialsComponent = {
3715
3721
  },
3716
3722
  height: {
3717
3723
  type: "number",
3718
- label: "Height",
3724
+ label: "H",
3719
3725
  scalingEnabled: true,
3720
3726
  display: {
3721
3727
  type: "numeric-input",
@@ -3726,7 +3732,7 @@ const TestimonialsComponent = {
3726
3732
  },
3727
3733
  gap: {
3728
3734
  type: "number",
3729
- label: "Gap",
3735
+ title: "Gap",
3730
3736
  scalingEnabled: true,
3731
3737
  min: 0,
3732
3738
  display: {
@@ -3735,32 +3741,41 @@ const TestimonialsComponent = {
3735
3741
  },
3736
3742
  corner: {
3737
3743
  type: "number",
3738
- label: "Corners",
3739
- scalingEnabled: true,
3740
- min: 0,
3741
- display: {
3742
- type: "numeric-input"
3743
- }
3744
- },
3745
- borderWidth: {
3746
- type: "number",
3747
- label: "Borders",
3744
+ title: "Corners",
3748
3745
  scalingEnabled: true,
3749
3746
  min: 0,
3750
3747
  display: {
3751
3748
  type: "numeric-input"
3752
3749
  }
3753
3750
  },
3754
- borderColor: {
3755
- title: "Border Color",
3756
- type: "string",
3751
+ borders: {
3752
+ type: "object",
3753
+ title: "Borders",
3757
3754
  display: {
3758
- type: "settings-color-picker",
3759
- format: "single"
3755
+ type: "group"
3756
+ },
3757
+ properties: {
3758
+ borderWidth: {
3759
+ type: "number",
3760
+ title: "Borders",
3761
+ scalingEnabled: true,
3762
+ min: 0,
3763
+ display: {
3764
+ type: "numeric-input"
3765
+ }
3766
+ },
3767
+ borderColor: {
3768
+ title: "Border Color",
3769
+ type: "string",
3770
+ display: {
3771
+ type: "settings-color-picker",
3772
+ format: "single"
3773
+ }
3774
+ }
3760
3775
  }
3761
3776
  },
3762
3777
  bgColor: {
3763
- title: "Background Color",
3778
+ title: "BG color",
3764
3779
  type: "string",
3765
3780
  display: {
3766
3781
  type: "settings-color-picker",
@@ -4007,7 +4022,7 @@ const TestimonialsComponent = {
4007
4022
  },
4008
4023
  default: {
4009
4024
  general: {
4010
- autoplay: false,
4025
+ autoplay: true,
4011
4026
  inView: 3,
4012
4027
  alignment: "center",
4013
4028
  move: "one",
@@ -4021,13 +4036,13 @@ const TestimonialsComponent = {
4021
4036
  height: 400
4022
4037
  },
4023
4038
  gap: 20,
4024
- corner: 0,
4039
+ corner: 10,
4025
4040
  borderWidth: 0,
4026
4041
  borderColor: "#000000",
4027
4042
  bgColor: "#ffffff"
4028
4043
  },
4029
4044
  controls: {
4030
- isActive: true,
4045
+ isActive: false,
4031
4046
  arrowsImgUrl: null,
4032
4047
  offset: {
4033
4048
  x: 0,
@@ -4061,7 +4076,7 @@ const TestimonialsComponent = {
4061
4076
  }
4062
4077
  },
4063
4078
  cover: {
4064
- gradient: "linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%)"
4079
+ gradient: ""
4065
4080
  }
4066
4081
  }
4067
4082
  }
@@ -4145,7 +4160,7 @@ const TestimonialsComponent = {
4145
4160
  {
4146
4161
  image: {
4147
4162
  objectFit: "cover",
4148
- url: "https://cdn.cntrl.site/projects/01JJKT02AWY2FGN2QJ7A173RNZ/articles-assets/01K7ERMHNP08T27H1649S67NZV.png",
4163
+ url: "https://cdn.cntrl.site/component-assets/2.jpg",
4149
4164
  name: "Testimonial-1.png"
4150
4165
  },
4151
4166
  icon: {
@@ -4169,7 +4184,7 @@ const TestimonialsComponent = {
4169
4184
  {
4170
4185
  image: {
4171
4186
  objectFit: "cover",
4172
- url: "https://cdn.cntrl.site/projects/01JJKT02AWY2FGN2QJ7A173RNZ/articles-assets/01K7ERMTZA3RYMXKF0M095D6JD.png",
4187
+ url: "https://cdn.cntrl.site/component-assets/3.jpg",
4173
4188
  name: "Testimonial-2.png"
4174
4189
  },
4175
4190
  icon: {
@@ -4193,7 +4208,7 @@ const TestimonialsComponent = {
4193
4208
  {
4194
4209
  image: {
4195
4210
  objectFit: "cover",
4196
- url: "https://cdn.cntrl.site/projects/01JJKT02AWY2FGN2QJ7A173RNZ/articles-assets/01K7ERMVSCMPVJBG2WF5KJZYHZ.png",
4211
+ url: "https://cdn.cntrl.site/component-assets/4.jpg",
4197
4212
  name: "Testimonial-3.png"
4198
4213
  },
4199
4214
  icon: {
package/dist/index.mjs CHANGED
@@ -3638,12 +3638,14 @@ const TestimonialsComponent = {
3638
3638
  autoplay: {
3639
3639
  type: "boolean",
3640
3640
  display: {
3641
- type: "setting-toggle"
3642
- }
3641
+ type: "ratio-group",
3642
+ direction: "horizontal"
3643
+ },
3644
+ enum: ["on", "off"]
3643
3645
  },
3644
3646
  inView: {
3645
3647
  type: "number",
3646
- label: "In View",
3648
+ title: "In View",
3647
3649
  min: 1,
3648
3650
  display: {
3649
3651
  type: "numeric-input"
@@ -3651,21 +3653,24 @@ const TestimonialsComponent = {
3651
3653
  },
3652
3654
  alignment: {
3653
3655
  type: "string",
3656
+ title: "Align",
3654
3657
  display: {
3655
- type: "ratio-group"
3658
+ type: "align-group",
3659
+ direction: "horizontal"
3656
3660
  },
3657
- enum: ["left", "center", "right"]
3661
+ enum: ["start", "center", "end"]
3658
3662
  },
3659
3663
  move: {
3660
3664
  type: "string",
3661
3665
  display: {
3662
- type: "ratio-group"
3666
+ type: "ratio-group",
3667
+ direction: "horizontal"
3663
3668
  },
3664
3669
  enum: ["one", "view"]
3665
3670
  },
3666
3671
  speed: {
3667
3672
  type: "number",
3668
- label: "Speed",
3673
+ title: "Speed",
3669
3674
  min: 100,
3670
3675
  max: 1e4,
3671
3676
  step: 100,
@@ -3681,6 +3686,7 @@ const TestimonialsComponent = {
3681
3686
  enum: ["left", "right"]
3682
3687
  },
3683
3688
  pause: {
3689
+ title: "Pause on",
3684
3690
  type: "string",
3685
3691
  display: {
3686
3692
  type: "ratio-group"
@@ -3697,14 +3703,14 @@ const TestimonialsComponent = {
3697
3703
  properties: {
3698
3704
  dimensions: {
3699
3705
  type: "object",
3700
- title: "Dimensions",
3706
+ title: "Size",
3701
3707
  display: {
3702
3708
  type: "group"
3703
3709
  },
3704
3710
  properties: {
3705
3711
  width: {
3706
3712
  type: "number",
3707
- label: "Width",
3713
+ label: "W",
3708
3714
  scalingEnabled: true,
3709
3715
  display: {
3710
3716
  type: "numeric-input",
@@ -3713,7 +3719,7 @@ const TestimonialsComponent = {
3713
3719
  },
3714
3720
  height: {
3715
3721
  type: "number",
3716
- label: "Height",
3722
+ label: "H",
3717
3723
  scalingEnabled: true,
3718
3724
  display: {
3719
3725
  type: "numeric-input",
@@ -3724,7 +3730,7 @@ const TestimonialsComponent = {
3724
3730
  },
3725
3731
  gap: {
3726
3732
  type: "number",
3727
- label: "Gap",
3733
+ title: "Gap",
3728
3734
  scalingEnabled: true,
3729
3735
  min: 0,
3730
3736
  display: {
@@ -3733,32 +3739,41 @@ const TestimonialsComponent = {
3733
3739
  },
3734
3740
  corner: {
3735
3741
  type: "number",
3736
- label: "Corners",
3737
- scalingEnabled: true,
3738
- min: 0,
3739
- display: {
3740
- type: "numeric-input"
3741
- }
3742
- },
3743
- borderWidth: {
3744
- type: "number",
3745
- label: "Borders",
3742
+ title: "Corners",
3746
3743
  scalingEnabled: true,
3747
3744
  min: 0,
3748
3745
  display: {
3749
3746
  type: "numeric-input"
3750
3747
  }
3751
3748
  },
3752
- borderColor: {
3753
- title: "Border Color",
3754
- type: "string",
3749
+ borders: {
3750
+ type: "object",
3751
+ title: "Borders",
3755
3752
  display: {
3756
- type: "settings-color-picker",
3757
- format: "single"
3753
+ type: "group"
3754
+ },
3755
+ properties: {
3756
+ borderWidth: {
3757
+ type: "number",
3758
+ title: "Borders",
3759
+ scalingEnabled: true,
3760
+ min: 0,
3761
+ display: {
3762
+ type: "numeric-input"
3763
+ }
3764
+ },
3765
+ borderColor: {
3766
+ title: "Border Color",
3767
+ type: "string",
3768
+ display: {
3769
+ type: "settings-color-picker",
3770
+ format: "single"
3771
+ }
3772
+ }
3758
3773
  }
3759
3774
  },
3760
3775
  bgColor: {
3761
- title: "Background Color",
3776
+ title: "BG color",
3762
3777
  type: "string",
3763
3778
  display: {
3764
3779
  type: "settings-color-picker",
@@ -4005,7 +4020,7 @@ const TestimonialsComponent = {
4005
4020
  },
4006
4021
  default: {
4007
4022
  general: {
4008
- autoplay: false,
4023
+ autoplay: true,
4009
4024
  inView: 3,
4010
4025
  alignment: "center",
4011
4026
  move: "one",
@@ -4019,13 +4034,13 @@ const TestimonialsComponent = {
4019
4034
  height: 400
4020
4035
  },
4021
4036
  gap: 20,
4022
- corner: 0,
4037
+ corner: 10,
4023
4038
  borderWidth: 0,
4024
4039
  borderColor: "#000000",
4025
4040
  bgColor: "#ffffff"
4026
4041
  },
4027
4042
  controls: {
4028
- isActive: true,
4043
+ isActive: false,
4029
4044
  arrowsImgUrl: null,
4030
4045
  offset: {
4031
4046
  x: 0,
@@ -4059,7 +4074,7 @@ const TestimonialsComponent = {
4059
4074
  }
4060
4075
  },
4061
4076
  cover: {
4062
- gradient: "linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%)"
4077
+ gradient: ""
4063
4078
  }
4064
4079
  }
4065
4080
  }
@@ -4143,7 +4158,7 @@ const TestimonialsComponent = {
4143
4158
  {
4144
4159
  image: {
4145
4160
  objectFit: "cover",
4146
- url: "https://cdn.cntrl.site/projects/01JJKT02AWY2FGN2QJ7A173RNZ/articles-assets/01K7ERMHNP08T27H1649S67NZV.png",
4161
+ url: "https://cdn.cntrl.site/component-assets/2.jpg",
4147
4162
  name: "Testimonial-1.png"
4148
4163
  },
4149
4164
  icon: {
@@ -4167,7 +4182,7 @@ const TestimonialsComponent = {
4167
4182
  {
4168
4183
  image: {
4169
4184
  objectFit: "cover",
4170
- url: "https://cdn.cntrl.site/projects/01JJKT02AWY2FGN2QJ7A173RNZ/articles-assets/01K7ERMTZA3RYMXKF0M095D6JD.png",
4185
+ url: "https://cdn.cntrl.site/component-assets/3.jpg",
4171
4186
  name: "Testimonial-2.png"
4172
4187
  },
4173
4188
  icon: {
@@ -4191,7 +4206,7 @@ const TestimonialsComponent = {
4191
4206
  {
4192
4207
  image: {
4193
4208
  objectFit: "cover",
4194
- url: "https://cdn.cntrl.site/projects/01JJKT02AWY2FGN2QJ7A173RNZ/articles-assets/01K7ERMVSCMPVJBG2WF5KJZYHZ.png",
4209
+ url: "https://cdn.cntrl.site/component-assets/4.jpg",
4195
4210
  name: "Testimonial-3.png"
4196
4211
  },
4197
4212
  icon: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cntrl-site/components",
3
- "version": "0.1.10-alpha.0",
3
+ "version": "0.1.10-alpha.1",
4
4
  "description": "Custom components for control editor and public websites.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",