smoothly 1.4.0 → 1.5.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 (445) hide show
  1. package/dist/cjs/smoothly-app_99.cjs.entry.js +147 -147
  2. package/dist/cjs/smoothly-app_99.cjs.entry.js.map +1 -1
  3. package/dist/cjs/smoothly-checkbox.cjs.entry.js +2 -2
  4. package/dist/cjs/smoothly-color.cjs.entry.js +1 -1
  5. package/dist/cjs/smoothly-country.cjs.entry.js +1 -1
  6. package/dist/cjs/smoothly-input-checkbox-demo.cjs.entry.js +1 -1
  7. package/dist/cjs/smoothly-submit.cjs.entry.js +1 -1
  8. package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +1 -1
  9. package/dist/cjs/smoothly-trigger-source.cjs.entry.js +1 -1
  10. package/dist/collection/components/app/demo/index.js +1 -1
  11. package/dist/collection/components/app/demo/index.js.map +1 -1
  12. package/dist/collection/components/app/room/index.js +1 -1
  13. package/dist/collection/components/back-to-top/index.js +2 -2
  14. package/dist/collection/components/burger/index.js +1 -1
  15. package/dist/collection/components/button/demo/index.js +3 -3
  16. package/dist/collection/components/button/index.js +1 -1
  17. package/dist/collection/components/calendar/index.js +2 -2
  18. package/dist/collection/components/checkbox/index.js +2 -2
  19. package/dist/collection/components/color/index.js +1 -1
  20. package/dist/collection/components/confirm/index.js +1 -1
  21. package/dist/collection/components/country/index.js +1 -1
  22. package/dist/collection/components/dialog/demo/index.js +1 -1
  23. package/dist/collection/components/dialog/index.js +1 -1
  24. package/dist/collection/components/display/demo/index.js +10 -10
  25. package/dist/collection/components/display/demo/json/index.js +1 -1
  26. package/dist/collection/components/display/index.js +3 -3
  27. package/dist/collection/components/display/json/index.js +1 -1
  28. package/dist/collection/components/display/json/object/index.js +2 -2
  29. package/dist/collection/components/display/json/object/key/index.js +1 -1
  30. package/dist/collection/components/display/json/primitive/index.js +1 -1
  31. package/dist/collection/components/filter/field/index.js +1 -1
  32. package/dist/collection/components/filter/index.js +3 -3
  33. package/dist/collection/components/filter/input/index.js +1 -1
  34. package/dist/collection/components/filter/select/index.js +1 -1
  35. package/dist/collection/components/filter/toggle/index.js +1 -1
  36. package/dist/collection/components/form/demo/all/index.js +2 -2
  37. package/dist/collection/components/form/demo/card/index.js +1 -1
  38. package/dist/collection/components/form/demo/controlled/index.js +1 -1
  39. package/dist/collection/components/form/demo/date/index.js +1 -1
  40. package/dist/collection/components/form/demo/date-range/index.js +1 -1
  41. package/dist/collection/components/form/demo/index.js +1 -1
  42. package/dist/collection/components/form/demo/login/index.js +1 -1
  43. package/dist/collection/components/form/demo/pet/index.js +2 -2
  44. package/dist/collection/components/form/demo/prices/index.js +1 -1
  45. package/dist/collection/components/form/demo/schedule/index.js +1 -1
  46. package/dist/collection/components/form/demo/transparent/index.js +1 -1
  47. package/dist/collection/components/form/demo/typed/index.js +1 -1
  48. package/dist/collection/components/form/index.js +1 -1
  49. package/dist/collection/components/icon/demo/index.js +1 -1
  50. package/dist/collection/components/icon/index.js +1 -1
  51. package/dist/collection/components/input/checkbox/demo/index.js +1 -1
  52. package/dist/collection/components/input/checkbox/index.js +1 -1
  53. package/dist/collection/components/input/clear/index.js +1 -1
  54. package/dist/collection/components/input/color/demo/index.js +1 -1
  55. package/dist/collection/components/input/color/index.js +2 -2
  56. package/dist/collection/components/input/date/index.js +3 -3
  57. package/dist/collection/components/input/date/range/index.js +2 -2
  58. package/dist/collection/components/input/date/time/index.js +5 -5
  59. package/dist/collection/components/input/demo/index.js +4 -4
  60. package/dist/collection/components/input/demo/price/index.js +1 -1
  61. package/dist/collection/components/input/demo/standard/index.js +1 -1
  62. package/dist/collection/components/input/edit/index.js +1 -1
  63. package/dist/collection/components/input/file/index.js +1 -1
  64. package/dist/collection/components/input/index.js +2 -2
  65. package/dist/collection/components/input/month/index.js +2 -2
  66. package/dist/collection/components/input/radio/index.js +1 -1
  67. package/dist/collection/components/input/radio/item/index.js +1 -1
  68. package/dist/collection/components/input/range/demo/index.js +1 -1
  69. package/dist/collection/components/input/range/index.js +4 -4
  70. package/dist/collection/components/input/reset/index.js +1 -1
  71. package/dist/collection/components/input/select/index.js +3 -3
  72. package/dist/collection/components/input/submit/index.js +1 -1
  73. package/dist/collection/components/item/index.js +1 -1
  74. package/dist/collection/components/label/index.js +2 -2
  75. package/dist/collection/components/lazy/index.js +1 -1
  76. package/dist/collection/components/load-more/index.js +1 -1
  77. package/dist/collection/components/modal/index.js +1 -1
  78. package/dist/collection/components/notification/index.js +1 -1
  79. package/dist/collection/components/notifier/index.js +1 -1
  80. package/dist/collection/components/spinner/index.js +2 -2
  81. package/dist/collection/components/submit/index.js +1 -1
  82. package/dist/collection/components/summary/index.js +1 -1
  83. package/dist/collection/components/table/body/index.js +1 -1
  84. package/dist/collection/components/table/cell/index.js +1 -1
  85. package/dist/collection/components/table/demo/colspan/index.js +1 -1
  86. package/dist/collection/components/table/demo/filler-row/index.js +1 -1
  87. package/dist/collection/components/table/demo/filtered/index.js +5 -5
  88. package/dist/collection/components/table/demo/group/index.js +1 -1
  89. package/dist/collection/components/table/demo/index.js +1 -1
  90. package/dist/collection/components/table/demo/nested/index.js +1 -1
  91. package/dist/collection/components/table/demo/nested/inner/index.js +1 -1
  92. package/dist/collection/components/table/demo/simple/simple.js +1 -1
  93. package/dist/collection/components/table/expandable/cell/index.js +1 -1
  94. package/dist/collection/components/table/expandable/row/index.js +1 -1
  95. package/dist/collection/components/table/filler-row/index.js +1 -1
  96. package/dist/collection/components/table/foot/index.js +1 -1
  97. package/dist/collection/components/table/group/index.js +1 -1
  98. package/dist/collection/components/table/head/index.js +1 -1
  99. package/dist/collection/components/table/index.js +1 -1
  100. package/dist/collection/components/table/row/index.js +1 -1
  101. package/dist/collection/components/tabs/demo/index.js +1 -1
  102. package/dist/collection/components/tabs/index.js +1 -1
  103. package/dist/collection/components/tabs/tab/index.js +1 -1
  104. package/dist/collection/components/theme/color/index.js +1 -1
  105. package/dist/collection/components/theme/demo/index.js +1 -1
  106. package/dist/collection/components/theme/guide/index.js +8 -8
  107. package/dist/collection/components/theme/picker/index.js +2 -2
  108. package/dist/collection/components/toggle-switch/demo/index.js +1 -1
  109. package/dist/collection/components/toggle-switch/index.js +1 -1
  110. package/dist/collection/components/trigger/index.js +1 -1
  111. package/dist/collection/components/trigger/sink/index.js +1 -1
  112. package/dist/collection/components/trigger/source/index.js +1 -1
  113. package/dist/components/{p-cd4ae22e.js → p-00e29131.js} +4 -4
  114. package/dist/components/{p-cd4ae22e.js.map → p-00e29131.js.map} +1 -1
  115. package/dist/components/{p-3a1f5e8b.js → p-03be2708.js} +10 -10
  116. package/dist/components/{p-3a1f5e8b.js.map → p-03be2708.js.map} +1 -1
  117. package/dist/components/{p-5dd30cc0.js → p-03c91070.js} +2 -2
  118. package/dist/components/{p-5dd30cc0.js.map → p-03c91070.js.map} +1 -1
  119. package/dist/components/{p-11cc925c.js → p-065cbcf5.js} +8 -8
  120. package/dist/components/{p-11cc925c.js.map → p-065cbcf5.js.map} +1 -1
  121. package/dist/components/{p-e2ff40ce.js → p-07d9e68a.js} +2 -2
  122. package/dist/components/{p-e2ff40ce.js.map → p-07d9e68a.js.map} +1 -1
  123. package/dist/components/{p-e569751f.js → p-0b8373df.js} +2 -2
  124. package/dist/components/{p-e569751f.js.map → p-0b8373df.js.map} +1 -1
  125. package/dist/components/{p-49deb5fc.js → p-115371b7.js} +3 -3
  126. package/dist/components/{p-49deb5fc.js.map → p-115371b7.js.map} +1 -1
  127. package/dist/components/p-14ea6e65.js +244 -0
  128. package/dist/components/{p-a0df7a64.js.map → p-14ea6e65.js.map} +1 -1
  129. package/dist/components/{p-f21f43d1.js → p-18451fa9.js} +3 -3
  130. package/dist/components/{p-f21f43d1.js.map → p-18451fa9.js.map} +1 -1
  131. package/dist/components/{p-a74a5a51.js → p-18e35dd4.js} +3 -3
  132. package/dist/components/{p-a74a5a51.js.map → p-18e35dd4.js.map} +1 -1
  133. package/dist/components/p-1d36d047.js +123 -0
  134. package/dist/components/{p-a95bab7d.js.map → p-1d36d047.js.map} +1 -1
  135. package/dist/components/{p-95439799.js → p-1e8fa07d.js} +5 -5
  136. package/dist/components/{p-95439799.js.map → p-1e8fa07d.js.map} +1 -1
  137. package/dist/components/{p-940e5b8e.js → p-1eab7079.js} +4 -4
  138. package/dist/components/{p-940e5b8e.js.map → p-1eab7079.js.map} +1 -1
  139. package/dist/components/{p-d0935bef.js → p-28dac8ac.js} +3 -3
  140. package/dist/components/{p-d0935bef.js.map → p-28dac8ac.js.map} +1 -1
  141. package/dist/components/{p-04799383.js → p-2bbb8f53.js} +2 -2
  142. package/dist/components/{p-04799383.js.map → p-2bbb8f53.js.map} +1 -1
  143. package/dist/components/{p-97254dfe.js → p-2c9a8b37.js} +11 -11
  144. package/dist/components/{p-97254dfe.js.map → p-2c9a8b37.js.map} +1 -1
  145. package/dist/components/{p-8f6b490b.js → p-2f17a8e0.js} +14 -14
  146. package/dist/components/{p-8f6b490b.js.map → p-2f17a8e0.js.map} +1 -1
  147. package/dist/components/{p-a91db04a.js → p-3024abfc.js} +4 -4
  148. package/dist/components/{p-a91db04a.js.map → p-3024abfc.js.map} +1 -1
  149. package/dist/components/{p-d209231e.js → p-347162c4.js} +10 -10
  150. package/dist/components/{p-d209231e.js.map → p-347162c4.js.map} +1 -1
  151. package/dist/components/{p-4d18f37f.js → p-35d30b5f.js} +14 -14
  152. package/dist/components/{p-4d18f37f.js.map → p-35d30b5f.js.map} +1 -1
  153. package/dist/components/{p-0f3b692b.js → p-3609c2f0.js} +13 -13
  154. package/dist/components/{p-0f3b692b.js.map → p-3609c2f0.js.map} +1 -1
  155. package/dist/components/{p-9bb1e20b.js → p-382b5857.js} +6 -6
  156. package/dist/components/{p-9bb1e20b.js.map → p-382b5857.js.map} +1 -1
  157. package/dist/components/{p-67370f30.js → p-38ec49fa.js} +3 -3
  158. package/dist/components/{p-67370f30.js.map → p-38ec49fa.js.map} +1 -1
  159. package/dist/components/{p-dfb0153c.js → p-3989ef69.js} +3 -3
  160. package/dist/components/{p-dfb0153c.js.map → p-3989ef69.js.map} +1 -1
  161. package/dist/components/{p-948e9305.js → p-3b06b8a0.js} +27 -27
  162. package/dist/components/{p-948e9305.js.map → p-3b06b8a0.js.map} +1 -1
  163. package/dist/components/{p-33cdc807.js → p-3b26fe6c.js} +5 -5
  164. package/dist/components/{p-33cdc807.js.map → p-3b26fe6c.js.map} +1 -1
  165. package/dist/components/{p-33f636a1.js → p-3f7a437a.js} +15 -15
  166. package/dist/components/{p-33f636a1.js.map → p-3f7a437a.js.map} +1 -1
  167. package/dist/components/{p-50f2b79d.js → p-4139620f.js} +14 -14
  168. package/dist/components/{p-50f2b79d.js.map → p-4139620f.js.map} +1 -1
  169. package/dist/components/{p-2de92429.js → p-49837ba2.js} +2 -2
  170. package/dist/components/{p-2de92429.js.map → p-49837ba2.js.map} +1 -1
  171. package/dist/components/{p-f0e08ba3.js → p-4fbdcaa4.js} +4 -4
  172. package/dist/components/{p-f0e08ba3.js.map → p-4fbdcaa4.js.map} +1 -1
  173. package/dist/components/{p-18ba7524.js → p-5083f036.js} +2 -2
  174. package/dist/components/{p-18ba7524.js.map → p-5083f036.js.map} +1 -1
  175. package/dist/components/{p-eba2af2b.js → p-50847f24.js} +13 -13
  176. package/dist/components/{p-eba2af2b.js.map → p-50847f24.js.map} +1 -1
  177. package/dist/components/{p-e91292f2.js → p-52ba5546.js} +5 -5
  178. package/dist/components/{p-e91292f2.js.map → p-52ba5546.js.map} +1 -1
  179. package/dist/components/{p-b8107946.js → p-565f1d48.js} +7 -7
  180. package/dist/components/{p-b8107946.js.map → p-565f1d48.js.map} +1 -1
  181. package/dist/components/{p-8ac400d5.js → p-56fc01bf.js} +5 -5
  182. package/dist/components/{p-8ac400d5.js.map → p-56fc01bf.js.map} +1 -1
  183. package/dist/components/{p-37363a06.js → p-5bb38e6d.js} +8 -8
  184. package/dist/components/{p-37363a06.js.map → p-5bb38e6d.js.map} +1 -1
  185. package/dist/components/{p-21601376.js → p-5bf78c75.js} +2 -2
  186. package/dist/components/{p-21601376.js.map → p-5bf78c75.js.map} +1 -1
  187. package/dist/components/{p-cf692cc2.js → p-5e242cbd.js} +3 -3
  188. package/dist/components/{p-cf692cc2.js.map → p-5e242cbd.js.map} +1 -1
  189. package/dist/components/{p-f4c50262.js → p-627c3fc7.js} +8 -8
  190. package/dist/components/{p-f4c50262.js.map → p-627c3fc7.js.map} +1 -1
  191. package/dist/components/{p-2683f275.js → p-6396cebd.js} +12 -12
  192. package/dist/components/{p-2683f275.js.map → p-6396cebd.js.map} +1 -1
  193. package/dist/components/{p-065742a9.js → p-68c91da3.js} +4 -4
  194. package/dist/components/{p-065742a9.js.map → p-68c91da3.js.map} +1 -1
  195. package/dist/components/{p-9f71d26f.js → p-72b6a817.js} +5 -5
  196. package/dist/components/{p-9f71d26f.js.map → p-72b6a817.js.map} +1 -1
  197. package/dist/components/{p-5e4e6b48.js → p-7b0de261.js} +6 -6
  198. package/dist/components/{p-5e4e6b48.js.map → p-7b0de261.js.map} +1 -1
  199. package/dist/components/{p-10e9b56f.js → p-7b9c60c5.js} +16 -16
  200. package/dist/components/{p-10e9b56f.js.map → p-7b9c60c5.js.map} +1 -1
  201. package/dist/components/{p-d20010f3.js → p-840a2e6c.js} +32 -32
  202. package/dist/components/{p-d20010f3.js.map → p-840a2e6c.js.map} +1 -1
  203. package/dist/components/{p-1d50e1c3.js → p-8a0d18a0.js} +15 -15
  204. package/dist/components/{p-1d50e1c3.js.map → p-8a0d18a0.js.map} +1 -1
  205. package/dist/components/{p-f0f3ed83.js → p-8a92424a.js} +37 -37
  206. package/dist/components/{p-f0f3ed83.js.map → p-8a92424a.js.map} +1 -1
  207. package/dist/components/{p-7995e164.js → p-8c0ab6b7.js} +15 -15
  208. package/dist/components/{p-7995e164.js.map → p-8c0ab6b7.js.map} +1 -1
  209. package/dist/components/{p-8309d8d7.js → p-8dedb4ea.js} +7 -7
  210. package/dist/components/{p-8309d8d7.js.map → p-8dedb4ea.js.map} +1 -1
  211. package/dist/components/{p-a0930b47.js → p-94091007.js} +6 -6
  212. package/dist/components/{p-a0930b47.js.map → p-94091007.js.map} +1 -1
  213. package/dist/components/p-97b63ea3.js +176 -0
  214. package/dist/components/{p-42fba537.js.map → p-97b63ea3.js.map} +1 -1
  215. package/dist/components/{p-28a3024e.js → p-98440131.js} +2 -2
  216. package/dist/components/{p-28a3024e.js.map → p-98440131.js.map} +1 -1
  217. package/dist/components/{p-8ce2b17b.js → p-9bc7b378.js} +15 -15
  218. package/dist/components/{p-8ce2b17b.js.map → p-9bc7b378.js.map} +1 -1
  219. package/dist/components/{p-76b9e403.js → p-9d5f7dde.js} +15 -15
  220. package/dist/components/{p-76b9e403.js.map → p-9d5f7dde.js.map} +1 -1
  221. package/dist/components/{p-8b2f08c5.js → p-9e3806ff.js} +7 -7
  222. package/dist/components/{p-8b2f08c5.js.map → p-9e3806ff.js.map} +1 -1
  223. package/dist/components/{p-e6eca6ea.js → p-a09be6d8.js} +2 -2
  224. package/dist/components/{p-e6eca6ea.js.map → p-a09be6d8.js.map} +1 -1
  225. package/dist/components/{p-6ce1475e.js → p-a50f622f.js} +5 -5
  226. package/dist/components/{p-6ce1475e.js.map → p-a50f622f.js.map} +1 -1
  227. package/dist/components/{p-182310f5.js → p-a57e7345.js} +7 -7
  228. package/dist/components/{p-182310f5.js.map → p-a57e7345.js.map} +1 -1
  229. package/dist/components/{p-125e9845.js → p-a765eaaa.js} +5 -5
  230. package/dist/components/{p-125e9845.js.map → p-a765eaaa.js.map} +1 -1
  231. package/dist/components/{p-a9bd3ecf.js → p-a966d505.js} +16 -16
  232. package/dist/components/{p-a9bd3ecf.js.map → p-a966d505.js.map} +1 -1
  233. package/dist/components/{p-9f7e55ba.js → p-b121c0da.js} +2 -2
  234. package/dist/components/{p-9f7e55ba.js.map → p-b121c0da.js.map} +1 -1
  235. package/dist/components/{p-ff99dcde.js → p-b235b5aa.js} +5 -5
  236. package/dist/components/{p-ff99dcde.js.map → p-b235b5aa.js.map} +1 -1
  237. package/dist/components/{p-3062590d.js → p-b3cfa9a5.js} +13 -13
  238. package/dist/components/{p-3062590d.js.map → p-b3cfa9a5.js.map} +1 -1
  239. package/dist/components/{p-b0806e7f.js → p-b5f48ead.js} +28 -28
  240. package/dist/components/{p-b0806e7f.js.map → p-b5f48ead.js.map} +1 -1
  241. package/dist/components/{p-a6abef9e.js → p-b74838fd.js} +2 -2
  242. package/dist/components/{p-a6abef9e.js.map → p-b74838fd.js.map} +1 -1
  243. package/dist/components/p-ba16f7d3.js +45 -0
  244. package/dist/components/{p-026d5067.js.map → p-ba16f7d3.js.map} +1 -1
  245. package/dist/components/{p-3217c7b5.js → p-ba76192d.js} +3 -3
  246. package/dist/components/{p-3217c7b5.js.map → p-ba76192d.js.map} +1 -1
  247. package/dist/components/p-bbc6eae6.js +175 -0
  248. package/dist/components/{p-f5758759.js.map → p-bbc6eae6.js.map} +1 -1
  249. package/dist/components/{p-77aa479d.js → p-c131480d.js} +4 -4
  250. package/dist/components/{p-77aa479d.js.map → p-c131480d.js.map} +1 -1
  251. package/dist/components/{p-559c35a3.js → p-c31cce0c.js} +14 -14
  252. package/dist/components/{p-559c35a3.js.map → p-c31cce0c.js.map} +1 -1
  253. package/dist/components/{p-b1d28f3f.js → p-c3d52c12.js} +7 -7
  254. package/dist/components/{p-b1d28f3f.js.map → p-c3d52c12.js.map} +1 -1
  255. package/dist/components/{p-8677ee6e.js → p-c5f249a3.js} +14 -14
  256. package/dist/components/{p-8677ee6e.js.map → p-c5f249a3.js.map} +1 -1
  257. package/dist/components/{p-675c3d3e.js → p-c9619231.js} +12 -12
  258. package/dist/components/{p-675c3d3e.js.map → p-c9619231.js.map} +1 -1
  259. package/dist/components/{p-0eacf5f4.js → p-c98922f4.js} +2 -2
  260. package/dist/components/{p-0eacf5f4.js.map → p-c98922f4.js.map} +1 -1
  261. package/dist/components/{p-1f5357e1.js → p-ca85bc1d.js} +2 -2
  262. package/dist/components/{p-1f5357e1.js.map → p-ca85bc1d.js.map} +1 -1
  263. package/dist/components/{p-2498d762.js → p-cbf3c133.js} +45 -45
  264. package/dist/components/{p-2498d762.js.map → p-cbf3c133.js.map} +1 -1
  265. package/dist/components/{p-0fb1eac0.js → p-cef759f2.js} +5 -5
  266. package/dist/components/{p-0fb1eac0.js.map → p-cef759f2.js.map} +1 -1
  267. package/dist/components/{p-ec207ccc.js → p-d0953a9e.js} +4 -4
  268. package/dist/components/{p-ec207ccc.js.map → p-d0953a9e.js.map} +1 -1
  269. package/dist/components/{p-44f424f6.js → p-d1462fc3.js} +3 -3
  270. package/dist/components/{p-44f424f6.js.map → p-d1462fc3.js.map} +1 -1
  271. package/dist/components/{p-fd158b77.js → p-d1dcafa9.js} +4 -4
  272. package/dist/components/{p-fd158b77.js.map → p-d1dcafa9.js.map} +1 -1
  273. package/dist/components/{p-51cb1946.js → p-d3c8be66.js} +5 -5
  274. package/dist/components/{p-51cb1946.js.map → p-d3c8be66.js.map} +1 -1
  275. package/dist/components/{p-fd1daa5a.js → p-d5fe813a.js} +2 -2
  276. package/dist/components/{p-fd1daa5a.js.map → p-d5fe813a.js.map} +1 -1
  277. package/dist/components/{p-f3e69915.js → p-d693d5de.js} +9 -9
  278. package/dist/components/{p-f3e69915.js.map → p-d693d5de.js.map} +1 -1
  279. package/dist/components/{p-5a0e167d.js → p-d81a3a84.js} +3 -3
  280. package/dist/components/{p-5a0e167d.js.map → p-d81a3a84.js.map} +1 -1
  281. package/dist/components/{p-d9989605.js → p-d8bd7cc0.js} +2 -2
  282. package/dist/components/{p-d9989605.js.map → p-d8bd7cc0.js.map} +1 -1
  283. package/dist/components/{p-c8f13bb3.js → p-d969fa64.js} +2 -2
  284. package/dist/components/{p-c8f13bb3.js.map → p-d969fa64.js.map} +1 -1
  285. package/dist/components/{p-90d81e79.js → p-da4c10d0.js} +2 -2
  286. package/dist/components/{p-90d81e79.js.map → p-da4c10d0.js.map} +1 -1
  287. package/dist/components/{p-aac94573.js → p-dd3b21a0.js} +10 -10
  288. package/dist/components/{p-aac94573.js.map → p-dd3b21a0.js.map} +1 -1
  289. package/dist/components/p-e4b92c84.js +73 -0
  290. package/dist/components/{p-6140aafa.js.map → p-e4b92c84.js.map} +1 -1
  291. package/dist/components/{p-a4614623.js → p-e5627b06.js} +4 -4
  292. package/dist/components/{p-a4614623.js.map → p-e5627b06.js.map} +1 -1
  293. package/dist/components/{p-5bee4bdc.js → p-e9e71692.js} +5 -5
  294. package/dist/components/{p-5bee4bdc.js.map → p-e9e71692.js.map} +1 -1
  295. package/dist/components/{p-e87aacc3.js → p-ea4cee14.js} +15 -15
  296. package/dist/components/{p-e87aacc3.js.map → p-ea4cee14.js.map} +1 -1
  297. package/dist/components/{p-758edf83.js → p-ec3b9004.js} +4 -4
  298. package/dist/components/{p-758edf83.js.map → p-ec3b9004.js.map} +1 -1
  299. package/dist/components/{p-16c06f14.js → p-ed1e7da4.js} +3 -3
  300. package/dist/components/{p-16c06f14.js.map → p-ed1e7da4.js.map} +1 -1
  301. package/dist/components/{p-270e635e.js → p-f2969db7.js} +2 -2
  302. package/dist/components/{p-270e635e.js.map → p-f2969db7.js.map} +1 -1
  303. package/dist/components/{p-33087585.js → p-fec4d798.js} +2 -2
  304. package/dist/components/{p-33087585.js.map → p-fec4d798.js.map} +1 -1
  305. package/dist/components/smoothly-app-demo.js +97 -97
  306. package/dist/components/smoothly-app-demo.js.map +1 -1
  307. package/dist/components/smoothly-app-room.js +1 -1
  308. package/dist/components/smoothly-app.js +1 -1
  309. package/dist/components/smoothly-back-to-top.js +1 -1
  310. package/dist/components/smoothly-burger.js +1 -1
  311. package/dist/components/smoothly-button-confirm.js +1 -1
  312. package/dist/components/smoothly-button-demo.js +1 -1
  313. package/dist/components/smoothly-button.js +1 -1
  314. package/dist/components/smoothly-calendar.js +1 -1
  315. package/dist/components/smoothly-checkbox.js +3 -3
  316. package/dist/components/smoothly-color.js +1 -1
  317. package/dist/components/smoothly-country.js +1 -1
  318. package/dist/components/smoothly-dialog-demo.js +1 -1
  319. package/dist/components/smoothly-dialog.js +1 -1
  320. package/dist/components/smoothly-display-demo-json.js +1 -1
  321. package/dist/components/smoothly-display-demo.js +1 -1
  322. package/dist/components/smoothly-display-json-object.js +1 -1
  323. package/dist/components/smoothly-display-json-primitive.js +1 -1
  324. package/dist/components/smoothly-display-json-record-key.js +1 -1
  325. package/dist/components/smoothly-display-json.js +1 -1
  326. package/dist/components/smoothly-display.js +1 -1
  327. package/dist/components/smoothly-filter-field.js +1 -1
  328. package/dist/components/smoothly-filter-input.js +1 -1
  329. package/dist/components/smoothly-filter-select.js +1 -1
  330. package/dist/components/smoothly-filter-toggle.js +1 -1
  331. package/dist/components/smoothly-filter.js +1 -1
  332. package/dist/components/smoothly-form-demo-all.js +1 -1
  333. package/dist/components/smoothly-form-demo-card.js +1 -1
  334. package/dist/components/smoothly-form-demo-controlled.js +1 -1
  335. package/dist/components/smoothly-form-demo-date-range.js +1 -1
  336. package/dist/components/smoothly-form-demo-date.js +1 -1
  337. package/dist/components/smoothly-form-demo-login.js +1 -1
  338. package/dist/components/smoothly-form-demo-pet.js +1 -1
  339. package/dist/components/smoothly-form-demo-prices.js +1 -1
  340. package/dist/components/smoothly-form-demo-schedule.js +1 -1
  341. package/dist/components/smoothly-form-demo-transparent.js +1 -1
  342. package/dist/components/smoothly-form-demo-typed.js +1 -1
  343. package/dist/components/smoothly-form-demo.js +1 -1
  344. package/dist/components/smoothly-form.js +1 -1
  345. package/dist/components/smoothly-icon-demo.js +1 -1
  346. package/dist/components/smoothly-icon.js +1 -1
  347. package/dist/components/smoothly-input-checkbox-demo.js +29 -29
  348. package/dist/components/smoothly-input-checkbox.js +1 -1
  349. package/dist/components/smoothly-input-clear.js +1 -1
  350. package/dist/components/smoothly-input-color-demo.js +1 -1
  351. package/dist/components/smoothly-input-color.js +1 -1
  352. package/dist/components/smoothly-input-date-range.js +1 -1
  353. package/dist/components/smoothly-input-date-time.js +1 -1
  354. package/dist/components/smoothly-input-date.js +1 -1
  355. package/dist/components/smoothly-input-demo-standard.js +1 -1
  356. package/dist/components/smoothly-input-demo.js +1 -1
  357. package/dist/components/smoothly-input-edit.js +1 -1
  358. package/dist/components/smoothly-input-file.js +1 -1
  359. package/dist/components/smoothly-input-month.js +1 -1
  360. package/dist/components/smoothly-input-price-demo.js +1 -1
  361. package/dist/components/smoothly-input-radio-item.js +1 -1
  362. package/dist/components/smoothly-input-radio.js +1 -1
  363. package/dist/components/smoothly-input-range-demo.js +1 -1
  364. package/dist/components/smoothly-input-range.js +1 -1
  365. package/dist/components/smoothly-input-reset.js +1 -1
  366. package/dist/components/smoothly-input-select.js +1 -1
  367. package/dist/components/smoothly-input-submit.js +1 -1
  368. package/dist/components/smoothly-input.js +1 -1
  369. package/dist/components/smoothly-item.js +1 -1
  370. package/dist/components/smoothly-label.js +1 -1
  371. package/dist/components/smoothly-lazy.js +1 -1
  372. package/dist/components/smoothly-load-more.js +1 -1
  373. package/dist/components/smoothly-modal.js +1 -1
  374. package/dist/components/smoothly-notification.js +1 -1
  375. package/dist/components/smoothly-notifier.js +1 -1
  376. package/dist/components/smoothly-spinner.js +1 -1
  377. package/dist/components/smoothly-submit.js +1 -1
  378. package/dist/components/smoothly-summary.js +1 -1
  379. package/dist/components/smoothly-tab.js +1 -1
  380. package/dist/components/smoothly-table-body.js +1 -1
  381. package/dist/components/smoothly-table-cell.js +1 -1
  382. package/dist/components/smoothly-table-demo-colspan.js +1 -1
  383. package/dist/components/smoothly-table-demo-filler-row.js +1 -1
  384. package/dist/components/smoothly-table-demo-filtered.js +1 -1
  385. package/dist/components/smoothly-table-demo-group.js +1 -1
  386. package/dist/components/smoothly-table-demo-nested-inner.js +1 -1
  387. package/dist/components/smoothly-table-demo-nested.js +1 -1
  388. package/dist/components/smoothly-table-demo-simple.js +1 -1
  389. package/dist/components/smoothly-table-demo.js +1 -1
  390. package/dist/components/smoothly-table-expandable-cell.js +1 -1
  391. package/dist/components/smoothly-table-expandable-row.js +1 -1
  392. package/dist/components/smoothly-table-filler-row.js +1 -1
  393. package/dist/components/smoothly-table-foot.js +1 -1
  394. package/dist/components/smoothly-table-head.js +1 -1
  395. package/dist/components/smoothly-table-row-group.js +1 -1
  396. package/dist/components/smoothly-table-row.js +1 -1
  397. package/dist/components/smoothly-table.js +1 -1
  398. package/dist/components/smoothly-tabs-demo.js +1 -1
  399. package/dist/components/smoothly-tabs.js +1 -1
  400. package/dist/components/smoothly-theme-color.js +1 -1
  401. package/dist/components/smoothly-theme-colors.js +1 -1
  402. package/dist/components/smoothly-theme-demo.js +1 -1
  403. package/dist/components/smoothly-theme-guide.js +1 -1
  404. package/dist/components/smoothly-theme-picker.js +1 -1
  405. package/dist/components/smoothly-toggle-switch-demo.js +1 -1
  406. package/dist/components/smoothly-toggle-switch.js +1 -1
  407. package/dist/components/smoothly-trigger-sink.js +1 -1
  408. package/dist/components/smoothly-trigger-source.js +1 -1
  409. package/dist/components/smoothly-trigger.js +1 -1
  410. package/dist/esm/smoothly-app_99.entry.js +147 -147
  411. package/dist/esm/smoothly-app_99.entry.js.map +1 -1
  412. package/dist/esm/smoothly-checkbox.entry.js +2 -2
  413. package/dist/esm/smoothly-color.entry.js +1 -1
  414. package/dist/esm/smoothly-country.entry.js +1 -1
  415. package/dist/esm/smoothly-input-checkbox-demo.entry.js +1 -1
  416. package/dist/esm/smoothly-submit.entry.js +1 -1
  417. package/dist/esm/smoothly-trigger-sink.entry.js +1 -1
  418. package/dist/esm/smoothly-trigger-source.entry.js +1 -1
  419. package/dist/smoothly/{p-ad856966.entry.js → p-0e2084ab.entry.js} +2 -2
  420. package/dist/smoothly/p-2f754778.entry.js +2 -0
  421. package/dist/smoothly/p-2f754778.entry.js.map +1 -0
  422. package/dist/smoothly/{p-2f60a07e.entry.js → p-451b0f1f.entry.js} +2 -2
  423. package/dist/smoothly/p-542e6f79.entry.js +2 -0
  424. package/dist/smoothly/{p-cdb8913e.entry.js → p-87b8d337.entry.js} +2 -2
  425. package/dist/smoothly/{p-018e3f3c.entry.js → p-884217fa.entry.js} +2 -2
  426. package/dist/smoothly/{p-e513fb66.entry.js → p-d4de2329.entry.js} +2 -2
  427. package/dist/smoothly/{p-519dd2b0.entry.js → p-d52851a6.entry.js} +2 -2
  428. package/dist/smoothly/smoothly.esm.js +1 -1
  429. package/package.json +1 -1
  430. package/dist/components/p-026d5067.js +0 -45
  431. package/dist/components/p-42fba537.js +0 -176
  432. package/dist/components/p-6140aafa.js +0 -73
  433. package/dist/components/p-a0df7a64.js +0 -244
  434. package/dist/components/p-a95bab7d.js +0 -123
  435. package/dist/components/p-f5758759.js +0 -175
  436. package/dist/smoothly/p-8deb6fb9.entry.js +0 -2
  437. package/dist/smoothly/p-8deb6fb9.entry.js.map +0 -1
  438. package/dist/smoothly/p-ec1809c5.entry.js +0 -2
  439. /package/dist/smoothly/{p-ad856966.entry.js.map → p-0e2084ab.entry.js.map} +0 -0
  440. /package/dist/smoothly/{p-2f60a07e.entry.js.map → p-451b0f1f.entry.js.map} +0 -0
  441. /package/dist/smoothly/{p-ec1809c5.entry.js.map → p-542e6f79.entry.js.map} +0 -0
  442. /package/dist/smoothly/{p-cdb8913e.entry.js.map → p-87b8d337.entry.js.map} +0 -0
  443. /package/dist/smoothly/{p-018e3f3c.entry.js.map → p-884217fa.entry.js.map} +0 -0
  444. /package/dist/smoothly/{p-e513fb66.entry.js.map → p-d4de2329.entry.js.map} +0 -0
  445. /package/dist/smoothly/{p-519dd2b0.entry.js.map → p-d52851a6.entry.js.map} +0 -0
