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.
Files changed (691) hide show
  1. package/dist/cjs/{Scrollable-a60d6091.js → Scrollable-20426515.js} +36 -412
  2. package/dist/cjs/Scrollable-20426515.js.map +1 -0
  3. package/dist/cjs/{TimeZone-45bcd855.js → TimeZone-c7477083.js} +2940 -1728
  4. package/dist/cjs/TimeZone-c7477083.js.map +1 -0
  5. package/dist/cjs/{en-56378cc9.js → en-f4546147.js} +2 -2
  6. package/dist/cjs/{en-56378cc9.js.map → en-f4546147.js.map} +1 -1
  7. package/dist/cjs/index.cjs.js +2 -2
  8. package/dist/cjs/loader.cjs.js +1 -1
  9. package/dist/cjs/{smoothly-app_106.cjs.entry.js → smoothly-app_109.cjs.entry.js} +791 -662
  10. package/dist/cjs/smoothly-app_109.cjs.entry.js.map +1 -0
  11. package/dist/cjs/smoothly-checkbox.cjs.entry.js.map +1 -1
  12. package/dist/cjs/smoothly-country.cjs.entry.js +3 -3
  13. package/dist/cjs/smoothly-country.cjs.entry.js.map +1 -1
  14. package/dist/cjs/smoothly-input-checkbox-demo.cjs.entry.js +2 -2
  15. package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +3 -3
  16. package/dist/cjs/smoothly-trigger-source.cjs.entry.js +3 -3
  17. package/dist/cjs/smoothly.cjs.js +1 -1
  18. package/dist/collection/collection-manifest.json +3 -0
  19. package/dist/collection/components/app/index.js +5 -6
  20. package/dist/collection/components/app/index.js.map +1 -1
  21. package/dist/collection/components/app/style.css +3 -0
  22. package/dist/collection/components/button/Button.js +1 -1
  23. package/dist/collection/components/button/Button.js.map +1 -1
  24. package/dist/collection/components/button/index.js +4 -5
  25. package/dist/collection/components/button/index.js.map +1 -1
  26. package/dist/collection/components/button/style.css +6 -6
  27. package/dist/collection/components/calendar/generate.js +1 -1
  28. package/dist/collection/components/calendar/generate.js.map +1 -1
  29. package/dist/collection/components/calendar/index.js +42 -48
  30. package/dist/collection/components/calendar/index.js.map +1 -1
  31. package/dist/collection/components/calendar/style.css +14 -7
  32. package/dist/collection/components/checkbox/translation/index.js +1 -1
  33. package/dist/collection/components/checkbox/translation/index.js.map +1 -1
  34. package/dist/collection/components/country/index.js +5 -5
  35. package/dist/collection/components/country/index.js.map +1 -1
  36. package/dist/collection/components/dialog/demo/index.js +25 -2
  37. package/dist/collection/components/dialog/demo/index.js.map +1 -1
  38. package/dist/collection/components/dialog/demo/style.css +5 -0
  39. package/dist/collection/components/display/demo/index.js +10 -10
  40. package/dist/collection/components/display/demo/json/index.js +1 -1
  41. package/dist/collection/components/display/index.js +21 -21
  42. package/dist/collection/components/display/index.js.map +1 -1
  43. package/dist/collection/components/display/json/index.js +1 -1
  44. package/dist/collection/components/display/json/object/index.js +2 -2
  45. package/dist/collection/components/display/json/object/key/index.js +1 -1
  46. package/dist/collection/components/display/json/primitive/index.js +1 -1
  47. package/dist/collection/components/filter/field/index.js +10 -5
  48. package/dist/collection/components/filter/field/index.js.map +1 -1
  49. package/dist/collection/components/filter/index.js +3 -3
  50. package/dist/collection/components/filter/input/index.js +1 -1
  51. package/dist/collection/components/filter/select/index.js +2 -2
  52. package/dist/collection/components/filter/toggle/index.js +2 -2
  53. package/dist/collection/components/form/demo/all/index.js +2 -2
  54. package/dist/collection/components/form/demo/card/index.js +1 -1
  55. package/dist/collection/components/form/demo/controlled/index.js +1 -1
  56. package/dist/collection/components/form/demo/date/index.js +1 -1
  57. package/dist/collection/components/form/demo/date-range/index.js +1 -1
  58. package/dist/collection/components/form/demo/index.js +1 -1
  59. package/dist/collection/components/form/demo/login/index.js +1 -1
  60. package/dist/collection/components/form/demo/pet/index.js +2 -2
  61. package/dist/collection/components/form/demo/pet/index.js.map +1 -1
  62. package/dist/collection/components/form/demo/prices/index.js +1 -1
  63. package/dist/collection/components/form/demo/transparent/index.js +1 -1
  64. package/dist/collection/components/form/demo/typed/index.js +1 -1
  65. package/dist/collection/components/form/demo/typed/index.js.map +1 -1
  66. package/dist/collection/components/form/index.js +40 -12
  67. package/dist/collection/components/form/index.js.map +1 -1
  68. package/dist/collection/components/icon/demo/index.js +1 -1
  69. package/dist/collection/components/icon/index.js +4 -1
  70. package/dist/collection/components/icon/index.js.map +1 -1
  71. package/dist/collection/components/input/Deep.js +19 -0
  72. package/dist/collection/components/input/Deep.js.map +1 -0
  73. package/dist/collection/components/input/Deep.spec.js +18 -0
  74. package/dist/collection/components/input/Deep.spec.js.map +1 -0
  75. package/dist/collection/components/input/Input.js +9 -1
  76. package/dist/collection/components/input/Input.js.map +1 -1
  77. package/dist/collection/components/input/InputStateHandler.js +205 -0
  78. package/dist/collection/components/input/InputStateHandler.js.map +1 -0
  79. package/dist/collection/components/input/Key.js +25 -0
  80. package/dist/collection/components/input/Key.js.map +1 -0
  81. package/dist/collection/components/input/checkbox/demo/index.js +1 -1
  82. package/dist/collection/components/input/checkbox/index.js +2 -2
  83. package/dist/collection/components/input/checkbox/style.css +8 -0
  84. package/dist/collection/components/input/clear/index.js +2 -2
  85. package/dist/collection/components/input/clear/index.js.map +1 -1
  86. package/dist/collection/components/input/clear/style.css +6 -6
  87. package/dist/collection/components/input/color/demo/index.js +1 -1
  88. package/dist/collection/components/input/color/index.js +4 -5
  89. package/dist/collection/components/input/color/index.js.map +1 -1
  90. package/dist/collection/components/input/color/style.css +3 -1
  91. package/dist/collection/components/input/date/index.js +17 -22
  92. package/dist/collection/components/input/date/index.js.map +1 -1
  93. package/dist/collection/components/input/date/range/index.js +6 -9
  94. package/dist/collection/components/input/date/range/index.js.map +1 -1
  95. package/dist/collection/components/input/date/range/style.css +0 -3
  96. package/dist/collection/components/input/date/style.css +0 -2
  97. package/dist/collection/components/input/demo/index.js +5 -7
  98. package/dist/collection/components/input/demo/index.js.map +1 -1
  99. package/dist/collection/components/input/demo/price/index.js +1 -1
  100. package/dist/collection/components/input/demo/standard/index.js +1 -1
  101. package/dist/collection/components/input/demo/standard/index.js.map +1 -1
  102. package/dist/collection/components/input/edit/index.js +1 -1
  103. package/dist/collection/components/input/edit/style.css +6 -6
  104. package/dist/collection/components/input/file/index.js +15 -2
  105. package/dist/collection/components/input/file/index.js.map +1 -1
  106. package/dist/collection/components/input/file/style.css +15 -7
  107. package/dist/collection/components/input/index.js +162 -170
  108. package/dist/collection/components/input/index.js.map +1 -1
  109. package/dist/collection/components/input/month/index.js +43 -14
  110. package/dist/collection/components/input/month/index.js.map +1 -1
  111. package/dist/collection/components/input/month/style.css +3 -6
  112. package/dist/collection/components/input/radio/index.js +6 -9
  113. package/dist/collection/components/input/radio/index.js.map +1 -1
  114. package/dist/collection/components/input/radio/item/index.js +5 -5
  115. package/dist/collection/components/input/radio/item/index.js.map +1 -1
  116. package/dist/collection/components/input/radio/style.css +2 -6
  117. package/dist/collection/components/input/range/demo/index.js +1 -1
  118. package/dist/collection/components/input/range/index.js +31 -6
  119. package/dist/collection/components/input/range/index.js.map +1 -1
  120. package/dist/collection/components/input/range/style.css +2 -2
  121. package/dist/collection/components/input/reset/index.js +1 -1
  122. package/dist/collection/components/input/reset/style.css +6 -6
  123. package/dist/collection/components/input/select/index.js +9 -8
  124. package/dist/collection/components/input/select/index.js.map +1 -1
  125. package/dist/collection/components/input/select/style.css +7 -8
  126. package/dist/collection/components/input/style.css +0 -4
  127. package/dist/collection/components/input/submit/index.js +1 -1
  128. package/dist/collection/components/input/submit/style.css +6 -6
  129. package/dist/collection/components/item/index.js +1 -1
  130. package/dist/collection/components/label/index.js +2 -2
  131. package/dist/collection/components/lazy/index.js +1 -1
  132. package/dist/collection/components/load-more/index.js +1 -1
  133. package/dist/collection/components/modal/index.js +109 -0
  134. package/dist/collection/components/modal/index.js.map +1 -0
  135. package/dist/collection/components/modal/style.css +73 -0
  136. package/dist/collection/components/next/demo/colspan/index.js +1 -1
  137. package/dist/collection/components/next/demo/fillerRow/filleRowDemo.js +32 -0
  138. package/dist/collection/components/next/demo/fillerRow/filleRowDemo.js.map +1 -0
  139. package/dist/collection/components/next/demo/fillerRow/style.css +9 -0
  140. package/dist/collection/components/next/demo/filtered/index.js +5 -5
  141. package/dist/collection/components/next/demo/group/index.js +1 -1
  142. package/dist/collection/components/next/demo/index.js +1 -1
  143. package/dist/collection/components/next/demo/index.js.map +1 -1
  144. package/dist/collection/components/next/demo/nested/index.js +1 -1
  145. package/dist/collection/components/next/demo/nested/inner/index.js +1 -1
  146. package/dist/collection/components/next/demo/simple/simple.js +1 -1
  147. package/dist/collection/components/next/table/body/index.js +1 -1
  148. package/dist/collection/components/next/table/cell/index.js +1 -1
  149. package/dist/collection/components/next/table/expandable/cell/index.js +1 -1
  150. package/dist/collection/components/next/table/expandable/cell/style.css +1 -1
  151. package/dist/collection/components/next/table/expandable/row/index.js +1 -1
  152. package/dist/collection/components/next/table/expandable/row/style.css +1 -1
  153. package/dist/collection/components/next/table/fillerRow/index.js +19 -0
  154. package/dist/collection/components/next/table/fillerRow/index.js.map +1 -0
  155. package/dist/collection/components/next/table/fillerRow/style.css +3 -0
  156. package/dist/collection/components/next/table/foot/index.js +1 -1
  157. package/dist/collection/components/next/table/group/index.js +20 -1
  158. package/dist/collection/components/next/table/group/index.js.map +1 -1
  159. package/dist/collection/components/next/table/head/index.js +1 -1
  160. package/dist/collection/components/next/table/index.js +10 -1
  161. package/dist/collection/components/next/table/index.js.map +1 -1
  162. package/dist/collection/components/next/table/row/index.js +1 -1
  163. package/dist/collection/components/notification/index.js +1 -1
  164. package/dist/collection/components/notifier/index.js +2 -2
  165. package/dist/collection/components/spinner/index.js +2 -2
  166. package/dist/collection/components/submit/index.js +3 -4
  167. package/dist/collection/components/submit/index.js.map +1 -1
  168. package/dist/collection/components/submit/style.css +6 -6
  169. package/dist/collection/components/summary/index.js +1 -1
  170. package/dist/collection/components/summary/index.js.map +1 -1
  171. package/dist/collection/components/summary/style.css +11 -4
  172. package/dist/collection/components/table/cell/index.js +1 -1
  173. package/dist/collection/components/table/demo/filtered/index.js +5 -5
  174. package/dist/collection/components/table/demo/index.js +1 -1
  175. package/dist/collection/components/table/demo/testing/index.js +1 -1
  176. package/dist/collection/components/table/expandable/cell/index.js +1 -1
  177. package/dist/collection/components/table/expandable/row/index.js +1 -1
  178. package/dist/collection/components/table/footer/index.js +1 -1
  179. package/dist/collection/components/table/header/index.js +1 -1
  180. package/dist/collection/components/table/index.js +1 -1
  181. package/dist/collection/components/table/row/index.js +1 -1
  182. package/dist/collection/components/tabs/demo/index.js +1 -1
  183. package/dist/collection/components/tabs/index.js +1 -1
  184. package/dist/collection/components/tabs/tab/index.js +2 -3
  185. package/dist/collection/components/tabs/tab/index.js.map +1 -1
  186. package/dist/collection/components/theme/color/index.js +1 -1
  187. package/dist/collection/components/theme/demo/index.js +1 -1
  188. package/dist/collection/components/theme/guide/index.js +8 -8
  189. package/dist/collection/components/theme/picker/index.js +2 -2
  190. package/dist/collection/components/toggle/index.js +1 -1
  191. package/dist/collection/components/toggle/index.js.map +1 -1
  192. package/dist/collection/components/toggle-switch/demo/index.js +1 -1
  193. package/dist/collection/components/toggle-switch/index.js +1 -1
  194. package/dist/collection/components/toggle-switch/index.js.map +1 -1
  195. package/dist/collection/components/trigger/index.js +1 -1
  196. package/dist/collection/components/trigger/sink/index.js +1 -1
  197. package/dist/collection/components/trigger/source/index.js +1 -1
  198. package/dist/collection/model/Data.spec.js.map +1 -1
  199. package/dist/components/index.js +2 -2
  200. package/dist/components/{p-72437d4a.js → p-00c5deff.js} +15 -15
  201. package/dist/components/{p-72437d4a.js.map → p-00c5deff.js.map} +1 -1
  202. package/dist/components/{p-78034c17.js → p-01005164.js} +19 -19
  203. package/dist/components/{p-78034c17.js.map → p-01005164.js.map} +1 -1
  204. package/dist/components/{p-a1ec2a51.js → p-0a2cc241.js} +4 -4
  205. package/dist/components/{p-a1ec2a51.js.map → p-0a2cc241.js.map} +1 -1
  206. package/dist/components/{p-29cf2133.js → p-0b423141.js} +2 -2
  207. package/dist/components/{p-29cf2133.js.map → p-0b423141.js.map} +1 -1
  208. package/dist/components/{p-c9b98b2c.js → p-0d10cb58.js} +2 -2
  209. package/dist/components/{p-c9b98b2c.js.map → p-0d10cb58.js.map} +1 -1
  210. package/dist/components/p-16bd611c.js +144 -0
  211. package/dist/components/p-16bd611c.js.map +1 -0
  212. package/dist/components/{p-e5613a72.js → p-172f7392.js} +6 -6
  213. package/dist/components/{p-e5613a72.js.map → p-172f7392.js.map} +1 -1
  214. package/dist/components/{p-cb513107.js → p-181dcd58.js} +15 -15
  215. package/dist/components/{p-cb513107.js.map → p-181dcd58.js.map} +1 -1
  216. package/dist/components/{p-53681ab6.js → p-192dca7c.js} +2 -2
  217. package/dist/components/{p-53681ab6.js.map → p-192dca7c.js.map} +1 -1
  218. package/dist/components/{p-fea68b4b.js → p-19580a07.js} +6 -3
  219. package/dist/components/p-19580a07.js.map +1 -0
  220. package/dist/components/{p-be596a9e.js → p-1a570133.js} +31 -16
  221. package/dist/components/p-1a570133.js.map +1 -0
  222. package/dist/components/p-1b161111.js +207 -0
  223. package/dist/components/{p-3a3d264a.js.map → p-1b161111.js.map} +1 -1
  224. package/dist/components/p-1d44d3db.js +45 -0
  225. package/dist/components/p-1d44d3db.js.map +1 -0
  226. package/dist/components/p-1ff539de.js +123 -0
  227. package/dist/components/{p-6a51e4a6.js.map → p-1ff539de.js.map} +1 -1
  228. package/dist/components/{p-f8a79773.js → p-225e4537.js} +23 -15
  229. package/dist/components/p-225e4537.js.map +1 -0
  230. package/dist/components/{p-eeb1e790.js → p-256c2b64.js} +7 -10
  231. package/dist/components/p-256c2b64.js.map +1 -0
  232. package/dist/components/{p-d5238da0.js → p-2ceb6925.js} +3 -3
  233. package/dist/components/{p-d5238da0.js.map → p-2ceb6925.js.map} +1 -1
  234. package/dist/components/p-2d4db101.js +113 -0
  235. package/dist/components/p-2d4db101.js.map +1 -0
  236. package/dist/components/{p-a1af56e3.js → p-2d60ab95.js} +3 -3
  237. package/dist/components/{p-a1af56e3.js.map → p-2d60ab95.js.map} +1 -1
  238. package/dist/components/{p-3671b826.js → p-2dba23a5.js} +15 -15
  239. package/dist/components/{p-3671b826.js.map → p-2dba23a5.js.map} +1 -1
  240. package/dist/components/{p-09cd86b9.js → p-3167f505.js} +75 -63
  241. package/dist/components/p-3167f505.js.map +1 -0
  242. package/dist/components/{p-67fe8484.js → p-32f089f8.js} +2 -2
  243. package/dist/components/{p-67fe8484.js.map → p-32f089f8.js.map} +1 -1
  244. package/dist/components/{p-6c77cd6c.js → p-38c3ff20.js} +3 -3
  245. package/dist/components/{p-6c77cd6c.js.map → p-38c3ff20.js.map} +1 -1
  246. package/dist/components/{p-9c14be4b.js → p-38ce18a1.js} +2 -2
  247. package/dist/components/{p-9c14be4b.js.map → p-38ce18a1.js.map} +1 -1
  248. package/dist/components/{p-17acede5.js → p-38e4455d.js} +28 -28
  249. package/dist/components/{p-17acede5.js.map → p-38e4455d.js.map} +1 -1
  250. package/dist/components/{p-99f89f10.js → p-390767c7.js} +2806 -1883
  251. package/dist/components/p-390767c7.js.map +1 -0
  252. package/dist/components/{p-2939bb2b.js → p-3b364b73.js} +8 -8
  253. package/dist/components/p-3b364b73.js.map +1 -0
  254. package/dist/components/{p-24dcd271.js → p-448a256b.js} +5 -5
  255. package/dist/components/p-448a256b.js.map +1 -0
  256. package/dist/components/{p-5276d246.js → p-45124db6.js} +2 -2
  257. package/dist/components/p-45124db6.js.map +1 -0
  258. package/dist/components/{p-cb7811d5.js → p-46d6198c.js} +2 -2
  259. package/dist/components/{p-cb7811d5.js.map → p-46d6198c.js.map} +1 -1
  260. package/dist/components/{p-0812295b.js → p-47556dde.js} +32 -32
  261. package/dist/components/p-47556dde.js.map +1 -0
  262. package/dist/components/{p-b0b01235.js → p-47d5fb7c.js} +28 -28
  263. package/dist/components/p-47d5fb7c.js.map +1 -0
  264. package/dist/components/{p-087c623a.js → p-47d6c43d.js} +6 -6
  265. package/dist/components/{p-087c623a.js.map → p-47d6c43d.js.map} +1 -1
  266. package/dist/components/{p-10abb216.js → p-4b663489.js} +2 -2
  267. package/dist/components/{p-10abb216.js.map → p-4b663489.js.map} +1 -1
  268. package/dist/components/{p-4f89fe0a.js → p-4c6fe645.js} +2 -2
  269. package/dist/components/{p-4f89fe0a.js.map → p-4c6fe645.js.map} +1 -1
  270. package/dist/components/{p-bb655bb7.js → p-4f80c811.js} +11 -11
  271. package/dist/components/p-4f80c811.js.map +1 -0
  272. package/dist/components/{p-960d8ba1.js → p-4f911ef7.js} +3 -3
  273. package/dist/components/p-4f911ef7.js.map +1 -0
  274. package/dist/components/{p-9661e3e2.js → p-5501db91.js} +2 -2
  275. package/dist/components/{p-9661e3e2.js.map → p-5501db91.js.map} +1 -1
  276. package/dist/components/{p-d4d6503f.js → p-562db6b2.js} +2 -2
  277. package/dist/components/{p-d4d6503f.js.map → p-562db6b2.js.map} +1 -1
  278. package/dist/components/{p-06b2c0ff.js → p-58d0ca78.js} +18 -18
  279. package/dist/components/{p-06b2c0ff.js.map → p-58d0ca78.js.map} +1 -1
  280. package/dist/components/{p-050d6683.js → p-591e0e42.js} +10 -10
  281. package/dist/components/p-591e0e42.js.map +1 -0
  282. package/dist/components/p-5a89aff9.js +55 -0
  283. package/dist/components/p-5a89aff9.js.map +1 -0
  284. package/dist/components/{p-532aa5fd.js → p-5bcf58c9.js} +3 -3
  285. package/dist/components/{p-532aa5fd.js.map → p-5bcf58c9.js.map} +1 -1
  286. package/dist/components/p-5cee3e99.js +82 -0
  287. package/dist/components/p-5cee3e99.js.map +1 -0
  288. package/dist/components/{p-beabdd93.js → p-5ee36921.js} +16 -19
  289. package/dist/components/p-5ee36921.js.map +1 -0
  290. package/dist/components/{p-c52830ed.js → p-5ef8d096.js} +4 -4
  291. package/dist/components/{p-c52830ed.js.map → p-5ef8d096.js.map} +1 -1
  292. package/dist/components/{p-0a7ea113.js → p-5ffba444.js} +8 -8
  293. package/dist/components/{p-0a7ea113.js.map → p-5ffba444.js.map} +1 -1
  294. package/dist/components/{p-7b577335.js → p-62328efc.js} +7 -7
  295. package/dist/components/{p-7b577335.js.map → p-62328efc.js.map} +1 -1
  296. package/dist/components/{p-7b6e9ca3.js → p-62c1780b.js} +3 -3
  297. package/dist/components/{p-7b6e9ca3.js.map → p-62c1780b.js.map} +1 -1
  298. package/dist/components/{p-3c19aee5.js → p-63c691a1.js} +19 -19
  299. package/dist/components/{p-3c19aee5.js.map → p-63c691a1.js.map} +1 -1
  300. package/dist/components/{p-58a11f85.js → p-683ee29d.js} +4 -4
  301. package/dist/components/p-683ee29d.js.map +1 -0
  302. package/dist/components/{p-6b5d4af8.js → p-71064122.js} +10 -10
  303. package/dist/components/{p-6b5d4af8.js.map → p-71064122.js.map} +1 -1
  304. package/dist/components/{p-608a35ca.js → p-78e763a5.js} +3 -3
  305. package/dist/components/{p-608a35ca.js.map → p-78e763a5.js.map} +1 -1
  306. package/dist/components/{p-5733b8ef.js → p-79ae3224.js} +2 -2
  307. package/dist/components/{p-5733b8ef.js.map → p-79ae3224.js.map} +1 -1
  308. package/dist/components/{p-631842aa.js → p-7a2f7f3b.js} +6 -6
  309. package/dist/components/{p-631842aa.js.map → p-7a2f7f3b.js.map} +1 -1
  310. package/dist/components/{p-269e9901.js → p-7b5cb070.js} +15 -15
  311. package/dist/components/{p-269e9901.js.map → p-7b5cb070.js.map} +1 -1
  312. package/dist/components/{p-abba2d2f.js → p-7d0eafb0.js} +5 -5
  313. package/dist/components/p-7d0eafb0.js.map +1 -0
  314. package/dist/components/{p-7478f877.js → p-7d208e60.js} +2 -2
  315. package/dist/components/{p-7478f877.js.map → p-7d208e60.js.map} +1 -1
  316. package/dist/components/{p-f4ad0c7e.js → p-7e8da083.js} +2 -2
  317. package/dist/components/{p-f4ad0c7e.js.map → p-7e8da083.js.map} +1 -1
  318. package/dist/components/{p-56536229.js → p-835d7c93.js} +14 -14
  319. package/dist/components/{p-56536229.js.map → p-835d7c93.js.map} +1 -1
  320. package/dist/components/{p-66d58d4e.js → p-85dcc3e5.js} +15 -15
  321. package/dist/components/{p-66d58d4e.js.map → p-85dcc3e5.js.map} +1 -1
  322. package/dist/components/{p-cdf27943.js → p-877c767e.js} +16 -16
  323. package/dist/components/{p-cdf27943.js.map → p-877c767e.js.map} +1 -1
  324. package/dist/components/{p-b067b386.js → p-8c2ae7c3.js} +9 -9
  325. package/dist/components/{p-b067b386.js.map → p-8c2ae7c3.js.map} +1 -1
  326. package/dist/components/{p-1de54888.js → p-8e13449b.js} +3 -3
  327. package/dist/components/{p-1de54888.js.map → p-8e13449b.js.map} +1 -1
  328. package/dist/components/{p-ca19ed60.js → p-8e1e509d.js} +18 -99
  329. package/dist/components/p-8e1e509d.js.map +1 -0
  330. package/dist/components/{p-8a02ff30.js → p-8e748704.js} +6 -4
  331. package/dist/components/p-8e748704.js.map +1 -0
  332. package/dist/components/{p-b67dde92.js → p-8f1ba5d5.js} +17 -18
  333. package/dist/components/p-8f1ba5d5.js.map +1 -0
  334. package/dist/components/{p-4c3b2014.js → p-9292bd8c.js} +4 -5
  335. package/dist/components/p-9292bd8c.js.map +1 -0
  336. package/dist/components/{p-b28af62c.js → p-92c8252d.js} +17 -7
  337. package/dist/components/p-92c8252d.js.map +1 -0
  338. package/dist/components/{p-1964f713.js → p-952205c2.js} +3 -3
  339. package/dist/components/{p-1964f713.js.map → p-952205c2.js.map} +1 -1
  340. package/dist/components/{p-bd99d7e0.js → p-954dd422.js} +2 -2
  341. package/dist/components/{p-bd99d7e0.js.map → p-954dd422.js.map} +1 -1
  342. package/dist/components/{p-6c0de944.js → p-96340cd0.js} +12 -12
  343. package/dist/components/{p-6c0de944.js.map → p-96340cd0.js.map} +1 -1
  344. package/dist/components/{p-d8db6c83.js → p-96acfe2c.js} +6 -6
  345. package/dist/components/{p-d8db6c83.js.map → p-96acfe2c.js.map} +1 -1
  346. package/dist/components/{p-c9723c6f.js → p-9a3fa329.js} +17 -17
  347. package/dist/components/{p-c9723c6f.js.map → p-9a3fa329.js.map} +1 -1
  348. package/dist/components/p-9b66a8cd.js +241 -0
  349. package/dist/components/p-9b66a8cd.js.map +1 -0
  350. package/dist/components/{p-68acb3c2.js → p-aa51802b.js} +12 -12
  351. package/dist/components/{p-68acb3c2.js.map → p-aa51802b.js.map} +1 -1
  352. package/dist/components/{p-3e87d17f.js → p-aab71376.js} +16 -15
  353. package/dist/components/p-aab71376.js.map +1 -0
  354. package/dist/components/{p-e9b6de86.js → p-aacd48b6.js} +4 -4
  355. package/dist/components/{p-e9b6de86.js.map → p-aacd48b6.js.map} +1 -1
  356. package/dist/components/{p-1bab70cf.js → p-ad0417d6.js} +15 -20
  357. package/dist/components/p-ad0417d6.js.map +1 -0
  358. package/dist/components/{p-3c216afa.js → p-ad1be935.js} +13 -8
  359. package/dist/components/p-ad1be935.js.map +1 -0
  360. package/dist/components/{p-96469335.js → p-b0d7a2e6.js} +5 -8
  361. package/dist/components/p-b0d7a2e6.js.map +1 -0
  362. package/dist/components/{p-4433b27b.js → p-b1e386db.js} +6 -6
  363. package/dist/components/p-b1e386db.js.map +1 -0
  364. package/dist/components/{p-8d6eccac.js → p-b2a46d46.js} +35 -18
  365. package/dist/components/p-b2a46d46.js.map +1 -0
  366. package/dist/components/{p-38829eed.js → p-b2e18b02.js} +2 -2
  367. package/dist/components/{p-38829eed.js.map → p-b2e18b02.js.map} +1 -1
  368. package/dist/components/{p-417f0ff3.js → p-b3fc0b85.js} +28 -28
  369. package/dist/components/{p-417f0ff3.js.map → p-b3fc0b85.js.map} +1 -1
  370. package/dist/components/{p-17194438.js → p-b8c18e44.js} +4 -4
  371. package/dist/components/{p-17194438.js.map → p-b8c18e44.js.map} +1 -1
  372. package/dist/components/{p-816007ea.js → p-b93f6336.js} +5 -3
  373. package/dist/components/{p-816007ea.js.map → p-b93f6336.js.map} +1 -1
  374. package/dist/components/p-bdbac42a.js +45 -0
  375. package/dist/components/{p-3b329054.js.map → p-bdbac42a.js.map} +1 -1
  376. package/dist/components/{p-dfa5abc8.js → p-beb87a00.js} +3 -3
  377. package/dist/components/{p-dfa5abc8.js.map → p-beb87a00.js.map} +1 -1
  378. package/dist/components/{p-1bf5dad5.js → p-bf57d733.js} +3 -3
  379. package/dist/components/{p-1bf5dad5.js.map → p-bf57d733.js.map} +1 -1
  380. package/dist/components/{p-c49eb816.js → p-c090ac4b.js} +2 -2
  381. package/dist/components/{p-c49eb816.js.map → p-c090ac4b.js.map} +1 -1
  382. package/dist/components/{p-cb8fff69.js → p-c0ff2ea6.js} +17 -17
  383. package/dist/components/{p-cb8fff69.js.map → p-c0ff2ea6.js.map} +1 -1
  384. package/dist/components/{p-81a86859.js → p-c520cea5.js} +9 -9
  385. package/dist/components/{p-81a86859.js.map → p-c520cea5.js.map} +1 -1
  386. package/dist/components/p-c742850b.js +499 -0
  387. package/dist/components/p-c742850b.js.map +1 -0
  388. package/dist/components/{p-7443f196.js → p-cb90d173.js} +6 -6
  389. package/dist/components/{p-7443f196.js.map → p-cb90d173.js.map} +1 -1
  390. package/dist/components/{p-7f7f0658.js → p-d2445b6d.js} +10 -10
  391. package/dist/components/{p-7f7f0658.js.map → p-d2445b6d.js.map} +1 -1
  392. package/dist/components/{p-a8ec972e.js → p-d2c600c0.js} +4 -4
  393. package/dist/components/{p-a8ec972e.js.map → p-d2c600c0.js.map} +1 -1
  394. package/dist/components/{p-c12d4515.js → p-d2d74dcd.js} +7 -7
  395. package/dist/components/{p-c12d4515.js.map → p-d2d74dcd.js.map} +1 -1
  396. package/dist/components/{p-82c01297.js → p-d471066b.js} +107 -115
  397. package/dist/components/p-d471066b.js.map +1 -0
  398. package/dist/components/{p-56fd5598.js → p-d51abfe0.js} +2 -2
  399. package/dist/components/{p-56fd5598.js.map → p-d51abfe0.js.map} +1 -1
  400. package/dist/components/{p-9e4a7b5b.js → p-dcb5daf0.js} +8 -8
  401. package/dist/components/{p-9e4a7b5b.js.map → p-dcb5daf0.js.map} +1 -1
  402. package/dist/components/{p-876d64b3.js → p-e057cdb7.js} +2 -2
  403. package/dist/components/{p-876d64b3.js.map → p-e057cdb7.js.map} +1 -1
  404. package/dist/components/{p-70ceab79.js → p-e28c6152.js} +5 -5
  405. package/dist/components/p-e28c6152.js.map +1 -0
  406. package/dist/components/p-e574f08d.js +175 -0
  407. package/dist/components/{p-4f7e3345.js.map → p-e574f08d.js.map} +1 -1
  408. package/dist/components/{p-9580f153.js → p-e98f0d21.js} +5 -5
  409. package/dist/components/{p-9580f153.js.map → p-e98f0d21.js.map} +1 -1
  410. package/dist/components/p-ebbcf7f4.js +176 -0
  411. package/dist/components/{p-adff8859.js.map → p-ebbcf7f4.js.map} +1 -1
  412. package/dist/components/{p-4190e1af.js → p-ebf469aa.js} +39 -50
  413. package/dist/components/p-ebf469aa.js.map +1 -0
  414. package/dist/components/{p-582e4f8c.js → p-edc37bbd.js} +7 -7
  415. package/dist/components/{p-582e4f8c.js.map → p-edc37bbd.js.map} +1 -1
  416. package/dist/components/{p-9652bc90.js → p-f46dd8e4.js} +2 -2
  417. package/dist/components/{p-9652bc90.js.map → p-f46dd8e4.js.map} +1 -1
  418. package/dist/components/{p-9ba73174.js → p-f770567b.js} +5 -5
  419. package/dist/components/{p-9ba73174.js.map → p-f770567b.js.map} +1 -1
  420. package/dist/components/{p-c3549f14.js → p-f9cb46a5.js} +2 -2
  421. package/dist/components/{p-c3549f14.js.map → p-f9cb46a5.js.map} +1 -1
  422. package/dist/components/{p-085ade21.js → p-fa59c097.js} +8 -8
  423. package/dist/components/{p-085ade21.js.map → p-fa59c097.js.map} +1 -1
  424. package/dist/components/{p-4c90a4c1.js → p-fa639851.js} +43 -43
  425. package/dist/components/{p-4c90a4c1.js.map → p-fa639851.js.map} +1 -1
  426. package/dist/components/{p-aceb08d1.js → p-faf7b7e2.js} +5 -5
  427. package/dist/components/p-faf7b7e2.js.map +1 -0
  428. package/dist/components/smoothly-app-demo.js +195 -177
  429. package/dist/components/smoothly-app-demo.js.map +1 -1
  430. package/dist/components/smoothly-app-room.js +1 -1
  431. package/dist/components/smoothly-app.js +1 -1
  432. package/dist/components/smoothly-back-to-top.js +1 -1
  433. package/dist/components/smoothly-burger.js +1 -1
  434. package/dist/components/smoothly-button-confirm.js +1 -1
  435. package/dist/components/smoothly-button-demo.js +1 -1
  436. package/dist/components/smoothly-button.js +1 -1
  437. package/dist/components/smoothly-calendar.js +1 -1
  438. package/dist/components/smoothly-checkbox.js +1 -1
  439. package/dist/components/smoothly-checkbox.js.map +1 -1
  440. package/dist/components/smoothly-country.js +3 -3
  441. package/dist/components/smoothly-country.js.map +1 -1
  442. package/dist/components/smoothly-dialog-demo.js +1 -1
  443. package/dist/components/smoothly-dialog.js +1 -1
  444. package/dist/components/smoothly-display-demo-json.js +1 -1
  445. package/dist/components/smoothly-display-demo.js +1 -1
  446. package/dist/components/smoothly-display-json-object.js +1 -1
  447. package/dist/components/smoothly-display-json-primitive.js +1 -1
  448. package/dist/components/smoothly-display-json-record-key.js +1 -1
  449. package/dist/components/smoothly-display-json.js +1 -1
  450. package/dist/components/smoothly-display.js +1 -1
  451. package/dist/components/smoothly-filter-field.js +1 -1
  452. package/dist/components/smoothly-filter-input.js +1 -1
  453. package/dist/components/smoothly-filter-select.js +1 -1
  454. package/dist/components/smoothly-filter-toggle.js +1 -1
  455. package/dist/components/smoothly-filter.js +1 -1
  456. package/dist/components/smoothly-form-demo-all.js +1 -1
  457. package/dist/components/smoothly-form-demo-card.js +1 -1
  458. package/dist/components/smoothly-form-demo-controlled.js +1 -1
  459. package/dist/components/smoothly-form-demo-date-range.js +1 -1
  460. package/dist/components/smoothly-form-demo-date.js +1 -1
  461. package/dist/components/smoothly-form-demo-login.js +1 -1
  462. package/dist/components/smoothly-form-demo-pet.js +1 -1
  463. package/dist/components/smoothly-form-demo-prices.js +1 -1
  464. package/dist/components/smoothly-form-demo-transparent.js +1 -1
  465. package/dist/components/smoothly-form-demo-typed.js +1 -1
  466. package/dist/components/smoothly-form-demo.js +1 -1
  467. package/dist/components/smoothly-form.js +1 -1
  468. package/dist/components/smoothly-frame.js +1 -1
  469. package/dist/components/smoothly-icon-demo.js +1 -1
  470. package/dist/components/smoothly-icon.js +1 -1
  471. package/dist/components/smoothly-input-checkbox-demo.js +30 -30
  472. package/dist/components/smoothly-input-checkbox.js +1 -1
  473. package/dist/components/smoothly-input-clear.js +1 -1
  474. package/dist/components/smoothly-input-color-demo.js +1 -1
  475. package/dist/components/smoothly-input-color.js +1 -1
  476. package/dist/components/smoothly-input-date-range.js +1 -1
  477. package/dist/components/smoothly-input-date.js +1 -1
  478. package/dist/components/smoothly-input-demo-standard.js +1 -1
  479. package/dist/components/smoothly-input-demo.js +1 -1
  480. package/dist/components/smoothly-input-edit.js +1 -1
  481. package/dist/components/smoothly-input-file.js +1 -1
  482. package/dist/components/smoothly-input-month.js +1 -1
  483. package/dist/components/smoothly-input-price-demo.js +1 -1
  484. package/dist/components/smoothly-input-radio-item.js +1 -1
  485. package/dist/components/smoothly-input-radio.js +1 -1
  486. package/dist/components/smoothly-input-range-demo.js +1 -1
  487. package/dist/components/smoothly-input-range.js +1 -1
  488. package/dist/components/smoothly-input-reset.js +1 -1
  489. package/dist/components/smoothly-input-select.js +1 -1
  490. package/dist/components/smoothly-input-submit.js +1 -1
  491. package/dist/components/smoothly-input.js +1 -1
  492. package/dist/components/smoothly-item.js +1 -1
  493. package/dist/components/smoothly-label.js +1 -1
  494. package/dist/components/smoothly-lazy.js +1 -1
  495. package/dist/components/smoothly-load-more.js +1 -1
  496. package/dist/components/smoothly-modal.d.ts +11 -0
  497. package/dist/components/smoothly-modal.js +8 -0
  498. package/dist/components/smoothly-modal.js.map +1 -0
  499. package/dist/components/smoothly-next-demo-colspan.js +1 -1
  500. package/dist/components/smoothly-next-demo-filler-row-demo.d.ts +11 -0
  501. package/dist/components/smoothly-next-demo-filler-row-demo.js +8 -0
  502. package/dist/components/smoothly-next-demo-filler-row-demo.js.map +1 -0
  503. package/dist/components/smoothly-next-demo-group.js +1 -1
  504. package/dist/components/smoothly-next-demo-nested-inner.js +1 -1
  505. package/dist/components/smoothly-next-demo-nested.js +1 -1
  506. package/dist/components/smoothly-next-demo-simple.js +1 -1
  507. package/dist/components/smoothly-next-demo.js +1 -1
  508. package/dist/components/smoothly-next-table-body.js +1 -1
  509. package/dist/components/smoothly-next-table-cell.js +1 -1
  510. package/dist/components/smoothly-next-table-demo-filtered.js +1 -1
  511. package/dist/components/smoothly-next-table-expandable-cell.js +1 -1
  512. package/dist/components/smoothly-next-table-expandable-row.js +1 -1
  513. package/dist/components/smoothly-next-table-filler-row.d.ts +11 -0
  514. package/dist/components/smoothly-next-table-filler-row.js +8 -0
  515. package/dist/components/smoothly-next-table-filler-row.js.map +1 -0
  516. package/dist/components/smoothly-next-table-foot.js +1 -1
  517. package/dist/components/smoothly-next-table-head.js +1 -1
  518. package/dist/components/smoothly-next-table-row-group.js +1 -1
  519. package/dist/components/smoothly-next-table-row.js +1 -1
  520. package/dist/components/smoothly-next-table.js +1 -1
  521. package/dist/components/smoothly-notification.js +1 -1
  522. package/dist/components/smoothly-notifier.js +1 -1
  523. package/dist/components/smoothly-spinner.js +1 -1
  524. package/dist/components/smoothly-submit.js +1 -1
  525. package/dist/components/smoothly-summary.js +1 -1
  526. package/dist/components/smoothly-tab.js +1 -1
  527. package/dist/components/smoothly-table-cell.js +1 -1
  528. package/dist/components/smoothly-table-demo-filtered.js +1 -1
  529. package/dist/components/smoothly-table-demo.js +1 -1
  530. package/dist/components/smoothly-table-expandable-cell.js +1 -1
  531. package/dist/components/smoothly-table-expandable-row.js +1 -1
  532. package/dist/components/smoothly-table-footer.js +1 -1
  533. package/dist/components/smoothly-table-header.js +1 -1
  534. package/dist/components/smoothly-table-row.js +1 -1
  535. package/dist/components/smoothly-table-testing.js +1 -1
  536. package/dist/components/smoothly-table.js +1 -1
  537. package/dist/components/smoothly-tabs-demo.js +1 -1
  538. package/dist/components/smoothly-tabs.js +1 -1
  539. package/dist/components/smoothly-theme-color.js +1 -1
  540. package/dist/components/smoothly-theme-colors.js +1 -1
  541. package/dist/components/smoothly-theme-demo.js +1 -1
  542. package/dist/components/smoothly-theme-guide.js +1 -1
  543. package/dist/components/smoothly-theme-picker.js +1 -1
  544. package/dist/components/smoothly-toggle-switch-demo.js +1 -1
  545. package/dist/components/smoothly-toggle-switch.js +1 -1
  546. package/dist/components/smoothly-toggle.js +1 -1
  547. package/dist/components/smoothly-trigger-sink.js +3 -3
  548. package/dist/components/smoothly-trigger-source.js +3 -3
  549. package/dist/components/smoothly-trigger.js +1 -1
  550. package/dist/esm/{Scrollable-94b2c80b.js → Scrollable-93e46f30.js} +17 -388
  551. package/dist/esm/Scrollable-93e46f30.js.map +1 -0
  552. package/dist/esm/{TimeZone-7b25e3f9.js → TimeZone-52285537.js} +2933 -1729
  553. package/dist/esm/TimeZone-52285537.js.map +1 -0
  554. package/dist/esm/{en-bacb390d.js → en-6e8712b5.js} +2 -2
  555. package/dist/esm/{en-bacb390d.js.map → en-6e8712b5.js.map} +1 -1
  556. package/dist/esm/index.js +2 -2
  557. package/dist/esm/loader.js +1 -1
  558. package/dist/esm/{smoothly-app_106.entry.js → smoothly-app_109.entry.js} +763 -637
  559. package/dist/esm/smoothly-app_109.entry.js.map +1 -0
  560. package/dist/esm/smoothly-checkbox.entry.js.map +1 -1
  561. package/dist/esm/smoothly-country.entry.js +3 -3
  562. package/dist/esm/smoothly-country.entry.js.map +1 -1
  563. package/dist/esm/smoothly-input-checkbox-demo.entry.js +2 -2
  564. package/dist/esm/smoothly-trigger-sink.entry.js +3 -3
  565. package/dist/esm/smoothly-trigger-source.entry.js +3 -3
  566. package/dist/esm/smoothly.js +1 -1
  567. package/dist/smoothly/index.esm.js +1 -1
  568. package/dist/smoothly/p-152fd0d7.entry.js.map +1 -1
  569. package/dist/smoothly/{p-cf245e8a.js → p-2257be8c.js} +2 -2
  570. package/dist/smoothly/p-34d144e8.js +2 -0
  571. package/dist/smoothly/p-34d144e8.js.map +1 -0
  572. package/dist/smoothly/{p-e9cd0cd0.entry.js → p-3ede8604.entry.js} +2 -2
  573. package/dist/smoothly/p-3ede8604.entry.js.map +1 -0
  574. package/dist/smoothly/{p-aa596b7e.entry.js → p-6a5409cf.entry.js} +2 -2
  575. package/dist/smoothly/p-6d7ee489.js +2 -0
  576. package/dist/smoothly/p-6d7ee489.js.map +1 -0
  577. package/dist/smoothly/{p-f0d68499.entry.js → p-7afb0711.entry.js} +2 -2
  578. package/dist/smoothly/p-8fa9500d.entry.js +2 -0
  579. package/dist/smoothly/p-c8ced8ea.entry.js +2 -0
  580. package/dist/smoothly/p-c8ced8ea.entry.js.map +1 -0
  581. package/dist/smoothly/smoothly.esm.js +1 -1
  582. package/dist/smoothly/smoothly.esm.js.map +1 -1
  583. package/dist/types/components/app/index.d.ts +1 -1
  584. package/dist/types/components/button/Button.d.ts +1 -1
  585. package/dist/types/components/calendar/generate.d.ts +1 -1
  586. package/dist/types/components/calendar/index.d.ts +15 -14
  587. package/dist/types/components/checkbox/translation/index.d.ts +2 -2
  588. package/dist/types/components/country/index.d.ts +3 -3
  589. package/dist/types/components/dialog/demo/index.d.ts +3 -0
  590. package/dist/types/components/display/index.d.ts +6 -6
  591. package/dist/types/components/filter/Filter.d.ts +3 -3
  592. package/dist/types/components/filter/field/index.d.ts +3 -0
  593. package/dist/types/components/form/demo/typed/Contact.d.ts +1 -1
  594. package/dist/types/components/form/index.d.ts +2 -0
  595. package/dist/types/components/input/Deep.d.ts +4 -0
  596. package/dist/types/components/input/Editable.d.ts +2 -2
  597. package/dist/types/components/input/Input.d.ts +5 -2
  598. package/dist/types/components/input/InputStateHandler.d.ts +37 -0
  599. package/dist/types/components/input/Key.d.ts +13 -0
  600. package/dist/types/components/input/Looks.d.ts +2 -2
  601. package/dist/types/components/input/color/index.d.ts +1 -2
  602. package/dist/types/components/input/date/index.d.ts +9 -9
  603. package/dist/types/components/input/date/range/index.d.ts +1 -1
  604. package/dist/types/components/input/file/index.d.ts +1 -0
  605. package/dist/types/components/input/index.d.ts +11 -17
  606. package/dist/types/components/input/month/index.d.ts +6 -2
  607. package/dist/types/components/input/radio/Selected.d.ts +1 -1
  608. package/dist/types/components/input/radio/index.d.ts +1 -1
  609. package/dist/types/components/input/radio/item/index.d.ts +1 -1
  610. package/dist/types/components/input/range/index.d.ts +2 -1
  611. package/dist/types/components/item/Item.d.ts +2 -2
  612. package/dist/types/components/modal/index.d.ts +9 -0
  613. package/dist/types/components/next/demo/fillerRow/filleRowDemo.d.ts +13 -0
  614. package/dist/types/components/next/table/fillerRow/index.d.ts +4 -0
  615. package/dist/types/components/next/table/group/index.d.ts +2 -1
  616. package/dist/types/components/next/table/index.d.ts +1 -0
  617. package/dist/types/components/tabs/tab/index.d.ts +1 -1
  618. package/dist/types/components.d.ts +138 -50
  619. package/dist/types/model/Color/HSL.d.ts +1 -1
  620. package/dist/types/model/Color/RGB.d.ts +1 -1
  621. package/dist/types/model/Color/index.d.ts +2 -2
  622. package/dist/types/model/Submit.d.ts +1 -1
  623. package/package.json +20 -40
  624. package/dist/cjs/Scrollable-a60d6091.js.map +0 -1
  625. package/dist/cjs/TimeZone-45bcd855.js.map +0 -1
  626. package/dist/cjs/smoothly-app_106.cjs.entry.js.map +0 -1
  627. package/dist/collection/components/input/Action.js +0 -100
  628. package/dist/collection/components/input/Action.js.map +0 -1
  629. package/dist/collection/components/input/index.e2e.js +0 -52
  630. package/dist/collection/components/input/index.e2e.js.map +0 -1
  631. package/dist/components/p-050d6683.js.map +0 -1
  632. package/dist/components/p-0812295b.js.map +0 -1
  633. package/dist/components/p-09cd86b9.js.map +0 -1
  634. package/dist/components/p-1bab70cf.js.map +0 -1
  635. package/dist/components/p-24dcd271.js.map +0 -1
  636. package/dist/components/p-2939bb2b.js.map +0 -1
  637. package/dist/components/p-3a3d264a.js +0 -207
  638. package/dist/components/p-3b329054.js +0 -45
  639. package/dist/components/p-3c216afa.js.map +0 -1
  640. package/dist/components/p-3e87d17f.js.map +0 -1
  641. package/dist/components/p-4190e1af.js.map +0 -1
  642. package/dist/components/p-4433b27b.js.map +0 -1
  643. package/dist/components/p-4c3b2014.js.map +0 -1
  644. package/dist/components/p-4f7e3345.js +0 -175
  645. package/dist/components/p-5276d246.js.map +0 -1
  646. package/dist/components/p-58a11f85.js.map +0 -1
  647. package/dist/components/p-6a51e4a6.js +0 -123
  648. package/dist/components/p-70ceab79.js.map +0 -1
  649. package/dist/components/p-82c01297.js.map +0 -1
  650. package/dist/components/p-8a02ff30.js.map +0 -1
  651. package/dist/components/p-8d6eccac.js.map +0 -1
  652. package/dist/components/p-960d8ba1.js.map +0 -1
  653. package/dist/components/p-96469335.js.map +0 -1
  654. package/dist/components/p-987d969a.js +0 -53
  655. package/dist/components/p-987d969a.js.map +0 -1
  656. package/dist/components/p-99f89f10.js.map +0 -1
  657. package/dist/components/p-abba2d2f.js.map +0 -1
  658. package/dist/components/p-aceb08d1.js.map +0 -1
  659. package/dist/components/p-adff8859.js +0 -176
  660. package/dist/components/p-b0b01235.js.map +0 -1
  661. package/dist/components/p-b28af62c.js.map +0 -1
  662. package/dist/components/p-b67dde92.js.map +0 -1
  663. package/dist/components/p-bb655bb7.js.map +0 -1
  664. package/dist/components/p-be596a9e.js.map +0 -1
  665. package/dist/components/p-beabdd93.js.map +0 -1
  666. package/dist/components/p-c2b45135.js +0 -149
  667. package/dist/components/p-c2b45135.js.map +0 -1
  668. package/dist/components/p-c7905089.js +0 -449
  669. package/dist/components/p-c7905089.js.map +0 -1
  670. package/dist/components/p-ca19ed60.js.map +0 -1
  671. package/dist/components/p-eeb1e790.js.map +0 -1
  672. package/dist/components/p-f3359c81.js +0 -243
  673. package/dist/components/p-f3359c81.js.map +0 -1
  674. package/dist/components/p-f8a79773.js.map +0 -1
  675. package/dist/components/p-fea68b4b.js.map +0 -1
  676. package/dist/esm/Scrollable-94b2c80b.js.map +0 -1
  677. package/dist/esm/TimeZone-7b25e3f9.js.map +0 -1
  678. package/dist/esm/smoothly-app_106.entry.js.map +0 -1
  679. package/dist/smoothly/p-05e38ae2.js +0 -2
  680. package/dist/smoothly/p-05e38ae2.js.map +0 -1
  681. package/dist/smoothly/p-0f71a043.entry.js +0 -2
  682. package/dist/smoothly/p-0f71a043.entry.js.map +0 -1
  683. package/dist/smoothly/p-3e49ca8d.entry.js +0 -2
  684. package/dist/smoothly/p-99846f9b.js +0 -2
  685. package/dist/smoothly/p-99846f9b.js.map +0 -1
  686. package/dist/smoothly/p-e9cd0cd0.entry.js.map +0 -1
  687. package/dist/types/components/input/Action.d.ts +0 -13
  688. /package/dist/smoothly/{p-cf245e8a.js.map → p-2257be8c.js.map} +0 -0
  689. /package/dist/smoothly/{p-aa596b7e.entry.js.map → p-6a5409cf.entry.js.map} +0 -0
  690. /package/dist/smoothly/{p-f0d68499.entry.js.map → p-7afb0711.entry.js.map} +0 -0
  691. /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
