pure-uikit 1.3.13 → 1.3.15

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 (793) hide show
  1. package/cdn/chunks/{chunk.OWLSJYR6.js → chunk.24FXLF5D.js} +1 -1
  2. package/cdn/chunks/{chunk.MTCZTG2O.js → chunk.27IBFG2T.js} +2 -2
  3. package/{dist/chunks/chunk.2HDYCFNR.js → cdn/chunks/chunk.2IVXBZ6V.js} +1 -1
  4. package/cdn/chunks/{chunk.NBXTZBGY.js → chunk.2M7X4MSL.js} +1 -1
  5. package/cdn/chunks/{chunk.CXXFWYET.js → chunk.2NO342EB.js} +1 -1
  6. package/cdn/chunks/{chunk.C2ODCZDW.js → chunk.2TKMVPIU.js} +1 -1
  7. package/cdn/chunks/{chunk.MROHTBTP.js → chunk.2TR66J7F.js} +1 -1
  8. package/cdn/chunks/{chunk.MBHNMSLR.js → chunk.3CHGWNEN.js} +1 -1
  9. package/cdn/chunks/{chunk.PM2OVKQB.js → chunk.3GF7CS4C.js} +1 -1
  10. package/cdn/chunks/{chunk.B4OJAIJC.js → chunk.3MILICNS.js} +1 -1
  11. package/{dist/chunks/chunk.QFOGLCEG.js → cdn/chunks/chunk.3NW7PNK6.js} +1 -1
  12. package/{dist/chunks/chunk.BG3RI76X.js → cdn/chunks/chunk.3TDJ32E3.js} +1 -1
  13. package/cdn/chunks/{chunk.6DJBQ7BC.js → chunk.3TTS7PAE.js} +1 -1
  14. package/cdn/chunks/{chunk.KVQQJM4Q.js → chunk.3UJP5WST.js} +1 -1
  15. package/cdn/chunks/{chunk.KNHORGZN.js → chunk.3YYY4MJB.js} +2 -2
  16. package/{dist/chunks/chunk.BO7ZHUUQ.js → cdn/chunks/chunk.42747UEQ.js} +1 -1
  17. package/cdn/chunks/{chunk.AIX5CWKO.js → chunk.4BNYRIAD.js} +1 -1
  18. package/cdn/chunks/{chunk.G47CEP4T.js → chunk.4NG557VF.js} +1 -1
  19. package/cdn/chunks/{chunk.YEMLYJUM.js → chunk.4NLXKEMB.js} +1 -1
  20. package/cdn/chunks/{chunk.LRNEMGO6.js → chunk.4OOBQV6D.js} +2 -2
  21. package/cdn/chunks/{chunk.UARET5TI.js → chunk.4S5S3JBO.js} +1 -1
  22. package/cdn/chunks/{chunk.E42JIH7A.js → chunk.55V353PX.js} +2 -2
  23. package/cdn/chunks/{chunk.XGHBWNE2.js → chunk.5FDQWXA5.js} +2 -2
  24. package/cdn/chunks/{chunk.6NK3RQEF.js → chunk.5H4CQC6C.js} +5 -5
  25. package/cdn/chunks/{chunk.ENL2V27H.js → chunk.5HCR3CJO.js} +1 -1
  26. package/cdn/chunks/{chunk.4RGY6VDO.js → chunk.5K3QDYLU.js} +1 -1
  27. package/cdn/chunks/{chunk.MD6DI4KR.js → chunk.5Z6AN6TI.js} +1 -1
  28. package/cdn/chunks/{chunk.5KSGOW7Y.js → chunk.62PUJTKH.js} +4 -4
  29. package/{dist/chunks/chunk.RF3LKB7M.js → cdn/chunks/chunk.64FRMKEE.js} +1 -1
  30. package/cdn/chunks/{chunk.RJP2XDKW.js → chunk.6B6GEXXO.js} +2 -2
  31. package/cdn/chunks/{chunk.IC6ABDLW.js → chunk.6F3ONKB3.js} +5 -5
  32. package/cdn/chunks/{chunk.YWRX7TLT.js → chunk.6GXOHLOB.js} +4 -4
  33. package/cdn/chunks/{chunk.6MFTEBN5.js → chunk.6JUIJEPK.js} +1 -1
  34. package/cdn/chunks/{chunk.CXNZBAA5.js → chunk.6MWTOXGJ.js} +1 -1
  35. package/cdn/chunks/{chunk.OREJXL65.js → chunk.6NQDM4BD.js} +1 -1
  36. package/cdn/chunks/{chunk.5WPSCLMB.js → chunk.6PY4LZI7.js} +5 -5
  37. package/cdn/chunks/{chunk.EDDWLUXU.js → chunk.6SYNHX3H.js} +1 -1
  38. package/cdn/chunks/{chunk.DFUHMRJG.js → chunk.6V5ROZ5L.js} +1 -1
  39. package/cdn/chunks/{chunk.ESYCS26X.js → chunk.6YCAMLPF.js} +1 -1
  40. package/cdn/chunks/{chunk.FCVO3EOA.js → chunk.6ZFKUHT2.js} +1 -1
  41. package/{dist/chunks/chunk.KVEPV3P3.js → cdn/chunks/chunk.75YC2YT2.js} +1 -1
  42. package/{dist/chunks/chunk.RY2SD27W.js → cdn/chunks/chunk.7JPPJP4U.js} +1 -1
  43. package/cdn/chunks/{chunk.FVJBPRL6.js → chunk.7N6WKO3S.js} +5 -5
  44. package/cdn/chunks/{chunk.LG22OU3M.js → chunk.7TYQPJ3K.js} +2 -2
  45. package/cdn/chunks/{chunk.7FUZ4BQJ.js → chunk.7WJ6SZVL.js} +1 -1
  46. package/cdn/chunks/{chunk.EXD26BBH.js → chunk.A55UTZPZ.js} +1 -1
  47. package/{dist/chunks/chunk.M5KMRTT6.js → cdn/chunks/chunk.A5MTO56O.js} +1 -1
  48. package/cdn/chunks/{chunk.BV2IZJVP.js → chunk.A5PPB4DM.js} +1 -1
  49. package/cdn/chunks/{chunk.I2RGCSAQ.js → chunk.A5Z3LB3X.js} +1 -1
  50. package/cdn/chunks/{chunk.J3GUOAL6.js → chunk.ADCTQWIP.js} +1 -1
  51. package/cdn/chunks/{chunk.FICYTHHK.js → chunk.AEWBNDOI.js} +1 -1
  52. package/cdn/chunks/{chunk.U4TBOKK2.js → chunk.AKDGK5VE.js} +1 -1
  53. package/cdn/chunks/{chunk.XPYPHZSU.js → chunk.AQMUU74R.js} +2 -2
  54. package/cdn/chunks/{chunk.BS5S6ST3.js → chunk.BA5MCEKR.js} +1 -1
  55. package/cdn/chunks/{chunk.BVCNAIQE.js → chunk.BS4WAKSM.js} +1 -1
  56. package/cdn/chunks/{chunk.FOUPT6SV.js → chunk.CGLISVOX.js} +1 -1
  57. package/cdn/chunks/{chunk.ZPFZ737J.js → chunk.CJUJMSVG.js} +1 -1
  58. package/cdn/chunks/{chunk.Y5FKZTG4.js → chunk.CU3YT5NB.js} +1 -1
  59. package/cdn/chunks/{chunk.KCOXADTL.js → chunk.CZQZOAG7.js} +1 -1
  60. package/cdn/chunks/{chunk.EXT2SYWX.js → chunk.D3WGMEMO.js} +1 -1
  61. package/cdn/chunks/{chunk.SYEP2MUC.js → chunk.DICUOBU3.js} +6 -6
  62. package/{dist/chunks/chunk.AR6NJRQF.js → cdn/chunks/chunk.DMQSJ44K.js} +1 -1
  63. package/cdn/chunks/{chunk.AOJA6EKE.js → chunk.DSWVBGFI.js} +1 -1
  64. package/cdn/chunks/{chunk.YJ3MUN5J.js → chunk.DTOJ33UM.js} +1 -1
  65. package/cdn/chunks/{chunk.XBFOQ42C.js → chunk.E4OJGNXT.js} +1 -1
  66. package/cdn/chunks/{chunk.2IEZJ6TR.js → chunk.E77RCYU3.js} +1 -1
  67. package/cdn/chunks/{chunk.CXUKGKQ2.js → chunk.EABRCJP2.js} +10 -10
  68. package/cdn/chunks/{chunk.UWJRTBX6.js → chunk.EFBH3KOE.js} +4 -4
  69. package/cdn/chunks/{chunk.EADZB3LP.js → chunk.EKM3HNGO.js} +8 -8
  70. package/cdn/chunks/{chunk.IES5GYGL.js → chunk.ELVH32L7.js} +1 -1
  71. package/cdn/chunks/{chunk.PCFBCO3W.js → chunk.ENY3KPJB.js} +1 -1
  72. package/{dist/chunks/chunk.IIM2EIRY.js → cdn/chunks/chunk.EX3YT7M3.js} +1 -1
  73. package/cdn/chunks/{chunk.LUMCKIKA.js → chunk.EYJVQIPC.js} +1 -1
  74. package/cdn/chunks/{chunk.OV5EVEMZ.js → chunk.EYOGCT4J.js} +7 -7
  75. package/cdn/chunks/{chunk.5SBSYJSY.js → chunk.F7XP3GDT.js} +7 -7
  76. package/cdn/chunks/{chunk.NP6CCUVU.js → chunk.FDTHRLOW.js} +1 -1
  77. package/cdn/chunks/{chunk.BFSCNINE.js → chunk.FH5EVPDF.js} +1 -1
  78. package/cdn/chunks/{chunk.HRPBUGIC.js → chunk.FIDQNKWD.js} +1 -1
  79. package/cdn/chunks/{chunk.CRL2CMLR.js → chunk.FIHA33OC.js} +1 -1
  80. package/cdn/chunks/{chunk.DBADR6HJ.js → chunk.FNQTPQAL.js} +1 -1
  81. package/{dist/chunks/chunk.EXDDPKAS.js → cdn/chunks/chunk.FVHIWAT2.js} +1 -1
  82. package/cdn/chunks/{chunk.JYH5NF3X.js → chunk.FZFQMB4A.js} +4 -4
  83. package/cdn/chunks/{chunk.VFOQA5YV.js → chunk.G3IBZDM2.js} +1 -1
  84. package/cdn/chunks/{chunk.OFOUP54Z.js → chunk.GMSMSQUN.js} +1 -1
  85. package/{dist/chunks/chunk.BWNTXLEA.js → cdn/chunks/chunk.GS5FYO5Q.js} +1 -1
  86. package/cdn/chunks/{chunk.UMUUR7BE.js → chunk.GX6CRWSC.js} +5 -5
  87. package/cdn/chunks/{chunk.AKYKFBFK.js → chunk.HFB7M7L6.js} +1 -1
  88. package/cdn/chunks/{chunk.5MYKBT54.js → chunk.HUHVUCK5.js} +26 -1
  89. package/cdn/chunks/{chunk.AG6CBIF5.js → chunk.I3SHJLVU.js} +5 -5
  90. package/cdn/chunks/{chunk.FPFLTH62.js → chunk.IA6WLK43.js} +1 -1
  91. package/cdn/chunks/{chunk.WWQC6NQM.js → chunk.IO2TIMJA.js} +1 -1
  92. package/cdn/chunks/{chunk.ONJXZCTZ.js → chunk.IP3E2K74.js} +1 -1
  93. package/{dist/chunks/chunk.F2EECEN7.js → cdn/chunks/chunk.IQF4X3EX.js} +1 -1
  94. package/cdn/chunks/{chunk.Q23Q5XRI.js → chunk.J3YJXXLW.js} +5 -5
  95. package/cdn/chunks/{chunk.O24HDHSE.js → chunk.J5JYOMIS.js} +1 -1
  96. package/cdn/chunks/{chunk.C3UEEGFH.js → chunk.J7SM3NXN.js} +1 -1
  97. package/cdn/chunks/{chunk.NFFGYFDL.js → chunk.JAVWNIK6.js} +1 -1
  98. package/cdn/chunks/{chunk.VK4VP3Q5.js → chunk.JFLAV273.js} +1 -1
  99. package/cdn/chunks/{chunk.GP5F6T37.js → chunk.JFUHKDGC.js} +1 -1
  100. package/cdn/chunks/{chunk.4DWCDPJY.js → chunk.JY3RCARC.js} +1 -1
  101. package/cdn/chunks/{chunk.IHUTXKE5.js → chunk.K7PKUZ54.js} +1 -1
  102. package/cdn/chunks/{chunk.JOMYQOW4.js → chunk.KQL2HYF4.js} +1 -1
  103. package/cdn/chunks/{chunk.HOVHVBPX.js → chunk.KS2UMT4V.js} +1 -1
  104. package/cdn/chunks/{chunk.QAPUJML4.js → chunk.KWE5CH3R.js} +1 -1
  105. package/cdn/chunks/{chunk.CSVXQWKP.js → chunk.L54FLR2B.js} +1 -1
  106. package/cdn/chunks/{chunk.NBNITDFO.js → chunk.LANENZ44.js} +1 -1
  107. package/cdn/chunks/{chunk.ZUPMYUZV.js → chunk.LCV47I7T.js} +1 -1
  108. package/cdn/chunks/{chunk.6SV74UGW.js → chunk.LGAXYQAO.js} +1 -1
  109. package/cdn/chunks/{chunk.ULDBR64U.js → chunk.LI6XUHGF.js} +1 -1
  110. package/cdn/chunks/{chunk.MAWLWDIS.js → chunk.LK4LYDRB.js} +1 -1
  111. package/cdn/chunks/{chunk.53AVWUXU.js → chunk.LP34OOUN.js} +1 -1
  112. package/cdn/chunks/{chunk.LY7TPMS2.js → chunk.LUQBOCQA.js} +1 -1
  113. package/cdn/chunks/{chunk.FKFVUF7C.js → chunk.LZG5GCOF.js} +1 -1
  114. package/cdn/chunks/{chunk.HBDDGCUT.js → chunk.M54INUDV.js} +1 -1
  115. package/cdn/chunks/{chunk.HP7GEZKS.js → chunk.M5H7BN3H.js} +1 -1
  116. package/cdn/chunks/{chunk.4BS6EPBA.js → chunk.MFBEFNCX.js} +1 -1
  117. package/cdn/chunks/{chunk.FMZTF4ZS.js → chunk.MKYI23AN.js} +2 -2
  118. package/cdn/chunks/{chunk.O7S74NKA.js → chunk.N2IWFBDL.js} +1 -1
  119. package/cdn/chunks/{chunk.CLCB2EDP.js → chunk.N3GHFHYV.js} +6 -6
  120. package/{dist/chunks/chunk.ZAA7NPEM.js → cdn/chunks/chunk.NBR3NWAR.js} +1 -1
  121. package/cdn/chunks/{chunk.YVENJGMB.js → chunk.NMMXL3DO.js} +1 -1
  122. package/cdn/chunks/{chunk.7K3BTQBS.js → chunk.O4YCONKC.js} +5 -5
  123. package/cdn/chunks/{chunk.NCOKCJ2Y.js → chunk.O5QNO7Z4.js} +1 -1
  124. package/cdn/chunks/{chunk.ANUEVYBL.js → chunk.O6KBBBTI.js} +1 -1
  125. package/{dist/chunks/chunk.IKQAK4A3.js → cdn/chunks/chunk.OIEDUSMU.js} +1 -1
  126. package/cdn/chunks/{chunk.RGBRWX5E.js → chunk.OTVXV6SV.js} +1 -1
  127. package/cdn/chunks/{chunk.IKYHO7KN.js → chunk.OUBIDPPM.js} +1 -1
  128. package/cdn/chunks/{chunk.ROBUYEHR.js → chunk.P22WRCBP.js} +1 -1
  129. package/cdn/chunks/{chunk.S5DGZ4ZM.js → chunk.PAB36FUB.js} +1 -1
  130. package/cdn/chunks/{chunk.RLWFMD2F.js → chunk.PDGYAKZ4.js} +1 -1
  131. package/cdn/chunks/{chunk.JNMZLFII.js → chunk.PTJ5XMQJ.js} +4 -4
  132. package/{dist/chunks/chunk.YPD5XDZL.js → cdn/chunks/chunk.Q2FG46CR.js} +1 -1
  133. package/cdn/chunks/{chunk.SFQX5YAC.js → chunk.QCJEKKXC.js} +1 -1
  134. package/cdn/chunks/{chunk.Z5YRYCIH.js → chunk.QH3H5SCK.js} +82 -33
  135. package/cdn/chunks/{chunk.Y5BVP6NR.js → chunk.QI4SJML4.js} +1 -1
  136. package/cdn/chunks/{chunk.OMG7SBTN.js → chunk.QILAV4YD.js} +1 -1
  137. package/cdn/chunks/{chunk.BFKRE7KV.js → chunk.QLUHRH7D.js} +1 -1
  138. package/{dist/chunks/chunk.UTGCBXH6.js → cdn/chunks/chunk.QUQE5GQS.js} +1 -1
  139. package/cdn/chunks/{chunk.GV4FYZZG.js → chunk.QWMT5IH6.js} +1 -1
  140. package/cdn/chunks/{chunk.TWVCONBA.js → chunk.QYPRFG4O.js} +1 -1
  141. package/cdn/chunks/{chunk.RKTYO4MT.js → chunk.QZTIIM7Y.js} +1 -1
  142. package/cdn/chunks/{chunk.CT6F5FCW.js → chunk.R5D7HZBL.js} +1 -1
  143. package/cdn/chunks/{chunk.Z4BJ4TA3.js → chunk.RA2NQOMD.js} +5 -5
  144. package/cdn/chunks/{chunk.OBE2RAGG.js → chunk.RB2JZQPI.js} +1 -1
  145. package/{dist/chunks/chunk.ZYHXKVRV.js → cdn/chunks/chunk.RBHDEE6D.js} +1 -1
  146. package/cdn/chunks/{chunk.ID6NBXZ4.js → chunk.RVUY5E5E.js} +1 -1
  147. package/cdn/chunks/{chunk.DHBFCS4V.js → chunk.RZVPAMH4.js} +5 -5
  148. package/{dist/chunks/chunk.YVQ35353.js → cdn/chunks/chunk.SBBJO5MR.js} +1 -1
  149. package/{dist/chunks/chunk.7ASFNV5Q.js → cdn/chunks/chunk.SKYNHISM.js} +1 -1
  150. package/cdn/chunks/{chunk.BYDUKUPF.js → chunk.SUVD4QIY.js} +1 -1
  151. package/cdn/chunks/{chunk.BKJM2FZL.js → chunk.T33LAGGR.js} +1 -1
  152. package/{dist/chunks/chunk.MFASI7XM.js → cdn/chunks/chunk.T47UGM4M.js} +1 -1
  153. package/cdn/chunks/{chunk.DDPHSQEQ.js → chunk.TDSBAUF4.js} +2 -2
  154. package/{dist/chunks/chunk.HHGB4XVA.js → cdn/chunks/chunk.TJJH7T2Q.js} +1 -1
  155. package/cdn/chunks/{chunk.4VWK2E4P.js → chunk.TK7IIQV4.js} +1 -1
  156. package/cdn/chunks/{chunk.6GHARM7K.js → chunk.TLKXEIWJ.js} +1 -1
  157. package/{dist/chunks/chunk.SXS2O7RX.js → cdn/chunks/chunk.TTK4FEJX.js} +1 -1
  158. package/cdn/chunks/{chunk.IDA3WORT.js → chunk.U2VQTY4U.js} +5 -5
  159. package/cdn/chunks/{chunk.62ENO5L7.js → chunk.U5QAXSJX.js} +1 -1
  160. package/{dist/chunks/chunk.2GCDRHV4.js → cdn/chunks/chunk.UKBG3VHA.js} +1 -1
  161. package/cdn/chunks/{chunk.LPX5UDSV.js → chunk.V3VC3VLF.js} +1 -1
  162. package/cdn/chunks/{chunk.J7T4COMW.js → chunk.V5HWZSGI.js} +1 -1
  163. package/cdn/chunks/{chunk.4M63XCCA.js → chunk.VBSJJYJ7.js} +1 -1
  164. package/{dist/chunks/chunk.NBHVIJPW.js → cdn/chunks/chunk.VDYPTD4I.js} +1 -1
  165. package/cdn/chunks/{chunk.KG6LONHY.js → chunk.VJJC4JF2.js} +5 -5
  166. package/cdn/chunks/{chunk.A3B6RCPT.js → chunk.VNZ5NSHB.js} +1 -1
  167. package/cdn/chunks/{chunk.VQN4JGIO.js → chunk.VOXFR6RO.js} +1 -1
  168. package/cdn/chunks/{chunk.VSDTKYH4.js → chunk.VPVACPNL.js} +1 -1
  169. package/cdn/chunks/{chunk.XH6AME5A.js → chunk.VSRDAHOV.js} +1 -1
  170. package/cdn/chunks/{chunk.QOLOAX3N.js → chunk.VTXYISNG.js} +1 -1
  171. package/cdn/chunks/{chunk.OADIJYCN.js → chunk.VVYJCGAR.js} +1 -1
  172. package/cdn/chunks/{chunk.FQVK2KAG.js → chunk.W5S7IRVN.js} +1 -1
  173. package/{dist/chunks/chunk.DCQRB7WF.js → cdn/chunks/chunk.WDLYIZZK.js} +1 -1
  174. package/cdn/chunks/{chunk.UWP3SFRL.js → chunk.WGBPGIFA.js} +4 -4
  175. package/cdn/chunks/{chunk.PXWE6DAD.js → chunk.WNOLLQMT.js} +1 -1
  176. package/cdn/chunks/{chunk.K36LF5X3.js → chunk.WOOPR7DT.js} +1 -1
  177. package/cdn/chunks/{chunk.MKINV7OH.js → chunk.XAZQC5PN.js} +1 -1
  178. package/cdn/chunks/{chunk.5PNPDHJO.js → chunk.XBR4S6BZ.js} +1 -1
  179. package/cdn/chunks/{chunk.D3JUOB7T.js → chunk.XKDWFC7B.js} +1 -1
  180. package/cdn/chunks/{chunk.ZPN5SHZ7.js → chunk.XOZI6NLG.js} +1 -1
  181. package/cdn/chunks/{chunk.RI4QTG3L.js → chunk.XQ7YUPQO.js} +1 -1
  182. package/cdn/chunks/{chunk.O34ROILO.js → chunk.XTL5RPUE.js} +1 -1
  183. package/cdn/chunks/{chunk.A7QSSDQA.js → chunk.YHSANW4S.js} +1 -1
  184. package/cdn/chunks/{chunk.K5B6EOJU.js → chunk.YKZATKK5.js} +1 -1
  185. package/cdn/chunks/{chunk.TEKD6BZA.js → chunk.YRTPP5NA.js} +1 -1
  186. package/cdn/chunks/{chunk.YTXSH2B2.js → chunk.Z4ARVA26.js} +1 -1
  187. package/cdn/chunks/{chunk.5WHDJPSH.js → chunk.Z7NEGFAS.js} +7 -7
  188. package/cdn/chunks/{chunk.RBYJQNHN.js → chunk.ZE2ZPISH.js} +8 -8
  189. package/cdn/chunks/{chunk.Y52K5LFY.js → chunk.ZFNVDS6F.js} +1 -1
  190. package/cdn/chunks/{chunk.GSOBXYAM.js → chunk.ZOO4DHSL.js} +1 -1
  191. package/cdn/chunks/{chunk.WD46JZ36.js → chunk.ZPD5IWWY.js} +1 -1
  192. package/cdn/chunks/{chunk.36KIWXUK.js → chunk.ZPQXJWRE.js} +1 -1
  193. package/cdn/chunks/{chunk.DNL4NDG7.js → chunk.ZYXB3TXH.js} +1 -1
  194. package/cdn/chunks/{chunk.3S3CMGV4.js → chunk.ZYYMJFNO.js} +1 -1
  195. package/cdn/components/alert/alert.component.js +7 -7
  196. package/cdn/components/alert/alert.js +8 -8
  197. package/cdn/components/animated-image/animated-image.component.js +3 -3
  198. package/cdn/components/animated-image/animated-image.js +4 -4
  199. package/cdn/components/animation/animation.component.js +2 -2
  200. package/cdn/components/animation/animation.js +3 -3
  201. package/cdn/components/avatar/avatar.component.js +3 -3
  202. package/cdn/components/avatar/avatar.js +4 -4
  203. package/cdn/components/badge/badge.component.js +2 -2
  204. package/cdn/components/badge/badge.js +3 -3
  205. package/cdn/components/breadcrumb/breadcrumb.component.js +3 -3
  206. package/cdn/components/breadcrumb/breadcrumb.js +4 -4
  207. package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
  208. package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -3
  209. package/cdn/components/button/button.component.js +7 -7
  210. package/cdn/components/button/button.js +8 -8
  211. package/cdn/components/button-group/button-group.component.js +2 -2
  212. package/cdn/components/button-group/button-group.js +3 -3
  213. package/cdn/components/calendar/calendar.component.js +9 -9
  214. package/cdn/components/calendar/calendar.js +10 -10
  215. package/cdn/components/card/card.component.js +2 -2
  216. package/cdn/components/card/card.js +3 -3
  217. package/cdn/components/carousel/carousel.component.js +5 -5
  218. package/cdn/components/carousel/carousel.js +6 -6
  219. package/cdn/components/carousel-item/carousel-item.component.js +2 -2
  220. package/cdn/components/carousel-item/carousel-item.js +3 -3
  221. package/cdn/components/checkbox/checkbox.component.js +3 -3
  222. package/cdn/components/checkbox/checkbox.js +4 -4
  223. package/cdn/components/color-picker/color-picker.component.js +13 -13
  224. package/cdn/components/color-picker/color-picker.js +14 -14
  225. package/cdn/components/copy-button/copy-button.component.js +7 -7
  226. package/cdn/components/copy-button/copy-button.js +8 -8
  227. package/cdn/components/details/details.component.js +5 -5
  228. package/cdn/components/details/details.js +6 -6
  229. package/cdn/components/dialog/dialog.component.js +7 -7
  230. package/cdn/components/dialog/dialog.js +8 -8
  231. package/cdn/components/divider/divider.component.js +2 -2
  232. package/cdn/components/divider/divider.js +3 -3
  233. package/cdn/components/drawer/drawer.component.js +7 -7
  234. package/cdn/components/drawer/drawer.js +8 -8
  235. package/cdn/components/dropdown/dropdown.component.js +6 -6
  236. package/cdn/components/dropdown/dropdown.js +7 -7
  237. package/cdn/components/file-upload/file-upload.component.js +9 -9
  238. package/cdn/components/file-upload/file-upload.js +10 -10
  239. package/cdn/components/file-upload-item/file-upload-item.component.js +5 -5
  240. package/cdn/components/file-upload-item/file-upload-item.js +6 -6
  241. package/cdn/components/format-bytes/format-bytes.component.js +2 -2
  242. package/cdn/components/format-bytes/format-bytes.js +3 -3
  243. package/cdn/components/format-date/format-date.component.js +2 -2
  244. package/cdn/components/format-date/format-date.js +3 -3
  245. package/cdn/components/format-number/format-number.component.js +2 -2
  246. package/cdn/components/format-number/format-number.js +3 -3
  247. package/cdn/components/icon/icon.component.js +2 -2
  248. package/cdn/components/icon/icon.js +3 -3
  249. package/cdn/components/icon-button/icon-button.component.js +3 -3
  250. package/cdn/components/icon-button/icon-button.js +4 -4
  251. package/cdn/components/image-comparer/image-comparer.component.js +3 -3
  252. package/cdn/components/image-comparer/image-comparer.js +4 -4
  253. package/cdn/components/include/include.component.js +2 -2
  254. package/cdn/components/include/include.js +3 -3
  255. package/cdn/components/input/input.component.js +6 -6
  256. package/cdn/components/input/input.js +7 -7
  257. package/cdn/components/menu/menu.component.js +2 -2
  258. package/cdn/components/menu/menu.js +3 -3
  259. package/cdn/components/menu-item/menu-item.component.js +8 -8
  260. package/cdn/components/menu-item/menu-item.js +9 -9
  261. package/cdn/components/menu-label/menu-label.component.js +2 -2
  262. package/cdn/components/menu-label/menu-label.js +3 -3
  263. package/cdn/components/mutation-observer/mutation-observer.component.js +2 -2
  264. package/cdn/components/mutation-observer/mutation-observer.js +3 -3
  265. package/cdn/components/option/option.component.js +5 -5
  266. package/cdn/components/option/option.js +6 -6
  267. package/cdn/components/paginate/paginate.component.d.ts +10 -0
  268. package/cdn/components/paginate/paginate.component.js +32 -6
  269. package/cdn/components/paginate/paginate.js +33 -7
  270. package/cdn/components/paginate/paginate.styles.js +1 -1
  271. package/cdn/components/popup/popup.component.js +2 -2
  272. package/cdn/components/popup/popup.js +3 -3
  273. package/cdn/components/progress-bar/progress-bar.component.js +5 -5
  274. package/cdn/components/progress-bar/progress-bar.js +6 -6
  275. package/cdn/components/progress-ring/progress-ring.component.js +2 -2
  276. package/cdn/components/progress-ring/progress-ring.js +3 -3
  277. package/cdn/components/qr-code/qr-code.component.js +2 -2
  278. package/cdn/components/qr-code/qr-code.js +3 -3
  279. package/cdn/components/radio/radio.component.js +3 -3
  280. package/cdn/components/radio/radio.js +4 -4
  281. package/cdn/components/radio-button/radio-button.component.js +2 -2
  282. package/cdn/components/radio-button/radio-button.js +3 -3
  283. package/cdn/components/radio-group/radio-group.component.js +3 -3
  284. package/cdn/components/radio-group/radio-group.js +4 -4
  285. package/cdn/components/range/range.component.js +5 -5
  286. package/cdn/components/range/range.js +6 -6
  287. package/cdn/components/rating/rating.component.js +3 -3
  288. package/cdn/components/rating/rating.js +4 -4
  289. package/cdn/components/relative-time/relative-time.component.js +2 -2
  290. package/cdn/components/relative-time/relative-time.js +3 -3
  291. package/cdn/components/resize-observer/resize-observer.component.js +2 -2
  292. package/cdn/components/resize-observer/resize-observer.js +3 -3
  293. package/cdn/components/select/select.component.js +9 -9
  294. package/cdn/components/select/select.js +10 -10
  295. package/cdn/components/skeleton/skeleton.component.js +2 -2
  296. package/cdn/components/skeleton/skeleton.js +3 -3
  297. package/cdn/components/smart-container/smart-container.component.js +11 -11
  298. package/cdn/components/smart-container/smart-container.js +12 -12
  299. package/cdn/components/spinner/spinner.component.js +2 -2
  300. package/cdn/components/spinner/spinner.js +3 -3
  301. package/cdn/components/split-panel/split-panel.component.js +3 -3
  302. package/cdn/components/split-panel/split-panel.js +4 -4
  303. package/cdn/components/switch/switch.component.js +2 -2
  304. package/cdn/components/switch/switch.js +3 -3
  305. package/cdn/components/tab/tab.component.js +7 -7
  306. package/cdn/components/tab/tab.js +8 -8
  307. package/cdn/components/tab-group/tab-group.component.js +7 -7
  308. package/cdn/components/tab-group/tab-group.js +8 -8
  309. package/cdn/components/tab-panel/tab-panel.component.js +2 -2
  310. package/cdn/components/tab-panel/tab-panel.js +3 -3
  311. package/cdn/components/table/table.component.js +29 -12
  312. package/cdn/components/table/table.js +30 -13
  313. package/cdn/components/tag/tag.component.js +7 -7
  314. package/cdn/components/tag/tag.js +8 -8
  315. package/cdn/components/textarea/textarea.component.js +2 -2
  316. package/cdn/components/textarea/textarea.js +3 -3
  317. package/cdn/components/tooltip/tooltip.component.js +5 -5
  318. package/cdn/components/tooltip/tooltip.js +6 -6
  319. package/cdn/components/tree/tree.component.js +9 -9
  320. package/cdn/components/tree/tree.js +10 -10
  321. package/cdn/components/tree-item/tree-item.component.js +8 -8
  322. package/cdn/components/tree-item/tree-item.js +9 -9
  323. package/cdn/components/visually-hidden/visually-hidden.component.js +2 -2
  324. package/cdn/components/visually-hidden/visually-hidden.js +3 -3
  325. package/cdn/custom-elements.json +1495 -1466
  326. package/cdn/pure-ui.js +138 -138
  327. package/cdn/react/alert/index.js +8 -8
  328. package/cdn/react/animated-image/index.js +4 -4
  329. package/cdn/react/animation/index.js +3 -3
  330. package/cdn/react/avatar/index.js +4 -4
  331. package/cdn/react/badge/index.js +3 -3
  332. package/cdn/react/breadcrumb/index.js +4 -4
  333. package/cdn/react/breadcrumb-item/index.js +3 -3
  334. package/cdn/react/button/index.js +8 -8
  335. package/cdn/react/button-group/index.js +3 -3
  336. package/cdn/react/calendar/index.js +10 -10
  337. package/cdn/react/card/index.js +3 -3
  338. package/cdn/react/carousel/index.js +6 -6
  339. package/cdn/react/carousel-item/index.js +3 -3
  340. package/cdn/react/checkbox/index.js +4 -4
  341. package/cdn/react/color-picker/index.js +14 -14
  342. package/cdn/react/copy-button/index.js +8 -8
  343. package/cdn/react/details/index.js +6 -6
  344. package/cdn/react/dialog/index.js +8 -8
  345. package/cdn/react/divider/index.js +3 -3
  346. package/cdn/react/drawer/index.js +8 -8
  347. package/cdn/react/dropdown/index.js +7 -7
  348. package/cdn/react/file-upload/index.js +10 -10
  349. package/cdn/react/file-upload-item/index.js +6 -6
  350. package/cdn/react/format-bytes/index.js +3 -3
  351. package/cdn/react/format-date/index.js +3 -3
  352. package/cdn/react/format-number/index.js +3 -3
  353. package/cdn/react/icon/index.js +3 -3
  354. package/cdn/react/icon-button/index.js +4 -4
  355. package/cdn/react/image-comparer/index.js +4 -4
  356. package/cdn/react/include/index.js +3 -3
  357. package/cdn/react/index.d.ts +4 -4
  358. package/cdn/react/index.js +141 -141
  359. package/cdn/react/input/index.js +7 -7
  360. package/cdn/react/menu/index.js +3 -3
  361. package/cdn/react/menu-item/index.js +9 -9
  362. package/cdn/react/menu-label/index.js +3 -3
  363. package/cdn/react/mutation-observer/index.js +3 -3
  364. package/cdn/react/option/index.js +6 -6
  365. package/cdn/react/paginate/index.js +33 -7
  366. package/cdn/react/popup/index.js +3 -3
  367. package/cdn/react/progress-bar/index.js +6 -6
  368. package/cdn/react/progress-ring/index.js +3 -3
  369. package/cdn/react/qr-code/index.js +3 -3
  370. package/cdn/react/radio/index.js +4 -4
  371. package/cdn/react/radio-button/index.js +3 -3
  372. package/cdn/react/radio-group/index.js +4 -4
  373. package/cdn/react/range/index.js +6 -6
  374. package/cdn/react/rating/index.js +4 -4
  375. package/cdn/react/relative-time/index.js +3 -3
  376. package/cdn/react/resize-observer/index.js +3 -3
  377. package/cdn/react/select/index.js +10 -10
  378. package/cdn/react/skeleton/index.js +3 -3
  379. package/cdn/react/smart-container/index.js +12 -12
  380. package/cdn/react/spinner/index.js +3 -3
  381. package/cdn/react/split-panel/index.js +4 -4
  382. package/cdn/react/switch/index.js +3 -3
  383. package/cdn/react/tab/index.js +8 -8
  384. package/cdn/react/tab-group/index.js +8 -8
  385. package/cdn/react/tab-panel/index.js +3 -3
  386. package/cdn/react/table/index.js +30 -13
  387. package/cdn/react/tag/index.js +8 -8
  388. package/cdn/react/textarea/index.js +3 -3
  389. package/cdn/react/tooltip/index.js +6 -6
  390. package/cdn/react/tree/index.js +10 -10
  391. package/cdn/react/tree-item/index.js +9 -9
  392. package/cdn/react/visually-hidden/index.js +3 -3
  393. package/cdn/translations/vi.js +2 -0
  394. package/cdn/types/vue/index.d.ts +64 -62
  395. package/cdn/vscode.html-custom-data.json +156 -155
  396. package/cdn/web-types.json +172 -167
  397. package/dist/chunks/{chunk.7HJL2KMF.js → chunk.2B6KN2UU.js} +1 -1
  398. package/dist/chunks/{chunk.IOUFI3R7.js → chunk.2O3ENKBC.js} +1 -1
  399. package/dist/chunks/{chunk.V4K5S6LG.js → chunk.2RXVA6WX.js} +1 -1
  400. package/dist/chunks/{chunk.EI5DET2V.js → chunk.2ZNFSKGO.js} +1 -1
  401. package/dist/chunks/{chunk.7TLKE2RL.js → chunk.327ZSIZQ.js} +1 -1
  402. package/dist/chunks/{chunk.U3VUYM7Q.js → chunk.34K7KFKK.js} +1 -1
  403. package/dist/chunks/{chunk.VIZNNCBT.js → chunk.36XIUTCC.js} +2 -2
  404. package/dist/chunks/{chunk.VKCHXZ5H.js → chunk.3BFDYKXA.js} +1 -1
  405. package/dist/chunks/{chunk.BK7AASHE.js → chunk.3LKUTYMP.js} +1 -1
  406. package/dist/chunks/{chunk.T7NAHXJC.js → chunk.3LWCWSDR.js} +1 -1
  407. package/dist/chunks/{chunk.ICJ3KIOQ.js → chunk.424U2JFD.js} +1 -1
  408. package/dist/chunks/{chunk.TVRP2MWO.js → chunk.4UHN6ZC6.js} +2 -2
  409. package/dist/chunks/{chunk.AR45B6ID.js → chunk.4ZSTHBI4.js} +4 -4
  410. package/dist/chunks/{chunk.HHMTACKY.js → chunk.55FBELLM.js} +1 -1
  411. package/dist/chunks/{chunk.K5SNM5VK.js → chunk.5F76Y3HT.js} +1 -1
  412. package/dist/chunks/{chunk.HQCYCGHQ.js → chunk.5JSS6NUQ.js} +1 -1
  413. package/dist/chunks/{chunk.AMZYS5XR.js → chunk.5OFU7R2F.js} +1 -1
  414. package/dist/chunks/{chunk.YCLP4KV6.js → chunk.64J4U5JW.js} +1 -1
  415. package/dist/chunks/{chunk.5PUA7QH5.js → chunk.6AEDBXTM.js} +1 -1
  416. package/dist/chunks/{chunk.WLPQBTTF.js → chunk.6CC5G4YY.js} +1 -1
  417. package/dist/chunks/{chunk.TRJQQPYQ.js → chunk.6GLDKQWG.js} +7 -7
  418. package/dist/chunks/{chunk.JCSMWN3Y.js → chunk.6MJSZHLB.js} +1 -1
  419. package/{cdn/chunks/chunk.HZP6NGKD.js → dist/chunks/chunk.6QDY5NO5.js} +1 -1
  420. package/dist/chunks/{chunk.M62YTD32.js → chunk.6QZ5WSZU.js} +1 -1
  421. package/{cdn/chunks/chunk.3UGCIMWG.js → dist/chunks/chunk.7DEUUBQF.js} +1 -1
  422. package/{cdn/chunks/chunk.4RQX5U3Z.js → dist/chunks/chunk.7GBRBNQD.js} +1 -1
  423. package/{cdn/chunks/chunk.5DDTUL7H.js → dist/chunks/chunk.7IVTKR4O.js} +1 -1
  424. package/dist/chunks/{chunk.MUKGY6UT.js → chunk.7OA2E4NI.js} +1 -1
  425. package/dist/chunks/{chunk.A33SOFAR.js → chunk.A2CJKU2B.js} +1 -1
  426. package/dist/chunks/{chunk.RZOC6JQI.js → chunk.A3SXB5IG.js} +2 -2
  427. package/dist/chunks/{chunk.34LX5UBF.js → chunk.AEC7PZ4Y.js} +1 -1
  428. package/dist/chunks/{chunk.OO6GMQNW.js → chunk.ALZLL346.js} +1 -1
  429. package/{cdn/chunks/chunk.2JKVCCNP.js → dist/chunks/chunk.AOEDL6NF.js} +1 -1
  430. package/dist/chunks/{chunk.Y6U5VJ26.js → chunk.AQ7YKG7J.js} +1 -1
  431. package/dist/chunks/{chunk.YPM77EXC.js → chunk.AV6KVHMZ.js} +1 -1
  432. package/dist/chunks/{chunk.OD6ELKRJ.js → chunk.B4BCQB3D.js} +2 -2
  433. package/dist/chunks/{chunk.43MM7ENJ.js → chunk.BE7FACZN.js} +1 -1
  434. package/dist/chunks/{chunk.YOGU63UV.js → chunk.BNKB2WJG.js} +1 -1
  435. package/dist/chunks/{chunk.4BFWRGUH.js → chunk.BQLAKZE6.js} +1 -1
  436. package/dist/chunks/{chunk.LLH52L7V.js → chunk.C3OH5AB7.js} +1 -1
  437. package/dist/chunks/{chunk.MCCQSEB2.js → chunk.C5JZU5E4.js} +1 -1
  438. package/dist/chunks/{chunk.OXL4LTYR.js → chunk.CDOVJXSN.js} +1 -1
  439. package/dist/chunks/{chunk.TBWJZ6QI.js → chunk.CEBPVRTO.js} +1 -1
  440. package/{cdn/chunks/chunk.A5NJLFDW.js → dist/chunks/chunk.CLLMS3VP.js} +1 -1
  441. package/dist/chunks/{chunk.SUPYG25Z.js → chunk.DE5R44Q4.js} +1 -1
  442. package/dist/chunks/{chunk.275K2OJO.js → chunk.DG6LVBFZ.js} +1 -1
  443. package/dist/chunks/{chunk.DV2MQ7VF.js → chunk.DG7JG3ZL.js} +5 -5
  444. package/dist/chunks/{chunk.R7UNZIQA.js → chunk.DK33OBIF.js} +1 -1
  445. package/dist/chunks/{chunk.OVRQR65L.js → chunk.DRVTZ7DK.js} +1 -1
  446. package/{cdn/chunks/chunk.MC5573CA.js → dist/chunks/chunk.DW3VZV23.js} +1 -1
  447. package/dist/chunks/{chunk.P45OBWLB.js → chunk.E3LOTDDD.js} +5 -5
  448. package/dist/chunks/{chunk.777NHZXT.js → chunk.E5JMPCXI.js} +1 -1
  449. package/{cdn/chunks/chunk.HTF6LBZR.js → dist/chunks/chunk.EBXGU4EZ.js} +1 -1
  450. package/dist/chunks/{chunk.JIJLYQRZ.js → chunk.ECX73QME.js} +2 -2
  451. package/dist/chunks/{chunk.MMKKIDF5.js → chunk.EEQWLBDF.js} +2 -2
  452. package/dist/chunks/{chunk.2EHRRXFV.js → chunk.EJFVIETP.js} +1 -1
  453. package/{cdn/chunks/chunk.AUHFPETK.js → dist/chunks/chunk.EMU7VHWU.js} +1 -1
  454. package/dist/chunks/{chunk.2BQ7WP4D.js → chunk.ETBONYSW.js} +3 -3
  455. package/dist/chunks/{chunk.VOEWXIK6.js → chunk.EZOPF6KC.js} +2 -2
  456. package/dist/chunks/{chunk.VY6XSYYC.js → chunk.F7OMHL3N.js} +1 -1
  457. package/dist/chunks/{chunk.FVHHDWN6.js → chunk.FEFYIJXZ.js} +1 -1
  458. package/dist/chunks/{chunk.7RRFKSCS.js → chunk.FN4D5LS4.js} +1 -1
  459. package/{cdn/chunks/chunk.7LNSVWBM.js → dist/chunks/chunk.FTV3XNRS.js} +1 -1
  460. package/dist/chunks/{chunk.JOW65LJE.js → chunk.FUXAPPDC.js} +1 -1
  461. package/dist/chunks/{chunk.ZPF4KA6T.js → chunk.FYIWVMWC.js} +1 -1
  462. package/dist/chunks/{chunk.4OFNLLLZ.js → chunk.G2MGI6EP.js} +5 -5
  463. package/dist/chunks/{chunk.VW22JIYT.js → chunk.G3IZFUNA.js} +1 -1
  464. package/dist/chunks/{chunk.LAOOJN5U.js → chunk.GF662SPE.js} +2 -2
  465. package/dist/chunks/{chunk.LWVPTVRM.js → chunk.GM7M7LNT.js} +1 -1
  466. package/dist/chunks/{chunk.C4JO4AKP.js → chunk.GP7ND4QU.js} +1 -1
  467. package/dist/chunks/{chunk.OIPQOGR3.js → chunk.GZPTIMCG.js} +1 -1
  468. package/dist/chunks/{chunk.XS4TFBQU.js → chunk.H3JGZT4S.js} +4 -4
  469. package/dist/chunks/{chunk.2MTO2FLI.js → chunk.HAZHCALO.js} +1 -1
  470. package/dist/chunks/{chunk.SXTJMKLF.js → chunk.HHBKHA3X.js} +1 -1
  471. package/dist/chunks/{chunk.RMVZZYLC.js → chunk.HHWQNSZF.js} +1 -1
  472. package/{cdn/chunks/chunk.4VWSLIDN.js → dist/chunks/chunk.HQ5VU4RU.js} +1 -1
  473. package/dist/chunks/{chunk.EDGIZXLP.js → chunk.HSWOD2FF.js} +1 -1
  474. package/{cdn/chunks/chunk.NIWQJW3N.js → dist/chunks/chunk.HXFBS3D4.js} +1 -1
  475. package/dist/chunks/{chunk.BORCT5SF.js → chunk.I24TXSLC.js} +1 -1
  476. package/{cdn/chunks/chunk.4WX3QI5A.js → dist/chunks/chunk.I3EKCYAF.js} +1 -1
  477. package/dist/chunks/{chunk.GFCJCR4R.js → chunk.I5FQN4KX.js} +2 -2
  478. package/{cdn/chunks/chunk.7J2O6TBT.js → dist/chunks/chunk.I5XFE2V3.js} +1 -1
  479. package/dist/chunks/{chunk.W5YQMRSX.js → chunk.I7VOSS6T.js} +1 -1
  480. package/dist/chunks/{chunk.7DUSIXNG.js → chunk.IWKHVYXD.js} +2 -2
  481. package/dist/chunks/{chunk.EDY275QZ.js → chunk.J5RUROSM.js} +1 -1
  482. package/dist/chunks/{chunk.SXK2BO2F.js → chunk.J7XB3SNN.js} +1 -1
  483. package/dist/chunks/{chunk.6C2UK5NJ.js → chunk.JC265VQC.js} +1 -1
  484. package/dist/chunks/{chunk.OL7CQPBG.js → chunk.JKJOAFTF.js} +2 -2
  485. package/{cdn/chunks/chunk.3VXJMKA2.js → dist/chunks/chunk.JYMVAUM4.js} +1 -1
  486. package/dist/chunks/{chunk.A35O63YI.js → chunk.JYZPJK57.js} +5 -5
  487. package/dist/chunks/{chunk.2VALVN25.js → chunk.K2M3YHMB.js} +2 -2
  488. package/dist/chunks/{chunk.YYWJBALF.js → chunk.K475Y6SJ.js} +1 -1
  489. package/dist/chunks/{chunk.J54I7VHV.js → chunk.K7WTTCFE.js} +1 -1
  490. package/dist/chunks/{chunk.IIWDNEFO.js → chunk.KLUE47TU.js} +2 -2
  491. package/dist/chunks/{chunk.Y2F5PX4Z.js → chunk.KMGK4OB3.js} +79 -30
  492. package/{cdn/chunks/chunk.7WZYDUNX.js → dist/chunks/chunk.KRLDRGOP.js} +1 -1
  493. package/dist/chunks/{chunk.7V2L4YMQ.js → chunk.KRLNKK2G.js} +1 -1
  494. package/dist/chunks/{chunk.CNLV7AAA.js → chunk.LJ3X3FXF.js} +1 -1
  495. package/{cdn/chunks/chunk.2L4MOOXZ.js → dist/chunks/chunk.LKG3XSGH.js} +1 -1
  496. package/dist/chunks/{chunk.LKFYYC5S.js → chunk.LLJ7IRBH.js} +1 -1
  497. package/dist/chunks/{chunk.YT6OKGCT.js → chunk.LUHV5VK2.js} +1 -1
  498. package/dist/chunks/{chunk.QB646LAP.js → chunk.MCF62YCW.js} +5 -5
  499. package/dist/chunks/{chunk.SIDBFWHA.js → chunk.MHKTPRWY.js} +1 -1
  500. package/dist/chunks/{chunk.6FCRDP5N.js → chunk.MHYKE3PZ.js} +1 -1
  501. package/dist/chunks/{chunk.FQA3AYZ6.js → chunk.MKFQVYLD.js} +1 -1
  502. package/{cdn/chunks/chunk.4EYT4Q35.js → dist/chunks/chunk.MQMKUZBQ.js} +1 -1
  503. package/dist/chunks/{chunk.P6T7E4RT.js → chunk.MUOTXJIT.js} +1 -1
  504. package/dist/chunks/{chunk.WLMPDGCU.js → chunk.MZQUJZ5L.js} +1 -1
  505. package/dist/chunks/{chunk.VAXLNWTU.js → chunk.N5SY23LF.js} +1 -1
  506. package/dist/chunks/{chunk.PCMH2MYL.js → chunk.NBIGVPLQ.js} +1 -1
  507. package/dist/chunks/{chunk.4QX6OUGJ.js → chunk.NE2LD674.js} +26 -1
  508. package/dist/chunks/{chunk.7SX7KDAG.js → chunk.NE3VEA6G.js} +1 -1
  509. package/{cdn/chunks/chunk.X5AZPBIP.js → dist/chunks/chunk.NFDDZK63.js} +1 -1
  510. package/{cdn/chunks/chunk.TGL3UW6H.js → dist/chunks/chunk.NI5WEWK2.js} +1 -1
  511. package/dist/chunks/{chunk.TLYTJHCW.js → chunk.NIDEEYOO.js} +1 -1
  512. package/dist/chunks/{chunk.4BA5J5P4.js → chunk.NJLFRDW6.js} +1 -1
  513. package/dist/chunks/{chunk.32YDTYEK.js → chunk.NPWYJXDC.js} +1 -1
  514. package/dist/chunks/{chunk.4SXT2T6S.js → chunk.NY3T5GHG.js} +1 -1
  515. package/dist/chunks/{chunk.NYBUF7W4.js → chunk.NYSOJW4Y.js} +1 -1
  516. package/dist/chunks/{chunk.HHTVKLPX.js → chunk.NZTEGMQQ.js} +1 -1
  517. package/dist/chunks/{chunk.ZSM55BNK.js → chunk.O5EEOCO4.js} +1 -1
  518. package/dist/chunks/{chunk.4XDCMLWA.js → chunk.OAAORCSX.js} +1 -1
  519. package/{cdn/chunks/chunk.2K7RKGBD.js → dist/chunks/chunk.OE2EN3RO.js} +1 -1
  520. package/dist/chunks/{chunk.LVAMAKSX.js → chunk.OOEYTPQ7.js} +1 -1
  521. package/{cdn/chunks/chunk.4D4VKAQT.js → dist/chunks/chunk.P3PQDBCG.js} +1 -1
  522. package/dist/chunks/{chunk.3QRS4WL4.js → chunk.P6GBEWO3.js} +1 -1
  523. package/dist/chunks/{chunk.XCB3E2SI.js → chunk.P7LZ2GKA.js} +1 -1
  524. package/dist/chunks/{chunk.R2SFR7W7.js → chunk.PB5NE5UL.js} +1 -1
  525. package/dist/chunks/{chunk.SCJK2YZO.js → chunk.PBCNFWDK.js} +1 -1
  526. package/dist/chunks/{chunk.Z4SPIWYH.js → chunk.PBK7DDD3.js} +1 -1
  527. package/dist/chunks/{chunk.7SVRXZSD.js → chunk.PK6JKGSS.js} +1 -1
  528. package/dist/chunks/{chunk.ICC33VBR.js → chunk.PLJXDI7G.js} +1 -1
  529. package/dist/chunks/{chunk.J4G6YUPZ.js → chunk.PYQS5JFG.js} +1 -1
  530. package/dist/chunks/{chunk.7NTUAT7X.js → chunk.PYWGXMSL.js} +2 -2
  531. package/dist/chunks/{chunk.LM5CK546.js → chunk.Q6G2CLKB.js} +1 -1
  532. package/dist/chunks/{chunk.TZHD5WSW.js → chunk.Q7HKHXGO.js} +2 -2
  533. package/dist/chunks/{chunk.NX2VD3HU.js → chunk.QGVHDXQZ.js} +1 -1
  534. package/dist/chunks/{chunk.BH6U46FQ.js → chunk.QKP25SV4.js} +1 -1
  535. package/dist/chunks/{chunk.7ZHK67JL.js → chunk.QOWPSCMS.js} +1 -1
  536. package/dist/chunks/{chunk.6EYFJR74.js → chunk.QTXDYM42.js} +1 -1
  537. package/dist/chunks/{chunk.OLT4O7YS.js → chunk.QUC4QBFM.js} +1 -1
  538. package/dist/chunks/{chunk.OS3AJWEW.js → chunk.RDPGUPTB.js} +1 -1
  539. package/dist/chunks/{chunk.L66WVOK7.js → chunk.RDY62BI5.js} +1 -1
  540. package/{cdn/chunks/chunk.KJUKC77P.js → dist/chunks/chunk.RE3ESBJW.js} +1 -1
  541. package/dist/chunks/{chunk.X7O6VJ4N.js → chunk.RFWFJLBR.js} +1 -1
  542. package/dist/chunks/{chunk.RU63LDVS.js → chunk.SHIODGUX.js} +1 -1
  543. package/dist/chunks/{chunk.V6QSY6X7.js → chunk.SKAOMRMC.js} +4 -4
  544. package/dist/chunks/{chunk.UUYELZ3Y.js → chunk.SKHBP5IA.js} +2 -2
  545. package/dist/chunks/{chunk.THY362IE.js → chunk.SMUDOQXS.js} +1 -1
  546. package/dist/chunks/{chunk.BH2IUUXQ.js → chunk.ST6T3LCS.js} +6 -6
  547. package/dist/chunks/{chunk.UUFQGD4D.js → chunk.SWZJ3T6K.js} +1 -1
  548. package/dist/chunks/{chunk.L5MRE522.js → chunk.SZ2TSBWP.js} +1 -1
  549. package/dist/chunks/{chunk.AXX54MCB.js → chunk.T2P6D4YO.js} +1 -1
  550. package/dist/chunks/{chunk.KI774IWB.js → chunk.T33BAWFD.js} +1 -1
  551. package/dist/chunks/{chunk.XHM5Y5A7.js → chunk.T4XQKLZJ.js} +2 -2
  552. package/dist/chunks/{chunk.YNNH4ZPO.js → chunk.TH7PTKK3.js} +1 -1
  553. package/dist/chunks/{chunk.XEWAJU3Q.js → chunk.TKCNDFR5.js} +2 -2
  554. package/{cdn/chunks/chunk.AUUKD7O3.js → dist/chunks/chunk.TUIB2ML5.js} +1 -1
  555. package/dist/chunks/{chunk.DP4T6FNJ.js → chunk.U4WML3SN.js} +1 -1
  556. package/dist/chunks/{chunk.M6HF5BXV.js → chunk.U5VHDPWV.js} +1 -1
  557. package/dist/chunks/{chunk.AOKIQ4L5.js → chunk.UATLCTMK.js} +5 -5
  558. package/dist/chunks/{chunk.56P4S3IN.js → chunk.UEDN6JXV.js} +1 -1
  559. package/dist/chunks/{chunk.A2PE2PMF.js → chunk.UICGXIOL.js} +1 -1
  560. package/dist/chunks/{chunk.Z46RHBR3.js → chunk.USWIMIXS.js} +7 -7
  561. package/dist/chunks/{chunk.ZT3EVXPW.js → chunk.UWVH6TC4.js} +1 -1
  562. package/dist/chunks/{chunk.ST2SBRLM.js → chunk.UXUUVHML.js} +1 -1
  563. package/dist/chunks/{chunk.SR3CKBCF.js → chunk.V4XBXWGJ.js} +1 -1
  564. package/dist/chunks/{chunk.MS627D26.js → chunk.V5YKY5GS.js} +1 -1
  565. package/dist/chunks/{chunk.YEKC2C55.js → chunk.VGMHIIYW.js} +1 -1
  566. package/dist/chunks/{chunk.HG3WAXFI.js → chunk.VJWUG3C6.js} +1 -1
  567. package/dist/chunks/{chunk.NXSQG4BV.js → chunk.VKKIB7DD.js} +1 -1
  568. package/{cdn/chunks/chunk.3VB42WYM.js → dist/chunks/chunk.VTKIZVXP.js} +1 -1
  569. package/dist/chunks/{chunk.AITFCFTT.js → chunk.WAT43PK4.js} +4 -4
  570. package/dist/chunks/{chunk.7T2DZ6XM.js → chunk.WBV2P63W.js} +1 -1
  571. package/dist/chunks/{chunk.7PUBPFVK.js → chunk.WF3JL4RL.js} +4 -4
  572. package/dist/chunks/{chunk.DAY2AWFE.js → chunk.WGO2GSIL.js} +1 -1
  573. package/dist/chunks/{chunk.HBNQ3VZG.js → chunk.WJ6VFZTR.js} +1 -1
  574. package/dist/chunks/{chunk.PBPG7TD3.js → chunk.WO2SVSF4.js} +1 -1
  575. package/dist/chunks/{chunk.ZLET6YRS.js → chunk.WR4IH3T6.js} +1 -1
  576. package/dist/chunks/{chunk.6WZR4IAG.js → chunk.WR7J75E3.js} +1 -1
  577. package/dist/chunks/{chunk.6426GEEM.js → chunk.X3I77B6N.js} +7 -7
  578. package/dist/chunks/{chunk.MO4MGQLI.js → chunk.X65XQFU3.js} +1 -1
  579. package/dist/chunks/{chunk.SNJCAS52.js → chunk.YARXA77F.js} +1 -1
  580. package/dist/chunks/{chunk.4YSXSJF5.js → chunk.YB4DXTUY.js} +1 -1
  581. package/dist/chunks/{chunk.K2GOT2XW.js → chunk.YDESI5YO.js} +1 -1
  582. package/dist/chunks/{chunk.JPVQ3KQ7.js → chunk.YE34O2ZE.js} +1 -1
  583. package/dist/chunks/{chunk.DT36CK5F.js → chunk.YEGHCV2T.js} +1 -1
  584. package/dist/chunks/{chunk.LNE4Y6EW.js → chunk.YJDPJYBH.js} +1 -1
  585. package/dist/chunks/{chunk.QRSDIMXY.js → chunk.YKENJVGI.js} +1 -1
  586. package/{cdn/chunks/chunk.Y6LMVCWG.js → dist/chunks/chunk.YLLA444L.js} +1 -1
  587. package/dist/chunks/{chunk.IWTQG32L.js → chunk.YWQRQJF3.js} +1 -1
  588. package/dist/chunks/{chunk.ELUCRSE4.js → chunk.Z22TT7VZ.js} +1 -1
  589. package/dist/chunks/{chunk.XDBUITVT.js → chunk.ZMFZTW33.js} +1 -1
  590. package/dist/chunks/{chunk.O5YRMYVC.js → chunk.ZWOJ4JZ6.js} +1 -1
  591. package/dist/components/alert/alert.component.js +5 -5
  592. package/dist/components/alert/alert.js +6 -6
  593. package/dist/components/animated-image/animated-image.component.js +3 -3
  594. package/dist/components/animated-image/animated-image.js +4 -4
  595. package/dist/components/animation/animation.component.js +2 -2
  596. package/dist/components/animation/animation.js +3 -3
  597. package/dist/components/avatar/avatar.component.js +3 -3
  598. package/dist/components/avatar/avatar.js +4 -4
  599. package/dist/components/badge/badge.component.js +2 -2
  600. package/dist/components/badge/badge.js +3 -3
  601. package/dist/components/breadcrumb/breadcrumb.component.js +3 -3
  602. package/dist/components/breadcrumb/breadcrumb.js +4 -4
  603. package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
  604. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  605. package/dist/components/button/button.component.js +5 -5
  606. package/dist/components/button/button.js +6 -6
  607. package/dist/components/button-group/button-group.component.js +2 -2
  608. package/dist/components/button-group/button-group.js +3 -3
  609. package/dist/components/calendar/calendar.component.js +7 -7
  610. package/dist/components/calendar/calendar.js +8 -8
  611. package/dist/components/card/card.component.js +2 -2
  612. package/dist/components/card/card.js +3 -3
  613. package/dist/components/carousel/carousel.component.js +3 -3
  614. package/dist/components/carousel/carousel.js +4 -4
  615. package/dist/components/carousel-item/carousel-item.component.js +2 -2
  616. package/dist/components/carousel-item/carousel-item.js +3 -3
  617. package/dist/components/checkbox/checkbox.component.js +3 -3
  618. package/dist/components/checkbox/checkbox.js +4 -4
  619. package/dist/components/color-picker/color-picker.component.js +11 -11
  620. package/dist/components/color-picker/color-picker.js +12 -12
  621. package/dist/components/copy-button/copy-button.component.js +5 -5
  622. package/dist/components/copy-button/copy-button.js +6 -6
  623. package/dist/components/details/details.component.js +3 -3
  624. package/dist/components/details/details.js +4 -4
  625. package/dist/components/dialog/dialog.component.js +5 -5
  626. package/dist/components/dialog/dialog.js +6 -6
  627. package/dist/components/divider/divider.component.js +2 -2
  628. package/dist/components/divider/divider.js +3 -3
  629. package/dist/components/drawer/drawer.component.js +5 -5
  630. package/dist/components/drawer/drawer.js +6 -6
  631. package/dist/components/dropdown/dropdown.component.js +3 -3
  632. package/dist/components/dropdown/dropdown.js +4 -4
  633. package/dist/components/file-upload/file-upload.component.js +7 -7
  634. package/dist/components/file-upload/file-upload.js +8 -8
  635. package/dist/components/file-upload-item/file-upload-item.component.js +3 -3
  636. package/dist/components/file-upload-item/file-upload-item.js +4 -4
  637. package/dist/components/format-bytes/format-bytes.component.js +2 -2
  638. package/dist/components/format-bytes/format-bytes.js +3 -3
  639. package/dist/components/format-date/format-date.component.js +2 -2
  640. package/dist/components/format-date/format-date.js +3 -3
  641. package/dist/components/format-number/format-number.component.js +2 -2
  642. package/dist/components/format-number/format-number.js +3 -3
  643. package/dist/components/icon/icon.component.js +2 -2
  644. package/dist/components/icon/icon.js +3 -3
  645. package/dist/components/icon-button/icon-button.component.js +3 -3
  646. package/dist/components/icon-button/icon-button.js +4 -4
  647. package/dist/components/image-comparer/image-comparer.component.js +3 -3
  648. package/dist/components/image-comparer/image-comparer.js +4 -4
  649. package/dist/components/include/include.component.js +2 -2
  650. package/dist/components/include/include.js +3 -3
  651. package/dist/components/input/input.component.js +4 -4
  652. package/dist/components/input/input.js +5 -5
  653. package/dist/components/menu/menu.component.js +2 -2
  654. package/dist/components/menu/menu.js +3 -3
  655. package/dist/components/menu-item/menu-item.component.js +6 -6
  656. package/dist/components/menu-item/menu-item.js +7 -7
  657. package/dist/components/menu-label/menu-label.component.js +2 -2
  658. package/dist/components/menu-label/menu-label.js +3 -3
  659. package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
  660. package/dist/components/mutation-observer/mutation-observer.js +3 -3
  661. package/dist/components/option/option.component.js +3 -3
  662. package/dist/components/option/option.js +4 -4
  663. package/dist/components/paginate/paginate.component.d.ts +10 -0
  664. package/dist/components/paginate/paginate.component.js +28 -4
  665. package/dist/components/paginate/paginate.js +29 -5
  666. package/dist/components/paginate/paginate.styles.js +1 -1
  667. package/dist/components/popup/popup.component.js +2 -2
  668. package/dist/components/popup/popup.js +3 -3
  669. package/dist/components/progress-bar/progress-bar.component.js +2 -2
  670. package/dist/components/progress-bar/progress-bar.js +3 -3
  671. package/dist/components/progress-ring/progress-ring.component.js +2 -2
  672. package/dist/components/progress-ring/progress-ring.js +3 -3
  673. package/dist/components/qr-code/qr-code.component.js +2 -2
  674. package/dist/components/qr-code/qr-code.js +3 -3
  675. package/dist/components/radio/radio.component.js +3 -3
  676. package/dist/components/radio/radio.js +4 -4
  677. package/dist/components/radio-button/radio-button.component.js +2 -2
  678. package/dist/components/radio-button/radio-button.js +3 -3
  679. package/dist/components/radio-group/radio-group.component.js +3 -3
  680. package/dist/components/radio-group/radio-group.js +4 -4
  681. package/dist/components/range/range.component.js +3 -3
  682. package/dist/components/range/range.js +4 -4
  683. package/dist/components/rating/rating.component.js +3 -3
  684. package/dist/components/rating/rating.js +4 -4
  685. package/dist/components/relative-time/relative-time.component.js +2 -2
  686. package/dist/components/relative-time/relative-time.js +3 -3
  687. package/dist/components/resize-observer/resize-observer.component.js +2 -2
  688. package/dist/components/resize-observer/resize-observer.js +3 -3
  689. package/dist/components/select/select.component.js +7 -7
  690. package/dist/components/select/select.js +8 -8
  691. package/dist/components/skeleton/skeleton.component.js +2 -2
  692. package/dist/components/skeleton/skeleton.js +3 -3
  693. package/dist/components/smart-container/smart-container.component.js +9 -9
  694. package/dist/components/smart-container/smart-container.js +10 -10
  695. package/dist/components/spinner/spinner.component.js +2 -2
  696. package/dist/components/spinner/spinner.js +3 -3
  697. package/dist/components/split-panel/split-panel.component.js +2 -2
  698. package/dist/components/split-panel/split-panel.js +3 -3
  699. package/dist/components/switch/switch.component.js +2 -2
  700. package/dist/components/switch/switch.js +3 -3
  701. package/dist/components/tab/tab.component.js +4 -4
  702. package/dist/components/tab/tab.js +5 -5
  703. package/dist/components/tab-group/tab-group.component.js +4 -4
  704. package/dist/components/tab-group/tab-group.js +5 -5
  705. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  706. package/dist/components/tab-panel/tab-panel.js +3 -3
  707. package/dist/components/table/table.component.js +26 -10
  708. package/dist/components/table/table.js +27 -11
  709. package/dist/components/tag/tag.component.js +4 -4
  710. package/dist/components/tag/tag.js +5 -5
  711. package/dist/components/textarea/textarea.component.js +2 -2
  712. package/dist/components/textarea/textarea.js +3 -3
  713. package/dist/components/tooltip/tooltip.component.js +3 -3
  714. package/dist/components/tooltip/tooltip.js +4 -4
  715. package/dist/components/tree/tree.component.js +7 -7
  716. package/dist/components/tree/tree.js +8 -8
  717. package/dist/components/tree-item/tree-item.component.js +6 -6
  718. package/dist/components/tree-item/tree-item.js +7 -7
  719. package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
  720. package/dist/components/visually-hidden/visually-hidden.js +3 -3
  721. package/dist/custom-elements.json +1495 -1466
  722. package/dist/pure-ui.js +136 -136
  723. package/dist/react/alert/index.js +6 -6
  724. package/dist/react/animated-image/index.js +4 -4
  725. package/dist/react/animation/index.js +3 -3
  726. package/dist/react/avatar/index.js +4 -4
  727. package/dist/react/badge/index.js +3 -3
  728. package/dist/react/breadcrumb/index.js +4 -4
  729. package/dist/react/breadcrumb-item/index.js +3 -3
  730. package/dist/react/button/index.js +6 -6
  731. package/dist/react/button-group/index.js +3 -3
  732. package/dist/react/calendar/index.js +8 -8
  733. package/dist/react/card/index.js +3 -3
  734. package/dist/react/carousel/index.js +4 -4
  735. package/dist/react/carousel-item/index.js +3 -3
  736. package/dist/react/checkbox/index.js +4 -4
  737. package/dist/react/color-picker/index.js +12 -12
  738. package/dist/react/copy-button/index.js +6 -6
  739. package/dist/react/details/index.js +4 -4
  740. package/dist/react/dialog/index.js +6 -6
  741. package/dist/react/divider/index.js +3 -3
  742. package/dist/react/drawer/index.js +6 -6
  743. package/dist/react/dropdown/index.js +4 -4
  744. package/dist/react/file-upload/index.js +8 -8
  745. package/dist/react/file-upload-item/index.js +4 -4
  746. package/dist/react/format-bytes/index.js +3 -3
  747. package/dist/react/format-date/index.js +3 -3
  748. package/dist/react/format-number/index.js +3 -3
  749. package/dist/react/icon/index.js +3 -3
  750. package/dist/react/icon-button/index.js +4 -4
  751. package/dist/react/image-comparer/index.js +4 -4
  752. package/dist/react/include/index.js +3 -3
  753. package/dist/react/index.d.ts +4 -4
  754. package/dist/react/index.js +139 -139
  755. package/dist/react/input/index.js +5 -5
  756. package/dist/react/menu/index.js +3 -3
  757. package/dist/react/menu-item/index.js +7 -7
  758. package/dist/react/menu-label/index.js +3 -3
  759. package/dist/react/mutation-observer/index.js +3 -3
  760. package/dist/react/option/index.js +4 -4
  761. package/dist/react/paginate/index.js +29 -5
  762. package/dist/react/popup/index.js +3 -3
  763. package/dist/react/progress-bar/index.js +3 -3
  764. package/dist/react/progress-ring/index.js +3 -3
  765. package/dist/react/qr-code/index.js +3 -3
  766. package/dist/react/radio/index.js +4 -4
  767. package/dist/react/radio-button/index.js +3 -3
  768. package/dist/react/radio-group/index.js +4 -4
  769. package/dist/react/range/index.js +4 -4
  770. package/dist/react/rating/index.js +4 -4
  771. package/dist/react/relative-time/index.js +3 -3
  772. package/dist/react/resize-observer/index.js +3 -3
  773. package/dist/react/select/index.js +8 -8
  774. package/dist/react/skeleton/index.js +3 -3
  775. package/dist/react/smart-container/index.js +10 -10
  776. package/dist/react/spinner/index.js +3 -3
  777. package/dist/react/split-panel/index.js +3 -3
  778. package/dist/react/switch/index.js +3 -3
  779. package/dist/react/tab/index.js +5 -5
  780. package/dist/react/tab-group/index.js +5 -5
  781. package/dist/react/tab-panel/index.js +3 -3
  782. package/dist/react/table/index.js +27 -11
  783. package/dist/react/tag/index.js +5 -5
  784. package/dist/react/textarea/index.js +3 -3
  785. package/dist/react/tooltip/index.js +4 -4
  786. package/dist/react/tree/index.js +8 -8
  787. package/dist/react/tree-item/index.js +7 -7
  788. package/dist/react/visually-hidden/index.js +3 -3
  789. package/dist/translations/vi.js +2 -0
  790. package/dist/types/vue/index.d.ts +64 -62
  791. package/dist/vscode.html-custom-data.json +156 -155
  792. package/dist/web-types.json +172 -167
  793. package/package.json +1 -1
