smoothly 1.4.0 โ 1.5.0
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/smoothly-app_99.cjs.entry.js +147 -147
- package/dist/cjs/smoothly-app_99.cjs.entry.js.map +1 -1
- 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/collection/components/app/demo/index.js +1 -1
- package/dist/collection/components/app/demo/index.js.map +1 -1
- package/dist/collection/components/app/room/index.js +1 -1
- package/dist/collection/components/back-to-top/index.js +2 -2
- package/dist/collection/components/burger/index.js +1 -1
- package/dist/collection/components/button/demo/index.js +3 -3
- package/dist/collection/components/button/index.js +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/index.js +1 -1
- 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/date/time/index.js +5 -5
- 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/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-cd4ae22e.js โ p-00e29131.js} +4 -4
- package/dist/components/{p-cd4ae22e.js.map โ p-00e29131.js.map} +1 -1
- package/dist/components/{p-3a1f5e8b.js โ p-03be2708.js} +10 -10
- package/dist/components/{p-3a1f5e8b.js.map โ p-03be2708.js.map} +1 -1
- package/dist/components/{p-5dd30cc0.js โ p-03c91070.js} +2 -2
- package/dist/components/{p-5dd30cc0.js.map โ p-03c91070.js.map} +1 -1
- package/dist/components/{p-11cc925c.js โ p-065cbcf5.js} +8 -8
- package/dist/components/{p-11cc925c.js.map โ p-065cbcf5.js.map} +1 -1
- package/dist/components/{p-e2ff40ce.js โ p-07d9e68a.js} +2 -2
- package/dist/components/{p-e2ff40ce.js.map โ p-07d9e68a.js.map} +1 -1
- package/dist/components/{p-e569751f.js โ p-0b8373df.js} +2 -2
- package/dist/components/{p-e569751f.js.map โ p-0b8373df.js.map} +1 -1
- package/dist/components/{p-49deb5fc.js โ p-115371b7.js} +3 -3
- package/dist/components/{p-49deb5fc.js.map โ p-115371b7.js.map} +1 -1
- package/dist/components/p-14ea6e65.js +244 -0
- package/dist/components/{p-a0df7a64.js.map โ p-14ea6e65.js.map} +1 -1
- package/dist/components/{p-f21f43d1.js โ p-18451fa9.js} +3 -3
- package/dist/components/{p-f21f43d1.js.map โ p-18451fa9.js.map} +1 -1
- package/dist/components/{p-a74a5a51.js โ p-18e35dd4.js} +3 -3
- package/dist/components/{p-a74a5a51.js.map โ p-18e35dd4.js.map} +1 -1
- package/dist/components/p-1d36d047.js +123 -0
- package/dist/components/{p-a95bab7d.js.map โ p-1d36d047.js.map} +1 -1
- package/dist/components/{p-95439799.js โ p-1e8fa07d.js} +5 -5
- package/dist/components/{p-95439799.js.map โ p-1e8fa07d.js.map} +1 -1
- package/dist/components/{p-940e5b8e.js โ p-1eab7079.js} +4 -4
- package/dist/components/{p-940e5b8e.js.map โ p-1eab7079.js.map} +1 -1
- package/dist/components/{p-d0935bef.js โ p-28dac8ac.js} +3 -3
- package/dist/components/{p-d0935bef.js.map โ p-28dac8ac.js.map} +1 -1
- package/dist/components/{p-04799383.js โ p-2bbb8f53.js} +2 -2
- package/dist/components/{p-04799383.js.map โ p-2bbb8f53.js.map} +1 -1
- package/dist/components/{p-97254dfe.js โ p-2c9a8b37.js} +11 -11
- package/dist/components/{p-97254dfe.js.map โ p-2c9a8b37.js.map} +1 -1
- package/dist/components/{p-8f6b490b.js โ p-2f17a8e0.js} +14 -14
- package/dist/components/{p-8f6b490b.js.map โ p-2f17a8e0.js.map} +1 -1
- package/dist/components/{p-a91db04a.js โ p-3024abfc.js} +4 -4
- package/dist/components/{p-a91db04a.js.map โ p-3024abfc.js.map} +1 -1
- package/dist/components/{p-d209231e.js โ p-347162c4.js} +10 -10
- package/dist/components/{p-d209231e.js.map โ p-347162c4.js.map} +1 -1
- package/dist/components/{p-4d18f37f.js โ p-35d30b5f.js} +14 -14
- package/dist/components/{p-4d18f37f.js.map โ p-35d30b5f.js.map} +1 -1
- package/dist/components/{p-0f3b692b.js โ p-3609c2f0.js} +13 -13
- package/dist/components/{p-0f3b692b.js.map โ p-3609c2f0.js.map} +1 -1
- package/dist/components/{p-9bb1e20b.js โ p-382b5857.js} +6 -6
- package/dist/components/{p-9bb1e20b.js.map โ p-382b5857.js.map} +1 -1
- package/dist/components/{p-67370f30.js โ p-38ec49fa.js} +3 -3
- package/dist/components/{p-67370f30.js.map โ p-38ec49fa.js.map} +1 -1
- package/dist/components/{p-dfb0153c.js โ p-3989ef69.js} +3 -3
- package/dist/components/{p-dfb0153c.js.map โ p-3989ef69.js.map} +1 -1
- package/dist/components/{p-948e9305.js โ p-3b06b8a0.js} +27 -27
- package/dist/components/{p-948e9305.js.map โ p-3b06b8a0.js.map} +1 -1
- package/dist/components/{p-33cdc807.js โ p-3b26fe6c.js} +5 -5
- package/dist/components/{p-33cdc807.js.map โ p-3b26fe6c.js.map} +1 -1
- package/dist/components/{p-33f636a1.js โ p-3f7a437a.js} +15 -15
- package/dist/components/{p-33f636a1.js.map โ p-3f7a437a.js.map} +1 -1
- package/dist/components/{p-50f2b79d.js โ p-4139620f.js} +14 -14
- package/dist/components/{p-50f2b79d.js.map โ p-4139620f.js.map} +1 -1
- package/dist/components/{p-2de92429.js โ p-49837ba2.js} +2 -2
- package/dist/components/{p-2de92429.js.map โ p-49837ba2.js.map} +1 -1
- package/dist/components/{p-f0e08ba3.js โ p-4fbdcaa4.js} +4 -4
- package/dist/components/{p-f0e08ba3.js.map โ p-4fbdcaa4.js.map} +1 -1
- package/dist/components/{p-18ba7524.js โ p-5083f036.js} +2 -2
- package/dist/components/{p-18ba7524.js.map โ p-5083f036.js.map} +1 -1
- package/dist/components/{p-eba2af2b.js โ p-50847f24.js} +13 -13
- package/dist/components/{p-eba2af2b.js.map โ p-50847f24.js.map} +1 -1
- package/dist/components/{p-e91292f2.js โ p-52ba5546.js} +5 -5
- package/dist/components/{p-e91292f2.js.map โ p-52ba5546.js.map} +1 -1
- package/dist/components/{p-b8107946.js โ p-565f1d48.js} +7 -7
- package/dist/components/{p-b8107946.js.map โ p-565f1d48.js.map} +1 -1
- package/dist/components/{p-8ac400d5.js โ p-56fc01bf.js} +5 -5
- package/dist/components/{p-8ac400d5.js.map โ p-56fc01bf.js.map} +1 -1
- package/dist/components/{p-37363a06.js โ p-5bb38e6d.js} +8 -8
- package/dist/components/{p-37363a06.js.map โ p-5bb38e6d.js.map} +1 -1
- package/dist/components/{p-21601376.js โ p-5bf78c75.js} +2 -2
- package/dist/components/{p-21601376.js.map โ p-5bf78c75.js.map} +1 -1
- package/dist/components/{p-cf692cc2.js โ p-5e242cbd.js} +3 -3
- package/dist/components/{p-cf692cc2.js.map โ p-5e242cbd.js.map} +1 -1
- package/dist/components/{p-f4c50262.js โ p-627c3fc7.js} +8 -8
- package/dist/components/{p-f4c50262.js.map โ p-627c3fc7.js.map} +1 -1
- package/dist/components/{p-2683f275.js โ p-6396cebd.js} +12 -12
- package/dist/components/{p-2683f275.js.map โ p-6396cebd.js.map} +1 -1
- package/dist/components/{p-065742a9.js โ p-68c91da3.js} +4 -4
- package/dist/components/{p-065742a9.js.map โ p-68c91da3.js.map} +1 -1
- package/dist/components/{p-9f71d26f.js โ p-72b6a817.js} +5 -5
- package/dist/components/{p-9f71d26f.js.map โ p-72b6a817.js.map} +1 -1
- package/dist/components/{p-5e4e6b48.js โ p-7b0de261.js} +6 -6
- package/dist/components/{p-5e4e6b48.js.map โ p-7b0de261.js.map} +1 -1
- package/dist/components/{p-10e9b56f.js โ p-7b9c60c5.js} +16 -16
- package/dist/components/{p-10e9b56f.js.map โ p-7b9c60c5.js.map} +1 -1
- package/dist/components/{p-d20010f3.js โ p-840a2e6c.js} +32 -32
- package/dist/components/{p-d20010f3.js.map โ p-840a2e6c.js.map} +1 -1
- package/dist/components/{p-1d50e1c3.js โ p-8a0d18a0.js} +15 -15
- package/dist/components/{p-1d50e1c3.js.map โ p-8a0d18a0.js.map} +1 -1
- package/dist/components/{p-f0f3ed83.js โ p-8a92424a.js} +37 -37
- package/dist/components/{p-f0f3ed83.js.map โ p-8a92424a.js.map} +1 -1
- package/dist/components/{p-7995e164.js โ p-8c0ab6b7.js} +15 -15
- package/dist/components/{p-7995e164.js.map โ p-8c0ab6b7.js.map} +1 -1
- package/dist/components/{p-8309d8d7.js โ p-8dedb4ea.js} +7 -7
- package/dist/components/{p-8309d8d7.js.map โ p-8dedb4ea.js.map} +1 -1
- package/dist/components/{p-a0930b47.js โ p-94091007.js} +6 -6
- package/dist/components/{p-a0930b47.js.map โ p-94091007.js.map} +1 -1
- package/dist/components/p-97b63ea3.js +176 -0
- package/dist/components/{p-42fba537.js.map โ p-97b63ea3.js.map} +1 -1
- package/dist/components/{p-28a3024e.js โ p-98440131.js} +2 -2
- package/dist/components/{p-28a3024e.js.map โ p-98440131.js.map} +1 -1
- package/dist/components/{p-8ce2b17b.js โ p-9bc7b378.js} +15 -15
- package/dist/components/{p-8ce2b17b.js.map โ p-9bc7b378.js.map} +1 -1
- package/dist/components/{p-76b9e403.js โ p-9d5f7dde.js} +15 -15
- package/dist/components/{p-76b9e403.js.map โ p-9d5f7dde.js.map} +1 -1
- package/dist/components/{p-8b2f08c5.js โ p-9e3806ff.js} +7 -7
- package/dist/components/{p-8b2f08c5.js.map โ p-9e3806ff.js.map} +1 -1
- package/dist/components/{p-e6eca6ea.js โ p-a09be6d8.js} +2 -2
- package/dist/components/{p-e6eca6ea.js.map โ p-a09be6d8.js.map} +1 -1
- package/dist/components/{p-6ce1475e.js โ p-a50f622f.js} +5 -5
- package/dist/components/{p-6ce1475e.js.map โ p-a50f622f.js.map} +1 -1
- package/dist/components/{p-182310f5.js โ p-a57e7345.js} +7 -7
- package/dist/components/{p-182310f5.js.map โ p-a57e7345.js.map} +1 -1
- package/dist/components/{p-125e9845.js โ p-a765eaaa.js} +5 -5
- package/dist/components/{p-125e9845.js.map โ p-a765eaaa.js.map} +1 -1
- package/dist/components/{p-a9bd3ecf.js โ p-a966d505.js} +16 -16
- package/dist/components/{p-a9bd3ecf.js.map โ p-a966d505.js.map} +1 -1
- package/dist/components/{p-9f7e55ba.js โ p-b121c0da.js} +2 -2
- package/dist/components/{p-9f7e55ba.js.map โ p-b121c0da.js.map} +1 -1
- package/dist/components/{p-ff99dcde.js โ p-b235b5aa.js} +5 -5
- package/dist/components/{p-ff99dcde.js.map โ p-b235b5aa.js.map} +1 -1
- package/dist/components/{p-3062590d.js โ p-b3cfa9a5.js} +13 -13
- package/dist/components/{p-3062590d.js.map โ p-b3cfa9a5.js.map} +1 -1
- package/dist/components/{p-b0806e7f.js โ p-b5f48ead.js} +28 -28
- package/dist/components/{p-b0806e7f.js.map โ p-b5f48ead.js.map} +1 -1
- package/dist/components/{p-a6abef9e.js โ p-b74838fd.js} +2 -2
- package/dist/components/{p-a6abef9e.js.map โ p-b74838fd.js.map} +1 -1
- package/dist/components/p-ba16f7d3.js +45 -0
- package/dist/components/{p-026d5067.js.map โ p-ba16f7d3.js.map} +1 -1
- package/dist/components/{p-3217c7b5.js โ p-ba76192d.js} +3 -3
- package/dist/components/{p-3217c7b5.js.map โ p-ba76192d.js.map} +1 -1
- package/dist/components/p-bbc6eae6.js +175 -0
- package/dist/components/{p-f5758759.js.map โ p-bbc6eae6.js.map} +1 -1
- package/dist/components/{p-77aa479d.js โ p-c131480d.js} +4 -4
- package/dist/components/{p-77aa479d.js.map โ p-c131480d.js.map} +1 -1
- package/dist/components/{p-559c35a3.js โ p-c31cce0c.js} +14 -14
- package/dist/components/{p-559c35a3.js.map โ p-c31cce0c.js.map} +1 -1
- package/dist/components/{p-b1d28f3f.js โ p-c3d52c12.js} +7 -7
- package/dist/components/{p-b1d28f3f.js.map โ p-c3d52c12.js.map} +1 -1
- package/dist/components/{p-8677ee6e.js โ p-c5f249a3.js} +14 -14
- package/dist/components/{p-8677ee6e.js.map โ p-c5f249a3.js.map} +1 -1
- package/dist/components/{p-675c3d3e.js โ p-c9619231.js} +12 -12
- package/dist/components/{p-675c3d3e.js.map โ p-c9619231.js.map} +1 -1
- package/dist/components/{p-0eacf5f4.js โ p-c98922f4.js} +2 -2
- package/dist/components/{p-0eacf5f4.js.map โ p-c98922f4.js.map} +1 -1
- package/dist/components/{p-1f5357e1.js โ p-ca85bc1d.js} +2 -2
- package/dist/components/{p-1f5357e1.js.map โ p-ca85bc1d.js.map} +1 -1
- package/dist/components/{p-2498d762.js โ p-cbf3c133.js} +45 -45
- package/dist/components/{p-2498d762.js.map โ p-cbf3c133.js.map} +1 -1
- package/dist/components/{p-0fb1eac0.js โ p-cef759f2.js} +5 -5
- package/dist/components/{p-0fb1eac0.js.map โ p-cef759f2.js.map} +1 -1
- package/dist/components/{p-ec207ccc.js โ p-d0953a9e.js} +4 -4
- package/dist/components/{p-ec207ccc.js.map โ p-d0953a9e.js.map} +1 -1
- package/dist/components/{p-44f424f6.js โ p-d1462fc3.js} +3 -3
- package/dist/components/{p-44f424f6.js.map โ p-d1462fc3.js.map} +1 -1
- package/dist/components/{p-fd158b77.js โ p-d1dcafa9.js} +4 -4
- package/dist/components/{p-fd158b77.js.map โ p-d1dcafa9.js.map} +1 -1
- package/dist/components/{p-51cb1946.js โ p-d3c8be66.js} +5 -5
- package/dist/components/{p-51cb1946.js.map โ p-d3c8be66.js.map} +1 -1
- package/dist/components/{p-fd1daa5a.js โ p-d5fe813a.js} +2 -2
- package/dist/components/{p-fd1daa5a.js.map โ p-d5fe813a.js.map} +1 -1
- package/dist/components/{p-f3e69915.js โ p-d693d5de.js} +9 -9
- package/dist/components/{p-f3e69915.js.map โ p-d693d5de.js.map} +1 -1
- package/dist/components/{p-5a0e167d.js โ p-d81a3a84.js} +3 -3
- package/dist/components/{p-5a0e167d.js.map โ p-d81a3a84.js.map} +1 -1
- package/dist/components/{p-d9989605.js โ p-d8bd7cc0.js} +2 -2
- package/dist/components/{p-d9989605.js.map โ p-d8bd7cc0.js.map} +1 -1
- package/dist/components/{p-c8f13bb3.js โ p-d969fa64.js} +2 -2
- package/dist/components/{p-c8f13bb3.js.map โ p-d969fa64.js.map} +1 -1
- package/dist/components/{p-90d81e79.js โ p-da4c10d0.js} +2 -2
- package/dist/components/{p-90d81e79.js.map โ p-da4c10d0.js.map} +1 -1
- package/dist/components/{p-aac94573.js โ p-dd3b21a0.js} +10 -10
- package/dist/components/{p-aac94573.js.map โ p-dd3b21a0.js.map} +1 -1
- package/dist/components/p-e4b92c84.js +73 -0
- package/dist/components/{p-6140aafa.js.map โ p-e4b92c84.js.map} +1 -1
- package/dist/components/{p-a4614623.js โ p-e5627b06.js} +4 -4
- package/dist/components/{p-a4614623.js.map โ p-e5627b06.js.map} +1 -1
- package/dist/components/{p-5bee4bdc.js โ p-e9e71692.js} +5 -5
- package/dist/components/{p-5bee4bdc.js.map โ p-e9e71692.js.map} +1 -1
- package/dist/components/{p-e87aacc3.js โ p-ea4cee14.js} +15 -15
- package/dist/components/{p-e87aacc3.js.map โ p-ea4cee14.js.map} +1 -1
- package/dist/components/{p-758edf83.js โ p-ec3b9004.js} +4 -4
- package/dist/components/{p-758edf83.js.map โ p-ec3b9004.js.map} +1 -1
- package/dist/components/{p-16c06f14.js โ p-ed1e7da4.js} +3 -3
- package/dist/components/{p-16c06f14.js.map โ p-ed1e7da4.js.map} +1 -1
- package/dist/components/{p-270e635e.js โ p-f2969db7.js} +2 -2
- package/dist/components/{p-270e635e.js.map โ p-f2969db7.js.map} +1 -1
- package/dist/components/{p-33087585.js โ p-fec4d798.js} +2 -2
- package/dist/components/{p-33087585.js.map โ p-fec4d798.js.map} +1 -1
- package/dist/components/smoothly-app-demo.js +97 -97
- 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-button.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 +29 -29
- 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-time.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/smoothly-app_99.entry.js +147 -147
- package/dist/esm/smoothly-app_99.entry.js.map +1 -1
- 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/smoothly/{p-ad856966.entry.js โ p-0e2084ab.entry.js} +2 -2
- package/dist/smoothly/p-2f754778.entry.js +2 -0
- package/dist/smoothly/p-2f754778.entry.js.map +1 -0
- package/dist/smoothly/{p-2f60a07e.entry.js โ p-451b0f1f.entry.js} +2 -2
- package/dist/smoothly/p-542e6f79.entry.js +2 -0
- package/dist/smoothly/{p-cdb8913e.entry.js โ p-87b8d337.entry.js} +2 -2
- package/dist/smoothly/{p-018e3f3c.entry.js โ p-884217fa.entry.js} +2 -2
- package/dist/smoothly/{p-e513fb66.entry.js โ p-d4de2329.entry.js} +2 -2
- package/dist/smoothly/{p-519dd2b0.entry.js โ p-d52851a6.entry.js} +2 -2
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/package.json +1 -1
- package/dist/components/p-026d5067.js +0 -45
- package/dist/components/p-42fba537.js +0 -176
- package/dist/components/p-6140aafa.js +0 -73
- package/dist/components/p-a0df7a64.js +0 -244
- package/dist/components/p-a95bab7d.js +0 -123
- package/dist/components/p-f5758759.js +0 -175
- package/dist/smoothly/p-8deb6fb9.entry.js +0 -2
- package/dist/smoothly/p-8deb6fb9.entry.js.map +0 -1
- package/dist/smoothly/p-ec1809c5.entry.js +0 -2
- /package/dist/smoothly/{p-ad856966.entry.js.map โ p-0e2084ab.entry.js.map} +0 -0
- /package/dist/smoothly/{p-2f60a07e.entry.js.map โ p-451b0f1f.entry.js.map} +0 -0
- /package/dist/smoothly/{p-ec1809c5.entry.js.map โ p-542e6f79.entry.js.map} +0 -0
- /package/dist/smoothly/{p-cdb8913e.entry.js.map โ p-87b8d337.entry.js.map} +0 -0
- /package/dist/smoothly/{p-018e3f3c.entry.js.map โ p-884217fa.entry.js.map} +0 -0
- /package/dist/smoothly/{p-e513fb66.entry.js.map โ p-d4de2329.entry.js.map} +0 -0
- /package/dist/smoothly/{p-519dd2b0.entry.js.map โ p-d52851a6.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: '2a76daef84887ea3bde88d366b2e21e14d57b44b' }, h("fieldset", { key: '1ca672f0189ec954870ec1a1334d710eb12de27b' }, h("h2", { key: '8adad2327cab875a2cb4b5bc0eec229d1e0056e9' }, "Smoothly display"), h("dl", { key: '34e4c3ffb01fbdf98ab7f37e421ee3d7cca379a3' }, h("dt", { key: '1e6fc46091902b66b8a40760191f53cdd30bc14a' }, "Duration"), h("dd", { key: '4966107aafd2506a4406e5dd282a81a7c6a9b66b' }, h("div", { key: '96dda5951ab4df35c0953b2aef462447770de4e7' }, h("div", { key: '5b315e7bf03247f15909ae0f3188666c4e542520' }, h("smoothly-display", { key: '8b4e73dadc46fbd99c17490d6847105690aa5f35', style: { display: "inline" }, type: "duration", value: { hours: 13, minutes: 100 } }), " h"), h("div", { key: 'fef2f6a200446d477b60eb70f0ca70f1238129a0' }, h("smoothly-display", { key: '0c488fdcaefa7864d050d98472dca2ecddd898b0', style: { display: "inline" }, type: "duration", value: { hours: 8 } }), " h"), h("div", { key: '0afc6954ed6dd90cc8dad83d57cb2f94a8681492' }, h("smoothly-display", { key: 'f0340041c6996a6e482ea3199ec5416788c546a8', style: { display: "inline" }, type: "duration", value: { minutes: 3 } }), " h"), h("div", { key: '3a1670abc42b8e2fbfdbc0949c2eeb2c79a5c15c' }, h("smoothly-display", { key: '09392b66cee4872abf14c9ece430a63d100c2ee1', style: { display: "inline" }, type: "duration", value: { hours: -13, minutes: 100 } }), " h"), h("div", { key: 'e863e33d414dc0da17818ce632e892ce25eb4a46' }, h("smoothly-display", { key: 'bf6e57117a4720686c34846466bee6f2a13ba831', style: { display: "inline" }, type: "duration", value: { hours: -8 } }), " h"), h("div", { key: '939798209aa002fb5a5bca479b099d101330fcfb' }, h("smoothly-display", { key: 'aa67a6663dee8531df73a141d304844eb96bc2c4', style: { display: "inline" }, type: "duration", value: {} }), " h"), h("div", { key: '69c7aa45e433a17583c13eb45ec68b32afbedf09' }, h("smoothly-display", { key: 'da59eece362ffe4847bf6e96a7c0cab6eb7aa9ee', style: { display: "inline" }, type: "duration", value: { minutes: -3 } }), " h"))), h("dt", { key: '8c438d67510bdd91eb89f2160a3ef1bf45e62999' }, "text"), h("dd", { key: 'ee6084f1769f173a3c2bb7068857306f4590311e' }, h("smoothly-display", { key: '8b74f5d51fc7b2994390ae6ade97127edd92cd83', type: "text", value: "text" })), h("dt", { key: 'c8a6db267c2985d64ca553919ff4ea21c4a77a9c' }, "postal code"), h("dd", { key: 'bcc16ccfda356d180e45e4eec39b7fd563f244f2' }, h("smoothly-display", { key: 'd296d047c7bc9adb14beaf528defd2956b268127', type: "postal-code", value: "752 31" })), h("dt", { key: 'df3cd2a6890585cc9ccedd2ef45892e3a081c08e' }, "password"), h("dd", { key: 'd73cf9f0f3d6a4430d6b7e9a9280fd2659f4afec' }, h("smoothly-display", { key: 'e66094f4ba694eff429ee99627f5e91eea77565d', type: "password", value: "password" })), h("dt", { key: 'b6b684dd9dba0035c67c67d9f71cb8f2c5d8196d' }, "email"), h("dd", { key: '9a743be9a2fd0d9dc8f4d7998123d88bd41a5768' }, h("smoothly-display", { key: '62617815b23ab6b9dce1cccfe4171ed640d1f68f', type: "email", value: "test@example.com" })), h("dt", { key: 'c0e3675247d4d7cae59e11c9ac0d5084efec7da9' }, "price"), h("dd", { key: '5ba67df88825d3aea8eba493beb1ec6ed8deb6a7' }, h("smoothly-display", { key: '074c2cc0269b950e742414d527f3e020afd5c9a0', type: "price", value: "13.37", currency: "SEK" })), h("dt", { key: '1e8526fd51f22962fd429276d935701a1d331ff0' }, "price without decimals"), h("dd", { key: '857b7141e8abeeeeb09f4f5c8a8df5b6a55aca2e' }, h("smoothly-display", { key: '0b39e2af7552ba9506574cbc3a10566980476329', type: "price", value: 200, currency: "SEK", toInteger: true })), h("dt", { key: '2155f8ed8ad6b8ec67973563bbca51486047f053' }, "price with decimals if they are set, otherwise no decimal"), h("dd", { key: '76505996a0acd9606fd8cf420ba007501c1add91' }, h("smoothly-display", { key: 'ab04814225516711be97ffb281ed640d4149e71d', type: "price", value: 200.2, currency: "SEK", toInteger: true })), h("dt", { key: '8f8e578f2faa73548b948c8a345c93f2b283779a' }, "price with decimals"), h("dd", { key: 'e6fe391647cbf0cb563c0badc16394b830fe1fe2' }, h("smoothly-display", { key: 'd14257a209f93b62d916df7e8254f6a0baacaa3b', type: "price", value: 200.2, currency: "SEK" })), h("dt", { key: '3c5de766f714ec32c8e4258227a8583ae8e13c56' }, "percent"), h("dd", { key: '3035ba6e28b9ce76724d8ca7df1a2094cd1810e6' }, h("smoothly-display", { key: '55d8be440426d5b6489ecba69525546deb82a69d', type: "percent", value: "42" })), h("dt", { key: '7f2768abb769cec9b3d1bf1c4046405fa3f282c3' }, "phone"), h("dd", { key: '9121bd24b678134d94f1051bad4456d94b461540' }, h("smoothly-display", { key: 'd61b1a545fdba6c7a1b9c2ce9122183818e47542', type: "phone", value: "0101881108" })), h("dt", { key: 'd3d3f73f7ab5de5e2975c5bc1763c7d72c69acb8' }, "card number"), h("dd", { key: '849098be9e684ea9bc68bac8fd05e2a586893bf3' }, h("smoothly-display", { key: 'e751cc9912f1fdd338b63a9db5ef2cc8ed4b40bc', type: "card-number", value: "4111111111111111" })), h("dt", { key: '4acb2eeceb1334b6460a11f7f9933b61bd48ed20' }, "card expires"), h("dd", { key: 'f6ae3b93f77440abc5438f6af6e40d9964530811' }, h("smoothly-display", { key: '5bfa4a17d4e8e6ebc5b94faeee43ce963bd31bb2', type: "card-expires", value: "7/22" })), h("dt", { key: 'e30810b6adf6a71a7a5c6c6abc9e0cf28fad1c7e' }, "card csc"), h("dd", { key: 'bd67e6a4a616d7cf95ee90e02084970be15ad475' }, h("smoothly-display", { key: '7568ce3b669095fb4edcd1dd2974d959afdd485b', type: "card-csc", value: "987" })), h("dt", { key: '4f3e8f8a8367015afef690e33e30ff73255d3359' }, "date"), h("dd", { key: '85acb48a1f9295bc8f75c226a6edc55492926280' }, h("smoothly-display", { key: 'f4939232a91bf1f4d98b6ce6883d9e793fd95207', type: "date", value: "2022-07-07" })), h("dt", { key: 'a10293b50e7e9618941ce1f2337f6386175ff891' }, "date time"), h("dd", { key: 'b431af2a61d56675c4161e1c25861f4cb06780b4' }, h("smoothly-display", { key: '1ae46193f8205120d5970f5a9d213809e6768c12', 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: '6eee37e5837c3c31d0dd218b8d28ba72d14a7274' }, h("smoothly-display", { key: 'cadd5b0016b475b6f06845e4a5f096fa495fc38f', 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: '9e0b7ca976e9c2e76744e6b7f2b13169f8176db8' }, h("smoothly-display", { key: '9690855e4593579da6d6ef9848fabe421c53a188', 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: 'ae6a22a4058b7c703664032f4db6d34deab8f117' }, h("smoothly-display", { key: '08061cd335bcfcecc25fd21bea18dadf91b8a5b3', 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: '96055e5c2dabd5405c9abddce2e08968e9eaadc9' }, h("smoothly-display", { key: 'e0d438cea5912edfcadd435ebe18bb31820127a7', type: "date-time", format: { year: "numeric", month: "short", day: "numeric" }, value: "2022-07-07T00:00+02:00" })), h("dd", { key: '98fb2ccd362a915d28f69dde02cf97934ecdbda3' }, h("smoothly-display", { key: '64741e7b923a1e9da0583839d8672a9f77a82ad3', type: "date-time", format: { year: "2-digit", month: "numeric", day: "numeric" }, value: "2022-07-07T00:00+02:00" })), h("dd", { key: 'ab24692222866cba986372402b73712f2fc86539' }, h("smoothly-display", { key: '3814df12b639cf811602d8d68e093c1cdf778310', 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: 'c96a8dfd8a6bc8ecd8dccbd95e5afdbd25016df0' }, "Display JSON"), h("dd", { key: '70bd3c92f4519590fe7938e5d0e7d8c4adee11a3' }, h("smoothly-display-demo-json", { key: 'f0167e90e50c3e552bf30b74524080c7c252bfdc' })))), h("h2", { key: '9098912a1e0d971fb840aebb409d4192def5b629' }, "With labels"), h("dd", { key: '96302e348da1518bf09cdedefefe0cd5a183b2ec' }, h("smoothly-display", { key: 'ea9cfb671bae4e4245bf0186698632879c44535a', label: "Today", type: "date", value: isoly.Date.now() }), h("smoothly-display", { key: '09c37d099f968d1dd482ca0e6ee20744f551630f', label: "Total amount", type: "price", currency: "SEK", value: 6789 }), h("smoothly-display", { key: '3e2dbe30539fad2757c6bc5027344a5dbf7bd454', label: "Total amount", type: "price", currency: "GBP", value: 678.9 }), h("smoothly-display", { key: '3415b6494541d0be2a5c88eb75e61f650d42de8e', 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: '468b3e8e6e7fe91c93493cd804bd59383f4b7e54' }, h("h2", { key: 'f4d81c45839324b8628ed92dc2db96d9f603fe09' }, "Test of different kinds of notifier"), h("button", { key: '32f3d4e71745238bf0efaf3ed27481e43aaa5e17', onClick: () => this.noticeWarning(Notice.warn("This is a test warning notice.")) }, "warning"), h("button", { key: '906b0f542433e9f13140e91db71d17b59f39d01d', onClick: () => this.noticeWarning(Notice.succeeded("This is a test success notice.")) }, "success"), h("button", { key: '56cc3dde29cc2550660b05d69f7ea372de2091c6', onClick: () => this.noticeWarning(Notice.failed("This is a test danger notice.")) }, "danger"), h("button", { key: '7282bec22e381a57864663f55e0535b05e139e35', 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: 'e0fd211f1bfb1210b218af387690cfde404ef6db', 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: '56d71cbb8821a9d6a52ad403daf4e92c2327b61a' }, h("h2", { key: '70066d046ad7eff8e72d7c6508f2dddd33111364' }, "Smoothly spinner"), h("div", { key: 'f675d44f66e1ae6ba2432be0c1dc403505a0c503', style: { width: "fit-content" } }, "Large", h("smoothly-spinner", { key: '4f80b9b69703dc1c08603e110dd89ad07c5aa57d', 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: 'dda7689714bfa3354dd8d38ad528d347d252b5e9', style: { width: "fit-content" } }, "Medium", h("smoothly-spinner", { key: '2f685897c749961ccc804633a0fa6df417afa10f', size: "medium" })), h("div", { key: '04191765756b7bf0fe51c7aeb1c54fe03c3d72d7', style: { width: "fit-content" } }, "Small", h("smoothly-spinner", { key: 'e0deaf9e74c7dfb9bee2ef85f4309acc111e329a', size: "small" })), h("div", { key: '32cd2b79676ea2dbc4664b542e7ddfcd796fbfcb' }, "Icon sized spinner on button", Color.values.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: '0e9e91fb145b5207f3e6ce1c6d0c872664afb37f' }, "Spinner with overlay"), h("div", { key: 'ace6e8a453aece5ee5e77f5be3fadeb394a12a0c', style: { position: "relative", height: "10em" } }, "Large Overlay Spinner", h("smoothly-spinner", { key: '0afa991d53f83679014fb0d71a169053968f5a04', 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: 'ae897d73839a31a663e5ca8516e466b5db9e6324', style: { position: "relative", height: "10em" } }, "Medium Overlay Spinner", h("smoothly-spinner", { key: 'd5cf98b6843d934d9410f0f266fff8babcee33a8', overlay: true, color: "secondary", size: "medium" })), h("div", { key: '4730ec21fd935a3af1d6deccd649e5bbb8fd7bba', style: { position: "relative", height: "10em" } }, "Small Overlay Spinner", h("smoothly-spinner", { key: 'd2eccfe07320c09f6347ebdc5265985854355b12', overlay: true, size: "small" }))), h("fieldset", { key: '5bf91622534bf402abb0ec4fcbba5b5dc198f39a' }, h("h2", { key: '0e4a7ad1a10bb7b9a75940d4f657b6a8f74d509d' }, "Smoothly summary"), h("smoothly-summary", { key: 'f5c30b4fd816c6d83515148dc5375e48f45be60e' }, h("p", { key: 'a7bd57662d9cea09ee979721ed5848039dfa99ad', slot: "summary" }, "Some title"), h("p", { key: 'a90e969ca2dee0ae16b6ef1916be0b3580065136', slot: "content" }, "Some content")), h("smoothly-summary", { key: 'f0b863a9c41159ac007b4ce657e97d723c0b16a9', size: "large" }, h("p", { key: '59bb37db444e1663a91495bd12048469c5abb1d7', slot: "summary" }, "Some title"), h("p", { key: '0d922af3955750668610d1746f794112fa62b98c', slot: "content" }, "Some content")), h("smoothly-summary", { key: 'b5ee4149cc0a3d37b59a8992bcdb9b384971ae38', color: "danger", fill: "clear" }, h("div", { key: '4bbca655364e7c861f718dbbe6a4efb1b9d87378', slot: "summary", style: { display: "flex", gap: "0.3rem" } }, h("span", { key: '92e3922fb302d942820b9f5d89ae827b4bea4e4c' }, "Person"), h("smoothly-icon", { key: 'f603d09a398a10a1f924350da5180480de40be43', name: "person", color: "light", fill: "clear", size: "tiny" })), h("p", { key: 'bbb6e876604ab87e76631f962f0d700986cb1637', slot: "content" }, "Some person information.")), h("smoothly-summary", { key: 'd3161f33879337b3b4662ad148e8ba594610989d', color: "danger", fill: "clear", open: true }, h("p", { key: '5cd164f5553ea40f9923f32280f4dbd8ff7646b4', slot: "summary" }, "Some other title"), h("p", { key: '753e20779f49d355ffd398d72e04d840b9821342', 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: 'cb73e95dfb043cf16acb09f5a0a2e95e7c543eb3' }, "Label"), labels.map(l => (h("smoothly-label", { hue: l.hue, description: l.description, shape: "rectangle" }, l.name))), h("smoothly-label", { key: '84a1b5f36a88be4b01dfc2bd09711e8124d473d6', 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: '19502d54bd7e93581bee4cdaa1f2503d7557fe34' }, [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: 'c171d3a83efbefce258b6929eb0a3bafb246d8d5', 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: 'd61f90a089a457d0e388ec5739974dc081868e8f', 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: 'f622c3de530f8251623ec003acf3fe077506ca6b', 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: '9021d65675eab4bd489a5590e33551be8b8a2062', 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: '0c00f594a1d3593d3ff476db6e8ec8a2594b84f0', class: { empty: this.empty, open: this.open } }, h("span", { key: '8a842f369633c0d7877dfbba492555473a0cccf3', class: "open-bracket", onClick: () => (this.open = !this.open), "data-length": this.length }, this.openBracket), h("span", { key: '5b222e67cb13cf4053180b934ee72b8f7a447b0e', 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: 'ccd423bb725216b06e0918e71a3dc7ffd37ea83d', class: "close-bracket" }, 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: 'b95b23adc8efb2d27813cd613129c0aa3a25f130' }, "\"", 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: '67c7a46a3bbb4802275181d311a46e49637d4569', 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: '00a08a31c67448ba06e7b57cce3b88b240c715ba' }, h("smoothly-input", { key: 'a5ee71ef5672d4add5e99ccb2ffd3d4293cb778e', 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: 'c9beccb773a6101f5a26d96c1eddb16494d7158f' }, h("slot", { key: 'da7565883d337518c62ab0c188a2b651ca2ff70e', name: "bar" }), h("smoothly-filter-field", { key: '1565e127cd27b2a2c84bd9775053d2c681963152', criteria: this.criteria, ref: e => (this.field = e) }), this.criteria.toString() != "" && (h("smoothly-icon", { key: 'cc3baa28d08bd7bdca19d8a2265a45c1dfbcfcbb', name: "close", toolTip: "Clear all filters", size: "small", onClick: () => {
|
|
40
40
|
this.clear();
|
|
41
|
-
} })), h("div", { key: '
|
|
41
|
+
} })), h("div", { key: '9850fa072e6696f1f34e96358a03824e1e5ae878', class: this.expanded ? "container arrow-top" : "hidden" }, h("slot", { key: 'ed4ed18ebbe18ff0028909b4f94a8e4d5b3d1d9b', name: "detail" })), h("smoothly-icon", { key: 'fba156474c6d7c93b62ebe4d9690c5d60f44e299', 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: 'f1011e232ba37fd419f7f90d65227a7b7cfb4882', 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: '397b2b9127c595d02cab01ee179da26eeb1d4c80', 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: '6cc2c8a4815cdbcfa837c6b0f6eb66a16979bd0d' })));
|
|
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: '008714e67ebc64def90a0646f9780fa11c905197', 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: '558888a8817046ff2b4a9707b0af26c9cfaa11ad', slot: "label" }, [this.label.slice(0, 1).toUpperCase(), this.label.slice(1, this.label.length)].join(""))), h("slot", { key: 'b59919853a6c8d6f25d707885983103854eef211', 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: '638c257f2401426e232d2016bb979b98c5f56829', 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: '9298c0027a86d364c9e0adb853ed89060cc7a644' }, h("h2", { key: 'b86f7e41dcddd8c9337ea48deb27446b6794ea8c' }, "All inputs"), h("smoothly-form", { key: '860e8fbce325048a8e6bfaafc46f83136b016e6b', 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: '484dbd9795185b6639794d9327c89a143780e805', readonly: true, name: "First Name", value: "John" }, "First name"), h("smoothly-input", { key: '534fd25c0afa52da913af3b8db7e5466af0238e8', showLabel: false, name: "Last name", value: "Doe" }, "Last name", h("smoothly-input-clear", { key: '421f97e49656803aeece0b15c9b5836df4ba53e7', size: "icon", slot: "end" })), h("smoothly-input", { key: '86935d28602aa195dd06314d1cdc6de612086de8', type: "phone", name: "Phone", value: "777888999" }, "Phone", h("smoothly-input-reset", { key: 'fd8f16a7c8370a74eb5bb006862ff0711dfc7b6d', size: "icon", slot: "end" })), h("smoothly-input-radio", { key: 'd5bcd5035a4a7b89c0508c59bc60872089b0d32d', clearable: true, name: "radioFirstInput" }, h("label", { key: '6863ab9bca796cf7251b070429a3c5e0f0550407', slot: "label" }, "Clearable"), h("smoothly-input-radio-item", { key: '35af39c7a0fd98cc4dbb472c2ceb3dc63d5a934a', value: "first" }, "Label 1"), h("smoothly-input-radio-item", { key: '55c8c25754506cd692b1be9f90fc654094f6f1ea', selected: true, value: "second" }, "Label 2"), h("smoothly-input-radio-item", { key: 'c36de8288754936a549410de0cd2e85454428972', value: "third" }, "Label 3")), h("smoothly-input-color", { key: '0a090d87ced55edf0c1139714ac5545a605d531f', name: "color" }, "Color"), h("smoothly-input-select", { key: '446645ff8a548339fca2277cffb4c2ee3b9dd41c', multiple: true, menuHeight: "7.5items", placeholder: "Select...", name: "select-month" }, h("label", { key: 'bda1f349aad889ec40c44dae6474d0909b322968', slot: "label" }, "Month multiple select"), h("smoothly-item", { key: '09fe26ce4b5a9920eec454b00cfc8a52f7c81c6b', value: "1" }, "January"), h("smoothly-item", { key: '563059787300a3eafab433e89ac4e0490ce0b715', value: "2" }, "February"), h("smoothly-item", { key: 'f24d391ba6068274e5121f72f47a7ed146197458', value: "3" }, "March"), h("smoothly-item", { key: 'e533bf1e61275b73e545cefdd3318e0e95cd04d5', value: "4" }, "April"), h("smoothly-item", { key: '3d729d92a59da224464fda63a15cf868a8f318d6', value: "5" }, "May"), h("smoothly-item", { key: '38bbd631f5aaa722091f15b8d6fcc7016a24ba2f', value: "6" }, "June"), h("smoothly-item", { key: '58558fb82d6bf7795c5333cb78e6f57cdb408285', value: "7" }, "July"), h("smoothly-item", { key: 'b9ac6170978756e9c0c132d094d3e6c589b2dbd6', value: "8" }, "August"), h("smoothly-item", { key: '8c1dfb21e9acf0bd6c1e3cb6f137b7e774ea97b3', value: "9" }, "September"), h("smoothly-item", { key: 'ada2161238c0abf800739e9e53a8eff4cd94eb7c', value: "10" }, "October"), h("smoothly-item", { key: 'c5abbaf2ad1afe813f0bd987db7ea0315d54cf9c', value: "11" }, "November"), h("smoothly-item", { key: 'f1f97f553cefa013b4a3764c53b1ab536255a880', value: "12" }, "December")), h("smoothly-input-select", { key: '1671889e3da056149cb5657d935d44afe600e0b2', name: "select-icon", clearable: false, showSelected: false }, h("smoothly-item", { key: '68d6ecab8efd17dde74150a1843c20a419453265', value: "folder", selected: true }, h("smoothly-icon", { key: '2cc01f6ac8ccb79b04e4aa6d809ed49a7044b2ee', size: "small", name: "folder-outline" })), h("smoothly-item", { key: '1079bb57d321fc79dd8555e487e376166064e62c', value: "camera" }, h("smoothly-icon", { key: '580075f31efb81b91c9d8301a9a4febf9e82c339', size: "small", name: "camera-outline" }))), h("smoothly-input-checkbox", { key: '71285cad4b29ad237c9005932d55380ef6f04b0b', name: "checkbox" }, "Check the box"), h("smoothly-input-checkbox", { key: '4196ec46bd8a9cb588c4109ab80ef34dd2531f63', name: "checkbox2", checked: true }, "Check the box 2"), h("smoothly-input-range", { key: 'bf51eaf55920c8dd72a73872a2ca2d9f14281e52', step: 1, name: "range3", value: 20, label: "Range" }), h("smoothly-input", { key: 'd3171b955095dcc17ee5497c3a264756e74b4096', name: "pets.0.name" }, "First Pet's Name"), h("smoothly-input-range", { key: 'b11740151f1ab60c21c02a9f4244607e3001e52f', name: "pets.0.age", max: 100, step: 1, label: "First Pet's Age" }), h("smoothly-input", { key: '4a4409aabcfec783101425298bfdb1f70b1edffe', name: "pets.1.name" }, "Second Pet's Name"), h("smoothly-input-range", { key: '2c4d2d83bc1ddcdee8eb04fc199d849e9d973dcb', name: "pets.1.age", max: 100, step: 1, label: "Second Pet's Age" }), h("smoothly-input", { key: 'c721ccdf6b792df664d9e23e44e3d827d209aa76', name: "pets.2.name" }, "Third Pet's Name"), h("smoothly-input-range", { key: '767764bab214e208ef13572ca78f5353313aec4e', name: "pets.2.age", max: 100, step: 1, label: "Third Pet's Age" }), h("smoothly-input-file", { key: '720645538a3cdf72551570d1a8ab4f25203469f1', name: "profile", placeholder: "Click or drag your profile picture here..." }, h("span", { key: '1567a324ff92608c75e32be13aa1cf3d26bb80e9', slot: "label" }, "Profile"), h("smoothly-icon", { key: '3226559747e988f1ddebfab8f2da3f87c47135c1', slot: "button", name: "person-circle-outline", size: "tiny", fill: "default" })), h("smoothly-input", { key: '4549acca34866a6e7c3d460612222be24d3b7c7f', type: "duration", name: "duration", value: {} }, "Duration"), h("smoothly-input-clear", { key: '76eebe5998fd3d83a50467b40ed9f7ef1566641a', fill: "default", type: "form", color: "warning", slot: "clear", size: "icon", shape: "rounded" }), h("smoothly-input-edit", { key: '76d8f79bacd7ef403beabd0609f6c9db74384d5c', fill: "default", type: "form", color: "tertiary", slot: "edit", size: "icon", shape: "rounded" }), h("smoothly-input-reset", { key: 'a735f832cfde957585d383badd1b64ac0b380513', fill: "default", type: "form", color: "warning", slot: "reset", size: "icon", shape: "rounded" }), h("smoothly-input-submit", { key: '375de0564e4df2b96158ce1ea3bfbc53ec3d55c4', delete: true, slot: "delete", color: "danger", size: "icon", shape: "rounded" }), h("smoothly-input-submit", { key: '148ba1273c6d7fb3b3068c47c1d1d78c7f2c260d', 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: 'b38d193bc132649482539a562910c98936bfd71b' }, h("h2", { key: '90d93819c346fe276d0baad64a7ac3694ecf98ad' }, "Card"), h("smoothly-form", { key: '81e5440d63ff8059824a942cef88ceabfe192f2a', looks: "grid", onSmoothlyFormSubmit: (e) => alert(JSON.stringify(e.detail)) }, h("smoothly-input", { key: '9dd0df6526a036371062547bede12e96aa9514ba', type: "card-number", name: "card" }, "Card #"), h("smoothly-input-submit", { key: '06f270d4474cd54e955fe514ece6cb182561255a', size: "icon", slot: "submit", color: "success", fill: "solid" }), h("smoothly-input", { key: '97cf4ea96a751003a3522200a46bb754ca299bb9', type: "card-expires", name: "expires" }, "Expires"), h("smoothly-input", { key: '6262ef8e2d8b5acb83bd2d5bc781ade78ef8d3d9', type: "card-csc", name: "csc" }, "CVV/CVC"), h("smoothly-input", { key: '733d7f1542eebb66489f89e5c7b0db184e78d892', type: "text", name: "name.first" }, "First Name"), h("smoothly-input", { key: 'be78062f6dcddcaaf717a546b0ce12e8ef069a7a', 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: 'f653f0ce84b051c93e1b28442113d2cf1a8b926b' }, h("h2", { key: 'e5dad92a06e3bc295b7cc5dc2df4ec1e55fd7d26' }, "Controlled"), h("smoothly-form", { key: 'da1d60fc62d3e5163420dd2784cace05a5df2f8b', readonly: true, looks: "grid", onSmoothlyFormSubmit: e => this.submitHandler(e) }, h("smoothly-input", { key: '01b6daa4079c7885a31e4127b2b03e10c4e1df4e', type: "text", name: "name", value: this.name }, "Name"), h("smoothly-input-select", { key: '4dfdbd37e9916aec02850c83e0c7a830a9cc1b0e', name: "currency" }, h("span", { key: '9b1526a565f370b09490374eb8b7d03770470669', slot: "label" }, "Currency"), this.currencies.map(currency => (h("smoothly-item", { selected: currency == this.currency, value: currency }, currency)))), h("smoothly-input", { key: '3fd295c401905c5163b202ff044e8e3bdc5cf865' }, "Dummy"), h("smoothly-input-month", { key: '4a5239ad2cd9589ab827f5da772e95491cd99649', name: "date", value: this.date, next: true, previous: true }, h("span", { key: 'cd66aa878c1d871a11b32492b2348f8d32383281', slot: "year-label" }, "Year"), h("span", { key: '33029c392582580e37776c8dd0b7d7a30644bd10', slot: "month-label" }, "Month")), h("smoothly-input-edit", { key: '4a67aaf68157a04c90ca3c82de46bf5cb513ae52', slot: "edit", size: "icon", color: "primary", fill: "default" }), h("smoothly-input-reset", { key: 'd19f285af0e211b4a08f3ed82b6af1ee1c692783', slot: "reset", size: "icon", color: "warning", fill: "default" }), h("smoothly-input-submit", { key: '7199d2c48ff38360791ea6423179c3ffe6dafe04', 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: '6de62591a7ff99e95c86427c6e7d01374d9d8502' }, h("h2", { key: '1780c7b2b48f5472d1e3cb10f9390861172be2a1' }, "Date input"), h("smoothly-form", { key: '1a639c8acf534b5735111816fb2137325ec14683', looks: "border", type: "create", validator: this.validator, onSmoothlyFormSubmit: e => this.submitHandler(e) }, h("smoothly-input-date", { key: '0168a5e216fabf08a0d8840ef011ea041931e4e9', name: "date" }, "Date"), h("smoothly-input-submit", { key: '3f2d5322924d28704e5588fb4446ad85b07c82ff', slot: "submit" }, h("smoothly-icon", { key: '3bc96c9ddce72c537182a47c21c764ab17c49780', 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: 'cf815ff0b936ae8d935ec09487dd7e1931232bbf' }, h("h2", { key: 'a2c97f6d833c9cad02d7f67a917ff396ef95efb4' }, "Date-range input"), h("smoothly-form", { key: '549e8e92283c7193e9c712628d1c69ffc0fe6594', looks: "border", type: "create", validator: this.validator, onSmoothlyFormSubmit: e => this.submitHandler(e) }, h("smoothly-input-date-range", { key: '8c616d33a7dc57cc9820baa0180e1c8a2856580c', name: "range" }, "Range"), h("smoothly-input-submit", { key: 'f835c5f6b6b8f8ce3b7ed86963c9c833ee38f614', slot: "submit" }, h("smoothly-icon", { key: 'e1e6fc8861978fbd78adec1762a42568c11f8670', 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: 'e560582ddeaa5e0ff02ebcee939fde0aef479b6b' }, h("div", { key: '497467fdc7ceed5f8639dcd59b1cd4c16cae3db4' }, h("smoothly-form-demo-all", { key: '901bf716bdd321ec487718ce3222920bc8fc03fc' }), h("smoothly-form-demo-pet", { key: 'fb763f09b51b3dd8cfd563cdbed68823754dcbb6' }), h("smoothly-form-demo-card", { key: '7ad6bcae7773737c7230284c1a9b63ef660f2d2f' }), h("smoothly-form-demo-login", { key: '5ab06018d16cc734fa4747463fb66a7423814404' }), h("smoothly-form-demo-prices", { key: '90138c1bea5ae9dfa51c477e27da5ab4f921e7f5' }), h("smoothly-form-demo-typed", { key: '87828d40f3cd03c13521e376d7f20e1a1ea69ea2' }), h("smoothly-form-demo-transparent", { key: 'c12850e8cde3da0aab86374ab341b69877a45584' }), h("smoothly-form-demo-date", { key: '30688a397df7d91632385b53a425bd70278a2e43' }), h("smoothly-form-demo-schedule", { key: 'ba375963be37b11115c43e8c67cb21702b6056d0' }), h("smoothly-form-demo-date-range", { key: '0c2db2682e603490ca75127534782dc944db1ed3' }), h("smoothly-form-demo-controlled", { key: '4673859d87e9527db0c762884712555fa0bc577f' }))));
|
|
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: '490a2e47a4ebc25628dd5ce7f43f238789c11d37' }, h("h2", { key: 'ee2857de7b8844162e90a0a067ad94a3ec6452b0' }, "Login"), h("smoothly-form", { key: '4f98f14f54bfa13e27b4165b68b67a1886399421', looks: "border" }, h("smoothly-input", { key: 'cbb7490b8a5e0e6d5f4ea836c0a067b5a8981f44', type: "text", name: "username" }, "Username"), h("smoothly-input", { key: '710a9b179b674cad575c3b871acb8fe20ee7bf93', type: "password", name: "password" }, "Password"), h("smoothly-input-reset", { key: '76a6869bcb095f3b96f2280271d33ed13ccc370c', slot: "reset", type: "form", size: "icon", color: "warning" }), h("smoothly-input-submit", { key: 'faaffd995c8ab8430ea6e655be144a4d15442f39', 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: 'a18d5c4d14929268195fcd13712e653abee7ce4c' }, h("h2", { key: '0357eb46ceb9160a5e7c0301134d5ccec5dbecb1' }, "Pet"), h("h3", { key: '7f0ab35101334386099c65cd327e2db657ce81ca' }, "Value"), h("smoothly-form", { key: 'c5d882668e047eeaade1c61ba6faab1d12db7b7f', looks: "border", onSmoothlyFormSubmit: (e) => alert(JSON.stringify(e.detail)), onSmoothlyFormInput: e => (this.value = Object.assign({}, e.detail)) }, h("smoothly-input", { key: 'd2e45273c5ce4defe229bbd9602a6a61a807afe2', type: "text", name: "name.first" }, "Name"), h("smoothly-input", { key: '4f4ca5d95583b231a08972da2e97ab4207529257', type: "integer", name: "age" }, "Age (Years)"), h("smoothly-input-checkbox", { key: '471443d6c675415da6a3c623b7bc91c3b6d39742', 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: 'f1681976cacf93aa7fa738d9f46d07a977f2598e' }, h("smoothly-input", { key: 'b2cd9517d1c0ff3f30255222e7cd7c81795d0963', 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: '6ae4a20be64e8e361d4aff737bc97c7e5e0f5fba', 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: 'bf2a7442b03901a499c917632f7e371f77876d14', name: "owner.picture" }, h("span", { key: '316b8244fdc16e1421ff397f8bae5fca23ef298b', slot: "label" }, "Owner picture")), h("smoothly-input-date", { key: '26ed4d312009d365d0f8377a02ffc264c09513e8', 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: '94038dc278f1f2d845645f4d11da5cf0732a681b', 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: '954d3b9369243b66708a3621b87af070dc74c309', 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: '5733e2d2217ccc963265a87572b40448c920dc02', name: "owner.favoriteHat" }, h("span", { key: '1ea7549b5edcd448434da347d79b7f1452f285c8', 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: '52c0e5c0c2591c44a98d25c856ee4ed7b30d664f', 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: '5eb8772e00bf998a3afbef72a58b92b0508d1212', 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: '4976b880777c43be895af8624c68d30e74601aa0', 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: 'ed66290cbea3e2ceb5ae2db1a35236edf095bf88', 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: '15531c02a00038be14f92110635eabe7cbd91ee8' }, h("span", { key: 'cc8feedb365cc7309abb5e3c6615460a9bc9d51a', slot: "summary" }, "Summary"), h("div", { key: '86881f2206f8b6e668f30725abb59073cdde9bad', slot: "content" }, h("smoothly-input", { key: '8ae806180e0a3d7742d89ee0ee867de0a3154309', type: "price", name: "summary.price", currency: "EUR" }, "Summary Price"), h("smoothly-input-file", { key: '241fe3c82beb3c5cdd5f11ebe46e047e17c9b793', name: "summary.picture" }, h("span", { key: '4c8564d04eab9f0dd365676e61a591330d6a8377', slot: "label" }, "Summary picture")), h("smoothly-input-date", { key: '7314238424905e58a4b55cf71a9dcac6bcfb2037', name: "summary.birthday" }, "Summary birthday"), h("smoothly-input-date-range", { key: '9c4f11e07a21b09ebf9a16522ff4b7ea1737de93', name: "summary.ownedRange" }, "Summary ownedRange"), h("smoothly-input-range", { key: 'f1b14b7089e1a878c3ecd59619eae564c475a88b', name: "summary.height", label: "Height" }), h("smoothly-input-select", { key: '2ff53bd36442606dfe4edbd312000cf3dc27f7d4', name: "summary.favoriteHat" }, h("span", { key: 'c1639a257b254fa95e150c5331f6619cece2e271', 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: '3e9e26fea7233fed804cbaa4e47416f10b502e6a', name: "summary.month" }, h("span", { key: '55a0b4755c339c923ba1303f1633569cbfccde47', slot: "month-label" }, "Summary month")), h("smoothly-input-color", { key: '0b877be6d38d3830a02573ac31ae43f0d4e9d37f', name: "summary.color" }, "Summary Color"), h("smoothly-input-radio", { key: '2173726df1607df4e35595db8cc0b73da5a9be4a', name: "summary.favoritePizza" }, h("span", { key: 'af0ed6de4a2b0f43a0e03fa1053781e84355465d', 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: '3f101db40c6c9ba210413b95d77e4b2a92b59796', name: "summary.hasPet" }, "Has Pet"))), h("smoothly-tabs", { key: '7b94e0f32cf078215bdf1f6f8595de03dd6a9040' }, h("smoothly-tab", { key: 'fe043b8af808d30bae169cefdc81ca0df9f18979', label: "Dog" }, h("smoothly-input", { key: '882a63607ea9f8785c37b9474a748c34a9f5fbdb', type: "text", name: "dog.breed" }, "Breed"), h("smoothly-input-file", { key: '28e53f4ed82779b99dcb9bb28c2428321a299bdb', name: "dog.picture" }, h("span", { key: 'b0cda5a32d911bec1fbbc5a6986f49bc5fc4b484', slot: "label" }, "Dog picture")), h("smoothly-input-date-time", { key: 'cd4403ef213dc3085cb7ac5c3cdf2a58b1fc0c41', name: "dog.lastWalk" }, "Time of last walk"), h("smoothly-input-date", { key: '32047b040c0044fb34c0d75e30832c85b3ace4f5', name: "dog.birthday" }, "Dog birthday"), h("smoothly-input-date-range", { key: '38f674332427fe13994fc9b54b99cc34f839a344', name: "dog.dateRange" }, "Dog date range"), h("smoothly-input-select", { key: '8b384c2815f3fd6a6f4490b404bc05ef69386325', name: "dog.favoriteHat" }, h("span", { key: 'a1e78f6458fe7718f9c9ab540fbe42fe2d486f96', 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: '4126a474816acd625a5f3cc535f3f6088f44ad88', name: "dog.favoriteColor" }, "Dog's Favorite Color"), h("smoothly-input-radio", { key: '15f4faae549f42b0fd97ae3d12ead05d18f6356c', name: "dog.favoritePizza" }, h("span", { key: '8004907412ece6876d8a8b82f491a2748d909fe7', 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: 'f2e4751841dfa757f34e0aef0cde72475fccd451', name: "dog.hasPet" }, "Has Pet")), h("smoothly-tab", { key: 'c80492cade2d4e60d6858dfcabcd22d8e9a7afcd', label: "Cat", open: true }, h("smoothly-input", { key: '074d3b030c92792efb5dc64731acc4ee6937b013', name: "cat.favoriteFood" }, "Favorite Food"))), h("smoothly-input-submit", { key: 'fc2e297badc699b4dfa0acd208e79278437b149f', size: "icon", slot: "submit", color: "success", fill: "solid" })), h("smoothly-display", { key: 'b50600e5c51b8ab0d34bc45b9f0b97cbda54edc3', 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: '5cf161138753162cf3c11c3e9566c513ff94f8d5' }, h("h2", { key: '0161fb3ff22219ba054d29272c97456d9e452a4f' }, "Prices"), h("smoothly-form", { key: 'd7643c355277d5125b3518e9fca40fc971e49c82', looks: "line" }, h("smoothly-input", { key: '9082686e7c532f67e5cb703142fe635ea07445af', type: "price", name: "no" }, "No currency"), h("smoothly-input", { key: '92de76dc50d9ef0f6a75a24d3ee57c99a6b25c02', type: "price", name: "crowns", currency: "SEK", toInteger: true }, "SEK (toInteger)"), h("smoothly-input", { key: '6c26c4cef820c4797f5278a4b7cd941031a7ee9e', type: "price", name: "usDollar", currency: "USD" }, "USD"), h("smoothly-input", { key: '1c94af3ac625617ccc7082db9f304ff351e50325', type: "price", name: "pounds", currency: "GBP" }, "GBP"), h("smoothly-input", { key: 'b1d2404c79c35f8222c5de3f680873f42f57ec7f', type: "price", name: "peso", currency: "UYW" }, "UYW"), h("smoothly-input", { key: '8a8553e49d1e3f2881d93fba40e9d9adc838c83b', type: "price", name: "iceland", currency: "ISK" }, "ISK"), h("smoothly-input", { key: '6bd9082eebfce511f786835db565de39e82369c5', type: "price", name: "Palladium", currency: "XPD" }, "XPD (Palladium)"), h("smoothly-input-reset", { key: '8473f604d9f3357711013f0d11822859a7d3dbab', slot: "reset", fill: "default", type: "form", color: "warning" }), h("smoothly-input-submit", { key: '449971455202ecff95211d20e436388edbd2b95b', 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: '3299acd725ccaa0186e0113a6c679ab18d6652a9' }, h("h2", { key: 'e1bc9edde289a35721c23036728963e1e33eb721' }, "Schedule"), h("smoothly-form", { key: 'fc8f0785f9031ba7f02a66a10978255e832fa599', looks: "line", validator: TimeTable.type }, h("smoothly-input-date", { key: 'a7ce025c1056ada02dc4c21f16348a8b0169fbb2', name: "schedule.0.date" }, "Date"), h("smoothly-input", { key: 'f9001abd54ce0b18742bc0af2defeb38a39ed858', name: "schedule.0.amount", type: "price" }, "Amount"), h("smoothly-input-date", { key: '5b4cfed469b03c901ad1487962cb67e0dc214ea7', name: "schedule.1.date" }, "Date"), h("smoothly-input", { key: '0427bbd7b4c5187293284b73bafcd3c21ab07f0f', name: "schedule.1.amount", type: "price" }, "Amount"), h("smoothly-input-date", { key: 'e689f08a71814fd2ee110d168caae2cb7ad635c7', name: "schedule.2.date" }, "Date"), h("smoothly-input", { key: '731308742dc071a745eb219952055e500bd503af', name: "schedule.2.amount", type: "price" }, "Amount"), h("smoothly-input-reset", { key: '02882a6878a2600eb45e25bda01421ac2142069c', slot: "reset", fill: "default", type: "form", color: "warning" }), h("smoothly-input-submit", { key: '9a656da9019c0845d6d1e64526228fa62a978176', 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: '8d7be0985d3c1b2b79dd2b2b843fc77c37d17c1f' }, h("h2", { key: '9dcd718676e6ba9dd71267c4bb3d11871329b622' }, "Transparent"), h("smoothly-form", { key: '81b16b7b4f7a9a693b76b709256638f17c2880a5', looks: "transparent", onSmoothlyFormSubmit: e => console.log(e.detail.value) }, h("smoothly-input-file", { key: '4586888852990146274d880c983a1e3be992c436', name: "file" }, h("span", { key: 'd9068024fdbcc58b39311d4abaaf3341b77bfab3', slot: "label" }, "File"), h("smoothly-icon", { key: 'f42649cbeda953b487d951326ed39043dab4122d', slot: "button", name: "folder-open-outline", size: "small" })), h("smoothly-input", { key: '630bd231d11937a6ac4378736d39e87d94323932', type: "duration", looks: "transparent", placeholder: "h:mm" }, "Input"), h("smoothly-input-date", { key: '1b9f2ae8887909c9e2fea98728d3f556d46964a4' }, "Date"), h("smoothly-input-date-range", { key: '655a5a882586b21193abd30335b3381ef7feb539' }, "Date Range"), h("smoothly-input-select", { key: '7368c71dce051429d9bac906a19ee130781c2c67', name: "transport" }, h("smoothly-item", { key: '05984fc6b2c165ff275e2fabe92594cfa87782a7', value: "plane" }, h("smoothly-icon", { key: '4bbfa0b7de34a53d7e890432fde7db1b11ef129b', name: "airplane-outline" })), h("smoothly-item", { key: '2038866ae87e6e2e06a66c98ffa41826dad3c7cd', value: "car" }, h("smoothly-icon", { key: '9b52c37976ed2839314ddea50d9d50617bf5aa34', name: "car-outline" })), h("smoothly-item", { key: '03f5679c1145b764ef65b3557a021e7dcc689b04', value: "bus", selected: true }, h("smoothly-icon", { key: '88ca130b69c2aa5e6f452c6c341a09cb72b948c8', name: "bus-outline" }))), h("smoothly-input-submit", { key: '01c6a19725e6a2d774796423ed04bfe153650b33', 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: 'c73c988ce6681e27320a66655a0528079958cab4' }, h("h2", { key: '6298cb241f37a9c13f05331454e73c5a8207bddf' }, "Typed Contact"), h("smoothly-form", { key: '04bec3db0d73a661140f5b5cd791f785903f998e', validator: Contact.type }, h("smoothly-input", { key: 'f35f3b74089291760ac7f3609f3c2b974859ed1f', name: "name.first" }, "First Name"), h("smoothly-input", { key: 'eefa07426757567f90ef92040fbad59fb07d6d67', name: "name.middle" }, "Middle Name (optional)"), h("smoothly-input", { key: '1761cde3715783a29414ed07b73e59d797c5f39d', name: "name.last" }, "Last Name"), h("smoothly-input", { key: '5c63c10a9913c425db7e670500e11f1c2aa80e38', name: "age", type: "integer" }, "Age (18-120)"), h("smoothly-input-select", { key: 'c057deac00aabc0218425940fc92911df63190bc', name: "country" }, h("span", { key: '1c34bc0d49d075140a376e2c80ef3585f2551c67', 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: '8a9be3f1d54d46184509a712d85be19049e8bb28', name: "birthday" }, "Date of birth"), h("smoothly-input-reset", { key: '4013323961a0eee9353c2384ad6881a562ce7753', slot: "reset", type: "form", size: "icon", color: "warning" }), h("smoothly-input-submit", { key: 'c637c7234c29c115889c68c3ccb78d141c68e454', 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"; }
|