@@ -10,7 +10,7 @@ const SmoothlyDisplayJsonRecordKey = proxyCustomElement(class SmoothlyDisplayJso
10
10
  this.value = undefined;
11
11
  }
12
12
  render() {
13
- return h(Host, { key: '525fa15610e18dc3073cc4c28b1acf559a4c4a8a' }, "\"", this.value, "\"");
13
+ return h(Host, { key: 'b95b23adc8efb2d27813cd613129c0aa3a25f130' }, "\"", this.value, "\"");
14
14
  }
15
15
  static get style() { return SmoothlyDisplayJsonRecordKeyStyle0; }
16
16
  }, [2, "smoothly-display-json-record-key", {
@@ -33,4 +33,4 @@ defineCustomElement();
33
33
 
34
34
  export { SmoothlyDisplayJsonRecordKey as S, defineCustomElement as d };
35
35
 
36
- //# sourceMappingURL=p-d9989605.js.map
36
+ //# sourceMappingURL=p-d8bd7cc0.js.map
@@ -1 +1 @@
1
- {"file":"p-d9989605.js","mappings":";;AAAA,MAAM,QAAQ,GAAG,sLAAsL,CAAC;AACxM,2CAAe,QAAQ;;MCMV,4BAA4B;;;;;;IAGxC,MAAM;QACL,OAAO,EAAC,IAAI,6DAAG,IAAI,CAAC,KAAK,OAAS,CAAA;KAClC;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/display/json/object/key/style.css?tag=smoothly-display-json-record-key&encapsulation=scoped","src/components/display/json/object/key/index.tsx"],"sourcesContent":[":host {\n\tfont-family: monospace;\n\tdisplay: inline;\n\tcolor: rgb(var(--smoothly-default-contrast));\n}\n:host[hidden] {\n\tdisplay: none;\n}\n","import { Component, h, Host, Prop, VNode } from \"@stencil/core\"\n\n@Component({\n\ttag: \"smoothly-display-json-record-key\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyDisplayJsonRecordKey {\n\t@Prop() value: any\n\n\trender(): VNode {\n\t\treturn <Host>\"{this.value}\"</Host>\n\t}\n}\n"],"version":3}
1
+ {"file":"p-d8bd7cc0.js","mappings":";;AAAA,MAAM,QAAQ,GAAG,sLAAsL,CAAC;AACxM,2CAAe,QAAQ;;MCMV,4BAA4B;;;;;;IAGxC,MAAM;QACL,OAAO,EAAC,IAAI,6DAAG,IAAI,CAAC,KAAK,OAAS,CAAA;KAClC;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/display/json/object/key/style.css?tag=smoothly-display-json-record-key&encapsulation=scoped","src/components/display/json/object/key/index.tsx"],"sourcesContent":[":host {\n\tfont-family: monospace;\n\tdisplay: inline;\n\tcolor: rgb(var(--smoothly-default-contrast));\n}\n:host[hidden] {\n\tdisplay: none;\n}\n","import { Component, h, Host, Prop, VNode } from \"@stencil/core\"\n\n@Component({\n\ttag: \"smoothly-display-json-record-key\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyDisplayJsonRecordKey {\n\t@Prop() value: any\n\n\trender(): VNode {\n\t\treturn <Host>\"{this.value}\"</Host>\n\t}\n}\n"],"version":3}
@@ -11,7 +11,7 @@ const SmoothlyThemeColor = proxyCustomElement(class SmoothlyThemeColor extends H
11
11
  this.color = undefined;
12
12
  }
13
13
  render() {
14
- return (h(Host, { key: 'fa3fcf5c0db4ea68505dd4a91ef67867a79af95d' }, this.color, ["tint", "color", "shade"].map(variant => (h("smoothly-theme-color-variant", { title: `${this.color} ${variant}`, color: this.color, variant: variant })))));
14
+ return (h(Host, { key: 'f0ac1160979284b3d8445e2d0eec65710221cf8d' }, this.color, ["tint", "color", "shade"].map(variant => (h("smoothly-theme-color-variant", { title: `${this.color} ${variant}`, color: this.color, variant: variant })))));
15
15
  }
16
16
  static get style() { return SmoothlyThemeColorStyle0; }