@@ -262,192 +262,6 @@
262
262
  }
263
263
  ]
264
264
  },
265
- {
266
- "kind": "javascript-module",
267
- "path": "components/animated-image/animated-image.js",
268
- "declarations": [
269
- {
270
- "kind": "class",
271
- "description": "",
272
- "name": "PAnimatedImage",
273
- "cssProperties": [
274
- {
275
- "description": "The size of the icon box.",
276
- "name": "--control-box-size"
277
- },
278
- {
279
- "description": "The size of the play/pause icons.",
280
- "name": "--icon-size"
281
- }
282
- ],
283
- "cssParts": [
284
- {
285
- "description": "The container that surrounds the pause/play icons and provides their background.",
286
- "name": "control-box"
287
- }
288
- ],
289
- "slots": [
290
- {
291
- "description": "Optional play icon to use instead of the default. Works best with `<p-icon>`.",
292
- "name": "play-icon"
293
- },
294
- {
295
- "description": "Optional pause icon to use instead of the default. Works best with `<p-icon>`.",
296
- "name": "pause-icon"
297
- }
298
- ],
299
- "members": [
300
- {
301
- "kind": "field",
302
- "name": "dependencies",
303
- "type": {
304
- "text": "object"
305
- },
306
- "static": true,
307
- "default": "{ \"p-icon\": PIcon }"
308
- },
309
- {
310
- "kind": "field",
311
- "name": "animatedImage",
312
- "type": {
313
- "text": "HTMLImageElement"
314
- }
315
- },
316
- {
317
- "kind": "field",
318
- "name": "frozenFrame",
319
- "type": {
320
- "text": "string"
321
- }
322
- },
323
- {
324
- "kind": "field",
325
- "name": "isLoaded",
326
- "type": {
327
- "text": "boolean"
328
- },
329
- "default": "false"
330
- },
331
- {
332
- "kind": "field",
333
- "name": "src",
334
- "type": {
335
- "text": "string"
336
- },
337
- "description": "The path to the image to load.",
338
- "attribute": "src"
339
- },
340
- {
341
- "kind": "field",
342
- "name": "alt",
343
- "type": {
344
- "text": "string"
345
- },
346
- "description": "A description of the image used by assistive devices.",
347
- "attribute": "alt"
348
- },
349
- {
350
- "kind": "field",
351
- "name": "play",
352
- "type": {
353
- "text": "boolean"
354
- },
355
- "description": "Plays the animation. When this attribute is remove, the animation will pause.",
356
- "attribute": "play",
357
- "reflects": true
358
- },
359
- {
360
- "kind": "method",
361
- "name": "handleClick",
362
- "privacy": "private"
363
- },
364
- {
365
- "kind": "method",
366
- "name": "handleLoad",
367
- "privacy": "private"
368
- },
369
- {
370
- "kind": "method",
371
- "name": "handleError",
372
- "privacy": "private"
373
- },
374
- {
375
- "kind": "method",
376
- "name": "handlePlayChange"
377
- },
378
- {
379
- "kind": "method",
380
- "name": "handleSrcChange"
381
- }
382
- ],
383
- "events": [
384
- {
385
- "description": "Emitted when the image loads successfully.",
386
- "name": "p-load",
387
- "reactName": "onPLoad",
388
- "eventName": "PLoadEvent"
389
- },
390
- {
391
- "description": "Emitted when the image fails to load.",
392
- "name": "p-error",
393
- "reactName": "onPError",
394
- "eventName": "PErrorEvent"
395
- }
396
- ],
397
- "attributes": [
398
- {
399
- "name": "src",
400
- "type": {
401
- "text": "string"
402
- },
403
- "description": "The path to the image to load.",
404
- "fieldName": "src"
405
- },
406
- {
407
- "name": "alt",
408
- "type": {
409
- "text": "string"
410
- },
411
- "description": "A description of the image used by assistive devices.",
412
- "fieldName": "alt"
413
- },
414
- {
415
- "name": "play",
416
- "type": {
417
- "text": "boolean"
418
- },
419
- "description": "Plays the animation. When this attribute is remove, the animation will pause.",
420
- "fieldName": "play"
421
- }
422
- ],
423
- "superclass": {
424
- "name": "PureElement",
425
- "module": "/src/internal/pure-ui-element.js"
426
- },
427
- "summary": "A component for displaying animated GIFs and WEBPs that play and pause on interaction.",
428
- "tagNameWithoutPrefix": "animated-image",
429
- "tagName": "p-animated-image",
430
- "customElement": true,
431
- "jsDoc": "/**\n * @summary A component for displaying animated GIFs and WEBPs that play and pause on interaction.\n * @documentation https://pureui.xyz/components/animated-image\n * @status stable\n * @since 1.0\n *\n * @dependency p-icon\n *\n * @event p-load - Emitted when the image loads successfully.\n * @event p-error - Emitted when the image fails to load.\n *\n * @slot play-icon - Optional play icon to use instead of the default. Works best with `<p-icon>`.\n * @slot pause-icon - Optional pause icon to use instead of the default. Works best with `<p-icon>`.\n *\n * @part control-box - The container that surrounds the pause/play icons and provides their background.\n *\n * @cssproperty --control-box-size - The size of the icon box.\n * @cssproperty --icon-size - The size of the play/pause icons.\n */",
432
- "documentation": "https://pureui.xyz/components/animated-image",
433
- "status": "stable",
434
- "since": "1.0",
435
- "dependencies": [
436
- "p-icon"
437
- ]
438
- }
439
- ],
440
- "exports": [
441
- {
442
- "kind": "js",
443
- "name": "default",
444
- "declaration": {
445
- "name": "PAnimatedImage",
446
- "module": "components/animated-image/animated-image.js"
447
- }
448
- }
449
- ]
450
- },
451
265
  {
452
266
  "kind": "javascript-module",
453
267
  "path": "components/avatar/avatar.js",
@@ -651,12 +465,12 @@
651
465
  },
