smoothly 1.2.1-alpha.61 → 1.2.1-alpha.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/smoothly-app_99.cjs.entry.js +375 -255
- package/dist/cjs/smoothly-app_99.cjs.entry.js.map +1 -1
- package/dist/cjs/smoothly-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-color.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-country.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-input-checkbox-demo.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-submit.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-trigger-source.cjs.entry.js +1 -1
- package/dist/cjs/smoothly.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/burger/style.css +5 -5
- package/dist/collection/components/button/demo/index.js +2 -2
- package/dist/collection/components/button/demo/index.js.map +1 -1
- package/dist/collection/components/calendar/index.js +2 -2
- package/dist/collection/components/checkbox/index.js +2 -2
- package/dist/collection/components/color/index.js +1 -1
- package/dist/collection/components/confirm/index.js +1 -1
- package/dist/collection/components/country/index.js +1 -1
- package/dist/collection/components/dialog/demo/index.js +1 -1
- package/dist/collection/components/dialog/index.js +1 -1
- package/dist/collection/components/display/demo/index.js +10 -10
- package/dist/collection/components/display/demo/json/index.js +1 -1
- package/dist/collection/components/display/index.js +3 -3
- package/dist/collection/components/display/json/index.js +1 -1
- package/dist/collection/components/display/json/object/index.js +2 -2
- package/dist/collection/components/display/json/object/key/index.js +1 -1
- package/dist/collection/components/display/json/primitive/index.js +1 -1
- package/dist/collection/components/filter/field/index.js +1 -1
- package/dist/collection/components/filter/index.js +3 -3
- package/dist/collection/components/filter/input/index.js +1 -1
- package/dist/collection/components/filter/select/index.js +1 -1
- package/dist/collection/components/filter/toggle/index.js +1 -1
- package/dist/collection/components/form/demo/all/index.js +2 -2
- package/dist/collection/components/form/demo/card/index.js +1 -1
- package/dist/collection/components/form/demo/controlled/index.js +1 -1
- package/dist/collection/components/form/demo/date/index.js +1 -1
- package/dist/collection/components/form/demo/date-range/index.js +1 -1
- package/dist/collection/components/form/demo/index.js +1 -1
- package/dist/collection/components/form/demo/login/index.js +1 -1
- package/dist/collection/components/form/demo/pet/index.js +2 -2
- package/dist/collection/components/form/demo/pet/index.js.map +1 -1
- package/dist/collection/components/form/demo/prices/index.js +1 -1
- package/dist/collection/components/form/demo/schedule/index.js +1 -1
- package/dist/collection/components/form/demo/transparent/index.js +1 -1
- package/dist/collection/components/form/demo/typed/index.js +1 -1
- package/dist/collection/components/form/index.js +1 -1
- package/dist/collection/components/icon/demo/index.js +1 -1
- package/dist/collection/components/icon/demo/index.js.map +1 -1
- package/dist/collection/components/icon/index.js +6 -7
- package/dist/collection/components/icon/index.js.map +1 -1
- package/dist/collection/components/icon/style.css +10 -11
- package/dist/collection/components/input/checkbox/demo/index.js +1 -1
- package/dist/collection/components/input/checkbox/index.js +1 -1
- package/dist/collection/components/input/clear/index.js +1 -1
- package/dist/collection/components/input/color/demo/index.js +1 -1
- package/dist/collection/components/input/color/index.js +2 -2
- package/dist/collection/components/input/date/index.js +3 -3
- package/dist/collection/components/input/date/range/index.js +2 -2
- package/dist/collection/components/input/date/time/index.js +699 -0
- package/dist/collection/components/input/date/time/index.js.map +1 -0
- package/dist/collection/components/input/date/time/style.css +175 -0
- package/dist/collection/components/input/demo/index.js +4 -4
- package/dist/collection/components/input/demo/index.js.map +1 -1
- package/dist/collection/components/input/demo/price/index.js +1 -1
- package/dist/collection/components/input/demo/standard/index.js +1 -1
- package/dist/collection/components/input/demo/standard/index.js.map +1 -1
- package/dist/collection/components/input/edit/index.js +1 -1
- package/dist/collection/components/input/file/index.js +1 -1
- package/dist/collection/components/input/index.js +2 -2
- package/dist/collection/components/input/month/index.js +2 -2
- package/dist/collection/components/input/radio/index.js +1 -1
- package/dist/collection/components/input/radio/item/index.js +1 -1
- package/dist/collection/components/input/range/demo/index.js +1 -1
- package/dist/collection/components/input/range/index.js +4 -4
- package/dist/collection/components/input/reset/index.js +1 -1
- package/dist/collection/components/input/select/index.js +3 -3
- package/dist/collection/components/input/submit/index.js +1 -1
- package/dist/collection/components/item/index.js +1 -1
- package/dist/collection/components/label/index.js +2 -2
- package/dist/collection/components/lazy/index.js +1 -1
- package/dist/collection/components/load-more/index.js +1 -1
- package/dist/collection/components/modal/index.js +1 -1
- package/dist/collection/components/notification/index.js +1 -1
- package/dist/collection/components/notifier/index.js +1 -1
- package/dist/collection/components/spinner/index.js +2 -2
- package/dist/collection/components/submit/index.js +1 -1
- package/dist/collection/components/summary/index.js +1 -1
- package/dist/collection/components/table/body/index.js +1 -1
- package/dist/collection/components/table/cell/index.js +1 -1
- package/dist/collection/components/table/demo/colspan/index.js +1 -1
- package/dist/collection/components/table/demo/filler-row/index.js +1 -1
- package/dist/collection/components/table/demo/filtered/index.js +5 -5
- package/dist/collection/components/table/demo/group/index.js +1 -1
- package/dist/collection/components/table/demo/index.js +1 -1
- package/dist/collection/components/table/demo/nested/index.js +1 -1
- package/dist/collection/components/table/demo/nested/inner/index.js +1 -1
- package/dist/collection/components/table/demo/simple/simple.js +1 -1
- package/dist/collection/components/table/expandable/cell/index.js +1 -1
- package/dist/collection/components/table/expandable/row/index.js +1 -1
- package/dist/collection/components/table/filler-row/index.js +1 -1
- package/dist/collection/components/table/foot/index.js +1 -1
- package/dist/collection/components/table/group/index.js +1 -1
- package/dist/collection/components/table/head/index.js +1 -1
- package/dist/collection/components/table/index.js +1 -1
- package/dist/collection/components/table/row/index.js +1 -1
- package/dist/collection/components/tabs/demo/index.js +1 -1
- package/dist/collection/components/tabs/index.js +1 -1
- package/dist/collection/components/tabs/tab/index.js +1 -1
- package/dist/collection/components/theme/color/index.js +1 -1
- package/dist/collection/components/theme/demo/index.js +1 -1
- package/dist/collection/components/theme/guide/index.js +8 -8
- package/dist/collection/components/theme/picker/index.js +2 -2
- package/dist/collection/components/toggle-switch/demo/index.js +1 -1
- package/dist/collection/components/toggle-switch/index.js +1 -1
- package/dist/collection/components/toggle-switch/style.css +12 -20
- package/dist/collection/components/trigger/index.js +1 -1
- package/dist/collection/components/trigger/sink/index.js +1 -1
- package/dist/collection/components/trigger/source/index.js +1 -1
- package/dist/components/{p-21ba8cd0.js → p-07d7ddc7.js} +13 -13
- package/dist/components/{p-21ba8cd0.js.map → p-07d7ddc7.js.map} +1 -1
- package/dist/components/{p-eafc7555.js → p-098b7232.js} +4 -4
- package/dist/components/p-098b7232.js.map +1 -0
- package/dist/components/{p-90f56544.js → p-0b5092ec.js} +15 -15
- package/dist/components/{p-90f56544.js.map → p-0b5092ec.js.map} +1 -1
- package/dist/components/{p-42f2126d.js → p-0bf1c0fc.js} +4 -4
- package/dist/components/{p-42f2126d.js.map → p-0bf1c0fc.js.map} +1 -1
- package/dist/components/{p-fba7e056.js → p-128250a7.js} +4 -4
- package/dist/components/{p-fba7e056.js.map → p-128250a7.js.map} +1 -1
- package/dist/components/{p-ebe0f3b2.js → p-1a41add6.js} +4 -4
- package/dist/components/{p-ebe0f3b2.js.map → p-1a41add6.js.map} +1 -1
- package/dist/components/{p-49f90785.js → p-1cc8de56.js} +8 -8
- package/dist/components/{p-49f90785.js.map → p-1cc8de56.js.map} +1 -1
- package/dist/components/{p-2020cb82.js → p-21601376.js} +2 -2
- package/dist/components/{p-2020cb82.js.map → p-21601376.js.map} +1 -1
- package/dist/components/{p-a398630f.js → p-26759dd0.js} +10 -10
- package/dist/components/{p-a398630f.js.map → p-26759dd0.js.map} +1 -1
- package/dist/components/{p-7448315b.js → p-2bb115e2.js} +15 -15
- package/dist/components/p-2bb115e2.js.map +1 -0
- package/dist/components/{p-b22a5b41.js → p-2e0489e4.js} +2 -2
- package/dist/components/{p-b22a5b41.js.map → p-2e0489e4.js.map} +1 -1
- package/dist/components/p-32d64ca7.js +45 -0
- package/dist/components/{p-73e309ae.js.map → p-32d64ca7.js.map} +1 -1
- package/dist/components/{p-b92f7f7f.js → p-336074ba.js} +12 -12
- package/dist/components/{p-b92f7f7f.js.map → p-336074ba.js.map} +1 -1
- package/dist/components/{p-5cea42bb.js → p-34557f8c.js} +2 -2
- package/dist/components/{p-5cea42bb.js.map → p-34557f8c.js.map} +1 -1
- package/dist/components/{p-bc671400.js → p-398e4fd7.js} +6 -6
- package/dist/components/{p-bc671400.js.map → p-398e4fd7.js.map} +1 -1
- package/dist/components/{p-a820e0e8.js → p-3d0e9c0d.js} +6 -6
- package/dist/components/{p-a820e0e8.js.map → p-3d0e9c0d.js.map} +1 -1
- package/dist/components/{p-0f1adb3d.js → p-3e5ce476.js} +2 -2
- package/dist/components/{p-0f1adb3d.js.map → p-3e5ce476.js.map} +1 -1
- package/dist/components/{p-2faaedc8.js → p-401810ae.js} +7 -7
- package/dist/components/{p-2faaedc8.js.map → p-401810ae.js.map} +1 -1
- package/dist/components/{p-ba58a227.js → p-414aa2bf.js} +5 -5
- package/dist/components/{p-ba58a227.js.map → p-414aa2bf.js.map} +1 -1
- package/dist/components/{p-24488303.js → p-43cd988d.js} +4 -4
- package/dist/components/{p-24488303.js.map → p-43cd988d.js.map} +1 -1
- package/dist/components/{p-438a59fc.js → p-452dfddc.js} +14 -14
- package/dist/components/{p-438a59fc.js.map → p-452dfddc.js.map} +1 -1
- package/dist/components/{p-6e648f09.js → p-46f85bf2.js} +9 -9
- package/dist/components/{p-6e648f09.js.map → p-46f85bf2.js.map} +1 -1
- package/dist/components/{p-48c1e6f9.js → p-4a73398d.js} +3 -3
- package/dist/components/{p-48c1e6f9.js.map → p-4a73398d.js.map} +1 -1
- package/dist/components/p-4bbfad72.js +244 -0
- package/dist/components/p-4bbfad72.js.map +1 -0
- package/dist/components/{p-6963d21b.js → p-4f9140ef.js} +2 -2
- package/dist/components/{p-6963d21b.js.map → p-4f9140ef.js.map} +1 -1
- package/dist/components/p-52c8216d.js +123 -0
- package/dist/components/{p-58be554d.js.map → p-52c8216d.js.map} +1 -1
- package/dist/components/{p-433d4084.js → p-530e5604.js} +3 -3
- package/dist/components/{p-433d4084.js.map → p-530e5604.js.map} +1 -1
- package/dist/components/{p-dd071666.js → p-53ade191.js} +2 -2
- package/dist/components/{p-dd071666.js.map → p-53ade191.js.map} +1 -1
- package/dist/components/{p-0a6f27a2.js → p-57b98b21.js} +2 -2
- package/dist/components/{p-0a6f27a2.js.map → p-57b98b21.js.map} +1 -1
- package/dist/components/{p-fe36713e.js → p-5af300b0.js} +2 -2
- package/dist/components/{p-fe36713e.js.map → p-5af300b0.js.map} +1 -1
- package/dist/components/{p-e12d35bb.js → p-606902b0.js} +4 -4
- package/dist/components/{p-e12d35bb.js.map → p-606902b0.js.map} +1 -1
- package/dist/components/{p-65b429d4.js → p-622e4a0d.js} +15 -15
- package/dist/components/{p-65b429d4.js.map → p-622e4a0d.js.map} +1 -1
- package/dist/components/{p-305c8221.js → p-64d19330.js} +13 -13
- package/dist/components/{p-305c8221.js.map → p-64d19330.js.map} +1 -1
- package/dist/components/{p-68b77df6.js → p-65801f7e.js} +5 -5
- package/dist/components/{p-68b77df6.js.map → p-65801f7e.js.map} +1 -1
- package/dist/components/{p-90cfcbfc.js → p-65d2e7e1.js} +14 -14
- package/dist/components/{p-90cfcbfc.js.map → p-65d2e7e1.js.map} +1 -1
- package/dist/components/p-662c29e1.js +73 -0
- package/dist/components/p-662c29e1.js.map +1 -0
- package/dist/components/{p-6ea4a4b6.js → p-6c03b16d.js} +77 -71
- package/dist/components/p-6c03b16d.js.map +1 -0
- package/dist/components/{p-e1a977af.js → p-72648b8c.js} +14 -14
- package/dist/components/{p-e1a977af.js.map → p-72648b8c.js.map} +1 -1
- package/dist/components/{p-705b4afe.js → p-7278f3df.js} +52 -46
- package/dist/components/p-7278f3df.js.map +1 -0
- package/dist/components/{p-8918ad9d.js → p-763fc170.js} +4 -4
- package/dist/components/{p-8918ad9d.js.map → p-763fc170.js.map} +1 -1
- package/dist/components/{p-7add6ea0.js → p-78889145.js} +14 -14
- package/dist/components/{p-7add6ea0.js.map → p-78889145.js.map} +1 -1
- package/dist/components/{p-7df6aaed.js → p-7e7a9d46.js} +3 -3
- package/dist/components/{p-7df6aaed.js.map → p-7e7a9d46.js.map} +1 -1
- package/dist/components/{p-121a3877.js → p-7eef672e.js} +3 -3
- package/dist/components/p-7eef672e.js.map +1 -0
- package/dist/components/{p-95abdb03.js → p-802594db.js} +8 -8
- package/dist/components/{p-95abdb03.js.map → p-802594db.js.map} +1 -1
- package/dist/components/{p-570e8262.js → p-818b2ba6.js} +3 -3
- package/dist/components/{p-570e8262.js.map → p-818b2ba6.js.map} +1 -1
- package/dist/components/{p-2b3160e5.js → p-81ddbf87.js} +2 -2
- package/dist/components/{p-2b3160e5.js.map → p-81ddbf87.js.map} +1 -1
- package/dist/components/{p-32acfe2f.js → p-82556e75.js} +2 -2
- package/dist/components/{p-32acfe2f.js.map → p-82556e75.js.map} +1 -1
- package/dist/components/{p-271384e5.js → p-8299406f.js} +2 -2
- package/dist/components/{p-271384e5.js.map → p-8299406f.js.map} +1 -1
- package/dist/components/{p-bc324b5e.js → p-82a498dc.js} +2 -2
- package/dist/components/{p-bc324b5e.js.map → p-82a498dc.js.map} +1 -1
- package/dist/components/{p-6aa25ab9.js → p-87dda02b.js} +15 -15
- package/dist/components/{p-6aa25ab9.js.map → p-87dda02b.js.map} +1 -1
- package/dist/components/{p-bae20465.js → p-886d064d.js} +3 -3
- package/dist/components/{p-bae20465.js.map → p-886d064d.js.map} +1 -1
- package/dist/components/{p-cf4e20eb.js → p-89821435.js} +3 -3
- package/dist/components/{p-cf4e20eb.js.map → p-89821435.js.map} +1 -1
- package/dist/components/p-8aa69baa.js +228 -0
- package/dist/components/p-8aa69baa.js.map +1 -0
- package/dist/components/p-8b2caced.js +176 -0
- package/dist/components/{p-94cb3bb9.js.map → p-8b2caced.js.map} +1 -1
- package/dist/components/{p-db95d66d.js → p-92144b1e.js} +5 -5
- package/dist/components/{p-db95d66d.js.map → p-92144b1e.js.map} +1 -1
- package/dist/components/{p-bfad759f.js → p-936fc7b2.js} +11 -11
- package/dist/components/{p-bfad759f.js.map → p-936fc7b2.js.map} +1 -1
- package/dist/components/{p-a698a6b7.js → p-94fbea7f.js} +5 -5
- package/dist/components/{p-a698a6b7.js.map → p-94fbea7f.js.map} +1 -1
- package/dist/components/{p-461ffea2.js → p-99df66ef.js} +7 -7
- package/dist/components/{p-461ffea2.js.map → p-99df66ef.js.map} +1 -1
- package/dist/components/{p-e02f5eef.js → p-9bedf1d5.js} +14 -14
- package/dist/components/{p-e02f5eef.js.map → p-9bedf1d5.js.map} +1 -1
- package/dist/components/{p-2bc57b0f.js → p-a1510106.js} +8 -8
- package/dist/components/{p-2bc57b0f.js.map → p-a1510106.js.map} +1 -1
- package/dist/components/{p-2137d036.js → p-a576a9b9.js} +4 -4
- package/dist/components/{p-2137d036.js.map → p-a576a9b9.js.map} +1 -1
- package/dist/components/p-a6ad0f95.js +57 -0
- package/dist/components/p-a6ad0f95.js.map +1 -0
- package/dist/components/{p-e15e5a5d.js → p-a81aeee2.js} +2 -2
- package/dist/components/{p-e15e5a5d.js.map → p-a81aeee2.js.map} +1 -1
- package/dist/components/{p-3fbd90ff.js → p-aca80364.js} +15 -15
- package/dist/components/{p-3fbd90ff.js.map → p-aca80364.js.map} +1 -1
- package/dist/components/{p-291b57ee.js → p-aef14fa2.js} +13 -13
- package/dist/components/{p-291b57ee.js.map → p-aef14fa2.js.map} +1 -1
- package/dist/components/{p-cdeece09.js → p-b1c24ec2.js} +2 -2
- package/dist/components/{p-cdeece09.js.map → p-b1c24ec2.js.map} +1 -1
- package/dist/components/{p-23d9ecf6.js → p-b6af8981.js} +47 -41
- package/dist/components/p-b6af8981.js.map +1 -0
- package/dist/components/{p-d305739c.js → p-bbfe7d0d.js} +3 -3
- package/dist/components/{p-d305739c.js.map → p-bbfe7d0d.js.map} +1 -1
- package/dist/components/{p-04a36eba.js → p-c1543baa.js} +4 -4
- package/dist/components/{p-04a36eba.js.map → p-c1543baa.js.map} +1 -1
- package/dist/components/{p-04d6a4e3.js → p-c2c62fee.js} +3 -3
- package/dist/components/{p-04d6a4e3.js.map → p-c2c62fee.js.map} +1 -1
- package/dist/components/{p-a7980d2c.js → p-c683d7e0.js} +3 -3
- package/dist/components/{p-a7980d2c.js.map → p-c683d7e0.js.map} +1 -1
- package/dist/components/{p-e966bb8a.js → p-cf8184f3.js} +4 -4
- package/dist/components/{p-e966bb8a.js.map → p-cf8184f3.js.map} +1 -1
- package/dist/components/{p-f0281d58.js → p-cf8285d8.js} +3 -3
- package/dist/components/{p-f0281d58.js.map → p-cf8285d8.js.map} +1 -1
- package/dist/components/{p-90642fb7.js → p-d1727421.js} +6 -6
- package/dist/components/{p-90642fb7.js.map → p-d1727421.js.map} +1 -1
- package/dist/components/{p-be11a354.js → p-d1d2c7f3.js} +4 -4
- package/dist/components/{p-be11a354.js.map → p-d1d2c7f3.js.map} +1 -1
- package/dist/components/{p-96841986.js → p-d29234df.js} +7 -7
- package/dist/components/{p-96841986.js.map → p-d29234df.js.map} +1 -1
- package/dist/components/{p-04f778b7.js → p-d790efec.js} +13 -13
- package/dist/components/{p-04f778b7.js.map → p-d790efec.js.map} +1 -1
- package/dist/components/{p-b4bb3e74.js → p-d9989605.js} +2 -2
- package/dist/components/{p-b4bb3e74.js.map → p-d9989605.js.map} +1 -1
- package/dist/components/p-da565189.js +175 -0
- package/dist/components/{p-59f81a89.js.map → p-da565189.js.map} +1 -1
- package/dist/components/{p-2193cd07.js → p-e1439e24.js} +2 -2
- package/dist/components/{p-2193cd07.js.map → p-e1439e24.js.map} +1 -1
- package/dist/components/{p-853367ff.js → p-e5c9c6ae.js} +7 -7
- package/dist/components/{p-853367ff.js.map → p-e5c9c6ae.js.map} +1 -1
- package/dist/components/{p-d69de688.js → p-e5d0e265.js} +3 -3
- package/dist/components/{p-d69de688.js.map → p-e5d0e265.js.map} +1 -1
- package/dist/components/{p-617e63f4.js → p-e98487d2.js} +28 -28
- package/dist/components/{p-617e63f4.js.map → p-e98487d2.js.map} +1 -1
- package/dist/components/{p-ab4db085.js → p-ea3f02f8.js} +4 -4
- package/dist/components/{p-ab4db085.js.map → p-ea3f02f8.js.map} +1 -1
- package/dist/components/{p-256804de.js → p-f26e64eb.js} +13 -13
- package/dist/components/{p-256804de.js.map → p-f26e64eb.js.map} +1 -1
- package/dist/components/{p-259613c8.js → p-f271724f.js} +2 -2
- package/dist/components/{p-259613c8.js.map → p-f271724f.js.map} +1 -1
- package/dist/components/{p-941cca12.js → p-f3cd394a.js} +9 -9
- package/dist/components/{p-941cca12.js.map → p-f3cd394a.js.map} +1 -1
- package/dist/components/{p-bf12e671.js → p-f408bddc.js} +11 -11
- package/dist/components/{p-bf12e671.js.map → p-f408bddc.js.map} +1 -1
- package/dist/components/{p-41400859.js → p-f6972da2.js} +37 -37
- package/dist/components/{p-41400859.js.map → p-f6972da2.js.map} +1 -1
- package/dist/components/{p-7d3a1edc.js → p-f7c2e906.js} +5 -5
- package/dist/components/{p-7d3a1edc.js.map → p-f7c2e906.js.map} +1 -1
- package/dist/components/{p-bb9a9d24.js → p-f7f92307.js} +7 -7
- package/dist/components/{p-bb9a9d24.js.map → p-f7f92307.js.map} +1 -1
- package/dist/components/{p-bc67259a.js → p-f8471a0e.js} +7 -7
- package/dist/components/{p-bc67259a.js.map → p-f8471a0e.js.map} +1 -1
- package/dist/components/{p-5867f2a1.js → p-fc7cad13.js} +2 -2
- package/dist/components/{p-5867f2a1.js.map → p-fc7cad13.js.map} +1 -1
- package/dist/components/{p-8f0f82cd.js → p-fe3ee4c1.js} +4 -4
- package/dist/components/{p-8f0f82cd.js.map → p-fe3ee4c1.js.map} +1 -1
- package/dist/components/{p-637d2964.js → p-ff589b30.js} +4 -4
- package/dist/components/{p-637d2964.js.map → p-ff589b30.js.map} +1 -1
- package/dist/components/smoothly-app-demo.js +147 -147
- package/dist/components/smoothly-app-room.js +1 -1
- package/dist/components/smoothly-app.js +1 -1
- package/dist/components/smoothly-back-to-top.js +1 -1
- package/dist/components/smoothly-burger.js +1 -1
- package/dist/components/smoothly-button-confirm.js +1 -1
- package/dist/components/smoothly-button-demo.js +1 -1
- package/dist/components/smoothly-calendar.js +1 -1
- package/dist/components/smoothly-checkbox.js +3 -3
- package/dist/components/smoothly-color.js +1 -1
- package/dist/components/smoothly-country.js +1 -1
- package/dist/components/smoothly-dialog-demo.js +1 -1
- package/dist/components/smoothly-dialog.js +1 -1
- package/dist/components/smoothly-display-demo-json.js +1 -1
- package/dist/components/smoothly-display-demo.js +1 -1
- package/dist/components/smoothly-display-json-object.js +1 -1
- package/dist/components/smoothly-display-json-primitive.js +1 -1
- package/dist/components/smoothly-display-json-record-key.js +1 -1
- package/dist/components/smoothly-display-json.js +1 -1
- package/dist/components/smoothly-display.js +1 -1
- package/dist/components/smoothly-filter-field.js +1 -1
- package/dist/components/smoothly-filter-input.js +1 -1
- package/dist/components/smoothly-filter-select.js +1 -1
- package/dist/components/smoothly-filter-toggle.js +1 -1
- package/dist/components/smoothly-filter.js +1 -1
- package/dist/components/smoothly-form-demo-all.js +1 -1
- package/dist/components/smoothly-form-demo-card.js +1 -1
- package/dist/components/smoothly-form-demo-controlled.js +1 -1
- package/dist/components/smoothly-form-demo-date-range.js +1 -1
- package/dist/components/smoothly-form-demo-date.js +1 -1
- package/dist/components/smoothly-form-demo-login.js +1 -1
- package/dist/components/smoothly-form-demo-pet.js +1 -1
- package/dist/components/smoothly-form-demo-prices.js +1 -1
- package/dist/components/smoothly-form-demo-schedule.js +1 -1
- package/dist/components/smoothly-form-demo-transparent.js +1 -1
- package/dist/components/smoothly-form-demo-typed.js +1 -1
- package/dist/components/smoothly-form-demo.js +1 -1
- package/dist/components/smoothly-form.js +1 -1
- package/dist/components/smoothly-icon-demo.js +1 -1
- package/dist/components/smoothly-icon.js +1 -1
- package/dist/components/smoothly-input-checkbox-demo.js +28 -28
- package/dist/components/smoothly-input-checkbox.js +1 -1
- package/dist/components/smoothly-input-clear.js +1 -1
- package/dist/components/smoothly-input-color-demo.js +1 -1
- package/dist/components/smoothly-input-color.js +1 -1
- package/dist/components/smoothly-input-date-range.js +1 -1
- package/dist/components/smoothly-input-date-time.d.ts +11 -0
- package/dist/components/smoothly-input-date-time.js +8 -0
- package/dist/components/smoothly-input-date-time.js.map +1 -0
- package/dist/components/smoothly-input-date.js +1 -1
- package/dist/components/smoothly-input-demo-standard.js +1 -1
- package/dist/components/smoothly-input-demo.js +1 -1
- package/dist/components/smoothly-input-edit.js +1 -1
- package/dist/components/smoothly-input-file.js +1 -1
- package/dist/components/smoothly-input-month.js +1 -1
- package/dist/components/smoothly-input-price-demo.js +1 -1
- package/dist/components/smoothly-input-radio-item.js +1 -1
- package/dist/components/smoothly-input-radio.js +1 -1
- package/dist/components/smoothly-input-range-demo.js +1 -1
- package/dist/components/smoothly-input-range.js +1 -1
- package/dist/components/smoothly-input-reset.js +1 -1
- package/dist/components/smoothly-input-select.js +1 -1
- package/dist/components/smoothly-input-submit.js +1 -1
- package/dist/components/smoothly-input.js +1 -1
- package/dist/components/smoothly-item.js +1 -1
- package/dist/components/smoothly-label.js +1 -1
- package/dist/components/smoothly-lazy.js +1 -1
- package/dist/components/smoothly-load-more.js +1 -1
- package/dist/components/smoothly-modal.js +1 -1
- package/dist/components/smoothly-notification.js +1 -1
- package/dist/components/smoothly-notifier.js +1 -1
- package/dist/components/smoothly-spinner.js +1 -1
- package/dist/components/smoothly-submit.js +1 -1
- package/dist/components/smoothly-summary.js +1 -1
- package/dist/components/smoothly-tab.js +1 -1
- package/dist/components/smoothly-table-body.js +1 -1
- package/dist/components/smoothly-table-cell.js +1 -1
- package/dist/components/smoothly-table-demo-colspan.js +1 -1
- package/dist/components/smoothly-table-demo-filler-row.js +1 -1
- package/dist/components/smoothly-table-demo-filtered.js +1 -1
- package/dist/components/smoothly-table-demo-group.js +1 -1
- package/dist/components/smoothly-table-demo-nested-inner.js +1 -1
- package/dist/components/smoothly-table-demo-nested.js +1 -1
- package/dist/components/smoothly-table-demo-simple.js +1 -1
- package/dist/components/smoothly-table-demo.js +1 -1
- package/dist/components/smoothly-table-expandable-cell.js +1 -1
- package/dist/components/smoothly-table-expandable-row.js +1 -1
- package/dist/components/smoothly-table-filler-row.js +1 -1
- package/dist/components/smoothly-table-foot.js +1 -1
- package/dist/components/smoothly-table-head.js +1 -1
- package/dist/components/smoothly-table-row-group.js +1 -1
- package/dist/components/smoothly-table-row.js +1 -1
- package/dist/components/smoothly-table.js +1 -1
- package/dist/components/smoothly-tabs-demo.js +1 -1
- package/dist/components/smoothly-tabs.js +1 -1
- package/dist/components/smoothly-theme-color.js +1 -1
- package/dist/components/smoothly-theme-colors.js +1 -1
- package/dist/components/smoothly-theme-demo.js +1 -1
- package/dist/components/smoothly-theme-guide.js +1 -1
- package/dist/components/smoothly-theme-picker.js +1 -1
- package/dist/components/smoothly-toggle-switch-demo.js +1 -1
- package/dist/components/smoothly-toggle-switch.js +1 -1
- package/dist/components/smoothly-trigger-sink.js +1 -1
- package/dist/components/smoothly-trigger-source.js +1 -1
- package/dist/components/smoothly-trigger.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/smoothly-app_99.entry.js +375 -255
- package/dist/esm/smoothly-app_99.entry.js.map +1 -1
- package/dist/esm/smoothly-checkbox.entry.js +2 -2
- package/dist/esm/smoothly-color.entry.js +1 -1
- package/dist/esm/smoothly-country.entry.js +1 -1
- package/dist/esm/smoothly-input-checkbox-demo.entry.js +1 -1
- package/dist/esm/smoothly-submit.entry.js +1 -1
- package/dist/esm/smoothly-trigger-sink.entry.js +1 -1
- package/dist/esm/smoothly-trigger-source.entry.js +1 -1
- package/dist/esm/smoothly.js +1 -1
- package/dist/smoothly/{p-37d77190.entry.js → p-018e3f3c.entry.js} +2 -2
- package/dist/smoothly/{p-aef275e0.entry.js → p-2eaeccd0.entry.js} +2 -2
- package/dist/smoothly/{p-534c56da.entry.js → p-2f60a07e.entry.js} +2 -2
- package/dist/smoothly/p-82e55121.entry.js +2 -0
- package/dist/smoothly/p-82e55121.entry.js.map +1 -0
- package/dist/smoothly/{p-8a7f2913.entry.js → p-a13f409c.entry.js} +2 -2
- package/dist/smoothly/p-ca6c0a97.entry.js +2 -0
- package/dist/smoothly/{p-963b72df.entry.js → p-cdb8913e.entry.js} +2 -2
- package/dist/smoothly/{p-faea4d1c.entry.js → p-f169ea6d.entry.js} +2 -2
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/dist/smoothly/smoothly.esm.js.map +1 -1
- package/dist/types/components/icon/demo/index.d.ts +1 -1
- package/dist/types/components/icon/index.d.ts +1 -1
- package/dist/types/components/input/date/time/index.d.ts +50 -0
- package/dist/types/components.d.ts +71 -25
- package/package.json +1 -1
- package/dist/collection/components/toggle/index.js +0 -129
- package/dist/collection/components/toggle/index.js.map +0 -1
- package/dist/collection/components/toggle/style.css +0 -36
- package/dist/components/p-121a3877.js.map +0 -1
- package/dist/components/p-23d9ecf6.js.map +0 -1
- package/dist/components/p-310690f3.js +0 -47
- package/dist/components/p-310690f3.js.map +0 -1
- package/dist/components/p-58be554d.js +0 -123
- package/dist/components/p-59f81a89.js +0 -175
- package/dist/components/p-6ea4a4b6.js.map +0 -1
- package/dist/components/p-705b4afe.js.map +0 -1
- package/dist/components/p-73e309ae.js +0 -45
- package/dist/components/p-7448315b.js.map +0 -1
- package/dist/components/p-94cb3bb9.js +0 -176
- package/dist/components/p-9e758101.js +0 -57
- package/dist/components/p-9e758101.js.map +0 -1
- package/dist/components/p-bad4348e.js +0 -79
- package/dist/components/p-bad4348e.js.map +0 -1
- package/dist/components/p-c57b7011.js +0 -238
- package/dist/components/p-c57b7011.js.map +0 -1
- package/dist/components/p-eafc7555.js.map +0 -1
- package/dist/components/smoothly-toggle.d.ts +0 -11
- package/dist/components/smoothly-toggle.js +0 -8
- package/dist/components/smoothly-toggle.js.map +0 -1
- package/dist/smoothly/p-0d394534.entry.js +0 -2
- package/dist/smoothly/p-0d394534.entry.js.map +0 -1
- package/dist/smoothly/p-cbcf6951.entry.js +0 -2
- package/dist/types/components/toggle/index.d.ts +0 -9
- /package/dist/smoothly/{p-37d77190.entry.js.map → p-018e3f3c.entry.js.map} +0 -0
- /package/dist/smoothly/{p-aef275e0.entry.js.map → p-2eaeccd0.entry.js.map} +0 -0
- /package/dist/smoothly/{p-534c56da.entry.js.map → p-2f60a07e.entry.js.map} +0 -0
- /package/dist/smoothly/{p-8a7f2913.entry.js.map → p-a13f409c.entry.js.map} +0 -0
- /package/dist/smoothly/{p-cbcf6951.entry.js.map → p-ca6c0a97.entry.js.map} +0 -0
- /package/dist/smoothly/{p-963b72df.entry.js.map → p-cdb8913e.entry.js.map} +0 -0
- /package/dist/smoothly/{p-faea4d1c.entry.js.map → p-f169ea6d.entry.js.map} +0 -0
|
@@ -1,238 +0,0 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-f765921a.js';
|
|
2
|
-
import { D as Date } from './p-390767c7.js';
|
|
3
|
-
import { d as defineCustomElement$w } from './p-0a6f27a2.js';
|
|
4
|
-
import { d as defineCustomElement$v } from './p-d4bf90ef.js';
|
|
5
|
-
import { d as defineCustomElement$u } from './p-570e8262.js';
|
|
6
|
-
import { d as defineCustomElement$t } from './p-461ffea2.js';
|
|
7
|
-
import { d as defineCustomElement$s } from './p-49f90785.js';
|
|
8
|
-
import { d as defineCustomElement$r } from './p-db95d66d.js';
|
|
9
|
-
import { d as defineCustomElement$q } from './p-68b77df6.js';
|
|
10
|
-
import { d as defineCustomElement$p } from './p-2020cb82.js';
|
|
11
|
-
import { d as defineCustomElement$o } from './p-b4bb3e74.js';
|
|
12
|
-
import { d as defineCustomElement$n } from './p-cf4e20eb.js';
|
|
13
|
-
import { d as defineCustomElement$m } from './p-eafc7555.js';
|
|
14
|
-
import { d as defineCustomElement$l } from './p-a698a6b7.js';
|
|
15
|
-
import { d as defineCustomElement$k } from './p-637d2964.js';
|
|
16
|
-
import { d as defineCustomElement$j } from './p-8918ad9d.js';
|
|
17
|
-
import { d as defineCustomElement$i } from './p-256804de.js';
|
|
18
|
-
import { d as defineCustomElement$h } from './p-b92f7f7f.js';
|
|
19
|
-
import { d as defineCustomElement$g } from './p-bf12e671.js';
|
|
20
|
-
import { d as defineCustomElement$f } from './p-a398630f.js';
|
|
21
|
-
import { d as defineCustomElement$e } from './p-23d9ecf6.js';
|
|
22
|
-
import { d as defineCustomElement$d } from './p-2137d036.js';
|
|
23
|
-
import { d as defineCustomElement$c } from './p-853367ff.js';
|
|
24
|
-
import { d as defineCustomElement$b } from './p-bc671400.js';
|
|
25
|
-
import { d as defineCustomElement$a } from './p-a7980d2c.js';
|
|
26
|
-
import { d as defineCustomElement$9 } from './p-d69de688.js';
|
|
27
|
-
import { d as defineCustomElement$8 } from './p-21ba8cd0.js';
|
|
28
|
-
import { d as defineCustomElement$7 } from './p-bfad759f.js';
|
|
29
|
-
import { d as defineCustomElement$6 } from './p-42f2126d.js';
|
|
30
|
-
import { d as defineCustomElement$5 } from './p-bc67259a.js';
|
|
31
|
-
import { d as defineCustomElement$4 } from './p-be11a354.js';
|
|
32
|
-
import { d as defineCustomElement$3 } from './p-cdeece09.js';
|
|
33
|
-
import { d as defineCustomElement$2 } from './p-f0281d58.js';
|
|
34
|
-
import { d as defineCustomElement$1 } from './p-9e758101.js';
|
|
35
|
-
|
|
36
|
-
const styleCss = ".sc-smoothly-input-demo-h{display:flex;flex-direction:column;margin-top:2em;margin-bottom:10rem}smoothly-input-demo-standard.sc-smoothly-input-demo{margin-bottom:2rem}div.inputs.sc-smoothly-input-demo{margin:auto;width:50%}div.inputs.sc-smoothly-input-demo>h2.sc-smoothly-input-demo:not(:first-child){padding-top:3em;margin-top:3em;border-top:1px solid black}.checkbox-group.sc-smoothly-input-demo{display:flex;gap:1.5em;align-items:center;background-color:rgb(var(--smoothly-input-background))}.select-div.sc-smoothly-input-demo{display:flex;justify-content:space-between;gap:1em;flex-wrap:wrap}.select-div.sc-smoothly-input-demo>smoothly-color.sc-smoothly-input-demo>*.sc-smoothly-input-demo,.select-div.sc-smoothly-input-demo>*.sc-smoothly-input-demo{flex-basis:49%}";
|
|
37
|
-
const SmoothlyInputDemoStyle0 = styleCss;
|
|
38
|
-
|
|
39
|
-
const SmoothlyInputDemo = proxyCustomElement(class SmoothlyInputDemo extends H {
|
|
40
|
-
constructor() {
|
|
41
|
-
super();
|
|
42
|
-
this.__registerHost();
|
|
43
|
-
this.duration = { hours: 8 };
|
|
44
|
-
this.alphanumeric = "!@##";
|
|
45
|
-
}
|
|
46
|
-
render() {
|
|
47
|
-
return (h(Host, { key: '2246e64ca0039a593a5e79c1b3cbec9f6cb61cd2' }, h("smoothly-input-demo-standard", { key: '2b37d1d772346558fc9877495c98ec484e443d24' }), h("div", { key: '989abdad396917b2bdfe9bc11140a1293546ac5c', class: "inputs" }, h("h2", { key: 'dcf89a34ee6e6397e5f714121724ef563dd3fd28' }, "Calendar"), h("smoothly-input-date", { key: '8e65b556c3fcf1a39323dd3a33d12a30b81e1dcd', name: "some-date" }, "Calendar"), h("h2", { key: '3cb4035f84892162377f96c19ee73680e03125d0' }, "Date Range"), h("smoothly-input-date-range", { key: 'c896e3bd9e37dbfb151be77e2c27703e0e6a2230', name: "testing", start: Date.now(), end: Date.nextMonth(Date.now()), min: "2021-10-01", max: "2025-01-31" }), h("smoothly-input-date-range", { key: '40038ceb1fa825b4b690f68541a0f51f594899fc', name: "testing", start: Date.now(), end: Date.nextMonth(Date.now()), min: "2021-10-10", max: "2024-12-30" }, h("smoothly-input-reset", { key: '8c390691d230f83b3198d6b55320777570f5f583', slot: "end", size: "icon" })), h("smoothly-input-date-range", { key: 'ff17e15193315eb5f8114f30a926a9ecd04e989c', looks: "grid", start: Date.now(), end: Date.nextMonth(Date.now()), min: "2021-10-10", max: "2025-12-30", showLabel: false, style: {
|
|
48
|
-
"--smoothly-input-border-radius": "0.5rem",
|
|
49
|
-
} }, h("smoothly-input-clear", { key: '011f43052221a7c6f3ef33f500bcfba46608c841', slot: "end", size: "icon" })), h("h2", { key: 'd791ba4122393a98eb6d81306e291412054e3b23' }, "Date"), h("smoothly-input-date", { key: 'ee353162eccaa90c518ef9190a5457228b50a6da' }, "Date"), h("smoothly-input-date", { key: 'ab3c9d81356be6e50d1c3d55ebfc0d9590884e0d', showLabel: false, value: "2021-10-28", max: "2021-12-30", min: "2021-10-10" }, "Date"), h("smoothly-input-date", { key: '660520a7d8dc088129ee8675b418f80580369c84', value: "2021-10-28" }, "Date", h("smoothly-input-reset", { key: 'b41ed6b1f2d86a014bbc8814ae3af5f2bf73a179', slot: "end", size: "icon" })), h("smoothly-input-date", { key: '689789eb3bdd96e5d8bb592ecc54a46809dc571d', value: "2021-10-28" }, "Date", h("smoothly-input-clear", { key: 'c84ce2579bd57ec36bab8936b9260516dfbff578', slot: "end", size: "icon" })), h("h2", { key: 'e9d4a3630cd7dfbc15496d326842036b89b779ed' }, "Select"), h("div", { key: '73b5029be3bcb583ae7acd529c3360ae490f6ab8', class: "select-div" }, h("smoothly-input-select", { key: 'b2bd70fa2d9db0949de37384281cefa5f733e607', name: "select-dessert", looks: "border" }, h("label", { key: '9e876f17a3d8fd4c9dd8df5f36537cbd5ed26cab', slot: "label" }, "Select with clear button"), h("smoothly-item", { key: '99bb1a1be67495f593aab6217417989ae138338f', value: "1" }, "Ice cream"), h("smoothly-item", { key: '4ddecda514f630ede33ff1fedcdca479ab1f365a', value: "2" }, "Sponge cake"), h("smoothly-item", { key: 'edcd18711aa60bd585bb35684bf4335be079534e', value: "3", disabled: true }, "Disabled Item"), h("smoothly-item", { key: '193c1b1a166cab555df2e0738a6dbf7d002a68c6', value: "4" }, "Cookie"), h("smoothly-item", { key: '148b0f60bec0b9afd7611301d47ff3cbda1bd60e', value: "5" }, "Croissant"), h("smoothly-item", { key: '4c19e2ddcf1a804aaf2fc5f0c836c87f1c63536f', value: "6" }, "Chocolate fondue"), h("smoothly-input-clear", { key: '7fdc91054fc6694b3d9ed28fe58bbeb4ac7f3166', size: "icon", slot: "end" })), h("smoothly-input-select", { key: '1dc6118a2716448a03a71c9004e37bd281a04fd8', multiple: true, name: "select-dessert-multiple", looks: "border" }, h("label", { key: '1c9aad56585335964fb6fbdbb322155aed1d8293', slot: "label" }, "Select multiple with reset button"), h("smoothly-item", { key: '1dcc6d0ae6890c8faf6fbd383d7cb49cffb4195d', value: "ice cream" }, "Ice cream"), h("smoothly-item", { key: '4928df31718469ae0a122b196d2da6049e08e27d', value: "sponge cake" }, "Sponge cake"), h("smoothly-item", { key: '804e3d867fdee5b41a691fefb18e1e0c1efa675d', selected: true, value: "cookie" }, "Cookie"), h("smoothly-item", { key: '47e18869a33e35c711b0af238c711c49a74a2f00', value: "croissant" }, "Croissant"), h("smoothly-item", { key: '2141bd943ddc5f23bd2e5d5340fe1c056b733767', selected: true, value: "chocolate fondue" }, "Chocolate fondue"), h("smoothly-input-reset", { key: '383060f11d35eaff155b922d0b4b2d7461d3ccf1', size: "icon", slot: "end" })), h("smoothly-input-select", { key: '997c4890240d191098f752d9a608f292f5e4285e', name: "spirit-animals", looks: "border", mutable: true }, h("label", { key: '4e4941d8eb6bbf6290283a71d88ef63cdabed4b4', slot: "label" }, "Select or add new options"), h("smoothly-item", { key: 'c5b5bdcdd54a7b3f53807b2c91deb0eacc4df76c', value: "manatee" }, "Manatee"), h("smoothly-item", { key: '7b984ebe49e44df568bf8afa71ac316f55c930aa', selected: true, value: "cthulu" }, "Cthulu")), h("smoothly-input-select", { key: 'ceb8e73087957269cb47bb09552a5972dcc83da7', name: "select-icon", clearable: false, showSelected: false }, h("smoothly-item", { key: 'dc9c4ba90d0ee6c4158abf3cddede72bd04e71d1', value: "folder", selected: true }, h("smoothly-icon", { key: 'edfbf4fa6aafe1588e5f3d805949f837f1e9cfbc', size: "small", name: "folder-outline" })), h("smoothly-item", { key: 'f46beb751b4e5394ca24fed76addc9a7931fa382', value: "camera" }, h("smoothly-icon", { key: '8b976d68da995707e36ff599f81343b9028bce45', size: "small", name: "camera-outline" }))), h("smoothly-input-select", { key: 'a92187babd4d365532b86fbbd7fb0f81dc277821', ordered: true, menuHeight: "7.5items", placeholder: "Select...", name: "select-month" }, h("label", { key: 'c03b7c86c8762080854546f7f0257ea7b5e8d488', slot: "label" }, "Alphabet ordered select"), Array.from({ length: 26 })
|
|
50
|
-
.map((_, i) => String.fromCharCode(i + 65))
|
|
51
|
-
.map(char => (h("smoothly-item", { value: char, selected: char == "H" }, char)))), h("smoothly-input-select", { key: '50afad9842162fcd31c852082016e02197670682', multiple: true, menuHeight: "7.5items", placeholder: "Select...", name: "select-month" }, h("label", { key: '8979507659fe2ea3bde09d62fcda6b0e0958f8d1', slot: "label" }, "Month multiple select"), h("smoothly-item", { key: 'b5943c4ffa028794ae353751d9f6f54cb9de8729', value: "1" }, "January"), h("smoothly-item", { key: '715dad0e6198ae650b92216671adcb4f55e38595', value: "2" }, "February"), h("smoothly-item", { key: '5e1c9571dd3e85bfbb662d37e332686f2e995c88', value: "3" }, "March"), h("smoothly-item", { key: '035d61411f7338aa13be7cd5a6e3033416c4d7d5', value: "4" }, "April"), h("smoothly-item", { key: 'f01102310093062173127c830235f72c854f3a72', value: "5" }, "May"), h("smoothly-item", { key: '10e7fb2d176bb14e93c5b3c208b559eec05b63b2', value: "6" }, "June"), h("smoothly-item", { key: 'b7e84c66de94608b6435c69a25d7558e93c9f92f', value: "7" }, "July"), h("smoothly-item", { key: '92a1692fb3399e45f6c1daabab735a5151f7cedd', value: "8" }, "August"), h("smoothly-item", { key: 'c69002d6ef0ffec601898f2da9bfb2093f87b131', value: "9" }, "September"), h("smoothly-item", { key: '1ddfa11c9807052c4dfc35b21edc197dbe292534', value: "10" }, "October"), h("smoothly-item", { key: 'bc5927fa54de0dacd80ae937892d5ce0c9a2d435', value: "11" }, "November"), h("smoothly-item", { key: 'a3d0cd6e6c3f348c294d91cb54484f84f9d51ef5', value: "12" }, "December"))), h("h2", { key: 'ad2d4f82623153c04d76dc435ee9b62d02ae2400' }, "Duration"), h("smoothly-input", { key: '4f4cad2567f82920fcb7dd3c66a82b720e0dfbd4', name: "duration", type: "duration", placeholder: "hh:mm", value: this.duration, onSmoothlyInput: e => (this.duration = e.detail.duration) }, "Duration"), h("smoothly-input", { key: 'a00c994eb83ce0d9123d1c07d7a4baf19e8a0a29', name: "duration", type: "duration", value: this.duration, placeholder: "-hh:mm", onSmoothlyInput: e => {
|
|
52
|
-
const duration = e.detail.duration;
|
|
53
|
-
this.duration = duration;
|
|
54
|
-
} }, "Duration"), h("h2", { key: '91506193cc92d0c1f497d74031b2be1192b2beca' }, "Integer with Min/Max"), h("smoothly-input", { key: '481aa0956f649040e9f43d2a7c62804bb92efef9', name: "days", type: "integer", min: 0, max: 365 }, "Days per year (0-365)"), h("smoothly-input", { key: '38a054ca282fafdd961218f7e6da5760307fddf1', name: "hour", type: "integer", min: 0, max: 23 }, "Hours per day (0-23)"), h("smoothly-input", { key: '5332e8aa8b06b66427337f2d1ff8f51a8511e382', name: "minute", type: "integer", min: 0, max: 59 }, "Minutes per hour (0-59)"), h("smoothly-input", { key: 'eb44b024a1302cbb48d8bb6e34ba3f8cda2cd919', name: "minute", type: "integer", min: 18, max: 120 }, "Age (18-120)"), h("h2", { key: '4b990e9c2dde97a9f15f9b7c4b87156abab06cbf' }, "Invalid text with warning icon and tooltip"), h("smoothly-input", { key: '71bdb7feb20f18c2a37dc4860ff3a9202eacf8ac', 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: '2deb15192feae3b18f0c8d0a0398a12a5bd81d21' }, "Identifiers"), h("smoothly-input", { key: '2e0243a190b1c2280bac015a66516a5fe372258d', type: "identifier-code" }, "Code"), h("smoothly-input", { key: 'ff873320ab3c15d5cfbb9869b6c62aaf74900cea', type: "identifier-attribute" }, "Attribute"), h("smoothly-input", { key: '68246a134a3fc98450ff3fdcb6129ae416e24541', type: "identifier-snake" }, "Snake"), h("smoothly-input", { key: 'e5b5a8a769712436c498a6728cd8c678709256ce', type: "identifier-pascal" }, "Pascal"), h("smoothly-input", { key: 'd8187ead8f3f1a2ccb9ad5255b74b00ea6dcdb81', type: "identifier-camel" }, "Camel"), h("h2", { key: '84ddb5eea8bbc25670b623966ee44acb66985435' }, "Input Alternatives"), h("smoothly-input", { key: 'a4cc2d53f80a569c0fc5aff4002c0d3122d0ef90', type: "text", name: "name.last", onSmoothlyChange: e => console.log("smoothly change event") }, h("smoothly-icon", { key: '96c373625202143aeaba7c9c521fc0def6e319be', name: "checkmark-circle", slot: "start" }), "First Name"), h("smoothly-input", { key: '6a681ff90c7c95a22d7e6a7567ee5efd8bdec07f', type: "text", name: "name.first", onSmoothlyChange: e => console.log("smoothly change event") }, "Last Name", h("smoothly-icon", { key: '1b11a1e1a295a123126640c4a481af89df6bcec9', name: "checkmark-circle", slot: "end" })), h("smoothly-input", { key: '7ca34d9ae381a0b12c265866ac3f771726eba93d', type: "text", name: "name.first", placeholder: "Smith", onSmoothlyChange: e => console.log("smoothly change event") }, "Last Name", h("smoothly-icon", { key: '2ff4650c1f7b3f48c6f9828523c7f07de7b4fa85', name: "checkmark-circle", slot: "end" })), h("smoothly-input", { key: '061310e54b36c9c75a87e3e18fbba4112b91cb1c', placeholder: "test" }), h("smoothly-input-submit", { key: '99698172c9514334dedac33b8c2fc6548b88fbaa', slot: "submit", fill: "solid", onSubmit: (e) => alert(e), color: "success" }), h("h4", { key: 'ad71dff1660186bba82f34191b0ca60efae720d7' }, "Smoothly checkboxes"), h("div", { key: '5718011f939a0878ab8ea3afaecbda302e31c73b', class: "checkbox-group" }, h("smoothly-input-checkbox", { key: '5b5ba10540de4438e2c10b6c02d0fad978d515a4', disabled: true, name: "first-checkbox" }, h("smoothly-icon", { key: '0e718adc3894003b058826ea301d2c754ae8c1f3', name: "checkmark-circle", slot: "start", size: "tiny" }), "First"), h("smoothly-input-checkbox", { key: '15135f72968c4d699acc9e68bb5e5cd816665087', name: "second-checkbox", checked: true }, h("smoothly-icon", { key: 'ae3d257b11cecf9ef2eb97493acf4fb3cbaf3b40', name: "checkmark-circle", slot: "start", size: "tiny" }), "second", h("smoothly-input-clear", { key: 'c27de2287e7659e8e48380f67d02d0408cdb51a2', size: "icon", slot: "end" })), h("smoothly-input-checkbox", { key: '8eb99fac6b762993b72d224e1323579b6148d5f6', name: "third-checkbox" }, "3rd")), h("h4", { key: 'e5dd8c9ca4c8be3222ea3f9aa55f669d4028e5d6' }, "Smoothly Radio Buttons"), h("smoothly-input-radio", { key: '77070459eecd7514acb8601ec93a37b9450168e3', clearable: true, name: "radioFirstInput" }, h("smoothly-icon", { key: '9e3d161e5c499fc80a5945adeacf1144e92df785', name: "checkmark-circle", slot: "start" }), h("label", { key: 'aa6324183b7a0826e7c3a25494ae074b436c174d', slot: "label" }, "Clearable"), h("smoothly-input-radio-item", { key: '02694e25f144985698a0ef92ea53c3659ab84290', value: "first" }, "Label 1"), h("smoothly-input-radio-item", { key: '09d2c82fd813ed5181073ab3dc7725b42bd47f4e', selected: true, value: "second" }, "Label 2"), h("smoothly-input-radio-item", { key: '2772c21b13d27b3d9a1a800e4f008a838bfe65df', value: "third" }, "Label 3"), h("smoothly-input-clear", { key: '60e95d7e3fbcf1d36b1c36ddbc6994e92a3750c5', size: "icon", slot: "end" })), h("smoothly-input-radio", { key: 'bbd63cb0a3ebda2cfef6221e61ea0b5cb31380d4', name: "radioSecondInput" }, h("label", { key: '4f482e6d096f536aef54c7326bd78d3bf156b8ab', slot: "label" }, "Not clearable"), h("smoothly-input-radio-item", { key: '761efe9c3501c0d2965ad4105733df91934841f9', value: "first" }, "Label 1"), h("smoothly-input-radio-item", { key: 'd9d6ca775c01be53e0bec4d213c62d6d37958a35', value: "second" }, "Label 2"), h("smoothly-input-radio-item", { key: 'fda64767508f76c7343baa564d5fabde05f125b8', value: "third" }, "Label 3"), h("smoothly-input-radio-item", { key: '6e7ba43e516578bf7977b4a3b71cb4c3488d9d1f', value: "fourth" }, "Label 4"), h("smoothly-input-radio-item", { key: '6de5860b06e1dd083818bc46c2c43cdd672e3bfa', value: "fifth" }, "Label 5"), h("smoothly-input-radio-item", { key: '2e3e2e0cf07b6a69aa8b38bad85c7dc4082ca70c', value: "sixth" }, "Label 6")), h("smoothly-input-range-demo", { key: '4d19c2422d932957c98829a27692dd13a0125b34' }), h("smoothly-input-color-demo", { key: '8a811c4a90aa12b89a98513e9a91bc176d346296' }), h("smoothly-input-price-demo", { key: '93e80a88afa678602c2ba2e84cfc7e49ab15d993' }), h("smoothly-back-to-top", { key: '8f02b74e7694f5ebfc62639540c4a3994c6a1ff8' }))));
|
|
55
|
-
}
|
|
56
|
-
static get style() { return SmoothlyInputDemoStyle0; }
|
|
57
|
-
}, [2, "smoothly-input-demo", {
|
|
58
|
-
"duration": [32],
|
|
59
|
-
"alphanumeric": [32]
|
|
60
|
-
}]);
|
|
61
|
-
function defineCustomElement() {
|
|
62
|
-
if (typeof customElements === "undefined") {
|
|
63
|
-
return;
|
|
64
|
-
}
|
|
65
|
-
const components = ["smoothly-input-demo", "smoothly-back-to-top", "smoothly-button", "smoothly-button-confirm", "smoothly-calendar", "smoothly-display", "smoothly-display-json", "smoothly-display-json-object", "smoothly-display-json-primitive", "smoothly-display-json-record-key", "smoothly-form", "smoothly-icon", "smoothly-input", "smoothly-input-checkbox", "smoothly-input-clear", "smoothly-input-color", "smoothly-input-color-demo", "smoothly-input-date", "smoothly-input-date-range", "smoothly-input-demo-standard", "smoothly-input-file", "smoothly-input-month", "smoothly-input-price-demo", "smoothly-input-radio", "smoothly-input-radio-item", "smoothly-input-range", "smoothly-input-range-demo", "smoothly-input-reset", "smoothly-input-select", "smoothly-input-submit", "smoothly-item", "smoothly-spinner", "smoothly-toggle-switch"];
|
|
66
|
-
components.forEach(tagName => { switch (tagName) {
|
|
67
|
-
case "smoothly-input-demo":
|
|
68
|
-
if (!customElements.get(tagName)) {
|
|
69
|
-
customElements.define(tagName, SmoothlyInputDemo);
|
|
70
|
-
}
|
|
71
|
-
break;
|
|
72
|
-
case "smoothly-back-to-top":
|
|
73
|
-
if (!customElements.get(tagName)) {
|
|
74
|
-
defineCustomElement$w();
|
|
75
|
-
}
|
|
76
|
-
break;
|
|
77
|
-
case "smoothly-button":
|
|
78
|
-
if (!customElements.get(tagName)) {
|
|
79
|
-
defineCustomElement$v();
|
|
80
|
-
}
|
|
81
|
-
break;
|
|
82
|
-
case "smoothly-button-confirm":
|
|
83
|
-
if (!customElements.get(tagName)) {
|
|
84
|
-
defineCustomElement$u();
|
|
85
|
-
}
|
|
86
|
-
break;
|
|
87
|
-
case "smoothly-calendar":
|
|
88
|
-
if (!customElements.get(tagName)) {
|
|
89
|
-
defineCustomElement$t();
|
|
90
|
-
}
|
|
91
|
-
break;
|
|
92
|
-
case "smoothly-display":
|
|
93
|
-
if (!customElements.get(tagName)) {
|
|
94
|
-
defineCustomElement$s();
|
|
95
|
-
}
|
|
96
|
-
break;
|
|
97
|
-
case "smoothly-display-json":
|
|
98
|
-
if (!customElements.get(tagName)) {
|
|
99
|
-
defineCustomElement$r();
|
|
100
|
-
}
|
|
101
|
-
break;
|
|
102
|
-
case "smoothly-display-json-object":
|
|
103
|
-
if (!customElements.get(tagName)) {
|
|
104
|
-
defineCustomElement$q();
|
|
105
|
-
}
|
|
106
|
-
break;
|
|
107
|
-
case "smoothly-display-json-primitive":
|
|
108
|
-
if (!customElements.get(tagName)) {
|
|
109
|
-
defineCustomElement$p();
|
|
110
|
-
}
|
|
111
|
-
break;
|
|
112
|
-
case "smoothly-display-json-record-key":
|
|
113
|
-
if (!customElements.get(tagName)) {
|
|
114
|
-
defineCustomElement$o();
|
|
115
|
-
}
|
|
116
|
-
break;
|
|
117
|
-
case "smoothly-form":
|
|
118
|
-
if (!customElements.get(tagName)) {
|
|
119
|
-
defineCustomElement$n();
|
|
120
|
-
}
|
|
121
|
-
break;
|
|
122
|
-
case "smoothly-icon":
|
|
123
|
-
if (!customElements.get(tagName)) {
|
|
124
|
-
defineCustomElement$m();
|
|
125
|
-
}
|
|
126
|
-
break;
|
|
127
|
-
case "smoothly-input":
|
|
128
|
-
if (!customElements.get(tagName)) {
|
|
129
|
-
defineCustomElement$l();
|
|
130
|
-
}
|
|
131
|
-
break;
|
|
132
|
-
case "smoothly-input-checkbox":
|
|
133
|
-
if (!customElements.get(tagName)) {
|
|
134
|
-
defineCustomElement$k();
|
|
135
|
-
}
|
|
136
|
-
break;
|
|
137
|
-
case "smoothly-input-clear":
|
|
138
|
-
if (!customElements.get(tagName)) {
|
|
139
|
-
defineCustomElement$j();
|
|
140
|
-
}
|
|
141
|
-
break;
|
|
142
|
-
case "smoothly-input-color":
|
|
143
|
-
if (!customElements.get(tagName)) {
|
|
144
|
-
defineCustomElement$i();
|
|
145
|
-
}
|
|
146
|
-
break;
|
|
147
|
-
case "smoothly-input-color-demo":
|
|
148
|
-
if (!customElements.get(tagName)) {
|
|
149
|
-
defineCustomElement$h();
|
|
150
|
-
}
|
|
151
|
-
break;
|
|
152
|
-
case "smoothly-input-date":
|
|
153
|
-
if (!customElements.get(tagName)) {
|
|
154
|
-
defineCustomElement$g();
|
|
155
|
-
}
|
|
156
|
-
break;
|
|
157
|
-
case "smoothly-input-date-range":
|
|
158
|
-
if (!customElements.get(tagName)) {
|
|
159
|
-
defineCustomElement$f();
|
|
160
|
-
}
|
|
161
|
-
break;
|
|
162
|
-
case "smoothly-input-demo-standard":
|
|
163
|
-
if (!customElements.get(tagName)) {
|
|
164
|
-
defineCustomElement$e();
|
|
165
|
-
}
|
|
166
|
-
break;
|
|
167
|
-
case "smoothly-input-file":
|
|
168
|
-
if (!customElements.get(tagName)) {
|
|
169
|
-
defineCustomElement$d();
|
|
170
|
-
}
|
|
171
|
-
break;
|
|
172
|
-
case "smoothly-input-month":
|
|
173
|
-
if (!customElements.get(tagName)) {
|
|
174
|
-
defineCustomElement$c();
|
|
175
|
-
}
|
|
176
|
-
break;
|
|
177
|
-
case "smoothly-input-price-demo":
|
|
178
|
-
if (!customElements.get(tagName)) {
|
|
179
|
-
defineCustomElement$b();
|
|
180
|
-
}
|
|
181
|
-
break;
|
|
182
|
-
case "smoothly-input-radio":
|
|
183
|
-
if (!customElements.get(tagName)) {
|
|
184
|
-
defineCustomElement$a();
|
|
185
|
-
}
|
|
186
|
-
break;
|
|
187
|
-
case "smoothly-input-radio-item":
|
|
188
|
-
if (!customElements.get(tagName)) {
|
|
189
|
-
defineCustomElement$9();
|
|
190
|
-
}
|
|
191
|
-
break;
|
|
192
|
-
case "smoothly-input-range":
|
|
193
|
-
if (!customElements.get(tagName)) {
|
|
194
|
-
defineCustomElement$8();
|
|
195
|
-
}
|
|
196
|
-
break;
|
|
197
|
-
case "smoothly-input-range-demo":
|
|
198
|
-
if (!customElements.get(tagName)) {
|
|
199
|
-
defineCustomElement$7();
|
|
200
|
-
}
|
|
201
|
-
break;
|
|
202
|
-
case "smoothly-input-reset":
|
|
203
|
-
if (!customElements.get(tagName)) {
|
|
204
|
-
defineCustomElement$6();
|
|
205
|
-
}
|
|
206
|
-
break;
|
|
207
|
-
case "smoothly-input-select":
|
|
208
|
-
if (!customElements.get(tagName)) {
|
|
209
|
-
defineCustomElement$5();
|
|
210
|
-
}
|
|
211
|
-
break;
|
|
212
|
-
case "smoothly-input-submit":
|
|
213
|
-
if (!customElements.get(tagName)) {
|
|
214
|
-
defineCustomElement$4();
|
|
215
|
-
}
|
|
216
|
-
break;
|
|
217
|
-
case "smoothly-item":
|
|
218
|
-
if (!customElements.get(tagName)) {
|
|
219
|
-
defineCustomElement$3();
|
|
220
|
-
}
|
|
221
|
-
break;
|
|
222
|
-
case "smoothly-spinner":
|
|
223
|
-
if (!customElements.get(tagName)) {
|
|
224
|
-
defineCustomElement$2();
|
|
225
|
-
}
|
|
226
|
-
break;
|
|
227
|
-
case "smoothly-toggle-switch":
|
|
228
|
-
if (!customElements.get(tagName)) {
|
|
229
|
-
defineCustomElement$1();
|
|
230
|
-
}
|
|
231
|
-
break;
|
|
232
|
-
} });
|
|
233
|
-
}
|
|
234
|
-
defineCustomElement();
|
|
235
|
-
|
|
236
|
-
export { SmoothlyInputDemo as S, defineCustomElement as d };
|
|
237
|
-
|
|
238
|
-
//# sourceMappingURL=p-c57b7011.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"p-c57b7011.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAM,QAAQ,GAAG,mwBAAmwB,CAAC;AACrxB,gCAAe,QAAQ;;MCOV,iBAAiB;;;;wBACO,EAAE,KAAK,EAAE,CAAC,EAAE;4BAChB,MAAM;;IAEtC,MAAM;QACL,QACC,EAAC,IAAI,uDACJ,sFAAgC,EAChC,4DAAK,KAAK,EAAC,QAAQ,IAClB,wEAAiB,EACjB,4EAAqB,IAAI,EAAC,WAAW,eAA+B,EACpE,0EAAmB,EACnB,kFACC,IAAI,EAAC,SAAS,EACd,KAAK,EAAEA,IAAU,CAAC,GAAG,EAAE,EACvB,GAAG,EAAEA,IAAU,CAAC,SAAS,CAACA,IAAU,CAAC,GAAG,EAAE,CAAC,EAC3C,GAAG,EAAC,YAAY,EAChB,GAAG,EAAC,YAAY,GACf,EACF,kFACC,IAAI,EAAC,SAAS,EACd,KAAK,EAAEA,IAAU,CAAC,GAAG,EAAE,EACvB,GAAG,EAAEA,IAAU,CAAC,SAAS,CAACA,IAAU,CAAC,GAAG,EAAE,CAAC,EAC3C,GAAG,EAAC,YAAY,EAChB,GAAG,EAAC,YAAY,IAChB,6EAAsB,IAAI,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,GAAG,CACpB,EAC5B,kFACC,KAAK,EAAC,MAAM,EACZ,KAAK,EAAEA,IAAU,CAAC,GAAG,EAAE,EACvB,GAAG,EAAEA,IAAU,CAAC,SAAS,CAACA,IAAU,CAAC,GAAG,EAAE,CAAC,EAC3C,GAAG,EAAC,YAAY,EAChB,GAAG,EAAC,YAAY,EAChB,SAA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KAAK,EAAE,QAAQ,cAAqC,EAC/E,kFAA2B,KAAK,EAAE,OAAO,cAAqC,EAC9E,kFAA2B,KAAK,EAAE,QAAQ,cAAqC,EAC/E,kFAA2B,KAAK,EAAE,OAAO,cAAqC,EAC9E,kFAA2B,KAAK,EAAE,OAAO,cAAqC,CACxD,EACvB,mFAA6B,EAC7B,mFAA6B,EAC7B,mFAA6B,EAC7B,8EAAwB,CACnB,CACA,EACP;KACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["isoly.Date"],"sources":["src/components/input/demo/style.css?tag=smoothly-input-demo&encapsulation=scoped","src/components/input/demo/index.tsx"],"sourcesContent":[":host {\n\tdisplay: flex;\n\tflex-direction: column;\n\tmargin-top: 2em;\n\tmargin-bottom: 10rem;\n}\n\nsmoothly-input-demo-standard {\n\tmargin-bottom: 2rem;\n}\n\ndiv.inputs {\n\tmargin: auto;\n\twidth: 50%;\n}\n\ndiv.inputs>h2:not(:first-child) {\n\tpadding-top: 3em;\n\tmargin-top: 3em;\n\tborder-top: 1px solid black;\n}\n\n.checkbox-group {\n\tdisplay: flex;\n\tgap: 1.5em;\n\talign-items: center;\n\tbackground-color: rgb(var(--smoothly-input-background));\n}\n\n.select-div {\n\tdisplay: flex;\n\tjustify-content: space-between;\n\tgap: 1em;\n\tflex-wrap: wrap;\n}\n\n.select-div>smoothly-color>*,\n.select-div>* {\n\tflex-basis: 49%;\n}\n","import { Component, h, Host, State } from \"@stencil/core\"\nimport { isoly } from \"isoly\"\n\n@Component({\n\ttag: \"smoothly-input-demo\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyInputDemo {\n\t@State() duration: isoly.TimeSpan = { hours: 8 }\n\t@State() alphanumeric: string = \"!@##\"\n\n\trender() {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<smoothly-input-demo-standard />\n\t\t\t\t<div class=\"inputs\">\n\t\t\t\t\t<h2>Calendar</h2>\n\t\t\t\t\t<smoothly-input-date name=\"some-date\">Calendar</smoothly-input-date>\n\t\t\t\t\t<h2>Date Range</h2>\n\t\t\t\t\t<smoothly-input-date-range\n\t\t\t\t\t\tname=\"testing\"\n\t\t\t\t\t\tstart={isoly.Date.now()}\n\t\t\t\t\t\tend={isoly.Date.nextMonth(isoly.Date.now())}\n\t\t\t\t\t\tmin=\"2021-10-01\"\n\t\t\t\t\t\tmax=\"2025-01-31\"\n\t\t\t\t\t/>\n\t\t\t\t\t<smoothly-input-date-range\n\t\t\t\t\t\tname=\"testing\"\n\t\t\t\t\t\tstart={isoly.Date.now()}\n\t\t\t\t\t\tend={isoly.Date.nextMonth(isoly.Date.now())}\n\t\t\t\t\t\tmin=\"2021-10-10\"\n\t\t\t\t\t\tmax=\"2024-12-30\">\n\t\t\t\t\t\t<smoothly-input-reset slot=\"end\" size=\"icon\" />\n\t\t\t\t\t</smoothly-input-date-range>\n\t\t\t\t\t<smoothly-input-date-range\n\t\t\t\t\t\tlooks=\"grid\"\n\t\t\t\t\t\tstart={isoly.Date.now()}\n\t\t\t\t\t\tend={isoly.Date.nextMonth(isoly.Date.now())}\n\t\t\t\t\t\tmin=\"2021-10-10\"\n\t\t\t\t\t\tmax=\"2025-12-30\"\n\t\t\t\t\t\tshowLabel={false}\n\t\t\t\t\t\tstyle={{\n\t\t\t\t\t\t\t\"--smoothly-input-border-radius\": \"0.5rem\",\n\t\t\t\t\t\t}}>\n\t\t\t\t\t\t<smoothly-input-clear slot=\"end\" size=\"icon\" />\n\t\t\t\t\t</smoothly-input-date-range>\n\t\t\t\t\t<h2>Date</h2>\n\t\t\t\t\t<smoothly-input-date>Date</smoothly-input-date>\n\t\t\t\t\t<smoothly-input-date showLabel={false} value=\"2021-10-28\" max=\"2021-12-30\" min=\"2021-10-10\">\n\t\t\t\t\t\tDate\n\t\t\t\t\t</smoothly-input-date>\n\t\t\t\t\t<smoothly-input-date value=\"2021-10-28\">\n\t\t\t\t\t\tDate\n\t\t\t\t\t\t<smoothly-input-reset slot=\"end\" size=\"icon\" />\n\t\t\t\t\t</smoothly-input-date>\n\t\t\t\t\t<smoothly-input-date value=\"2021-10-28\">\n\t\t\t\t\t\tDate\n\t\t\t\t\t\t<smoothly-input-clear slot=\"end\" size=\"icon\" />\n\t\t\t\t\t</smoothly-input-date>\n\t\t\t\t\t<h2>Select</h2>\n\t\t\t\t\t<div class=\"select-div\">\n\t\t\t\t\t\t<smoothly-input-select name=\"select-dessert\" looks=\"border\">\n\t\t\t\t\t\t\t<label slot=\"label\">Select with clear button</label>\n\t\t\t\t\t\t\t<smoothly-item value=\"1\">Ice cream</smoothly-item>\n\t\t\t\t\t\t\t<smoothly-item value=\"2\">Sponge cake</smoothly-item>\n\t\t\t\t\t\t\t<smoothly-item value=\"3\" disabled>\n\t\t\t\t\t\t\t\tDisabled Item\n\t\t\t\t\t\t\t</smoothly-item>\n\t\t\t\t\t\t\t<smoothly-item value=\"4\">Cookie</smoothly-item>\n\t\t\t\t\t\t\t<smoothly-item value=\"5\">Croissant</smoothly-item>\n\t\t\t\t\t\t\t<smoothly-item value=\"6\">Chocolate fondue</smoothly-item>\n\t\t\t\t\t\t\t<smoothly-input-clear size=\"icon\" slot=\"end\" />\n\t\t\t\t\t\t</smoothly-input-select>\n\t\t\t\t\t\t<smoothly-input-select multiple name=\"select-dessert-multiple\" looks=\"border\">\n\t\t\t\t\t\t\t<label slot=\"label\">Select multiple with reset button</label>\n\t\t\t\t\t\t\t<smoothly-item value=\"ice cream\">Ice cream</smoothly-item>\n\t\t\t\t\t\t\t<smoothly-item value=\"sponge cake\">Sponge cake</smoothly-item>\n\t\t\t\t\t\t\t<smoothly-item selected value=\"cookie\">\n\t\t\t\t\t\t\t\tCookie\n\t\t\t\t\t\t\t</smoothly-item>\n\t\t\t\t\t\t\t<smoothly-item value=\"croissant\">Croissant</smoothly-item>\n\t\t\t\t\t\t\t<smoothly-item selected value=\"chocolate fondue\">\n\t\t\t\t\t\t\t\tChocolate fondue\n\t\t\t\t\t\t\t</smoothly-item>\n\t\t\t\t\t\t\t<smoothly-input-reset size=\"icon\" slot=\"end\" />\n\t\t\t\t\t\t</smoothly-input-select>\n\t\t\t\t\t\t<smoothly-input-select name=\"spirit-animals\" looks=\"border\" mutable>\n\t\t\t\t\t\t\t<label slot=\"label\">Select or add new options</label>\n\t\t\t\t\t\t\t<smoothly-item value=\"manatee\">Manatee</smoothly-item>\n\t\t\t\t\t\t\t<smoothly-item selected value=\"cthulu\">\n\t\t\t\t\t\t\t\tCthulu\n\t\t\t\t\t\t\t</smoothly-item>\n\t\t\t\t\t\t</smoothly-input-select>\n\t\t\t\t\t\t<smoothly-input-select name=\"select-icon\" clearable={false} showSelected={false}>\n\t\t\t\t\t\t\t<smoothly-item value=\"folder\" selected>\n\t\t\t\t\t\t\t\t<smoothly-icon size=\"small\" name=\"folder-outline\" />\n\t\t\t\t\t\t\t</smoothly-item>\n\t\t\t\t\t\t\t<smoothly-item value=\"camera\">\n\t\t\t\t\t\t\t\t<smoothly-icon size=\"small\" name=\"camera-outline\" />\n\t\t\t\t\t\t\t</smoothly-item>\n\t\t\t\t\t\t</smoothly-input-select>\n\t\t\t\t\t\t<smoothly-input-select ordered menuHeight=\"7.5items\" placeholder=\"Select...\" name=\"select-month\">\n\t\t\t\t\t\t\t<label slot=\"label\">Alphabet ordered select</label>\n\t\t\t\t\t\t\t{Array.from({ length: 26 })\n\t\t\t\t\t\t\t\t.map((_, i) => String.fromCharCode(i + 65))\n\t\t\t\t\t\t\t\t.map(char => (\n\t\t\t\t\t\t\t\t\t<smoothly-item value={char} selected={char == \"H\"}>\n\t\t\t\t\t\t\t\t\t\t{char}\n\t\t\t\t\t\t\t\t\t</smoothly-item>\n\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t</smoothly-input-select>\n\t\t\t\t\t\t<smoothly-input-select multiple menuHeight=\"7.5items\" placeholder=\"Select...\" name=\"select-month\">\n\t\t\t\t\t\t\t<label slot=\"label\">Month multiple select</label>\n\t\t\t\t\t\t\t<smoothly-item value=\"1\">January</smoothly-item>\n\t\t\t\t\t\t\t<smoothly-item value=\"2\">February</smoothly-item>\n\t\t\t\t\t\t\t<smoothly-item value=\"3\">March</smoothly-item>\n\t\t\t\t\t\t\t<smoothly-item value=\"4\">April</smoothly-item>\n\t\t\t\t\t\t\t<smoothly-item value=\"5\">May</smoothly-item>\n\t\t\t\t\t\t\t<smoothly-item value=\"6\">June</smoothly-item>\n\t\t\t\t\t\t\t<smoothly-item value=\"7\">July</smoothly-item>\n\t\t\t\t\t\t\t<smoothly-item value=\"8\">August</smoothly-item>\n\t\t\t\t\t\t\t<smoothly-item value=\"9\">September</smoothly-item>\n\t\t\t\t\t\t\t<smoothly-item value=\"10\">October</smoothly-item>\n\t\t\t\t\t\t\t<smoothly-item value=\"11\">November</smoothly-item>\n\t\t\t\t\t\t\t<smoothly-item value=\"12\">December</smoothly-item>\n\t\t\t\t\t\t</smoothly-input-select>\n\t\t\t\t\t</div>\n\t\t\t\t\t<h2>Duration</h2>\n\t\t\t\t\t<smoothly-input\n\t\t\t\t\t\tname=\"duration\"\n\t\t\t\t\t\ttype=\"duration\"\n\t\t\t\t\t\tplaceholder=\"hh:mm\"\n\t\t\t\t\t\tvalue={this.duration}\n\t\t\t\t\t\tonSmoothlyInput={e => (this.duration = e.detail.duration)}>\n\t\t\t\t\t\tDuration\n\t\t\t\t\t</smoothly-input>\n\t\t\t\t\t<smoothly-input\n\t\t\t\t\t\tname=\"duration\"\n\t\t\t\t\t\ttype=\"duration\"\n\t\t\t\t\t\tvalue={this.duration}\n\t\t\t\t\t\tplaceholder=\"-hh:mm\"\n\t\t\t\t\t\tonSmoothlyInput={e => {\n\t\t\t\t\t\t\tconst duration = e.detail.duration\n\t\t\t\t\t\t\tthis.duration = duration\n\t\t\t\t\t\t}}>\n\t\t\t\t\t\tDuration\n\t\t\t\t\t</smoothly-input>\n\t\t\t\t\t<h2>Integer with Min/Max</h2>\n\t\t\t\t\t<smoothly-input name=\"days\" type=\"integer\" min={0} max={365}>\n\t\t\t\t\t\tDays per year (0-365)\n\t\t\t\t\t</smoothly-input>\n\t\t\t\t\t<smoothly-input name=\"hour\" type=\"integer\" min={0} max={23}>\n\t\t\t\t\t\tHours per day (0-23)\n\t\t\t\t\t</smoothly-input>\n\t\t\t\t\t<smoothly-input name=\"minute\" type=\"integer\" min={0} max={59}>\n\t\t\t\t\t\tMinutes per hour (0-59)\n\t\t\t\t\t</smoothly-input>\n\t\t\t\t\t<smoothly-input name=\"minute\" type=\"integer\" min={18} max={120}>\n\t\t\t\t\t\tAge (18-120)\n\t\t\t\t\t</smoothly-input>\n\t\t\t\t\t<h2>Invalid text with warning icon and tooltip</h2>\n\t\t\t\t\t<smoothly-input\n\t\t\t\t\t\tname=\"alphanumeric\"\n\t\t\t\t\t\tinvalid={!/^[a-zA-Z0-9]+$/.test(this.alphanumeric)}\n\t\t\t\t\t\terrorMessage={\"Only alphanumeric allowed\"}\n\t\t\t\t\t\tvalue={this.alphanumeric}\n\t\t\t\t\t\tonSmoothlyInput={e => (this.alphanumeric = e.detail.alphanumeric)}>\n\t\t\t\t\t\tAlphanumeric\n\t\t\t\t\t</smoothly-input>\n\t\t\t\t\t<h2>Identifiers</h2>\n\t\t\t\t\t<smoothly-input type=\"identifier-code\">Code</smoothly-input>\n\t\t\t\t\t<smoothly-input type=\"identifier-attribute\">Attribute</smoothly-input>\n\t\t\t\t\t<smoothly-input type=\"identifier-snake\">Snake</smoothly-input>\n\t\t\t\t\t<smoothly-input type=\"identifier-pascal\">Pascal</smoothly-input>\n\t\t\t\t\t<smoothly-input type=\"identifier-camel\">Camel</smoothly-input>\n\t\t\t\t\t<h2>Input Alternatives</h2>\n\t\t\t\t\t<smoothly-input type=\"text\" name=\"name.last\" onSmoothlyChange={e => console.log(\"smoothly change event\")}>\n\t\t\t\t\t\t<smoothly-icon name=\"checkmark-circle\" slot=\"start\" />\n\t\t\t\t\t\tFirst Name\n\t\t\t\t\t</smoothly-input>\n\t\t\t\t\t<smoothly-input type=\"text\" name=\"name.first\" onSmoothlyChange={e => console.log(\"smoothly change event\")}>\n\t\t\t\t\t\tLast Name\n\t\t\t\t\t\t<smoothly-icon name=\"checkmark-circle\" slot=\"end\" />\n\t\t\t\t\t</smoothly-input>\n\t\t\t\t\t<smoothly-input\n\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\tname=\"name.first\"\n\t\t\t\t\t\tplaceholder=\"Smith\"\n\t\t\t\t\t\tonSmoothlyChange={e => console.log(\"smoothly change event\")}>\n\t\t\t\t\t\tLast Name\n\t\t\t\t\t\t<smoothly-icon name=\"checkmark-circle\" slot=\"end\" />\n\t\t\t\t\t</smoothly-input>\n\t\t\t\t\t<smoothly-input placeholder=\"test\" />\n\t\t\t\t\t<smoothly-input-submit slot=\"submit\" fill=\"solid\" onSubmit={(e: Event) => alert(e)} color=\"success\" />\n\t\t\t\t\t<h4>Smoothly checkboxes</h4>\n\t\t\t\t\t<div class=\"checkbox-group\">\n\t\t\t\t\t\t<smoothly-input-checkbox disabled name=\"first-checkbox\">\n\t\t\t\t\t\t\t<smoothly-icon name=\"checkmark-circle\" slot=\"start\" size=\"tiny\" />\n\t\t\t\t\t\t\tFirst\n\t\t\t\t\t\t</smoothly-input-checkbox>\n\t\t\t\t\t\t<smoothly-input-checkbox name=\"second-checkbox\" checked>\n\t\t\t\t\t\t\t<smoothly-icon name=\"checkmark-circle\" slot=\"start\" size=\"tiny\" />\n\t\t\t\t\t\t\tsecond\n\t\t\t\t\t\t\t<smoothly-input-clear size=\"icon\" slot=\"end\" />\n\t\t\t\t\t\t</smoothly-input-checkbox>\n\t\t\t\t\t\t<smoothly-input-checkbox name=\"third-checkbox\">3rd</smoothly-input-checkbox>\n\t\t\t\t\t</div>\n\t\t\t\t\t<h4>Smoothly Radio Buttons</h4>\n\t\t\t\t\t<smoothly-input-radio clearable name=\"radioFirstInput\">\n\t\t\t\t\t\t<smoothly-icon name=\"checkmark-circle\" slot=\"start\" />\n\t\t\t\t\t\t<label slot=\"label\">Clearable</label>\n\t\t\t\t\t\t<smoothly-input-radio-item value={\"first\"}>Label 1</smoothly-input-radio-item>\n\t\t\t\t\t\t<smoothly-input-radio-item selected value={\"second\"}>\n\t\t\t\t\t\t\tLabel 2\n\t\t\t\t\t\t</smoothly-input-radio-item>\n\t\t\t\t\t\t<smoothly-input-radio-item value={\"third\"}>Label 3</smoothly-input-radio-item>\n\t\t\t\t\t\t<smoothly-input-clear size=\"icon\" slot=\"end\" />\n\t\t\t\t\t</smoothly-input-radio>\n\t\t\t\t\t<smoothly-input-radio name=\"radioSecondInput\">\n\t\t\t\t\t\t<label slot=\"label\">Not clearable</label>\n\t\t\t\t\t\t<smoothly-input-radio-item value={\"first\"}>Label 1</smoothly-input-radio-item>\n\t\t\t\t\t\t<smoothly-input-radio-item value={\"second\"}>Label 2</smoothly-input-radio-item>\n\t\t\t\t\t\t<smoothly-input-radio-item value={\"third\"}>Label 3</smoothly-input-radio-item>\n\t\t\t\t\t\t<smoothly-input-radio-item value={\"fourth\"}>Label 4</smoothly-input-radio-item>\n\t\t\t\t\t\t<smoothly-input-radio-item value={\"fifth\"}>Label 5</smoothly-input-radio-item>\n\t\t\t\t\t\t<smoothly-input-radio-item value={\"sixth\"}>Label 6</smoothly-input-radio-item>\n\t\t\t\t\t</smoothly-input-radio>\n\t\t\t\t\t<smoothly-input-range-demo />\n\t\t\t\t\t<smoothly-input-color-demo />\n\t\t\t\t\t<smoothly-input-price-demo />\n\t\t\t\t\t<smoothly-back-to-top />\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"p-eafc7555.js","mappings":";;;;;AAAA,MA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ACZ,QAAQ,aAAR,QAAQ,cAAR,QAAQ,GACR;;SAEM,CAAA;KACP;IAED,MAAM;;QACL,OAAO,EAAC,IAAI,qDAAC,SAAS,EAAE,IAAI,CAAC,QAAQ,EAAE,KAAK,EAAE,EAAE,CAAC,YAAY,GAAG,GAAG,MAAA,IAAI,CAAC,MAAM,mCAAI,CAAC,KAAK,EAAE,GAAI,CAAA;KAC9F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/icon/style.css?tag=smoothly-icon&encapsulation=scoped","src/components/icon/index.tsx"],"sourcesContent":[":host[size] {\n\tbackground: none;\n}\n:host {\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tbox-sizing: content-box;\n}\n:host[rotate] {\n\t--rotate: rotate(var(--rotation, 0deg));\n\ttransform: var(--rotate);\n}\n:host[flip=x] {\n\t--flip: scaleX(-1);\n\ttransform: var(--flip);\n}\n:host[flip=y] {\n\t--flip: scaleY(-1);\n\ttransform: var(--flip);\n}\n:host[rotate][flip] {\n\ttransform:var(--rotate)var(--flip);\n}\n:host[hidden] {\n\tdisplay: none;\n}\n:host[size=tiny] {\n\twidth: 1.2em;\n\theight: 1.2em;\n}\n:host[size=small] {\n\twidth: 1.4em;\n\theight: 1.4em;\n}\n:host[size=medium] {\n\twidth: 1.8em;\n\theight: 1.8em;\n}\n:host[size=large] {\n\twidth: 2.8em;\n\theight: 2.8em;\n}\n:host[size=xlarge] {\n\twidth: 4em;\n\theight: 4em;\n}\n:host::slotted(svg) {\n\t/* this is needed for svg to work on safari */\n\twidth: 100%;\n}\n","import { Component, h, Host, Prop, State, Watch } from \"@stencil/core\"\nimport { Color, Fill } from \"../../model\"\nimport { Icon } from \"../../model\"\n\n@Component({\n\ttag: \"smoothly-icon\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyIcon {\n\t@Prop({ reflect: true }) color: Color\n\t@Prop({ reflect: true }) fill: Fill = \"solid\"\n\t@Prop({ reflect: true }) name: Icon | \"empty\" = \"empty\"\n\t@Prop({ reflect: true }) size: \"tiny\" | \"small\" | \"medium\" | \"large\" = \"medium\"\n\t@Prop({ reflect: true }) rotate?: number\n\t@Prop({ reflect: true }) flip?: \"x\" | \"y\"\n\t@Prop() toolTip?: string\n\t@State() latestPromise: Promise<string | undefined>\n\t@State() document?: string\n\n\tasync componentWillLoad() {\n\t\tawait this.nameChanged()\n\t}\n\t@Watch(\"toolTip\")\n\t@Watch(\"name\")\n\tasync nameChanged() {\n\t\tif (this.name != \"empty\") {\n\t\t\tconst promise = (this.latestPromise = Icon.load(this.name))\n\t\t\tlet result = await promise\n\t\t\tif (promise == this.latestPromise) {\n\t\t\t\tresult = result\n\t\t\t\t\t?.replace(/(?<=^<svg\\s?)/, `$& role=\"img\"`)\n\t\t\t\t\t.replace(` width=\"512\" height=\"512\"`, \"\")\n\t\t\t\t\t.replace(/stroke:#000;/gi, \"\")\n\t\t\t\tif (!this.toolTip)\n\t\t\t\t\tresult = result?.replace(/<title>.*<\\/title>/, \"\")\n\t\t\t\telse if (result?.includes(\"<title>\"))\n\t\t\t\t\tresult = result.replace(/(<title>).*(<\\/title>)/, `<title>${this.toolTip}</title>`)\n\t\t\t\telse\n\t\t\t\t\tresult = result?.replace(/(.*>)(<\\/svg>$)/, `$1<title>${this.toolTip}</title>$2`)\n\t\t\t\tthis.updateDocument(result)\n\t\t\t}\n\t\t} else\n\t\t\tthis.updateDocument()\n\t}\n\tupdateDocument(document?: string) {\n\t\tthis.document =\n\t\t\tdocument ??\n\t\t\t`<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\">\n\t\t<title>Empty</title>\n\t\t</svg>`\n\t}\n\n\trender() {\n\t\treturn <Host innerHTML={this.document} style={{ [\"--rotation\"]: `${this.rotate ?? 0}deg` }} />\n\t}\n}\n"],"version":3}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface SmoothlyToggle extends Components.SmoothlyToggle, HTMLElement {}
|
|
4
|
-
export const SmoothlyToggle: {
|
|
5
|
-
prototype: SmoothlyToggle;
|
|
6
|
-
new (): SmoothlyToggle;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { S as SmoothlyToggle$1, d as defineCustomElement$1 } from './p-310690f3.js';
|
|
2
|
-
|
|
3
|
-
const SmoothlyToggle = SmoothlyToggle$1;
|
|
4
|
-
const defineCustomElement = defineCustomElement$1;
|
|
5
|
-
|
|
6
|
-
export { SmoothlyToggle, defineCustomElement };
|
|
7
|
-
|
|
8
|
-
//# sourceMappingURL=smoothly-toggle.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"smoothly-toggle.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|