smoothly 1.2.1-alpha.61 โ 1.2.1-alpha.62
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/loader.cjs.js +1 -1
- package/dist/cjs/{smoothly-app_99.cjs.entry.js โ smoothly-app_98.cjs.entry.js} +302 -324
- package/dist/cjs/smoothly-app_98.cjs.entry.js.map +1 -0
- package/dist/cjs/smoothly-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-color.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-country.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-input-checkbox-demo.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-submit.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-trigger-source.cjs.entry.js +1 -1
- package/dist/cjs/smoothly.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +0 -1
- package/dist/collection/components/burger/style.css +5 -5
- package/dist/collection/components/button/demo/index.js +2 -2
- package/dist/collection/components/button/demo/index.js.map +1 -1
- package/dist/collection/components/calendar/index.js +2 -2
- package/dist/collection/components/checkbox/index.js +2 -2
- package/dist/collection/components/color/index.js +1 -1
- package/dist/collection/components/confirm/index.js +1 -1
- package/dist/collection/components/country/index.js +1 -1
- package/dist/collection/components/dialog/demo/index.js +1 -1
- package/dist/collection/components/dialog/index.js +1 -1
- package/dist/collection/components/display/demo/index.js +10 -10
- package/dist/collection/components/display/demo/json/index.js +1 -1
- package/dist/collection/components/display/index.js +3 -3
- package/dist/collection/components/display/json/index.js +1 -1
- package/dist/collection/components/display/json/object/index.js +2 -2
- package/dist/collection/components/display/json/object/key/index.js +1 -1
- package/dist/collection/components/display/json/primitive/index.js +1 -1
- package/dist/collection/components/filter/field/index.js +1 -1
- package/dist/collection/components/filter/index.js +3 -3
- package/dist/collection/components/filter/input/index.js +1 -1
- package/dist/collection/components/filter/select/index.js +1 -1
- package/dist/collection/components/filter/toggle/index.js +1 -1
- package/dist/collection/components/form/demo/all/index.js +2 -2
- package/dist/collection/components/form/demo/card/index.js +1 -1
- package/dist/collection/components/form/demo/controlled/index.js +1 -1
- package/dist/collection/components/form/demo/date/index.js +1 -1
- package/dist/collection/components/form/demo/date-range/index.js +1 -1
- package/dist/collection/components/form/demo/index.js +1 -1
- package/dist/collection/components/form/demo/login/index.js +1 -1
- package/dist/collection/components/form/demo/pet/index.js +2 -2
- package/dist/collection/components/form/demo/prices/index.js +1 -1
- package/dist/collection/components/form/demo/schedule/index.js +1 -1
- package/dist/collection/components/form/demo/transparent/index.js +1 -1
- package/dist/collection/components/form/demo/typed/index.js +1 -1
- package/dist/collection/components/form/index.js +1 -1
- package/dist/collection/components/icon/demo/index.js +1 -1
- package/dist/collection/components/icon/demo/index.js.map +1 -1
- package/dist/collection/components/icon/index.js +6 -7
- package/dist/collection/components/icon/index.js.map +1 -1
- package/dist/collection/components/icon/style.css +10 -11
- package/dist/collection/components/input/checkbox/demo/index.js +1 -1
- package/dist/collection/components/input/checkbox/index.js +1 -1
- package/dist/collection/components/input/clear/index.js +1 -1
- package/dist/collection/components/input/color/demo/index.js +1 -1
- package/dist/collection/components/input/color/index.js +2 -2
- package/dist/collection/components/input/date/index.js +3 -3
- package/dist/collection/components/input/date/range/index.js +2 -2
- package/dist/collection/components/input/demo/index.js +4 -4
- package/dist/collection/components/input/demo/price/index.js +1 -1
- package/dist/collection/components/input/demo/standard/index.js +1 -1
- package/dist/collection/components/input/edit/index.js +1 -1
- package/dist/collection/components/input/file/index.js +1 -1
- package/dist/collection/components/input/index.js +2 -2
- package/dist/collection/components/input/month/index.js +2 -2
- package/dist/collection/components/input/radio/index.js +1 -1
- package/dist/collection/components/input/radio/item/index.js +1 -1
- package/dist/collection/components/input/range/demo/index.js +1 -1
- package/dist/collection/components/input/range/index.js +4 -4
- package/dist/collection/components/input/reset/index.js +1 -1
- package/dist/collection/components/input/select/index.js +3 -3
- package/dist/collection/components/input/submit/index.js +1 -1
- package/dist/collection/components/item/index.js +1 -1
- package/dist/collection/components/label/index.js +2 -2
- package/dist/collection/components/lazy/index.js +1 -1
- package/dist/collection/components/load-more/index.js +1 -1
- package/dist/collection/components/modal/index.js +1 -1
- package/dist/collection/components/notification/index.js +1 -1
- package/dist/collection/components/notifier/index.js +1 -1
- package/dist/collection/components/spinner/index.js +2 -2
- package/dist/collection/components/submit/index.js +1 -1
- package/dist/collection/components/summary/index.js +1 -1
- package/dist/collection/components/table/body/index.js +1 -1
- package/dist/collection/components/table/cell/index.js +1 -1
- package/dist/collection/components/table/demo/colspan/index.js +1 -1
- package/dist/collection/components/table/demo/filler-row/index.js +1 -1
- package/dist/collection/components/table/demo/filtered/index.js +5 -5
- package/dist/collection/components/table/demo/group/index.js +1 -1
- package/dist/collection/components/table/demo/index.js +1 -1
- package/dist/collection/components/table/demo/nested/index.js +1 -1
- package/dist/collection/components/table/demo/nested/inner/index.js +1 -1
- package/dist/collection/components/table/demo/simple/simple.js +1 -1
- package/dist/collection/components/table/expandable/cell/index.js +1 -1
- package/dist/collection/components/table/expandable/row/index.js +1 -1
- package/dist/collection/components/table/filler-row/index.js +1 -1
- package/dist/collection/components/table/foot/index.js +1 -1
- package/dist/collection/components/table/group/index.js +1 -1
- package/dist/collection/components/table/head/index.js +1 -1
- package/dist/collection/components/table/index.js +1 -1
- package/dist/collection/components/table/row/index.js +1 -1
- package/dist/collection/components/tabs/demo/index.js +1 -1
- package/dist/collection/components/tabs/index.js +1 -1
- package/dist/collection/components/tabs/tab/index.js +1 -1
- package/dist/collection/components/theme/color/index.js +1 -1
- package/dist/collection/components/theme/demo/index.js +1 -1
- package/dist/collection/components/theme/guide/index.js +8 -8
- package/dist/collection/components/theme/picker/index.js +2 -2
- package/dist/collection/components/toggle-switch/demo/index.js +1 -1
- package/dist/collection/components/toggle-switch/index.js +1 -1
- package/dist/collection/components/toggle-switch/style.css +12 -20
- package/dist/collection/components/trigger/index.js +1 -1
- package/dist/collection/components/trigger/sink/index.js +1 -1
- package/dist/collection/components/trigger/source/index.js +1 -1
- package/dist/components/{p-e02f5eef.js โ p-0156d1ac.js} +14 -14
- package/dist/components/{p-e02f5eef.js.map โ p-0156d1ac.js.map} +1 -1
- package/dist/components/{p-42f2126d.js โ p-08ff9613.js} +4 -4
- package/dist/components/{p-42f2126d.js.map โ p-08ff9613.js.map} +1 -1
- package/dist/components/{p-e966bb8a.js โ p-09f490eb.js} +4 -4
- package/dist/components/{p-e966bb8a.js.map โ p-09f490eb.js.map} +1 -1
- package/dist/components/{p-8f0f82cd.js โ p-0a200b85.js} +4 -4
- package/dist/components/{p-8f0f82cd.js.map โ p-0a200b85.js.map} +1 -1
- package/dist/components/{p-23d9ecf6.js โ p-0d09457c.js} +25 -25
- package/dist/components/{p-23d9ecf6.js.map โ p-0d09457c.js.map} +1 -1
- package/dist/components/{p-7448315b.js โ p-0d597c0f.js} +15 -15
- package/dist/components/p-0d597c0f.js.map +1 -0
- package/dist/components/{p-bfad759f.js โ p-0ddbb10b.js} +11 -11
- package/dist/components/{p-bfad759f.js.map โ p-0ddbb10b.js.map} +1 -1
- package/dist/components/{p-41400859.js โ p-11e5cabe.js} +37 -37
- package/dist/components/{p-41400859.js.map โ p-11e5cabe.js.map} +1 -1
- package/dist/components/{p-705b4afe.js โ p-1512ddfa.js} +30 -30
- package/dist/components/{p-705b4afe.js.map โ p-1512ddfa.js.map} +1 -1
- package/dist/components/{p-637d2964.js โ p-188fb617.js} +4 -4
- package/dist/components/{p-637d2964.js.map โ p-188fb617.js.map} +1 -1
- package/dist/components/{p-95abdb03.js โ p-189a3517.js} +8 -8
- package/dist/components/{p-95abdb03.js.map โ p-189a3517.js.map} +1 -1
- package/dist/components/{p-49f90785.js โ p-1cc8de56.js} +8 -8
- package/dist/components/{p-49f90785.js.map โ p-1cc8de56.js.map} +1 -1
- package/dist/components/{p-32acfe2f.js โ p-1de0fb0e.js} +2 -2
- package/dist/components/{p-32acfe2f.js.map โ p-1de0fb0e.js.map} +1 -1
- package/dist/components/{p-90cfcbfc.js โ p-1fe82c92.js} +14 -14
- package/dist/components/{p-90cfcbfc.js.map โ p-1fe82c92.js.map} +1 -1
- package/dist/components/{p-2020cb82.js โ p-21601376.js} +2 -2
- package/dist/components/{p-2020cb82.js.map โ p-21601376.js.map} +1 -1
- package/dist/components/{p-461ffea2.js โ p-22a5c35b.js} +7 -7
- package/dist/components/{p-461ffea2.js.map โ p-22a5c35b.js.map} +1 -1
- package/dist/components/{p-eafc7555.js โ p-24934ba0.js} +4 -4
- package/dist/components/p-24934ba0.js.map +1 -0
- package/dist/components/{p-7add6ea0.js โ p-27fead40.js} +14 -14
- package/dist/components/{p-7add6ea0.js.map โ p-27fead40.js.map} +1 -1
- package/dist/components/{p-e15e5a5d.js โ p-2b457d53.js} +2 -2
- package/dist/components/{p-e15e5a5d.js.map โ p-2b457d53.js.map} +1 -1
- package/dist/components/{p-fe36713e.js โ p-3091ab20.js} +2 -2
- package/dist/components/{p-fe36713e.js.map โ p-3091ab20.js.map} +1 -1
- package/dist/components/{p-bc324b5e.js โ p-3493b852.js} +2 -2
- package/dist/components/{p-bc324b5e.js.map โ p-3493b852.js.map} +1 -1
- package/dist/components/{p-a820e0e8.js โ p-37e8e0b4.js} +6 -6
- package/dist/components/{p-a820e0e8.js.map โ p-37e8e0b4.js.map} +1 -1
- package/dist/components/{p-ba58a227.js โ p-38ff4ddd.js} +5 -5
- package/dist/components/{p-ba58a227.js.map โ p-38ff4ddd.js.map} +1 -1
- package/dist/components/p-3c1569b7.js +176 -0
- package/dist/components/{p-94cb3bb9.js.map โ p-3c1569b7.js.map} +1 -1
- package/dist/components/{p-305c8221.js โ p-3cdc6c8b.js} +13 -13
- package/dist/components/{p-305c8221.js.map โ p-3cdc6c8b.js.map} +1 -1
- package/dist/components/{p-90f56544.js โ p-3ef90e87.js} +15 -15
- package/dist/components/{p-90f56544.js.map โ p-3ef90e87.js.map} +1 -1
- package/dist/components/{p-2137d036.js โ p-41441353.js} +4 -4
- package/dist/components/{p-2137d036.js.map โ p-41441353.js.map} +1 -1
- package/dist/components/p-43bad1c0.js +175 -0
- package/dist/components/{p-59f81a89.js.map โ p-43bad1c0.js.map} +1 -1
- package/dist/components/{p-96841986.js โ p-479909bd.js} +7 -7
- package/dist/components/{p-96841986.js.map โ p-479909bd.js.map} +1 -1
- package/dist/components/{p-f0281d58.js โ p-47e5df73.js} +3 -3
- package/dist/components/{p-f0281d58.js.map โ p-47e5df73.js.map} +1 -1
- package/dist/components/{p-ab4db085.js โ p-49d437f4.js} +4 -4
- package/dist/components/{p-ab4db085.js.map โ p-49d437f4.js.map} +1 -1
- package/dist/components/{p-bc671400.js โ p-52d1d5a1.js} +6 -6
- package/dist/components/{p-bc671400.js.map โ p-52d1d5a1.js.map} +1 -1
- package/dist/components/{p-24488303.js โ p-5c67d11d.js} +4 -4
- package/dist/components/{p-24488303.js.map โ p-5c67d11d.js.map} +1 -1
- package/dist/components/p-5e2b1c67.js +57 -0
- package/dist/components/p-5e2b1c67.js.map +1 -0
- package/dist/components/{p-be11a354.js โ p-619819ae.js} +4 -4
- package/dist/components/{p-be11a354.js.map โ p-619819ae.js.map} +1 -1
- package/dist/components/{p-a7980d2c.js โ p-62f513b3.js} +3 -3
- package/dist/components/{p-a7980d2c.js.map โ p-62f513b3.js.map} +1 -1
- package/dist/components/{p-68b77df6.js โ p-65801f7e.js} +5 -5
- package/dist/components/{p-68b77df6.js.map โ p-65801f7e.js.map} +1 -1
- package/dist/components/{p-bae20465.js โ p-67be9571.js} +3 -3
- package/dist/components/{p-bae20465.js.map โ p-67be9571.js.map} +1 -1
- package/dist/components/{p-291b57ee.js โ p-68f97107.js} +13 -13
- package/dist/components/{p-291b57ee.js.map โ p-68f97107.js.map} +1 -1
- package/dist/components/{p-21ba8cd0.js โ p-6abf2d7c.js} +13 -13
- package/dist/components/{p-21ba8cd0.js.map โ p-6abf2d7c.js.map} +1 -1
- package/dist/components/{p-a698a6b7.js โ p-6e6d0815.js} +5 -5
- package/dist/components/{p-a698a6b7.js.map โ p-6e6d0815.js.map} +1 -1
- package/dist/components/p-75cf720d.js +123 -0
- package/dist/components/{p-58be554d.js.map โ p-75cf720d.js.map} +1 -1
- package/dist/components/{p-2193cd07.js โ p-76047d98.js} +2 -2
- package/dist/components/{p-2193cd07.js.map โ p-76047d98.js.map} +1 -1
- package/dist/components/{p-433d4084.js โ p-7c5d155e.js} +3 -3
- package/dist/components/{p-433d4084.js.map โ p-7c5d155e.js.map} +1 -1
- package/dist/components/{p-04d6a4e3.js โ p-7ea55b4d.js} +3 -3
- package/dist/components/{p-04d6a4e3.js.map โ p-7ea55b4d.js.map} +1 -1
- package/dist/components/{p-3fbd90ff.js โ p-81e4b071.js} +15 -15
- package/dist/components/{p-3fbd90ff.js.map โ p-81e4b071.js.map} +1 -1
- package/dist/components/{p-cf4e20eb.js โ p-85c2a76c.js} +3 -3
- package/dist/components/{p-cf4e20eb.js.map โ p-85c2a76c.js.map} +1 -1
- package/dist/components/{p-259613c8.js โ p-8789a504.js} +2 -2
- package/dist/components/{p-259613c8.js.map โ p-8789a504.js.map} +1 -1
- package/dist/components/{p-7d3a1edc.js โ p-8abb7216.js} +5 -5
- package/dist/components/{p-7d3a1edc.js.map โ p-8abb7216.js.map} +1 -1
- package/dist/components/{p-bc67259a.js โ p-8cd54408.js} +7 -7
- package/dist/components/{p-bc67259a.js.map โ p-8cd54408.js.map} +1 -1
- package/dist/components/{p-6963d21b.js โ p-8d3eea77.js} +2 -2
- package/dist/components/{p-6963d21b.js.map โ p-8d3eea77.js.map} +1 -1
- package/dist/components/{p-271384e5.js โ p-91ab8d87.js} +2 -2
- package/dist/components/{p-271384e5.js.map โ p-91ab8d87.js.map} +1 -1
- package/dist/components/{p-db95d66d.js โ p-92144b1e.js} +5 -5
- package/dist/components/{p-db95d66d.js.map โ p-92144b1e.js.map} +1 -1
- package/dist/components/{p-d305739c.js โ p-9832d3b5.js} +3 -3
- package/dist/components/{p-d305739c.js.map โ p-9832d3b5.js.map} +1 -1
- package/dist/components/{p-04a36eba.js โ p-994fd1b4.js} +4 -4
- package/dist/components/{p-04a36eba.js.map โ p-994fd1b4.js.map} +1 -1
- package/dist/components/{p-48c1e6f9.js โ p-9d7780cb.js} +3 -3
- package/dist/components/{p-48c1e6f9.js.map โ p-9d7780cb.js.map} +1 -1
- package/dist/components/{p-256804de.js โ p-9e2029f7.js} +13 -13
- package/dist/components/{p-256804de.js.map โ p-9e2029f7.js.map} +1 -1
- package/dist/components/{p-2b3160e5.js โ p-a10dfe73.js} +2 -2
- package/dist/components/{p-2b3160e5.js.map โ p-a10dfe73.js.map} +1 -1
- package/dist/components/{p-dd071666.js โ p-a12494c3.js} +2 -2
- package/dist/components/{p-dd071666.js.map โ p-a12494c3.js.map} +1 -1
- package/dist/components/p-a129dc60.js +73 -0
- package/dist/components/p-a129dc60.js.map +1 -0
- package/dist/components/p-a141fe7c.js +238 -0
- package/dist/components/{p-c57b7011.js.map โ p-a141fe7c.js.map} +1 -1
- package/dist/components/{p-0f1adb3d.js โ p-a4d10377.js} +2 -2
- package/dist/components/{p-0f1adb3d.js.map โ p-a4d10377.js.map} +1 -1
- package/dist/components/{p-bf12e671.js โ p-a669dad9.js} +11 -11
- package/dist/components/{p-bf12e671.js.map โ p-a669dad9.js.map} +1 -1
- package/dist/components/{p-2faaedc8.js โ p-ab1e1709.js} +7 -7
- package/dist/components/{p-2faaedc8.js.map โ p-ab1e1709.js.map} +1 -1
- package/dist/components/{p-2bc57b0f.js โ p-ab2e4633.js} +8 -8
- package/dist/components/{p-2bc57b0f.js.map โ p-ab2e4633.js.map} +1 -1
- package/dist/components/{p-e12d35bb.js โ p-abdbd635.js} +4 -4
- package/dist/components/{p-e12d35bb.js.map โ p-abdbd635.js.map} +1 -1
- package/dist/components/p-abf172db.js +45 -0
- package/dist/components/{p-73e309ae.js.map โ p-abf172db.js.map} +1 -1
- package/dist/components/{p-438a59fc.js โ p-b4db4967.js} +14 -14
- package/dist/components/{p-438a59fc.js.map โ p-b4db4967.js.map} +1 -1
- package/dist/components/{p-b92f7f7f.js โ p-b84d424b.js} +12 -12
- package/dist/components/{p-b92f7f7f.js.map โ p-b84d424b.js.map} +1 -1
- package/dist/components/{p-121a3877.js โ p-b89242b5.js} +3 -3
- package/dist/components/p-b89242b5.js.map +1 -0
- package/dist/components/{p-b22a5b41.js โ p-b9872a14.js} +2 -2
- package/dist/components/{p-b22a5b41.js.map โ p-b9872a14.js.map} +1 -1
- package/dist/components/{p-0a6f27a2.js โ p-b99e9582.js} +2 -2
- package/dist/components/{p-0a6f27a2.js.map โ p-b99e9582.js.map} +1 -1
- package/dist/components/{p-cdeece09.js โ p-bd00e096.js} +2 -2
- package/dist/components/{p-cdeece09.js.map โ p-bd00e096.js.map} +1 -1
- package/dist/components/{p-5cea42bb.js โ p-bd902bf1.js} +2 -2
- package/dist/components/{p-5cea42bb.js.map โ p-bd902bf1.js.map} +1 -1
- package/dist/components/{p-fba7e056.js โ p-c9904619.js} +4 -4
- package/dist/components/{p-fba7e056.js.map โ p-c9904619.js.map} +1 -1
- package/dist/components/{p-941cca12.js โ p-cbffcc9d.js} +9 -9
- package/dist/components/{p-941cca12.js.map โ p-cbffcc9d.js.map} +1 -1
- package/dist/components/{p-570e8262.js โ p-cce0e89e.js} +3 -3
- package/dist/components/{p-570e8262.js.map โ p-cce0e89e.js.map} +1 -1
- package/dist/components/{p-7df6aaed.js โ p-d3888e8f.js} +3 -3
- package/dist/components/{p-7df6aaed.js.map โ p-d3888e8f.js.map} +1 -1
- package/dist/components/{p-6aa25ab9.js โ p-d3bc4725.js} +15 -15
- package/dist/components/{p-6aa25ab9.js.map โ p-d3bc4725.js.map} +1 -1
- package/dist/components/{p-ebe0f3b2.js โ p-d4f2eec1.js} +4 -4
- package/dist/components/{p-ebe0f3b2.js.map โ p-d4f2eec1.js.map} +1 -1
- package/dist/components/{p-853367ff.js โ p-d77cf57f.js} +7 -7
- package/dist/components/{p-853367ff.js.map โ p-d77cf57f.js.map} +1 -1
- package/dist/components/{p-b4bb3e74.js โ p-d9989605.js} +2 -2
- package/dist/components/{p-b4bb3e74.js.map โ p-d9989605.js.map} +1 -1
- package/dist/components/{p-5867f2a1.js โ p-d9d1453e.js} +2 -2
- package/dist/components/{p-5867f2a1.js.map โ p-d9d1453e.js.map} +1 -1
- package/dist/components/{p-d69de688.js โ p-e28192a5.js} +3 -3
- package/dist/components/{p-d69de688.js.map โ p-e28192a5.js.map} +1 -1
- package/dist/components/{p-65b429d4.js โ p-e55b30b0.js} +15 -15
- package/dist/components/{p-65b429d4.js.map โ p-e55b30b0.js.map} +1 -1
- package/dist/components/{p-90642fb7.js โ p-ea7e5a85.js} +6 -6
- package/dist/components/{p-90642fb7.js.map โ p-ea7e5a85.js.map} +1 -1
- package/dist/components/{p-6ea4a4b6.js โ p-ecb1c83a.js} +43 -43
- package/dist/components/{p-6ea4a4b6.js.map โ p-ecb1c83a.js.map} +1 -1
- package/dist/components/{p-8918ad9d.js โ p-ecbbfbcd.js} +4 -4
- package/dist/components/{p-8918ad9d.js.map โ p-ecbbfbcd.js.map} +1 -1
- package/dist/components/{p-bb9a9d24.js โ p-f7f92307.js} +7 -7
- package/dist/components/{p-bb9a9d24.js.map โ p-f7f92307.js.map} +1 -1
- package/dist/components/{p-e1a977af.js โ p-f89d6ab1.js} +14 -14
- package/dist/components/{p-e1a977af.js.map โ p-f89d6ab1.js.map} +1 -1
- package/dist/components/{p-a398630f.js โ p-fa1bb361.js} +10 -10
- package/dist/components/{p-a398630f.js.map โ p-fa1bb361.js.map} +1 -1
- package/dist/components/{p-6e648f09.js โ p-fa2bcda4.js} +9 -9
- package/dist/components/{p-6e648f09.js.map โ p-fa2bcda4.js.map} +1 -1
- package/dist/components/{p-617e63f4.js โ p-fc9f4cae.js} +28 -28
- package/dist/components/{p-617e63f4.js.map โ p-fc9f4cae.js.map} +1 -1
- package/dist/components/{p-04f778b7.js โ p-fe705776.js} +13 -13
- package/dist/components/{p-04f778b7.js.map โ p-fe705776.js.map} +1 -1
- package/dist/components/smoothly-app-demo.js +191 -197
- package/dist/components/smoothly-app-demo.js.map +1 -1
- package/dist/components/smoothly-app-room.js +1 -1
- package/dist/components/smoothly-app.js +1 -1
- package/dist/components/smoothly-back-to-top.js +1 -1
- package/dist/components/smoothly-burger.js +1 -1
- package/dist/components/smoothly-button-confirm.js +1 -1
- package/dist/components/smoothly-button-demo.js +1 -1
- package/dist/components/smoothly-calendar.js +1 -1
- package/dist/components/smoothly-checkbox.js +3 -3
- package/dist/components/smoothly-color.js +1 -1
- package/dist/components/smoothly-country.js +1 -1
- package/dist/components/smoothly-dialog-demo.js +1 -1
- package/dist/components/smoothly-dialog.js +1 -1
- package/dist/components/smoothly-display-demo-json.js +1 -1
- package/dist/components/smoothly-display-demo.js +1 -1
- package/dist/components/smoothly-display-json-object.js +1 -1
- package/dist/components/smoothly-display-json-primitive.js +1 -1
- package/dist/components/smoothly-display-json-record-key.js +1 -1
- package/dist/components/smoothly-display-json.js +1 -1
- package/dist/components/smoothly-display.js +1 -1
- package/dist/components/smoothly-filter-field.js +1 -1
- package/dist/components/smoothly-filter-input.js +1 -1
- package/dist/components/smoothly-filter-select.js +1 -1
- package/dist/components/smoothly-filter-toggle.js +1 -1
- package/dist/components/smoothly-filter.js +1 -1
- package/dist/components/smoothly-form-demo-all.js +1 -1
- package/dist/components/smoothly-form-demo-card.js +1 -1
- package/dist/components/smoothly-form-demo-controlled.js +1 -1
- package/dist/components/smoothly-form-demo-date-range.js +1 -1
- package/dist/components/smoothly-form-demo-date.js +1 -1
- package/dist/components/smoothly-form-demo-login.js +1 -1
- package/dist/components/smoothly-form-demo-pet.js +1 -1
- package/dist/components/smoothly-form-demo-prices.js +1 -1
- package/dist/components/smoothly-form-demo-schedule.js +1 -1
- package/dist/components/smoothly-form-demo-transparent.js +1 -1
- package/dist/components/smoothly-form-demo-typed.js +1 -1
- package/dist/components/smoothly-form-demo.js +1 -1
- package/dist/components/smoothly-form.js +1 -1
- package/dist/components/smoothly-icon-demo.js +1 -1
- package/dist/components/smoothly-icon.js +1 -1
- package/dist/components/smoothly-input-checkbox-demo.js +28 -28
- package/dist/components/smoothly-input-checkbox.js +1 -1
- package/dist/components/smoothly-input-clear.js +1 -1
- package/dist/components/smoothly-input-color-demo.js +1 -1
- package/dist/components/smoothly-input-color.js +1 -1
- package/dist/components/smoothly-input-date-range.js +1 -1
- package/dist/components/smoothly-input-date.js +1 -1
- package/dist/components/smoothly-input-demo-standard.js +1 -1
- package/dist/components/smoothly-input-demo.js +1 -1
- package/dist/components/smoothly-input-edit.js +1 -1
- package/dist/components/smoothly-input-file.js +1 -1
- package/dist/components/smoothly-input-month.js +1 -1
- package/dist/components/smoothly-input-price-demo.js +1 -1
- package/dist/components/smoothly-input-radio-item.js +1 -1
- package/dist/components/smoothly-input-radio.js +1 -1
- package/dist/components/smoothly-input-range-demo.js +1 -1
- package/dist/components/smoothly-input-range.js +1 -1
- package/dist/components/smoothly-input-reset.js +1 -1
- package/dist/components/smoothly-input-select.js +1 -1
- package/dist/components/smoothly-input-submit.js +1 -1
- package/dist/components/smoothly-input.js +1 -1
- package/dist/components/smoothly-item.js +1 -1
- package/dist/components/smoothly-label.js +1 -1
- package/dist/components/smoothly-lazy.js +1 -1
- package/dist/components/smoothly-load-more.js +1 -1
- package/dist/components/smoothly-modal.js +1 -1
- package/dist/components/smoothly-notification.js +1 -1
- package/dist/components/smoothly-notifier.js +1 -1
- package/dist/components/smoothly-spinner.js +1 -1
- package/dist/components/smoothly-submit.js +1 -1
- package/dist/components/smoothly-summary.js +1 -1
- package/dist/components/smoothly-tab.js +1 -1
- package/dist/components/smoothly-table-body.js +1 -1
- package/dist/components/smoothly-table-cell.js +1 -1
- package/dist/components/smoothly-table-demo-colspan.js +1 -1
- package/dist/components/smoothly-table-demo-filler-row.js +1 -1
- package/dist/components/smoothly-table-demo-filtered.js +1 -1
- package/dist/components/smoothly-table-demo-group.js +1 -1
- package/dist/components/smoothly-table-demo-nested-inner.js +1 -1
- package/dist/components/smoothly-table-demo-nested.js +1 -1
- package/dist/components/smoothly-table-demo-simple.js +1 -1
- package/dist/components/smoothly-table-demo.js +1 -1
- package/dist/components/smoothly-table-expandable-cell.js +1 -1
- package/dist/components/smoothly-table-expandable-row.js +1 -1
- package/dist/components/smoothly-table-filler-row.js +1 -1
- package/dist/components/smoothly-table-foot.js +1 -1
- package/dist/components/smoothly-table-head.js +1 -1
- package/dist/components/smoothly-table-row-group.js +1 -1
- package/dist/components/smoothly-table-row.js +1 -1
- package/dist/components/smoothly-table.js +1 -1
- package/dist/components/smoothly-tabs-demo.js +1 -1
- package/dist/components/smoothly-tabs.js +1 -1
- package/dist/components/smoothly-theme-color.js +1 -1
- package/dist/components/smoothly-theme-colors.js +1 -1
- package/dist/components/smoothly-theme-demo.js +1 -1
- package/dist/components/smoothly-theme-guide.js +1 -1
- package/dist/components/smoothly-theme-picker.js +1 -1
- package/dist/components/smoothly-toggle-switch-demo.js +1 -1
- package/dist/components/smoothly-toggle-switch.js +1 -1
- package/dist/components/smoothly-trigger-sink.js +1 -1
- package/dist/components/smoothly-trigger-source.js +1 -1
- package/dist/components/smoothly-trigger.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{smoothly-app_99.entry.js โ smoothly-app_98.entry.js} +303 -324
- package/dist/esm/smoothly-app_98.entry.js.map +1 -0
- package/dist/esm/smoothly-checkbox.entry.js +2 -2
- package/dist/esm/smoothly-color.entry.js +1 -1
- package/dist/esm/smoothly-country.entry.js +1 -1
- package/dist/esm/smoothly-input-checkbox-demo.entry.js +1 -1
- package/dist/esm/smoothly-submit.entry.js +1 -1
- package/dist/esm/smoothly-trigger-sink.entry.js +1 -1
- package/dist/esm/smoothly-trigger-source.entry.js +1 -1
- package/dist/esm/smoothly.js +1 -1
- package/dist/smoothly/{p-37d77190.entry.js โ p-018e3f3c.entry.js} +2 -2
- package/dist/smoothly/{p-aef275e0.entry.js โ p-0c10da7c.entry.js} +2 -2
- package/dist/smoothly/{p-534c56da.entry.js โ p-2f60a07e.entry.js} +2 -2
- package/dist/smoothly/{p-8a7f2913.entry.js โ p-69c6102d.entry.js} +2 -2
- package/dist/smoothly/{p-faea4d1c.entry.js โ p-8a1d7506.entry.js} +2 -2
- package/dist/smoothly/p-b803a3c2.entry.js +2 -0
- package/dist/smoothly/p-b803a3c2.entry.js.map +1 -0
- package/dist/smoothly/{p-963b72df.entry.js โ p-cdb8913e.entry.js} +2 -2
- package/dist/smoothly/p-d3024318.entry.js +2 -0
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/dist/smoothly/smoothly.esm.js.map +1 -1
- package/dist/types/components/icon/demo/index.d.ts +1 -1
- package/dist/types/components/icon/index.d.ts +1 -1
- package/dist/types/components.d.ts +2 -25
- package/package.json +1 -1
- package/dist/cjs/smoothly-app_99.cjs.entry.js.map +0 -1
- package/dist/collection/components/toggle/index.js +0 -129
- package/dist/collection/components/toggle/index.js.map +0 -1
- package/dist/collection/components/toggle/style.css +0 -36
- package/dist/components/p-121a3877.js.map +0 -1
- package/dist/components/p-310690f3.js +0 -47
- package/dist/components/p-310690f3.js.map +0 -1
- package/dist/components/p-58be554d.js +0 -123
- package/dist/components/p-59f81a89.js +0 -175
- package/dist/components/p-73e309ae.js +0 -45
- package/dist/components/p-7448315b.js.map +0 -1
- package/dist/components/p-94cb3bb9.js +0 -176
- package/dist/components/p-9e758101.js +0 -57
- package/dist/components/p-9e758101.js.map +0 -1
- package/dist/components/p-bad4348e.js +0 -79
- package/dist/components/p-bad4348e.js.map +0 -1
- package/dist/components/p-c57b7011.js +0 -238
- package/dist/components/p-eafc7555.js.map +0 -1
- package/dist/components/smoothly-toggle.d.ts +0 -11
- package/dist/components/smoothly-toggle.js +0 -8
- package/dist/components/smoothly-toggle.js.map +0 -1
- package/dist/esm/smoothly-app_99.entry.js.map +0 -1
- package/dist/smoothly/p-0d394534.entry.js +0 -2
- package/dist/smoothly/p-0d394534.entry.js.map +0 -1
- package/dist/smoothly/p-cbcf6951.entry.js +0 -2
- package/dist/types/components/toggle/index.d.ts +0 -9
- /package/dist/smoothly/{p-37d77190.entry.js.map โ p-018e3f3c.entry.js.map} +0 -0
- /package/dist/smoothly/{p-aef275e0.entry.js.map โ p-0c10da7c.entry.js.map} +0 -0
- /package/dist/smoothly/{p-534c56da.entry.js.map โ p-2f60a07e.entry.js.map} +0 -0
- /package/dist/smoothly/{p-8a7f2913.entry.js.map โ p-69c6102d.entry.js.map} +0 -0
- /package/dist/smoothly/{p-faea4d1c.entry.js.map โ p-8a1d7506.entry.js.map} +0 -0
- /package/dist/smoothly/{p-963b72df.entry.js.map โ p-cdb8913e.entry.js.map} +0 -0
- /package/dist/smoothly/{p-cbcf6951.entry.js.map โ p-d3024318.entry.js.map} +0 -0
|
@@ -11,35 +11,35 @@ export class SmoothlyDisplayDemo {
|
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
13
|
return [
|
|
14
|
-
h("main", { key: '
|
|
14
|
+
h("main", { key: '21fb2b79f1e444d11b25150a336ce64e74f94386' }, h("fieldset", { key: '8b8ef87a351e4cb8754f44f74ad31185db62b0cb' }, h("h2", { key: 'e466ccf59ad1f4e2a41c8dd1b1d85da6b37c8f95' }, "Smoothly display"), h("dl", { key: 'acb593cb9a73566cc3defcc55eede3a7710a42b0' }, h("dt", { key: '9ccdcb7f5e3f55ea39d78b8ed6e75edb5f4a4c96' }, "Duration"), h("dd", { key: 'b7c93ccc874874faabe5e313ba204795a19adfc0' }, h("div", { key: 'd6e3d99849191e6d8effae216348bd634a4114b2' }, h("div", { key: 'bb64f8e9518218a499d0e52b5df759b31093e0e0' }, h("smoothly-display", { key: '151b7ca20847a1e41701d3c93ad780a222f990fb', style: { display: "inline" }, type: "duration", value: { hours: 13, minutes: 100 } }), " h"), h("div", { key: '72035e5cab01fd9a06d2782ba1255c2f86cbfdac' }, h("smoothly-display", { key: '0f4723aac6e41aa4a7e29b0456e4661066b28985', style: { display: "inline" }, type: "duration", value: { hours: 8 } }), " h"), h("div", { key: '1346fe1098e87dab09ae4268fab19f7eb18cd949' }, h("smoothly-display", { key: '5e70c627fe2dc9e1d65cfec40fa63a36d419466f', style: { display: "inline" }, type: "duration", value: { minutes: 3 } }), " h"), h("div", { key: '24beed45ab0c2cb2703d97ddecb72b767f19d989' }, h("smoothly-display", { key: 'a57ee2a431537bffe6d8a630c2466e342a10f089', style: { display: "inline" }, type: "duration", value: { hours: -13, minutes: 100 } }), " h"), h("div", { key: '44f65151109d00905e996e9205d71588ecabaea3' }, h("smoothly-display", { key: '5c0a01aca2d99cb82c66701d4c7d7de26043d987', style: { display: "inline" }, type: "duration", value: { hours: -8 } }), " h"), h("div", { key: '18cbc082f3d8f71f3ba6c6b7eb3a977b13d45268' }, h("smoothly-display", { key: 'a5bbf74186f51ce22f6eceb8396f215e7b0fc297', style: { display: "inline" }, type: "duration", value: {} }), " h"), h("div", { key: '1d2361cec57f38f40636641702f92100ebcd9122' }, h("smoothly-display", { key: 'a561ef92252a23064e7f7f7ffca3314a099329f2', style: { display: "inline" }, type: "duration", value: { minutes: -3 } }), " h"))), h("dt", { key: 'ab7b23c9c2ad57ceb6a2ce75d8f0a4e93439e610' }, "text"), h("dd", { key: '8913158f3f3a5c4012ae94a3f1b38442fcb5aff2' }, h("smoothly-display", { key: '13d54b85dcf178d480c8c834c79c47231c785aa6', type: "text", value: "text" })), h("dt", { key: 'e3c43484f7cc87eb9bf67d6474bc9552dbd643bd' }, "postal code"), h("dd", { key: '0df2d428a7847b3ddf436d2e9db2fe367f41df80' }, h("smoothly-display", { key: '8550c5ee46cc4e0c1bb956b2dbf8a62c452aee30', type: "postal-code", value: "752 31" })), h("dt", { key: '1b06810c083306938ce8d25b5582a15cb066b085' }, "password"), h("dd", { key: 'b078c56b5a9d62e23b9d9b8ab6cd4d10798aa726' }, h("smoothly-display", { key: '773204df4456963fbcc5cc26416c40f8111e43d0', type: "password", value: "password" })), h("dt", { key: '38c93b73ae2830ef7995f9c6d93d62c1ba019680' }, "email"), h("dd", { key: '3f822f17d630c3388155a66e97e0bbb6fb7c3951' }, h("smoothly-display", { key: 'f31678fe3df819cdc266876c54a1d810e9fbf9e8', type: "email", value: "test@example.com" })), h("dt", { key: '9abf27aa6b2a6ffc035f14adc1204e620d8061ce' }, "price"), h("dd", { key: '15a0e06145971b2c14abb0250cbb7edcea81483b' }, h("smoothly-display", { key: '256922cd4e8c86be1707c1ddc9d9e8550fe7b5b3', type: "price", value: "13.37", currency: "SEK" })), h("dt", { key: '84e0e9b898c72e2390a5b50cc2445a988a845a60' }, "price without decimals"), h("dd", { key: '3979f33c43640eb1376a533755cc39ac1a8c17b3' }, h("smoothly-display", { key: '04afd00d763536c5b1faa310074726f346914114', type: "price", value: 200, currency: "SEK", toInteger: true })), h("dt", { key: '28c9ddc91d2ceb52a7bd60577570a0ece1ef1704' }, "price with decimals if they are set, otherwise no decimal"), h("dd", { key: 'e2ae34d84db38387ee3d81b474a606b7b3d40742' }, h("smoothly-display", { key: 'a8c053147e77e15ba5a6a7d372d24d0948d67bd0', type: "price", value: 200.2, currency: "SEK", toInteger: true })), h("dt", { key: 'a42173872dac85db0f822c70e69baef5a244b4ef' }, "price with decimals"), h("dd", { key: '4034e3ca1bde5f9ba3f5cdca710d3757b7e12955' }, h("smoothly-display", { key: '0a07c33c6bf9b14aeafcbbff3e9f6d2817eb7230', type: "price", value: 200.2, currency: "SEK" })), h("dt", { key: '701bee2385a94b38bf90f58b3dc4fb65458188e6' }, "percent"), h("dd", { key: 'e1b856b2059122d2c80e5c242bb95429bca4caeb' }, h("smoothly-display", { key: '2682ebd78e2753fc2b1d558e00cf10eec0449c83', type: "percent", value: "42" })), h("dt", { key: 'd6504232e42d7bd6fb239b24f8065677bfe7f5ce' }, "phone"), h("dd", { key: '3b2cf4c53cf6b6fba8687ab994d6ded634d60046' }, h("smoothly-display", { key: '1cb2c5406dfbec1db57c05be5f59f828b005cb17', type: "phone", value: "0101881108" })), h("dt", { key: '94ee7083b2d5eef22e7ff0e15c460f6fd863db9e' }, "card number"), h("dd", { key: '97954e5e4d12f6be04096006d51ea6c9ac3e7fa3' }, h("smoothly-display", { key: '027c2522274e6e23f6cda08da141b24432671837', type: "card-number", value: "4111111111111111" })), h("dt", { key: '77cda0ed14b7a75ef02966d1b29bf94b6d5fe6ef' }, "card expires"), h("dd", { key: 'e2c1cbe5353efc0bea8435181499188bcdf8d051' }, h("smoothly-display", { key: '4aab5bf769fb89cadd2bf3fbb279a219e668c85d', type: "card-expires", value: "7/22" })), h("dt", { key: 'ecb64258605dbce40b3b6b8f51ec1922046ecd44' }, "card csc"), h("dd", { key: 'b37ef76653942f81a110df017f26c4c5699f32ad' }, h("smoothly-display", { key: 'e9cb2787e18d88f2cde4559c90f8ad9d45889d51', type: "card-csc", value: "987" })), h("dt", { key: 'f028f598bc51de708361494c66264047b8ab777e' }, "date"), h("dd", { key: '8900bb90156489b4cc9d22c663c9a2f5f80b1062' }, h("smoothly-display", { key: 'c31d4cf0631bf5495c9286bcc87a37c056ac6308', type: "date", value: "2022-07-07" })), h("dt", { key: 'a9df319e34d74e6ec9ef36e9f9128cda2df9043b' }, "date time"), h("dd", { key: 'f57d07c19738d28a60e0138cc827218a0f1ef7af' }, h("smoothly-display", { key: '663d9cfa4235e90f6a8231b9c7c7d6d0bd4beb4b', type: "date-time", format: {
|
|
15
15
|
year: "numeric",
|
|
16
16
|
month: "short",
|
|
17
17
|
day: "numeric",
|
|
18
18
|
hour: "numeric",
|
|
19
19
|
minute: "numeric",
|
|
20
20
|
second: "numeric",
|
|
21
|
-
}, value: "2022-07-07T02:02:02Z" })), h("dd", { key: '
|
|
21
|
+
}, value: "2022-07-07T02:02:02Z" })), h("dd", { key: '664a74d91f65917bff18734fd100347533fb9b4e' }, h("smoothly-display", { key: '456469ffdc5ccdea880ad86f92b9a29c183dcdba', type: "date-time", format: {
|
|
22
22
|
year: "2-digit",
|
|
23
23
|
month: "long",
|
|
24
24
|
day: "2-digit",
|
|
25
25
|
hour: "2-digit",
|
|
26
26
|
minute: "2-digit",
|
|
27
27
|
second: "2-digit",
|
|
28
|
-
}, value: "2022-07-07T02:02:02Z" })), h("dd", { key: '
|
|
28
|
+
}, value: "2022-07-07T02:02:02Z" })), h("dd", { key: '6714499c457900dee5e2cd5bedbba3ef7083b749' }, h("smoothly-display", { key: '4fea3c22e9402170205a5019a17850576fbb06f7', type: "date-time", format: {
|
|
29
29
|
year: "numeric",
|
|
30
30
|
month: "2-digit",
|
|
31
31
|
day: "2-digit",
|
|
32
32
|
hour: "numeric",
|
|
33
33
|
minute: "numeric",
|
|
34
34
|
second: "numeric",
|
|
35
|
-
}, value: "2022-07-07T12:22:24Z" })), h("dd", { key: '
|
|
35
|
+
}, value: "2022-07-07T12:22:24Z" })), h("dd", { key: '79c14cffa0634ab2af6fd3ba014d081e28e38319' }, h("smoothly-display", { key: 'd5559326f39e2f5bc8311135176b5eedb4ed2870', type: "date-time", format: {
|
|
36
36
|
year: "numeric",
|
|
37
37
|
month: "numeric",
|
|
38
38
|
day: "numeric",
|
|
39
39
|
hour: "numeric",
|
|
40
40
|
minute: "numeric",
|
|
41
41
|
second: "numeric",
|
|
42
|
-
}, value: "2022-07-07T12:22:24Z" })), h("dd", { key: '
|
|
42
|
+
}, value: "2022-07-07T12:22:24Z" })), h("dd", { key: '419b427db910e49fd541de31e95c7dd3dbd2811e' }, h("smoothly-display", { key: 'ebd569c36dd017c14523ee1efc8925c622f7747e', type: "date-time", format: { year: "numeric", month: "short", day: "numeric" }, value: "2022-07-07T00:00+02:00" })), h("dd", { key: '6df381d322a21b50ad70fc41fee8800721ca0889' }, h("smoothly-display", { key: '1ace79e51e8285e5124158f567a73508833bdcb4', type: "date-time", format: { year: "2-digit", month: "numeric", day: "numeric" }, value: "2022-07-07T00:00+02:00" })), h("dd", { key: 'dbdc1a002cab9e951678621ad394c1237e91f3f1' }, h("smoothly-display", { key: '529e5cd2b7f4bde6b06dfb51832cb4cb498c3447', type: "date-time", format: {
|
|
43
43
|
year: "2-digit",
|
|
44
44
|
month: "numeric",
|
|
45
45
|
day: "numeric",
|
|
@@ -47,21 +47,21 @@ export class SmoothlyDisplayDemo {
|
|
|
47
47
|
minute: "2-digit",
|
|
48
48
|
second: "2-digit",
|
|
49
49
|
timeZone: "Europe/Stockholm",
|
|
50
|
-
}, value: "2022-07-07T12:15Z" })), h("dt", { key: '
|
|
50
|
+
}, value: "2022-07-07T12:15Z" })), h("dt", { key: 'd7b788672f67fbf1d0528f604ef1e77673d2e69f' }, "Display JSON"), h("dd", { key: '87a892e6845db8618efd46d571e8a90f30ce1e6d' }, h("smoothly-display-demo-json", { key: 'f66473975507a01af105282f01f640c1baaa88ae' })))), h("h2", { key: '084965cafe76cf10bac4804c82ea460c0960f7da' }, "With labels"), h("dd", { key: '395e03618fc767dcca6b12386286a97c83882686' }, h("smoothly-display", { key: 'd5f90cfeaad01ea046ed543f54e70b089c91463d', label: "Today", type: "date", value: isoly.Date.now() }), h("smoothly-display", { key: '3333769695dd0b7e0d54fd729f2b3b59dc34737c', label: "Total amount", type: "price", currency: "SEK", value: 6789 }), h("smoothly-display", { key: '57070580aa9096b1d273bb7cb51a6ac82e22f9ca', label: "Total amount", type: "price", currency: "GBP", value: 678.9 }), h("smoothly-display", { key: 'b4af7875200f61caf1c51f969c61362af7b3d402', label: "Logs", type: "json", value: [
|
|
51
51
|
{ type: "trace", message: "Hello" },
|
|
52
52
|
{ type: "error", message: "Oh no!" },
|
|
53
|
-
] })), h("fieldset", { key: '
|
|
53
|
+
] })), h("fieldset", { key: '411e5133a5c4bf2d36ad1c6b00cf549e769d7665' }, h("h2", { key: '536dd0526204b6d389c670c576f32bca45c3630e' }, "Test of different kinds of notifier"), h("button", { key: '2faebb0bcea77262e0a18b5e8a375bef7b5de11b', onClick: () => this.noticeWarning(Notice.warn("This is a test warning notice.")) }, "warning"), h("button", { key: '21181f519f1bfe818fcc084596be2317fe541968', onClick: () => this.noticeWarning(Notice.succeeded("This is a test success notice.")) }, "success"), h("button", { key: 'c67c4056842c761165115333bb079165609208f1', onClick: () => this.noticeWarning(Notice.failed("This is a test danger notice.")) }, "danger"), h("button", { key: 'a42b0b8a77b40fa6ddea705306634489abaec09b', onClick: () => this.noticeWarning(Notice.execute("This is a test execute notice.", () => new Promise(resolve => window.setTimeout(() => resolve([true, "This went great"]), 3000)))) }, "execute"), h("button", { key: 'd651ea26abb9ce9dd336b45ded8849fc4a00c56a', onClick: () => this.noticeWarning(Notice.delay("This is a test delay notice.", () => new Promise(resolve => window.setTimeout(() => resolve([true, "This went great"]), 3000)))) }, "delay")), h("fieldset", { key: '91b1d46f457a5261ddff3a1bc67db822190f0591' }, h("h2", { key: 'd46c2765def7f55a8bd225dbd9f1c5379029878b' }, "Smoothly spinner"), h("div", { key: 'efb40135dbbbd78e6ba4c9927ff212178a3da9eb', style: { width: "fit-content" } }, "Large", h("smoothly-spinner", { key: '70616018eb896ff0bd28744b504fec5c416f1b45', size: "large", style: {
|
|
54
54
|
"--spinner-background": "200,255,200",
|
|
55
55
|
"--spinner-background-opacity": "0.2",
|
|
56
56
|
"--spinner-color": "0,130,0",
|
|
57
|
-
} })), h("div", { key: '
|
|
57
|
+
} })), h("div", { key: '585aff079f29aaeb3319268ebcf3857bec165942', style: { width: "fit-content" } }, "Medium", h("smoothly-spinner", { key: 'd46336b4e6fe98d2d2958c3047747b07d7999fe8', size: "medium" })), h("div", { key: '47db1735399b1b59e582b94229c4fdc51389b51d', style: { width: "fit-content" } }, "Small", h("smoothly-spinner", { key: '8292ad153260c3cd3d26ad597effa2356e913ca9', size: "small" })), h("div", { key: '45ed5bea68185714286757dfa56d14b5987c3a19' }, "Icon sized spinner on button", Color.types.map(color => (h("smoothly-button", { size: "icon", color: color, shape: "rounded", onClick: () => {
|
|
58
58
|
this.downloadingSpinner = true;
|
|
59
59
|
setTimeout(() => (this.downloadingSpinner = false), 3000);
|
|
60
|
-
} }, !this.downloadingSpinner && h("smoothly-icon", { name: "download-outline" }), this.downloadingSpinner && (h("smoothly-spinner", { size: "icon", style: { "--spinner-background-opacity": "0" } })))))), h("h3", { key: '
|
|
60
|
+
} }, !this.downloadingSpinner && h("smoothly-icon", { name: "download-outline" }), this.downloadingSpinner && (h("smoothly-spinner", { size: "icon", style: { "--spinner-background-opacity": "0" } })))))), h("h3", { key: 'd793d083180c7ce2cdaed3edc8d9b3aa88b827b3' }, "Spinner with overlay"), h("div", { key: '4e84a2f337c94398e86eab3dbfb055906e6e3640', style: { position: "relative", height: "10em" } }, "Large Overlay Spinner", h("smoothly-spinner", { key: 'f82d069b8d3ebf5f9a13e53e1ad7c60b19d21778', overlay: true, size: "large", style: {
|
|
61
61
|
"--spinner-background": "255,200,255",
|
|
62
62
|
"--spinner-background-opacity": "0.5",
|
|
63
63
|
"--spinner-color": "0,130,0",
|
|
64
|
-
} })), h("div", { key: '
|
|
64
|
+
} })), h("div", { key: 'd7403378fc9b34cef1a918ef9cc5ea7f27e81723', style: { position: "relative", height: "10em" } }, "Medium Overlay Spinner", h("smoothly-spinner", { key: 'e93ef55fe61481db7105153ece6ff80c498b8fad', overlay: true, color: "secondary", size: "medium" })), h("div", { key: 'c93c240c27abe1b38914b1af37eb374715038fd1', style: { position: "relative", height: "10em" } }, "Small Overlay Spinner", h("smoothly-spinner", { key: '7519fb4f9bfaf9e4f3792833db59d9617d64240c', overlay: true, size: "small" }))), h("fieldset", { key: '94281d9137b942eb9d25b110d923608d66f4151f' }, h("h2", { key: '12c705c2f5cdaf7a2dbcf4f71067aa1563156b53' }, "Smoothly summary"), h("smoothly-summary", { key: 'a94bc08481df51edee165c5f3ff4b0b6b524100b' }, h("p", { key: '7697067b2742d7527b91c1e57dc252d5bc047b95', slot: "summary" }, "Some title"), h("p", { key: 'bf1b7cabdb250a6eb6401ea6a4f6f4fe56d4be95', slot: "content" }, "Some content")), h("smoothly-summary", { key: '4a59074a291f48dbc2079eba28859176e139d145', size: "large" }, h("p", { key: '29d101a62f8928b7226b4539fb133d6fb45582f0', slot: "summary" }, "Some title"), h("p", { key: '24ca49ed27372ecf26904fe72e944c3f561b47f6', slot: "content" }, "Some content")), h("smoothly-summary", { key: 'd3b8dd90214c6adcaeb5cfee6d36d805c83c7322', color: "danger", fill: "clear" }, h("div", { key: '0db1d4d0d722605b00aa5a4fdbce3a701287ce8e', slot: "summary", style: { display: "flex", gap: "0.3rem" } }, h("span", { key: '2742c8dfb4e5ad70f433ed708424c64da93130fd' }, "Person"), h("smoothly-icon", { key: '84059e999cea916c17ccbb87acab606d3b23e15b', name: "person", color: "light", fill: "clear", size: "tiny" })), h("p", { key: '67818f7de2e59494d452d89a89b2437a4f66cf72', slot: "content" }, "Some person information.")), h("smoothly-summary", { key: '0f80219dc807486f83f6cae09e2240892608e00c', color: "danger", fill: "clear", open: true }, h("p", { key: 'e8cdfc372f68dbd7d1d04abe20e3744bfec51820', slot: "summary" }, "Some other title"), h("p", { key: 'a7a9ca8f540ce7847c51f788617e999df999dc1c', slot: "content" }, "A lot more content, yes please. A lot more content, yes please. A lot more content, yes please. A lot more content, yes please. A lot more content, yes please.A lot more content, yes please. A lot more content, yes please. A lot more content, yes please. A lot more content, yes please.")), h("h2", { key: '3533e4642ed7300f49ac9d7aeaad55d40b1c598d' }, "Label"), labels.map(l => (h("smoothly-label", { hue: l.hue, description: l.description, shape: "rectangle" }, l.name))), h("smoothly-label", { key: '82e99f058b45ee8eaaeeb5d855856ad3fb1d8f61', color: "primary", description: "Using colors", shape: "rectangle" }, "Primary"))),
|
|
65
65
|
];
|
|
66
66
|
}
|
|
67
67
|
static get is() { return "smoothly-display-demo"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyDisplayDemoJson {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: 'ea329526023da3b7329d8b7bd1cb34316542fd93' }, [0, 1, 3, undefined].map(colapseDepth => [
|
|
5
5
|
h("div", null, "collapseDepth=", colapseDepth !== null && colapseDepth !== void 0 ? colapseDepth : "undefined"),
|
|
6
6
|
h("div", null, h("smoothly-display", { type: "json", value: json, collapseDepth: colapseDepth })),
|
|
7
7
|
])));
|
|
@@ -19,16 +19,16 @@ export class SmoothlyDisplay {
|
|
|
19
19
|
const type = this.type;
|
|
20
20
|
switch (type) {
|
|
21
21
|
case "json":
|
|
22
|
-
result = h("smoothly-display-json", { key: '
|
|
22
|
+
result = h("smoothly-display-json", { key: '1ede546f9829aea0f9b8c319db98df10e07b04a3', value: this.value, collapseDepth: this.collapseDepth });
|
|
23
23
|
break;
|
|
24
24
|
default:
|
|
25
25
|
result = tidily.format(this.value, type);
|
|
26
26
|
break;
|
|
27
27
|
case "email":
|
|
28
|
-
result = h("a", { key: '
|
|
28
|
+
result = h("a", { key: 'c6047f436091639f6302be22f62610c0515a4009', href: "mailto:" + this.value }, tidily.format(this.value, type));
|
|
29
29
|
break;
|
|
30
30
|
case "phone":
|
|
31
|
-
result = h("a", { key: '
|
|
31
|
+
result = h("a", { key: 'b62431225a51efb22037598e4227671e863be3c3', href: "tel:" + this.value }, tidily.format(this.value, type, this.country));
|
|
32
32
|
break;
|
|
33
33
|
case "postal-code":
|
|
34
34
|
result = tidily.format(this.value, type, this.country);
|
|
@@ -6,7 +6,7 @@ export class SmoothlyDisplayJson {
|
|
|
6
6
|
this.collapseDepth = undefined;
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return h(JsonValue, { key: '
|
|
9
|
+
return h(JsonValue, { key: 'a817223386521cc073aeab087efc636977b65e0a', value: this.value, collapseDepth: this.collapseDepth });
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "smoothly-display-json"; }
|
|
12
12
|
static get encapsulation() { return "scoped"; }
|
|
@@ -25,9 +25,9 @@ export class SmoothlyDisplayJsonObject {
|
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
27
|
const nextCollapseDepth = typeof this.collapseDepth == "number" ? Math.max(this.collapseDepth - 1, 0) : undefined;
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: '2878d58011daeccd9d1e3383f1081883f08ec598', class: { empty: this.empty, open: this.open } }, h("span", { key: '8e07de6271113ae7c223c44a2193162071cf9eaf', class: "open-bracket", onClick: () => (this.open = !this.open), "data-length": this.length }, this.openBracket), h("span", { key: 'c850ca12c687165a5f752a1e3315a0d7bd947971', class: "content" }, Array.isArray(this.value)
|
|
29
29
|
? this.value.map(v => (h("div", { class: "indent" }, h(JsonValue, { value: v, collapseDepth: nextCollapseDepth }), h("span", { class: "comma" }, ","))))
|
|
30
|
-
: Object.entries(this.value).map(([k, v]) => (h("div", { class: "indent" }, h("smoothly-display-json-record-key", { value: k }), ":", " ", h(JsonValue, { value: v, collapseDepth: nextCollapseDepth }), h("span", { class: "comma" }, ","))))), h("span", { key: '
|
|
30
|
+
: Object.entries(this.value).map(([k, v]) => (h("div", { class: "indent" }, h("smoothly-display-json-record-key", { value: k }), ":", " ", h(JsonValue, { value: v, collapseDepth: nextCollapseDepth }), h("span", { class: "comma" }, ","))))), h("span", { key: '462371f02f42cbc4787b7a7a4eb0ff0b4598d326' }, this.closeBracket)));
|
|
31
31
|
}
|
|
32
32
|
static get is() { return "smoothly-display-json-object"; }
|
|
33
33
|
static get encapsulation() { return "scoped"; }
|
|
@@ -4,7 +4,7 @@ export class SmoothlyDisplayJsonRecordKey {
|
|
|
4
4
|
this.value = undefined;
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return h(Host, { key: '
|
|
7
|
+
return h(Host, { key: '525fa15610e18dc3073cc4c28b1acf559a4c4a8a' }, "\"", this.value, "\"");
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "smoothly-display-json-record-key"; }
|
|
10
10
|
static get encapsulation() { return "scoped"; }
|
|
@@ -4,7 +4,7 @@ export class SmoothlyDisplayJsonPrimitive {
|
|
|
4
4
|
this.value = undefined;
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return h(Host, { key: '
|
|
7
|
+
return h(Host, { key: '171404fee1a7bdd8ecd7beb0032c136e4e2652d8', class: this.value == null ? "null" : typeof this.value }, "" + JSON.stringify(this.value));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "smoothly-display-json-primitive"; }
|
|
10
10
|
static get encapsulation() { return "scoped"; }
|
|
@@ -17,7 +17,7 @@ export class SmoothlyFilterField {
|
|
|
17
17
|
this.value = event.detail.filter;
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: '247786bb8724ddcd5344cc02bb4f36e13737e43e' }, h("smoothly-input", { key: '3b8088c08cf3a7671b8b9b33e48ac133b7d4fe14', name: "filter", ref: e => (this.input = e), value: this.criteria.toString(), onSmoothlyInputLooks: e => e.stopPropagation(), onSmoothlyKeydown: e => {
|
|
21
21
|
e.stopPropagation();
|
|
22
22
|
e.detail.key == "Enter" && this.filterFieldEmit();
|
|
23
23
|
}, onSmoothlyBlur: e => e.stopPropagation(), onSmoothlyFormDisable: e => e.stopPropagation(), onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyChange: e => e.stopPropagation(), onSmoothlyInput: e => {
|
|
@@ -36,11 +36,11 @@ export class SmoothlyFilter {
|
|
|
36
36
|
this.filters.forEach(update => update(this.criteria));
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: 'd0758e4b4003774f8d64ea98dd189c9d1bc4dfb7' }, h("slot", { key: '326730f0a2cdc4efe92f75be74f50e9d0afc2337', name: "bar" }), h("smoothly-filter-field", { key: '771a0da9c7c28810fb8b9c3eae4e0b2d6a8d629a', criteria: this.criteria, ref: e => (this.field = e) }), this.criteria.toString() != "" && (h("smoothly-icon", { key: 'f0699e512b801b2a82a4b6a75764455c4f6ff970', name: "close", toolTip: "Clear all filters", size: "small", onClick: () => {
|
|
40
40
|
this.clear();
|
|
41
|
-
} })), h("div", { key: '
|
|
41
|
+
} })), h("div", { key: '4ed85c23a785b8f5a96d97acee1ec4bcdf11ccf1', class: this.expanded ? "container arrow-top" : "hidden" }, h("slot", { key: 'd41a7a8ed289625aa1f9de25b19a39cda75b6c29', name: "detail" })), h("smoothly-icon", { key: '534e48505b05d18bdbbc6d5817ef4f10d8c9f045', name: this.expanded ? "options" : "options-outline", toolTip: (this.expanded ? "Hide" : "Show") + " additional filters", size: "small", onClick: () => {
|
|
42
42
|
this.expanded = !this.expanded;
|
|
43
|
-
} }), h("div", { key: '
|
|
43
|
+
} }), h("div", { key: '52289b92ffc7b5f53e287c5c875ec3605ee307a2', class: this.expanded ? "close" : "hidden", onClick: () => (this.expanded = !this.expanded) })));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "smoothly-filter"; }
|
|
46
46
|
static get encapsulation() { return "scoped"; }
|
|
@@ -63,7 +63,7 @@ export class SmoothlyFilterInput {
|
|
|
63
63
|
(rest.length == 0 || (!!criteria.criteria && this.findInstanceOf(criteria.criteria, rest.join(".")))));
|
|
64
64
|
}
|
|
65
65
|
render() {
|
|
66
|
-
return (h("smoothly-input", { key: '
|
|
66
|
+
return (h("smoothly-input", { key: 'b9c0bad8ca30d5e45e9686b52f8536cf8b0f3a29', name: this.property, value: this.needle, type: this.type, placeholder: this.placeholder, onSmoothlyBlur: e => e.stopPropagation(), onSmoothlyFormDisable: e => e.stopPropagation(), onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyChange: e => e.stopPropagation(), onSmoothlyInput: e => this.inputHandler(e) }, this.label, h("slot", { key: 'b6bda14b39abfb507ce5a83f0cf95efb218d7c36' })));
|
|
67
67
|
}
|
|
68
68
|
static get is() { return "smoothly-filter-input"; }
|
|
69
69
|
static get encapsulation() { return "scoped"; }
|
|
@@ -99,7 +99,7 @@ export class SmoothlyFilterSelect {
|
|
|
99
99
|
return result && this.property.split(".").reduceRight((r, e) => selectively.property(e, r), result);
|
|
100
100
|
}
|
|
101
101
|
render() {
|
|
102
|
-
return (h("smoothly-input-select", { key: '
|
|
102
|
+
return (h("smoothly-input-select", { key: '9107d3913b3e08208538db9de5d27e9b8107c816', ref: e => (this.selectElement = e), name: this.property, looks: this.looks, multiple: this.multiple, menuHeight: this.menuHeight, onSmoothlyInputLooks: e => e.stopPropagation(), onSmoothlyItemSelect: e => e.stopPropagation(), onSmoothlyInput: e => this.selectHandler(e) }, this.label && (h("span", { key: '63b6cea56be4665c27dcb4822bd55700b1e62a7e', slot: "label" }, [this.label.slice(0, 1).toUpperCase(), this.label.slice(1, this.label.length)].join(""))), h("slot", { key: '30843b98d8e72b9eb258dfc6f12e58e5b49394ce', name: "items" })));
|
|
103
103
|
}
|
|
104
104
|
static get is() { return "smoothly-filter-select"; }
|
|
105
105
|
static get encapsulation() { return "scoped"; }
|
|
@@ -72,7 +72,7 @@ export class SmoothlyFilterToggle {
|
|
|
72
72
|
(rest.length == 0 || (!!check.criteria && this.findInstanceOf(check.criteria, rest.join(".")))));
|
|
73
73
|
}
|
|
74
74
|
render() {
|
|
75
|
-
return (h("smoothly-icon", { key: '
|
|
75
|
+
return (h("smoothly-icon", { key: '087ba0fc1cce503a6cf10665e89ca279075fcee7', fill: "clear", color: this.active ? "success" : "medium", name: (this.active ? `${this.icon}` : `${this.icon}-outline`), toolTip: this.toolTip, onClick: () => this.activeHandler(true) }));
|
|
76
76
|
}
|
|
77
77
|
static get is() { return "smoothly-filter-toggle"; }
|
|
78
78
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyFormDemoAll {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '4aafdec8d02db081953d370ef8d76e2088bf1102' }, h("h2", { key: 'e8e4e41a8363fd24b1edc5a9e97a3b2c25858fe8' }, "All inputs"), h("smoothly-form", { key: '2c8e99228944bacb529312d309b10b9f3dba8e43', looks: "grid", type: "create", readonly: true, action: "https://api.toiletapi.com/upload/6b12fd2f-e896-46f9-b38f-25cf42cee4b4", onSmoothlyFormSubmit: e => {
|
|
5
5
|
Object.entries(e.detail.value).forEach(([key, value]) => console.log(key, value));
|
|
6
|
-
} }, h("smoothly-input", { key: '
|
|
6
|
+
} }, h("smoothly-input", { key: '5453b9a059c8210c3311476842b7391f045667ab', readonly: true, name: "First Name", value: "John" }, "First name"), h("smoothly-input", { key: '90e31870a59bc198001b433647d2464a8686c019', showLabel: false, name: "Last name", value: "Doe" }, "Last name", h("smoothly-input-clear", { key: 'a9a8375a554d460964cf1f8d2d83599e378143c0', size: "icon", slot: "end" })), h("smoothly-input", { key: 'f1af6f8f2c4c244a61bc4b7e2b2402c15bd36040', type: "phone", name: "Phone", value: "777888999" }, "Phone", h("smoothly-input-reset", { key: 'b07098fb565faa815121b1ac12d2f19c5dae383f', size: "icon", slot: "end" })), h("smoothly-input-radio", { key: 'a7a55e86d8c37219a8f689ae44f249fa4b147357', clearable: true, name: "radioFirstInput" }, h("label", { key: '3efcc33f30a7f52c4e287ddadf136b7bff33a383', slot: "label" }, "Clearable"), h("smoothly-input-radio-item", { key: 'bcdd7d2d5a7e3f9164f3970330ca517922ba1cc9', value: "first" }, "Label 1"), h("smoothly-input-radio-item", { key: 'b90c7edce08ca75afc2abd72b91db9e7ec30621a', selected: true, value: "second" }, "Label 2"), h("smoothly-input-radio-item", { key: 'dfa717cfb10099f10c66810054e9c51874272c9a', value: "third" }, "Label 3")), h("smoothly-input-color", { key: '28c439cbcb81a7f3480e67d956cf28b0cdff18c0', name: "color" }, "Color"), h("smoothly-input-select", { key: '9d832b5471b3703173f92d0b2536af790ec872e2', multiple: true, menuHeight: "7.5items", placeholder: "Select...", name: "select-month" }, h("label", { key: 'bcc8d409a8d0fbfbdd7edc757958b3a43c2121b8', slot: "label" }, "Month multiple select"), h("smoothly-item", { key: '9270263fc0907a95fa4fda20faab20724463eccc', value: "1" }, "January"), h("smoothly-item", { key: 'df50a7b49930b58947e4ada4787fe0f3b9c7959b', value: "2" }, "February"), h("smoothly-item", { key: 'c9c9ed6fa3f64f2bb2a7f7ce7a8e3e6ec973a71b', value: "3" }, "March"), h("smoothly-item", { key: '1a4df13779efe8c8c61f2e57c39684690a7e677a', value: "4" }, "April"), h("smoothly-item", { key: 'c03f5dfebd422e4a81af772ab5ac5ddb08edecbd', value: "5" }, "May"), h("smoothly-item", { key: '1238d99c2295fa52c22e67076b9714d12cc19cba', value: "6" }, "June"), h("smoothly-item", { key: '46256dc03ebe9f2bebf360dfc51778aa1fa3f231', value: "7" }, "July"), h("smoothly-item", { key: '0d2d6530ef9a48579bf014197fa29c1778138b2d', value: "8" }, "August"), h("smoothly-item", { key: 'c454e4f74973b4e4919c8ea40576d174ec7c9762', value: "9" }, "September"), h("smoothly-item", { key: '6a410dc5b68b3fbd123531b99bad22d7ed9c0bce', value: "10" }, "October"), h("smoothly-item", { key: '5214628e65ea539a77a14eeb2bbfe4270fb03033', value: "11" }, "November"), h("smoothly-item", { key: '2ab1330f7b25c711d6d50239cff5f8c417addca6', value: "12" }, "December")), h("smoothly-input-select", { key: 'a1493892d87ab651e53780905807570b50b91d07', name: "select-icon", clearable: false, showSelected: false }, h("smoothly-item", { key: '61df0c697952bff56da044b3f29748926e58967a', value: "folder", selected: true }, h("smoothly-icon", { key: '0e54b6ca59fccab56e3ed55aa03862a263eb7e55', size: "small", name: "folder-outline" })), h("smoothly-item", { key: '5c3321c5142c69b3065b32a6b55a34aecfab33be', value: "camera" }, h("smoothly-icon", { key: 'cccbfdb9939b3d16a885d6605436fc54c1da3019', size: "small", name: "camera-outline" }))), h("smoothly-input-checkbox", { key: 'f2bd24855f068fb7add590cb87f4050a3c18c17f', name: "checkbox" }, "Check the box"), h("smoothly-input-checkbox", { key: '59a3654cf275543968911fa8dba440c1667496f9', name: "checkbox2", checked: true }, "Check the box 2"), h("smoothly-input-range", { key: '45ed118690207280f2c26768d0da1b7801b24bf2', step: 1, name: "range3", value: 20, label: "Range" }), h("smoothly-input", { key: '4d597c188035beeec5adc9ccef43bdf9e3eb2427', name: "pets.0.name" }, "First Pet's Name"), h("smoothly-input-range", { key: '9a9310130e8c940f4ec771aa6753e8f7231a7228', name: "pets.0.age", max: 100, step: 1, label: "First Pet's Age" }), h("smoothly-input", { key: '2c6cd64ce3a290205856e2442a1ef199a46d1cff', name: "pets.1.name" }, "Second Pet's Name"), h("smoothly-input-range", { key: 'e90157d8dfae3668bc67aa5646f2176754b08347', name: "pets.1.age", max: 100, step: 1, label: "Second Pet's Age" }), h("smoothly-input", { key: '26ee4906aa12fc145f24a45fbe4e0e6ac4f828e7', name: "pets.2.name" }, "Third Pet's Name"), h("smoothly-input-range", { key: '9c313148e3134d81f9ffbe76bb50ddea1e5f82e3', name: "pets.2.age", max: 100, step: 1, label: "Third Pet's Age" }), h("smoothly-input-file", { key: '471cde92dd3f9b6deb214d85fc689c4451ee2aac', name: "profile", placeholder: "Click or drag your profile picture here..." }, h("span", { key: '9baf5b9e972d897d55296c4bc870b2c22df72caa', slot: "label" }, "Profile"), h("smoothly-icon", { key: '15b62211482dedb406cc0fe9979b2ea845ba8fb6', slot: "button", name: "person-circle-outline", size: "tiny", fill: "default" })), h("smoothly-input", { key: '60578f6da664c305319c8f04d30a1c05eae33a06', type: "duration", name: "duration", value: {} }, "Duration"), h("smoothly-input-clear", { key: '8a9f189bacdba4054cbe6f4f21cd11c5246b5abb', fill: "default", type: "form", color: "warning", slot: "clear", size: "icon", shape: "rounded" }), h("smoothly-input-edit", { key: '480cf7b27cbdc2047f126677eb425a1576e98314', fill: "default", type: "form", color: "tertiary", slot: "edit", size: "icon", shape: "rounded" }), h("smoothly-input-reset", { key: 'e3b3fb9fbf3a7999c76d81c85629170dd5efd6c3', fill: "default", type: "form", color: "warning", slot: "reset", size: "icon", shape: "rounded" }), h("smoothly-input-submit", { key: 'db4bb9254a75878098844e4804a6121f053f631b', delete: true, slot: "delete", color: "danger", size: "icon", shape: "rounded" }), h("smoothly-input-submit", { key: '57b118fb1b4852b39baf424c3f69f1fa00bea891', fill: "default", color: "success", slot: "submit", size: "icon", shape: "rounded" }))));
|
|
7
7
|
}
|
|
8
8
|
static get is() { return "smoothly-form-demo-all"; }
|
|
9
9
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyFormDemoCard {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: 'e6e9b32074fdf87dab50af3c1f904ac6861964ef' }, h("h2", { key: 'd4512eea73d23fb396db207b58fd437b282ba6d1' }, "Card"), h("smoothly-form", { key: '96adcef6dba1a152573a391a8d020fba1c498b2e', looks: "grid", onSmoothlyFormSubmit: (e) => alert(JSON.stringify(e.detail)) }, h("smoothly-input", { key: 'c7e9dd627c326a133cdc3833d8aa9bee1fe3cd85', type: "card-number", name: "card" }, "Card #"), h("smoothly-input-submit", { key: 'e5d11e876a9ad1171ce24aefa7f104fc51948df3', size: "icon", slot: "submit", color: "success", fill: "solid" }), h("smoothly-input", { key: 'b7193c79148812850e1d31970f6696da9c8a1083', type: "card-expires", name: "expires" }, "Expires"), h("smoothly-input", { key: '69e610530f2d65909289c3a957df8c182613e9f4', type: "card-csc", name: "csc" }, "CVV/CVC"), h("smoothly-input", { key: '4f9685d7d83dff346e4660c25886193030395e73', type: "text", name: "name.first" }, "First Name"), h("smoothly-input", { key: '73f829b49a411a438f2228d17679671a0075335d', type: "text", name: "name.last" }, "Last Name"))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-form-demo-card"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -31,7 +31,7 @@ export class SmoothlyFormDemoControlled {
|
|
|
31
31
|
event.detail.result(false);
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: 'ef92c785b3365355b8ba811433b79938d060a5a4' }, h("h2", { key: '306ca5c5065a7a6e92ddf920fc987bf61228ab42' }, "Controlled"), h("smoothly-form", { key: '92248470b1409209b278951fdd4235cab8b6dc08', readonly: true, looks: "grid", onSmoothlyFormSubmit: e => this.submitHandler(e) }, h("smoothly-input", { key: '57d2c32977ca8b036f4d645ba9487df62d396073', type: "text", name: "name", value: this.name }, "Name"), h("smoothly-input-select", { key: '9e29c5a6cb0b31b23fbe5e4db5c915e11b61eb10', name: "currency" }, h("span", { key: 'bae8a234efdf2ff5964797acb15ace498cdb2265', slot: "label" }, "Currency"), this.currencies.map(currency => (h("smoothly-item", { selected: currency == this.currency, value: currency }, currency)))), h("smoothly-input", { key: 'd178a9307c618462ef461009da95292fd6f11b2f' }, "Dummy"), h("smoothly-input-month", { key: '724c1e722dc1356525201c391321ecce06580ef4', name: "date", value: this.date, next: true, previous: true }, h("span", { key: '93fb5f06e98380c3a26435e560cbbfdff67369ef', slot: "year-label" }, "Year"), h("span", { key: '29ff08b4c11e66ddd5529b872ba310189ce460d5', slot: "month-label" }, "Month")), h("smoothly-input-edit", { key: '869f2703a94250f47169d0f532995ee239479387', slot: "edit", size: "icon", color: "primary", fill: "default" }), h("smoothly-input-reset", { key: '6801450e28506323ec1e963540acf491419b48d2', slot: "reset", size: "icon", color: "warning", fill: "default" }), h("smoothly-input-submit", { key: '7c5df04fd4720162adaea05387260f3132e940bf', slot: "submit", size: "icon", color: "success" }))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "smoothly-form-demo-controlled"; }
|
|
37
37
|
static get encapsulation() { return "scoped"; }
|
|
@@ -21,7 +21,7 @@ export class SmoothlyFormDemoDate {
|
|
|
21
21
|
event.detail.result(false);
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
|
-
return (h(Host, { key: '
|
|
24
|
+
return (h(Host, { key: '22f4ed40b5848bc4784005b35f4601ade0ce4aac' }, h("h2", { key: 'c894900036aa83547c5b92acde5fa1dc2e56030f' }, "Date input"), h("smoothly-form", { key: 'd0ac14b67b826e1b731b397c76d78f2999b946ec', looks: "border", type: "create", validator: this.validator, onSmoothlyFormSubmit: e => this.submitHandler(e) }, h("smoothly-input-date", { key: '74557c8d42c7091413536585a6eedef8cc464ca1', name: "date" }, "Date"), h("smoothly-input-submit", { key: '283d86091ece17e31f8a9818ee281335836a314e', slot: "submit" }, h("smoothly-icon", { key: '189942a7dd92dd1166b83edfe8987cd3e18d8a39', name: "checkmark-outline" })))));
|
|
25
25
|
}
|
|
26
26
|
static get is() { return "smoothly-form-demo-date"; }
|
|
27
27
|
static get encapsulation() { return "scoped"; }
|
|
@@ -21,7 +21,7 @@ export class SmoothlyFormDemoDateRange {
|
|
|
21
21
|
event.detail.result(false);
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
|
-
return (h(Host, { key: '
|
|
24
|
+
return (h(Host, { key: '68aae8530e210936e6ee1cb52e65835cb5376088' }, h("h2", { key: 'ab56927aa4b3ffb87ad6ccda58ae62933c210ed7' }, "Date-range input"), h("smoothly-form", { key: 'b1901ddc4170e4f0cd5fd3a2685ba98230a519a4', looks: "border", type: "create", validator: this.validator, onSmoothlyFormSubmit: e => this.submitHandler(e) }, h("smoothly-input-date-range", { key: '02ddba37b9f1a82f494717bbcdac1b86aff508b5', name: "range" }, "Range"), h("smoothly-input-submit", { key: '91c4c3b390da5f50236ab9afbd53c1b005a7a90a', slot: "submit" }, h("smoothly-icon", { key: 'ddecec0e052bf335197963a0e85345a4396d3976', name: "checkmark-outline" })))));
|
|
25
25
|
}
|
|
26
26
|
static get is() { return "smoothly-form-demo-date-range"; }
|
|
27
27
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyFormDemo {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: 'c5b442e2dc17139d030550d2595b2ce07c0c03ca' }, h("div", { key: '5a453eff769ea4cef9f474ae7bd22cfdae97e66d' }, h("smoothly-form-demo-all", { key: '1b771b6dbcdcf463b968518ee933bcf511adc25d' }), h("smoothly-form-demo-pet", { key: '9154d737dda44b49c7b1a4ddb3dfb7c2dc69bb4c' }), h("smoothly-form-demo-card", { key: 'b91fb0a14460ddf0074e55b4b31de8871ad41d47' }), h("smoothly-form-demo-login", { key: 'f0bc618e065739efda66c9eadb31d22785068e17' }), h("smoothly-form-demo-prices", { key: 'b9c08280b8cdb857ffbd5c443f5693e2b22a7cd5' }), h("smoothly-form-demo-typed", { key: 'e0a2cab7330a378e9aa8cec545f3aea804a0ff10' }), h("smoothly-form-demo-transparent", { key: '7cad7cf997da8d3cdfd40689a074fd746338eccc' }), h("smoothly-form-demo-date", { key: '1d8567528f1c8f3d5178b57e197b7818b7244dcf' }), h("smoothly-form-demo-schedule", { key: '0c96e9f297face51f234e8c377933468607d5ccd' }), h("smoothly-form-demo-date-range", { key: 'e1409719e74987f69cb66e689a88484f3a662ef8' }), h("smoothly-form-demo-controlled", { key: '09d09373a678c6754be06e7795870ad8344bfe55' }))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-form-demo"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyFormDemoLogin {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '914cd546393dcc39159cb968565a77afb574538f' }, h("h2", { key: '7fee155ff0311666f0061bfe0b0292d7418150f1' }, "Login"), h("smoothly-form", { key: 'f3237c61ebb16e0f7715a87e3a949705fa6979ab', looks: "border" }, h("smoothly-input", { key: '0ed97ea010760f27c89e4c78d3b00dca898b4d98', type: "text", name: "username" }, "Username"), h("smoothly-input", { key: '039a6e17d6e359a93639ec99442b8cd93c91a1e1', type: "password", name: "password" }, "Password"), h("smoothly-input-reset", { key: 'e64d6a94c00b458d0d7c5e5b77a5f8b3a0fc316f', slot: "reset", type: "form", size: "icon", color: "warning" }), h("smoothly-input-submit", { key: '886ea445167ab3281130390594d3e165e7676b4b', slot: "submit" }))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-form-demo-login"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -8,10 +8,10 @@ export class SmoothlyFormDemoPet {
|
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
10
|
var _a, _b;
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: 'ca731e714eb7d3c9027c8eaacccf0ef611917de7' }, h("h2", { key: '6b4198cb4bc6f85810f4559fcfa97b8aa1948d76' }, "Pet"), h("h3", { key: '8877db7feccc2c437df73f4b9d1df2c0d9e9397f' }, "Value"), h("smoothly-form", { key: '817548dbe700db117d066032605e83e89bae52f9', looks: "border", onSmoothlyFormSubmit: (e) => alert(JSON.stringify(e.detail)), onSmoothlyFormInput: e => (this.value = Object.assign({}, e.detail)) }, h("smoothly-input", { key: '159422b05784af942138ba2b73c663988a981795', type: "text", name: "name.first" }, "Name"), h("smoothly-input", { key: 'a63d1fee5a11efff76f921e18cf7905473a41715', type: "integer", name: "age" }, "Age (Years)"), h("smoothly-input-checkbox", { key: '8ad23527074d579b7ba39e9d39ba25c458173114', name: "hasOwner", onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: e => {
|
|
12
12
|
this.hasOwner = e.detail.hasOwner;
|
|
13
13
|
e.stopPropagation();
|
|
14
|
-
} }, "Has Owner"), this.hasOwner && (h(Fragment, { key: '
|
|
14
|
+
} }, "Has Owner"), this.hasOwner && (h(Fragment, { key: 'fc45ad128e8f79b37745c32f67d1ba7e8b1c4fbf' }, h("smoothly-input", { key: '86d389e5e7b0d28d0df399400085729f6471716c', type: "text", name: "owner.firstName", value: this.owner.firstName, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { firstName: e.detail["owner.firstName"] })) }, "Owner First Name"), h("smoothly-input", { key: 'cd62d7fb931c4400103fcc9d9a053a05fa85e487', type: "text", name: "owner.lastName", value: this.owner.lastName, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { lastName: e.detail["owner.lastName"] })) }, "Owner Last Name"), h("smoothly-input-file", { key: 'a2896030432f228ad920cdeb4ba5858622ec80c5', name: "owner.picture" }, h("span", { key: '24617088152871d9ccdaec6090a8f373d91f23bd', slot: "label" }, "Owner picture")), h("smoothly-input-date", { key: '0401cc3c3323b07f71276a072319a30325200c3a', name: "owner.birthday", value: this.owner.birthday, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { birthday: e.detail["owner.birthday"] })) }, "Owner birthday"), h("smoothly-input-date-range", { key: '157925e70ec5003e368a04d598974017ed09ebb4', name: "owner.ownedRange", start: (_a = this.owner.ownedRange) === null || _a === void 0 ? void 0 : _a.start, end: (_b = this.owner.ownedRange) === null || _b === void 0 ? void 0 : _b.end, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { ownedRange: e.detail["owner.ownedRange"] })) }, "Owner ownedRange"), h("smoothly-input-range", { key: 'ddb0c2ce68a4217fc9888bd5cfd1ba23f86070c7', name: "owner.height", step: 1, max: 250, value: this.owner.height, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { height: e.detail["owner.height"] })) }, "Owner's Height"), h("smoothly-input-select", { key: 'c8c5da0249521e8531c89a7b8b3ac763d87efb41', name: "owner.favoriteHat" }, h("span", { key: 'a80454815d98de8211d0811be4f4e010eb5fea1d', slot: "label" }, "Owner's Favorite Hat"), ["๐ฉ top hat", "๐งข cap", "๐ sun hat", "โ none"].map((value, index) => (h("smoothly-item", { value: value, key: index, selected: this.owner.favoriteHat == value }, value)))), h("smoothly-input-color", { key: 'e89472883061c53b0f8eb697ee7780fddd438426', name: "owner.favoriteColor", value: this.owner.favoriteColor ? RGB.toHex(this.owner.favoriteColor) : undefined, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { favoriteColor: e.detail["owner.favoriteColor"] })) }, "Owner's Favorite Color"), h("smoothly-input-radio", { key: '50c7b642ea08b27fd6f2a29d1cd1985b13f14789', name: "owner.favoritePizza", value: this.owner.favoritePizza, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { favoritePizza: e.detail["owner.favoritePizza"] })) }, h("span", { key: 'baa6df6905dd70e4572b91ee17d599c75a593c91', slot: "label" }, "Owner's Favorite Pizza"), ["vesuvio", "capricciosa", "quattro formaggi"].map((value, index) => (h("smoothly-input-radio-item", { value: value, key: index }, value)))), h("smoothly-input-checkbox", { key: '5bb00bd662f3c4e537ce4fd107845b8d5abf09fd', name: "owner.hasPet", checked: this.owner.hasPet, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { hasPet: e.detail["owner.hasPet"] })) }, "Has Pet"))), h("smoothly-summary", { key: '4a3fc4cd07aa3873945c3ab974f99d037e3fbbda' }, h("span", { key: '0afdd64ca5682fbffd32bd276ad1754347be7c22', slot: "summary" }, "Summary"), h("div", { key: '495ef4c2d75d1643bc4f60dba3ce24d4b59cbe74', slot: "content" }, h("smoothly-input", { key: 'b62901460412b55658e0ecf9684dcf228c9b8aeb', type: "price", name: "summary.price", currency: "EUR" }, "Summary Price"), h("smoothly-input-file", { key: 'f5bbe653d7d76f849d407ed5412e7fd74738cf67', name: "summary.picture" }, h("span", { key: 'f895d5cd3508e1d0584c4b0f27b55a782f400185', slot: "label" }, "Summary picture")), h("smoothly-input-date", { key: '0954c449c3dde1535e41b5b7ef8c68769c41bc92', name: "summary.birthday" }, "Summary birthday"), h("smoothly-input-date-range", { key: '517776b35be90839508d52ef064ab6f60666ac04', name: "summary.ownedRange" }, "Summary ownedRange"), h("smoothly-input-range", { key: '9177373ede95dd28367e3da1ee1f1f9320f8d3b3', name: "summary.height", label: "Height" }), h("smoothly-input-select", { key: 'b49a7896448c2d40440e5ab6cec301d73d873669', name: "summary.favoriteHat" }, h("span", { key: '50efd70498341500f18cbc37beaaa36fabb8dfa1', slot: "label" }, "Summary's Favorite Hat"), ["๐ฉ top hat", "๐งข cap", "๐ sun hat", "โ none"].map((value, index) => (h("smoothly-item", { value: value, key: index }, value)))), h("smoothly-input-month", { key: '3855402ed77dd5d6e8e2e3e5d83928df72846a6e', name: "summary.month" }, h("span", { key: '2a19d1c8ca76b2a9e161c1ddff12574157074994', slot: "month-label" }, "Summary month")), h("smoothly-input-color", { key: '5860b2f19faf59a89dc7ec927580eec8c87cbb4a', name: "summary.color" }, "Summary Color"), h("smoothly-input-radio", { key: 'ed742b746ecd09c0a68b239b020a0d5c98a055a7', name: "summary.favoritePizza" }, h("span", { key: '658d7669cad7375204a0b8da4e811859d79ce8ac', slot: "label" }, "Summary's Favorite Pizza"), ["vesuvio", "capricciosa", "quattro formaggi"].map((value, index) => (h("smoothly-input-radio-item", { value: value, key: index }, value)))), h("smoothly-input-checkbox", { key: '5b6e99bdbf96c73a979dbf896e283e04c7e5914c', name: "summary.hasPet" }, "Has Pet"))), h("smoothly-tabs", { key: '4f491e665758c320d52b1296eb9bb7497697b626' }, h("smoothly-tab", { key: 'a0bf8af72607a286852fc39001708de27bf2e150', label: "Dog" }, h("smoothly-input", { key: 'ad8d73982d3791688cac56360b7924747af0110e', type: "text", name: "dog.breed" }, "Breed"), h("smoothly-input-file", { key: '8e5248bf2108046ca6cbdd8ec0185d2cb9aec86c', name: "dog.picture" }, h("span", { key: 'a4250a2ad68960d8842266cab470a91809c7b245', slot: "label" }, "Dog picture")), h("smoothly-input-date", { key: '106416b67980f12d5c22166e24824835118bccf6', name: "dog.birthday" }, "Dog birthday"), h("smoothly-input-date-range", { key: '2a1b7a1cf995ef931b8780d97f3170f7b854dc17', name: "dog.dateRange" }, "Dog date range"), h("smoothly-input-select", { key: '68446eaab3c5f035c03b408496d2a2f259e2c632', name: "dog.favoriteHat" }, h("span", { key: 'a22bf81ce8b12b752652a7605679c8aee1daf783', slot: "label" }, "Dog's Favorite Hat"), ["๐ฉ top hat", "๐งข cap", "๐ sun hat", "โ none"].map((value, index) => (h("smoothly-item", { value: value, key: index }, value)))), h("smoothly-input-color", { key: 'bead816b30d4577c2888420696cca1ab5aa67e66', name: "dog.favoriteColor" }, "Dog's Favorite Color"), h("smoothly-input-radio", { key: '4b92479885ffe3f6457946214192c5301298d421', name: "dog.favoritePizza" }, h("span", { key: '01ee08918c28deac0d27058f2eca7bcf73d7fe1a', slot: "label" }, "Dog's Favorite Pizza"), ["vesuvio", "capricciosa", "quattro formaggi"].map((value, index) => (h("smoothly-input-radio-item", { value: value, key: index }, value)))), h("smoothly-input-checkbox", { key: 'cda0f160b8e813fec7d648a2451b3ba033bfa0c4', name: "dog.hasPet" }, "Has Pet")), h("smoothly-tab", { key: '796d71378bcf2258a379332b2d48569435ad0bf7', label: "Cat", open: true }, h("smoothly-input", { key: '751076dda5a70f296b5bb4304b7b66003134e098', name: "cat.favoriteFood" }, "Favorite Food"))), h("smoothly-input-submit", { key: '5c8b9b8a08e1eff68c8b6420423d61fcdc4fe3c3', size: "icon", slot: "submit", color: "success", fill: "solid" })), h("smoothly-display", { key: '5ce4e16973896ff5e73e0a31697e5f4bb9471465', type: "json", value: this.value })));
|
|
15
15
|
}
|
|
16
16
|
static get is() { return "smoothly-form-demo-pet"; }
|
|
17
17
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyFormDemoPrices {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '9d7de2edf91d84fd944b0787aaae43abf274ac49' }, h("h2", { key: '643d7d413bbe2dfd46e26fe227527e6c089c5cc6' }, "Prices"), h("smoothly-form", { key: '8208d0a84ce3af46be9b9eb93652b3664ee643c8', looks: "line" }, h("smoothly-input", { key: 'e68ccdf92d114eebb5354f58254fc7e934dd8018', type: "price", name: "no" }, "No currency"), h("smoothly-input", { key: 'e4def726dbfe3e26c9292359f684eaad919fbf9c', type: "price", name: "crowns", currency: "SEK", toInteger: true }, "SEK (toInteger)"), h("smoothly-input", { key: 'd8519a00bf2f6f73cad691e7f5b1ef1bc465cadf', type: "price", name: "usDollar", currency: "USD" }, "USD"), h("smoothly-input", { key: 'bcc8cc63fbe4b674327e8216b65ae8861a70b1ca', type: "price", name: "pounds", currency: "GBP" }, "GBP"), h("smoothly-input", { key: '4c25cadee15865ebac7e336685c97f354a16c142', type: "price", name: "peso", currency: "UYW" }, "UYW"), h("smoothly-input", { key: '7928b1a081003be0858728f5bca227e040fecff2', type: "price", name: "iceland", currency: "ISK" }, "ISK"), h("smoothly-input", { key: '4bcd0d6eeb77f290dbeb16a29dded1481ff53bdc', type: "price", name: "Palladium", currency: "XPD" }, "XPD (Palladium)"), h("smoothly-input-reset", { key: '1223ba4cf3d7ab1cb6ab43ec706d54f5561741ea', slot: "reset", fill: "default", type: "form", color: "warning" }), h("smoothly-input-submit", { key: 'a10a2e58fb28cfb12318a0915badf62254658221', slot: "submit" }))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-form-demo-prices"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -14,7 +14,7 @@ var TimeTable;
|
|
|
14
14
|
})(TimeTable || (TimeTable = {}));
|
|
15
15
|
export class SmoothlyFormDemoPrices {
|
|
16
16
|
render() {
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: '8779c231cfea2a0488329c8384180b2ce6653c77' }, h("h2", { key: '7701101473e77f81f83d217cd9da07ddf3719917' }, "Schedule"), h("smoothly-form", { key: '4bd3b21b816df424c8d24d6ef3aa8481f866faa7', looks: "line", validator: TimeTable.type }, h("smoothly-input-date", { key: '581aeb5c592bb6d136aced229b57b323a4d22157', name: "schedule.0.date" }, "Date"), h("smoothly-input", { key: 'd5d8a372a1c75ba95d309f9bd88421f7515adc98', name: "schedule.0.amount", type: "price" }, "Amount"), h("smoothly-input-date", { key: '433e2853f54b231a2a055707034e6044864b308e', name: "schedule.1.date" }, "Date"), h("smoothly-input", { key: 'fdae625f6319f7ce39dc60ef54f40814aa413b9a', name: "schedule.1.amount", type: "price" }, "Amount"), h("smoothly-input-date", { key: '871ce952af55714bff595bfcc1792f8904489b68', name: "schedule.2.date" }, "Date"), h("smoothly-input", { key: 'ad3fd48a4325c79923b50c5631347d607eed16b5', name: "schedule.2.amount", type: "price" }, "Amount"), h("smoothly-input-reset", { key: '76c80fbd2868d82ccc3620937c50aaade8a6c91d', slot: "reset", fill: "default", type: "form", color: "warning" }), h("smoothly-input-submit", { key: '8d7cd8f3f3a8ee14c3b3210543874522d5bee3d9', slot: "submit" }))));
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "smoothly-form-demo-schedule"; }
|
|
20
20
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyFormDemoTransparent {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '53a31c785dc06bb1865af601f2272eea264bcf45' }, h("h2", { key: 'c5f0b6d091ac14b6c536ac86408101b965835a65' }, "Transparent"), h("smoothly-form", { key: 'f5ea31b4f975357c68d26736154b7a5c50674bb8', looks: "transparent", onSmoothlyFormSubmit: e => console.log(e.detail.value) }, h("smoothly-input-file", { key: '1ba3016a6b22095e36a12045acfb6a7122b326b0', name: "file" }, h("span", { key: 'ca7092555b9cae88390cbb594d46b91b97b46aa3', slot: "label" }, "File"), h("smoothly-icon", { key: 'c2b4022eb8dc04cc244d70e7fa9fb493cfd06fa3', slot: "button", name: "folder-open-outline", size: "small" })), h("smoothly-input", { key: 'a0e13fe8040012c94419c63cc49623a621843451', type: "duration", looks: "transparent", placeholder: "h:mm" }, "Input"), h("smoothly-input-date", { key: '0f6e14d465889d70de386972c19de0beee90517e' }, "Date"), h("smoothly-input-date-range", { key: 'f399d3172c129018ba86e217f8e2cb2534165340' }, "Date Range"), h("smoothly-input-select", { key: '85c77b434a7296389e6050257053f9d31e564cee', name: "transport" }, h("smoothly-item", { key: 'f0c1dcf75073173bd2be1171d2a783ec6ed0d22c', value: "plane" }, h("smoothly-icon", { key: 'f666fd4254963626e7cde15a41c33b5b7aa0cce4', name: "airplane-outline" })), h("smoothly-item", { key: 'e9ab4adb7f56fdd26faf7fe8f315a73066743e94', value: "car" }, h("smoothly-icon", { key: '01e19307755adb4a0d31fcdc6356a3c549315e5d', name: "car-outline" })), h("smoothly-item", { key: 'f624fbb5cd65bfd15117899389571d922df254b1', value: "bus", selected: true }, h("smoothly-icon", { key: 'c400375975272b95de64403e81f35d62247819c3', name: "bus-outline" }))), h("smoothly-input-submit", { key: '83ecdfad32bb44f5aee22bd9ed7fa08adbec348c', icon: "checkbox-outline" }))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-form-demo-transparent"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -3,7 +3,7 @@ import { isoly } from "isoly";
|
|
|
3
3
|
import { Contact } from "./Contact";
|
|
4
4
|
export class SmoothlyFormDemoTyped {
|
|
5
5
|
render() {
|
|
6
|
-
return (h(Host, { key: '
|
|
6
|
+
return (h(Host, { key: '7436ace22d5c15d63af957d69be005e2112052de' }, h("h2", { key: '08458d0241d08780ec24a72a127e8c0cc93f3aa1' }, "Typed Contact"), h("smoothly-form", { key: '16232cad107da9e5f472e960dca4f4a0b953b7bd', validator: Contact.type }, h("smoothly-input", { key: 'd7561d6eab24a5a0f1bc29c970d32f5eb72fba80', name: "name.first" }, "First Name"), h("smoothly-input", { key: 'cf44c5b7b47bcb8d3adcb82b8ea1d06e64b15f8d', name: "name.middle" }, "Middle Name (optional)"), h("smoothly-input", { key: 'b6d253c5b17c453b4bc73dc4c90efefc7d63edce', name: "name.last" }, "Last Name"), h("smoothly-input", { key: '0165cecb177e1c269c2a0db4e926306271d8a6be', name: "age", type: "integer" }, "Age (18-120)"), h("smoothly-input-select", { key: '3f30a15dbe4de0a5b0584cb8cf2dc48f6b9de077', name: "country" }, h("span", { key: '375090b3654e3351a1fffa1a85d3444c3374d82c', slot: "label" }, "Country"), isoly.CountryCode.Alpha2.values.map(country => (h("smoothly-item", { value: country }, isoly.CountryCode.Name.en.from(country))))), h("smoothly-input-date", { key: '8127e66c92cbec9e91019cd7fd3a5f82d7923bc5', name: "birthday" }, "Date of birth"), h("smoothly-input-reset", { key: '2c305f958cb25930100f182475d79fbeb69552f3', slot: "reset", type: "form", size: "icon", color: "warning" }), h("smoothly-input-submit", { key: '83e6fb1099c61c68bcdac8465d51b0cb91fb1722', slot: "submit", size: "icon", color: "success" }))));
|
|
7
7
|
}
|
|
8
8
|
static get is() { return "smoothly-form-demo-typed"; }
|
|
9
9
|
static get encapsulation() { return "scoped"; }
|