smoothly 1.0.0-alpha.13 → 1.0.0-alpha.131

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 (416) hide show
  1. package/dist/cjs/{Listenable-63ea2d90.js → Data-e345d3cd.js} +74 -4
  2. package/dist/cjs/Data-e345d3cd.js.map +1 -0
  3. package/dist/cjs/Observers-6450f075.js +25 -0
  4. package/dist/cjs/Observers-6450f075.js.map +1 -0
  5. package/dist/cjs/{getLanguage-430ecf04.js → getLanguage-28ce96e4.js} +1111 -890
  6. package/dist/cjs/getLanguage-28ce96e4.js.map +1 -0
  7. package/dist/cjs/{index-8352a4e0.js → index-6ae370b4.js} +12 -43
  8. package/dist/cjs/index-6ae370b4.js.map +1 -0
  9. package/dist/cjs/index.cjs.js +386 -22
  10. package/dist/cjs/index.cjs.js.map +1 -1
  11. package/dist/cjs/loader.cjs.js +4 -3
  12. package/dist/cjs/loader.cjs.js.map +1 -1
  13. package/dist/cjs/redirect-2e5d4524.js +104 -0
  14. package/dist/cjs/redirect-2e5d4524.js.map +1 -0
  15. package/dist/cjs/smoothly-accordion_70.cjs.entry.js +17204 -0
  16. package/dist/cjs/smoothly-accordion_70.cjs.entry.js.map +1 -0
  17. package/dist/cjs/smoothly-address-display.cjs.entry.js +1 -1
  18. package/dist/cjs/smoothly-address.cjs.entry.js +1 -1
  19. package/dist/cjs/smoothly-addresses.cjs.entry.js +1 -1
  20. package/dist/cjs/smoothly-color.cjs.entry.js +1 -1
  21. package/dist/cjs/smoothly-country.cjs.entry.js +9 -9
  22. package/dist/cjs/smoothly-country.cjs.entry.js.map +1 -1
  23. package/dist/cjs/smoothly-display-date-time.cjs.entry.js +26 -0
  24. package/dist/cjs/smoothly-display-date-time.cjs.entry.js.map +1 -0
  25. package/dist/cjs/smoothly-google-font.cjs.entry.js +1 -1
  26. package/dist/cjs/smoothly-radio-group.cjs.entry.js +1 -1
  27. package/dist/cjs/smoothly-reorder.cjs.entry.js +4 -4
  28. package/dist/cjs/smoothly-reorder.cjs.entry.js.map +1 -1
  29. package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +4 -4
  30. package/dist/cjs/smoothly-trigger-sink.cjs.entry.js.map +1 -1
  31. package/dist/cjs/smoothly-trigger-source.cjs.entry.js +6 -6
  32. package/dist/cjs/smoothly-trigger-source.cjs.entry.js.map +1 -1
  33. package/dist/cjs/smoothly.cjs.js +4 -3
  34. package/dist/cjs/smoothly.cjs.js.map +1 -1
  35. package/dist/collection/collection-manifest.json +23 -12
  36. package/dist/collection/components/Button.js +16 -2
  37. package/dist/collection/components/Button.js.map +1 -1
  38. package/dist/collection/components/accordion/index.js +32 -12
  39. package/dist/collection/components/accordion/index.js.map +1 -1
  40. package/dist/collection/components/accordion-item/index.js +18 -25
  41. package/dist/collection/components/accordion-item/index.js.map +1 -1
  42. package/dist/collection/components/app/index.js +147 -1
  43. package/dist/collection/components/app/index.js.map +1 -1
  44. package/dist/collection/components/app/room/index.js +240 -0
  45. package/dist/collection/components/app/room/index.js.map +1 -0
  46. package/dist/collection/components/app/room/style.css +55 -0
  47. package/dist/collection/components/app/style.css +89 -101
  48. package/dist/collection/components/app-demo/index.js +5 -19
  49. package/dist/collection/components/app-demo/index.js.map +1 -1
  50. package/dist/collection/components/backtotop/index.js +3 -3
  51. package/dist/collection/components/backtotop/index.js.map +1 -1
  52. package/dist/collection/components/burger/index.js +174 -0
  53. package/dist/collection/components/burger/index.js.map +1 -0
  54. package/dist/collection/components/burger/style.css +22 -0
  55. package/dist/collection/components/button/index.js +10 -23
  56. package/dist/collection/components/button/index.js.map +1 -1
  57. package/dist/collection/components/button/style.css +13 -17
  58. package/dist/collection/components/button-demo/index.js +6 -2
  59. package/dist/collection/components/button-demo/index.js.map +1 -1
  60. package/dist/collection/components/button-demo/style.css +1 -0
  61. package/dist/collection/components/calendar/generate.js +1 -1
  62. package/dist/collection/components/calendar/generate.js.map +1 -1
  63. package/dist/collection/components/checkbox/index.js +25 -3
  64. package/dist/collection/components/checkbox/index.js.map +1 -1
  65. package/dist/collection/components/country/index.js +1 -1
  66. package/dist/collection/components/display/index.js +24 -3
  67. package/dist/collection/components/display/index.js.map +1 -1
  68. package/dist/collection/components/display-amount/index.js +1 -1
  69. package/dist/collection/components/display-demo/index.js +1 -1
  70. package/dist/collection/components/display-demo/index.js.map +1 -1
  71. package/dist/collection/components/filter/index.js +1 -1
  72. package/dist/collection/components/filter/index.js.map +1 -1
  73. package/dist/collection/components/filter/input/index.js +16 -9
  74. package/dist/collection/components/filter/input/index.js.map +1 -1
  75. package/dist/collection/components/form/index.js +132 -9
  76. package/dist/collection/components/form/index.js.map +1 -1
  77. package/dist/collection/components/form/style.css +9 -16
  78. package/dist/collection/components/frame/index.js +1 -2
  79. package/dist/collection/components/frame/index.js.map +1 -1
  80. package/dist/collection/components/icon/index.js +29 -38
  81. package/dist/collection/components/icon/index.js.map +1 -1
  82. package/dist/collection/components/icon-demo/index.js.map +1 -1
  83. package/dist/collection/components/icon-demo/style.css +1 -0
  84. package/dist/collection/components/input/Changeable.js +8 -0
  85. package/dist/collection/components/input/Changeable.js.map +1 -0
  86. package/dist/collection/components/input/Clearable.js.map +1 -0
  87. package/dist/collection/components/input/Input.js +2 -0
  88. package/dist/collection/components/input/Input.js.map +1 -0
  89. package/dist/collection/components/input/Looks.js +2 -0
  90. package/dist/collection/components/input/Looks.js.map +1 -0
  91. package/dist/collection/components/input/Submittable.js +8 -0
  92. package/dist/collection/components/input/Submittable.js.map +1 -0
  93. package/dist/collection/components/input/clear/index.js +237 -0
  94. package/dist/collection/components/input/clear/index.js.map +1 -0
  95. package/dist/collection/components/input/clear/style.css +254 -0
  96. package/dist/collection/components/{input-date → input/date}/index.js +160 -3
  97. package/dist/collection/components/input/date/index.js.map +1 -0
  98. package/dist/collection/components/{input-date-range → input/date/range}/index.js +161 -23
  99. package/dist/collection/components/input/date/range/index.js.map +1 -0
  100. package/dist/collection/components/input/date/range/style.css +69 -0
  101. package/dist/collection/components/input/date/style.css +58 -0
  102. package/dist/collection/components/input/demo/index.js +95 -0
  103. package/dist/collection/components/input/demo/index.js.map +1 -0
  104. package/dist/collection/components/{input-demo → input/demo}/style.css +1 -0
  105. package/dist/collection/components/input/file/index.js +305 -0
  106. package/dist/collection/components/input/file/index.js.map +1 -0
  107. package/dist/collection/components/input/file/style.css +85 -0
  108. package/dist/collection/components/input/index.js +131 -8
  109. package/dist/collection/components/input/index.js.map +1 -1
  110. package/dist/collection/components/{input-month → input/month}/index.js +5 -5
  111. package/dist/collection/components/input/month/index.js.map +1 -0
  112. package/dist/collection/components/{selector → input/select}/index.js +176 -5
  113. package/dist/collection/components/input/select/index.js.map +1 -0
  114. package/dist/collection/components/input/select/style.css +80 -0
  115. package/dist/collection/components/input/style.css +23 -8
  116. package/dist/collection/components/notification/index.js +45 -8
  117. package/dist/collection/components/notification/index.js.map +1 -1
  118. package/dist/collection/components/notification/style.css +25 -1
  119. package/dist/collection/components/notifier/style.css +1 -3
  120. package/dist/collection/components/picker/demo/index.js +91 -0
  121. package/dist/collection/components/picker/demo/index.js.map +1 -0
  122. package/dist/collection/components/picker/demo/style.css +26 -0
  123. package/dist/collection/components/picker/index.js +197 -396
  124. package/dist/collection/components/picker/index.js.map +1 -1
  125. package/dist/collection/components/picker/menu/index.js +422 -0
  126. package/dist/collection/components/picker/menu/index.js.map +1 -0
  127. package/dist/collection/components/picker/menu/style.css +44 -0
  128. package/dist/collection/components/picker/option/index.js +298 -0
  129. package/dist/collection/components/picker/option/index.js.map +1 -0
  130. package/dist/collection/components/picker/option/style.css +30 -0
  131. package/dist/collection/components/picker/slot-elements/index.js +109 -0
  132. package/dist/collection/components/picker/slot-elements/index.js.map +1 -0
  133. package/dist/collection/components/picker/slot-elements/style.css +3 -0
  134. package/dist/collection/components/picker/slotted-elements/index.js +84 -0
  135. package/dist/collection/components/picker/slotted-elements/index.js.map +1 -0
  136. package/dist/collection/components/picker/slotted-elements/style.css +3 -0
  137. package/dist/collection/components/picker/style.css +60 -144
  138. package/dist/collection/components/radio/index.js +4 -4
  139. package/dist/collection/components/radio/index.js.map +1 -1
  140. package/dist/collection/components/radio-button/index.js +35 -10
  141. package/dist/collection/components/radio-button/index.js.map +1 -1
  142. package/dist/collection/components/select-demo/index.js +0 -87
  143. package/dist/collection/components/select-demo/index.js.map +1 -1
  144. package/dist/collection/components/spinner/style.css +1 -0
  145. package/dist/collection/components/submit/index.js +64 -5
  146. package/dist/collection/components/submit/index.js.map +1 -1
  147. package/dist/collection/components/submit/style.css +224 -0
  148. package/dist/collection/components/summary/index.js +44 -1
  149. package/dist/collection/components/summary/index.js.map +1 -1
  150. package/dist/collection/components/svg/style.css +2 -2
  151. package/dist/collection/components/table/cell/index.js +1 -1
  152. package/dist/collection/components/table/cell/index.js.map +1 -1
  153. package/dist/collection/components/table/cell/style.css +19 -10
  154. package/dist/collection/components/table/demo/filtered/index.js +4 -3
  155. package/dist/collection/components/table/demo/filtered/index.js.map +1 -1
  156. package/dist/collection/components/table/demo/index.js +8 -2
  157. package/dist/collection/components/table/demo/index.js.map +1 -1
  158. package/dist/collection/components/table/demo/style.css +2 -0
  159. package/dist/collection/components/table/expandable/cell/index.js +14 -14
  160. package/dist/collection/components/table/expandable/cell/index.js.map +1 -1
  161. package/dist/collection/components/table/expandable/cell/style.css +32 -22
  162. package/dist/collection/components/table/expandable/row/index.js +9 -32
  163. package/dist/collection/components/table/expandable/row/index.js.map +1 -1
  164. package/dist/collection/components/table/expandable/row/style.css +32 -29
  165. package/dist/collection/components/table/footer/index.js +19 -0
  166. package/dist/collection/components/table/footer/index.js.map +1 -0
  167. package/dist/collection/components/table/footer/style.css +13 -0
  168. package/dist/collection/components/table/header/style.css +2 -2
  169. package/dist/collection/components/table/index.js +55 -12
  170. package/dist/collection/components/table/index.js.map +1 -1
  171. package/dist/collection/components/table/row/index.js +37 -5
  172. package/dist/collection/components/table/row/index.js.map +1 -1
  173. package/dist/collection/components/table/row/style.css +4 -1
  174. package/dist/collection/components/table/style.css +0 -2
  175. package/dist/collection/components/table/testing/data.js +28 -0
  176. package/dist/collection/components/table/testing/data.js.map +1 -0
  177. package/dist/collection/components/table/testing/index.js +28 -0
  178. package/dist/collection/components/table/testing/index.js.map +1 -0
  179. package/dist/collection/components/table/testing/style.css +22 -0
  180. package/dist/collection/components/theme/color/index.js +48 -0
  181. package/dist/collection/components/theme/color/index.js.map +1 -0
  182. package/dist/collection/components/theme/color/style.css +8 -0
  183. package/dist/collection/components/theme/color/variant/index.js +66 -0
  184. package/dist/collection/components/theme/color/variant/index.js.map +1 -0
  185. package/dist/collection/components/theme/color/variant/style.css +18 -0
  186. package/dist/collection/components/theme/colors/index.js +30 -0
  187. package/dist/collection/components/theme/colors/index.js.map +1 -0
  188. package/dist/collection/components/theme/colors/style.css +7 -0
  189. package/dist/collection/components/toggle-switch/index.js +69 -17
  190. package/dist/collection/components/toggle-switch/index.js.map +1 -1
  191. package/dist/collection/components/toggle-switch/style.css +19 -12
  192. package/dist/collection/components/trigger-source/index.js +3 -3
  193. package/dist/collection/components/trigger-source/index.js.map +1 -1
  194. package/dist/collection/global/Observers.js +22 -0
  195. package/dist/collection/global/Observers.js.map +1 -0
  196. package/dist/collection/global/index.js +5 -0
  197. package/dist/collection/global/index.js.map +1 -0
  198. package/dist/collection/index.js +2 -3
  199. package/dist/collection/index.js.map +1 -1
  200. package/dist/collection/model/Data.js.map +1 -0
  201. package/dist/collection/model/Icon.js +23 -0
  202. package/dist/collection/model/Icon.js.map +1 -0
  203. package/dist/collection/model/Listenable.js +2 -2
  204. package/dist/collection/model/Listenable.js.map +1 -1
  205. package/dist/collection/model/Notice.js +1 -1
  206. package/dist/collection/model/Notice.js.map +1 -1
  207. package/dist/collection/model/Option.js.map +1 -1
  208. package/dist/collection/model/index.js +3 -0
  209. package/dist/collection/model/index.js.map +1 -1
  210. package/dist/collection/model/redirect.js +8 -0
  211. package/dist/collection/model/redirect.js.map +1 -0
  212. package/dist/collection/smoothly.js +3 -0
  213. package/dist/collection/smoothly.js.map +1 -0
  214. package/dist/custom-elements/index.d.ts +94 -34
  215. package/dist/custom-elements/index.js +5360 -16302
  216. package/dist/custom-elements/index.js.map +1 -1
  217. package/dist/esm/{Listenable-fb6f4723.js → Data-37e7c0b9.js} +75 -5
  218. package/dist/esm/Data-37e7c0b9.js.map +1 -0
  219. package/dist/esm/Observers-5f08e828.js +25 -0
  220. package/dist/esm/Observers-5f08e828.js.map +1 -0
  221. package/dist/esm/{getLanguage-cccb8418.js → getLanguage-5233a597.js} +1111 -890
  222. package/dist/esm/getLanguage-5233a597.js.map +1 -0
  223. package/dist/esm/{index-7b57a52c.js → index-c196715a.js} +12 -42
  224. package/dist/esm/index-c196715a.js.map +1 -0
  225. package/dist/esm/index.js +388 -6
  226. package/dist/esm/index.js.map +1 -1
  227. package/dist/esm/loader.js +5 -4
  228. package/dist/esm/loader.js.map +1 -1
  229. package/dist/esm/redirect-b0f87e88.js +101 -0
  230. package/dist/esm/redirect-b0f87e88.js.map +1 -0
  231. package/dist/esm/smoothly-accordion_70.entry.js +17131 -0
  232. package/dist/esm/smoothly-accordion_70.entry.js.map +1 -0
  233. package/dist/esm/smoothly-address-display.entry.js +1 -1
  234. package/dist/esm/smoothly-address.entry.js +1 -1
  235. package/dist/esm/smoothly-addresses.entry.js +1 -1
  236. package/dist/esm/smoothly-color.entry.js +1 -1
  237. package/dist/esm/smoothly-country.entry.js +9 -9
  238. package/dist/esm/smoothly-country.entry.js.map +1 -1
  239. package/dist/esm/smoothly-display-date-time.entry.js +22 -0
  240. package/dist/esm/smoothly-display-date-time.entry.js.map +1 -0
  241. package/dist/esm/smoothly-google-font.entry.js +1 -1
  242. package/dist/esm/smoothly-radio-group.entry.js +1 -1
  243. package/dist/esm/smoothly-reorder.entry.js +2 -2
  244. package/dist/esm/smoothly-reorder.entry.js.map +1 -1
  245. package/dist/esm/smoothly-trigger-sink.entry.js +2 -2
  246. package/dist/esm/smoothly-trigger-source.entry.js +4 -4
  247. package/dist/esm/smoothly-trigger-source.entry.js.map +1 -1
  248. package/dist/esm/smoothly.js +5 -4
  249. package/dist/esm/smoothly.js.map +1 -1
  250. package/dist/smoothly/index.esm.js +1 -1
  251. package/dist/smoothly/index.esm.js.map +1 -1
  252. package/dist/smoothly/{p-d4182274.entry.js → p-1efa3261.entry.js} +2 -2
  253. package/dist/smoothly/p-2a0c2387.js +2 -0
  254. package/dist/smoothly/p-2a0c2387.js.map +1 -0
  255. package/dist/smoothly/{p-e136b93e.entry.js → p-4d743f07.entry.js} +2 -2
  256. package/dist/smoothly/p-4ff439dd.entry.js +2 -0
  257. package/dist/smoothly/{p-5b28795c.entry.js.map → p-4ff439dd.entry.js.map} +1 -1
  258. package/dist/smoothly/{p-be2ff772.entry.js → p-5edb65c6.entry.js} +2 -2
  259. package/dist/smoothly/{p-c49d2094.entry.js → p-663ccbd0.entry.js} +2 -2
  260. package/dist/smoothly/p-73442332.entry.js +2 -0
  261. package/dist/smoothly/p-73442332.entry.js.map +1 -0
  262. package/dist/smoothly/{p-940af6d3.entry.js → p-9992c8c4.entry.js} +2 -2
  263. package/dist/smoothly/p-a6c4c2d4.entry.js +2 -0
  264. package/dist/smoothly/p-a6c4c2d4.entry.js.map +1 -0
  265. package/dist/smoothly/p-b9cb0514.js +2 -0
  266. package/dist/smoothly/p-b9cb0514.js.map +1 -0
  267. package/dist/smoothly/p-c833c402.js +2 -0
  268. package/dist/smoothly/p-c833c402.js.map +1 -0
  269. package/dist/smoothly/p-ce4e6f44.entry.js +2 -0
  270. package/dist/smoothly/p-ce4e6f44.entry.js.map +1 -0
  271. package/dist/smoothly/p-d0b8061e.js +3 -0
  272. package/dist/smoothly/p-d0b8061e.js.map +1 -0
  273. package/dist/smoothly/{p-79025273.entry.js → p-dbd1afa9.entry.js} +2 -2
  274. package/dist/smoothly/p-ede93d69.js +2 -0
  275. package/dist/smoothly/p-ede93d69.js.map +1 -0
  276. package/dist/smoothly/{p-712b362e.entry.js → p-f96e41aa.entry.js} +2 -2
  277. package/dist/smoothly/p-ff8acb9b.entry.js +2 -0
  278. package/dist/smoothly/p-ff8acb9b.entry.js.map +1 -0
  279. package/dist/smoothly/smoothly.esm.js +1 -1
  280. package/dist/smoothly/smoothly.esm.js.map +1 -1
  281. package/dist/types/components/Button.d.ts +1 -2
  282. package/dist/types/components/accordion/index.d.ts +1 -1
  283. package/dist/types/components/accordion-item/index.d.ts +5 -4
  284. package/dist/types/components/app/index.d.ts +25 -0
  285. package/dist/types/components/app/room/index.d.ts +25 -0
  286. package/dist/types/components/app-demo/index.d.ts +2 -0
  287. package/dist/types/components/backtotop/index.d.ts +1 -1
  288. package/dist/types/components/burger/index.d.ts +15 -0
  289. package/dist/types/components/button/index.d.ts +2 -2
  290. package/dist/types/components/checkbox/index.d.ts +4 -2
  291. package/dist/types/components/display/index.d.ts +1 -0
  292. package/dist/types/components/filter/input/index.d.ts +1 -1
  293. package/dist/types/components/form/index.d.ts +16 -3
  294. package/dist/types/components/frame/index.d.ts +1 -1
  295. package/dist/types/components/icon/index.d.ts +3 -9
  296. package/dist/types/components/input/Changeable.d.ts +7 -0
  297. package/dist/types/components/input/Input.d.ts +10 -0
  298. package/dist/types/components/input/Looks.d.ts +1 -0
  299. package/dist/types/components/input/Submittable.d.ts +6 -0
  300. package/dist/types/components/input/clear/index.d.ts +17 -0
  301. package/dist/types/components/input/date/index.d.ts +28 -0
  302. package/dist/types/components/input/date/range/index.d.ts +33 -0
  303. package/dist/types/components/input/demo/index.d.ts +8 -0
  304. package/dist/types/components/input/file/index.d.ts +24 -0
  305. package/dist/types/components/input/index.d.ts +17 -4
  306. package/dist/types/components/{input-month → input/month}/index.d.ts +1 -1
  307. package/dist/types/components/{selector → input/select}/index.d.ts +15 -3
  308. package/dist/types/components/notification/index.d.ts +3 -1
  309. package/dist/types/components/picker/demo/index.d.ts +18 -0
  310. package/dist/types/components/picker/index.d.ts +33 -45
  311. package/dist/types/components/picker/menu/index.d.ts +53 -0
  312. package/dist/types/components/picker/option/index.d.ts +23 -0
  313. package/dist/types/components/picker/slot-elements/index.d.ts +15 -0
  314. package/dist/types/components/picker/slotted-elements/index.d.ts +8 -0
  315. package/dist/types/components/radio/index.d.ts +1 -1
  316. package/dist/types/components/radio-button/index.d.ts +3 -5
  317. package/dist/types/components/select-demo/index.d.ts +0 -9
  318. package/dist/types/components/submit/index.d.ts +6 -1
  319. package/dist/types/components/summary/index.d.ts +4 -0
  320. package/dist/types/components/table/demo/filtered/index.d.ts +1 -1
  321. package/dist/types/components/table/expandable/cell/index.d.ts +4 -4
  322. package/dist/types/components/table/expandable/row/index.d.ts +3 -7
  323. package/dist/types/components/table/footer/index.d.ts +3 -0
  324. package/dist/types/components/table/index.d.ts +6 -3
  325. package/dist/types/components/table/row/index.d.ts +3 -1
  326. package/dist/types/components/table/testing/data.d.ts +5 -0
  327. package/dist/types/components/table/testing/index.d.ts +4 -0
  328. package/dist/types/components/theme/color/index.d.ts +5 -0
  329. package/dist/types/components/theme/color/variant/index.d.ts +6 -0
  330. package/dist/types/components/theme/colors/index.d.ts +3 -0
  331. package/dist/types/components/toggle-switch/index.d.ts +7 -2
  332. package/dist/types/components/trigger-source/index.d.ts +1 -1
  333. package/dist/types/components.d.ts +490 -226
  334. package/dist/types/global/Observers.d.ts +8 -0
  335. package/dist/types/global/index.d.ts +4 -0
  336. package/dist/types/index.d.ts +1 -4
  337. package/dist/types/model/Icon.d.ts +8 -0
  338. package/dist/types/model/Notice.d.ts +1 -1
  339. package/dist/types/model/Option.d.ts +24 -6
  340. package/dist/types/model/index.d.ts +4 -1
  341. package/dist/types/model/redirect.d.ts +1 -0
  342. package/dist/types/smoothly.d.ts +3 -0
  343. package/package.json +16 -16
  344. package/dist/cjs/Listenable-63ea2d90.js.map +0 -1
  345. package/dist/cjs/getLanguage-430ecf04.js.map +0 -1
  346. package/dist/cjs/index-8352a4e0.js.map +0 -1
  347. package/dist/cjs/index-b282ee83.js +0 -865
  348. package/dist/cjs/index-b282ee83.js.map +0 -1
  349. package/dist/cjs/smoothly-accordion_61.cjs.entry.js +0 -28113
  350. package/dist/cjs/smoothly-accordion_61.cjs.entry.js.map +0 -1
  351. package/dist/collection/components/App.js +0 -71
  352. package/dist/collection/components/App.js.map +0 -1
  353. package/dist/collection/components/form/Clearable.js.map +0 -1
  354. package/dist/collection/components/form/Data.js.map +0 -1
  355. package/dist/collection/components/input-date/index.js.map +0 -1
  356. package/dist/collection/components/input-date/style.css +0 -39
  357. package/dist/collection/components/input-date-range/index.js.map +0 -1
  358. package/dist/collection/components/input-date-range/style.css +0 -51
  359. package/dist/collection/components/input-demo/index.js +0 -45
  360. package/dist/collection/components/input-demo/index.js.map +0 -1
  361. package/dist/collection/components/input-month/index.js.map +0 -1
  362. package/dist/collection/components/menu-options/index.js +0 -413
  363. package/dist/collection/components/menu-options/index.js.map +0 -1
  364. package/dist/collection/components/menu-options/style.css +0 -18
  365. package/dist/collection/components/option/index.js +0 -270
  366. package/dist/collection/components/option/index.js.map +0 -1
  367. package/dist/collection/components/option/style.css +0 -42
  368. package/dist/collection/components/room/index.js +0 -90
  369. package/dist/collection/components/room/index.js.map +0 -1
  370. package/dist/collection/components/select/index.js +0 -108
  371. package/dist/collection/components/select/index.js.map +0 -1
  372. package/dist/collection/components/select/style.css +0 -20
  373. package/dist/collection/components/selector/index.js.map +0 -1
  374. package/dist/collection/components/selector/style.css +0 -46
  375. package/dist/esm/Listenable-fb6f4723.js.map +0 -1
  376. package/dist/esm/getLanguage-cccb8418.js.map +0 -1
  377. package/dist/esm/index-2e948fc3.js +0 -861
  378. package/dist/esm/index-2e948fc3.js.map +0 -1
  379. package/dist/esm/index-7b57a52c.js.map +0 -1
  380. package/dist/esm/smoothly-accordion_61.entry.js +0 -28049
  381. package/dist/esm/smoothly-accordion_61.entry.js.map +0 -1
  382. package/dist/smoothly/p-06337b89.js +0 -2
  383. package/dist/smoothly/p-06337b89.js.map +0 -1
  384. package/dist/smoothly/p-21341e18.entry.js +0 -2
  385. package/dist/smoothly/p-21341e18.entry.js.map +0 -1
  386. package/dist/smoothly/p-5b28795c.entry.js +0 -2
  387. package/dist/smoothly/p-5b6351f6.js +0 -2
  388. package/dist/smoothly/p-5b6351f6.js.map +0 -1
  389. package/dist/smoothly/p-70280a11.js +0 -2
  390. package/dist/smoothly/p-70280a11.js.map +0 -1
  391. package/dist/smoothly/p-b49664d8.entry.js +0 -2
  392. package/dist/smoothly/p-b49664d8.entry.js.map +0 -1
  393. package/dist/smoothly/p-b82efb2e.entry.js +0 -2
  394. package/dist/smoothly/p-b82efb2e.entry.js.map +0 -1
  395. package/dist/smoothly/p-c88ae468.js +0 -3
  396. package/dist/smoothly/p-c88ae468.js.map +0 -1
  397. package/dist/types/components/App.d.ts +0 -5
  398. package/dist/types/components/input-date/index.d.ts +0 -14
  399. package/dist/types/components/input-date-range/index.d.ts +0 -23
  400. package/dist/types/components/input-demo/index.d.ts +0 -3
  401. package/dist/types/components/menu-options/index.d.ts +0 -35
  402. package/dist/types/components/option/index.d.ts +0 -32
  403. package/dist/types/components/room/index.d.ts +0 -7
  404. package/dist/types/components/select/index.d.ts +0 -14
  405. /package/dist/collection/components/{form → input}/Clearable.js +0 -0
  406. /package/dist/collection/components/{input-month → input/month}/style.css +0 -0
  407. /package/dist/collection/{components/form → model}/Data.js +0 -0
  408. /package/dist/smoothly/{p-d4182274.entry.js.map → p-1efa3261.entry.js.map} +0 -0
  409. /package/dist/smoothly/{p-e136b93e.entry.js.map → p-4d743f07.entry.js.map} +0 -0
  410. /package/dist/smoothly/{p-be2ff772.entry.js.map → p-5edb65c6.entry.js.map} +0 -0
  411. /package/dist/smoothly/{p-c49d2094.entry.js.map → p-663ccbd0.entry.js.map} +0 -0
  412. /package/dist/smoothly/{p-940af6d3.entry.js.map → p-9992c8c4.entry.js.map} +0 -0
  413. /package/dist/smoothly/{p-79025273.entry.js.map → p-dbd1afa9.entry.js.map} +0 -0
  414. /package/dist/smoothly/{p-712b362e.entry.js.map → p-f96e41aa.entry.js.map} +0 -0
  415. /package/dist/types/components/{form → input}/Clearable.d.ts +0 -0
  416. /package/dist/types/{components/form → model}/Data.d.ts +0 -0