652
466
  {
653
467
  "kind": "javascript-module",
654
- "path": "components/badge/badge.js",
468
+ "path": "components/breadcrumb/breadcrumb.js",
655
469
  "declarations": [
656
470
  {
657
471
  "kind": "class",
658
472
  "description": "",
659
- "name": "PBadge",
473
+ "name": "PBreadcrumb",
660
474
  "cssParts": [
661
475
  {
662
476
  "description": "The component's base wrapper.",
@@ -665,86 +479,97 @@
665
479
  ],
666
480
  "slots": [
667
481
  {
668
- "description": "The badge's content.",
482
+ "description": "One or more breadcrumb items to display.",
669
483
  "name": ""
484
+ },
485
+ {
486
+ "description": "The separator to use between breadcrumb items. Works best with `<p-icon>`.",
487
+ "name": "separator"
670
488
  }
671
489
  ],
672
490
  "members": [
673
491
  {
674
492
  "kind": "field",
675
- "name": "variant",
493
+ "name": "dependencies",
676
494
  "type": {
677
- "text": "\"primary\" | \"success\" | \"neutral\" | \"warning\" | \"danger\""
495
+ "text": "object"
678
496
  },
679
- "default": "\"primary\"",
680
- "description": "The badge's theme variant.",
681
- "attribute": "variant",
682
- "reflects": true
497
+ "static": true,
498
+ "default": "{ \"p-icon\": PIcon }"
683
499
  },
684
500
  {
685
501
  "kind": "field",
686
- "name": "pill",
687
- "type": {
688
- "text": "boolean"
689
- },
690
- "default": "false",
691
- "description": "Draws a pill-style badge with rounded edges.",
692
- "attribute": "pill",
693
- "reflects": true
502
+ "name": "localize",
503
+ "privacy": "private",
504
+ "readonly": true,
505
+ "default": "new LocalizeController(this)"
694
506
  },
695
507
  {
696
508
  "kind": "field",
697
- "name": "pulse",
698
- "type": {
699
- "text": "boolean"
700
- },
701
- "default": "false",
702
- "description": "Makes the badge pulsate to draw attention.",
703
- "attribute": "pulse",
704
- "reflects": true
705
- }
706
- ],
707
- "attributes": [
509
+ "name": "separatorDir",
510
+ "privacy": "private"
511
+ },
708
512
  {
709
- "name": "variant",
513
+ "kind": "field",
514
+ "name": "defaultSlot",
710
515
  "type": {
711
- "text": "\"primary\" | \"success\" | \"neutral\" | \"warning\" | \"danger\""
712
- },
713
- "default": "\"primary\"",
714
- "description": "The badge's theme variant.",
715
- "fieldName": "variant"
516
+ "text": "HTMLSlotElement"
517
+ }
716
518
  },
717
519
  {
718
- "name": "pill",
520
+ "kind": "field",
521
+ "name": "separatorSlot",
719
522
  "type": {
720
- "text": "boolean"
721
- },
722
- "default": "false",
723
- "description": "Draws a pill-style badge with rounded edges.",
724
- "fieldName": "pill"
523
+ "text": "HTMLSlotElement"
524
+ }
725
525
  },
726
526
  {
727
- "name": "pulse",
527
+ "kind": "field",
528
+ "name": "label",
728
529
  "type": {
729
- "text": "boolean"
530
+ "text": "string"
730
531
  },
731
- "default": "false",
732
- "description": "Makes the badge pulsate to draw attention.",
733
- "fieldName": "pulse"
532
+ "default": "\"\"",
533
+ "description": "The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\nscreen readers and other assistive devices to provide more context for users.",
534
+ "attribute": "label"
535
+ },
536
+ {
537
+ "kind": "method",
538
+ "name": "getSeparator",
539
+ "privacy": "private"
540
+ },
541
+ {
542
+ "kind": "method",
543
+ "name": "handleSlotChange",
544
+ "privacy": "private"
545
+ }
546
+ ],
547
+ "attributes": [
548
+ {
549
+ "name": "label",
550
+ "type": {
551
+ "text": "string"
552
+ },
553
+ "default": "\"\"",
554
+ "description": "The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\nscreen readers and other assistive devices to provide more context for users.",
555
+ "fieldName": "label"
734
556
  }
735
557
  ],
736
558
  "superclass": {
737
559
  "name": "PureElement",
738
560
  "module": "/src/internal/pure-ui-element.js"
739
561
  },
740
- "summary": "Badges are used to draw attention and display statuses or counts.",
741
- "tagNameWithoutPrefix": "badge",
742
- "tagName": "p-badge",
562
+ "summary": "Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.",
563
+ "tagNameWithoutPrefix": "breadcrumb",
564
+ "tagName": "p-breadcrumb",
743
565
  "customElement": true,
744
- "jsDoc": "/**\n * @summary Badges are used to draw attention and display statuses or counts.\n * @documentation https://pureui.xyz/components/badge\n * @status stable\n * @since 1.0\n *\n * @slot - The badge's content.\n *\n * @csspart base - The component's base wrapper.\n */",
745
- "documentation": "https://pureui.xyz/components/badge",
566
+ "jsDoc": "/**\n * @summary Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.\n * @documentation https://pureui.xyz/components/breadcrumb\n * @status stable\n * @since 1.0\n *\n * @slot - One or more breadcrumb items to display.\n * @slot separator - The separator to use between breadcrumb items. Works best with `<p-icon>`.\n *\n * @dependency p-icon\n *\n * @csspart base - The component's base wrapper.\n */",
567
+ "documentation": "https://pureui.xyz/components/breadcrumb",
746
568
  "status": "stable",
747
- "since": "1.0"
569
+ "since": "1.0",
570
+ "dependencies": [
571
+ "p-icon"
572
+ ]
748
573
  }
