@plasmicpkgs/react-slick 0.0.1 → 0.0.2

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.d.ts CHANGED
@@ -1 +1,6 @@
1
- export {};
1
+ import registerComponent, { ComponentMeta } from "@plasmicapp/host/registerComponent";
2
+ import { Settings } from "react-slick";
3
+ export declare const sliderMeta: ComponentMeta<Settings>;
4
+ export declare function registerSlider(loader?: {
5
+ registerComponent: typeof registerComponent;
6
+ }, customSliderMeta?: ComponentMeta<Settings>): void;
@@ -1,31 +1,35 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
6
 
5
7
  var registerComponent = _interopDefault(require('@plasmicapp/host/registerComponent'));
6
8
  var Slider = _interopDefault(require('react-slick'));
7
9
 
8
- registerComponent(Slider, {
9
- name: "Slider",
10
+ var sliderMeta = {
11
+ name: "hostless-slider",
12
+ displayName: "Slider",
13
+ importName: "Slider",
10
14
  importPath: "react-slick",
11
15
  props: {
12
16
  children: {
13
17
  type: "slot",
14
18
  defaultValue: [{
15
19
  type: "img",
16
- src: "https://via.placeholder.com/350x150",
20
+ src: "https://via.placeholder.com/150/FF0000/FFFFFF/?text=Slide_1",
17
21
  style: {
18
22
  maxWidth: "100%"
19
23
  }
20
24
  }, {
21
25
  type: "img",
22
- src: "https://via.placeholder.com/350x150",
26
+ src: "https://via.placeholder.com/150/00FF00/FFFFFF/?text=Slide_2",
23
27
  style: {
24
28
  maxWidth: "100%"
25
29
  }
26
30
  }, {
27
31
  type: "img",
28
- src: "https://via.placeholder.com/350x150",
32
+ src: "https://via.placeholder.com/150/0000FF/FFFFFF/?text=Slide_3",
29
33
  style: {
30
34
  maxWidth: "100%"
31
35
  }
@@ -33,61 +37,50 @@ registerComponent(Slider, {
33
37
  },
34
38
  accessibility: {
35
39
  type: "boolean",
36
- defaultValue: true,
37
- description: "Enables tabbing and arrow key navigation"
40
+ description: "Enables tabbing and arrow key navigation (default: true)"
38
41
  },
39
42
  adaptiveHeight: {
40
43
  type: "boolean",
41
- defaultValue: false,
42
- description: "Adjust the slide's height automatically"
44
+ description: "Adjust the slide's height automatically (default: false)"
43
45
  },
44
46
  arrows: {
45
47
  type: "boolean",
46
- defaultValue: true,
47
- description: "Show next/prev arrows"
48
+ description: "Show next/prev arrows (default: true)"
48
49
  },
49
50
  autoplay: {
50
- type: "boolean",
51
- defaultValue: false
51
+ type: "boolean"
52
52
  },
53
53
  autoplaySpeed: {
54
54
  type: "number",
55
- defaultValue: 3000,
56
- description: "Delay between each auto scroll (in milliseconds)"
55
+ description: "Delay between each auto scroll, in milliseconds (default: 3000)"
57
56
  },
58
57
  centerMode: {
59
58
  type: "boolean",
60
- defaultValue: false,
61
- description: "Enables centered view with partial prev/next slides. Use with odd numbered slidesToShow counts"
59
+ description: "Enables centered view with partial prev/next slides. Use with odd numbered slidesToShow counts (default: false)"
62
60
  },
63
61
  centerPadding: {
64
62
  type: "string",
65
- defaultValue: "50px",
66
63
  description: "Side padding when in center mode (px or %)"
67
64
  },
68
65
  dots: {
69
66
  type: "boolean",
70
- defaultValue: false,
71
67
  description: "Show dots for each slide"
72
68
  },
73
69
  draggable: {
74
70
  type: "boolean",
75
- defaultValue: true,
76
- description: "Enables mouse dragging on desktop"
71
+ description: "Enables mouse dragging on desktop (default: true)"
77
72
  },
78
73
  easing: {
79
74
  type: "string",
80
- defaultValue: "linear",
81
75
  description: "Easing method for transition"
82
76
  },
83
77
  fade: {
84
78
  type: "boolean",
85
- defaultValue: false,
79
+ defaultValue: true,
86
80
  description: "Cross-fade between slides"
87
81
  },
88
82
  focusOnSelect: {
89
83
  type: "boolean",
90
- defaultValue: false,
91
84
  description: "Go to slide on click"
92
85
  },
93
86
  infinite: {
@@ -97,7 +90,6 @@ registerComponent(Slider, {
97
90
  },
98
91
  initialSlide: {
99
92
  type: "number",
100
- defaultValue: 0,
101
93
  description: "Index of initial slide"
102
94
  },
103
95
  lazyLoad: {
@@ -107,67 +99,54 @@ registerComponent(Slider, {
107
99
  },
108
100
  pauseOnDotsHover: {
109
101
  type: "boolean",
110
- defaultValue: false,
111
102
  description: "Prevents autoplay while hovering on dots"
112
103
  },
113
104
  pauseOnFocus: {
114
105
  type: "boolean",
115
- defaultValue: true,
116
106
  description: "Prevents autoplay while focused on slides"
117
107
  },
118
108
  pauseOnHover: {
119
109
  type: "boolean",
120
- defaultValue: true,
121
110
  description: "Prevents autoplay while hovering on track"
122
111
  },
123
112
  rows: {
124
113
  type: "number",
125
- defaultValue: 1,
126
114
  description: "Number of rows per slide (enables grid mode)"
127
115
  },
128
116
  rtl: {
129
117
  type: "boolean",
130
- defaultValue: false,
131
118
  description: "Reverses the slide order"
132
119
  },
133
120
  slide: {
134
121
  type: "string",
135
- defaultValue: "div",
136
- description: "Slide container element type"
122
+ description: 'Slide container element type (defaults to "div")'
137
123
  },
138
124
  slidesPerRow: {
139
125
  type: "number",
140
- defaultValue: 1,
141
126
  description: "Number of slides to display in grid mode, this is useful with rows option"
142
127
  },
143
128
  slidesToScroll: {
144
129
  type: "number",
145
- defaultValue: 1,
146
130
  description: "Number of slides to scroll at once"
147
131
  },
148
132
  slidesToShow: {
149
133
  type: "number",
150
- defaultValue: 1,
151
134
  description: "Number of slides to show in one frame"
152
135
  },
153
136
  speed: {
154
137
  type: "number",
155
- defaultValue: 500,
156
- description: "Transition speed in milliseconds"
138
+ description: "Transition speed in milliseconds (defaults to 500)"
157
139
  },
158
140
  swipe: {
159
141
  type: "boolean",
160
- defaultValue: true,
161
142
  description: "Enable swiping to change slides"
162
143
  },
163
144
  swipeToSlide: {
164
145
  type: "boolean",
165
- defaultValue: false,
166
146
  description: "Enable drag/swipe irrespective of 'slidesToScroll'"
167
147
  },
168
148
  touchMove: {
169
149
  type: "boolean",
170
- defaultValue: true,
171
150
  description: "Enable slide moving on touch"
172
151
  },
173
152
  touchThreshold: {
@@ -177,22 +156,19 @@ registerComponent(Slider, {
177
156
  },
178
157
  useCSS: {
179
158
  type: "boolean",
180
- defaultValue: true,
181
159
  description: "Enable/Disable CSS Transitions"
182
160
  },
183
161
  useTransform: {
184
162
  type: "boolean",
185
- defaultValue: true,
186
163
  description: "Enable/Disable CSS Transforms"
187
164
  },
188
165
  variableWidth: {
189
166
  type: "boolean",
190
- defaultValue: false,
191
167
  description: "Variable width slides"
192
168
  },
193
169
  vertical: {
194
170
  type: "boolean",
195
- defaultValue: false,
171
+ defaultValue: true,
196
172
  description: "Vertical slide mode"
197
173
  }
198
174
  },
@@ -201,5 +177,15 @@ registerComponent(Slider, {
201
177
  width: "stretch",
202
178
  maxWidth: "100%"
203
179
  }
204
- });
180
+ };
181
+ function registerSlider(loader, customSliderMeta) {
182
+ if (loader) {
183
+ loader.registerComponent(Slider, customSliderMeta != null ? customSliderMeta : sliderMeta);
184
+ } else {
185
+ registerComponent(Slider, customSliderMeta != null ? customSliderMeta : sliderMeta);
186
+ }
187
+ }
188
+
189
+ exports.registerSlider = registerSlider;
190
+ exports.sliderMeta = sliderMeta;
205
191
  //# sourceMappingURL=react-slick.cjs.development.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-slick.cjs.development.js","sources":["../src/index.tsx"],"sourcesContent":["import registerComponent from \"@plasmicapp/host/registerComponent\";\nimport Slider from \"react-slick\";\n\n// TODO Do not actually provide defaultValues everywhere.\n\nregisterComponent(Slider, {\n name: \"Slider\",\n importPath: \"react-slick\",\n props: {\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"img\",\n src: \"https://via.placeholder.com/350x150\",\n style: {\n maxWidth: \"100%\",\n },\n },\n {\n type: \"img\",\n src: \"https://via.placeholder.com/350x150\",\n style: {\n maxWidth: \"100%\",\n },\n },\n {\n type: \"img\",\n src: \"https://via.placeholder.com/350x150\",\n style: {\n maxWidth: \"100%\",\n },\n },\n ],\n },\n accessibility: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Enables tabbing and arrow key navigation\",\n },\n adaptiveHeight: {\n type: \"boolean\",\n defaultValue: false,\n description: \"Adjust the slide's height automatically\",\n },\n arrows: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Show next/prev arrows\",\n },\n autoplay: {\n type: \"boolean\",\n defaultValue: false,\n },\n autoplaySpeed: {\n type: \"number\",\n defaultValue: 3000,\n description: \"Delay between each auto scroll (in milliseconds)\",\n },\n centerMode: {\n type: \"boolean\",\n defaultValue: false,\n description:\n \"Enables centered view with partial prev/next slides. Use with odd numbered slidesToShow counts\",\n },\n centerPadding: {\n type: \"string\",\n defaultValue: \"50px\",\n description: \"Side padding when in center mode (px or %)\",\n },\n dots: {\n type: \"boolean\",\n defaultValue: false,\n description: \"Show dots for each slide\",\n },\n draggable: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Enables mouse dragging on desktop\",\n },\n easing: {\n type: \"string\",\n defaultValue: \"linear\",\n description: \"Easing method for transition\",\n },\n fade: {\n type: \"boolean\",\n defaultValue: false,\n description: \"Cross-fade between slides\",\n },\n focusOnSelect: {\n type: \"boolean\",\n defaultValue: false,\n description: \"Go to slide on click\",\n },\n infinite: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Infinitely wrap around contents\",\n },\n initialSlide: {\n type: \"number\",\n defaultValue: 0,\n description: \"Index of initial slide\",\n },\n lazyLoad: {\n type: \"choice\",\n options: [\"ondemand\", \"progressive\"],\n description:\n \"Load images or render components on demand or progressively\",\n },\n pauseOnDotsHover: {\n type: \"boolean\",\n defaultValue: false,\n description: \"Prevents autoplay while hovering on dots\",\n },\n pauseOnFocus: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Prevents autoplay while focused on slides\",\n },\n pauseOnHover: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Prevents autoplay while hovering on track\",\n },\n rows: {\n type: \"number\",\n defaultValue: 1,\n description: \"Number of rows per slide (enables grid mode)\",\n },\n rtl: {\n type: \"boolean\",\n defaultValue: false,\n description: \"Reverses the slide order\",\n },\n slide: {\n type: \"string\",\n defaultValue: \"div\",\n description: \"Slide container element type\",\n },\n slidesPerRow: {\n type: \"number\",\n defaultValue: 1,\n description:\n \"Number of slides to display in grid mode, this is useful with rows option\",\n },\n slidesToScroll: {\n type: \"number\",\n defaultValue: 1,\n description: \"Number of slides to scroll at once\",\n },\n slidesToShow: {\n type: \"number\",\n defaultValue: 1,\n description: \"Number of slides to show in one frame\",\n },\n speed: {\n type: \"number\",\n defaultValue: 500,\n description: \"Transition speed in milliseconds\",\n },\n swipe: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Enable swiping to change slides\",\n },\n swipeToSlide: {\n type: \"boolean\",\n defaultValue: false,\n description: \"Enable drag/swipe irrespective of 'slidesToScroll'\",\n },\n touchMove: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Enable slide moving on touch\",\n },\n touchThreshold: {\n type: \"number\",\n defaultValue: 5,\n description: \"Swipe distance threshold in pixels\",\n },\n useCSS: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Enable/Disable CSS Transitions\",\n },\n useTransform: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Enable/Disable CSS Transforms\",\n },\n variableWidth: {\n type: \"boolean\",\n defaultValue: false,\n description: \"Variable width slides\",\n },\n vertical: {\n type: \"boolean\",\n defaultValue: false,\n description: \"Vertical slide mode\",\n },\n },\n isDefaultExport: true,\n defaultStyles: {\n width: \"stretch\",\n maxWidth: \"100%\",\n },\n});\n"],"names":["registerComponent","Slider","name","importPath","props","children","type","defaultValue","src","style","maxWidth","accessibility","description","adaptiveHeight","arrows","autoplay","autoplaySpeed","centerMode","centerPadding","dots","draggable","easing","fade","focusOnSelect","infinite","initialSlide","lazyLoad","options","pauseOnDotsHover","pauseOnFocus","pauseOnHover","rows","rtl","slide","slidesPerRow","slidesToScroll","slidesToShow","speed","swipe","swipeToSlide","touchMove","touchThreshold","useCSS","useTransform","variableWidth","vertical","isDefaultExport","defaultStyles","width"],"mappings":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KAFN;AAGRK,MAAAA,WAAW,EAAE;AAHL;AA7LL,GAHiB;AAsMxBkC,EAAAA,eAAe,EAAE,IAtMO;AAuMxBC,EAAAA,aAAa,EAAE;AACbC,IAAAA,KAAK,EAAE,SADM;AAEbtC,IAAAA,QAAQ,EAAE;AAFG;AAvMS,CAAT,CAAjB"}
1
+ {"version":3,"file":"react-slick.cjs.development.js","sources":["../src/index.tsx"],"sourcesContent":["import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport Slider, { Settings } from \"react-slick\";\n\nexport const sliderMeta: ComponentMeta<Settings> = {\n name: \"hostless-slider\",\n displayName: \"Slider\",\n importName: \"Slider\",\n importPath: \"react-slick\",\n props: {\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"img\",\n src: \"https://via.placeholder.com/150/FF0000/FFFFFF/?text=Slide_1\",\n style: {\n maxWidth: \"100%\",\n },\n },\n {\n type: \"img\",\n src: \"https://via.placeholder.com/150/00FF00/FFFFFF/?text=Slide_2\",\n style: {\n maxWidth: \"100%\",\n },\n },\n {\n type: \"img\",\n src: \"https://via.placeholder.com/150/0000FF/FFFFFF/?text=Slide_3\",\n style: {\n maxWidth: \"100%\",\n },\n },\n ],\n },\n accessibility: {\n type: \"boolean\",\n description: \"Enables tabbing and arrow key navigation (default: true)\",\n },\n adaptiveHeight: {\n type: \"boolean\",\n description: \"Adjust the slide's height automatically (default: false)\",\n },\n arrows: {\n type: \"boolean\",\n description: \"Show next/prev arrows (default: true)\",\n },\n autoplay: {\n type: \"boolean\",\n },\n autoplaySpeed: {\n type: \"number\",\n description:\n \"Delay between each auto scroll, in milliseconds (default: 3000)\",\n },\n centerMode: {\n type: \"boolean\",\n description:\n \"Enables centered view with partial prev/next slides. Use with odd numbered slidesToShow counts (default: false)\",\n },\n centerPadding: {\n type: \"string\",\n description: \"Side padding when in center mode (px or %)\",\n },\n dots: {\n type: \"boolean\",\n description: \"Show dots for each slide\",\n },\n draggable: {\n type: \"boolean\",\n description: \"Enables mouse dragging on desktop (default: true)\",\n },\n easing: {\n type: \"string\",\n description: \"Easing method for transition\",\n },\n fade: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Cross-fade between slides\",\n },\n focusOnSelect: {\n type: \"boolean\",\n description: \"Go to slide on click\",\n },\n infinite: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Infinitely wrap around contents\",\n },\n initialSlide: {\n type: \"number\",\n description: \"Index of initial slide\",\n },\n lazyLoad: {\n type: \"choice\",\n options: [\"ondemand\", \"progressive\"],\n description:\n \"Load images or render components on demand or progressively\",\n },\n pauseOnDotsHover: {\n type: \"boolean\",\n description: \"Prevents autoplay while hovering on dots\",\n },\n pauseOnFocus: {\n type: \"boolean\",\n description: \"Prevents autoplay while focused on slides\",\n },\n pauseOnHover: {\n type: \"boolean\",\n description: \"Prevents autoplay while hovering on track\",\n },\n rows: {\n type: \"number\",\n description: \"Number of rows per slide (enables grid mode)\",\n },\n rtl: {\n type: \"boolean\",\n description: \"Reverses the slide order\",\n },\n slide: {\n type: \"string\",\n description: 'Slide container element type (defaults to \"div\")',\n },\n slidesPerRow: {\n type: \"number\",\n description:\n \"Number of slides to display in grid mode, this is useful with rows option\",\n },\n slidesToScroll: {\n type: \"number\",\n description: \"Number of slides to scroll at once\",\n },\n slidesToShow: {\n type: \"number\",\n description: \"Number of slides to show in one frame\",\n },\n speed: {\n type: \"number\",\n description: \"Transition speed in milliseconds (defaults to 500)\",\n },\n swipe: {\n type: \"boolean\",\n description: \"Enable swiping to change slides\",\n },\n swipeToSlide: {\n type: \"boolean\",\n description: \"Enable drag/swipe irrespective of 'slidesToScroll'\",\n },\n touchMove: {\n type: \"boolean\",\n description: \"Enable slide moving on touch\",\n },\n touchThreshold: {\n type: \"number\",\n defaultValue: 5,\n description: \"Swipe distance threshold in pixels\",\n },\n useCSS: {\n type: \"boolean\",\n description: \"Enable/Disable CSS Transitions\",\n },\n useTransform: {\n type: \"boolean\",\n description: \"Enable/Disable CSS Transforms\",\n },\n variableWidth: {\n type: \"boolean\",\n description: \"Variable width slides\",\n },\n vertical: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Vertical slide mode\",\n },\n },\n isDefaultExport: true,\n defaultStyles: {\n width: \"stretch\",\n maxWidth: \"100%\",\n },\n};\n\nexport function registerSlider(\n loader?: { registerComponent: typeof registerComponent },\n customSliderMeta?: ComponentMeta<Settings>\n) {\n if (loader) {\n loader.registerComponent(Slider, customSliderMeta ?? sliderMeta);\n } else {\n registerComponent(Slider, customSliderMeta ?? sliderMeta);\n }\n}\n"],"names":["sliderMeta","name","displayName","importName","importPath","props","children","type","defaultValue","src","style","maxWidth","accessibility","description","adaptiveHeight","arrows","autoplay","autoplaySpeed","centerMode","centerPadding","dots","draggable","easing","fade","focusOnSelect","infinite","initialSlide","lazyLoad","options","pauseOnDotsHover","pauseOnFocus","pauseOnHover","rows","rtl","slide","slidesPerRow","slidesToScroll","slidesToShow","speed","swipe","swipeToSlide","touchMove","touchThreshold","useCSS","useTransform","variableWidth","vertical","isDefaultExport","defaultStyles","width","registerSlider","loader","customSliderMeta","registerComponent","Slider"],"mappings":";;;;;;;;;IAKaA,UAAU,GAA4B;AACjDC,EAAAA,IAAI,EAAE,iBAD2C;AAEjDC,EAAAA,WAAW,EAAE,QAFoC;AAGjDC,EAAAA,UAAU,EAAE,QAHqC;AAIjDC,EAAAA,UAAU,EAAE,aAJqC;AAKjDC,EAAAA,KAAK,EAAE;AACLC,IAAAA,QAAQ,EAAE;AACRC,MAAAA,IAAI,EAAE,MADE;AAERC,MAAAA,YAAY,EAAE,CACZ;AACED,QAAAA,IAAI,EAAE,KADR;AAEEE,QAAAA,GAAG,EAAE,6DAFP;AAGEC,QAAAA,KAAK,EAAE;AACLC,UAAAA,QAAQ,EAAE;AADL;AAHT,OADY,EAQZ;AACEJ,QAAAA,IAAI,EAAE,KADR;AAEEE,QAAAA,GAAG,EAAE,6DAFP;AAGEC,QAAAA,KAAK,EAAE;AACLC,UAAAA,QAA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AAEbtC,IAAAA,QAAQ,EAAE;AAFG;AA9KkC;SAoLnCuC,eACdC,QACAC;AAEA,MAAID,MAAJ,EAAY;AACVA,IAAAA,MAAM,CAACE,iBAAP,CAAyBC,MAAzB,EAAiCF,gBAAjC,WAAiCA,gBAAjC,GAAqDpD,UAArD;AACD,GAFD,MAEO;AACLqD,IAAAA,iBAAiB,CAACC,MAAD,EAASF,gBAAT,WAASA,gBAAT,GAA6BpD,UAA7B,CAAjB;AACD;AACF;;;;;"}
@@ -1,2 +1,2 @@
1
- "use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}e(require("@plasmicapp/host/registerComponent"))(e(require("react-slick")),{name:"Slider",importPath:"react-slick",props:{children:{type:"slot",defaultValue:[{type:"img",src:"https://via.placeholder.com/350x150",style:{maxWidth:"100%"}},{type:"img",src:"https://via.placeholder.com/350x150",style:{maxWidth:"100%"}},{type:"img",src:"https://via.placeholder.com/350x150",style:{maxWidth:"100%"}}]},accessibility:{type:"boolean",defaultValue:!0,description:"Enables tabbing and arrow key navigation"},adaptiveHeight:{type:"boolean",defaultValue:!1,description:"Adjust the slide's height automatically"},arrows:{type:"boolean",defaultValue:!0,description:"Show next/prev arrows"},autoplay:{type:"boolean",defaultValue:!1},autoplaySpeed:{type:"number",defaultValue:3e3,description:"Delay between each auto scroll (in milliseconds)"},centerMode:{type:"boolean",defaultValue:!1,description:"Enables centered view with partial prev/next slides. Use with odd numbered slidesToShow counts"},centerPadding:{type:"string",defaultValue:"50px",description:"Side padding when in center mode (px or %)"},dots:{type:"boolean",defaultValue:!1,description:"Show dots for each slide"},draggable:{type:"boolean",defaultValue:!0,description:"Enables mouse dragging on desktop"},easing:{type:"string",defaultValue:"linear",description:"Easing method for transition"},fade:{type:"boolean",defaultValue:!1,description:"Cross-fade between slides"},focusOnSelect:{type:"boolean",defaultValue:!1,description:"Go to slide on click"},infinite:{type:"boolean",defaultValue:!0,description:"Infinitely wrap around contents"},initialSlide:{type:"number",defaultValue:0,description:"Index of initial slide"},lazyLoad:{type:"choice",options:["ondemand","progressive"],description:"Load images or render components on demand or progressively"},pauseOnDotsHover:{type:"boolean",defaultValue:!1,description:"Prevents autoplay while hovering on dots"},pauseOnFocus:{type:"boolean",defaultValue:!0,description:"Prevents autoplay while focused on slides"},pauseOnHover:{type:"boolean",defaultValue:!0,description:"Prevents autoplay while hovering on track"},rows:{type:"number",defaultValue:1,description:"Number of rows per slide (enables grid mode)"},rtl:{type:"boolean",defaultValue:!1,description:"Reverses the slide order"},slide:{type:"string",defaultValue:"div",description:"Slide container element type"},slidesPerRow:{type:"number",defaultValue:1,description:"Number of slides to display in grid mode, this is useful with rows option"},slidesToScroll:{type:"number",defaultValue:1,description:"Number of slides to scroll at once"},slidesToShow:{type:"number",defaultValue:1,description:"Number of slides to show in one frame"},speed:{type:"number",defaultValue:500,description:"Transition speed in milliseconds"},swipe:{type:"boolean",defaultValue:!0,description:"Enable swiping to change slides"},swipeToSlide:{type:"boolean",defaultValue:!1,description:"Enable drag/swipe irrespective of 'slidesToScroll'"},touchMove:{type:"boolean",defaultValue:!0,description:"Enable slide moving on touch"},touchThreshold:{type:"number",defaultValue:5,description:"Swipe distance threshold in pixels"},useCSS:{type:"boolean",defaultValue:!0,description:"Enable/Disable CSS Transitions"},useTransform:{type:"boolean",defaultValue:!0,description:"Enable/Disable CSS Transforms"},variableWidth:{type:"boolean",defaultValue:!1,description:"Variable width slides"},vertical:{type:"boolean",defaultValue:!1,description:"Vertical slide mode"}},isDefaultExport:!0,defaultStyles:{width:"stretch",maxWidth:"100%"}});
1
+ "use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("@plasmicapp/host/registerComponent")),i=e(require("react-slick")),o={name:"hostless-slider",displayName:"Slider",importName:"Slider",importPath:"react-slick",props:{children:{type:"slot",defaultValue:[{type:"img",src:"https://via.placeholder.com/150/FF0000/FFFFFF/?text=Slide_1",style:{maxWidth:"100%"}},{type:"img",src:"https://via.placeholder.com/150/00FF00/FFFFFF/?text=Slide_2",style:{maxWidth:"100%"}},{type:"img",src:"https://via.placeholder.com/150/0000FF/FFFFFF/?text=Slide_3",style:{maxWidth:"100%"}}]},accessibility:{type:"boolean",description:"Enables tabbing and arrow key navigation (default: true)"},adaptiveHeight:{type:"boolean",description:"Adjust the slide's height automatically (default: false)"},arrows:{type:"boolean",description:"Show next/prev arrows (default: true)"},autoplay:{type:"boolean"},autoplaySpeed:{type:"number",description:"Delay between each auto scroll, in milliseconds (default: 3000)"},centerMode:{type:"boolean",description:"Enables centered view with partial prev/next slides. Use with odd numbered slidesToShow counts (default: false)"},centerPadding:{type:"string",description:"Side padding when in center mode (px or %)"},dots:{type:"boolean",description:"Show dots for each slide"},draggable:{type:"boolean",description:"Enables mouse dragging on desktop (default: true)"},easing:{type:"string",description:"Easing method for transition"},fade:{type:"boolean",defaultValue:!0,description:"Cross-fade between slides"},focusOnSelect:{type:"boolean",description:"Go to slide on click"},infinite:{type:"boolean",defaultValue:!0,description:"Infinitely wrap around contents"},initialSlide:{type:"number",description:"Index of initial slide"},lazyLoad:{type:"choice",options:["ondemand","progressive"],description:"Load images or render components on demand or progressively"},pauseOnDotsHover:{type:"boolean",description:"Prevents autoplay while hovering on dots"},pauseOnFocus:{type:"boolean",description:"Prevents autoplay while focused on slides"},pauseOnHover:{type:"boolean",description:"Prevents autoplay while hovering on track"},rows:{type:"number",description:"Number of rows per slide (enables grid mode)"},rtl:{type:"boolean",description:"Reverses the slide order"},slide:{type:"string",description:'Slide container element type (defaults to "div")'},slidesPerRow:{type:"number",description:"Number of slides to display in grid mode, this is useful with rows option"},slidesToScroll:{type:"number",description:"Number of slides to scroll at once"},slidesToShow:{type:"number",description:"Number of slides to show in one frame"},speed:{type:"number",description:"Transition speed in milliseconds (defaults to 500)"},swipe:{type:"boolean",description:"Enable swiping to change slides"},swipeToSlide:{type:"boolean",description:"Enable drag/swipe irrespective of 'slidesToScroll'"},touchMove:{type:"boolean",description:"Enable slide moving on touch"},touchThreshold:{type:"number",defaultValue:5,description:"Swipe distance threshold in pixels"},useCSS:{type:"boolean",description:"Enable/Disable CSS Transitions"},useTransform:{type:"boolean",description:"Enable/Disable CSS Transforms"},variableWidth:{type:"boolean",description:"Variable width slides"},vertical:{type:"boolean",defaultValue:!0,description:"Vertical slide mode"}},isDefaultExport:!0,defaultStyles:{width:"stretch",maxWidth:"100%"}};exports.registerSlider=function(e,s){e?e.registerComponent(i,null!=s?s:o):t(i,null!=s?s:o)},exports.sliderMeta=o;
2
2
  //# sourceMappingURL=react-slick.cjs.production.min.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-slick.cjs.production.min.js","sources":["../src/index.tsx"],"sourcesContent":["import registerComponent from \"@plasmicapp/host/registerComponent\";\nimport Slider from \"react-slick\";\n\n// TODO Do not actually provide defaultValues everywhere.\n\nregisterComponent(Slider, {\n name: \"Slider\",\n importPath: \"react-slick\",\n props: {\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"img\",\n src: \"https://via.placeholder.com/350x150\",\n style: {\n maxWidth: \"100%\",\n },\n },\n {\n type: \"img\",\n src: \"https://via.placeholder.com/350x150\",\n style: {\n maxWidth: \"100%\",\n },\n },\n {\n type: \"img\",\n src: \"https://via.placeholder.com/350x150\",\n style: {\n maxWidth: \"100%\",\n },\n },\n ],\n },\n accessibility: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Enables tabbing and arrow key navigation\",\n },\n adaptiveHeight: {\n type: \"boolean\",\n defaultValue: false,\n description: \"Adjust the slide's height automatically\",\n },\n arrows: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Show next/prev arrows\",\n },\n autoplay: {\n type: \"boolean\",\n defaultValue: false,\n },\n autoplaySpeed: {\n type: \"number\",\n defaultValue: 3000,\n description: \"Delay between each auto scroll (in milliseconds)\",\n },\n centerMode: {\n type: \"boolean\",\n defaultValue: false,\n description:\n \"Enables centered view with partial prev/next slides. Use with odd numbered slidesToShow counts\",\n },\n centerPadding: {\n type: \"string\",\n defaultValue: \"50px\",\n description: \"Side padding when in center mode (px or %)\",\n },\n dots: {\n type: \"boolean\",\n defaultValue: false,\n description: \"Show dots for each slide\",\n },\n draggable: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Enables mouse dragging on desktop\",\n },\n easing: {\n type: \"string\",\n defaultValue: \"linear\",\n description: \"Easing method for transition\",\n },\n fade: {\n type: \"boolean\",\n defaultValue: false,\n description: \"Cross-fade between slides\",\n },\n focusOnSelect: {\n type: \"boolean\",\n defaultValue: false,\n description: \"Go to slide on click\",\n },\n infinite: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Infinitely wrap around contents\",\n },\n initialSlide: {\n type: \"number\",\n defaultValue: 0,\n description: \"Index of initial slide\",\n },\n lazyLoad: {\n type: \"choice\",\n options: [\"ondemand\", \"progressive\"],\n description:\n \"Load images or render components on demand or progressively\",\n },\n pauseOnDotsHover: {\n type: \"boolean\",\n defaultValue: false,\n description: \"Prevents autoplay while hovering on dots\",\n },\n pauseOnFocus: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Prevents autoplay while focused on slides\",\n },\n pauseOnHover: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Prevents autoplay while hovering on track\",\n },\n rows: {\n type: \"number\",\n defaultValue: 1,\n description: \"Number of rows per slide (enables grid mode)\",\n },\n rtl: {\n type: \"boolean\",\n defaultValue: false,\n description: \"Reverses the slide order\",\n },\n slide: {\n type: \"string\",\n defaultValue: \"div\",\n description: \"Slide container element type\",\n },\n slidesPerRow: {\n type: \"number\",\n defaultValue: 1,\n description:\n \"Number of slides to display in grid mode, this is useful with rows option\",\n },\n slidesToScroll: {\n type: \"number\",\n defaultValue: 1,\n description: \"Number of slides to scroll at once\",\n },\n slidesToShow: {\n type: \"number\",\n defaultValue: 1,\n description: \"Number of slides to show in one frame\",\n },\n speed: {\n type: \"number\",\n defaultValue: 500,\n description: \"Transition speed in milliseconds\",\n },\n swipe: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Enable swiping to change slides\",\n },\n swipeToSlide: {\n type: \"boolean\",\n defaultValue: false,\n description: \"Enable drag/swipe irrespective of 'slidesToScroll'\",\n },\n touchMove: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Enable slide moving on touch\",\n },\n touchThreshold: {\n type: \"number\",\n defaultValue: 5,\n description: \"Swipe distance threshold in pixels\",\n },\n useCSS: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Enable/Disable CSS Transitions\",\n },\n useTransform: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Enable/Disable CSS Transforms\",\n },\n variableWidth: {\n type: \"boolean\",\n defaultValue: false,\n description: \"Variable width slides\",\n },\n vertical: {\n type: \"boolean\",\n defaultValue: false,\n description: \"Vertical slide mode\",\n },\n },\n isDefaultExport: true,\n defaultStyles: {\n width: \"stretch\",\n maxWidth: \"100%\",\n },\n});\n"],"names":["registerComponent","name","importPath","props","children","type","defaultValue","src","style","maxWidth","accessibility","description","adaptiveHeight","arrows","autoplay","autoplaySpeed","centerMode","centerPadding","dots","draggable","easing","fade","focusOnSelect","infinite","initialSlide","lazyLoad","options","pauseOnDotsHover","pauseOnFocus","pauseOnHover","rows","rtl","slide","slidesPerRow","slidesToScroll","slidesToShow","speed","swipe","swipeToSlide","touchMove","touchThreshold","useCSS","useTransform","variableWidth","vertical","isDefaultExport","defaultStyles","width"],"mappings":"mIAKAA,2BAA0B,CACxBC,KAAM,SACNC,WAAY,cACZC,MAAO,CACLC,SAAU,CACRC,KAAM,OACNC,aAAc,CACZ,CACED,KAAM,MACNE,IAAK,sCACLC,MAAO,CACLC,SAAU,SAGd,CACEJ,KAAM,MACNE,IAAK,sCACLC,MAAO,CACLC,SAAU,SAGd,CACEJ,KAAM,MACNE,IAAK,sCACLC,MAAO,CACLC,SAAU,WAKlBC,cAAe,CACbL,KAAM,UACNC,cAAc,EACdK,YAAa,4CAEfC,eAAgB,CACdP,KAAM,UACNC,cAAc,EACdK,YAAa,2CAEfE,OAAQ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ACdK,YAAa,mCAEf2B,aAAc,CACZjC,KAAM,UACNC,cAAc,EACdK,YAAa,sDAEf4B,UAAW,CACTlC,KAAM,UACNC,cAAc,EACdK,YAAa,gCAEf6B,eAAgB,CACdnC,KAAM,SACNC,aAAc,EACdK,YAAa,sCAEf8B,OAAQ,CACNpC,KAAM,UACNC,cAAc,EACdK,YAAa,kCAEf+B,aAAc,CACZrC,KAAM,UACNC,cAAc,EACdK,YAAa,iCAEfgC,cAAe,CACbtC,KAAM,UACNC,cAAc,EACdK,YAAa,yBAEfiC,SAAU,CACRvC,KAAM,UACNC,cAAc,EACdK,YAAa,wBAGjBkC,iBAAiB,EACjBC,cAAe,CACbC,MAAO,UACPtC,SAAU"}
1
+ {"version":3,"file":"react-slick.cjs.production.min.js","sources":["../src/index.tsx"],"sourcesContent":["import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport Slider, { Settings } from \"react-slick\";\n\nexport const sliderMeta: ComponentMeta<Settings> = {\n name: \"hostless-slider\",\n displayName: \"Slider\",\n importName: \"Slider\",\n importPath: \"react-slick\",\n props: {\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"img\",\n src: \"https://via.placeholder.com/150/FF0000/FFFFFF/?text=Slide_1\",\n style: {\n maxWidth: \"100%\",\n },\n },\n {\n type: \"img\",\n src: \"https://via.placeholder.com/150/00FF00/FFFFFF/?text=Slide_2\",\n style: {\n maxWidth: \"100%\",\n },\n },\n {\n type: \"img\",\n src: \"https://via.placeholder.com/150/0000FF/FFFFFF/?text=Slide_3\",\n style: {\n maxWidth: \"100%\",\n },\n },\n ],\n },\n accessibility: {\n type: \"boolean\",\n description: \"Enables tabbing and arrow key navigation (default: true)\",\n },\n adaptiveHeight: {\n type: \"boolean\",\n description: \"Adjust the slide's height automatically (default: false)\",\n },\n arrows: {\n type: \"boolean\",\n description: \"Show next/prev arrows (default: true)\",\n },\n autoplay: {\n type: \"boolean\",\n },\n autoplaySpeed: {\n type: \"number\",\n description:\n \"Delay between each auto scroll, in milliseconds (default: 3000)\",\n },\n centerMode: {\n type: \"boolean\",\n description:\n \"Enables centered view with partial prev/next slides. Use with odd numbered slidesToShow counts (default: false)\",\n },\n centerPadding: {\n type: \"string\",\n description: \"Side padding when in center mode (px or %)\",\n },\n dots: {\n type: \"boolean\",\n description: \"Show dots for each slide\",\n },\n draggable: {\n type: \"boolean\",\n description: \"Enables mouse dragging on desktop (default: true)\",\n },\n easing: {\n type: \"string\",\n description: \"Easing method for transition\",\n },\n fade: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Cross-fade between slides\",\n },\n focusOnSelect: {\n type: \"boolean\",\n description: \"Go to slide on click\",\n },\n infinite: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Infinitely wrap around contents\",\n },\n initialSlide: {\n type: \"number\",\n description: \"Index of initial slide\",\n },\n lazyLoad: {\n type: \"choice\",\n options: [\"ondemand\", \"progressive\"],\n description:\n \"Load images or render components on demand or progressively\",\n },\n pauseOnDotsHover: {\n type: \"boolean\",\n description: \"Prevents autoplay while hovering on dots\",\n },\n pauseOnFocus: {\n type: \"boolean\",\n description: \"Prevents autoplay while focused on slides\",\n },\n pauseOnHover: {\n type: \"boolean\",\n description: \"Prevents autoplay while hovering on track\",\n },\n rows: {\n type: \"number\",\n description: \"Number of rows per slide (enables grid mode)\",\n },\n rtl: {\n type: \"boolean\",\n description: \"Reverses the slide order\",\n },\n slide: {\n type: \"string\",\n description: 'Slide container element type (defaults to \"div\")',\n },\n slidesPerRow: {\n type: \"number\",\n description:\n \"Number of slides to display in grid mode, this is useful with rows option\",\n },\n slidesToScroll: {\n type: \"number\",\n description: \"Number of slides to scroll at once\",\n },\n slidesToShow: {\n type: \"number\",\n description: \"Number of slides to show in one frame\",\n },\n speed: {\n type: \"number\",\n description: \"Transition speed in milliseconds (defaults to 500)\",\n },\n swipe: {\n type: \"boolean\",\n description: \"Enable swiping to change slides\",\n },\n swipeToSlide: {\n type: \"boolean\",\n description: \"Enable drag/swipe irrespective of 'slidesToScroll'\",\n },\n touchMove: {\n type: \"boolean\",\n description: \"Enable slide moving on touch\",\n },\n touchThreshold: {\n type: \"number\",\n defaultValue: 5,\n description: \"Swipe distance threshold in pixels\",\n },\n useCSS: {\n type: \"boolean\",\n description: \"Enable/Disable CSS Transitions\",\n },\n useTransform: {\n type: \"boolean\",\n description: \"Enable/Disable CSS Transforms\",\n },\n variableWidth: {\n type: \"boolean\",\n description: \"Variable width slides\",\n },\n vertical: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Vertical slide mode\",\n },\n },\n isDefaultExport: true,\n defaultStyles: {\n width: \"stretch\",\n maxWidth: \"100%\",\n },\n};\n\nexport function registerSlider(\n loader?: { registerComponent: typeof registerComponent },\n customSliderMeta?: ComponentMeta<Settings>\n) {\n if (loader) {\n loader.registerComponent(Slider, customSliderMeta ?? sliderMeta);\n } else {\n registerComponent(Slider, customSliderMeta ?? sliderMeta);\n }\n}\n"],"names":["sliderMeta","name","displayName","importName","importPath","props","children","type","defaultValue","src","style","maxWidth","accessibility","description","adaptiveHeight","arrows","autoplay","autoplaySpeed","centerMode","centerPadding","dots","draggable","easing","fade","focusOnSelect","infinite","initialSlide","lazyLoad","options","pauseOnDotsHover","pauseOnFocus","pauseOnHover","rows","rtl","slide","slidesPerRow","slidesToScroll","slidesToShow","speed","swipe","swipeToSlide","touchMove","touchThreshold","useCSS","useTransform","variableWidth","vertical","isDefaultExport","defaultStyles","width","loader","customSliderMeta","registerComponent","Slider"],"mappings":"6NAKaA,EAAsC,CACjDC,KAAM,kBACNC,YAAa,SACbC,WAAY,SACZC,WAAY,cACZC,MAAO,CACLC,SAAU,CACRC,KAAM,OACNC,aAAc,CACZ,CACED,KAAM,MACNE,IAAK,8DACLC,MAAO,CACLC,SAAU,SAGd,CACEJ,KAAM,MACNE,IAAK,8DACLC,MAAO,CACLC,SAAU,SAGd,CACEJ,KAAM,MACNE,IAAK,8DACLC,MAAO,CACLC,SAAU,WAKlBC,cAAe,CACb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YAAa,kCAEf+B,aAAc,CACZrC,KAAM,UACNM,YAAa,iCAEfgC,cAAe,CACbtC,KAAM,UACNM,YAAa,yBAEfiC,SAAU,CACRvC,KAAM,UACNC,cAAc,EACdK,YAAa,wBAGjBkC,iBAAiB,EACjBC,cAAe,CACbC,MAAO,UACPtC,SAAU,yCAKZuC,EACAC,GAEID,EACFA,EAAOE,kBAAkBC,QAAQF,EAAAA,EAAoBnD,GAErDoD,EAAkBC,QAAQF,EAAAA,EAAoBnD"}
@@ -1,27 +1,29 @@
1
1
  import registerComponent from '@plasmicapp/host/registerComponent';
2
2
  import Slider from 'react-slick';
3
3
 
4
- registerComponent(Slider, {
5
- name: "Slider",
4
+ var sliderMeta = {
5
+ name: "hostless-slider",
6
+ displayName: "Slider",
7
+ importName: "Slider",
6
8
  importPath: "react-slick",
7
9
  props: {
8
10
  children: {
9
11
  type: "slot",
10
12
  defaultValue: [{
11
13
  type: "img",
12
- src: "https://via.placeholder.com/350x150",
14
+ src: "https://via.placeholder.com/150/FF0000/FFFFFF/?text=Slide_1",
13
15
  style: {
14
16
  maxWidth: "100%"
15
17
  }
16
18
  }, {
17
19
  type: "img",
18
- src: "https://via.placeholder.com/350x150",
20
+ src: "https://via.placeholder.com/150/00FF00/FFFFFF/?text=Slide_2",
19
21
  style: {
20
22
  maxWidth: "100%"
21
23
  }
22
24
  }, {
23
25
  type: "img",
24
- src: "https://via.placeholder.com/350x150",
26
+ src: "https://via.placeholder.com/150/0000FF/FFFFFF/?text=Slide_3",
25
27
  style: {
26
28
  maxWidth: "100%"
27
29
  }
@@ -29,61 +31,50 @@ registerComponent(Slider, {
29
31
  },
30
32
  accessibility: {
31
33
  type: "boolean",
32
- defaultValue: true,
33
- description: "Enables tabbing and arrow key navigation"
34
+ description: "Enables tabbing and arrow key navigation (default: true)"
34
35
  },
35
36
  adaptiveHeight: {
36
37
  type: "boolean",
37
- defaultValue: false,
38
- description: "Adjust the slide's height automatically"
38
+ description: "Adjust the slide's height automatically (default: false)"
39
39
  },
40
40
  arrows: {
41
41
  type: "boolean",
42
- defaultValue: true,
43
- description: "Show next/prev arrows"
42
+ description: "Show next/prev arrows (default: true)"
44
43
  },
45
44
  autoplay: {
46
- type: "boolean",
47
- defaultValue: false
45
+ type: "boolean"
48
46
  },
49
47
  autoplaySpeed: {
50
48
  type: "number",
51
- defaultValue: 3000,
52
- description: "Delay between each auto scroll (in milliseconds)"
49
+ description: "Delay between each auto scroll, in milliseconds (default: 3000)"
53
50
  },
54
51
  centerMode: {
55
52
  type: "boolean",
56
- defaultValue: false,
57
- description: "Enables centered view with partial prev/next slides. Use with odd numbered slidesToShow counts"
53
+ description: "Enables centered view with partial prev/next slides. Use with odd numbered slidesToShow counts (default: false)"
58
54
  },
59
55
  centerPadding: {
60
56
  type: "string",
61
- defaultValue: "50px",
62
57
  description: "Side padding when in center mode (px or %)"
63
58
  },
64
59
  dots: {
65
60
  type: "boolean",
66
- defaultValue: false,
67
61
  description: "Show dots for each slide"
68
62
  },
69
63
  draggable: {
70
64
  type: "boolean",
71
- defaultValue: true,
72
- description: "Enables mouse dragging on desktop"
65
+ description: "Enables mouse dragging on desktop (default: true)"
73
66
  },
74
67
  easing: {
75
68
  type: "string",
76
- defaultValue: "linear",
77
69
  description: "Easing method for transition"
78
70
  },
79
71
  fade: {
80
72
  type: "boolean",
81
- defaultValue: false,
73
+ defaultValue: true,
82
74
  description: "Cross-fade between slides"
83
75
  },
84
76
  focusOnSelect: {
85
77
  type: "boolean",
86
- defaultValue: false,
87
78
  description: "Go to slide on click"
88
79
  },
89
80
  infinite: {
@@ -93,7 +84,6 @@ registerComponent(Slider, {
93
84
  },
94
85
  initialSlide: {
95
86
  type: "number",
96
- defaultValue: 0,
97
87
  description: "Index of initial slide"
98
88
  },
99
89
  lazyLoad: {
@@ -103,67 +93,54 @@ registerComponent(Slider, {
103
93
  },
104
94
  pauseOnDotsHover: {
105
95
  type: "boolean",
106
- defaultValue: false,
107
96
  description: "Prevents autoplay while hovering on dots"
108
97
  },
109
98
  pauseOnFocus: {
110
99
  type: "boolean",
111
- defaultValue: true,
112
100
  description: "Prevents autoplay while focused on slides"
113
101
  },
114
102
  pauseOnHover: {
115
103
  type: "boolean",
116
- defaultValue: true,
117
104
  description: "Prevents autoplay while hovering on track"
118
105
  },
119
106
  rows: {
120
107
  type: "number",
121
- defaultValue: 1,
122
108
  description: "Number of rows per slide (enables grid mode)"
123
109
  },
124
110
  rtl: {
125
111
  type: "boolean",
126
- defaultValue: false,
127
112
  description: "Reverses the slide order"
128
113
  },
129
114
  slide: {
130
115
  type: "string",
131
- defaultValue: "div",
132
- description: "Slide container element type"
116
+ description: 'Slide container element type (defaults to "div")'
133
117
  },
134
118
  slidesPerRow: {
135
119
  type: "number",
136
- defaultValue: 1,
137
120
  description: "Number of slides to display in grid mode, this is useful with rows option"
138
121
  },
139
122
  slidesToScroll: {
140
123
  type: "number",
141
- defaultValue: 1,
142
124
  description: "Number of slides to scroll at once"
143
125
  },
144
126
  slidesToShow: {
145
127
  type: "number",
146
- defaultValue: 1,
147
128
  description: "Number of slides to show in one frame"
148
129
  },
149
130
  speed: {
150
131
  type: "number",
151
- defaultValue: 500,
152
- description: "Transition speed in milliseconds"
132
+ description: "Transition speed in milliseconds (defaults to 500)"
153
133
  },
154
134
  swipe: {
155
135
  type: "boolean",
156
- defaultValue: true,
157
136
  description: "Enable swiping to change slides"
158
137
  },
159
138
  swipeToSlide: {
160
139
  type: "boolean",
161
- defaultValue: false,
162
140
  description: "Enable drag/swipe irrespective of 'slidesToScroll'"
163
141
  },
164
142
  touchMove: {
165
143
  type: "boolean",
166
- defaultValue: true,
167
144
  description: "Enable slide moving on touch"
168
145
  },
169
146
  touchThreshold: {
@@ -173,22 +150,19 @@ registerComponent(Slider, {
173
150
  },
174
151
  useCSS: {
175
152
  type: "boolean",
176
- defaultValue: true,
177
153
  description: "Enable/Disable CSS Transitions"
178
154
  },
179
155
  useTransform: {
180
156
  type: "boolean",
181
- defaultValue: true,
182
157
  description: "Enable/Disable CSS Transforms"
183
158
  },
184
159
  variableWidth: {
185
160
  type: "boolean",
186
- defaultValue: false,
187
161
  description: "Variable width slides"
188
162
  },
189
163
  vertical: {
190
164
  type: "boolean",
191
- defaultValue: false,
165
+ defaultValue: true,
192
166
  description: "Vertical slide mode"
193
167
  }
194
168
  },
@@ -197,5 +171,14 @@ registerComponent(Slider, {
197
171
  width: "stretch",
198
172
  maxWidth: "100%"
199
173
  }
200
- });
174
+ };
175
+ function registerSlider(loader, customSliderMeta) {
176
+ if (loader) {
177
+ loader.registerComponent(Slider, customSliderMeta != null ? customSliderMeta : sliderMeta);
178
+ } else {
179
+ registerComponent(Slider, customSliderMeta != null ? customSliderMeta : sliderMeta);
180
+ }
181
+ }
182
+
183
+ export { registerSlider, sliderMeta };
201
184
  //# sourceMappingURL=react-slick.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-slick.esm.js","sources":["../src/index.tsx"],"sourcesContent":["import registerComponent from \"@plasmicapp/host/registerComponent\";\nimport Slider from \"react-slick\";\n\n// TODO Do not actually provide defaultValues everywhere.\n\nregisterComponent(Slider, {\n name: \"Slider\",\n importPath: \"react-slick\",\n props: {\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"img\",\n src: \"https://via.placeholder.com/350x150\",\n style: {\n maxWidth: \"100%\",\n },\n },\n {\n type: \"img\",\n src: \"https://via.placeholder.com/350x150\",\n style: {\n maxWidth: \"100%\",\n },\n },\n {\n type: \"img\",\n src: \"https://via.placeholder.com/350x150\",\n style: {\n maxWidth: \"100%\",\n },\n },\n ],\n },\n accessibility: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Enables tabbing and arrow key navigation\",\n },\n adaptiveHeight: {\n type: \"boolean\",\n defaultValue: false,\n description: \"Adjust the slide's height automatically\",\n },\n arrows: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Show next/prev arrows\",\n },\n autoplay: {\n type: \"boolean\",\n defaultValue: false,\n },\n autoplaySpeed: {\n type: \"number\",\n defaultValue: 3000,\n description: \"Delay between each auto scroll (in milliseconds)\",\n },\n centerMode: {\n type: \"boolean\",\n defaultValue: false,\n description:\n \"Enables centered view with partial prev/next slides. Use with odd numbered slidesToShow counts\",\n },\n centerPadding: {\n type: \"string\",\n defaultValue: \"50px\",\n description: \"Side padding when in center mode (px or %)\",\n },\n dots: {\n type: \"boolean\",\n defaultValue: false,\n description: \"Show dots for each slide\",\n },\n draggable: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Enables mouse dragging on desktop\",\n },\n easing: {\n type: \"string\",\n defaultValue: \"linear\",\n description: \"Easing method for transition\",\n },\n fade: {\n type: \"boolean\",\n defaultValue: false,\n description: \"Cross-fade between slides\",\n },\n focusOnSelect: {\n type: \"boolean\",\n defaultValue: false,\n description: \"Go to slide on click\",\n },\n infinite: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Infinitely wrap around contents\",\n },\n initialSlide: {\n type: \"number\",\n defaultValue: 0,\n description: \"Index of initial slide\",\n },\n lazyLoad: {\n type: \"choice\",\n options: [\"ondemand\", \"progressive\"],\n description:\n \"Load images or render components on demand or progressively\",\n },\n pauseOnDotsHover: {\n type: \"boolean\",\n defaultValue: false,\n description: \"Prevents autoplay while hovering on dots\",\n },\n pauseOnFocus: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Prevents autoplay while focused on slides\",\n },\n pauseOnHover: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Prevents autoplay while hovering on track\",\n },\n rows: {\n type: \"number\",\n defaultValue: 1,\n description: \"Number of rows per slide (enables grid mode)\",\n },\n rtl: {\n type: \"boolean\",\n defaultValue: false,\n description: \"Reverses the slide order\",\n },\n slide: {\n type: \"string\",\n defaultValue: \"div\",\n description: \"Slide container element type\",\n },\n slidesPerRow: {\n type: \"number\",\n defaultValue: 1,\n description:\n \"Number of slides to display in grid mode, this is useful with rows option\",\n },\n slidesToScroll: {\n type: \"number\",\n defaultValue: 1,\n description: \"Number of slides to scroll at once\",\n },\n slidesToShow: {\n type: \"number\",\n defaultValue: 1,\n description: \"Number of slides to show in one frame\",\n },\n speed: {\n type: \"number\",\n defaultValue: 500,\n description: \"Transition speed in milliseconds\",\n },\n swipe: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Enable swiping to change slides\",\n },\n swipeToSlide: {\n type: \"boolean\",\n defaultValue: false,\n description: \"Enable drag/swipe irrespective of 'slidesToScroll'\",\n },\n touchMove: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Enable slide moving on touch\",\n },\n touchThreshold: {\n type: \"number\",\n defaultValue: 5,\n description: \"Swipe distance threshold in pixels\",\n },\n useCSS: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Enable/Disable CSS Transitions\",\n },\n useTransform: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Enable/Disable CSS Transforms\",\n },\n variableWidth: {\n type: \"boolean\",\n defaultValue: false,\n description: \"Variable width slides\",\n },\n vertical: {\n type: \"boolean\",\n defaultValue: false,\n description: \"Vertical slide mode\",\n },\n },\n isDefaultExport: true,\n defaultStyles: {\n width: \"stretch\",\n maxWidth: \"100%\",\n },\n});\n"],"names":["registerComponent","Slider","name","importPath","props","children","type","defaultValue","src","style","maxWidth","accessibility","description","adaptiveHeight","arrows","autoplay","autoplaySpeed","centerMode","centerPadding","dots","draggable","easing","fade","focusOnSelect","infinite","initialSlide","lazyLoad","options","pauseOnDotsHover","pauseOnFocus","pauseOnHover","rows","rtl","slide","slidesPerRow","slidesToScroll","slidesToShow","speed","swipe","swipeToSlide","touchMove","touchThreshold","useCSS","useTransform","variableWidth","vertical","isDefaultExport","defaultStyles","width"],"mappings":";;;AAKAA,iBAAiB,CAACC,MAAD,EAAS;AACxBC,EAAAA,IAAI,EAAE,QADkB;AAExBC,EAAAA,UAAU,EAAE,aAFY;AAGxBC,EAAAA,KAAK,EAAE;AACLC,IAAAA,QAAQ,EAAE;AACRC,MAAAA,IAAI,EAAE,MADE;AAERC,MAAAA,YAAY,EAAE,CACZ;AACED,QAAAA,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","sources":["../src/index.tsx"],"sourcesContent":["import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport Slider, { Settings } from \"react-slick\";\n\nexport const sliderMeta: ComponentMeta<Settings> = {\n name: \"hostless-slider\",\n displayName: \"Slider\",\n importName: \"Slider\",\n importPath: \"react-slick\",\n props: {\n children: {\n type: \"slot\",\n defaultValue: [\n {\n type: \"img\",\n src: \"https://via.placeholder.com/150/FF0000/FFFFFF/?text=Slide_1\",\n style: {\n maxWidth: \"100%\",\n },\n },\n {\n type: \"img\",\n src: \"https://via.placeholder.com/150/00FF00/FFFFFF/?text=Slide_2\",\n style: {\n maxWidth: \"100%\",\n },\n },\n {\n type: \"img\",\n src: \"https://via.placeholder.com/150/0000FF/FFFFFF/?text=Slide_3\",\n style: {\n maxWidth: \"100%\",\n },\n },\n ],\n },\n accessibility: {\n type: \"boolean\",\n description: \"Enables tabbing and arrow key navigation (default: true)\",\n },\n adaptiveHeight: {\n type: \"boolean\",\n description: \"Adjust the slide's height automatically (default: false)\",\n },\n arrows: {\n type: \"boolean\",\n description: \"Show next/prev arrows (default: true)\",\n },\n autoplay: {\n type: \"boolean\",\n },\n autoplaySpeed: {\n type: \"number\",\n description:\n \"Delay between each auto scroll, in milliseconds (default: 3000)\",\n },\n centerMode: {\n type: \"boolean\",\n description:\n \"Enables centered view with partial prev/next slides. Use with odd numbered slidesToShow counts (default: false)\",\n },\n centerPadding: {\n type: \"string\",\n description: \"Side padding when in center mode (px or %)\",\n },\n dots: {\n type: \"boolean\",\n description: \"Show dots for each slide\",\n },\n draggable: {\n type: \"boolean\",\n description: \"Enables mouse dragging on desktop (default: true)\",\n },\n easing: {\n type: \"string\",\n description: \"Easing method for transition\",\n },\n fade: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Cross-fade between slides\",\n },\n focusOnSelect: {\n type: \"boolean\",\n description: \"Go to slide on click\",\n },\n infinite: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Infinitely wrap around contents\",\n },\n initialSlide: {\n type: \"number\",\n description: \"Index of initial slide\",\n },\n lazyLoad: {\n type: \"choice\",\n options: [\"ondemand\", \"progressive\"],\n description:\n \"Load images or render components on demand or progressively\",\n },\n pauseOnDotsHover: {\n type: \"boolean\",\n description: \"Prevents autoplay while hovering on dots\",\n },\n pauseOnFocus: {\n type: \"boolean\",\n description: \"Prevents autoplay while focused on slides\",\n },\n pauseOnHover: {\n type: \"boolean\",\n description: \"Prevents autoplay while hovering on track\",\n },\n rows: {\n type: \"number\",\n description: \"Number of rows per slide (enables grid mode)\",\n },\n rtl: {\n type: \"boolean\",\n description: \"Reverses the slide order\",\n },\n slide: {\n type: \"string\",\n description: 'Slide container element type (defaults to \"div\")',\n },\n slidesPerRow: {\n type: \"number\",\n description:\n \"Number of slides to display in grid mode, this is useful with rows option\",\n },\n slidesToScroll: {\n type: \"number\",\n description: \"Number of slides to scroll at once\",\n },\n slidesToShow: {\n type: \"number\",\n description: \"Number of slides to show in one frame\",\n },\n speed: {\n type: \"number\",\n description: \"Transition speed in milliseconds (defaults to 500)\",\n },\n swipe: {\n type: \"boolean\",\n description: \"Enable swiping to change slides\",\n },\n swipeToSlide: {\n type: \"boolean\",\n description: \"Enable drag/swipe irrespective of 'slidesToScroll'\",\n },\n touchMove: {\n type: \"boolean\",\n description: \"Enable slide moving on touch\",\n },\n touchThreshold: {\n type: \"number\",\n defaultValue: 5,\n description: \"Swipe distance threshold in pixels\",\n },\n useCSS: {\n type: \"boolean\",\n description: \"Enable/Disable CSS Transitions\",\n },\n useTransform: {\n type: \"boolean\",\n description: \"Enable/Disable CSS Transforms\",\n },\n variableWidth: {\n type: \"boolean\",\n description: \"Variable width slides\",\n },\n vertical: {\n type: \"boolean\",\n defaultValue: true,\n description: \"Vertical slide mode\",\n },\n },\n isDefaultExport: true,\n defaultStyles: {\n width: \"stretch\",\n maxWidth: \"100%\",\n },\n};\n\nexport function registerSlider(\n loader?: { registerComponent: typeof registerComponent },\n customSliderMeta?: ComponentMeta<Settings>\n) {\n if (loader) {\n loader.registerComponent(Slider, customSliderMeta ?? sliderMeta);\n } else {\n registerComponent(Slider, customSliderMeta ?? sliderMeta);\n }\n}\n"],"names":["sliderMeta","name","displayName","importName","importPath","props","children","type","defaultValue","src","style","maxWidth","accessibility","description","adaptiveHeight","arrows","autoplay","autoplaySpeed","centerMode","centerPadding","dots","draggable","easing","fade","focusOnSelect","infinite","initialSlide","lazyLoad","options","pauseOnDotsHover","pauseOnFocus","pauseOnHover","rows","rtl","slide","slidesPerRow","slidesToScroll","slidesToShow","speed","swipe","swipeToSlide","touchMove","touchThreshold","useCSS","useTransform","variableWidth","vertical","isDefaultExport","defaultStyles","width","registerSlider","loader","customSliderMeta","registerComponent","Slider"],"mappings":";;;IAKaA,UAAU,GAA4B;AACjDC,EAAAA,IAAI,EAAE,iBAD2C;AAEjDC,EAAAA,WAAW,EAAE,QAFoC;AAGjDC,EAAAA,UAAU,EAAE,QAHqC;AAIjDC,EAAAA,UAAU,EAAE,aAJqC;AAKjDC,EAAAA,KAAK,EAAE;AACLC,IAAAA,QAAQ,EAAE;AACRC,MAAAA,IAAI,EAAE,MADE;AAERC,MAAAA,YAAY,EAAE,CACZ;AACED,QAAAA,IAAI,EAAE,KADR;AAEEE,QAAAA,GAAG,EAAE,6DAFP;AAGEC,QAAAA,KAAK,EAAE;AACLC,UAAAA,QAAQ,EAAE;AADL;AAHT,OADY,EAQZ;AACEJ,QAAAA,IAAI,EAAE,KADR;AAEEE,QAAAA,GAAG,EAAE,6DAFP;AAGEC,QAAAA,KAAK,EAAE;AACLC,UAAAA,QAAQ,EAAE;AADL;AAHT,OARY,EAeZ;AACEJ,QAAAA,IAAI,EAAE,KADR;AAEEE,QAAAA,GAAG,EAAE,6DAFP;AAGEC,QAAAA,KAAK,EAAE;AACLC,UAAAA,QAAQ,EAAE;AADL;AAHT,OAfY;AAFN,KADL;AA2BLC,IAAAA,aAAa,EAAE;AACbL,MAAAA,IAAI,EAAE,SADO;AAEbM,MA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,gBAAT,WAASA,gBAAT,GAA6BpD,UAA7B,CAAjB;AACD;AACF;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasmicpkgs/react-slick",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Plasmic registration call for the HTML5 video element",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",