@redvars/peacock 3.1.1 → 3.1.3

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 (411) hide show
  1. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/LoaderUtils.d.ts +0 -1
  2. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/LoaderUtils.js +0 -1
  3. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/LoaderUtils.js.map +1 -1
  4. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/avatar/avatar.css.js.map +1 -1
  5. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/avatar/avatar.d.ts +20 -1
  6. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/avatar/avatar.js +20 -1
  7. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/avatar/avatar.js.map +1 -1
  8. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/avatar/p-avatar.d.ts +0 -7
  9. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/avatar/p-avatar.js +0 -7
  10. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/avatar/p-avatar.js.map +1 -1
  11. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/badge/badge.css.js +5 -4
  12. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/badge/badge.css.js.map +1 -1
  13. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/badge/badge.d.ts +16 -2
  14. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/badge/badge.js +28 -11
  15. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/badge/badge.js.map +1 -1
  16. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/badge/p-badge.d.ts +0 -5
  17. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/badge/p-badge.js +0 -5
  18. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/badge/p-badge.js.map +1 -1
  19. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/button/button.d.ts +99 -0
  20. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/button/button.js +292 -0
  21. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/button/button.js.map +1 -0
  22. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/button/index.d.ts +1 -0
  23. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/button/index.js +2 -0
  24. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/button/index.js.map +1 -0
  25. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/clock/ClockController.d.ts +10 -0
  26. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/clock/ClockController.js +22 -0
  27. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/clock/ClockController.js.map +1 -0
  28. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/clock/clock.css.d.ts +1 -0
  29. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/clock/clock.css.js +12 -0
  30. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/clock/clock.css.js.map +1 -0
  31. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/clock/clock.d.ts +25 -0
  32. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/clock/clock.js +41 -0
  33. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/clock/clock.js.map +1 -0
  34. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/clock/index.d.ts +1 -0
  35. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/clock/index.js +2 -0
  36. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/clock/index.js.map +1 -0
  37. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/code-highlighter/code-highlighter.d.ts +26 -0
  38. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/code-highlighter/code-highlighter.js +60 -0
  39. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/code-highlighter/code-highlighter.js.map +1 -0
  40. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/code-highlighter/index.d.ts +1 -0
  41. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/code-highlighter/index.js +2 -0
  42. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/code-highlighter/index.js.map +1 -0
  43. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/code-highlighter/local.d.ts +6 -0
  44. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/code-highlighter/local.js +7 -0
  45. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/code-highlighter/local.js.map +1 -0
  46. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/divider/divider.css.d.ts +1 -0
  47. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/divider/divider.css.js +58 -0
  48. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/divider/divider.css.js.map +1 -0
  49. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/divider/divider.d.ts +27 -0
  50. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/divider/divider.js +61 -0
  51. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/divider/divider.js.map +1 -0
  52. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/divider/index.d.ts +1 -0
  53. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/divider/index.js +2 -0
  54. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/divider/index.js.map +1 -0
  55. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/elevation/elevation.css.d.ts +1 -0
  56. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/elevation/elevation.css.js +47 -0
  57. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/elevation/elevation.css.js.map +1 -0
  58. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/elevation/elevation.d.ts +27 -0
  59. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/elevation/elevation.js +31 -0
  60. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/elevation/elevation.js.map +1 -0
  61. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/elevation/index.d.ts +1 -0
  62. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/elevation/index.js +2 -0
  63. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/elevation/index.js.map +1 -0
  64. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/focus-ring/FocusAttachableController.d.ts +9 -0
  65. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/focus-ring/FocusAttachableController.js +25 -0
  66. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/focus-ring/FocusAttachableController.js.map +1 -0
  67. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/focus-ring/focus-ring.d.ts +35 -0
  68. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/focus-ring/focus-ring.js +81 -0
  69. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/focus-ring/focus-ring.js.map +1 -0
  70. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/focus-ring/index.d.ts +1 -0
  71. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/focus-ring/index.js +2 -0
  72. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/focus-ring/index.js.map +1 -0
  73. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/icon/icon.d.ts +23 -2
  74. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/icon/icon.js +20 -4
  75. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/icon/icon.js.map +1 -1
  76. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/icon/p-icon.d.ts +0 -7
  77. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/icon/p-icon.js +0 -7
  78. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/icon/p-icon.js.map +1 -1
  79. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/index.d.ts +6 -0
  80. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/index.js +6 -0
  81. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/index.js.map +1 -1
  82. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/peacock-loader.js +35 -19
  83. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/peacock-loader.js.map +1 -1
  84. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/ripple/index.d.ts +1 -0
  85. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/ripple/index.js +2 -0
  86. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/ripple/index.js.map +1 -0
  87. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/ripple/ripple.d.ts +9 -0
  88. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/ripple/ripple.js +125 -0
  89. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/ripple/ripple.js.map +1 -0
  90. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/utils.d.ts +5 -0
  91. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/utils.js +54 -1
  92. package/.rollup.cache/E/git/redvars/peacock/components/dist/src/utils.js.map +1 -1
  93. package/.rollup.cache/E/git/redvars/peacock/components/dist/tsconfig.tsbuildinfo +1 -1
  94. package/bin/typedoc-gen.mjs +63 -0
  95. package/custom-elements-manifest.config.mjs +5 -6
  96. package/demo/index.html +45 -42
  97. package/dist/LoaderUtils.d.ts +23 -0
  98. package/dist/LoaderUtils.d.ts.map +1 -0
  99. package/dist/assets/styles/tokens.css +21 -53
  100. package/dist/avatar/avatar.d.ts +28 -0
  101. package/dist/avatar/avatar.d.ts.map +1 -0
  102. package/dist/avatar/index.d.ts +2 -0
  103. package/dist/avatar/index.d.ts.map +1 -0
  104. package/dist/avatar/p-avatar.d.ts +4 -0
  105. package/dist/avatar/p-avatar.d.ts.map +1 -0
  106. package/dist/avatar.js +100 -0
  107. package/dist/avatar.js.map +1 -0
  108. package/dist/badge/badge.d.ts +24 -0
  109. package/dist/badge/badge.d.ts.map +1 -0
  110. package/dist/badge/index.d.ts +2 -0
  111. package/dist/badge/index.d.ts.map +1 -0
  112. package/dist/badge/p-badge.d.ts +4 -0
  113. package/dist/badge/p-badge.d.ts.map +1 -0
  114. package/dist/badge.js +90 -0
  115. package/dist/badge.js.map +1 -0
  116. package/dist/button/button.d.ts +103 -0
  117. package/dist/button/button.d.ts.map +1 -0
  118. package/dist/button/index.d.ts +2 -0
  119. package/dist/button/index.d.ts.map +1 -0
  120. package/dist/button.js +710 -0
  121. package/dist/button.js.map +1 -0
  122. package/dist/class-map-BzIzngvN.js +89 -0
  123. package/dist/class-map-BzIzngvN.js.map +1 -0
  124. package/dist/class-map-CBk4-iMN.js +11 -0
  125. package/dist/class-map-CBk4-iMN.js.map +1 -0
  126. package/dist/class-map-Cavm-B1S.js +11 -0
  127. package/dist/class-map-Cavm-B1S.js.map +1 -0
  128. package/dist/class-map-DL5vM0J2.js +11 -0
  129. package/dist/class-map-DL5vM0J2.js.map +1 -0
  130. package/dist/class-map-DpvLRi0h.js +11 -0
  131. package/dist/class-map-DpvLRi0h.js.map +1 -0
  132. package/dist/class-map-IbP5VjmB.js +11 -0
  133. package/dist/class-map-IbP5VjmB.js.map +1 -0
  134. package/dist/clock/ClockController.d.ts +11 -0
  135. package/dist/clock/ClockController.d.ts.map +1 -0
  136. package/dist/clock/clock.d.ts +26 -0
  137. package/dist/clock/clock.d.ts.map +1 -0
  138. package/dist/clock/index.d.ts +2 -0
  139. package/dist/clock/index.d.ts.map +1 -0
  140. package/dist/clock.js +77 -0
  141. package/dist/clock.js.map +1 -0
  142. package/dist/code-highlighter/code-highlighter.d.ts +27 -0
  143. package/dist/code-highlighter/code-highlighter.d.ts.map +1 -0
  144. package/dist/code-highlighter/index.d.ts +2 -0
  145. package/dist/code-highlighter/index.d.ts.map +1 -0
  146. package/dist/code-highlighter/local.d.ts +7 -0
  147. package/dist/code-highlighter/local.d.ts.map +1 -0
  148. package/dist/code-highlighter.js +66 -0
  149. package/dist/code-highlighter.js.map +1 -0
  150. package/dist/custom-elements-jsdocs.json +1211 -0
  151. package/dist/directive-BKuZRRPO.js +9 -0
  152. package/dist/directive-BKuZRRPO.js.map +1 -0
  153. package/dist/directive-CkFJvUQK.js +45 -0
  154. package/dist/directive-CkFJvUQK.js.map +1 -0
  155. package/dist/divider/divider.d.ts +28 -0
  156. package/dist/divider/divider.d.ts.map +1 -0
  157. package/dist/divider/index.d.ts +2 -0
  158. package/dist/divider/index.d.ts.map +1 -0
  159. package/dist/divider.js +117 -0
  160. package/dist/divider.js.map +1 -0
  161. package/dist/elevation/elevation.d.ts +28 -0
  162. package/dist/elevation/elevation.d.ts.map +1 -0
  163. package/dist/elevation/index.d.ts +2 -0
  164. package/dist/elevation/index.d.ts.map +1 -0
  165. package/dist/elevation-Bl1N6qEq.js +100 -0
  166. package/dist/elevation-Bl1N6qEq.js.map +1 -0
  167. package/dist/elevation-CbF5he8B.js +103 -0
  168. package/dist/elevation-CbF5he8B.js.map +1 -0
  169. package/dist/elevation-D3F6Z1jU.js +100 -0
  170. package/dist/elevation-D3F6Z1jU.js.map +1 -0
  171. package/dist/elevation.js +77 -0
  172. package/dist/elevation.js.map +1 -0
  173. package/dist/focus-ring/FocusAttachableController.d.ts +10 -0
  174. package/dist/focus-ring/FocusAttachableController.d.ts.map +1 -0
  175. package/dist/focus-ring/focus-ring.d.ts +36 -0
  176. package/dist/focus-ring/focus-ring.d.ts.map +1 -0
  177. package/dist/focus-ring/index.d.ts +2 -0
  178. package/dist/focus-ring/index.d.ts.map +1 -0
  179. package/dist/focus-ring.js +105 -0
  180. package/dist/focus-ring.js.map +1 -0
  181. package/dist/icon/datasource.d.ts +3 -0
  182. package/dist/icon/datasource.d.ts.map +1 -0
  183. package/dist/icon/icon.d.ts +42 -0
  184. package/dist/icon/icon.d.ts.map +1 -0
  185. package/dist/icon/index.d.ts +2 -0
  186. package/dist/icon/index.d.ts.map +1 -0
  187. package/dist/icon/p-icon.d.ts +4 -0
  188. package/dist/icon/p-icon.d.ts.map +1 -0
  189. package/dist/{component/icon.js → icon.js} +43 -124
  190. package/dist/icon.js.map +1 -0
  191. package/dist/index.d.ts +9 -0
  192. package/dist/index.d.ts.map +1 -0
  193. package/dist/index.js +15 -67
  194. package/dist/index.js.map +1 -1
  195. package/dist/link/link.css.d.ts +3 -0
  196. package/dist/link/link.css.d.ts.map +1 -0
  197. package/dist/lit-element-B7NX__Gq.js +2851 -0
  198. package/dist/lit-element-B7NX__Gq.js.map +1 -0
  199. package/dist/lit-element-Bq5B2QNv.js +28 -0
  200. package/dist/lit-element-Bq5B2QNv.js.map +1 -0
  201. package/dist/lit-element-CkD27PXL.js +28 -0
  202. package/dist/lit-element-CkD27PXL.js.map +1 -0
  203. package/dist/lit-element-DHH1_Q-3.js +28 -0
  204. package/dist/lit-element-DHH1_Q-3.js.map +1 -0
  205. package/dist/peacock-loader.d.ts +2 -0
  206. package/dist/peacock-loader.d.ts.map +1 -0
  207. package/dist/peacock-loader.js +479 -121
  208. package/dist/peacock-loader.js.map +1 -1
  209. package/dist/property-BXcRN0hQ.js +39 -0
  210. package/dist/property-BXcRN0hQ.js.map +1 -0
  211. package/dist/property-CR1ZrEd9.js +45 -0
  212. package/dist/property-CR1ZrEd9.js.map +1 -0
  213. package/dist/property-CqSbFxyM.js +45 -0
  214. package/dist/property-CqSbFxyM.js.map +1 -0
  215. package/dist/{directive-CKEA2P55.js → property-D4Kn9TsY.js} +6 -13
  216. package/dist/property-D4Kn9TsY.js.map +1 -0
  217. package/dist/property-DNaigT7h.js +39 -0
  218. package/dist/property-DNaigT7h.js.map +1 -0
  219. package/dist/property-yt9tIYgR.js +39 -0
  220. package/dist/property-yt9tIYgR.js.map +1 -0
  221. package/dist/query-CV342L_h.js +189 -0
  222. package/dist/query-CV342L_h.js.map +1 -0
  223. package/dist/ripple-Blc5Rqhb.js +102 -0
  224. package/dist/ripple-Blc5Rqhb.js.map +1 -0
  225. package/dist/ripple-BqTcEQAP.js +102 -0
  226. package/dist/ripple-BqTcEQAP.js.map +1 -0
  227. package/dist/ripple-BqUjb18i.js +105 -0
  228. package/dist/ripple-BqUjb18i.js.map +1 -0
  229. package/dist/ripple-Buzs-MON.js +106 -0
  230. package/dist/ripple-Buzs-MON.js.map +1 -0
  231. package/dist/ripple-Bz5B_LoE.js +102 -0
  232. package/dist/ripple-Bz5B_LoE.js.map +1 -0
  233. package/dist/ripple-CAq7Ix6x.js +106 -0
  234. package/dist/ripple-CAq7Ix6x.js.map +1 -0
  235. package/dist/ripple-CDqSm_Vy.js +106 -0
  236. package/dist/ripple-CDqSm_Vy.js.map +1 -0
  237. package/dist/ripple-CJtPH28B.js +102 -0
  238. package/dist/ripple-CJtPH28B.js.map +1 -0
  239. package/dist/ripple-CKTd8obC.js +92 -0
  240. package/dist/ripple-CKTd8obC.js.map +1 -0
  241. package/dist/ripple-CKnDWTVQ.js +107 -0
  242. package/dist/ripple-CKnDWTVQ.js.map +1 -0
  243. package/dist/ripple-CeR8eLuc.js +93 -0
  244. package/dist/ripple-CeR8eLuc.js.map +1 -0
  245. package/dist/ripple-Czp3eR6w.js +127 -0
  246. package/dist/ripple-Czp3eR6w.js.map +1 -0
  247. package/dist/ripple-DIab1MaY.js +106 -0
  248. package/dist/ripple-DIab1MaY.js.map +1 -0
  249. package/dist/ripple-DUFMimxZ.js +120 -0
  250. package/dist/ripple-DUFMimxZ.js.map +1 -0
  251. package/dist/ripple-DVmDdoNV.js +102 -0
  252. package/dist/ripple-DVmDdoNV.js.map +1 -0
  253. package/dist/ripple-DYnhXK5d.js +118 -0
  254. package/dist/ripple-DYnhXK5d.js.map +1 -0
  255. package/dist/ripple-DnudV47f.js +102 -0
  256. package/dist/ripple-DnudV47f.js.map +1 -0
  257. package/dist/ripple-DsC-h31M.js +119 -0
  258. package/dist/ripple-DsC-h31M.js.map +1 -0
  259. package/dist/ripple-DvM0SPd9.js +128 -0
  260. package/dist/ripple-DvM0SPd9.js.map +1 -0
  261. package/dist/ripple-NWIiDgX2.js +128 -0
  262. package/dist/ripple-NWIiDgX2.js.map +1 -0
  263. package/dist/ripple-X3U_R8lT.js +106 -0
  264. package/dist/ripple-X3U_R8lT.js.map +1 -0
  265. package/dist/ripple.js +128 -0
  266. package/dist/ripple.js.map +1 -0
  267. package/dist/src/LoaderUtils.d.ts +0 -1
  268. package/dist/src/avatar/avatar.d.ts +20 -1
  269. package/dist/src/avatar/p-avatar.d.ts +0 -7
  270. package/dist/src/badge/badge.d.ts +16 -2
  271. package/dist/src/badge/p-badge.d.ts +0 -5
  272. package/dist/src/button/button.d.ts +99 -0
  273. package/dist/src/button/index.d.ts +1 -0
  274. package/dist/src/clock/ClockController.d.ts +10 -0
  275. package/dist/src/clock/clock.css.d.ts +1 -0
  276. package/dist/src/clock/clock.d.ts +25 -0
  277. package/dist/src/clock/index.d.ts +1 -0
  278. package/dist/src/code-highlighter/code-highlighter.d.ts +26 -0
  279. package/dist/src/code-highlighter/index.d.ts +1 -0
  280. package/dist/src/code-highlighter/local.d.ts +6 -0
  281. package/dist/src/divider/divider.css.d.ts +1 -0
  282. package/dist/src/divider/divider.d.ts +27 -0
  283. package/dist/src/divider/index.d.ts +1 -0
  284. package/dist/src/elevation/elevation.css.d.ts +1 -0
  285. package/dist/src/elevation/elevation.d.ts +27 -0
  286. package/dist/src/elevation/index.d.ts +1 -0
  287. package/dist/src/focus-ring/FocusAttachableController.d.ts +9 -0
  288. package/dist/src/focus-ring/focus-ring.d.ts +35 -0
  289. package/dist/src/focus-ring/index.d.ts +1 -0
  290. package/dist/src/icon/icon.d.ts +23 -2
  291. package/dist/src/icon/p-icon.d.ts +0 -7
  292. package/dist/src/index.d.ts +6 -0
  293. package/dist/src/ripple/index.d.ts +1 -0
  294. package/dist/src/ripple/ripple.d.ts +9 -0
  295. package/dist/src/utils.d.ts +5 -0
  296. package/dist/state-BXOdKkbT.js +10 -0
  297. package/dist/state-BXOdKkbT.js.map +1 -0
  298. package/dist/state-BfUul2Gq.js +10 -0
  299. package/dist/state-BfUul2Gq.js.map +1 -0
  300. package/dist/state-CNX6DhqO.js +10 -0
  301. package/dist/state-CNX6DhqO.js.map +1 -0
  302. package/dist/state-Cl3mjeR1.js +10 -0
  303. package/dist/state-Cl3mjeR1.js.map +1 -0
  304. package/dist/state-CxzmLNIi.js +10 -0
  305. package/dist/state-CxzmLNIi.js.map +1 -0
  306. package/dist/state-WDFgnqnd.js +36 -0
  307. package/dist/state-WDFgnqnd.js.map +1 -0
  308. package/dist/style-inject.es--nCJ9F_D.js +55 -0
  309. package/dist/style-inject.es--nCJ9F_D.js.map +1 -0
  310. package/dist/style-inject.es-tgCJW-Cu.js +29 -0
  311. package/dist/style-inject.es-tgCJW-Cu.js.map +1 -0
  312. package/dist/styleMixins.css-0Uq-6ouM.js +14 -0
  313. package/dist/styleMixins.css-0Uq-6ouM.js.map +1 -0
  314. package/dist/styleMixins.css-B8H9wDNA.js +17 -0
  315. package/dist/styleMixins.css-B8H9wDNA.js.map +1 -0
  316. package/dist/styleMixins.css-CivfMYtB.js +17 -0
  317. package/dist/styleMixins.css-CivfMYtB.js.map +1 -0
  318. package/dist/styleMixins.css-DrUsqddl.js +17 -0
  319. package/dist/styleMixins.css-DrUsqddl.js.map +1 -0
  320. package/dist/styleMixins.css-fokZCyF-.js +17 -0
  321. package/dist/styleMixins.css-fokZCyF-.js.map +1 -0
  322. package/dist/styleMixins.css.d.ts +10 -0
  323. package/dist/styleMixins.css.d.ts.map +1 -0
  324. package/dist/text/text.css.d.ts +3 -0
  325. package/dist/text/text.css.d.ts.map +1 -0
  326. package/dist/tsconfig.tsbuildinfo +1 -1
  327. package/dist/typedoc.json +340489 -0
  328. package/dist/utils-BVap5huR.js +157 -0
  329. package/dist/utils-BVap5huR.js.map +1 -0
  330. package/dist/utils-CY3RyfcA.js +157 -0
  331. package/dist/utils-CY3RyfcA.js.map +1 -0
  332. package/dist/utils-CdOdn2dW.js +149 -0
  333. package/dist/utils-CdOdn2dW.js.map +1 -0
  334. package/dist/utils-DD_cg6Ms.js +157 -0
  335. package/dist/utils-DD_cg6Ms.js.map +1 -0
  336. package/dist/utils-_5no4mk7.js +128 -0
  337. package/dist/utils-_5no4mk7.js.map +1 -0
  338. package/dist/utils.d.ts +8 -0
  339. package/dist/utils.d.ts.map +1 -0
  340. package/package.json +11 -9
  341. package/readme.md +5 -17
  342. package/rollup.config.js +79 -37
  343. package/scratch.mjs +0 -0
  344. package/scss/mixin.scss +50 -0
  345. package/src/LoaderUtils.ts +122 -122
  346. package/src/avatar/avatar.scss +38 -0
  347. package/src/avatar/avatar.ts +20 -1
  348. package/src/avatar/p-avatar.ts +0 -7
  349. package/src/badge/badge.scss +31 -0
  350. package/src/badge/badge.ts +31 -9
  351. package/src/badge/demo/index.html +9 -1
  352. package/src/badge/p-badge.ts +0 -5
  353. package/src/button/_button-sizes.scss +59 -0
  354. package/src/button/button.scss +430 -0
  355. package/src/button/button.ts +304 -0
  356. package/src/button/demo/index.html +42 -0
  357. package/src/button/index.ts +1 -0
  358. package/src/clock/ClockController.ts +32 -0
  359. package/src/clock/clock.scss +9 -0
  360. package/src/clock/clock.ts +39 -0
  361. package/{demo/int.html → src/clock/demo/index.html} +7 -10
  362. package/src/clock/index.ts +1 -0
  363. package/src/code-highlighter/code-highlighter.scss +0 -0
  364. package/src/code-highlighter/code-highlighter.ts +58 -0
  365. package/src/code-highlighter/demo/index.html +58 -0
  366. package/src/code-highlighter/index.ts +1 -0
  367. package/src/code-highlighter/local.ts +11 -0
  368. package/src/divider/demo/index.html +58 -0
  369. package/src/divider/divider.scss +56 -0
  370. package/src/divider/divider.ts +59 -0
  371. package/src/divider/index.ts +1 -0
  372. package/src/elevation/demo/index.html +58 -0
  373. package/src/elevation/elevation.scss +61 -0
  374. package/src/elevation/elevation.ts +32 -0
  375. package/src/elevation/index.ts +1 -0
  376. package/src/focus-ring/FocusAttachableController.ts +36 -0
  377. package/src/focus-ring/demo/index.html +58 -0
  378. package/src/focus-ring/focus-ring.scss +22 -0
  379. package/src/focus-ring/focus-ring.ts +83 -0
  380. package/src/focus-ring/index.ts +1 -0
  381. package/src/icon/icon.scss +19 -0
  382. package/src/icon/icon.ts +131 -111
  383. package/src/icon/p-icon.ts +0 -7
  384. package/src/index.ts +9 -3
  385. package/src/link/demo/index.html +34 -0
  386. package/src/link/link.scss +24 -0
  387. package/src/peacock-loader.ts +69 -55
  388. package/src/ripple/index.ts +1 -0
  389. package/src/ripple/ripple.ts +134 -0
  390. package/src/styles.d.ts +3 -1
  391. package/src/text/text.scss +48 -0
  392. package/src/utils.ts +72 -1
  393. package/tsconfig.json +23 -22
  394. package/assets/tokens.css +0 -522
  395. package/copyDesignFiles.js +0 -11
  396. package/custom-elements.md +0 -192
  397. package/dist/avatar-GQwWRGRw.js +0 -418
  398. package/dist/avatar-GQwWRGRw.js.map +0 -1
  399. package/dist/avatar-jfcIDB8G.js +0 -424
  400. package/dist/avatar-jfcIDB8G.js.map +0 -1
  401. package/dist/component/avatar.js +0 -92
  402. package/dist/component/avatar.js.map +0 -1
  403. package/dist/component/icon.js.map +0 -1
  404. package/dist/directive-CKEA2P55.js.map +0 -1
  405. package/dist/utils-CSwoJIcG.js +0 -171
  406. package/dist/utils-CSwoJIcG.js.map +0 -1
  407. package/dist/web-types.json +0 -78
  408. package/readme-gen.mjs +0 -24
  409. package/src/avatar/avatar.css.ts +0 -41
  410. package/src/badge/badge.css.ts +0 -33
  411. package/src/icon/icon.css.ts +0 -22