749
574
  ],
750
575
  "exports": [
@@ -752,20 +577,20 @@
752
577
  "kind": "js",
753
578
  "name": "default",
754
579
  "declaration": {
755
- "name": "PBadge",
756
- "module": "components/badge/badge.js"
580
+ "name": "PBreadcrumb",
581
+ "module": "components/breadcrumb/breadcrumb.js"
757
582
  }
758
583
  }
759
584
  ]
760
585
  },
761
586
  {
762
587
  "kind": "javascript-module",
763
- "path": "components/breadcrumb/breadcrumb.js",
588
+ "path": "components/badge/badge.js",
764
589
  "declarations": [
765
590
  {
766
591
  "kind": "class",
767
592
  "description": "",
768
- "name": "PBreadcrumb",
593
+ "name": "PBadge",
769
594
  "cssParts": [
770
595
  {
771
596
  "description": "The component's base wrapper.",
@@ -774,97 +599,86 @@
774
599
  ],
775
600
  "slots": [
776
601
  {
777
- "description": "One or more breadcrumb items to display.",
602
+ "description": "The badge's content.",
778
603
  "name": ""
779
- },
780
- {
781
- "description": "The separator to use between breadcrumb items. Works best with `<p-icon>`.",
782
- "name": "separator"
783
604
  }
784
605
  ],
785
606
  "members": [
786
607
  {
787
608
  "kind": "field",
788
- "name": "dependencies",
609
+ "name": "variant",
789
610
  "type": {
790
- "text": "object"
611
+ "text": "\"primary\" | \"success\" | \"neutral\" | \"warning\" | \"danger\""
791
612
  },
792
- "static": true,
793
- "default": "{ \"p-icon\": PIcon }"
794
- },
795
- {
796
- "kind": "field",
797
- "name": "localize",
798
- "privacy": "private",
799
- "readonly": true,
800
- "default": "new LocalizeController(this)"
801
- },
802
- {
803
- "kind": "field",
804
- "name": "separatorDir",
805
- "privacy": "private"
613
+ "default": "\"primary\"",
614
+ "description": "The badge's theme variant.",
615
+ "attribute": "variant",
616
+ "reflects": true
806
617
  },
807
618
  {
808
619
  "kind": "field",
809
- "name": "defaultSlot",
620
+ "name": "pill",
810
621
  "type": {
811
- "text": "HTMLSlotElement"
812
- }
622
+ "text": "boolean"
623
+ },
624
+ "default": "false",
625
+ "description": "Draws a pill-style badge with rounded edges.",
626
+ "attribute": "pill",
627
+ "reflects": true
813
628
  },
814
629
  {
815
630
  "kind": "field",
816
- "name": "separatorSlot",
631
+ "name": "pulse",
817
632
  "type": {
818
- "text": "HTMLSlotElement"
819
- }
820
- },
633
+ "text": "boolean"
634
+ },
635
+ "default": "false",
636
+ "description": "Makes the badge pulsate to draw attention.",
637
+ "attribute": "pulse",
638
+ "reflects": true
639
+ }
640
+ ],
641
+ "attributes": [
821
642
  {
822
- "kind": "field",
823
- "name": "label",
643
+ "name": "variant",
824
644
  "type": {
825
- "text": "string"
645
+ "text": "\"primary\" | \"success\" | \"neutral\" | \"warning\" | \"danger\""
826
646
  },
827
- "default": "\"\"",
828
- "description": "The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\nscreen readers and other assistive devices to provide more context for users.",
829
- "attribute": "label"
647
+ "default": "\"primary\"",
648
+ "description": "The badge's theme variant.",
649
+ "fieldName": "variant"
830
650
  },
831
651
  {
832
- "kind": "method",
833
- "name": "getSeparator",
834
- "privacy": "private"
652
+ "name": "pill",
653
+ "type": {
654
+ "text": "boolean"
655
+ },
656
+ "default": "false",
657
+ "description": "Draws a pill-style badge with rounded edges.",
658
+ "fieldName": "pill"
835
659
  },
836
660
  {
837
- "kind": "method",
838
- "name": "handleSlotChange",
839
- "privacy": "private"
840
- }
841
- ],
842
- "attributes": [
843
- {
844
- "name": "label",
661
+ "name": "pulse",
845
662
  "type": {
846
- "text": "string"
663
+ "text": "boolean"
847
664
  },
848
- "default": "\"\"",
849
- "description": "The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\nscreen readers and other assistive devices to provide more context for users.",
850
- "fieldName": "label"
665
+ "default": "false",
666
+ "description": "Makes the badge pulsate to draw attention.",
667
+ "fieldName": "pulse"
851
668
  }
852
669
  ],
853
670
  "superclass": {
854
671
  "name": "PureElement",
855
672
  "module": "/src/internal/pure-ui-element.js"
856
673
  },
857
- "summary": "Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.",
858
- "tagNameWithoutPrefix": "breadcrumb",
859
- "tagName": "p-breadcrumb",
674
+ "summary": "Badges are used to draw attention and display statuses or counts.",
675
+ "tagNameWithoutPrefix": "badge",
676
+ "tagName": "p-badge",
860
677
  "customElement": true,
861
- "jsDoc": "/**\n * @summary Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.\n * @documentation https://pureui.xyz/components/breadcrumb\n * @status stable\n * @since 1.0\n *\n * @slot - One or more breadcrumb items to display.\n * @slot separator - The separator to use between breadcrumb items. Works best with `<p-icon>`.\n *\n * @dependency p-icon\n *\n * @csspart base - The component's base wrapper.\n */",
862
- "documentation": "https://pureui.xyz/components/breadcrumb",
678
+ "jsDoc": "/**\n * @summary Badges are used to draw attention and display statuses or counts.\n * @documentation https://pureui.xyz/components/badge\n * @status stable\n * @since 1.0\n *\n * @slot - The badge's content.\n *\n * @csspart base - The component's base wrapper.\n */",
679
+ "documentation": "https://pureui.xyz/components/badge",
863
680
  "status": "stable",
864
- "since": "1.0",
865
- "dependencies": [
866
- "p-icon"
867
- ]
681
+ "since": "1.0"
868
682
  }
869
683
  ],
870
684
  "exports": [
@@ -872,8 +686,8 @@
872
686
  "kind": "js",
873
687
  "name": "default",
874
688
  "declaration": {
875
- "name": "PBreadcrumb",
876
- "module": "components/breadcrumb/breadcrumb.js"
689
+ "name": "PBadge",
690
+ "module": "components/badge/badge.js"
877
691
  }
878
692
  }
879
693
  ]
@@ -1017,1022 +831,1208 @@
1017
831
  },