@@ -1,149 +1,137 @@
1
1
  smoothly-app {
2
+ --margin: -0.5rem;
2
3
  display: block;
3
4
  scrollbar-width: none;
5
+ margin-left: var(--margin);
6
+ margin-right: var(--margin);
7
+ margin-top: var(--margin);
4
8
  }
5
9
  smoothly-app[hidden] {
6
10
  display: none;
7
11
  }
8
- smoothly-app[color=default],
9
- smoothly-app:not([color]) {
10
- --smoothly-app-background: var(--smoothly-default-color);
11
- --smoothly-app-color: var(--smoothly-default-contrast);
12
- --smoothly-app-hover-background: var(--smoothly-primary-color);
13
- --smoothly-app-hover-color: var(--smoothly-primary-contrast);
14
- --smoothly-app-shadow: var(--smoothly-default-shadow);
15
- }
16
- smoothly-app[color=primary] {
17
- --smoothly-app-background: var(--smoothly-primary-shade);
18
- --smoothly-app-color: var(--smoothly-primary-contrast);
19
- --smoothly-app-hover-background: var(--smoothly-secondary-color);
20
- --smoothly-app-hover-color: var(--smoothly-secondary-contrast);
21
- --smoothly-app-shadow: var(--smoothly-primary-shadow);
22
- }
23
- smoothly-app[color=secondary] {
24
- --smoothly-app-background: var(--smoothly-secondary-shade);
25
- --smoothly-app-color: var(--smoothly-secondary-contrast);
26
- --smoothly-app-hover-background: var(--smoothly-primary-color);
27
- --smoothly-app-hover-color: var(--smoothly-primary-contrast);
28
- --smoothly-app-shadow: var(--smoothly-secondary-shadow);
29
- }
30
- smoothly-app[color=tertiary],
31
- smoothly-app[color=success],
32
- smoothly-app[color=warning],
33
- smoothly-app[color=danger] {
34
- --smoothly-app-background: var(--smoothly-color-shade);
35
- --smoothly-app-color: var(--smoothly-color-contrast);
36
- --smoothly-app-hover-background: var(--smoothly-default-shade);
37
- --smoothly-app-hover-color: var(--smoothly-default-contrast);
38
- --smoothly-app-shadow: var(--smoothly-color-shadow);
12
+ smoothly-app > smoothly-notifier {
13
+ background: none;
39
14
  }
40
15
  smoothly-app > smoothly-notifier > header {
41
- position: fixed;
16
+ position: sticky;
42
17
  top: 0;
43
- left: 0;
44
- width: 100%;
45
18
  z-index: 5;
19
+ width: 100%;
46
20
  height: 5rem;
47
- background-color: rgb(var(--smoothly-app-background));
48
- color: rgba(var(--smoothly-medium-color));
49
- fill: rgb(var(--smoothly-medium-color));
50
- stroke: rgb(var(--smoothly-medium-color));
51
21
  display: flex;
52
22
  justify-content: space-between;
53
23
  align-items: center;
54
- box-shadow: 0 2px 5px 0 rgba(var(--smoothly-app-shadow));
24
+ box-shadow: 0 2px 5px 0 rgba(var(--smoothly-dark-shadow));
55
25
  border-bottom: 1px solid rgba(var(--smoothly-dark-color));
56
- }
57
- smoothly-app > smoothly-notifier > header a {
58
- color: inherit;
59
- text-decoration: inherit;
26
+ background: rgba(var(--smoothly-color));
27
+ color: rgba(var(--smoothly-color-contrast));
60
28
  }
61
29
  smoothly-app > smoothly-notifier > header > nav {
62
30
  width: 100%;
63
31
  flex-shrink: 2;
32
+ height: 100%;
64
33
  }
65
- smoothly-app>smoothly-notifier>header>h1,
66
- smoothly-app>smoothly-notifier>header>nav,
67
- smoothly-app>smoothly-notifier>header>nav>ul,
68
- smoothly-app>smoothly-notifier>header>nav>ul li,
69
- smoothly-app>smoothly-notifier>header>nav>ul li>*:not(a) {
34
+
35
+ smoothly-app > smoothly-notifier > header > nav,
36
+ smoothly-app > smoothly-notifier > header > nav > ul {
70
37
  display: flex;
71
- height: 100%;
72
38
  margin: 0;
73
39
  }
74
40
  smoothly-app > smoothly-notifier > header > h1 {
75
- margin-left: 3.8rem;
41
+ margin-left: 1rem;
42
+ margin-bottom: 0.8em;
43
+ display: flex;
44
+ height: 100%;
76
45
  }
77
46
  smoothly-app > smoothly-notifier > header > h1 > a {
78
- overflow: hidden;
79
- user-select: none;
80
- height: 200%;
81
- display: flex;
47
+ display: inline-block;
82
48
  align-self: center;
83
49
  size: 100%;
84
50
  background-position-y: center;
51
+ text-decoration: none;
52
+ white-space: nowrap;
53
+ }
54
+ smoothly-app > smoothly-notifier > header > nav > ul li a {
55
+ line-height: 1.6cm;
85
56
  }
86
- smoothly-app > smoothly-notifier > header > nav > ul > li a {
57
+ smoothly-app > smoothly-notifier > header > nav > ul li a {
87
58
  line-height: 1.6cm;
88
59
  }
89
60
  smoothly-app > smoothly-notifier > header > nav > ul {
90
61
  width: 100%;
91
62
  }
92
- smoothly-app > smoothly-notifier > header > [slot=header] {
93
- margin-right: 2.1rem;
94
- border: 0;
63
+ smoothly-app > smoothly-notifier > header > nav > ul > div.nav-start-container {
64
+ display: flex;
65
+ align-items: center;
66
+ height: 100%;
95
67
  }
96
- smoothly-app > smoothly-notifier > header > [slot=header] > a {
68
+ smoothly-app > smoothly-notifier > header > nav > ul > div.nav-end-container {
97
69
  display: flex;
98
- border-width: 0;
70
+ gap: 1rem;
99
71
  align-items: center;
100
- margin-right: 3.9rem;
72
+ height: 100%;
73
+ margin-left: auto;
74
+ margin-right: 1rem;
101
75
  }
102
- smoothly-app > smoothly-notifier > header > [slot=header] > a > smoothly-icon {
103
- fill: rgb(var(--smoothly-primary-shade));
104
- stroke: rgb(var(--smoothly-primary-shade));
105
- color: rgb(var(--smoothly-primary-shade));
76
+ smoothly-app > smoothly-notifier > header > nav > ul > [slot="nav-end"] {
77
+ width: fit-content;
78
+ gap: 0.5em;
79
+ align-self: center;
80
+ height: fit-content;
81
+ margin-left: 10rem;
106
82
  }
107
- smoothly-app>smoothly-notifier>header>nav>ul li a {
83
+ smoothly-app > smoothly-notifier > header > nav > ul li a {
108
84
  display: flex;
109
85
  height: 2.3rem;
110
- margin: 0 0.4cm;
111
86
  text-decoration: none;
112
- }
113
- smoothly-app>smoothly-notifier>header>nav>ul li>a {
114
- display: flex;
115
87
  align-items: center;
116
88
  align-self: center;
117
- margin-bottom: 2px;
118
- }
119
- smoothly-app>smoothly-notifier>header>nav>ul li smoothly-trigger.sc-smoothly-trigger-h {
120
- border: 0;
121
- }
122
- smoothly-app>smoothly-notifier>header>nav>ul li>a>smoothly-icon>svg {
123
- fill: rgb(var(--smoothly-medium-color));
124
- stroke: rgb(var(--smoothly-medium-color));
125
- color: rgb(var(--smoothly-medium-color));
126
- align-items: center;
127
- display: flex;
128
89
  }
129
- smoothly-app>smoothly-notifier>header>nav>ul li>a:hover>smoothly-icon>svg,
130
- smoothly-app>smoothly-notifier>header>nav>ul li>a.active>smoothly-icon>svg {
131
- color: rgb(var(--smoothly-app-color));
132
- stroke: rgb(var(--smoothly-app-color));
133
- fill: rgb(var(--smoothly-app-color));
134
- }
135
- smoothly-app>smoothly-notifier>header>nav>ul li>smoothly-trigger.active a>smoothly-icon,
136
- smoothly-app>smoothly-notifier>header>nav>ul li>smoothly-trigger:hover a>smoothly-icon,
137
- smoothly-app>smoothly-notifier>header>nav>ul li a:hover,
138
- smoothly-app>smoothly-notifier>header>nav>ul li a.active {
139
- border-bottom: 2px solid rgb(var(--smoothly-app-color));
140
- margin-bottom: 0px;
141
- border-bottom-width: 2px;
142
- color: rgb(var(--smoothly-app-color));
143
- stroke: rgb(var(--smoothly-app-color));
144
- fill: rgb(var(--smoothly-app-color));
145
- }
146
- smoothly-app > smoothly-notifier > main {
147
- position: relative;
148
- top: 5rem;
90
+
91
+ @media screen and (max-width: 900px) {
92
+ smoothly-app > smoothly-notifier > header > nav {
93
+ width: 50dvw;
94
+ max-width: 15rem;
95
+ top: 100%;
96
+ position: absolute;
97
+ right: 0;
98
+ height: auto;
99
+ }
100
+ smoothly-app > smoothly-notifier > header > nav,
101
+ smoothly-app > smoothly-notifier > header > nav > ul {
102
+ flex-direction: column;
103
+ background-color: rgba(var(--smoothly-color));
104
+ }
105
+ smoothly-app > smoothly-notifier > header > nav > ul {
106
+ padding: 1.5rem;
107
+ box-sizing: border-box;
108
+ }
109
+ smoothly-app > smoothly-notifier > header > nav > ul li {
110
+ margin-right: 0;
111
+ margin-bottom: 1em;
112
+ width: 100%;
113
+ }
114
+
115
+ smoothly-app > smoothly-notifier > header > smoothly-burger {
116
+ position: absolute;
117
+ top: 0;
118
+ right: 0;
119
+ }
120
+ smoothly-app > smoothly-notifier > header > nav > ul > [slot="nav-start"] {
121
+ display: none;
122
+ }
123
+ smoothly-app > smoothly-notifier > header > nav > ul > div.nav-start-container,
124
+ smoothly-app > smoothly-notifier > header > nav > ul > div.nav-end-container {
125
+ flex-direction: column;
126
+ margin: 0;
127
+ align-items: start;
128
+ justify-content: center;
129
+ gap: 1em;
130
+ }
131
+ smoothly-app > smoothly-notifier > header > nav > ul > div.nav-start-container > *:last-child {
132
+ margin-bottom: 1em;
133
+ }
134
+ }
135
+ smoothly-app > smoothly-notifier > header > nav:not(.menu-open) {
136
+ display: none;
149
137
  }
@@ -1,28 +1,14 @@
1
1
  import { h } from "@stencil/core";
2
- import { redirect } from "../../index";
3
- import { App } from "../App";
4
2
  export class SmoothlyAppDemo {
5
3
  constructor() {
6
4
  this.baseUrl = undefined;
7
5
  }
8
6
  render() {
9
- return (h(App, { label: "Smoothly Demo" }, h("a", { slot: "nav-start", href: "display" }, "Display"), h("a", { slot: "nav-start", href: "https://google.com" }, "External"), h("smoothly-room", { path: "" }, h("smoothly-input", { type: "text" }, "Default"), h("div", { style: { padding: "1em", maxWidth: "12em" } }, h("smoothly-button", { fill: "solid", color: "danger", link: "https://google.com" }, "open"), h("smoothly-button", { fill: "solid", color: "danger", link: "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf", download: true }, "download"), h("smoothly-button", { fill: "solid", color: "danger", onClick: () => alert("clicked") }, "action"), h("smoothly-button", { disabled: true, fill: "solid", color: "danger", onClick: () => alert("clicked") }, "action"), h("smoothly-button", { type: "link", fill: "clear", color: "danger", onClick: () => alert("clicked") }, "action link"))), h("smoothly-room", { path: "input", label: "Input" }, h("smoothly-input-demo", null)), h("smoothly-room", { path: "button", label: "Button" }, h("smoothly-button-demo", null)), h("smoothly-room", { path: "dialog", label: "Dialog" }, h("smoothly-dialog-demo", null)), h("smoothly-room", { path: "display", label: "Display", icon: "eye-outline" }, h("smoothly-display-demo", null)), h("smoothly-room", { path: "table", label: "Table" }, h("smoothly-table-demo", null)), h("smoothly-room", { path: "select", label: "Select" }, h("smoothly-select-demo", null)), h("smoothly-room", { path: "icon", label: "Icon" }, h("smoothly-icon-demo", null)), h("smoothly-room", { path: "/redirect", label: "Redirect" }, h("smoothly-button", { style: { "max-width": "300px" }, onClick: () => {
10
- redirect("/routing/pathParameter1");
11
- } }, "Internal"), h("smoothly-button", { style: { "max-width": "300px" }, onClick: () => {
12
- redirect("https://google.com");
13
- } }, "External")), h("smoothly-room", { path: /^\/routing\/\w+\/?/, label: "No effect" }, h("h2", null, "Regex routing")), h("smoothly-room", { path: "old", label: "Old", to: "select" }), h("span", { slot: "header", style: { width: "100%", maxWidth: "500px" } }, h("smoothly-picker", { label: "All Animals Selected", style: { minWidth: "100px" }, labelSetting: "hide", "empty-menu-label": "Sorry, we're out of options.", "max-height": "58px", multiple: true, "select-none-name": "Select All", options: [
14
- { name: "Big Dog", value: "dog", aliases: ["WOFF"] },
15
- { name: "Cat Stevens", value: "cat", aliases: ["moew"], hint: "moew 🐈" },
16
- { name: "Noble Pig", value: "pig", hint: "🐷" },
17
- { name: "Turtle Wax", value: "turtle" },
18
- { name: "Spider Man", value: "spider" },
19
- { name: "Phoenix Order Long Wooord", value: "phoenix" },
20
- { name: "Horse Back", value: "horse" },
21
- { name: "Unicorn Horn", value: "unicorn" },
22
- { name: "Talking Parrot Parrot", value: "parrot" },
23
- { name: "Hidden Dragon", value: "dragon" },
24
- { name: "Scary Kraken", value: "kraken" },
25
- ] })), h("smoothly-trigger", { slot: "header", type: "link", name: "logout" }, h("smoothly-icon", { toolTip: "Log out", name: "log-out", size: "medium" }))));
7
+ return (h("smoothly-app", { color: "dark", label: "Smoothly Demo", ref: e => (this.app = e) }, h("smoothly-trigger", { slot: "nav-start", type: "link", name: "logout" }, h("smoothly-icon", { toolTip: "Log out", name: "log-out", size: "medium" })), h("smoothly-app-room", { path: "/root", label: "root" }, h("smoothly-button", { type: "link", link: "/redirect" }, "To redirect"), h("smoothly-button", { type: "link", link: "/redirect" }, "To /redirect"), h("smoothly-button", { type: "link", link: new URL("/redirect", window.location.origin).href }, "To new URL(\"redirect\")"), h("smoothly-button", { type: "link", link: "redirect/nested" }, "To redirect nested")), h("smoothly-app-room", { path: "/links", label: "Links" }, h("smoothly-input", { type: "text" }, "Default"), h("div", { style: { padding: "1em", maxWidth: "12em" } }, h("smoothly-button", { fill: "solid", color: "danger", link: "https://google.com" }, "open"), h("smoothly-button", { fill: "solid", color: "danger", link: "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf", type: "download" }, "download"), h("smoothly-button", { fill: "solid", color: "danger", onClick: () => alert("clicked") }, "action"), h("smoothly-button", { disabled: true, fill: "solid", color: "danger", onClick: () => alert("clicked") }, "action"), h("smoothly-button", { type: "link", fill: "clear", color: "danger", onClick: () => alert("clicked") }, "action link"))), h("smoothly-app-room", { path: "/input", label: "Input" }, h("smoothly-input-demo", null)), h("smoothly-app-room", { path: "/button", label: "Button" }, h("smoothly-button-demo", null)), h("smoothly-app-room", { path: "/dialog", label: "Dialog" }, h("smoothly-dialog-demo", null)), h("smoothly-app-room", { path: "/display", label: "Display", icon: "eye-outline" }, h("smoothly-display-demo", null)), h("smoothly-app-room", { path: "/table", label: "Table" }, h("smoothly-table-demo", null)), h("smoothly-app-room", { path: "/select", label: "Select" }, h("smoothly-select-demo", null)), h("smoothly-app-room", { path: "/icon", label: "Icon" }, h("smoothly-icon-demo", null)), h("smoothly-app-room", { path: "/old", label: "Old", to: "select" }), h("smoothly-app-room", { path: "/redirect", label: "Redirect" }, h("smoothly-button", { type: "link", link: "/input" }, "To input"), h("smoothly-button", { type: "link", link: "../button" }, "To button"), h("smoothly-button", { type: "link", link: new URL("/hidden", window.location.origin).href }, "To hidden"), h("smoothly-button", { type: "link", link: "/redirect" }, "To redirect"), h("smoothly-button", { type: "link", link: "nested" }, "To redirect nested, relative path")), h("smoothly-app-room", { path: "/hidden" }, h("p", null, "hello world!")), h("smoothly-app-room", { path: "/redirect/nested" }, "this is a nested room")));
8
+ }
9
+ componentDidRender() {
10
+ var _a;
11
+ (_a = this.app) === null || _a === void 0 ? void 0 : _a.selectRoom("/root");
26
12
  }
27
13
  static get is() { return "smoothly-app-demo"; }
28
14
  static get properties() {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/app-demo/index.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Component, h, Prop } from \"@stencil/core\"\nimport { redirect } from \"../../index\"\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nimport { App } from \"../App\"\n\n@Component({\n\ttag: \"smoothly-app-demo\",\n})\nexport class SmoothlyAppDemo {\n\t@Prop() baseUrl: string\n\trender() {\n\t\treturn (\n\t\t\t<App label=\"Smoothly Demo\">\n\t\t\t\t<a slot=\"nav-start\" href=\"display\">\n\t\t\t\t\tDisplay\n\t\t\t\t</a>\n\t\t\t\t<a slot=\"nav-start\" href=\"https://google.com\">\n\t\t\t\t\tExternal\n\t\t\t\t</a>\n\t\t\t\t<smoothly-room path=\"\">\n\t\t\t\t\t<smoothly-input type=\"text\">Default</smoothly-input>\n\t\t\t\t\t<div style={{ padding: \"1em\", maxWidth: \"12em\" }}>\n\t\t\t\t\t\t<smoothly-button fill=\"solid\" color=\"danger\" link=\"https://google.com\">\n\t\t\t\t\t\t\topen\n\t\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t\t<smoothly-button\n\t\t\t\t\t\t\tfill=\"solid\"\n\t\t\t\t\t\t\tcolor=\"danger\"\n\t\t\t\t\t\t\tlink=\"https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf\"\n\t\t\t\t\t\t\tdownload={true}>\n\t\t\t\t\t\t\tdownload\n\t\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t\t<smoothly-button fill=\"solid\" color=\"danger\" onClick={() => alert(\"clicked\")}>\n\t\t\t\t\t\t\taction\n\t\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t\t<smoothly-button disabled fill=\"solid\" color=\"danger\" onClick={() => alert(\"clicked\")}>\n\t\t\t\t\t\t\taction\n\t\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t\t<smoothly-button type=\"link\" fill=\"clear\" color=\"danger\" onClick={() => alert(\"clicked\")}>\n\t\t\t\t\t\t\taction link\n\t\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t</div>\n\t\t\t\t</smoothly-room>\n\t\t\t\t<smoothly-room path=\"input\" label=\"Input\">\n\t\t\t\t\t<smoothly-input-demo />\n\t\t\t\t</smoothly-room>\n\t\t\t\t<smoothly-room path=\"button\" label=\"Button\">\n\t\t\t\t\t<smoothly-button-demo />\n\t\t\t\t</smoothly-room>\n\t\t\t\t<smoothly-room path=\"dialog\" label=\"Dialog\">\n\t\t\t\t\t<smoothly-dialog-demo />\n\t\t\t\t</smoothly-room>\n\t\t\t\t<smoothly-room path=\"display\" label=\"Display\" icon=\"eye-outline\">\n\t\t\t\t\t<smoothly-display-demo />\n\t\t\t\t</smoothly-room>\n\t\t\t\t<smoothly-room path=\"table\" label=\"Table\">\n\t\t\t\t\t<smoothly-table-demo />\n\t\t\t\t</smoothly-room>\n\t\t\t\t<smoothly-room path=\"select\" label=\"Select\">\n\t\t\t\t\t<smoothly-select-demo />\n\t\t\t\t</smoothly-room>\n\t\t\t\t<smoothly-room path=\"icon\" label=\"Icon\">\n\t\t\t\t\t<smoothly-icon-demo />\n\t\t\t\t</smoothly-room>\n\t\t\t\t<smoothly-room path=\"/redirect\" label=\"Redirect\">\n\t\t\t\t\t<smoothly-button\n\t\t\t\t\t\tstyle={{ \"max-width\": \"300px\" }}\n\t\t\t\t\t\tonClick={() => {\n\t\t\t\t\t\t\tredirect(\"/routing/pathParameter1\")\n\t\t\t\t\t\t}}>\n\t\t\t\t\t\tInternal\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button\n\t\t\t\t\t\tstyle={{ \"max-width\": \"300px\" }}\n\t\t\t\t\t\tonClick={() => {\n\t\t\t\t\t\t\tredirect(\"https://google.com\")\n\t\t\t\t\t\t}}>\n\t\t\t\t\t\tExternal\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t</smoothly-room>\n\t\t\t\t<smoothly-room path={/^\\/routing\\/\\w+\\/?/} label=\"No effect\">\n\t\t\t\t\t<h2>Regex routing</h2>\n\t\t\t\t</smoothly-room>\n\t\t\t\t<smoothly-room path=\"old\" label=\"Old\" to=\"select\"></smoothly-room>\n\t\t\t\t<span slot=\"header\" style={{ width: \"100%\", maxWidth: \"500px\" }}>\n\t\t\t\t\t<smoothly-picker\n\t\t\t\t\t\tlabel=\"All Animals Selected\"\n\t\t\t\t\t\tstyle={{ minWidth: \"100px\" }}\n\t\t\t\t\t\tlabelSetting=\"hide\"\n\t\t\t\t\t\tempty-menu-label=\"Sorry, we're out of options.\"\n\t\t\t\t\t\tmax-height=\"58px\"\n\t\t\t\t\t\tmultiple={true}\n\t\t\t\t\t\tselect-none-name=\"Select All\"\n\t\t\t\t\t\toptions={[\n\t\t\t\t\t\t\t{ name: \"Big Dog\", value: \"dog\", aliases: [\"WOFF\"] },\n\t\t\t\t\t\t\t{ name: \"Cat Stevens\", value: \"cat\", aliases: [\"moew\"], hint: \"moew 🐈\" },\n\t\t\t\t\t\t\t{ name: \"Noble Pig\", value: \"pig\", hint: \"🐷\" },\n\t\t\t\t\t\t\t{ name: \"Turtle Wax\", value: \"turtle\" },\n\t\t\t\t\t\t\t{ name: \"Spider Man\", value: \"spider\" },\n\t\t\t\t\t\t\t{ name: \"Phoenix Order Long Wooord\", value: \"phoenix\" },\n\t\t\t\t\t\t\t{ name: \"Horse Back\", value: \"horse\" },\n\t\t\t\t\t\t\t{ name: \"Unicorn Horn\", value: \"unicorn\" },\n\t\t\t\t\t\t\t{ name: \"Talking Parrot Parrot\", value: \"parrot\" },\n\t\t\t\t\t\t\t{ name: \"Hidden Dragon\", value: \"dragon\" },\n\t\t\t\t\t\t\t{ name: \"Scary Kraken\", value: \"kraken\" },\n\t\t\t\t\t\t]}></smoothly-picker>\n\t\t\t\t</span>\n\t\t\t\t<smoothly-trigger slot=\"header\" type=\"link\" name=\"logout\">\n\t\t\t\t\t<smoothly-icon toolTip={\"Log out\"} name=\"log-out\" size=\"medium\"></smoothly-icon>\n\t\t\t\t</smoothly-trigger>\n\t\t\t</App>\n\t\t)\n\t}\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/app-demo/index.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Component, h, Prop } from \"@stencil/core\"\n\n@Component({\n\ttag: \"smoothly-app-demo\",\n})\nexport class SmoothlyAppDemo {\n\t@Prop() baseUrl: string\n\tapp?: HTMLSmoothlyAppElement\n\trender() {\n\t\treturn (\n\t\t\t<smoothly-app color=\"dark\" label=\"Smoothly Demo\" ref={e => (this.app = e)}>\n\t\t\t\t<smoothly-trigger slot=\"nav-start\" type=\"link\" name=\"logout\">\n\t\t\t\t\t<smoothly-icon toolTip={\"Log out\"} name=\"log-out\" size=\"medium\"></smoothly-icon>\n\t\t\t\t</smoothly-trigger>\n\t\t\t\t<smoothly-app-room path=\"/root\" label=\"root\">\n\t\t\t\t\t<smoothly-button type=\"link\" link=\"/redirect\">\n\t\t\t\t\t\tTo redirect\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button type=\"link\" link=\"/redirect\">\n\t\t\t\t\t\tTo /redirect\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button type=\"link\" link={new URL(\"/redirect\", window.location.origin).href}>\n\t\t\t\t\t\tTo new URL(\"redirect\")\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button type=\"link\" link=\"redirect/nested\">\n\t\t\t\t\t\tTo redirect nested\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t</smoothly-app-room>\n\t\t\t\t<smoothly-app-room path=\"/links\" label=\"Links\">\n\t\t\t\t\t<smoothly-input type=\"text\">Default</smoothly-input>\n\t\t\t\t\t<div style={{ padding: \"1em\", maxWidth: \"12em\" }}>\n\t\t\t\t\t\t<smoothly-button fill=\"solid\" color=\"danger\" link=\"https://google.com\">\n\t\t\t\t\t\t\topen\n\t\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t\t<smoothly-button\n\t\t\t\t\t\t\tfill=\"solid\"\n\t\t\t\t\t\t\tcolor=\"danger\"\n\t\t\t\t\t\t\tlink=\"https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf\"\n\t\t\t\t\t\t\ttype=\"download\">\n\t\t\t\t\t\t\tdownload\n\t\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t\t<smoothly-button fill=\"solid\" color=\"danger\" onClick={() => alert(\"clicked\")}>\n\t\t\t\t\t\t\taction\n\t\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t\t<smoothly-button disabled fill=\"solid\" color=\"danger\" onClick={() => alert(\"clicked\")}>\n\t\t\t\t\t\t\taction\n\t\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t\t<smoothly-button type=\"link\" fill=\"clear\" color=\"danger\" onClick={() => alert(\"clicked\")}>\n\t\t\t\t\t\t\taction link\n\t\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t</div>\n\t\t\t\t</smoothly-app-room>\n\t\t\t\t<smoothly-app-room path=\"/input\" label=\"Input\">\n\t\t\t\t\t<smoothly-input-demo />\n\t\t\t\t</smoothly-app-room>\n\t\t\t\t<smoothly-app-room path=\"/button\" label=\"Button\">\n\t\t\t\t\t<smoothly-button-demo />\n\t\t\t\t</smoothly-app-room>\n\t\t\t\t<smoothly-app-room path=\"/dialog\" label=\"Dialog\">\n\t\t\t\t\t<smoothly-dialog-demo />\n\t\t\t\t</smoothly-app-room>\n\t\t\t\t<smoothly-app-room path=\"/display\" label=\"Display\" icon=\"eye-outline\">\n\t\t\t\t\t<smoothly-display-demo />\n\t\t\t\t</smoothly-app-room>\n\t\t\t\t<smoothly-app-room path=\"/table\" label=\"Table\">\n\t\t\t\t\t<smoothly-table-demo />\n\t\t\t\t</smoothly-app-room>\n\t\t\t\t<smoothly-app-room path=\"/select\" label=\"Select\">\n\t\t\t\t\t<smoothly-select-demo />\n\t\t\t\t</smoothly-app-room>\n\t\t\t\t<smoothly-app-room path=\"/icon\" label=\"Icon\">\n\t\t\t\t\t<smoothly-icon-demo />\n\t\t\t\t</smoothly-app-room>\n\t\t\t\t<smoothly-app-room path=\"/old\" label=\"Old\" to=\"select\"></smoothly-app-room>\n\t\t\t\t<smoothly-app-room path=\"/redirect\" label=\"Redirect\">\n\t\t\t\t\t<smoothly-button type=\"link\" link=\"/input\">\n\t\t\t\t\t\tTo input\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button type=\"link\" link=\"../button\">\n\t\t\t\t\t\tTo button\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button type=\"link\" link={new URL(\"/hidden\", window.location.origin).href}>\n\t\t\t\t\t\tTo hidden\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button type=\"link\" link=\"/redirect\">\n\t\t\t\t\t\tTo redirect\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button type=\"link\" link=\"nested\">\n\t\t\t\t\t\tTo redirect nested, relative path\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t</smoothly-app-room>\n\t\t\t\t<smoothly-app-room path=\"/hidden\">\n\t\t\t\t\t<p>hello world!</p>\n\t\t\t\t</smoothly-app-room>\n\t\t\t\t<smoothly-app-room path=\"/redirect/nested\">this is a nested room</smoothly-app-room>\n\t\t\t</smoothly-app>\n\t\t)\n\t}\n\tcomponentDidRender() {\n\t\tthis.app?.selectRoom(\"/root\")\n\t}\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  import { h, Host } from "@stencil/core";
2
- export class SmoothlyBacktotop {
2
+ export class SmoothlyBackToTop {
3
3
  constructor() {
4
4
  this.opacity = "0.5";
5
5
  this.bottom = "1rem";
@@ -22,9 +22,9 @@ export class SmoothlyBacktotop {
22
22
  top: 0,
23
23
  left: 0,
24
24
  behavior: "smooth",
25
- }) }, h("smoothly-icon", { name: "chevron-up-outline" })));
25
+ }) }, h("smoothly-icon", { name: "caret-up-outline" })));
26
26
  }
27
- static get is() { return "smoothly-backtotop"; }
27
+ static get is() { return "smoothly-back-to-top"; }
28
28
  static get encapsulation() { return "scoped"; }
29
29
  static get originalStyleUrls() {
30
30
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/backtotop/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAO/D,MAAM,OAAO,iBAAiB;;mBACX,KAAK;kBACN,MAAM;iBACP,MAAM;;;EAEtB,iBAAiB;IAChB,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,GAAG,EAAE;MACtC,IAAI,CAAC,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,SAAS,GAAG,EAAE,IAAI,QAAQ,CAAC,eAAe,CAAC,SAAS,GAAG,EAAE,CAAA;IACvF,CAAC,CAAC,CAAA;EACH,CAAC;EACD,MAAM;IACL,MAAM,YAAY,GAAG;MACpB,WAAW,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG;MAC9C,kBAAkB,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM;MAClD,UAAU,EAAE,IAAI,CAAC,MAAM;MACvB,SAAS,EAAE,IAAI,CAAC,KAAK;KACrB,CAAA;IACD,OAAO,CACN,EAAC,IAAI,IACJ,KAAK,EAAE,YAAY,EACnB,OAAO,EAAE,GAAG,EAAE,CACb,MAAM,CAAC,QAAQ,CAAC;QACf,GAAG,EAAE,CAAC;QACN,IAAI,EAAE,CAAC;QACP,QAAQ,EAAE,QAAQ;OAClB,CAAC;MAEH,qBAAe,IAAI,EAAC,oBAAoB,GAAiB,CACnD,CACP,CAAA;EACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import { Component, h, Host, Prop, State } from \"@stencil/core\"\n\n@Component({\n\ttag: \"smoothly-backtotop\",\n\tstyleUrl: \"style.scss\",\n\tscoped: true,\n})\nexport class SmoothlyBacktotop {\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\twindow.addEventListener(\"scroll\", () => {\n\t\t\tthis.visible = document.body.scrollTop > 20 || document.documentElement.scrollTop > 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\twindow.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=\"chevron-up-outline\"></smoothly-icon>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/backtotop/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAO/D,MAAM,OAAO,iBAAiB;;mBACX,KAAK;kBACN,MAAM;iBACP,MAAM;;;EAEtB,iBAAiB;IAChB,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,GAAG,EAAE;MACtC,IAAI,CAAC,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,SAAS,GAAG,EAAE,IAAI,QAAQ,CAAC,eAAe,CAAC,SAAS,GAAG,EAAE,CAAA;IACvF,CAAC,CAAC,CAAA;EACH,CAAC;EACD,MAAM;IACL,MAAM,YAAY,GAAG;MACpB,WAAW,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG;MAC9C,kBAAkB,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM;MAClD,UAAU,EAAE,IAAI,CAAC,MAAM;MACvB,SAAS,EAAE,IAAI,CAAC,KAAK;KACrB,CAAA;IACD,OAAO,CACN,EAAC,IAAI,IACJ,KAAK,EAAE,YAAY,EACnB,OAAO,EAAE,GAAG,EAAE,CACb,MAAM,CAAC,QAAQ,CAAC;QACf,GAAG,EAAE,CAAC;QACN,IAAI,EAAE,CAAC;QACP,QAAQ,EAAE,QAAQ;OAClB,CAAC;MAEH,qBAAe,IAAI,EAAC,kBAAkB,GAAiB,CACjD,CACP,CAAA;EACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import { Component, h, Host, Prop, State } from \"@stencil/core\"\n\n@Component({\n\ttag: \"smoothly-back-to-top\",\n\tstyleUrl: \"style.scss\",\n\tscoped: true,\n})\nexport class SmoothlyBackToTop {\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\twindow.addEventListener(\"scroll\", () => {\n\t\t\tthis.visible = document.body.scrollTop > 20 || document.documentElement.scrollTop > 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\twindow.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\"></smoothly-icon>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"]}
@@ -0,0 +1,174 @@
1
+ import { h, Host } from "@stencil/core";
2
+ export class SmoothlyBurger {
3
+ constructor() {
4
+ this.visible = undefined;
5
+ this.open = false;
6
+ this.mediaQuery = "(max-width: 900px)";
7
+ this.history = undefined;
8
+ }
9
+ componentWillLoad() {
10
+ this.history = window.matchMedia(this.mediaQuery).matches;
11
+ if (!window.matchMedia(this.mediaQuery).matches)
12
+ this.visible = false;
13
+ else
14
+ this.visible = true;
15
+ this.navStatus.emit(!this.visible);
16
+ this.visibleStatus.emit(this.visible);
17
+ }
18
+ openChanged() {
19
+ this.navStatus.emit(this.open);
20
+ }
21
+ clickHandler(event) {
22
+ if (this.visible)
23
+ this.open = !this.open;
24
+ }
25
+ resizeHandler() {
26
+ const result = window.matchMedia(this.mediaQuery).matches;
27
+ if (result != this.history) {
28
+ if (result) {
29
+ this.visible = true;
30
+ this.open = false;
31
+ }
32
+ else {
33
+ this.visible = false;
34
+ this.open = false;
35
+ }
36
+ this.visibleStatus.emit(this.visible);
37
+ this.navStatus.emit(!this.visible);
38
+ }
39
+ this.history = result;
40
+ }
41
+ render() {
42
+ return (h(Host, null, h("span", { class: "burger" }, h("smoothly-icon", { name: "menu" }))));
43
+ }
44
+ static get is() { return "smoothly-burger"; }
45
+ static get encapsulation() { return "scoped"; }
46
+ static get originalStyleUrls() {
47
+ return {
48
+ "$": ["style.css"]
49
+ };
50
+ }
51
+ static get styleUrls() {
52
+ return {
53
+ "$": ["style.css"]
54
+ };
55
+ }
56
+ static get properties() {
57
+ return {
58
+ "visible": {
59
+ "type": "boolean",
60
+ "mutable": true,
61
+ "complexType": {
62
+ "original": "boolean",
63
+ "resolved": "boolean",
64
+ "references": {}
65
+ },
66
+ "required": false,
67
+ "optional": false,
68
+ "docs": {
69
+ "tags": [],
70
+ "text": ""
71
+ },
72
+ "attribute": "visible",
73
+ "reflect": true
74
+ },
75
+ "open": {
76
+ "type": "boolean",
77
+ "mutable": true,
78
+ "complexType": {
79
+ "original": "boolean",
80
+ "resolved": "boolean",
81
+ "references": {}
82
+ },
83
+ "required": false,
84
+ "optional": false,
85
+ "docs": {
86
+ "tags": [],
87
+ "text": ""
88
+ },
89
+ "attribute": "open",
90
+ "reflect": true,
91
+ "defaultValue": "false"
92
+ },
93
+ "mediaQuery": {
94
+ "type": "string",
95
+ "mutable": false,
96
+ "complexType": {
97
+ "original": "string",
98
+ "resolved": "string",
99
+ "references": {}
100
+ },
101
+ "required": false,
102
+ "optional": false,
103
+ "docs": {
104
+ "tags": [],
105
+ "text": ""
106
+ },
107
+ "attribute": "media-query",
108
+ "reflect": true,
109
+ "defaultValue": "\"(max-width: 900px)\""
110
+ }
111
+ };
112
+ }
113
+ static get states() {
114
+ return {
115
+ "history": {}
116
+ };
117
+ }
118
+ static get events() {
119
+ return [{
120
+ "method": "navStatus",
121
+ "name": "navStatus",
122
+ "bubbles": true,
123
+ "cancelable": true,
124
+ "composed": true,
125
+ "docs": {
126
+ "tags": [],
127
+ "text": ""
128
+ },
129
+ "complexType": {
130
+ "original": "boolean",
131
+ "resolved": "boolean",
132
+ "references": {}
133
+ }
134
+ }, {
135
+ "method": "visibleStatus",
136
+ "name": "visibleStatus",
137
+ "bubbles": true,
138
+ "cancelable": true,
139
+ "composed": true,
140
+ "docs": {
141
+ "tags": [],
142
+ "text": ""
143
+ },
144
+ "complexType": {
145
+ "original": "boolean",
146
+ "resolved": "boolean",
147
+ "references": {}
148
+ }
149
+ }];
150
+ }
151
+ static get elementRef() { return "element"; }
152
+ static get watchers() {
153
+ return [{
154
+ "propName": "open",
155
+ "methodName": "openChanged"
156
+ }];
157
+ }
158
+ static get listeners() {
159
+ return [{
160
+ "name": "click",
161
+ "method": "clickHandler",
162
+ "target": undefined,
163
+ "capture": false,
164
+ "passive": false
165
+ }, {
166
+ "name": "resize",
167
+ "method": "resizeHandler",
168
+ "target": "window",
169
+ "capture": false,
170
+ "passive": true
171
+ }];
172
+ }
173
+ }
174
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/burger/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAO5G,MAAM,OAAO,cAAc;;;gBAGqB,KAAK;sBACd,oBAAoB;;;EAK1D,iBAAiB;IAChB,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,OAAO,CAAA;IACzD,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,OAAO;MAC9C,IAAI,CAAC,OAAO,GAAG,KAAK,CAAA;;MAEpB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAA;IACpB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;IAClC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;EACtC,CAAC;EAGD,WAAW;IACV,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;EAC/B,CAAC;EAGD,YAAY,CAAC,KAAiB;IAC7B,IAAI,IAAI,CAAC,OAAO;MACf,IAAI,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,IAAI,CAAA;EACxB,CAAC;EAGD,aAAa;IACZ,MAAM,MAAM,GAAG,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,OAAO,CAAA;IACzD,IAAI,MAAM,IAAI,IAAI,CAAC,OAAO,EAAE;MAC3B,IAAI,MAAM,EAAE;QACX,IAAI,CAAC,OAAO,GAAG,IAAI,CAAA;QACnB,IAAI,CAAC,IAAI,GAAG,KAAK,CAAA;OACjB;WAAM;QACN,IAAI,CAAC,OAAO,GAAG,KAAK,CAAA;QACpB,IAAI,CAAC,IAAI,GAAG,KAAK,CAAA;OACjB;MACD,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;MACrC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;KAClC;IACD,IAAI,CAAC,OAAO,GAAG,MAAM,CAAA;EACtB,CAAC;EAED,MAAM;IACL,OAAO,CACN,EAAC,IAAI;MACJ,YAAM,KAAK,EAAC,QAAQ;QACnB,qBAAe,IAAI,EAAC,MAAM,GAAG,CACvB,CACD,CACP,CAAA;EACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Host, Listen, Prop, State, Watch } from \"@stencil/core\"\n\n@Component({\n\ttag: \"smoothly-burger\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyBurger {\n\t@Element() element: HTMLSmoothlyBurgerElement\n\t@Prop({ mutable: true, reflect: true }) visible: boolean\n\t@Prop({ mutable: true, reflect: true }) open = false\n\t@Prop({ reflect: true }) mediaQuery = \"(max-width: 900px)\"\n\t@State() history: boolean\n\t@Event() navStatus: EventEmitter<boolean>\n\t@Event() visibleStatus: EventEmitter<boolean>\n\n\tcomponentWillLoad() {\n\t\tthis.history = window.matchMedia(this.mediaQuery).matches\n\t\tif (!window.matchMedia(this.mediaQuery).matches)\n\t\t\tthis.visible = false\n\t\telse\n\t\t\tthis.visible = true\n\t\tthis.navStatus.emit(!this.visible)\n\t\tthis.visibleStatus.emit(this.visible)\n\t}\n\n\t@Watch(\"open\")\n\topenChanged() {\n\t\tthis.navStatus.emit(this.open)\n\t}\n\n\t@Listen(\"click\")\n\tclickHandler(event: MouseEvent) {\n\t\tif (this.visible)\n\t\t\tthis.open = !this.open\n\t}\n\n\t@Listen(\"resize\", { target: \"window\" })\n\tresizeHandler() {\n\t\tconst result = window.matchMedia(this.mediaQuery).matches\n\t\tif (result != this.history) {\n\t\t\tif (result) {\n\t\t\t\tthis.visible = true\n\t\t\t\tthis.open = false\n\t\t\t} else {\n\t\t\t\tthis.visible = false\n\t\t\t\tthis.open = false\n\t\t\t}\n\t\t\tthis.visibleStatus.emit(this.visible)\n\t\t\tthis.navStatus.emit(!this.visible)\n\t\t}\n\t\tthis.history = result\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<span class=\"burger\">\n\t\t\t\t\t<smoothly-icon name=\"menu\" />\n\t\t\t\t</span>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"]}
@@ -0,0 +1,22 @@
1
+ :host([visible]){
2
+ display: flex;
3
+ justify-content: center;
4
+ align-items: center;
5
+ height: 100%;
6
+ }
7
+ :host([visible]) .burger smoothly-icon{
8
+ font-size: 1.7em;
9
+ cursor: pointer;
10
+ margin-right: 1em;
11
+ }
12
+ :host:not([visible]){
13
+ display: none;
14
+ }
15
+ :host:not([open]) smoothly-icon{
16
+ transform: rotate(0deg);
17
+ transition: transform 100ms ease-in-out;
18
+ }
19
+ :host([open]) smoothly-icon{
20
+ transform: rotate(-90deg);
21
+ transition: transform 100ms ease-in-out;
22
+ }
@@ -10,13 +10,12 @@ export class SmoothlyButton {
10
10
  this.size = undefined;
11
11
  this.shape = undefined;
12
12
  this.link = undefined;
13
- this.download = undefined;
14
13
  }
