smoothly 1.113.0 → 1.114.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/smoothly-app_98.cjs.entry.js +117 -95
- package/dist/cjs/smoothly-app_98.cjs.entry.js.map +1 -1
- package/dist/cjs/smoothly-input-checkbox-demo.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-submit.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-trigger-source.cjs.entry.js +1 -1
- package/dist/collection/components/icon/demo/index.js +25 -3
- package/dist/collection/components/icon/demo/index.js.map +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/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/components/{p-DdXfvS4U.js → p-1j2KmcfQ.js} +2 -2
- package/dist/components/{p-C519IJGa.js → p-4pGbxojU.js} +2 -2
- package/dist/components/{p-WzQNLGYx.js → p-67RlLkJb.js} +2 -2
- package/dist/components/{p-BDW8BGmy.js → p-6PsJb2Ez.js} +2 -2
- package/dist/components/{p-B8ljN4o0.js → p-AX8gOGUr.js} +2 -2
- package/dist/components/p-B0kZrKne.js +2 -0
- package/dist/components/p-B2MMqcTF.js +2 -0
- package/dist/components/{p-CDetFhB9.js → p-B6sHuEsq.js} +2 -2
- package/dist/components/{p-Bh2x2l2j.js → p-BEHgXDtQ.js} +2 -2
- package/dist/components/{p-Qf8o2d67.js → p-BFJL6rrU.js} +2 -2
- package/dist/components/p-BGBbdXaw.js +2 -0
- package/dist/components/{p-9Fc5vWzs.js → p-BGzrO9CQ.js} +2 -2
- package/dist/components/{p-CjAkXCwI.js → p-BHcHgI_e.js} +2 -2
- package/dist/components/{p-CLN-EYZz.js → p-BHsrC9Oh.js} +2 -2
- package/dist/components/{p-CjknknP6.js → p-BRoShuOu.js} +2 -2
- package/dist/components/{p-CGg8GrGq.js → p-BUa0wBSK.js} +2 -2
- package/dist/components/p-BXoBluZQ.js +2 -0
- package/dist/components/{p-jlska1pM.js → p-B_z5-Hf8.js} +2 -2
- package/dist/components/p-BanWK6rV.js +2 -0
- package/dist/components/p-Bes8H54c.js +2 -0
- package/dist/components/{p-JLn3QBuQ.js.map → p-Bes8H54c.js.map} +1 -1
- package/dist/components/{p-BznhH5yZ.js → p-BfwEfI7H.js} +2 -2
- package/dist/components/{p-BrrLEO2B.js → p-Bn7CZqdz.js} +2 -2
- package/dist/components/{p-DvF8zgEi.js → p-BpV6GXd7.js} +2 -2
- package/dist/components/{p-BEQ2yAjW.js → p-Bpc6uh0M.js} +2 -2
- package/dist/components/p-Bq5YEPPT.js +2 -0
- package/dist/components/p-Bq5YEPPT.js.map +1 -0
- package/dist/components/{p-CuC7MNAM.js → p-BulPH2Jo.js} +2 -2
- package/dist/components/{p-CXEfxOpA.js → p-C-zr_dP8.js} +2 -2
- package/dist/components/{p-MCxlBxSA.js → p-C02MtoAQ.js} +2 -2
- package/dist/components/{p-DxVl-YSW.js → p-C2xjUTYO.js} +2 -2
- package/dist/components/{p-JdwWRJjd.js → p-C6T0ZB2C.js} +2 -2
- package/dist/components/{p-MNhi5te8.js → p-CAgJrhiy.js} +2 -2
- package/dist/components/p-CApTrLt_.js +2 -0
- package/dist/components/{p-97N6vnZd.js → p-CClpvMw2.js} +2 -2
- package/dist/components/{p-C5JaWzfu.js → p-CFgT9iMG.js} +2 -2
- package/dist/components/{p-OfpR2_fh.js → p-CJEV2v84.js} +2 -2
- package/dist/components/p-CKlr_F9h.js +2 -0
- package/dist/components/{p-Cct10sTX.js → p-CL7fW_Oh.js} +2 -2
- package/dist/components/{p-DTOzpQD8.js → p-COK__8-d.js} +2 -2
- package/dist/components/{p-uCXQl-5J.js → p-CPnXAdGI.js} +2 -2
- package/dist/components/p-CSXWpZjy.js +2 -0
- package/dist/components/{p-fjRiTKvl.js → p-CTdXhHGF.js} +2 -2
- package/dist/components/{p-0vl7fnbi.js → p-CUdZx76u.js} +2 -2
- package/dist/components/{p-C0XPq5lI.js → p-CVNSeOlg.js} +2 -2
- package/dist/components/{p-Dt4cCJEp.js → p-CcXqouEO.js} +2 -2
- package/dist/components/p-CgCEK6Lc.js +2 -0
- package/dist/components/{p-uWmGtcyP.js.map → p-CgCEK6Lc.js.map} +1 -1
- package/dist/components/{p-DRiOEv4L.js → p-CmPHR3tf.js} +2 -2
- package/dist/components/{p-C-dGqk3e.js → p-CoJyQegK.js} +2 -2
- package/dist/components/p-CooymHn6.js +2 -0
- package/dist/components/p-CqMnH54Q.js +2 -0
- package/dist/components/p-CqSiLhUe.js +2 -0
- package/dist/components/{p-CbWiiNJL.js → p-CqXSfYre.js} +2 -2
- package/dist/components/{p-xbCL6ChL.js → p-CqyGm3oe.js} +2 -2
- package/dist/components/{p-Q-gVll-_.js → p-CrKwvG9J.js} +2 -2
- package/dist/components/{p-BMHv8WTp.js → p-CrkBYYf-.js} +2 -2
- package/dist/components/{p-B6W5V130.js → p-CtuuZV3u.js} +2 -2
- package/dist/components/p-Cv-uvD7X.js +2 -0
- package/dist/components/{p-BZJNdp6g.js → p-Cw_sHLuu.js} +2 -2
- package/dist/components/{p-DbS9bWfm.js → p-D-mAUrbR.js} +2 -2
- package/dist/components/{p-gJF_-tuy.js → p-D5WTwmc6.js} +2 -2
- package/dist/components/{p-DGxkSNZ-.js → p-D5dkLuTD.js} +2 -2
- package/dist/components/p-DGa_QPb9.js +2 -0
- package/dist/components/{p-eptsxAXs.js.map → p-DGa_QPb9.js.map} +1 -1
- package/dist/components/{p-DVbSVIVZ.js → p-DIf6-Fvg.js} +2 -2
- package/dist/components/{p-BpBeeNcM.js → p-DIhqNc1G.js} +2 -2
- package/dist/components/{p-CsHiDnB-.js → p-DLBMEh0f.js} +2 -2
- package/dist/components/{p-pYGmgv_e.js → p-DM3PMEgb.js} +2 -2
- package/dist/components/{p-D4LmYvoM.js → p-DS66Mn9S.js} +2 -2
- package/dist/components/p-DYNjCosy.js +2 -0
- package/dist/components/{p-OV_wRej-.js → p-D_uKY0yY.js} +2 -2
- package/dist/components/p-DkhX1qsg.js +2 -0
- package/dist/components/{p-DkxTx6nY.js → p-Dz8Bblye.js} +2 -2
- package/dist/components/{p-BqODWrES.js → p-He4KDK9-.js} +2 -2
- package/dist/components/{p-W-kaGeCx.js → p-N-UYdc5h.js} +2 -2
- package/dist/components/{p-oWil-NTX.js → p-NFd9Dxr1.js} +2 -2
- package/dist/components/{p-DyL_ilIk.js → p-NGbZCAH9.js} +2 -2
- package/dist/components/{p-DtoC1d2_.js → p-Qv-IgIvL.js} +2 -2
- package/dist/components/{p-7ReeDB-R.js → p-Ww5QjB3D.js} +2 -2
- package/dist/components/{p-CCzyYE1m.js → p-_o_lUhve.js} +2 -2
- package/dist/components/{p-B11YJh32.js → p-d26Fb7IS.js} +2 -2
- package/dist/components/{p-D4PyTfe4.js → p-dBpTpVs8.js} +2 -2
- package/dist/components/{p-DKir2dIt.js → p-fnKrPnzp.js} +2 -2
- package/dist/components/{p-V6FzDWfL.js → p-nFLcvugJ.js} +2 -2
- package/dist/components/{p-B_Tu52N5.js → p-qxJgmVrq.js} +2 -2
- package/dist/components/{p-B7ws0a8Z.js → p-xkRxEiC8.js} +2 -2
- package/dist/components/smoothly-app-demo.js +1 -1
- package/dist/components/smoothly-app-room.js +1 -1
- package/dist/components/smoothly-app.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-calendar.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.js +1 -1
- package/dist/components/smoothly-form-demo-all.js +1 -1
- package/dist/components/smoothly-form-demo-card.js +1 -1
- package/dist/components/smoothly-form-demo-controlled.js +1 -1
- package/dist/components/smoothly-form-demo-date-range.js +1 -1
- package/dist/components/smoothly-form-demo-date.js +1 -1
- package/dist/components/smoothly-form-demo-login.js +1 -1
- package/dist/components/smoothly-form-demo-pet.js +1 -1
- package/dist/components/smoothly-form-demo-prices.js +1 -1
- package/dist/components/smoothly-form-demo-schedule.js +1 -1
- package/dist/components/smoothly-form-demo-transparent.js +1 -1
- package/dist/components/smoothly-form-demo-typed.js +1 -1
- package/dist/components/smoothly-form-demo.js +1 -1
- package/dist/components/smoothly-form.js +1 -1
- package/dist/components/smoothly-icon-demo.js +1 -1
- package/dist/components/smoothly-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.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/smoothly-app_98.entry.js +117 -95
- package/dist/esm/smoothly-app_98.entry.js.map +1 -1
- package/dist/esm/smoothly-input-checkbox-demo.entry.js +1 -1
- package/dist/esm/smoothly-submit.entry.js +1 -1
- package/dist/esm/smoothly-trigger-sink.entry.js +1 -1
- package/dist/esm/smoothly-trigger-source.entry.js +1 -1
- package/dist/smoothly/p-7d6c72eb.entry.js +2 -0
- package/dist/smoothly/{p-118fd1b8.entry.js → p-94d091cd.entry.js} +2 -2
- package/dist/smoothly/{p-2cd32901.entry.js → p-be43737e.entry.js} +2 -2
- package/dist/smoothly/{p-baabb62e.entry.js → p-d4dad5a8.entry.js} +2 -2
- package/dist/smoothly/p-e7c5888e.entry.js +2 -0
- package/dist/smoothly/p-e7c5888e.entry.js.map +1 -0
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/dist/types/components/icon/demo/index.d.ts +2 -0
- package/package.json +1 -1
- package/dist/components/p-BdqxED0P.js +0 -2
- package/dist/components/p-BnKGlfV9.js +0 -2
- package/dist/components/p-Bufbdh4o.js +0 -2
- package/dist/components/p-Bufbdh4o.js.map +0 -1
- package/dist/components/p-BxsOj_LX.js +0 -2
- package/dist/components/p-CMEyMMZz.js +0 -2
- package/dist/components/p-COTO4dlW.js +0 -2
- package/dist/components/p-CZGfvbsC.js +0 -2
- package/dist/components/p-Cgowjgod.js +0 -2
- package/dist/components/p-Cw-_pWl-.js +0 -2
- package/dist/components/p-D4fagxgG.js +0 -2
- package/dist/components/p-D8jJZbTy.js +0 -2
- package/dist/components/p-JB57brc4.js +0 -2
- package/dist/components/p-JLn3QBuQ.js +0 -2
- package/dist/components/p-eptsxAXs.js +0 -2
- package/dist/components/p-h1R5xtdy.js +0 -2
- package/dist/components/p-hcVaU3nW.js +0 -2
- package/dist/components/p-rRkypR5s.js +0 -2
- package/dist/components/p-uWmGtcyP.js +0 -2
- package/dist/smoothly/p-2fbd48bb.entry.js +0 -2
- package/dist/smoothly/p-d2f00811.entry.js +0 -2
- package/dist/smoothly/p-d2f00811.entry.js.map +0 -1
- /package/dist/components/{p-DdXfvS4U.js.map → p-1j2KmcfQ.js.map} +0 -0
- /package/dist/components/{p-C519IJGa.js.map → p-4pGbxojU.js.map} +0 -0
- /package/dist/components/{p-WzQNLGYx.js.map → p-67RlLkJb.js.map} +0 -0
- /package/dist/components/{p-BDW8BGmy.js.map → p-6PsJb2Ez.js.map} +0 -0
- /package/dist/components/{p-B8ljN4o0.js.map → p-AX8gOGUr.js.map} +0 -0
- /package/dist/components/{p-JB57brc4.js.map → p-B0kZrKne.js.map} +0 -0
- /package/dist/components/{p-Cw-_pWl-.js.map → p-B2MMqcTF.js.map} +0 -0
- /package/dist/components/{p-CDetFhB9.js.map → p-B6sHuEsq.js.map} +0 -0
- /package/dist/components/{p-Bh2x2l2j.js.map → p-BEHgXDtQ.js.map} +0 -0
- /package/dist/components/{p-Qf8o2d67.js.map → p-BFJL6rrU.js.map} +0 -0
- /package/dist/components/{p-h1R5xtdy.js.map → p-BGBbdXaw.js.map} +0 -0
- /package/dist/components/{p-9Fc5vWzs.js.map → p-BGzrO9CQ.js.map} +0 -0
- /package/dist/components/{p-CjAkXCwI.js.map → p-BHcHgI_e.js.map} +0 -0
- /package/dist/components/{p-CLN-EYZz.js.map → p-BHsrC9Oh.js.map} +0 -0
- /package/dist/components/{p-CjknknP6.js.map → p-BRoShuOu.js.map} +0 -0
- /package/dist/components/{p-CGg8GrGq.js.map → p-BUa0wBSK.js.map} +0 -0
- /package/dist/components/{p-hcVaU3nW.js.map → p-BXoBluZQ.js.map} +0 -0
- /package/dist/components/{p-jlska1pM.js.map → p-B_z5-Hf8.js.map} +0 -0
- /package/dist/components/{p-BnKGlfV9.js.map → p-BanWK6rV.js.map} +0 -0
- /package/dist/components/{p-BznhH5yZ.js.map → p-BfwEfI7H.js.map} +0 -0
- /package/dist/components/{p-BrrLEO2B.js.map → p-Bn7CZqdz.js.map} +0 -0
- /package/dist/components/{p-DvF8zgEi.js.map → p-BpV6GXd7.js.map} +0 -0
- /package/dist/components/{p-BEQ2yAjW.js.map → p-Bpc6uh0M.js.map} +0 -0
- /package/dist/components/{p-CuC7MNAM.js.map → p-BulPH2Jo.js.map} +0 -0
- /package/dist/components/{p-CXEfxOpA.js.map → p-C-zr_dP8.js.map} +0 -0
- /package/dist/components/{p-MCxlBxSA.js.map → p-C02MtoAQ.js.map} +0 -0
- /package/dist/components/{p-DxVl-YSW.js.map → p-C2xjUTYO.js.map} +0 -0
- /package/dist/components/{p-JdwWRJjd.js.map → p-C6T0ZB2C.js.map} +0 -0
- /package/dist/components/{p-MNhi5te8.js.map → p-CAgJrhiy.js.map} +0 -0
- /package/dist/components/{p-BxsOj_LX.js.map → p-CApTrLt_.js.map} +0 -0
- /package/dist/components/{p-97N6vnZd.js.map → p-CClpvMw2.js.map} +0 -0
- /package/dist/components/{p-C5JaWzfu.js.map → p-CFgT9iMG.js.map} +0 -0
- /package/dist/components/{p-OfpR2_fh.js.map → p-CJEV2v84.js.map} +0 -0
- /package/dist/components/{p-COTO4dlW.js.map → p-CKlr_F9h.js.map} +0 -0
- /package/dist/components/{p-Cct10sTX.js.map → p-CL7fW_Oh.js.map} +0 -0
- /package/dist/components/{p-DTOzpQD8.js.map → p-COK__8-d.js.map} +0 -0
- /package/dist/components/{p-uCXQl-5J.js.map → p-CPnXAdGI.js.map} +0 -0
- /package/dist/components/{p-BdqxED0P.js.map → p-CSXWpZjy.js.map} +0 -0
- /package/dist/components/{p-fjRiTKvl.js.map → p-CTdXhHGF.js.map} +0 -0
- /package/dist/components/{p-0vl7fnbi.js.map → p-CUdZx76u.js.map} +0 -0
- /package/dist/components/{p-C0XPq5lI.js.map → p-CVNSeOlg.js.map} +0 -0
- /package/dist/components/{p-Dt4cCJEp.js.map → p-CcXqouEO.js.map} +0 -0
- /package/dist/components/{p-DRiOEv4L.js.map → p-CmPHR3tf.js.map} +0 -0
- /package/dist/components/{p-C-dGqk3e.js.map → p-CoJyQegK.js.map} +0 -0
- /package/dist/components/{p-Cgowjgod.js.map → p-CooymHn6.js.map} +0 -0
- /package/dist/components/{p-rRkypR5s.js.map → p-CqMnH54Q.js.map} +0 -0
- /package/dist/components/{p-D8jJZbTy.js.map → p-CqSiLhUe.js.map} +0 -0
- /package/dist/components/{p-CbWiiNJL.js.map → p-CqXSfYre.js.map} +0 -0
- /package/dist/components/{p-xbCL6ChL.js.map → p-CqyGm3oe.js.map} +0 -0
- /package/dist/components/{p-Q-gVll-_.js.map → p-CrKwvG9J.js.map} +0 -0
- /package/dist/components/{p-BMHv8WTp.js.map → p-CrkBYYf-.js.map} +0 -0
- /package/dist/components/{p-B6W5V130.js.map → p-CtuuZV3u.js.map} +0 -0
- /package/dist/components/{p-CZGfvbsC.js.map → p-Cv-uvD7X.js.map} +0 -0
- /package/dist/components/{p-BZJNdp6g.js.map → p-Cw_sHLuu.js.map} +0 -0
- /package/dist/components/{p-DbS9bWfm.js.map → p-D-mAUrbR.js.map} +0 -0
- /package/dist/components/{p-gJF_-tuy.js.map → p-D5WTwmc6.js.map} +0 -0
- /package/dist/components/{p-DGxkSNZ-.js.map → p-D5dkLuTD.js.map} +0 -0
- /package/dist/components/{p-DVbSVIVZ.js.map → p-DIf6-Fvg.js.map} +0 -0
- /package/dist/components/{p-BpBeeNcM.js.map → p-DIhqNc1G.js.map} +0 -0
- /package/dist/components/{p-CsHiDnB-.js.map → p-DLBMEh0f.js.map} +0 -0
- /package/dist/components/{p-pYGmgv_e.js.map → p-DM3PMEgb.js.map} +0 -0
- /package/dist/components/{p-D4LmYvoM.js.map → p-DS66Mn9S.js.map} +0 -0
- /package/dist/components/{p-CMEyMMZz.js.map → p-DYNjCosy.js.map} +0 -0
- /package/dist/components/{p-OV_wRej-.js.map → p-D_uKY0yY.js.map} +0 -0
- /package/dist/components/{p-D4fagxgG.js.map → p-DkhX1qsg.js.map} +0 -0
- /package/dist/components/{p-DkxTx6nY.js.map → p-Dz8Bblye.js.map} +0 -0
- /package/dist/components/{p-BqODWrES.js.map → p-He4KDK9-.js.map} +0 -0
- /package/dist/components/{p-W-kaGeCx.js.map → p-N-UYdc5h.js.map} +0 -0
- /package/dist/components/{p-oWil-NTX.js.map → p-NFd9Dxr1.js.map} +0 -0
- /package/dist/components/{p-DyL_ilIk.js.map → p-NGbZCAH9.js.map} +0 -0
- /package/dist/components/{p-DtoC1d2_.js.map → p-Qv-IgIvL.js.map} +0 -0
- /package/dist/components/{p-7ReeDB-R.js.map → p-Ww5QjB3D.js.map} +0 -0
- /package/dist/components/{p-CCzyYE1m.js.map → p-_o_lUhve.js.map} +0 -0
- /package/dist/components/{p-B11YJh32.js.map → p-d26Fb7IS.js.map} +0 -0
- /package/dist/components/{p-D4PyTfe4.js.map → p-dBpTpVs8.js.map} +0 -0
- /package/dist/components/{p-DKir2dIt.js.map → p-fnKrPnzp.js.map} +0 -0
- /package/dist/components/{p-V6FzDWfL.js.map → p-nFLcvugJ.js.map} +0 -0
- /package/dist/components/{p-B_Tu52N5.js.map → p-qxJgmVrq.js.map} +0 -0
- /package/dist/components/{p-B7ws0a8Z.js.map → p-xkRxEiC8.js.map} +0 -0
- /package/dist/smoothly/{p-2fbd48bb.entry.js.map → p-7d6c72eb.entry.js.map} +0 -0
- /package/dist/smoothly/{p-118fd1b8.entry.js.map → p-94d091cd.entry.js.map} +0 -0
- /package/dist/smoothly/{p-2cd32901.entry.js.map → p-be43737e.entry.js.map} +0 -0
- /package/dist/smoothly/{p-baabb62e.entry.js.map → p-d4dad5a8.entry.js.map} +0 -0
|
@@ -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: '040a57805b385a247d202b5e955a7f8eba616010' }, h("h2", { key: 'f09dbab032e5a1236b6917adf732333decd4f304' }, "radio input - column direction"), h("smoothly-input-radio", { key: 'b433eda6893f6ace20301795321958f684f47d57', name: "radio", direction: "column", onSmoothlyInput: e => (this.selected = e.detail.radio) }, h("smoothly-input-radio-item", { key: '2d9b7a2edea9639f1edebc73c8caca090765ce61', value: "1" }, h("span", { key: 'e42fdc99169da6f957f0f7d701f07e28ec3b6f75' }, "Option 1"), h("span", { key: 'ffdf79cbc7f98435a01a3a1a6c30c307741a566c', 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: '0d9d95f1375bca503b1aade350a87119bb329c09', value: "2", selected: true }, h("span", { key: 'dc6d2e6888deb8bf32a626badc8a01d1daeb960d' }, "Option 2"), h("div", { key: '5ab436788acba5bcf290faf1551513a1f1b493b6', slot: "detail" }, h("smoothly-tabs", { key: '097716e9e682a11b5eff9880e94c036a01344de4' }, h("smoothly-tab", { key: '4b4117fbeb2aec641c279690438452f1e0ff15d6', label: "Dog", name: "dog", open: true }, "\uD83D\uDC15"), h("smoothly-tab", { key: '4cb637cfdb67a7721dc13348cfe830595d47027b', label: "Cat", name: "cat" }, "\uD83D\uDC08"), h("smoothly-tab", { key: '1c4873e9b744831a602192bb520236b440d8b547', 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: 'd2a4b3a8e5675b4fe394f551166318902c09ea84' }, h("div", { key: '67b40a89a1cbf17d511c56d966a9173e02a9c92e', class: "description" }, h("h2", { key: 'fdd28a17423a0da06745fc2aad06e1acbde54be4' }, "Input Standard"), h("p", { key: 'e9e84428aa2ebe4ea0b1d04410629ed85de1d329' }, "Height of input should be ", h("code", { key: 'faccb606910cbe8418c176efd45ff05eafd0ffc8' }, "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: 'f8770ba1128622c8b40be48cd26214ed162035e3', looks: "grid", onSmoothlyFormInput: (e) => (this.options = e.detail) }, h("smoothly-input-select", { key: '82ce7ab02f341b560e6347164a19c9273580ed18', name: "color" }, h("span", { key: '4062538c8b4b25d9a1cc1f625df0313383990193', slot: "label" }, "Color"), Color.values.map(c => (h("smoothly-item", { value: c }, h("span", { color: c }, c)))), h("smoothly-input-clear", { key: '659e785d9f5e4043fcf15dc457dde4dc48676215', slot: "end" })), h("smoothly-input-select", { key: '656b68d41b449cde70e4d86b252dc70d994f63ce', name: "looks" }, h("span", { key: '39ef79d28d1dbec7a678b93fa031615457560351', slot: "label" }, "Looks"), Looks.values.map(l => (h("smoothly-item", { value: l }, l)))), h("smoothly-input-range", { key: '3ae946ee3c4cdcf5b698b0456499c4807e53b257', label: "Border Radius (rem)", name: "borderRadius", min: 0, max: 2, step: 0.25 }), h("smoothly-input-checkbox", { key: 'f73361b452096abbda4ebc6908371c397c0a9fd4', name: "readonly" }, "Readonly"), h("smoothly-input-checkbox", { key: '7a4762f9122be37ce57099515e0d9fac7c18df94', name: "disabled" }, "Disabled"), h("smoothly-input-checkbox", { key: '0ac401e2b9e2525dfc899eda4957a61b99947758', name: "invalid" }, "Invalid"), h("smoothly-input", { key: '2ba7f175d8aeef4301598f3c3da5d436a17c45c7', name: "errorMessage", value: "This is not a valid value" }, "Error Message"), h("smoothly-input-checkbox", { key: '5844e0ab1cc53ecd0691d585fa4461f89c9994bc', name: "showLabel", checked: true }, "Show Label"), h("smoothly-input", { key: '6d46add6231e87d95dd8aea7bd91181c47a56490', name: "placeholder" }, "Placeholder"), h("smoothly-input-checkbox", { key: '43af9a815da45bc2ce0e54e8442e3a8ab1bc534c', name: "alwaysShowGuide" }, "Always Show Guide (for date inputs)"))), h("div", { key: 'cf6750528c66ee0c0b9e97478de77514cbd39045', class: "input-wrapper", style: { "--smoothly-input-border-radius": `${this.options.borderRadius}rem` } }, h("div", { key: '4fbc0ba2b6b142f6c4ac8379157b2953d88cb062', class: "width" }, "width: 100%"), h("div", { key: '7fb5a3a68f6ed4d14bcab9758a8de0a95de7e80c', class: "left-padding" }, "padding-left: 0.5rem"), h("smoothly-input", { key: '3d379565ac3335e2ef39e7d616b082fd5247619e', 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: '7d37fa391bb86cf43fe84db4826d8394c04d8af9' }, "Text"), h("smoothly-input-clear", { key: '5c5b48cd36f13a3b50fc49809edb17148993a004', slot: "end" })), h("div", { key: 'c666bcf200205fbe3d4e045ee69530b217d4845d', class: "height" }), h("smoothly-input-select", { key: '9a2bb30a995830fecbc0dc7f9df2895470ac8e3b', 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: 'd91f28c2c80c6b95703b9476c8d07b64387f989a', slot: "label" }, "Select"), h("smoothly-item", { key: '61aeaf05ac730b30d7fb29b749dcf6ba59932c9c', value: "1" }, "January"), h("smoothly-item", { key: '131052c2a6ad24d5c93cda5352dd16873e81fc81', value: "2" }, "February"), h("smoothly-item", { key: '599a8b88c0abd24346856c8c653c1adc69d432e0', value: "3" }, "March"), h("smoothly-item", { key: 'e8933cb5d5af0fbb4d898a919a1d0ccc26584c11', value: "4" }, "April"), h("smoothly-item", { key: 'eb7b7c07dd9fcb31eba2b5a8da79da32e14f2c67', value: "5" }, "May"), h("smoothly-item", { key: '48e70f3d930689aed016ac28241e6f8d253f61db', value: "6" }, "June"), h("smoothly-item", { key: '738b7ad9d5286f6afc8ad033d9cbb9e066c4c861', value: "7" }, "July"), h("smoothly-item", { key: 'aad0e64de6bf35b315fb3472c8cad86e3fb195d9', value: "8" }, "August"), h("smoothly-item", { key: '81c533fd3eeaa48ae7917f6064a17724b101b650', value: "9" }, "September"), h("smoothly-item", { key: '69f567c427f80cee633f72ac4dd06a4d4b4a27c7', value: "10" }, "October"), h("smoothly-item", { key: '0d87e5fa94a04a60b527d7a5f1670b1788bd4339', value: "11" }, "November"), h("smoothly-item", { key: '34b1425da536971ffde20fbab5b96c9d23f71fe3', value: "12" }, "December"), h("smoothly-input-clear", { key: 'd16aad09e1f53274a0c6d23c071f2abe1157ce4f', slot: "end" })), h("div", { key: '51931a5ed8ec83b8937cd7899a303569cf8bf7cd', class: "height" }), h("smoothly-input-checkbox", { key: '20d5a02ab8d8f1f709b030a0258598de61250555', 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: 'd36312b0bb0393568cf05e51eea4cfa057dce607', slot: "end" })), h("div", { key: 'c1353494563098fc08fe2c93cceeb80d56a1aa51', class: "height" }), h("smoothly-input-radio", { key: '84976dd68dfe5534f28c02395d2476593bcb3bcd', 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: 'fd87d0cfc047bcaf959908191d798ea774daca25', slot: "label" }, "Radio"), h("smoothly-input-radio-item", { key: '4029068fb2fea98f2b5c19ec87e8dea13cf22365', value: "first" }, "Label 1"), h("smoothly-input-radio-item", { key: '1ab27866d3db524f52da4f76a3abb5eff1deeed3', selected: true, value: "second" }, "Label 2"), h("smoothly-input-radio-item", { key: '9415dd464250d9af68a54de51a9e6b15234f8faf', value: "third" }, "Label 3"), h("smoothly-input-clear", { key: '8ea8291c65ca421b0044fe3e0da4127f9fac0c40', slot: "end" })), h("div", { key: 'fa351e941ec780e05a037c2c1948dabd8ef371e8', class: "height" }), h("smoothly-input-file", { key: 'b45c3bf3c7b5e9e8408a6cecacdda30c7ce392df', 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: '7e81668b6bf2a3f72238d18d02c21f19bf6c2756', slot: "label" }, "File"), h("smoothly-input-clear", { key: '4ead6310cb554351b45699cbbc6d84804d26611b', slot: "end" })), h("div", { key: '73cd3845233377057ff16a18b9ad85eb4e4be30f', class: "height" }), h("smoothly-input-range", { key: 'ec0f42a5ee5fddd52fb5c0d283f9add183e429fd', 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: '49536b00574ad5e0cba72b9a8fdeee599435a886', slot: "end" })), h("div", { key: 'cc112e755aeb5724b6e4bc511ed1b4e32b394d08', class: "height" }), h("smoothly-input-color", { key: 'dbd6daa2196f6ba316721ed338c0638d6c713e00', 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: '04197c11337298f86531d7ba52d67df221619051' }, "Color"), h("smoothly-input-clear", { key: '6489a29a796e8e443efdf27574df27e4e24111ee', slot: "end" })), h("div", { key: 'e48defb9f45eaa2f935b0108cf3ec6e331d4ecb2', class: "height" }), h("smoothly-input-date", { key: '0a5c51ecc51013f9572ed8cd8ef38f6d92bd4f5b', 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: '21f21c543ff1df34c50333fba2d1ca8377ea4e37' }, "Date"), h("smoothly-input-clear", { key: 'f8226e817b97c90070b649935ac70d6ba11f7b30', slot: "end" })), h("div", { key: '8920789228e2911822a6b822d1c8c37537a225e4', class: "height" }), h("smoothly-input-date-time", { key: '2e58e0e5f6370f7a4d0dd7f17c56718038167e6a', 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: '9ebc24b5b639628fd5f3d11a72500bcd6ae9ab0f', slot: "end" })), h("div", { key: 'dddb389df78c212ec451422436e3f0468f523065', class: "height" }), h("smoothly-input-date-range", { key: '76b7832bcf134165961c00e610180ee37b74968d', 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: '023a98551ba8d1b848665506fdad5282338a2d2e' }, "Date Range"), h("smoothly-input-clear", { key: '078a1ca386a3f814286b35fc0579573b8e4d64c3', slot: "end" })), h("div", { key: '32733c0b81a14c8a982c1607d5635d807894b2ae', 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: 'eab36e7674fb973f979c4aaed34abadae7576fe0' }, h("div", { key: '8225faa4114dc00127534d7a4400b1d9b23f4ae7' }, h("h2", { key: 'a6e84f195de0a08ef8ea173615663417db7cb4fb' }, "User Input Event"), h("p", { key: 'e6aad349cb3b67654e5eb4499aa0088367862ceb' }, "These inputs demonstrate how user input is handled. The ", h("code", { key: 'ca92dbe2b5834d176ee33651b5d4287ece6d585c' }, "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: '96cfdda6ccf73450ce38e886fbb26681c17667ea' }), "Check the console to see the details of each ", h("code", { key: '13af94b46758e72141f7ba0da21f93f2ef70a052' }, "smoothlyUserInput"), " event.")), h("smoothly-button", { key: '5f3eadf13479a585b26f63bbd14d5a06d4efd82e', color: "tertiary", onClick: () => (this.textIndex = this.increment(this.textIndex)) }, "Change text"), h("smoothly-input", { key: '18606ed8401bc0a7a9146ab7b8da848b9f155971', 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: '89d848edf493f23af859f999c62788cd58f89b9e', onClick: () => (this.selectIndex = this.increment(this.selectIndex)), color: "tertiary" }, "Next select item"), h("smoothly-input-select", { key: '223ebf76fcfd12bb61cf78cdafb7cc2a6f9ab95a', looks: "border", name: "demo-user-input-select", onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, h("span", { key: '1bb540b065fdf0f3571482e0c8a3417a4d9be70a', slot: "label" }, "Select input"), this.values.map((value, index) => (h("smoothly-item", { value: index, selected: index == this.selectIndex }, value)))), h("smoothly-button", { key: 'c8759cf4029e8910db9eca83c856bbcd203721ae', color: "tertiary", onClick: () => (this.checkboxChecked = !this.checkboxChecked) }, "Toggle checkbox"), h("smoothly-input-checkbox", { key: 'a613696a09d76a9410d66e4fc51833db30a8acd6', 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: '552e86df8bca79435198c9d18258d89471c17f2f', color: "tertiary", onClick: () => (this.radioIndex = this.increment(this.radioIndex)) }, "Next radio item"), h("smoothly-input-radio", { key: '83d0d370cfb15750bfec897741493bf51352409e', looks: "border", name: "demo-user-input-radio", onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, h("span", { key: '205e6dc2498d0ae6b95a119aba4d19c75cefabea', 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: '13bc5121320b0982bdcf65c0ea5454841783ef24', color: "tertiary", onClick: () => (this.rangeValue = this.increment(this.rangeValue)) }, "Next range value"), h("smoothly-input-range", { key: 'c6097f9351a54aefda3b9f51694c71d4faa803a5', 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: '5356c9d3d1ebd1edc281d0802deee76cd098ed7d', color: "tertiary", onClick: () => (this.colorIndex = this.increment(this.colorIndex)) }, "Next color"), h("smoothly-input-color", { key: '18d6651482ef0254f9c1dd1cdefd2127c4d67dc1', 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: '3da5ff4f15a19d39a1537fc0f3f738bc840b17c4', color: "tertiary", onClick: () => (this.dateValue = this.dateValue ? isoly.Date.next(this.dateValue) : isoly.Date.now()) }, "Next day"), h("smoothly-input-date", { key: 'c20a4edf0546a89bcbd55a1f67840ffb6ca6a98a', 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: '0ab185dd19fabc2ded8387b5d08b1580d47726c9', 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: '402a80aa4b3b25a460d2acec85964446350501fa', 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: '89b12f184e5f3c2953b3882fca43dbea273f5178', 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: '7c2c3867bb8465daf5da9496c70e717bdfd2616c', 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"; }
|
|
@@ -24,7 +24,7 @@ export class SmoothlyInputEdit {
|
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
26
|
var _a;
|
|
27
|
-
return (h(Host, { key: '
|
|
27
|
+
return (h(Host, { key: '3fa8bd92acf77d574acfe3bd36d305e043376237', title: this.tooltip }, h("smoothly-button", { key: '758777db051b7ed16e62e11c01c74d718cfefea7', 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: '15d7fef684aa41d04a1a5e11ffa18480ae6aeee8' }), h("smoothly-icon", { key: 'd47e6290709546c917d2b15ad60e30fa1df11410', class: "default", name: "create-outline", size: "tiny" }))));
|
|
28
28
|
}
|
|
29
29
|
static get is() { return "smoothly-input-edit"; }
|
|
30
30
|
static get encapsulation() { return "scoped"; }
|
|
@@ -104,7 +104,7 @@ export class SmoothlyInputFile {
|
|
|
104
104
|
}
|
|
105
105
|
render() {
|
|
106
106
|
var _a, _b, _c;
|
|
107
|
-
return (h(Host, { key: '
|
|
107
|
+
return (h(Host, { key: '92ab54c45c171373ca1202527ac452358b1c8de8', class: { dragging: this.dragging, "has-value": !!this.value }, tabindex: this.disabled ? undefined : 0, onClick: (e) => this.clickHandler(e), onDragOver: (e) => this.dragOverHandler(e), onDragEnter: (e) => this.dragEnterHandler(e) }, h("label", { key: 'e7865d1f743acdb3f262f812e47a7aa33e7f455b' }, h("slot", { key: 'ea009dfb71d55f4de0214c0188abdeca97cfb126', name: "label" })), h("div", { key: '9875aef8a3075c1c93450da31789c263279d2104', class: "input" }, h("smoothly-button", { key: '70c1985a28a92b0df083fcf89caa8bc6798f94ee', disabled: this.disabled, type: "button", color: this.color, fill: "clear", size: "flexible" }, h("slot", { key: '4b3eb404ef91e9ed042e2fd99b22e012a7f07780', name: "button" })), h("span", { key: 'e41716ae95c78739678c28d50d9ba65f830384fd' }, (_b = (_a = this.value) === null || _a === void 0 ? void 0 : _a.name) !== null && _b !== void 0 ? _b : this.placeholder), h("div", { key: '89f1c26d6d4d7bb4cc52b8897ee30bd1b36717d8', class: "drag-overlay", onDrop: e => this.dropHandler(e), onDragLeave: e => this.dragLeaveHandler(e) }, h("smoothly-icon", { key: 'b88edd52dcbe45bc147a152cb8550de5487dfd70', name: "document-attach-outline" })), h("input", { key: '44aed5773dc5425b492ef090685df3575a1358e6', ref: element => (this.input = element), type: "file", disabled: this.disabled, capture: this.camera == "back" ? "environment" : "user", accept: (_c = this.accept) !== null && _c !== void 0 ? _c : (!this.camera ? undefined : "image/jpeg"), files: this.files, onInput: e => this.inputHandler(e) })), h("span", { key: '4a24ad4127a02b97b04369952822aa354509ca0d', onClick: (e) => e.stopPropagation() }, h("slot", { key: '70189241ca504152198d2c20c68bdfc0f31eb71b', name: "end" }))));
|
|
108
108
|
}
|
|
109
109
|
static get is() { return "smoothly-input-file"; }
|
|
110
110
|
static get encapsulation() { return "scoped"; }
|
|
@@ -134,7 +134,7 @@ export class SmoothlyInput {
|
|
|
134
134
|
}
|
|
135
135
|
render() {
|
|
136
136
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
137
|
-
return (h(Host, { key: '
|
|
137
|
+
return (h(Host, { key: 'c5d524d1f3afd855836d16272830f435bbea828a', class: { "has-value": ((_a = this.state) === null || _a === void 0 ? void 0 : _a.value) != undefined && ((_b = this.state) === null || _b === void 0 ? void 0 : _b.value) != "" }, onclick: () => { var _a; return (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.focus(); } }, h("slot", { key: '99bf0a11a07a3aa1622cacb8b16979a08f0ab4ec', name: "start" }), h("div", { key: '230008efd3abd69c42442777c0b2091b8499f42e', class: "smoothly-input-container" }, h("div", { key: '37fbfc2747d5c22d1345df109fa74438261f97d7', class: "guide" }, h("div", { key: 'ae7ef0e2563c7058305457d3b45ee54ad0d8f575', class: "value" }, (_c = this.state) === null || _c === void 0 ? void 0 : _c.value), h("div", { key: '3149dc1dc1104e1f7958d71660c634bc9d1532d0', class: "remainder" }, (_d = this.state) === null || _d === void 0 ? void 0 : _d.remainder)), h("input", { key: 'c4205c491d6482072762c8cac4f8b9eb06e8c09b', ref: (el) => (this.inputElement = el), color: this.color, name: this.name, type: (_e = this.state) === null || _e === void 0 ? void 0 : _e.type, inputmode: (_f = this.state) === null || _f === void 0 ? void 0 : _f.inputmode, placeholder: this.placeholder, required: this.required, autocomplete: (_g = this.autocomplete) !== null && _g !== void 0 ? _g : (_h = this.state) === null || _h === void 0 ? void 0 : _h.autocomplete, disabled: this.disabled, readOnly: this.readonly, pattern: ((_j = this.state) === null || _j === void 0 ? void 0 : _j.pattern) && ((_k = this.state) === null || _k === void 0 ? void 0 : _k.pattern.source), onKeyDown: async (event) => {
|
|
138
138
|
this.state = this.stateHandler.onKeyDown(event, this.state);
|
|
139
139
|
if (!this.readonly && !this.disabled) {
|
|
140
140
|
this.smoothlyKeydown.emit(Key.create(this.name, event));
|
|
@@ -150,7 +150,7 @@ export class SmoothlyInput {
|
|
|
150
150
|
this.smoothlyUserInput.emit({ name: this.name, value: this.stateHandler.getValue(this.state) });
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
|
-
} }), h("label", { key: '
|
|
153
|
+
} }), h("label", { key: '009823ce38acac92179f491d72cb504d70f09280', class: "label float-on-focus", htmlFor: this.name }, h("slot", { key: 'b1a6fee2719d4cf37fa73460a3ce42ca40e7ba4b' }))), this.copyable && this.value && (h("span", { key: '575ba5bf3d4fd4bfcc1766e8bed17fb918c15db1', class: "copyable" }, h("small", { key: 'cfcca12301172ebf57db536e4b82faa1f7d430c4' }, this.copied ? "Copied!" : "Copy"), h("smoothly-icon", { key: 'bc941fd7e23670f3232eb29f00124ce94ef201eb', name: "copy-outline", size: "small", onClick: () => this.copyText(this.value), onMouseLeave: () => (this.copied = false) }))), h("smoothly-icon", { key: '87bceaa7c79365c97b4757637dee596a3757e8b7', class: "smoothly-invalid", name: "alert-circle", size: "small", tooltip: this.errorMessage }), h("slot", { key: '39251aaac3bdd727fbfaf16eb79048d2a29231e6', name: "end" })));
|
|
154
154
|
}
|
|
155
155
|
static get is() { return "smoothly-input"; }
|
|
156
156
|
static get encapsulation() { return "scoped"; }
|
|
@@ -107,21 +107,21 @@ export class SmoothlyInputMonth {
|
|
|
107
107
|
}
|
|
108
108
|
render() {
|
|
109
109
|
var _a, _b;
|
|
110
|
-
return (h(Host, { key: '
|
|
110
|
+
return (h(Host, { key: '28204b265ebea6c0cbb757b8cc4a6a1e01e3b74c' }, h("smoothly-icon", { key: 'f4c14f7bf0825b0baede2c01ff097482ec9d75f5', name: "caret-back-outline", size: "tiny", color: this.color, fill: "default", class: {
|
|
111
111
|
disabled: this.readonly || !this.allowPreviousMonth,
|
|
112
|
-
}, onClick: () => this.allowPreviousMonth && this.adjustMonth(-1) }), h("smoothly-input-select", { key: '
|
|
112
|
+
}, onClick: () => this.allowPreviousMonth && this.adjustMonth(-1) }), h("smoothly-input-select", { key: '08a0e79d5558899bbc60d20b9a3e8b13bd736bed', ref: e => (this.year = e), name: `${this.name}-year`, readonly: this.readonly, menuHeight: "5.5items", required: true, ordered: true, inCalendar: this.inCalendar, showLabel: this.showLabel, onSmoothlyInput: e => this.inputHandler(e), onSmoothlyUserInput: e => {
|
|
113
113
|
const month = e.detail.value;
|
|
114
114
|
if (month && isoly.Date.is(month)) {
|
|
115
115
|
const value = isoly.Date.firstOfMonth(month);
|
|
116
116
|
this.smoothlyUserInput.emit({ name: this.name, value });
|
|
117
117
|
}
|
|
118
|
-
}, searchDisabled: true }, h("div", { key: '
|
|
118
|
+
}, searchDisabled: true }, h("div", { key: 'fe85ea22cbf1dda9cbae9ba96b2d6e45343c9a31', slot: "label" }, h("slot", { key: '1f0e5aef19949285791558528dac50ada4cb1f32', name: "year-label" })), generate.years((_a = this.value) !== null && _a !== void 0 ? _a : isoly.Date.now(), this.min, this.max).map(year => (h("smoothly-item", { key: year.date, value: year.date, selected: year.selected || this.value == year.date }, year.name)))), h("smoothly-input-select", { key: 'a5718197e3389df6c5d175ecf362826e5a6dafad', ref: e => (this.month = e), name: `${this.name}-month`, readonly: this.readonly, color: this.color, looks: this.looks, menuHeight: "5.5items", required: true, ordered: true, inCalendar: this.inCalendar, showLabel: this.showLabel, onSmoothlyInput: e => this.inputHandler(e), onSmoothlyUserInput: e => {
|
|
119
119
|
const year = e.detail.value;
|
|
120
120
|
if (year && isoly.Date.is(year)) {
|
|
121
121
|
const value = isoly.Date.firstOfMonth(year);
|
|
122
122
|
this.smoothlyUserInput.emit({ name: this.name, value });
|
|
123
123
|
}
|
|
124
|
-
}, searchDisabled: true }, h("div", { key: '
|
|
124
|
+
}, searchDisabled: true }, h("div", { key: 'd4d00cd1968bf5766fee52de789f9fe983730210', slot: "label" }, h("slot", { key: '1b0a796b6cb66e6c549cd6eaef2f281ef519816a', name: "month-label" })), generate.months((_b = this.value) !== null && _b !== void 0 ? _b : isoly.Date.now()).map(month => (h("smoothly-item", { key: month.date, value: month.date, selected: month.selected || this.value == month.date }, month.name)))), h("smoothly-icon", { key: 'dc499bc33e59e0f918194a7a4b3a61bcdd270600', name: "caret-forward-outline", size: "tiny", color: this.color, fill: "default", class: { disabled: this.readonly || !this.allowNextMonth }, onClick: () => this.allowNextMonth && this.adjustMonth(1) })));
|
|
125
125
|
}
|
|
126
126
|
static get is() { return "smoothly-input-month"; }
|
|
127
127
|
static get encapsulation() { return "scoped"; }
|
|
@@ -24,7 +24,7 @@ export class SmoothlyInputRadioItem {
|
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return (h(Host, { key: '
|
|
27
|
+
return (h(Host, { key: '548451e8afccb134004214398c0b040031bc9592', onClick: () => this.inputHandler(true) }, h("input", { key: '75518c6651b452bce6ec4f805555871bb503d032', name: this.name, type: "radio", checked: this.selected, disabled: this.disabled }), h("smoothly-icon", { key: '0edda6108f36a759d2bab5e188c4c336daaa1756', name: this.selected ? "checkmark-circle" : "ellipse-outline", size: "small", tooltip: "Select" }), h("label", { key: '0e909f5c587e643e61fb99c3b5458009591ac813' }, h("slot", { key: '026b2f86ba15cbff2b7fc4e2514b82cdf0d7941a' })), h("slot", { key: 'cc688d36199d3de40150f38763035593d96a1799', name: "detail" })));
|
|
28
28
|
}
|
|
29
29
|
static get is() { return "smoothly-input-radio-item"; }
|
|
30
30
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyInputRangeDemo {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '93085adc52dbed67cd824108eaaf64b3bda0fb6e' }, h("h2", { key: 'a91437c641e21986ad592c73f92a14234eddb9b9' }, "Range"), h("h3", { key: '5003225e9af30f278a7f37ccc1daab93df370e80' }, "Phone Number"), h("smoothly-input-range", { key: '5c790737cea0d76367f27072088ee92dec80a662', min: 700000000, max: 799999999, step: 1, label: "Phone Number" }), h("h3", { key: '6bff0c3ac7f529787a042a7b02256eae19ad5b4b' }, "Stars out of ten"), h("smoothly-input-range", { key: 'eaee03d21dc424fc65158b29a4a7d3b255209fd3', max: 10, step: 1, label: "Stars" }), h("h3", { key: 'f2124aaca6dccfa59cf65efbb9dfbecebf575740' }, "Percent"), h("smoothly-input-range", { key: 'ce14e10e75cf3320b2699021f99c5757b6598bbe', type: "percent", max: 1, step: 0.01, label: "Percent" }), h("h3", { key: 'a12635fed326ae754cef8e15aa8f728c0bea9639' }, "With icon at start and clear button"), h("smoothly-input-range", { key: 'f8050fdae3ff4e0be8f00914e6580d69df51c18b', step: 1, name: "range2", label: "Select" }, h("smoothly-icon", { key: '438d15ceb8cd3360ebc6394ee7aee2b0131ac808', name: "checkmark-circle", slot: "start" }), h("smoothly-input-clear", { key: '98dd0d35d727339290b76dfcf4348a846db22396', size: "icon", slot: "end" }))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-input-range-demo"; }
|
|
7
7
|
}
|
|
@@ -96,18 +96,18 @@ export class SmoothlyInputRange {
|
|
|
96
96
|
}
|
|
97
97
|
render() {
|
|
98
98
|
var _a, _b, _c;
|
|
99
|
-
return (h(Host, { key: '
|
|
99
|
+
return (h(Host, { key: 'db02e0bee4842a0dcce6ee6856758372481f2fb4', class: {
|
|
100
100
|
"output-side-right": this.outputSide === "right",
|
|
101
101
|
"show-label": this.outputSide === "left" && !!this.label,
|
|
102
|
-
} }, h("slot", { key: '
|
|
102
|
+
} }, h("slot", { key: '5bcbb8d839800fef403fc14fc981182f6ed9ae30', name: "start" }), h("div", { key: '26827d93b47f12eef2709aea32588c1ec6786337' }, h("label", { key: '20c1213e52d592773db4c68b2bfcfb721d62d364', htmlFor: this.name }, this.label), h("smoothly-input", { key: '5e0bdd6c0467690f2d91cc33f24e7f3710f4b063', ref: e => (this.input = e), looks: undefined, color: this.color, name: this.name, showLabel: this.outputSide === "left" && !!this.label, type: this.type, onSmoothlyInputLoad: async (e) => (e.stopPropagation(),
|
|
103
103
|
this.setValue(Input.Element.is(e.target) ? Number(await e.target.getValue()) : undefined)), onSmoothlyBlur: e => e.stopPropagation(), onSmoothlyInput: async (e) => {
|
|
104
104
|
e.stopPropagation();
|
|
105
105
|
this.setValue(Input.Element.is(e.target) ? Number(await e.target.getValue()) : undefined);
|
|
106
|
-
}, value: this.type == "percent" ? this.value : (_a = this.value) === null || _a === void 0 ? void 0 : _a.toString(), placeholder: this.outputSide === "right" ? "-" : undefined, readonly: this.readonly, disabled: this.disabled }, this.label), h("smoothly-display", { key: '
|
|
106
|
+
}, value: this.type == "percent" ? this.value : (_a = this.value) === null || _a === void 0 ? void 0 : _a.toString(), placeholder: this.outputSide === "right" ? "-" : undefined, readonly: this.readonly, disabled: this.disabled }, this.label), h("smoothly-display", { key: 'a5502d4adaff32f798bc8e8b198d8f5258ab27e3', label: (this.type == "percent" ? this.min * 100 : this.min).toString() }), h("input", { key: 'e2afaea01a569f8cafcbfa09dab6ad6551e76f07', name: this.name, part: "range", type: "range", min: this.min, max: this.max, step: (_b = this.step) !== null && _b !== void 0 ? _b : "any", disabled: this.readonly || this.disabled, onInput: event => {
|
|
107
107
|
event.stopPropagation();
|
|
108
108
|
this.setValue(event.target.valueAsNumber);
|
|
109
109
|
this.smoothlyUserInput.emit({ name: this.name, value: this.value });
|
|
110
|
-
}, value: (_c = this.value) !== null && _c !== void 0 ? _c : this.min }), h("smoothly-display", { key: '
|
|
110
|
+
}, value: (_c = this.value) !== null && _c !== void 0 ? _c : this.min }), h("smoothly-display", { key: '92c309c4224fe86c16b22445f2ef1ba4168306e8', label: (this.type == "percent" ? this.max * 100 : this.max).toString() })), h("slot", { key: 'f9373a748b2d160781543f267373f12c43dfd46b', name: "end" })));
|
|
111
111
|
}
|
|
112
112
|
static get is() { return "smoothly-input-range"; }
|
|
113
113
|
static get encapsulation() { return "scoped"; }
|
|
@@ -41,7 +41,7 @@ export class SmoothlyInputReset {
|
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
43
|
var _a;
|
|
44
|
-
return (h(Host, { key: '
|
|
44
|
+
return (h(Host, { key: '8be31b0878733c9af02d47f85fb2ce160d66f064', title: this.tooltip }, h("smoothly-button", { key: 'ffacca4558cfe1b94c3399ecbb4384ca6730c208', 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), onClick: event => this.clickHandler(event) }, h("slot", { key: 'a0b3a925b4062d14975cb3479f4cee3f40de7af7' }), h("smoothly-icon", { key: '8ca0aa0f3a534558de7fcefafe9267a1992d9594', flip: "x", name: "refresh-outline", size: "tiny" }))));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "smoothly-input-reset"; }
|
|
47
47
|
static get encapsulation() { return "scoped"; }
|
|
@@ -283,11 +283,11 @@ export class SmoothlyInputSelect {
|
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
285
|
render() {
|
|
286
|
-
return (h(Host, { key: '
|
|
286
|
+
return (h(Host, { key: '3eb062d5cc34ecef9c9341630243d549aad808c3', class: { "has-value": this.selected.length !== 0, open: this.open, "has-filter": this.filter !== "" }, onClick: (e) => this.onClick(e) }, h("div", { key: 'e605a24480a0b3dafbd1b596fac1725d5e25be84', class: "select-display", ref: element => (this.displayElement = element) }, this.placeholder), h("div", { key: '3366fc93ccab479a0d9d67e206617941ad091340', class: "icons", ref: element => (this.iconsElement = element) }, h("smoothly-icon", { key: '3f64b7dc283062976a7292160917ab7a8c281521', class: "smoothly-invalid", name: "alert-circle", size: "small", tooltip: this.errorMessage }), h("slot", { key: 'be63eaedc949912f5717ecceabb64ac93910dc98', name: "end" }), this.looks == "border" && !this.readonly && (h("smoothly-icon", { key: 'e41773f5b431e916f8177e76b877290c5cad7db6', ref: element => (this.toggleElement = element), size: "tiny", name: this.open ? "caret-down-outline" : "caret-forward-outline" }))), h("slot", { key: 'd2c2d0d9a983dfe2609b18eedda29244a339bbd8', name: "label" }), h("div", { key: '5e51033c06fa134e945ff2c27245340bcaed2069', class: "dropdown", ref: (el) => (this.dropdownElement = el) }, h("div", { key: 'f4237bc5b2001f68aa5fc0b30a0df08f4bf2bc4e', class: "search" }, h("smoothly-icon", { key: 'b23bba84f76f4da515ddeffa9a2ae7f62277915b', name: "search-outline", size: "small" }), h("input", { key: '86e28d85b9fd95a039d084db092b098342244813', class: "search-input", ref: el => (this.searchElement = el), disabled: this.searchDisabled, onKeyDown: e => this.onKeyDown(e), onInput: e => { var _a, _b; return (e.stopPropagation(), this.setFilter((_b = (_a = this.searchElement) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : "")); }, onPaste: e => { var _a, _b; return (e.stopPropagation(), this.setFilter((_b = (_a = this.searchElement) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : "")); } }), h("smoothly-icon", { key: 'e585529e50786c3ffc2dab72245230debd60558f', name: "backspace-outline", size: "small", onClick: () => {
|
|
287
287
|
var _a;
|
|
288
288
|
this.resetFilter();
|
|
289
289
|
(_a = this.searchElement) === null || _a === void 0 ? void 0 : _a.focus();
|
|
290
|
-
} }), this.mutable && h("smoothly-icon", { key: '
|
|
290
|
+
} }), this.mutable && h("smoothly-icon", { key: '49866182fe80ba3ad18e1b821e7c2a55852f4bb2', name: "add", size: "small", onClick: () => this.addItem() })), h("div", { key: 'f635f6143d0eeff2e01fa0283f7f7d1c337ef8d8', class: "menu", hidden: !this.open }, h("slot", { key: '7f483cf3b64fb231c724ef4004073cf232d1a7ad' }), this.addedItems))));
|
|
291
291
|
}
|
|
292
292
|
static get is() { return "smoothly-input-select"; }
|
|
293
293
|
static get encapsulation() { return "scoped"; }
|
|
@@ -40,7 +40,7 @@ export class SmoothlyInputSubmit {
|
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
42
|
var _a, _b;
|
|
43
|
-
return (h(Host, { key: '
|
|
43
|
+
return (h(Host, { key: '771dbd864209f2f419212813858c654de9352797', title: this.tooltip }, this.delete == true ? (h("smoothly-button-confirm", { size: this.size, shape: this.shape, expand: this.expand, color: (_a = this.color) !== null && _a !== void 0 ? _a : "danger", fill: this.fill, onSmoothlyConfirm: () => this.clickHandler() }, h("slot", null), h("smoothly-icon", { name: "trash-outline", fill: "solid", size: "tiny" }))) : (h("smoothly-button", { disabled: this.disabled, size: this.size, type: "button", shape: this.shape, expand: this.expand, color: (_b = this.color) !== null && _b !== void 0 ? _b : "success", fill: this.fill, onClick: () => this.clickHandler() }, h("slot", null), this.icon && h("smoothly-icon", { name: this.icon, fill: "solid", size: "tiny" })))));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "smoothly-input-submit"; }
|
|
46
46
|
static get encapsulation() { return "scoped"; }
|
|
@@ -34,7 +34,7 @@ export class SmoothlyItem {
|
|
|
34
34
|
: false;
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: 'a7ee995ec37b480a02715fb95c885152560cc0c1', tabIndex: -1 }, h("slot", { key: 'dcc2403a2253a7059dc88b4658c17c6533876a9f' })));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "smoothly-item"; }
|
|
40
40
|
static get encapsulation() { return "scoped"; }
|
|
@@ -2,9 +2,9 @@ import { h, Host } from "@stencil/core";
|
|
|
2
2
|
export class SmoothlyLabel {
|
|
3
3
|
render() {
|
|
4
4
|
var _a;
|
|
5
|
-
return (h(Host, { key: '
|
|
5
|
+
return (h(Host, { key: '2ae229f53b855fbc470064e7ded803a990d98711', title: this.description, style: {
|
|
6
6
|
"--hue": (_a = this.hue) === null || _a === void 0 ? void 0 : _a.toString(),
|
|
7
|
-
} }, h("slot", { key: '
|
|
7
|
+
} }, h("slot", { key: '52d6798bf0fbea2948297aad2fe3a71a000b4f76' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "smoothly-label"; }
|
|
10
10
|
static get encapsulation() { return "scoped"; }
|
|
@@ -8,7 +8,7 @@ export class SmoothlyLazy {
|
|
|
8
8
|
this.show = true;
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: 'ecab373df940835270db5097a80b0214fc97907f' }, h("slot", { key: 'ac37f8070fab8c51b229f6dc81c9f2e65e64f251', name: "before" }), h("smoothly-load-more", { key: '3e43d4fd0c5f37d7826b7cc7da796fec07c7f7be', onSmoothlyLoadMore: e => this.loadMoreHandler(e) }), this.show && (typeof this.content == "function" ? h(this.content, null) : this.content), h("slot", { key: '815b33c3657c84b81f0dd12768f2f2e983df48a9' })));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "smoothly-lazy"; }
|
|
14
14
|
static get encapsulation() { return "scoped"; }
|
|
@@ -37,7 +37,7 @@ export class LoadMore {
|
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
|
-
return h(Host, { key: '
|
|
40
|
+
return h(Host, { key: '88150a06ccdec5a72446a3f8dac86339b3007b72' });
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "smoothly-load-more"; }
|
|
43
43
|
static get encapsulation() { return "scoped"; }
|
|
@@ -15,9 +15,9 @@ export class SmoothlyModal {
|
|
|
15
15
|
this.open = true;
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: '12ffaa744cfce7d329f9e335be7b63827eb40644', role: "alertdialog", onClick: (e) => {
|
|
19
19
|
this.closable && !e.composedPath().some((el) => { var _a; return (_a = el.classList) === null || _a === void 0 ? void 0 : _a.contains("modal"); }) && this.closeModal();
|
|
20
|
-
} }, h("div", { key: '
|
|
20
|
+
} }, h("div", { key: '264ba4a63559188eb2fdc52d0b15014ff8991622', class: "modal" }, h("div", { key: 'c99296b4e6b05e4669ffb56b4ae93bf815e2e449', class: "header" }, h("slot", { key: 'cf25306f526a89e8daea125faaecb33d72fa9e4d', name: "header" }), this.closable && h("smoothly-icon", { key: 'd676f4f20a6ee187295a7f7ebc573e3a06a98ed6', name: "close-outline", fill: "solid", onClick: () => this.closeModal() })), h("slot", { key: '22955703aec9be9e882bb77cfd0fd327f2436903' }), h("div", { key: 'd8dd03aa8538e9cb373282aab2f55a6793e76c83', class: "actions" }, h("slot", { key: '45b9e1bf4300ea44dbf13b50839ca9689576121e', name: "actions" })))));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "smoothly-modal"; }
|
|
23
23
|
static get encapsulation() { return "scoped"; }
|
|
@@ -50,7 +50,7 @@ export class Notification {
|
|
|
50
50
|
this.onUpdatedNotice(this.notice);
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
|
-
return (h(Host, { key: '
|
|
53
|
+
return (h(Host, { key: '6c91fd348be22152c98396a00e0f333901e7edb3', color: this.properties[0], fill: "solid" }, this.closable && (h("smoothly-trigger", { key: 'dfb962471e36cd4b2b063d81470dd2500c5f52ab', fill: "clear", name: "close" }, h("smoothly-icon", { key: '0552e3732cdc2371b430c565b7bc243a6b855446', name: "close-circle-outline" }))), h("span", { key: 'c7df2fc46e03a56f937d3fcddce3ee9a9a199b88', class: this.icon ? "icon" : "clean" }, this.icon && h("smoothly-icon", { key: '8662182866050fc3aaeeb51b0d79529c0a57e10b', name: this.properties[1] }), h("p", { key: '0f539660c5267a748ba9fc514abdd33429b9042d' }, this.notice.message))));
|
|
54
54
|
}
|
|
55
55
|
static get is() { return "smoothly-notification"; }
|
|
56
56
|
static get encapsulation() { return "scoped"; }
|
|
@@ -11,7 +11,7 @@ export class Notifier {
|
|
|
11
11
|
this.notices = [...this.notices.filter(n => n != event.detail)];
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '00187e7d82c05944c3e4ed5ce6ae2367b113e2fb' }, h("slot", { key: 'ce3b80b8e40d1a745cf910126cde0fa97a16cdc4' }), h("div", { key: '2b8faa5193ebf47c4cb7a8602c3821d44c46dbcb', class: "smoothly-notifier-wrapper" }, this.notices.map(n => (h("smoothly-notification", { notice: n, icon: this.icon }))))));
|
|
15
15
|
}
|
|
16
16
|
static get is() { return "smoothly-notifier"; }
|
|
17
17
|
static get encapsulation() { return "scoped"; }
|
|
@@ -5,9 +5,9 @@ export class SmoothlySpinner {
|
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
7
|
const strokeWidth = this.size == "large" ? 6 : this.size == "medium" ? 8 : this.size == "icon" ? 8 : 12;
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: '458303df1f0703dad9d88e9a6c1dfbd063de34e7', style: {
|
|
9
9
|
"--spinner-size": this.size == "large" ? "5em" : this.size == "medium" ? "3em" : this.size == "icon" ? "1.8em" : "1.2em",
|
|
10
|
-
} }, h("svg", { key: '
|
|
10
|
+
} }, h("svg", { key: '8065db9227fb249027fe4b7dbc79152de2627ec2', class: "spinner", viewBox: `0 0 ${60 + strokeWidth} ${60 + strokeWidth}`, xmlns: "http://www.w3.org/2000/svg" }, h("circle", { key: '8da0fa969c76d3930a14005f951f79f20dc6bf57', class: "path", fill: "none", "stroke-width": strokeWidth, "stroke-linecap": "round", cx: `${30 + strokeWidth / 2}`, cy: `${30 + strokeWidth / 2}`, r: "30" }))));
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "smoothly-spinner"; }
|
|
13
13
|
static get encapsulation() { return "scoped"; }
|
|
@@ -20,7 +20,7 @@ export class SmoothlySubmit {
|
|
|
20
20
|
(_a = this.parent) === null || _a === void 0 ? void 0 : _a.submit();
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
|
-
return (h(Button, { key: '
|
|
23
|
+
return (h(Button, { key: 'b56bb200c5af6dd9a949ed1989ef150cf5902f33', disabled: this.disabled, type: this.type }, h("slot", { key: 'c3795191df1b9e6c5a696e7821d0fbc865814cfd' })));
|
|
24
24
|
}
|
|
25
25
|
static get is() { return "smoothly-submit"; }
|
|
26
26
|
static get encapsulation() { return "scoped"; }
|
|
@@ -10,7 +10,7 @@ export class SmoothlySummary {
|
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h("details", { key: '
|
|
13
|
+
return (h("details", { key: 'eff4cfcc4681f7ae8a50dffb024ed2a2c7f34a82', onToggle: e => this.toggleHandler(e), open: this.open }, h("summary", { key: '579a019b8ae584f018c1a039ad2f637eb136db88' }, h("smoothly-icon", { key: '5b13ecddb1ee8805bba66d60aff9f1cfe8cd10b3', name: "caret-forward", fill: "solid", size: "tiny" }), h("slot", { key: 'b01c31deaf1bb7574eaa5a383a5385555444845d', name: "summary" })), h("slot", { key: '04fe3aca685b1108f7227f2c45d28d6ef38e9292', name: "content" })));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "smoothly-summary"; }
|
|
16
16
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyTableBody {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '35794212738d56a6ee77383f2cdee89a57db82f1' }, h("slot", { key: '34c2c0ce45bc87a5ce11c7ded126b1bdb89af320' })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-table-body"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -5,7 +5,7 @@ export class SmoothlyTableCell {
|
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
7
|
var _a;
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: 'c135688a83c65d795da7cbc7e946df1842b7eee1', class: "smoothly-table-cell", style: { "--smoothly-table-cell-span": (_a = this.span) === null || _a === void 0 ? void 0 : _a.toString(10) } }, h("slot", { key: '06ae1f08e462da16c0a010a99facdbd2bd41f71f' })));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "smoothly-table-cell"; }
|
|
11
11
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyTableDemoColspan {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '591888818b4300109779447443c6e5aab1b14da8' }, h("smoothly-table", { key: 'c938d62de711c1ccf5f4688757b3513df44e8af8', columns: 3 }, h("smoothly-table-head", { key: '479a91f092d7ab61f5e023187b3962cbcfa752ea' }, h("smoothly-table-row", { key: '09acaf59f4ab8afc3af9931911547c6c9160e96c' }, h("smoothly-table-cell", { key: '7d8343c2153cc0dad70a3b93f713297911b6a999' }, "Date"), h("smoothly-table-cell", { key: 'e383250690b45d63ca6932488089448063a00b59' }, "Skip"), h("smoothly-table-cell", { key: '9249209f1c691bf8b599c19a7c69241b4c375bfc' }, "Total"))), h("smoothly-table-body", { key: '08ae40864961b80b1522166a429f53962f0248c5' }, h("smoothly-table-row", { key: 'ea7dd286a24979f8d193c215fcf97728a165fa16' }, h("smoothly-table-cell", { key: '441dee1ea77f41f61fc110987a62e404a05aa297', span: 2 }, h("smoothly-display", { key: 'b6f97a5c900d27d4cd5c8a3193c08d379c73da0a', type: "date", value: "2024-01-01" })), h("smoothly-table-cell", { key: 'a3c7b056c9b0af04ec00c95d01422d2f56c3c806' }, h("smoothly-display", { key: 'dc812c579111236c03c21edaafb7906297cb2625', type: "price", value: 120, currency: "EUR" }))), h("smoothly-table-row", { key: '004a397622e3facc508a92e645a3ac4fa9532e0a' }, h("smoothly-table-expandable-cell", { key: 'a4b75ba00befe6a8a34fc5c99690cb03c3ade7d7', span: 2 }, h("smoothly-display", { key: 'bb91f39b2d8833ad116268618a9be82aa96a2fc4', type: "date", value: "2024-01-02" }), h("smoothly-lazy", { key: '51e9b4cf9d9a9ef15c04996aef32d7ec916ae79b', slot: "detail", content: h("smoothly-display", { type: "date-time", value: "2024-01-02T13:37:00.000Z" }) })), h("smoothly-table-expandable-cell", { key: 'cbce7604964ca0c217d549bc1b1e50758b0217b8' }, h("smoothly-display", { key: '3cabab2c49146b2ac49882b592ce38cae1dd17ce', type: "price", value: 220, currency: "EUR" }), h("smoothly-lazy", { key: '84d7a668b2f59da0df7a95eb1fa3d8221365f2f8', slot: "detail", content: h("span", null, h("smoothly-display", { type: "price", value: 120, currency: "EUR" }), " + ", h("smoothly-display", { type: "price", value: 100, currency: "EUR" })) }))), h("smoothly-table-row", { key: '8c8cabd1f86d8c435925a3e2386bfe91f9d604da' }, h("smoothly-table-cell", { key: '36d5b65550ad5c09fed7441e9c0892bdf595d979' }, h("smoothly-display", { key: '3580d0ec9bcabc49ba7e3247786c3626760dd405', type: "date", value: "2024-01-02" })), h("smoothly-table-cell", { key: 'cf38589846b2f9925a79f79d64c298e96a3174b8' }, "Not Skipped"), h("smoothly-table-cell", { key: '2ae25896d0fcfaa3884da36a63bda5bd730797bd' }, h("smoothly-display", { key: '88fed0a43e38e936abc981beac382b83e86263e6', type: "price", value: 320, currency: "EUR" })))))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-table-demo-colspan"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -9,7 +9,7 @@ export class SmoothlyTableDemoFillerRow {
|
|
|
9
9
|
}, 3000);
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: '38d70dda60dda3debcf93c39712447b147f1f8aa' }, h("smoothly-display", { key: '184a415c969fe7f8067d39b8bca1c60e2cdc525c', type: "text", value: "Filler row" }), h("smoothly-table", { key: 'c25e191ff3a0d83771c8c4057a391af7d29f3aeb', color: "primary", columns: 4 }, h("smoothly-table-head", { key: '6a0abb3c6732c84bbf349fa5564d27d3b0189f36' }, h("smoothly-table-row", { key: '2f91fa838939f85bee7d2fc07bbcf66f19e31af0' }, h("smoothly-table-cell", { key: 'b50f41f05faeb8105905c2d2bc694ceba0291b11' }, "Breed"), h("smoothly-table-cell", { key: '1165986b307056c5356dad70b6ce04059aaebdd1' }, "Country"), h("smoothly-table-cell", { key: '348327ae0225c33862c65c536b31bbab5bd706d9' }, "Coat"), h("smoothly-table-cell", { key: '449b076a7ccb0922362af57fa66bbf081fe73c1d' }, "Origin"))), h("smoothly-table-body", { key: '7b4d12422054f92287036881aaba5156de8adc87' }, this.cats === undefined ? (h("smoothly-table-filler-row", null, "No data to display")) : this.cats.length === 0 ? (h("smoothly-table-filler-row", null, h("smoothly-spinner", { style: { margin: "auto" }, color: "default", size: "small" }))) : (this.cats.map(a => (h("smoothly-table-row", null, h("div", { class: "smoothly-table-cell" }, a.breed), h("div", { class: "smoothly-table-cell" }, a.country), h("div", { class: "smoothly-table-cell" }, a.coat), h("div", { class: "smoothly-table-cell" }, a.origin)))))))));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "smoothly-table-demo-filler-row"; }
|
|
15
15
|
static get encapsulation() { return "scoped"; }
|