1018
832
  {
1019
833
  "kind": "javascript-module",
1020
- "path": "components/button/button.js",
834
+ "path": "components/animation/animation.js",
1021
835
  "declarations": [
1022
836
  {
1023
837
  "kind": "class",
1024
838
  "description": "",
1025
- "name": "PButton",
1026
- "cssParts": [
1027
- {
1028
- "description": "The component's base wrapper.",
1029
- "name": "base"
1030
- },
1031
- {
1032
- "description": "The container that wraps the prefix.",
1033
- "name": "prefix"
1034
- },
1035
- {
1036
- "description": "The button's label.",
1037
- "name": "label"
1038
- },
1039
- {
1040
- "description": "The container that wraps the suffix.",
1041
- "name": "suffix"
1042
- },
1043
- {
1044
- "description": "The button's caret icon, an `<p-icon>` element.",
1045
- "name": "caret"
1046
- },
1047
- {
1048
- "description": "The spinner that shows when the button is in the loading state.",
1049
- "name": "spinner"
1050
- }
1051
- ],
839
+ "name": "PAnimation",
1052
840
  "slots": [
1053
841
  {
1054
- "description": "The button's label.",
842
+ "description": "The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To animate multiple elements, either wrap them in a single container or use multiple `<p-animation>` elements.",
1055
843
  "name": ""
1056
- },
1057
- {
1058
- "description": "A presentational prefix icon or similar element.",
1059
- "name": "prefix"
1060
- },
1061
- {
1062
- "description": "A presentational suffix icon or similar element.",
1063
- "name": "suffix"
1064
844
  }
1065
845
  ],
1066
846
  "members": [
1067
847
  {
1068
848
  "kind": "field",
1069
- "name": "dependencies",
849
+ "name": "animation",
1070
850
  "type": {
1071
- "text": "object"
851
+ "text": "Animation | undefined"
1072
852
  },
1073
- "static": true,
1074
- "default": "{\n \"p-icon\": PIcon,\n \"p-spinner\": PSpinner,\n }"
1075
- },
1076
- {
1077
- "kind": "field",
1078
- "name": "formControlController",
1079
- "privacy": "private",
1080
- "readonly": true,
1081
- "default": "new FormControlController(this, {\n assumeInteractionOn: [\"click\"],\n })"
1082
- },
1083
- {
1084
- "kind": "field",
1085
- "name": "hasSlotController",
1086
- "privacy": "private",
1087
- "readonly": true,
1088
- "default": "new HasSlotController(this, \"[default]\", \"prefix\", \"suffix\")"
853
+ "privacy": "private"
1089
854
  },
1090
855
  {
1091
856
  "kind": "field",
1092
- "name": "localize",
857
+ "name": "hasStarted",
858
+ "type": {
859
+ "text": "boolean"
860
+ },
1093
861
  "privacy": "private",
1094
- "readonly": true,
1095
- "default": "new LocalizeController(this)"
862
+ "default": "false"
1096
863
  },
1097
864
  {
1098
865
  "kind": "field",
1099
- "name": "button",
866
+ "name": "defaultPot",
1100
867
  "type": {
1101
- "text": "HTMLButtonElement | HTMLLinkElement"
868
+ "text": "Promise<HTMLSlotElement>"
1102
869
  }
1103
870
  },
1104
871
  {
1105
872
  "kind": "field",
1106
- "name": "hasFocus",
873
+ "name": "name",
1107
874
  "type": {
1108
- "text": "boolean"
875
+ "text": "string"
1109
876
  },
1110
- "privacy": "private",
1111
- "default": "false"
877
+ "default": "\"none\"",
878
+ "description": "The name of the built-in animation to use. For custom animations, use the `keyframes` prop.",
879
+ "attribute": "name"
1112
880
  },
1113
881
  {
1114
882
  "kind": "field",
1115
- "name": "invalid",
883
+ "name": "play",
1116
884
  "type": {
1117
885
  "text": "boolean"
1118
886
  },
1119
- "default": "false"
887
+ "default": "false",
888
+ "description": "Plays the animation. When omitted, the animation will be paused. This attribute will be automatically removed when\nthe animation finishes or gets canceled.",
889
+ "attribute": "play",
890
+ "reflects": true
1120
891
  },
1121
892
  {
1122
893
  "kind": "field",
1123
- "name": "title",
894
+ "name": "delay",
1124
895
  "type": {
1125
- "text": "string"
896
+ "text": "number"
1126
897
  },
1127
- "default": "\"\"",
1128
- "attribute": "title"
1129
- },
898
+ "default": "0",
899
+ "description": "The number of milliseconds to delay the start of the animation.",
900
+ "attribute": "delay"
901
+ },
1130
902
  {
1131
903
  "kind": "field",
1132
- "name": "variant",
904
+ "name": "direction",
1133
905
  "type": {
1134
- "text": "\"default\" | \"primary\" | \"success\" | \"neutral\" | \"warning\" | \"danger\" | \"text\""
906
+ "text": "PlaybackDirection"
1135
907
  },
1136
- "default": "\"default\"",
1137
- "description": "The button's theme variant.",
1138
- "attribute": "variant",
1139
- "reflects": true
908
+ "default": "\"normal\"",
909
+ "description": "Determines the direction of playback as well as the behavior when reaching the end of an iteration.\n[Learn more](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-direction)",
910
+ "attribute": "direction"
1140
911
  },
1141
912
  {
1142
913
  "kind": "field",
1143
- "name": "size",
914
+ "name": "duration",
1144
915
  "type": {
1145
- "text": "\"small\" | \"medium\" | \"large\""
916
+ "text": "number"
1146
917
  },
1147
- "default": "\"medium\"",
1148
- "description": "The button's size.",
1149
- "attribute": "size",
1150
- "reflects": true
918
+ "default": "1000",
919
+ "description": "The number of milliseconds each iteration of the animation takes to complete.",
920
+ "attribute": "duration"
1151
921
  },
1152
922
  {
1153
923
  "kind": "field",
1154
- "name": "caret",
924
+ "name": "easing",
1155
925
  "type": {
1156
- "text": "boolean"
926
+ "text": "string"
1157
927
  },
1158
- "default": "false",
1159
- "description": "Draws the button with a caret. Used to indicate that the button triggers a dropdown menu or similar behavior.",
1160
- "attribute": "caret",
1161
- "reflects": true
928
+ "default": "\"linear\"",
929
+ "description": "The easing function to use for the animation. This can be a Pure UI easing function or a custom easing function\nsuch as `cubic-bezier(0, 1, .76, 1.14)`.",
930
+ "attribute": "easing"
1162
931
  },
1163
932
  {
1164
933
  "kind": "field",
1165
- "name": "disabled",
934
+ "name": "endDelay",
1166
935
  "type": {
1167
- "text": "boolean"
936
+ "text": "number"
1168
937
  },
1169
- "default": "false",
1170
- "description": "Disables the button.",
1171
- "attribute": "disabled",
1172
- "reflects": true
938
+ "default": "0",
939
+ "description": "The number of milliseconds to delay after the active period of an animation sequence.",
940
+ "attribute": "end-delay"
1173
941
  },
1174
942
  {
1175
943
  "kind": "field",
1176
- "name": "loading",
944
+ "name": "fill",
1177
945
  "type": {
1178
- "text": "boolean"
946
+ "text": "FillMode"
1179
947
  },
1180
- "default": "false",
1181
- "description": "Draws the button in a loading state.",
1182
- "attribute": "loading",
1183
- "reflects": true
948
+ "default": "\"auto\"",
949
+ "description": "Sets how the animation applies styles to its target before and after its execution.",
950
+ "attribute": "fill"
1184
951
  },
1185
952
  {
1186
953
  "kind": "field",
1187
- "name": "outline",
1188
- "type": {
1189
- "text": "boolean"
1190
- },
1191
- "default": "false",
1192
- "description": "Draws an outlined button.",
1193
- "attribute": "outline",
1194
- "reflects": true
954
+ "name": "iterations",
955
+ "default": "Infinity",
956
+ "description": "The number of iterations to run before the animation completes. Defaults to `Infinity`, which loops.",
957
+ "attribute": "iterations"
1195
958
  },
1196
959
  {
1197
960
  "kind": "field",
1198
- "name": "pill",
961
+ "name": "iterationStart",
1199
962
  "type": {
1200
- "text": "boolean"
963
+ "text": "number"
1201
964
  },
1202
- "default": "false",
1203
- "description": "Draws a pill-style button with rounded edges.",
1204
- "attribute": "pill",
1205
- "reflects": true
965
+ "default": "0",
966
+ "description": "The offset at which to start the animation, usually between 0 (start) and 1 (end).",
967
+ "attribute": "iteration-start"
1206
968
  },
1207
969
  {
1208
970
  "kind": "field",
1209
- "name": "circle",
971
+ "name": "keyframes",
1210
972
  "type": {
1211
- "text": "boolean"
973
+ "text": "Keyframe[] | undefined"
1212
974
  },
1213
- "default": "false",
1214
- "description": "Draws a circular icon button. When this attribute is present, the button expects a single `<p-icon>` in the\ndefault slot.",
1215
- "attribute": "circle",
1216
- "reflects": true
975
+ "description": "The keyframes to use for the animation. If this is set, `name` will be ignored."
1217
976
  },
1218
977
  {
1219
978
  "kind": "field",
1220
- "name": "type",
979
+ "name": "playbackRate",
1221
980
  "type": {
1222
- "text": "\"button\" | \"submit\" | \"reset\""
981
+ "text": "number"
1223
982
  },
1224
- "default": "\"button\"",
1225
- "description": "The type of button. Note that the default value is `button` instead of `submit`, which is opposite of how native\n`<button>` elements behave. When the type is `submit`, the button will submit the surrounding form.",
1226
- "attribute": "type"
983
+ "default": "1",
984
+ "description": "Sets the animation's playback rate. The default is `1`, which plays the animation at a normal speed. Setting this\nto `2`, for example, will double the animation's speed. A negative value can be used to reverse the animation. This\nvalue can be changed without causing the animation to restart.",
985
+ "attribute": "playback-rate"
1227
986
  },
1228
987
  {
1229
988
  "kind": "field",
1230
- "name": "name",
989
+ "name": "currentTime",
1231
990
  "type": {
1232
- "text": "string"
991
+ "text": "CSSNumberish"
1233
992
  },
1234
- "default": "\"\"",
1235
- "description": "The name of the button, submitted as a name/value pair with form data, but only when this button is the submitter.\nThis attribute is ignored when `href` is present.",
1236
- "attribute": "name"
993
+ "description": "Gets and sets the current animation time."
1237
994
  },
1238
995
  {
1239
996
  "kind": "field",
1240
- "name": "value",
1241
- "type": {
1242
- "text": "string"
1243
- },
1244
- "default": "\"\"",
1245
- "description": "The value of the button, submitted as a pair with the button's name as part of the form data, but only when this\nbutton is the submitter. This attribute is ignored when `href` is present.",
1246
- "attribute": "value"
997
+ "name": "handleAnimationFinish",
998
+ "privacy": "private"
1247
999
  },
1248
1000
  {
1249
1001
  "kind": "field",
1250
- "name": "href",
1002
+ "name": "handleAnimationCancel",
1003
+ "privacy": "private"
1004
+ },
1005
+ {
1006
+ "kind": "method",
1007
+ "name": "handlePotChange",
1008
+ "privacy": "private"
1009
+ },
1010
+ {
1011
+ "kind": "method",
1012
+ "name": "createAnimation",
1013
+ "privacy": "private"
1014
+ },
1015
+ {
1016
+ "kind": "method",
1017
+ "name": "destroyAnimation",
1018
+ "privacy": "private"
1019
+ },
1020
+ {
1021
+ "kind": "method",
1022
+ "name": "handleAnimationChange"
1023
+ },
1024
+ {
1025
+ "kind": "method",
1026
+ "name": "handlePlayChange"
1027
+ },
1028
+ {
1029
+ "kind": "method",
1030
+ "name": "handlePlaybackRateChange"
1031
+ },
1032
+ {
1033
+ "kind": "method",
1034
+ "name": "cancel",
1035
+ "description": "Clears all keyframe effects caused by this animation and aborts its playback."
1036
+ },
1037
+ {
1038
+ "kind": "method",
1039
+ "name": "finish",
1040
+ "description": "Sets the playback time to the end of the animation corresponding to the current playback direction."
1041
+ }
1042
+ ],
1043
+ "events": [
1044
+ {
1045
+ "description": "Emitted when the animation is canceled.",
1046
+ "name": "p-cancel",
1047
+ "reactName": "onPCancel",
1048
+ "eventName": "PCancelEvent"
1049
+ },
1050
+ {
1051
+ "description": "Emitted when the animation finishes.",
1052
+ "name": "p-finish",
1053
+ "reactName": "onPFinish",
1054
+ "eventName": "PFinishEvent"
1055
+ },
1056
+ {
1057
+ "description": "Emitted when the animation starts or restarts.",
1058
+ "name": "p-start",
1059
+ "reactName": "onPStart",
1060
+ "eventName": "PStartEvent"
1061
+ }
1062
+ ],
1063
+ "attributes": [
1064
+ {
1065
+ "name": "name",
1251
1066
  "type": {
1252
1067
  "text": "string"
1253
1068
  },
1254
- "default": "\"\"",
1255
- "description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
1256
- "attribute": "href"
1069
+ "default": "\"none\"",
1070
+ "description": "The name of the built-in animation to use. For custom animations, use the `keyframes` prop.",
1071
+ "fieldName": "name"
1257
1072
  },
1258
1073
  {
1259
- "kind": "field",
1260
- "name": "target",
1074
+ "name": "play",
1261
1075
  "type": {
1262
- "text": "\"_blank\" | \"_parent\" | \"_self\" | \"_top\""
1076
+ "text": "boolean"
1263
1077
  },
1264
- "description": "Tells the browser where to open the link. Only used when `href` is present.",
1265
- "attribute": "target"
1078
+ "default": "false",
1079
+ "description": "Plays the animation. When omitted, the animation will be paused. This attribute will be automatically removed when\nthe animation finishes or gets canceled.",
1080
+ "fieldName": "play"
1266
1081
  },
1267
1082
  {
1268
- "kind": "field",
1269
- "name": "rel",
1083
+ "name": "delay",
1270
1084
  "type": {
1271
- "text": "string"
1085
+ "text": "number"
1272
1086
  },
1273
- "default": "\"noreferrer noopener\"",
1274
- "description": "When using `href`, this attribute will map to the underlying link's `rel` attribute. Unlike regular links, the\ndefault is `noreferrer noopener` to prevent security exploits. However, if you're using `target` to point to a\nspecific tab/window, this will prevent that from working correctly. You can remove or change the default value by\nsetting the attribute to an empty string or a value of your choice, respectively.",
1275
- "attribute": "rel"
1087
+ "default": "0",
1088
+ "description": "The number of milliseconds to delay the start of the animation.",
1089
+ "fieldName": "delay"
1276
1090
  },
1277
1091
  {
1278
- "kind": "field",
1279
- "name": "download",
1092
+ "name": "direction",
1280
1093
  "type": {
1281
- "text": "string | undefined"
1094
+ "text": "PlaybackDirection"
1282
1095
  },
1283
- "description": "Tells the browser to download the linked file as this filename. Only used when `href` is present.",
1284
- "attribute": "download"
1096
+ "default": "\"normal\"",
1097
+ "description": "Determines the direction of playback as well as the behavior when reaching the end of an iteration.\n[Learn more](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-direction)",
1098
+ "fieldName": "direction"
1285
1099
  },
1286
1100
  {
1287
- "kind": "field",
1288
- "name": "form",
1101
+ "name": "duration",
1289
1102
  "type": {
1290
- "text": "string"
1103
+ "text": "number"
1291
1104
  },
1292
- "description": "The \"form owner\" to associate the button with. If omitted, the closest containing form will be used instead. The\nvalue of this attribute must be an id of a form in the same document or shadow root as the button.",
1293
- "attribute": "form"
1105
+ "default": "1000",
1106
+ "description": "The number of milliseconds each iteration of the animation takes to complete.",
1107
+ "fieldName": "duration"
1294
1108
  },
1295
1109
  {
1296
- "kind": "field",
1297
- "name": "formAction",
1110
+ "name": "easing",
1298
1111
  "type": {
1299
1112
  "text": "string"
1300
1113
  },
1301
- "description": "Used to override the form owner's `action` attribute.",
1302
- "attribute": "formaction"
1114
+ "default": "\"linear\"",
1115
+ "description": "The easing function to use for the animation. This can be a Pure UI easing function or a custom easing function\nsuch as `cubic-bezier(0, 1, .76, 1.14)`.",
1116
+ "fieldName": "easing"
1303
1117
  },
1304
1118
  {
1305
- "kind": "field",
1306
- "name": "formEnctype",
1119
+ "name": "end-delay",
1307
1120
  "type": {
1308
- "text": "\"application/x-www-form-urlencoded\" | \"multipart/form-data\" | \"text/plain\""
1121
+ "text": "number"
1309
1122
  },
1310
- "description": "Used to override the form owner's `enctype` attribute.",
1311
- "attribute": "formenctype"
1123
+ "default": "0",
1124
+ "description": "The number of milliseconds to delay after the active period of an animation sequence.",
1125
+ "fieldName": "endDelay"
1312
1126
  },
1313
1127
  {
1314
- "kind": "field",
1315
- "name": "formMethod",
1128
+ "name": "fill",
1316
1129
  "type": {
1317
- "text": "\"post\" | \"get\""
1130
+ "text": "FillMode"
1318
1131
  },
1319
- "description": "Used to override the form owner's `method` attribute.",
1320
- "attribute": "formmethod"
1321
- },
1132
+ "default": "\"auto\"",
1133
+ "description": "Sets how the animation applies styles to its target before and after its execution.",
1134
+ "fieldName": "fill"
1135
+ },
1322
1136
  {
1323
- "kind": "field",
1324
- "name": "formNoValidate",
1325
- "type": {
1326
- "text": "boolean"
1137
+ "name": "iterations",
1138
+ "default": "Infinity",
1139
+ "description": "The number of iterations to run before the animation completes. Defaults to `Infinity`, which loops.",
1140
+ "resolveInitializer": {
1141
+ "module": "src/components/animation/animation.component.ts"
1327
1142
  },
1328
- "description": "Used to override the form owner's `novalidate` attribute.",
1329
- "attribute": "formnovalidate"
1143
+ "fieldName": "iterations"
1330
1144
  },
1331
1145
  {
1332
- "kind": "field",
1333
- "name": "formTarget",
1146
+ "name": "iteration-start",
1334
1147
  "type": {
1335
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\" | string"
1148
+ "text": "number"
1336
1149
  },
1337
- "description": "Used to override the form owner's `target` attribute.",
1338
- "attribute": "formtarget"
1150
+ "default": "0",
1151
+ "description": "The offset at which to start the animation, usually between 0 (start) and 1 (end).",
1152
+ "fieldName": "iterationStart"
1339
1153
  },
1340
1154
  {
1341
- "kind": "field",
1342
- "name": "validity",
1343
- "description": "Gets the validity state object",
1344
- "readonly": true
1345
- },
1155
+ "name": "playback-rate",
1156
+ "type": {
1157
+ "text": "number"
1158
+ },
1159
+ "default": "1",
1160
+ "description": "Sets the animation's playback rate. The default is `1`, which plays the animation at a normal speed. Setting this\nto `2`, for example, will double the animation's speed. A negative value can be used to reverse the animation. This\nvalue can be changed without causing the animation to restart.",
1161
+ "fieldName": "playbackRate"
1162
+ }
1163
+ ],
1164
+ "superclass": {
1165
+ "name": "PureElement",
1166
+ "module": "/src/internal/pure-ui-element.js"
1167
+ },
1168
+ "summary": "Animate elements declaratively with nearly 100 baked-in presets, or roll your own with custom keyframes. Powered by the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API).",
1169
+ "tagNameWithoutPrefix": "animation",
1170
+ "tagName": "p-animation",
1171
+ "customElement": true,
1172
+ "jsDoc": "/**\n * @summary Animate elements declaratively with nearly 100 baked-in presets, or roll your own with custom keyframes. Powered by the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API).\n * @documentation https://pureui.xyz/components/animation\n * @status stable\n * @since 1.0\n *\n * @event p-cancel - Emitted when the animation is canceled.\n * @event p-finish - Emitted when the animation finishes.\n * @event p-start - Emitted when the animation starts or restarts.\n *\n * @slot - The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To\n * animate multiple elements, either wrap them in a single container or use multiple `<p-animation>` elements.\n */",
1173
+ "documentation": "https://pureui.xyz/components/animation",
1174
+ "status": "stable",
1175
+ "since": "1.0"
1176
+ }
1177
+ ],
1178
+ "exports": [
1179
+ {
1180
+ "kind": "js",
1181
+ "name": "default",
1182
+ "declaration": {
1183
+ "name": "PAnimation",
1184
+ "module": "components/animation/animation.js"
1185
+ }
1186
+ }
1187
+ ]
1188
+ },
1189
+ {
1190
+ "kind": "javascript-module",
1191
+ "path": "components/animated-image/animated-image.js",
1192
+ "declarations": [
1193
+ {
1194
+ "kind": "class",
1195
+ "description": "",
1196
+ "name": "PAnimatedImage",
1197
+ "cssProperties": [
1346
1198
  {
1347
- "kind": "field",
1348
- "name": "validationMessage",
1349
- "description": "Gets the validation message",
1350
- "readonly": true
1199
+ "description": "The size of the icon box.",
1200
+ "name": "--control-box-size"
1351
1201
  },
1352
1202
  {
1353
- "kind": "method",
1354
- "name": "handleBlur",
1355
- "privacy": "private"
1356
- },
1203
+ "description": "The size of the play/pause icons.",
1204
+ "name": "--icon-size"
1205
+ }
1206
+ ],
1207
+ "cssParts": [
1357
1208
  {
1358
- "kind": "method",
1359
- "name": "handleFocus",
1360
- "privacy": "private"
1209
+ "description": "The container that surrounds the pause/play icons and provides their background.",
1210
+ "name": "control-box"
1211
+ }
1212
+ ],
1213
+ "slots": [
1214
+ {
1215
+ "description": "Optional play icon to use instead of the default. Works best with `<p-icon>`.",
1216
+ "name": "play-icon"
1361
1217
  },
1362
1218
  {
1363
- "kind": "method",
1364
- "name": "handleClick",
1365
- "privacy": "private"
1219
+ "description": "Optional pause icon to use instead of the default. Works best with `<p-icon>`.",
1220
+ "name": "pause-icon"
1221
+ }
1222
+ ],
1223
+ "members": [
1224
+ {
1225
+ "kind": "field",
1226
+ "name": "dependencies",
1227
+ "type": {
1228
+ "text": "object"
1229
+ },
1230
+ "static": true,
1231
+ "default": "{ \"p-icon\": PIcon }"
1366
1232
  },
1367
1233
  {
1368
- "kind": "method",
1369
- "name": "handleInvalid",
1370
- "privacy": "private",
1371
- "parameters": [
1372
- {
1373
- "name": "event",
1374
- "type": {
1375
- "text": "Event"
1376
- }
1377
- }
1378
- ]
1234
+ "kind": "field",
1235
+ "name": "animatedImage",
1236
+ "type": {
1237
+ "text": "HTMLImageElement"
1238
+ }
1379
1239
  },
1380
1240
  {
1381
- "kind": "method",
1382
- "name": "isButton",
1383
- "privacy": "private"
1241
+ "kind": "field",
1242
+ "name": "frozenFrame",
1243
+ "type": {
1244
+ "text": "string"
1245
+ }
1384
1246
  },
1385
1247
  {
1386
- "kind": "method",
1387
- "name": "isLink",
1388
- "privacy": "private"
1248
+ "kind": "field",
1249
+ "name": "isLoaded",
1250
+ "type": {
1251
+ "text": "boolean"
1252
+ },
1253
+ "default": "false"
1389
1254
  },
1390
1255
  {
1391
- "kind": "method",
1392
- "name": "handleDisabledChange"
1256
+ "kind": "field",
1257
+ "name": "src",
1258
+ "type": {
1259
+ "text": "string"
1260
+ },
1261
+ "description": "The path to the image to load.",
1262
+ "attribute": "src"
1393
1263
  },
1394
1264
  {
1395
- "kind": "method",
1396
- "name": "click",
1397
- "description": "Simulates a click on the button."
1265
+ "kind": "field",
1266
+ "name": "alt",
1267
+ "type": {
1268
+ "text": "string"
1269
+ },
1270
+ "description": "A description of the image used by assistive devices.",
1271
+ "attribute": "alt"
1398
1272
  },
1399
1273
  {
1400
- "kind": "method",
1401
- "name": "focus",
1402
- "parameters": [
1403
- {
1404
- "name": "options",
1405
- "optional": true,
1406
- "type": {
1407
- "text": "FocusOptions"
1408
- }
1409
- }
1410
- ],
1411
- "description": "Sets focus on the button."
1274
+ "kind": "field",
1275
+ "name": "play",
1276
+ "type": {
1277
+ "text": "boolean"
1278
+ },
1279
+ "description": "Plays the animation. When this attribute is remove, the animation will pause.",
1280
+ "attribute": "play",
1281
+ "reflects": true
1412
1282
  },
1413
1283
  {
1414
1284
  "kind": "method",
1415
- "name": "blur",
1416
- "description": "Removes focus from the button."
1285
+ "name": "handleClick",
1286
+ "privacy": "private"
1417
1287
  },
1418
1288
  {
1419
1289
  "kind": "method",
1420
- "name": "checkValidity",
1421
- "description": "Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
1290
+ "name": "handleLoad",
1291
+ "privacy": "private"
1422
1292
  },
1423
1293
  {
1424
1294
  "kind": "method",
1425
- "name": "getForm",
1426
- "return": {
1427
- "type": {
1428
- "text": "HTMLFormElement | null"
1429
- }
1430
- },
1431
- "description": "Gets the associated form, if one exists."
1295
+ "name": "handleError",
1296
+ "privacy": "private"
1432
1297
  },
1433
1298
  {
1434
1299
  "kind": "method",
1435
- "name": "reportValidity",
1436
- "description": "Checks for validity and shows the browser's validation message if the control is invalid."
1300
+ "name": "handlePlayChange"
1437
1301
  },
1438
1302
  {
1439
1303
  "kind": "method",
1440
- "name": "setCustomValidity",
1441
- "parameters": [
1442
- {
1443
- "name": "message",
1444
- "type": {
1445
- "text": "string"
1446
- }
1447
- }
1448
- ],
1449
- "description": "Sets a custom validation message. Pass an empty string to restore validity."
1304
+ "name": "handleSrcChange"
1450
1305
  }
1451
1306
  ],
1452
1307
  "events": [
1453
1308
  {
1454
- "description": "Emitted when the button loses focus.",
1455
- "name": "p-blur",
1456
- "reactName": "onPBlur",
1457
- "eventName": "PBlurEvent"
1458
- },
1459
- {
1460
- "description": "Emitted when the button gains focus.",
1461
- "name": "p-focus",
1462
- "reactName": "onPFocus",
1463
- "eventName": "PFocusEvent"
1309
+ "description": "Emitted when the image loads successfully.",
1310
+ "name": "p-load",
1311
+ "reactName": "onPLoad",
1312
+ "eventName": "PLoadEvent"
1464
1313
  },
1465
1314
  {
1466
- "description": "Emitted when the form control has been checked for validity and its constraints aren't satisfied.",
1467
- "name": "p-invalid",
1468
- "reactName": "onPInvalid",
1469
- "eventName": "PInvalidEvent"
1315
+ "description": "Emitted when the image fails to load.",
1316
+ "name": "p-error",
1317
+ "reactName": "onPError",
1318
+ "eventName": "PErrorEvent"
1470
1319
  }
1471
1320
  ],
1472
1321
  "attributes": [
1473
1322
  {
1474
- "name": "title",
1323
+ "name": "src",
1475
1324
  "type": {
1476
1325
  "text": "string"
1477
1326
  },
1478
- "default": "\"\"",
1479
- "fieldName": "title"
1327
+ "description": "The path to the image to load.",
1328
+ "fieldName": "src"
1480
1329
  },
1481
1330
  {
1482
- "name": "variant",
1331
+ "name": "alt",
1483
1332
  "type": {
1484
- "text": "\"default\" | \"primary\" | \"success\" | \"neutral\" | \"warning\" | \"danger\" | \"text\""
1333
+ "text": "string"
1485
1334
  },
1486
- "default": "\"default\"",
1487
- "description": "The button's theme variant.",
1488
- "fieldName": "variant"
1335
+ "description": "A description of the image used by assistive devices.",
1336
+ "fieldName": "alt"
1489
1337
  },
1490
1338
  {
1339
+ "name": "play",
1340
+ "type": {
1341
+ "text": "boolean"
1342
+ },
1343
+ "description": "Plays the animation. When this attribute is remove, the animation will pause.",
1344
+ "fieldName": "play"
1345
+ }
1346
+ ],
1347
+ "superclass": {
1348
+ "name": "PureElement",
1349
+ "module": "/src/internal/pure-ui-element.js"
1350
+ },
1351
+ "summary": "A component for displaying animated GIFs and WEBPs that play and pause on interaction.",
1352
+ "tagNameWithoutPrefix": "animated-image",
1353
+ "tagName": "p-animated-image",
1354
+ "customElement": true,
1355
+ "jsDoc": "/**\n * @summary A component for displaying animated GIFs and WEBPs that play and pause on interaction.\n * @documentation https://pureui.xyz/components/animated-image\n * @status stable\n * @since 1.0\n *\n * @dependency p-icon\n *\n * @event p-load - Emitted when the image loads successfully.\n * @event p-error - Emitted when the image fails to load.\n *\n * @slot play-icon - Optional play icon to use instead of the default. Works best with `<p-icon>`.\n * @slot pause-icon - Optional pause icon to use instead of the default. Works best with `<p-icon>`.\n *\n * @part control-box - The container that surrounds the pause/play icons and provides their background.\n *\n * @cssproperty --control-box-size - The size of the icon box.\n * @cssproperty --icon-size - The size of the play/pause icons.\n */",
1356
+ "documentation": "https://pureui.xyz/components/animated-image",
1357
+ "status": "stable",
1358
+ "since": "1.0",
1359
+ "dependencies": [
1360
+ "p-icon"
1361
+ ]
1362
+ }
1363
+ ],
1364
+ "exports": [
1365
+ {
1366
+ "kind": "js",
1367
+ "name": "default",
1368
+ "declaration": {
1369
+ "name": "PAnimatedImage",
1370
+ "module": "components/animated-image/animated-image.js"
1371
+ }
1372
+ }
1373
+ ]
1374
+ },
1375
+ {
1376
+ "kind": "javascript-module",
1377
+ "path": "components/button/button.js",
1378
+ "declarations": [
1379
+ {
1380
+ "kind": "class",
1381
+ "description": "",
1382
+ "name": "PButton",
1383
+ "cssParts": [
1384
+ {
1385
+ "description": "The component's base wrapper.",
1386
+ "name": "base"
1387
+ },
1388
+ {
1389
+ "description": "The container that wraps the prefix.",
1390
+ "name": "prefix"
1391
+ },
1392
+ {
1393
+ "description": "The button's label.",
1394
+ "name": "label"
1395
+ },
1396
+ {
1397
+ "description": "The container that wraps the suffix.",
1398
+ "name": "suffix"
1399
+ },
1400
+ {
1401
+ "description": "The button's caret icon, an `<p-icon>` element.",
1402
+ "name": "caret"
1403
+ },
1404
+ {
1405
+ "description": "The spinner that shows when the button is in the loading state.",
1406
+ "name": "spinner"
1407
+ }
1408
+ ],
1409
+ "slots": [
1410
+ {
1411
+ "description": "The button's label.",
1412
+ "name": ""
1413
+ },
1414
+ {
1415
+ "description": "A presentational prefix icon or similar element.",
1416
+ "name": "prefix"
1417
+ },
1418
+ {
1419
+ "description": "A presentational suffix icon or similar element.",
1420
+ "name": "suffix"
1421
+ }
1422
+ ],
1423
+ "members": [
1424
+ {
1425
+ "kind": "field",
1426
+ "name": "dependencies",
1427
+ "type": {
1428
+ "text": "object"
1429
+ },
1430
+ "static": true,
1431
+ "default": "{\n \"p-icon\": PIcon,\n \"p-spinner\": PSpinner,\n }"
1432
+ },
1433
+ {
1434
+ "kind": "field",
1435
+ "name": "formControlController",
1436
+ "privacy": "private",
1437
+ "readonly": true,
1438
+ "default": "new FormControlController(this, {\n assumeInteractionOn: [\"click\"],\n })"
1439
+ },
1440
+ {
1441
+ "kind": "field",
1442
+ "name": "hasSlotController",
1443
+ "privacy": "private",
1444
+ "readonly": true,
1445
+ "default": "new HasSlotController(this, \"[default]\", \"prefix\", \"suffix\")"
1446
+ },
1447
+ {
1448
+ "kind": "field",
1449
+ "name": "localize",
1450
+ "privacy": "private",
1451
+ "readonly": true,
1452
+ "default": "new LocalizeController(this)"
1453
+ },
1454
+ {
1455
+ "kind": "field",
1456
+ "name": "button",
1457
+ "type": {
1458
+ "text": "HTMLButtonElement | HTMLLinkElement"
1459
+ }
1460
+ },
1461
+ {
1462
+ "kind": "field",
1463
+ "name": "hasFocus",
1464
+ "type": {
1465
+ "text": "boolean"
1466
+ },
1467
+ "privacy": "private",
1468
+ "default": "false"
1469
+ },
1470
+ {
1471
+ "kind": "field",
1472
+ "name": "invalid",
1473
+ "type": {
1474
+ "text": "boolean"
1475
+ },
1476
+ "default": "false"
1477
+ },
1478
+ {
1479
+ "kind": "field",
1480
+ "name": "title",
1481
+ "type": {
1482
+ "text": "string"
1483
+ },
1484
+ "default": "\"\"",
1485
+ "attribute": "title"
1486
+ },
1487
+ {
1488
+ "kind": "field",
1489
+ "name": "variant",
1490
+ "type": {
1491
+ "text": "\"default\" | \"primary\" | \"success\" | \"neutral\" | \"warning\" | \"danger\" | \"text\""
1492
+ },
1493
+ "default": "\"default\"",
1494
+ "description": "The button's theme variant.",
1495
+ "attribute": "variant",
1496
+ "reflects": true
1497
+ },
1498
+ {
1499
+ "kind": "field",
1491
1500
  "name": "size",
1492
1501
  "type": {
1493
1502
  "text": "\"small\" | \"medium\" | \"large\""
1494
1503
  },
1495
1504
  "default": "\"medium\"",
1496
1505
  "description": "The button's size.",
1497
- "fieldName": "size"
1506
+ "attribute": "size",
1507
+ "reflects": true
1498
1508
  },
1499
1509
  {
1510
+ "kind": "field",
1500
1511
  "name": "caret",
1501
1512
  "type": {
1502
1513
  "text": "boolean"
1503
1514
  },
1504
1515
  "default": "false",
1505
1516
  "description": "Draws the button with a caret. Used to indicate that the button triggers a dropdown menu or similar behavior.",
1506
- "fieldName": "caret"
1517
+ "attribute": "caret",
1518
+ "reflects": true
1507
1519
  },
1508
1520
  {
1521
+ "kind": "field",
1509
1522
  "name": "disabled",
1510
1523
  "type": {
1511
1524
  "text": "boolean"
1512
1525
  },
1513
1526
  "default": "false",
1514
1527
  "description": "Disables the button.",
1515
- "fieldName": "disabled"
1528
+ "attribute": "disabled",
1529
+ "reflects": true
1516
1530
  },
1517
1531
  {
1532
+ "kind": "field",
1518
1533
  "name": "loading",
1519
1534
  "type": {
1520
1535
  "text": "boolean"
1521
1536
  },
1522
1537
  "default": "false",
1523
1538
  "description": "Draws the button in a loading state.",
1524
- "fieldName": "loading"
1539
+ "attribute": "loading",
1540
+ "reflects": true
1525
1541
  },
1526
1542
  {
1543
+ "kind": "field",
1527
1544
  "name": "outline",
1528
1545
  "type": {
1529
1546
  "text": "boolean"
1530
1547
  },
1531
1548
  "default": "false",
1532
1549
  "description": "Draws an outlined button.",
1533
- "fieldName": "outline"
1550
+ "attribute": "outline",
1551
+ "reflects": true
1534
1552
  },
1535
1553
  {
1554
+ "kind": "field",
1536
1555
  "name": "pill",
1537
1556
  "type": {
1538
1557
  "text": "boolean"
1539
1558
  },
1540
1559
  "default": "false",
1541
1560
  "description": "Draws a pill-style button with rounded edges.",
1542
- "fieldName": "pill"
1561
+ "attribute": "pill",
1562
+ "reflects": true
1543
1563
  },
1544
1564
  {
1565
+ "kind": "field",
1545
1566
  "name": "circle",
1546
1567
  "type": {
1547
1568
  "text": "boolean"
1548
1569
  },
1549
1570
  "default": "false",
1550
1571
  "description": "Draws a circular icon button. When this attribute is present, the button expects a single `<p-icon>` in the\ndefault slot.",
1551
- "fieldName": "circle"
1572
+ "attribute": "circle",
1573
+ "reflects": true
1552
1574
  },
1553
1575
  {
1576
+ "kind": "field",
1554
1577
  "name": "type",
1555
1578
  "type": {
1556
1579
  "text": "\"button\" | \"submit\" | \"reset\""
1557
1580
  },
1558
1581
  "default": "\"button\"",
1559
1582
  "description": "The type of button. Note that the default value is `button` instead of `submit`, which is opposite of how native\n`<button>` elements behave. When the type is `submit`, the button will submit the surrounding form.",
1560
- "fieldName": "type"
1583
+ "attribute": "type"
1561
1584
  },
1562
1585
  {
1586
+ "kind": "field",
1563
1587
  "name": "name",
1564
1588
  "type": {
1565
1589
  "text": "string"
1566
1590
  },
1567
1591
  "default": "\"\"",
1568
1592
  "description": "The name of the button, submitted as a name/value pair with form data, but only when this button is the submitter.\nThis attribute is ignored when `href` is present.",
1569
- "fieldName": "name"
1593
+ "attribute": "name"
1570
1594
  },
1571
1595
  {
1596
+ "kind": "field",
1572
1597
  "name": "value",
1573
1598
  "type": {
1574
1599
  "text": "string"
1575
1600
  },
1576
1601
  "default": "\"\"",
1577
1602
  "description": "The value of the button, submitted as a pair with the button's name as part of the form data, but only when this\nbutton is the submitter. This attribute is ignored when `href` is present.",
1578
- "fieldName": "value"
1603
+ "attribute": "value"
1579
1604
  },
1580
1605
  {
1606
+ "kind": "field",
1581
1607
  "name": "href",
1582
1608
  "type": {
1583
1609
  "text": "string"
1584
1610
  },
1585
1611
  "default": "\"\"",
1586
1612
  "description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
1587
- "fieldName": "href"
1613
+ "attribute": "href"
1588
1614
  },
1589
1615
  {
1616
+ "kind": "field",
1590
1617
  "name": "target",
1591
1618
  "type": {
1592
1619
  "text": "\"_blank\" | \"_parent\" | \"_self\" | \"_top\""
1593
1620
  },
1594
1621
  "description": "Tells the browser where to open the link. Only used when `href` is present.",
1595
- "fieldName": "target"
1622
+ "attribute": "target"
1596
1623
  },
1597
1624
  {
1625
+ "kind": "field",
1598
1626
  "name": "rel",
1599
1627
  "type": {
1600
1628
  "text": "string"
1601
1629
  },
1602
1630
  "default": "\"noreferrer noopener\"",
1603
1631
  "description": "When using `href`, this attribute will map to the underlying link's `rel` attribute. Unlike regular links, the\ndefault is `noreferrer noopener` to prevent security exploits. However, if you're using `target` to point to a\nspecific tab/window, this will prevent that from working correctly. You can remove or change the default value by\nsetting the attribute to an empty string or a value of your choice, respectively.",
1604
- "fieldName": "rel"
1632
+ "attribute": "rel"
1605
1633
  },
1606
1634
  {
1635
+ "kind": "field",
1607
1636
  "name": "download",
1608
1637
  "type": {
1609
1638
  "text": "string | undefined"
1610
1639
  },
1611
1640
  "description": "Tells the browser to download the linked file as this filename. Only used when `href` is present.",
1612
- "fieldName": "download"
1641
+ "attribute": "download"
1613
1642
  },
1614
1643
  {
1644
+ "kind": "field",
1615
1645
  "name": "form",
1616
1646
  "type": {
1617
1647
  "text": "string"
1618
1648
  },
1619
1649
  "description": "The \"form owner\" to associate the button with. If omitted, the closest containing form will be used instead. The\nvalue of this attribute must be an id of a form in the same document or shadow root as the button.",
1620
- "fieldName": "form"
1650
+ "attribute": "form"
1621
1651
  },
1622
1652
  {
1623
- "name": "formaction",
1653
+ "kind": "field",
1654
+ "name": "formAction",
1624
1655
  "type": {
1625
1656
  "text": "string"
1626
1657
  },
1627
1658
  "description": "Used to override the form owner's `action` attribute.",
1628
- "fieldName": "formAction"
1659
+ "attribute": "formaction"
1629
1660
  },
1630
1661
  {
1631
- "name": "formenctype",
1662
+ "kind": "field",
1663
+ "name": "formEnctype",
1632
1664
  "type": {
1633
1665
  "text": "\"application/x-www-form-urlencoded\" | \"multipart/form-data\" | \"text/plain\""
1634
1666
  },
1635
1667
  "description": "Used to override the form owner's `enctype` attribute.",
1636
- "fieldName": "formEnctype"
1668
+ "attribute": "formenctype"
1637
1669
  },
1638
1670
  {
1639
- "name": "formmethod",
1671
+ "kind": "field",
1672
+ "name": "formMethod",
1640
1673
  "type": {
1641
1674
  "text": "\"post\" | \"get\""
1642
1675
  },
1643
1676
  "description": "Used to override the form owner's `method` attribute.",
1644
- "fieldName": "formMethod"
1677
+ "attribute": "formmethod"
1645
1678
  },
1646
1679
  {
1647
- "name": "formnovalidate",
1680
+ "kind": "field",
1681
+ "name": "formNoValidate",
1648
1682
  "type": {
1649
1683
  "text": "boolean"
1650
1684
  },
1651
1685
  "description": "Used to override the form owner's `novalidate` attribute.",
1652
- "fieldName": "formNoValidate"
1686
+ "attribute": "formnovalidate"
1653
1687
  },
1654
1688
  {
1655
- "name": "formtarget",
1689
+ "kind": "field",
1690
+ "name": "formTarget",
1656
1691
  "type": {
1657
1692
  "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\" | string"
1658
1693
  },
1659
1694
  "description": "Used to override the form owner's `target` attribute.",
1660
- "fieldName": "formTarget"
1661
- }
1662
- ],
1663
- "superclass": {
1664
- "name": "PureElement",
1665
- "module": "/src/internal/pure-ui-element.js"
1666
- },
1667
- "summary": "Buttons represent actions that are available to the user.",
1668
- "tagNameWithoutPrefix": "button",
1669
- "tagName": "p-button",
1670
- "customElement": true,
1671
- "jsDoc": "/**\n * @summary Buttons represent actions that are available to the user.\n * @documentation https://pureui.xyz/components/button\n * @status stable\n * @since 1.0\n *\n * @dependency p-icon\n * @dependency p-spinner\n *\n * @event p-blur - Emitted when the button loses focus.\n * @event p-focus - Emitted when the button gains focus.\n * @event p-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n *\n * @slot - The button's label.\n * @slot prefix - A presentational prefix icon or similar element.\n * @slot suffix - A presentational suffix icon or similar element.\n *\n * @csspart base - The component's base wrapper.\n * @csspart prefix - The container that wraps the prefix.\n * @csspart label - The button's label.\n * @csspart suffix - The container that wraps the suffix.\n * @csspart caret - The button's caret icon, an `<p-icon>` element.\n * @csspart spinner - The spinner that shows when the button is in the loading state.\n */",
1672
- "documentation": "https://pureui.xyz/components/button",
1673
- "status": "stable",
1674
- "since": "1.0",
1675
- "dependencies": [
1676
- "p-icon",
1677
- "p-spinner"
1678
- ]
1679
- }
1680
- ],
1681
- "exports": [
1682
- {
1683
- "kind": "js",
1684
- "name": "default",
1685
- "declaration": {
1686
- "name": "PButton",
1687
- "module": "components/button/button.js"
1688
- }
1689
- }
1690
- ]
1691
- },
1692
- {
1693
- "kind": "javascript-module",
1694
- "path": "components/animation/animation.js",
1695
- "declarations": [
1696
- {
1697
- "kind": "class",
1698
- "description": "",
1699
- "name": "PAnimation",
1700
- "slots": [
1701
- {
1702
- "description": "The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To animate multiple elements, either wrap them in a single container or use multiple `<p-animation>` elements.",
1703
- "name": ""
1704
- }
1705
- ],
1706
- "members": [
1707
- {
1708
- "kind": "field",
1709
- "name": "animation",
1710
- "type": {
1711
- "text": "Animation | undefined"
1712
- },
1713
- "privacy": "private"
1714
- },
1715
- {
1716
- "kind": "field",
1717
- "name": "hasStarted",
1718
- "type": {
1719
- "text": "boolean"
1720
- },
1721
- "privacy": "private",
1722
- "default": "false"
1723
- },
1724
- {
1725
- "kind": "field",
1726
- "name": "defaultPot",
1727
- "type": {
1728
- "text": "Promise<HTMLSlotElement>"
1729
- }
1730
- },
1731
- {
1732
- "kind": "field",
1733
- "name": "name",
1734
- "type": {
1735
- "text": "string"
1736
- },
1737
- "default": "\"none\"",
1738
- "description": "The name of the built-in animation to use. For custom animations, use the `keyframes` prop.",
1739
- "attribute": "name"
1740
- },
1741
- {
1742
- "kind": "field",
1743
- "name": "play",
1744
- "type": {
1745
- "text": "boolean"
1746
- },
1747
- "default": "false",
1748
- "description": "Plays the animation. When omitted, the animation will be paused. This attribute will be automatically removed when\nthe animation finishes or gets canceled.",
1749
- "attribute": "play",
1750
- "reflects": true
1751
- },
1752
- {
1753
- "kind": "field",
1754
- "name": "delay",
1755
- "type": {
1756
- "text": "number"
1757
- },
1758
- "default": "0",
1759
- "description": "The number of milliseconds to delay the start of the animation.",
1760
- "attribute": "delay"
1761
- },
1762
- {
1763
- "kind": "field",
1764
- "name": "direction",
1765
- "type": {
1766
- "text": "PlaybackDirection"
1767
- },
1768
- "default": "\"normal\"",
1769
- "description": "Determines the direction of playback as well as the behavior when reaching the end of an iteration.\n[Learn more](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-direction)",
1770
- "attribute": "direction"
1771
- },
1772
- {
1773
- "kind": "field",
1774
- "name": "duration",
1775
- "type": {
1776
- "text": "number"
1777
- },
1778
- "default": "1000",
1779
- "description": "The number of milliseconds each iteration of the animation takes to complete.",
1780
- "attribute": "duration"
1781
- },
1782
- {
1783
- "kind": "field",
1784
- "name": "easing",
1785
- "type": {
1786
- "text": "string"
1787
- },
1788
- "default": "\"linear\"",
1789
- "description": "The easing function to use for the animation. This can be a Pure UI easing function or a custom easing function\nsuch as `cubic-bezier(0, 1, .76, 1.14)`.",
1790
- "attribute": "easing"
1791
- },
1792
- {
1793
- "kind": "field",
1794
- "name": "endDelay",
1795
- "type": {
1796
- "text": "number"
1797
- },
1798
- "default": "0",
1799
- "description": "The number of milliseconds to delay after the active period of an animation sequence.",
1800
- "attribute": "end-delay"
1695
+ "attribute": "formtarget"
1801
1696
  },
1802
1697
  {
1803
1698
  "kind": "field",
1804
- "name": "fill",
1805
- "type": {
1806
- "text": "FillMode"
1807
- },
1808
- "default": "\"auto\"",
1809
- "description": "Sets how the animation applies styles to its target before and after its execution.",
1810
- "attribute": "fill"
1699
+ "name": "validity",
1700
+ "description": "Gets the validity state object",
1701
+ "readonly": true
1811
1702
  },
1812
1703
  {
1813
1704
  "kind": "field",
1814
- "name": "iterations",
1815
- "default": "Infinity",
1816
- "description": "The number of iterations to run before the animation completes. Defaults to `Infinity`, which loops.",
1817
- "attribute": "iterations"
1705
+ "name": "validationMessage",
1706
+ "description": "Gets the validation message",
1707
+ "readonly": true
1818
1708
  },
1819
1709
  {
1820
- "kind": "field",
1821
- "name": "iterationStart",
1822
- "type": {
1823
- "text": "number"
1824
- },
1825
- "default": "0",
1826
- "description": "The offset at which to start the animation, usually between 0 (start) and 1 (end).",
1827
- "attribute": "iteration-start"
1710
+ "kind": "method",
1711
+ "name": "handleBlur",
1712
+ "privacy": "private"
1828
1713
  },
1829
1714
  {
1830
- "kind": "field",
1831
- "name": "keyframes",
1832
- "type": {
1833
- "text": "Keyframe[] | undefined"
1834
- },
1835
- "description": "The keyframes to use for the animation. If this is set, `name` will be ignored."
1715
+ "kind": "method",
1716
+ "name": "handleFocus",
1717
+ "privacy": "private"
1836
1718
  },
1837
1719
  {
1838
- "kind": "field",
1839
- "name": "playbackRate",
1840
- "type": {
1841
- "text": "number"
1842
- },
1843
- "default": "1",
1844
- "description": "Sets the animation's playback rate. The default is `1`, which plays the animation at a normal speed. Setting this\nto `2`, for example, will double the animation's speed. A negative value can be used to reverse the animation. This\nvalue can be changed without causing the animation to restart.",
1845
- "attribute": "playback-rate"
1720
+ "kind": "method",
1721
+ "name": "handleClick",
1722
+ "privacy": "private"
1846
1723
  },
1847
1724
  {
1848
- "kind": "field",
1849
- "name": "currentTime",
1850
- "type": {
1851
- "text": "CSSNumberish"
1852
- },
1853
- "description": "Gets and sets the current animation time."
1725
+ "kind": "method",
1726
+ "name": "handleInvalid",
1727
+ "privacy": "private",
1728
+ "parameters": [
1729
+ {
1730
+ "name": "event",
1731
+ "type": {
1732
+ "text": "Event"
1733
+ }
1734
+ }
1735
+ ]
1854
1736
  },
1855
1737
  {
1856
- "kind": "field",
1857
- "name": "handleAnimationFinish",
1738
+ "kind": "method",
1739
+ "name": "isButton",
1858
1740
  "privacy": "private"
1859
1741
  },
1860
1742
  {
1861
- "kind": "field",
1862
- "name": "handleAnimationCancel",
1743
+ "kind": "method",
1744
+ "name": "isLink",
1863
1745
  "privacy": "private"
1864
1746
  },
1865
1747
  {
1866
1748
  "kind": "method",
1867
- "name": "handlePotChange",
1868
- "privacy": "private"
1749
+ "name": "handleDisabledChange"
1869
1750
  },
1870
1751
  {
1871
1752
  "kind": "method",
1872
- "name": "createAnimation",
1873
- "privacy": "private"
1753
+ "name": "click",
1754
+ "description": "Simulates a click on the button."
1874
1755
  },
1875
1756
  {
1876
1757
  "kind": "method",
1877
- "name": "destroyAnimation",
1878
- "privacy": "private"
1758
+ "name": "focus",
1759
+ "parameters": [
1760
+ {
1761
+ "name": "options",
1762
+ "optional": true,
1763
+ "type": {
1764
+ "text": "FocusOptions"
1765
+ }
1766
+ }
1767
+ ],
1768
+ "description": "Sets focus on the button."
1879
1769
  },
1880
1770
  {
1881
1771
  "kind": "method",
1882
- "name": "handleAnimationChange"
1772
+ "name": "blur",
1773
+ "description": "Removes focus from the button."
1883
1774
  },
1884
1775
  {
1885
1776
  "kind": "method",
1886
- "name": "handlePlayChange"
1777
+ "name": "checkValidity",
1778
+ "description": "Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
1887
1779
  },
1888
1780
  {
1889
1781
  "kind": "method",
1890
- "name": "handlePlaybackRateChange"
1782
+ "name": "getForm",
1783
+ "return": {
1784
+ "type": {
1785
+ "text": "HTMLFormElement | null"
1786
+ }
1787
+ },
1788
+ "description": "Gets the associated form, if one exists."
1891
1789
  },
1892
1790
  {
1893
1791
  "kind": "method",
1894
- "name": "cancel",
1895
- "description": "Clears all keyframe effects caused by this animation and aborts its playback."
1792
+ "name": "reportValidity",
1793
+ "description": "Checks for validity and shows the browser's validation message if the control is invalid."
1896
1794
  },
1897
1795
  {
1898
1796
  "kind": "method",
1899
- "name": "finish",
1900
- "description": "Sets the playback time to the end of the animation corresponding to the current playback direction."
1797
+ "name": "setCustomValidity",
1798
+ "parameters": [
1799
+ {
1800
+ "name": "message",
1801
+ "type": {
1802
+ "text": "string"
1803
+ }
1804
+ }
1805
+ ],
1806
+ "description": "Sets a custom validation message. Pass an empty string to restore validity."
1901
1807
  }
1902
1808
  ],
1903
1809
  "events": [
1904
1810
  {
1905
- "description": "Emitted when the animation is canceled.",
1906
- "name": "p-cancel",
1907
- "reactName": "onPCancel",
1908
- "eventName": "PCancelEvent"
1811
+ "description": "Emitted when the button loses focus.",
1812
+ "name": "p-blur",
1813
+ "reactName": "onPBlur",
1814
+ "eventName": "PBlurEvent"
1909
1815
  },
1910
1816
  {
1911
- "description": "Emitted when the animation finishes.",
1912
- "name": "p-finish",
1913
- "reactName": "onPFinish",
1914
- "eventName": "PFinishEvent"
1817
+ "description": "Emitted when the button gains focus.",
1818
+ "name": "p-focus",
1819
+ "reactName": "onPFocus",
1820
+ "eventName": "PFocusEvent"
1915
1821
  },
1916
1822
  {
1917
- "description": "Emitted when the animation starts or restarts.",
1918
- "name": "p-start",
1919
- "reactName": "onPStart",
1920
- "eventName": "PStartEvent"
1823
+ "description": "Emitted when the form control has been checked for validity and its constraints aren't satisfied.",
1824
+ "name": "p-invalid",
1825
+ "reactName": "onPInvalid",
1826
+ "eventName": "PInvalidEvent"
1921
1827
  }
1922
1828
  ],
1923
1829
  "attributes": [
1924
1830
  {
1925
- "name": "name",
1831
+ "name": "title",
1926
1832
  "type": {
1927
1833
  "text": "string"
1928
1834
  },
1929
- "default": "\"none\"",
1930
- "description": "The name of the built-in animation to use. For custom animations, use the `keyframes` prop.",
1931
- "fieldName": "name"
1835
+ "default": "\"\"",
1836
+ "fieldName": "title"
1932
1837
  },
1933
1838
  {
1934
- "name": "play",
1839
+ "name": "variant",
1840
+ "type": {
1841
+ "text": "\"default\" | \"primary\" | \"success\" | \"neutral\" | \"warning\" | \"danger\" | \"text\""
1842
+ },
1843
+ "default": "\"default\"",
1844
+ "description": "The button's theme variant.",
1845
+ "fieldName": "variant"
1846
+ },
1847
+ {
1848
+ "name": "size",
1849
+ "type": {
1850
+ "text": "\"small\" | \"medium\" | \"large\""
1851
+ },
1852
+ "default": "\"medium\"",
1853
+ "description": "The button's size.",
1854
+ "fieldName": "size"
1855
+ },
1856
+ {
1857
+ "name": "caret",
1935
1858
  "type": {
1936
1859
  "text": "boolean"
1937
1860
  },
1938
1861
  "default": "false",
1939
- "description": "Plays the animation. When omitted, the animation will be paused. This attribute will be automatically removed when\nthe animation finishes or gets canceled.",
1940
- "fieldName": "play"
1862
+ "description": "Draws the button with a caret. Used to indicate that the button triggers a dropdown menu or similar behavior.",
1863
+ "fieldName": "caret"
1941
1864
  },
1942
1865
  {
1943
- "name": "delay",
1866
+ "name": "disabled",
1944
1867
  "type": {
1945
- "text": "number"
1868
+ "text": "boolean"
1946
1869
  },
1947
- "default": "0",
1948
- "description": "The number of milliseconds to delay the start of the animation.",
1949
- "fieldName": "delay"
1870
+ "default": "false",
1871
+ "description": "Disables the button.",
1872
+ "fieldName": "disabled"
1950
1873
  },
1951
1874
  {
1952
- "name": "direction",
1875
+ "name": "loading",
1953
1876
  "type": {
1954
- "text": "PlaybackDirection"
1877
+ "text": "boolean"
1955
1878
  },
1956
- "default": "\"normal\"",
1957
- "description": "Determines the direction of playback as well as the behavior when reaching the end of an iteration.\n[Learn more](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-direction)",
1958
- "fieldName": "direction"
1879
+ "default": "false",
1880
+ "description": "Draws the button in a loading state.",
1881
+ "fieldName": "loading"
1959
1882
  },
1960
1883
  {
1961
- "name": "duration",
1884
+ "name": "outline",
1962
1885
  "type": {
1963
- "text": "number"
1886
+ "text": "boolean"
1964
1887
  },
1965
- "default": "1000",
1966
- "description": "The number of milliseconds each iteration of the animation takes to complete.",
1967
- "fieldName": "duration"
1888
+ "default": "false",
1889
+ "description": "Draws an outlined button.",
1890
+ "fieldName": "outline"
1968
1891
  },
1969
1892
  {
1970
- "name": "easing",
1893
+ "name": "pill",
1894
+ "type": {
1895
+ "text": "boolean"
1896
+ },
1897
+ "default": "false",
1898
+ "description": "Draws a pill-style button with rounded edges.",
1899
+ "fieldName": "pill"
1900
+ },
1901
+ {
1902
+ "name": "circle",
1903
+ "type": {
1904
+ "text": "boolean"
1905
+ },
1906
+ "default": "false",
1907
+ "description": "Draws a circular icon button. When this attribute is present, the button expects a single `<p-icon>` in the\ndefault slot.",
1908
+ "fieldName": "circle"
1909
+ },
1910
+ {
1911
+ "name": "type",
1912
+ "type": {
1913
+ "text": "\"button\" | \"submit\" | \"reset\""
1914
+ },
1915
+ "default": "\"button\"",
1916
+ "description": "The type of button. Note that the default value is `button` instead of `submit`, which is opposite of how native\n`<button>` elements behave. When the type is `submit`, the button will submit the surrounding form.",
1917
+ "fieldName": "type"
1918
+ },
1919
+ {
1920
+ "name": "name",
1971
1921
  "type": {
1972
1922
  "text": "string"
1973
1923
  },
1974
- "default": "\"linear\"",
1975
- "description": "The easing function to use for the animation. This can be a Pure UI easing function or a custom easing function\nsuch as `cubic-bezier(0, 1, .76, 1.14)`.",
1976
- "fieldName": "easing"
1924
+ "default": "\"\"",
1925
+ "description": "The name of the button, submitted as a name/value pair with form data, but only when this button is the submitter.\nThis attribute is ignored when `href` is present.",
1926
+ "fieldName": "name"
1977
1927
  },
1978
1928
  {
1979
- "name": "end-delay",
1929
+ "name": "value",
1980
1930
  "type": {
1981
- "text": "number"
1931
+ "text": "string"
1982
1932
  },
1983
- "default": "0",
1984
- "description": "The number of milliseconds to delay after the active period of an animation sequence.",
1985
- "fieldName": "endDelay"
1933
+ "default": "\"\"",
1934
+ "description": "The value of the button, submitted as a pair with the button's name as part of the form data, but only when this\nbutton is the submitter. This attribute is ignored when `href` is present.",
1935
+ "fieldName": "value"
1986
1936
  },
1987
1937
  {
1988
- "name": "fill",
1938
+ "name": "href",
1989
1939
  "type": {
1990
- "text": "FillMode"
1940
+ "text": "string"
1991
1941
  },
1992
- "default": "\"auto\"",
1993
- "description": "Sets how the animation applies styles to its target before and after its execution.",
1994
- "fieldName": "fill"
1942
+ "default": "\"\"",
1943
+ "description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
1944
+ "fieldName": "href"
1995
1945
  },
1996
1946
  {
1997
- "name": "iterations",
1998
- "default": "Infinity",
1999
- "description": "The number of iterations to run before the animation completes. Defaults to `Infinity`, which loops.",
2000
- "resolveInitializer": {
2001
- "module": "src/components/animation/animation.component.ts"
1947
+ "name": "target",
1948
+ "type": {
1949
+ "text": "\"_blank\" | \"_parent\" | \"_self\" | \"_top\""
2002
1950
  },
2003
- "fieldName": "iterations"
1951
+ "description": "Tells the browser where to open the link. Only used when `href` is present.",
1952
+ "fieldName": "target"
2004
1953
  },
2005
1954
  {
2006
- "name": "iteration-start",
1955
+ "name": "rel",
2007
1956
  "type": {
2008
- "text": "number"
1957
+ "text": "string"
2009
1958
  },
2010
- "default": "0",
2011
- "description": "The offset at which to start the animation, usually between 0 (start) and 1 (end).",
2012
- "fieldName": "iterationStart"
1959
+ "default": "\"noreferrer noopener\"",
1960
+ "description": "When using `href`, this attribute will map to the underlying link's `rel` attribute. Unlike regular links, the\ndefault is `noreferrer noopener` to prevent security exploits. However, if you're using `target` to point to a\nspecific tab/window, this will prevent that from working correctly. You can remove or change the default value by\nsetting the attribute to an empty string or a value of your choice, respectively.",
1961
+ "fieldName": "rel"
2013
1962
  },
2014
1963
  {
2015
- "name": "playback-rate",
1964
+ "name": "download",
2016
1965
  "type": {
2017
- "text": "number"
1966
+ "text": "string | undefined"
2018
1967
  },
2019
- "default": "1",
2020
- "description": "Sets the animation's playback rate. The default is `1`, which plays the animation at a normal speed. Setting this\nto `2`, for example, will double the animation's speed. A negative value can be used to reverse the animation. This\nvalue can be changed without causing the animation to restart.",
2021
- "fieldName": "playbackRate"
1968
+ "description": "Tells the browser to download the linked file as this filename. Only used when `href` is present.",
1969
+ "fieldName": "download"
1970
+ },
1971
+ {
1972
+ "name": "form",
1973
+ "type": {
1974
+ "text": "string"
1975
+ },
1976
+ "description": "The \"form owner\" to associate the button with. If omitted, the closest containing form will be used instead. The\nvalue of this attribute must be an id of a form in the same document or shadow root as the button.",
1977
+ "fieldName": "form"
1978
+ },
1979
+ {
1980
+ "name": "formaction",
1981
+ "type": {
1982
+ "text": "string"
1983
+ },
1984
+ "description": "Used to override the form owner's `action` attribute.",
1985
+ "fieldName": "formAction"
1986
+ },
1987
+ {
1988
+ "name": "formenctype",
1989
+ "type": {
1990
+ "text": "\"application/x-www-form-urlencoded\" | \"multipart/form-data\" | \"text/plain\""
1991
+ },
1992
+ "description": "Used to override the form owner's `enctype` attribute.",
1993
+ "fieldName": "formEnctype"
1994
+ },
1995
+ {
1996
+ "name": "formmethod",
1997
+ "type": {
1998
+ "text": "\"post\" | \"get\""
1999
+ },
2000
+ "description": "Used to override the form owner's `method` attribute.",
2001
+ "fieldName": "formMethod"
2002
+ },
2003
+ {
2004
+ "name": "formnovalidate",
2005
+ "type": {
2006
+ "text": "boolean"
2007
+ },
2008
+ "description": "Used to override the form owner's `novalidate` attribute.",
2009
+ "fieldName": "formNoValidate"
2010
+ },
2011
+ {
2012
+ "name": "formtarget",
2013
+ "type": {
2014
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\" | string"
2015
+ },
2016
+ "description": "Used to override the form owner's `target` attribute.",
2017
+ "fieldName": "formTarget"
2022
2018
  }
2023
2019
  ],
2024
2020
  "superclass": {
2025
2021
  "name": "PureElement",
2026
2022
  "module": "/src/internal/pure-ui-element.js"
2027
2023
  },
2028
- "summary": "Animate elements declaratively with nearly 100 baked-in presets, or roll your own with custom keyframes. Powered by the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API).",
2029
- "tagNameWithoutPrefix": "animation",
2030
- "tagName": "p-animation",
2024
+ "summary": "Buttons represent actions that are available to the user.",
2025
+ "tagNameWithoutPrefix": "button",
2026
+ "tagName": "p-button",
2031
2027
  "customElement": true,
2032
- "jsDoc": "/**\n * @summary Animate elements declaratively with nearly 100 baked-in presets, or roll your own with custom keyframes. Powered by the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API).\n * @documentation https://pureui.xyz/components/animation\n * @status stable\n * @since 1.0\n *\n * @event p-cancel - Emitted when the animation is canceled.\n * @event p-finish - Emitted when the animation finishes.\n * @event p-start - Emitted when the animation starts or restarts.\n *\n * @slot - The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To\n * animate multiple elements, either wrap them in a single container or use multiple `<p-animation>` elements.\n */",
2033
- "documentation": "https://pureui.xyz/components/animation",
2028
+ "jsDoc": "/**\n * @summary Buttons represent actions that are available to the user.\n * @documentation https://pureui.xyz/components/button\n * @status stable\n * @since 1.0\n *\n * @dependency p-icon\n * @dependency p-spinner\n *\n * @event p-blur - Emitted when the button loses focus.\n * @event p-focus - Emitted when the button gains focus.\n * @event p-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n *\n * @slot - The button's label.\n * @slot prefix - A presentational prefix icon or similar element.\n * @slot suffix - A presentational suffix icon or similar element.\n *\n * @csspart base - The component's base wrapper.\n * @csspart prefix - The container that wraps the prefix.\n * @csspart label - The button's label.\n * @csspart suffix - The container that wraps the suffix.\n * @csspart caret - The button's caret icon, an `<p-icon>` element.\n * @csspart spinner - The spinner that shows when the button is in the loading state.\n */",
2029
+ "documentation": "https://pureui.xyz/components/button",
2034
2030
  "status": "stable",
2035
- "since": "1.0"
2031
+ "since": "1.0",
2032
+ "dependencies": [
2033
+ "p-icon",
2034
+ "p-spinner"
2035
+ ]
2036
2036
  }
2037
2037
  ],
2038
2038
  "exports": [
@@ -2040,8 +2040,8 @@
2040
2040
  "kind": "js",
2041
2041
  "name": "default",
2042
2042
  "declaration": {
2043
- "name": "PAnimation",
2044
- "module": "components/animation/animation.js"
2043
+ "name": "PButton",
2044
+ "module": "components/button/button.js"
2045
2045
  }
2046
2046
  }
2047
2047
  ]
@@ -11754,7 +11754,7 @@
11754
11754
  "text": "object"
11755
11755
  },