15
14
  render() {
16
- return h(Button, { disabled: this.disabled, type: this.type, link: this.link, download: this.download });
15
+ return (h(Button, { disabled: this.disabled, type: this.type, link: this.link }, h("slot", null)));
17
16
  }
18
17
  static get is() { return "smoothly-button"; }
19
- static get encapsulation() { return "shadow"; }
18
+ static get encapsulation() { return "scoped"; }
20
19
  static get originalStyleUrls() {
21
20
  return {
22
21
  "$": ["../button/style.css"]
@@ -112,9 +111,14 @@ export class SmoothlyButton {
112
111
  "type": "string",
113
112
  "mutable": false,
114
113
  "complexType": {
115
- "original": "\"link\" | \"button\"",
116
- "resolved": "\"button\" | \"link\"",
117
- "references": {}
114
+ "original": "Button.Properties[\"type\"]",
115
+ "resolved": "\"button\" | \"download\" | \"link\"",
116
+ "references": {
117
+ "Button": {
118
+ "location": "import",
119
+ "path": "../Button"
120
+ }
121
+ }
118
122
  },
119
123
  "required": false,
120
124
  "optional": false,
@@ -176,23 +180,6 @@ export class SmoothlyButton {
176
180
  },
177
181
  "attribute": "link",
178
182
  "reflect": false
179
- },
180
- "download": {
181
- "type": "boolean",
182
- "mutable": false,
183
- "complexType": {
184
- "original": "boolean",
185
- "resolved": "boolean | undefined",
186
- "references": {}
187
- },
188
- "required": false,
189
- "optional": true,
190
- "docs": {
191
- "tags": [],
192
- "text": ""
193
- },
194
- "attribute": "download",
195
- "reflect": false
196
183
  }
197
184
  };
198
185
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/button/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AAElD,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAOlC,MAAM,OAAO,cAAc;;;;;oBAIU,KAAK;gBACU,QAAQ;;;;;;EAM3D,MAAM;IACL,OAAO,EAAC,MAAM,IAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,GAAW,CAAA;EAC7G,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import { Component, h, Prop } from \"@stencil/core\"\nimport { Color, Fill } from \"../../model\"\nimport { Button } from \"../Button\"\n\n@Component({\n\ttag: \"smoothly-button\",\n\tstyleUrl: \"../button/style.css\",\n\tshadow: true,\n})\nexport class SmoothlyButton {\n\t@Prop({ reflect: true }) color?: Color\n\t@Prop({ reflect: true }) expand?: \"block\" | \"full\"\n\t@Prop({ reflect: true }) fill?: Fill\n\t@Prop({ reflect: true }) disabled = false\n\t@Prop({ reflect: true }) type: \"link\" | \"button\" = \"button\"\n\t@Prop({ reflect: true }) size: \"small\" | \"large\" | \"icon\" | \"flexible\"\n\t@Prop({ reflect: true }) shape?: \"rounded\"\n\t@Prop() link?: string\n\t@Prop() download?: boolean\n\n\trender() {\n\t\treturn <Button disabled={this.disabled} type={this.type} link={this.link} download={this.download}></Button>\n\t}\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/button/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AAElD,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAOlC,MAAM,OAAO,cAAc;;;;;oBAIU,KAAK;gBACkB,QAAQ;;;;;EAKnE,MAAM;IACL,OAAO,CACN,EAAC,MAAM,IAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI;MAChE,eAAQ,CACA,CACT,CAAA;EACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import { Component, h, Prop } from \"@stencil/core\"\nimport { Color, Fill } from \"../../model\"\nimport { Button } from \"../Button\"\n\n@Component({\n\ttag: \"smoothly-button\",\n\tstyleUrl: \"../button/style.css\",\n\tscoped: true,\n})\nexport class SmoothlyButton {\n\t@Prop({ reflect: true }) color?: Color\n\t@Prop({ reflect: true }) expand?: \"block\" | \"full\"\n\t@Prop({ reflect: true }) fill?: Fill\n\t@Prop({ reflect: true }) disabled = false\n\t@Prop({ reflect: true }) type: Button.Properties[\"type\"] = \"button\"\n\t@Prop({ reflect: true }) size: \"small\" | \"large\" | \"icon\" | \"flexible\"\n\t@Prop({ reflect: true }) shape?: \"rounded\"\n\t@Prop() link?: string\n\n\trender() {\n\t\treturn (\n\t\t\t<Button disabled={this.disabled} type={this.type} link={this.link}>\n\t\t\t\t<slot />\n\t\t\t</Button>\n\t\t)\n\t}\n}\n"]}