smoothly 1.102.0 → 1.104.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (368) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/{smoothly-app_103.cjs.entry.js → smoothly-app_104.cjs.entry.js} +184 -163
  3. package/dist/cjs/smoothly-app_104.cjs.entry.js.map +1 -0
  4. package/dist/cjs/smoothly-submit.cjs.entry.js +1 -1
  5. package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +1 -1
  6. package/dist/cjs/smoothly-trigger-source.cjs.entry.js +1 -1
  7. package/dist/cjs/smoothly.cjs.js +1 -1
  8. package/dist/collection/collection-manifest.json +1 -0
  9. package/dist/collection/components/input/demo/date/index.js +1 -1
  10. package/dist/collection/components/input/demo/index.js +4 -4
  11. package/dist/collection/components/input/demo/index.js.map +1 -1
  12. package/dist/collection/components/input/demo/price/index.js +1 -1
  13. package/dist/collection/components/input/demo/radio/index.js +36 -0
  14. package/dist/collection/components/input/demo/radio/index.js.map +1 -0
  15. package/dist/collection/components/input/demo/radio/style.css +12 -0
  16. package/dist/collection/components/input/demo/standard/index.js +1 -1
  17. package/dist/collection/components/input/demo/user-input/index.js +3 -3
  18. package/dist/collection/components/input/edit/index.js +1 -1
  19. package/dist/collection/components/input/file/index.js +1 -1
  20. package/dist/collection/components/input/month/index.js +4 -4
  21. package/dist/collection/components/input/radio/item/index.js +1 -1
  22. package/dist/collection/components/input/radio/item/index.js.map +1 -1
  23. package/dist/collection/components/input/radio/item/style.css +10 -1
  24. package/dist/collection/components/input/radio/style.css +1 -0
  25. package/dist/collection/components/input/range/demo/index.js +1 -1
  26. package/dist/collection/components/input/range/index.js +4 -4
  27. package/dist/collection/components/input/reset/index.js +1 -1
  28. package/dist/collection/components/input/select/index.js +3 -3
  29. package/dist/collection/components/input/style.css +4 -5
  30. package/dist/collection/components/input/submit/index.js +1 -1
  31. package/dist/collection/components/item/index.js +1 -1
  32. package/dist/collection/components/label/index.js +2 -2
  33. package/dist/collection/components/lazy/index.js +1 -1
  34. package/dist/collection/components/load-more/index.js +1 -1
  35. package/dist/collection/components/modal/index.js +2 -2
  36. package/dist/collection/components/notification/index.js +1 -1
  37. package/dist/collection/components/notifier/index.js +1 -1
  38. package/dist/collection/components/spinner/index.js +2 -2
  39. package/dist/collection/components/submit/index.js +1 -1
  40. package/dist/collection/components/summary/index.js +1 -1
  41. package/dist/collection/components/table/body/index.js +1 -1
  42. package/dist/collection/components/table/cell/index.js +1 -1
  43. package/dist/collection/components/table/demo/colspan/index.js +1 -1
  44. package/dist/collection/components/table/demo/filler-row/index.js +1 -1
  45. package/dist/collection/components/table/demo/filtered/index.js +5 -5
  46. package/dist/collection/components/table/demo/group/index.js +1 -1
  47. package/dist/collection/components/table/demo/index.js +1 -1
  48. package/dist/collection/components/table/demo/nested-no-cell/index.js +2 -2
  49. package/dist/collection/components/table/demo/nested-no-cell/inner/index.js +1 -1
  50. package/dist/collection/components/table/demo/simple/simple.js +1 -1
  51. package/dist/collection/components/table/expandable/cell/index.js +1 -1
  52. package/dist/collection/components/table/expandable/row/index.js +1 -1
  53. package/dist/collection/components/table/filler-row/index.js +1 -1
  54. package/dist/collection/components/table/foot/index.js +1 -1
  55. package/dist/collection/components/table/group/index.js +1 -1
  56. package/dist/collection/components/table/head/index.js +2 -2
  57. package/dist/collection/components/table/index.js +1 -1
  58. package/dist/collection/components/table/row/index.js +1 -1
  59. package/dist/collection/components/tabs/demo/index.js +1 -1
  60. package/dist/collection/components/tabs/tab/index.js +1 -1
  61. package/dist/collection/components/theme/color/index.js +1 -1
  62. package/dist/collection/components/theme/demo/index.js +1 -1
  63. package/dist/collection/components/theme/guide/index.js +8 -8
  64. package/dist/collection/components/theme/picker/index.js +2 -2
  65. package/dist/collection/components/toggle-switch/demo/index.js +1 -1
  66. package/dist/collection/components/toggle-switch/index.js +1 -1
  67. package/dist/collection/components/trigger/index.js +1 -1
  68. package/dist/collection/components/trigger/sink/index.js +1 -1
  69. package/dist/collection/components/trigger/source/index.js +1 -1
  70. package/dist/components/{p-2d754996.js → p-018f3b07.js} +3 -3
  71. package/dist/components/{p-2d754996.js.map → p-018f3b07.js.map} +1 -1
  72. package/dist/components/{p-5d4481e5.js → p-08527022.js} +2 -2
  73. package/dist/components/{p-5d4481e5.js.map → p-08527022.js.map} +1 -1
  74. package/dist/components/{p-55806dd1.js → p-0f6f0385.js} +6 -6
  75. package/dist/components/{p-55806dd1.js.map → p-0f6f0385.js.map} +1 -1
  76. package/dist/components/{p-9bcdd1ec.js → p-1a006926.js} +6 -6
  77. package/dist/components/{p-9bcdd1ec.js.map → p-1a006926.js.map} +1 -1
  78. package/dist/components/{p-fdf5432e.js → p-1b2cdb40.js} +8 -8
  79. package/dist/components/{p-fdf5432e.js.map → p-1b2cdb40.js.map} +1 -1
  80. package/dist/components/{p-1904abe1.js → p-1e5c4418.js} +5 -5
  81. package/dist/components/{p-1904abe1.js.map → p-1e5c4418.js.map} +1 -1
  82. package/dist/components/p-23411737.js +282 -0
  83. package/dist/components/p-23411737.js.map +1 -0
  84. package/dist/components/{p-4051f859.js → p-234932d2.js} +3 -3
  85. package/dist/components/{p-4051f859.js.map → p-234932d2.js.map} +1 -1
  86. package/dist/components/{p-4d3d5d0b.js → p-237af64d.js} +9 -9
  87. package/dist/components/{p-4d3d5d0b.js.map → p-237af64d.js.map} +1 -1
  88. package/dist/components/{p-7a9728b2.js → p-239cce56.js} +3 -3
  89. package/dist/components/{p-7a9728b2.js.map → p-239cce56.js.map} +1 -1
  90. package/dist/components/{p-1062aeb9.js → p-29b5ead7.js} +3 -3
  91. package/dist/components/{p-1062aeb9.js.map → p-29b5ead7.js.map} +1 -1
  92. package/dist/components/{p-14e31e4a.js → p-2b01f531.js} +10 -10
  93. package/dist/components/{p-14e31e4a.js.map → p-2b01f531.js.map} +1 -1
  94. package/dist/components/{p-f2f0d309.js → p-2d648420.js} +10 -10
  95. package/dist/components/{p-f2f0d309.js.map → p-2d648420.js.map} +1 -1
  96. package/dist/components/{p-d4f3568a.js → p-31af74d1.js} +18 -18
  97. package/dist/components/{p-d4f3568a.js.map → p-31af74d1.js.map} +1 -1
  98. package/dist/components/{p-1e46b981.js → p-33c30e05.js} +2 -2
  99. package/dist/components/{p-1e46b981.js.map → p-33c30e05.js.map} +1 -1
  100. package/dist/components/{p-35bfb804.js → p-3f2e92e9.js} +2 -2
  101. package/dist/components/{p-35bfb804.js.map → p-3f2e92e9.js.map} +1 -1
  102. package/dist/components/{p-658906f0.js → p-44a8837c.js} +9 -9
  103. package/dist/components/{p-658906f0.js.map → p-44a8837c.js.map} +1 -1
  104. package/dist/components/{p-5bc54b34.js → p-4be11c6b.js} +2 -2
  105. package/dist/components/{p-5bc54b34.js.map → p-4be11c6b.js.map} +1 -1
  106. package/dist/components/p-4c5965cd.js +45 -0
  107. package/dist/components/{p-003a635b.js.map → p-4c5965cd.js.map} +1 -1
  108. package/dist/components/{p-a2a5e7f4.js → p-4cb94746.js} +2 -2
  109. package/dist/components/{p-a2a5e7f4.js.map → p-4cb94746.js.map} +1 -1
  110. package/dist/components/{p-12f62e4d.js → p-4da1c188.js} +6 -6
  111. package/dist/components/{p-12f62e4d.js.map → p-4da1c188.js.map} +1 -1
  112. package/dist/components/{p-5cd257ad.js → p-4ee29da5.js} +3 -3
  113. package/dist/components/{p-5cd257ad.js.map → p-4ee29da5.js.map} +1 -1
  114. package/dist/components/p-52626573.js +123 -0
  115. package/dist/components/{p-c2fb9b51.js.map → p-52626573.js.map} +1 -1
  116. package/dist/components/{p-31603adf.js → p-527dedc1.js} +7 -7
  117. package/dist/components/{p-31603adf.js.map → p-527dedc1.js.map} +1 -1
  118. package/dist/components/{p-e3486f48.js → p-555fc66e.js} +10 -10
  119. package/dist/components/{p-e3486f48.js.map → p-555fc66e.js.map} +1 -1
  120. package/dist/components/{p-e32d9cd5.js → p-56100bc5.js} +5 -5
  121. package/dist/components/{p-e32d9cd5.js.map → p-56100bc5.js.map} +1 -1
  122. package/dist/components/{p-d422d58c.js → p-5ac20ff9.js} +3 -3
  123. package/dist/components/{p-d422d58c.js.map → p-5ac20ff9.js.map} +1 -1
  124. package/dist/components/{p-346ba422.js → p-5c9332bf.js} +2 -2
  125. package/dist/components/{p-346ba422.js.map → p-5c9332bf.js.map} +1 -1
  126. package/dist/components/{p-b25fbf6e.js → p-5d5bf179.js} +5 -5
  127. package/dist/components/{p-b25fbf6e.js.map → p-5d5bf179.js.map} +1 -1
  128. package/dist/components/{p-30f4e440.js → p-5eafd1ac.js} +4 -4
  129. package/dist/components/{p-30f4e440.js.map → p-5eafd1ac.js.map} +1 -1
  130. package/dist/components/{p-9ffa8501.js → p-60b2b2bb.js} +9 -9
  131. package/dist/components/{p-9ffa8501.js.map → p-60b2b2bb.js.map} +1 -1
  132. package/dist/components/{p-e48ad105.js → p-6337ab02.js} +3 -3
  133. package/dist/components/{p-e48ad105.js.map → p-6337ab02.js.map} +1 -1
  134. package/dist/components/{p-02c38067.js → p-6386d760.js} +5 -5
  135. package/dist/components/{p-02c38067.js.map → p-6386d760.js.map} +1 -1
  136. package/dist/components/{p-76cc6651.js → p-6ea452d9.js} +2 -2
  137. package/dist/components/{p-76cc6651.js.map → p-6ea452d9.js.map} +1 -1
  138. package/dist/components/{p-37732412.js → p-70b61978.js} +2 -2
  139. package/dist/components/{p-37732412.js.map → p-70b61978.js.map} +1 -1
  140. package/dist/components/{p-3a1a67e7.js → p-723edf05.js} +3 -3
  141. package/dist/components/{p-3a1a67e7.js.map → p-723edf05.js.map} +1 -1
  142. package/dist/components/{p-96fff9ba.js → p-73a6bddc.js} +7 -7
  143. package/dist/components/{p-96fff9ba.js.map → p-73a6bddc.js.map} +1 -1
  144. package/dist/components/{p-aff94100.js → p-766ab435.js} +5 -5
  145. package/dist/components/{p-aff94100.js.map → p-766ab435.js.map} +1 -1
  146. package/dist/components/{p-7550fc08.js → p-792c42af.js} +2 -2
  147. package/dist/components/{p-7550fc08.js.map → p-792c42af.js.map} +1 -1
  148. package/dist/components/{p-e7dcaec1.js → p-795bda50.js} +2 -2
  149. package/dist/components/{p-e7dcaec1.js.map → p-795bda50.js.map} +1 -1
  150. package/dist/components/{p-c9126eb3.js → p-81dec243.js} +34 -34
  151. package/dist/components/{p-c9126eb3.js.map → p-81dec243.js.map} +1 -1
  152. package/dist/components/{p-140b6f3c.js → p-82336e7b.js} +5 -5
  153. package/dist/components/{p-140b6f3c.js.map → p-82336e7b.js.map} +1 -1
  154. package/dist/components/{p-ec815cfd.js → p-82c97ae6.js} +7 -7
  155. package/dist/components/{p-ec815cfd.js.map → p-82c97ae6.js.map} +1 -1
  156. package/dist/components/{p-c259b478.js → p-830b192c.js} +12 -12
  157. package/dist/components/{p-c259b478.js.map → p-830b192c.js.map} +1 -1
  158. package/dist/components/{p-4dcf5fac.js → p-831cc89a.js} +21 -21
  159. package/dist/components/{p-4dcf5fac.js.map → p-831cc89a.js.map} +1 -1
  160. package/dist/components/{p-a3c25ce5.js → p-8435133a.js} +21 -21
  161. package/dist/components/{p-a3c25ce5.js.map → p-8435133a.js.map} +1 -1
  162. package/dist/components/{p-d8c97dde.js → p-84ba0025.js} +3 -3
  163. package/dist/components/{p-d8c97dde.js.map → p-84ba0025.js.map} +1 -1
  164. package/dist/components/{p-40d2000b.js → p-85ed9f7d.js} +2 -2
  165. package/dist/components/{p-40d2000b.js.map → p-85ed9f7d.js.map} +1 -1
  166. package/dist/components/{p-0e242fdd.js → p-974b3a13.js} +4 -4
  167. package/dist/components/{p-0e242fdd.js.map → p-974b3a13.js.map} +1 -1
  168. package/dist/components/{p-90cf2f0e.js → p-9ad494c1.js} +2 -2
  169. package/dist/components/{p-90cf2f0e.js.map → p-9ad494c1.js.map} +1 -1
  170. package/dist/components/{p-0b3f1a79.js → p-a76a4d76.js} +2 -2
  171. package/dist/components/{p-0b3f1a79.js.map → p-a76a4d76.js.map} +1 -1
  172. package/dist/components/{p-6aaf93a3.js → p-a9dd6d56.js} +13 -13
  173. package/dist/components/{p-6aaf93a3.js.map → p-a9dd6d56.js.map} +1 -1
  174. package/dist/components/{p-b494ebd3.js → p-aac05986.js} +9 -9
  175. package/dist/components/{p-b494ebd3.js.map → p-aac05986.js.map} +1 -1
  176. package/dist/components/{p-c4637f18.js → p-aac4d78f.js} +9 -9
  177. package/dist/components/{p-c4637f18.js.map → p-aac4d78f.js.map} +1 -1
  178. package/dist/components/{p-bb94849f.js → p-ac63635b.js} +2 -2
  179. package/dist/components/{p-bb94849f.js.map → p-ac63635b.js.map} +1 -1
  180. package/dist/components/{p-581d3377.js → p-ad918487.js} +6 -6
  181. package/dist/components/{p-581d3377.js.map → p-ad918487.js.map} +1 -1
  182. package/dist/components/{p-e04a506b.js → p-adb5afee.js} +11 -11
  183. package/dist/components/{p-e04a506b.js.map → p-adb5afee.js.map} +1 -1
  184. package/dist/components/{p-c172bb64.js → p-b34956f3.js} +8 -8
  185. package/dist/components/{p-c172bb64.js.map → p-b34956f3.js.map} +1 -1
  186. package/dist/components/{p-753658b4.js → p-b4919dec.js} +2 -2
  187. package/dist/components/{p-753658b4.js.map → p-b4919dec.js.map} +1 -1
  188. package/dist/components/{p-4f0ce21b.js → p-b52a6734.js} +3 -3
  189. package/dist/components/{p-4f0ce21b.js.map → p-b52a6734.js.map} +1 -1
  190. package/dist/components/{p-3abf736a.js → p-b5752ca0.js} +5 -5
  191. package/dist/components/{p-3abf736a.js.map → p-b5752ca0.js.map} +1 -1
  192. package/dist/components/{p-2779565d.js → p-b80060f3.js} +2 -2
  193. package/dist/components/{p-2779565d.js.map → p-b80060f3.js.map} +1 -1
  194. package/dist/components/{p-a4614780.js → p-bb65b34c.js} +2 -2
  195. package/dist/components/{p-a4614780.js.map → p-bb65b34c.js.map} +1 -1
  196. package/dist/components/{p-e9905fbc.js → p-bc772857.js} +17 -17
  197. package/dist/components/{p-e9905fbc.js.map → p-bc772857.js.map} +1 -1
  198. package/dist/components/{p-71fa6386.js → p-c26e4c8e.js} +4 -4
  199. package/dist/components/{p-71fa6386.js.map → p-c26e4c8e.js.map} +1 -1
  200. package/dist/components/{p-dea4659e.js → p-c3625434.js} +3 -3
  201. package/dist/components/{p-dea4659e.js.map → p-c3625434.js.map} +1 -1
  202. package/dist/components/{p-3fa2299b.js → p-c37e4491.js} +2 -2
  203. package/dist/components/{p-3fa2299b.js.map → p-c37e4491.js.map} +1 -1
  204. package/dist/components/{p-fb97b2ff.js → p-c4674baf.js} +4 -4
  205. package/dist/components/p-c4674baf.js.map +1 -0
  206. package/dist/components/{p-4a5c24c0.js → p-c65c7493.js} +22 -22
  207. package/dist/components/{p-4a5c24c0.js.map → p-c65c7493.js.map} +1 -1
  208. package/dist/components/{p-19d93e64.js → p-c9caeeb4.js} +2 -2
  209. package/dist/components/{p-19d93e64.js.map → p-c9caeeb4.js.map} +1 -1
  210. package/dist/components/{p-93141817.js → p-ccb418c1.js} +10 -10
  211. package/dist/components/{p-93141817.js.map → p-ccb418c1.js.map} +1 -1
  212. package/dist/components/{p-6d1e5f27.js → p-ce52b5f8.js} +3 -3
  213. package/dist/components/p-ce52b5f8.js.map +1 -0
  214. package/dist/components/{p-f55ddc88.js → p-ced1fd1c.js} +30 -30
  215. package/dist/components/{p-f55ddc88.js.map → p-ced1fd1c.js.map} +1 -1
  216. package/dist/components/{p-7b6467fd.js → p-d5f78e0f.js} +11 -11
  217. package/dist/components/{p-7b6467fd.js.map → p-d5f78e0f.js.map} +1 -1
  218. package/dist/components/{p-50304fc1.js → p-d8a2f2ba.js} +3 -3
  219. package/dist/components/{p-50304fc1.js.map → p-d8a2f2ba.js.map} +1 -1
  220. package/dist/components/p-dccf0678.js +74 -0
  221. package/dist/components/p-dccf0678.js.map +1 -0
  222. package/dist/components/{p-97e22dc3.js → p-e44568a9.js} +4 -4
  223. package/dist/components/{p-97e22dc3.js.map → p-e44568a9.js.map} +1 -1
  224. package/dist/components/{p-211c0f22.js → p-e779a545.js} +3 -3
  225. package/dist/components/{p-211c0f22.js.map → p-e779a545.js.map} +1 -1
  226. package/dist/components/{p-6008d530.js → p-ea295759.js} +4 -4
  227. package/dist/components/{p-6008d530.js.map → p-ea295759.js.map} +1 -1
  228. package/dist/components/{p-6f96e7ef.js → p-ef0cb600.js} +2 -2
  229. package/dist/components/{p-6f96e7ef.js.map → p-ef0cb600.js.map} +1 -1
  230. package/dist/components/{p-4441247b.js → p-efb6497e.js} +6 -6
  231. package/dist/components/{p-4441247b.js.map → p-efb6497e.js.map} +1 -1
  232. package/dist/components/{p-6a11096b.js → p-f1b7920d.js} +2 -2
  233. package/dist/components/{p-6a11096b.js.map → p-f1b7920d.js.map} +1 -1
  234. package/dist/components/{p-04b312ca.js → p-f4a54d1b.js} +2 -2
  235. package/dist/components/{p-04b312ca.js.map → p-f4a54d1b.js.map} +1 -1
  236. package/dist/components/{p-a8f5826f.js → p-f5400818.js} +11 -11
  237. package/dist/components/{p-a8f5826f.js.map → p-f5400818.js.map} +1 -1
  238. package/dist/components/{p-064f3907.js → p-f5bbd838.js} +3 -3
  239. package/dist/components/{p-064f3907.js.map → p-f5bbd838.js.map} +1 -1
  240. package/dist/components/{p-6e8454e3.js → p-f7d8bf2d.js} +8 -8
  241. package/dist/components/{p-6e8454e3.js.map → p-f7d8bf2d.js.map} +1 -1
  242. package/dist/components/{p-2ef8a833.js → p-fd230d2b.js} +2 -2
  243. package/dist/components/{p-2ef8a833.js.map → p-fd230d2b.js.map} +1 -1
  244. package/dist/components/smoothly-app-demo.js +156 -150
  245. package/dist/components/smoothly-app-demo.js.map +1 -1
  246. package/dist/components/smoothly-app-room.js +1 -1
  247. package/dist/components/smoothly-app.js +1 -1
  248. package/dist/components/smoothly-button-demo-standard.js +1 -1
  249. package/dist/components/smoothly-button-demo.js +1 -1
  250. package/dist/components/smoothly-calendar.js +1 -1
  251. package/dist/components/smoothly-dialog-demo.js +1 -1
  252. package/dist/components/smoothly-dialog.js +1 -1
  253. package/dist/components/smoothly-display-demo.js +1 -1
  254. package/dist/components/smoothly-filter-field.js +1 -1
  255. package/dist/components/smoothly-filter-input.js +1 -1
  256. package/dist/components/smoothly-filter-select.js +1 -1
  257. package/dist/components/smoothly-filter.js +1 -1
  258. package/dist/components/smoothly-form-demo-all.js +1 -1
  259. package/dist/components/smoothly-form-demo-card.js +1 -1
  260. package/dist/components/smoothly-form-demo-controlled.js +1 -1
  261. package/dist/components/smoothly-form-demo-date-range.js +1 -1
  262. package/dist/components/smoothly-form-demo-date.js +1 -1
  263. package/dist/components/smoothly-form-demo-login.js +1 -1
  264. package/dist/components/smoothly-form-demo-pet.js +1 -1
  265. package/dist/components/smoothly-form-demo-prices.js +1 -1
  266. package/dist/components/smoothly-form-demo-schedule.js +1 -1
  267. package/dist/components/smoothly-form-demo-transparent.js +1 -1
  268. package/dist/components/smoothly-form-demo-typed.js +1 -1
  269. package/dist/components/smoothly-form-demo.js +1 -1
  270. package/dist/components/smoothly-form.js +1 -1
  271. package/dist/components/smoothly-icon-demo.js +1 -1
  272. package/dist/components/smoothly-input-checkbox-demo.js +20 -20
  273. package/dist/components/smoothly-input-checkbox.js +1 -1
  274. package/dist/components/smoothly-input-clear.js +1 -1
  275. package/dist/components/smoothly-input-color-demo.js +1 -1
  276. package/dist/components/smoothly-input-color.js +1 -1
  277. package/dist/components/smoothly-input-date-demo.js +1 -1
  278. package/dist/components/smoothly-input-date-range.js +1 -1
  279. package/dist/components/smoothly-input-date-time.js +1 -1
  280. package/dist/components/smoothly-input-date.js +1 -1
  281. package/dist/components/smoothly-input-demo-radio.d.ts +11 -0
  282. package/dist/components/smoothly-input-demo-radio.js +8 -0
  283. package/dist/components/smoothly-input-demo-radio.js.map +1 -0
  284. package/dist/components/smoothly-input-demo-standard.js +1 -1
  285. package/dist/components/smoothly-input-demo-user-input.js +1 -1
  286. package/dist/components/smoothly-input-demo.js +1 -1
  287. package/dist/components/smoothly-input-edit.js +1 -1
  288. package/dist/components/smoothly-input-file.js +1 -1
  289. package/dist/components/smoothly-input-month.js +1 -1
  290. package/dist/components/smoothly-input-price-demo.js +1 -1
  291. package/dist/components/smoothly-input-radio-item.js +1 -1
  292. package/dist/components/smoothly-input-radio.js +1 -1
  293. package/dist/components/smoothly-input-range-demo.js +1 -1
  294. package/dist/components/smoothly-input-range.js +1 -1
  295. package/dist/components/smoothly-input-reset.js +1 -1
  296. package/dist/components/smoothly-input-select.js +1 -1
  297. package/dist/components/smoothly-input-submit.js +1 -1
  298. package/dist/components/smoothly-input.js +1 -1
  299. package/dist/components/smoothly-item.js +1 -1
  300. package/dist/components/smoothly-label.js +1 -1
  301. package/dist/components/smoothly-lazy.js +1 -1
  302. package/dist/components/smoothly-load-more.js +1 -1
  303. package/dist/components/smoothly-modal.js +1 -1
  304. package/dist/components/smoothly-notification.js +1 -1
  305. package/dist/components/smoothly-notifier.js +1 -1
  306. package/dist/components/smoothly-spinner.js +1 -1
  307. package/dist/components/smoothly-submit.js +1 -1
  308. package/dist/components/smoothly-summary.js +1 -1
  309. package/dist/components/smoothly-tab.js +1 -1
  310. package/dist/components/smoothly-table-body.js +1 -1
  311. package/dist/components/smoothly-table-cell.js +1 -1
  312. package/dist/components/smoothly-table-demo-colspan.js +1 -1
  313. package/dist/components/smoothly-table-demo-filler-row.js +1 -1
  314. package/dist/components/smoothly-table-demo-filtered.js +1 -1
  315. package/dist/components/smoothly-table-demo-group.js +1 -1
  316. package/dist/components/smoothly-table-demo-nested-no-cell-inner.js +1 -1
  317. package/dist/components/smoothly-table-demo-nested-no-cell.js +1 -1
  318. package/dist/components/smoothly-table-demo-simple.js +1 -1
  319. package/dist/components/smoothly-table-demo.js +1 -1
  320. package/dist/components/smoothly-table-expandable-cell.js +1 -1
  321. package/dist/components/smoothly-table-expandable-row.js +1 -1
  322. package/dist/components/smoothly-table-filler-row.js +1 -1
  323. package/dist/components/smoothly-table-foot.js +1 -1
  324. package/dist/components/smoothly-table-head.js +1 -1
  325. package/dist/components/smoothly-table-row-group.js +1 -1
  326. package/dist/components/smoothly-table-row.js +1 -1
  327. package/dist/components/smoothly-table.js +1 -1
  328. package/dist/components/smoothly-tabs-demo.js +1 -1
  329. package/dist/components/smoothly-theme-color.js +1 -1
  330. package/dist/components/smoothly-theme-colors.js +1 -1
  331. package/dist/components/smoothly-theme-demo.js +1 -1
  332. package/dist/components/smoothly-theme-guide.js +1 -1
  333. package/dist/components/smoothly-theme-picker.js +1 -1
  334. package/dist/components/smoothly-toggle-switch-demo.js +1 -1
  335. package/dist/components/smoothly-toggle-switch.js +1 -1
  336. package/dist/components/smoothly-trigger-sink.js +1 -1
  337. package/dist/components/smoothly-trigger-source.js +1 -1
  338. package/dist/components/smoothly-trigger.js +1 -1
  339. package/dist/esm/loader.js +1 -1
  340. package/dist/esm/{smoothly-app_103.entry.js → smoothly-app_104.entry.js} +184 -164
  341. package/dist/esm/smoothly-app_104.entry.js.map +1 -0
  342. package/dist/esm/smoothly-submit.entry.js +1 -1
  343. package/dist/esm/smoothly-trigger-sink.entry.js +1 -1
  344. package/dist/esm/smoothly-trigger-source.entry.js +1 -1
  345. package/dist/esm/smoothly.js +1 -1
  346. package/dist/smoothly/{p-1591ed71.entry.js → p-2009497a.entry.js} +2 -2
  347. package/dist/smoothly/{p-bcf83be6.entry.js → p-24c44cdc.entry.js} +2 -2
  348. package/dist/smoothly/p-2b771608.entry.js +2 -0
  349. package/dist/smoothly/p-2b771608.entry.js.map +1 -0
  350. package/dist/smoothly/{p-a00d7c21.entry.js → p-c04ed5b3.entry.js} +2 -2
  351. package/dist/smoothly/smoothly.esm.js +1 -1
  352. package/dist/smoothly/smoothly.esm.js.map +1 -1
  353. package/dist/types/components/input/demo/radio/index.d.ts +5 -0
  354. package/dist/types/components.d.ts +13 -0
  355. package/package.json +1 -1
  356. package/dist/cjs/smoothly-app_103.cjs.entry.js.map +0 -1
  357. package/dist/components/p-003a635b.js +0 -45
  358. package/dist/components/p-6d1e5f27.js.map +0 -1
  359. package/dist/components/p-7c487e25.js +0 -264
  360. package/dist/components/p-7c487e25.js.map +0 -1
  361. package/dist/components/p-c2fb9b51.js +0 -123
  362. package/dist/components/p-fb97b2ff.js.map +0 -1
  363. package/dist/esm/smoothly-app_103.entry.js.map +0 -1
  364. package/dist/smoothly/p-5b91cbdd.entry.js +0 -2
  365. package/dist/smoothly/p-5b91cbdd.entry.js.map +0 -1
  366. /package/dist/smoothly/{p-1591ed71.entry.js.map → p-2009497a.entry.js.map} +0 -0
  367. /package/dist/smoothly/{p-bcf83be6.entry.js.map → p-24c44cdc.entry.js.map} +0 -0
  368. /package/dist/smoothly/{p-a00d7c21.entry.js.map → p-c04ed5b3.entry.js.map} +0 -0