11756
11756
  "static": true,
11757
- "default": "{\n \"p-icon\": PIcon,\n }"
11757
+ "default": "{\n \"p-icon\": PIcon,\n \"p-select\": PSelect,\n \"p-format-number\": PFormatNumber,\n \"p-button\": PButton,\n \"p-button-group\": PButtonGroup,\n }"
11758
11758
  },
11759
11759
  {
11760
11760
  "kind": "field",
@@ -11860,11 +11860,32 @@
11860
11860
  "attribute": "max-visible-pages",
11861
11861
  "reflects": true
11862
11862
  },
11863
+ {
11864
+ "kind": "field",
11865
+ "name": "pageList",
11866
+ "type": {
11867
+ "text": "number[]"
11868
+ },
11869
+ "default": "[10, 20, 30, 40, 50]",
11870
+ "attribute": "page-list"
11871
+ },
11863
11872
  {
11864
11873
  "kind": "method",
11865
11874
  "name": "getPages",
11866
11875
  "privacy": "private"
11867
11876
  },
11877
+ {
11878
+ "kind": "method",
11879
+ "name": "changeLimit",
11880
+ "parameters": [
11881
+ {
11882
+ "name": "newLimit",
11883
+ "type": {
11884
+ "text": "number"
11885
+ }
11886
+ }
11887
+ ]
11888
+ },
11868
11889
  {
11869
11890
  "kind": "method",
11870
11891
  "name": "changePage",
@@ -11974,6 +11995,14 @@
11974
11995
  "default": "3",
11975
11996
  "description": "The limit visible pages to show.",
11976
11997
  "fieldName": "maxVisiblePages"
11998
+ },
11999
+ {
12000
+ "name": "page-list",
12001
+ "type": {
12002
+ "text": "number[]"
12003
+ },
12004
+ "default": "[10, 20, 30, 40, 50]",
12005
+ "fieldName": "pageList"
11977
12006
  }
11978
12007
  ],
11979
12008
  "superclass": {
@@ -13908,169 +13937,71 @@
13908
13937
  },
