smoothly 1.2.1-alpha.5 → 1.2.1-alpha.51
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/{Scrollable-a60d6091.js → Scrollable-20426515.js} +36 -412
- package/dist/cjs/Scrollable-20426515.js.map +1 -0
- package/dist/cjs/{TimeZone-45bcd855.js → TimeZone-c7477083.js} +2940 -1728
- package/dist/cjs/TimeZone-c7477083.js.map +1 -0
- package/dist/cjs/{en-56378cc9.js → en-f4546147.js} +2 -2
- package/dist/cjs/{en-56378cc9.js.map → en-f4546147.js.map} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{smoothly-app_106.cjs.entry.js → smoothly-app_109.cjs.entry.js} +791 -662
- package/dist/cjs/smoothly-app_109.cjs.entry.js.map +1 -0
- package/dist/cjs/smoothly-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/smoothly-country.cjs.entry.js +3 -3
- package/dist/cjs/smoothly-country.cjs.entry.js.map +1 -1
- package/dist/cjs/smoothly-input-checkbox-demo.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +3 -3
- package/dist/cjs/smoothly-trigger-source.cjs.entry.js +3 -3
- package/dist/cjs/smoothly.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/app/index.js +5 -6
- package/dist/collection/components/app/index.js.map +1 -1
- package/dist/collection/components/app/style.css +3 -0
- package/dist/collection/components/button/Button.js +1 -1
- package/dist/collection/components/button/Button.js.map +1 -1
- package/dist/collection/components/button/index.js +4 -5
- package/dist/collection/components/button/index.js.map +1 -1
- package/dist/collection/components/button/style.css +6 -6
- package/dist/collection/components/calendar/generate.js +1 -1
- package/dist/collection/components/calendar/generate.js.map +1 -1
- package/dist/collection/components/calendar/index.js +42 -48
- package/dist/collection/components/calendar/index.js.map +1 -1
- package/dist/collection/components/calendar/style.css +14 -7
- package/dist/collection/components/checkbox/translation/index.js +1 -1
- package/dist/collection/components/checkbox/translation/index.js.map +1 -1
- package/dist/collection/components/country/index.js +5 -5
- package/dist/collection/components/country/index.js.map +1 -1
- package/dist/collection/components/dialog/demo/index.js +25 -2
- package/dist/collection/components/dialog/demo/index.js.map +1 -1
- package/dist/collection/components/dialog/demo/style.css +5 -0
- 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 +21 -21
- package/dist/collection/components/display/index.js.map +1 -1
- 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 +10 -5
- package/dist/collection/components/filter/field/index.js.map +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 +2 -2
- package/dist/collection/components/filter/toggle/index.js +2 -2
- 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/transparent/index.js +1 -1
- package/dist/collection/components/form/demo/typed/index.js +1 -1
- package/dist/collection/components/form/demo/typed/index.js.map +1 -1
- package/dist/collection/components/form/index.js +40 -12
- package/dist/collection/components/form/index.js.map +1 -1
- package/dist/collection/components/icon/demo/index.js +1 -1
- package/dist/collection/components/icon/index.js +4 -1
- package/dist/collection/components/icon/index.js.map +1 -1
- package/dist/collection/components/input/Deep.js +19 -0
- package/dist/collection/components/input/Deep.js.map +1 -0
- package/dist/collection/components/input/Deep.spec.js +18 -0
- package/dist/collection/components/input/Deep.spec.js.map +1 -0
- package/dist/collection/components/input/Input.js +9 -1
- package/dist/collection/components/input/Input.js.map +1 -1
- package/dist/collection/components/input/InputStateHandler.js +205 -0
- package/dist/collection/components/input/InputStateHandler.js.map +1 -0
- package/dist/collection/components/input/Key.js +25 -0
- package/dist/collection/components/input/Key.js.map +1 -0
- 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/checkbox/style.css +8 -0
- package/dist/collection/components/input/clear/index.js +2 -2
- package/dist/collection/components/input/clear/index.js.map +1 -1
- package/dist/collection/components/input/clear/style.css +6 -6
- package/dist/collection/components/input/color/demo/index.js +1 -1
- package/dist/collection/components/input/color/index.js +4 -5
- package/dist/collection/components/input/color/index.js.map +1 -1
- package/dist/collection/components/input/color/style.css +3 -1
- package/dist/collection/components/input/date/index.js +17 -22
- package/dist/collection/components/input/date/index.js.map +1 -1
- package/dist/collection/components/input/date/range/index.js +6 -9
- package/dist/collection/components/input/date/range/index.js.map +1 -1
- package/dist/collection/components/input/date/range/style.css +0 -3
- package/dist/collection/components/input/date/style.css +0 -2
- package/dist/collection/components/input/demo/index.js +5 -7
- 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/edit/style.css +6 -6
- package/dist/collection/components/input/file/index.js +15 -2
- package/dist/collection/components/input/file/index.js.map +1 -1
- package/dist/collection/components/input/file/style.css +15 -7
- package/dist/collection/components/input/index.js +162 -170
- package/dist/collection/components/input/index.js.map +1 -1
- package/dist/collection/components/input/month/index.js +43 -14
- package/dist/collection/components/input/month/index.js.map +1 -1
- package/dist/collection/components/input/month/style.css +3 -6
- package/dist/collection/components/input/radio/index.js +6 -9
- package/dist/collection/components/input/radio/index.js.map +1 -1
- package/dist/collection/components/input/radio/item/index.js +5 -5
- package/dist/collection/components/input/radio/item/index.js.map +1 -1
- package/dist/collection/components/input/radio/style.css +2 -6
- package/dist/collection/components/input/range/demo/index.js +1 -1
- package/dist/collection/components/input/range/index.js +31 -6
- package/dist/collection/components/input/range/index.js.map +1 -1
- package/dist/collection/components/input/range/style.css +2 -2
- package/dist/collection/components/input/reset/index.js +1 -1
- package/dist/collection/components/input/reset/style.css +6 -6
- package/dist/collection/components/input/select/index.js +9 -8
- package/dist/collection/components/input/select/index.js.map +1 -1
- package/dist/collection/components/input/select/style.css +7 -8
- package/dist/collection/components/input/style.css +0 -4
- package/dist/collection/components/input/submit/index.js +1 -1
- package/dist/collection/components/input/submit/style.css +6 -6
- 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 +109 -0
- package/dist/collection/components/modal/index.js.map +1 -0
- package/dist/collection/components/modal/style.css +73 -0
- package/dist/collection/components/next/demo/colspan/index.js +1 -1
- package/dist/collection/components/next/demo/fillerRow/filleRowDemo.js +32 -0
- package/dist/collection/components/next/demo/fillerRow/filleRowDemo.js.map +1 -0
- package/dist/collection/components/next/demo/fillerRow/style.css +9 -0
- package/dist/collection/components/next/demo/filtered/index.js +5 -5
- package/dist/collection/components/next/demo/group/index.js +1 -1
- package/dist/collection/components/next/demo/index.js +1 -1
- package/dist/collection/components/next/demo/index.js.map +1 -1
- package/dist/collection/components/next/demo/nested/index.js +1 -1
- package/dist/collection/components/next/demo/nested/inner/index.js +1 -1
- package/dist/collection/components/next/demo/simple/simple.js +1 -1
- package/dist/collection/components/next/table/body/index.js +1 -1
- package/dist/collection/components/next/table/cell/index.js +1 -1
- package/dist/collection/components/next/table/expandable/cell/index.js +1 -1
- package/dist/collection/components/next/table/expandable/cell/style.css +1 -1
- package/dist/collection/components/next/table/expandable/row/index.js +1 -1
- package/dist/collection/components/next/table/expandable/row/style.css +1 -1
- package/dist/collection/components/next/table/fillerRow/index.js +19 -0
- package/dist/collection/components/next/table/fillerRow/index.js.map +1 -0
- package/dist/collection/components/next/table/fillerRow/style.css +3 -0
- package/dist/collection/components/next/table/foot/index.js +1 -1
- package/dist/collection/components/next/table/group/index.js +20 -1
- package/dist/collection/components/next/table/group/index.js.map +1 -1
- package/dist/collection/components/next/table/head/index.js +1 -1
- package/dist/collection/components/next/table/index.js +10 -1
- package/dist/collection/components/next/table/index.js.map +1 -1
- package/dist/collection/components/next/table/row/index.js +1 -1
- package/dist/collection/components/notification/index.js +1 -1
- package/dist/collection/components/notifier/index.js +2 -2
- package/dist/collection/components/spinner/index.js +2 -2
- package/dist/collection/components/submit/index.js +3 -4
- package/dist/collection/components/submit/index.js.map +1 -1
- package/dist/collection/components/submit/style.css +6 -6
- package/dist/collection/components/summary/index.js +1 -1
- package/dist/collection/components/summary/index.js.map +1 -1
- package/dist/collection/components/summary/style.css +11 -4
- package/dist/collection/components/table/cell/index.js +1 -1
- package/dist/collection/components/table/demo/filtered/index.js +5 -5
- package/dist/collection/components/table/demo/index.js +1 -1
- package/dist/collection/components/table/demo/testing/index.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/footer/index.js +1 -1
- package/dist/collection/components/table/header/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 +2 -3
- package/dist/collection/components/tabs/tab/index.js.map +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/index.js +1 -1
- package/dist/collection/components/toggle/index.js.map +1 -1
- 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/index.js.map +1 -1
- package/dist/collection/components/trigger/index.js +1 -1
- package/dist/collection/components/trigger/sink/index.js +1 -1
- package/dist/collection/components/trigger/source/index.js +1 -1
- package/dist/collection/model/Data.spec.js.map +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/{p-72437d4a.js → p-00c5deff.js} +15 -15
- package/dist/components/{p-72437d4a.js.map → p-00c5deff.js.map} +1 -1
- package/dist/components/{p-78034c17.js → p-01005164.js} +19 -19
- package/dist/components/{p-78034c17.js.map → p-01005164.js.map} +1 -1
- package/dist/components/{p-a1ec2a51.js → p-0a2cc241.js} +4 -4
- package/dist/components/{p-a1ec2a51.js.map → p-0a2cc241.js.map} +1 -1
- package/dist/components/{p-29cf2133.js → p-0b423141.js} +2 -2
- package/dist/components/{p-29cf2133.js.map → p-0b423141.js.map} +1 -1
- package/dist/components/{p-c9b98b2c.js → p-0d10cb58.js} +2 -2
- package/dist/components/{p-c9b98b2c.js.map → p-0d10cb58.js.map} +1 -1
- package/dist/components/p-16bd611c.js +144 -0
- package/dist/components/p-16bd611c.js.map +1 -0
- package/dist/components/{p-e5613a72.js → p-172f7392.js} +6 -6
- package/dist/components/{p-e5613a72.js.map → p-172f7392.js.map} +1 -1
- package/dist/components/{p-cb513107.js → p-181dcd58.js} +15 -15
- package/dist/components/{p-cb513107.js.map → p-181dcd58.js.map} +1 -1
- package/dist/components/{p-53681ab6.js → p-192dca7c.js} +2 -2
- package/dist/components/{p-53681ab6.js.map → p-192dca7c.js.map} +1 -1
- package/dist/components/{p-fea68b4b.js → p-19580a07.js} +6 -3
- package/dist/components/p-19580a07.js.map +1 -0
- package/dist/components/{p-be596a9e.js → p-1a570133.js} +31 -16
- package/dist/components/p-1a570133.js.map +1 -0
- package/dist/components/p-1b161111.js +207 -0
- package/dist/components/{p-3a3d264a.js.map → p-1b161111.js.map} +1 -1
- package/dist/components/p-1d44d3db.js +45 -0
- package/dist/components/p-1d44d3db.js.map +1 -0
- package/dist/components/p-1ff539de.js +123 -0
- package/dist/components/{p-6a51e4a6.js.map → p-1ff539de.js.map} +1 -1
- package/dist/components/{p-f8a79773.js → p-225e4537.js} +23 -15
- package/dist/components/p-225e4537.js.map +1 -0
- package/dist/components/{p-eeb1e790.js → p-256c2b64.js} +7 -10
- package/dist/components/p-256c2b64.js.map +1 -0
- package/dist/components/{p-d5238da0.js → p-2ceb6925.js} +3 -3
- package/dist/components/{p-d5238da0.js.map → p-2ceb6925.js.map} +1 -1
- package/dist/components/p-2d4db101.js +113 -0
- package/dist/components/p-2d4db101.js.map +1 -0
- package/dist/components/{p-a1af56e3.js → p-2d60ab95.js} +3 -3
- package/dist/components/{p-a1af56e3.js.map → p-2d60ab95.js.map} +1 -1
- package/dist/components/{p-3671b826.js → p-2dba23a5.js} +15 -15
- package/dist/components/{p-3671b826.js.map → p-2dba23a5.js.map} +1 -1
- package/dist/components/{p-09cd86b9.js → p-3167f505.js} +75 -63
- package/dist/components/p-3167f505.js.map +1 -0
- package/dist/components/{p-67fe8484.js → p-32f089f8.js} +2 -2
- package/dist/components/{p-67fe8484.js.map → p-32f089f8.js.map} +1 -1
- package/dist/components/{p-6c77cd6c.js → p-38c3ff20.js} +3 -3
- package/dist/components/{p-6c77cd6c.js.map → p-38c3ff20.js.map} +1 -1
- package/dist/components/{p-9c14be4b.js → p-38ce18a1.js} +2 -2
- package/dist/components/{p-9c14be4b.js.map → p-38ce18a1.js.map} +1 -1
- package/dist/components/{p-17acede5.js → p-38e4455d.js} +28 -28
- package/dist/components/{p-17acede5.js.map → p-38e4455d.js.map} +1 -1
- package/dist/components/{p-99f89f10.js → p-390767c7.js} +2806 -1883
- package/dist/components/p-390767c7.js.map +1 -0
- package/dist/components/{p-2939bb2b.js → p-3b364b73.js} +8 -8
- package/dist/components/p-3b364b73.js.map +1 -0
- package/dist/components/{p-24dcd271.js → p-448a256b.js} +5 -5
- package/dist/components/p-448a256b.js.map +1 -0
- package/dist/components/{p-5276d246.js → p-45124db6.js} +2 -2
- package/dist/components/p-45124db6.js.map +1 -0
- package/dist/components/{p-cb7811d5.js → p-46d6198c.js} +2 -2
- package/dist/components/{p-cb7811d5.js.map → p-46d6198c.js.map} +1 -1
- package/dist/components/{p-0812295b.js → p-47556dde.js} +32 -32
- package/dist/components/p-47556dde.js.map +1 -0
- package/dist/components/{p-b0b01235.js → p-47d5fb7c.js} +28 -28
- package/dist/components/p-47d5fb7c.js.map +1 -0
- package/dist/components/{p-087c623a.js → p-47d6c43d.js} +6 -6
- package/dist/components/{p-087c623a.js.map → p-47d6c43d.js.map} +1 -1
- package/dist/components/{p-10abb216.js → p-4b663489.js} +2 -2
- package/dist/components/{p-10abb216.js.map → p-4b663489.js.map} +1 -1
- package/dist/components/{p-4f89fe0a.js → p-4c6fe645.js} +2 -2
- package/dist/components/{p-4f89fe0a.js.map → p-4c6fe645.js.map} +1 -1
- package/dist/components/{p-bb655bb7.js → p-4f80c811.js} +11 -11
- package/dist/components/p-4f80c811.js.map +1 -0
- package/dist/components/{p-960d8ba1.js → p-4f911ef7.js} +3 -3
- package/dist/components/p-4f911ef7.js.map +1 -0
- package/dist/components/{p-9661e3e2.js → p-5501db91.js} +2 -2
- package/dist/components/{p-9661e3e2.js.map → p-5501db91.js.map} +1 -1
- package/dist/components/{p-d4d6503f.js → p-562db6b2.js} +2 -2
- package/dist/components/{p-d4d6503f.js.map → p-562db6b2.js.map} +1 -1
- package/dist/components/{p-06b2c0ff.js → p-58d0ca78.js} +18 -18
- package/dist/components/{p-06b2c0ff.js.map → p-58d0ca78.js.map} +1 -1
- package/dist/components/{p-050d6683.js → p-591e0e42.js} +10 -10
- package/dist/components/p-591e0e42.js.map +1 -0
- package/dist/components/p-5a89aff9.js +55 -0
- package/dist/components/p-5a89aff9.js.map +1 -0
- package/dist/components/{p-532aa5fd.js → p-5bcf58c9.js} +3 -3
- package/dist/components/{p-532aa5fd.js.map → p-5bcf58c9.js.map} +1 -1
- package/dist/components/p-5cee3e99.js +82 -0
- package/dist/components/p-5cee3e99.js.map +1 -0
- package/dist/components/{p-beabdd93.js → p-5ee36921.js} +16 -19
- package/dist/components/p-5ee36921.js.map +1 -0
- package/dist/components/{p-c52830ed.js → p-5ef8d096.js} +4 -4
- package/dist/components/{p-c52830ed.js.map → p-5ef8d096.js.map} +1 -1
- package/dist/components/{p-0a7ea113.js → p-5ffba444.js} +8 -8
- package/dist/components/{p-0a7ea113.js.map → p-5ffba444.js.map} +1 -1
- package/dist/components/{p-7b577335.js → p-62328efc.js} +7 -7
- package/dist/components/{p-7b577335.js.map → p-62328efc.js.map} +1 -1
- package/dist/components/{p-7b6e9ca3.js → p-62c1780b.js} +3 -3
- package/dist/components/{p-7b6e9ca3.js.map → p-62c1780b.js.map} +1 -1
- package/dist/components/{p-3c19aee5.js → p-63c691a1.js} +19 -19
- package/dist/components/{p-3c19aee5.js.map → p-63c691a1.js.map} +1 -1
- package/dist/components/{p-58a11f85.js → p-683ee29d.js} +4 -4
- package/dist/components/p-683ee29d.js.map +1 -0
- package/dist/components/{p-6b5d4af8.js → p-71064122.js} +10 -10
- package/dist/components/{p-6b5d4af8.js.map → p-71064122.js.map} +1 -1
- package/dist/components/{p-608a35ca.js → p-78e763a5.js} +3 -3
- package/dist/components/{p-608a35ca.js.map → p-78e763a5.js.map} +1 -1
- package/dist/components/{p-5733b8ef.js → p-79ae3224.js} +2 -2
- package/dist/components/{p-5733b8ef.js.map → p-79ae3224.js.map} +1 -1
- package/dist/components/{p-631842aa.js → p-7a2f7f3b.js} +6 -6
- package/dist/components/{p-631842aa.js.map → p-7a2f7f3b.js.map} +1 -1
- package/dist/components/{p-269e9901.js → p-7b5cb070.js} +15 -15
- package/dist/components/{p-269e9901.js.map → p-7b5cb070.js.map} +1 -1
- package/dist/components/{p-abba2d2f.js → p-7d0eafb0.js} +5 -5
- package/dist/components/p-7d0eafb0.js.map +1 -0
- package/dist/components/{p-7478f877.js → p-7d208e60.js} +2 -2
- package/dist/components/{p-7478f877.js.map → p-7d208e60.js.map} +1 -1
- package/dist/components/{p-f4ad0c7e.js → p-7e8da083.js} +2 -2
- package/dist/components/{p-f4ad0c7e.js.map → p-7e8da083.js.map} +1 -1
- package/dist/components/{p-56536229.js → p-835d7c93.js} +14 -14
- package/dist/components/{p-56536229.js.map → p-835d7c93.js.map} +1 -1
- package/dist/components/{p-66d58d4e.js → p-85dcc3e5.js} +15 -15
- package/dist/components/{p-66d58d4e.js.map → p-85dcc3e5.js.map} +1 -1
- package/dist/components/{p-cdf27943.js → p-877c767e.js} +16 -16
- package/dist/components/{p-cdf27943.js.map → p-877c767e.js.map} +1 -1
- package/dist/components/{p-b067b386.js → p-8c2ae7c3.js} +9 -9
- package/dist/components/{p-b067b386.js.map → p-8c2ae7c3.js.map} +1 -1
- package/dist/components/{p-1de54888.js → p-8e13449b.js} +3 -3
- package/dist/components/{p-1de54888.js.map → p-8e13449b.js.map} +1 -1
- package/dist/components/{p-ca19ed60.js → p-8e1e509d.js} +18 -99
- package/dist/components/p-8e1e509d.js.map +1 -0
- package/dist/components/{p-8a02ff30.js → p-8e748704.js} +6 -4
- package/dist/components/p-8e748704.js.map +1 -0
- package/dist/components/{p-b67dde92.js → p-8f1ba5d5.js} +17 -18
- package/dist/components/p-8f1ba5d5.js.map +1 -0
- package/dist/components/{p-4c3b2014.js → p-9292bd8c.js} +4 -5
- package/dist/components/p-9292bd8c.js.map +1 -0
- package/dist/components/{p-b28af62c.js → p-92c8252d.js} +17 -7
- package/dist/components/p-92c8252d.js.map +1 -0
- package/dist/components/{p-1964f713.js → p-952205c2.js} +3 -3
- package/dist/components/{p-1964f713.js.map → p-952205c2.js.map} +1 -1
- package/dist/components/{p-bd99d7e0.js → p-954dd422.js} +2 -2
- package/dist/components/{p-bd99d7e0.js.map → p-954dd422.js.map} +1 -1
- package/dist/components/{p-6c0de944.js → p-96340cd0.js} +12 -12
- package/dist/components/{p-6c0de944.js.map → p-96340cd0.js.map} +1 -1
- package/dist/components/{p-d8db6c83.js → p-96acfe2c.js} +6 -6
- package/dist/components/{p-d8db6c83.js.map → p-96acfe2c.js.map} +1 -1
- package/dist/components/{p-c9723c6f.js → p-9a3fa329.js} +17 -17
- package/dist/components/{p-c9723c6f.js.map → p-9a3fa329.js.map} +1 -1
- package/dist/components/p-9b66a8cd.js +241 -0
- package/dist/components/p-9b66a8cd.js.map +1 -0
- package/dist/components/{p-68acb3c2.js → p-aa51802b.js} +12 -12
- package/dist/components/{p-68acb3c2.js.map → p-aa51802b.js.map} +1 -1
- package/dist/components/{p-3e87d17f.js → p-aab71376.js} +16 -15
- package/dist/components/p-aab71376.js.map +1 -0
- package/dist/components/{p-e9b6de86.js → p-aacd48b6.js} +4 -4
- package/dist/components/{p-e9b6de86.js.map → p-aacd48b6.js.map} +1 -1
- package/dist/components/{p-1bab70cf.js → p-ad0417d6.js} +15 -20
- package/dist/components/p-ad0417d6.js.map +1 -0
- package/dist/components/{p-3c216afa.js → p-ad1be935.js} +13 -8
- package/dist/components/p-ad1be935.js.map +1 -0
- package/dist/components/{p-96469335.js → p-b0d7a2e6.js} +5 -8
- package/dist/components/p-b0d7a2e6.js.map +1 -0
- package/dist/components/{p-4433b27b.js → p-b1e386db.js} +6 -6
- package/dist/components/p-b1e386db.js.map +1 -0
- package/dist/components/{p-8d6eccac.js → p-b2a46d46.js} +35 -18
- package/dist/components/p-b2a46d46.js.map +1 -0
- package/dist/components/{p-38829eed.js → p-b2e18b02.js} +2 -2
- package/dist/components/{p-38829eed.js.map → p-b2e18b02.js.map} +1 -1
- package/dist/components/{p-417f0ff3.js → p-b3fc0b85.js} +28 -28
- package/dist/components/{p-417f0ff3.js.map → p-b3fc0b85.js.map} +1 -1
- package/dist/components/{p-17194438.js → p-b8c18e44.js} +4 -4
- package/dist/components/{p-17194438.js.map → p-b8c18e44.js.map} +1 -1
- package/dist/components/{p-816007ea.js → p-b93f6336.js} +5 -3
- package/dist/components/{p-816007ea.js.map → p-b93f6336.js.map} +1 -1
- package/dist/components/p-bdbac42a.js +45 -0
- package/dist/components/{p-3b329054.js.map → p-bdbac42a.js.map} +1 -1
- package/dist/components/{p-dfa5abc8.js → p-beb87a00.js} +3 -3
- package/dist/components/{p-dfa5abc8.js.map → p-beb87a00.js.map} +1 -1
- package/dist/components/{p-1bf5dad5.js → p-bf57d733.js} +3 -3
- package/dist/components/{p-1bf5dad5.js.map → p-bf57d733.js.map} +1 -1
- package/dist/components/{p-c49eb816.js → p-c090ac4b.js} +2 -2
- package/dist/components/{p-c49eb816.js.map → p-c090ac4b.js.map} +1 -1
- package/dist/components/{p-cb8fff69.js → p-c0ff2ea6.js} +17 -17
- package/dist/components/{p-cb8fff69.js.map → p-c0ff2ea6.js.map} +1 -1
- package/dist/components/{p-81a86859.js → p-c520cea5.js} +9 -9
- package/dist/components/{p-81a86859.js.map → p-c520cea5.js.map} +1 -1
- package/dist/components/p-c742850b.js +499 -0
- package/dist/components/p-c742850b.js.map +1 -0
- package/dist/components/{p-7443f196.js → p-cb90d173.js} +6 -6
- package/dist/components/{p-7443f196.js.map → p-cb90d173.js.map} +1 -1
- package/dist/components/{p-7f7f0658.js → p-d2445b6d.js} +10 -10
- package/dist/components/{p-7f7f0658.js.map → p-d2445b6d.js.map} +1 -1
- package/dist/components/{p-a8ec972e.js → p-d2c600c0.js} +4 -4
- package/dist/components/{p-a8ec972e.js.map → p-d2c600c0.js.map} +1 -1
- package/dist/components/{p-c12d4515.js → p-d2d74dcd.js} +7 -7
- package/dist/components/{p-c12d4515.js.map → p-d2d74dcd.js.map} +1 -1
- package/dist/components/{p-82c01297.js → p-d471066b.js} +107 -115
- package/dist/components/p-d471066b.js.map +1 -0
- package/dist/components/{p-56fd5598.js → p-d51abfe0.js} +2 -2
- package/dist/components/{p-56fd5598.js.map → p-d51abfe0.js.map} +1 -1
- package/dist/components/{p-9e4a7b5b.js → p-dcb5daf0.js} +8 -8
- package/dist/components/{p-9e4a7b5b.js.map → p-dcb5daf0.js.map} +1 -1
- package/dist/components/{p-876d64b3.js → p-e057cdb7.js} +2 -2
- package/dist/components/{p-876d64b3.js.map → p-e057cdb7.js.map} +1 -1
- package/dist/components/{p-70ceab79.js → p-e28c6152.js} +5 -5
- package/dist/components/p-e28c6152.js.map +1 -0
- package/dist/components/p-e574f08d.js +175 -0
- package/dist/components/{p-4f7e3345.js.map → p-e574f08d.js.map} +1 -1
- package/dist/components/{p-9580f153.js → p-e98f0d21.js} +5 -5
- package/dist/components/{p-9580f153.js.map → p-e98f0d21.js.map} +1 -1
- package/dist/components/p-ebbcf7f4.js +176 -0
- package/dist/components/{p-adff8859.js.map → p-ebbcf7f4.js.map} +1 -1
- package/dist/components/{p-4190e1af.js → p-ebf469aa.js} +39 -50
- package/dist/components/p-ebf469aa.js.map +1 -0
- package/dist/components/{p-582e4f8c.js → p-edc37bbd.js} +7 -7
- package/dist/components/{p-582e4f8c.js.map → p-edc37bbd.js.map} +1 -1
- package/dist/components/{p-9652bc90.js → p-f46dd8e4.js} +2 -2
- package/dist/components/{p-9652bc90.js.map → p-f46dd8e4.js.map} +1 -1
- package/dist/components/{p-9ba73174.js → p-f770567b.js} +5 -5
- package/dist/components/{p-9ba73174.js.map → p-f770567b.js.map} +1 -1
- package/dist/components/{p-c3549f14.js → p-f9cb46a5.js} +2 -2
- package/dist/components/{p-c3549f14.js.map → p-f9cb46a5.js.map} +1 -1
- package/dist/components/{p-085ade21.js → p-fa59c097.js} +8 -8
- package/dist/components/{p-085ade21.js.map → p-fa59c097.js.map} +1 -1
- package/dist/components/{p-4c90a4c1.js → p-fa639851.js} +43 -43
- package/dist/components/{p-4c90a4c1.js.map → p-fa639851.js.map} +1 -1
- package/dist/components/{p-aceb08d1.js → p-faf7b7e2.js} +5 -5
- package/dist/components/p-faf7b7e2.js.map +1 -0
- package/dist/components/smoothly-app-demo.js +195 -177
- package/dist/components/smoothly-app-demo.js.map +1 -1
- package/dist/components/smoothly-app-room.js +1 -1
- package/dist/components/smoothly-app.js +1 -1
- package/dist/components/smoothly-back-to-top.js +1 -1
- package/dist/components/smoothly-burger.js +1 -1
- package/dist/components/smoothly-button-confirm.js +1 -1
- package/dist/components/smoothly-button-demo.js +1 -1
- package/dist/components/smoothly-button.js +1 -1
- package/dist/components/smoothly-calendar.js +1 -1
- package/dist/components/smoothly-checkbox.js +1 -1
- package/dist/components/smoothly-checkbox.js.map +1 -1
- package/dist/components/smoothly-country.js +3 -3
- package/dist/components/smoothly-country.js.map +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-transparent.js +1 -1
- package/dist/components/smoothly-form-demo-typed.js +1 -1
- package/dist/components/smoothly-form-demo.js +1 -1
- package/dist/components/smoothly-form.js +1 -1
- package/dist/components/smoothly-frame.js +1 -1
- package/dist/components/smoothly-icon-demo.js +1 -1
- package/dist/components/smoothly-icon.js +1 -1
- package/dist/components/smoothly-input-checkbox-demo.js +30 -30
- 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.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.d.ts +11 -0
- package/dist/components/smoothly-modal.js +8 -0
- package/dist/components/smoothly-modal.js.map +1 -0
- package/dist/components/smoothly-next-demo-colspan.js +1 -1
- package/dist/components/smoothly-next-demo-filler-row-demo.d.ts +11 -0
- package/dist/components/smoothly-next-demo-filler-row-demo.js +8 -0
- package/dist/components/smoothly-next-demo-filler-row-demo.js.map +1 -0
- package/dist/components/smoothly-next-demo-group.js +1 -1
- package/dist/components/smoothly-next-demo-nested-inner.js +1 -1
- package/dist/components/smoothly-next-demo-nested.js +1 -1
- package/dist/components/smoothly-next-demo-simple.js +1 -1
- package/dist/components/smoothly-next-demo.js +1 -1
- package/dist/components/smoothly-next-table-body.js +1 -1
- package/dist/components/smoothly-next-table-cell.js +1 -1
- package/dist/components/smoothly-next-table-demo-filtered.js +1 -1
- package/dist/components/smoothly-next-table-expandable-cell.js +1 -1
- package/dist/components/smoothly-next-table-expandable-row.js +1 -1
- package/dist/components/smoothly-next-table-filler-row.d.ts +11 -0
- package/dist/components/smoothly-next-table-filler-row.js +8 -0
- package/dist/components/smoothly-next-table-filler-row.js.map +1 -0
- package/dist/components/smoothly-next-table-foot.js +1 -1
- package/dist/components/smoothly-next-table-head.js +1 -1
- package/dist/components/smoothly-next-table-row-group.js +1 -1
- package/dist/components/smoothly-next-table-row.js +1 -1
- package/dist/components/smoothly-next-table.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-cell.js +1 -1
- package/dist/components/smoothly-table-demo-filtered.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-footer.js +1 -1
- package/dist/components/smoothly-table-header.js +1 -1
- package/dist/components/smoothly-table-row.js +1 -1
- package/dist/components/smoothly-table-testing.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-toggle.js +1 -1
- package/dist/components/smoothly-trigger-sink.js +3 -3
- package/dist/components/smoothly-trigger-source.js +3 -3
- package/dist/components/smoothly-trigger.js +1 -1
- package/dist/esm/{Scrollable-94b2c80b.js → Scrollable-93e46f30.js} +17 -388
- package/dist/esm/Scrollable-93e46f30.js.map +1 -0
- package/dist/esm/{TimeZone-7b25e3f9.js → TimeZone-52285537.js} +2933 -1729
- package/dist/esm/TimeZone-52285537.js.map +1 -0
- package/dist/esm/{en-bacb390d.js → en-6e8712b5.js} +2 -2
- package/dist/esm/{en-bacb390d.js.map → en-6e8712b5.js.map} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{smoothly-app_106.entry.js → smoothly-app_109.entry.js} +763 -637
- package/dist/esm/smoothly-app_109.entry.js.map +1 -0
- package/dist/esm/smoothly-checkbox.entry.js.map +1 -1
- package/dist/esm/smoothly-country.entry.js +3 -3
- package/dist/esm/smoothly-country.entry.js.map +1 -1
- package/dist/esm/smoothly-input-checkbox-demo.entry.js +2 -2
- package/dist/esm/smoothly-trigger-sink.entry.js +3 -3
- package/dist/esm/smoothly-trigger-source.entry.js +3 -3
- package/dist/esm/smoothly.js +1 -1
- package/dist/smoothly/index.esm.js +1 -1
- package/dist/smoothly/p-152fd0d7.entry.js.map +1 -1
- package/dist/smoothly/{p-cf245e8a.js → p-2257be8c.js} +2 -2
- package/dist/smoothly/p-34d144e8.js +2 -0
- package/dist/smoothly/p-34d144e8.js.map +1 -0
- package/dist/smoothly/{p-e9cd0cd0.entry.js → p-3ede8604.entry.js} +2 -2
- package/dist/smoothly/p-3ede8604.entry.js.map +1 -0
- package/dist/smoothly/{p-aa596b7e.entry.js → p-6a5409cf.entry.js} +2 -2
- package/dist/smoothly/p-6d7ee489.js +2 -0
- package/dist/smoothly/p-6d7ee489.js.map +1 -0
- package/dist/smoothly/{p-f0d68499.entry.js → p-7afb0711.entry.js} +2 -2
- package/dist/smoothly/p-8fa9500d.entry.js +2 -0
- package/dist/smoothly/p-c8ced8ea.entry.js +2 -0
- package/dist/smoothly/p-c8ced8ea.entry.js.map +1 -0
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/dist/smoothly/smoothly.esm.js.map +1 -1
- package/dist/types/components/app/index.d.ts +1 -1
- package/dist/types/components/button/Button.d.ts +1 -1
- package/dist/types/components/calendar/generate.d.ts +1 -1
- package/dist/types/components/calendar/index.d.ts +15 -14
- package/dist/types/components/checkbox/translation/index.d.ts +2 -2
- package/dist/types/components/country/index.d.ts +3 -3
- package/dist/types/components/dialog/demo/index.d.ts +3 -0
- package/dist/types/components/display/index.d.ts +6 -6
- package/dist/types/components/filter/Filter.d.ts +3 -3
- package/dist/types/components/filter/field/index.d.ts +3 -0
- package/dist/types/components/form/demo/typed/Contact.d.ts +1 -1
- package/dist/types/components/form/index.d.ts +2 -0
- package/dist/types/components/input/Deep.d.ts +4 -0
- package/dist/types/components/input/Editable.d.ts +2 -2
- package/dist/types/components/input/Input.d.ts +5 -2
- package/dist/types/components/input/InputStateHandler.d.ts +37 -0
- package/dist/types/components/input/Key.d.ts +13 -0
- package/dist/types/components/input/Looks.d.ts +2 -2
- package/dist/types/components/input/color/index.d.ts +1 -2
- package/dist/types/components/input/date/index.d.ts +9 -9
- package/dist/types/components/input/date/range/index.d.ts +1 -1
- package/dist/types/components/input/file/index.d.ts +1 -0
- package/dist/types/components/input/index.d.ts +11 -17
- package/dist/types/components/input/month/index.d.ts +6 -2
- package/dist/types/components/input/radio/Selected.d.ts +1 -1
- package/dist/types/components/input/radio/index.d.ts +1 -1
- package/dist/types/components/input/radio/item/index.d.ts +1 -1
- package/dist/types/components/input/range/index.d.ts +2 -1
- package/dist/types/components/item/Item.d.ts +2 -2
- package/dist/types/components/modal/index.d.ts +9 -0
- package/dist/types/components/next/demo/fillerRow/filleRowDemo.d.ts +13 -0
- package/dist/types/components/next/table/fillerRow/index.d.ts +4 -0
- package/dist/types/components/next/table/group/index.d.ts +2 -1
- package/dist/types/components/next/table/index.d.ts +1 -0
- package/dist/types/components/tabs/tab/index.d.ts +1 -1
- package/dist/types/components.d.ts +138 -50
- package/dist/types/model/Color/HSL.d.ts +1 -1
- package/dist/types/model/Color/RGB.d.ts +1 -1
- package/dist/types/model/Color/index.d.ts +2 -2
- package/dist/types/model/Submit.d.ts +1 -1
- package/package.json +20 -40
- package/dist/cjs/Scrollable-a60d6091.js.map +0 -1
- package/dist/cjs/TimeZone-45bcd855.js.map +0 -1
- package/dist/cjs/smoothly-app_106.cjs.entry.js.map +0 -1
- package/dist/collection/components/input/Action.js +0 -100
- package/dist/collection/components/input/Action.js.map +0 -1
- package/dist/collection/components/input/index.e2e.js +0 -52
- package/dist/collection/components/input/index.e2e.js.map +0 -1
- package/dist/components/p-050d6683.js.map +0 -1
- package/dist/components/p-0812295b.js.map +0 -1
- package/dist/components/p-09cd86b9.js.map +0 -1
- package/dist/components/p-1bab70cf.js.map +0 -1
- package/dist/components/p-24dcd271.js.map +0 -1
- package/dist/components/p-2939bb2b.js.map +0 -1
- package/dist/components/p-3a3d264a.js +0 -207
- package/dist/components/p-3b329054.js +0 -45
- package/dist/components/p-3c216afa.js.map +0 -1
- package/dist/components/p-3e87d17f.js.map +0 -1
- package/dist/components/p-4190e1af.js.map +0 -1
- package/dist/components/p-4433b27b.js.map +0 -1
- package/dist/components/p-4c3b2014.js.map +0 -1
- package/dist/components/p-4f7e3345.js +0 -175
- package/dist/components/p-5276d246.js.map +0 -1
- package/dist/components/p-58a11f85.js.map +0 -1
- package/dist/components/p-6a51e4a6.js +0 -123
- package/dist/components/p-70ceab79.js.map +0 -1
- package/dist/components/p-82c01297.js.map +0 -1
- package/dist/components/p-8a02ff30.js.map +0 -1
- package/dist/components/p-8d6eccac.js.map +0 -1
- package/dist/components/p-960d8ba1.js.map +0 -1
- package/dist/components/p-96469335.js.map +0 -1
- package/dist/components/p-987d969a.js +0 -53
- package/dist/components/p-987d969a.js.map +0 -1
- package/dist/components/p-99f89f10.js.map +0 -1
- package/dist/components/p-abba2d2f.js.map +0 -1
- package/dist/components/p-aceb08d1.js.map +0 -1
- package/dist/components/p-adff8859.js +0 -176
- package/dist/components/p-b0b01235.js.map +0 -1
- package/dist/components/p-b28af62c.js.map +0 -1
- package/dist/components/p-b67dde92.js.map +0 -1
- package/dist/components/p-bb655bb7.js.map +0 -1
- package/dist/components/p-be596a9e.js.map +0 -1
- package/dist/components/p-beabdd93.js.map +0 -1
- package/dist/components/p-c2b45135.js +0 -149
- package/dist/components/p-c2b45135.js.map +0 -1
- package/dist/components/p-c7905089.js +0 -449
- package/dist/components/p-c7905089.js.map +0 -1
- package/dist/components/p-ca19ed60.js.map +0 -1
- package/dist/components/p-eeb1e790.js.map +0 -1
- package/dist/components/p-f3359c81.js +0 -243
- package/dist/components/p-f3359c81.js.map +0 -1
- package/dist/components/p-f8a79773.js.map +0 -1
- package/dist/components/p-fea68b4b.js.map +0 -1
- package/dist/esm/Scrollable-94b2c80b.js.map +0 -1
- package/dist/esm/TimeZone-7b25e3f9.js.map +0 -1
- package/dist/esm/smoothly-app_106.entry.js.map +0 -1
- package/dist/smoothly/p-05e38ae2.js +0 -2
- package/dist/smoothly/p-05e38ae2.js.map +0 -1
- package/dist/smoothly/p-0f71a043.entry.js +0 -2
- package/dist/smoothly/p-0f71a043.entry.js.map +0 -1
- package/dist/smoothly/p-3e49ca8d.entry.js +0 -2
- package/dist/smoothly/p-99846f9b.js +0 -2
- package/dist/smoothly/p-99846f9b.js.map +0 -1
- package/dist/smoothly/p-e9cd0cd0.entry.js.map +0 -1
- package/dist/types/components/input/Action.d.ts +0 -13
- /package/dist/smoothly/{p-cf245e8a.js.map → p-2257be8c.js.map} +0 -0
- /package/dist/smoothly/{p-aa596b7e.entry.js.map → p-6a5409cf.entry.js.map} +0 -0
- /package/dist/smoothly/{p-f0d68499.entry.js.map → p-7afb0711.entry.js.map} +0 -0
- /package/dist/smoothly/{p-3e49ca8d.entry.js.map → p-8fa9500d.entry.js.map} +0 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-f765921a.js';
|
|
2
|
+
import { d as defineCustomElement$7 } from './p-7d0eafb0.js';
|
|
3
|
+
import { d as defineCustomElement$6 } from './p-e98f0d21.js';
|
|
4
|
+
import { d as defineCustomElement$5 } from './p-2d60ab95.js';
|
|
5
|
+
import { d as defineCustomElement$4 } from './p-8e748704.js';
|
|
6
|
+
import { d as defineCustomElement$3 } from './p-5a89aff9.js';
|
|
7
|
+
import { d as defineCustomElement$2 } from './p-e28c6152.js';
|
|
8
|
+
import { d as defineCustomElement$1 } from './p-32f089f8.js';
|
|
9
|
+
|
|
10
|
+
const styleCss = ".sc-smoothly-dialog-demo-h>smoothly-button.sc-smoothly-dialog-demo{display:block;margin-block:2rem}";
|
|
11
|
+
const SmoothlyDialogDemoStyle0 = styleCss;
|
|
12
|
+
|
|
13
|
+
const SmoothlyDialogDemo = proxyCustomElement(class SmoothlyDialogDemo extends H {
|
|
14
|
+
constructor() {
|
|
15
|
+
super();
|
|
16
|
+
this.__registerHost();
|
|
17
|
+
this.openModal = false;
|
|
18
|
+
this.openTallModal = false;
|
|
19
|
+
this.showFrame = false;
|
|
20
|
+
}
|
|
21
|
+
render() {
|
|
22
|
+
return (h(Host, { key: '6f23592546df981ab328a997d491fc38dd018cd9' }, h("smoothly-button", { key: '10c77679cf0d56bc2a6f72a811af6a8565c8a089', fill: "solid", color: "light", onClick: () => (this.openModal = true) }, "Open Modal"), h("smoothly-button", { key: '3ac4824da8c88e874ef3ce1fd074c14eb03b564c', fill: "solid", color: "light", onClick: () => (this.openTallModal = true) }, "Open Modal with long text and top-aligned."), h("smoothly-button", { key: '90b57556f3c083e437e6adf978ca5985d2dcbdac', fill: "solid", color: "light", onClick: () => (this.showFrame = !this.showFrame) }, "Show Frame"), h("smoothly-modal", { key: 'd3302307ea096a2f80305f2d5ef18fa5e97a723e', closable: true, open: this.openModal, onSmoothlyModalChange: e => (this.openModal = e.detail) }, h("h2", { key: '7659aef15bb808a8057ecf1be592d3a98c84000c', slot: "header" }, "Modal"), h("span", { key: '68eec929d76adaf9abb535220d7fbe7a7fcf8b0a' }, "Are you sure you want to confirm this action?"), h("smoothly-button", { key: '85963882f77a2d5d05076a873dc612a9dbb1d735', slot: "actions", color: "success" }, "Confirm"), h("smoothly-button", { key: 'a106ae037ea3c9ec9bbcc33f6a00324220b07b61', slot: "actions", color: "light", fill: "outline", onClick: () => (this.openModal = false) }, "Cancel")), h("smoothly-modal", { key: '9d91b3f59755964920ae0a9dba277b7de4795d09', closable: true, open: this.openTallModal, onSmoothlyModalChange: e => (this.openTallModal = e.detail), align: "top" }, h("h2", { key: 'b8f58b34e93ea54fdb83880b6a132aedd530d69b', slot: "header" }, "Modal"), h("smoothly-summary", { key: '454a5f57522f0dbb0e2eb56365d62968a07b8f8c' }, h("div", { key: '17607ba2a7b918eed58e4f827697aaccc1a3849b', slot: "summary" }, "Lorem ipsum"), h("div", { key: 'fda1929764661b8ceee7fff0de965716590d04fb', slot: "content" }, Array.from({ length: 10 }).map(() => (h("p", null, "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-button", { key: 'c176e661ec34df09bde9beffdf502264851a9548', slot: "actions", color: "light", fill: "outline", onClick: () => (this.openTallModal = false) }, "Cancel")), this.showFrame && (h("smoothly-dialog", { key: '0596a4eba8b82b63d6711cb8f9e840eebf537072', closable: true }, h("smoothly-frame", { key: '1a027bc120e983af8790e4b03d47195b092deaa4', url: "https://www.wikipedia.org/", name: "parent", style: { height: "80vh" } })))));
|
|
23
|
+
}
|
|
24
|
+
static get style() { return SmoothlyDialogDemoStyle0; }
|
|
25
|
+
}, [2, "smoothly-dialog-demo", {
|
|
26
|
+
"openModal": [32],
|
|
27
|
+
"openTallModal": [32],
|
|
28
|
+
"showFrame": [32]
|
|
29
|
+
}]);
|
|
30
|
+
function defineCustomElement() {
|
|
31
|
+
if (typeof customElements === "undefined") {
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
const components = ["smoothly-dialog-demo", "smoothly-button", "smoothly-dialog", "smoothly-frame", "smoothly-icon", "smoothly-modal", "smoothly-summary", "smoothly-trigger"];
|
|
35
|
+
components.forEach(tagName => { switch (tagName) {
|
|
36
|
+
case "smoothly-dialog-demo":
|
|
37
|
+
if (!customElements.get(tagName)) {
|
|
38
|
+
customElements.define(tagName, SmoothlyDialogDemo);
|
|
39
|
+
}
|
|
40
|
+
break;
|
|
41
|
+
case "smoothly-button":
|
|
42
|
+
if (!customElements.get(tagName)) {
|
|
43
|
+
defineCustomElement$7();
|
|
44
|
+
}
|
|
45
|
+
break;
|
|
46
|
+
case "smoothly-dialog":
|
|
47
|
+
if (!customElements.get(tagName)) {
|
|
48
|
+
defineCustomElement$6();
|
|
49
|
+
}
|
|
50
|
+
break;
|
|
51
|
+
case "smoothly-frame":
|
|
52
|
+
if (!customElements.get(tagName)) {
|
|
53
|
+
defineCustomElement$5();
|
|
54
|
+
}
|
|
55
|
+
break;
|
|
56
|
+
case "smoothly-icon":
|
|
57
|
+
if (!customElements.get(tagName)) {
|
|
58
|
+
defineCustomElement$4();
|
|
59
|
+
}
|
|
60
|
+
break;
|
|
61
|
+
case "smoothly-modal":
|
|
62
|
+
if (!customElements.get(tagName)) {
|
|
63
|
+
defineCustomElement$3();
|
|
64
|
+
}
|
|
65
|
+
break;
|
|
66
|
+
case "smoothly-summary":
|
|
67
|
+
if (!customElements.get(tagName)) {
|
|
68
|
+
defineCustomElement$2();
|
|
69
|
+
}
|
|
70
|
+
break;
|
|
71
|
+
case "smoothly-trigger":
|
|
72
|
+
if (!customElements.get(tagName)) {
|
|
73
|
+
defineCustomElement$1();
|
|
74
|
+
}
|
|
75
|
+
break;
|
|
76
|
+
} });
|
|
77
|
+
}
|
|
78
|
+
defineCustomElement();
|
|
79
|
+
|
|
80
|
+
export { SmoothlyDialogDemo as S, defineCustomElement as d };
|
|
81
|
+
|
|
82
|
+
//# sourceMappingURL=p-5cee3e99.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"p-5cee3e99.js","mappings":";;;;;;;;;AAAA,MAAM,QAAQ,GAAG,qGAAqG,CAAC;AACvH,iCAAe,QAAQ;;MCMV,kBAAkB;;;;yBACT,KAAK;6BACD,KAAK;yBACT,KAAK;;IAE1B,MAAM;QACL,QACC,EAAC,IAAI,uDACJ,wEAAiB,IAAI,EAAC,OAAO,EAAC,KAAK,EAAC,OAAO,EAAC,OAAO,EAAE,OAAO,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,iBAEhE,EAClB,wEAAiB,IAAI,EAAC,OAAO,EAAC,KAAK,EAAC,OAAO,EAAC,OAAO,EAAE,OAAO,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,iDAEpE,EAClB,wEAAiB,IAAI,EAAC,OAAO,EAAC,KAAK,EAAC,OAAO,EAAC,OAAO,EAAE,OAAO,IAAI,CAAC,SAAS,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,iBAE3E,EAElB,uEAAgB,QAAQ,QAAC,IAAI,EAAE,IAAI,CAAC,SAAS,EAAE,qBAAqB,EAAE,CAAC,KAAK,IAAI,CAAC,SAAS,GAAG,CAAC,CAAC,MAAM,CAAC,IACrG,2DAAI,IAAI,EAAC,QAAQ,YAAW,EAC5B,+GAA0D,EAC1D,wEAAiB,IAAI,EAAC,SAAS,EAAC,KAAK,EAAC,SAAS,cAE7B,EAClB,wEAAiB,IAAI,EAAC,SAAS,EAAC,KAAK,EAAC,OAAO,EAAC,IAAI,EAAC,SAAS,EAAC,OAAO,EAAE,OAAO,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC,aAElF,CACF,EAEjB,uEACC,QAAQ,QACR,IAAI,EAAE,IAAI,CAAC,aAAa,EACxB,qBAAqB,EAAE,CAAC,KAAK,IAAI,CAAC,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC,EAC3D,KAAK,EAAC,KAAK,IACX,2DAAI,IAAI,EAAC,QAAQ,YAAW,EAC5B,2EACC,4DAAK,IAAI,EAAC,SAAS,kBAAkB,EACrC,4DAAK,IAAI,EAAC,SAAS,IACjB,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,OAC/B,6cAMI,CACJ,CAAC,CACG,CACY,EACnB,wEAAiB,IAAI,EAAC,SAAS,EAAC,KAAK,EAAC,OAAO,EAAC,IAAI,EAAC,SAAS,EAAC,OAAO,EAAE,OAAO,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC,aAEtF,CACF,EAEhB,IAAI,CAAC,SAAS,KACd,wEAAiB,QAAQ,UACxB,uEAAgB,GAAG,EAAC,4BAA4B,EAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,GAAI,CAC3E,CAClB,CACK,EACP;KACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/dialog/demo/style.css?tag=smoothly-dialog-demo&encapsulation=scoped","src/components/dialog/demo/index.tsx"],"sourcesContent":["\n:host > smoothly-button {\n\tdisplay: block;\n\tmargin-block: 2rem;\n}\n","import { Component, h, Host, State } from \"@stencil/core\"\n\n@Component({\n\ttag: \"smoothly-dialog-demo\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyDialogDemo {\n\t@State() openModal = false\n\t@State() openTallModal = false\n\t@State() showFrame = false\n\n\trender() {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<smoothly-button fill=\"solid\" color=\"light\" onClick={() => (this.openModal = true)}>\n\t\t\t\t\tOpen Modal\n\t\t\t\t</smoothly-button>\n\t\t\t\t<smoothly-button fill=\"solid\" color=\"light\" onClick={() => (this.openTallModal = true)}>\n\t\t\t\t\tOpen Modal with long text and top-aligned.\n\t\t\t\t</smoothly-button>\n\t\t\t\t<smoothly-button fill=\"solid\" color=\"light\" onClick={() => (this.showFrame = !this.showFrame)}>\n\t\t\t\t\tShow Frame\n\t\t\t\t</smoothly-button>\n\n\t\t\t\t<smoothly-modal closable open={this.openModal} onSmoothlyModalChange={e => (this.openModal = e.detail)}>\n\t\t\t\t\t<h2 slot=\"header\">Modal</h2>\n\t\t\t\t\t<span>Are you sure you want to confirm this action?</span>\n\t\t\t\t\t<smoothly-button slot=\"actions\" color=\"success\">\n\t\t\t\t\t\tConfirm\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button slot=\"actions\" color=\"light\" fill=\"outline\" onClick={() => (this.openModal = false)}>\n\t\t\t\t\t\tCancel\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t</smoothly-modal>\n\n\t\t\t\t<smoothly-modal\n\t\t\t\t\tclosable\n\t\t\t\t\topen={this.openTallModal}\n\t\t\t\t\tonSmoothlyModalChange={e => (this.openTallModal = e.detail)}\n\t\t\t\t\talign=\"top\">\n\t\t\t\t\t<h2 slot=\"header\">Modal</h2>\n\t\t\t\t\t<smoothly-summary>\n\t\t\t\t\t\t<div slot=\"summary\">Lorem ipsum</div>\n\t\t\t\t\t\t<div slot=\"content\">\n\t\t\t\t\t\t\t{Array.from({ length: 10 }).map(() => (\n\t\t\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\t\t\tLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et\n\t\t\t\t\t\t\t\t\tdolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut\n\t\t\t\t\t\t\t\t\taliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum\n\t\t\t\t\t\t\t\t\tdolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui\n\t\t\t\t\t\t\t\t\tofficia deserunt mollit anim id est laborum.\n\t\t\t\t\t\t\t\t</p>\n\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</smoothly-summary>\n\t\t\t\t\t<smoothly-button slot=\"actions\" color=\"light\" fill=\"outline\" onClick={() => (this.openTallModal = false)}>\n\t\t\t\t\t\tCancel\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t</smoothly-modal>\n\n\t\t\t\t{this.showFrame && (\n\t\t\t\t\t<smoothly-dialog closable>\n\t\t\t\t\t\t<smoothly-frame url=\"https://www.wikipedia.org/\" name=\"parent\" style={{ height: \"80vh\" }} />\n\t\t\t\t\t</smoothly-dialog>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-f765921a.js';
|
|
2
|
-
import { D as Date } from './p-
|
|
3
|
-
import { f as format } from './p-
|
|
4
|
-
import { I as Input } from './p-
|
|
5
|
-
import { d as defineCustomElement$6 } from './p-
|
|
6
|
-
import { d as defineCustomElement$5 } from './p-
|
|
7
|
-
import { d as defineCustomElement$4 } from './p-
|
|
8
|
-
import { d as defineCustomElement$3 } from './p-
|
|
9
|
-
import { d as defineCustomElement$2 } from './p-
|
|
10
|
-
import { d as defineCustomElement$1 } from './p-
|
|
2
|
+
import { D as Date } from './p-390767c7.js';
|
|
3
|
+
import { f as format } from './p-ebf469aa.js';
|
|
4
|
+
import { I as Input } from './p-1a570133.js';
|
|
5
|
+
import { d as defineCustomElement$6 } from './p-16bd611c.js';
|
|
6
|
+
import { d as defineCustomElement$5 } from './p-8e748704.js';
|
|
7
|
+
import { d as defineCustomElement$4 } from './p-c742850b.js';
|
|
8
|
+
import { d as defineCustomElement$3 } from './p-b2a46d46.js';
|
|
9
|
+
import { d as defineCustomElement$2 } from './p-aab71376.js';
|
|
10
|
+
import { d as defineCustomElement$1 } from './p-38ce18a1.js';
|
|
11
11
|
|
|
12
|
-
const styleCss = ".sc-smoothly-input-date-range-h{--input-padding-side:.5rem;--input-value-padding-top:1.25rem;--input-value-padding-bottom:.25rem;--input-min-height:3rem;min-height:var(--input-min-height);box-sizing:border-box;border-radius:var(--smoothly-input-border-radius)}.sc-smoothly-input-date-range-h[looks=\"border\"].sc-smoothly-input-date-range-s>smoothly-picker-menu smoothly-input,[looks=\"border\"].sc-smoothly-input-date-range-h{border:rgb(var(--smoothly-input-border)) solid 1px}[looks=\"border\"][readonly].sc-smoothly-input-date-range-h{border:transparent solid 1px}.sc-smoothly-input-date-range-h[looks=\"line\"].sc-smoothly-input-date-range-s>smoothly-picker-menu smoothly-input,[looks=\"line\"].sc-smoothly-input-date-range-h{border-bottom:rgb(var(--smoothly-input-border)) solid 1px}[looks=\"line\"][readonly].sc-smoothly-input-date-range-h{border-bottom:transparent solid 1px}[looks=\"grid\"].sc-smoothly-input-date-range-h{flex-grow:1;flex-basis:40%;box-shadow:0px 0px 0px 1px rgb(var(--smoothly-input-border));border:none}[looks=\"grid\"][readonly].sc-smoothly-input-date-range-h{box-shadow:0px 0px 0px 1px rgba(var(--smoothly-input-border-readonly))}[looks=\"transparent\"].sc-smoothly-input-date-range-h{border:none}[looks=\"transparent\"][readonly].sc-smoothly-input-date-range-h,[looks=\"transparent\"].sc-smoothly-input-date-range-h:not(:focus-within){background-color:transparent}[looks=\"transparent\"][readonly].sc-smoothly-input-date-range-h>input.sc-smoothly-input-date-range,[looks=\"transparent\"].sc-smoothly-input-date-range-h:not(:focus-within)>input.sc-smoothly-input-date-range{background:transparent}[looks=\"transparent\"].sc-smoothly-input-date-range-h:not([readonly]):focus-within{outline:1px solid rgb(var(--smoothly-input-border))}.sc-smoothly-input-date-range-h.sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h .sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h .label.sc-smoothly-input-date-range{position:absolute;top:.6rem;opacity:0.8;user-select:none;cursor:inherit;transform-origin:top left;transition:transform 100ms ease}.sc-smoothly-input-date-range-h.floating-label.sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h.floating-label .sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h.has-value.sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h.has-value .sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h[placeholder].sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h[placeholder] .sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h[readonly].sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h[readonly] .sc-smoothly-input-date-range-s>[slot=label],.has-value.sc-smoothly-input-date-range-h .label.sc-smoothly-input-date-range,[placeholder].sc-smoothly-input-date-range-h .label.sc-smoothly-input-date-range,[readonly].sc-smoothly-input-date-range-h .label.sc-smoothly-input-date-range,.sc-smoothly-input-date-range-h:not([readonly]):focus-within .label.float-on-focus.sc-smoothly-input-date-range{top:.2rem;transform:scale(0.8)}.sc-smoothly-input-date-range-h:not([show-label]):not(.show-label) .label.sc-smoothly-input-date-range{display:none}.sc-smoothly-input-date-range-h{position:relative;
|
|
12
|
+
const styleCss = ".sc-smoothly-input-date-range-h{--input-padding-side:.5rem;--input-value-padding-top:1.25rem;--input-value-padding-bottom:.25rem;--input-min-height:3rem;min-height:var(--input-min-height);box-sizing:border-box;border-radius:var(--smoothly-input-border-radius)}.sc-smoothly-input-date-range-h[looks=\"border\"].sc-smoothly-input-date-range-s>smoothly-picker-menu smoothly-input,[looks=\"border\"].sc-smoothly-input-date-range-h{border:rgb(var(--smoothly-input-border)) solid 1px}[looks=\"border\"][readonly].sc-smoothly-input-date-range-h{border:transparent solid 1px}.sc-smoothly-input-date-range-h[looks=\"line\"].sc-smoothly-input-date-range-s>smoothly-picker-menu smoothly-input,[looks=\"line\"].sc-smoothly-input-date-range-h{border-bottom:rgb(var(--smoothly-input-border)) solid 1px}[looks=\"line\"][readonly].sc-smoothly-input-date-range-h{border-bottom:transparent solid 1px}[looks=\"grid\"].sc-smoothly-input-date-range-h{flex-grow:1;flex-basis:40%;box-shadow:0px 0px 0px 1px rgb(var(--smoothly-input-border));border:none}[looks=\"grid\"][readonly].sc-smoothly-input-date-range-h{box-shadow:0px 0px 0px 1px rgba(var(--smoothly-input-border-readonly))}[looks=\"transparent\"].sc-smoothly-input-date-range-h{border:none}[looks=\"transparent\"][readonly].sc-smoothly-input-date-range-h,[looks=\"transparent\"].sc-smoothly-input-date-range-h:not(:focus-within){background-color:transparent}[looks=\"transparent\"][readonly].sc-smoothly-input-date-range-h>input.sc-smoothly-input-date-range,[looks=\"transparent\"].sc-smoothly-input-date-range-h:not(:focus-within)>input.sc-smoothly-input-date-range{background:transparent}[looks=\"transparent\"].sc-smoothly-input-date-range-h:not([readonly]):focus-within{outline:1px solid rgb(var(--smoothly-input-border))}.sc-smoothly-input-date-range-h.sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h .sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h .label.sc-smoothly-input-date-range{position:absolute;top:.6rem;opacity:0.8;user-select:none;cursor:inherit;transform-origin:top left;transition:transform 100ms ease}.sc-smoothly-input-date-range-h.floating-label.sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h.floating-label .sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h.has-value.sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h.has-value .sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h[placeholder].sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h[placeholder] .sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h[readonly].sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h[readonly] .sc-smoothly-input-date-range-s>[slot=label],.has-value.sc-smoothly-input-date-range-h .label.sc-smoothly-input-date-range,[placeholder].sc-smoothly-input-date-range-h .label.sc-smoothly-input-date-range,[readonly].sc-smoothly-input-date-range-h .label.sc-smoothly-input-date-range,.sc-smoothly-input-date-range-h:not([readonly]):focus-within .label.float-on-focus.sc-smoothly-input-date-range{top:.2rem;transform:scale(0.8)}.sc-smoothly-input-date-range-h:not([show-label]):not(.show-label) .label.sc-smoothly-input-date-range{display:none}.sc-smoothly-input-date-range-h{position:relative;display:flex;background-color:rgb(var(--smoothly-input-background))}.sc-smoothly-input-date-range-h:focus-within smoothly-input.sc-smoothly-input-date-range{outline:none}.sc-smoothly-input-date-range-h>section.sc-smoothly-input-date-range>smoothly-input.sc-smoothly-input-date-range>div.sc-smoothly-input-date-range>input.sc-smoothly-input-date-range{cursor:pointer}[readonly].sc-smoothly-input-date-range-h,[readonly].sc-smoothly-input-date-range-h>section.sc-smoothly-input-date-range>smoothly-input.sc-smoothly-input-date-range>div.sc-smoothly-input-date-range>input.sc-smoothly-input-date-range{cursor:not-allowed}.sc-smoothly-input-date-range-h>nav.sc-smoothly-input-date-range{position:absolute;z-index:10;top:4em;background-color:rgb(var(--smoothly-input-background));max-width:22em;min-width:18em}.sc-smoothly-input-date-range-h>nav.sc-smoothly-input-date-range>smoothly-calendar.sc-smoothly-input-date-range::before{content:\"\";position:absolute;box-sizing:border-box;top:1px;left:-7em;z-index:9;transform:translate(10em, -0.55em) rotate(45deg);width:1em;height:1em;background-color:rgb(var(--smoothly-input-background));border-top:1px solid rgb(var(--smoothly-input-border));border-left:1px solid rgb(var(--smoothly-input-border))}.sc-smoothly-input-date-range-h>section.sc-smoothly-input-date-range{display:flex;width:100%;background-color:var(--smoothly-input-background);border-radius:0.25rem;cursor:pointer}.sc-smoothly-input-date-range-h>section.sc-smoothly-input-date-range>smoothly-input.sc-smoothly-input-date-range{min-width:15rem;background-color:transparent;--input-min-height:calc(var(--input-min-height) - 2px)}.sc-smoothly-input-date-range-h>section.sc-smoothly-input-date-range>span.sc-smoothly-input-date-range{padding:0.5em 0.2em 0.5em 0.2em;align-self:center}.sc-smoothly-input-date-range-h>span.icons.sc-smoothly-input-date-range{display:flex;flex-direction:row;align-items:center}";
|
|
13
13
|
const SmoothlyInputDateRangeStyle0 = styleCss;
|
|
14
14
|
|
|
15
15
|
const SmoothlyInputDateRange = proxyCustomElement(class SmoothlyInputDateRange extends H {
|
|
@@ -61,11 +61,8 @@ const SmoothlyInputDateRange = proxyCustomElement(class SmoothlyInputDateRange e
|
|
|
61
61
|
this.changed = this.initialStart != this.start || this.initialEnd != this.end;
|
|
62
62
|
(_b = (_a = this.listener).changed) === null || _b === void 0 ? void 0 : _b.call(_a, this);
|
|
63
63
|
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
event.stopPropagation();
|
|
67
|
-
event.detail(this);
|
|
68
|
-
}
|
|
64
|
+
smoothlyInputLoadHandler(event) {
|
|
65
|
+
Input.registerSubAction(this, event);
|
|
69
66
|
}
|
|
70
67
|
smoothlyInputLooksHandler(event) {
|
|
71
68
|
if (event.target != this.element)
|
|
@@ -110,12 +107,12 @@ const SmoothlyInputDateRange = proxyCustomElement(class SmoothlyInputDateRange e
|
|
|
110
107
|
}
|
|
111
108
|
render() {
|
|
112
109
|
const locale = navigator.language;
|
|
113
|
-
return (h(Host, { key: '
|
|
110
|
+
return (h(Host, { key: '0a39feda764bfd21373182adf3b7f5b0b3472eb2', tabindex: 0 }, h("section", { key: '6bc56a02490b2e855d9d9c0b6f2b4e79d2f097b9', onClick: () => !this.readonly && (this.open = !this.open) }, h("smoothly-input", { key: 'bb64b743e16f0f80232a101121475c9b18bf22fe', type: "text", name: "dateRangeInput", readonly: this.readonly, value: this.start && this.end
|
|
114
111
|
? `${format(this.start, "date", locale)} — ${format(this.end, "date", locale)}`
|
|
115
112
|
: undefined, invalid: this.invalid, placeholder: this.placeholder, showLabel: this.showLabel, onSmoothlyInput: e => {
|
|
116
113
|
e.stopPropagation();
|
|
117
114
|
this.inputHandler(e.detail);
|
|
118
|
-
} }, h("slot", { key: '
|
|
115
|
+
} }, h("slot", { key: '5c0304ae71532534e4df6673a2ca538e131ce7cc' }))), h("span", { key: '51c98ef57299158e77be485a5355d4a98eda18a2', class: "icons" }, h("slot", { key: 'a8e2f3cf5dee52eb181865b6fb6b992a87216a54', name: "end" })), this.open && (h("nav", { key: 'e41d58a167a882bff1878fec710c5295dc3f7ea3' }, h("smoothly-calendar", { key: 'de6578bbf253dbf6b5179629e1a414d311c40785', doubleInput: true, onSmoothlyValueChange: e => e.stopPropagation(), onSmoothlyStartChange: e => {
|
|
119
116
|
e.stopPropagation();
|
|
120
117
|
this.start = e.detail;
|
|
121
118
|
}, onSmoothlyEndChange: e => {
|
|
@@ -157,7 +154,7 @@ const SmoothlyInputDateRange = proxyCustomElement(class SmoothlyInputDateRange e
|
|
|
157
154
|
"reset": [64],
|
|
158
155
|
"setInitialValue": [64],
|
|
159
156
|
"clear": [64]
|
|
160
|
-
}, [[0, "smoothlyInputLoad", "
|
|
157
|
+
}, [[0, "smoothlyInputLoad", "smoothlyInputLoadHandler"], [0, "smoothlyInputLooks", "smoothlyInputLooksHandler"], [8, "click", "onWindowClick"]], {
|
|
161
158
|
"start": ["updateValue"],
|
|
162
159
|
"end": ["updateValue"],
|
|
163
160
|
"value": ["valueChanged"]
|
|
@@ -209,4 +206,4 @@ defineCustomElement();
|
|
|
209
206
|
|
|
210
207
|
export { SmoothlyInputDateRange as S, defineCustomElement as d };
|
|
211
208
|
|
|
212
|
-
//# sourceMappingURL=p-
|
|
209
|
+
//# sourceMappingURL=p-5ee36921.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"p-5ee36921.js","mappings":"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","names":["isoly.Date","tidily.format"],"sources":["src/components/input/date/range/style.scss?tag=smoothly-input-date-range&encapsulation=scoped","src/components/input/date/range/index.tsx"],"sourcesContent":["@import \"../../shared.css\";\n\n:host {\n\tposition: relative;\n\tdisplay: flex;\n\tbackground-color: rgb(var(--smoothly-input-background));\n\n\t&:focus-within smoothly-input {\n\t\toutline: none;\n\t}\n}\n\n:host>section>smoothly-input>div>input {\n\tcursor: pointer;\n}\n\n:host[readonly],\n:host[readonly]>section>smoothly-input>div>input {\n\tcursor: not-allowed;\n}\n\n:host>nav {\n\tposition: absolute;\n\tz-index: 10;\n\ttop: 4em;\n\tbackground-color: rgb(var(--smoothly-input-background));\n\tmax-width: 22em;\n\tmin-width: 18em;\n}\n\n:host>nav>smoothly-calendar::before {\n\tcontent: \"\";\n\tposition: absolute;\n\tbox-sizing: border-box;\n\ttop: 1px;\n\tleft: -7em;\n\tz-index: 9;\n\ttransform: translate(10em, -0.55em) rotate(45deg);\n\twidth: 1em;\n\theight: 1em;\n\tbackground-color: rgb(var(--smoothly-input-background));\n\tborder-top: 1px solid rgb(var(--smoothly-input-border));\n\tborder-left: 1px solid rgb(var(--smoothly-input-border));\n}\n\n:host>section {\n\tdisplay: flex;\n\twidth: 100%;\n\tbackground-color: var(--smoothly-input-background);\n\tborder-radius: 0.25rem;\n\tcursor: pointer;\n}\n\n:host>section>smoothly-input {\n\tmin-width: 15rem;\n\tbackground-color: transparent;\n\t--input-min-height: calc(var(--input-min-height) - 2px);\n}\n\n:host>section>span {\n\tpadding: 0.5em 0.2em 0.5em 0.2em;\n\talign-self: center;\n}\n\n:host>span.icons {\n\tdisplay: flex;\n\tflex-direction: row;\n\talign-items: center;\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Listen, Method, Prop, State, Watch } from \"@stencil/core\"\nimport { isoly } from \"isoly\"\nimport { tidily } from \"tidily\"\nimport { Clearable } from \"../../Clearable\"\nimport { Editable } from \"../../Editable\"\nimport { Input } from \"../../Input\"\nimport { Looks } from \"../../Looks\"\nimport { Color, Data } from \"./../../../../model\"\n\n@Component({\n\ttag: \"smoothly-input-date-range\",\n\tstyleUrl: \"style.scss\",\n\tscoped: true,\n})\nexport class SmoothlyInputDateRange implements Clearable, Input, Editable {\n\t@Element() element: HTMLElement\n\t@Prop({ reflect: true }) name: string = \"dateRange\"\n\t@Prop({ reflect: true, mutable: true }) color?: Color\n\t@Prop({ reflect: true, mutable: true }) looks?: Looks\n\t@Prop({ reflect: true, mutable: true }) readonly = false\n\t@Prop({ reflect: true }) showLabel = true\n\t@Prop({ mutable: true }) start: isoly.Date | undefined\n\t@Prop({ mutable: true }) end: isoly.Date | undefined\n\t@Prop() placeholder = \"from — to\"\n\t@Prop() invalid?: boolean = false\n\t@Prop() max?: isoly.Date\n\t@Prop() min?: isoly.Date\n\t@Prop({ mutable: true }) changed = false\n\tparent: Editable | undefined\n\tprivate listener: { changed?: (parent: Editable) => Promise<void> } = {}\n\tprivate initialStart?: isoly.Date\n\tprivate initialEnd?: isoly.Date\n\t@State() value?: isoly.DateRange\n\t@State() open: boolean\n\t@Event() smoothlyInput: EventEmitter<{ [name: string]: isoly.DateRange | undefined }>\n\t@Event() smoothlyInputLoad: EventEmitter<(parent: Editable) => void>\n\t@Event() smoothlyInputLooks: EventEmitter<(looks?: Looks, color?: Color) => void>\n\t@Event() smoothlyFormDisable: EventEmitter<(disabled: boolean) => void>\n\n\tcomponentWillLoad() {\n\t\tthis.setInitialValue()\n\t\tthis.updateValue()\n\t\tthis.smoothlyInputLooks.emit(\n\t\t\t(looks, color) => ((this.looks = this.looks ?? looks), !this.color && (this.color = color))\n\t\t)\n\t\tthis.smoothlyInputLoad.emit(parent => (this.parent = parent))\n\t\tthis.start && this.end && this.smoothlyInput.emit({ [this.name]: { start: this.start, end: this.end } })\n\t\t!this.readonly && this.smoothlyFormDisable.emit(readonly => (this.readonly = readonly))\n\t\tthis.listener.changed?.(this)\n\t}\n\t// TODO: disable search fields in month selectors so that the input becomes typeable and then fix input handler\n\tinputHandler(data: Data) {\n\t\tconst split = \"dateRangeInput\" in data && typeof data.dateRangeInput == \"string\" && data.dateRangeInput.split(\" - \")\n\t\tif (split && split.length == 2 && isoly.Date.is(split[0]) && isoly.Date.is(split[1])) {\n\t\t\tthis.start = split[0]\n\t\t\tthis.end = split[1]\n\t\t}\n\t}\n\t@Watch(\"start\")\n\t@Watch(\"end\")\n\tupdateValue() {\n\t\tthis.value = this.start && this.end ? { start: this.start, end: this.end } : undefined\n\t}\n\t@Watch(\"value\")\n\tvalueChanged() {\n\t\tthis.changed = this.initialStart != this.start || this.initialEnd != this.end\n\t\tthis.listener.changed?.(this)\n\t}\n\t@Listen(\"smoothlyInputLoad\")\n\tsmoothlyInputLoadHandler(event: CustomEvent<(parent: SmoothlyInputDateRange) => void>): void {\n\t\tInput.registerSubAction(this, event)\n\t}\n\t@Listen(\"smoothlyInputLooks\")\n\tsmoothlyInputLooksHandler(event: CustomEvent<(looks: Looks) => void>) {\n\t\tif (event.target != this.element)\n\t\t\tevent.stopPropagation()\n\t}\n\t@Listen(\"click\", { target: \"window\" })\n\tonWindowClick(event: Event): void {\n\t\t!event.composedPath().includes(this.element) && this.open && (this.open = !this.open)\n\t}\n\tasync disconnectedCallback() {\n\t\tif (!this.element.isConnected)\n\t\t\tawait this.unregister()\n\t}\n\t@Method()\n\tasync register() {\n\t\tInput.formAdd(this)\n\t}\n\t@Method()\n\tasync unregister() {\n\t\tInput.formRemove(this)\n\t}\n\t@Method()\n\tasync getValue(): Promise<isoly.DateRange | undefined> {\n\t\treturn this.start && this.end ? { start: this.start, end: this.end } : undefined\n\t}\n\t@Method()\n\tasync listen(property: \"changed\", listener: (parent: Editable) => Promise<void>) {\n\t\tthis.listener[property] = listener\n\t\tlistener(this)\n\t}\n\t@Method()\n\tasync edit(editable: boolean) {\n\t\tthis.readonly = !editable\n\t}\n\t@Method()\n\tasync reset() {\n\t\tthis.start = this.initialStart\n\t\tthis.end = this.initialEnd\n\t}\n\t@Method()\n\tasync setInitialValue() {\n\t\tthis.initialStart = this.start\n\t\tthis.initialEnd = this.end\n\t\tthis.changed = false\n\t}\n\t@Method()\n\tasync clear(): Promise<void> {\n\t\tthis.start = undefined\n\t\tthis.end = undefined\n\t\tthis.smoothlyInput.emit({ [this.name]: undefined })\n\t}\n\trender() {\n\t\tconst locale = navigator.language as isoly.Locale\n\t\treturn (\n\t\t\t<Host tabindex={0}>\n\t\t\t\t<section onClick={() => !this.readonly && (this.open = !this.open)}>\n\t\t\t\t\t<smoothly-input\n\t\t\t\t\t\ttype=\"text\" // TODO: date-range tidily thing\n\t\t\t\t\t\tname=\"dateRangeInput\"\n\t\t\t\t\t\treadonly={this.readonly}\n\t\t\t\t\t\tvalue={\n\t\t\t\t\t\t\tthis.start && this.end\n\t\t\t\t\t\t\t\t? `${tidily.format(this.start, \"date\", locale)} — ${tidily.format(this.end, \"date\", locale)}`\n\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinvalid={this.invalid}\n\t\t\t\t\t\tplaceholder={this.placeholder}\n\t\t\t\t\t\tshowLabel={this.showLabel}\n\t\t\t\t\t\tonSmoothlyInput={e => {\n\t\t\t\t\t\t\te.stopPropagation()\n\t\t\t\t\t\t\tthis.inputHandler(e.detail)\n\t\t\t\t\t\t}}>\n\t\t\t\t\t\t<slot></slot>\n\t\t\t\t\t</smoothly-input>\n\t\t\t\t</section>\n\t\t\t\t<span class={\"icons\"}>\n\t\t\t\t\t<slot name={\"end\"}></slot>\n\t\t\t\t</span>\n\t\t\t\t{this.open && (\n\t\t\t\t\t<nav>\n\t\t\t\t\t\t<smoothly-calendar\n\t\t\t\t\t\t\tdoubleInput={true}\n\t\t\t\t\t\t\tonSmoothlyValueChange={e => e.stopPropagation()}\n\t\t\t\t\t\t\tonSmoothlyStartChange={e => {\n\t\t\t\t\t\t\t\te.stopPropagation()\n\t\t\t\t\t\t\t\tthis.start = e.detail\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\tonSmoothlyEndChange={e => {\n\t\t\t\t\t\t\t\te.stopPropagation()\n\t\t\t\t\t\t\t\tthis.end = e.detail\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\tonSmoothlyDateSet={e => e.stopPropagation()}\n\t\t\t\t\t\t\tonSmoothlyDateRangeSet={e => {\n\t\t\t\t\t\t\t\te.stopPropagation()\n\t\t\t\t\t\t\t\tthis.open = false\n\t\t\t\t\t\t\t\tthis.smoothlyInput.emit({ [this.name]: e.detail })\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\tvalue={this.start}\n\t\t\t\t\t\t\tstart={this.start}\n\t\t\t\t\t\t\tend={this.end}\n\t\t\t\t\t\t\tmax={this.max}\n\t\t\t\t\t\t\tmin={this.min}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</nav>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-f765921a.js';
|
|
2
|
-
import { d as defineCustomElement$3 } from './p-
|
|
3
|
-
import { d as defineCustomElement$2 } from './p-
|
|
4
|
-
import { d as defineCustomElement$1 } from './p-
|
|
2
|
+
import { d as defineCustomElement$3 } from './p-8e748704.js';
|
|
3
|
+
import { d as defineCustomElement$2 } from './p-38c3ff20.js';
|
|
4
|
+
import { d as defineCustomElement$1 } from './p-954dd422.js';
|
|
5
5
|
|
|
6
6
|
// src/path-to-regex-modified.ts
|
|
7
7
|
var Part = class {
|
|
@@ -1500,4 +1500,4 @@ defineCustomElement();
|
|
|
1500
1500
|
|
|
1501
1501
|
export { SmoothlyAppRoom as S, defineCustomElement as d };
|
|
1502
1502
|
|
|
1503
|
-
//# sourceMappingURL=p-
|
|
1503
|
+
//# sourceMappingURL=p-5ef8d096.js.map
|