@@ -19,11 +19,11 @@ export class SmoothlyInputDemoUserInput {
19
19
  }
20
20
  render() {
21
21
  var _a, _b;
22
- return (h(Host, { key: '93ac8ff24d005bece5c380c5fa1e0e460b7c2310' }, h("div", { key: '0ba15264f8f6fb95f48278cee3820a031cfb977f' }, h("h2", { key: '4261f82d2dc941553a6cf0549169f0c2c9a2e2c6' }, "User Input Event"), h("p", { key: 'eeca3c1b24c324e53ca52b23dbd9df821b30e6c1' }, "These inputs demonstrate how user input is handled. The ", h("code", { key: 'b7e43b4a632c958c17a9967440b696f95846dc7c' }, "smoothlyUserInput"), " event fires only when the user interacts with an input, not when its value is changed programmatically (such as by clicking the buttons above).", h("br", { key: '20323a0fffe89110ff3373867dfd8a029904e6b9' }), "Check the console to see the details of each ", h("code", { key: '07ff89fb5e17565794500a28ac48a70718e90cdd' }, "smoothlyUserInput"), " event.")), h("smoothly-button", { key: '21e0a9fb254fd031300e723f6701355b8380625f', color: "tertiary", onClick: () => (this.textIndex = this.increment(this.textIndex)) }, "Change text"), h("smoothly-input", { key: '740cf48fc2cdaec9a3bc65e16f37b1484c004291', looks: "border", name: "demo-user-input-text", value: this.textIndex === undefined ? "" : this.values[this.textIndex], onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, "Text input"), h("smoothly-button", { key: 'd5e47e8255f17e086949082e1d203fdaf96d239c', onClick: () => (this.selectIndex = this.increment(this.selectIndex)), color: "tertiary" }, "Next select item"), h("smoothly-input-select", { key: '987ba8692821080005e0fdcefa4284ca43e98b47', looks: "border", name: "demo-user-input-select", onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, h("span", { key: '791e894a717db40227dfaacb23be2c81e465c06d', slot: "label" }, "Select input"), this.values.map((value, index) => (h("smoothly-item", { value: index, selected: index == this.selectIndex }, value)))), h("smoothly-button", { key: 'a389b777d3a0fb141d5570dbb82d5011d1a53d7e', color: "tertiary", onClick: () => (this.checkboxChecked = !this.checkboxChecked) }, "Toggle checkbox"), h("smoothly-input-checkbox", { key: '278136f9e02298f34940d702e9d8f358f2b80270', looks: "border", name: "demo-user-input-checkbox", checked: this.checkboxChecked, onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, "Checkbox input"), h("smoothly-button", { key: '6c4e2d24b532826987253a56ac23a30f5f3dc60a', color: "tertiary", onClick: () => (this.radioIndex = this.increment(this.radioIndex)) }, "Next radio item"), h("smoothly-input-radio", { key: 'fa59ba1fade7ae69fdf2acaa1b18b05b664e018e', looks: "border", name: "demo-user-input-radio", onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, h("span", { key: '26f7ad2608e6db8ba693fbee9e2eed6c64059b29', slot: "label" }, "Radio input"), this.values.map((value, index) => (h("smoothly-input-radio-item", { value: value, selected: index == this.radioIndex }, value)))), h("smoothly-button", { key: '9d78136a67f26faafa61e1abca4e1e1f47cba517', color: "tertiary", onClick: () => (this.rangeValue = this.increment(this.rangeValue)) }, "Next range value"), h("smoothly-input-range", { key: '10e6e5e417e847609935b78b5ddc4400e9533ce9', looks: "border", name: "demo-user-input-range", step: 1, min: 0, max: this.values.length, value: this.rangeValue, label: "Range Input", onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }), h("smoothly-button", { key: 'd3ae741244d8a8c791386d8bbf2353cad652c0b5', color: "tertiary", onClick: () => (this.colorIndex = this.increment(this.colorIndex)) }, "Next color"), h("smoothly-input-color", { key: '3c6552b159e6f02dd19ceba1abb854e34f3a13ed', looks: "border", name: "demo-user-input-color", value: typeof this.colorIndex == "number" ? this.colors[this.colorIndex] : undefined, onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, "Color input"), h("smoothly-button", { key: '3b559b505ff8dca9ebb38e42f40f2fbecbc62910', color: "tertiary", onClick: () => (this.dateValue = this.dateValue ? isoly.Date.next(this.dateValue) : isoly.Date.now()) }, "Next day"), h("smoothly-input-date", { key: '0bd408ca9eab5aac19afc12769ad79249f50ac70', looks: "border", name: "demo-user-input-date", value: this.dateValue, onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, "Date input"), h("smoothly-button", { key: '0c12e56f8364e92514b8b12f9e30bbf8df97859d', color: "tertiary", onClick: () => (this.datetimeValue = this.datetimeValue
22
+ return (h(Host, { key: '3f8731e8b4010dbac473fad42f40b127c56e5d44' }, h("div", { key: 'b1cc52a81b0488bc82506c922c5e378fd9de3189' }, h("h2", { key: 'caa040ebf00d2211f367089297fc43bb784e67fd' }, "User Input Event"), h("p", { key: '778dfcd11303537d6d362ffe13bf03b4172cbc41' }, "These inputs demonstrate how user input is handled. The ", h("code", { key: '133a7f12ea31478e1848679b6a9492d91adb8a1d' }, "smoothlyUserInput"), " event fires only when the user interacts with an input, not when its value is changed programmatically (such as by clicking the buttons above).", h("br", { key: '144eb13a56ef541e5a7828973d698cb6fb672e56' }), "Check the console to see the details of each ", h("code", { key: '6142d5f8f0844caaa2d1e428278413807a3ef094' }, "smoothlyUserInput"), " event.")), h("smoothly-button", { key: 'cbff417434271517e66c04336978429ed5f4b9e8', color: "tertiary", onClick: () => (this.textIndex = this.increment(this.textIndex)) }, "Change text"), h("smoothly-input", { key: '7cf13015c86c9e14a34ee05165b60e4baf0fa06d', looks: "border", name: "demo-user-input-text", value: this.textIndex === undefined ? "" : this.values[this.textIndex], onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, "Text input"), h("smoothly-button", { key: 'd4e4e5b7230d45583ca98c98929b0bd88514ec28', onClick: () => (this.selectIndex = this.increment(this.selectIndex)), color: "tertiary" }, "Next select item"), h("smoothly-input-select", { key: '84489f8685c6dc0bfbef5b152290be3492a99a64', looks: "border", name: "demo-user-input-select", onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, h("span", { key: '1d1a87b139324bf4f8b00c4e5e7ff72121e8e92e', slot: "label" }, "Select input"), this.values.map((value, index) => (h("smoothly-item", { value: index, selected: index == this.selectIndex }, value)))), h("smoothly-button", { key: '62518b7e958e1294175486fe4998a66b16e23bcd', color: "tertiary", onClick: () => (this.checkboxChecked = !this.checkboxChecked) }, "Toggle checkbox"), h("smoothly-input-checkbox", { key: 'ca75c33baaee28ac2968364736916992fe407362', looks: "border", name: "demo-user-input-checkbox", checked: this.checkboxChecked, onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, "Checkbox input"), h("smoothly-button", { key: 'ca93b9ff77ac4cbd540802018be52967ce4b6d78', color: "tertiary", onClick: () => (this.radioIndex = this.increment(this.radioIndex)) }, "Next radio item"), h("smoothly-input-radio", { key: 'e5d2e4df79ba24dff605df4ea057394ba0bd9f4f', looks: "border", name: "demo-user-input-radio", onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, h("span", { key: '59780a80a26274e7c4f07a84a4a735a1e68f9caf', slot: "label" }, "Radio input"), this.values.map((value, index) => (h("smoothly-input-radio-item", { value: value, selected: index == this.radioIndex }, value)))), h("smoothly-button", { key: 'e9477a5b9552070aa6c5fbb65d70a3a6fcfb2bb3', color: "tertiary", onClick: () => (this.rangeValue = this.increment(this.rangeValue)) }, "Next range value"), h("smoothly-input-range", { key: 'f78233fd072f673debc5ef2794ccfd92470d2644', looks: "border", name: "demo-user-input-range", step: 1, min: 0, max: this.values.length, value: this.rangeValue, label: "Range Input", onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }), h("smoothly-button", { key: 'b9ab61db3f0ef25b29589720ae32fbaf4fc292ce', color: "tertiary", onClick: () => (this.colorIndex = this.increment(this.colorIndex)) }, "Next color"), h("smoothly-input-color", { key: '110b00b1faf7392ae35af47a8363c3eb6f9ab3b1', looks: "border", name: "demo-user-input-color", value: typeof this.colorIndex == "number" ? this.colors[this.colorIndex] : undefined, onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, "Color input"), h("smoothly-button", { key: '48f402cba290ca60d5ee22a83a11bb4d87345a8a', color: "tertiary", onClick: () => (this.dateValue = this.dateValue ? isoly.Date.next(this.dateValue) : isoly.Date.now()) }, "Next day"), h("smoothly-input-date", { key: '143dc7440c89598bc6825bbc001afdcf926b32fb', looks: "border", name: "demo-user-input-date", value: this.dateValue, onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, "Date input"), h("smoothly-button", { key: '208eeaf0da242239958917cb60938ff14240d62f', color: "tertiary", onClick: () => (this.datetimeValue = this.datetimeValue
23
23
  ? isoly.DateTime.nextDay(this.datetimeValue)
24
- : isoly.DateTime.now()) }, "Next date time"), h("smoothly-input-date-time", { key: 'f3301a005ae8d06aecc76aee13ec6b2643d79db7', looks: "border", name: "demo-user-input-datetime", value: this.datetimeValue, onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, "Date time input"), h("smoothly-button", { key: 'bd2bd181f98f10188327a854e99e8fb3cfab4483', color: "tertiary", onClick: () => (this.dateRangeValue = this.dateRangeValue
24
+ : isoly.DateTime.now()) }, "Next date time"), h("smoothly-input-date-time", { key: 'd8ee43e0e07aed4c7bb748b7a8465b80e23715aa', looks: "border", name: "demo-user-input-datetime", value: this.datetimeValue, onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, "Date time input"), h("smoothly-button", { key: '50a1a84990b8749ca6cad6ce954af64c8a2035c4', color: "tertiary", onClick: () => (this.dateRangeValue = this.dateRangeValue
25
25
  ? { start: isoly.Date.next(this.dateRangeValue.start), end: isoly.Date.next(this.dateRangeValue.end) }
26
- : { start: isoly.Date.now(), end: isoly.Date.next(isoly.Date.now(), 10) }) }, "Next date range"), h("smoothly-input-date-range", { key: '39ebe21d975120354be6744701a6e0db924946ce', looks: "border", name: "demo-user-input-daterange", start: (_a = this.dateRangeValue) === null || _a === void 0 ? void 0 : _a.start, end: (_b = this.dateRangeValue) === null || _b === void 0 ? void 0 : _b.end, onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, "Date range input")));
26
+ : { start: isoly.Date.now(), end: isoly.Date.next(isoly.Date.now(), 10) }) }, "Next date range"), h("smoothly-input-date-range", { key: 'ee2818fd24043bc7b96209414e9c56b68fa18493', looks: "border", name: "demo-user-input-daterange", start: (_a = this.dateRangeValue) === null || _a === void 0 ? void 0 : _a.start, end: (_b = this.dateRangeValue) === null || _b === void 0 ? void 0 : _b.end, onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, "Date range input")));
27
27
  }
28
28
  static get is() { return "smoothly-input-demo-user-input"; }
29
29
  static get encapsulation() { return "scoped"; }
@@ -28,7 +28,7 @@ export class SmoothlyInputEdit {
28
28
  }
29
29
  render() {
30
30
  var _a;
31
- return (h(Host, { key: '3f7558d11b2d44dd408af97a340257484382eb06', title: this.tooltip }, h("smoothly-button", { key: 'f6247d9959f0d3015c2620b1e11073bbcb48e046', disabled: this.disabled, size: this.size, type: "button", shape: this.shape, expand: this.expand, color: this.color, fill: (_a = this.fill) !== null && _a !== void 0 ? _a : (this.type == "input" ? "clear" : undefined) }, h("slot", { key: '71b5a8210aa6f4ca12cdc4fdabaabc495b4024f1' }), h("smoothly-icon", { key: 'dcdd203ebb727b94f54cb2f190647be3461d7808', class: "default", name: "create-outline", size: "tiny" }))));
31
+ return (h(Host, { key: 'f3bc55a7a59a13b8b9359d62e91e3af8d44a50dc', title: this.tooltip }, h("smoothly-button", { key: 'cf4df9b7490783a451ef8b27efe8da46956a51fd', disabled: this.disabled, size: this.size, type: "button", shape: this.shape, expand: this.expand, color: this.color, fill: (_a = this.fill) !== null && _a !== void 0 ? _a : (this.type == "input" ? "clear" : undefined) }, h("slot", { key: '4dfbe9901f613a32e125d3dc4568ae43374144b0' }), h("smoothly-icon", { key: 'd45e03a9d3a47032d17f1791ad91fb13529a775f', class: "default", name: "create-outline", size: "tiny" }))));
32
32
  }
33
33
  static get is() { return "smoothly-input-edit"; }
34
34
  static get encapsulation() { return "scoped"; }
@@ -111,7 +111,7 @@ export class SmoothlyInputFile {
111
111
  }
112
112
  render() {
113
113
  var _a, _b, _c;
114
- return (h(Host, { key: '23b78025aa87033e4d55e1a3075fbf54f7f17911', class: { dragging: this.dragging, "has-value": !!this.value }, tabindex: this.disabled ? undefined : 0, onClick: (e) => this.clickHandler(e), onDragOver: (e) => this.dragOverHandler(e), onDragEnter: (e) => this.dragEnterHandler(e) }, h("label", { key: 'c351bd728e22f7735cc40c383370aa34767608e2' }, h("slot", { key: '18424e4ccfb9ddfe1535f65828fde006a00cca23', name: "label" })), h("div", { key: 'b7dc0bb86062b950d8eced795aaee41254ab33f5', class: "input" }, h("smoothly-button", { key: '29aca13db6b86cf9cc52069ba63e460dc474d937', disabled: this.disabled, type: "button", color: this.color, fill: "clear", size: "flexible" }, h("slot", { key: '15e1c28e93edeae1676734d939a209fb14022d83', name: "button" })), h("span", { key: '67b391a462c61f3d7f27b42b5af01bc6e9ec646c' }, (_b = (_a = this.value) === null || _a === void 0 ? void 0 : _a.name) !== null && _b !== void 0 ? _b : this.placeholder), h("div", { key: '6dfcfce7fda9969f1b17c5af1fab7a34303cc314', class: "drag-overlay", onDrop: e => this.dropHandler(e), onDragLeave: e => this.dragLeaveHandler(e) }, h("smoothly-icon", { key: '2c2aaa95ef454ea0f49474f84d7dbde3162e7102', name: "document-attach-outline" })), h("input", { key: 'ce82c258c22617d2daed517b710de1585799399e', ref: element => (this.input = element), type: "file", disabled: this.disabled, capture: this.camera == "back" ? "environment" : "user", accept: (_c = this.accept) !== null && _c !== void 0 ? _c : (!this.camera ? undefined : "image/jpeg"), files: this.files, onInput: e => this.inputHandler(e) })), h("span", { key: 'bf34d806278cb594b720619b650f7510e7a6eaf4', onClick: (e) => e.stopPropagation() }, h("slot", { key: 'b08506d4c99d5cc988a4402f43edc4dad7ead875', name: "end" }))));
114
+ return (h(Host, { key: 'f4df7ddb44c408650f4b204f6e82ae75a801d126', class: { dragging: this.dragging, "has-value": !!this.value }, tabindex: this.disabled ? undefined : 0, onClick: (e) => this.clickHandler(e), onDragOver: (e) => this.dragOverHandler(e), onDragEnter: (e) => this.dragEnterHandler(e) }, h("label", { key: 'c5ee90970f4e3354d561f8cbde49f116f0d641a3' }, h("slot", { key: '54c60e9d796be6153f7afcfa7f959558e12241f0', name: "label" })), h("div", { key: '669a4853db689f4b9cb14c6123baf8586dca6230', class: "input" }, h("smoothly-button", { key: 'bcfdb6eae7a7ba03a911651f1d0af9bb1ed6b407', disabled: this.disabled, type: "button", color: this.color, fill: "clear", size: "flexible" }, h("slot", { key: '7855f3bbd0b7f3bb5f4ba2345143dc17779a8502', name: "button" })), h("span", { key: '017b26231a838eb4d8dcda32e8e3363af6511113' }, (_b = (_a = this.value) === null || _a === void 0 ? void 0 : _a.name) !== null && _b !== void 0 ? _b : this.placeholder), h("div", { key: '5354848242f9a021ef51a94f7db6dc7e1caa35fe', class: "drag-overlay", onDrop: e => this.dropHandler(e), onDragLeave: e => this.dragLeaveHandler(e) }, h("smoothly-icon", { key: 'ab8b59f29dc1377f4e3b507e99e291333f332a86', name: "document-attach-outline" })), h("input", { key: '379b0c489e893122c68cf4a9c796b172b656763d', ref: element => (this.input = element), type: "file", disabled: this.disabled, capture: this.camera == "back" ? "environment" : "user", accept: (_c = this.accept) !== null && _c !== void 0 ? _c : (!this.camera ? undefined : "image/jpeg"), files: this.files, onInput: e => this.inputHandler(e) })), h("span", { key: '1bc9a2d979e0975dd01cd320acb5dc34b2029472', onClick: (e) => e.stopPropagation() }, h("slot", { key: '98aa0198ff2cd3b3d522e1350516fec31f6788fe', name: "end" }))));
115
115
  }
116
116
  static get is() { return "smoothly-input-file"; }
117
117
  static get encapsulation() { return "scoped"; }
@@ -109,21 +109,21 @@ export class SmoothlyInputMonth {
109
109
  }
110
110
  render() {
111
111
  var _a, _b;
112
- return (h(Host, { key: '18f61ae51348d5bd0c622337b28b45174ff18076' }, h("smoothly-icon", { key: '3353daed3b1accb80fa5aab42304e2d82bf51126', name: "caret-back-outline", size: "tiny", color: this.color, fill: "default", class: {
112
+ return (h(Host, { key: 'eefcb23c84911b8334155d4035450161bacab335' }, h("smoothly-icon", { key: '54c89c0a776e5cca1d738ff3c2c75bf792e9fec7', name: "caret-back-outline", size: "tiny", color: this.color, fill: "default", class: {
113
113
  disabled: this.readonly || !this.allowPreviousMonth,
114
- }, onClick: () => this.allowPreviousMonth && this.adjustMonth(-1) }), h("smoothly-input-select", { key: 'a41333ccdf3a8595cadabdf096706a71bfcf6d1d', ref: e => (this.year = e), name: `${this.name}-year`, readonly: this.readonly, menuHeight: "5.5items", required: true, ordered: true, inCalendar: this.inCalendar, showLabel: this.showLabel, onSmoothlyInput: e => this.inputHandler(e), onSmoothlyUserInput: e => {
114
+ }, onClick: () => this.allowPreviousMonth && this.adjustMonth(-1) }), h("smoothly-input-select", { key: 'a8ada0ee9d10be566cce98fb7fd8e98fcae2eb2f', ref: e => (this.year = e), name: `${this.name}-year`, readonly: this.readonly, menuHeight: "5.5items", required: true, ordered: true, inCalendar: this.inCalendar, showLabel: this.showLabel, onSmoothlyInput: e => this.inputHandler(e), onSmoothlyUserInput: e => {
115
115
  const month = e.detail.value;
116
116
  if (month && isoly.Date.is(month)) {
117
117
  const value = isoly.Date.firstOfMonth(month);
118
118
  this.smoothlyUserInput.emit({ name: this.name, value });
119
119
  }
120
- }, searchDisabled: true }, h("div", { key: 'ea87369124256ce2911ec603ce7bf6f5aa653819', slot: "label" }, h("slot", { key: '64aa8263cd0146723944f0226407a88fb24419dc', name: "year-label" })), generate.years((_a = this.value) !== null && _a !== void 0 ? _a : isoly.Date.now(), this.min, this.max).map(year => (h("smoothly-item", { key: year.date, value: year.date, selected: year.selected || this.value == year.date }, year.name)))), h("smoothly-input-select", { key: '318f72ddd1a44ec40b8459ad59e20afc0ce4c0c7', ref: e => (this.month = e), name: `${this.name}-month`, readonly: this.readonly, color: this.color, looks: this.looks, menuHeight: "5.5items", required: true, ordered: true, inCalendar: this.inCalendar, showLabel: this.showLabel, onSmoothlyInput: e => this.inputHandler(e), onSmoothlyUserInput: e => {
120
+ }, searchDisabled: true }, h("div", { key: '057bd0d86cba43f640185418aa3f8268364b5a5c', slot: "label" }, h("slot", { key: '379a30d1f4915ba7fc421dac3c6ed13ce8c6f16f', name: "year-label" })), generate.years((_a = this.value) !== null && _a !== void 0 ? _a : isoly.Date.now(), this.min, this.max).map(year => (h("smoothly-item", { key: year.date, value: year.date, selected: year.selected || this.value == year.date }, year.name)))), h("smoothly-input-select", { key: '91fb8b714da6207dc44aac51db1d4f4df5832e85', ref: e => (this.month = e), name: `${this.name}-month`, readonly: this.readonly, color: this.color, looks: this.looks, menuHeight: "5.5items", required: true, ordered: true, inCalendar: this.inCalendar, showLabel: this.showLabel, onSmoothlyInput: e => this.inputHandler(e), onSmoothlyUserInput: e => {
121
121
  const year = e.detail.value;
122
122
  if (year && isoly.Date.is(year)) {
123
123
  const value = isoly.Date.firstOfMonth(year);
124
124
  this.smoothlyUserInput.emit({ name: this.name, value });
125
125
  }
126
- }, searchDisabled: true }, h("div", { key: 'eab69d4faf59b5d3acbd0db9a53912a65b31f210', slot: "label" }, h("slot", { key: '8e9aca70172019bf7c8b41f3f7534a38e231a486', name: "month-label" })), generate.months((_b = this.value) !== null && _b !== void 0 ? _b : isoly.Date.now()).map(month => (h("smoothly-item", { key: month.date, value: month.date, selected: month.selected || this.value == month.date }, month.name)))), h("smoothly-icon", { key: '3e434c79f9ff72f4bce6f2ba3d87803b332b5d83', name: "caret-forward-outline", size: "tiny", color: this.color, fill: "default", class: { disabled: this.readonly || !this.allowNextMonth }, onClick: () => this.allowNextMonth && this.adjustMonth(1) })));
126
+ }, searchDisabled: true }, h("div", { key: 'f51ace81a7ac85957ead3532b1a228c95acc5f5f', slot: "label" }, h("slot", { key: '27e4c3e1da0dfb4fee70749236ab1372807dc82b', name: "month-label" })), generate.months((_b = this.value) !== null && _b !== void 0 ? _b : isoly.Date.now()).map(month => (h("smoothly-item", { key: month.date, value: month.date, selected: month.selected || this.value == month.date }, month.name)))), h("smoothly-icon", { key: '026c0c398ebce39044581231dc601c6248a6d7eb', name: "caret-forward-outline", size: "tiny", color: this.color, fill: "default", class: { disabled: this.readonly || !this.allowNextMonth }, onClick: () => this.allowNextMonth && this.adjustMonth(1) })));
127
127
  }
128
128
  static get is() { return "smoothly-input-month"; }
129
129
  static get encapsulation() { return "scoped"; }
@@ -27,7 +27,7 @@ export class SmoothlyInputRadioItem {
27
27
  });
28
28
  }
29
29
  render() {
30
- return (h(Host, { key: '00ca9a738cac0a793961eba3dc326a1f6c1f6b79', onClick: () => this.inputHandler(true) }, h("input", { key: 'ad82ad9e78fff1a6803dc5153cac506ee63a6f5b', name: this.name, type: "radio", checked: this.selected, disabled: this.disabled }), h("smoothly-icon", { key: '068db330a5f5eef568a6ed0f77f18aa9e7e27eed', name: this.selected ? "checkmark-circle" : "ellipse-outline", size: "small", tooltip: "Select" }), h("label", { key: '69dced566cdacaa920a78600d9da3d7a88247193' }, h("slot", { key: '70b9d058904331675a062f3df130aae8bd3dd27b' }))));
30
+ return (h(Host, { key: '070130be28fb079d283c44fd4e1d953fa6ecca57', onClick: () => this.inputHandler(true) }, h("input", { key: '2659b61bb76a9196c82db8ebb07246ace707402a', name: this.name, type: "radio", checked: this.selected, disabled: this.disabled }), h("smoothly-icon", { key: '9c3ac6911f3c8d335728aac0c48382a927fde8d4', name: this.selected ? "checkmark-circle" : "ellipse-outline", size: "small", tooltip: "Select" }), h("label", { key: 'b6e3506b8814d170c43227c8291f8324a07e5547' }, h("slot", { key: '9282d307ffa40211b40bcd9ee0bfff4891620a85' })), h("slot", { key: 'a1537eebdf4ae3bef11bb4ab02cdaf1849b9917f', name: "detail" })));
31
31
  }
32
32
  static get is() { return "smoothly-input-radio-item"; }
33
33
  static get encapsulation() { return "scoped"; }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/input/radio/item/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAS,MAAM,eAAe,CAAA;AACpG,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAUnC,MAAM,OAAO,sBAAsB;;;wBAGiB,KAAK;;;;;IAMxD,iBAAiB;QAChB,IAAI,CAAC,yBAAyB,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE;YAC5C,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAA;YACvB,MAAM,CAAC,MAAM,CAAC,KAAK,EAAC,CAAC,EAAC,EAAE;gBACvB,IAAI,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC;oBACd,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC,QAAQ,CAAA;YAC5B,CAAC,CAAC,CAAA;QACH,CAAC,CAAC,CAAA;QACF,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAA;IAC1C,CAAC;IACD,YAAY,CAAC,aAAsB;QAClC,IAAI,CAAC,uBAAuB,CAAC,IAAI,CAAC;YACjC,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC;YAChC,aAAa;SACb,CAAC,CAAA;IACH,CAAC;IAED,MAAM;QACL,OAAO,CACN,EAAC,IAAI,qDAAC,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC;YAC3C,8DAAO,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,EAAC,OAAO,EAAC,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,GAAI;YACxF,sEAAe,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,iBAAiB,EAAE,IAAI,EAAC,OAAO,EAAC,OAAO,EAAC,QAAQ,GAAG;YAC7G;gBACC,8DAAQ,CACD,CACF,CACP,CAAA;IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Host, Prop, State, VNode } from \"@stencil/core\"\nimport { Input } from \"../../Input\"\nimport { Looks } from \"../../Looks\"\nimport { SmoothlyInputRadio } from \"../index\"\nimport { RadioItemSelect } from \"../RadioItemSelect\"\n\n@Component({\n\ttag: \"smoothly-input-radio-item\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyInputRadioItem {\n\t@Element() element: HTMLInputElement\n\t@Prop({ mutable: true }) value: any\n\t@Prop({ mutable: true, reflect: true }) selected = false\n\t@Prop({ mutable: true, reflect: true }) looks?: Looks\n\t@Prop({ mutable: true }) name: string\n\t@State() disabled?: boolean\n\t@Event() smoothlyRadioItemSelect: EventEmitter<RadioItemSelect>\n\t@Event() smoothlyRadioItemRegister: EventEmitter<(parent: SmoothlyInputRadio) => void>\n\tcomponentWillLoad(): void | Promise<void> {\n\t\tthis.smoothlyRadioItemRegister.emit(parent => {\n\t\t\tthis.name = parent.name\n\t\t\tparent.listen(async p => {\n\t\t\t\tif (Input.is(p))\n\t\t\t\t\tthis.disabled = p.disabled\n\t\t\t})\n\t\t})\n\t\tthis.selected && this.inputHandler(false)\n\t}\n\tinputHandler(userInitiated: boolean): void {\n\t\tthis.smoothlyRadioItemSelect.emit({\n\t\t\tvalue: this.value,\n\t\t\tselected: this.selected,\n\t\t\tselect: s => (this.selected = s),\n\t\t\tuserInitiated,\n\t\t})\n\t}\n\n\trender(): VNode | VNode[] {\n\t\treturn (\n\t\t\t<Host onClick={() => this.inputHandler(true)}>\n\t\t\t\t<input name={this.name} type=\"radio\" checked={this.selected} disabled={this.disabled} />\n\t\t\t\t<smoothly-icon name={this.selected ? \"checkmark-circle\" : \"ellipse-outline\"} size=\"small\" tooltip=\"Select\" />\n\t\t\t\t<label>\n\t\t\t\t\t<slot />\n\t\t\t\t</label>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/input/radio/item/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAS,MAAM,eAAe,CAAA;AACpG,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAUnC,MAAM,OAAO,sBAAsB;;;wBAGiB,KAAK;;;;;IAMxD,iBAAiB;QAChB,IAAI,CAAC,yBAAyB,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE;YAC5C,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAA;YACvB,MAAM,CAAC,MAAM,CAAC,KAAK,EAAC,CAAC,EAAC,EAAE;gBACvB,IAAI,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC;oBACd,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC,QAAQ,CAAA;YAC5B,CAAC,CAAC,CAAA;QACH,CAAC,CAAC,CAAA;QACF,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAA;IAC1C,CAAC;IACD,YAAY,CAAC,aAAsB;QAClC,IAAI,CAAC,uBAAuB,CAAC,IAAI,CAAC;YACjC,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC;YAChC,aAAa;SACb,CAAC,CAAA;IACH,CAAC;IAED,MAAM;QACL,OAAO,CACN,EAAC,IAAI,qDAAC,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC;YAC3C,8DAAO,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,EAAC,OAAO,EAAC,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,GAAI;YACxF,sEAAe,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,iBAAiB,EAAE,IAAI,EAAC,OAAO,EAAC,OAAO,EAAC,QAAQ,GAAG;YAC7G;gBACC,8DAAQ,CACD;YACR,6DAAM,IAAI,EAAC,QAAQ,GAAG,CAChB,CACP,CAAA;IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Host, Prop, State, VNode } from \"@stencil/core\"\nimport { Input } from \"../../Input\"\nimport { Looks } from \"../../Looks\"\nimport { SmoothlyInputRadio } from \"../index\"\nimport { RadioItemSelect } from \"../RadioItemSelect\"\n\n@Component({\n\ttag: \"smoothly-input-radio-item\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyInputRadioItem {\n\t@Element() element: HTMLInputElement\n\t@Prop({ mutable: true }) value: any\n\t@Prop({ mutable: true, reflect: true }) selected = false\n\t@Prop({ mutable: true, reflect: true }) looks?: Looks\n\t@Prop({ mutable: true }) name: string\n\t@State() disabled?: boolean\n\t@Event() smoothlyRadioItemSelect: EventEmitter<RadioItemSelect>\n\t@Event() smoothlyRadioItemRegister: EventEmitter<(parent: SmoothlyInputRadio) => void>\n\tcomponentWillLoad(): void | Promise<void> {\n\t\tthis.smoothlyRadioItemRegister.emit(parent => {\n\t\t\tthis.name = parent.name\n\t\t\tparent.listen(async p => {\n\t\t\t\tif (Input.is(p))\n\t\t\t\t\tthis.disabled = p.disabled\n\t\t\t})\n\t\t})\n\t\tthis.selected && this.inputHandler(false)\n\t}\n\tinputHandler(userInitiated: boolean): void {\n\t\tthis.smoothlyRadioItemSelect.emit({\n\t\t\tvalue: this.value,\n\t\t\tselected: this.selected,\n\t\t\tselect: s => (this.selected = s),\n\t\t\tuserInitiated,\n\t\t})\n\t}\n\n\trender(): VNode | VNode[] {\n\t\treturn (\n\t\t\t<Host onClick={() => this.inputHandler(true)}>\n\t\t\t\t<input name={this.name} type=\"radio\" checked={this.selected} disabled={this.disabled} />\n\t\t\t\t<smoothly-icon name={this.selected ? \"checkmark-circle\" : \"ellipse-outline\"} size=\"small\" tooltip=\"Select\" />\n\t\t\t\t<label>\n\t\t\t\t\t<slot />\n\t\t\t\t</label>\n\t\t\t\t<slot name=\"detail\" />\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"]}
@@ -1,5 +1,6 @@
1
1
  :host {
2
2
  display: flex;
3
+ flex-wrap: wrap;
3
4
  align-items: center;
4
5
  position: relative;
5
6
  }
@@ -29,8 +30,16 @@ smoothly-input-radio:not([disabled]):not([readonly]) :host>smoothly-icon[name=ch
29
30
  position: absolute;
30
31
  transform: translateX(50%);
31
32
  }
32
-
33
33
  :host>label {
34
34
  padding: 0 .3em;
35
35
  white-space: nowrap;
36
36
  }
37
+
38
+ :host[selected] ::slotted([slot="detail"]) {
39
+ display: block;
40
+ width: 100%;
41
+ }
42
+ :host ::slotted([slot="detail"]) {
43
+ display: none;
44
+ }
45
+
@@ -125,6 +125,7 @@
125
125
  :host>div>div.options {
126
126
  display: flex;
127
127
  gap: 1.5rem;
128
+ width: 100%;
128
129
  }
129
130
  :host[direction=column]>div>div.options {
130
131
  flex-direction: column;
@@ -1,7 +1,7 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  export class SmoothlyInputRangeDemo {
3
3
  render() {
4
- return (h(Host, { key: 'b4550b5f4a8435ff07abbfedf03452fa64993f35' }, h("h2", { key: 'b70efe02b4047e0c56e263d7d604b04f21b3bd9d' }, "Range"), h("h3", { key: 'd1ea3331c8e4ecfa78ebd09706bb9c49ea44de56' }, "Phone Number"), h("smoothly-input-range", { key: '6c2241369a1b03a49a22ab708e2e6cbc2fe2ecbc', min: 700000000, max: 799999999, step: 1, label: "Phone Number" }), h("h3", { key: 'be655af45ba80bd54a41dc319b316a1ffdfa115f' }, "Stars out of ten"), h("smoothly-input-range", { key: 'e0f8e3e88934ad2fcff9a9d3cac3f14db7ecce8f', max: 10, step: 1, label: "Stars" }), h("h3", { key: 'e21bb7960d11b42414cbf6e8dba4c1d011438947' }, "Percent"), h("smoothly-input-range", { key: 'f2a326739a164b0397c64a742e5a210bca0385f8', type: "percent", max: 1, step: 0.01, label: "Percent" }), h("h3", { key: '9ac9fa1800004c7719eab3990c7024dcabeac541' }, "With icon at start and clear button"), h("smoothly-input-range", { key: '15558427596efa234ab6a3ecc89fc039d1156bd9', step: 1, name: "range2", label: "Select" }, h("smoothly-icon", { key: '5237da34fc9f10f5eb6a6a01e5f2c9e9ce68ccde', name: "checkmark-circle", slot: "start" }), h("smoothly-input-clear", { key: '3037a54047581eaba241ab6b3b5b4c3586ad93d4', size: "icon", slot: "end" }))));
4
+ return (h(Host, { key: '517024f5fa43b290588bf6de897eb8604ebb9aec' }, h("h2", { key: '50920a3bb53f5a910ddb094da8afab71b8f57088' }, "Range"), h("h3", { key: '503e792bc7c1d2da6277ac84ea478066e432e3a3' }, "Phone Number"), h("smoothly-input-range", { key: '8ad5509021818af773dcb4b4004aff70b6e9e1d4', min: 700000000, max: 799999999, step: 1, label: "Phone Number" }), h("h3", { key: 'd0721a56d49839e2d409e2371dd22663ee7c6260' }, "Stars out of ten"), h("smoothly-input-range", { key: 'c0729cb660ac13733d73a33f4c9f8fbab6132919', max: 10, step: 1, label: "Stars" }), h("h3", { key: '037a777b872d2338994cccc94aaf9539566b1d25' }, "Percent"), h("smoothly-input-range", { key: 'b46ef1dca494adf50e7407d280b6261fa5fe98d3', type: "percent", max: 1, step: 0.01, label: "Percent" }), h("h3", { key: '49ce896d170de4e93ab1787533eb9ce0830af143' }, "With icon at start and clear button"), h("smoothly-input-range", { key: 'e322080fc04b52b6219d894568759f0a47df81ee', step: 1, name: "range2", label: "Select" }, h("smoothly-icon", { key: '54fd4bed32163cf2368192ceaed499dfd4b6d9f6', name: "checkmark-circle", slot: "start" }), h("smoothly-input-clear", { key: '75786b2a1ef4c44537e28dd95a9b6a67a0a7e883', size: "icon", slot: "end" }))));
5
5
  }
6
6
  static get is() { return "smoothly-input-range-demo"; }
7
7
  }
@@ -95,18 +95,18 @@ export class SmoothlyInputRange {
95
95
  }
96
96
  render() {
97
97
  var _a, _b, _c;
98
- return (h(Host, { key: '896052a02f5cce23a5ed1a02fd1081f19b16b582', class: {
98
+ return (h(Host, { key: '0edc962695435c709333bfb4cefb492b31b2d0b7', class: {
99
99
  "output-side-right": this.outputSide === "right",
100
100
  "show-label": this.outputSide === "left" && !!this.label,
101
- } }, h("slot", { key: '7db794cbda30405f4d2b3b430ffe6bf1130ae804', name: "start" }), h("div", { key: 'd334bdd0df403fde4d5ac3a4f32dfe98efc9d0be' }, h("label", { key: '6511b42785fba191d61fa521baeda6545a86e3f3', htmlFor: this.name }, this.label), h("smoothly-input", { key: 'd2d0dea2140b110461f5738117500d7c5bc08c3a', ref: e => (this.input = e), looks: undefined, color: this.color, name: this.name, showLabel: this.outputSide === "left" && !!this.label, type: this.type, onSmoothlyInputLoad: async (e) => (e.stopPropagation(),
101
+ } }, h("slot", { key: '63b3652f46e92ec1a3cd331960b5027628e1fa84', name: "start" }), h("div", { key: '412e827085b0b5ff37390d5be4bf6efc6287885c' }, h("label", { key: '1445f01448ecfabe4cd0470a8ba509daac632694', htmlFor: this.name }, this.label), h("smoothly-input", { key: '6bb9b7002eda2ac742f981084093a3cede27a881', ref: e => (this.input = e), looks: undefined, color: this.color, name: this.name, showLabel: this.outputSide === "left" && !!this.label, type: this.type, onSmoothlyInputLoad: async (e) => (e.stopPropagation(),
102
102
  this.setValue(Input.Element.is(e.target) ? Number(await e.target.getValue()) : undefined)), onSmoothlyBlur: e => e.stopPropagation(), onSmoothlyInput: async (e) => {
103
103
  e.stopPropagation();
104
104
  this.setValue(Input.Element.is(e.target) ? Number(await e.target.getValue()) : undefined);
105
- }, value: this.type == "percent" ? this.value : (_a = this.value) === null || _a === void 0 ? void 0 : _a.toString(), placeholder: this.outputSide === "right" ? "-" : undefined, readonly: this.readonly, disabled: this.disabled }, this.label), h("smoothly-display", { key: 'feb68df52b048e356a6555c7ee996c20a531e705', label: (this.type == "percent" ? this.min * 100 : this.min).toString() }), h("input", { key: 'c7a95d0ef8d66e2df34caad6504c45a6f8fb7061', name: this.name, part: "range", type: "range", min: this.min, max: this.max, step: (_b = this.step) !== null && _b !== void 0 ? _b : "any", disabled: this.readonly || this.disabled, onInput: event => {
105
+ }, value: this.type == "percent" ? this.value : (_a = this.value) === null || _a === void 0 ? void 0 : _a.toString(), placeholder: this.outputSide === "right" ? "-" : undefined, readonly: this.readonly, disabled: this.disabled }, this.label), h("smoothly-display", { key: '4f66615300dc91082ee8e0127f96ae463889a498', label: (this.type == "percent" ? this.min * 100 : this.min).toString() }), h("input", { key: 'ab200acfa975a10dc52248cc3f159db0fd2b4ba3', name: this.name, part: "range", type: "range", min: this.min, max: this.max, step: (_b = this.step) !== null && _b !== void 0 ? _b : "any", disabled: this.readonly || this.disabled, onInput: event => {
106
106
  event.stopPropagation();
107
107
  this.setValue(event.target.valueAsNumber);
108
108
  this.smoothlyUserInput.emit({ name: this.name, value: this.value });
109
- }, value: (_c = this.value) !== null && _c !== void 0 ? _c : this.min }), h("smoothly-display", { key: 'f72fdf57fc07c3fc9fa4c843525291d8f3bf0da8', label: (this.type == "percent" ? this.max * 100 : this.max).toString() })), h("slot", { key: '03705aaa50dded48ad831412e811d69fde1d6b60', name: "end" })));
109
+ }, value: (_c = this.value) !== null && _c !== void 0 ? _c : this.min }), h("smoothly-display", { key: '48e0763f8d5d656fbf6e886e78dd85bfe00ba493', label: (this.type == "percent" ? this.max * 100 : this.max).toString() })), h("slot", { key: 'ed8150bb7db19f31a9eaf3b2ad3db82330556653', name: "end" })));
110
110
  }
111
111
  static get is() { return "smoothly-input-range"; }
112
112
  static get encapsulation() { return "scoped"; }
@@ -40,7 +40,7 @@ export class SmoothlyInputReset {
40
40
  }
41
41
  render() {
42
42
  var _a;
43
- return (h(Host, { key: '39b30b359df4e26ee2ea37795ec3c889307fb899', title: this.tooltip }, h("smoothly-button", { key: '2f17f35ab96330c7ce38bbc606fc06ab604d6a7b', disabled: this.disabled, size: this.size, type: "button", shape: this.shape, expand: this.expand, color: this.color, fill: (_a = this.fill) !== null && _a !== void 0 ? _a : (this.type == "input" ? "clear" : undefined), onClick: event => this.clickHandler(event) }, h("slot", { key: 'de14ee9362b39ca6f25caa687b51333eb523748f' }), h("smoothly-icon", { key: '69b34f2f5ae89379635a245905a7d692726957e6', flip: "x", name: "refresh-outline", size: "tiny" }))));
43
+ return (h(Host, { key: '013126d52ad4e32ce7f5f04b5a54c925a77100a9', title: this.tooltip }, h("smoothly-button", { key: 'b7150136d601bb76bd396c054971fb08e5caa699', disabled: this.disabled, size: this.size, type: "button", shape: this.shape, expand: this.expand, color: this.color, fill: (_a = this.fill) !== null && _a !== void 0 ? _a : (this.type == "input" ? "clear" : undefined), onClick: event => this.clickHandler(event) }, h("slot", { key: '2e762ef063d7872cb2b9294fb5b0096a2a565b7d' }), h("smoothly-icon", { key: '950efe9f8a14f3ef3608238f21a3cc0fde4f4161', flip: "x", name: "refresh-outline", size: "tiny" }))));
44
44
  }
45
45
  static get is() { return "smoothly-input-reset"; }
46
46
  static get encapsulation() { return "scoped"; }
@@ -288,14 +288,14 @@ export class SmoothlyInputSelect {
288
288
  this.addedItems = this.addedItems.concat(h("smoothly-item", { value: this.filter, selected: true }, this.filter));
289
289
  }
290
290
  render() {
291
- return (h(Host, { key: '83a3ae061ed14cd4bb9a769e124093e39329a17d', tabIndex: this.disabled ? undefined : 0, class: { "has-value": this.selected.length !== 0, open: this.open }, onClick: (event) => this.handleShowOptions(event) }, h("div", { key: 'a5fcfb1612ef033df68a7f03d2e88e5f231ba47b', class: "select-display", ref: element => (this.displaySelectedElement = element) }, this.placeholder), h("div", { key: 'cb3f84e88bd3bb5a19f0950c49ef059a0ce7c0e4', class: "icons", ref: element => (this.iconsDiv = element) }, h("smoothly-icon", { key: 'ad38f4e1ed640450832e3b3beea70a9bb346754b', class: "smoothly-invalid", name: "alert-circle", size: "small", tooltip: this.errorMessage }), h("slot", { key: '5d93d1c33d8d092a2cc2746e5a2f3aeba815a955', name: "end" }), this.looks == "border" && !this.readonly && (h("smoothly-icon", { key: 'd875a46166ec03e7b7555edb649d2a168f76853d', ref: element => (this.toggle = element), size: "tiny", name: this.open ? "caret-down-outline" : "caret-forward-outline" }))), h("slot", { key: '2246b453a4d28ff336264e17091d103da2a3a02f', name: "label" }), h("div", { key: 'c4232de7ac74641289d298a85c3f5ac18789a045', class: { hidden: !this.open, options: true }, ref: (el) => (this.optionsDiv = el) }, this.filter.length > 0 && (h("div", { key: 'b3f4ad79ee30b0465dc8b4784bcae62e7cef2f5b', class: "search-preview" }, h("smoothly-icon", { key: '3e42af96ff5c01c1228225b989157f5ec864e611', name: "search-outline", size: "small" }), this.filter, h("smoothly-icon", { key: '82906d6501c4ab798945fdb7c0324b13c756ac9c', name: "backspace-outline", size: "small", onClick: e => {
291
+ return (h(Host, { key: 'bd6e502e8bc709fbc22676bc30b849b1af3e1a1d', tabIndex: this.disabled ? undefined : 0, class: { "has-value": this.selected.length !== 0, open: this.open }, onClick: (event) => this.handleShowOptions(event) }, h("div", { key: '54a6939ae60dfab5a18815b2e7f9f9637980d537', class: "select-display", ref: element => (this.displaySelectedElement = element) }, this.placeholder), h("div", { key: 'fb2048686f385e31cf5661d4c0fd11c69f849f51', class: "icons", ref: element => (this.iconsDiv = element) }, h("smoothly-icon", { key: '6019295c5e92dd4992664985e83316cfcb540cbc', class: "smoothly-invalid", name: "alert-circle", size: "small", tooltip: this.errorMessage }), h("slot", { key: 'b9ed43d814b3af4f54b8dc13b68b6bf73a741e67', name: "end" }), this.looks == "border" && !this.readonly && (h("smoothly-icon", { key: 'cf1b69e51b74b886793a69b06dcbff19d6f2a903', ref: element => (this.toggle = element), size: "tiny", name: this.open ? "caret-down-outline" : "caret-forward-outline" }))), h("slot", { key: 'd1adde543075447fb3dea33f40101ec58228d6e9', name: "label" }), h("div", { key: 'a291b7f240f7b7d0314eb8a44f5057acf5645db8', class: { hidden: !this.open, options: true }, ref: (el) => (this.optionsDiv = el) }, this.filter.length > 0 && (h("div", { key: 'a431bfad6ce5284641ce0ca6814a947e0f226798', class: "search-preview" }, h("smoothly-icon", { key: '864bb9196328ad3fe04d05bca82214c03033ec86', name: "search-outline", size: "small" }), this.filter, h("smoothly-icon", { key: 'f8d468871eeb80771bb645a6e406e4a395250dd2', name: "backspace-outline", size: "small", onClick: e => {
292
292
  e.stopPropagation();
293
293
  this.filter = "";
294
294
  this.element.focus();
295
- } }), this.mutable && (h("smoothly-icon", { key: '06495cf3a9f28877bb4bda2b2b2e3b44db9e7eae', name: "add", size: "small", onClick: e => {
295
+ } }), this.mutable && (h("smoothly-icon", { key: '36dddd2f4a370406d2b814e7c05463f87849b752', name: "add", size: "small", onClick: e => {
296
296
  e.stopPropagation();
297
297
  this.addItem();
298
- } })))), h("slot", { key: '071c26dd63b03d5fac2701a63346351e600ef641' }), this.addedItems)));
298
+ } })))), h("slot", { key: '9d2e371acf42bed95f49966f073199934e336325' }), this.addedItems)));
299
299
  }
300
300
  static get is() { return "smoothly-input-select"; }
301
301
  static get encapsulation() { return "scoped"; }
@@ -142,11 +142,10 @@
142
142
  box-sizing: border-box;
143
143
  align-content: center;
144
144
  height: 100%;
145
- padding:
146
- var(--input-value-padding-top)
147
- var(--input-padding-side)
148
- var(--input-value-padding-bottom)
149
- var(--input-padding-side);
145
+ padding-inline: var(--input-padding-side);
146
+ }
147
+ :host([show-label])>.smoothly-input-container>div.guide {
148
+ padding-block: var(--input-value-padding-top) var(--input-value-padding-bottom);
150
149
  }
151
150
  :host>.smoothly-input-container>div.guide>div.value {
152
151
  display: inline;
@@ -38,7 +38,7 @@ export class SmoothlyInputSubmit {
38
38
  }
39
39
  render() {
40
40
  var _a, _b;
41
- return (h(Host, { key: '60f5c4352d0fcf3ac72fecfd513b17cf17b4d02e', title: this.tooltip }, this.delete == true ? (h("smoothly-button-confirm", { size: this.size, shape: this.shape, expand: this.expand, color: (_a = this.color) !== null && _a !== void 0 ? _a : "danger", fill: this.fill, onSmoothlyConfirm: () => this.clickHandler() }, h("slot", null), h("smoothly-icon", { name: "trash-outline", fill: "solid", size: "tiny" }))) : (h("smoothly-button", { disabled: this.disabled, size: this.size, type: "button", shape: this.shape, expand: this.expand, color: (_b = this.color) !== null && _b !== void 0 ? _b : "success", fill: this.fill, onClick: () => this.clickHandler() }, h("slot", null), this.icon && h("smoothly-icon", { name: this.icon, fill: "solid", size: "tiny" })))));
41
+ return (h(Host, { key: '3abfb59a2dacc9a15c8577ecf92f9e2b481542a1', title: this.tooltip }, this.delete == true ? (h("smoothly-button-confirm", { size: this.size, shape: this.shape, expand: this.expand, color: (_a = this.color) !== null && _a !== void 0 ? _a : "danger", fill: this.fill, onSmoothlyConfirm: () => this.clickHandler() }, h("slot", null), h("smoothly-icon", { name: "trash-outline", fill: "solid", size: "tiny" }))) : (h("smoothly-button", { disabled: this.disabled, size: this.size, type: "button", shape: this.shape, expand: this.expand, color: (_b = this.color) !== null && _b !== void 0 ? _b : "success", fill: this.fill, onClick: () => this.clickHandler() }, h("slot", null), this.icon && h("smoothly-icon", { name: this.icon, fill: "solid", size: "tiny" })))));
42
42
  }
43
43
  static get is() { return "smoothly-input-submit"; }
44
44
  static get encapsulation() { return "scoped"; }
@@ -35,7 +35,7 @@ export class SmoothlyItem {
35
35
  : false;
36
36
  }
37
37
  render() {
38
- return (h(Host, { key: '5cd344ce7e1ce972dca5793dd987c1729f019482', tabIndex: -1 }, h("slot", { key: '39e17f355706144b6ba90485c1e7bfea97e0c564' })));
38
+ return (h(Host, { key: '0656f2503f804b45f00f7ce19519b546cf5c029c', tabIndex: -1 }, h("slot", { key: 'dbac1c150ccb8cbc83fbd5c2626d452a77fc6686' })));
39
39
  }
40
40
  static get is() { return "smoothly-item"; }
41
41
  static get encapsulation() { return "scoped"; }
@@ -7,9 +7,9 @@ export class SmoothlyLabel {
7
7
  }
8
8
  render() {
9
9
  var _a;
10
- return (h(Host, { key: 'a13b60d3713cf432f2eae3df6fc1193f705c25cd', title: this.description, style: {
10
+ return (h(Host, { key: '904b7e2545774f010a04f80dfdebbd0fc1000403', title: this.description, style: {
11
11
  "--hue": (_a = this.hue) === null || _a === void 0 ? void 0 : _a.toString(),
12
- } }, h("slot", { key: 'b1d2792f681dd5274e6eb099e48dea97ea2d3fc1' })));
12
+ } }, h("slot", { key: '451cf78802889d2e23b85fcc1ed0955640113b68' })));
13
13
  }
14
14
  static get is() { return "smoothly-label"; }
15
15
  static get encapsulation() { return "scoped"; }
@@ -9,7 +9,7 @@ export class SmoothlyLazy {
9
9
  this.show = true;
10
10
  }
11
11
  render() {
12
- return (h(Host, { key: 'c9ae1c9e802c0cbfc3ec7c37b3a947f834587d02' }, h("slot", { key: '43f2c47074aec85b940e8dd980c1733f90736374', name: "before" }), h("smoothly-load-more", { key: 'e763c71b4a35fff037cd4018c42a8f80b9b89b8c', onSmoothlyLoadMore: e => this.loadMoreHandler(e) }), this.show && (typeof this.content == "function" ? h(this.content, null) : this.content), h("slot", { key: '94f9c7b38e2490e202b7dc712b1ffaaa151eb0cc' })));
12
+ return (h(Host, { key: '63b30b3d20ab6d5b10536e8278ed22b569e6640e' }, h("slot", { key: 'ee0160928eea94b227751da2b962e28ef857dd57', name: "before" }), h("smoothly-load-more", { key: 'aa55a115ceb40540fa03f07600f98cc50b4650b2', onSmoothlyLoadMore: e => this.loadMoreHandler(e) }), this.show && (typeof this.content == "function" ? h(this.content, null) : this.content), h("slot", { key: '5e7bb9c0446485537e8491cf595e6c9738d0cfd5' })));
13
13
  }
14
14
  static get is() { return "smoothly-lazy"; }
15
15
  static get encapsulation() { return "scoped"; }
@@ -37,7 +37,7 @@ export class LoadMore {
37
37
  }
38
38
  }
39
39
  render() {
40
- return h(Host, { key: '9028a3a3f21bd4eefe3c39c89a55633db132271a' });
40
+ return h(Host, { key: '043cf42791f2754f79b4d9be6c07241ae6a5468c' });
41
41
  }
42
42
  static get is() { return "smoothly-load-more"; }
43
43
  static get encapsulation() { return "scoped"; }
@@ -15,9 +15,9 @@ export class SmoothlyModal {
15
15
  this.open = true;
16
16
  }
17
17
  render() {
18
- return (h(Host, { key: '29f08751667eeb89ce06138c991eb355296ab219', role: "alertdialog", onClick: (e) => {
18
+ return (h(Host, { key: '1976a5aaa3fb1fcefb4ffe61ecdf3e27de571764', role: "alertdialog", onClick: (e) => {
19
19
  this.closable && !e.composedPath().some((el) => { var _a; return (_a = el.classList) === null || _a === void 0 ? void 0 : _a.contains("modal"); }) && this.closeModal();
20
- } }, h("div", { key: '02306121f4d645d62c38af123e8f7fba340a50be', class: "modal" }, h("div", { key: '8d6b1e5bb69fa223a5630d0bd5fc673b02c1f962', class: "header" }, h("slot", { key: '1b3a7fb9d6ff286a694d982f409477c72f62a444', name: "header" }), this.closable && h("smoothly-icon", { key: '50d10a954f022cc3496a38971e3fad5977a3e434', name: "close-outline", fill: "solid", onClick: () => this.closeModal() })), h("slot", { key: '0e49d6159f0d9dfccbdeaa06e9a703af5ca76fba' }), h("div", { key: 'c4802c3b9d6c01b06d6c52cb010a3eeb226c6312', class: "actions" }, h("slot", { key: '1623b6fd5e698f11051c1be41eaa6847ecb46b68', name: "actions" })))));
20
+ } }, h("div", { key: 'c1ba43942ff73044575f4ead220d305cab3d9099', class: "modal" }, h("div", { key: '46f41c03f29231c4f621f8452fba4181a0f9756a', class: "header" }, h("slot", { key: '204fb0ef7d8d9a7d4868d057951e5a32897358f6', name: "header" }), this.closable && h("smoothly-icon", { key: '4a28b30ed78dfc9ed337234b3781e97c442ad666', name: "close-outline", fill: "solid", onClick: () => this.closeModal() })), h("slot", { key: '77d039b6997bf5733f8e742f5ccecdf298b0061c' }), h("div", { key: 'd66baf4ebe44edf48af32f3f7fdc978ecc235803', class: "actions" }, h("slot", { key: '6306178ed0936fe1c876da10f4d14f25422e4763', name: "actions" })))));
21
21
  }
22
22
  static get is() { return "smoothly-modal"; }
23
23
  static get encapsulation() { return "scoped"; }
@@ -49,7 +49,7 @@ export class Notification {
49
49
  this.onUpdatedNotice(this.notice);
50
50
  }
51
51
  render() {
52
- return (h(Host, { key: 'd73f9641d0d37113ec19891b5c9f59d8019230f8', color: this.properties[0], fill: "solid" }, this.closable && (h("smoothly-trigger", { key: 'e818ddd9455d8b7aca012be7c6a33f8942cb9a68', fill: "clear", name: "close" }, h("smoothly-icon", { key: 'fe3e9e3f88077e060f333baf9fbddfea07c1e7be', name: "close-circle-outline" }))), h("span", { key: 'f89d90613b740f806201bd2298d40ba2cb994fc8', class: this.icon ? "icon" : "clean" }, this.icon && h("smoothly-icon", { key: 'e773e024e416c84bec77fb891462b9b7c841824f', name: this.properties[1] }), h("p", { key: '4daa8f0c0e8b9ffc1f1ba786ad233c1264099bdc' }, this.notice.message))));
52
+ return (h(Host, { key: 'ea4244b7ad04c638e4bca7cd6c9aa550d1128401', color: this.properties[0], fill: "solid" }, this.closable && (h("smoothly-trigger", { key: 'baa7387b56bda4232d59cbd83fc1477b1f728c10', fill: "clear", name: "close" }, h("smoothly-icon", { key: 'ab42df6a7cbc5a04a781c7a48c9146b137f540dd', name: "close-circle-outline" }))), h("span", { key: '4e9b253ffd09e188816ceabffa08ab8e138e87a6', class: this.icon ? "icon" : "clean" }, this.icon && h("smoothly-icon", { key: '35a676710dc5deeeee38a21a345e297e83fff3b3', name: this.properties[1] }), h("p", { key: '1fae910be7ea1e55253e08f50d0d064e20eaac91' }, this.notice.message))));
53
53
  }
54
54
  static get is() { return "smoothly-notification"; }
55
55
  static get encapsulation() { return "scoped"; }
@@ -11,7 +11,7 @@ export class Notifier {
11
11
  this.notices = [...this.notices.filter(n => n != event.detail)];
12
12
  }
13
13
  render() {
14
- return (h(Host, { key: 'bedcd18dde0e5ef17522b8289dee911015708d43' }, h("slot", { key: '3b631d5e334d1a8c698098a7ff21ee8cd40a572e' }), h("div", { key: '7052a9eb6a207f477e7a06fbf2f67e231ccce23e', class: "smoothly-notifier-wrapper" }, this.notices.map(n => (h("smoothly-notification", { notice: n, icon: this.icon }))))));
14
+ return (h(Host, { key: '25e53ef1a4d48669cda0a254c63dbc439726a4c4' }, h("slot", { key: '6bed9d295489eedbe95ce62a03cd535059ffcdef' }), h("div", { key: 'dc788339a0295b6ac649c26072638b510165524d', class: "smoothly-notifier-wrapper" }, this.notices.map(n => (h("smoothly-notification", { notice: n, icon: this.icon }))))));
15
15
  }
16
16
  static get is() { return "smoothly-notifier"; }
17
17
  static get encapsulation() { return "scoped"; }
@@ -6,9 +6,9 @@ export class SmoothlySpinner {
6
6
  }
7
7
  render() {
8
8
  const strokeWidth = this.size == "large" ? 6 : this.size == "medium" ? 8 : this.size == "icon" ? 8 : 12;
9
- return (h(Host, { key: '91e0a007802a3083c6a9139b8eac70e5589a6bd8', style: {
9
+ return (h(Host, { key: 'db702a6ff6bcd18b4fd92240cf2f33fa1a92e773', style: {
10
10
  "--spinner-size": this.size == "large" ? "5em" : this.size == "medium" ? "3em" : this.size == "icon" ? "1.8em" : "1.2em",
11
- } }, h("svg", { key: '831ec769d03d32917064a7bdcf6c79db27d3ba34', class: "spinner", viewBox: `0 0 ${60 + strokeWidth} ${60 + strokeWidth}`, xmlns: "http://www.w3.org/2000/svg" }, h("circle", { key: '27b650bff53888f95016353422c5ae928b758288', class: "path", fill: "none", "stroke-width": strokeWidth, "stroke-linecap": "round", cx: `${30 + strokeWidth / 2}`, cy: `${30 + strokeWidth / 2}`, r: "30" }))));
11
+ } }, h("svg", { key: 'e5162cf5e7fc56497f39fec5eb1459fbb5f7feb4', class: "spinner", viewBox: `0 0 ${60 + strokeWidth} ${60 + strokeWidth}`, xmlns: "http://www.w3.org/2000/svg" }, h("circle", { key: 'ba2b10a9860d03befc818a8f0529456fb06962cb', class: "path", fill: "none", "stroke-width": strokeWidth, "stroke-linecap": "round", cx: `${30 + strokeWidth / 2}`, cy: `${30 + strokeWidth / 2}`, r: "30" }))));
12
12
  }
13
13
  static get is() { return "smoothly-spinner"; }
14
14
  static get encapsulation() { return "scoped"; }
@@ -25,7 +25,7 @@ export class SmoothlySubmit {
25
25
  (_a = this.parent) === null || _a === void 0 ? void 0 : _a.submit();
26
26
  }
27
27
  render() {
28
- return (h(Button, { key: 'fa8802fdba3357d4e2718ba01cdaacb6eb9dc447', disabled: this.disabled, type: this.type }, h("slot", { key: '6089bc597c9ba8a1d8df0ccc3388ca09b9ea4f49' })));
28
+ return (h(Button, { key: '083174c3923c6f43955fe12bc58679e045572565', disabled: this.disabled, type: this.type }, h("slot", { key: 'a85f6012cab4b0335f5aaf883adf44eaffc61bc5' })));
29
29
  }
30
30
  static get is() { return "smoothly-submit"; }
31
31
  static get encapsulation() { return "scoped"; }
@@ -10,7 +10,7 @@ export class SmoothlySummary {
10
10
  }
11
11
  }
12
12
  render() {
13
- return (h("details", { key: 'bfc42e899118e3da7e8960d2511182a73a5b2a6a', onToggle: e => this.toggleHandler(e), open: this.open }, h("summary", { key: 'e59d4ba68e9f50851536c0870b0322a2af621f2c' }, h("smoothly-icon", { key: 'c2a3da3176bbde4ce4b3f5e68f715dc3896998b1', name: "caret-forward", fill: "solid", size: "tiny" }), h("slot", { key: '0ba069fa0fd3e10e39257470ba3c145b7104ab3a', name: "summary" })), h("slot", { key: 'c1f1c78609a469b86394fcb62ae8bf97a3e2d4ae', name: "content" })));
13
+ return (h("details", { key: '656532b655d792c24156ace59836ed5bbbea2fa1', onToggle: e => this.toggleHandler(e), open: this.open }, h("summary", { key: '72eed454a1a2e915e1fddcc6cca455b39ae7cefe' }, h("smoothly-icon", { key: 'b5b910c2617888ec9cb1c620e5fc6b2ae36ef121', name: "caret-forward", fill: "solid", size: "tiny" }), h("slot", { key: 'f899d029a7efc1a36aa3afc8f01ca35819c56e9a', name: "summary" })), h("slot", { key: 'e9b8f59e6c8809f74290194f9f5dd2ac35d2bc29', name: "content" })));
14
14
  }
15
15
  static get is() { return "smoothly-summary"; }
16
16
  static get encapsulation() { return "scoped"; }
@@ -1,7 +1,7 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  export class SmoothlyTableBody {
3
3
  render() {
4
- return (h(Host, { key: 'db37d0ab8fc16f55f3e81aa1b4e5b77377c9f95c' }, h("slot", { key: '8e82a1f5998227ad1c3e46ac3e147492f66fb482' })));
4
+ return (h(Host, { key: 'ea2c8974b36285804e22594f210d0aafed868ab8' }, h("slot", { key: '94a9f2e944cb1844c10e5e4af0063f0998ae6c21' })));
5
5
  }
6
6
  static get is() { return "smoothly-table-body"; }
7
7
  static get encapsulation() { return "scoped"; }
@@ -5,7 +5,7 @@ export class SmoothlyTableCell {
5
5
  }
6
6
  render() {
7
7
  var _a;
8
- return (h(Host, { key: '30943ec45f6e73df71d5ad72bbad350e4f076f34', class: "smoothly-table-cell", style: { "--smoothly-table-cell-span": (_a = this.span) === null || _a === void 0 ? void 0 : _a.toString(10) } }, h("slot", { key: '4af540a7486d8616d427159feaa6200c91000e05' })));
8
+ return (h(Host, { key: 'b349520506057a78b00279d9a7f38473a94a978a', class: "smoothly-table-cell", style: { "--smoothly-table-cell-span": (_a = this.span) === null || _a === void 0 ? void 0 : _a.toString(10) } }, h("slot", { key: '960a4a8e7dccab667961506a2f9369a4e0bc470c' })));
9
9
  }
10
10
  static get is() { return "smoothly-table-cell"; }
11
11
  static get encapsulation() { return "scoped"; }
@@ -1,7 +1,7 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  export class SmoothlyTableDemoColspan {
3
3
  render() {
4
- return (h(Host, { key: '1b9dfde05087d6be2711b86baca19630286b2322' }, h("smoothly-table", { key: '0ba0536e747782d879f6a2cf099388435c881ad5', columns: 3 }, h("smoothly-table-head", { key: 'e14bea187af499007f4173c261526c72f3b89c8e' }, h("smoothly-table-row", { key: '9104850519968b86ba1f48f5ee997a1ccfa49a12' }, h("smoothly-table-cell", { key: '26dd9041355d04f517e3951ce608cc8b60b8caaf' }, "Date"), h("smoothly-table-cell", { key: 'b78eb957ed8ec68b5919362fe0afedc1f6375c5d' }, "Skip"), h("smoothly-table-cell", { key: '1f8ef467f5a9e9ba2157e126fc3adedb2821c9ea' }, "Total"))), h("smoothly-table-body", { key: '6679b94c153ce61b39957e64d453f8f5edd47cf0' }, h("smoothly-table-row", { key: 'd0f0c0b13b0e56b7fc761701897f9304c531c5d9' }, h("smoothly-table-cell", { key: '8e022e2e5befad0983c8d6e0567dc92a8fe1bb0c', span: 2 }, h("smoothly-display", { key: 'efb5e464048093e3855163818b6b38d86f084995', type: "date", value: "2024-01-01" })), h("smoothly-table-cell", { key: 'c9912c8e499f751cd84323b15b282f58e1a2a052' }, h("smoothly-display", { key: 'f618c45ed3960424e46ef6f40adf2b69c7307a08', type: "price", value: 120, currency: "EUR" }))), h("smoothly-table-row", { key: 'a8605b2eb3eb80ab039f2cc6e257842045e16909' }, h("smoothly-table-expandable-cell", { key: 'cf8436e7d932f4ff0d92a054c74275551961a1ab', span: 2 }, h("smoothly-display", { key: '2013f65b67bf9f03de31fabae41e2fa4cfab338c', type: "date", value: "2024-01-02" }), h("smoothly-lazy", { key: 'e8d3b46995025d2f3af0f2f587b555bf4d1c0daf', slot: "detail", content: h("smoothly-display", { type: "date-time", value: "2024-01-02T13:37:00.000Z" }) })), h("smoothly-table-expandable-cell", { key: '0409b2d3c90ada5737e6bb9069fb1066ff7063af' }, h("smoothly-display", { key: '82bd4a3cde9062604343fd53161a7d86838f4fed', type: "price", value: 220, currency: "EUR" }), h("smoothly-lazy", { key: '4592efa154194347becf15f00275303577d743b7', slot: "detail", content: h("span", null, h("smoothly-display", { type: "price", value: 120, currency: "EUR" }), " + ", h("smoothly-display", { type: "price", value: 100, currency: "EUR" })) }))), h("smoothly-table-row", { key: '0aa33698c9d9de3f41d04298d60a15b62f9294e4' }, h("smoothly-table-cell", { key: '5e7265ba2d08b2aba02decd78ad88319cc407f72' }, h("smoothly-display", { key: '5af078d9ea92c4a6865a3f7545ece78d709c85fd', type: "date", value: "2024-01-02" })), h("smoothly-table-cell", { key: '606899c1227efff03793e7108f413ca727b77304' }, "Not Skipped"), h("smoothly-table-cell", { key: '9fcdda1bad4686bf2c8a5a78486a05d25d923402' }, h("smoothly-display", { key: '033cf9f7f2f090738f71320df238d26152acdcd1', type: "price", value: 320, currency: "EUR" })))))));
4
+ return (h(Host, { key: 'fff7b4cb91b1f9b0e6534666a84a2ea28c269310' }, h("smoothly-table", { key: '4ddff78ef850a69b7e0cc7bcfec6f8174c11c914', columns: 3 }, h("smoothly-table-head", { key: 'ab6863e67f5d10fa589e03f91777bcb14fe8ce4e' }, h("smoothly-table-row", { key: '59f589f45581a84b7a438f183ca8a67c1df140d1' }, h("smoothly-table-cell", { key: '583bf167c1def4d301e8348a5fa50b6fdfdc0e94' }, "Date"), h("smoothly-table-cell", { key: 'e9f01b05874f41d929466292261c3769a5da4446' }, "Skip"), h("smoothly-table-cell", { key: '1d2fa708369e2a48fa44aadf188e24e72519c0f6' }, "Total"))), h("smoothly-table-body", { key: '4480d442f17ab3272473576fd006b516679ba74c' }, h("smoothly-table-row", { key: '1f5761800165248dc09cd748f256f27924bb456f' }, h("smoothly-table-cell", { key: '97224720b11bb6ede655ce803e341fc85baf86bc', span: 2 }, h("smoothly-display", { key: '194f5e0a678d14248c474c1c0ffd7478ed9ffaae', type: "date", value: "2024-01-01" })), h("smoothly-table-cell", { key: '1bdaeb35ee09362fe75f022311e5643e34f52db1' }, h("smoothly-display", { key: 'b582e4561a2eb4f2cbe22be2e083d90e146dc183', type: "price", value: 120, currency: "EUR" }))), h("smoothly-table-row", { key: '837006088b86dd7ef032e0c7a5753e3d64f6a1ba' }, h("smoothly-table-expandable-cell", { key: 'b7b6019430bbdeca619eafef1dd6b9442c87ef5d', span: 2 }, h("smoothly-display", { key: '88b8d3e5a75c3a958e879d23b7f9e413fba47da4', type: "date", value: "2024-01-02" }), h("smoothly-lazy", { key: 'fcb63742e4d64bd2a38f0337412e045bedbf39ed', slot: "detail", content: h("smoothly-display", { type: "date-time", value: "2024-01-02T13:37:00.000Z" }) })), h("smoothly-table-expandable-cell", { key: '240131b49a8b7521004a7a95737366ebb1bdda20' }, h("smoothly-display", { key: '4aad0bf2cbf412e075f766e10d40c5758a048be2', type: "price", value: 220, currency: "EUR" }), h("smoothly-lazy", { key: 'c53342cf39d624907d06c540afa90fb5646d360f', slot: "detail", content: h("span", null, h("smoothly-display", { type: "price", value: 120, currency: "EUR" }), " + ", h("smoothly-display", { type: "price", value: 100, currency: "EUR" })) }))), h("smoothly-table-row", { key: '7e6f015b0e0794f403e8d5c8895aaae682bf6bb8' }, h("smoothly-table-cell", { key: 'bd245690132ffc224cf1e3bb816dcc5a78203ce6' }, h("smoothly-display", { key: '286f1a6ab76766ba8f572aa332ad95fd20273315', type: "date", value: "2024-01-02" })), h("smoothly-table-cell", { key: '81ed56ba532993dbd457df465c3ea37c4c827c31' }, "Not Skipped"), h("smoothly-table-cell", { key: 'abd4bcd79701b87d36266387299db43d88773bf9' }, h("smoothly-display", { key: 'f5a50eeccb0ee32593ba953447fb73ba5900f0ea', type: "price", value: 320, currency: "EUR" })))))));
5
5
  }
6
6
  static get is() { return "smoothly-table-demo-colspan"; }
7
7
  static get encapsulation() { return "scoped"; }
@@ -9,7 +9,7 @@ export class SmoothlyTableDemoFillerRow {
9
9
  }, 3000);
10
10
  }
11
11
  render() {
12
- return (h(Host, { key: 'f857bf2706fea0bc7bef38da1231c17460e9c609' }, h("smoothly-display", { key: '56bb55f00ea43d80e8b94460bb2e951bc741aa72', type: "text", value: "Filler row" }), h("smoothly-table", { key: '3a6c43bc37797672d40417395ffdacca1b52f327', color: "primary", columns: 4 }, h("smoothly-table-head", { key: '09289f8564422ceb0f8b7d33040a561d35dc9a02' }, h("smoothly-table-row", { key: '9675f44ce397953bc4b674bc768299d3a018820e' }, h("smoothly-table-cell", { key: '8fde03da5517c6f75c7c8da3c5bb336d2ed5a4b0' }, "Breed"), h("smoothly-table-cell", { key: '721fc804d59cb6dca7b66b2fd38dd700172322be' }, "Country"), h("smoothly-table-cell", { key: 'e8fbd6258f7167841eef83776e00406cd9ed3690' }, "Coat"), h("smoothly-table-cell", { key: '3e514eab5bb013da0d23cdde06324492bb97632b' }, "Origin"))), h("smoothly-table-body", { key: 'a14df5fcfad26c2d54ef13810e409ed65f72ac39' }, this.cats === undefined ? (h("smoothly-table-filler-row", null, "No data to display")) : this.cats.length === 0 ? (h("smoothly-table-filler-row", null, h("smoothly-spinner", { style: { margin: "auto" }, color: "default", size: "small" }))) : (this.cats.map(a => (h("smoothly-table-row", null, h("div", { class: "smoothly-table-cell" }, a.breed), h("div", { class: "smoothly-table-cell" }, a.country), h("div", { class: "smoothly-table-cell" }, a.coat), h("div", { class: "smoothly-table-cell" }, a.origin)))))))));
12
+ return (h(Host, { key: '17a220a0ea37578573d2532ac64e21590839cdd2' }, h("smoothly-display", { key: '7e800297cd73ceed94d928ba259c5a9d4eb70350', type: "text", value: "Filler row" }), h("smoothly-table", { key: '453f06abcfd482c5ffae7cf42fb510503205798e', color: "primary", columns: 4 }, h("smoothly-table-head", { key: 'eca5f7c566ed5fabcd794856b6d4c88f3c1e218c' }, h("smoothly-table-row", { key: '2296af99c98c5aed2c2015f630743c2a06346b2a' }, h("smoothly-table-cell", { key: '3acd97b05e0598adf9b1c168a02c51a71a0901dc' }, "Breed"), h("smoothly-table-cell", { key: 'ecf66c5063fc3b3e51ded23ff0cc95804bbcfd60' }, "Country"), h("smoothly-table-cell", { key: 'ba6db28368d1c7e2a8ca7fc326d64fb05a3d5524' }, "Coat"), h("smoothly-table-cell", { key: '47d711b8b459884b9e319b412f215e8d11673575' }, "Origin"))), h("smoothly-table-body", { key: '2b3e2c185036029fd330adc9272b69f1f1167c2b' }, this.cats === undefined ? (h("smoothly-table-filler-row", null, "No data to display")) : this.cats.length === 0 ? (h("smoothly-table-filler-row", null, h("smoothly-spinner", { style: { margin: "auto" }, color: "default", size: "small" }))) : (this.cats.map(a => (h("smoothly-table-row", null, h("div", { class: "smoothly-table-cell" }, a.breed), h("div", { class: "smoothly-table-cell" }, a.country), h("div", { class: "smoothly-table-cell" }, a.coat), h("div", { class: "smoothly-table-cell" }, a.origin)))))))));
13
13
  }
14
14
  static get is() { return "smoothly-table-demo-filler-row"; }
15
15
  static get encapsulation() { return "scoped"; }
@@ -27,18 +27,18 @@ export class TableDemoFiltered {
27
27
  }
28
28
  render() {
29
29
  const cats = this.cats && selectively.filter(this.criteria, this.cats);
30
- return (h(Host, { key: 'd8b3ad77da3b6cb9e815a50d79f84d1c6a811e4e' }, h("smoothly-display", { key: '98af74a79c021d4a2c2745d22efdfda66c8824d4', type: "text", value: "Filtered" }), h("smoothly-filter", { key: 'fb4409524f1fd2d09b4ca245679bbe1d0b8a989e' }, h("smoothly-filter-toggle", { key: '50f1a730744c162ea32eca49f175a618ea182e22', properties: { ["nested.pattern"]: "Ticked", breed: "" }, icon: "add", tooltip: "Nested Ticked", slot: "bar" }), h("smoothly-filter-toggle", { key: '3ccd46f9bf9d95ea8efc6f4b9904287cacf58774', properties: { pattern: "Ticked", breed: "" }, icon: "paw", tooltip: "Ticked cats", slot: "bar" }), h("smoothly-filter-toggle", { key: '55ac1ae50f0d758a8c4967f90bfb1158b19355ff', properties: { breed: "Bombay", pattern: "Solid" }, icon: "radio-button-on", tooltip: "Solid bombay cats", slot: "bar" }), h("smoothly-filter-toggle", { key: '28c9d499e5d68c81f5ff50b39912b70e85c0951d', properties: { pattern: "Colorpoint" }, not: true, active: true, icon: "alert", tooltip: "Colored cats", slot: "bar" }), h("smoothly-filter-select", { key: '6b72624b9ebd4a12b99074597ab3832b7025011c', menuHeight: "5items", label: "coat", property: "nested.coat", slot: "bar", multiple: false }, this.cats &&
30
+ return (h(Host, { key: 'c17dfa504eb6da9d55ca3faefbb939e205e576dc' }, h("smoothly-display", { key: '0346275c6e0c788318bbeea532d6d0e62f89471b', type: "text", value: "Filtered" }), h("smoothly-filter", { key: '60932eb8b56d569f3deb5aefddacf933f60cec14' }, h("smoothly-filter-toggle", { key: '86067684d7dae87ad332f379b161e2cb5a6d4974', properties: { ["nested.pattern"]: "Ticked", breed: "" }, icon: "add", tooltip: "Nested Ticked", slot: "bar" }), h("smoothly-filter-toggle", { key: 'c6b53af97218f61df526fba4540f0119560b6bd1', properties: { pattern: "Ticked", breed: "" }, icon: "paw", tooltip: "Ticked cats", slot: "bar" }), h("smoothly-filter-toggle", { key: '9513d102b67ebd2645f3ddcca646bd5a5f74962d', properties: { breed: "Bombay", pattern: "Solid" }, icon: "radio-button-on", tooltip: "Solid bombay cats", slot: "bar" }), h("smoothly-filter-toggle", { key: '7e811e0c5c34d620d906f410396ca3802d70344f', properties: { pattern: "Colorpoint" }, not: true, active: true, icon: "alert", tooltip: "Colored cats", slot: "bar" }), h("smoothly-filter-select", { key: '2283fbe2db0238ce81837fd8056ded22f3968016', menuHeight: "5items", label: "coat", property: "nested.coat", slot: "bar", multiple: false }, this.cats &&
31
31
  Object.values(this.cats.reduce((r, cat) => (cat.nested ? Object.assign(Object.assign({}, r), { [cat.nested.coat]: cat }) : r), {})).map(cat => {
32
32
  var _a;
33
33
  return ((_a = cat.nested) === null || _a === void 0 ? void 0 : _a.coat) && (h("smoothly-item", { slot: "items", value: cat.nested.coat }, cat.nested.coat));
34
- })), h("div", { key: 'd41ea8b32d00dccaa5387f84d71a5ea4cec7970d', slot: "detail" }, h("smoothly-form", { key: '5654b332a077152ae1438eac095cd3523da770a8', looks: "border" }, h("smoothly-filter-select", { key: 'c1c07dc99c02dbf9043e1f6ad2ad2eea8a49a511', menuHeight: "5items", label: "coat", property: "nested.coat", multiple: true }, this.cats &&
34
+ })), h("div", { key: 'df1913243aea481ffd77293833cba7c9898973b7', slot: "detail" }, h("smoothly-form", { key: '69e4574ff214ac51c7adf5411c6eca1d5a1b550a', looks: "border" }, h("smoothly-filter-select", { key: '743a1dde796abb94d5dbfcbb77b9f6a3130af8af', menuHeight: "5items", label: "coat", property: "nested.coat", multiple: true }, this.cats &&
35
35
  Object.values(this.cats.reduce((r, cat) => (cat.nested ? Object.assign(Object.assign({}, r), { [cat.nested.coat]: cat }) : r), {})).map(cat => {
36
36
  var _a;
37
37
  return ((_a = cat.nested) === null || _a === void 0 ? void 0 : _a.coat) && (h("smoothly-item", { slot: "items", value: cat.nested.coat }, cat.nested.coat));
38
- })), h("smoothly-filter-select", { key: '3b5479f13abe40f9da79a68f0db36a4b33660f73', menuHeight: "5items", label: "breed", property: "breed", multiple: false }, this.cats &&
39
- Object.values(this.cats.reduce((r, cat) => (cat.breed ? Object.assign(Object.assign({}, r), { [cat.breed]: cat }) : r), {})).map(cat => cat.breed && (h("smoothly-item", { slot: "items", value: cat.breed }, cat.breed)))), h("smoothly-filter-select", { key: 'a84c4c06a961d71bd8605c7e90b960f72c6b10d5', menuHeight: "5items", label: "names", property: "nested.names", multiple: true, type: "array" }, Object.keys(Object.values(names)
38
+ })), h("smoothly-filter-select", { key: '319fb71c26845ef2c37afb42e3634c9a4bc4ad62', menuHeight: "5items", label: "breed", property: "breed", multiple: false }, this.cats &&
39
+ Object.values(this.cats.reduce((r, cat) => (cat.breed ? Object.assign(Object.assign({}, r), { [cat.breed]: cat }) : r), {})).map(cat => cat.breed && (h("smoothly-item", { slot: "items", value: cat.breed }, cat.breed)))), h("smoothly-filter-select", { key: '0db333307aaac5fe3d8cdfac849389feead95c00', menuHeight: "5items", label: "names", property: "nested.names", multiple: true, type: "array" }, Object.keys(Object.values(names)
40
40
  .flat()
41
- .reduce((r, name) => (Object.assign(Object.assign({}, r), { [name]: true })), {})).flatMap(name => (h("smoothly-item", { slot: "items", value: name }, name)))), h("smoothly-filter-input", { key: '12a34eaa89d99be16bb563dbbf32a353e988865a', label: "Coat", property: "coat" }), h("smoothly-filter-input", { key: 'ad77d0b787cc319fc830c9ed699f31baaa071da5', label: "Nested Coat", property: "nested.coat" })))), !cats ? ("Failed to load data.") : (h("smoothly-table", { columns: 4 }, h("smoothly-table-head", null, h("smoothly-table-row", null, h("smoothly-table-cell", null, this.selector.render(cats)), h("smoothly-table-cell", null, "Breed"), h("smoothly-table-cell", null, "Coat"), h("smoothly-table-cell", null, "Price"))), cats.map(cat => (h("smoothly-table-row", null, h("smoothly-table-cell", null, this.selector.render(cat)), h("smoothly-table-expandable-cell", null, cat.breed, h("div", { slot: "detail" }, "Country: ", cat.country)), h("smoothly-table-expandable-cell", null, cat.coat, h("div", { slot: "detail" }, "Pattern: ", cat.pattern)), h("smoothly-table-cell", null, h("smoothly-display", { type: "price", value: cat.price, currency: "SEK" }))))), h("smoothly-table-foot", null, h("smoothly-table-row", null, h("smoothly-table-cell", { span: 3 }, h("smoothly-display", { type: "text", value: `Selected: ${this.selector.selected.length != 0 ? this.selector.selected.length : cats ? cats.length : "?"}` }))))))));
41
+ .reduce((r, name) => (Object.assign(Object.assign({}, r), { [name]: true })), {})).flatMap(name => (h("smoothly-item", { slot: "items", value: name }, name)))), h("smoothly-filter-input", { key: 'b358bc8a8377058d1404ec6a9201c729e172706c', label: "Coat", property: "coat" }), h("smoothly-filter-input", { key: '15acf410163142d187b6de4d6f4e5e57bce48f18', label: "Nested Coat", property: "nested.coat" })))), !cats ? ("Failed to load data.") : (h("smoothly-table", { columns: 4 }, h("smoothly-table-head", null, h("smoothly-table-row", null, h("smoothly-table-cell", null, this.selector.render(cats)), h("smoothly-table-cell", null, "Breed"), h("smoothly-table-cell", null, "Coat"), h("smoothly-table-cell", null, "Price"))), cats.map(cat => (h("smoothly-table-row", null, h("smoothly-table-cell", null, this.selector.render(cat)), h("smoothly-table-expandable-cell", null, cat.breed, h("div", { slot: "detail" }, "Country: ", cat.country)), h("smoothly-table-expandable-cell", null, cat.coat, h("div", { slot: "detail" }, "Pattern: ", cat.pattern)), h("smoothly-table-cell", null, h("smoothly-display", { type: "price", value: cat.price, currency: "SEK" }))))), h("smoothly-table-foot", null, h("smoothly-table-row", null, h("smoothly-table-cell", { span: 3 }, h("smoothly-display", { type: "text", value: `Selected: ${this.selector.selected.length != 0 ? this.selector.selected.length : cats ? cats.length : "?"}` }))))))));
42
42
  }
43
43
  static get is() { return "smoothly-table-demo-filtered"; }
44
44
  static get encapsulation() { return "scoped"; }