+ defineCustom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C,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-99f89f10.js';
3
- import { f as format } from './p-4190e1af.js';
4
- import { I as Input } from './p-be596a9e.js';
5
- import { d as defineCustomElement$6 } from './p-c2b45135.js';
6
- import { d as defineCustomElement$5 } from './p-8a02ff30.js';
7
- import { d as defineCustomElement$4 } from './p-c7905089.js';
8
- import { d as defineCustomElement$3 } from './p-8d6eccac.js';
9
- import { d as defineCustomElement$2 } from './p-3e87d17f.js';
10
- import { d as defineCustomElement$1 } from './p-9c14be4b.js';
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;cursor:pointer;display:flex;width:fit-content;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;margin-right:0.4em}";
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
- SmoothlyInputLoadHandler(event) {
65
- if (!(event.target && "name" in event.target && event.target.name === this.name)) {
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: '83a4df5b6d8eb60c62c71e606bb939289d259346', tabindex: 0 }, h("section", { key: '63aed666649aa276437e8c362e1b9ebc8cb07463', onClick: () => !this.readonly && (this.open = !this.open) }, h("smoothly-input", { key: '2bdc7f72a4708def9a274e0dc0cae28b2a415859', type: "text", name: "dateRangeInput", readonly: this.readonly, value: this.start && this.end
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: '1a21ce7402507b8e2740308a8f216a45317e7254' }))), h("span", { key: '68ee8c56303fd1b9531a5e34358f2d6f953fa450', class: "icons" }, h("slot", { key: '301bfe40349ae98d14d23a059c51f15eecfc7dae', name: "end" })), this.open && (h("nav", { key: 'a3c163d13c2ba8dc8b61d977c983f62e552d9e37' }, h("smoothly-calendar", { key: '8569ba2af69fa58481699060eabbaee32e32cb56', doubleInput: true, onSmoothlyValueChange: e => e.stopPropagation(), onSmoothlyStartChange: e => {
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", "SmoothlyInputLoadHandler"], [0, "smoothlyInputLooks", "smoothlyInputLooksHandler"], [8, "click", "onWindowClick"]], {
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-beabdd93.js.map
209
+ //# sourceMappingURL=p-5ee36921.js.map
@@ -0,0 +1 @@
1
+ {"file":"p-5ee36921.js","mappings":";;;;;;;;;;;AAAA,MAAM,QAAQ,GAAG,gqKAAgqK,CAAC;AAClrK,qCAAe,QAAQ;;MCaV,sBAAsB;;;;;;;;QAe1B,aAAQ,GAAsD,EAAE,CAAA;oBAbhC,WAAW;;;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,CAAC,IAAI,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,CAAA;aAClD,EACD,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,GAAG,EAAE,IAAI,CAAC,GAAG,EACb,GAAG,EAAE,IAAI,CAAC,GAAG,EACb,GAAG,EAAE,IAAI,CAAC,GAAG,GACZ,CACG,CACN,CACK,EACP;KACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","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-8a02ff30.js';
3
- import { d as defineCustomElement$2 } from './p-6c77cd6c.js';
4
- import { d as defineCustomElement$1 } from './p-bd99d7e0.js';
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-c52830ed.js.map
1503
+ //# sourceMappingURL=p-5ef8d096.js.map