smoothly 1.115.0 → 1.117.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/{Notice-Xc7J_4o_.js → Notice-ML9TNa7n.js} +15 -14
- package/dist/cjs/Notice-ML9TNa7n.js.map +1 -0
- package/dist/cjs/{Scrollable-BJioYHxN.js → Scrollable-C_6-3ED9.js} +14 -4
- package/dist/cjs/Scrollable-C_6-3ED9.js.map +1 -0
- package/dist/cjs/{Submittable-PpSv5NRW.js → Submittable-DmhpDQHI.js} +3 -3
- package/dist/cjs/{Submittable-PpSv5NRW.js.map → Submittable-DmhpDQHI.js.map} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{smoothly-app_98.cjs.entry.js → smoothly-app_99.cjs.entry.js} +165 -151
- package/dist/cjs/smoothly-app_99.cjs.entry.js.map +1 -0
- package/dist/cjs/smoothly-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-color.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-country.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-input-checkbox-demo.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-submit.cjs.entry.js +3 -3
- package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-trigger-source.cjs.entry.js +2 -2
- package/dist/cjs/smoothly.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- 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 +1 -1
- package/dist/collection/components/button/demo/standard/index.js +2 -2
- 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/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/icon/demo/index.js +5 -5
- 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 +2 -2
- 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 +1 -1
- package/dist/collection/components/input/date/range/index.js +3 -3
- package/dist/collection/components/input/date/text/index.js +1 -1
- package/dist/collection/components/input/date/time/index.js +5 -5
- package/dist/collection/components/input/demo/date/index.js +1 -1
- 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/radio/index.js +1 -1
- package/dist/collection/components/input/demo/standard/index.js +1 -1
- package/dist/collection/components/input/demo/user-input/index.js +3 -3
- 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 +4 -4
- 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 +2 -2
- 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 +2 -2
- package/dist/collection/components/notification/index.js +1 -1
- package/dist/collection/components/notifier/demo/index.js +37 -0
- package/dist/collection/components/notifier/demo/index.js.map +1 -0
- 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/group/index.js +1 -1
- package/dist/collection/components/table/demo/index.js +1 -1
- package/dist/collection/components/table/demo/nested-no-cell/index.js +2 -2
- package/dist/collection/components/table/demo/nested-no-cell/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 +2 -2
- 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/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/collection/model/Icon.js +12 -2
- package/dist/collection/model/Icon.js.map +1 -1
- package/dist/collection/model/Notice.js +13 -12
- package/dist/collection/model/Notice.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-C2xjUTYO.js → p-5Z_db2DH.js} +2 -2
- package/dist/components/{p-nFLcvugJ.js → p-5ac0hPYS.js} +2 -2
- package/dist/components/{p-NFd9Dxr1.js → p-5l1ov6SU.js} +2 -2
- package/dist/components/p-7UXKt7wZ.js +2 -0
- package/dist/components/{p-CrKwvG9J.js → p-B-jhX7aN.js} +2 -2
- package/dist/components/p-B37ZIkLI.js +2 -0
- package/dist/components/p-B8I-Yh5P.js +2 -0
- package/dist/components/p-BAMlbqpU.js +2 -0
- package/dist/components/{p-dBpTpVs8.js → p-BCwizh6U.js} +2 -2
- package/dist/components/p-BDuUY4CB.js +2 -0
- package/dist/components/{p-CooymHn6.js.map → p-BDuUY4CB.js.map} +1 -1
- package/dist/components/{p-Ww5QjB3D.js → p-BHTAR2x1.js} +2 -2
- package/dist/components/p-BJCnnn2u.js +2 -0
- package/dist/components/p-BLIeXp8k.js +2 -0
- package/dist/components/p-BOrYTTXf.js +2 -0
- package/dist/components/p-BOwhmPm8.js +2 -0
- package/dist/components/{p-4pGbxojU.js → p-BOzzNfNj.js} +2 -2
- package/dist/components/{p-BpV6GXd7.js → p-BTjay9Fy.js} +2 -2
- package/dist/components/p-BUo_O_Bt.js +2 -0
- package/dist/components/{p-C02MtoAQ.js → p-BWT1q2tN.js} +2 -2
- package/dist/components/{p-NGbZCAH9.js → p-BcEDrfmP.js} +2 -2
- package/dist/components/{p-6PsJb2Ez.js → p-BdYr9Wou.js} +2 -2
- package/dist/components/{p-CgCEK6Lc.js → p-BnJAC2Zf.js} +2 -2
- package/dist/components/{p-BfwEfI7H.js → p-Bo1NnbuT.js} +2 -2
- package/dist/components/p-Bq3C8g8G.js +2 -0
- package/dist/components/p-Bq3C8g8G.js.map +1 -0
- package/dist/components/p-Br0kWrBT.js +2 -0
- package/dist/components/p-Br0kWrBT.js.map +1 -0
- package/dist/components/{p-BEHuPmXt.js → p-Bt-mtf0k.js} +2 -2
- package/dist/components/p-Bv6ll-a-.js +2 -0
- package/dist/components/p-BvTs7KUn.js +2 -0
- package/dist/components/{p-fnKrPnzp.js → p-ByRyVRgY.js} +2 -2
- package/dist/components/{p-Bes8H54c.js → p-C77C00Ii.js} +2 -2
- package/dist/components/p-C7PxdEtX.js +2 -0
- package/dist/components/p-C7rAw-Sf.js +2 -0
- package/dist/components/p-C8r10chB.js +2 -0
- package/dist/components/{p-D5dkLuTD.js → p-CCaI37_s.js} +2 -2
- package/dist/components/{p-CrkBYYf-.js → p-CDzU4-Ri.js} +2 -2
- package/dist/components/{p-DHj4bfJ8.js → p-CE-IZkWY.js} +2 -2
- package/dist/components/{p-CFgT9iMG.js → p-CFwdTUm-.js} +2 -2
- package/dist/components/p-CIXMGKGQ.js +2 -0
- package/dist/components/{p-CCExK0R5.js → p-CKGlbozb.js} +2 -2
- package/dist/components/{p-BUa0wBSK.js → p-CLqKhHZ8.js} +2 -2
- package/dist/components/p-CN3iME9d.js +2 -0
- package/dist/components/{p-C-zr_dP8.js → p-CNEHa0dN.js} +2 -2
- package/dist/components/{p-BHcHgI_e.js → p-CTvqaqVm.js} +2 -2
- package/dist/components/p-CUmpHIzY.js +2 -0
- package/dist/components/p-CUmpHIzY.js.map +1 -0
- package/dist/components/{p-BuKk-s9A.js → p-CY71xgKe.js} +2 -2
- package/dist/components/p-CZERsWDV.js +2 -0
- package/dist/components/{p-CAgJrhiy.js.map → p-CZERsWDV.js.map} +1 -1
- package/dist/components/{p-CJEV2v84.js → p-CZIRwPwA.js} +2 -2
- package/dist/components/{p-Bpc6uh0M.js → p-CmUug44L.js} +2 -2
- package/dist/components/{p-1j2KmcfQ.js → p-CmV6S6tx.js} +2 -2
- package/dist/components/p-Cppqe_PV.js +2 -0
- package/dist/components/{p-D5WTwmc6.js.map → p-Cppqe_PV.js.map} +1 -1
- package/dist/components/{p-CoJyQegK.js → p-Cu0ProBU.js} +2 -2
- package/dist/components/{p-CL7fW_Oh.js → p-Cuq_eaHi.js} +2 -2
- package/dist/components/p-CwhGUug6.js +2 -0
- package/dist/components/{p-DIz1nEPY.js → p-D2AakJMz.js} +2 -2
- package/dist/components/p-D2dYkSrN.js +2 -0
- package/dist/components/p-D7FCA_AJ.js +2 -0
- package/dist/components/p-DA7cE1vV.js +2 -0
- package/dist/components/{p-CqMnH54Q.js → p-DAwAJIiX.js} +2 -2
- package/dist/components/{p-BiQsRsV4.js → p-DDYB8QLF.js} +2 -2
- package/dist/components/{p-BEHgXDtQ.js → p-DDtRlhit.js} +2 -2
- package/dist/components/{p-CmPHR3tf.js → p-DFPMixk-.js} +2 -2
- package/dist/components/{p-CR3Ni_o7.js → p-DG2pfnCV.js} +2 -2
- package/dist/components/{p-CtuuZV3u.js → p-DIy2lHMf.js} +2 -2
- package/dist/components/{p-xkRxEiC8.js → p-DJ-iHxJr.js} +2 -2
- package/dist/components/{p-DIhqNc1G.js → p-DPlYDxyJ.js} +2 -2
- package/dist/components/p-DUZEz-6n.js +2 -0
- package/dist/components/{p-Cv-uvD7X.js.map → p-DUZEz-6n.js.map} +1 -1
- package/dist/components/p-DXfFWsRb.js +2 -0
- package/dist/components/{p-_o_lUhve.js → p-Dk4OvZyQ.js} +2 -2
- package/dist/components/{p-BFJL6rrU.js → p-DkiBtdrU.js} +2 -2
- package/dist/components/{p-AX8gOGUr.js → p-DnvyyAaF.js} +2 -2
- package/dist/components/{p-CTdXhHGF.js → p-Dq8EU803.js} +2 -2
- package/dist/components/p-DsVjTKwJ.js +2 -0
- package/dist/components/p-DvMoIxws.js +2 -0
- package/dist/components/{p-Ud7Qhkgt.js → p-DvZK__s-.js} +2 -2
- package/dist/components/p-Dw1KwhCp.js +2 -0
- package/dist/components/p-F8qX8ZuL.js +2 -0
- package/dist/components/p-HdZxIc2m.js +2 -0
- package/dist/components/{p-D-mAUrbR.js → p-Iph4bHku.js} +2 -2
- package/dist/components/p-KtTME3nN.js +2 -0
- package/dist/components/{p-CcXqouEO.js → p-KzfbLe_L.js} +2 -2
- package/dist/components/{p-CUdZx76u.js → p-M0gzpGV-.js} +2 -2
- package/dist/components/{p-DX3KKRD9.js → p-MHAaISnU.js} +2 -2
- package/dist/components/p-O5TMvOSH.js +2 -0
- package/dist/components/{p-Dz8Bblye.js.map → p-O5TMvOSH.js.map} +1 -1
- package/dist/components/p-UNw22e3G.js +2 -0
- package/dist/components/{p-BRoShuOu.js → p-UqPFIGlg.js} +2 -2
- package/dist/components/p-UyMXVF_R.js +2 -0
- package/dist/components/p-VQuZJp8X.js +2 -0
- package/dist/components/p-WiBL-FFH.js +2 -0
- package/dist/components/p-e7wZ4-5T.js +2 -0
- package/dist/components/p-gq882NJF.js +2 -0
- package/dist/components/{p-DFXJvHuL.js → p-iQDU7l2c.js} +2 -2
- package/dist/components/p-jSrgQO7o.js +2 -0
- package/dist/components/{p-BHsrC9Oh.js.map → p-jSrgQO7o.js.map} +1 -1
- package/dist/components/{p-CPnXAdGI.js → p-l818BCpp.js} +2 -2
- package/dist/components/{p-D_uKY0yY.js → p-mgqCIR9Q.js} +2 -2
- package/dist/components/{p-BHEtq3Ue.js → p-mmAi00ak.js} +2 -2
- package/dist/components/{p-B-l1S16Z.js → p-uFR5K4vd.js} +2 -2
- package/dist/components/{p-CqXSfYre.js → p-vB-efyHR.js} +2 -2
- package/dist/components/p-w1uPMi4U.js +2 -0
- package/dist/components/{p-CqyGm3oe.js → p-ycoVDLCD.js} +2 -2
- package/dist/components/{p-BoHJT9bR.js → p-zLhQ1mMe.js} +2 -2
- package/dist/components/smoothly-app-demo.js +1 -1
- 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-standard.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 +1 -1
- package/dist/components/smoothly-color.js +1 -1
- package/dist/components/smoothly-country.js +1 -1
- package/dist/components/smoothly-date-text.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-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-frame.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 +1 -1
- 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-demo.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-radio.js +1 -1
- package/dist/components/smoothly-input-demo-standard.js +1 -1
- package/dist/components/smoothly-input-demo-user-input.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-demo.d.ts +11 -0
- package/dist/components/smoothly-notifier-demo.js +2 -0
- package/dist/components/smoothly-notifier-demo.js.map +1 -0
- 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-group.js +1 -1
- package/dist/components/smoothly-table-demo-nested-no-cell-inner.js +1 -1
- package/dist/components/smoothly-table-demo-nested-no-cell.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-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/{Notice-C6lWCoIT.js → Notice-Bq3C8g8G.js} +15 -14
- package/dist/esm/Notice-Bq3C8g8G.js.map +1 -0
- package/dist/esm/{Scrollable-B1D3P7eJ.js → Scrollable-CbMKpwBI.js} +14 -4
- package/dist/esm/Scrollable-CbMKpwBI.js.map +1 -0
- package/dist/esm/{Submittable-D4FaRzPA.js → Submittable-NFA7UIyM.js} +3 -3
- package/dist/esm/{Submittable-D4FaRzPA.js.map → Submittable-NFA7UIyM.js.map} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{smoothly-app_98.entry.js → smoothly-app_99.entry.js} +165 -152
- package/dist/esm/smoothly-app_99.entry.js.map +1 -0
- package/dist/esm/smoothly-checkbox.entry.js +2 -2
- package/dist/esm/smoothly-color.entry.js +1 -1
- package/dist/esm/smoothly-country.entry.js +1 -1
- package/dist/esm/smoothly-input-checkbox-demo.entry.js +1 -1
- package/dist/esm/smoothly-submit.entry.js +3 -3
- package/dist/esm/smoothly-trigger-sink.entry.js +2 -2
- package/dist/esm/smoothly-trigger-source.entry.js +2 -2
- package/dist/esm/smoothly.js +1 -1
- package/dist/smoothly/index.esm.js +1 -1
- package/dist/smoothly/p-17170ef1.entry.js +2 -0
- package/dist/smoothly/{p-be43737e.entry.js → p-36966f71.entry.js} +2 -2
- package/dist/smoothly/p-43e4b703.entry.js +2 -0
- package/dist/smoothly/p-43e4b703.entry.js.map +1 -0
- package/dist/smoothly/{p-7da124ca.entry.js → p-77ef4a4c.entry.js} +2 -2
- package/dist/smoothly/p-7a9308b9.entry.js +2 -0
- package/dist/smoothly/p-Bq3C8g8G.js +2 -0
- package/dist/smoothly/p-Bq3C8g8G.js.map +1 -0
- package/dist/smoothly/p-CbMKpwBI.js +2 -0
- package/dist/smoothly/p-CbMKpwBI.js.map +1 -0
- package/dist/smoothly/{p-rhMhTGHt.js → p-DZSl4MD1.js} +2 -2
- package/dist/smoothly/{p-rhMhTGHt.js.map → p-DZSl4MD1.js.map} +1 -1
- package/dist/smoothly/{p-d4dad5a8.entry.js → p-ac2162c3.entry.js} +2 -2
- package/dist/smoothly/{p-acfa35c3.entry.js → p-bd4c289b.entry.js} +2 -2
- package/dist/smoothly/{p-05059140.entry.js → p-eb434b94.entry.js} +2 -2
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/dist/types/components/notifier/demo/index.d.ts +7 -0
- package/dist/types/components.d.ts +29 -0
- package/dist/types/model/Notice.d.ts +6 -5
- package/package.json +1 -1
- package/dist/cjs/Notice-Xc7J_4o_.js.map +0 -1
- package/dist/cjs/Scrollable-BJioYHxN.js.map +0 -1
- package/dist/cjs/smoothly-app_98.cjs.entry.js.map +0 -1
- package/dist/components/p-67RlLkJb.js +0 -2
- package/dist/components/p-B0kZrKne.js +0 -2
- package/dist/components/p-B2MMqcTF.js +0 -2
- package/dist/components/p-B6sHuEsq.js +0 -2
- package/dist/components/p-BGBbdXaw.js +0 -2
- package/dist/components/p-BGzrO9CQ.js +0 -2
- package/dist/components/p-BHsrC9Oh.js +0 -2
- package/dist/components/p-BXoBluZQ.js +0 -2
- package/dist/components/p-B_z5-Hf8.js +0 -2
- package/dist/components/p-BanWK6rV.js +0 -2
- package/dist/components/p-Bn7CZqdz.js +0 -2
- package/dist/components/p-Bq5YEPPT.js +0 -2
- package/dist/components/p-BulPH2Jo.js +0 -2
- package/dist/components/p-C3FORjes.js +0 -2
- package/dist/components/p-C6T0ZB2C.js +0 -2
- package/dist/components/p-C6lWCoIT.js +0 -2
- package/dist/components/p-C6lWCoIT.js.map +0 -1
- package/dist/components/p-CAgJrhiy.js +0 -2
- package/dist/components/p-CApTrLt_.js +0 -2
- package/dist/components/p-CKlr_F9h.js +0 -2
- package/dist/components/p-COK__8-d.js +0 -2
- package/dist/components/p-CSXWpZjy.js +0 -2
- package/dist/components/p-CVNSeOlg.js +0 -2
- package/dist/components/p-CkXes5c-.js +0 -2
- package/dist/components/p-CkXes5c-.js.map +0 -1
- package/dist/components/p-CooymHn6.js +0 -2
- package/dist/components/p-CqSiLhUe.js +0 -2
- package/dist/components/p-Cv-uvD7X.js +0 -2
- package/dist/components/p-Cw_sHLuu.js +0 -2
- package/dist/components/p-D5WTwmc6.js +0 -2
- package/dist/components/p-DGa_QPb9.js +0 -2
- package/dist/components/p-DIf6-Fvg.js +0 -2
- package/dist/components/p-DLBMEh0f.js +0 -2
- package/dist/components/p-DM3PMEgb.js +0 -2
- package/dist/components/p-DM5CKilY.js +0 -2
- package/dist/components/p-DS66Mn9S.js +0 -2
- package/dist/components/p-DYNjCosy.js +0 -2
- package/dist/components/p-DiXjCPyE.js +0 -2
- package/dist/components/p-DkhX1qsg.js +0 -2
- package/dist/components/p-Dz8Bblye.js +0 -2
- package/dist/components/p-He4KDK9-.js +0 -2
- package/dist/components/p-N-UYdc5h.js +0 -2
- package/dist/components/p-Qv-IgIvL.js +0 -2
- package/dist/components/p-d26Fb7IS.js +0 -2
- package/dist/esm/Notice-C6lWCoIT.js.map +0 -1
- package/dist/esm/Scrollable-B1D3P7eJ.js.map +0 -1
- package/dist/esm/smoothly-app_98.entry.js.map +0 -1
- package/dist/smoothly/p-7d6c72eb.entry.js +0 -2
- package/dist/smoothly/p-94d091cd.entry.js +0 -2
- package/dist/smoothly/p-B1D3P7eJ.js +0 -2
- package/dist/smoothly/p-B1D3P7eJ.js.map +0 -1
- package/dist/smoothly/p-C6lWCoIT.js +0 -2
- package/dist/smoothly/p-C6lWCoIT.js.map +0 -1
- package/dist/smoothly/p-b7ac3c88.entry.js +0 -2
- package/dist/smoothly/p-b7ac3c88.entry.js.map +0 -1
- /package/dist/components/{p-C2xjUTYO.js.map → p-5Z_db2DH.js.map} +0 -0
- /package/dist/components/{p-nFLcvugJ.js.map → p-5ac0hPYS.js.map} +0 -0
- /package/dist/components/{p-NFd9Dxr1.js.map → p-5l1ov6SU.js.map} +0 -0
- /package/dist/components/{p-COK__8-d.js.map → p-7UXKt7wZ.js.map} +0 -0
- /package/dist/components/{p-CrKwvG9J.js.map → p-B-jhX7aN.js.map} +0 -0
- /package/dist/components/{p-Qv-IgIvL.js.map → p-B37ZIkLI.js.map} +0 -0
- /package/dist/components/{p-B0kZrKne.js.map → p-B8I-Yh5P.js.map} +0 -0
- /package/dist/components/{p-Bq5YEPPT.js.map → p-BAMlbqpU.js.map} +0 -0
- /package/dist/components/{p-dBpTpVs8.js.map → p-BCwizh6U.js.map} +0 -0
- /package/dist/components/{p-Ww5QjB3D.js.map → p-BHTAR2x1.js.map} +0 -0
- /package/dist/components/{p-BXoBluZQ.js.map → p-BJCnnn2u.js.map} +0 -0
- /package/dist/components/{p-BanWK6rV.js.map → p-BLIeXp8k.js.map} +0 -0
- /package/dist/components/{p-DM3PMEgb.js.map → p-BOrYTTXf.js.map} +0 -0
- /package/dist/components/{p-DLBMEh0f.js.map → p-BOwhmPm8.js.map} +0 -0
- /package/dist/components/{p-4pGbxojU.js.map → p-BOzzNfNj.js.map} +0 -0
- /package/dist/components/{p-BpV6GXd7.js.map → p-BTjay9Fy.js.map} +0 -0
- /package/dist/components/{p-B_z5-Hf8.js.map → p-BUo_O_Bt.js.map} +0 -0
- /package/dist/components/{p-C02MtoAQ.js.map → p-BWT1q2tN.js.map} +0 -0
- /package/dist/components/{p-NGbZCAH9.js.map → p-BcEDrfmP.js.map} +0 -0
- /package/dist/components/{p-6PsJb2Ez.js.map → p-BdYr9Wou.js.map} +0 -0
- /package/dist/components/{p-CgCEK6Lc.js.map → p-BnJAC2Zf.js.map} +0 -0
- /package/dist/components/{p-BfwEfI7H.js.map → p-Bo1NnbuT.js.map} +0 -0
- /package/dist/components/{p-BEHuPmXt.js.map → p-Bt-mtf0k.js.map} +0 -0
- /package/dist/components/{p-CApTrLt_.js.map → p-Bv6ll-a-.js.map} +0 -0
- /package/dist/components/{p-B2MMqcTF.js.map → p-BvTs7KUn.js.map} +0 -0
- /package/dist/components/{p-fnKrPnzp.js.map → p-ByRyVRgY.js.map} +0 -0
- /package/dist/components/{p-Bes8H54c.js.map → p-C77C00Ii.js.map} +0 -0
- /package/dist/components/{p-BulPH2Jo.js.map → p-C7PxdEtX.js.map} +0 -0
- /package/dist/components/{p-DS66Mn9S.js.map → p-C7rAw-Sf.js.map} +0 -0
- /package/dist/components/{p-d26Fb7IS.js.map → p-C8r10chB.js.map} +0 -0
- /package/dist/components/{p-D5dkLuTD.js.map → p-CCaI37_s.js.map} +0 -0
- /package/dist/components/{p-CrkBYYf-.js.map → p-CDzU4-Ri.js.map} +0 -0
- /package/dist/components/{p-DHj4bfJ8.js.map → p-CE-IZkWY.js.map} +0 -0
- /package/dist/components/{p-CFgT9iMG.js.map → p-CFwdTUm-.js.map} +0 -0
- /package/dist/components/{p-Cw_sHLuu.js.map → p-CIXMGKGQ.js.map} +0 -0
- /package/dist/components/{p-CCExK0R5.js.map → p-CKGlbozb.js.map} +0 -0
- /package/dist/components/{p-BUa0wBSK.js.map → p-CLqKhHZ8.js.map} +0 -0
- /package/dist/components/{p-DM5CKilY.js.map → p-CN3iME9d.js.map} +0 -0
- /package/dist/components/{p-C-zr_dP8.js.map → p-CNEHa0dN.js.map} +0 -0
- /package/dist/components/{p-BHcHgI_e.js.map → p-CTvqaqVm.js.map} +0 -0
- /package/dist/components/{p-BuKk-s9A.js.map → p-CY71xgKe.js.map} +0 -0
- /package/dist/components/{p-CJEV2v84.js.map → p-CZIRwPwA.js.map} +0 -0
- /package/dist/components/{p-Bpc6uh0M.js.map → p-CmUug44L.js.map} +0 -0
- /package/dist/components/{p-1j2KmcfQ.js.map → p-CmV6S6tx.js.map} +0 -0
- /package/dist/components/{p-CoJyQegK.js.map → p-Cu0ProBU.js.map} +0 -0
- /package/dist/components/{p-CL7fW_Oh.js.map → p-Cuq_eaHi.js.map} +0 -0
- /package/dist/components/{p-CSXWpZjy.js.map → p-CwhGUug6.js.map} +0 -0
- /package/dist/components/{p-DIz1nEPY.js.map → p-D2AakJMz.js.map} +0 -0
- /package/dist/components/{p-CVNSeOlg.js.map → p-D2dYkSrN.js.map} +0 -0
- /package/dist/components/{p-DiXjCPyE.js.map → p-D7FCA_AJ.js.map} +0 -0
- /package/dist/components/{p-67RlLkJb.js.map → p-DA7cE1vV.js.map} +0 -0
- /package/dist/components/{p-CqMnH54Q.js.map → p-DAwAJIiX.js.map} +0 -0
- /package/dist/components/{p-BiQsRsV4.js.map → p-DDYB8QLF.js.map} +0 -0
- /package/dist/components/{p-BEHgXDtQ.js.map → p-DDtRlhit.js.map} +0 -0
- /package/dist/components/{p-CmPHR3tf.js.map → p-DFPMixk-.js.map} +0 -0
- /package/dist/components/{p-CR3Ni_o7.js.map → p-DG2pfnCV.js.map} +0 -0
- /package/dist/components/{p-CtuuZV3u.js.map → p-DIy2lHMf.js.map} +0 -0
- /package/dist/components/{p-xkRxEiC8.js.map → p-DJ-iHxJr.js.map} +0 -0
- /package/dist/components/{p-DIhqNc1G.js.map → p-DPlYDxyJ.js.map} +0 -0
- /package/dist/components/{p-B6sHuEsq.js.map → p-DXfFWsRb.js.map} +0 -0
- /package/dist/components/{p-_o_lUhve.js.map → p-Dk4OvZyQ.js.map} +0 -0
- /package/dist/components/{p-BFJL6rrU.js.map → p-DkiBtdrU.js.map} +0 -0
- /package/dist/components/{p-AX8gOGUr.js.map → p-DnvyyAaF.js.map} +0 -0
- /package/dist/components/{p-CTdXhHGF.js.map → p-Dq8EU803.js.map} +0 -0
- /package/dist/components/{p-C6T0ZB2C.js.map → p-DsVjTKwJ.js.map} +0 -0
- /package/dist/components/{p-BGBbdXaw.js.map → p-DvMoIxws.js.map} +0 -0
- /package/dist/components/{p-Ud7Qhkgt.js.map → p-DvZK__s-.js.map} +0 -0
- /package/dist/components/{p-DYNjCosy.js.map → p-Dw1KwhCp.js.map} +0 -0
- /package/dist/components/{p-C3FORjes.js.map → p-F8qX8ZuL.js.map} +0 -0
- /package/dist/components/{p-CqSiLhUe.js.map → p-HdZxIc2m.js.map} +0 -0
- /package/dist/components/{p-D-mAUrbR.js.map → p-Iph4bHku.js.map} +0 -0
- /package/dist/components/{p-CKlr_F9h.js.map → p-KtTME3nN.js.map} +0 -0
- /package/dist/components/{p-CcXqouEO.js.map → p-KzfbLe_L.js.map} +0 -0
- /package/dist/components/{p-CUdZx76u.js.map → p-M0gzpGV-.js.map} +0 -0
- /package/dist/components/{p-DX3KKRD9.js.map → p-MHAaISnU.js.map} +0 -0
- /package/dist/components/{p-Bn7CZqdz.js.map → p-UNw22e3G.js.map} +0 -0
- /package/dist/components/{p-BRoShuOu.js.map → p-UqPFIGlg.js.map} +0 -0
- /package/dist/components/{p-DGa_QPb9.js.map → p-UyMXVF_R.js.map} +0 -0
- /package/dist/components/{p-DkhX1qsg.js.map → p-VQuZJp8X.js.map} +0 -0
- /package/dist/components/{p-N-UYdc5h.js.map → p-WiBL-FFH.js.map} +0 -0
- /package/dist/components/{p-He4KDK9-.js.map → p-e7wZ4-5T.js.map} +0 -0
- /package/dist/components/{p-DIf6-Fvg.js.map → p-gq882NJF.js.map} +0 -0
- /package/dist/components/{p-DFXJvHuL.js.map → p-iQDU7l2c.js.map} +0 -0
- /package/dist/components/{p-CPnXAdGI.js.map → p-l818BCpp.js.map} +0 -0
- /package/dist/components/{p-D_uKY0yY.js.map → p-mgqCIR9Q.js.map} +0 -0
- /package/dist/components/{p-BHEtq3Ue.js.map → p-mmAi00ak.js.map} +0 -0
- /package/dist/components/{p-B-l1S16Z.js.map → p-uFR5K4vd.js.map} +0 -0
- /package/dist/components/{p-CqXSfYre.js.map → p-vB-efyHR.js.map} +0 -0
- /package/dist/components/{p-BGzrO9CQ.js.map → p-w1uPMi4U.js.map} +0 -0
- /package/dist/components/{p-CqyGm3oe.js.map → p-ycoVDLCD.js.map} +0 -0
- /package/dist/components/{p-BoHJT9bR.js.map → p-zLhQ1mMe.js.map} +0 -0
- /package/dist/smoothly/{p-7d6c72eb.entry.js.map → p-17170ef1.entry.js.map} +0 -0
- /package/dist/smoothly/{p-be43737e.entry.js.map → p-36966f71.entry.js.map} +0 -0
- /package/dist/smoothly/{p-7da124ca.entry.js.map → p-77ef4a4c.entry.js.map} +0 -0
- /package/dist/smoothly/{p-94d091cd.entry.js.map → p-7a9308b9.entry.js.map} +0 -0
- /package/dist/smoothly/{p-d4dad5a8.entry.js.map → p-ac2162c3.entry.js.map} +0 -0
- /package/dist/smoothly/{p-acfa35c3.entry.js.map → p-bd4c289b.entry.js.map} +0 -0
- /package/dist/smoothly/{p-05059140.entry.js.map → p-eb434b94.entry.js.map} +0 -0
|
@@ -7,25 +7,25 @@ export class SmoothlyIconDemo {
|
|
|
7
7
|
this.props = {};
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: 'ec049b1d4b3d93e28913174bd7ab55ce836298ae' }, h("h2", { key: 'd0430155840916db4250402c39e5ee2656dc9930' }, "Filter and Variants"), h("smoothly-form", { key: '4c6f1ffa07fed10ba6051ab4d5f29c1278608b23', looks: "grid", onSmoothlyFormInput: e => (this.display = e.detail) }, h("smoothly-input", { key: 'bea5be3b9c5f839da1fe6efd6497b4fa7c946e77', name: "filter" }, "Filter"), h("smoothly-input-select", { key: 'a64ee5957e34d669c481b77ba0f561ba5eebfa55', name: "variant" }, h("span", { key: '80df7e185a498c1c33cfe1c3fde85f955d46f256', slot: "label" }, "Variant"), h("smoothly-item", { key: 'd6447afb06c4471f9b3036838da77182161ebaf1', value: "outline" }, "outline"), h("smoothly-item", { key: '6622d9acf5549f05128632e386cafcabd4e5df0d', value: "sharp" }, "sharp"), h("smoothly-input-clear", { key: '1a94b3d1d195c77716a7a9e92303bab3dffcf8b0', slot: "end" }))), h("h2", { key: '1320b7b476f6451885fa32dcb0daed671d269612' }, "Props"), h("smoothly-form", { key: '1bc3722b6b25c57352ff7bc1df1571a3df824611', looks: "grid", onSmoothlyFormInput: e => {
|
|
11
11
|
this.props = e.detail;
|
|
12
12
|
console.log("props", this.props);
|
|
13
|
-
} }, h("smoothly-input-select", { key: '
|
|
13
|
+
} }, h("smoothly-input-select", { key: '8b065ccb0feb16a805a20ee13eab053d0cd8edfe', name: "color" }, h("span", { key: '3ed5be41ac0893b18741356a70c7653c862579a0', slot: "label" }, "Color"), Color.values.map(color => (h("smoothly-item", { value: color }, h("span", { style: {
|
|
14
14
|
background: `rgb(var(--smoothly-${color}-color))`,
|
|
15
15
|
"margin-right": "0.5rem",
|
|
16
16
|
width: "2.5rem",
|
|
17
17
|
height: "2.5rem",
|
|
18
|
-
} }), h("span", null, color)))), h("smoothly-input-clear", { key: '
|
|
18
|
+
} }), h("span", null, color)))), h("smoothly-input-clear", { key: '50b90280c6f0600a073b8b8a254fb035f1aefec0', slot: "end" })), h("smoothly-input-select", { key: 'efda773381d8cb5d491e591b731cea17b406a005', name: "fill" }, h("span", { key: '396dbb906c3b52b53732b062f5ce8ebe70ce85b6', slot: "label" }, "Fill"), Fill.values.map(fill => (h("smoothly-item", { value: fill }, fill))), h("smoothly-input-clear", { key: '44cc4c40f24ad5c978e423496ea30a3068f862a1', slot: "end" })), h("smoothly-input-select", { key: 'd3aaee102be617722fc42dcd47139fe0d2c7284c', name: "customColor", menuHeight: "12items", ordered: true }, h("span", { key: 'dc450c6debc6be202b40628ef77196159e45a082', slot: "label" }, "Custom Color"), Color.values.flatMap(c => (h(Fragment, null, ["tint", "color", "shade", "contrast"].map(v => (h("smoothly-item", { value: `--smoothly-${c}-${v}` }, h("span", { style: {
|
|
19
19
|
background: `rgb(var(--smoothly-${c}-${v}))`,
|
|
20
20
|
"margin-right": "0.5rem",
|
|
21
21
|
width: "2.5rem",
|
|
22
22
|
height: "2.5rem",
|
|
23
|
-
} }), h("span", null, `rgb(var(--smoothly-${c}-${v}))`)))))))), h("smoothly-input-select", { key: '
|
|
23
|
+
} }), h("span", null, `rgb(var(--smoothly-${c}-${v}))`)))))))), h("smoothly-input-select", { key: 'a68b41f9a46917cb1b46e9ada61d05c280f92ff0', name: "customBackground", menuHeight: "12items", ordered: true }, h("span", { key: 'f094c91bdb64df81fd5fc49945b2760c214c37ed', slot: "label" }, "Custom Background"), Color.values.flatMap(c => (h(Fragment, null, ["tint", "color", "shade", "contrast"].map(v => (h("smoothly-item", { value: `--smoothly-${c}-${v}` }, h("span", { style: {
|
|
24
24
|
background: `rgb(var(--smoothly-${c}-${v}))`,
|
|
25
25
|
"margin-right": "0.5rem",
|
|
26
26
|
width: "2.5rem",
|
|
27
27
|
height: "2.5rem",
|
|
28
|
-
} }), h("span", null, `rgb(var(--smoothly-${c}-${v}))`)))))))), h("smoothly-input-select", { key: '
|
|
28
|
+
} }), h("span", null, `rgb(var(--smoothly-${c}-${v}))`)))))))), h("smoothly-input-select", { key: '676477dc9f358f3512f0fb0f60a99a1deb3fa400', name: "flip" }, h("span", { key: '7e7924009ac080ccd225052351d0c70079990b6f', slot: "label" }, "Flip"), h("smoothly-item", { key: '70d21d485c90d881422d4c577fa04f101e0dae13', value: "x" }, "x"), h("smoothly-item", { key: '7e57ce51632ddd1dbf5fed24f109599de216eb3e', value: "y" }, "y"), h("smoothly-input-clear", { key: '0ea9f343784f533ebab4bc8d0b0879deb5e75156', slot: "end" })), h("smoothly-input-select", { key: '67e1d6b7b5e040e5284d0f5984c60a9f57a1d47f', name: "size" }, h("span", { key: 'e89ec731e273bd86c43d8993c78dbdcb1e052280', slot: "label" }, "Size"), h("smoothly-item", { key: '06201d3e144034f8984f48a064ea7d01dbdc3a7f', value: "tiny" }, "tiny"), h("smoothly-item", { key: '5f996913a822077f1fd66371819d528b0f67dc7f', value: "small" }, "small"), h("smoothly-item", { key: '1aa1eff32b61221555b6356cbe658fb2591a6678', value: "medium" }, "medium"), h("smoothly-item", { key: '1d18ac8a2bbcc4f16cd19263aa16d2d714582f27', value: "large" }, "large"), h("smoothly-item", { key: 'a0dd2fc34393ef5fc1ed89f1b000d3a3482a2324', value: "xlarge" }, "xlarge"), h("smoothly-input-clear", { key: '1cde73483d40576d71b1994ea7a4a18a0df791dc', slot: "end" })), h("smoothly-input-range", { key: 'c57e682c8ad984279d9b4d4eef60a6c076b3014b', name: "rotate", step: 1, min: -180, max: 180, value: 0 }, "Rotate", h("smoothly-input-clear", { key: '485dc43539bb93a6bdd58ab1ba10ac5ee64abb80', slot: "end" }))), h("h1", { key: 'cef7183437984cc0d8df4765a5afd62790e07881' }, "Icons"), h("div", { key: '332d4c1168cda7307f00eef4106494860ed0a491', class: "icons" }, [
|
|
29
29
|
...Icon.Name.values
|
|
30
30
|
.filter(name => !this.display.filter || name.includes(this.display.filter))
|
|
31
31
|
.map((name) => (this.display.variant ? `${name}-${this.display.variant}` : name)),
|
|
@@ -43,7 +43,7 @@ export class SmoothlyIcon {
|
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
45
|
var _a;
|
|
46
|
-
return h(Host, { key: '
|
|
46
|
+
return h(Host, { key: '0a19bf819d57a94f13fc8c2fbc885aebb0bf7a24', title: this.tooltip, style: { ["--rotation"]: `${(_a = this.rotate) !== null && _a !== void 0 ? _a : 0}deg` } });
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "smoothly-icon"; }
|
|
49
49
|
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: 'b87b050eb78e63350fdef9978b8ab3f6f75f90ba' }, h("h2", { key: 'b59d7d2132935b59925b3d486334adaa57d34111' }, "All inputs"), h("smoothly-form", { key: '2cf49373621aa3b4952816aa554835ab9a1dc75a', looks: "grid", readonly: true, action: "https://api.toiletapi.com/6b12fd2f-e896-46f9-b38f-25cf42cee4b4" }, h("smoothly-input", { key: '342a601528a1e72db8a79995d906d2f2d8ebd85d', readonly: true, name: "First Name", value: "John" }, "First name"), h("smoothly-input", { key: '6ffb6868dc9fb8b91a535712012a2f1c12137afc', name: "Last name", value: "Doe" }, "Last name", h("smoothly-input-clear", { key: 'a61b4f80fa1a58b159870fcf6c3633ced18634ae', size: "icon", slot: "end" })), h("smoothly-input", { key: '774574e34066312584d662925f47ca07809e4e78', type: "phone", name: "Phone", value: "777888999" }, "Phone", h("smoothly-input-reset", { key: 'b60d029086821dc8b5e754776c5e62233e5cc3b8', size: "icon", slot: "end" })), h("smoothly-input-radio", { key: '3c9969ce5448170cc919b40944981f5ad43edd7e', clearable: true, name: "radioFirstInput" }, h("p", { key: 'd8410427e1341ff530ecb7dee9823c21852fa3a7', slot: "label" }, "Clearable"), h("smoothly-input-radio-item", { key: '61c64bbe7250b4eb4290bd2c75caf62528c355c1', slot: "options", value: "first" }, "Label 1"), h("smoothly-input-radio-item", { key: '44bbffb4103eb379652bbf436761458a14a7175f', selected: true, slot: "options", value: "second" }, "Label 2"), h("smoothly-input-radio-item", { key: 'c5dcb3b19adec142097e43ed1b10f80984477c49', slot: "options", value: "third" }, "Label 3")), h("smoothly-input-color", { key: 'e1cc8f36aa4dd9c84750797073c5d8ed0f2bad10', name: "color", value: "#479f56", output: "rgb" }, "Color"), h("smoothly-input-select", { key: '9543a9f9cc6ac7402415825a9872ec37d3048b3e', menuHeight: "7.5items", placeholder: "Select...", multiple: true, name: "select-month" }, h("label", { key: '41cbb2fab7585029ee91ea45d2b1d2f360a6a732', slot: "label" }, "Month"), h("smoothly-item", { key: '498d55992f8539e09c3862c0a147c271a645038d', value: "1" }, "January"), h("smoothly-item", { key: '1609ea60cb94e9ef195f4a18c61465c5319fb44d', value: "2" }, "February"), h("smoothly-item", { key: '1312da1f050e2e4ffde8c4b13dce23cb22711a2d', value: "3" }, "March"), h("smoothly-item", { key: 'ada60354212087fc55fb81939f831d6551d6ef7d', value: "4" }, "April"), h("smoothly-item", { key: '00da4e1699a9e1fc127a6f48ea7f440b0e3199da', value: "5" }, "May"), h("smoothly-item", { key: '93c3f12dd68334918a5f6a96b37506b548bba081', value: "6" }, "June"), h("smoothly-item", { key: '16c5a1d2d4a76312933e4c75312e29bbc4e77bc2', value: "7" }, "July"), h("smoothly-item", { key: 'fd8b80bb3b8e643f533543ea16041aed0e36a304', value: "8" }, "August"), h("smoothly-item", { key: '5f85430c08aa753b36b31f9de1a7a1d7d8d793e6', value: "9" }, "September"), h("smoothly-item", { key: '1c9447ee0e21fc37b625c4a2c9699659a6a03d80', value: "10" }, "October"), h("smoothly-item", { key: '648214d00c82a87a5403650e289dfc16470417d5', value: "11" }, "November"), h("smoothly-item", { key: '9b680e645e7589c8a8ece5f7fe951d3e818b04d2', value: "12" }, "December"), h("smoothly-input-clear", { key: '2cc62e638bd2037f1ff2f841c070840763b4ad32', size: "icon", slot: "end" })), h("smoothly-input-select", { key: '958f4e3773a9002b8b531defd76b69723abd8f3f', name: "select-icon", clearable: false, showSelected: false }, h("smoothly-item", { key: '962f4103e460087672484eb3f88045027d32a130', value: "folder", selected: true }, h("smoothly-icon", { key: '6345e8422873c99e0dbab80025984b73aa4bbf68', size: "small", name: "folder-outline" })), h("smoothly-item", { key: '848077e1177766f84d6c7d59d9ffec16792631d4', value: "camera" }, h("smoothly-icon", { key: 'd2c00f76124a9b7be6fc25fb9c07b4de189af3da', size: "small", name: "camera-outline" }))), h("smoothly-input-checkbox", { key: '66a99e5d40cc59d07b203c88596def4a04f80616', name: "checkbox" }, "Check the box"), h("smoothly-input-checkbox", { key: 'a1c6b415241594b64b0faf73f363d16f78124cd9', name: "checkbox2", checked: true }, "Check the box 2"), h("smoothly-input-date-range", { key: '100e28190aaddd73697716b92ec4fb9ad8dd4924', start: isoly.Date.now(), end: isoly.Date.now() }), h("smoothly-input-date", { key: 'ed20d251ffc8bc5a1ddf527da2b2995b9e3bd4bf', name: "date" }, "Date", h("smoothly-input-clear", { key: '92228279c6a86738a4674bd44288a524b83e6307', slot: "end" })), h("smoothly-input-range", { key: 'e4fe8940464d23127d57edcfc79a3f808122107a', step: 1, name: "range3", value: 20000 }, "Select"), h("smoothly-input", { key: '62f3734c6b281d314d585eba4667860ed93860d3', name: "pets.0.name" }, "First Pet's Name"), h("smoothly-input-range", { key: '67a043f52e277658892f34af93b8ab2d50451dd9', name: "pets.0.age", max: 100, step: 1 }, "First Pet's Age"), h("smoothly-input", { key: '133126812e7dbae7f1491640dab148f4feb1c561', name: "pets.1.name" }, "Second Pet's Name"), h("smoothly-input-range", { key: '24cde6c2ea0b981781248e2bd4bad76612bde4ae', name: "pets.1.age", max: 100, step: 1 }, "Second Pet's Age"), h("smoothly-input", { key: 'b3da2cca79cf80972d6d2eb2370c46bcfe75a7ed', name: "pets.2.name" }, "Third Pet's Name"), h("smoothly-input-range", { key: '352432da59dfba1eac043d8b150b2740faf38384', name: "pets.2.age", max: 100, step: 1 }, "Third Pet's Age"), h("smoothly-input-file", { key: 'f711a241f53cfb5803979dc19c0421aa5b4b9936', name: "profile", placeholder: "Click or drag your profile picture here..." }, h("span", { key: '9f0ab930a4b1159d0373f9e33490c54dc070f71f', slot: "label" }, "Profile"), h("smoothly-icon", { key: '114f04898200155379a21c30fd6fe0bc9fac29c1', slot: "button", name: "person-circle-outline", size: "tiny", fill: "default" })), h("smoothly-input-clear", { key: 'e13dfab8e36f03e1862a73ad36e7a16e2f55cd00', fill: "default", type: "form", color: "warning", slot: "clear", size: "icon", shape: "rounded" }), h("smoothly-input-edit", { key: '667402ebc3bdfef1b6cd11be423cd95259d096b9', fill: "default", type: "form", color: "tertiary", slot: "edit", size: "icon", shape: "rounded" }), h("smoothly-input-reset", { key: '8bf6222df1f9e450a44c28eba57774ab0b00aa43', fill: "default", type: "form", color: "warning", slot: "reset", size: "icon", shape: "rounded" }), h("smoothly-input-submit", { key: '3d628aed8faa2698a051915c01a6487b59ffa28c', delete: true, slot: "delete", color: "danger", size: "icon", shape: "rounded" }), h("smoothly-input-submit", { key: 'f82e58a33a25824d8ff34103072d404f4b4b98fb', 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"; }
|
|
@@ -64,10 +64,10 @@ export class SmoothlyInputCheckbox {
|
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
render() {
|
|
67
|
-
return (h(Host, { key: '
|
|
67
|
+
return (h(Host, { key: '6c5e8fd09ac7c64be72d541cdeee747c84495a6f' }, h("input", { key: '241ef4d9acc46562323db12313f6ca0a3fea5f0f', type: "checkbox", id: this.id, checked: this.checked, disabled: this.disabled || this.readonly, onChange: async (e) => {
|
|
68
68
|
this.checked = e.target.checked;
|
|
69
69
|
this.smoothlyUserInput.emit({ name: this.name, value: await this.getValue() });
|
|
70
|
-
} }), this.checked && h("smoothly-icon", { key: '
|
|
70
|
+
} }), this.checked && h("smoothly-icon", { key: 'a0909dfe8369e31bf4873a2ab05f21880c3f43fe', name: "checkmark-sharp", size: "tiny" }), h("label", { key: 'c3628052b38e4dfbdffefa92d428a04662726f65', htmlFor: this.id }, h("slot", { key: 'bfdbbb43537661b026600d2cb3af9c244d2ae5b3' })), h("span", { key: '4033bb43f9ead47f2f9f7eb6943e4199c7260766', class: "smoothly-checkbox-end-slot" }, h("slot", { key: 'e8985be231a6f80d71d85e1b665705458fb187f2', name: "end" }))));
|
|
71
71
|
}
|
|
72
72
|
static get is() { return "smoothly-input-checkbox"; }
|
|
73
73
|
static get encapsulation() { return "scoped"; }
|
|
@@ -42,7 +42,7 @@ export class SmoothlyInputClear {
|
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
44
|
var _a;
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: 'f1f8c9c1065466cf60851197c73cb3e801593472', title: this.tooltip }, h("smoothly-button", { key: '2166cd37b5a0e93cba98b17657f4bf33e503814e', 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: '427e397efd7fc89e2e6ba34f1703cd249b8b07cf' }), h("smoothly-icon", { key: '3c16b4541b7d1493213d3dfc93adf32aec831869', name: "close", size: "tiny" }))));
|
|
46
46
|
}
|
|
47
47
|
static get is() { return "smoothly-input-clear"; }
|
|
48
48
|
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: '7b11b0f228e5e8655a3db81717e614354b9fbdc0' }, h("h2", { key: '41e22ff3427c56b0e5b5b5c837215ce3c8e3667b' }, "Color"), h("smoothly-input-color", { key: '778d1355985c37f4b8b193b65d0a534c640c5c1c', name: "color" }, "Choose color")));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-input-color-demo"; }
|
|
7
7
|
static get styles() { return "style.css"; }
|
|
@@ -146,7 +146,7 @@ export class SmoothlyInputColor {
|
|
|
146
146
|
}
|
|
147
147
|
render() {
|
|
148
148
|
var _a, _b, _c, _d, _e, _f;
|
|
149
|
-
return (h(Host, { key: '
|
|
149
|
+
return (h(Host, { key: '606897dcf8880a8bceaf646a17b0b682dc0de4fe', style: {
|
|
150
150
|
"--hexCode": this.value,
|
|
151
151
|
"--rgb-r": `${Math.round((_a = this.rgb.r) !== null && _a !== void 0 ? _a : 0)}`,
|
|
152
152
|
"--rgb-g": `${Math.round((_b = this.rgb.g) !== null && _b !== void 0 ? _b : 0)}`,
|
|
@@ -155,7 +155,7 @@ export class SmoothlyInputColor {
|
|
|
155
155
|
"--hsl-s": `${Math.round((_e = this.hsl.s) !== null && _e !== void 0 ? _e : 0)}%`,
|
|
156
156
|
"--hsl-l": `${Math.round((_f = this.hsl.l) !== null && _f !== void 0 ? _f : 0)}%`,
|
|
157
157
|
"--element-height": `${this.element.clientHeight}px`,
|
|
158
|
-
} }, h("smoothly-input", { key: '
|
|
158
|
+
} }, h("smoothly-input", { key: '3a8211dcd537f07359729f79b88c33ffa8dd26e6', value: this.value, color: this.color, looks: undefined, name: this.name, type: "hex-color", readonly: this.readonly, disabled: this.disabled, showLabel: this.showLabel, onSmoothlyInput: event => (event === null || event === void 0 ? void 0 : event.stopPropagation(), this.hexInputHandler(event.detail[this.name])) }, h("slot", { key: '932e1fee6e31f8942841ae068404f674d20c6d75' })), h("div", { key: '55de847010bfc30641a1b4814fc7d4ea1beb8b63', class: "color-sample" }), h("smoothly-icon", { key: '7e69d59ceb71c617d93205b6ada24bc0a0b6d3fe', color: this.color, name: "options-outline", size: "small", onClick: () => !this.readonly && !this.disabled && this.openDropdown() }), h("div", { key: '38771b0daff4bda14ecb821f7ec0725ef575f50c' }, h("slot", { key: 'b005802e73faf84b2772e7bf28163963abe619ca', name: "end" })), this.open && !this.readonly && !this.disabled && (h("div", { key: 'ed68b37bbbe25ccb1cfe00167b21b49fdcad5326', class: "rgb-sliders" }, h("smoothly-toggle-switch", { key: 'a3643b4c099fb94dfc57b8c2658bde1711aa0c5d', 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), onSmoothlyUserInput: event => event.stopPropagation(), 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), onSmoothlyUserInput: event => event.stopPropagation(), label: key.toUpperCase() })))))));
|
|
159
159
|
}
|
|
160
160
|
static get is() { return "smoothly-input-color"; }
|
|
161
161
|
static get encapsulation() { return "scoped"; }
|
|
@@ -108,7 +108,7 @@ export class SmoothlyInputDate {
|
|
|
108
108
|
event.stopPropagation();
|
|
109
109
|
}
|
|
110
110
|
render() {
|
|
111
|
-
return (h(Host, { key: '
|
|
111
|
+
return (h(Host, { key: 'd610c101e778aa42a9369aa03f1caf8e14b8b5c8', tabindex: this.disabled ? undefined : 0, class: { "has-value": !!this.value, "has-text": this.hasText, "floating-label": this.alwaysShowGuide }, onClick: (e) => this.onClick(e) }, h("slot", { key: '44cfdeb10640f183b8d5aee0a40630dc6d3e994e', name: "start" }), h("label", { key: 'd7b5fdb309c4cbe5ca865169953f50e57bae8d4d', class: "label float-on-focus" }, h("slot", { key: '7230b56a3bdbb7a83a8c45800f056734b01bcb90' })), this.placeholder && h("span", { key: '4a0606f9f3d1bf1610393006ee6238b386b56655', class: "smoothly-date-placeholder" }, this.placeholder), h("smoothly-date-text", { key: '19e00959912e9a0ba57bb0989d86a54fbd06006d', ref: el => (this.dateTextElement = el), locale: this.locale, readonly: this.readonly, disabled: this.disabled, showLabel: this.showLabel, value: this.value, onSmoothlyDateTextHasText: e => (e.stopPropagation(), (this.hasText = e.detail)), onSmoothlyDateTextFocusChange: e => (e.stopPropagation(), (this.hasFocus = e.detail)), onSmoothlyDateHasPartialDate: e => { var _a; return (e.stopPropagation(), (_a = this.calendarElement) === null || _a === void 0 ? void 0 : _a.jumpTo(e.detail)); }, onSmoothlyDateTextChange: e => (e.stopPropagation(), this.onUserChangedValue(e)), onSmoothlyDateTextDone: e => { var _a; return (e.stopPropagation(), (this.open = false), (_a = this.dateTextElement) === null || _a === void 0 ? void 0 : _a.deselect()); } }), h("span", { key: '2f7b6396f29e43ff06f86749b20358fd9067def3', class: "smoothly-icons", ref: el => (this.iconsElement = el) }, h("smoothly-icon", { key: '384b7d43cebf3f16a8f14687acd424bcd790a55a', class: "smoothly-invalid", name: "alert-circle", size: "small", tooltip: this.errorMessage }), h("slot", { key: '445ed1618b342123b180cecc999a2899176095c6', name: "end" })), this.open && !this.readonly && (h("smoothly-calendar", { key: '6345ea59f7dc66a47dcb0b33b01f15b9a3c7720d', ref: el => (this.calendarElement = el), doubleInput: false, value: this.value, onSmoothlyDateSet: e => (e.stopPropagation(), this.onUserChangedValue(e)), max: this.max, min: this.min }, h("div", { key: '6a2d605946629fafeb1a951aa4ce923d5c3cca53', slot: "year-label" }, h("slot", { key: '7352785fb90f97fe59dcc2662e81c12ae3544e70', name: "year-label" })), h("div", { key: '9433f633d73a13a3638df8374cc807e7adfe11d0', slot: "month-label" }, h("slot", { key: '2f9176a79690a41028a1633e5bb6b4bd9c464722', name: "month-label" }))))));
|
|
112
112
|
}
|
|
113
113
|
static get is() { return "smoothly-input-date"; }
|
|
114
114
|
static get encapsulation() { return "scoped"; }
|
|
@@ -123,15 +123,15 @@ export class SmoothlyInputDateRange {
|
|
|
123
123
|
this.smoothlyInput.emit({ [this.name]: undefined });
|
|
124
124
|
}
|
|
125
125
|
render() {
|
|
126
|
-
return (h(Host, { key: '
|
|
126
|
+
return (h(Host, { key: '4aafb51483d57234d6f42a6252a45078a5cc4054', tabindex: this.disabled ? undefined : 0, class: {
|
|
127
127
|
"has-value": !!(this.start || this.end),
|
|
128
128
|
"has-text": !!(this.startHasText || this.endHasText),
|
|
129
129
|
"floating-label": this.alwaysShowGuide,
|
|
130
|
-
} }, h("span", { key: '
|
|
130
|
+
} }, h("span", { key: '5516903b15400ea4dd7dba463dd173ef48ca03df', class: "smoothly-date-range-input-part", onClick: (e) => this.onClick(e) }, h("slot", { key: '273d0fdad0534db6f46e3c37005ab0649edd8abc', name: "start" }), h("label", { key: '67fd396fd707428cf9413a5b8bd6501485874e64', class: "label float-on-focus" }, h("slot", { key: '67a092adcbb0abf829ffb68b48e2e37cc6dbc5ed' })), this.placeholder && h("span", { key: '54ed8804af377cdde573d7d148d62544adae5eb8', class: "smoothly-date-range-placeholder" }, this.placeholder), h("smoothly-date-text", { key: '3144566fd5983266e70637449965c0ca981962b8', ref: el => (this.startTextElement = el), class: "start-date-text", locale: this.locale, onSmoothlyDateTextHasText: e => (e.stopPropagation(), (this.startHasText = e.detail)), onSmoothlyDateTextFocusChange: e => (e.stopPropagation(), (this.hasFocus = e.detail)), onSmoothlyDateHasPartialDate: e => { var _a; return (e.stopPropagation(), (_a = this.calendarElement) === null || _a === void 0 ? void 0 : _a.jumpTo(e.detail)); }, onSmoothlyDateTextChange: e => (e.stopPropagation(), this.onSmoothlyDateTextChange(e, "start")), onSmoothlyDateTextNext: e => { var _a; return (e.stopPropagation(), (_a = this.endTextElement) === null || _a === void 0 ? void 0 : _a.select()); }, onSmoothlyDateTextDone: e => {
|
|
131
131
|
var _a, _b;
|
|
132
132
|
return (e.stopPropagation(),
|
|
133
133
|
this.end ? ((_a = this.startTextElement) === null || _a === void 0 ? void 0 : _a.deselect(), (this.open = false)) : (_b = this.endTextElement) === null || _b === void 0 ? void 0 : _b.select());
|
|
134
|
-
}, value: this.start, readonly: this.readonly, disabled: this.disabled, showLabel: this.showLabel }), h("span", { key: '
|
|
134
|
+
}, value: this.start, readonly: this.readonly, disabled: this.disabled, showLabel: this.showLabel }), h("span", { key: '80257b7865d284f87a6aafd9f53acead98612f09', class: "smoothly-date-range-separator" }, " \u2013 "), h("smoothly-date-text", { key: 'e6bb858a6a4ee6669ec02949f7e5dcd668187970', ref: el => (this.endTextElement = el), class: "end-date-text", locale: this.locale, onSmoothlyDateTextHasText: e => (e.stopPropagation(), (this.endHasText = e.detail)), onSmoothlyDateTextFocusChange: e => (e.stopPropagation(), (this.hasFocus = e.detail)), onSmoothlyDateHasPartialDate: e => { var _a; return (e.stopPropagation(), (_a = this.calendarElement) === null || _a === void 0 ? void 0 : _a.jumpTo(e.detail)); }, onSmoothlyDateTextChange: e => (e.stopPropagation(), this.onSmoothlyDateTextChange(e, "end")), onSmoothlyDateTextPrevious: e => { var _a; return (e.stopPropagation(), (_a = this.startTextElement) === null || _a === void 0 ? void 0 : _a.select("end")); }, onSmoothlyDateTextNext: e => e.stopPropagation(), onSmoothlyDateTextDone: e => { var _a; return (e.stopPropagation(), (_a = this.endTextElement) === null || _a === void 0 ? void 0 : _a.deselect(), (this.open = false)); }, value: this.end, readonly: this.readonly, disabled: this.disabled, showLabel: this.showLabel })), h("span", { key: '4ccdcf9160a7bb827309e5f5cd908095ba90a0bc', class: "smoothly-icons" }, h("smoothly-icon", { key: '7dbf49e194b48313c7b54eb1bc43d2660f7cf3dc', class: "smoothly-invalid", name: "alert-circle", size: "small", tooltip: this.errorMessage }), h("slot", { key: '63448fe06f310d74951d3ddbd8b8511d1df170b0', name: "end" })), this.open && (h("smoothly-calendar", { key: '1d334b289c960660269e869ec6e42544beaaf0d7', ref: el => (this.calendarElement = el), doubleInput: true, onSmoothlyDateSet: e => e.stopPropagation(), onSmoothlyDateRangeSet: e => {
|
|
135
135
|
e.stopPropagation();
|
|
136
136
|
this.open = false;
|
|
137
137
|
this.start = e.detail.start;
|
|
@@ -182,7 +182,7 @@ export class SmoothlyInputDateRangeText {
|
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
184
|
render() {
|
|
185
|
-
return (h(Host, { key: '
|
|
185
|
+
return (h(Host, { key: '58630b82c91178b70eee75c26ad8b6c2927410cb', class: { "has-text": Object.values(this.parts).some(part => !!part) } }, DateFormat.Order.toArray(this.order).map((part, index) => {
|
|
186
186
|
var _a;
|
|
187
187
|
return (h("span", { onClick: () => !this.readonly && !this.disabled && this.setFocus(index) }, h("span", { class: {
|
|
188
188
|
"smoothly-date-text-part": true,
|
|
@@ -97,30 +97,30 @@ export class SmoothlyInputDateTime {
|
|
|
97
97
|
this.isDifferentFromInitial = false;
|
|
98
98
|
}
|
|
99
99
|
render() {
|
|
100
|
-
return (h(Host, { key: '
|
|
100
|
+
return (h(Host, { key: 'ad93ad9f51896e7b99f721d7a81808e092816c03' }, h("smoothly-input", { key: '0e212a092315fa9a0feaaf67f3c2127a6c5d76c2', color: this.color, looks: this.looks == "transparent" ? this.looks : undefined, name: "date", onFocus: () => !this.readonly && !this.disabled && (this.open = !this.open), onClick: () => !this.readonly && !this.disabled && (this.open = !this.open), readonly: this.readonly, disabled: this.disabled, type: "date", value: this.date, showLabel: this.showLabel, onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: async (e) => {
|
|
101
101
|
e.stopPropagation();
|
|
102
102
|
this.date = e.detail.date;
|
|
103
103
|
}, onSmoothlyUserInput: async (e) => {
|
|
104
104
|
e.stopPropagation();
|
|
105
105
|
this.smoothlyUserInput.emit({ name: this.name, value: await this.getValue() });
|
|
106
|
-
} }, h("slot", { key: '
|
|
106
|
+
} }, h("slot", { key: '3365117b617114c1c961a34660585c2ddae7f93d' })), h("smoothly-input", { key: '91b0c6323b1451c1b40f23bcf2aab162eeb2bf4d', name: "hour", type: "integer", max: 23, pad: 2, value: this.hour, readonly: this.readonly, disabled: this.disabled, placeholder: "hh", onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: async (e) => {
|
|
107
107
|
e.stopPropagation();
|
|
108
108
|
this.hour = e.detail.hour;
|
|
109
109
|
}, onSmoothlyUserInput: async (e) => {
|
|
110
110
|
e.stopPropagation();
|
|
111
111
|
this.smoothlyUserInput.emit({ name: this.name, value: await this.getValue() });
|
|
112
|
-
} }), h("span", { key: '
|
|
112
|
+
} }), h("span", { key: '30f3a9608f30b70ec0e999b1087f124a2c0f8f9a', class: "colon" }, ":"), h("smoothly-input", { key: 'd3dfb6f59c4bffd573187b513abbcc3f26621389', name: "minute", type: "integer", max: 59, pad: 2, value: this.minute, readonly: this.readonly, disabled: this.disabled, placeholder: "mm", onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: async (e) => {
|
|
113
113
|
e.stopPropagation();
|
|
114
114
|
this.minute = e.detail.minute;
|
|
115
115
|
}, onSmoothlyUserInput: async (e) => {
|
|
116
116
|
e.stopPropagation();
|
|
117
117
|
this.smoothlyUserInput.emit({ name: this.name, value: await this.getValue() });
|
|
118
|
-
} }), h("span", { key: '
|
|
118
|
+
} }), h("span", { key: 'a909976d14881c52ff1461afde62ee22acccbea0', class: "icons" }, h("smoothly-icon", { key: 'd200862fdf9b53b85d1deb9569cf4b9c93aee077', class: "smoothly-invalid", name: "alert-circle", size: "small", tooltip: this.errorMessage }), h("slot", { key: 'c5391f31a81c2b9ed019fb27e5aefb2e41a91d49', name: "end" })), this.open && !this.readonly && (h("smoothly-calendar", { key: 'ac41f035d3f92fd3116dfcf360f2e4d921a829b0', doubleInput: false, value: this.value ? isoly.DateTime.getDate(this.value) : undefined, min: this.min ? isoly.DateTime.getDate(this.min) : undefined, max: this.max ? isoly.DateTime.getDate(this.max) : undefined, onSmoothlyDateSet: async (e) => {
|
|
119
119
|
e.stopPropagation();
|
|
120
120
|
this.date = e.detail;
|
|
121
121
|
this.smoothlyUserInput.emit({ name: this.name, value: await this.getValue() });
|
|
122
122
|
this.open = false;
|
|
123
|
-
} }, h("div", { key: '
|
|
123
|
+
} }, h("div", { key: '3a0ea948b27c084501a8a98c9ad31195077abd86', slot: "year-label" }, h("slot", { key: 'cc59da90159452014a6434827619eade272e75d3', name: "year-label" })), h("div", { key: 'a7bbff950447fab625edc43dd12814b24711d568', slot: "month-label" }, h("slot", { key: 'a5d595242c8424d5a6021e7306c219cc828dbfb1', name: "month-label" }))))));
|
|
124
124
|
}
|
|
125
125
|
static get is() { return "smoothly-input-date-time"; }
|
|
126
126
|
static get encapsulation() { return "scoped"; }
|
|
@@ -5,7 +5,7 @@ export class SmoothlyInputDateDemo {
|
|
|
5
5
|
this.alwaysShowGuide = false;
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: 'b0b29015752f46939700b57c62a07fa06ffe4e40' }, h("div", { key: '513e17083a0162befffa69473ddbdece8548e9ba' }, h("h2", { key: 'd9ac3875a4027fb083c7daad59d99fea4ce27ade' }, "Date input"), h("p", { key: '995523aa50c0634d265b3b9d91f5dac9a8502bf0' }, "Different locales formatting the same date"), h("smoothly-button", { key: '10a90fd4fe35c81b689d4c0cc547cc887b852669', color: "primary", onClick: () => (this.date = this.date ? isoly.Date.next(this.date) : isoly.Date.now()) }, "Set date"), h("smoothly-input-checkbox", { key: 'b7d9b9ab464d611493eb029a1819b1890da7e0c3', looks: "transparent", onSmoothlyUserInput: e => {
|
|
9
9
|
this.alwaysShowGuide = e.detail.value;
|
|
10
10
|
console.log(this.alwaysShowGuide);
|
|
11
11
|
} }, "Always Show Guide")), ["en-US", "en-GB", "de-DE", "se-SE"].map(locale => (h(Fragment, null, h("smoothly-input-date", { locale: locale, name: locale, looks: "border", value: this.date, alwaysShowGuide: this.alwaysShowGuide }, locale, h("smoothly-input-clear", { slot: "end" })), h("smoothly-input-date-range", { locale: locale, name: locale + "-range", looks: "border", start: this.date, end: this.date ? isoly.Date.next(this.date) : undefined, alwaysShowGuide: this.alwaysShowGuide }, locale, " Range", h("smoothly-input-clear", { slot: "end" })))))));
|
|
@@ -7,14 +7,14 @@ export class SmoothlyInputDemo {
|
|
|
7
7
|
this.numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9];
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: 'ef33e129690f3cd0a771a1b12dcb8f9c79fa566e' }, h("smoothly-input-demo-standard", { key: '5e12871414915755af5fb0e896b2ae9cbaeec449' }), h("smoothly-input-date-demo", { key: 'cd9a7179d6d78b58c64a37329d170dafa3c4d4ee' }), h("smoothly-input-demo-user-input", { key: '1dc3897e7c1bb3de9b45084c880745abfadb568c' }), h("smoothly-input-demo-radio", { key: '3a6b7c1417ea8a91a62d4c911562175ba623c1e5' }), h("div", { key: 'd218e51f2785f7caed4318ea33aaab6dca63d05e', class: "inputs" }, h("h2", { key: '53ac6e802dd3e3581ad3dc2feb629537dbeaf9b6' }, "Calendar"), h("smoothly-input-date", { key: '25127e4d56c34404d0dc25d63b7cc96c5e8c3645', name: "some-date" }, "Calendar"), h("smoothly-input-date-time", { key: 'e3025c6634241fa1347c7b2c93a918288a2371d6', name: "someDateTime", value: isoly.DateTime.now() }, "DateTime"), h("h2", { key: '6db99859de7c13e9d6d40aa5c7cbdc25cddffd14' }, "Date Range"), h("smoothly-input-date-range", { key: 'c56da60bdb19ea3c0305d1881180845f848cb625', 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: '556c9c8b45219b64f966252c9ea23b8a02bf78a2', 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: 'd6e08652074753d81334f6f26872f16a4ad27120', slot: "end", size: "icon" })), h("smoothly-input-date-range", { key: '65bffbaab83f117517cd37087c028d1ed2b4936c', looks: "grid", start: isoly.Date.now(), end: isoly.Date.nextMonth(isoly.Date.now()), min: "2021-10-10", max: "2025-12-30", showLabel: false, style: {
|
|
11
11
|
"--smoothly-input-border-radius": "0.5rem",
|
|
12
|
-
} }, h("smoothly-input-clear", { key: '
|
|
12
|
+
} }, h("smoothly-input-clear", { key: 'e61e9737c489a68b612e38490fa4b2f95de72a6a', slot: "end", size: "icon" })), h("h2", { key: 'd7f0223de99a710561a28daf86ceb69d7aef1da1' }, "Date"), h("smoothly-input-date", { key: '2cf84ece02042c92ac3754379268a94ef536c91a' }, "Date"), h("smoothly-input-date", { key: 'b1b465843e3562c30e589af11004a09bf2b6157a', showLabel: false, value: "2021-10-28", max: "2021-12-30", min: "2021-10-10" }, "Date"), h("smoothly-input-date", { key: '5810635fbfd26dd8735f8abd2c2e58f30affd61c', value: "2021-10-28" }, "Date", h("smoothly-input-reset", { key: 'd63d51b77f52243dfa9f13fe2754e53919d21c06', slot: "end", size: "icon" })), h("smoothly-input-date", { key: '7815c1afc2b1d38d3263630d8ef8d5a4cfa0a096', value: "2021-10-28" }, "Date", h("smoothly-input-clear", { key: 'cf8b725f54894024063bb6735e17ed692195c994', slot: "end", size: "icon" })), h("h2", { key: 'db2776f12559673b653e4671f92c578471e65a7a' }, "Select"), h("div", { key: '64ef6bd07f27d07cf6ea6dd23ae434503fdcc740', class: "select-div" }, h("smoothly-input-select", { key: '0a0f832b86bdb2fc7aeb964d52f320a6d76cf40d', name: "select-dessert", looks: "border" }, h("label", { key: 'd95e443f3df2398ca64bd6bcd64d6cdd629d0a8d', slot: "label" }, "Select with clear button"), h("smoothly-item", { key: 'c081a219a330aac151711e87423b474037b79628', value: "1" }, "Ice cream"), h("smoothly-item", { key: 'c168ee280c6dea09c54d86ae72fe2c79e134d448', value: "2" }, "Sponge cake"), h("smoothly-item", { key: 'cfea0b38d63995c108f0277ca248647725d22a60', value: "3", disabled: true }, "Disabled Item"), h("smoothly-item", { key: 'b93622e1a391c980d0c0371a0918dfca7ae7b456', value: "4" }, "Cookie"), h("smoothly-item", { key: 'e8733a8a51b09cea7ee31e4017f58152b58f5827', value: "5" }, "Croissant"), h("smoothly-item", { key: '90731e217754cb6c096cc190fb8b0c56c2bac593', value: "6" }, "Chocolate fondue"), h("smoothly-input-clear", { key: '0129f30c20777f9a37fc19ee8051e377507c9368', size: "icon", slot: "end" })), h("smoothly-input-select", { key: '94d3b7ca28b5fe5f9c9a3c587d995c65c8be45ad', multiple: true, name: "select-dessert-multiple", looks: "border" }, h("label", { key: '2d935f7418f8db300bf20412c4dd15934da5c0d3', slot: "label" }, "Select multiple with reset button"), h("smoothly-item", { key: '3c2579bffcde279703cfc041b315560a6dcc098e', value: "ice cream" }, "Ice cream"), h("smoothly-item", { key: 'a49fcce300b665b0de07fe67b5ea798e2fa94626', value: "sponge cake" }, "Sponge cake"), h("smoothly-item", { key: '4678f38edab9f88113c056ff820df2bd07e2fe33', selected: true, value: "cookie" }, "Cookie"), h("smoothly-item", { key: 'fdcf2ecd485fe75a35ca96ed89352a343819b770', value: "croissant" }, "Croissant"), h("smoothly-item", { key: 'f5cafb0e4b020489c72db9cd2362936449826dbd', selected: true, value: "chocolate fondue" }, "Chocolate fondue"), h("smoothly-input-reset", { key: '8c49833f66cee2e2ebac320c67ee5452a77636f7', size: "icon", slot: "end" })), h("smoothly-input-select", { key: '146806189c90cecb94e0bc9a01c713695689a2bc', name: "spirit-animals", looks: "border", mutable: true }, h("label", { key: '56bc9c8ef474ce79b1af47086b65847877d6a03c', slot: "label" }, "Select or add new options"), h("smoothly-item", { key: 'b13d4158fadfb725ff6c1ca236f4724ba95936df', value: "manatee" }, "Manatee"), h("smoothly-item", { key: '85d95f128731e5fd3ec1c1f3df672d98ff3a199a', selected: true, value: "cthulu" }, "Cthulu")), h("smoothly-input-select", { key: '3bffa0bfbce0ab015208bdff0d648bf8f6d497bf', name: "select-icon", clearable: false, showSelected: false }, h("smoothly-item", { key: '05d80d05561b9a716ea94d8e3fb3e3d5afc66c4c', value: "folder", selected: true }, h("smoothly-icon", { key: 'f86490ab381f59ed6fcdacb1d7441697fe645fd8', size: "small", name: "folder-outline" })), h("smoothly-item", { key: 'ec29517ce6ee5b7353bc20fc3c4365751815bfc6', value: "camera" }, h("smoothly-icon", { key: '75c27c69a18c0c37a6d989a2268ed9fa7ffb6daf', size: "small", name: "camera-outline" }))), h("smoothly-input-select", { key: '7ff7efc5b6f7a47da43fbd859a0c20cfb013c1c3', ordered: true, menuHeight: "7.5items", placeholder: "Select...", name: "select-month" }, h("label", { key: '3eb848081a594d164a7144ac8fe91719c11dd950', slot: "label" }, "Alphabet ordered select"), Array.from({ length: 26 })
|
|
13
13
|
.map((_, i) => String.fromCharCode(i + 65))
|
|
14
|
-
.map(char => (h("smoothly-item", { value: char, selected: char == "H" }, char)))), h("smoothly-input-select", { key: '
|
|
14
|
+
.map(char => (h("smoothly-item", { value: char, selected: char == "H" }, char)))), h("smoothly-input-select", { key: '36db6fdd61728c21488000fb0e588858726de95d', multiple: true, menuHeight: "7.5items", placeholder: "Select...", name: "select-month" }, h("label", { key: 'b3a93c5d2b02f5c5ca50e2041db860082432ba0f', slot: "label" }, "Month multiple select"), h("smoothly-item", { key: '5b3f4d4dda6ca6bac04d3d58e14b1bc6808a515d', value: "1" }, "January"), h("smoothly-item", { key: '2137f933a08f0bff7661ef7eedb566ef0613b2c0', value: "2" }, "February"), h("smoothly-item", { key: '2b60b2706c7a4e560dc61969fe8bff8bae2ee3b4', value: "3" }, "March"), h("smoothly-item", { key: '10f7a805783997893080eba61a3a293901273b7e', value: "4" }, "April"), h("smoothly-item", { key: 'fbb81488473ab771ba92650e7f6c0d1e385a5486', value: "5" }, "May"), h("smoothly-item", { key: 'bb9a696e13859137773158b219807224c9e456d5', value: "6" }, "June"), h("smoothly-item", { key: 'cb9cb347df1ab4551d11a6104fea41e53646f7fe', value: "7" }, "July"), h("smoothly-item", { key: 'f636d5874c7b810b59d9aea7454ee060093946ff', value: "8" }, "August"), h("smoothly-item", { key: 'd7882ebaf8e4b13216201b04201f19d0152c7997', value: "9" }, "September"), h("smoothly-item", { key: '30815b5d8ae477d52a6896083f58d5e913fc6ec9', value: "10" }, "October"), h("smoothly-item", { key: '70658c05936d61c7e4faf8ab265d5e7ae448774a', value: "11" }, "November"), h("smoothly-item", { key: 'c737ec283e42443c75334f925d7fab3df2527a4f', value: "12" }, "December")), h("div", { key: 'a149cf4a6ebc5828e095c10e9d6d57abbc43c359', class: "select-div-row" }, h("smoothly-input-select", { key: '0b32d71db9eb24afd885c46ea5f414be1e55133c', name: "select-icon", clearable: false, showSelected: false }, h("smoothly-item", { key: '1c4fb8eeb730b8cfe6e4818ca16c565014a159a7', value: "folder", selected: true }, h("smoothly-icon", { key: '082d0bba96283c4bceb9f92c3e772bd3fd8b7011', size: "small", name: "folder-outline" })), h("smoothly-item", { key: 'ea4df02bbe52f26a1888b2f74ed587beb09890fe', value: "camera" }, h("smoothly-icon", { key: '166ec449cff9acf04d866ac4786ba9f30b2a3b42', size: "small", name: "camera-outline" })), h("smoothly-item", { key: '65aa76f7da4c5677b031fe45a5a86fca0a3d29ee', value: "boat" }, h("smoothly-icon", { key: '32d5688b2e74006e65131f11ee06890d8d52b5dd', size: "small", name: "boat-outline" }))), h("smoothly-input-select", { key: 'fccc2a0bad4e53a6fee2a5ceca85a59b91d70090', name: "select-number", clearable: false }, this.numbers.map(number => (h("smoothly-item", { value: "number", selected: number === 3 }, number)))), h("smoothly-input", { key: 'f8a91a3e5d64b5058bb91a50dde94d3eb128f7b5', name: "name", value: "Sten Qvist" }, "Name"))), h("h2", { key: '012a2aeb69da69b0ab9cff4b761500892f2c9aba' }, "Duration"), h("smoothly-input", { key: '55df5644b13c507f13d0efec711da4c3ae59dc95', name: "duration", type: "duration", placeholder: "hh:mm", value: this.duration, onSmoothlyInput: e => (this.duration = e.detail.duration) }, "Duration"), h("smoothly-input", { key: '4aa5fe278bfd9e37e3a625b67304cadb164bdd78', name: "duration", type: "duration", value: this.duration, placeholder: "-hh:mm", onSmoothlyInput: e => {
|
|
15
15
|
const duration = e.detail.duration;
|
|
16
16
|
this.duration = duration;
|
|
17
|
-
} }, "Duration"), h("h2", { key: '
|
|
17
|
+
} }, "Duration"), h("h2", { key: 'bb855c65c4b59aef87c9d4d18ac6db6b6d21bdec' }, "Integer with Min/Max"), h("smoothly-input", { key: '1a5e0092eb5330cc384aafce47e1438abca4a590', name: "days", type: "integer", min: 0, max: 365 }, "Days per year (0-365)"), h("smoothly-input", { key: '359faaba1e62172b0224c8d8ec58e49cb5a81f09', name: "hour", type: "integer", min: 0, max: 23 }, "Hours per day (0-23)"), h("smoothly-input", { key: '6ce0655a6b0134ce4175d65f80792287e48eefbe', name: "minute", type: "integer", min: 0, max: 59 }, "Minutes per hour (0-59)"), h("smoothly-input", { key: '3ce841cda01cbb2c4f346009648faa281831a4b2', name: "minute", type: "integer", min: 18, max: 120 }, "Age (18-120)"), h("h2", { key: 'e63ebb0b5996cbf653c6b6c969df48d635e28c30' }, "Invalid text with warning icon and tooltip"), h("smoothly-input", { key: '62873bd1d9eadab148e0502f44fdbc779aa5a789', copyable: true, 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: '04dffd24a3af57da6ae369a8fbe9372893e6e380' }, "Identifiers"), h("smoothly-input", { key: '3d18b596880f98b84a07742cb9778d0095719294', type: "identifier-code" }, "Code"), h("smoothly-input", { key: '190651f4f4263eaacd8b80f90f4074fef28da183', type: "identifier-attribute" }, "Attribute"), h("smoothly-input", { key: '3a8802a9a173f518f975717cbe23cd1150316fc5', type: "identifier-snake" }, "Snake"), h("smoothly-input", { key: '00ec5419cd67a7217d23f95513f451f2c8e98f8e', type: "identifier-pascal" }, "Pascal"), h("smoothly-input", { key: '93eac4cce148e22640908d0d2f7c19a04b66d3f9', type: "identifier-camel" }, "Camel"), h("h2", { key: '98b93a5cb9daf216199adb5fa089ddd84bc96c61' }, "Input Alternatives"), h("smoothly-input", { key: 'a031c081e8531bad8400469ae449757958d7324a', type: "text", name: "name.last" }, h("smoothly-icon", { key: 'bf00331aeef0f1046c5505911d7db6ba845e636c', name: "checkmark-circle", slot: "start" }), "First Name"), h("smoothly-input", { key: '7824cf3b501d802ff40e4a750dd46defa9cac8b6', type: "text", name: "name.first" }, "Last Name", h("smoothly-icon", { key: '497b0417f5e7b0714753b0e5d78a78ab18130007', name: "checkmark-circle", slot: "end" })), h("smoothly-input", { key: 'ba93dadda8140d398c1d350f98c53d2a08c440db', type: "text", name: "name.first", placeholder: "Smith" }, "Last Name", h("smoothly-icon", { key: '28e8478b908bb51c6c5949e986c69930d1b10cb5', name: "checkmark-circle", slot: "end" })), h("smoothly-input", { key: 'fcb8531d6fe4129585e9a6d6e641022f2f14cb94', placeholder: "test" }), h("smoothly-input-submit", { key: '97a4d319d250ecd00ede7a5beb2c06b077e8e82c', slot: "submit", fill: "solid", onSubmit: (e) => alert(e), color: "success" }), h("h4", { key: '50579aad1a91b0c728a127076a37be38273b3635' }, "Smoothly checkboxes"), h("div", { key: 'ceee0a83b7626132ac6323dfd894d8ece7ea2f69', class: "checkbox-group" }, h("smoothly-input-checkbox", { key: '0eab1d5ac670458ab57af847c9996fcf874fd985', disabled: true, name: "first-checkbox" }, h("smoothly-icon", { key: 'aa4259b0bc0193a0e31b2bdc2f9550d1e7a9cd66', name: "checkmark-circle", slot: "start", size: "tiny" }), "First"), h("smoothly-input-checkbox", { key: '38fe8ffc98f95b0a81aba7dadb0a46f876ec09f4', name: "second-checkbox", checked: true }, h("smoothly-icon", { key: '40b2451d7fb2f705251abfb2158bc91a31ae9d3d', name: "checkmark-circle", slot: "start", size: "tiny" }), "second", h("smoothly-input-clear", { key: '34675173c8447131c978ca934fdde0d8764f44a8', size: "icon", slot: "end" })), h("smoothly-input-checkbox", { key: '42c6dd2f0fd6bb72d8ce31158f0451c5f500fe2b', name: "third-checkbox" }, "3rd")), h("h4", { key: '94ddf8048c28f947c3d20a2440c49e9340448c58' }, "Smoothly Radio Buttons"), h("smoothly-input-radio", { key: '0e308b17b5783bb23ce817cb30fbb9237a1b5b65', clearable: true, name: "radioFirstInput" }, h("smoothly-icon", { key: '61ab423d103c3f04fbaae7d02d0a1685d576fcfe', name: "checkmark-circle", slot: "start" }), h("label", { key: 'f75b6164630e97ad5f1174c08afe841e7321fe28', slot: "label" }, "Clearable"), h("smoothly-input-radio-item", { key: 'fd4284b27663aed055dce8671b46881789ba7dfb', value: "first" }, "Label 1"), h("smoothly-input-radio-item", { key: '9554d37989867953cefb248a039d1c6217ea0c4f', selected: true, value: "second" }, "Label 2"), h("smoothly-input-radio-item", { key: '7643fa634aa9693163de7926468ea47ea99d232f', value: "third" }, "Label 3"), h("smoothly-input-clear", { key: 'ef750494dee99f5bf962f93f143a80a540834f20', size: "icon", slot: "end" })), h("smoothly-input-radio", { key: '3cf94704be4ce872a79a97abb4dc1828ade9ad71', name: "radioSecondInput" }, h("label", { key: 'd3feeed0e6debeaba6e95eec7c6effa4e3aa0484', slot: "label" }, "Not clearable"), h("smoothly-input-radio-item", { key: 'ed5bc06f71277cc4ad5e644d4b07c42c80dd1027', value: "first" }, "Label 1"), h("smoothly-input-radio-item", { key: '944215e958076b552f4ee8e5728897f63e88657c', value: "second" }, "Label 2"), h("smoothly-input-radio-item", { key: '273705d445c5b1c1c01f6cea30bf8ad4036f932a', value: "third" }, "Label 3"), h("smoothly-input-radio-item", { key: 'c16dee456ac64f1aa945dcf6934ff6734c63e597', value: "fourth" }, "Label 4"), h("smoothly-input-radio-item", { key: 'd9795190e66042dedd027a4780900e2a32548ebc', value: "fifth" }, "Label 5"), h("smoothly-input-radio-item", { key: '985a353d4d42885a3597807d9b3a1d6fe2692520', value: "sixth" }, "Label 6")), h("smoothly-input-range-demo", { key: '011666bd072c688123437302f21ef556b9bc45cf' }), h("smoothly-input-color-demo", { key: 'a7e2fedb5277f19eee2c670bf88c1089ead1eb92' }), h("smoothly-input-price-demo", { key: '3e2f3d6d9e0e368ad4b8c7f3294bbc8cb19d3358' }), h("smoothly-back-to-top", { key: 'c2ecc189b026a4eae72d521e4cdffcfbd58ddbd9' }))));
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "smoothly-input-demo"; }
|
|
20
20
|
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: 'c467c7cb0bc71a80d80b0249bbdaf6b6be48af4b' }, h("h2", { key: '216b76ae5cb923903331b846f0897471ae96bd87' }, "State demo on smoothly-input"), h("p", { key: '50522fbe29c228cf83f1450dbcb32e96d37b2587' }, "This demo/test the internal state of the smoothly-input component."), h("p", { key: '5393c97d661ad1dd1fe8bbac11a2f731ad7fea77' }, "The currency of the price should update when switching between the currencies."), h("smoothly-input-radio", { key: 'f782f50671c0b67344238121e6d742df328672bc', 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: '18a4f7dbfc952fcfa6db9188f8ad98c0c7f98731', 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"; }
|
|
@@ -4,7 +4,7 @@ export class SmoothlyInputDemoRadio {
|
|
|
4
4
|
console.log("selected", this.selected);
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: '926c46d5493184b5562db849fe49f8bc69467635' }, h("h2", { key: '482f5b5dad79420a7d17fd32f8ca364fff3fea40' }, "radio input - column direction"), h("smoothly-input-radio", { key: '56b8f69f400852f3476747d3cfca4e208659a55a', name: "radio", direction: "column", onSmoothlyInput: e => (this.selected = e.detail.radio) }, h("smoothly-input-radio-item", { key: 'f8efa9578d1cd57ed8a1c39f99d1ceb61dc15c0a', value: "1" }, h("span", { key: 'e8a9613c4be5a9a5f22e27376e2a5c3dc9432e9e' }, "Option 1"), h("span", { key: '59f7cb9ed2fb5ca96e16af28567e6ac29c920ee7', slot: "detail" }, "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.")), h("smoothly-input-radio-item", { key: '6c4733d75808282a051c25ccafdbffae1efec8b4', value: "2", selected: true }, h("span", { key: '135b8ad7de02530fb2ec7b1748c706ed7ad6a275' }, "Option 2"), h("div", { key: '8d8beb1041e44e46afe0423540b385ad7aa0a0d1', slot: "detail" }, h("smoothly-tabs", { key: '9295b932c4f29d8672003b063930beb56075662c' }, h("smoothly-tab", { key: '970586efae1aa46ddeb1c6ef203b89682251d77f', label: "Dog", name: "dog", open: true }, "\uD83D\uDC15"), h("smoothly-tab", { key: '8faade213577e3d7cd4481f8c09ca80210f8312b', label: "Cat", name: "cat" }, "\uD83D\uDC08"), h("smoothly-tab", { key: '00c1e6c7f8fa0e3d2ee17f20ac212463f515c7a3', label: "Rat", name: "rat" }, "\uD83D\uDC00")))))));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "smoothly-input-demo-radio"; }
|
|
10
10
|
static get encapsulation() { return "scoped"; }
|
|
@@ -20,7 +20,7 @@ export class SmoothlyInputDemoStandard {
|
|
|
20
20
|
});
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
|
-
return (h(Host, { key: '
|
|
23
|
+
return (h(Host, { key: '2e355c9aa093b8466d23357c9aae6d88011170be' }, h("div", { key: 'b212cbda84e5965666cce503713c85baaa045d32', class: "description" }, h("h2", { key: '21f4edf40038c44f1b745a0f0ae5c15a4d909ee6' }, "Input Standard"), h("p", { key: '3f4cf3c1e07effe5cb728f54311cf92f438eecf5' }, "Height of input should be ", h("code", { key: 'e5c546b13ce7c73522216a1509e50022c786a36a' }, "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: '6c3be1205cf4699ae45248278c21a217f5d35e9c', looks: "grid", onSmoothlyFormInput: (e) => (this.options = e.detail) }, h("smoothly-input-select", { key: 'c76494d9a20e705a7a9350f621104aec46b0e857', name: "color" }, h("span", { key: 'c1ccb2f1c17b46e976fadd5331f07c4d7a699791', slot: "label" }, "Color"), Color.values.map(c => (h("smoothly-item", { value: c }, h("span", { color: c }, c)))), h("smoothly-input-clear", { key: 'dbaa782144733cdcbec4d5257e21b0a4f170e5e5', slot: "end" })), h("smoothly-input-select", { key: '28b28e354ac6fc5637ecf14acccfe30bfef11ff6', name: "looks" }, h("span", { key: 'f1452804684f0a76d78542a9cb64928a478f03ec', slot: "label" }, "Looks"), Looks.values.map(l => (h("smoothly-item", { value: l }, l)))), h("smoothly-input-range", { key: '3ca928155a582e8b5ab68ebdc2de073c390b58ed', label: "Border Radius (rem)", name: "borderRadius", min: 0, max: 2, step: 0.25 }), h("smoothly-input-checkbox", { key: '99e0f80359bb1d1813b4445fc642aeff881d0d12', name: "readonly" }, "Readonly"), h("smoothly-input-checkbox", { key: 'fb4e997a1751c7a05fb97d40ae5e151ad62e7a53', name: "disabled" }, "Disabled"), h("smoothly-input-checkbox", { key: '78a9cf0fe349660d1f6869a4051051006b0f13ac', name: "invalid" }, "Invalid"), h("smoothly-input", { key: '01b1d2c7089b8d24d40de9799f6296d8e2e1c34a', name: "errorMessage", value: "This is not a valid value" }, "Error Message"), h("smoothly-input-checkbox", { key: '3a8c24b67d02e7e040ea452bcb74dfcf8176eb6c', name: "showLabel", checked: true }, "Show Label"), h("smoothly-input", { key: '143f2e8974ac80899bcac6c582cfe071c370b491', name: "placeholder" }, "Placeholder"), h("smoothly-input-checkbox", { key: 'd16643507059700194c9b5b5d402d83d68ac7d42', name: "alwaysShowGuide" }, "Always Show Guide (for date inputs)"))), h("div", { key: '5c3a8ad043a7d87f872343009acf3b09c9c61b40', class: "input-wrapper", style: { "--smoothly-input-border-radius": `${this.options.borderRadius}rem` } }, h("div", { key: '2f5cde81d501ffd5c2bce64e1b54586f489cd11f', class: "width" }, "width: 100%"), h("div", { key: 'a055e7019d888ca2c12161581c2c77a35fa247ba', class: "left-padding" }, "padding-left: 0.5rem"), h("smoothly-input", { key: 'f7840a4c2c7197895adabac250b283dd1209d440', name: "text", color: this.options.color, looks: this.options.looks, readonly: this.options.readonly, disabled: this.options.disabled, invalid: this.options.invalid, errorMessage: this.options.errorMessage, showLabel: this.options.showLabel, placeholder: this.options.placeholder }, this.options.showLabel && h("span", { key: '5983ef639593b4f877b77b99d58f08d9fd47b98d' }, "Text"), h("smoothly-input-clear", { key: '252b68a3efdc6b70a0532eacb18cbcd137b207b3', slot: "end" })), h("div", { key: '37c4139e98071dec4901519ba10a075219e270bf', class: "height" }), h("smoothly-input-select", { key: '6ed894124eadea113968089eba5c38c7fff2caf4', name: "month", color: this.options.color, looks: this.options.looks, menuHeight: "6.7items", readonly: this.options.readonly, disabled: this.options.disabled, invalid: this.options.invalid, errorMessage: this.options.errorMessage, placeholder: this.options.placeholder }, this.options.showLabel && h("label", { key: '2229eee3d5a4cab69d203a4f3b8f313693d1852c', slot: "label" }, "Select"), h("smoothly-item", { key: 'bfb7e1e1302677b556256f5c871eaabf83a1a22d', value: "1" }, "January"), h("smoothly-item", { key: '37b4e1404f0d93c3cfec6ae778a009cccc481f37', value: "2" }, "February"), h("smoothly-item", { key: '7804e2f534c4cd279e5f29e212bc8b3f07d3be9e', value: "3" }, "March"), h("smoothly-item", { key: '7de014b6870276d1afbc3f8b4780dd789b42501e', value: "4" }, "April"), h("smoothly-item", { key: 'e30eac74368b6ae4eaf58f371c8bdd0d030c76c1', value: "5" }, "May"), h("smoothly-item", { key: '90e999da893c3c3d6c9aea57d500808fac2f64d4', value: "6" }, "June"), h("smoothly-item", { key: '0c3ae02ce9a1c9ab4fca7c06fd3809ee8067bce5', value: "7" }, "July"), h("smoothly-item", { key: '689c71f20be3bc6fb057445c5ceaa60718f05603', value: "8" }, "August"), h("smoothly-item", { key: 'b1443376f5fa483d15873c9232290f6b6e270f1c', value: "9" }, "September"), h("smoothly-item", { key: '5055f6a2b1e136f911f32bc053d35c1931faaf02', value: "10" }, "October"), h("smoothly-item", { key: '512f871512f7bdd02462b286f724b66b7a845c48', value: "11" }, "November"), h("smoothly-item", { key: '4b6c5608cd060744cdd798803e67f2188ada562f', value: "12" }, "December"), h("smoothly-input-clear", { key: '7fd619f654ad16a0048a12793092d214bb87a7dc', slot: "end" })), h("div", { key: 'ab13b70b196dbc83d694145abd870bee5d121be1', class: "height" }), h("smoothly-input-checkbox", { key: '2eb487f1b741e7b12b50bc1b6eed8990a89b059e', name: "checkbox", checked: true, color: this.options.color, looks: this.options.looks, readonly: this.options.readonly, disabled: this.options.disabled }, "Check", h("smoothly-input-reset", { key: 'df9db551b674bb4df52b7c84bafbf25adab266fa', slot: "end" })), h("div", { key: 'bb29d6b57fdf27d523c4690ce4903187590c5b18', class: "height" }), h("smoothly-input-radio", { key: '12e400081cb687023137e7f1a3834915c846ac3f', name: "radio", clearable: true, color: this.options.color, looks: this.options.looks, readonly: this.options.readonly, disabled: this.options.disabled, showLabel: this.options.showLabel }, this.options.showLabel && h("label", { key: 'd0646e2ca2ddd5ec6d7b6cdcddace55e907f4f59', slot: "label" }, "Radio"), h("smoothly-input-radio-item", { key: '5f2dd2ecb3289f99f82367cc0ab4c14b578ca0a3', value: "first" }, "Label 1"), h("smoothly-input-radio-item", { key: '5abdb6fb7897c18e088c85ec08313769e744583c', selected: true, value: "second" }, "Label 2"), h("smoothly-input-radio-item", { key: '2bba28393706691b0973bd9f92836bd28c890b07', value: "third" }, "Label 3"), h("smoothly-input-clear", { key: '5853dbcda5ed68ce1401245bba244f19a248ccbe', slot: "end" })), h("div", { key: '7b1fc6de01785728d758ea07c55c3f2ff47415c8', class: "height" }), h("smoothly-input-file", { key: '1eac17bd99f215911b95f67312164ed294952b6d', name: "file", color: this.options.color, looks: this.options.looks, readonly: this.options.readonly, disabled: this.options.disabled, showLabel: this.options.showLabel, placeholder: this.options.placeholder }, this.options.showLabel && h("span", { key: '43d11a34c076520aed899bceb035c829836fd725', slot: "label" }, "File"), h("smoothly-input-clear", { key: '106b3c31ae10b64bdc4bc309a3512d58e929f4e2', slot: "end" })), h("div", { key: 'd13c20742bb1e088160b7cc59efb5f75dbfa4eaf', class: "height" }), h("smoothly-input-range", { key: 'd81378e953c5fe82ec020e544de7cf15d0e76434', name: "range", color: this.options.color, looks: this.options.looks, readonly: this.options.readonly, disabled: this.options.disabled, label: this.options.showLabel ? "Range" : undefined }, h("smoothly-input-clear", { key: '27e6247aa7c628859ebab11d8da32cf8be3dfd03', slot: "end" })), h("div", { key: 'ae21676a75148c438d070bf932e96b09f2237325', class: "height" }), h("smoothly-input-color", { key: '718f8309dd37c5e4552de5a2d5c00483b6397127', name: "color", color: this.options.color, looks: this.options.looks, readonly: this.options.readonly, disabled: this.options.disabled, showLabel: this.options.showLabel }, this.options.showLabel && h("span", { key: 'eaadb8d6f5fa9f6143f2d2549e1b7901e32b2bef' }, "Color"), h("smoothly-input-clear", { key: 'f396f11146e3fb840e559086cf45ec745fe9dad8', slot: "end" })), h("div", { key: '60c4fcb685302ae33a5ff3f700b1b3c0010fd316', class: "height" }), h("smoothly-input-date", { key: '9eadbb8a6648c0986b83bc6c044683ddc7012472', name: "date", color: this.options.color, looks: this.options.looks, readonly: this.options.readonly, disabled: this.options.disabled, invalid: this.options.invalid, errorMessage: this.options.errorMessage, showLabel: this.options.showLabel, placeholder: this.options.placeholder, alwaysShowGuide: this.options.alwaysShowGuide }, this.options.showLabel && h("span", { key: 'f2502eeec674553779739ba3bf9d6beaa55566a2' }, "Date"), h("smoothly-input-clear", { key: 'f36a9a9403e5aa756a5c1a955cc526b2b349aeb3', slot: "end" })), h("div", { key: 'd0a81dd6a18ae37f0c55e7aa448d4323197b4e40', class: "height" }), h("smoothly-input-date-time", { key: 'a2c25b754dab6b88d1e25a8abecbe227153eab18', name: "dateTime", color: this.options.color, looks: this.options.looks, readonly: this.options.readonly, disabled: this.options.disabled, invalid: this.options.invalid, errorMessage: this.options.errorMessage, showLabel: this.options.showLabel }, "DateTime", h("smoothly-input-clear", { key: '8e392cdd2f0c92a9aca8f1e468c236065fd3c2b0', slot: "end" })), h("div", { key: '76f81fc46a552dd4ebe1b15b888b85e0faabf5bb', class: "height" }), h("smoothly-input-date-range", { key: '3837975fd0e591d52386c1b12f3171d64e91cf80', name: "dateRange", color: this.options.color, looks: this.options.looks, readonly: this.options.readonly, disabled: this.options.disabled, invalid: this.options.invalid, errorMessage: this.options.errorMessage, placeholder: this.options.placeholder, alwaysShowGuide: this.options.alwaysShowGuide, showLabel: this.options.showLabel }, this.options.showLabel && h("span", { key: '676c2f53a26198524881f0221c73e6b654bb13dc' }, "Date Range"), h("smoothly-input-clear", { key: '1e4740db4bf043f74cfafa1e7e91312878b71b86', slot: "end" })), h("div", { key: 'db0449b44b24dd20fccdb99329b876d938d5f68c', class: "height" }))));
|
|
24
24
|
}
|
|
25
25
|
static get is() { return "smoothly-input-demo-standard"; }
|
|
26
26
|
static get encapsulation() { return "scoped"; }
|
|
@@ -10,11 +10,11 @@ export class SmoothlyInputDemoUserInput {
|
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
12
|
var _a, _b;
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '3707001c9bf5406f3770f566924f8983d4444e18' }, h("div", { key: '6970bb763108f56a34284bb1f3cb73545f2dba2c' }, h("h2", { key: 'e5f96a2b6c360e8f9a81dd90d148822758719850' }, "User Input Event"), h("p", { key: 'e1fb246660c29ddb2791f4dc6f9779ed5f1c18a7' }, "These inputs demonstrate how user input is handled. The ", h("code", { key: '5a9145c2d8517baff49e70fd4aeed1f38600ba7f' }, "smoothlyUserInput"), " event fires only when the user interacts with an input, not when its value is changed programmatically (such as by clicking the buttons above).", h("br", { key: '15459234d2bf75b83479ff0786a20d2433e2dec3' }), "Check the console to see the details of each ", h("code", { key: 'bc857f9996667580c4ba88a74eca429fbc0d9c83' }, "smoothlyUserInput"), " event.")), h("smoothly-button", { key: '66a1190b2266b0650ba087572545780f93d86ac0', color: "tertiary", onClick: () => (this.textIndex = this.increment(this.textIndex)) }, "Change text"), h("smoothly-input", { key: 'a8630cec4bbada0c7084172822b3eeef576066ce', looks: "border", name: "demo-user-input-text", value: this.textIndex === undefined ? "" : this.values[this.textIndex], onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, "Text input"), h("smoothly-button", { key: '74fe6cc20fa495f2d6c79d13bb016bc76cada1bc', onClick: () => (this.selectIndex = this.increment(this.selectIndex)), color: "tertiary" }, "Next select item"), h("smoothly-input-select", { key: '5f1ad8448db267de3fc98b820be7aca9b64c2a9e', looks: "border", name: "demo-user-input-select", onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, h("span", { key: '507fcecb4e27938be38144991221dfe3603c0667', slot: "label" }, "Select input"), this.values.map((value, index) => (h("smoothly-item", { value: index, selected: index == this.selectIndex }, value)))), h("smoothly-button", { key: '883f987123234566bdfd192ebd71605b078434ab', color: "tertiary", onClick: () => (this.checkboxChecked = !this.checkboxChecked) }, "Toggle checkbox"), h("smoothly-input-checkbox", { key: '26a326a43a44339392cca252cace5148c55305d9', looks: "border", name: "demo-user-input-checkbox", checked: this.checkboxChecked, onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, "Checkbox input"), h("smoothly-button", { key: '39dfbc581f8468c49969d5186c9a39304c8b805c', color: "tertiary", onClick: () => (this.radioIndex = this.increment(this.radioIndex)) }, "Next radio item"), h("smoothly-input-radio", { key: 'f26209ed69e401cacbf6ea0094c1e3c8c6640181', looks: "border", name: "demo-user-input-radio", onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, h("span", { key: '30b7f2d96d68bbeef6578e5c3fa07d5c56e8131e', slot: "label" }, "Radio input"), this.values.map((value, index) => (h("smoothly-input-radio-item", { value: value, selected: index == this.radioIndex }, value)))), h("smoothly-button", { key: '7d1e0c7d7175bae2453a2392e47a84e21faaa4ea', color: "tertiary", onClick: () => (this.rangeValue = this.increment(this.rangeValue)) }, "Next range value"), h("smoothly-input-range", { key: '0d90079afa3c0beaf9562af7b6db39c0a2795008', looks: "border", name: "demo-user-input-range", step: 1, min: 0, max: this.values.length, value: this.rangeValue, label: "Range Input", onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }), h("smoothly-button", { key: '2161ee4b978c2c37049cfc3d1bfd6ea5de6e16ea', color: "tertiary", onClick: () => (this.colorIndex = this.increment(this.colorIndex)) }, "Next color"), h("smoothly-input-color", { key: '271b3aaeba445473425259990276cf6803eeba55', looks: "border", name: "demo-user-input-color", value: typeof this.colorIndex == "number" ? this.colors[this.colorIndex] : undefined, onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, "Color input"), h("smoothly-button", { key: '5d21c601bdd2b921e6d6cd6596e871fe0ce0d486', color: "tertiary", onClick: () => (this.dateValue = this.dateValue ? isoly.Date.next(this.dateValue) : isoly.Date.now()) }, "Next day"), h("smoothly-input-date", { key: '176fda15f938f2b90134e186c75869db175621a3', looks: "border", name: "demo-user-input-date", value: this.dateValue, onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, "Date input"), h("smoothly-button", { key: '50ee6d7e90187eca79dea958e43fe4d38bb4e544', color: "tertiary", onClick: () => (this.datetimeValue = this.datetimeValue
|
|
14
14
|
? isoly.DateTime.nextDay(this.datetimeValue)
|
|
15
|
-
: isoly.DateTime.now()) }, "Next date time"), h("smoothly-input-date-time", { key: '
|
|
15
|
+
: isoly.DateTime.now()) }, "Next date time"), h("smoothly-input-date-time", { key: 'b688a44b6ae626c27a5e3e26d4c9be570d0f59f1', looks: "border", name: "demo-user-input-datetime", value: this.datetimeValue, onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, "Date time input"), h("smoothly-button", { key: '9172cca5a258985cda5f244d38d56b692ea75e00', color: "tertiary", onClick: () => (this.dateRangeValue = this.dateRangeValue
|
|
16
16
|
? { start: isoly.Date.next(this.dateRangeValue.start), end: isoly.Date.next(this.dateRangeValue.end) }
|
|
17
|
-
: { start: isoly.Date.now(), end: isoly.Date.next(isoly.Date.now(), 10) }) }, "Next date range"), h("smoothly-input-date-range", { key: '
|
|
17
|
+
: { start: isoly.Date.now(), end: isoly.Date.next(isoly.Date.now(), 10) }) }, "Next date range"), h("smoothly-input-date-range", { key: '4ee747fb66efa022a9e31fda59f4ca839e4b0c5d', looks: "border", name: "demo-user-input-daterange", start: (_a = this.dateRangeValue) === null || _a === void 0 ? void 0 : _a.start, end: (_b = this.dateRangeValue) === null || _b === void 0 ? void 0 : _b.end, onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, "Date range input")));
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "smoothly-input-demo-user-input"; }
|
|
20
20
|
static get encapsulation() { return "scoped"; }
|