17
17
  }, [2, "smoothly-theme-color", {
@@ -39,4 +39,4 @@ defineCustomElement();
39
39
 
40
40
  export { SmoothlyThemeColor as S, defineCustomElement as d };
41
41
 
42
- //# sourceMappingURL=p-c8f13bb3.js.map
42
+ //# sourceMappingURL=p-d969fa64.js.map
@@ -1 +1 @@
1
- {"file":"p-c8f13bb3.js","mappings":";;;AAAA,MAAM,QAAQ,GAAG,qKAAqK,CAAC;AACvL,iCAAe,QAAQ;;MCOV,kBAAkB;;;;;;IAE9B,MAAM;QACL,QACC,EAAC,IAAI,uDACH,IAAI,CAAC,KAAK,EACT,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,CAAW,CAAC,GAAG,CAAC,OAAO,KACjD,oCAA8B,KAAK,EAAE,GAAG,IAAI,CAAC,KAAK,IAAI,OAAO,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,GAAI,CACxG,CAAC,CACI,EACP;KACD;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/theme/color/style.css?tag=smoothly-theme-color&encapsulation=scoped","src/components/theme/color/index.tsx"],"sourcesContent":[":host {\n\tdisplay: flex;\n\tflex-direction: column;\n\talign-items: center;\n}\n:host > :first-child {\n\tmargin-top: 0.2rem;\n}\n","import { Component, h, Host, Prop } from \"@stencil/core\"\nimport { Color } from \"../../../model\"\n\n@Component({\n\ttag: \"smoothly-theme-color\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyThemeColor {\n\t@Prop() color: Color\n\trender() {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t{this.color}\n\t\t\t\t{([\"tint\", \"color\", \"shade\"] as const).map(variant => (\n\t\t\t\t\t<smoothly-theme-color-variant title={`${this.color} ${variant}`} color={this.color} variant={variant} />\n\t\t\t\t))}\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
1
+ {"file":"p-d969fa64.js","mappings":";;;AAAA,MAAM,QAAQ,GAAG,qKAAqK,CAAC;AACvL,iCAAe,QAAQ;;MCOV,kBAAkB;;;;;;IAE9B,MAAM;QACL,QACC,EAAC,IAAI,uDACH,IAAI,CAAC,KAAK,EACT,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,CAAW,CAAC,GAAG,CAAC,OAAO,KACjD,oCAA8B,KAAK,EAAE,GAAG,IAAI,CAAC,KAAK,IAAI,OAAO,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,GAAI,CACxG,CAAC,CACI,EACP;KACD;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/theme/color/style.css?tag=smoothly-theme-color&encapsulation=scoped","src/components/theme/color/index.tsx"],"sourcesContent":[":host {\n\tdisplay: flex;\n\tflex-direction: column;\n\talign-items: center;\n}\n:host > :first-child {\n\tmargin-top: 0.2rem;\n}\n","import { Component, h, Host, Prop } from \"@stencil/core\"\nimport { Color } from \"../../../model\"\n\n@Component({\n\ttag: \"smoothly-theme-color\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyThemeColor {\n\t@Prop() color: Color\n\trender() {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t{this.color}\n\t\t\t\t{([\"tint\", \"color\", \"shade\"] as const).map(variant => (\n\t\t\t\t\t<smoothly-theme-color-variant title={`${this.color} ${variant}`} color={this.color} variant={variant} />\n\t\t\t\t))}\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
@@ -37,7 +37,7 @@ const SmoothlyItem = proxyCustomElement(class SmoothlyItem extends H {
37
37
  : false;
38
38
  }
39
39
  render() {
40
- return (h(Host, { key: '8fdd6ce70e3a8263c4b939a8c43d1039fc72a56e', tabIndex: -1 }, h("slot", { key: '84271be5ece6ae93054de397edf0eb49c9d1a2df' })));
40
+ return (h(Host, { key: '2bcb4ce39cf6dc6c8ee10b071750cb7831f8492f', tabIndex: -1 }, h("slot", { key: 'e16e1cfdcdc3b2adf794846c892e74756c0a6e13' })));
41
41
  }
42
42
  get element() { return this; }
43
43
  static get watchers() { return {
@@ -71,4 +71,4 @@ defineCustomElement();
71
71
 
72
72
  export { SmoothlyItem as S, defineCustomElement as d };
73
73
 
74
- //# sourceMappingURL=p-90d81e79.js.map
74
+ //# sourceMappingURL=p-da4c10d0.js.map
@@ -1 +1 @@
1
- {"file":"p-90d81e79.js","mappings":";;AAAA,MAAM,QAAQ,GAAG,myCAAmyC,CAAC;AACrzC,2BAAe,QAAQ;;MCsBV,YAAY;;;;;;;wBAGoC,KAAK;;wBAE7B,KAAK;4BAClB,IAAI;;IAK3B,YAAY;QACX,IAAI,CAAC,IAAI,CAAC,QAAQ,KAAK,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,YAAY,CAAC;YAC1D,IAAI,CAAC,QAAQ,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAA;KAC/B;IAED,eAAe;QACd,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;KAC1C;IACD,iBAAiB;QAChB,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,SAAQ,CAAC,CAAA;KACrC;IACD,gBAAgB;QACf,IAAI,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,QAAQ;YAClC,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;KAC3C;IAED,MAAM,MAAM,CAAC,MAAc;;QAC1B,MAAM,KAAK,GAAG,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,GAAG,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC,MAAA,IAAI,CAAC,KAAK,mCAAI,EAAE,CAAC,CAAA;QAC5F,IAAI,CAAC,OAAO,CAAC,MAAM,GAAG,MAAM;cACzB,EAAE,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;cAClF,KAAK,CAAA;KACR;IACD,MAAM;QACL,QACC,EAAC,IAAI,qDAAC,QAAQ,EAAE,CAAC,CAAC,IACjB,8DAAQ,CACF,EACP;KACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/item/style.css?tag=smoothly-item&encapsulation=scoped","src/components/item/index.tsx"],"sourcesContent":[":host([selected]) {\n\tbackground-color: rgb(var(--smoothly-item-selected-background));\n\tcolor: rgb(var(--smoothly-item-selected-foreground));\n\tborder-left: .3em solid rgb(var(--smoothly-item-selected-border));\n}\n\n:host([disabled]),\n:host([disabled])::slotted(*) {\n\tbackground-color: rgb(var(--smoothly-item-disabled-background));\n\tcolor: rgb(var(--smoothly-item-disabled-foreground));\n\topacity: var(--smoothly-item-disabled-opacity);\n\tcursor: not-allowed;\n}\n\n:host {\n\tpadding: 0.5em;\n\tcursor: pointer;\n\tborder-left: .3em solid transparent;\n\tcolor: rgb(var(--smoothly-item-foreground));\n\tfill: rgb(var(--smoothly-item-foreground));\n\tstroke: rgb(var(--smoothly-item-foreground));\n\tbox-sizing: border-box;\n\tmin-height: 3rem;\n}\n\n:host::slotted(*) {\n\tcolor: rgb(var(--smoothly-item-foreground));\n\tfill: rgb(var(--smoothly-item-foreground));\n\tstroke: rgb(var(--smoothly-item-foreground));\n}\n\n:host:not([disabled])[marked],\n:host:not([disabled]):hover,\n:host:not([disabled])[marked]::slotted(*),\n:host:not([disabled]):hover::slotted(*) {\n\tbackground-color: rgb(var(--smoothly-item-hover-background));\n\tcolor: rgb(var(--smoothly-item-hover-foreground));\n\tfill: rgb(var(--smoothly-item-hover-foreground));\n\tstroke: rgb(var(--smoothly-item-hover-foreground));\n}\n","import {\n\tComponent,\n\tComponentDidLoad,\n\tComponentWillLoad,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tMethod,\n\tProp,\n\tVNode,\n\tWatch,\n} from \"@stencil/core\"\nimport { Editable } from \"../input/Editable\"\nimport { Item } from \"./Item\"\n\n@Component({\n\ttag: \"smoothly-item\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyItem implements Item, ComponentWillLoad, ComponentDidLoad {\n\t@Element() element: HTMLSmoothlyItemElement\n\t@Prop() value: any\n\t@Prop({ reflect: true, mutable: true }) selected: boolean = false\n\t@Prop({ reflect: true, mutable: true }) marked: boolean\n\t@Prop({ reflect: true }) disabled = false\n\t@Prop() deselectable = true\n\t@Event() smoothlyItemSelect: EventEmitter<HTMLSmoothlyItemElement>\n\t@Event() smoothlyInputLoad: EventEmitter<(parent: Editable) => void>\n\n\t@Listen(\"click\")\n\tclickHandler(): void {\n\t\tif (!this.disabled && (!this.selected || this.deselectable))\n\t\t\tthis.selected = !this.selected\n\t}\n\t@Watch(\"selected\")\n\tselectedWatcher(): void {\n\t\tthis.smoothlyItemSelect.emit(this.element)\n\t}\n\tcomponentWillLoad(): void {\n\t\tthis.smoothlyInputLoad.emit(() => {})\n\t}\n\tcomponentDidLoad(): void {\n\t\tif (this.selected && !this.disabled)\n\t\t\tthis.smoothlyItemSelect.emit(this.element)\n\t}\n\t@Method()\n\tasync filter(filter: string): Promise<void> {\n\t\tconst value = typeof this.value === \"string\" ? this.value : JSON.stringify(this.value ?? \"\")\n\t\tthis.element.hidden = filter\n\t\t\t? !(value.includes(filter) || this.element.innerText.toLowerCase().includes(filter))\n\t\t\t: false\n\t}\n\trender(): VNode | VNode[] {\n\t\treturn (\n\t\t\t<Host tabIndex={-1}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
1
+ {"file":"p-da4c10d0.js","mappings":";;AAAA,MAAM,QAAQ,GAAG,myCAAmyC,CAAC;AACrzC,2BAAe,QAAQ;;MCsBV,YAAY;;;;;;;wBAGoC,KAAK;;wBAE7B,KAAK;4BAClB,IAAI;;IAK3B,YAAY;QACX,IAAI,CAAC,IAAI,CAAC,QAAQ,KAAK,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,YAAY,CAAC;YAC1D,IAAI,CAAC,QAAQ,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAA;KAC/B;IAED,eAAe;QACd,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;KAC1C;IACD,iBAAiB;QAChB,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,SAAQ,CAAC,CAAA;KACrC;IACD,gBAAgB;QACf,IAAI,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,QAAQ;YAClC,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;KAC3C;IAED,MAAM,MAAM,CAAC,MAAc;;QAC1B,MAAM,KAAK,GAAG,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,GAAG,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC,MAAA,IAAI,CAAC,KAAK,mCAAI,EAAE,CAAC,CAAA;QAC5F,IAAI,CAAC,OAAO,CAAC,MAAM,GAAG,MAAM;cACzB,EAAE,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;cAClF,KAAK,CAAA;KACR;IACD,MAAM;QACL,QACC,EAAC,IAAI,qDAAC,QAAQ,EAAE,CAAC,CAAC,IACjB,8DAAQ,CACF,EACP;KACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/item/style.css?tag=smoothly-item&encapsulation=scoped","src/components/item/index.tsx"],"sourcesContent":[":host([selected]) {\n\tbackground-color: rgb(var(--smoothly-item-selected-background));\n\tcolor: rgb(var(--smoothly-item-selected-foreground));\n\tborder-left: .3em solid rgb(var(--smoothly-item-selected-border));\n}\n\n:host([disabled]),\n:host([disabled])::slotted(*) {\n\tbackground-color: rgb(var(--smoothly-item-disabled-background));\n\tcolor: rgb(var(--smoothly-item-disabled-foreground));\n\topacity: var(--smoothly-item-disabled-opacity);\n\tcursor: not-allowed;\n}\n\n:host {\n\tpadding: 0.5em;\n\tcursor: pointer;\n\tborder-left: .3em solid transparent;\n\tcolor: rgb(var(--smoothly-item-foreground));\n\tfill: rgb(var(--smoothly-item-foreground));\n\tstroke: rgb(var(--smoothly-item-foreground));\n\tbox-sizing: border-box;\n\tmin-height: 3rem;\n}\n\n:host::slotted(*) {\n\tcolor: rgb(var(--smoothly-item-foreground));\n\tfill: rgb(var(--smoothly-item-foreground));\n\tstroke: rgb(var(--smoothly-item-foreground));\n}\n\n:host:not([disabled])[marked],\n:host:not([disabled]):hover,\n:host:not([disabled])[marked]::slotted(*),\n:host:not([disabled]):hover::slotted(*) {\n\tbackground-color: rgb(var(--smoothly-item-hover-background));\n\tcolor: rgb(var(--smoothly-item-hover-foreground));\n\tfill: rgb(var(--smoothly-item-hover-foreground));\n\tstroke: rgb(var(--smoothly-item-hover-foreground));\n}\n","import {\n\tComponent,\n\tComponentDidLoad,\n\tComponentWillLoad,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tMethod,\n\tProp,\n\tVNode,\n\tWatch,\n} from \"@stencil/core\"\nimport { Editable } from \"../input/Editable\"\nimport { Item } from \"./Item\"\n\n@Component({\n\ttag: \"smoothly-item\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyItem implements Item, ComponentWillLoad, ComponentDidLoad {\n\t@Element() element: HTMLSmoothlyItemElement\n\t@Prop() value: any\n\t@Prop({ reflect: true, mutable: true }) selected: boolean = false\n\t@Prop({ reflect: true, mutable: true }) marked: boolean\n\t@Prop({ reflect: true }) disabled = false\n\t@Prop() deselectable = true\n\t@Event() smoothlyItemSelect: EventEmitter<HTMLSmoothlyItemElement>\n\t@Event() smoothlyInputLoad: EventEmitter<(parent: Editable) => void>\n\n\t@Listen(\"click\")\n\tclickHandler(): void {\n\t\tif (!this.disabled && (!this.selected || this.deselectable))\n\t\t\tthis.selected = !this.selected\n\t}\n\t@Watch(\"selected\")\n\tselectedWatcher(): void {\n\t\tthis.smoothlyItemSelect.emit(this.element)\n\t}\n\tcomponentWillLoad(): void {\n\t\tthis.smoothlyInputLoad.emit(() => {})\n\t}\n\tcomponentDidLoad(): void {\n\t\tif (this.selected && !this.disabled)\n\t\t\tthis.smoothlyItemSelect.emit(this.element)\n\t}\n\t@Method()\n\tasync filter(filter: string): Promise<void> {\n\t\tconst value = typeof this.value === \"string\" ? this.value : JSON.stringify(this.value ?? \"\")\n\t\tthis.element.hidden = filter\n\t\t\t? !(value.includes(filter) || this.element.innerText.toLowerCase().includes(filter))\n\t\t\t: false\n\t}\n\trender(): VNode | VNode[] {\n\t\treturn (\n\t\t\t<Host tabIndex={-1}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
@@ -1,12 +1,12 @@
1
1
  import { p as proxyCustomElement, H, h, d as Host } from './p-f765921a.js';
2
- import { d as defineCustomElement$8 } from './p-0eacf5f4.js';
3
- import { d as defineCustomElement$7 } from './p-a4614623.js';
4
- import { d as defineCustomElement$6 } from './p-16c06f14.js';
5
- import { d as defineCustomElement$5 } from './p-e6eca6ea.js';
6
- import { d as defineCustomElement$4 } from './p-0fb1eac0.js';
7
- import { d as defineCustomElement$3 } from './p-125e9845.js';
8
- import { d as defineCustomElement$2 } from './p-5bee4bdc.js';
9
- import { d as defineCustomElement$1 } from './p-f21f43d1.js';
2
+ import { d as defineCustomElement$8 } from './p-c98922f4.js';
3
+ import { d as defineCustomElement$7 } from './p-e5627b06.js';
4
+ import { d as defineCustomElement$6 } from './p-ed1e7da4.js';
5
+ import { d as defineCustomElement$5 } from './p-a09be6d8.js';
6
+ import { d as defineCustomElement$4 } from './p-cef759f2.js';
7
+ import { d as defineCustomElement$3 } from './p-a765eaaa.js';
8
+ import { d as defineCustomElement$2 } from './p-e9e71692.js';
9
+ import { d as defineCustomElement$1 } from './p-18451fa9.js';
10
10
 
11
11
  const SmoothlyFormDemoLogin = proxyCustomElement(class SmoothlyFormDemoLogin extends H {
12
12
  constructor() {
@@ -14,7 +14,7 @@ const SmoothlyFormDemoLogin = proxyCustomElement(class SmoothlyFormDemoLogin ext
14
14
  this.__registerHost();
15
15
  }
16
16
  render() {
17
- return (h(Host, { key: '914cd546393dcc39159cb968565a77afb574538f' }, h("h2", { key: '7fee155ff0311666f0061bfe0b0292d7418150f1' }, "Login"), h("smoothly-form", { key: 'f3237c61ebb16e0f7715a87e3a949705fa6979ab', looks: "border" }, h("smoothly-input", { key: '0ed97ea010760f27c89e4c78d3b00dca898b4d98', type: "text", name: "username" }, "Username"), h("smoothly-input", { key: '039a6e17d6e359a93639ec99442b8cd93c91a1e1', type: "password", name: "password" }, "Password"), h("smoothly-input-reset", { key: 'e64d6a94c00b458d0d7c5e5b77a5f8b3a0fc316f', slot: "reset", type: "form", size: "icon", color: "warning" }), h("smoothly-input-submit", { key: '886ea445167ab3281130390594d3e165e7676b4b', slot: "submit" }))));
17
+ return (h(Host, { key: '490a2e47a4ebc25628dd5ce7f43f238789c11d37' }, h("h2", { key: 'ee2857de7b8844162e90a0a067ad94a3ec6452b0' }, "Login"), h("smoothly-form", { key: '4f98f14f54bfa13e27b4165b68b67a1886399421', looks: "border" }, h("smoothly-input", { key: 'cbb7490b8a5e0e6d5f4ea836c0a067b5a8981f44', type: "text", name: "username" }, "Username"), h("smoothly-input", { key: '710a9b179b674cad575c3b871acb8fe20ee7bf93', type: "password", name: "password" }, "Password"), h("smoothly-input-reset", { key: '76a6869bcb095f3b96f2280271d33ed13ccc370c', slot: "reset", type: "form", size: "icon", color: "warning" }), h("smoothly-input-submit", { key: 'faaffd995c8ab8430ea6e655be144a4d15442f39', slot: "submit" }))));
18
18
  }
19
19
  }, [2, "smoothly-form-demo-login"]);
20
20
  function defineCustomElement() {
@@ -74,4 +74,4 @@ defineCustomElement();
74
74
 
75
75
  export { SmoothlyFormDemoLogin as S, defineCustomElement as d };
76
76
 
77
- //# sourceMappingURL=p-aac94573.js.map
77
+ //# sourceMappingURL=p-dd3b21a0.js.map
@@ -1 +1 @@
1
- {"file":"p-aac94573.js","mappings":";;;;;;;;;;MAMa,qBAAqB;;;;;IACjC,MAAM;QACL,QACC,EAAC,IAAI,uDACJ,qEAAc,EACd,sEAAe,KAAK,EAAC,QAAQ,IAC5B,uEAAgB,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,UAAU,eAE1B,EACjB,uEAAgB,IAAI,EAAC,UAAU,EAAC,IAAI,EAAC,UAAU,eAE9B,EACjB,6EAAsB,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,SAAS,GAAG,EAC7E,8EAAuB,IAAI,EAAC,QAAQ,GAAG,CACxB,CACV,EACP;KACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/form/demo/login/index.tsx"],"sourcesContent":["import { Component, h, Host, VNode } from \"@stencil/core\"\n\n@Component({\n\ttag: \"smoothly-form-demo-login\",\n\tscoped: true,\n})\nexport class SmoothlyFormDemoLogin {\n\trender(): VNode | VNode[] {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<h2>Login</h2>\n\t\t\t\t<smoothly-form looks=\"border\">\n\t\t\t\t\t<smoothly-input type=\"text\" name=\"username\">\n\t\t\t\t\t\tUsername\n\t\t\t\t\t</smoothly-input>\n\t\t\t\t\t<smoothly-input type=\"password\" name=\"password\">\n\t\t\t\t\t\tPassword\n\t\t\t\t\t</smoothly-input>\n\t\t\t\t\t<smoothly-input-reset slot=\"reset\" type=\"form\" size=\"icon\" color=\"warning\" />\n\t\t\t\t\t<smoothly-input-submit slot=\"submit\" />\n\t\t\t\t</smoothly-form>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
1
+ {"file":"p-dd3b21a0.js","mappings":";;;;;;;;;;MAMa,qBAAqB;;;;;IACjC,MAAM;QACL,QACC,EAAC,IAAI,uDACJ,qEAAc,EACd,sEAAe,KAAK,EAAC,QAAQ,IAC5B,uEAAgB,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,UAAU,eAE1B,EACjB,uEAAgB,IAAI,EAAC,UAAU,EAAC,IAAI,EAAC,UAAU,eAE9B,EACjB,6EAAsB,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,SAAS,GAAG,EAC7E,8EAAuB,IAAI,EAAC,QAAQ,GAAG,CACxB,CACV,EACP;KACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/form/demo/login/index.tsx"],"sourcesContent":["import { Component, h, Host, VNode } from \"@stencil/core\"\n\n@Component({\n\ttag: \"smoothly-form-demo-login\",\n\tscoped: true,\n})\nexport class SmoothlyFormDemoLogin {\n\trender(): VNode | VNode[] {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<h2>Login</h2>\n\t\t\t\t<smoothly-form looks=\"border\">\n\t\t\t\t\t<smoothly-input type=\"text\" name=\"username\">\n\t\t\t\t\t\tUsername\n\t\t\t\t\t</smoothly-input>\n\t\t\t\t\t<smoothly-input type=\"password\" name=\"password\">\n\t\t\t\t\t\tPassword\n\t\t\t\t\t</smoothly-input>\n\t\t\t\t\t<smoothly-input-reset slot=\"reset\" type=\"form\" size=\"icon\" color=\"warning\" />\n\t\t\t\t\t<smoothly-input-submit slot=\"submit\" />\n\t\t\t\t</smoothly-form>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
@@ -0,0 +1,73 @@
1
+ import { p as proxyCustomElement, H, h } from './p-f765921a.js';
2
+ import { d as defineCustomElement$6 } from './p-ec3b9004.js';
3
+ import { d as defineCustomElement$5 } from './p-c98922f4.js';
4
+ import { d as defineCustomElement$4 } from './p-e5627b06.js';
5
+ import { d as defineCustomElement$3 } from './p-a09be6d8.js';
6
+ import { d as defineCustomElement$2 } from './p-d1462fc3.js';
7
+ import { d as defineCustomElement$1 } from './p-ba16f7d3.js';
8
+
9
+ const styleCss = "smoothly-button-demo{display:block;margin:1rem}smoothly-button-demo>section>div{display:flex;align-items:center}smoothly-button-demo smoothly-button{margin:.2em .5em}";
10
+ const SmoothlyButtonDemoStyle0 = styleCss;
11
+
12
+ const SmoothlyButtonDemo = proxyCustomElement(class SmoothlyButtonDemo extends H {
13
+ constructor() {
14
+ super();
15
+ this.__registerHost();
16
+ }
17
+ render() {
18
+ return [
19
+ h("h2", { key: '6b4e2e7fd6f5ac09bf5f659910bd3ab9649c8c74' }, "Buttons"),
20
+ h("section", { key: 'a8c21a672eb93d92facc1a04cf5a1c16cf253c54' }, h("h4", { key: '95f09c04d6895f06194954208cc61da1b416a878' }, "Confirm button (two clicks)"), h("div", { key: 'ece6df70c9c0c924b9965b4cc20ca9ca411eef19' }, h("smoothly-button-confirm", { key: 'b356531d3d7858014146ccae0006bffc78e4c5b2', name: "confirm", shape: "rounded", color: "danger", size: "large" }, "Delete"), h("smoothly-button-confirm", { key: '4a0228367ca0e7939537c6ac0b91137b84d53545', name: "confirm-icon", shape: "rounded", color: "success", size: "icon" }, h("smoothly-icon", { key: 'c13e9507e37915a2e7050dc70f9a1a31768430c9', name: "checkmark-outline", size: "tiny" })), h("smoothly-button-confirm", { key: '97fc730307b1148d23cf1aa7a09f2c93f3b7989c', name: "confirm-icon", shape: "rounded", color: "danger", size: "icon", fill: "outline" }, h("smoothly-icon", { key: 'f62955f5e18b64bb3e43eeb7dc1bd3ab3fe7030a', name: "trash-outline", size: "tiny", fill: "outline" }))), h("smoothly-toggle-switch-demo", { key: '3b8cb29571361ca1788d77a85ae53cbbe4475fe6' }), h("h4", { key: '5e3b0eef700dc84413d57bf4d825a5145cdabaac' }, "Links with icons"), h("smoothly-button", { key: 'caead3e80f98af9ae50658b45670f1dc5f56131a', type: "link" }, h("smoothly-icon", { key: '3bb40c487d33085525f382d7361609249b0225aa', name: "checkmark-circle", slot: "start" }), "type link"), h("smoothly-button", { key: '2e7e16027df719fb69990bdfd3936fb9f1869004', type: "button", color: "warning", fill: "default" }, h("smoothly-icon", { key: '1600004998730dc8abde02c692a3b01a89fec5a2', name: "call", slot: "start" }), h("a", { key: '2771f2031a33e31d3eb9b5f1c0f38127ec0f8015', href: "https://google.com" }, "link")), h("smoothly-button", { key: 'e3b44f6c7b09e0f915bc630c2f7f340ff9f5f9b3', link: "https://google.com", type: "link" }, h("smoothly-icon", { key: '5f8ad3b08806ddc5cd7e3368e8a6248ca7b86d4f', name: "arrow-forward", slot: "end" }), "link + type link"), h("h4", { key: '38623ab73ffd29c4b8896a88f6266e9bd6760f44' }, "Size and Color test"), h("smoothly-button", { key: '871fed09c8276e9f3eed438ceffaa25c7ab4132d', color: "primary", fill: "solid", size: "small", shape: "rounded" }, "Color Primary + Small"), h("smoothly-button", { key: '3c41d7224734ce85fec74214642e4804b7dcd1f3', color: "secondary", fill: "solid", shape: "rounded" }, "Color Secondary + Default"), h("smoothly-button", { key: '2e515425a5af576e1eee7ba100b6407a74479faf', color: "warning", fill: "solid", size: "large" }, "Color Warning + Large"), h("smoothly-button", { key: 'e1ea7debe613f227b18fba7795d4358739d4b498', color: "danger", fill: "solid", size: "small", shape: "rounded" }, "Color Danger + Small"), h("smoothly-button", { key: '88ce6a163227ece5cfa30b78dc04c8dd33572fbc', color: "success", fill: "solid", size: "small", shape: "rounded" }, "Color Success + Small"), h("smoothly-button", { key: 'd215c603d81bf548e741f167980142b91d606ad7', color: "tertiary", fill: "solid", size: "small", shape: "rounded" }, "Color Tertiary + Small"), h("smoothly-button", { key: '442b7e5070fde2adaf9581b082bcb366bc99d440', color: "dark", fill: "solid", size: "small", shape: "rounded" }, "Color Dark + Small"), h("smoothly-button", { key: '97f4719f87607a0f0652c4c63c7a343e7e193e61', color: "medium", fill: "solid", size: "small", shape: "rounded" }, "Color Medium + Small"), h("smoothly-button", { key: 'fdab4a41358222e77b53fb9e2b792debba0009af', color: "light", fill: "solid", size: "small", shape: "rounded" }, "Color Light + Small"), h("h4", { key: '1a494d56ffb18e63e882a9a15a9708680305645a' }, "Expand examples"), h("smoothly-button", { key: '236c7b8f85e0fa08b09ab12ea66f0222541ca276', color: "secondary", fill: "solid", expand: "full" }, "Color Secondary + Default"), h("smoothly-button", { key: 'd37bdedd651be01d3bd5571179301e1e5cd48473', color: "warning", fill: "solid", expand: "block" }, "Color Warning + Large"), h("h4", { key: '7d253a8d81a443a68601b833fa939bbea608f9b6' }, "Fill examples"), h("div", { key: 'b27b8b79542e09c9dfca65a1f4b880ff12c2f752' }, h("smoothly-button", { key: '103064fe4143fdaf8053c343e4a8f8786d65fe4c', shape: "rounded", color: "primary", fill: "solid" }, h("smoothly-icon", { key: 'a9e90f809579431741dfdd357bf50dc7c7bfc123', name: "checkmark-circle", slot: "start" }), "Fill Solid"), h("smoothly-button", { key: '1f5e1196f7b1b41e1d7db735dae6baba5aa661bf', shape: "rounded", color: "secondary", fill: "outline" }, h("smoothly-icon", { key: '5302e9c8dc0fef41953d4cbd30d1105825d0c2c9', name: "checkmark-circle", slot: "start" }), "Fill Outline"), h("smoothly-button", { key: '5f898650f52cec4e6e5255cebe3e62f4ef7cd3f2', shape: "rounded", color: "tertiary", fill: "clear" }, h("smoothly-icon", { key: '73b680ad46cc7b54e3605857522eb6a7a5779f72', name: "checkmark-circle", slot: "start" }), "Fill Clear"), h("smoothly-button", { key: '049c9368a151fd6818e32a9cc2c3c839a2dfe1ce', size: "icon", shape: "rounded", color: "success", fill: "solid" }, h("smoothly-icon", { key: 'd089a85ca9f3abb8559c0f0d4777a642954334f8', name: "basketball" }))), h("h4", { key: '0801a466f4362bee9a68fbea8df5f68f23563ac0' }, "Buttons with Icon in \"start\""), h("div", { key: '53f0992772870859e577d2d33db8b0a26c60694b' }, h("smoothly-button", { key: '8cc2bfa082a2563e6360524b58e1ff57b6378a33', shape: "rounded", fill: "solid", color: "warning" }, h("smoothly-icon", { key: '5bfd5295b8bee2a4a3472501d485284214dd3aa2', name: "checkmark-circle", slot: "start" }), "Check"), h("smoothly-button", { key: '68aec74f5a8a131ff4a13403fb02c089ac740090', shape: "rounded", fill: "solid", color: "secondary" }, h("smoothly-icon", { key: '5d9c4f3ccade43c8082c932ff5ce0cb607b3f75e', name: "basketball", slot: "start" }), "Check"), h("smoothly-button", { key: '4dce21084d04b79bd4a99c223d6a7782a7dd05fb', shape: "rounded", fill: "solid", color: "success" }, h("smoothly-icon", { key: '207d7e15ba1ca9095a8372efc9fb64fa5010549e', name: "call", slot: "start" }), "Check"), h("smoothly-button", { key: 'd348f3dbb66b1a0a1643455642fea121aeb402c7', size: "icon", fill: "solid", shape: "rounded", color: "success" }, h("smoothly-icon", { key: '36eda8b6c89687d69851bfc4dcc8bda3091395f4', name: "call" })), h("smoothly-button", { key: '42069af5842c8daf5373875caf73825ce791c2df', size: "flexible", fill: "solid", color: "success" }, h("smoothly-icon", { key: '16983ae9151c3919ba993551b545210065a319f4', name: "airplane" }))), h("h4", { key: '6811065a92ab3388cc44e23b0262da45de83f553' }, "Buttons with Icon in \"end\""), h("smoothly-button", { key: '5ad9f07473c06714f5a55fcf6c4aa30c29571814', fill: "solid", color: "light" }, "Go Forward", h("smoothly-icon", { key: '0e50649ffa9b6b9c29b314d836024df21f40daaf', name: "arrow-forward", slot: "end" })), h("h4", { key: '9d15cf0f0b56f2ee347ef098ca081edc23b28d94' }, "Test for icon button"), h("div", { key: 'b68bda362262be40014b44f1177d457feac98887' }, h("smoothly-button", { key: '14795f5d84fb482925e9176bcedceaa541f04a5b', size: "icon", fill: "solid", shape: "rounded", color: "success" }, h("smoothly-icon", { key: 'e4babc292f88030ef23bcf9035eb2ab67ffa63a7', name: "call" })), h("smoothly-button", { key: 'e4ebda1f7fa126830b3635190bd8d1088f9c697e', size: "icon", shape: "rounded", color: "warning", fill: "solid" }, h("smoothly-icon", { key: 'c6f841256c358e74c7ca8377e1a09ff9d7a5fcb0', name: "search-outline" })), h("smoothly-button", { key: '4832663b7f348e853e28ce8ee562781c6843c3ab', size: "icon", shape: "rounded", color: "secondary" }, h("smoothly-icon", { key: 'd70b361928afa7a6430ffea309aa94fca9f652e3', name: "checkmark-circle" }))), h("h4", { key: '28853956975db199dfb10524a9b865abe9406e5b' }, "Link examples"), h("div", { key: '31d234a7798018a01991555e05859615b9cb4697' }, h("smoothly-button", { key: '5674f0f72eb5ad235848a5ea85ec2be102748260', type: "link" }, "type link"), h("smoothly-button", { key: 'c39ce5f8638024fd5a011c509184bf3199006bbb', type: "button", fill: "clear" }, h("a", { key: '2004dc3d932120e24dfd8a828d31d52564c6cf01', href: "https://google.com" }, "link")), h("smoothly-button", { key: 'a643dca03c3e7777ecf2b73f084962831de9f4f5', link: "https://google.com", type: "link" }, "link + type link")), h("h4", { key: 'a84c1c3fb3ff714eb47a4d678ab39a74c2f42924' }, "Disabled buttons"), h("div", { key: '3a856f60153bc8cf90889aaaade7292480b29dc2' }, h("smoothly-button", { key: '64484bb626d5abfacfb09da406f2281b5da10757', disabled: true, fill: "solid", color: "secondary" }, "Disabled"), h("smoothly-button", { key: 'e8059bff4c591dd79a57b70624db79c7b5ac3bdf', type: "link", link: "https://google.com", disabled: true }, "Disabled link"))),
21
+ h("smoothly-back-to-top", { key: '5b644a9126f87a1036b9d8038f94c227d305dee8' }),
22
+ ];
23
+ }
24
+ static get style() { return SmoothlyButtonDemoStyle0; }
25
+ }, [0, "smoothly-button-demo"]);
26
+ function defineCustomElement() {
27
+ if (typeof customElements === "undefined") {
28
+ return;
29
+ }
30
+ const components = ["smoothly-button-demo", "smoothly-back-to-top", "smoothly-button", "smoothly-button-confirm", "smoothly-icon", "smoothly-toggle-switch", "smoothly-toggle-switch-demo"];
31
+ components.forEach(tagName => { switch (tagName) {
32
+ case "smoothly-button-demo":
33
+ if (!customElements.get(tagName)) {
34
+ customElements.define(tagName, SmoothlyButtonDemo);
35
+ }
36
+ break;
37
+ case "smoothly-back-to-top":
38
+ if (!customElements.get(tagName)) {
39
+ defineCustomElement$6();
40
+ }
41
+ break;
42
+ case "smoothly-button":
43
+ if (!customElements.get(tagName)) {
44
+ defineCustomElement$5();
45
+ }
46
+ break;
47
+ case "smoothly-button-confirm":
48
+ if (!customElements.get(tagName)) {
49
+ defineCustomElement$4();
50
+ }
51
+ break;
52
+ case "smoothly-icon":
53
+ if (!customElements.get(tagName)) {
54
+ defineCustomElement$3();
55
+ }
56
+ break;
57
+ case "smoothly-toggle-switch":
58
+ if (!customElements.get(tagName)) {
59
+ defineCustomElement$2();
60
+ }
61
+ break;
62
+ case "smoothly-toggle-switch-demo":
63
+ if (!customElements.get(tagName)) {
64
+ defineCustomElement$1();
65
+ }
66
+ break;
67
+ } });
68
+ }
69
+ defineCustomElement();
70
+
71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tag=smoothly-button-demo","src/components/button/demo/index.tsx"],"sourcesContent":["smoothly-button-demo {\n\tdisplay: block;\n\tmargin: 1rem;\n}\n\nsmoothly-button-demo > section > div {\n\tdisplay: flex;\n\talign-items: center;\n}\n\nsmoothly-button-demo smoothly-button {\n\tmargin: .2em .5em;\n}\n","import { Component, h } from \"@stencil/core\"\n@Component({\n\ttag: \"smoothly-button-demo\",\n\tstyleUrl: \"style.css\",\n})\nexport class SmoothlyButtonDemo {\n\trender() {\n\t\treturn [\n\t\t\t<h2>Buttons</h2>,\n\t\t\t<section>\n\t\t\t\t<h4>Confirm button (two clicks)</h4>\n\t\t\t\t<div>\n\t\t\t\t\t<smoothly-button-confirm name=\"confirm\" shape=\"rounded\" color=\"danger\" size=\"large\">\n\t\t\t\t\t\tDelete\n\t\t\t\t\t</smoothly-button-confirm>\n\t\t\t\t\t<smoothly-button-confirm name=\"confirm-icon\" shape=\"rounded\" color=\"success\" size=\"icon\">\n\t\t\t\t\t\t<smoothly-icon name=\"checkmark-outline\" size=\"tiny\" />\n\t\t\t\t\t</smoothly-button-confirm>\n\t\t\t\t\t<smoothly-button-confirm name=\"confirm-icon\" shape=\"rounded\" color=\"danger\" size=\"icon\" fill=\"outline\">\n\t\t\t\t\t\t<smoothly-icon name=\"trash-outline\" size=\"tiny\" fill=\"outline\" />\n\t\t\t\t\t</smoothly-button-confirm>\n\t\t\t\t</div>\n\t\t\t\t<smoothly-toggle-switch-demo />\n\t\t\t\t<h4>Links with icons</h4>\n\t\t\t\t<smoothly-button type=\"link\">\n\t\t\t\t\t<smoothly-icon name=\"checkmark-circle\" slot=\"start\" />\n\t\t\t\t\ttype link\n\t\t\t\t</smoothly-button>\n\t\t\t\t<smoothly-button type=\"button\" color=\"warning\" fill=\"default\">\n\t\t\t\t\t<smoothly-icon name=\"call\" slot=\"start\" />\n\t\t\t\t\t<a href=\"https://google.com\">link</a>\n\t\t\t\t</smoothly-button>\n\t\t\t\t<smoothly-button link=\"https://google.com\" type=\"link\">\n\t\t\t\t\t<smoothly-icon name=\"arrow-forward\" slot=\"end\" />\n\t\t\t\t\tlink + type link\n\t\t\t\t</smoothly-button>\n\t\t\t\t<h4>Size and Color test</h4>\n\t\t\t\t<smoothly-button color=\"primary\" fill=\"solid\" size=\"small\" shape=\"rounded\">\n\t\t\t\t\tColor Primary + Small\n\t\t\t\t</smoothly-button>\n\t\t\t\t<smoothly-button color=\"secondary\" fill=\"solid\" shape=\"rounded\">\n\t\t\t\t\tColor Secondary + Default\n\t\t\t\t</smoothly-button>\n\t\t\t\t<smoothly-button color=\"warning\" fill=\"solid\" size=\"large\">\n\t\t\t\t\tColor Warning + Large\n\t\t\t\t</smoothly-button>\n\t\t\t\t<smoothly-button color=\"danger\" fill=\"solid\" size=\"small\" shape=\"rounded\">\n\t\t\t\t\tColor Danger + Small\n\t\t\t\t</smoothly-button>\n\t\t\t\t<smoothly-button color=\"success\" fill=\"solid\" size=\"small\" shape=\"rounded\">\n\t\t\t\t\tColor Success + Small\n\t\t\t\t</smoothly-button>\n\t\t\t\t<smoothly-button color=\"tertiary\" fill=\"solid\" size=\"small\" shape=\"rounded\">\n\t\t\t\t\tColor Tertiary + Small\n\t\t\t\t</smoothly-button>\n\t\t\t\t<smoothly-button color=\"dark\" fill=\"solid\" size=\"small\" shape=\"rounded\">\n\t\t\t\t\tColor Dark + Small\n\t\t\t\t</smoothly-button>\n\t\t\t\t<smoothly-button color=\"medium\" fill=\"solid\" size=\"small\" shape=\"rounded\">\n\t\t\t\t\tColor Medium + Small\n\t\t\t\t</smoothly-button>\n\t\t\t\t<smoothly-button color=\"light\" fill=\"solid\" size=\"small\" shape=\"rounded\">\n\t\t\t\t\tColor Light + Small\n\t\t\t\t</smoothly-button>\n\t\t\t\t<h4>Expand examples</h4>\n\t\t\t\t<smoothly-button color=\"secondary\" fill=\"solid\" expand=\"full\">\n\t\t\t\t\tColor Secondary + Default\n\t\t\t\t</smoothly-button>\n\t\t\t\t<smoothly-button color=\"warning\" fill=\"solid\" expand=\"block\">\n\t\t\t\t\tColor Warning + Large\n\t\t\t\t</smoothly-button>\n\t\t\t\t<h4>Fill examples</h4>\n\t\t\t\t<div>\n\t\t\t\t\t<smoothly-button shape=\"rounded\" color=\"primary\" fill=\"solid\">\n\t\t\t\t\t\t<smoothly-icon name=\"checkmark-circle\" slot=\"start\" />\n\t\t\t\t\t\tFill Solid\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button shape=\"rounded\" color=\"secondary\" fill=\"outline\">\n\t\t\t\t\t\t<smoothly-icon name=\"checkmark-circle\" slot=\"start\" />\n\t\t\t\t\t\tFill Outline\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button shape=\"rounded\" color=\"tertiary\" fill=\"clear\">\n\t\t\t\t\t\t<smoothly-icon name=\"checkmark-circle\" slot=\"start\" />\n\t\t\t\t\t\tFill Clear\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button size=\"icon\" shape=\"rounded\" color=\"success\" fill=\"solid\">\n\t\t\t\t\t\t<smoothly-icon name=\"basketball\" />\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t</div>\n\t\t\t\t<h4>Buttons with Icon in \"start\"</h4>\n\t\t\t\t<div>\n\t\t\t\t\t<smoothly-button shape=\"rounded\" fill=\"solid\" color=\"warning\">\n\t\t\t\t\t\t<smoothly-icon name=\"checkmark-circle\" slot=\"start\" />\n\t\t\t\t\t\tCheck\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button shape=\"rounded\" fill=\"solid\" color=\"secondary\">\n\t\t\t\t\t\t<smoothly-icon name=\"basketball\" slot=\"start\" />\n\t\t\t\t\t\tCheck\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button shape=\"rounded\" fill=\"solid\" color=\"success\">\n\t\t\t\t\t\t<smoothly-icon name=\"call\" slot=\"start\" />\n\t\t\t\t\t\tCheck\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button size=\"icon\" fill=\"solid\" shape=\"rounded\" color=\"success\">\n\t\t\t\t\t\t<smoothly-icon name=\"call\" />\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button size=\"flexible\" fill=\"solid\" color=\"success\">\n\t\t\t\t\t\t<smoothly-icon name=\"airplane\" />\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t</div>\n\t\t\t\t<h4>Buttons with Icon in \"end\"</h4>\n\t\t\t\t<smoothly-button fill=\"solid\" color=\"light\">\n\t\t\t\t\tGo Forward\n\t\t\t\t\t<smoothly-icon name=\"arrow-forward\" slot=\"end\" />\n\t\t\t\t</smoothly-button>\n\t\t\t\t<h4>Test for icon button</h4>\n\t\t\t\t<div>\n\t\t\t\t\t<smoothly-button size=\"icon\" fill=\"solid\" shape=\"rounded\" color=\"success\">\n\t\t\t\t\t\t<smoothly-icon name=\"call\" />\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button size=\"icon\" shape=\"rounded\" color=\"warning\" fill=\"solid\">\n\t\t\t\t\t\t<smoothly-icon name=\"search-outline\" />\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button size=\"icon\" shape=\"rounded\" color=\"secondary\">\n\t\t\t\t\t\t<smoothly-icon name=\"checkmark-circle\" />\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t</div>\n\t\t\t\t<h4>Link examples</h4>\n\t\t\t\t<div>\n\t\t\t\t\t<smoothly-button type=\"link\">type link</smoothly-button>\n\t\t\t\t\t<smoothly-button type=\"button\" fill=\"clear\">\n\t\t\t\t\t\t<a href=\"https://google.com\">link</a>\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button link=\"https://google.com\" type=\"link\">\n\t\t\t\t\t\tlink + type link\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t</div>\n\t\t\t\t<h4>Disabled buttons</h4>\n\t\t\t\t<div>\n\t\t\t\t\t<smoothly-button disabled fill=\"solid\" color=\"secondary\">\n\t\t\t\t\t\tDisabled\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button type=\"link\" link=\"https://google.com\" disabled>\n\t\t\t\t\t\tDisabled link\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t</div>\n\t\t\t</section>,\n\t\t\t<smoothly-back-to-top />,\n\t\t]\n\t}\n}\n"],"version":3}
1
+ {"file":"p-e4b92c84.js","mappings":";;;;;;;;AAAA,MAAM,QAAQ,GAAG,wKAAwK,CAAC;AAC1L,iCAAe,QAAQ;;MCIV,kBAAkB;;;;;IAC9B,MAAM;QACL,OAAO;YACN,uEAAgB;YAChB,kEACC,2FAAoC,EACpC,8DACC,gFAAyB,IAAI,EAAC,SAAS,EAAC,KAAK,EAAC,SAAS,EAAC,KAAK,EAAC,QAAQ,EAAC,IAAI,EAAC,OAAO,aAEzD,EAC1B,gFAAyB,IAAI,EAAC,cAAc,EAAC,KAAK,EAAC,SAAS,EAAC,KAAK,EAAC,SAAS,EAAC,IAAI,EAAC,MAAM,IACvF,sEAAe,IAAI,EAAC,mBAAmB,EAAC,IAAI,EAAC,MAAM,GAAG,CAC7B,EAC1B,gFAAyB,IAAI,EAAC,cAAc,EAAC,KAAK,EAAC,SAAS,EAAC,KAAK,EAAC,QAAQ,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,SAAS,IACrG,sEAAe,IAAI,EAAC,eAAe,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,SAAS,GAAG,CACxC,CACrB,EACN,qFAA+B,EAC/B,gFAAyB,EACzB,wEAAiB,IAAI,EAAC,MAAM,IAC3B,sEAAe,IAAI,EAAC,kBAAkB,EAAC,IAAI,EAAC,OAAO,GAAG,cAErC,EAClB,wEAAiB,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,SAAS,EAAC,IAAI,EAAC,SAAS,IAC5D,sEAAe,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,GAAG,EAC1C,0DAAG,IAAI,EAAC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AQ,0BAE7C,CACb,CACG;YACV,8EAAwB;SACxB,CAAA;KACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/button/demo/style.css?tag=smoothly-button-demo","src/components/button/demo/index.tsx"],"sourcesContent":["smoothly-button-demo {\n\tdisplay: block;\n\tmargin: 1rem;\n}\n\nsmoothly-button-demo > section > div {\n\tdisplay: flex;\n\talign-items: center;\n}\n\nsmoothly-button-demo smoothly-button {\n\tmargin: .2em .5em;\n}\n","import { Component, h } from \"@stencil/core\"\n@Component({\n\ttag: \"smoothly-button-demo\",\n\tstyleUrl: \"style.css\",\n})\nexport class SmoothlyButtonDemo {\n\trender() {\n\t\treturn [\n\t\t\t<h2>Buttons</h2>,\n\t\t\t<section>\n\t\t\t\t<h4>Confirm button (two clicks)</h4>\n\t\t\t\t<div>\n\t\t\t\t\t<smoothly-button-confirm name=\"confirm\" shape=\"rounded\" color=\"danger\" size=\"large\">\n\t\t\t\t\t\tDelete\n\t\t\t\t\t</smoothly-button-confirm>\n\t\t\t\t\t<smoothly-button-confirm name=\"confirm-icon\" shape=\"rounded\" color=\"success\" size=\"icon\">\n\t\t\t\t\t\t<smoothly-icon name=\"checkmark-outline\" size=\"tiny\" />\n\t\t\t\t\t</smoothly-button-confirm>\n\t\t\t\t\t<smoothly-button-confirm name=\"confirm-icon\" shape=\"rounded\" color=\"danger\" size=\"icon\" fill=\"outline\">\n\t\t\t\t\t\t<smoothly-icon name=\"trash-outline\" size=\"tiny\" fill=\"outline\" />\n\t\t\t\t\t</smoothly-button-confirm>\n\t\t\t\t</div>\n\t\t\t\t<smoothly-toggle-switch-demo />\n\t\t\t\t<h4>Links with icons</h4>\n\t\t\t\t<smoothly-button type=\"link\">\n\t\t\t\t\t<smoothly-icon name=\"checkmark-circle\" slot=\"start\" />\n\t\t\t\t\ttype link\n\t\t\t\t</smoothly-button>\n\t\t\t\t<smoothly-button type=\"button\" color=\"warning\" fill=\"default\">\n\t\t\t\t\t<smoothly-icon name=\"call\" slot=\"start\" />\n\t\t\t\t\t<a href=\"https://google.com\">link</a>\n\t\t\t\t</smoothly-button>\n\t\t\t\t<smoothly-button link=\"https://google.com\" type=\"link\">\n\t\t\t\t\t<smoothly-icon name=\"arrow-forward\" slot=\"end\" />\n\t\t\t\t\tlink + type link\n\t\t\t\t</smoothly-button>\n\t\t\t\t<h4>Size and Color test</h4>\n\t\t\t\t<smoothly-button color=\"primary\" fill=\"solid\" size=\"small\" shape=\"rounded\">\n\t\t\t\t\tColor Primary + Small\n\t\t\t\t</smoothly-button>\n\t\t\t\t<smoothly-button color=\"secondary\" fill=\"solid\" shape=\"rounded\">\n\t\t\t\t\tColor Secondary + Default\n\t\t\t\t</smoothly-button>\n\t\t\t\t<smoothly-button color=\"warning\" fill=\"solid\" size=\"large\">\n\t\t\t\t\tColor Warning + Large\n\t\t\t\t</smoothly-button>\n\t\t\t\t<smoothly-button color=\"danger\" fill=\"solid\" size=\"small\" shape=\"rounded\">\n\t\t\t\t\tColor Danger + Small\n\t\t\t\t</smoothly-button>\n\t\t\t\t<smoothly-button color=\"success\" fill=\"solid\" size=\"small\" shape=\"rounded\">\n\t\t\t\t\tColor Success + Small\n\t\t\t\t</smoothly-button>\n\t\t\t\t<smoothly-button color=\"tertiary\" fill=\"solid\" size=\"small\" shape=\"rounded\">\n\t\t\t\t\tColor Tertiary + Small\n\t\t\t\t</smoothly-button>\n\t\t\t\t<smoothly-button color=\"dark\" fill=\"solid\" size=\"small\" shape=\"rounded\">\n\t\t\t\t\tColor Dark + Small\n\t\t\t\t</smoothly-button>\n\t\t\t\t<smoothly-button color=\"medium\" fill=\"solid\" size=\"small\" shape=\"rounded\">\n\t\t\t\t\tColor Medium + Small\n\t\t\t\t</smoothly-button>\n\t\t\t\t<smoothly-button color=\"light\" fill=\"solid\" size=\"small\" shape=\"rounded\">\n\t\t\t\t\tColor Light + Small\n\t\t\t\t</smoothly-button>\n\t\t\t\t<h4>Expand examples</h4>\n\t\t\t\t<smoothly-button color=\"secondary\" fill=\"solid\" expand=\"full\">\n\t\t\t\t\tColor Secondary + Default\n\t\t\t\t</smoothly-button>\n\t\t\t\t<smoothly-button color=\"warning\" fill=\"solid\" expand=\"block\">\n\t\t\t\t\tColor Warning + Large\n\t\t\t\t</smoothly-button>\n\t\t\t\t<h4>Fill examples</h4>\n\t\t\t\t<div>\n\t\t\t\t\t<smoothly-button shape=\"rounded\" color=\"primary\" fill=\"solid\">\n\t\t\t\t\t\t<smoothly-icon name=\"checkmark-circle\" slot=\"start\" />\n\t\t\t\t\t\tFill Solid\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button shape=\"rounded\" color=\"secondary\" fill=\"outline\">\n\t\t\t\t\t\t<smoothly-icon name=\"checkmark-circle\" slot=\"start\" />\n\t\t\t\t\t\tFill Outline\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button shape=\"rounded\" color=\"tertiary\" fill=\"clear\">\n\t\t\t\t\t\t<smoothly-icon name=\"checkmark-circle\" slot=\"start\" />\n\t\t\t\t\t\tFill Clear\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button size=\"icon\" shape=\"rounded\" color=\"success\" fill=\"solid\">\n\t\t\t\t\t\t<smoothly-icon name=\"basketball\" />\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t</div>\n\t\t\t\t<h4>Buttons with Icon in \"start\"</h4>\n\t\t\t\t<div>\n\t\t\t\t\t<smoothly-button shape=\"rounded\" fill=\"solid\" color=\"warning\">\n\t\t\t\t\t\t<smoothly-icon name=\"checkmark-circle\" slot=\"start\" />\n\t\t\t\t\t\tCheck\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button shape=\"rounded\" fill=\"solid\" color=\"secondary\">\n\t\t\t\t\t\t<smoothly-icon name=\"basketball\" slot=\"start\" />\n\t\t\t\t\t\tCheck\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button shape=\"rounded\" fill=\"solid\" color=\"success\">\n\t\t\t\t\t\t<smoothly-icon name=\"call\" slot=\"start\" />\n\t\t\t\t\t\tCheck\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button size=\"icon\" fill=\"solid\" shape=\"rounded\" color=\"success\">\n\t\t\t\t\t\t<smoothly-icon name=\"call\" />\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button size=\"flexible\" fill=\"solid\" color=\"success\">\n\t\t\t\t\t\t<smoothly-icon name=\"airplane\" />\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t</div>\n\t\t\t\t<h4>Buttons with Icon in \"end\"</h4>\n\t\t\t\t<smoothly-button fill=\"solid\" color=\"light\">\n\t\t\t\t\tGo Forward\n\t\t\t\t\t<smoothly-icon name=\"arrow-forward\" slot=\"end\" />\n\t\t\t\t</smoothly-button>\n\t\t\t\t<h4>Test for icon button</h4>\n\t\t\t\t<div>\n\t\t\t\t\t<smoothly-button size=\"icon\" fill=\"solid\" shape=\"rounded\" color=\"success\">\n\t\t\t\t\t\t<smoothly-icon name=\"call\" />\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button size=\"icon\" shape=\"rounded\" color=\"warning\" fill=\"solid\">\n\t\t\t\t\t\t<smoothly-icon name=\"search-outline\" />\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button size=\"icon\" shape=\"rounded\" color=\"secondary\">\n\t\t\t\t\t\t<smoothly-icon name=\"checkmark-circle\" />\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t</div>\n\t\t\t\t<h4>Link examples</h4>\n\t\t\t\t<div>\n\t\t\t\t\t<smoothly-button type=\"link\">type link</smoothly-button>\n\t\t\t\t\t<smoothly-button type=\"button\" fill=\"clear\">\n\t\t\t\t\t\t<a href=\"https://google.com\">link</a>\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button link=\"https://google.com\" type=\"link\">\n\t\t\t\t\t\tlink + type link\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t</div>\n\t\t\t\t<h4>Disabled buttons</h4>\n\t\t\t\t<div>\n\t\t\t\t\t<smoothly-button disabled fill=\"solid\" color=\"secondary\">\n\t\t\t\t\t\tDisabled\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button type=\"link\" link=\"https://google.com\" disabled>\n\t\t\t\t\t\tDisabled link\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t</div>\n\t\t\t</section>,\n\t\t\t<smoothly-back-to-top />,\n\t\t]\n\t}\n}\n"],"version":3}
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-f765921a.js';
2
- import { d as defineCustomElement$2 } from './p-0eacf5f4.js';
3
- import { d as defineCustomElement$1 } from './p-e6eca6ea.js';
2
+ import { d as defineCustomElement$2 } from './p-c98922f4.js';
3
+ import { d as defineCustomElement$1 } from './p-a09be6d8.js';
4
4
 
5
5
  const styleCss = ".sc-smoothly-button-confirm-h{display:inline-block}[disabled].sc-smoothly-button-confirm-h{opacity:0.5;pointer-events:none}.sc-smoothly-button-confirm-h:not([warning])>smoothly-button.sc-smoothly-button-confirm:first-child{display:none}[warning].sc-smoothly-button-confirm-h>smoothly-button.sc-smoothly-button-confirm:nth-child(2){display:none}[expand].sc-smoothly-button-confirm-h{width:100%}";
6
6
  const SmoothlyButtonConfirmStyle0 = styleCss;
@@ -35,7 +35,7 @@ const SmoothlyButtonConfirm = proxyCustomElement(class SmoothlyButtonConfirm ext
35
35
  }
36
36
  }
37
37
  render() {
38
- return (h(Host, { key: '316a3f9fb74039c7a6b80c0b665582c9c016176b', warning: this.clickTimeStamp }, h("smoothly-button", { key: 'c4e4a4845ccb4ca9b599957eafe177494f03f124', fill: this.fill, expand: this.expand, size: this.size, shape: this.shape, color: "warning", disabled: this.disabled, type: "button", onClick: event => this.clickHandler(event) }, h("smoothly-icon", { key: 'd7763547cf321bbff31ce9fa437c0d7753b4767c', name: "alert-outline", fill: this.fill, color: "warning", size: this.size === "icon" ? "tiny" : "small" })), h("smoothly-button", { key: 'f3e3af94612519e43694139c91bfca618293af94', fill: this.fill, expand: this.expand, size: this.size, shape: this.shape, color: this.color, disabled: this.disabled, type: "button", onClick: event => this.clickHandler(event) }, h("slot", { key: '38fbabcf48c532abea1fde79454acb5785955b77' }))));
38
+ return (h(Host, { key: '81ee6d6cd788b6c2c191a173211228f2282d9a48', warning: this.clickTimeStamp }, h("smoothly-button", { key: '21053d68c60f203e70b0381d774550ab74d58dc6', fill: this.fill, expand: this.expand, size: this.size, shape: this.shape, color: "warning", disabled: this.disabled, type: "button", onClick: event => this.clickHandler(event) }, h("smoothly-icon", { key: '9fe4fe83f179209be811c930c6b5546b344ececb', name: "alert-outline", fill: this.fill, color: "warning", size: this.size === "icon" ? "tiny" : "small" })), h("smoothly-button", { key: '81191f3fd3c2d1aaa897ea8e4c608c79477ece27', fill: this.fill, expand: this.expand, size: this.size, shape: this.shape, color: this.color, disabled: this.disabled, type: "button", onClick: event => this.clickHandler(event) }, h("slot", { key: 'be8412810360c30abde1d4bcfd81f10f2e9cfd06' }))));
39
39
  }
40
40
  static get style() { return SmoothlyButtonConfirmStyle0; }
41
41
  }, [6, "smoothly-button-confirm", {
@@ -76,4 +76,4 @@ defineCustomElement();
76
76
 
77
77
  export { SmoothlyButtonConfirm as S, defineCustomElement as d };
78
78
 
79
- //# sourceMappingURL=p-a4614623.js.map
79
+ //# sourceMappingURL=p-e5627b06.js.map
@@ -1 +1 @@
1
- {"file":"p-a4614623.js","mappings":";;;;AAAA,MAAM,QAAQ,GAAG,2YAA2Y,CAAC;AAC7Z,oCAAe,QAAQ;;MCQV,qBAAqB;;;;;;;;+BAIP,GAAG;;;wBAGO,KAAK;;;;;IAOzC,YAAY,CAAC,KAAiB;QAC7B,IAAI,IAAI,CAAC,cAAc,IAAI,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,eAAe,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,EAAE,QAAQ,EACd,OAAO,EAAE,KAAK,IAAI,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,IAC1C,8DAAQ,CACS,CACZ,EACP;KACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/confirm/style.css?tag=smoothly-button-confirm&encapsulation=scoped","src/components/confirm/index.tsx"],"sourcesContent":[":host {\n\tdisplay: inline-block;\n}\n:host([disabled]) {\n\topacity: 0.5;\n\tpointer-events: none;\n}\n:host:not([warning]) > smoothly-button:first-child {\n\tdisplay: none;\n}\n:host[warning] > smoothly-button:nth-child(2) {\n\tdisplay: none;\n}\n:host([expand]) {\n\twidth: 100%;\n}\n","import { Component, Event, EventEmitter, h, Host, Prop, State, VNode } from \"@stencil/core\"\nimport { Color, Data, Fill } from \"../../model\"\nimport { Editable } from \"../input/Editable\"\n\n@Component({\n\ttag: \"smoothly-button-confirm\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyButtonConfirm {\n\ttimer?: number\n\t@Prop() color?: Color\n\t@Prop({ reflect: true }) name: string\n\t@Prop() doubleClickTime = 0.2\n\t@Prop({ reflect: true }) expand?: \"block\" | \"full\"\n\t@Prop() fill?: Fill\n\t@Prop({ reflect: true }) disabled = false\n\t@Prop() shape?: \"rounded\"\n\t@Prop() size: \"small\" | \"large\" | \"icon\" | \"flexible\"\n\t@State() clickTimeStamp: number | undefined\n\t@Event() smoothlyInputLoad: EventEmitter<(parent: Editable) => void>\n\t@Event() smoothlyConfirm: EventEmitter<Data>\n\n\tclickHandler(event: MouseEvent): void {\n\t\tif (this.clickTimeStamp && event.timeStamp - this.clickTimeStamp > this.doubleClickTime * 1000) {\n\t\t\tthis.timer && window.clearTimeout(this.timer)\n\t\t\tthis.clickTimeStamp = undefined\n\t\t\tthis.smoothlyConfirm.emit({ [this.name]: true })\n\t\t} else {\n\t\t\tthis.clickTimeStamp = event.timeStamp\n\t\t\tthis.timer = window.setTimeout(() => {\n\t\t\t\tthis.clickTimeStamp = undefined\n\t\t\t}, 2000)\n\t\t}\n\t}\n\n\trender(): VNode | VNode[] {\n\t\treturn (\n\t\t\t<Host warning={this.clickTimeStamp}>\n\t\t\t\t<smoothly-button\n\t\t\t\t\tfill={this.fill}\n\t\t\t\t\texpand={this.expand}\n\t\t\t\t\tsize={this.size}\n\t\t\t\t\tshape={this.shape}\n\t\t\t\t\tcolor={\"warning\"}\n\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\ttype={\"button\"}\n\t\t\t\t\tonClick={event => this.clickHandler(event)}>\n\t\t\t\t\t<smoothly-icon\n\t\t\t\t\t\tname={\"alert-outline\"}\n\t\t\t\t\t\tfill={this.fill}\n\t\t\t\t\t\tcolor=\"warning\"\n\t\t\t\t\t\tsize={this.size === \"icon\" ? \"tiny\" : \"small\"}\n\t\t\t\t\t/>\n\t\t\t\t</smoothly-button>\n\t\t\t\t<smoothly-button\n\t\t\t\t\tfill={this.fill}\n\t\t\t\t\texpand={this.expand}\n\t\t\t\t\tsize={this.size}\n\t\t\t\t\tshape={this.shape}\n\t\t\t\t\tcolor={this.color}\n\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\ttype={\"button\"}\n\t\t\t\t\tonClick={event => this.clickHandler(event)}>\n\t\t\t\t\t<slot />\n\t\t\t\t</smoothly-button>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
1
+ {"file":"p-e5627b06.js","mappings":";;;;AAAA,MAAM,QAAQ,GAAG,2YAA2Y,CAAC;AAC7Z,oCAAe,QAAQ;;MCQV,qBAAqB;;;;;;;;+BAIP,GAAG;;;wBAGO,KAAK;;;;;IAOzC,YAAY,CAAC,KAAiB;QAC7B,IAAI,IAAI,CAAC,cAAc,IAAI,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,eAAe,GAAG,IAAI,EAAE;YAC/F,IAAI,CAAC,KAAK,IAAI,MAAM,CAAC,YAAY,CAA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K,CAAC,IAC1C,8DAAQ,CACS,CACZ,EACP;KACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/confirm/style.css?tag=smoothly-button-confirm&encapsulation=scoped","src/components/confirm/index.tsx"],"sourcesContent":[":host {\n\tdisplay: inline-block;\n}\n:host([disabled]) {\n\topacity: 0.5;\n\tpointer-events: none;\n}\n:host:not([warning]) > smoothly-button:first-child {\n\tdisplay: none;\n}\n:host[warning] > smoothly-button:nth-child(2) {\n\tdisplay: none;\n}\n:host([expand]) {\n\twidth: 100%;\n}\n","import { Component, Event, EventEmitter, h, Host, Prop, State, VNode } from \"@stencil/core\"\nimport { Color, Data, Fill } from \"../../model\"\nimport { Editable } from \"../input/Editable\"\n\n@Component({\n\ttag: \"smoothly-button-confirm\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyButtonConfirm {\n\ttimer?: number\n\t@Prop() color?: Color\n\t@Prop({ reflect: true }) name: string\n\t@Prop() doubleClickTime = 0.2\n\t@Prop({ reflect: true }) expand?: \"block\" | \"full\"\n\t@Prop() fill?: Fill\n\t@Prop({ reflect: true }) disabled = false\n\t@Prop() shape?: \"rounded\"\n\t@Prop() size: \"small\" | \"large\" | \"icon\" | \"flexible\"\n\t@State() clickTimeStamp: number | undefined\n\t@Event() smoothlyInputLoad: EventEmitter<(parent: Editable) => void>\n\t@Event() smoothlyConfirm: EventEmitter<Data>\n\n\tclickHandler(event: MouseEvent): void {\n\t\tif (this.clickTimeStamp && event.timeStamp - this.clickTimeStamp > this.doubleClickTime * 1000) {\n\t\t\tthis.timer && window.clearTimeout(this.timer)\n\t\t\tthis.clickTimeStamp = undefined\n\t\t\tthis.smoothlyConfirm.emit({ [this.name]: true })\n\t\t} else {\n\t\t\tthis.clickTimeStamp = event.timeStamp\n\t\t\tthis.timer = window.setTimeout(() => {\n\t\t\t\tthis.clickTimeStamp = undefined\n\t\t\t}, 2000)\n\t\t}\n\t}\n\n\trender(): VNode | VNode[] {\n\t\treturn (\n\t\t\t<Host warning={this.clickTimeStamp}>\n\t\t\t\t<smoothly-button\n\t\t\t\t\tfill={this.fill}\n\t\t\t\t\texpand={this.expand}\n\t\t\t\t\tsize={this.size}\n\t\t\t\t\tshape={this.shape}\n\t\t\t\t\tcolor={\"warning\"}\n\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\ttype={\"button\"}\n\t\t\t\t\tonClick={event => this.clickHandler(event)}>\n\t\t\t\t\t<smoothly-icon\n\t\t\t\t\t\tname={\"alert-outline\"}\n\t\t\t\t\t\tfill={this.fill}\n\t\t\t\t\t\tcolor=\"warning\"\n\t\t\t\t\t\tsize={this.size === \"icon\" ? \"tiny\" : \"small\"}\n\t\t\t\t\t/>\n\t\t\t\t</smoothly-button>\n\t\t\t\t<smoothly-button\n\t\t\t\t\tfill={this.fill}\n\t\t\t\t\texpand={this.expand}\n\t\t\t\t\tsize={this.size}\n\t\t\t\t\tshape={this.shape}\n\t\t\t\t\tcolor={this.color}\n\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\ttype={\"button\"}\n\t\t\t\t\tonClick={event => this.clickHandler(event)}>\n\t\t\t\t\t<slot />\n\t\t\t\t</smoothly-button>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
@@ -5,9 +5,9 @@ import './p-390767c7.js';
5
5
  import './p-47ea6b68.js';
6
6
  import { E as Editable } from './p-78dd098c.js';
7
7
  import { S as Submittable } from './p-66744584.js';
8
- import { d as defineCustomElement$3 } from './p-0eacf5f4.js';
9
- import { d as defineCustomElement$2 } from './p-a4614623.js';
10
- import { d as defineCustomElement$1 } from './p-e6eca6ea.js';
8
+ import { d as defineCustomElement$3 } from './p-c98922f4.js';
9
+ import { d as defineCustomElement$2 } from './p-e5627b06.js';
10
+ import { d as defineCustomElement$1 } from './p-a09be6d8.js';
11
11
 
12
12
  const styleCss = "[color=default].sc-smoothly-input-submit{--smoothly-color:var(--smoothly-default-color);--smoothly-color-contrast:var(--smoothly-default-contrast);--smoothly-color-shade:var(--smoothly-default-shade);--smoothly-color-tint:var(--smoothly-default-tint)}[color=primary].sc-smoothly-input-submit{--smoothly-color:var(--smoothly-primary-color);--smoothly-color-contrast:var(--smoothly-primary-contrast);--smoothly-color-shade:var(--smoothly-primary-shade);--smoothly-color-tint:var(--smoothly-primary-tint)}[color=secondary].sc-smoothly-input-submit{--smoothly-color:var(--smoothly-secondary-color);--smoothly-color-contrast:var(--smoothly-secondary-contrast);--smoothly-color-shade:var(--smoothly-secondary-shade);--smoothly-color-tint:var(--smoothly-secondary-tint)}[color=tertiary].sc-smoothly-input-submit{--smoothly-color:var(--smoothly-tertiary-color);--smoothly-color-contrast:var(--smoothly-tertiary-contrast);--smoothly-color-shade:var(--smoothly-tertiary-shade);--smoothly-color-tint:var(--smoothly-tertiary-tint)}[color=success].sc-smoothly-input-submit{--smoothly-color:var(--smoothly-success-color);--smoothly-color-contrast:var(--smoothly-success-contrast);--smoothly-color-shade:var(--smoothly-success-shade);--smoothly-color-tint:var(--smoothly-success-tint)}[color=warning].sc-smoothly-input-submit{--smoothly-color:var(--smoothly-warning-color);--smoothly-color-contrast:var(--smoothly-warning-contrast);--smoothly-color-shade:var(--smoothly-warning-shade);--smoothly-color-tint:var(--smoothly-warning-tint)}[color=danger].sc-smoothly-input-submit{--smoothly-color:var(--smoothly-danger-color);--smoothly-color-contrast:var(--smoothly-danger-contrast);--smoothly-color-shade:var(--smoothly-danger-shade);--smoothly-color-tint:var(--smoothly-danger-tint)}[color=light].sc-smoothly-input-submit{--smoothly-color:var(--smoothly-light-color);--smoothly-color-contrast:var(--smoothly-light-contrast);--smoothly-color-shade:var(--smoothly-light-shade);--smoothly-color-tint:var(--smoothly-light-tint)}[color=medium].sc-smoothly-input-submit{--smoothly-color:var(--smoothly-medium-color);--smoothly-color-contrast:var(--smoothly-medium-contrast);--smoothly-color-shade:var(--smoothly-medium-shade);--smoothly-color-tint:var(--smoothly-medium-tint)}[color=dark].sc-smoothly-input-submit{--smoothly-color:var(--smoothly-dark-color);--smoothly-color-contrast:var(--smoothly-dark-contrast);--smoothly-color-shade:var(--smoothly-dark-shade);--smoothly-color-tint:var(--smoothly-dark-tint)}.sc-smoothly-input-submit-h{--smoothly-button-border-radius:0.5rem;display:inline-block;box-sizing:border-box;border-radius:var(--smoothly-button-border-radius);cursor:pointer;border:none;outline:none;position:relative}[shape=rounded].sc-smoothly-input-submit-h{--smoothly-button-border-radius:2rem}[type=link].sc-smoothly-input-submit-h{display:inline}[disabled].sc-smoothly-input-submit-h{opacity:0.5;pointer-events:none}.sc-smoothly-input-submit-h>a.sc-smoothly-input-submit,.sc-smoothly-input-submit-h>button.sc-smoothly-input-submit{font-size:110%;font-weight:400;border:1px solid transparent;outline:none;background-color:transparent;cursor:pointer;display:inline-flex;gap:0.5rem;box-sizing:border-box}.sc-smoothly-input-submit-h>a.sc-smoothly-input-submit:empty,.sc-smoothly-input-submit-h>button.sc-smoothly-input-submit:empty{border-width:0}.sc-smoothly-input-submit-h>button.sc-smoothly-input-submit{font-weight:bold;justify-content:center;height:100%;width:100%;border-radius:var(--smoothly-button-border-radius);align-items:center}.sc-smoothly-input-submit-h:not([size=icon]):not([size=flexible])>button.sc-smoothly-input-submit{padding:0.8em;min-width:8em}.sc-smoothly-input-submit-h:not([size=icon]):not([size=flexible]):has(smoothly-icon)>button.sc-smoothly-input-submit{padding:0.6em}[size=icon].sc-smoothly-input-submit-h>button.sc-smoothly-input-submit{padding:0.5em}[type=button].sc-smoothly-input-submit-h>a.sc-smoothly-input-submit{text-align:center;text-decoration:inherit;width:calc(100% - 0.6em)}[size=small].sc-smoothly-input-submit-h>button.sc-smoothly-input-submit{font-size:100%}[size=large].sc-smoothly-input-submit-h>button.sc-smoothly-input-submit{font-size:130%}.sc-smoothly-input-submit-h:not([size=icon]){min-width:8em}[size=flexible].sc-smoothly-input-submit-h{min-width:unset;padding:0;margin:0;display:flex;justify-content:center;align-items:center}[size=flexible].sc-smoothly-input-submit-h>button.sc-smoothly-input-submit{min-width:unset;padding:0;margin:0}[expand].sc-smoothly-input-submit-h{width:100%}[expand=full].sc-smoothly-input-submit-h{border-left:none;border-right:none;--smoothly-button-border-radius:0}[fill=outline].sc-smoothly-input-submit-h>button.sc-smoothly-input-submit{background-color:transparent;color:rgb(var(--smoothly-button-foreground));fill:rgb(var(--smoothly-button-foreground));stroke:rgb(var(--smoothly-button-foreground));border-color:rgb(var(--smoothly-button-foreground))}.sc-smoothly-input-submit-h:not([fill=clear])>button.sc-smoothly-input-submit:hover,.sc-smoothly-input-submit-h>button.sc-smoothly-input-submit:focus-visible,[fill=outline].sc-smoothly-input-submit-h:active>button.sc-smoothly-input-submit::before{border-color:rgb(var(--smoothly-button-focus-color))}[fill=outline].sc-smoothly-input-submit-h>button.sc-smoothly-input-submit:hover::before,[fill=outline].sc-smoothly-input-submit-h>button.sc-smoothly-input-submit:focus-within::before,[fill=outline].sc-smoothly-input-submit-h>button.sc-smoothly-input-submit:active::before{content:\"\";position:absolute;border:2px solid rgb(var(--smoothly-button-focus-border));inset:-1px;border-radius:var(--smoothly-button-border-radius)}.sc-smoothly-input-submit-h:not([fill=clear]):not([fill=outline])>button.sc-smoothly-input-submit:hover,.sc-smoothly-input-submit-h:not([fill=clear]):not([fill=outline])>button.sc-smoothly-input-submit:focus-visible,.sc-smoothly-input-submit-h:not([fill=clear]):not([fill=outline])>button.sc-smoothly-input-submit:active{background:rgb(var(--smoothly-button-hover-background))}.sc-smoothly-input-submit-h>button.sc-smoothly-input-submit,.sc-smoothly-input-submit-h.sc-smoothly-input-submit-s>smoothly-icon,.sc-smoothly-input-submit-h .sc-smoothly-input-submit-s>smoothly-icon{color:rgb(var(--smoothly-button-foreground));stroke:rgb(var(--smoothly-button-foreground));fill:rgb(var(--smoothly-button-foreground))}[hidden].sc-smoothly-input-submit-h{display:none}.sc-smoothly-input-submit-h{display:flex}.sc-smoothly-input-submit-h:not([display]){display:none}.sc-smoothly-input-submit-h.sc-smoothly-input-submit-s>smoothly-button button>*+smoothly-icon,.sc-smoothly-input-submit-h.sc-smoothly-input-submit-s>smoothly-button-confirm button>*+smoothly-icon{display:none}[disabled].sc-smoothly-input-submit-h{cursor:not-allowed}";
13
13
  const SmoothlyInputSubmitStyle0 = styleCss;
@@ -50,7 +50,7 @@ const SmoothlyInputSubmit = proxyCustomElement(class SmoothlyInputSubmit extends
50
50
  }
51
51
  render() {
52
52
  var _a, _b;
53
- return (h(Host, { key: '5c8b92761756007ece453dd533f33bcaa5f0e95f', 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" })))));
53
+ return (h(Host, { key: '6275b8a59180dfe1a6c9ffe1c251a4bd2fdb1f3d', 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" })))));
54
54
  }
55
55
  static get style() { return SmoothlyInputSubmitStyle0; }
56
56
  }, [6, "smoothly-input-submit", {
@@ -97,4 +97,4 @@ defineCustomElement();
97
97
 
98
98
  export { SmoothlyInputSubmit as S, defineCustomElement as d };
99
99
 
100
- //# sourceMappingURL=p-5bee4bdc.js.map
100
+ //# sourceMappingURL=p-e9e71692.js.map
@@ -1 +1 @@
1
- {"file":"p-5bee4bdc.js","mappings":";;;;;;;;;;;AAAA,MAAM,QAAQ,GAAG,6nNAA6nN,CAAC;AAC/oN,kCAAe,QAAQ;;MCUV,mBAAmB;;;;;sBAEG,KAAK;;oBAEV,mBAAmB;;;wBAGG,KAAK;uBACN,KAAK;;oBAEkB,MAAM;uBAC7D,IAAI,CAAC,MAAM,GAAG,QAAQ,GAAG,QAAQ;;IAEnD,iBAAiB;QAChB,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,MAAM;YACjC,IAAI,WAAW,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE;gBACvD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;gBACpB,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE,OAAM,CAAC;;oBAC/B,IAAI,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC,QAAQ,CAAA;oBAC1B,IAAI,CAAC,QAAQ;wBACZ,CAAC,IAAI,CAAC,MAAM;6BACX,CAAC,CAAC,QAAQ;iCACT,WAAW,IAAI,CAAC,IAAI,CAAC,CAAC,SAAS,YAAYA,IAAS,IAAI,EAAC,MAAA,CAAC,CAAC,SAAS,0CAAE,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAA,CAAC;gCACvG,CAAC,CAAC,CAAC,OAAO,CAAC,CAAA;iBACb,CAAC,CAAA;aACF;SACD,CAAC,CAAA;KACF;IACD,YAAY;;QACX,MAAA,IAAI,CAAC,MAAM,0CAAE,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;KAChC;IAED,MAAM;;QACL,QACC,EAAC,IAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,OAAO,IACvB,IAAI,CAAC,MAAM,IAAI,IAAI,IACnB,+BACC,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,KAAK,EAAE,MAAA,IAAI,CAAC,KAAK,mCAAI,QAAQ,EAC7B,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,iBAAiB,EAAE,MAAM,IAAI,CAAC,YAAY,EAAE,IAC5C,eAAQ,EACR,qBAAe,IAAI,EAAC,eAAe,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,MAAM,GAAG,CACtC,KAE1B,uBACC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,IAAI,EAAE,QAAQ,EACd,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,KAAK,EAAE,MAAA,IAAI,CAAC,KAAK,mCAAI,SAAS,EAC9B,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,OAAO,EAAE,MAAM,IAAI,CAAC,YAAY,EAAE,IAClC,eAAQ,EACP,IAAI,CAAC,IAAI,IAAI,qBAAe,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,MAAM,GAAG,CACxD,CAClB,CACK,EACP;KACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["isly.Type"],"sources":["src/components/input/submit/style.css?tag=smoothly-input-submit&encapsulation=scoped","src/components/input/submit/index.tsx"],"sourcesContent":["@import \"../../button/style.css\"; \n\n:host {\n\tdisplay: flex;\n}\n\n:host(:not([display])) {\n\tdisplay: none;\n}\n\n:host::slotted(smoothly-button button > * > * + smoothly-icon),\n:host::slotted(smoothly-button-confirm button > * > * + smoothly-icon) {\n\tdisplay: none;\n}\n\n:host([disabled]) {\n\tcursor: not-allowed\n}\n","import { Component, ComponentWillLoad, Event, EventEmitter, h, Host, Prop, VNode } from \"@stencil/core\"\nimport { isly } from \"isly\"\nimport { Color, Data, Fill, Icon } from \"../../../model\"\nimport { Editable } from \"../Editable\"\nimport { Submittable } from \"../Submittable\"\n\n@Component({\n\ttag: \"smoothly-input-submit\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyInputSubmit implements ComponentWillLoad {\n\tprivate parent?: Submittable & Editable\n\t@Prop({ reflect: true }) delete = false\n\t@Prop() color?: Color\n\t@Prop() icon: Icon | false = \"checkmark-outline\"\n\t@Prop({ reflect: true }) expand?: \"block\" | \"full\"\n\t@Prop({ reflect: true }) fill?: Fill\n\t@Prop({ reflect: true, mutable: true }) disabled = false\n\t@Prop({ reflect: true, mutable: true }) display = false\n\t@Prop({ reflect: true }) shape?: \"rounded\"\n\t@Prop({ reflect: true }) size: \"flexible\" | \"small\" | \"large\" | \"icon\" = \"icon\"\n\t@Prop() toolTip = this.delete ? \"Remove\" : \"Submit\"\n\t@Event() smoothlyInputLoad: EventEmitter<(parent: Editable) => void>\n\tcomponentWillLoad(): void {\n\t\tthis.smoothlyInputLoad.emit(parent => {\n\t\t\tif (Submittable.is(parent) && Editable.type.is(parent)) {\n\t\t\t\tthis.parent = parent\n\t\t\t\tparent.listen(\"changed\", async p => {\n\t\t\t\t\tthis.display = !p.readonly\n\t\t\t\t\tthis.disabled =\n\t\t\t\t\t\t!this.delete &&\n\t\t\t\t\t\t(p.readonly ||\n\t\t\t\t\t\t\t(\"validator\" in p && p.validator instanceof isly.Type && !p.validator?.is(Data.convertArrays(p.value))) ||\n\t\t\t\t\t\t\t!p.changed)\n\t\t\t\t})\n\t\t\t}\n\t\t})\n\t}\n\tclickHandler() {\n\t\tthis.parent?.submit(this.delete)\n\t}\n\n\trender(): VNode | VNode[] {\n\t\treturn (\n\t\t\t<Host title={this.toolTip}>\n\t\t\t\t{this.delete == true ? (\n\t\t\t\t\t<smoothly-button-confirm\n\t\t\t\t\t\tsize={this.size}\n\t\t\t\t\t\tshape={this.shape}\n\t\t\t\t\t\texpand={this.expand}\n\t\t\t\t\t\tcolor={this.color ?? \"danger\"}\n\t\t\t\t\t\tfill={this.fill}\n\t\t\t\t\t\tonSmoothlyConfirm={() => this.clickHandler()}>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t\t<smoothly-icon name=\"trash-outline\" fill=\"solid\" size=\"tiny\" />\n\t\t\t\t\t</smoothly-button-confirm>\n\t\t\t\t) : (\n\t\t\t\t\t<smoothly-button\n\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\tsize={this.size}\n\t\t\t\t\t\ttype={\"button\"}\n\t\t\t\t\t\tshape={this.shape}\n\t\t\t\t\t\texpand={this.expand}\n\t\t\t\t\t\tcolor={this.color ?? \"success\"}\n\t\t\t\t\t\tfill={this.fill}\n\t\t\t\t\t\tonClick={() => this.clickHandler()}>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t\t{this.icon && <smoothly-icon name={this.icon} fill=\"solid\" size=\"tiny\" />}\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
1
+ {"file":"p-e9e71692.js","mappings":";;;;;;;;;;;AAAA,MAAM,QAAQ,GAAG,6nNAA6nN,CAAC;AAC/oN,kCAAe,QAAQ;;MCUV,mBAAmB;;;;;sBAEG,KAAK;;oBAEV,mBAAmB;;;wBAGG,KAAK;uBACN,KAAK;;oBAEkB,MAAM;uBAC7D,IAAI,CAAC,MAAM,GAAG,QAAQ,GAAG,QAAQ;;IAEnD,iBAAiB;QAChB,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,MAAM;YACjC,IAAI,WAAW,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE;gBACvD,IAAI,CAAC,MAAM,GAAG,MAAM,CA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EAAE,MAAA,IAAI,CAAC,KAAK,mCAAI,SAAS,EAC9B,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,OAAO,EAAE,MAAM,IAAI,CAAC,YAAY,EAAE,IAClC,eAAQ,EACP,IAAI,CAAC,IAAI,IAAI,qBAAe,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,MAAM,GAAG,CACxD,CAClB,CACK,EACP;KACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["isly.Type"],"sources":["src/components/input/submit/style.css?tag=smoothly-input-submit&encapsulation=scoped","src/components/input/submit/index.tsx"],"sourcesContent":["@import \"../../button/style.css\"; \n\n:host {\n\tdisplay: flex;\n}\n\n:host(:not([display])) {\n\tdisplay: none;\n}\n\n:host::slotted(smoothly-button button > * > * + smoothly-icon),\n:host::slotted(smoothly-button-confirm button > * > * + smoothly-icon) {\n\tdisplay: none;\n}\n\n:host([disabled]) {\n\tcursor: not-allowed\n}\n","import { Component, ComponentWillLoad, Event, EventEmitter, h, Host, Prop, VNode } from \"@stencil/core\"\nimport { isly } from \"isly\"\nimport { Color, Data, Fill, Icon } from \"../../../model\"\nimport { Editable } from \"../Editable\"\nimport { Submittable } from \"../Submittable\"\n\n@Component({\n\ttag: \"smoothly-input-submit\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyInputSubmit implements ComponentWillLoad {\n\tprivate parent?: Submittable & Editable\n\t@Prop({ reflect: true }) delete = false\n\t@Prop() color?: Color\n\t@Prop() icon: Icon | false = \"checkmark-outline\"\n\t@Prop({ reflect: true }) expand?: \"block\" | \"full\"\n\t@Prop({ reflect: true }) fill?: Fill\n\t@Prop({ reflect: true, mutable: true }) disabled = false\n\t@Prop({ reflect: true, mutable: true }) display = false\n\t@Prop({ reflect: true }) shape?: \"rounded\"\n\t@Prop({ reflect: true }) size: \"flexible\" | \"small\" | \"large\" | \"icon\" = \"icon\"\n\t@Prop() toolTip = this.delete ? \"Remove\" : \"Submit\"\n\t@Event() smoothlyInputLoad: EventEmitter<(parent: Editable) => void>\n\tcomponentWillLoad(): void {\n\t\tthis.smoothlyInputLoad.emit(parent => {\n\t\t\tif (Submittable.is(parent) && Editable.type.is(parent)) {\n\t\t\t\tthis.parent = parent\n\t\t\t\tparent.listen(\"changed\", async p => {\n\t\t\t\t\tthis.display = !p.readonly\n\t\t\t\t\tthis.disabled =\n\t\t\t\t\t\t!this.delete &&\n\t\t\t\t\t\t(p.readonly ||\n\t\t\t\t\t\t\t(\"validator\" in p && p.validator instanceof isly.Type && !p.validator?.is(Data.convertArrays(p.value))) ||\n\t\t\t\t\t\t\t!p.changed)\n\t\t\t\t})\n\t\t\t}\n\t\t})\n\t}\n\tclickHandler() {\n\t\tthis.parent?.submit(this.delete)\n\t}\n\n\trender(): VNode | VNode[] {\n\t\treturn (\n\t\t\t<Host title={this.toolTip}>\n\t\t\t\t{this.delete == true ? (\n\t\t\t\t\t<smoothly-button-confirm\n\t\t\t\t\t\tsize={this.size}\n\t\t\t\t\t\tshape={this.shape}\n\t\t\t\t\t\texpand={this.expand}\n\t\t\t\t\t\tcolor={this.color ?? \"danger\"}\n\t\t\t\t\t\tfill={this.fill}\n\t\t\t\t\t\tonSmoothlyConfirm={() => this.clickHandler()}>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t\t<smoothly-icon name=\"trash-outline\" fill=\"solid\" size=\"tiny\" />\n\t\t\t\t\t</smoothly-button-confirm>\n\t\t\t\t) : (\n\t\t\t\t\t<smoothly-button\n\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\tsize={this.size}\n\t\t\t\t\t\ttype={\"button\"}\n\t\t\t\t\t\tshape={this.shape}\n\t\t\t\t\t\texpand={this.expand}\n\t\t\t\t\t\tcolor={this.color ?? \"success\"}\n\t\t\t\t\t\tfill={this.fill}\n\t\t\t\t\t\tonClick={() => this.clickHandler()}>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t\t{this.icon && <smoothly-icon name={this.icon} fill=\"solid\" size=\"tiny\" />}\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
@@ -1,17 +1,17 @@
1
1
  import { p as proxyCustomElement, H, h, d as Host } from './p-f765921a.js';
2
- import { d as defineCustomElement$d } from './p-11cc925c.js';
3
- import { d as defineCustomElement$c } from './p-ff99dcde.js';
4
- import { d as defineCustomElement$b } from './p-51cb1946.js';
5
- import { d as defineCustomElement$a } from './p-21601376.js';
6
- import { d as defineCustomElement$9 } from './p-d9989605.js';
7
- import { d as defineCustomElement$8 } from './p-cf692cc2.js';
8
- import { d as defineCustomElement$7 } from './p-1f5357e1.js';
9
- import { d as defineCustomElement$6 } from './p-33087585.js';
10
- import { d as defineCustomElement$5 } from './p-28a3024e.js';
11
- import { d as defineCustomElement$4 } from './p-e2ff40ce.js';
12
- import { d as defineCustomElement$3 } from './p-a6abef9e.js';
13
- import { d as defineCustomElement$2 } from './p-2de92429.js';
14
- import { d as defineCustomElement$1 } from './p-04799383.js';
2
+ import { d as defineCustomElement$d } from './p-065cbcf5.js';
3
+ import { d as defineCustomElement$c } from './p-b235b5aa.js';
4
+ import { d as defineCustomElement$b } from './p-d3c8be66.js';
5
+ import { d as defineCustomElement$a } from './p-5bf78c75.js';
6
+ import { d as defineCustomElement$9 } from './p-d8bd7cc0.js';
7
+ import { d as defineCustomElement$8 } from './p-5e242cbd.js';
8
+ import { d as defineCustomElement$7 } from './p-ca85bc1d.js';
9
+ import { d as defineCustomElement$6 } from './p-fec4d798.js';
10
+ import { d as defineCustomElement$5 } from './p-98440131.js';
11
+ import { d as defineCustomElement$4 } from './p-07d9e68a.js';
12
+ import { d as defineCustomElement$3 } from './p-b74838fd.js';
13
+ import { d as defineCustomElement$2 } from './p-49837ba2.js';
14
+ import { d as defineCustomElement$1 } from './p-2bbb8f53.js';
15
15
 
16
16
  const styleCss = ".sc-smoothly-table-demo-colspan-h{display:block}.sc-smoothly-table-demo-colspan-h smoothly-display.sc-smoothly-table-demo-colspan{display:inline}";
17
17
  const SmoothlyTableDemoColspanStyle0 = styleCss;
@@ -22,7 +22,7 @@ const SmoothlyTableDemoColspan = proxyCustomElement(class SmoothlyTableDemoColsp
22
22
  this.__registerHost();
23
23
  }
24
24
  render() {
25
- return (h(Host, { key: '52a60c5b7897b5c62e3accb439c3015df87c5726' }, h("smoothly-table", { key: '47b3f1fbc81e9d8228cf3a0cfae13cc128bdabdb', columns: 3 }, h("smoothly-table-head", { key: '0473090ae8a09e024d3f8729e4f17f5dcd52f581' }, h("smoothly-table-row", { key: 'f92c603b53912109b94e9e371fd2c5fae0c550db' }, h("smoothly-table-cell", { key: 'df62d09721b0f7bf5f3e246baf96969bab4cfb7d' }, "Date"), h("smoothly-table-cell", { key: '4af65c6e059e4c26a58882396c8c87aac19b2578' }, "Skip"), h("smoothly-table-cell", { key: '05dc66e7bb0d3f11ca0fffd6eecd7e32958118fa' }, "Total"))), h("smoothly-table-body", { key: 'c3f452ef201d714624c9849c443b26c7799e6374' }, h("smoothly-table-row", { key: 'b14aeaa8b8f23cc6f16e60bca382b8e33c282632' }, h("smoothly-table-cell", { key: 'ecd28f52a9ccf616098a026cf8a587f15dded411', span: 2 }, h("smoothly-display", { key: '0d0354908dea64d4b59e5cca0cab93d3003e7b8d', type: "date", value: "2024-01-01" })), h("smoothly-table-cell", { key: '3e08f587933f153cc27c034170f6529bfa8198ed' }, h("smoothly-display", { key: 'b22b375f6181cbb05e651b34844720a131f7f2eb', type: "price", value: 120, currency: "EUR" }))), h("smoothly-table-row", { key: 'a44a3587308ff7aa181faf9109246d1e69138c93' }, h("smoothly-table-expandable-cell", { key: 'c2a3e2e9b9a66e4837ea4ee7727720d1b7caf336', span: 2 }, h("smoothly-display", { key: 'eeb70f7444fd6cc95641ba80230104d21d207aa2', type: "date", value: "2024-01-02" }), h("smoothly-lazy", { key: '28e0a1be13c4580cd7459e63d57295872a83c1e2', slot: "detail", content: h("smoothly-display", { type: "date-time", value: "2024-01-02T13:37:00.000Z" }) })), h("smoothly-table-expandable-cell", { key: '0fc19b4ca2e81e91004bdbbdc76130aa02b19076' }, h("smoothly-display", { key: '7e82f526773b50d8be3cd435e3599bc52e2943af', type: "price", value: 220, currency: "EUR" }), h("smoothly-lazy", { key: '5321d3c3d733e6c1fa1610d2f18fb42858c08b48', 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: '117fd7a049aee712ed0dbeb9810a94baf887eca8' }, h("smoothly-table-cell", { key: '3a149155a5fe80f1cb8f7b43e566743b26ce0db0' }, h("smoothly-display", { key: '87688bcea53a58823bf2785605497fc37eb483e3', type: "date", value: "2024-01-02" })), h("smoothly-table-cell", { key: '0967becc93a1908abb519ffa15de55a275553729' }, "Not Skipped"), h("smoothly-table-cell", { key: '4357c37ccd914e1fae027cedb8fd70da12555d11' }, h("smoothly-display", { key: 'd271dc5bc6110639bcc915bd67242d44138ce44a', type: "price", value: 320, currency: "EUR" })))))));
25
+ return (h(Host, { key: 'f3c409f0b6f43da04fbe409c7ed7ebadf5c94799' }, h("smoothly-table", { key: '54b821e2e4524e7eecda98229df2319fc48c7724', columns: 3 }, h("smoothly-table-head", { key: '422385fdbb992c1d32cd6c8d0876d550f615f0c6' }, h("smoothly-table-row", { key: '2ad82993c654b485c79962b606eff1953644670c' }, h("smoothly-table-cell", { key: 'f8f42a802e34b3695d04e2de59a99b49c6192ecf' }, "Date"), h("smoothly-table-cell", { key: '79681fd1fe78adb229aaf3071ae51ba8161c7ba0' }, "Skip"), h("smoothly-table-cell", { key: '311219701e89b0ea46cac7c9e7334eb3eabc5501' }, "Total"))), h("smoothly-table-body", { key: '75a1ec1e2629ed1220673b48adca3189617f7443' }, h("smoothly-table-row", { key: '49295b1e8cbbf145ecca779851285e14665dff56' }, h("smoothly-table-cell", { key: '456af9cb2a8f86b7a63890fe8f5e8f581915be33', span: 2 }, h("smoothly-display", { key: 'e7031f02b0b241830e60bfd811757db862305df9', type: "date", value: "2024-01-01" })), h("smoothly-table-cell", { key: 'fb2be68daaa5221b44c7e3db0b55ac899c40acdd' }, h("smoothly-display", { key: '086f117daf113001597da48844df96f22d631b7f', type: "price", value: 120, currency: "EUR" }))), h("smoothly-table-row", { key: '97a1254a17a62dd45b82290c6bf4fef2853d7907' }, h("smoothly-table-expandable-cell", { key: 'c44e6b35ef42095c057c84696b536e9dddad3027', span: 2 }, h("smoothly-display", { key: '13a7b5c6d3defc5aa8d48f238f3de47e09a5ee2c', type: "date", value: "2024-01-02" }), h("smoothly-lazy", { key: '1278a07efc56a1bcd4360a2de22c0f014ed343cc', slot: "detail", content: h("smoothly-display", { type: "date-time", value: "2024-01-02T13:37:00.000Z" }) })), h("smoothly-table-expandable-cell", { key: '2f6cdd2a7cfcb741ed0d8ff8e2aa64d6221d42df' }, h("smoothly-display", { key: '5d716640836a1e215802d0584a894bd1b69633d2', type: "price", value: 220, currency: "EUR" }), h("smoothly-lazy", { key: '1f2d1719387d09873db7affab6b4989253e5d46b', 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: 'b2a3418c23c1563a518b563b9308e2ab1be21bb0' }, h("smoothly-table-cell", { key: 'f095ecfb75a74fd65fc7d0c20104947d02dd9864' }, h("smoothly-display", { key: 'b6ab78cc06b647366d9da976a220d186cb10c949', type: "date", value: "2024-01-02" })), h("smoothly-table-cell", { key: 'a5b5a5c7b8b01c5ba52fbd8ecb45ba5ab109120d' }, "Not Skipped"), h("smoothly-table-cell", { key: '9803423aab3535613a0b812b94b62f618a832443' }, h("smoothly-display", { key: '1a2f69afa1560deb43141bf1e62b47e324e9053f', type: "price", value: 320, currency: "EUR" })))))));
26
26
  }
27
27
  static get style() { return SmoothlyTableDemoColspanStyle0; }
28
28
  }, [2, "smoothly-table-demo-colspan"]);
@@ -108,4 +108,4 @@ defineCustomElement();
108
108
 
109
109
  export { SmoothlyTableDemoColspan as S, defineCustomElement as d };
110
110
 
111
- //# sourceMappingURL=p-e87aacc3.js.map
111
+ //# sourceMappingURL=p-ea4cee14.js.map
@@ -1 +1 @@
1
- {"file":"p-e87aacc3.js","mappings":";;;;;;;;;;;;;;;AAAA,MAAM,QAAQ,GAAG,mJAAmJ,CAAC;AACrK,uCAAe,QAAQ;;MCMV,wBAAwB;;;;;IACpC,MAAM;QACL,QACC,EAAC,IAAI,uDACJ,uEAAgB,OAAO,EAAE,CAAC,IACzB,8EACC,6EACC,qFAA+C,EAC/C,qFAA+C,EAC/C,sFAAgD,CAC5B,CACA,EACtB,8EACC,6EACC,4EAAqB,IAAI,EAAE,CAAC,IAC3B,yEAAkB,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY,GAAI,CAClC,EACtB,8EACC,yEAAkB,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,GAAI,CAC3C,CACF,EACrB,6EACC,uFAAgC,IAAI,EAAE,CAAC,IACtC,yEAAkB,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY,GAAI,EACvD,sEACC,IAAI,EAAE,QAAQ,EACd,OAAO,EAAE,wBAAkB,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,0BAA0B,GAAI,GAClF,CAC8B,EACjC,yFACC,yEAAkB,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,GAAI,EAChE,sEACC,IAAI,EAAE,QAAQ,EACd,OAAO,EACN,gBACC,wBAAkB,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,GAAI,EAC/D,KAAK,EACN,wBAAkB,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,GAAI,CAC1D,GAEP,CAC8B,CACb,EACrB,6EACC,8EACC,yEAAkB,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY,GAAI,CAClC,EACtB,4FAAsD,EACtD,8EACC,yEAAkB,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,GAAI,CAC3C,CACF,CACA,CACN,CACX,EACP;KACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/table/demo/colspan/style.css?tag=smoothly-table-demo-colspan&encapsulation=scoped","src/components/table/demo/colspan/index.tsx"],"sourcesContent":[":host {\n\tdisplay: block;\n}\n:host smoothly-display {\n\tdisplay: inline;\n}\n","import { Component, h, Host, VNode } from \"@stencil/core\"\n\n@Component({\n\ttag: \"smoothly-table-demo-colspan\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyTableDemoColspan {\n\trender(): VNode | VNode[] {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<smoothly-table columns={3}>\n\t\t\t\t\t<smoothly-table-head>\n\t\t\t\t\t\t<smoothly-table-row>\n\t\t\t\t\t\t\t<smoothly-table-cell>Date</smoothly-table-cell>\n\t\t\t\t\t\t\t<smoothly-table-cell>Skip</smoothly-table-cell>\n\t\t\t\t\t\t\t<smoothly-table-cell>Total</smoothly-table-cell>\n\t\t\t\t\t\t</smoothly-table-row>\n\t\t\t\t\t</smoothly-table-head>\n\t\t\t\t\t<smoothly-table-body>\n\t\t\t\t\t\t<smoothly-table-row>\n\t\t\t\t\t\t\t<smoothly-table-cell span={2}>\n\t\t\t\t\t\t\t\t<smoothly-display type={\"date\"} value={\"2024-01-01\"} />\n\t\t\t\t\t\t\t</smoothly-table-cell>\n\t\t\t\t\t\t\t<smoothly-table-cell>\n\t\t\t\t\t\t\t\t<smoothly-display type={\"price\"} value={120} currency={\"EUR\"} />\n\t\t\t\t\t\t\t</smoothly-table-cell>\n\t\t\t\t\t\t</smoothly-table-row>\n\t\t\t\t\t\t<smoothly-table-row>\n\t\t\t\t\t\t\t<smoothly-table-expandable-cell span={2}>\n\t\t\t\t\t\t\t\t<smoothly-display type={\"date\"} value={\"2024-01-02\"} />\n\t\t\t\t\t\t\t\t<smoothly-lazy\n\t\t\t\t\t\t\t\t\tslot={\"detail\"}\n\t\t\t\t\t\t\t\t\tcontent={<smoothly-display type={\"date-time\"} value={\"2024-01-02T13:37:00.000Z\"} />}\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t</smoothly-table-expandable-cell>\n\t\t\t\t\t\t\t<smoothly-table-expandable-cell>\n\t\t\t\t\t\t\t\t<smoothly-display type={\"price\"} value={220} currency={\"EUR\"} />\n\t\t\t\t\t\t\t\t<smoothly-lazy\n\t\t\t\t\t\t\t\t\tslot={\"detail\"}\n\t\t\t\t\t\t\t\t\tcontent={\n\t\t\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\t\t\t\t<smoothly-display type={\"price\"} value={120} currency={\"EUR\"} />\n\t\t\t\t\t\t\t\t\t\t\t{\" + \"}\n\t\t\t\t\t\t\t\t\t\t\t<smoothly-display type={\"price\"} value={100} currency={\"EUR\"} />\n\t\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t</smoothly-table-expandable-cell>\n\t\t\t\t\t\t</smoothly-table-row>\n\t\t\t\t\t\t<smoothly-table-row>\n\t\t\t\t\t\t\t<smoothly-table-cell>\n\t\t\t\t\t\t\t\t<smoothly-display type={\"date\"} value={\"2024-01-02\"} />\n\t\t\t\t\t\t\t</smoothly-table-cell>\n\t\t\t\t\t\t\t<smoothly-table-cell>Not Skipped</smoothly-table-cell>\n\t\t\t\t\t\t\t<smoothly-table-cell>\n\t\t\t\t\t\t\t\t<smoothly-display type={\"price\"} value={320} currency={\"EUR\"} />\n\t\t\t\t\t\t\t</smoothly-table-cell>\n\t\t\t\t\t\t</smoothly-table-row>\n\t\t\t\t\t</smoothly-table-body>\n\t\t\t\t</smoothly-table>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
1
+ {"file":"p-ea4cee14.js","mappings":";;;;;;;;;;;;;;;AAAA,MAAM,QAAQ,GAAG,mJAAmJ,CAAC;AACrK,uCAAe,QAAQ;;MCMV,wBAAwB;;;;;IACpC,MAAM;QACL,QACC,EAAC,IAAI,uDACJ,uEAAgB,OAAO,EAAE,CAAC,IACzB,8EACC,6EACC,qFAA+C,EAC/C,qFAA+C,EAC/C,sFAAgD,CAC5B,CACA,EACtB,8EACC,6EACC,4EAAqB,IAAI,EAAE,CAAC,IAC3B,yEAAkB,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY,GAAI,CAClC,EACtB,8EACC,yEAAkB,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,GAAI,CAC3C,CACF,EACrB,6EACC,uFAAgC,IAAI,EAAE,CAAC,IACtC,yEAAkB,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY,GAAI,EACvD,sEACC,IAAI,EAAE,QAAQ,EACd,OAAO,EAAE,wBAAkB,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,0BAA0B,GAAI,GAClF,CAC8B,EACjC,yFACC,yEAAkB,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,GAAI,EAChE,sEACC,IAAI,EAAE,QAAQ,EACd,OAAO,EACN,gBACC,wBAAkB,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,GAAI,EAC/D,KAAK,EACN,wBAAkB,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,GAAI,CAC1D,GAEP,CAC8B,CACb,EACrB,6EACC,8EACC,yEAAkB,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY,GAAI,CAClC,EACtB,4FAAsD,EACtD,8EACC,yEAAkB,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,GAAI,CAC3C,CACF,CACA,CACN,CACX,EACP;KACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/table/demo/colspan/style.css?tag=smoothly-table-demo-colspan&encapsulation=scoped","src/components/table/demo/colspan/index.tsx"],"sourcesContent":[":host {\n\tdisplay: block;\n}\n:host smoothly-display {\n\tdisplay: inline;\n}\n","import { Component, h, Host, VNode } from \"@stencil/core\"\n\n@Component({\n\ttag: \"smoothly-table-demo-colspan\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyTableDemoColspan {\n\trender(): VNode | VNode[] {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<smoothly-table columns={3}>\n\t\t\t\t\t<smoothly-table-head>\n\t\t\t\t\t\t<smoothly-table-row>\n\t\t\t\t\t\t\t<smoothly-table-cell>Date</smoothly-table-cell>\n\t\t\t\t\t\t\t<smoothly-table-cell>Skip</smoothly-table-cell>\n\t\t\t\t\t\t\t<smoothly-table-cell>Total</smoothly-table-cell>\n\t\t\t\t\t\t</smoothly-table-row>\n\t\t\t\t\t</smoothly-table-head>\n\t\t\t\t\t<smoothly-table-body>\n\t\t\t\t\t\t<smoothly-table-row>\n\t\t\t\t\t\t\t<smoothly-table-cell span={2}>\n\t\t\t\t\t\t\t\t<smoothly-display type={\"date\"} value={\"2024-01-01\"} />\n\t\t\t\t\t\t\t</smoothly-table-cell>\n\t\t\t\t\t\t\t<smoothly-table-cell>\n\t\t\t\t\t\t\t\t<smoothly-display type={\"price\"} value={120} currency={\"EUR\"} />\n\t\t\t\t\t\t\t</smoothly-table-cell>\n\t\t\t\t\t\t</smoothly-table-row>\n\t\t\t\t\t\t<smoothly-table-row>\n\t\t\t\t\t\t\t<smoothly-table-expandable-cell span={2}>\n\t\t\t\t\t\t\t\t<smoothly-display type={\"date\"} value={\"2024-01-02\"} />\n\t\t\t\t\t\t\t\t<smoothly-lazy\n\t\t\t\t\t\t\t\t\tslot={\"detail\"}\n\t\t\t\t\t\t\t\t\tcontent={<smoothly-display type={\"date-time\"} value={\"2024-01-02T13:37:00.000Z\"} />}\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t</smoothly-table-expandable-cell>\n\t\t\t\t\t\t\t<smoothly-table-expandable-cell>\n\t\t\t\t\t\t\t\t<smoothly-display type={\"price\"} value={220} currency={\"EUR\"} />\n\t\t\t\t\t\t\t\t<smoothly-lazy\n\t\t\t\t\t\t\t\t\tslot={\"detail\"}\n\t\t\t\t\t\t\t\t\tcontent={\n\t\t\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\t\t\t\t<smoothly-display type={\"price\"} value={120} currency={\"EUR\"} />\n\t\t\t\t\t\t\t\t\t\t\t{\" + \"}\n\t\t\t\t\t\t\t\t\t\t\t<smoothly-display type={\"price\"} value={100} currency={\"EUR\"} />\n\t\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t</smoothly-table-expandable-cell>\n\t\t\t\t\t\t</smoothly-table-row>\n\t\t\t\t\t\t<smoothly-table-row>\n\t\t\t\t\t\t\t<smoothly-table-cell>\n\t\t\t\t\t\t\t\t<smoothly-display type={\"date\"} value={\"2024-01-02\"} />\n\t\t\t\t\t\t\t</smoothly-table-cell>\n\t\t\t\t\t\t\t<smoothly-table-cell>Not Skipped</smoothly-table-cell>\n\t\t\t\t\t\t\t<smoothly-table-cell>\n\t\t\t\t\t\t\t\t<smoothly-display type={\"price\"} value={320} currency={\"EUR\"} />\n\t\t\t\t\t\t\t</smoothly-table-cell>\n\t\t\t\t\t\t</smoothly-table-row>\n\t\t\t\t\t</smoothly-table-body>\n\t\t\t\t</smoothly-table>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, h, d as Host } from './p-f765921a.js';
2
2
  import { S as Scrollable } from './p-47ea6b68.js';
3
- import { d as defineCustomElement$1 } from './p-e6eca6ea.js';
3
+ import { d as defineCustomElement$1 } from './p-a09be6d8.js';
4
4
 
5
5
  const styleCss = ".sc-smoothly-back-to-top-h{background-color:rgba(var(--smoothly-default-color), 1);opacity:var(--opacity);pointer-events:var(--pointer-events);transition:opacity 400ms;z-index:3;border-radius:50%;box-shadow:var(--smoothly-shadow);height:3rem;width:3rem;position:fixed;bottom:var(--bottom);right:var(--right);outline:none;cursor:pointer;display:flex;justify-content:center;align-items:center}";
6
6
  const SmoothlyBackToTopStyle0 = styleCss;
@@ -29,14 +29,14 @@ const SmoothlyBackToTop = proxyCustomElement(class SmoothlyBackToTop extends H {
29
29
  "--bottom": this.bottom,
30
30
  "--right": this.right,
31
31
  };
32
- return (h(Host, { key: 'b2fe364dcdf392c75b51a6c0bc90802ac2c9b44a', style: cssVariables, onClick: () => {
32
+ return (h(Host, { key: 'baf97943484b567fb756707ac58a22f1445fa91a', style: cssVariables, onClick: () => {
33
33
  var _a;
34
34
  return (_a = this.scrollableParent) === null || _a === void 0 ? void 0 : _a.scrollTo({
35
35
  top: 0,
36
36
  left: 0,
37
37
  behavior: "smooth",
38
38
  });
39
- } }, h("smoothly-icon", { key: 'd0d21c03ed49fcc248ab89c8a5f54de6d3c995ac', name: "caret-up-outline" })));
39
+ } }, h("smoothly-icon", { key: 'd560b65f6c2133406a5dedafb59c5e3c513587b4', name: "caret-up-outline" })));
40
40
  }
41
41
  get element() { return this; }
42
42
  static get style() { return SmoothlyBackToTopStyle0; }
@@ -68,4 +68,4 @@ defineCustomElement();
68
68
 
69
69
  export { SmoothlyBackToTop as S, defineCustomElement as d };
70
70
 
71
- //# sourceMappingURL=p-758edf83.js.map
71
+ //# sourceMappingURL=p-ec3b9004.js.map
@@ -1 +1 @@
1
- {"file":"p-758edf83.js","mappings":";;;;AAAA,MAAM,QAAQ,GAAG,yYAAyY,CAAC;AAC3Z,gCAAe,QAAQ;;MCOV,iBAAiB;;;;uBAGX,KAAK;sBACN,MAAM;qBACP,MAAM;;;IAEtB,iBAAiB;;QAChB,IAAI,CAAC,gBAAgB,GAAG,UAAU,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;QAC3D,MAAA,IAAI,CAAC,gBAAgB,0CAAE,gBAAgB,CAAC,QAAQ,EAAE;;YACjD,IAAI,CAAC,OAAO,GAAG,CAAC,MAAA,MAAA,IAAI,CAAC,gBAAgB,0CAAE,SAAS,mCAAI,CAAC,IAAI,EAAE,CAAA;SAC3D,CAAC,CAAA;KACF;IACD,MAAM;QACL,MAAM,YAAY,GAAG;YACpB,WAAW,EAAE,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,GAAG,GAAG;YAC9C,kBAAkB,EAAE,IAAI,CAAC,OAAO,GAAG,MAAM,GAAG,MAAM;YAClD,UAAU,EAAE,IAAI,CAAC,MAAM;YACvB,SAAS,EAAE,IAAI,CAAC,KAAK;SACrB,CAAA;QACD,QACC,EAAC,IAAI,qDACJ,KAAK,EAAE,YAAY,EACnB,OAAO,EAAE;;gBACR,OAAA,MAAA,IAAI,CAAC,gBAAgB,0CAAE,QAAQ,CAAC;oBAC/B,GAAG,EAAE,CAAC;oBACN,IAAI,EAAE,CAAC;oBACP,QAAQ,EAAE,QAAQ;iBAClB,CAAC,CAAA;aAAA,IAEH,sEAAe,IAAI,EAAC,kBAAkB,GAAG,CACnC,EACP;KACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/back-to-top/style.scss?tag=smoothly-back-to-top&encapsulation=scoped","src/components/back-to-top/index.tsx"],"sourcesContent":[":host {\n\tbackground-color: rgba(var(--smoothly-default-color), 1);\n\topacity: var(--opacity);\n\tpointer-events: var(--pointer-events);\n\ttransition: opacity 400ms;\n\tz-index: 3;\n\tborder-radius: 50%;\n\tbox-shadow: var(--smoothly-shadow);\n\theight: 3rem;\n\twidth: 3rem;\n\tposition: fixed;\n\tbottom: var(--bottom);\n\tright: var(--right);\n\toutline: none;\n\tcursor: pointer;\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n}\n","import { Component, Element, h, Host, Prop, State } from \"@stencil/core\"\nimport { Scrollable } from \"../../model/Scrollable\"\n\n@Component({\n\ttag: \"smoothly-back-to-top\",\n\tstyleUrl: \"style.scss\",\n\tscoped: true,\n})\nexport class SmoothlyBackToTop {\n\tprivate scrollableParent?: HTMLElement\n\t@Element() element: HTMLSmoothlyBackToTopElement\n\t@Prop() opacity = \"0.5\"\n\t@Prop() bottom = \"1rem\"\n\t@Prop() right = \"1rem\"\n\t@State() visible: boolean\n\tcomponentWillLoad() {\n\t\tthis.scrollableParent = Scrollable.findParent(this.element)\n\t\tthis.scrollableParent?.addEventListener(\"scroll\", () => {\n\t\t\tthis.visible = (this.scrollableParent?.scrollTop ?? 0) > 20\n\t\t})\n\t}\n\trender() {\n\t\tconst cssVariables = {\n\t\t\t\"--opacity\": this.visible ? this.opacity : \"0\",\n\t\t\t\"--pointer-events\": this.visible ? \"auto\" : \"none\",\n\t\t\t\"--bottom\": this.bottom,\n\t\t\t\"--right\": this.right,\n\t\t}\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tstyle={cssVariables}\n\t\t\t\tonClick={() =>\n\t\t\t\t\tthis.scrollableParent?.scrollTo({\n\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\tbehavior: \"smooth\",\n\t\t\t\t\t})\n\t\t\t\t}>\n\t\t\t\t<smoothly-icon name=\"caret-up-outline\" />\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
1
+ {"file":"p-ec3b9004.js","mappings":";;;;AAAA,MAAM,QAAQ,GAAG,yYAAyY,CAAC;AAC3Z,gCAAe,QAAQ;;MCOV,iBAAiB;;;;uBAGX,KAAK;sBACN,MAAM;qBACP,MAAM;;;IAEtB,iBAAiB;;QAChB,IAAI,CAAC,gBAAgB,GAAG,UAAU,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;QAC3D,MAAA,IAAI,CAAC,gBAAgB,0CAAE,gBAAgB,CAAC,QAAQ,EAAE;;YACjD,IAAI,CAAC,OAAO,GAAG,CAAC,MAAA,MAAA,IAAI,CAAC,gBAAgB,0CAAE,SAAS,mCAAI,CAAC,IAAI,EAAE,CAAA;SAC3D,CAAC,CAAA;KACF;IACD,MAAM;QACL,MAAM,YAAY,GAAG;YACpB,WAAW,EAAE,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,GAAG,GAAG;YAC9C,kBAAkB,EAAE,IAAI,CAAC,OAAO,GAAG,MAAM,GAAG,MAAM;YAClD,UAAU,EAAE,IAAI,CAAC,MAAM;YACvB,SAAS,EAAE,IAAI,CAAC,KAAK;SACrB,CAAA;QACD,QACC,EAAC,IAAI,qDACJ,KAAK,EAAE,YAAY,EACnB,OAAO,EAAE;;gBACR,OAAA,MAAA,IAAI,CAAC,gBAAgB,0CAAE,QAAQ,CAAC;oBAC/B,GAAG,EAAE,CAAC;oBACN,IAAI,EAAE,CAAC;oBACP,QAAQ,EAAE,QAAQ;iBAClB,CAAC,CAAA;aAAA,IAEH,sEAAe,IAAI,EAAC,kBAAkB,GAAG,CACnC,EACP;KACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/back-to-top/style.scss?tag=smoothly-back-to-top&encapsulation=scoped","src/components/back-to-top/index.tsx"],"sourcesContent":[":host {\n\tbackground-color: rgba(var(--smoothly-default-color), 1);\n\topacity: var(--opacity);\n\tpointer-events: var(--pointer-events);\n\ttransition: opacity 400ms;\n\tz-index: 3;\n\tborder-radius: 50%;\n\tbox-shadow: var(--smoothly-shadow);\n\theight: 3rem;\n\twidth: 3rem;\n\tposition: fixed;\n\tbottom: var(--bottom);\n\tright: var(--right);\n\toutline: none;\n\tcursor: pointer;\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n}\n","import { Component, Element, h, Host, Prop, State } from \"@stencil/core\"\nimport { Scrollable } from \"../../model/Scrollable\"\n\n@Component({\n\ttag: \"smoothly-back-to-top\",\n\tstyleUrl: \"style.scss\",\n\tscoped: true,\n})\nexport class SmoothlyBackToTop {\n\tprivate scrollableParent?: HTMLElement\n\t@Element() element: HTMLSmoothlyBackToTopElement\n\t@Prop() opacity = \"0.5\"\n\t@Prop() bottom = \"1rem\"\n\t@Prop() right = \"1rem\"\n\t@State() visible: boolean\n\tcomponentWillLoad() {\n\t\tthis.scrollableParent = Scrollable.findParent(this.element)\n\t\tthis.scrollableParent?.addEventListener(\"scroll\", () => {\n\t\t\tthis.visible = (this.scrollableParent?.scrollTop ?? 0) > 20\n\t\t})\n\t}\n\trender() {\n\t\tconst cssVariables = {\n\t\t\t\"--opacity\": this.visible ? this.opacity : \"0\",\n\t\t\t\"--pointer-events\": this.visible ? \"auto\" : \"none\",\n\t\t\t\"--bottom\": this.bottom,\n\t\t\t\"--right\": this.right,\n\t\t}\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tstyle={cssVariables}\n\t\t\t\tonClick={() =>\n\t\t\t\t\tthis.scrollableParent?.scrollTo({\n\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\tbehavior: \"smooth\",\n\t\t\t\t\t})\n\t\t\t\t}>\n\t\t\t\t<smoothly-icon name=\"caret-up-outline\" />\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
@@ -5,7 +5,7 @@ import './p-47ea6b68.js';
5
5
  import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-f765921a.js';
6
6
  import { N as Notice } from './p-ef01331e.js';
7
7
  import { E as Editable } from './p-78dd098c.js';
8
- import { d as defineCustomElement$1 } from './p-f21f43d1.js';
8
+ import { d as defineCustomElement$1 } from './p-18451fa9.js';
9
9
 
10
10
  var Method;
11
11
  (function (Method) {
@@ -944,7 +944,7 @@ const SmoothlyForm = proxyCustomElement(class SmoothlyForm extends H {
944
944
  await Promise.all([...this.inputs.values()].map(input => Editable.Element.type.is(input) && input.setInitialValue()));
945
945
  }
946
946
  render() {
947
- return (h(Host, { key: '544cb7ab781d344afba275f3e363a7ca5e615c2e' }, h("smoothly-spinner", { key: 'ffc3e23544446c744aec87941e1f7e137e71d83e', overlay: true, hidden: !this.processing }), h("form", { key: 'ee0a5b140641775c1d55c961db46e3e630b666a8', onSubmit: !this.prevent ? undefined : e => e.preventDefault(), name: this.name }, h("fieldset", { key: 'dc7509953049315094ba44369d7c56ee22c2e511' }, h("slot", { key: 'b510be19fca9b78c6ecb3b84648f75a21fb40d97' })), h("div", { key: '985fd0b35f3664135c09bdd03f6156399a4d3d58' }, h("slot", { key: '014fd2d642d29332f9fc28298b0cdbf2d5b7956a', name: "clear" }), h("slot", { key: '55d2fd1d90b303f56e9578704780fc78b9bc9e17', name: "edit" }), h("slot", { key: '2af69ee44488e47a52cf7dff75138c16c1883ef8', name: "reset" }), h("slot", { key: 'f35a976b66dada2670d5a280d310aac518eedc75', name: "delete" }), h("slot", { key: '90b1dfac51e438c663d93218fb114a491495864f', name: "submit" })))));
947
+ return (h(Host, { key: 'e2c17b7337acbcfe72ffb863c85e60faede5235e' }, h("smoothly-spinner", { key: 'd7662186f79ee0f5d4405016a35047f11ffcdc34', overlay: true, hidden: !this.processing }), h("form", { key: '632d61643ff5ebb0a76385ef491dc53fc1dd14d5', onSubmit: !this.prevent ? undefined : e => e.preventDefault(), name: this.name }, h("fieldset", { key: '75dda536071a876101b3f74810d234db35552ef4' }, h("slot", { key: '167a59eb0712168bc65779d6218b0c0cddb1233f' })), h("div", { key: 'be5617bf40a0f232bce860be106557b28d8356aa' }, h("slot", { key: '2fa4643245d138a6f2c249b38249451c9f3d077d', name: "clear" }), h("slot", { key: '93a446c4e11d622a7c02c27681cdcb579e1ce5db', name: "edit" }), h("slot", { key: '18a353c56f4dd2919f7ebd4aae3c10d8c505ceb0', name: "reset" }), h("slot", { key: '5a5712ab3ae35fecbad7e62750d8461cebbaaf71', name: "delete" }), h("slot", { key: '6f0467383249a488f44b5a276b2d6686afe18d97', name: "submit" })))));
948
948
  }
949
949
  get element() { return this; }
950
950
  static get watchers() { return {
@@ -1049,4 +1049,4 @@ var Input;
1049
1049
 
1050
1050
  export { Clearable as C, Input as I, Looks as L, SmoothlyForm as S, defineCustomElement as d, fetch as f };
1051
1051
 
1052
- //# sourceMappingURL=p-16c06f14.js.map
1052
+ //# sourceMappingURL=p-ed1e7da4.js.map