smoothly 1.4.0 → 1.6.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 +148 -148
- 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/expandable/row/index.js.map +1 -1
- package/dist/collection/components/table/expandable/row/style.css +4 -0
- 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-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-332ff0a5.js +123 -0
- package/dist/components/{p-a95bab7d.js.map → p-332ff0a5.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-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-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-f0f3ed83.js → p-64883514.js} +37 -37
- package/dist/components/{p-f0f3ed83.js.map → p-64883514.js.map} +1 -1
- package/dist/components/{p-8ce2b17b.js → p-67a0640f.js} +15 -15
- package/dist/components/{p-8ce2b17b.js.map → p-67a0640f.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-37363a06.js → p-8b9ba740.js} +8 -8
- package/dist/components/{p-37363a06.js.map → p-8b9ba740.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-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-76b9e403.js → p-a15015cc.js} +15 -15
- package/dist/components/{p-76b9e403.js.map → p-a15015cc.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-abd56282.js +48 -0
- package/dist/components/p-abd56282.js.map +1 -0
- 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 +148 -148
- 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-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-bf1fb323.entry.js +2 -0
- package/dist/smoothly/p-bf1fb323.entry.js.map +1 -0
- 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-18ba7524.js +0 -48
- package/dist/components/p-18ba7524.js.map +0 -1
- 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
|
@@ -164,7 +164,7 @@ export class SmoothlyForm {
|
|
|
164
164
|
await Promise.all([...this.inputs.values()].map(input => Editable.Element.type.is(input) && input.setInitialValue()));
|
|
165
165
|
}
|
|
166
166
|
render() {
|
|
167
|
-
return (h(Host, { key: '
|
|
167
|
+
return (h(Host, { key: 'e2c17b7337acbcfe72ffb863c85e60faede5235e' }, h("smoothly-spinner", { key: 'd7662186f79ee0f5d4405016a35047f11ffcdc34', overlay: true, hidden: !this.processing }), h("form", { key: '632d61643ff5ebb0a76385ef491dc53fc1dd14d5', onSubmit: !this.prevent ? undefined : e => e.preventDefault(), name: this.name }, h("fieldset", { key: '75dda536071a876101b3f74810d234db35552ef4' }, h("slot", { key: '167a59eb0712168bc65779d6218b0c0cddb1233f' })), h("div", { key: 'be5617bf40a0f232bce860be106557b28d8356aa' }, h("slot", { key: '2fa4643245d138a6f2c249b38249451c9f3d077d', name: "clear" }), h("slot", { key: '93a446c4e11d622a7c02c27681cdcb579e1ce5db', name: "edit" }), h("slot", { key: '18a353c56f4dd2919f7ebd4aae3c10d8c505ceb0', name: "reset" }), h("slot", { key: '5a5712ab3ae35fecbad7e62750d8461cebbaaf71', name: "delete" }), h("slot", { key: '6f0467383249a488f44b5a276b2d6686afe18d97', name: "submit" })))));
|
|
168
168
|
}
|
|
169
169
|
static get is() { return "smoothly-form"; }
|
|
170
170
|
static get originalStyleUrls() {
|
|
@@ -7,7 +7,7 @@ export class SmoothlyIconDemo {
|
|
|
7
7
|
this.props = {};
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: 'a0706709d49ae4e3beea0bb5a592cce83dbdfc50' }, h("h2", { key: 'c4058a68fd71e6c1a659f997815902225772e0ce' }, "Filter and Variants"), h("smoothly-form", { key: '2a7206c94f5bd868954ef2bbab2c16ba5ec701be', onSmoothlyFormInput: e => (this.display = e.detail) }, h("smoothly-input", { key: 'c81c786a01c0c9101c4c2669dde4891fcc8d79bd', name: "filter" }, "Filter"), h("smoothly-input-select", { key: '21d064354e488eedaf0f4d837324d6473edffd99', name: "variant" }, h("span", { key: '8e770299b884f6920949df5386e8eb2a1b68c057', slot: "label" }, "Variant"), h("smoothly-item", { key: 'b29db45415e020b3170d75a5b114c826e9d88454', value: "outline" }, "outline"), h("smoothly-item", { key: '9d032a3f19743194c46b68b5e9ee58e4d13d15dc', value: "sharp" }, "sharp"), h("smoothly-input-clear", { key: '32adc83b75e1cba0af54469866681129265c108d', slot: "end" }))), h("h2", { key: 'b7261752dc07d9859f217cdd79769e490b950ee0' }, "Props"), h("smoothly-form", { key: '3e34648bfa6bf8628974bbda25db0132bef60982', onSmoothlyFormInput: e => (this.props = e.detail) }, h("smoothly-input-select", { key: 'fe612d11a476b67e7ac7535df7a06eed6676545b', name: "color" }, h("span", { key: 'a8774f195af193c7bf455e3f1ee746c83393de2d', slot: "label" }, "Color"), Color.values.map(color => (h("smoothly-item", { value: color, color: color }, color))), h("smoothly-input-clear", { key: 'cb96ef4ea25111b19a8a32f61ebda4d48aed061f', slot: "end" })), h("smoothly-input-select", { key: '8be80163691b4843d40152e228ccf837b28d902c', name: "fill" }, h("span", { key: '7a4ad5ab5d75fdb994d7dd51e27fe0f3048024cf', slot: "label" }, "Fill"), Fill.values.map(fill => (h("smoothly-item", { value: fill }, fill))), h("smoothly-input-clear", { key: '6e945d2ce1769e1b97b4f28cfb52aa4f5c288e01', slot: "end" })), h("smoothly-input-select", { key: '3cb368e15af0312dfa6cb64ddea95b06d1f8aa7f', name: "flip" }, h("span", { key: '8622114e3082f040179d53ea261d17f585a29c5b', slot: "label" }, "Flip"), h("smoothly-item", { key: '41940930aed4abfafb6b50713dc133f2cd34c9c5', value: "x" }, "x"), h("smoothly-item", { key: '9d151f226cf4aa1bcf82415b74341259f9f78b24', value: "y" }, "y"), h("smoothly-input-clear", { key: '72975515ddf54f1fd7dab600ef080ee8498c07bb', slot: "end" })), h("smoothly-input-select", { key: '4ba83461e4023c99ef94fcf0c351ac98e70e0cea', name: "size" }, h("span", { key: 'ea31df439d850779406fa35094e68c590e3c8add', slot: "label" }, "Size"), h("smoothly-item", { key: 'b27300ba82640e5ee2e78b712417aa96c7bb6093', value: "tiny" }, "tiny"), h("smoothly-item", { key: '0e5de1cc80c0a336c4dfc1b77e21f6593483fe44', value: "small" }, "small"), h("smoothly-item", { key: '2d71100ccd666e7e53c40ad9dcb24094d6316ba6', value: "medium" }, "medium"), h("smoothly-item", { key: 'b5dc3ca6278d607f91df771c39c67f2b73ee0a86', value: "large" }, "large"), h("smoothly-item", { key: '9dfba645effcec688557c2bed05c44698dd0159b', value: "xlarge" }, "xlarge"), h("smoothly-input-clear", { key: 'e23d58562e554d6096a44feabaf4365c800c82f3', slot: "end" })), h("smoothly-input-range", { key: 'e6076caecd252d6185fc88c8f5dd13b544d115e9', name: "rotate", step: 1, min: -180, max: 180, value: 0 }, "Rotate", h("smoothly-input-clear", { key: '47d878d21777308baffba2529d08aa1a7a85954c', slot: "end" }))), h("h1", { key: '8f9791fe61a60dcb595332f08387d297caf25d9a' }, "Icons"), h("div", { key: 'b85cbd6ffe7d5a3cdacba67227114ffc6ecd641b', class: "icons" }, [
|
|
11
11
|
...Icon.Name.values
|
|
12
12
|
.filter(name => !this.display.filter || name.includes(this.display.filter))
|
|
13
13
|
.map((name) => (this.display.variant ? `${name}-${this.display.variant}` : name)),
|
|
@@ -41,7 +41,7 @@ export class SmoothlyIcon {
|
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
43
|
var _a;
|
|
44
|
-
return h(Host, { key: '
|
|
44
|
+
return h(Host, { key: '6131214e72ce045ae0f9402ce58de3f26aeac91d', innerHTML: this.document, style: { ["--rotation"]: `${(_a = this.rotate) !== null && _a !== void 0 ? _a : 0}deg` } });
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "smoothly-icon"; }
|
|
47
47
|
static get encapsulation() { return "scoped"; }
|
|
@@ -2,7 +2,7 @@ import { h, Host } from "@stencil/core";
|
|
|
2
2
|
import { isoly } from "isoly";
|
|
3
3
|
export class SmoothlyInputCheckboxDemo {
|
|
4
4
|
render() {
|
|
5
|
-
return (h(Host, { key: '
|
|
5
|
+
return (h(Host, { key: '91aae95177fd66ee9dc504cb57d386fa64ca7040' }, h("h2", { key: '547a7c8dc8708b0c08462a9f094a4d00c13be893' }, "All inputs"), h("smoothly-form", { key: '545379cf0d32f3d8df9d4252defb8b03367e1152', looks: "grid", readonly: true, action: "https://api.toiletapi.com/6b12fd2f-e896-46f9-b38f-25cf42cee4b4" }, h("smoothly-input", { key: 'dd85a0e169803a854c9b87deebc38b0bcb8fdd03', readonly: true, name: "First Name", value: "John" }, "First name"), h("smoothly-input", { key: 'b6e0a378f7a6ebb3b5954c75009bf62c2f726d8b', name: "Last name", value: "Doe" }, "Last name", h("smoothly-input-clear", { key: 'f8640634f0dbce9a7c1658ebda0b0ca565f9ae71', size: "icon", slot: "end" })), h("smoothly-input", { key: '844dd7e60dc606b2fec43f09a33a92d75ca81551', type: "phone", name: "Phone", value: "777888999" }, "Phone", h("smoothly-input-reset", { key: 'ee73bc11318cc9a3104b6de348283317366f3026', size: "icon", slot: "end" })), h("smoothly-input-radio", { key: '71f68a1faff55301c55d9b55411a4a3b46b33f5d', clearable: true, name: "radioFirstInput" }, h("p", { key: 'e43c3414f050d967beb80c674f727dbf334f521f', slot: "label" }, "Clearable"), h("smoothly-input-radio-item", { key: '979c3266c584360d348b1df32e183f4639fd21fa', slot: "options", value: "first" }, "Label 1"), h("smoothly-input-radio-item", { key: '1b57765ee6f4d76ba4f954c4ac027f46fac88cd4', selected: true, slot: "options", value: "second" }, "Label 2"), h("smoothly-input-radio-item", { key: '461f02a8de919a4a170902e03efd20170e3c8292', slot: "options", value: "third" }, "Label 3")), h("smoothly-input-color", { key: '4b00fc5b50ff3e395ebbf337c6384f59cc6e30a6', name: "color", value: "#479f56", output: "rgb" }, "Color"), h("smoothly-input-select", { key: 'f750afb8e0c685341d32dfed36a6d148500e3c51', menuHeight: "7.5items", placeholder: "Select...", multiple: true, name: "select-month" }, h("label", { key: 'f8d4ce6c694403434040a0fb57c776197c6a9f7c', slot: "label" }, "Month"), h("smoothly-item", { key: '6c5ee08a2fceb2ef7d53bb4dfbc683af05f232b8', value: "1" }, "January"), h("smoothly-item", { key: 'aeb84ed01dab144064d2b7e3bd73472957bd55d5', value: "2" }, "February"), h("smoothly-item", { key: 'c2d1acd2d5fd87d7dbfd919ae2436bc203782f3c', value: "3" }, "March"), h("smoothly-item", { key: '656defac4961f91f8ba929d9e1dd61d5b1678371', value: "4" }, "April"), h("smoothly-item", { key: '6c42b3107d92018c4d76ed644e73746121457c75', value: "5" }, "May"), h("smoothly-item", { key: 'dfe2c31b55df3d489f4a3d867c7d0c4f4355f4d2', value: "6" }, "June"), h("smoothly-item", { key: '0501cf1ae04a6091cddb9648bb9efe0be01b13c2', value: "7" }, "July"), h("smoothly-item", { key: '40924977dae0a1c7a8b3a1c009da7030cbacbd46', value: "8" }, "August"), h("smoothly-item", { key: '3fb03182f8cfec98a323b2f0479c300efa69d1cd', value: "9" }, "September"), h("smoothly-item", { key: 'cfd122f81a69e9bd553b3f348c824a65ba1d4a26', value: "10" }, "October"), h("smoothly-item", { key: '798f2cdfe7a10d7c84fe98050dfbfe1253b77455', value: "11" }, "November"), h("smoothly-item", { key: '6405f3a207aa6007a1f09faa3f123ae963b9c668', value: "12" }, "December"), h("smoothly-input-clear", { key: 'a7932851dc2b636fe60a5b0f19e4d3f6d56b550a', size: "icon", slot: "end" })), h("smoothly-input-select", { key: '24a486638f146e93ada5a565213cad60522ae9d8', name: "select-icon", clearable: false, showSelected: false }, h("smoothly-item", { key: '80ff1a66b7b223df530461c76e8796bcaa1c0ca5', value: "folder", selected: true }, h("smoothly-icon", { key: '98ec06c58f59573e7d103b358b7bc76e7fd13842', size: "small", name: "folder-outline" })), h("smoothly-item", { key: '45c37d51acc6ed792235dde20061c8dbb0a85a90', value: "camera" }, h("smoothly-icon", { key: '96e067296ec269ebdad600d7f20ff3d49ac8ee14', size: "small", name: "camera-outline" }))), h("smoothly-input-checkbox", { key: '8094ad4c5a0430bdb12eb24884fa8c97a765ae0d', name: "checkbox" }, "Check the box"), h("smoothly-input-checkbox", { key: '584f5ea10a0d2f35f32b74cecedb3a747e688ab6', name: "checkbox2", checked: true }, "Check the box 2"), h("smoothly-input-date-range", { key: 'd3b9c0e9eac0dba1315431fbd2ad38baf37b816c', start: isoly.Date.now(), end: isoly.Date.now() }), h("smoothly-input-date", { key: '9ecbafb403dd2515af8a13853779874847b94abf', name: "date" }, "Date", h("smoothly-input-clear", { key: '5872d15da2f85bbdacbb498ed93d9973cb342151', slot: "end" })), h("smoothly-input-range", { key: '47182ac0465fbc3f367902ef29c7c12bb3eb141f', step: 1, name: "range3", value: 20000 }, "Select"), h("smoothly-input", { key: '768f9ce146e78d7f746fae5691e61291272df971', name: "pets.0.name" }, "First Pet's Name"), h("smoothly-input-range", { key: 'b9bcdc0ad7807b1ebc32fe576b1ad71ace42f16a', name: "pets.0.age", max: 100, step: 1 }, "First Pet's Age"), h("smoothly-input", { key: '9d294d8afebdc66a09334bfcabac1645aaf6064b', name: "pets.1.name" }, "Second Pet's Name"), h("smoothly-input-range", { key: 'e9f7f610645eff1bdc7fec78a2a520962a06501a', name: "pets.1.age", max: 100, step: 1 }, "Second Pet's Age"), h("smoothly-input", { key: '8582f324a887225c858b4c625441fa582119f5b2', name: "pets.2.name" }, "Third Pet's Name"), h("smoothly-input-range", { key: 'f8dded9f292f22968029d5a279087fc2c68fc630', name: "pets.2.age", max: 100, step: 1 }, "Third Pet's Age"), h("smoothly-input-file", { key: 'b9feb7d182e47fd3116165f9c6da7632465e2624', name: "profile", placeholder: "Click or drag your profile picture here..." }, h("span", { key: 'ad92fc48130c51c722dded0a4c8496233fc3fc47', slot: "label" }, "Profile"), h("smoothly-icon", { key: 'a907b28bd000235eb96bc744cb874a12b4fff3f0', slot: "button", name: "person-circle-outline", size: "tiny", fill: "default" })), h("smoothly-input-clear", { key: '9c1c365c9d595640400f21fd250fb6f6f02ee99c', fill: "default", type: "form", color: "warning", slot: "clear", size: "icon", shape: "rounded" }), h("smoothly-input-edit", { key: 'f2cb34fec34d9f7066371604366a97aaf8fe1a01', fill: "default", type: "form", color: "tertiary", slot: "edit", size: "icon", shape: "rounded" }), h("smoothly-input-reset", { key: '7c205877ee9ddba670e62b047d422a2449334053', fill: "default", type: "form", color: "warning", slot: "reset", size: "icon", shape: "rounded" }), h("smoothly-input-submit", { key: 'f75c093be0a6c7b868138f4e5c2fc0a86ed02466', delete: true, slot: "delete", color: "danger", size: "icon", shape: "rounded" }), h("smoothly-input-submit", { key: '85e5bced4e5b2036a06fd7364346f015c2462b5a', fill: "default", color: "success", slot: "submit", size: "icon", shape: "rounded" }))));
|
|
6
6
|
}
|
|
7
7
|
static get is() { return "smoothly-input-checkbox-demo"; }
|
|
8
8
|
static get encapsulation() { return "scoped"; }
|
|
@@ -60,7 +60,7 @@ export class SmoothlyInputCheckbox {
|
|
|
60
60
|
!this.disabled && !this.readonly && (this.checked = !this.checked);
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
|
-
return (h(Host, { key: '
|
|
63
|
+
return (h(Host, { key: '45c1c7beef37896ee98099088ddd736986615840', onMouseDown: (e) => (this.mouseDownPosition = { x: e.clientX, y: e.clientY }), onMouseUp: (e) => { var _a; return ((_a = this.mouseDownPosition) === null || _a === void 0 ? void 0 : _a.x) == e.clientX && this.mouseDownPosition.y == e.clientY && this.click(); } }, h("input", { key: '4283cbb2f152ef92e627b277121cda8de1b573ed', type: "checkbox", checked: this.checked }), this.checked && h("smoothly-icon", { key: '6384fd5ad97ea238b71fed6cc1ed9f4d84f9dfaa', name: "checkmark-outline", size: "tiny" }), h("label", { key: '053cd3b9ff5f9c80cac0fb8663d08a38769f31b2' }, h("slot", { key: 'efad1d448b746b765ce6e8a6a17c6c2e9a9658f5' }))));
|
|
64
64
|
}
|
|
65
65
|
static get is() { return "smoothly-input-checkbox"; }
|
|
66
66
|
static get encapsulation() { return "scoped"; }
|
|
@@ -39,7 +39,7 @@ export class SmoothlyInputClear {
|
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
41
|
var _a;
|
|
42
|
-
return (h(Host, { key: '
|
|
42
|
+
return (h(Host, { key: '1c44261b3920fc4afef44e592c57d4edce43cfa2', title: this.tooltip }, h("smoothly-button", { key: '5640b6d34c7d6910a21a8e87f60b365521eb55e1', disabled: this.disabled, size: this.size, type: "button", shape: this.shape, expand: this.expand, color: this.color, fill: (_a = this.fill) !== null && _a !== void 0 ? _a : (this.type == "input" ? "clear" : undefined) }, h("slot", { key: '9c3fd0bfd5edf45d75f11639f569db85a71e6070' }), h("smoothly-icon", { key: '624113149ddac310bc350ea3a6bb73e73216e10c', name: "close", size: "tiny" }))));
|
|
43
43
|
}
|
|
44
44
|
static get is() { return "smoothly-input-clear"; }
|
|
45
45
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyInputColorDemo {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '6c0f77709d1ab40676d2214ec1a0e1545baf1e5b' }, h("h2", { key: 'a5840477e827a305d2441f157a67936afe48397f' }, "Color"), h("smoothly-input-color", { key: 'b4c59fbfcaacd9c2561264ca5bad49a5c15d2c1f', name: "color" }, "Choose color")));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-input-color-demo"; }
|
|
7
7
|
static get styles() { return "style.css"; }
|
|
@@ -138,7 +138,7 @@ export class SmoothlyInputColor {
|
|
|
138
138
|
}
|
|
139
139
|
render() {
|
|
140
140
|
var _a, _b, _c, _d, _e, _f;
|
|
141
|
-
return (h(Host, { key: '
|
|
141
|
+
return (h(Host, { key: 'da2e8d3b9d34a34700e56943bf46f97952c82c8f', style: {
|
|
142
142
|
"--hexCode": this.value,
|
|
143
143
|
"--rgb-r": `${Math.round((_a = this.rgb.r) !== null && _a !== void 0 ? _a : 0)}`,
|
|
144
144
|
"--rgb-g": `${Math.round((_b = this.rgb.g) !== null && _b !== void 0 ? _b : 0)}`,
|
|
@@ -147,7 +147,7 @@ export class SmoothlyInputColor {
|
|
|
147
147
|
"--hsl-s": `${Math.round((_e = this.hsl.s) !== null && _e !== void 0 ? _e : 0)}%`,
|
|
148
148
|
"--hsl-l": `${Math.round((_f = this.hsl.l) !== null && _f !== void 0 ? _f : 0)}%`,
|
|
149
149
|
"--element-height": `${this.element.clientHeight}px`,
|
|
150
|
-
} }, h("smoothly-input", { key: '
|
|
150
|
+
} }, h("smoothly-input", { key: '0811b9e8b343160a8767b07ddfbc8124cfa9ee6d', value: this.value, name: this.name, looks: undefined, color: this.color, type: "hex-color", showLabel: this.showLabel, readonly: this.readonly, onSmoothlyInput: event => (event === null || event === void 0 ? void 0 : event.stopPropagation(), this.hexInputHandler(event.detail[this.name])) }, h("slot", { key: 'c20ff101d416406ea67da7d9cb5aa0aa0b3c4f43' })), h("div", { key: '554cc3985ec8bb9737c94b65031a34a86f4de6cc', class: "color-sample" }), h("smoothly-icon", { key: '27ec92c81e1da06171dc03ee0fc1a4d801c25811', color: this.color, name: "options-outline", size: "small", onClick: () => !this.readonly && this.openDropdown() }), h("div", { key: '9c3069fbd41e47041145877424504858eec0f5c0' }, h("slot", { key: '4b5a81761af0eaa45b80ff291c78a1662d62a5c4', name: "end" })), this.open && !this.readonly && (h("div", { key: '71642c17b0531a61f0f3032ec189f337094b589b', class: "rgb-sliders" }, h("smoothly-toggle-switch", { key: 'a3a1500be0748165ed5ba43fd0671744b6fc801d', title: `${this.sliderMode === "rgb" ? "To HSL" : "To RGB"}`, onSmoothlyToggleSwitchChange: event => this.handleSwitchMode(event), size: "tiny", checkmark: false, selected: this.sliderMode === "hsl" }), Object.entries(this.rgb).map(([key, value]) => (h("smoothly-input-range", { style: this.sliderMode != "rgb" ? { display: "none" } : {}, name: key, min: 0, max: 255, color: undefined, type: "text", value: value, step: 1, outputSide: "right", onSmoothlyInput: event => this.sliderInputHandler(event), label: key.toUpperCase() }))), Object.entries(this.hsl).map(([key, value]) => (h("smoothly-input-range", { style: this.sliderMode != "hsl" ? { display: "none" } : {}, name: key, min: 0, max: key === "h" ? 359 : 1, color: undefined, type: key === "s" || key === "l" ? "percent" : "text", value: (key === "s" || key === "l") && value ? value / 100 : value, step: key === "s" || key === "l" ? 0.01 : 1, outputSide: "right", onSmoothlyInput: event => this.sliderInputHandler(event), label: key.toUpperCase() })))))));
|
|
151
151
|
}
|
|
152
152
|
static get is() { return "smoothly-input-color"; }
|
|
153
153
|
static get encapsulation() { return "scoped"; }
|
|
@@ -79,13 +79,13 @@ export class SmoothlyInputDate {
|
|
|
79
79
|
event.stopPropagation();
|
|
80
80
|
}
|
|
81
81
|
render() {
|
|
82
|
-
return (h(Host, { key: '
|
|
82
|
+
return (h(Host, { key: 'a755134a252d7a353d9a77367c6850ec0e7bb2fa' }, h("smoothly-input", { key: 'c84f19abf9b612265662c923924bb9e27e4470dd', color: this.color, looks: this.looks == "transparent" ? this.looks : undefined, name: this.name, onFocus: () => !this.readonly && (this.open = !this.open), onClick: () => !this.readonly && (this.open = !this.open), readonly: this.readonly, errorMessage: this.errorMessage, invalid: this.invalid, type: "date", value: this.value, showLabel: this.showLabel, onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: e => {
|
|
83
83
|
e.stopPropagation();
|
|
84
84
|
this.value = e.detail[this.name];
|
|
85
|
-
} }, h("slot", { key: '
|
|
85
|
+
} }, h("slot", { key: '76957a67776b6e114a134ad8e381fccab3b3bcdb' })), h("span", { key: '913e4d85afb432d619a8b97b9498aca63fb65524', class: "icons" }, h("slot", { key: 'e3241b7fcad13b265db309d1893b235a8ddef397', name: "end" })), this.open && !this.readonly && (h("nav", { key: '7e930465a1ad3354480a4089bc9a041b3fffcc93' }, h("smoothly-calendar", { key: '207d73550c0b0274990b5a6afe6bcf2b96840055', doubleInput: false, value: this.value, onSmoothlyValueChange: event => {
|
|
86
86
|
this.value = event.detail;
|
|
87
87
|
event.stopPropagation();
|
|
88
|
-
}, max: this.max, min: this.min }, h("div", { key: '
|
|
88
|
+
}, max: this.max, min: this.min }, h("div", { key: 'bf152dd3b3de42c90569c7d484748181c5ca4fa3', slot: "year-label" }, h("slot", { key: '6a2fc92cbd7f61f12ceb21ce9d2844d713053b0c', name: "year-label" })), h("div", { key: '87a13f22c38aa9004483f4d197b7eddafe96941a', slot: "month-label" }, h("slot", { key: '11c277001bc28bcb4525d7f3fd120e8b643810b9', name: "month-label" })))))));
|
|
89
89
|
}
|
|
90
90
|
static get is() { return "smoothly-input-date"; }
|
|
91
91
|
static get encapsulation() { return "scoped"; }
|
|
@@ -91,12 +91,12 @@ export class SmoothlyInputDateRange {
|
|
|
91
91
|
}
|
|
92
92
|
render() {
|
|
93
93
|
const locale = navigator.language;
|
|
94
|
-
return (h(Host, { key: '
|
|
94
|
+
return (h(Host, { key: '0a06894b9e72b93df447ff82ad27d2a6779f8031', tabindex: 0 }, h("section", { key: '2d13b0592a766e768cf858150513475fd4522b59', onClick: () => !this.readonly && (this.open = !this.open) }, h("smoothly-input", { key: 'be576244d7b348ae617ccc719ffcd81418ff0b75', type: "text", name: "dateRangeInput", readonly: this.readonly, value: this.start && this.end
|
|
95
95
|
? `${tidily.format(this.start, "date", locale)} — ${tidily.format(this.end, "date", locale)}`
|
|
96
96
|
: undefined, invalid: this.invalid, placeholder: this.placeholder, showLabel: this.showLabel, onSmoothlyInput: e => {
|
|
97
97
|
e.stopPropagation();
|
|
98
98
|
this.inputHandler(e.detail);
|
|
99
|
-
} }, h("slot", { key: '
|
|
99
|
+
} }, h("slot", { key: '80adf2bd502c516457c9870c05fc4bc2b6275c3b' }))), h("span", { key: '5c95250e283bc5bada2daa574d21112e43a37492', class: "icons" }, h("slot", { key: '0389d3bd80370d6fae95fe7f32bb9f8a19a6ba06', name: "end" })), this.open && (h("nav", { key: '62bc92246212b47307de1180c9c1267825693d86' }, h("smoothly-calendar", { key: '735dd9ca6c84394d666fd71d2d831007e50a0574', doubleInput: true, onSmoothlyValueChange: e => e.stopPropagation(), onSmoothlyStartChange: e => {
|
|
100
100
|
e.stopPropagation();
|
|
101
101
|
this.start = e.detail;
|
|
102
102
|
}, onSmoothlyEndChange: e => {
|
|
@@ -106,22 +106,22 @@ export class SmoothlyInputDateTime {
|
|
|
106
106
|
this.changed = false;
|
|
107
107
|
}
|
|
108
108
|
render() {
|
|
109
|
-
return (h(Host, { key: '
|
|
109
|
+
return (h(Host, { key: '1f7d50b47ec60aeb9bf5527be3e993dd988e8873' }, h("smoothly-input", { key: 'a7539f5cbb2f0845e7ad900b0402572388f19e8b', color: this.color, looks: this.looks == "transparent" ? this.looks : undefined, name: "date", onFocus: () => !this.readonly && (this.open = !this.open), onClick: () => !this.readonly && (this.open = !this.open), readonly: this.readonly, type: "date", value: this.date, showLabel: this.showLabel, onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: e => {
|
|
110
110
|
e.stopPropagation();
|
|
111
111
|
this.date = e.detail.date;
|
|
112
|
-
} }, h("slot", { key: '
|
|
112
|
+
} }, h("slot", { key: 'be6a15ab70967423d3d307d52a02373842cdc12a' })), h("smoothly-input", { key: '1706bd3e02d205c8cfed03abeb9f5ae900f1c6ff', name: "hour", type: "integer", max: 23, value: this.hour, placeholder: "hh", onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: e => {
|
|
113
113
|
e.stopPropagation();
|
|
114
114
|
this.hour = e.detail.hour;
|
|
115
|
-
} }), h("span", { key: '
|
|
115
|
+
} }), h("span", { key: 'ae7ab41ec2918f480e0b4347346f2975aa23d0d1', class: "colon" }, ":"), h("smoothly-input", { key: '3e5d9221987f2cdb7c47c01abe4e2453655bbd3f', name: "minute", type: "integer", max: 59, value: this.minute, placeholder: "mm", onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: e => {
|
|
116
116
|
e.stopPropagation();
|
|
117
117
|
this.minute = e.detail.minute;
|
|
118
|
-
} }), h("span", { key: '
|
|
118
|
+
} }), h("span", { key: 'fe9259b03b623b96e3ba20c342b94e3f43e9f68c', class: "icons" }, h("smoothly-icon", { key: '81f9e8da653d36eb8e450294dc2dc4264fb76122', class: "smoothly-invalid", name: "alert-circle", color: "danger", fill: "clear", size: "small", toolTip: this.errorMessage }), h("slot", { key: 'e70b4a872aa43692c8f1a5e8f7d8a6bf7dc0aa28', name: "end" })), this.open && !this.readonly && (h("nav", { key: '312657e918b72f06eb76187e064fdf7113960499' }, h("smoothly-calendar", { key: 'bc461b9606b3f0a05a788b7ae72ac5d96231ab9b', doubleInput: false, value: this.value, min: this.min ? isoly.DateTime.getDate(this.min) : undefined, max: this.max ? isoly.DateTime.getDate(this.max) : undefined, onSmoothlyValueChange: e => {
|
|
119
119
|
this.date = e.detail;
|
|
120
120
|
e.stopPropagation();
|
|
121
121
|
}, onSmoothlyDateSet: e => {
|
|
122
122
|
this.open = false;
|
|
123
123
|
e.stopPropagation();
|
|
124
|
-
} }, h("div", { key: '
|
|
124
|
+
} }, h("div", { key: 'bd29e39875d5afe6acaaca8351156ed2c9784b50', slot: "year-label" }, h("slot", { key: '47b5e7d5621164f66ee939cda905e2d8cc8595ba', name: "year-label" })), h("div", { key: 'f65988215e183bfae36378932401dfb656e1acba', slot: "month-label" }, h("slot", { key: 'f9bfa7c085e9de6c255b5782595d41f3242e8e90', name: "month-label" })))))));
|
|
125
125
|
}
|
|
126
126
|
static get is() { return "smoothly-input-date-time"; }
|
|
127
127
|
static get encapsulation() { return "scoped"; }
|
|
@@ -6,14 +6,14 @@ export class SmoothlyInputDemo {
|
|
|
6
6
|
this.alphanumeric = "!@##";
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h(Host, { key: '
|
|
9
|
+
return (h(Host, { key: 'f391bd78c0251dabd6f1ff36b039dbb88dd6f36b' }, h("smoothly-input-demo-standard", { key: '6ec0721055230720b20f5e7d4ead62c430a57caa' }), h("div", { key: '5fc44c0c8fdadf263692766ce0ecdbe8e8facd6b', class: "inputs" }, h("h2", { key: '5c0b67d96c5c5e9ec56cf4cd7135cb844c3034e0' }, "Calendar"), h("smoothly-input-date", { key: '7110f32cb9d5c3451595a70b08232848c9d4b465', name: "some-date" }, "Calendar"), h("smoothly-input-date-time", { key: '840b983439402d95ddc6ed9ea03d1edc82d1bbbf', name: "someDateTime" }, "DateTime"), h("h2", { key: 'd5db1f5c8ae18f67bc0cdb61273043f647675a89' }, "Date Range"), h("smoothly-input-date-range", { key: '2b6a94b1f56c5eec888ec19ac95af52255caf1b4', name: "testing", start: isoly.Date.now(), end: isoly.Date.nextMonth(isoly.Date.now()), min: "2021-10-01", max: "2025-01-31" }), h("smoothly-input-date-range", { key: '8e86b0a98a3abd79fdf625aed83dfb278fb3470b', name: "testing", start: isoly.Date.now(), end: isoly.Date.nextMonth(isoly.Date.now()), min: "2021-10-10", max: "2024-12-30" }, h("smoothly-input-reset", { key: 'ac33be124dcf125eeae6f56c8fcf77dee2e9e09b', slot: "end", size: "icon" })), h("smoothly-input-date-range", { key: 'ddff97927d04e2ccec654cbe9687889e2ac915e6', looks: "grid", start: isoly.Date.now(), end: isoly.Date.nextMonth(isoly.Date.now()), min: "2021-10-10", max: "2025-12-30", showLabel: false, style: {
|
|
10
10
|
"--smoothly-input-border-radius": "0.5rem",
|
|
11
|
-
} }, h("smoothly-input-clear", { key: '
|
|
11
|
+
} }, h("smoothly-input-clear", { key: 'f5f998abd40b9403ccebafe27ba14493fa8f19ca', slot: "end", size: "icon" })), h("h2", { key: '7d173c425b81aa7deb4cd89edb3c89a2ff528a3b' }, "Date"), h("smoothly-input-date", { key: '0b811e8dd45367c464a7f6edb1b4a33b627adeba' }, "Date"), h("smoothly-input-date", { key: 'bf8581823bc434be491ebc5fafdba71061a14101', showLabel: false, value: "2021-10-28", max: "2021-12-30", min: "2021-10-10" }, "Date"), h("smoothly-input-date", { key: '88e7ffea5182215229db30af9afe6f4e7ce57146', value: "2021-10-28" }, "Date", h("smoothly-input-reset", { key: '172b1c34e6cd4b67f78625b75ff471c303fb12d4', slot: "end", size: "icon" })), h("smoothly-input-date", { key: '30968f8dcc79a0321afca68cf79e2ea31b8735fc', value: "2021-10-28" }, "Date", h("smoothly-input-clear", { key: '0bbdf2875ce1621de5ed65128569f2e20846f85a', slot: "end", size: "icon" })), h("h2", { key: 'a9eb917e3d429438514b7ad091b5cd84fd872889' }, "Select"), h("div", { key: 'ff41a3d04e75f1d6509c6c986dc88e4becad3721', class: "select-div" }, h("smoothly-input-select", { key: 'e2dd73ead13a60e47494d3cd025c34a805f5e4ee', name: "select-dessert", looks: "border" }, h("label", { key: '75e7c9ff86ce84ac3eda4bb40af16d6e9b16e434', slot: "label" }, "Select with clear button"), h("smoothly-item", { key: '577f76315b49efcef1f260362b93ff6112004b47', value: "1" }, "Ice cream"), h("smoothly-item", { key: 'ed71f3d6e83f8fa10811c952bb1ab5f7b9baa97b', value: "2" }, "Sponge cake"), h("smoothly-item", { key: 'e4885a3b9170974878d5c9882d0239fe944c11f2', value: "3", disabled: true }, "Disabled Item"), h("smoothly-item", { key: '8bcc76448c631fbf793f91947af4c0e17c60a858', value: "4" }, "Cookie"), h("smoothly-item", { key: 'a72d1e10c4b69da2584f2e15d4215c08c5f92fdb', value: "5" }, "Croissant"), h("smoothly-item", { key: '6f5653a3a0e7caa778b40eccbc4069f324fd25cb', value: "6" }, "Chocolate fondue"), h("smoothly-input-clear", { key: 'ddc17cfc7f7c3146518ad4827f8d674b165db328', size: "icon", slot: "end" })), h("smoothly-input-select", { key: '0404ede6b67ed2840409c725d0d2863f0d306c30', multiple: true, name: "select-dessert-multiple", looks: "border" }, h("label", { key: '16b514b69567d48eb36e14812c700e8658e95ea0', slot: "label" }, "Select multiple with reset button"), h("smoothly-item", { key: '6e2dbeee5a47c7f8c2e1a1c6c4d079ff31f200e4', value: "ice cream" }, "Ice cream"), h("smoothly-item", { key: '915a599dcbe877f1513ead46fda81150c7781a03', value: "sponge cake" }, "Sponge cake"), h("smoothly-item", { key: '2664f2bcd62e4f27fb49f46652fa9e69516c8e57', selected: true, value: "cookie" }, "Cookie"), h("smoothly-item", { key: 'd1cf93f393ecff22c4ac6fcc007ab6c09a534b8e', value: "croissant" }, "Croissant"), h("smoothly-item", { key: '0b7dd82efb700709a66ced995a3dc4d18be30ff6', selected: true, value: "chocolate fondue" }, "Chocolate fondue"), h("smoothly-input-reset", { key: '9866a5e80c446f5b4ca2c2ff8f711ab039912b87', size: "icon", slot: "end" })), h("smoothly-input-select", { key: '775756976b9654150ee7670be56f7b44bacc09a2', name: "spirit-animals", looks: "border", mutable: true }, h("label", { key: '2543c280d67278c8215a0f1c40060d1a650551c9', slot: "label" }, "Select or add new options"), h("smoothly-item", { key: '99670894167dd333c93ddeb166ce6d6677bfa7db', value: "manatee" }, "Manatee"), h("smoothly-item", { key: '8523895743bb77d41829b97a82b34b1b8c13de85', selected: true, value: "cthulu" }, "Cthulu")), h("smoothly-input-select", { key: '2b77ced15c1efccc0c963ea0190a108aaf7ff254', name: "select-icon", clearable: false, showSelected: false }, h("smoothly-item", { key: 'ec88105457f95ec7582b95a0cd6174a96fa4691f', value: "folder", selected: true }, h("smoothly-icon", { key: 'a8420b94eedd11f7a27bb589ea15e0fe8ad28eed', size: "small", name: "folder-outline" })), h("smoothly-item", { key: 'a0a2524ccf06e777498a0612bfc755fbdb3c26da', value: "camera" }, h("smoothly-icon", { key: 'd6a08b892a58f56187b5921cff2b55646a2fd1fb', size: "small", name: "camera-outline" }))), h("smoothly-input-select", { key: 'fba2c8857f72aa30927a76faa5005a8f629f7432', ordered: true, menuHeight: "7.5items", placeholder: "Select...", name: "select-month" }, h("label", { key: 'c469cb86e393ca8567e4f306074f6b1822da1f4c', slot: "label" }, "Alphabet ordered select"), Array.from({ length: 26 })
|
|
12
12
|
.map((_, i) => String.fromCharCode(i + 65))
|
|
13
|
-
.map(char => (h("smoothly-item", { value: char, selected: char == "H" }, char)))), h("smoothly-input-select", { key: '
|
|
13
|
+
.map(char => (h("smoothly-item", { value: char, selected: char == "H" }, char)))), h("smoothly-input-select", { key: 'e3bf61ef393d38a27d457c34dd0c6e1725581cd7', multiple: true, menuHeight: "7.5items", placeholder: "Select...", name: "select-month" }, h("label", { key: '6f378b22b5f5e65b7a806ae68675131d6e024d00', slot: "label" }, "Month multiple select"), h("smoothly-item", { key: '7d1f5110fe52b497edd86a5e4397914cd1636eb3', value: "1" }, "January"), h("smoothly-item", { key: 'a5217ec2aa7daf0992a53392724d3de162f1b7c3', value: "2" }, "February"), h("smoothly-item", { key: 'e97d698810ba4cc74fbf9235fb1f3c8fd2c3c3d4', value: "3" }, "March"), h("smoothly-item", { key: 'b379faa9da4b684ba555c949c6b6ddccc4c116b8', value: "4" }, "April"), h("smoothly-item", { key: '97de95e971a0c07e462aea3e935536a59df7e89a', value: "5" }, "May"), h("smoothly-item", { key: '684e39a859bfd80078bee12230cbaebdc2ed6fb9', value: "6" }, "June"), h("smoothly-item", { key: '84ceedba22aaed9a7c9dc866131deb3da7cb637f', value: "7" }, "July"), h("smoothly-item", { key: '1c310541498a90e74471932e7d5236466c9b61a5', value: "8" }, "August"), h("smoothly-item", { key: '5779cad53606a81b4b8741748f7dff06f4c1d53b', value: "9" }, "September"), h("smoothly-item", { key: '4f77e5f150de94e40fa44ad9a18c62e946583b1e', value: "10" }, "October"), h("smoothly-item", { key: '0721ac6d8ad7b08bbf3f37e6000ae21d39cff10a', value: "11" }, "November"), h("smoothly-item", { key: '786168eff22dd2df98369268f734f3382e5f0144', value: "12" }, "December"))), h("h2", { key: 'a0fb40b3246b9810fc8c628947e34e8e7861edc8' }, "Duration"), h("smoothly-input", { key: '6e8dc2d9bb81905f9b361e3d86fc5bde907d9a08', name: "duration", type: "duration", placeholder: "hh:mm", value: this.duration, onSmoothlyInput: e => (this.duration = e.detail.duration) }, "Duration"), h("smoothly-input", { key: '9e7b6a937a25da6e1b54e3936a349899a82f444d', name: "duration", type: "duration", value: this.duration, placeholder: "-hh:mm", onSmoothlyInput: e => {
|
|
14
14
|
const duration = e.detail.duration;
|
|
15
15
|
this.duration = duration;
|
|
16
|
-
} }, "Duration"), h("h2", { key: '
|
|
16
|
+
} }, "Duration"), h("h2", { key: '31b7b747b3aaaf845ad1aed49ab45ba9523a2fc3' }, "Integer with Min/Max"), h("smoothly-input", { key: 'c81811ff2d335ea60df070a960524ff16ede8489', name: "days", type: "integer", min: 0, max: 365 }, "Days per year (0-365)"), h("smoothly-input", { key: '86aeb498c9731e91de63412a11a79f29292adcd0', name: "hour", type: "integer", min: 0, max: 23 }, "Hours per day (0-23)"), h("smoothly-input", { key: '4802f8b96a9aab4828c3327de3eb2b531edcddfd', name: "minute", type: "integer", min: 0, max: 59 }, "Minutes per hour (0-59)"), h("smoothly-input", { key: '3737eab0df9fd0706175be8a971593ab3bb9343d', name: "minute", type: "integer", min: 18, max: 120 }, "Age (18-120)"), h("h2", { key: '6b2f5d91faf5bf0d3bc074e859d88445a80b5667' }, "Invalid text with warning icon and tooltip"), h("smoothly-input", { key: '95410c2f81a47ca003616bd40d89f7885b634f37', name: "alphanumeric", invalid: !/^[a-zA-Z0-9]+$/.test(this.alphanumeric), errorMessage: "Only alphanumeric allowed", value: this.alphanumeric, onSmoothlyInput: e => (this.alphanumeric = e.detail.alphanumeric) }, "Alphanumeric"), h("h2", { key: 'ad449776079245f9531bd8ce3f51efe3411e5e7e' }, "Identifiers"), h("smoothly-input", { key: 'b3325535a6ac61fd0476d6a075693c7e2fca5ef6', type: "identifier-code" }, "Code"), h("smoothly-input", { key: '28e66d1f923f9807252c3cc72fe4a788240aba1d', type: "identifier-attribute" }, "Attribute"), h("smoothly-input", { key: '491387109239d78a481aa0a4c9058a2cdb2a4c65', type: "identifier-snake" }, "Snake"), h("smoothly-input", { key: '35fce4f6c948209470cd2ad28f8d9621ee6b5321', type: "identifier-pascal" }, "Pascal"), h("smoothly-input", { key: 'dd534f14f8e8943f7ddef74992dd46c318347ae8', type: "identifier-camel" }, "Camel"), h("h2", { key: '38685f41f8810a5795834ca27905b2f2afc27eac' }, "Input Alternatives"), h("smoothly-input", { key: '59043422556d04cc56c186714e91dc64f0816ed7', type: "text", name: "name.last", onSmoothlyChange: e => console.log("smoothly change event") }, h("smoothly-icon", { key: '213e727678e743ec88cdd54a979ce8935c541340', name: "checkmark-circle", slot: "start" }), "First Name"), h("smoothly-input", { key: '51f32ad9c0b4c9b7a8204bc63c441f8fa167b611', type: "text", name: "name.first", onSmoothlyChange: e => console.log("smoothly change event") }, "Last Name", h("smoothly-icon", { key: '46aa75ade3df2db1b151e01096a197f2e2fd8af9', name: "checkmark-circle", slot: "end" })), h("smoothly-input", { key: 'b1293dfab17cf01887cbf5841db05e04dd3a1464', type: "text", name: "name.first", placeholder: "Smith", onSmoothlyChange: e => console.log("smoothly change event") }, "Last Name", h("smoothly-icon", { key: 'b284306b4866a605add8c5ef598dc40f1282ec43', name: "checkmark-circle", slot: "end" })), h("smoothly-input", { key: '24ec4d180f050b371e9af2f002b7116a99b88cf4', placeholder: "test" }), h("smoothly-input-submit", { key: 'd55d4fff97828924002492d9016bd73eef46eba7', slot: "submit", fill: "solid", onSubmit: (e) => alert(e), color: "success" }), h("h4", { key: 'f45625069ac93259c0631c1137df1f0275ac0a57' }, "Smoothly checkboxes"), h("div", { key: '0b987f4c368c8d50dbb6f49055ba0cff33835427', class: "checkbox-group" }, h("smoothly-input-checkbox", { key: '315c00eb4677344a3877d819a6a90882a97da7b9', disabled: true, name: "first-checkbox" }, h("smoothly-icon", { key: '24b845e4451277aac8e6c945aaa7536e481b523e', name: "checkmark-circle", slot: "start", size: "tiny" }), "First"), h("smoothly-input-checkbox", { key: 'c7e4398c49e7299b6b235b5ff5572d7f59998c5c', name: "second-checkbox", checked: true }, h("smoothly-icon", { key: '3c59195cd3e5de2a5ca0db1ef7e67fdac4b20773', name: "checkmark-circle", slot: "start", size: "tiny" }), "second", h("smoothly-input-clear", { key: 'b353f63610a38744c63f5a98827a8be376f24689', size: "icon", slot: "end" })), h("smoothly-input-checkbox", { key: '594f7ec3d3f3be405aaf885621eb718e3fbf0a35', name: "third-checkbox" }, "3rd")), h("h4", { key: 'cf0b6447f28184077a82ebd6fa338531484442fb' }, "Smoothly Radio Buttons"), h("smoothly-input-radio", { key: '2dd5ceb1a1ff1b080616ec88e9480c53750ded4c', clearable: true, name: "radioFirstInput" }, h("smoothly-icon", { key: '79cf63ff3aac8acaa1511e77fe27d993270913c3', name: "checkmark-circle", slot: "start" }), h("label", { key: 'b794b9b61a60fd655a906db0ff400785d8dfb970', slot: "label" }, "Clearable"), h("smoothly-input-radio-item", { key: '7344467bc0580b1efd378925eb4af010967a0276', value: "first" }, "Label 1"), h("smoothly-input-radio-item", { key: 'bd8afddd7a86f9853f3c01b1121c9164140a8418', selected: true, value: "second" }, "Label 2"), h("smoothly-input-radio-item", { key: 'eac077c9f5c7c480b00806bc59dd7bc0e5747399', value: "third" }, "Label 3"), h("smoothly-input-clear", { key: 'e87f205103c7dd86c240a63d6f944c5c8775f693', size: "icon", slot: "end" })), h("smoothly-input-radio", { key: 'f4fa9eda695df9d7dcc4d3f68fe060a781cc20d6', name: "radioSecondInput" }, h("label", { key: 'd0a413214b688e493d73951747eba6bba204d85e', slot: "label" }, "Not clearable"), h("smoothly-input-radio-item", { key: 'ddb690ff8501c50743bc0d0e11e1c26ce5c5bb23', value: "first" }, "Label 1"), h("smoothly-input-radio-item", { key: 'bb5db85ec9f091bb62dd89c3ad0c8f749b85db8f', value: "second" }, "Label 2"), h("smoothly-input-radio-item", { key: '0a16abf56b4f3f77407d64fe2969b512b8444582', value: "third" }, "Label 3"), h("smoothly-input-radio-item", { key: 'e67deaa29b84a99dff1332357144fc7e9055400f', value: "fourth" }, "Label 4"), h("smoothly-input-radio-item", { key: '96e014e32102387364e1bfd5bf2288c3b1c028db', value: "fifth" }, "Label 5"), h("smoothly-input-radio-item", { key: '73cc1861839ecfe97fa494dd5544780a794abb5b', value: "sixth" }, "Label 6")), h("smoothly-input-range-demo", { key: '70d2d8f0df0397e64de5a5406431a26819438d21' }), h("smoothly-input-color-demo", { key: '2f34171560df93381803026b34d678474403bb7a' }), h("smoothly-input-price-demo", { key: '10fa39ce18a471a2ca132cc95a68ece4d04f78b9' }), h("smoothly-back-to-top", { key: '646557d1c7a1ab4d661562591f77c4107527af08' }))));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "smoothly-input-demo"; }
|
|
19
19
|
static get encapsulation() { return "scoped"; }
|
|
@@ -6,7 +6,7 @@ export class SmoothlyInputPriceDemo {
|
|
|
6
6
|
this.currency = "USD";
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h(Host, { key: '
|
|
9
|
+
return (h(Host, { key: 'edcdc1ceec7f4019e08498066b88c74d9579f4aa' }, h("h2", { key: '46d387d433f70510f8520cd48d6b097c18df46a9' }, "State demo on smoothly-input"), h("p", { key: '782e65c8fb7c8e5b17d1df4590241db5d346f33a' }, "This demo/test the internal state of the smoothly-input component."), h("p", { key: '630705dfad5ac3e9990f78f6de3452553e501854' }, "The currency of the price should update when switching between the currencies."), h("smoothly-input-radio", { key: 'ad933b980ccd259935b5faf994565c6937ddb1fd', name: "currency", onSmoothlyInput: e => (this.currency = isoly.Currency.is(e.detail.currency) ? e.detail.currency : undefined) }, this.currencies.map(currency => (h("smoothly-input-radio-item", { key: currency, selected: currency == this.currency, value: currency }, currency)))), h("smoothly-input", { key: '714f78af7e19b0651eaebb5d4669d17b5cdc8d70', type: "price", currency: this.currency }, "price")));
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "smoothly-input-price-demo"; }
|
|
12
12
|
static get encapsulation() { return "scoped"; }
|
|
@@ -21,7 +21,7 @@ export class SmoothlyInputDemoStandard {
|
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
23
|
const placeholder = this.options.placeholder ? "placeholder" : undefined;
|
|
24
|
-
return (h(Host, { key: '
|
|
24
|
+
return (h(Host, { key: '951d8e936755153c60dfb5e9c4fa714f6c2cfcbb', class: { vertical: !!this.options.vertical } }, h("div", { key: 'af5cd56f01a657adc81a7c1952fc0fa99c983cca', class: "description" }, h("h2", { key: '000ead60500d3ecb23f0925490c470bfa12b1b17' }, "Input Standard"), h("p", { key: 'e8e0ac8ac447a507a8ff84a82910ccfb28eb108b' }, "Height of input should be ", h("code", { key: '3442836222d91b57b578154201b379c01984a44b' }, "3rem"), " including border. This is should result in a 48 pixel height at 100% zoom, assuming a root font-size of 16 pixels."), h("smoothly-form", { key: 'b6c4e839e5a281c96c774a54e2b23907fedab94a', looks: "grid", onSmoothlyFormInput: (e) => (this.options = e.detail) }, h("smoothly-input-select", { key: '052325bf03d817a341eea65d6b5f8937faa9f5a9', name: "looks" }, h("span", { key: '4e9ef448481c3ee611c93a27de4cb8faa6bbdb8b', slot: "label" }, "Looks"), Looks.values.map(l => (h("smoothly-item", { value: l }, l)))), h("smoothly-input-checkbox", { key: 'c7aef46d0c10a1f270d6f4989ff5f28dc54eaa46', name: "readonly" }, "Readonly"), h("smoothly-input-select", { key: '8c66e722864389166198e6dc2ed088054a7b52ae', name: "color" }, h("span", { key: 'c099222e90e71c652685f2e6b7ec3be644fe1128', slot: "label" }, "Color"), Color.values.map(c => (h("smoothly-item", { value: c }, h("span", { color: c }, c)))), h("smoothly-input-clear", { key: '9be13aef6903d2d1278b65c7ef42d44037ba3db2', slot: "end" })), h("smoothly-input-checkbox", { key: 'a6c41ffa70909296a000349ae4b69aac2b68cacb', name: "vertical" }, "Vertical Layout"), h("smoothly-input-checkbox", { key: 'd2220c0c8f405eb2b9f53be947ca125587b4d0eb', name: "showLabel", checked: true }, "Show Label"), h("smoothly-input-checkbox", { key: '155e50f789e3d357ec1dfcecace74599a7807f64', name: "placeholder" }, "Placeholder"), h("smoothly-input-checkbox", { key: '36aad13274e6ef7cdb86c87d2085932653381f37', name: "invalid" }, "Invalid"), h("smoothly-input", { key: '130deb857bd5d3e73d875f34b8ee0d50e1f16039', name: "errorMessage", value: "This is not a valid value" }, "Error Message"), h("smoothly-input-range", { key: 'abac1a46412e0c3ee5f79a43b183ef90d3e435b0', label: "Border Radius (rem)", name: "borderRadius", min: 0, max: 2, step: 0.25 }))), h("div", { key: 'b286d517da6cd031b9c7590e792e75a417440d4f', class: "input-wrapper", style: { "--smoothly-input-border-radius": `${this.options.borderRadius}rem` } }, h("div", { key: '0e7c535d8aca6532806ae5f7fea57a22b5d32f1c', class: "width" }, "100%"), h("div", { key: 'a2a835349a7f2dd5cf2fc407ffb6ba43e5ff9bb5', class: "left-padding" }, "0.5rem - left padding"), h("smoothly-input", { key: '2f266438ea51914cfcce08f22139c752e721498e', name: "text", looks: this.options.looks, placeholder: placeholder, invalid: this.options.invalid, errorMessage: this.options.errorMessage, readonly: this.options.readonly, color: this.options.color, showLabel: this.options.showLabel }, this.options.showLabel && h("span", { key: '96e2acaa65f5ac445dae13fce8b1ab6f0cb64091' }, "Text"), h("smoothly-input-clear", { key: 'bac98746bafdee5e2af488b9dd1c881a2fd41abb', slot: "end" })), h("div", { key: '3b7dbf2d82b62247f85cac4f9c1b1a7c4f7e3101', class: "height" }), h("smoothly-input-select", { key: 'b837f6e96996b1a9f1a2d3fa4e188050abd69ba6', name: "month", looks: this.options.looks, placeholder: placeholder, invalid: this.options.invalid, errorMessage: this.options.errorMessage, readonly: this.options.readonly, color: this.options.color }, this.options.showLabel && h("label", { key: '489c682c94902d5bf104a32462239429be1208c0', slot: "label" }, "Select"), h("smoothly-item", { key: '846be873419369ca5b3a3bb7ec1763790847f548', value: "1" }, "January"), h("smoothly-item", { key: '78f330e0329eb2c63171e78d35680509e8e172a5', value: "2" }, "February"), h("smoothly-item", { key: '69179c3218be846bb33c018abc37a9bf2f379416', value: "3" }, "March"), h("smoothly-item", { key: 'a5594f65d0320457c0edb516d760dcb6bd5ee7b1', value: "4" }, "April"), h("smoothly-item", { key: '4377a009490a3636f3b8fcea6fd55c5a2c1577f9', value: "5" }, "May"), h("smoothly-item", { key: '74acc707028b86f5266a365614e7bdeb6da67a25', value: "6" }, "June"), h("smoothly-item", { key: '5767cc4323d227293c27934cfcd7ca146a3e71df', value: "7" }, "July"), h("smoothly-item", { key: '51d3e6cc6c9dc142c30e63ac1bb2df2cd3f7422c', value: "8" }, "August"), h("smoothly-item", { key: '58d40956906a3a9d59fbd9b59db8f99990ec04b7', value: "9" }, "September"), h("smoothly-item", { key: 'd78a4d9eb90e73cdf69610dded70dcb30b76119e', value: "10" }, "October"), h("smoothly-item", { key: 'b8867b2bbcf65f519455c8b501120c61368cc9cd', value: "11" }, "November"), h("smoothly-item", { key: '9f30a2ca954a2a47ff166c9eab312df2d03c3fca', value: "12" }, "December"), h("smoothly-input-clear", { key: 'd5e610c5a85b7d5e44dd0128aab00339a02a3210', slot: "end" })), h("div", { key: 'cbe1ff70d9410549cae2db26afe2328f7664fa50', class: "height" }), h("smoothly-input-checkbox", { key: '74a4ca779d60ee6eeed471e50a02b5da4ab1ec18', looks: this.options.looks, readonly: this.options.readonly, color: this.options.color }, "Check"), h("div", { key: '00c58e9df1e81eeefd02e504b4d8b801c2023694', class: "height" }), h("smoothly-input-radio", { key: 'ed80d56631c1d6e34345a2b0abb0f5708e420779', name: "radio", clearable: true, looks: this.options.looks, readonly: this.options.readonly, color: this.options.color, showLabel: this.options.showLabel }, this.options.showLabel && h("label", { key: 'f22e8e2408d8dc2b3d835ec65d031381ee9c81b1', slot: "label" }, "Radio"), h("smoothly-input-radio-item", { key: 'e6b40167ec1c4bdb1ec801bd86c5a936dcfac2d1', value: "first" }, "Label 1"), h("smoothly-input-radio-item", { key: '975d48ee804f99f041ab0e1d9775831fac38a893', selected: true, value: "second" }, "Label 2"), h("smoothly-input-radio-item", { key: '47cb61faeca4e7538bae225bcfecb8417c26cbca', value: "third" }, "Label 3"), h("smoothly-input-clear", { key: '60cf6f95ad009845e7f6e319d952c1f270f966aa', slot: "end" })), h("div", { key: 'a9405a9b52e859ca553dd19560fa86610183024f', class: "height" }), h("smoothly-input-file", { key: '401a22707d76d8ed5d34abe448814cf4959a1fa8', looks: this.options.looks, readonly: this.options.readonly, color: this.options.color, placeholder: placeholder, showLabel: this.options.showLabel }, this.options.showLabel && h("span", { key: '89ab3c037ef0696c2dff55013406f6b427497cae', slot: "label" }, "File"), h("smoothly-input-clear", { key: 'b43d75694fb277232384c2976be6321795062b96', slot: "end" })), h("div", { key: 'bd9d687f9b59e41e8dcb4302e2422a7a27e63677', class: "height" }), h("smoothly-input-range", { key: '1394a573bf3c1c0a833e4f02335a3303b9edf10a', name: "range", label: this.options.showLabel ? "Range" : undefined, looks: this.options.looks, readonly: this.options.readonly, color: this.options.color }, h("smoothly-input-clear", { key: '49f3b4028cd51409e1cbc5fdfeaef81ec27188f5', slot: "end" })), h("div", { key: '17f16df032bc1927129da013189f3c274d767c5d', class: "height" }), h("smoothly-input-color", { key: '5383ee49642c9b85e015535762abc344a559c6fc', looks: this.options.looks, readonly: this.options.readonly, color: this.options.color, showLabel: this.options.showLabel }, this.options.showLabel && h("span", { key: '8d749e5c39d9b1f70ed423b1258f31115912d02f' }, "Color"), h("smoothly-input-clear", { key: '47cc64ea251de5c33e05482de258667c8cb825ef', slot: "end" })), h("div", { key: '1a95e6d7d34d525420537abb68455514a8acaac3', class: "height" }), h("smoothly-input-date", { key: '48dbc96f309f9bb57d39acaf040524db9b4a28ad', looks: this.options.looks, readonly: this.options.readonly, invalid: this.options.invalid, color: this.options.color, showLabel: this.options.showLabel }, this.options.showLabel && h("span", { key: '0c14d8bceffe8a9e420850302525165679c508ad' }, "Date"), h("smoothly-input-clear", { key: '019d0c408379cf2b0bc265e920025d649ddd8777', slot: "end" })), h("div", { key: '3d67ba7e9f382f769f787b51e70c7f5cf7d3fe4b', class: "height" }), h("smoothly-input-date-time", { key: '96cbf433bc0b3c569d15103236e7a4fb8c63b21c', looks: this.options.looks, readonly: this.options.readonly, invalid: this.options.invalid, errorMessage: this.options.errorMessage, color: this.options.color, showLabel: this.options.showLabel }, "DateTime", h("smoothly-input-clear", { key: 'a631f516a994b86df2aa9ec3f4651f2314ea8dd2', slot: "end" })), h("div", { key: '97fe1c5b932289b2e42e9c634289725418b348c5', class: "height" }), h("smoothly-input-date-range", { key: 'b58568c51c8b45ae135450ec3686929732255fc7', looks: this.options.looks, readonly: this.options.readonly, invalid: this.options.invalid, color: this.options.color, placeholder: placeholder, showLabel: this.options.showLabel }, this.options.showLabel && h("span", { key: '41efbed231e88d909bd6f28162979f7ddb758e18' }, "Date Range"), h("smoothly-input-clear", { key: '9a2f23707a48fe56b6a37c7d035cc4b84ee85bd0', slot: "end" })), h("div", { key: '4c7ecea506ec437fe67337d65edd8f55d6947972', class: "height" }), h("div", { key: '3b365c0068e208b0f5c8f3f7b52853b169d92c54', class: { "guide-lines": true, "show-label": !!this.options.showLabel } }, this.options.showLabel ? "Aligned labels & values" : "Center values"))));
|
|
25
25
|
}
|
|
26
26
|
static get is() { return "smoothly-input-demo-standard"; }
|
|
27
27
|
static get encapsulation() { return "scoped"; }
|
|
@@ -28,7 +28,7 @@ export class SmoothlyInputEdit {
|
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
30
|
var _a;
|
|
31
|
-
return (h(Host, { key: '
|
|
31
|
+
return (h(Host, { key: 'e479bc4e0e7151a26964d30ef6cab245d4ecf48c', title: this.toolTip }, h("smoothly-button", { key: '784668d63e1d5945c8fd74517950badd23a25271', disabled: this.disabled, size: this.size, type: "button", shape: this.shape, expand: this.expand, color: this.color, fill: (_a = this.fill) !== null && _a !== void 0 ? _a : (this.type == "input" ? "clear" : undefined) }, h("slot", { key: 'ae09bd22cf4d54255c16d1fc2e99059417a10ec0' }), h("smoothly-icon", { key: '32511b0a5744aeead31e1c00e3ee756299c4ec1c', class: "default", name: "create-outline", size: "tiny" }))));
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "smoothly-input-edit"; }
|
|
34
34
|
static get encapsulation() { return "scoped"; }
|
|
@@ -101,7 +101,7 @@ export class SmoothlyInputFile {
|
|
|
101
101
|
}
|
|
102
102
|
render() {
|
|
103
103
|
var _a, _b, _c;
|
|
104
|
-
return (h(Host, { key: '
|
|
104
|
+
return (h(Host, { key: '4e378111db0e10663f7a66d87cae73136fef9bb2', class: { dragging: this.dragging, "has-value": !!this.value }, tabindex: 0, onClick: (e) => this.clickHandler(e), onDragOver: (e) => this.dragOverHandler(e), onDragEnter: (e) => this.dragEnterHandler(e) }, h("label", { key: '32b422053ae2c0f784e253b201f54a9c234e23d2' }, h("slot", { key: '2e8353bacb424ae6e9e80c7de566baadc0e4cd4a', name: "label" })), h("div", { key: '6802b6824a3434f972ed760e61122582eef6c2a1', class: "input" }, h("smoothly-button", { key: '7b4edbef075ce51a50b3d61ebd0df858ce25afee', type: "button", color: this.color, fill: "clear", size: "flexible" }, h("slot", { key: '35dc27313c8e9d7463e4cc1a924dcdc3a5414fd8', name: "button" })), h("span", { key: '113ccb707f133856df9a6f2c707db99adcf9af42' }, (_b = (_a = this.value) === null || _a === void 0 ? void 0 : _a.name) !== null && _b !== void 0 ? _b : this.placeholder), h("div", { key: 'a128670edafc51b44e0bfb1d092f0d6a8eb20dea', class: "drag-overlay", onDrop: e => this.dropHandler(e), onDragLeave: e => this.dragLeaveHandler(e) }, h("smoothly-icon", { key: '24c5da9c87f099c6998c911a01a6e2c150a71795', name: "document-attach-outline" })), h("input", { key: '896fe0eba364441816f4f16b2a6585baba195ced', ref: element => (this.input = element), type: "file", capture: this.camera == "back" ? "environment" : "user", accept: (_c = this.accept) !== null && _c !== void 0 ? _c : (!this.camera ? undefined : "image/jpeg"), files: this.files, onInput: e => this.inputHandler(e) })), h("div", { key: 'd8a0d4950ce1846166cf16166437c166839ef201', class: "end", onClick: (e) => e.stopPropagation() }, h("slot", { key: '06bb474570c901cc3fe00e2de5404c3d37cb836c', name: "end" }))));
|
|
105
105
|
}
|
|
106
106
|
static get is() { return "smoothly-input-file"; }
|
|
107
107
|
static get encapsulation() { return "scoped"; }
|
|
@@ -131,7 +131,7 @@ export class SmoothlyInput {
|
|
|
131
131
|
}
|
|
132
132
|
render() {
|
|
133
133
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
134
|
-
return (h(Host, { key: '
|
|
134
|
+
return (h(Host, { key: '872dc829ab3ad7ae0a89d5bb33b6873a8bcfcd63', class: { "has-value": ((_a = this.state) === null || _a === void 0 ? void 0 : _a.value) != undefined && ((_b = this.state) === null || _b === void 0 ? void 0 : _b.value) != "" }, onclick: () => { var _a; return (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.focus(); } }, h("slot", { key: '30df6acf4cb3acb717a486ac0ad75da1522927a7', name: "start" }), h("div", { key: '1250557b67717ca57b08c2b6424a7896f432e11a', class: "smoothly-input-container" }, h("div", { key: 'fef92aa30c0c0107f45c6818267dc20221f2cc30', class: "ghost" }, h("div", { key: 'bad4d7ea96ba8e4da99271223e127ce5f062330f', class: "value" }, (_c = this.state) === null || _c === void 0 ? void 0 : _c.value), h("div", { key: 'b17df2280f81d15afc29f5402341e85e50beb5ba', class: "remainder" }, (_d = this.state) === null || _d === void 0 ? void 0 : _d.remainder)), h("input", { key: 'c96649c35f2c06dfdf3630b5c497523d0248d9b4', ref: (el) => (this.inputElement = el), color: this.color, name: this.name, type: (_e = this.state) === null || _e === void 0 ? void 0 : _e.type, inputmode: (_f = this.state) === null || _f === void 0 ? void 0 : _f.inputmode, placeholder: this.placeholder, required: this.required, autocomplete: (_g = this.autocomplete) !== null && _g !== void 0 ? _g : (_h = this.state) === null || _h === void 0 ? void 0 : _h.autocomplete, disabled: this.disabled, readOnly: this.readonly, pattern: ((_j = this.state) === null || _j === void 0 ? void 0 : _j.pattern) && ((_k = this.state) === null || _k === void 0 ? void 0 : _k.pattern.source), onKeyDown: event => {
|
|
135
135
|
this.state = this.stateHandler.onKeyDown(event, this.state);
|
|
136
136
|
if (!this.readonly && !this.disabled)
|
|
137
137
|
this.smoothlyKeydown.emit(Key.create(this.name, event));
|
|
@@ -144,7 +144,7 @@ export class SmoothlyInput {
|
|
|
144
144
|
if (Deep.notEqual(lastValue, this.stateHandler.getValue(this.state)))
|
|
145
145
|
this.smoothlyChange.emit({ [this.name]: this.stateHandler.getValue(this.state) });
|
|
146
146
|
}
|
|
147
|
-
} }), h("label", { key: '
|
|
147
|
+
} }), h("label", { key: 'c59ccd5a649873efc5bc0feefc722d5c85068b2d', class: "label float-on-focus", htmlFor: this.name }, h("slot", { key: '73aa7a5bb5448bf7bd37f5102c8d53ebda0a2b62' }))), h("smoothly-icon", { key: '8145ef6bdfcf30cc9402916e0880a425d6dad9d4', class: "smoothly-invalid", name: "alert-circle", color: "danger", fill: "clear", size: "small", toolTip: this.errorMessage }), h("slot", { key: '5313f26d26dc2141b84194f9965ea67b324af575', name: "end" })));
|
|
148
148
|
}
|
|
149
149
|
static get is() { return "smoothly-input"; }
|
|
150
150
|
static get encapsulation() { return "scoped"; }
|
|
@@ -106,9 +106,9 @@ export class SmoothlyInputMonth {
|
|
|
106
106
|
}
|
|
107
107
|
render() {
|
|
108
108
|
var _a, _b;
|
|
109
|
-
return (h(Host, { key: '
|
|
109
|
+
return (h(Host, { key: 'b1f87fae87e6203e9ef74b7221281e037a830b9b' }, h("smoothly-icon", { key: 'dd4fe8e284f87807fbb31617ae79060bf0a59ee7', name: "caret-back-outline", size: "tiny", color: this.color, fill: "default", class: {
|
|
110
110
|
disabled: this.readonly || !this.allowPreviousMonth,
|
|
111
|
-
}, onClick: () => this.allowPreviousMonth && this.adjustMonth(-1) }), h("smoothly-input-select", { key: '
|
|
111
|
+
}, onClick: () => this.allowPreviousMonth && this.adjustMonth(-1) }), h("smoothly-input-select", { key: 'ca65bfc738b814d4b9d7cfa1b9c10ab1ed2f478a', ref: e => (this.year = e), name: `${this.name}-year`, readonly: this.readonly, changed: this.changed, menuHeight: "5.5items", required: true, ordered: true, inCalendar: this.inCalendar, showLabel: this.showLabel, onSmoothlyInput: e => this.inputHandler(e), searchDisabled: true }, h("div", { key: 'bebf42ca61c711925077807fd39d590ad7c62b90', slot: "label" }, h("slot", { key: '4b21253002def35172963163cf0070f319321c68', name: "year-label" })), generate.years((_a = this.value) !== null && _a !== void 0 ? _a : isoly.Date.now(), this.min, this.max).map(year => (h("smoothly-item", { key: year.date, value: year.date, selected: year.selected || this.value == year.date }, year.name)))), h("smoothly-input-select", { key: 'b26c5f5d8395b4b656a29bdf1e8a5d73e4d27877', ref: e => (this.month = e), name: `${this.name}-month`, readonly: this.readonly, color: this.color, looks: this.looks, changed: this.changed, menuHeight: "5.5items", required: true, ordered: true, inCalendar: this.inCalendar, showLabel: this.showLabel, onSmoothlyInput: e => this.inputHandler(e), searchDisabled: true }, h("div", { key: 'cfa634dc871e83c96cdd49c7e65aeeaa347d9181', slot: "label" }, h("slot", { key: 'ae56d5cb8aadc9eab5f33da0fee54af46db7f3d2', name: "month-label" })), generate.months((_b = this.value) !== null && _b !== void 0 ? _b : isoly.Date.now()).map(month => (h("smoothly-item", { key: month.date, value: month.date, selected: month.selected || this.value == month.date }, month.name)))), h("smoothly-icon", { key: 'a56a322fadacacd62d1cbae348c0f650432bf3c3', name: "caret-forward-outline", size: "tiny", color: this.color, fill: "default", class: {
|
|
112
112
|
disabled: this.readonly || !this.allowNextMonth,
|
|
113
113
|
}, onClick: () => this.allowNextMonth && this.adjustMonth(1) })));
|
|
114
114
|
}
|
|
@@ -96,7 +96,7 @@ export class SmoothlyInputRadio {
|
|
|
96
96
|
(_b = (_a = this.listener).changed) === null || _b === void 0 ? void 0 : _b.call(_a, this);
|
|
97
97
|
}
|
|
98
98
|
render() {
|
|
99
|
-
return (h(Host, { key: '
|
|
99
|
+
return (h(Host, { key: '9832f054f11d49d0c5f427bad59d7e71c3dfb2bb', class: "floating-label" }, h("slot", { key: 'bbb81a0d76656ee8b8b16d44d986a20a8a26229b', name: "start" }), h("div", { key: 'f89673a9f124e42216d39f5d09ea7445f0eb40d8' }, h("slot", { key: '1b9cb1c072213a19fa8b83d9f2dfe61792b9571f', name: "label" }), h("div", { key: 'a14d4813301823d8ef7108a36dbf6d6ab15bda30', class: "options" }, h("slot", { key: '3b34f630c9780413c4ee72d611c0298d04482bfe' }))), h("slot", { key: '90f11393598e9548125f758148c75a09af02a56b', name: "end" })));
|
|
100
100
|
}
|
|
101
101
|
static get is() { return "smoothly-input-radio"; }
|
|
102
102
|
static get encapsulation() { return "scoped"; }
|
|
@@ -14,7 +14,7 @@ export class SmoothlyInputRadioItem {
|
|
|
14
14
|
this.smoothlySelect.emit({ value: this.value, selected: this.selected, select: s => (this.selected = s) });
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: 'bf596b71824dfc45cf982587f22ccad43580f29e', onClick: () => this.inputHandler() }, h("input", { key: 'b0d3c66f47add4e99b6b36eb5cbede2931c7b834', name: this.name, type: "radio", checked: this.selected }), h("smoothly-icon", { key: '9a9e1538061ef20eec2ff98f7684ce16d72c4efe', name: this.selected ? "checkmark-circle" : "ellipse-outline", size: "small", fill: "outline", color: this.selected ? "success" : "medium", toolTip: "Select" }), h("label", { key: 'e22dfa008729bf93d2bd09517651ce605db21b09' }, h("slot", { key: '9f36ea8d7085eb8d9f30dff91bbaa515113879af' }))));
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "smoothly-input-radio-item"; }
|
|
20
20
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyInputRangeDemo {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: 'a65fa28c070c9c8622dace5fa9dfe6ae672ab68c' }, h("h2", { key: '36d30888a8055f706d3d43250c99d6c8882c2bd4' }, "Range"), h("h3", { key: '1e2f77ebc5c3c1df3fbd5d095e7c7ab7a86b2b2c' }, "Phone Number"), h("smoothly-input-range", { key: '5f50b12ee4a8579e21e67d4247e034541f0fa92e', min: 700000000, max: 799999999, step: 1, label: "Phone Number" }), h("h3", { key: '13db0164ed6b16703c502bd04575492cbbb14e57' }, "Stars out of ten"), h("smoothly-input-range", { key: 'd38b9df06cfbc0616aa870f9cef411356bedc319', max: 10, step: 1, label: "Stars" }), h("h3", { key: 'e159fcd4db7812bafacaa7c03fc4dfbc6ae5a40a' }, "Percent"), h("smoothly-input-range", { key: '0422cada1f51e4f879a8f39120e0534305ecbc44', type: "percent", max: 1, step: 0.01, label: "Percent" }), h("h3", { key: '1b316682a274d09ca05752ec36ebf62fa95c0f07' }, "With icon at start and clear button"), h("smoothly-input-range", { key: '07f1e67528c810002f0d73c8d98783c0c3e0ccf6', step: 1, name: "range2", label: "Select" }, h("smoothly-icon", { key: '3b84524cdcc3ad429bf78f6f79ea81960e0be18d', name: "checkmark-circle", slot: "start" }), h("smoothly-input-clear", { key: '63ab031dd53c1bfc4d2eb390fe35f5af8039da95', size: "icon", slot: "end" }))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-input-range-demo"; }
|
|
7
7
|
}
|