@amiceli/papierjs 0.12.0 → 0.14.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 (387) hide show
  1. package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -3
  2. package/dist/cjs/feather-hhpdTUdS.js +0 -3
  3. package/dist/cjs/{index-BLkeAjdP.js → index-BPI196cE.js} +436 -238
  4. package/dist/cjs/index.cjs.js +0 -3
  5. package/dist/cjs/loader.cjs.js +2 -5
  6. package/dist/cjs/p-accordion.cjs.entry.js +10 -9
  7. package/dist/cjs/p-alert.cjs.entry.js +4 -7
  8. package/dist/cjs/p-badge.cjs.entry.js +4 -7
  9. package/dist/cjs/p-breadcrumb-item.cjs.entry.js +3 -6
  10. package/dist/cjs/p-breadcrumb.cjs.entry.js +4 -7
  11. package/dist/cjs/p-button_4.cjs.entry.js +11 -14
  12. package/dist/cjs/p-card.cjs.entry.js +5 -8
  13. package/dist/cjs/p-icon.cjs.entry.js +804 -493
  14. package/dist/cjs/p-input-text.cjs.entry.js +5 -8
  15. package/dist/cjs/p-leaf.cjs.entry.js +4 -7
  16. package/dist/cjs/p-modal.cjs.entry.js +4 -7
  17. package/dist/cjs/p-navbar-item.cjs.entry.js +26 -0
  18. package/dist/cjs/p-navbar.cjs.entry.js +44 -0
  19. package/dist/cjs/p-notification-preview.cjs.entry.js +11 -14
  20. package/dist/cjs/p-notification.cjs.entry.js +5 -8
  21. package/dist/cjs/p-progress-bar.cjs.entry.js +4 -7
  22. package/dist/cjs/p-slider.cjs.entry.js +5 -8
  23. package/dist/cjs/p-spinner.cjs.entry.js +5 -8
  24. package/dist/cjs/p-switch-tile.cjs.entry.js +4 -7
  25. package/dist/cjs/p-switch.cjs.entry.js +4 -7
  26. package/dist/cjs/p-tab.cjs.entry.js +5 -8
  27. package/dist/cjs/p-tabs.cjs.entry.js +6 -9
  28. package/dist/cjs/p-tooltip.cjs.entry.js +4 -7
  29. package/dist/cjs/papierjs.cjs.js +3 -6
  30. package/dist/collection/collection-manifest.json +4 -2
  31. package/dist/collection/components/breadcrumb/p-breadcrumb/p-breadcrumb.js +2 -3
  32. package/dist/collection/components/breadcrumb/p-breadcrumb-item/p-breadcrumb-item.js +4 -5
  33. package/dist/collection/components/dropdown/p-dropdown/p-dropdown.css +2 -1
  34. package/dist/collection/components/dropdown/p-dropdown/p-dropdown.js +5 -6
  35. package/dist/collection/components/dropdown/p-dropdown-item/p-dropdown-item.js +4 -5
  36. package/dist/collection/components/form/p-input-text/input-text.css +6 -0
  37. package/dist/collection/components/form/p-input-text/input-text.js +16 -17
  38. package/dist/collection/components/form/p-slider/sliders.js +8 -9
  39. package/dist/collection/components/form/p-slider/sliders.preview.js +0 -1
  40. package/dist/collection/components/form/p-switch/switch.js +5 -6
  41. package/dist/collection/components/form/p-switch-tile/switch-tile.js +6 -7
  42. package/dist/collection/components/navigation/p-navbar/p-navbar.css +3233 -0
  43. package/dist/collection/components/navigation/p-navbar/p-navbar.js +151 -0
  44. package/dist/collection/components/navigation/p-navbar-item/p-navbar-item.css +3248 -0
  45. package/dist/collection/components/navigation/p-navbar-item/p-navbar-item.js +111 -0
  46. package/dist/collection/components/notification/p-notification/p-notification.js +6 -7
  47. package/dist/collection/components/notification/p-notification-handler/p-notification-handler.js +1 -2
  48. package/dist/collection/components/notification/p-notification-handler/stories/p-notification-preview.js +10 -11
  49. package/dist/collection/components/p-accordion/p-accordion.css +3 -0
  50. package/dist/collection/components/p-accordion/p-accordion.js +30 -7
  51. package/dist/collection/components/p-alert/p-alert.css +2 -1
  52. package/dist/collection/components/p-alert/p-alert.js +4 -5
  53. package/dist/collection/components/p-badge/p-badge.js +3 -4
  54. package/dist/collection/components/p-button/p-button.js +9 -10
  55. package/dist/collection/components/p-card/p-card.css +4 -2
  56. package/dist/collection/components/p-card/p-card.js +6 -7
  57. package/dist/collection/components/p-icon/icons.js +800 -487
  58. package/dist/collection/components/p-icon/p-icon.js +5 -6
  59. package/dist/collection/components/p-leaf/p-leaf.js +2 -3
  60. package/dist/collection/components/p-modal/p-modal.js +1 -2
  61. package/dist/collection/components/p-progress-bar/p-progress-bar.js +7 -8
  62. package/dist/collection/components/p-spinner/p-spinner.js +7 -8
  63. package/dist/collection/components/p-tooltip/p-tooltip.js +8 -9
  64. package/dist/collection/components/tabs/p-tab/p-tab.js +6 -7
  65. package/dist/collection/components/tabs/p-tabs/p-tabs.css +2 -1
  66. package/dist/collection/components/tabs/p-tabs/p-tabs.js +4 -5
  67. package/dist/collection/index.js +0 -1
  68. package/dist/components/index.d.ts +2 -0
  69. package/dist/components/index.js +1 -1598
  70. package/dist/components/p-5-w_S81x.js +1 -0
  71. package/dist/components/p-BGN4QYf2.js +1 -0
  72. package/dist/components/p-C5tpu5nv.js +1 -0
  73. package/dist/components/p-DLeZLI07.js +1 -0
  74. package/dist/components/p-DQalURmG.js +1 -0
  75. package/dist/components/p-DYFuR0tp.js +1 -0
  76. package/dist/components/p-accordion.js +1 -49
  77. package/dist/components/p-alert.js +1 -76
  78. package/dist/components/p-badge.js +1 -52
  79. package/dist/components/p-breadcrumb-item.js +1 -54
  80. package/dist/components/p-breadcrumb.js +1 -58
  81. package/dist/components/p-button.js +1 -9
  82. package/dist/components/p-card.js +1 -59
  83. package/dist/components/p-dropdown-item.js +1 -9
  84. package/dist/components/p-dropdown.js +1 -9
  85. package/dist/components/p-fjnyWEDB.js +165 -2246
  86. package/dist/components/p-icon.js +1 -9
  87. package/dist/components/p-input-text.js +1 -85
  88. package/dist/components/p-leaf.js +1 -42
  89. package/dist/components/p-modal.js +1 -50
  90. package/dist/components/p-navbar-item.d.ts +11 -0
  91. package/dist/components/p-navbar-item.js +1 -0
  92. package/dist/components/p-navbar.d.ts +11 -0
  93. package/dist/components/p-navbar.js +1 -0
  94. package/dist/components/p-notification-handler.js +1 -9
  95. package/dist/components/p-notification-preview.js +1 -104
  96. package/dist/components/p-notification.js +1 -9
  97. package/dist/components/p-progress-bar.js +1 -87
  98. package/dist/components/p-slider.js +1 -57
  99. package/dist/components/p-spinner.js +1 -9
  100. package/dist/components/p-switch-tile.js +1 -69
  101. package/dist/components/p-switch.js +1 -61
  102. package/dist/components/p-tab.js +1 -47
  103. package/dist/components/p-tabs.js +1 -85
  104. package/dist/components/p-tooltip.js +1 -49
  105. package/dist/components/p-wCnrlyQl.js +1 -0
  106. package/dist/esm/app-globals-DQuL1Twl.js +0 -3
  107. package/dist/esm/feather-fjnyWEDB.js +0 -3
  108. package/dist/esm/{index-D_9dM54j.js → index-B4NZTtB_.js} +437 -239
  109. package/dist/esm/index.js +0 -3
  110. package/dist/esm/loader.js +3 -6
  111. package/dist/esm/p-accordion.entry.js +10 -9
  112. package/dist/esm/p-alert.entry.js +4 -7
  113. package/dist/esm/p-badge.entry.js +4 -7
  114. package/dist/esm/p-breadcrumb-item.entry.js +3 -6
  115. package/dist/esm/p-breadcrumb.entry.js +4 -7
  116. package/dist/esm/p-button_4.entry.js +11 -14
  117. package/dist/esm/p-card.entry.js +5 -8
  118. package/dist/esm/p-icon.entry.js +804 -493
  119. package/dist/esm/p-input-text.entry.js +5 -8
  120. package/dist/esm/p-leaf.entry.js +4 -7
  121. package/dist/esm/p-modal.entry.js +4 -7
  122. package/dist/esm/p-navbar-item.entry.js +24 -0
  123. package/dist/esm/p-navbar.entry.js +42 -0
  124. package/dist/esm/p-notification-preview.entry.js +11 -14
  125. package/dist/esm/p-notification.entry.js +5 -8
  126. package/dist/esm/p-progress-bar.entry.js +4 -7
  127. package/dist/esm/p-slider.entry.js +5 -8
  128. package/dist/esm/p-spinner.entry.js +5 -8
  129. package/dist/esm/p-switch-tile.entry.js +4 -7
  130. package/dist/esm/p-switch.entry.js +4 -7
  131. package/dist/esm/p-tab.entry.js +5 -8
  132. package/dist/esm/p-tabs.entry.js +6 -9
  133. package/dist/esm/p-tooltip.entry.js +4 -7
  134. package/dist/esm/papierjs.js +4 -7
  135. package/dist/papierjs/index.esm.js +0 -2
  136. package/dist/papierjs/p-049a4106.entry.js +1 -0
  137. package/dist/papierjs/p-0d6ba9a4.entry.js +1 -0
  138. package/dist/papierjs/p-1071b445.entry.js +1 -0
  139. package/dist/papierjs/p-18e2b807.entry.js +1 -0
  140. package/dist/papierjs/p-1e0a94d9.entry.js +1 -0
  141. package/dist/papierjs/p-3654bad6.entry.js +1 -0
  142. package/dist/papierjs/p-3be660f1.entry.js +1 -0
  143. package/dist/papierjs/p-57dc9248.entry.js +1 -0
  144. package/dist/papierjs/p-59d1a95c.entry.js +1 -0
  145. package/dist/papierjs/p-6178a41a.entry.js +1 -0
  146. package/dist/papierjs/p-67ec8731.entry.js +1 -0
  147. package/dist/papierjs/p-6b73ff84.entry.js +1 -0
  148. package/dist/papierjs/p-72477120.entry.js +1 -0
  149. package/dist/papierjs/p-8d4911ee.entry.js +1 -0
  150. package/dist/papierjs/p-8dfc72ce.entry.js +1 -0
  151. package/dist/papierjs/p-B4NZTtB_.js +2 -0
  152. package/dist/papierjs/p-DQuL1Twl.js +1 -2
  153. package/dist/papierjs/p-a0a5a5f8.entry.js +1 -0
  154. package/dist/papierjs/p-a2a46625.entry.js +1 -0
  155. package/dist/papierjs/p-b3ff9364.entry.js +1 -0
  156. package/dist/papierjs/p-c7d6c23a.entry.js +1 -0
  157. package/dist/papierjs/p-d6e3f78d.entry.js +1 -0
  158. package/dist/papierjs/p-d6fa2cc2.entry.js +1 -0
  159. package/dist/papierjs/p-d8f96a15.entry.js +1 -0
  160. package/dist/papierjs/p-d9520b51.entry.js +1 -0
  161. package/dist/papierjs/p-fjnyWEDB.js +79 -80
  162. package/dist/papierjs/papierjs.esm.js +1 -2
  163. package/dist/types/components/form/p-input-text/input-text.d.ts +3 -0
  164. package/dist/types/components/navigation/p-navbar/p-navbar.d.ts +16 -0
  165. package/dist/types/components/navigation/p-navbar-item/p-navbar-item.d.ts +12 -0
  166. package/dist/types/components/p-accordion/p-accordion.d.ts +1 -0
  167. package/dist/types/components.d.ts +282 -45
  168. package/dist/types/stencil-public-runtime.d.ts +155 -6
  169. package/package.json +26 -25
  170. package/readme.md +3 -4
  171. package/dist/cjs/app-globals-V2Kpy_OQ.js.map +0 -1
  172. package/dist/cjs/feather-hhpdTUdS.js.map +0 -1
  173. package/dist/cjs/index-BLkeAjdP.js.map +0 -1
  174. package/dist/cjs/index.cjs.js.map +0 -1
  175. package/dist/cjs/loader.cjs.js.map +0 -1
  176. package/dist/cjs/p-accordion.cjs.entry.js.map +0 -1
  177. package/dist/cjs/p-accordion.entry.cjs.js.map +0 -1
  178. package/dist/cjs/p-alert.cjs.entry.js.map +0 -1
  179. package/dist/cjs/p-alert.entry.cjs.js.map +0 -1
  180. package/dist/cjs/p-badge.cjs.entry.js.map +0 -1
  181. package/dist/cjs/p-badge.entry.cjs.js.map +0 -1
  182. package/dist/cjs/p-breadcrumb-item.cjs.entry.js.map +0 -1
  183. package/dist/cjs/p-breadcrumb-item.entry.cjs.js.map +0 -1
  184. package/dist/cjs/p-breadcrumb.cjs.entry.js.map +0 -1
  185. package/dist/cjs/p-breadcrumb.entry.cjs.js.map +0 -1
  186. package/dist/cjs/p-button.p-dropdown.p-dropdown-item.p-notification-handler.entry.cjs.js.map +0 -1
  187. package/dist/cjs/p-button_4.cjs.entry.js.map +0 -1
  188. package/dist/cjs/p-card.cjs.entry.js.map +0 -1
  189. package/dist/cjs/p-card.entry.cjs.js.map +0 -1
  190. package/dist/cjs/p-icon.cjs.entry.js.map +0 -1
  191. package/dist/cjs/p-icon.entry.cjs.js.map +0 -1
  192. package/dist/cjs/p-input-text.cjs.entry.js.map +0 -1
  193. package/dist/cjs/p-input-text.entry.cjs.js.map +0 -1
  194. package/dist/cjs/p-leaf.cjs.entry.js.map +0 -1
  195. package/dist/cjs/p-leaf.entry.cjs.js.map +0 -1
  196. package/dist/cjs/p-modal.cjs.entry.js.map +0 -1
  197. package/dist/cjs/p-modal.entry.cjs.js.map +0 -1
  198. package/dist/cjs/p-notification-preview.cjs.entry.js.map +0 -1
  199. package/dist/cjs/p-notification-preview.entry.cjs.js.map +0 -1
  200. package/dist/cjs/p-notification.cjs.entry.js.map +0 -1
  201. package/dist/cjs/p-notification.entry.cjs.js.map +0 -1
  202. package/dist/cjs/p-progress-bar.cjs.entry.js.map +0 -1
  203. package/dist/cjs/p-progress-bar.entry.cjs.js.map +0 -1
  204. package/dist/cjs/p-slider.cjs.entry.js.map +0 -1
  205. package/dist/cjs/p-slider.entry.cjs.js.map +0 -1
  206. package/dist/cjs/p-spinner.cjs.entry.js.map +0 -1
  207. package/dist/cjs/p-spinner.entry.cjs.js.map +0 -1
  208. package/dist/cjs/p-switch-tile.cjs.entry.js.map +0 -1
  209. package/dist/cjs/p-switch-tile.entry.cjs.js.map +0 -1
  210. package/dist/cjs/p-switch.cjs.entry.js.map +0 -1
  211. package/dist/cjs/p-switch.entry.cjs.js.map +0 -1
  212. package/dist/cjs/p-tab.cjs.entry.js.map +0 -1
  213. package/dist/cjs/p-tab.entry.cjs.js.map +0 -1
  214. package/dist/cjs/p-tabs.cjs.entry.js.map +0 -1
  215. package/dist/cjs/p-tabs.entry.cjs.js.map +0 -1
  216. package/dist/cjs/p-tooltip.cjs.entry.js.map +0 -1
  217. package/dist/cjs/p-tooltip.entry.cjs.js.map +0 -1
  218. package/dist/cjs/papierjs.cjs.js.map +0 -1
  219. package/dist/collection/components/breadcrumb/p-breadcrumb/p-breadcrumb.js.map +0 -1
  220. package/dist/collection/components/breadcrumb/p-breadcrumb-item/p-breadcrumb-item.js.map +0 -1
  221. package/dist/collection/components/dropdown/p-dropdown/p-dropdown.js.map +0 -1
  222. package/dist/collection/components/dropdown/p-dropdown-item/p-dropdown-item.js.map +0 -1
  223. package/dist/collection/components/form/p-input-text/input-text.js.map +0 -1
  224. package/dist/collection/components/form/p-slider/sliders.js.map +0 -1
  225. package/dist/collection/components/form/p-slider/sliders.preview.js.map +0 -1
  226. package/dist/collection/components/form/p-switch/switch.js.map +0 -1
  227. package/dist/collection/components/form/p-switch-tile/switch-tile.js.map +0 -1
  228. package/dist/collection/components/notification/p-notification/p-notification.js.map +0 -1
  229. package/dist/collection/components/notification/p-notification-handler/p-notification-handler.js.map +0 -1
  230. package/dist/collection/components/notification/p-notification-handler/stories/p-notification-preview.js.map +0 -1
  231. package/dist/collection/components/p-accordion/p-accordion.js.map +0 -1
  232. package/dist/collection/components/p-alert/p-alert.js.map +0 -1
  233. package/dist/collection/components/p-badge/p-badge.js.map +0 -1
  234. package/dist/collection/components/p-button/p-button.js.map +0 -1
  235. package/dist/collection/components/p-card/p-card.js.map +0 -1
  236. package/dist/collection/components/p-icon/icons.js.map +0 -1
  237. package/dist/collection/components/p-icon/p-icon.js.map +0 -1
  238. package/dist/collection/components/p-leaf/p-leaf.js.map +0 -1
  239. package/dist/collection/components/p-modal/p-modal.js.map +0 -1
  240. package/dist/collection/components/p-modal/stories/modal.preview.js +0 -19
  241. package/dist/collection/components/p-progress-bar/p-progress-bar.js.map +0 -1
  242. package/dist/collection/components/p-progress-bar/stories/progress-bar.preview.js +0 -23
  243. package/dist/collection/components/p-progress-bar/stories/progress-bar.preview.js.map +0 -1
  244. package/dist/collection/components/p-spinner/p-spinner.js.map +0 -1
  245. package/dist/collection/components/p-tooltip/p-tooltip.js.map +0 -1
  246. package/dist/collection/components/tabs/p-tab/p-tab.js.map +0 -1
  247. package/dist/collection/components/tabs/p-tabs/p-tabs.js.map +0 -1
  248. package/dist/collection/index.js.map +0 -1
  249. package/dist/components/index.js.map +0 -1
  250. package/dist/components/p-BG8QQjTj.js +0 -81
  251. package/dist/components/p-BG8QQjTj.js.map +0 -1
  252. package/dist/components/p-BoXBUJUF.js +0 -53
  253. package/dist/components/p-BoXBUJUF.js.map +0 -1
  254. package/dist/components/p-C1WiDOUO.js +0 -533
  255. package/dist/components/p-C1WiDOUO.js.map +0 -1
  256. package/dist/components/p-D-0lSopu.js +0 -78
  257. package/dist/components/p-D-0lSopu.js.map +0 -1
  258. package/dist/components/p-DTXRchKU.js +0 -93
  259. package/dist/components/p-DTXRchKU.js.map +0 -1
  260. package/dist/components/p-Dfl1qwUC.js +0 -49
  261. package/dist/components/p-Dfl1qwUC.js.map +0 -1
  262. package/dist/components/p-Ixyl16zU.js +0 -102
  263. package/dist/components/p-Ixyl16zU.js.map +0 -1
  264. package/dist/components/p-accordion.js.map +0 -1
  265. package/dist/components/p-alert.js.map +0 -1
  266. package/dist/components/p-badge.js.map +0 -1
  267. package/dist/components/p-breadcrumb-item.js.map +0 -1
  268. package/dist/components/p-breadcrumb.js.map +0 -1
  269. package/dist/components/p-button.js.map +0 -1
  270. package/dist/components/p-card.js.map +0 -1
  271. package/dist/components/p-dropdown-item.js.map +0 -1
  272. package/dist/components/p-dropdown.js.map +0 -1
  273. package/dist/components/p-fjnyWEDB.js.map +0 -1
  274. package/dist/components/p-icon.js.map +0 -1
  275. package/dist/components/p-input-text.js.map +0 -1
  276. package/dist/components/p-leaf.js.map +0 -1
  277. package/dist/components/p-modal.js.map +0 -1
  278. package/dist/components/p-notification-handler.js.map +0 -1
  279. package/dist/components/p-notification-preview.js.map +0 -1
  280. package/dist/components/p-notification.js.map +0 -1
  281. package/dist/components/p-progress-bar.js.map +0 -1
  282. package/dist/components/p-slider.js.map +0 -1
  283. package/dist/components/p-spinner.js.map +0 -1
  284. package/dist/components/p-switch-tile.js.map +0 -1
  285. package/dist/components/p-switch.js.map +0 -1
  286. package/dist/components/p-tab.js.map +0 -1
  287. package/dist/components/p-tabs.js.map +0 -1
  288. package/dist/components/p-tooltip.js.map +0 -1
  289. package/dist/esm/app-globals-DQuL1Twl.js.map +0 -1
  290. package/dist/esm/feather-fjnyWEDB.js.map +0 -1
  291. package/dist/esm/index-D_9dM54j.js.map +0 -1
  292. package/dist/esm/index.js.map +0 -1
  293. package/dist/esm/loader.js.map +0 -1
  294. package/dist/esm/p-accordion.entry.js.map +0 -1
  295. package/dist/esm/p-alert.entry.js.map +0 -1
  296. package/dist/esm/p-badge.entry.js.map +0 -1
  297. package/dist/esm/p-breadcrumb-item.entry.js.map +0 -1
  298. package/dist/esm/p-breadcrumb.entry.js.map +0 -1
  299. package/dist/esm/p-button.p-dropdown.p-dropdown-item.p-notification-handler.entry.js.map +0 -1
  300. package/dist/esm/p-button_4.entry.js.map +0 -1
  301. package/dist/esm/p-card.entry.js.map +0 -1
  302. package/dist/esm/p-icon.entry.js.map +0 -1
  303. package/dist/esm/p-input-text.entry.js.map +0 -1
  304. package/dist/esm/p-leaf.entry.js.map +0 -1
  305. package/dist/esm/p-modal.entry.js.map +0 -1
  306. package/dist/esm/p-notification-preview.entry.js.map +0 -1
  307. package/dist/esm/p-notification.entry.js.map +0 -1
  308. package/dist/esm/p-progress-bar.entry.js.map +0 -1
  309. package/dist/esm/p-slider.entry.js.map +0 -1
  310. package/dist/esm/p-spinner.entry.js.map +0 -1
  311. package/dist/esm/p-switch-tile.entry.js.map +0 -1
  312. package/dist/esm/p-switch.entry.js.map +0 -1
  313. package/dist/esm/p-tab.entry.js.map +0 -1
  314. package/dist/esm/p-tabs.entry.js.map +0 -1
  315. package/dist/esm/p-tooltip.entry.js.map +0 -1
  316. package/dist/esm/papierjs.js.map +0 -1
  317. package/dist/papierjs/index.esm.js.map +0 -1
  318. package/dist/papierjs/loader.esm.js.map +0 -1
  319. package/dist/papierjs/p-06e2ec9e.entry.js +0 -2
  320. package/dist/papierjs/p-06e2ec9e.entry.js.map +0 -1
  321. package/dist/papierjs/p-0cf51930.entry.js +0 -2
  322. package/dist/papierjs/p-0cf51930.entry.js.map +0 -1
  323. package/dist/papierjs/p-143bbaaa.entry.js +0 -2
  324. package/dist/papierjs/p-143bbaaa.entry.js.map +0 -1
  325. package/dist/papierjs/p-145622ef.entry.js +0 -2
  326. package/dist/papierjs/p-145622ef.entry.js.map +0 -1
  327. package/dist/papierjs/p-2edc68be.entry.js +0 -2
  328. package/dist/papierjs/p-2edc68be.entry.js.map +0 -1
  329. package/dist/papierjs/p-4661561e.entry.js +0 -2
  330. package/dist/papierjs/p-4661561e.entry.js.map +0 -1
  331. package/dist/papierjs/p-47711f14.entry.js +0 -2
  332. package/dist/papierjs/p-47711f14.entry.js.map +0 -1
  333. package/dist/papierjs/p-4b20a14f.entry.js +0 -2
  334. package/dist/papierjs/p-4b20a14f.entry.js.map +0 -1
  335. package/dist/papierjs/p-55ab1a5c.entry.js +0 -2
  336. package/dist/papierjs/p-55ab1a5c.entry.js.map +0 -1
  337. package/dist/papierjs/p-584a8668.entry.js +0 -2
  338. package/dist/papierjs/p-584a8668.entry.js.map +0 -1
  339. package/dist/papierjs/p-76da6759.entry.js +0 -2
  340. package/dist/papierjs/p-76da6759.entry.js.map +0 -1
  341. package/dist/papierjs/p-7ff3b05b.entry.js +0 -2
  342. package/dist/papierjs/p-7ff3b05b.entry.js.map +0 -1
  343. package/dist/papierjs/p-8ab5c78c.entry.js +0 -2
  344. package/dist/papierjs/p-8ab5c78c.entry.js.map +0 -1
  345. package/dist/papierjs/p-8f7beefb.entry.js +0 -2
  346. package/dist/papierjs/p-8f7beefb.entry.js.map +0 -1
  347. package/dist/papierjs/p-DQuL1Twl.js.map +0 -1
  348. package/dist/papierjs/p-D_9dM54j.js +0 -3
  349. package/dist/papierjs/p-D_9dM54j.js.map +0 -1
  350. package/dist/papierjs/p-accordion.entry.esm.js.map +0 -1
  351. package/dist/papierjs/p-alert.entry.esm.js.map +0 -1
  352. package/dist/papierjs/p-badge.entry.esm.js.map +0 -1
  353. package/dist/papierjs/p-breadcrumb-item.entry.esm.js.map +0 -1
  354. package/dist/papierjs/p-breadcrumb.entry.esm.js.map +0 -1
  355. package/dist/papierjs/p-button.p-dropdown.p-dropdown-item.p-notification-handler.entry.esm.js.map +0 -1
  356. package/dist/papierjs/p-c2525bb6.entry.js +0 -2
  357. package/dist/papierjs/p-c2525bb6.entry.js.map +0 -1
  358. package/dist/papierjs/p-c28e86c9.entry.js +0 -2
  359. package/dist/papierjs/p-c28e86c9.entry.js.map +0 -1
  360. package/dist/papierjs/p-card.entry.esm.js.map +0 -1
  361. package/dist/papierjs/p-ce23e06d.entry.js +0 -2
  362. package/dist/papierjs/p-ce23e06d.entry.js.map +0 -1
  363. package/dist/papierjs/p-d0848378.entry.js +0 -2
  364. package/dist/papierjs/p-d0848378.entry.js.map +0 -1
  365. package/dist/papierjs/p-e656b497.entry.js +0 -2
  366. package/dist/papierjs/p-e656b497.entry.js.map +0 -1
  367. package/dist/papierjs/p-f1d4da9a.entry.js +0 -2
  368. package/dist/papierjs/p-f1d4da9a.entry.js.map +0 -1
  369. package/dist/papierjs/p-f56b1321.entry.js +0 -2
  370. package/dist/papierjs/p-f56b1321.entry.js.map +0 -1
  371. package/dist/papierjs/p-fjnyWEDB.js.map +0 -1
  372. package/dist/papierjs/p-icon.entry.esm.js.map +0 -1
  373. package/dist/papierjs/p-input-text.entry.esm.js.map +0 -1
  374. package/dist/papierjs/p-leaf.entry.esm.js.map +0 -1
  375. package/dist/papierjs/p-modal.entry.esm.js.map +0 -1
  376. package/dist/papierjs/p-notification-preview.entry.esm.js.map +0 -1
  377. package/dist/papierjs/p-notification.entry.esm.js.map +0 -1
  378. package/dist/papierjs/p-progress-bar.entry.esm.js.map +0 -1
  379. package/dist/papierjs/p-slider.entry.esm.js.map +0 -1
  380. package/dist/papierjs/p-spinner.entry.esm.js.map +0 -1
  381. package/dist/papierjs/p-switch-tile.entry.esm.js.map +0 -1
  382. package/dist/papierjs/p-switch.entry.esm.js.map +0 -1
  383. package/dist/papierjs/p-tab.entry.esm.js.map +0 -1
  384. package/dist/papierjs/p-tabs.entry.esm.js.map +0 -1
  385. package/dist/papierjs/p-tooltip.entry.esm.js.map +0 -1
  386. package/dist/papierjs/papierjs.esm.js.map +0 -1
  387. package/dist/types/components/p-progress-bar/stories/progress-bar.preview.d.ts +0 -1