@@ -0,0 +1,1211 @@
1
+ [
2
+ {
3
+ "rawTag": "avatar",
4
+ "label": "Avatar",
5
+ "jsdoc": {
6
+ "@label": [
7
+ {
8
+ "kind": "text",
9
+ "text": "Avatar"
10
+ }
11
+ ],
12
+ "@tag": [
13
+ {
14
+ "kind": "text",
15
+ "text": "p-avatar"
16
+ }
17
+ ],
18
+ "@rawTag": [
19
+ {
20
+ "kind": "text",
21
+ "text": "avatar"
22
+ }
23
+ ],
24
+ "@summary": [
25
+ {
26
+ "kind": "text",
27
+ "text": "The Avatar component is used to represent user, and displays the profile picture, initials or fallback icon."
28
+ }
29
+ ],
30
+ "@cssprop": [
31
+ {
32
+ "kind": "text",
33
+ "text": "--avatar-text-color - Controls the color of the text inside the avatar."
34
+ }
35
+ ],
36
+ "@example": [
37
+ {
38
+ "kind": "code",
39
+ "text": "```html\n<p-avatar name=\"Shivaji Varma\" src=\"https://peacock.redvars.com/assets/img/avatar.webp\"></p-avatar>\n```"
40
+ }
41
+ ],
42
+ "@tags": [
43
+ {
44
+ "kind": "text",
45
+ "text": "display"
46
+ }
47
+ ]
48
+ },
49
+ "customElement": {
50
+ "kind": "class",
51
+ "description": "",
52
+ "name": "Avatar",
53
+ "cssProperties": [
54
+ {
55
+ "description": "Controls the border radius of the avatar.",
56
+ "name": "--avatar-border-radius"
57
+ },
58
+ {
59
+ "description": "Controls the color of the avatar.",
60
+ "name": "--avatar-background-color"
61
+ },
62
+ {
63
+ "description": "Controls the size of the avatar.",
64
+ "name": "--avatar-size"
65
+ },
66
+ {
67
+ "description": "Controls the color of the text inside the avatar.",
68
+ "name": "--avatar-text-color"
69
+ }
70
+ ],
71
+ "members": [
72
+ {
73
+ "kind": "field",
74
+ "name": "name",
75
+ "type": {
76
+ "text": "string"
77
+ },
78
+ "default": "''",
79
+ "attribute": "name",
80
+ "reflects": true
81
+ },
82
+ {
83
+ "kind": "field",
84
+ "name": "src",
85
+ "type": {
86
+ "text": "string | undefined"
87
+ },
88
+ "attribute": "src",
89
+ "reflects": true
90
+ },
91
+ {
92
+ "kind": "method",
93
+ "name": "__getInitials",
94
+ "privacy": "private"
95
+ }
96
+ ],
97
+ "attributes": [
98
+ {
99
+ "name": "name",
100
+ "type": {
101
+ "text": "string"
102
+ },
103
+ "default": "''",
104
+ "fieldName": "name"
105
+ },
106
+ {
107
+ "name": "src",
108
+ "type": {
109
+ "text": "string | undefined"
110
+ },
111
+ "fieldName": "src"
112
+ }
113
+ ],
114
+ "superclass": {
115
+ "name": "LitElement",
116
+ "package": "lit"
117
+ },
118
+ "tagName": "p-avatar",
119
+ "customElement": true,
120
+ "summary": "The Avatar component is used to represent user, and displays the profile picture, initials or fallback icon.",
121
+ "rawTag": {
122
+ "name": "avatar",
123
+ "description": ""
124
+ }
125
+ }
126
+ },
127
+ {
128
+ "rawTag": "badge",
129
+ "label": "Badge",
130
+ "jsdoc": {
131
+ "@label": [
132
+ {
133
+ "kind": "text",
134
+ "text": "Badge"
135
+ }
136
+ ],
137
+ "@tag": [
138
+ {
139
+ "kind": "text",
140
+ "text": "p-badge"
141
+ }
142
+ ],
143
+ "@rawTag": [
144
+ {
145
+ "kind": "text",
146
+ "text": "badge"
147
+ }
148
+ ],
149
+ "@summary": [
150
+ {
151
+ "kind": "text",
152
+ "text": "The badge component is used to display a small amount of information to the user."
153
+ }
154
+ ],
155
+ "@cssprop": [
156
+ {
157
+ "kind": "text",
158
+ "text": "--badge-color - Controls the color of the badge."
159
+ }
160
+ ],
161
+ "@example": [
162
+ {
163
+ "kind": "code",
164
+ "text": "```html\n<p-badge>1</p-badge>\n```"
165
+ }
166
+ ],
167
+ "@tags": [
168
+ {
169
+ "kind": "text",
170
+ "text": "display"
171
+ }
172
+ ]
173
+ },
174
+ "customElement": {
175
+ "kind": "class",
176
+ "description": "",
177
+ "name": "Badge",
178
+ "cssProperties": [
179
+ {
180
+ "description": "Controls the color of the badge.",
181
+ "name": "--badge-color"
182
+ }
183
+ ],
184
+ "members": [
185
+ {
186
+ "kind": "field",
187
+ "name": "name",
188
+ "type": {
189
+ "text": "string"
190
+ },
191
+ "default": "''",
192
+ "attribute": "name",
193
+ "reflects": true
194
+ },
195
+ {
196
+ "kind": "field",
197
+ "name": "src",
198
+ "type": {
199
+ "text": "string | undefined"
200
+ },
201
+ "attribute": "src",
202
+ "reflects": true
203
+ },
204
+ {
205
+ "kind": "field",
206
+ "name": "slotHasContent",
207
+ "type": {
208
+ "text": "boolean"
209
+ },
210
+ "default": "false"
211
+ }
212
+ ],
213
+ "attributes": [
214
+ {
215
+ "name": "name",
216
+ "type": {
217
+ "text": "string"
218
+ },
219
+ "default": "''",
220
+ "fieldName": "name"
221
+ },
222
+ {
223
+ "name": "src",
224
+ "type": {
225
+ "text": "string | undefined"
226
+ },
227
+ "fieldName": "src"
228
+ }
229
+ ],
230
+ "superclass": {
231
+ "name": "LitElement",
232
+ "package": "lit"
233
+ },
234
+ "tagName": "p-badge",
235
+ "customElement": true,
236
+ "summary": "The badge component is used to display a small amount of information to the user.",
237
+ "rawTag": {
238
+ "name": "badge",
239
+ "description": ""
240
+ }
241
+ }
242
+ },
243
+ {
244
+ "rawTag": "button",
245
+ "label": "Button",
246
+ "jsdoc": {
247
+ "@label": [
248
+ {
249
+ "kind": "text",
250
+ "text": "Button"
251
+ }
252
+ ],
253
+ "@tag": [
254
+ {
255
+ "kind": "text",
256
+ "text": "p-button"
257
+ }
258
+ ],
259
+ "@rawTag": [
260
+ {
261
+ "kind": "text",
262
+ "text": "button"
263
+ }
264
+ ],
265
+ "@summary": [
266
+ {
267
+ "kind": "text",
268
+ "text": "Buttons help people initiate actions, from sending an email, to sharing a document, to liking a post."
269
+ }
270
+ ],
271
+ "@overview": [
272
+ {
273
+ "kind": "text",
274
+ "text": "<p>Buttons are clickable elements that are used to trigger actions. They communicate calls to action to the user and allow users to interact with pages in a variety of ways. Button labels express what action will occur when the user interacts with it.</p>"
275
+ }
276
+ ],
277
+ "@cssprop": [
278
+ {
279
+ "kind": "text",
280
+ "text": "--divider-padding - Controls the padding of the divider."
281
+ }
282
+ ],
283
+ "@example": [
284
+ {
285
+ "kind": "code",
286
+ "text": "```html\n<pc-button>Button</pc-button>\n```"
287
+ }
288
+ ],
289
+ "@tags": [
290
+ {
291
+ "kind": "text",
292
+ "text": "display"
293
+ }
294
+ ]
295
+ },
296
+ "customElement": {
297
+ "kind": "class",
298
+ "description": "",
299
+ "name": "Button",
300
+ "cssProperties": [
301
+ {
302
+ "description": "Controls the color of the divider.",
303
+ "name": "--divider-color"
304
+ },
305
+ {
306
+ "description": "Controls the padding of the divider.",
307
+ "name": "--divider-padding"
308
+ }
309
+ ],
310
+ "members": [
311
+ {
312
+ "kind": "field",
313
+ "name": "#id",
314
+ "privacy": "private"
315
+ },
316
+ {
317
+ "kind": "field",
318
+ "name": "#tabindex",
319
+ "privacy": "private",
320
+ "type": {
321
+ "text": "number | undefined"
322
+ },
323
+ "default": "0"
324
+ },
325
+ {
326
+ "kind": "field",
327
+ "name": "buttonElement",
328
+ "type": {
329
+ "text": "HTMLElement | null"
330
+ },
331
+ "privacy": "private",
332
+ "readonly": true
333
+ },
334
+ {
335
+ "kind": "field",
336
+ "name": "htmlType",
337
+ "type": {
338
+ "text": "'button' | 'submit' | 'reset'"
339
+ },
340
+ "default": "'button'",
341
+ "attribute": "htmlType"
342
+ },
343
+ {
344
+ "kind": "field",
345
+ "name": "variant",
346
+ "type": {
347
+ "text": "| 'elevated'\n | 'filled'\n | 'tonal'\n | 'outlined'\n | 'text'\n | 'neo'"
348
+ },
349
+ "default": "'filled'",
350
+ "description": "The visual style of the button.\n\n Possible variant values:\n`\"filled\"` is a filled button.\n`\"outlined\"` is an outlined button.\n`\"text\"` is a transparent button.\n`\"tonal\"` is a light color button.",
351
+ "attribute": "variant"
352
+ },
353
+ {
354
+ "kind": "field",
355
+ "name": "size",
356
+ "type": {
357
+ "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
358
+ },
359
+ "default": "'sm'",
360
+ "description": "Button size.\nPossible values are `\"sm\"`, `\"md\"`, `\"lg\"`. Defaults to `\"md\"`.",
361
+ "attribute": "size"
362
+ },
363
+ {
364
+ "kind": "field",
365
+ "name": "disabled",
366
+ "type": {
367
+ "text": "boolean"
368
+ },
369
+ "default": "false",
370
+ "description": "If true, the user cannot interact with the button. Defaults to `false`.",
371
+ "attribute": "disabled",
372
+ "reflects": true
373
+ },
374
+ {
375
+ "kind": "field",
376
+ "name": "softDisabled",
377
+ "type": {
378
+ "text": "boolean"
379
+ },
380
+ "default": "false",
381
+ "description": "If true, the user cannot interact with the button and the button is visually styled as disabled. But the button is still focusable. Defaults to `false`.",
382
+ "attribute": "softDisabled",
383
+ "reflects": true
384
+ },
385
+ {
386
+ "kind": "field",
387
+ "name": "disabledReason",
388
+ "type": {
389
+ "text": "string"
390
+ },
391
+ "default": "''",
392
+ "description": "If button is disabled, the reason why it is disabled.",
393
+ "attribute": "disabledReason"
394
+ },
395
+ {
396
+ "kind": "field",
397
+ "name": "color",
398
+ "type": {
399
+ "text": "| 'primary'\n | 'secondary'\n | 'success'\n | 'danger'\n | 'warning'\n | 'white'\n | 'black'"
400
+ },
401
+ "default": "'primary'",
402
+ "description": "Defines the primary color of the button. This can be set to predefined color names to apply specific color themes.",
403
+ "attribute": "color",
404
+ "reflects": true
405
+ },
406
+ {
407
+ "kind": "field",
408
+ "name": "iconAlign",
409
+ "type": {
410
+ "text": "'start' | 'end'"
411
+ },
412
+ "default": "'end'",
413
+ "description": "Icon alignment.\nPossible values are `\"start\"`, `\"end\"`. Defaults to `\"end\"`.",
414
+ "attribute": "iconAlign"
415
+ },
416
+ {
417
+ "kind": "field",
418
+ "name": "href",
419
+ "type": {
420
+ "text": "string | undefined"
421
+ },
422
+ "description": "Hyperlink to navigate to on click.",
423
+ "attribute": "href",
424
+ "reflects": true
425
+ },
426
+ {
427
+ "kind": "field",
428
+ "name": "configAria",
429
+ "type": {
430
+ "text": "{ [key: string]: any } | undefined"
431
+ },
432
+ "attribute": "configAria",
433
+ "reflects": true
434
+ },
435
+ {
436
+ "kind": "field",
437
+ "name": "target",
438
+ "type": {
439
+ "text": "string"
440
+ },
441
+ "default": "'_self'",
442
+ "description": "Sets or retrieves the window or frame at which to target content.",
443
+ "attribute": "target"
444
+ },
445
+ {
446
+ "kind": "field",
447
+ "name": "selected",
448
+ "type": {
449
+ "text": "boolean"
450
+ },
451
+ "default": "false",
452
+ "attribute": "selected"
453
+ },
454
+ {
455
+ "kind": "field",
456
+ "name": "throttleDelay",
457
+ "type": {
458
+ "text": "number"
459
+ },
460
+ "default": "200",
461
+ "description": "Sets the delay for throttle in milliseconds. Defaults to 200 milliseconds.",
462
+ "attribute": "throttleDelay"
463
+ },
464
+ {
465
+ "kind": "field",
466
+ "name": "isPressed",
467
+ "type": {
468
+ "text": "boolean"
469
+ },
470
+ "privacy": "private",
471
+ "default": "false",
472
+ "description": "States"
473
+ },
474
+ {
475
+ "kind": "field",
476
+ "name": "slotHasContent",
477
+ "type": {
478
+ "text": "boolean"
479
+ },
480
+ "privacy": "private",
481
+ "default": "false"
482
+ },
483
+ {
484
+ "kind": "method",
485
+ "name": "focus"
486
+ },
487
+ {
488
+ "kind": "method",
489
+ "name": "blur"
490
+ },
491
+ {
492
+ "kind": "field",
493
+ "name": "__dispatchClickWithThrottle",
494
+ "type": {
495
+ "text": "(\n event: MouseEvent | KeyboardEvent,\n ) => void"
496
+ },
497
+ "privacy": "private"
498
+ },
499
+ {
500
+ "kind": "field",
501
+ "name": "__dispatchClick"
502
+ },
503
+ {
504
+ "kind": "method",
505
+ "name": "__renderDisabledReason"
506
+ },
507
+ {
508
+ "kind": "field",
509
+ "name": "__handlePress"
510
+ },
511
+ {
512
+ "kind": "method",
513
+ "name": "__isLink",
514
+ "privacy": "private"
515
+ },
516
+ {
517
+ "kind": "method",
518
+ "name": "getVariant"
519
+ },
520
+ {
521
+ "kind": "method",
522
+ "name": "renderButtonContent"
523
+ }
524
+ ],
525
+ "attributes": [
526
+ {
527
+ "name": "htmlType",
528
+ "type": {
529
+ "text": "'button' | 'submit' | 'reset'"
530
+ },
531
+ "default": "'button'",
532
+ "fieldName": "htmlType"
533
+ },
534
+ {
535
+ "name": "variant",
536
+ "type": {
537
+ "text": "| 'elevated'\n | 'filled'\n | 'tonal'\n | 'outlined'\n | 'text'\n | 'neo'"
538
+ },
539
+ "default": "'filled'",
540
+ "description": "The visual style of the button.\n\n Possible variant values:\n`\"filled\"` is a filled button.\n`\"outlined\"` is an outlined button.\n`\"text\"` is a transparent button.\n`\"tonal\"` is a light color button.",
541
+ "fieldName": "variant"
542
+ },
543
+ {
544
+ "name": "size",
545
+ "type": {
546
+ "text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
547
+ },
548
+ "default": "'sm'",
549
+ "description": "Button size.\nPossible values are `\"sm\"`, `\"md\"`, `\"lg\"`. Defaults to `\"md\"`.",
550
+ "fieldName": "size"
551
+ },
552
+ {
553
+ "name": "disabled",
554
+ "type": {
555
+ "text": "boolean"
556
+ },
557
+ "default": "false",
558
+ "description": "If true, the user cannot interact with the button. Defaults to `false`.",
559
+ "fieldName": "disabled"
560
+ },
561
+ {
562
+ "name": "softDisabled",
563
+ "type": {
564
+ "text": "boolean"
565
+ },
566
+ "default": "false",
567
+ "description": "If true, the user cannot interact with the button and the button is visually styled as disabled. But the button is still focusable. Defaults to `false`.",
568
+ "fieldName": "softDisabled"
569
+ },
570
+ {
571
+ "name": "disabledReason",
572
+ "type": {
573
+ "text": "string"
574
+ },
575
+ "default": "''",
576
+ "description": "If button is disabled, the reason why it is disabled.",
577
+ "fieldName": "disabledReason"
578
+ },
579
+ {
580
+ "name": "color",
581
+ "type": {
582
+ "text": "| 'primary'\n | 'secondary'\n | 'success'\n | 'danger'\n | 'warning'\n | 'white'\n | 'black'"
583
+ },
584
+ "default": "'primary'",
585
+ "description": "Defines the primary color of the button. This can be set to predefined color names to apply specific color themes.",
586
+ "fieldName": "color"
587
+ },
588
+ {
589
+ "name": "iconAlign",
590
+ "type": {
591
+ "text": "'start' | 'end'"
592
+ },
593
+ "default": "'end'",
594
+ "description": "Icon alignment.\nPossible values are `\"start\"`, `\"end\"`. Defaults to `\"end\"`.",
595
+ "fieldName": "iconAlign"
596
+ },
597
+ {
598
+ "name": "href",
599
+ "type": {
600
+ "text": "string | undefined"
601
+ },
602
+ "description": "Hyperlink to navigate to on click.",
603
+ "fieldName": "href"
604
+ },
605
+ {
606
+ "name": "configAria",
607
+ "type": {
608
+ "text": "{ [key: string]: any } | undefined"
609
+ },
610
+ "fieldName": "configAria"
611
+ },
612
+ {
613
+ "name": "target",
614
+ "type": {
615
+ "text": "string"
616
+ },
617
+ "default": "'_self'",
618
+ "description": "Sets or retrieves the window or frame at which to target content.",
619
+ "fieldName": "target"
620
+ },
621
+ {
622
+ "name": "selected",
623
+ "type": {
624
+ "text": "boolean"
625
+ },
626
+ "default": "false",
627
+ "fieldName": "selected"
628
+ },
629
+ {
630
+ "name": "throttleDelay",
631
+ "type": {
632
+ "text": "number"
633
+ },
634
+ "default": "200",
635
+ "description": "Sets the delay for throttle in milliseconds. Defaults to 200 milliseconds.",
636
+ "fieldName": "throttleDelay"
637
+ }
638
+ ],
639
+ "superclass": {
640
+ "name": "LitElement",
641
+ "package": "lit"
642
+ },
643
+ "tagName": "p-button",
644
+ "customElement": true,
645
+ "summary": "Buttons help people initiate actions, from sending an email, to sharing a document, to liking a post.",
646
+ "rawTag": {
647
+ "name": "button",
648
+ "description": ""
649
+ }
650
+ }
651
+ },
652
+ {
653
+ "rawTag": "clock",
654
+ "label": "Clock",
655
+ "jsdoc": {
656
+ "@label": [
657
+ {
658
+ "kind": "text",
659
+ "text": "Clock"
660
+ }
661
+ ],
662
+ "@tag": [
663
+ {
664
+ "kind": "text",
665
+ "text": "p-clock"
666
+ }
667
+ ],
668
+ "@rawTag": [
669
+ {
670
+ "kind": "text",
671
+ "text": "clock"
672
+ }
673
+ ],
674
+ "@summary": [
675
+ {
676
+ "kind": "text",
677
+ "text": "Displays the current time in a given timezone."
678
+ }
679
+ ],
680
+ "@overview": [
681
+ {
682
+ "kind": "text",
683
+ "text": "- Clocks are used to display the current time in a specified timezone.\r\n - They can be displayed in various formats, including 12-hour and 24-hour time."
684
+ }
685
+ ],
686
+ "@example": [
687
+ {
688
+ "kind": "code",
689
+ "text": "```html\r\n<p-clock></p-clock>\r\n```"
690
+ }
691
+ ],
692
+ "@tags": [
693
+ {
694
+ "kind": "text",
695
+ "text": "display"
696
+ }
697
+ ]
698
+ },
699
+ "customElement": {
700
+ "kind": "class",
701
+ "description": "",
702
+ "name": "Clock",
703
+ "members": [
704
+ {
705
+ "kind": "field",
706
+ "name": "clockController",
707
+ "default": "new ClockController(this, 100)"
708
+ },
709
+ {
710
+ "kind": "field",
711
+ "name": "timezone",
712
+ "type": {
713
+ "text": "string | undefined"
714
+ },
715
+ "attribute": "timezone"
716
+ },
717
+ {
718
+ "kind": "method",
719
+ "name": "__formatDate",
720
+ "parameters": [
721
+ {
722
+ "name": "date",
723
+ "type": {
724
+ "text": "Date"
725
+ }
726
+ }
727
+ ]
728
+ }
729
+ ],
730
+ "attributes": [
731
+ {
732
+ "name": "timezone",
733
+ "type": {
734
+ "text": "string | undefined"
735
+ },
736
+ "fieldName": "timezone"
737
+ }
738
+ ],
739
+ "superclass": {
740
+ "name": "LitElement",
741
+ "package": "lit"
742
+ },
743
+ "tagName": "p-clock",
744
+ "customElement": true,
745
+ "summary": "Displays the current time in a given timezone.",
746
+ "rawTag": {
747
+ "name": "clock",
748
+ "description": ""
749
+ }
750
+ }
751
+ },
752
+ {
753
+ "rawTag": "divider",
754
+ "label": "Divider",
755
+ "jsdoc": {
756
+ "@label": [
757
+ {
758
+ "kind": "text",
759
+ "text": "Divider"
760
+ }
761
+ ],
762
+ "@tag": [
763
+ {
764
+ "kind": "text",
765
+ "text": "p-divider"
766
+ }
767
+ ],
768
+ "@rawTag": [
769
+ {
770
+ "kind": "text",
771
+ "text": "divider"
772
+ }
773
+ ],
774
+ "@summary": [
775
+ {
776
+ "kind": "text",
777
+ "text": "The divider component is used to visually separate content."
778
+ }
779
+ ],
780
+ "@overview": [
781
+ {
782
+ "kind": "text",
783
+ "text": "- Dividers are used to separate content into clear groups, making it easier for users to scan and understand the information presented.\n - They can be oriented either vertically or horizontally, depending on the layout requirements."
784
+ }
785
+ ],
786
+ "@cssprop": [
787
+ {
788
+ "kind": "text",
789
+ "text": "--divider-padding - Controls the padding of the divider."
790
+ }
791
+ ],
792
+ "@example": [
793
+ {
794
+ "kind": "code",
795
+ "text": "```html\n<p-divider style=\"width: 12rem;\">or</p-divider>\n```"
796
+ }
797
+ ],
798
+ "@tags": [
799
+ {
800
+ "kind": "text",
801
+ "text": "display"
802
+ }
803
+ ]
804
+ },
805
+ "customElement": {
806
+ "kind": "class",
807
+ "description": "",
808
+ "name": "Divider",
809
+ "cssProperties": [
810
+ {
811
+ "description": "Controls the color of the divider.",
812
+ "name": "--divider-color"
813
+ },
814
+ {
815
+ "description": "Controls the padding of the divider.",
816
+ "name": "--divider-padding"
817
+ }
818
+ ],
819
+ "members": [
820
+ {
821
+ "kind": "field",
822
+ "name": "vertical",
823
+ "type": {
824
+ "text": "boolean"
825
+ },
826
+ "default": "false",
827
+ "attribute": "vertical",
828
+ "reflects": true
829
+ },
830
+ {
831
+ "kind": "field",
832
+ "name": "slotHasContent",
833
+ "type": {
834
+ "text": "boolean"
835
+ },
836
+ "default": "false"
837
+ }
838
+ ],
839
+ "attributes": [
840
+ {
841
+ "name": "vertical",
842
+ "type": {
843
+ "text": "boolean"
844
+ },
845
+ "default": "false",
846
+ "fieldName": "vertical"
847
+ }
848
+ ],
849
+ "superclass": {
850
+ "name": "LitElement",
851
+ "package": "lit"
852
+ },
853
+ "tagName": "p-divider",
854
+ "customElement": true,
855
+ "summary": "The divider component is used to visually separate content.",
856
+ "rawTag": {
857
+ "name": "divider",
858
+ "description": ""
859
+ }
860
+ }
861
+ },
862
+ {
863
+ "rawTag": "elevation",
864
+ "label": "Elevation",
865
+ "jsdoc": {
866
+ "@label": [
867
+ {
868
+ "kind": "text",
869
+ "text": "Elevation"
870
+ }
871
+ ],
872
+ "@tag": [
873
+ {
874
+ "kind": "text",
875
+ "text": "p-elevation"
876
+ }
877
+ ],
878
+ "@rawTag": [
879
+ {
880
+ "kind": "text",
881
+ "text": "elevation"
882
+ }
883
+ ],
884
+ "@summary": [
885
+ {
886
+ "kind": "text",
887
+ "text": "Adds elevation to an element."
888
+ }
889
+ ],
890
+ "@overview": [
891
+ {
892
+ "kind": "text",
893
+ "text": "- Elevation adds a shadow effect to an element to give it depth.\n - It can be used to create a sense of hierarchy or to draw attention to a particular element."
894
+ }
895
+ ],
896
+ "@cssprop": [
897
+ {
898
+ "kind": "text",
899
+ "text": "--elevation-color - Controls the color of the shadow."
900
+ }
901
+ ],
902
+ "@example": [
903
+ {
904
+ "kind": "code",
905
+ "text": "```html\n <div style=\"position: relative; padding: var(--spacing-200); border-radius: var(--shape-corner-small);\">\n <p-elevation style='--elevation-level: 2'></p-elevation>\n Level 2\n </div>\n```"
906
+ }
907
+ ],
908
+ "@tags": [
909
+ {
910
+ "kind": "text",
911
+ "text": "display"
912
+ }
913
+ ]
914
+ },
915
+ "customElement": {
916
+ "kind": "class",
917
+ "description": "",
918
+ "name": "Elevation",
919
+ "cssProperties": [
920
+ {
921
+ "description": "Controls the elevation level of the shadow.",
922
+ "name": "--elevation-level"
923
+ },
924
+ {
925
+ "description": "Controls the color of the shadow.",
926
+ "name": "--elevation-color"
927
+ }
928
+ ],
929
+ "members": [],
930
+ "superclass": {
931
+ "name": "LitElement",
932
+ "package": "lit"
933
+ },
934
+ "tagName": "p-elevation",
935
+ "customElement": true,
936
+ "summary": "Adds elevation to an element.",
937
+ "rawTag": {
938
+ "name": "elevation",
939
+ "description": ""
940
+ }
941
+ }
942
+ },
943
+ {
944
+ "rawTag": "elevation",
945
+ "label": "Elevation",
946
+ "jsdoc": {
947
+ "@label": [
948
+ {
949
+ "kind": "text",
950
+ "text": "Elevation"
951
+ }
952
+ ],
953
+ "@tag": [
954
+ {
955
+ "kind": "text",
956
+ "text": "p-elevation"
957
+ }
958
+ ],
959
+ "@rawTag": [
960
+ {
961
+ "kind": "text",
962
+ "text": "elevation"
963
+ }
964
+ ],
965
+ "@summary": [
966
+ {
967
+ "kind": "text",
968
+ "text": "Adds elevation to an element."
969
+ }
970
+ ],
971
+ "@overview": [
972
+ {
973
+ "kind": "text",
974
+ "text": "- Elevation adds a shadow effect to an element to give it depth.\n - It can be used to create a sense of hierarchy or to draw attention to a particular element."
975
+ }
976
+ ],
977
+ "@cssprop": [
978
+ {
979
+ "kind": "text",
980
+ "text": "--elevation-color - Controls the color of the shadow."
981
+ }
982
+ ],
983
+ "@example": [
984
+ {
985
+ "kind": "code",
986
+ "text": "```html\n <div style=\"position: relative; padding: var(--spacing-200); border-radius: var(--shape-corner-small);\">\n <p-elevation style='--elevation-level: 2'></p-elevation>\n Level 2\n </div>\n```"
987
+ }
988
+ ],
989
+ "@tags": [
990
+ {
991
+ "kind": "text",
992
+ "text": "display"
993
+ }
994
+ ]
995
+ },
996
+ "customElement": {
997
+ "kind": "class",
998
+ "description": "",
999
+ "name": "Elevation",
1000
+ "cssProperties": [
1001
+ {
1002
+ "description": "Controls the elevation level of the shadow.",
1003
+ "name": "--elevation-level"
1004
+ },
1005
+ {
1006
+ "description": "Controls the color of the shadow.",
1007
+ "name": "--elevation-color"
1008
+ }
1009
+ ],
1010
+ "members": [],
1011
+ "superclass": {
1012
+ "name": "LitElement",
1013
+ "package": "lit"
1014
+ },
1015
+ "tagName": "p-elevation",
1016
+ "customElement": true,
1017
+ "summary": "Adds elevation to an element.",
1018
+ "rawTag": {
1019
+ "name": "elevation",
1020
+ "description": ""
1021
+ }
1022
+ }
1023
+ },
1024
+ {
1025
+ "rawTag": "icon",
1026
+ "label": "Icon",
1027
+ "jsdoc": {
1028
+ "@label": [
1029
+ {
1030
+ "kind": "text",
1031
+ "text": "Icon"
1032
+ }
1033
+ ],
1034
+ "@tag": [
1035
+ {
1036
+ "kind": "text",
1037
+ "text": "p-icon"
1038
+ }
1039
+ ],
1040
+ "@rawTag": [
1041
+ {
1042
+ "kind": "text",
1043
+ "text": "icon"
1044
+ }
1045
+ ],
1046
+ "@summary": [
1047
+ {
1048
+ "kind": "text",
1049
+ "text": "Icons are visual symbols used to represent ideas, objects, or actions."
1050
+ }
1051
+ ],
1052
+ "@overview": [
1053
+ {
1054
+ "kind": "text",
1055
+ "text": "Icons are visual symbols used to represent ideas, objects, or actions. They communicate messages at a glance, afford interactivity, and draw attention to important information."
1056
+ }
1057
+ ],
1058
+ "@cssprop": [
1059
+ {
1060
+ "kind": "text",
1061
+ "text": "[--icon-size=1rem] - Controls the size of the icon. Defaults to \"1rem\""
1062
+ }
1063
+ ],
1064
+ "@example": [
1065
+ {
1066
+ "kind": "code",
1067
+ "text": "```html\r\n<p-icon name=\"home\"></p-icon>\r\n```"
1068
+ }
1069
+ ]
1070
+ },
1071
+ "customElement": {
1072
+ "kind": "class",
1073
+ "description": "",
1074
+ "name": "Icon",
1075
+ "cssProperties": [
1076
+ {
1077
+ "description": "Controls the color of the icon.",
1078
+ "name": "--icon-color"
1079
+ },
1080
+ {
1081
+ "description": "Controls the size of the icon. Defaults to \"1rem\"",
1082
+ "name": "--icon-size",
1083
+ "default": "1rem"
1084
+ }
1085
+ ],
1086
+ "members": [
1087
+ {
1088
+ "kind": "field",
1089
+ "name": "name",
1090
+ "type": {
1091
+ "text": "string | undefined"
1092
+ },
1093
+ "description": "The identifier for the icon.\r\nThis name corresponds to a specific SVG asset in the icon set.",
1094
+ "attribute": "name",
1095
+ "reflects": true
1096
+ },
1097
+ {
1098
+ "kind": "field",
1099
+ "name": "src",
1100
+ "type": {
1101
+ "text": "string | undefined"
1102
+ },
1103
+ "attribute": "src",
1104
+ "reflects": true
1105
+ },
1106
+ {
1107
+ "kind": "field",
1108
+ "name": "provider",
1109
+ "type": {
1110
+ "text": "IconProvider"
1111
+ },
1112
+ "default": "'material-symbols'",
1113
+ "attribute": "provider"
1114
+ },
1115
+ {
1116
+ "kind": "field",
1117
+ "name": "svgContent",
1118
+ "type": {
1119
+ "text": "string"
1120
+ },
1121
+ "privacy": "private",
1122
+ "default": "''"
1123
+ },
1124
+ {
1125
+ "kind": "field",
1126
+ "name": "loading",
1127
+ "type": {
1128
+ "text": "boolean"
1129
+ },
1130
+ "privacy": "private",
1131
+ "default": "false"
1132
+ },
1133
+ {
1134
+ "kind": "field",
1135
+ "name": "error",
1136
+ "type": {
1137
+ "text": "Error | null"
1138
+ },
1139
+ "privacy": "private",
1140
+ "default": "null"
1141
+ },
1142
+ {
1143
+ "kind": "field",
1144
+ "name": "_fetchId",
1145
+ "type": {
1146
+ "text": "number"
1147
+ },
1148
+ "privacy": "private",
1149
+ "default": "0"
1150
+ },
1151
+ {
1152
+ "kind": "field",
1153
+ "name": "_debounceTimer",
1154
+ "type": {
1155
+ "text": "number | undefined"
1156
+ },
1157
+ "privacy": "private"
1158
+ },
1159
+ {
1160
+ "kind": "method",
1161
+ "name": "__scheduleUpdate",
1162
+ "privacy": "private"
1163
+ }
1164
+ ],
1165
+ "events": [
1166
+ {
1167
+ "name": "icon-error",
1168
+ "type": {
1169
+ "text": "CustomEvent"
1170
+ }
1171
+ }
1172
+ ],
1173
+ "attributes": [
1174
+ {
1175
+ "name": "name",
1176
+ "type": {
1177
+ "text": "string | undefined"
1178
+ },
1179
+ "description": "The identifier for the icon.\r\nThis name corresponds to a specific SVG asset in the icon set.",
1180
+ "fieldName": "name"
1181
+ },
1182
+ {
1183
+ "name": "src",
1184
+ "type": {
1185
+ "text": "string | undefined"
1186
+ },
1187
+ "fieldName": "src"
1188
+ },
1189
+ {
1190
+ "name": "provider",
1191
+ "type": {
1192
+ "text": "IconProvider"
1193
+ },
1194
+ "default": "'material-symbols'",
1195
+ "fieldName": "provider"
1196
+ }
1197
+ ],
1198
+ "superclass": {
1199
+ "name": "LitElement",
1200
+ "package": "lit"
1201
+ },
1202
+ "tagName": "p-icon",
1203
+ "customElement": true,
1204
+ "summary": "Icons are visual symbols used to represent ideas, objects, or actions.",
1205
+ "rawTag": {
1206
+ "name": "icon",
1207
+ "description": ""
1208
+ }
1209
+ }
1210
+ }
1211
+ ]