13909
13938
  {
13910
13939
  "kind": "javascript-module",
13911
- "path": "components/range/range.js",
13940
+ "path": "components/rating/rating.js",
13912
13941
  "declarations": [
13913
13942
  {
13914
13943
  "kind": "class",
13915
13944
  "description": "",
13916
- "name": "PRange",
13945
+ "name": "PRating",
13917
13946
  "cssProperties": [
13918
13947
  {
13919
- "description": "The size of the thumb.",
13920
- "name": "--thumb-size"
13948
+ "description": "The inactive color for symbols.",
13949
+ "name": "--symbol-color"
13921
13950
  },
13922
13951
  {
13923
- "description": "The vertical distance the tooltip is offset from the track.",
13924
- "name": "--tooltip-offset"
13925
- },
13926
- {
13927
- "description": "The color of the portion of the track that represents the current value.",
13928
- "name": "--track-color-active"
13929
- },
13930
- {
13931
- "description": "The of the portion of the track that represents the remaining value.",
13932
- "name": "--track-color-inactive"
13952
+ "description": "The active color for symbols.",
13953
+ "name": "--symbol-color-active"
13933
13954
  },
13934
13955
  {
13935
- "description": "The height of the track.",
13936
- "name": "--track-height"
13956
+ "description": "The size of symbols.",
13957
+ "name": "--symbol-size"
13937
13958
  },
13938
13959
  {
13939
- "description": "The point of origin of the active track.",
13940
- "name": "--track-active-offset"
13960
+ "description": "The spacing to use around symbols.",
13961
+ "name": "--symbol-spacing"
13941
13962
  }
13942
13963
  ],
13943
13964
  "cssParts": [
13944
- {
13945
- "description": "The form control that wraps the label, input, and help text.",
13946
- "name": "form-control"
13947
- },
13948
- {
13949
- "description": "The label's wrapper.",
13950
- "name": "form-control-label"
13951
- },
13952
- {
13953
- "description": "The range's wrapper.",
13954
- "name": "form-control-input"
13955
- },
13956
- {
13957
- "description": "The help text's wrapper.",
13958
- "name": "form-control-help-text"
13959
- },
13960
13965
  {
13961
13966
  "description": "The component's base wrapper.",
13962
13967
  "name": "base"
13963
- },
13964
- {
13965
- "description": "The internal `<input>` element.",
13966
- "name": "input"
13967
- },
13968
- {
13969
- "description": "The range's tooltip.",
13970
- "name": "tooltip"
13971
- }
13972
- ],
13973
- "slots": [
13974
- {
13975
- "description": "The range's label. Alternatively, you can use the `label` attribute.",
13976
- "name": "label"
13977
- },
13978
- {
13979
- "description": "Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
13980
- "name": "help-text"
13981
13968
  }
13982
13969
  ],
13983
13970
  "members": [
13984
13971
  {
13985
13972
  "kind": "field",
13986
- "name": "formControlController",
13987
- "privacy": "private",
13988
- "readonly": true,
13989
- "default": "new FormControlController(this)"
13990
- },
13991
- {
13992
- "kind": "field",
13993
- "name": "hasSlotController",
13994
- "privacy": "private",
13995
- "readonly": true,
13996
- "default": "new HasSlotController(this, \"help-text\", \"label\")"
13997
- },
13998
- {
13999
- "kind": "field",
14000
- "name": "localize",
14001
- "privacy": "private",
14002
- "readonly": true,
14003
- "default": "new LocalizeController(this)"
14004
- },
14005
- {
14006
- "kind": "field",
14007
- "name": "resizeObserver",
13973
+ "name": "dependencies",
14008
13974
  "type": {
14009
- "text": "ResizeObserver"
13975
+ "text": "object"
14010
13976
  },
14011
- "privacy": "private"
14012
- },
14013
- {
14014
- "kind": "field",
14015
- "name": "input",
14016
- "type": {
14017
- "text": "HTMLInputElement"
14018
- }
13977
+ "static": true,
13978
+ "default": "{ \"p-icon\": PIcon }"
14019
13979
  },
14020
13980
  {
14021
13981
  "kind": "field",
14022
- "name": "output",
13982
+ "name": "rating",
14023
13983
  "type": {
14024
- "text": "HTMLOutputElement | null"
13984
+ "text": "HTMLElement"
14025
13985
  }
14026
13986
  },
14027
13987
  {
14028
13988
  "kind": "field",
14029
- "name": "hasFocus",
13989
+ "name": "hoverValue",
14030
13990
  "type": {
14031
- "text": "boolean"
13991
+ "text": "number"
14032
13992
  },
14033
13993
  "privacy": "private",
14034
- "default": "false"
13994
+ "default": "0"
14035
13995
  },
14036
13996
  {
14037
13997
  "kind": "field",
14038
- "name": "hasTooltip",
13998
+ "name": "isHovering",
14039
13999
  "type": {
14040
14000
  "text": "boolean"
14041
14001
  },
14042
14002
  "privacy": "private",
14043
14003
  "default": "false"
14044
14004
  },
14045
- {
14046
- "kind": "field",
14047
- "name": "title",
14048
- "type": {
14049
- "text": "string"
14050
- },
14051
- "default": "\"\"",
14052
- "attribute": "title"
14053
- },
14054
- {
14055
- "kind": "field",
14056
- "name": "name",
14057
- "type": {
14058
- "text": "string"
14059
- },
14060
- "default": "\"\"",
14061
- "description": "The name of the range, submitted as a name/value pair with form data.",
14062
- "attribute": "name"
14063
- },
14064
- {
14065
- "kind": "field",
14066
- "name": "value",
14067
- "type": {
14068
- "text": "number"
14069
- },
14070
- "default": "0",
14071
- "description": "The current value of the range, submitted as a name/value pair with form data.",
14072
- "attribute": "value"
14073
- },
14074
14005
  {
14075
14006
  "kind": "field",
14076
14007
  "name": "label",
@@ -14078,39 +14009,18 @@
14078
14009
  "text": "string"
14079
14010
  },
14080
14011
  "default": "\"\"",
14081
- "description": "The range's label. If you need to display HTML, use the `label` slot instead.",
14012
+ "description": "A label that describes the rating to assistive devices.",
14082
14013
  "attribute": "label"
14083
14014
  },
14084
14015
  {
14085
14016
  "kind": "field",
14086
- "name": "helpText",
14087
- "type": {
14088
- "text": "string"
14089
- },
14090
- "default": "\"\"",
14091
- "description": "The range's help text. If you need to display HTML, use the help-text slot instead.",
14092
- "attribute": "help-text"
14093
- },
14094
- {
14095
- "kind": "field",
14096
- "name": "disabled",
14097
- "type": {
14098
- "text": "boolean"
14099
- },
14100
- "default": "false",
14101
- "description": "Disables the range.",
14102
- "attribute": "disabled",
14103
- "reflects": true
14104
- },
14105
- {
14106
- "kind": "field",
14107
- "name": "min",
14017
+ "name": "value",
14108
14018
  "type": {
14109
14019
  "text": "number"
14110
14020
  },
14111
14021
  "default": "0",
14112
- "description": "The minimum acceptable value of the range.",
14113
- "attribute": "min"
14022
+ "description": "The current rating.",
14023
+ "attribute": "value"
14114
14024
  },
14115
14025
  {
14116
14026
  "kind": "field",
@@ -14118,120 +14028,84 @@
14118
14028
  "type": {
14119
14029
  "text": "number"
14120
14030
  },
14121
- "default": "100",
14122
- "description": "The maximum acceptable value of the range.",
14031
+ "default": "5",
14032
+ "description": "The highest rating to show.",
14123
14033
  "attribute": "max"
14124
14034
  },
14125
14035
  {
14126
14036
  "kind": "field",
14127
- "name": "step",
14037
+ "name": "precision",
14128
14038
  "type": {
14129
14039
  "text": "number"
14130
14040
  },
14131
14041
  "default": "1",
14132
- "description": "The interval at which the range will increase and decrease.",
14133
- "attribute": "step"
14134
- },
14135
- {
14136
- "kind": "field",
14137
- "name": "tooltip",
14138
- "type": {
14139
- "text": "\"top\" | \"bottom\" | \"none\""
14140
- },
14141
- "default": "\"top\"",
14142
- "description": "The preferred placement of the range's tooltip.",
14143
- "attribute": "tooltip"
14042
+ "description": "The precision at which the rating will increase and decrease. For example, to allow half-star ratings, set this\nattribute to `0.5`.",
14043
+ "attribute": "precision"
14144
14044
  },
14145
14045
  {
14146
14046
  "kind": "field",
14147
- "name": "tooltipFormatter",
14047
+ "name": "readonly",
14148
14048
  "type": {
14149
- "text": "(value: number) => string"
14049
+ "text": "boolean"
14150
14050
  },
14151
- "description": "A function used to format the tooltip's value. The range's value is passed as the first and only argument. The\nfunction should return a string to display in the tooltip."
14051
+ "default": "false",
14052
+ "description": "Makes the rating readonly.",
14053
+ "attribute": "readonly",
14054
+ "reflects": true
14152
14055
  },
14153
14056
  {
14154
14057
  "kind": "field",
14155
- "name": "form",
14058
+ "name": "disabled",
14156
14059
  "type": {
14157
- "text": "string"
14060
+ "text": "boolean"
14158
14061
  },
14159
- "default": "\"\"",
14160
- "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
14161
- "attribute": "form",
14062
+ "default": "false",
14063
+ "description": "Disables the rating.",
14064
+ "attribute": "disabled",
14162
14065
  "reflects": true
14163
14066
  },
14164
14067
  {
14165
14068
  "kind": "field",
14166
- "name": "defaultValue",
14069
+ "name": "getSymbol",
14167
14070
  "type": {
14168
- "text": "number"
14071
+ "text": "(value: number) => string"
14169
14072
  },
14170
- "default": "0",
14171
- "description": "The default value of the form control. Primarily used for resetting the form control."
14172
- },
14173
- {
14174
- "kind": "field",
14175
- "name": "validity",
14176
- "description": "Gets the validity state object",
14177
- "readonly": true
14178
- },
14179
- {
14180
- "kind": "field",
14181
- "name": "validationMessage",
14182
- "description": "Gets the validation message",
14183
- "readonly": true
14184
- },
14185
- {
14186
- "kind": "method",
14187
- "name": "handleChange",
14188
- "privacy": "private"
14189
- },
14190
- {
14191
- "kind": "method",
14192
- "name": "handleInput",
14193
- "privacy": "private"
14194
- },
14195
- {
14196
- "kind": "method",
14197
- "name": "handleBlur",
14198
- "privacy": "private"
14199
- },
14200
- {
14201
- "kind": "method",
14202
- "name": "handleFocus",
14203
- "privacy": "private"
14204
- },
14205
- {
14206
- "kind": "method",
14207
- "name": "handleThumbDragStart",
14208
- "privacy": "private"
14209
- },
14210
- {
14211
- "kind": "method",
14212
- "name": "handleThumbDragEnd",
14213
- "privacy": "private"
14073
+ "description": "A function that customizes the symbol to be rendered. The first and only argument is the rating's current value.\nThe function should return a string containing trusted HTML of the symbol to render at the specified value. Works\nwell with `<p-icon>` elements.",
14074
+ "attribute": "getSymbol"
14214
14075
  },
14215
14076
  {
14216
14077
  "kind": "method",
14217
- "name": "syncProgress",
14078
+ "name": "getValueFromMousePosition",
14218
14079
  "privacy": "private",
14219
14080
  "parameters": [
14220
14081
  {
14221
- "name": "percent",
14082
+ "name": "event",
14222
14083
  "type": {
14223
- "text": "number"
14084
+ "text": "MouseEvent"
14224
14085
  }
14225
14086
  }
14226
14087
  ]
14227
14088
  },
14228
14089
  {
14229
14090
  "kind": "method",
14230
- "name": "syncTooltip",
14091
+ "name": "getValueFromTouchPosition",
14231
14092
  "privacy": "private",
14232
14093
  "parameters": [
14233
14094
  {
14234
- "name": "percent",
14095
+ "name": "event",
14096
+ "type": {
14097
+ "text": "TouchEvent"
14098
+ }
14099
+ }
14100
+ ]
14101
+ },
14102
+ {
14103
+ "kind": "method",
14104
+ "name": "getValueFromXCoordinate",
14105
+ "privacy": "private",
14106
+ "parameters": [
14107
+ {
14108
+ "name": "coordinate",
14235
14109
  "type": {
14236
14110
  "text": "number"
14237
14111
  }
@@ -14240,446 +14114,580 @@
14240
14114
  },
14241
14115
  {
14242
14116
  "kind": "method",
14243
- "name": "handleValueChange"
14117
+ "name": "handleClick",
14118
+ "privacy": "private",
14119
+ "parameters": [
14120
+ {
14121
+ "name": "event",
14122
+ "type": {
14123
+ "text": "MouseEvent"
14124
+ }
14125
+ }
14126
+ ]
14244
14127
  },
14245
14128
  {
14246
14129
  "kind": "method",
14247
- "name": "handleDisabledChange"
14130
+ "name": "setValue",
14131
+ "privacy": "private",
14132
+ "parameters": [
14133
+ {
14134
+ "name": "newValue",
14135
+ "type": {
14136
+ "text": "number"
14137
+ }
14138
+ }
14139
+ ]
14248
14140
  },
14249
14141
  {
14250
14142
  "kind": "method",
14251
- "name": "syncRange"
14143
+ "name": "handleKeyDown",
14144
+ "privacy": "private",
14145
+ "parameters": [
14146
+ {
14147
+ "name": "event",
14148
+ "type": {
14149
+ "text": "KeyboardEvent"
14150
+ }
14151
+ }
14152
+ ]
14252
14153
  },
14253
14154
  {
14254
14155
  "kind": "method",
14255
- "name": "handleInvalid",
14156
+ "name": "handleMouseEnter",
14256
14157
  "privacy": "private",
14257
14158
  "parameters": [
14258
14159
  {
14259
14160
  "name": "event",
14260
14161
  "type": {
14261
- "text": "Event"
14162
+ "text": "MouseEvent"
14262
14163
  }
14263
14164
  }
14264
14165
  ]
14265
14166
  },
14266
14167
  {
14267
14168
  "kind": "method",
14268
- "name": "focus",
14169
+ "name": "handleMouseMove",
14170
+ "privacy": "private",
14269
14171
  "parameters": [
14270
14172
  {
14271
- "name": "options",
14272
- "optional": true,
14173
+ "name": "event",
14273
14174
  "type": {
14274
- "text": "FocusOptions"
14175
+ "text": "MouseEvent"
14275
14176
  }
14276
14177
  }
14277
- ],
14278
- "description": "Sets focus on the range."
14178
+ ]
14279
14179
  },
14280
14180
  {
14281
14181
  "kind": "method",
14282
- "name": "blur",
14283
- "description": "Removes focus from the range."
14182
+ "name": "handleMouseLeave",
14183
+ "privacy": "private"
14284
14184
  },
14285
14185
  {
14286
14186
  "kind": "method",
14287
- "name": "stepUp",
14288
- "description": "Increments the value of the range by the value of the step attribute."
14187
+ "name": "handleTouchStart",
14188
+ "privacy": "private",
14189
+ "parameters": [
14190
+ {
14191
+ "name": "event",
14192
+ "type": {
14193
+ "text": "TouchEvent"
14194
+ }
14195
+ }
14196
+ ]
14289
14197
  },
14290
14198
  {
14291
14199
  "kind": "method",
14292
- "name": "stepDown",
14293
- "description": "Decrements the value of the range by the value of the step attribute."
14200
+ "name": "handleTouchMove",
14201
+ "privacy": "private",
14202
+ "parameters": [
14203
+ {
14204
+ "name": "event",
14205
+ "type": {
14206
+ "text": "TouchEvent"
14207
+ }
14208
+ }
14209
+ ]
14294
14210
  },
14295
14211
  {
14296
14212
  "kind": "method",
14297
- "name": "checkValidity",
14298
- "description": "Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
14213
+ "name": "handleTouchEnd",
14214
+ "privacy": "private",
14215
+ "parameters": [
14216
+ {
14217
+ "name": "event",
14218
+ "type": {
14219
+ "text": "TouchEvent"
14220
+ }
14221
+ }
14222
+ ]
14299
14223
  },
14300
14224
  {
14301
14225
  "kind": "method",
14302
- "name": "getForm",
14303
- "return": {
14304
- "type": {
14305
- "text": "HTMLFormElement | null"
14226
+ "name": "roundToPrecision",
14227
+ "privacy": "private",
14228
+ "parameters": [
14229
+ {
14230
+ "name": "numberToRound",
14231
+ "type": {
14232
+ "text": "number"
14233
+ }
14234
+ },
14235
+ {
14236
+ "name": "precision",
14237
+ "default": "0.5"
14306
14238
  }
14307
- },
14308
- "description": "Gets the associated form, if one exists."
14239
+ ]
14309
14240
  },
14310
14241
  {
14311
14242
  "kind": "method",
14312
- "name": "reportValidity",
14313
- "description": "Checks for validity and shows the browser's validation message if the control is invalid."
14243
+ "name": "handleHoverValueChange"
14314
14244
  },
14315
14245
  {
14316
14246
  "kind": "method",
14317
- "name": "setCustomValidity",
14247
+ "name": "handleIsHoveringChange"
14248
+ },
14249
+ {
14250
+ "kind": "method",
14251
+ "name": "focus",
14318
14252
  "parameters": [
14319
14253
  {
14320
- "name": "message",
14254
+ "name": "options",
14255
+ "optional": true,
14321
14256
  "type": {
14322
- "text": "string"
14257
+ "text": "FocusOptions"
14323
14258
  }
14324
14259
  }
14325
14260
  ],
14326
- "description": "Sets a custom validation message. Pass an empty string to restore validity."
14261
+ "description": "Sets focus on the rating."
14262
+ },
14263
+ {
14264
+ "kind": "method",
14265
+ "name": "blur",
14266
+ "description": "Removes focus from the rating."
14327
14267
  }
14328
14268
  ],
14329
14269
  "events": [
14330
14270
  {
14331
- "description": "Emitted when the control loses focus.",
14332
- "name": "p-blur",
14333
- "reactName": "onPBlur",
14334
- "eventName": "PBlurEvent"
14335
- },
14336
- {
14337
- "description": "Emitted when an alteration to the control's value is committed by the user.",
14271
+ "description": "Emitted when the rating's value changes.",
14338
14272
  "name": "p-change",
14339
14273
  "reactName": "onPChange",
14340
14274
  "eventName": "PChangeEvent"
14341
14275
  },
14342
14276
  {
14343
- "description": "Emitted when the control gains focus.",
14344
- "name": "p-focus",
14345
- "reactName": "onPFocus",
14346
- "eventName": "PFocusEvent"
14277
+ "type": {
14278
+ "text": "{ phase: 'start' | 'move' | 'end', value: number }"
14279
+ },
14280
+ "description": "Emitted when the user hovers over a value. The `phase` property indicates when hovering starts, moves to a new value, or ends. The `value` property tells what the rating's value would be if the user were to commit to the hovered value.",
14281
+ "name": "p-hover",
14282
+ "reactName": "onPHover",
14283
+ "eventName": "PHoverEvent"
14284
+ }
14285
+ ],
14286
+ "attributes": [
14287
+ {
14288
+ "name": "label",
14289
+ "type": {
14290
+ "text": "string"
14291
+ },
14292
+ "default": "\"\"",
14293
+ "description": "A label that describes the rating to assistive devices.",
14294
+ "fieldName": "label"
14347
14295
  },
14348
14296
  {
14349
- "description": "Emitted when the control receives input.",
14350
- "name": "p-input",
14351
- "reactName": "onPInput",
14352
- "eventName": "PInputEvent"
14297
+ "name": "value",
14298
+ "type": {
14299
+ "text": "number"
14300
+ },
14301
+ "default": "0",
14302
+ "description": "The current rating.",
14303
+ "fieldName": "value"
14304
+ },
14305
+ {
14306
+ "name": "max",
14307
+ "type": {
14308
+ "text": "number"
14309
+ },
14310
+ "default": "5",
14311
+ "description": "The highest rating to show.",
14312
+ "fieldName": "max"
14313
+ },
14314
+ {
14315
+ "name": "precision",
14316
+ "type": {
14317
+ "text": "number"
14318
+ },
14319
+ "default": "1",
14320
+ "description": "The precision at which the rating will increase and decrease. For example, to allow half-star ratings, set this\nattribute to `0.5`.",
14321
+ "fieldName": "precision"
14322
+ },
14323
+ {
14324
+ "name": "readonly",
14325
+ "type": {
14326
+ "text": "boolean"
14327
+ },
14328
+ "default": "false",
14329
+ "description": "Makes the rating readonly.",
14330
+ "fieldName": "readonly"
14331
+ },
14332
+ {
14333
+ "name": "disabled",
14334
+ "type": {
14335
+ "text": "boolean"
14336
+ },
14337
+ "default": "false",
14338
+ "description": "Disables the rating.",
14339
+ "fieldName": "disabled"
14340
+ },
14341
+ {
14342
+ "name": "getSymbol",
14343
+ "type": {
14344
+ "text": "(value: number) => string"
14345
+ },
14346
+ "description": "A function that customizes the symbol to be rendered. The first and only argument is the rating's current value.\nThe function should return a string containing trusted HTML of the symbol to render at the specified value. Works\nwell with `<p-icon>` elements.",
14347
+ "fieldName": "getSymbol"
14348
+ }
14349
+ ],
14350
+ "superclass": {
14351
+ "name": "PureElement",
14352
+ "module": "/src/internal/pure-ui-element.js"
14353
+ },
14354
+ "summary": "Ratings give users a way to quickly view and provide feedback.",
14355
+ "tagNameWithoutPrefix": "rating",
14356
+ "tagName": "p-rating",
14357
+ "customElement": true,
14358
+ "jsDoc": "/**\n * @summary Ratings give users a way to quickly view and provide feedback.\n * @documentation https://pureui.xyz/components/rating\n * @status stable\n * @since 1.0\n *\n * @dependency p-icon\n *\n * @event p-change - Emitted when the rating's value changes.\n * @event {{ phase: 'start' | 'move' | 'end', value: number }} p-hover - Emitted when the user hovers over a value. The\n * `phase` property indicates when hovering starts, moves to a new value, or ends. The `value` property tells what the\n * rating's value would be if the user were to commit to the hovered value.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --symbol-color - The inactive color for symbols.\n * @cssproperty --symbol-color-active - The active color for symbols.\n * @cssproperty --symbol-size - The size of symbols.\n * @cssproperty --symbol-spacing - The spacing to use around symbols.\n */",
14359
+ "documentation": "https://pureui.xyz/components/rating",
14360
+ "status": "stable",
14361
+ "since": "1.0",
14362
+ "dependencies": [
14363
+ "p-icon"
14364
+ ]
14365
+ }
14366
+ ],
14367
+ "exports": [
14368
+ {
14369
+ "kind": "js",
14370
+ "name": "default",
14371
+ "declaration": {
14372
+ "name": "PRating",
14373
+ "module": "components/rating/rating.js"
14374
+ }
14375
+ }
14376
+ ]
14377
+ },
14378
+ {
14379
+ "kind": "javascript-module",
14380
+ "path": "components/range/range.js",
14381
+ "declarations": [
14382
+ {
14383
+ "kind": "class",
14384
+ "description": "",
14385
+ "name": "PRange",
14386
+ "cssProperties": [
14387
+ {
14388
+ "description": "The size of the thumb.",
14389
+ "name": "--thumb-size"
14390
+ },
14391
+ {
14392
+ "description": "The vertical distance the tooltip is offset from the track.",
14393
+ "name": "--tooltip-offset"
14394
+ },
14395
+ {
14396
+ "description": "The color of the portion of the track that represents the current value.",
14397
+ "name": "--track-color-active"
14398
+ },
14399
+ {
14400
+ "description": "The of the portion of the track that represents the remaining value.",
14401
+ "name": "--track-color-inactive"
14402
+ },
14403
+ {
14404
+ "description": "The height of the track.",
14405
+ "name": "--track-height"
14406
+ },
14407
+ {
14408
+ "description": "The point of origin of the active track.",
14409
+ "name": "--track-active-offset"
14410
+ }
14411
+ ],
14412
+ "cssParts": [
14413
+ {
14414
+ "description": "The form control that wraps the label, input, and help text.",
14415
+ "name": "form-control"
14416
+ },
14417
+ {
14418
+ "description": "The label's wrapper.",
14419
+ "name": "form-control-label"
14420
+ },
14421
+ {
14422
+ "description": "The range's wrapper.",
14423
+ "name": "form-control-input"
14424
+ },
14425
+ {
14426
+ "description": "The help text's wrapper.",
14427
+ "name": "form-control-help-text"
14428
+ },
14429
+ {
14430
+ "description": "The component's base wrapper.",
14431
+ "name": "base"
14432
+ },
14433
+ {
14434
+ "description": "The internal `<input>` element.",
14435
+ "name": "input"
14436
+ },
14437
+ {
14438
+ "description": "The range's tooltip.",
14439
+ "name": "tooltip"
14440
+ }
14441
+ ],
14442
+ "slots": [
14443
+ {
14444
+ "description": "The range's label. Alternatively, you can use the `label` attribute.",
14445
+ "name": "label"
14446
+ },
14447
+ {
14448
+ "description": "Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
14449
+ "name": "help-text"
14450
+ }
14451
+ ],
14452
+ "members": [
14453
+ {
14454
+ "kind": "field",
14455
+ "name": "formControlController",
14456
+ "privacy": "private",
14457
+ "readonly": true,
14458
+ "default": "new FormControlController(this)"
14459
+ },
14460
+ {
14461
+ "kind": "field",
14462
+ "name": "hasSlotController",
14463
+ "privacy": "private",
14464
+ "readonly": true,
14465
+ "default": "new HasSlotController(this, \"help-text\", \"label\")"
14466
+ },
14467
+ {
14468
+ "kind": "field",
14469
+ "name": "localize",
14470
+ "privacy": "private",
14471
+ "readonly": true,
14472
+ "default": "new LocalizeController(this)"
14473
+ },
14474
+ {
14475
+ "kind": "field",
14476
+ "name": "resizeObserver",
14477
+ "type": {
14478
+ "text": "ResizeObserver"
14479
+ },
14480
+ "privacy": "private"
14481
+ },
14482
+ {
14483
+ "kind": "field",
14484
+ "name": "input",
14485
+ "type": {
14486
+ "text": "HTMLInputElement"
14487
+ }
14488
+ },
14489
+ {
14490
+ "kind": "field",
14491
+ "name": "output",
14492
+ "type": {
14493
+ "text": "HTMLOutputElement | null"
14494
+ }
14495
+ },
14496
+ {
14497
+ "kind": "field",
14498
+ "name": "hasFocus",
14499
+ "type": {
14500
+ "text": "boolean"
14501
+ },
14502
+ "privacy": "private",
14503
+ "default": "false"
14504
+ },
14505
+ {
14506
+ "kind": "field",
14507
+ "name": "hasTooltip",
14508
+ "type": {
14509
+ "text": "boolean"
14510
+ },
14511
+ "privacy": "private",
14512
+ "default": "false"
14353
14513
  },
14354
14514
  {
14355
- "description": "Emitted when the form control has been checked for validity and its constraints aren't satisfied.",
14356
- "name": "p-invalid",
14357
- "reactName": "onPInvalid",
14358
- "eventName": "PInvalidEvent"
14359
- }
14360
- ],
14361
- "attributes": [
14362
- {
14515
+ "kind": "field",
14363
14516
  "name": "title",
14364
14517
  "type": {
14365
14518
  "text": "string"
14366
14519
  },
14367
14520
  "default": "\"\"",
14368
- "fieldName": "title"
14521
+ "attribute": "title"
14369
14522
  },
14370
14523
  {
14524
+ "kind": "field",
14371
14525
  "name": "name",
14372
14526
  "type": {
14373
14527
  "text": "string"
14374
14528
  },
14375
14529
  "default": "\"\"",
14376
14530
  "description": "The name of the range, submitted as a name/value pair with form data.",
14377
- "fieldName": "name"
14531
+ "attribute": "name"
14378
14532
  },
14379
14533
  {
14534
+ "kind": "field",
14380
14535
  "name": "value",
14381
14536
  "type": {
14382
14537
  "text": "number"
14383
14538
  },
14384
14539
  "default": "0",
14385
14540
  "description": "The current value of the range, submitted as a name/value pair with form data.",
14386
- "fieldName": "value"
14541
+ "attribute": "value"
14387
14542
  },
14388
14543
  {
14544
+ "kind": "field",
14389
14545
  "name": "label",
14390
14546
  "type": {
14391
14547
  "text": "string"
14392
14548
  },
14393
14549
  "default": "\"\"",
14394
14550
  "description": "The range's label. If you need to display HTML, use the `label` slot instead.",
14395
- "fieldName": "label"
14551
+ "attribute": "label"
14396
14552
  },
14397
14553
  {
14398
- "name": "help-text",
14554
+ "kind": "field",
14555
+ "name": "helpText",
14399
14556
  "type": {
14400
14557
  "text": "string"
14401
14558
  },
14402
14559
  "default": "\"\"",
14403
14560
  "description": "The range's help text. If you need to display HTML, use the help-text slot instead.",
14404
- "fieldName": "helpText"
14561
+ "attribute": "help-text"
14405
14562
  },
14406
14563
  {
14564
+ "kind": "field",
14407
14565
  "name": "disabled",
14408
14566
  "type": {
14409
14567
  "text": "boolean"
14410
14568
  },
14411
14569
  "default": "false",
14412
14570
  "description": "Disables the range.",
14413
- "fieldName": "disabled"
14571
+ "attribute": "disabled",
14572
+ "reflects": true
14414
14573
  },
14415
14574
  {
14575
+ "kind": "field",
14416
14576
  "name": "min",
14417
14577
  "type": {
14418
14578
  "text": "number"
14419
14579
  },
14420
14580
  "default": "0",
14421
14581
  "description": "The minimum acceptable value of the range.",
14422
- "fieldName": "min"
14582
+ "attribute": "min"
14423
14583
  },
14424
14584
  {
14585
+ "kind": "field",
14425
14586
  "name": "max",
14426
14587
  "type": {
14427
14588
  "text": "number"
14428
14589
  },
14429
14590
  "default": "100",
14430
14591
  "description": "The maximum acceptable value of the range.",
14431
- "fieldName": "max"
14592
+ "attribute": "max"
14432
14593
  },
14433
14594
  {
14595
+ "kind": "field",
14434
14596
  "name": "step",
14435
14597
  "type": {
14436
14598
  "text": "number"
14437
14599
  },
14438
14600
  "default": "1",
14439
14601
  "description": "The interval at which the range will increase and decrease.",
14440
- "fieldName": "step"
14602
+ "attribute": "step"
14441
14603
  },
14442
14604
  {
14605
+ "kind": "field",
14443
14606
  "name": "tooltip",
14444
14607
  "type": {
14445
14608
  "text": "\"top\" | \"bottom\" | \"none\""
14446
14609
  },
14447
14610
  "default": "\"top\"",
14448
14611
  "description": "The preferred placement of the range's tooltip.",
14449
- "fieldName": "tooltip"
14450
- },
14451
- {
14452
- "name": "form",
14453
- "type": {
14454
- "text": "string"
14455
- },
14456
- "default": "\"\"",
14457
- "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
14458
- "fieldName": "form"
14459
- }
14460
- ],
14461
- "superclass": {
14462
- "name": "PureElement",
14463
- "module": "/src/internal/pure-ui-element.js"
14464
- },
14465
- "summary": "Ranges allow the user to select a single value within a given range using a slider.",
14466
- "tagNameWithoutPrefix": "range",
14467
- "tagName": "p-range",
14468
- "customElement": true,
14469
- "jsDoc": "/**\n * @summary Ranges allow the user to select a single value within a given range using a slider.\n * @documentation https://pureui.xyz/components/range\n * @status stable\n * @since 1.0\n *\n * @slot label - The range's label. Alternatively, you can use the `label` attribute.\n * @slot help-text - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n *\n * @event p-blur - Emitted when the control loses focus.\n * @event p-change - Emitted when an alteration to the control's value is committed by the user.\n * @event p-focus - Emitted when the control gains focus.\n * @event p-input - Emitted when the control receives input.\n * @event p-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n *\n * @csspart form-control - The form control that wraps the label, input, and help text.\n * @csspart form-control-label - The label's wrapper.\n * @csspart form-control-input - The range's wrapper.\n * @csspart form-control-help-text - The help text's wrapper.\n * @csspart base - The component's base wrapper.\n * @csspart input - The internal `<input>` element.\n * @csspart tooltip - The range's tooltip.\n *\n * @cssproperty --thumb-size - The size of the thumb.\n * @cssproperty --tooltip-offset - The vertical distance the tooltip is offset from the track.\n * @cssproperty --track-color-active - The color of the portion of the track that represents the current value.\n * @cssproperty --track-color-inactive - The of the portion of the track that represents the remaining value.\n * @cssproperty --track-height - The height of the track.\n * @cssproperty --track-active-offset - The point of origin of the active track.\n */",
14470
- "documentation": "https://pureui.xyz/components/range",
14471
- "status": "stable",
14472
- "since": "1.0"
14473
- }
14474
- ],
14475
- "exports": [
14476
- {
14477
- "kind": "js",
14478
- "name": "default",
14479
- "declaration": {
14480
- "name": "PRange",
14481
- "module": "components/range/range.js"
14482
- }
14483
- }
14484
- ]
14485
- },
14486
- {
14487
- "kind": "javascript-module",
14488
- "path": "components/rating/rating.js",
14489
- "declarations": [
14490
- {
14491
- "kind": "class",
14492
- "description": "",
14493
- "name": "PRating",
14494
- "cssProperties": [
14495
- {
14496
- "description": "The inactive color for symbols.",
14497
- "name": "--symbol-color"
14498
- },
14499
- {
14500
- "description": "The active color for symbols.",
14501
- "name": "--symbol-color-active"
14502
- },
14503
- {
14504
- "description": "The size of symbols.",
14505
- "name": "--symbol-size"
14506
- },
14507
- {
14508
- "description": "The spacing to use around symbols.",
14509
- "name": "--symbol-spacing"
14510
- }
14511
- ],
14512
- "cssParts": [
14513
- {
14514
- "description": "The component's base wrapper.",
14515
- "name": "base"
14516
- }
14517
- ],
14518
- "members": [
14519
- {
14520
- "kind": "field",
14521
- "name": "dependencies",
14522
- "type": {
14523
- "text": "object"
14524
- },
14525
- "static": true,
14526
- "default": "{ \"p-icon\": PIcon }"
14527
- },
14528
- {
14529
- "kind": "field",
14530
- "name": "rating",
14531
- "type": {
14532
- "text": "HTMLElement"
14533
- }
14534
- },
14535
- {
14536
- "kind": "field",
14537
- "name": "hoverValue",
14538
- "type": {
14539
- "text": "number"
14540
- },
14541
- "privacy": "private",
14542
- "default": "0"
14612
+ "attribute": "tooltip"
14543
14613
  },
14544
14614
  {
14545
14615
  "kind": "field",
14546
- "name": "isHovering",
14616
+ "name": "tooltipFormatter",
14547
14617
  "type": {
14548
- "text": "boolean"
14618
+ "text": "(value: number) => string"
14549
14619
  },
14550
- "privacy": "private",
14551
- "default": "false"
14620
+ "description": "A function used to format the tooltip's value. The range's value is passed as the first and only argument. The\nfunction should return a string to display in the tooltip."
14552
14621
  },
14553
14622
  {
14554
14623
  "kind": "field",
14555
- "name": "label",
14624
+ "name": "form",
14556
14625
  "type": {
14557
14626
  "text": "string"
14558
14627
  },
14559
14628
  "default": "\"\"",
14560
- "description": "A label that describes the rating to assistive devices.",
14561
- "attribute": "label"
14629
+ "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
14630
+ "attribute": "form",
14631
+ "reflects": true
14562
14632
  },
14563
14633
  {
14564
14634
  "kind": "field",
14565
- "name": "value",
14635
+ "name": "defaultValue",
14566
14636
  "type": {
14567
14637
  "text": "number"
14568
14638
  },
14569
14639
  "default": "0",
14570
- "description": "The current rating.",
14571
- "attribute": "value"
14572
- },
14573
- {
14574
- "kind": "field",
14575
- "name": "max",
14576
- "type": {
14577
- "text": "number"
14578
- },
14579
- "default": "5",
14580
- "description": "The highest rating to show.",
14581
- "attribute": "max"
14582
- },
14583
- {
14584
- "kind": "field",
14585
- "name": "precision",
14586
- "type": {
14587
- "text": "number"
14588
- },
14589
- "default": "1",
14590
- "description": "The precision at which the rating will increase and decrease. For example, to allow half-star ratings, set this\nattribute to `0.5`.",
14591
- "attribute": "precision"
14640
+ "description": "The default value of the form control. Primarily used for resetting the form control."
14592
14641
  },
14593
14642
  {
14594
14643
  "kind": "field",
14595
- "name": "readonly",
14596
- "type": {
14597
- "text": "boolean"
14598
- },
14599
- "default": "false",
14600
- "description": "Makes the rating readonly.",
14601
- "attribute": "readonly",
14602
- "reflects": true
14644
+ "name": "validity",
14645
+ "description": "Gets the validity state object",
14646
+ "readonly": true
14603
14647
  },
14604
14648
  {
14605
14649
  "kind": "field",
14606
- "name": "disabled",
14607
- "type": {
14608
- "text": "boolean"
14609
- },
14610
- "default": "false",
14611
- "description": "Disables the rating.",
14612
- "attribute": "disabled",
14613
- "reflects": true
14650
+ "name": "validationMessage",
14651
+ "description": "Gets the validation message",
14652
+ "readonly": true
14614
14653
  },
14615
14654
  {
14616
- "kind": "field",
14617
- "name": "getSymbol",
14618
- "type": {
14619
- "text": "(value: number) => string"
14620
- },
14621
- "description": "A function that customizes the symbol to be rendered. The first and only argument is the rating's current value.\nThe function should return a string containing trusted HTML of the symbol to render at the specified value. Works\nwell with `<p-icon>` elements.",
14622
- "attribute": "getSymbol"
14655
+ "kind": "method",
14656
+ "name": "handleChange",
14657
+ "privacy": "private"
14623
14658
  },
14624
14659
  {
14625
14660
  "kind": "method",
14626
- "name": "getValueFromMousePosition",
14627
- "privacy": "private",
14628
- "parameters": [
14629
- {
14630
- "name": "event",
14631
- "type": {
14632
- "text": "MouseEvent"
14633
- }
14634
- }
14635
- ]
14661
+ "name": "handleInput",
14662
+ "privacy": "private"
14636
14663
  },
14637
14664
  {
14638
14665
  "kind": "method",
14639
- "name": "getValueFromTouchPosition",
14640
- "privacy": "private",
14641
- "parameters": [
14642
- {
14643
- "name": "event",
14644
- "type": {
14645
- "text": "TouchEvent"
14646
- }
14647
- }
14648
- ]
14666
+ "name": "handleBlur",
14667
+ "privacy": "private"
14649
14668
  },
14650
14669
  {
14651
14670
  "kind": "method",
14652
- "name": "getValueFromXCoordinate",
14653
- "privacy": "private",
14654
- "parameters": [
14655
- {
14656
- "name": "coordinate",
14657
- "type": {
14658
- "text": "number"
14659
- }
14660
- }
14661
- ]
14671
+ "name": "handleFocus",
14672
+ "privacy": "private"
14662
14673
  },
14663
14674
  {
14664
14675
  "kind": "method",
14665
- "name": "handleClick",
14666
- "privacy": "private",
14667
- "parameters": [
14668
- {
14669
- "name": "event",
14670
- "type": {
14671
- "text": "MouseEvent"
14672
- }
14673
- }
14674
- ]
14676
+ "name": "handleThumbDragStart",
14677
+ "privacy": "private"
14675
14678
  },
14676
14679
  {
14677
14680
  "kind": "method",
14678
- "name": "setValue",
14681
+ "name": "handleThumbDragEnd",
14682
+ "privacy": "private"
14683
+ },
14684
+ {
14685
+ "kind": "method",
14686
+ "name": "syncProgress",
14679
14687
  "privacy": "private",
14680
14688
  "parameters": [
14681
14689
  {
14682
- "name": "newValue",
14690
+ "name": "percent",
14683
14691
  "type": {
14684
14692
  "text": "number"
14685
14693
  }
@@ -14688,158 +14696,154 @@
14688
14696
  },
14689
14697
  {
14690
14698
  "kind": "method",
14691
- "name": "handleKeyDown",
14699
+ "name": "syncTooltip",
14692
14700
  "privacy": "private",
14693
14701
  "parameters": [
14694
14702
  {
14695
- "name": "event",
14703
+ "name": "percent",
14696
14704
  "type": {
14697
- "text": "KeyboardEvent"
14705
+ "text": "number"
14698
14706
  }
14699
14707
  }
14700
14708
  ]
14701
14709
  },
14702
14710
  {
14703
14711
  "kind": "method",
14704
- "name": "handleMouseEnter",
14705
- "privacy": "private",
14706
- "parameters": [
14707
- {
14708
- "name": "event",
14709
- "type": {
14710
- "text": "MouseEvent"
14711
- }
14712
- }
14713
- ]
14712
+ "name": "handleValueChange"
14714
14713
  },
14715
14714
  {
14716
14715
  "kind": "method",
14717
- "name": "handleMouseMove",
14718
- "privacy": "private",
14719
- "parameters": [
14720
- {
14721
- "name": "event",
14722
- "type": {
14723
- "text": "MouseEvent"
14724
- }
14725
- }
14726
- ]
14716
+ "name": "handleDisabledChange"
14727
14717
  },
14728
14718
  {
14729
14719
  "kind": "method",
14730
- "name": "handleMouseLeave",
14731
- "privacy": "private"
14720
+ "name": "syncRange"
14732
14721
  },
14733
14722
  {
14734
14723
  "kind": "method",
14735
- "name": "handleTouchStart",
14724
+ "name": "handleInvalid",
14736
14725
  "privacy": "private",
14737
14726
  "parameters": [
14738
14727
  {
14739
14728
  "name": "event",
14740
14729
  "type": {
14741
- "text": "TouchEvent"
14730
+ "text": "Event"
14742
14731
  }
14743
14732
  }
14744
14733
  ]
14745
14734
  },
14746
14735
  {
14747
14736
  "kind": "method",
14748
- "name": "handleTouchMove",
14749
- "privacy": "private",
14737
+ "name": "focus",
14750
14738
  "parameters": [
14751
14739
  {
14752
- "name": "event",
14740
+ "name": "options",
14741
+ "optional": true,
14753
14742
  "type": {
14754
- "text": "TouchEvent"
14743
+ "text": "FocusOptions"
14755
14744
  }
14756
14745
  }
14757
- ]
14746
+ ],
14747
+ "description": "Sets focus on the range."
14758
14748
  },
14759
14749
  {
14760
14750
  "kind": "method",
14761
- "name": "handleTouchEnd",
14762
- "privacy": "private",
14763
- "parameters": [
14764
- {
14765
- "name": "event",
14766
- "type": {
14767
- "text": "TouchEvent"
14768
- }
14769
- }
14770
- ]
14751
+ "name": "blur",
14752
+ "description": "Removes focus from the range."
14771
14753
  },
14772
14754
  {
14773
14755
  "kind": "method",
14774
- "name": "roundToPrecision",
14775
- "privacy": "private",
14776
- "parameters": [
14777
- {
14778
- "name": "numberToRound",
14779
- "type": {
14780
- "text": "number"
14781
- }
14782
- },
14783
- {
14784
- "name": "precision",
14785
- "default": "0.5"
14786
- }
14787
- ]
14756
+ "name": "stepUp",
14757
+ "description": "Increments the value of the range by the value of the step attribute."
14788
14758
  },
14789
14759
  {
14790
14760
  "kind": "method",
14791
- "name": "handleHoverValueChange"
14761
+ "name": "stepDown",
14762
+ "description": "Decrements the value of the range by the value of the step attribute."
14792
14763
  },
14793
14764
  {
14794
14765
  "kind": "method",
14795
- "name": "handleIsHoveringChange"
14766
+ "name": "checkValidity",
14767
+ "description": "Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
14796
14768
  },
14797
14769
  {
14798
14770
  "kind": "method",
14799
- "name": "focus",
14771
+ "name": "getForm",
14772
+ "return": {
14773
+ "type": {
14774
+ "text": "HTMLFormElement | null"
14775
+ }
14776
+ },
14777
+ "description": "Gets the associated form, if one exists."
14778
+ },
14779
+ {
14780
+ "kind": "method",
14781
+ "name": "reportValidity",
14782
+ "description": "Checks for validity and shows the browser's validation message if the control is invalid."
14783
+ },
14784
+ {
14785
+ "kind": "method",
14786
+ "name": "setCustomValidity",
14800
14787
  "parameters": [
14801
14788
  {
14802
- "name": "options",
14803
- "optional": true,
14789
+ "name": "message",
14804
14790
  "type": {
14805
- "text": "FocusOptions"
14791
+ "text": "string"
14806
14792
  }
14807
14793
  }
14808
14794
  ],
14809
- "description": "Sets focus on the rating."
14810
- },
14811
- {
14812
- "kind": "method",
14813
- "name": "blur",
14814
- "description": "Removes focus from the rating."
14795
+ "description": "Sets a custom validation message. Pass an empty string to restore validity."
14815
14796
  }
14816
14797
  ],
14817
14798
  "events": [
14818
14799
  {
14819
- "description": "Emitted when the rating's value changes.",
14800
+ "description": "Emitted when the control loses focus.",
14801
+ "name": "p-blur",
14802
+ "reactName": "onPBlur",
14803
+ "eventName": "PBlurEvent"
14804
+ },
14805
+ {
14806
+ "description": "Emitted when an alteration to the control's value is committed by the user.",
14820
14807
  "name": "p-change",
14821
14808
  "reactName": "onPChange",
14822
14809
  "eventName": "PChangeEvent"
14823
14810
  },
14824
14811
  {
14825
- "type": {
14826
- "text": "{ phase: 'start' | 'move' | 'end', value: number }"
14827
- },
14828
- "description": "Emitted when the user hovers over a value. The `phase` property indicates when hovering starts, moves to a new value, or ends. The `value` property tells what the rating's value would be if the user were to commit to the hovered value.",
14829
- "name": "p-hover",
14830
- "reactName": "onPHover",
14831
- "eventName": "PHoverEvent"
14812
+ "description": "Emitted when the control gains focus.",
14813
+ "name": "p-focus",
14814
+ "reactName": "onPFocus",
14815
+ "eventName": "PFocusEvent"
14816
+ },
14817
+ {
14818
+ "description": "Emitted when the control receives input.",
14819
+ "name": "p-input",
14820
+ "reactName": "onPInput",
14821
+ "eventName": "PInputEvent"
14822
+ },
14823
+ {
14824
+ "description": "Emitted when the form control has been checked for validity and its constraints aren't satisfied.",
14825
+ "name": "p-invalid",
14826
+ "reactName": "onPInvalid",
14827
+ "eventName": "PInvalidEvent"
14832
14828
  }
14833
14829
  ],
14834
14830
  "attributes": [
14835
14831
  {
14836
- "name": "label",
14832
+ "name": "title",
14837
14833
  "type": {
14838
14834
  "text": "string"
14839
14835
  },
14840
14836
  "default": "\"\"",
14841
- "description": "A label that describes the rating to assistive devices.",
14842
- "fieldName": "label"
14837
+ "fieldName": "title"
14838
+ },
14839
+ {
14840
+ "name": "name",
14841
+ "type": {
14842
+ "text": "string"
14843
+ },
14844
+ "default": "\"\"",
14845
+ "description": "The name of the range, submitted as a name/value pair with form data.",
14846
+ "fieldName": "name"
14843
14847
  },
14844
14848
  {
14845
14849
  "name": "value",
@@ -14847,69 +14851,94 @@
14847
14851
  "text": "number"
14848
14852
  },
14849
14853
  "default": "0",
14850
- "description": "The current rating.",
14854
+ "description": "The current value of the range, submitted as a name/value pair with form data.",
14851
14855
  "fieldName": "value"
14852
14856
  },
14853
14857
  {
14854
- "name": "max",
14858
+ "name": "label",
14855
14859
  "type": {
14856
- "text": "number"
14860
+ "text": "string"
14857
14861
  },
14858
- "default": "5",
14859
- "description": "The highest rating to show.",
14860
- "fieldName": "max"
14862
+ "default": "\"\"",
14863
+ "description": "The range's label. If you need to display HTML, use the `label` slot instead.",
14864
+ "fieldName": "label"
14861
14865
  },
14862
14866
  {
14863
- "name": "precision",
14867
+ "name": "help-text",
14864
14868
  "type": {
14865
- "text": "number"
14869
+ "text": "string"
14866
14870
  },
14867
- "default": "1",
14868
- "description": "The precision at which the rating will increase and decrease. For example, to allow half-star ratings, set this\nattribute to `0.5`.",
14869
- "fieldName": "precision"
14871
+ "default": "\"\"",
14872
+ "description": "The range's help text. If you need to display HTML, use the help-text slot instead.",
14873
+ "fieldName": "helpText"
14870
14874
  },
14871
14875
  {
14872
- "name": "readonly",
14876
+ "name": "disabled",
14873
14877
  "type": {
14874
14878
  "text": "boolean"
14875
14879
  },
14876
14880
  "default": "false",
14877
- "description": "Makes the rating readonly.",
14878
- "fieldName": "readonly"
14881
+ "description": "Disables the range.",
14882
+ "fieldName": "disabled"
14879
14883
  },
14880
14884
  {
14881
- "name": "disabled",
14885
+ "name": "min",
14882
14886
  "type": {
14883
- "text": "boolean"
14887
+ "text": "number"
14884
14888
  },
14885
- "default": "false",
14886
- "description": "Disables the rating.",
14887
- "fieldName": "disabled"
14889
+ "default": "0",
14890
+ "description": "The minimum acceptable value of the range.",
14891
+ "fieldName": "min"
14888
14892
  },
14889
14893
  {
14890
- "name": "getSymbol",
14894
+ "name": "max",
14891
14895
  "type": {
14892
- "text": "(value: number) => string"
14896
+ "text": "number"
14893
14897
  },
14894
- "description": "A function that customizes the symbol to be rendered. The first and only argument is the rating's current value.\nThe function should return a string containing trusted HTML of the symbol to render at the specified value. Works\nwell with `<p-icon>` elements.",
14895
- "fieldName": "getSymbol"
14898
+ "default": "100",
14899
+ "description": "The maximum acceptable value of the range.",
14900
+ "fieldName": "max"
14901
+ },
14902
+ {
14903
+ "name": "step",
14904
+ "type": {
14905
+ "text": "number"
14906
+ },
14907
+ "default": "1",
14908
+ "description": "The interval at which the range will increase and decrease.",
14909
+ "fieldName": "step"
14910
+ },
14911
+ {
14912
+ "name": "tooltip",
14913
+ "type": {
14914
+ "text": "\"top\" | \"bottom\" | \"none\""
14915
+ },
14916
+ "default": "\"top\"",
14917
+ "description": "The preferred placement of the range's tooltip.",
14918
+ "fieldName": "tooltip"
14919
+ },
14920
+ {
14921
+ "name": "form",
14922
+ "type": {
14923
+ "text": "string"
14924
+ },
14925
+ "default": "\"\"",
14926
+ "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
14927
+ "fieldName": "form"
14896
14928
  }
14897
14929
  ],
14898
14930
  "superclass": {
14899
14931
  "name": "PureElement",
14900
14932
  "module": "/src/internal/pure-ui-element.js"
14901
14933
  },
14902
- "summary": "Ratings give users a way to quickly view and provide feedback.",
14903
- "tagNameWithoutPrefix": "rating",
14904
- "tagName": "p-rating",
14934
+ "summary": "Ranges allow the user to select a single value within a given range using a slider.",
14935
+ "tagNameWithoutPrefix": "range",
14936
+ "tagName": "p-range",
14905
14937
  "customElement": true,
14906
- "jsDoc": "/**\n * @summary Ratings give users a way to quickly view and provide feedback.\n * @documentation https://pureui.xyz/components/rating\n * @status stable\n * @since 1.0\n *\n * @dependency p-icon\n *\n * @event p-change - Emitted when the rating's value changes.\n * @event {{ phase: 'start' | 'move' | 'end', value: number }} p-hover - Emitted when the user hovers over a value. The\n * `phase` property indicates when hovering starts, moves to a new value, or ends. The `value` property tells what the\n * rating's value would be if the user were to commit to the hovered value.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --symbol-color - The inactive color for symbols.\n * @cssproperty --symbol-color-active - The active color for symbols.\n * @cssproperty --symbol-size - The size of symbols.\n * @cssproperty --symbol-spacing - The spacing to use around symbols.\n */",
14907
- "documentation": "https://pureui.xyz/components/rating",
14938
+ "jsDoc": "/**\n * @summary Ranges allow the user to select a single value within a given range using a slider.\n * @documentation https://pureui.xyz/components/range\n * @status stable\n * @since 1.0\n *\n * @slot label - The range's label. Alternatively, you can use the `label` attribute.\n * @slot help-text - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n *\n * @event p-blur - Emitted when the control loses focus.\n * @event p-change - Emitted when an alteration to the control's value is committed by the user.\n * @event p-focus - Emitted when the control gains focus.\n * @event p-input - Emitted when the control receives input.\n * @event p-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n *\n * @csspart form-control - The form control that wraps the label, input, and help text.\n * @csspart form-control-label - The label's wrapper.\n * @csspart form-control-input - The range's wrapper.\n * @csspart form-control-help-text - The help text's wrapper.\n * @csspart base - The component's base wrapper.\n * @csspart input - The internal `<input>` element.\n * @csspart tooltip - The range's tooltip.\n *\n * @cssproperty --thumb-size - The size of the thumb.\n * @cssproperty --tooltip-offset - The vertical distance the tooltip is offset from the track.\n * @cssproperty --track-color-active - The color of the portion of the track that represents the current value.\n * @cssproperty --track-color-inactive - The of the portion of the track that represents the remaining value.\n * @cssproperty --track-height - The height of the track.\n * @cssproperty --track-active-offset - The point of origin of the active track.\n */",
14939
+ "documentation": "https://pureui.xyz/components/range",
14908
14940
  "status": "stable",
14909
- "since": "1.0",
14910
- "dependencies": [
14911
- "p-icon"
14912
- ]
14941
+ "since": "1.0"
14913
14942
  }
14914
14943
  ],
14915
14944
  "exports": [
@@ -14917,8 +14946,8 @@
14917
14946
  "kind": "js",
14918
14947
  "name": "default",
14919
14948
  "declaration": {
14920
- "name": "PRating",
14921
- "module": "components/rating/rating.js"
14949
+ "name": "PRange",
14950
+ "module": "components/range/range.js"
14922
14951
  }
14923
14952
  }
14924
14953
  ]
@@ -20623,7 +20652,7 @@
20623
20652
  "package": {
20624
20653
  "name": "pure-uikit",
20625
20654
  "description": "A forward-thinking library of web components.",
20626
- "version": "1.3.13",
20655
+ "version": "1.3.15",
20627
20656
  "author": "Mr.P",
20628
20657
  "homepage": "https://pureui.xyz",
20629
20658
  "license": "MIT"