2222 <!-- BEGIN BreakpointObserverDemo -->
2323 < div
2424 data-component ="BreakpointObserverDemo "
25- data-options ='{ "name": "BreakpointObserverDemoTable", "activeBreakpoints": "m" } '
25+ data-option-name ="BreakpointObserverDemoTable "
26+ data-option-active-breakpoints ="m "
2627 class ="relative flex items-center justify-center w-full h-32 mb-10 text-white text-center "
2728 >
2829 < div class ="z-under absolute inset-0 opacity-75 bg-black rounded "> </ div >
3738 <!-- BEGIN BreakpointObserverDemo -->
3839 < div
3940 data-component ="BreakpointObserverDemo "
40- data-options ='{ "name": "BreakpointObserverDemoMobileDesktop", "inactiveBreakpoints": "m" } '
41+ data-option-name ="BreakpointObserverDemoMobileDesktop "
42+ data-option-inactive-breakpoints =m "
4143 class="relative flex items-center justify-center w-full h-32 mb-10 text-white text-center"
4244 >
4345 < div class ="z-under absolute inset-0 opacity-75 bg-black rounded "> </ div >
5254 < div
5355 data-ref ="modal "
5456 data-component ="Modal "
55- data-options ='{ "activeBreakpoints": "m l", "styles": { "modal": { "active": "transition-all duration-500" } } } '
57+ data-option-active-breakpoints ="m l "
58+ data-option-styles ='{ "modal": { "active": "transition-all duration-500" } } '
5659 class ="text-center "
5760 >
5861 <!--
125128 < br />
126129 < br />
127130 <!-- BEGIN Accordion component-->
128- < div data-component ="Accordion " data-options ='{ "autoclose": false } '>
131+ < div data-component ="Accordion "
132+ data-option-autoclose
133+ data-option-item ='{ "styles": { "container": { "active": "transition-all duration-500 ease-out-expo" } } } '>
129134 < div
130135 data-component ="AccordionItem "
131136 class ="border -mb-px "
132- data-options =' { "isOpen": true, "styles": { "container": { "active": "transition-all duration-500 ease-out-expo" } } } '
137+ data-option-is-open
133138 >
134139 < button data-ref ="btn " class ="block w-full p-4 text-left cursor-pointer ">
135140 Lorem ipsum
145150 < div
146151 data-component ="AccordionItem "
147152 class ="border -mb-px "
148- data-options ='{ "styles": { "container": { "active": "transition-all duration-500 ease-out-expo" } } } '
149153 >
150154 < button data-ref ="btn " class ="block w-full p-4 text-left cursor-pointer ">
151155 Lorem ipsum
161165 < div
162166 data-component ="AccordionItem "
163167 class ="border -mb-px "
164- data-options ='{ "styles": { "container": { "active": "transition-all duration-500 ease-out-expo" } } } '
165168 >
166169 < button data-ref ="btn " class ="block w-full p-4 text-left cursor-pointer ">
167170 Lorem ipsum
184187 < div
185188 data-component ="AccordionItem "
186189 class ="border -mb-px "
187- data-options ='{ "styles": { " container": { "active": "transition-all duration-500 ease-out-expo" }, "icon": { "open": "transform rotate-180", "active": "transition duration-500 ease-out-expo" } } } '
190+ data-option-styles ='{ "container": { "active": "transition-all duration-500 ease-out-expo" }, "icon": { "open": "transform rotate-180", "active": "transition duration-500 ease-out-expo" } } '
188191 >
189192 < button data-ref ="btn " class ="flex justify-between w-full p-4 text-left cursor-pointer ">
190193 Show image #1
193196 < div data-ref ="container " class ="relative overflow-hidden ">
194197 < div data-ref ="content " class ="w-full p-4 pt-0 ">
195198 < img
196- data-options =' { " log": true } '
199+ data-option- log
197200 data-src ="https://placekitten.com/200/100 "
198201 width ="200 "
199202 height ="100 "
205208 < div
206209 data-component ="AccordionItem "
207210 class ="border -mb-px "
208- data-options ='{ "styles": { " container": { "active": "transition-all duration-500 ease-out-expo" }, "icon": { "open": "transform rotate-180", "active": "transition duration-500 ease-out-expo" } } } '
211+ data-option-styles ='{ "container": { "active": "transition-all duration-500 ease-out-expo" }, "icon": { "open": "transform rotate-180", "active": "transition duration-500 ease-out-expo" } } '
209212 >
210213 < button data-ref ="btn " class ="flex justify-between w-full p-4 text-left cursor-pointer ">
211214 Show image #2
220223 < div
221224 data-component ="AccordionItem "
222225 class ="border -mb-px "
223- data-options ='{ "styles": { " container": { "active": "transition-all duration-500 ease-out-expo" }, "icon": { "open": "transform rotate-180", "active": "transition duration-500 ease-out-expo" } } } '
226+ data-option-styles ='{ "container": { "active": "transition-all duration-500 ease-out-expo" }, "icon": { "open": "transform rotate-180", "active": "transition duration-500 ease-out-expo" } } '
224227 >
225228 < button data-ref ="btn " class ="flex justify-between w-full p-4 text-left cursor-pointer ">
226229 Show image #3
241244 < h2 id ="components-tabs " class ="text-lg mb-4 "> Tabs</ h2 >
242245 < div
243246 data-component ="Tabs "
244- data-options ='{ "styles": { " btn": { "open": { "borderBottomColor": "#fff" } } } } '
247+ data-option-styles ='{ "btn": { "open": { "borderBottomColor": "#fff" } } } '
245248 >
246249 < div class ="flex px-4 border-b ">
247250 < button data-ref ="btn[] " class ="-mb-px -ml-px p-4 border "> Tab #1</ button >
@@ -265,7 +268,7 @@ <h2 id="components-tabs" class="text-lg mb-4">Tabs</h2>
265268 < div data-ref ="content[] " aria-hidden ="true ">
266269 < img
267270 data-src ="https://placekitten.com/299/299 "
268- data-options =' { " debug": true } '
271+ data-option- debug
269272 src ="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7 "
270273 width ="300 "
271274 height ="300 "
0 commit comments