@@ -1,4 +1,6 @@
1
- declare type CustomMethodDecorator<T> = (target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void;
1
+ type CustomMethodDecorator<T> = (target: object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void;
2
+ type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
3
+ type MixinInstance<F> = F extends (base: MixedInCtor) => MixedInCtor<infer I> ? I : never;
2
4
  export interface ComponentDecorator {
3
5
  (opts?: ComponentOptions): ClassDecorator;
4
6
  }
@@ -61,6 +63,12 @@ export interface ShadowRootOptions {
61
63
  * focusable part is given focus, and the shadow host is given any available `:focus` styling.
62
64
  */
63
65
  delegatesFocus?: boolean;
66
+ /**
67
+ * Sets the slot assignment mode for the shadow root. When set to `'manual'`, enables imperative
68
+ * slotting using the `HTMLSlotElement.assign()` method. Defaults to `'named'` for standard
69
+ * declarative slotting behavior.
70
+ */
71
+ slotAssignment?: 'manual' | 'named';
64
72
  }
65
73
  export interface ModeStyles {
66
74
  [modeName: string]: string | string[];
@@ -117,12 +125,34 @@ export interface EventOptions {
117
125
  */
118
126
  composed?: boolean;
119
127
  }
128
+ export interface AttachInternalsOptions {
129
+ /**
130
+ * Initial custom states to set on the ElementInternals.states CustomStateSet.
131
+ * Each key is the state name and the value is the initial boolean state.
132
+ *
133
+ * These states can be targeted with the CSS `:state()` pseudo-class.
134
+ *
135
+ * @example
136
+ * ```tsx
137
+ * @AttachInternals({ states: { open: true, active: false } })
138
+ * internals: ElementInternals;
139
+ * ```
140
+ *
141
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/CustomStateSet
142
+ */
143
+ states?: {
144
+ [stateName: string]: boolean;
145
+ };
146
+ }
120
147
  export interface AttachInternalsDecorator {
121
- (): PropertyDecorator;
148
+ (opts?: AttachInternalsOptions): PropertyDecorator;
122
149
  }
123
150
  export interface ListenDecorator {
124
151
  (eventName: string, opts?: ListenOptions): CustomMethodDecorator<any>;
125
152
  }
153
+ export interface ResolveVarFunction {
154
+ <T>(variable: T): string;
155
+ }
126
156
  export interface ListenOptions {
127
157
  /**
128
158
  * Handlers can also be registered for an event other than the host itself.
@@ -151,7 +181,15 @@ export interface StateDecorator {
151
181
  (): PropertyDecorator;
152
182
  }
153
183
  export interface WatchDecorator {
154
- (propName: string): CustomMethodDecorator<any>;
184
+ (propName: any, watchOptions?: {
185
+ immediate?: boolean;
186
+ }): CustomMethodDecorator<(newValue?: any, oldValue?: any, propName?: any, ...args: any[]) => any | void>;
187
+ }
188
+ export interface PropSerializeDecorator {
189
+ (propName: any): CustomMethodDecorator<(newValue?: any, propName?: string, ...args: any[]) => string | null>;
190
+ }
191
+ export interface AttrDeserializeDecorator {
192
+ (propName: any): CustomMethodDecorator<(newValue?: any, propName?: string, ...args: any[]) => any>;
155
193
  }
156
194
  export interface UserBuildConditionals {
157
195
  isDev: boolean;
@@ -200,6 +238,24 @@ export declare const AttachInternals: AttachInternalsDecorator;
200
238
  * https://stenciljs.com/docs/events#listen-decorator
201
239
  */
202
240
  export declare const Listen: ListenDecorator;
241
+ /**
242
+ * The `resolveVar()` function is a compile-time utility that resolves const variables
243
+ * and object properties to their string literal values. This allows variables to be
244
+ * used in `@Listen` and `@Event` decorators instead of hardcoded strings.
245
+ *
246
+ * @example
247
+ * ```ts
248
+ * const MY_EVENT = 'myEvent';
249
+ * @Listen(resolveVar(MY_EVENT))
250
+ * ```
251
+ *
252
+ * @example
253
+ * ```ts
254
+ * const EVENTS = { MY_EVENT: 'myEvent' } as const;
255
+ * @Event({ eventName: resolveVar(EVENTS.MY_EVENT) })
256
+ * ```
257
+ */
258
+ export declare const resolveVar: ResolveVarFunction;
203
259
  /**
204
260
  * The `@Method()` decorator is used to expose methods on the public API.
205
261
  * Class methods decorated with the @Method() decorator can be called directly
@@ -233,6 +289,14 @@ export declare const State: StateDecorator;
233
289
  * https://stenciljs.com/docs/reactive-data#watch-decorator
234
290
  */
235
291
  export declare const Watch: WatchDecorator;
292
+ /**
293
+ * Decorator to serialize a property to an attribute string.
294
+ */
295
+ export declare const PropSerialize: PropSerializeDecorator;
296
+ /**
297
+ * Decorator to deserialize an attribute string to a property.
298
+ */
299
+ export declare const AttrDeserialize: AttrDeserializeDecorator;
236
300
  export type ResolutionHandler = (elm: HTMLElement) => string | undefined | null;
237
301
  export type ErrorHandler = (err: any, element?: HTMLElement) => void;
238
302
  /**
@@ -349,6 +413,58 @@ export declare function readTask(task: RafCallback): void;
349
413
  * Unhandled exception raised while rendering, during event handling, or lifecycles will trigger the custom event handler.
350
414
  */
351
415
  export declare const setErrorHandler: (handler: ErrorHandler) => void;
416
+ export type TagTransformer = (tag: string) => string;
417
+ /**
418
+ * Sets a tag transformer to be used when rendering your custom elements.
419
+ * ```ts
420
+ * setTagTransformer((tag) => {
421
+ * if (tag.startsWith('my-')) return `new-${tag}`
422
+ * return tag;
423
+ * });
424
+ * ```
425
+ * Will mean all your components that start with `my-` are defined instead with `new-my-` prefix.
426
+ *
427
+ * @param transformer the transformer function to use which must return a string.
428
+ */
429
+ export declare function setTagTransformer(transformer: TagTransformer): void;
430
+ /**
431
+ * Transforms a tag name using a transformer set via `setTagTransformer`
432
+ *
433
+ * @param tag - the tag to transform e.g. `my-tag`
434
+ * @returns the transformed tag e.g. `new-my-tag`
435
+ */
436
+ export declare function transformTag(tag: string): string;
437
+ /**
438
+ * @deprecated - Use `MixedInCtor` instead:
439
+ * ```ts
440
+ * import { MixedInCtor } from '@stencil/core';
441
+ *
442
+ * const AFactoryFn = <B extends MixedInCtor>(Base: B) => {class A extends Base { propA = A }; return A;}
443
+ * ```
444
+ */
445
+ export type MixinFactory = (base: MixedInCtor) => MixedInCtor;
446
+ export type MixedInCtor<T = {}> = new (...args: any[]) => T;
447
+ /**
448
+ * Compose multiple mixin classes into a single constructor.
449
+ * The resulting class has the combined instance types of all mixed-in classes.
450
+ *
451
+ * Example:
452
+ * ```ts
453
+ * import { Mixin, MixedInCtor } from '@stencil/core';
454
+ *
455
+ * const AWrap = <B extends MixedInCtor>(Base: B) => {class A extends Base { propA = A }; return A;}
456
+ * const BWrap = <B extends MixedInCtor>(Base: B) => {class B extends Base { propB = B }; return B;}
457
+ * const CWrap = <B extends MixedInCtor>(Base: B) => {class C extends Base { propC = C }; return C;}
458
+ *
459
+ * class X extends Mixin(AWrap, BWrap, CWrap) {
460
+ * render() { return <div>{this.propA} {this.propB} {this.propC}</div>; }
461
+ * }
462
+ * ```
463
+ *
464
+ * @param mixinFactories mixin factory functions that return a class which extends from the provided class.
465
+ * @returns a class that is composed from extending each of the provided classes in the order they were provided.
466
+ */
467
+ export declare function Mixin<const TMixins extends readonly MixinFactory[]>(...mixinFactories: TMixins): abstract new (...args: any[]) => UnionToIntersection<MixinInstance<TMixins[number]>>;
352
468
  /**
353
469
  * This file gets copied to all distributions of stencil component collections.
354
470
  * - no imports
@@ -521,7 +637,7 @@ export interface FunctionalUtilities {
521
637
  map: (children: VNode[], cb: (vnode: ChildNode, index: number, array: ChildNode[]) => ChildNode) => VNode[];
522
638
  }
523
639
  export interface FunctionalComponent<T = {}> {
524
- (props: T, children: VNode[], utils: FunctionalUtilities): VNode | VNode[];
640
+ (props: T, children: VNode[], utils: FunctionalUtilities): VNode | VNode[] | null;
525
641
  }
526
642
  /**
527
643
  * A Child VDOM node
@@ -576,6 +692,35 @@ export declare function h(sel: any, text: string): VNode;
576
692
  export declare function h(sel: any, children: Array<VNode | undefined | null>): VNode;
577
693
  export declare function h(sel: any, data: VNodeData | null, text: string): VNode;
578
694
  export declare function h(sel: any, data: VNodeData | null, children: Array<VNode | undefined | null>): VNode;
695
+ /**
696
+ * Automatic JSX runtime functions for TypeScript's react-jsx mode.
697
+ * These functions are called automatically by TypeScript when using "jsx": "react-jsx".
698
+ * @param type type of node
699
+ * @param props properties of node
700
+ * @param key optional key for the node
701
+ * @returns a jsx vnode
702
+ */
703
+ export declare function jsx(type: any, props: any, key?: string): VNode;
704
+ /**
705
+ * Automatic JSX runtime functions for TypeScript's react-jsxmode with multiple children.
706
+ * @param type type of node
707
+ * @param props properties of node
708
+ * @param key optional key for the node
709
+ * @returns a jsx vnode
710
+ */
711
+ export declare function jsxs(type: any, props: any, key?: string): VNode;
712
+ /**
713
+ * Automatic JSX runtime functions for TypeScript's react-jsxdev mode.
714
+ * These functions are called automatically by TypeScript when using "jsx": "react-jsxdev".
715
+ * @param type type of node
716
+ * @param props properties of node
717
+ * @param key optional key for the node
718
+ * @param isStaticChildren indicates if the children are static
719
+ * @param source source information
720
+ * @param self reference to the component instance
721
+ * @returns a jsx vnode
722
+ */
723
+ export declare function jsxDEV(type: any, props: any, key?: string | number, isStaticChildren?: boolean, source?: any, self?: any): VNode;
579
724
  export declare function h(sel: any, data: VNodeData | null, children: VNode): VNode;
580
725
  /**
581
726
  * A virtual DOM node
@@ -606,7 +751,7 @@ declare namespace LocalJSX {
606
751
  export { LocalJSX as JSX };
607
752
  export declare namespace JSXBase {
608
753
  interface IntrinsicElements {
609
- slot: JSXBase.SlotAttributes;
754
+ slot: JSXBase.SlotAttributes<HTMLSlotElement>;
610
755
  a: JSXBase.AnchorHTMLAttributes<HTMLAnchorElement>;
611
756
  abbr: JSXBase.HTMLAttributes;
612
757
  address: JSXBase.HTMLAttributes;
@@ -776,7 +921,7 @@ export declare namespace JSXBase {
776
921
  use: JSXBase.SVGAttributes;
777
922
  view: JSXBase.SVGAttributes;
778
923
  }
779
- interface SlotAttributes extends JSXAttributes {
924
+ interface SlotAttributes<T = HTMLSlotElement> extends JSXAttributes<T> {
780
925
  name?: string;
781
926
  slot?: string;
782
927
  onSlotchange?: (event: Event) => void;
@@ -832,6 +977,9 @@ export declare namespace JSXBase {
832
977
  popoverTargetAction?: string;
833
978
  popoverTargetElement?: Element | null;
834
979
  popoverTarget?: string;
980
+ command?: string;
981
+ commandFor?: string;
982
+ commandfor?: string;
835
983
  }
836
984
  interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
837
985
  height?: number | string;
@@ -1700,6 +1848,7 @@ export interface CustomElementsDefineOptions {
1700
1848
  exclude?: string[];
1701
1849
  resourcesUrl?: string;
1702
1850
  syncQueue?: boolean;
1851
+ /** @deprecated in-favour of `setTagTransformer` and `transformTag` */
1703
1852
  transformTagName?: (tagName: string) => string;
1704
1853
  jmp?: (c: Function) => any;
1705
1854
  raf?: (c: FrameRequestCallback) => number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amiceli/papierjs",
3
- "version": "0.12.0",
3
+ "version": "0.14.0",
4
4
  "description": "Papercss web components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -40,45 +40,46 @@
40
40
  "loader/"
41
41
  ],
42
42
  "scripts": {
43
+ "build:all": "npm run build && npm run build:histoire",
44
+ "dev": "npx histoire dev",
43
45
  "build:icon": "node scripts/copy-svg.js",
44
- "build": "npm run build:icon && stencil build",
46
+ "build": "npm run build:icon && stencil build --doc",
45
47
  "build:watch": "npm run build:icon && stencil build --watch",
48
+ "build:histoire": "npx histoire build",
46
49
  "start": "stencil build --dev --watch --serve",
47
50
  "test": "stencil test --spec --e2e",
48
51
  "test.watch": "stencil test --spec --e2e --watchAll",
49
52
  "generate": "stencil generate",
50
- "storybook": "storybook dev -p 6006 --no-open",
51
- "build-storybook": "storybook build",
52
- "lint": "biome check ."
53
+ "lint": "biome check --write."
53
54
  },
54
55
  "overrides": {
55
56
  "@types/node": "*"
56
57
  },
57
58
  "devDependencies": {
58
- "@biomejs/biome": "2.3.14",
59
- "@commitlint/cli": "^20.4.1",
60
- "@commitlint/config-conventional": "^20.4.1",
61
- "@stencil/core": "^4.26.0",
62
- "@stencil/sass": "^3.0.12",
63
- "@storybook/addon-docs": "^10.2.7",
64
- "@storybook/web-components-vite": "^10.2.7",
65
- "@types/jest": "^29.5.14",
66
- "@types/node": "^22.16.5",
67
- "dotenv": "^16.4.7",
68
- "jest": "^29.7.0",
69
- "jest-cli": "^29.7.0",
70
- "lefthook": "^2.1.0",
71
- "stencil-inline-svg": "^1.1.0",
72
- "storybook": "^10.2.7",
73
- "vite-plugin-live-reload": "^3.0.5"
59
+ "@biomejs/biome": "2.4.9",
60
+ "@commitlint/cli": "20.5.0",
61
+ "@commitlint/config-conventional": "20.5.0",
62
+ "@histoire/plugin-vue": "1.0.0-beta.1",
63
+ "@stencil/core": "4.43.0",
64
+ "@stencil/sass": "3.2.3",
65
+ "@types/jest": "29.5.14",
66
+ "@types/node": "22.16.5",
67
+ "@vitejs/plugin-vue": "6.0.4",
68
+ "dotenv": "17.3.1",
69
+ "histoire": "1.0.0-beta.1",
70
+ "jest": "29.7.0",
71
+ "jest-cli": "29.7.0",
72
+ "lefthook": "2.1.1",
73
+ "stencil-inline-svg": "1.1.0"
74
74
  },
75
75
  "optionalDependencies": {
76
- "puppeteer": "^24.2.1"
76
+ "puppeteer": "24.40.0"
77
77
  },
78
78
  "license": "MIT",
79
79
  "dependencies": {
80
- "feather-icons": "^4.29.2",
81
- "papercss": "^1.9.2",
82
- "pixelarticons": "^1.8.1"
80
+ "feather-icons": "4.29.2",
81
+ "markstream-vue": "0.0.7-beta.8",
82
+ "papercss": "1.9.2",
83
+ "pixelarticons": "2.0.2"
83
84
  }
84
85
  }
package/readme.md CHANGED
@@ -60,12 +60,11 @@ To build project :
60
60
 
61
61
  ```bash
62
62
  npm install
63
- npm run build
64
- npm run build-storybook
63
+ npm run build:all
65
64
  ```
66
65
 
67
- To run storybook :
66
+ To run histoire :
68
67
 
69
68
  ```bash
70
- npm run storybook
69
+ npm run dev
71
70
  ```
@@ -1 +0,0 @@
1
- {"version":3,"file":"app-globals-V2Kpy_OQ.js","sources":["@stencil/core/internal/app-globals"],"sourcesContent":["export const globalScripts = () => {};\nexport const globalStyles = \"\";\n"],"names":[],"mappings":";;AAAY,MAAC,aAAa,GAAG,MAAM;;;;"}