@pine-ds/core 2.1.1 → 2.1.2

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 (493) hide show
  1. package/components/index.d.ts +6 -0
  2. package/components/index.js +3 -0
  3. package/components/index.js.map +1 -1
  4. package/components/index2.js +3 -2
  5. package/components/index2.js.map +1 -1
  6. package/components/pds-button2.js +5 -3
  7. package/components/pds-button2.js.map +1 -1
  8. package/components/pds-checkbox2.js +12 -5
  9. package/components/pds-checkbox2.js.map +1 -1
  10. package/components/pds-chip.js +4 -4
  11. package/components/pds-chip.js.map +1 -1
  12. package/components/pds-copytext.js +1 -1
  13. package/components/pds-copytext.js.map +1 -1
  14. package/components/pds-divider.js +1 -1
  15. package/components/pds-divider.js.map +1 -1
  16. package/components/pds-image.js +2 -2
  17. package/components/pds-image.js.map +1 -1
  18. package/components/pds-input.js +12 -5
  19. package/components/pds-input.js.map +1 -1
  20. package/components/pds-link.js +2 -2
  21. package/components/pds-link.js.map +1 -1
  22. package/components/pds-loader.js +1 -1
  23. package/components/pds-popover.d.ts +11 -0
  24. package/components/pds-popover.js +94 -0
  25. package/components/pds-popover.js.map +1 -0
  26. package/components/pds-progress.js +1 -1
  27. package/components/pds-radio.js +16 -9
  28. package/components/pds-radio.js.map +1 -1
  29. package/components/pds-row.js +1 -1
  30. package/components/pds-select.d.ts +11 -0
  31. package/components/pds-select.js +165 -0
  32. package/components/pds-select.js.map +1 -0
  33. package/components/pds-sortable-item.js +1 -1
  34. package/components/pds-sortable.js +1 -1
  35. package/components/pds-switch.js +12 -8
  36. package/components/pds-switch.js.map +1 -1
  37. package/components/pds-tab.js +3 -3
  38. package/components/pds-table-body.js +1 -1
  39. package/components/pds-table-cell2.js +2 -2
  40. package/components/pds-table-head-cell2.js +3 -3
  41. package/components/pds-table-head.js +1 -1
  42. package/components/pds-table-row.js +9 -3
  43. package/components/pds-table-row.js.map +1 -1
  44. package/components/pds-table.js +1 -1
  45. package/components/pds-tabpanel.js +1 -1
  46. package/components/pds-tabs.js +1 -1
  47. package/components/pds-text.d.ts +11 -0
  48. package/components/pds-text.js +58 -0
  49. package/components/pds-text.js.map +1 -0
  50. package/components/pds-textarea.js +13 -6
  51. package/components/pds-textarea.js.map +1 -1
  52. package/components/pds-tooltip.js +2 -2
  53. package/dist/cjs/{index-8f7870bb.js → index-0079013c.js} +4 -2
  54. package/dist/cjs/index-0079013c.js.map +1 -0
  55. package/dist/cjs/{index-8ad0cd9d.js → index-b7d9268e.js} +3 -2
  56. package/dist/cjs/index-b7d9268e.js.map +1 -0
  57. package/dist/cjs/index.cjs.js +1 -1
  58. package/dist/cjs/loader.cjs.js +2 -2
  59. package/dist/cjs/pds-accordion.cjs.entry.js +2 -2
  60. package/dist/cjs/pds-avatar.cjs.entry.js +2 -2
  61. package/dist/cjs/pds-box.cjs.entry.js +1 -1
  62. package/dist/cjs/pds-button.cjs.entry.js +5 -3
  63. package/dist/cjs/pds-button.cjs.entry.js.map +1 -1
  64. package/dist/cjs/pds-checkbox.cjs.entry.js +7 -6
  65. package/dist/cjs/pds-checkbox.cjs.entry.js.map +1 -1
  66. package/dist/cjs/pds-chip.cjs.entry.js +5 -5
  67. package/dist/cjs/pds-chip.cjs.entry.js.map +1 -1
  68. package/dist/cjs/pds-copytext.cjs.entry.js +3 -3
  69. package/dist/cjs/pds-copytext.cjs.entry.js.map +1 -1
  70. package/dist/cjs/pds-divider.cjs.entry.js +2 -2
  71. package/dist/cjs/pds-divider.cjs.entry.js.map +1 -1
  72. package/dist/cjs/pds-icon.cjs.entry.js +1 -1
  73. package/dist/cjs/pds-image.cjs.entry.js +3 -3
  74. package/dist/cjs/pds-image.cjs.entry.js.map +1 -1
  75. package/dist/cjs/pds-input.cjs.entry.js +7 -6
  76. package/dist/cjs/pds-input.cjs.entry.js.map +1 -1
  77. package/dist/cjs/{pds-label-35369959.js → pds-label-05f073ea.js} +2 -2
  78. package/dist/cjs/{pds-label-35369959.js.map → pds-label-05f073ea.js.map} +1 -1
  79. package/dist/cjs/pds-link.cjs.entry.js +4 -4
  80. package/dist/cjs/pds-link.cjs.entry.js.map +1 -1
  81. package/dist/cjs/pds-loader.cjs.entry.js +2 -2
  82. package/dist/cjs/pds-popover.cjs.entry.js +72 -0
  83. package/dist/cjs/pds-popover.cjs.entry.js.map +1 -0
  84. package/dist/cjs/pds-progress.cjs.entry.js +2 -2
  85. package/dist/cjs/pds-radio.cjs.entry.js +9 -8
  86. package/dist/cjs/pds-radio.cjs.entry.js.map +1 -1
  87. package/dist/cjs/pds-row.cjs.entry.js +2 -2
  88. package/dist/cjs/pds-select.cjs.entry.js +131 -0
  89. package/dist/cjs/pds-select.cjs.entry.js.map +1 -0
  90. package/dist/cjs/pds-sortable-item.cjs.entry.js +3 -3
  91. package/dist/cjs/pds-sortable.cjs.entry.js +2 -2
  92. package/dist/cjs/pds-switch.cjs.entry.js +7 -9
  93. package/dist/cjs/pds-switch.cjs.entry.js.map +1 -1
  94. package/dist/cjs/pds-tab.cjs.entry.js +4 -4
  95. package/dist/cjs/pds-table-body.cjs.entry.js +2 -2
  96. package/dist/cjs/pds-table-cell.cjs.entry.js +3 -3
  97. package/dist/cjs/pds-table-head-cell.cjs.entry.js +4 -4
  98. package/dist/cjs/pds-table-head.cjs.entry.js +2 -2
  99. package/dist/cjs/pds-table-row.cjs.entry.js +2 -2
  100. package/dist/cjs/pds-table.cjs.entry.js +2 -2
  101. package/dist/cjs/pds-tabpanel.cjs.entry.js +2 -2
  102. package/dist/cjs/pds-tabs.cjs.entry.js +2 -2
  103. package/dist/cjs/pds-text.cjs.entry.js +37 -0
  104. package/dist/cjs/pds-text.cjs.entry.js.map +1 -0
  105. package/dist/cjs/pds-textarea.cjs.entry.js +8 -7
  106. package/dist/cjs/pds-textarea.cjs.entry.js.map +1 -1
  107. package/dist/cjs/pds-tooltip.cjs.entry.js +3 -3
  108. package/dist/cjs/pine-core.cjs.js +2 -2
  109. package/dist/collection/collection-manifest.json +3 -0
  110. package/dist/collection/components/pds-button/pds-button.js +20 -1
  111. package/dist/collection/components/pds-button/pds-button.js.map +1 -1
  112. package/dist/collection/components/pds-button/stories/pds-button.stories.js +8 -1
  113. package/dist/collection/components/pds-checkbox/pds-checkbox.css +9 -1
  114. package/dist/collection/components/pds-checkbox/pds-checkbox.js +4 -3
  115. package/dist/collection/components/pds-checkbox/pds-checkbox.js.map +1 -1
  116. package/dist/collection/components/pds-chip/pds-chip.js +26 -26
  117. package/dist/collection/components/pds-chip/pds-chip.js.map +1 -1
  118. package/dist/collection/components/pds-copytext/pds-copytext.js +4 -4
  119. package/dist/collection/components/pds-copytext/pds-copytext.js.map +1 -1
  120. package/dist/collection/components/pds-divider/pds-divider.js +2 -2
  121. package/dist/collection/components/pds-divider/pds-divider.js.map +1 -1
  122. package/dist/collection/components/pds-image/pds-image.js +13 -7
  123. package/dist/collection/components/pds-image/pds-image.js.map +1 -1
  124. package/dist/collection/components/pds-input/pds-input.css +6 -1
  125. package/dist/collection/components/pds-input/pds-input.js +4 -3
  126. package/dist/collection/components/pds-input/pds-input.js.map +1 -1
  127. package/dist/collection/components/pds-link/pds-link.js +12 -9
  128. package/dist/collection/components/pds-link/pds-link.js.map +1 -1
  129. package/dist/collection/components/pds-loader/pds-loader.js +1 -1
  130. package/dist/collection/components/pds-popover/pds-popover.css +51 -0
  131. package/dist/collection/components/pds-popover/pds-popover.js +216 -0
  132. package/dist/collection/components/pds-popover/pds-popover.js.map +1 -0
  133. package/dist/collection/components/pds-popover/stories/pds-popover.stories.js +45 -0
  134. package/dist/collection/components/pds-progress/pds-progress.js +1 -1
  135. package/dist/collection/components/pds-radio/pds-radio.css +9 -1
  136. package/dist/collection/components/pds-radio/pds-radio.js +41 -40
  137. package/dist/collection/components/pds-radio/pds-radio.js.map +1 -1
  138. package/dist/collection/components/pds-row/pds-row.js +1 -1
  139. package/dist/collection/components/pds-select/pds-select.css +126 -0
  140. package/dist/collection/components/pds-select/pds-select.js +360 -0
  141. package/dist/collection/components/pds-select/pds-select.js.map +1 -0
  142. package/dist/collection/components/pds-select/stories/pds-select.stories.js +153 -0
  143. package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js +1 -1
  144. package/dist/collection/components/pds-sortable/pds-sortable.js +1 -1
  145. package/dist/collection/components/pds-switch/pds-switch.css +10 -6
  146. package/dist/collection/components/pds-switch/pds-switch.js +14 -16
  147. package/dist/collection/components/pds-switch/pds-switch.js.map +1 -1
  148. package/dist/collection/components/pds-switch/stories/pds-switch.stories.js +2 -2
  149. package/dist/collection/components/pds-table/pds-table-body/pds-table-body.js +1 -1
  150. package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.js +2 -2
  151. package/dist/collection/components/pds-table/pds-table-head/pds-table-head.js +1 -1
  152. package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.js +2 -2
  153. package/dist/collection/components/pds-table/pds-table-row/pds-table-row.js +1 -1
  154. package/dist/collection/components/pds-table/pds-table.js +1 -1
  155. package/dist/collection/components/pds-tabs/pds-tab/pds-tab.js +3 -3
  156. package/dist/collection/components/pds-tabs/pds-tab/stories/pds-tab.stories.js +19 -0
  157. package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.js +1 -1
  158. package/dist/collection/components/pds-tabs/pds-tabpanel/stories/pds-tabpanel.stories.js +19 -0
  159. package/dist/collection/components/pds-tabs/pds-tabs.js +1 -1
  160. package/dist/collection/components/pds-tabs/stories/pds-tabs.stories.js +18 -18
  161. package/dist/collection/components/pds-text/pds-text.css +218 -0
  162. package/dist/collection/components/pds-text/pds-text.js +143 -0
  163. package/dist/collection/components/pds-text/pds-text.js.map +1 -0
  164. package/dist/collection/components/pds-text/stories/pds-text.stories.js +111 -0
  165. package/dist/collection/components/pds-textarea/pds-textarea.css +4 -0
  166. package/dist/collection/components/pds-textarea/pds-textarea.js +5 -4
  167. package/dist/collection/components/pds-textarea/pds-textarea.js.map +1 -1
  168. package/dist/collection/components/pds-textarea/stories/pds-textarea.stories.js +2 -2
  169. package/dist/collection/components/pds-tooltip/pds-tooltip.js +2 -2
  170. package/dist/collection/utils/types.js.map +1 -1
  171. package/dist/docs.json +958 -47
  172. package/dist/esm/{index-5e7a8a36.js → index-3ca52e8f.js} +4 -3
  173. package/dist/esm/index-3ca52e8f.js.map +1 -0
  174. package/dist/esm/{index-8b335bbb.js → index-b1696fed.js} +3 -2
  175. package/dist/esm/index-b1696fed.js.map +1 -0
  176. package/dist/esm/index.js +1 -1
  177. package/dist/esm/loader.js +3 -3
  178. package/dist/esm/pds-accordion.entry.js +2 -2
  179. package/dist/esm/pds-avatar.entry.js +2 -2
  180. package/dist/esm/pds-box.entry.js +1 -1
  181. package/dist/esm/pds-button.entry.js +5 -3
  182. package/dist/esm/pds-button.entry.js.map +1 -1
  183. package/dist/esm/pds-checkbox.entry.js +7 -6
  184. package/dist/esm/pds-checkbox.entry.js.map +1 -1
  185. package/dist/esm/pds-chip.entry.js +5 -5
  186. package/dist/esm/pds-chip.entry.js.map +1 -1
  187. package/dist/esm/pds-copytext.entry.js +3 -3
  188. package/dist/esm/pds-copytext.entry.js.map +1 -1
  189. package/dist/esm/pds-divider.entry.js +2 -2
  190. package/dist/esm/pds-divider.entry.js.map +1 -1
  191. package/dist/esm/pds-icon.entry.js +1 -1
  192. package/dist/esm/pds-image.entry.js +3 -3
  193. package/dist/esm/pds-image.entry.js.map +1 -1
  194. package/dist/esm/pds-input.entry.js +7 -6
  195. package/dist/esm/pds-input.entry.js.map +1 -1
  196. package/dist/esm/{pds-label-1f80d632.js → pds-label-62469596.js} +2 -2
  197. package/dist/esm/{pds-label-1f80d632.js.map → pds-label-62469596.js.map} +1 -1
  198. package/dist/esm/pds-link.entry.js +4 -4
  199. package/dist/esm/pds-link.entry.js.map +1 -1
  200. package/dist/esm/pds-loader.entry.js +2 -2
  201. package/dist/esm/pds-popover.entry.js +68 -0
  202. package/dist/esm/pds-popover.entry.js.map +1 -0
  203. package/dist/esm/pds-progress.entry.js +2 -2
  204. package/dist/esm/pds-radio.entry.js +9 -8
  205. package/dist/esm/pds-radio.entry.js.map +1 -1
  206. package/dist/esm/pds-row.entry.js +2 -2
  207. package/dist/esm/pds-select.entry.js +127 -0
  208. package/dist/esm/pds-select.entry.js.map +1 -0
  209. package/dist/esm/pds-sortable-item.entry.js +3 -3
  210. package/dist/esm/pds-sortable.entry.js +2 -2
  211. package/dist/esm/pds-switch.entry.js +7 -9
  212. package/dist/esm/pds-switch.entry.js.map +1 -1
  213. package/dist/esm/pds-tab.entry.js +4 -4
  214. package/dist/esm/pds-table-body.entry.js +2 -2
  215. package/dist/esm/pds-table-cell.entry.js +3 -3
  216. package/dist/esm/pds-table-head-cell.entry.js +4 -4
  217. package/dist/esm/pds-table-head.entry.js +2 -2
  218. package/dist/esm/pds-table-row.entry.js +2 -2
  219. package/dist/esm/pds-table.entry.js +2 -2
  220. package/dist/esm/pds-tabpanel.entry.js +2 -2
  221. package/dist/esm/pds-tabs.entry.js +2 -2
  222. package/dist/esm/pds-text.entry.js +33 -0
  223. package/dist/esm/pds-text.entry.js.map +1 -0
  224. package/dist/esm/pds-textarea.entry.js +8 -7
  225. package/dist/esm/pds-textarea.entry.js.map +1 -1
  226. package/dist/esm/pds-tooltip.entry.js +3 -3
  227. package/dist/esm/pine-core.js +3 -3
  228. package/dist/esm-es5/index-3ca52e8f.js +2 -0
  229. package/dist/esm-es5/index-3ca52e8f.js.map +1 -0
  230. package/dist/esm-es5/{index-8b335bbb.js → index-b1696fed.js} +3 -3
  231. package/dist/esm-es5/index-b1696fed.js.map +1 -0
  232. package/dist/esm-es5/index.js +1 -1
  233. package/dist/esm-es5/loader.js +1 -1
  234. package/dist/esm-es5/loader.js.map +1 -1
  235. package/dist/esm-es5/pds-accordion.entry.js +1 -1
  236. package/dist/esm-es5/pds-avatar.entry.js +1 -1
  237. package/dist/esm-es5/pds-box.entry.js +1 -1
  238. package/dist/esm-es5/pds-button.entry.js +1 -1
  239. package/dist/esm-es5/pds-button.entry.js.map +1 -1
  240. package/dist/esm-es5/pds-checkbox.entry.js +1 -1
  241. package/dist/esm-es5/pds-checkbox.entry.js.map +1 -1
  242. package/dist/esm-es5/pds-chip.entry.js +1 -1
  243. package/dist/esm-es5/pds-chip.entry.js.map +1 -1
  244. package/dist/esm-es5/pds-copytext.entry.js +1 -1
  245. package/dist/esm-es5/pds-copytext.entry.js.map +1 -1
  246. package/dist/esm-es5/pds-divider.entry.js +1 -1
  247. package/dist/esm-es5/pds-divider.entry.js.map +1 -1
  248. package/dist/esm-es5/pds-icon.entry.js +1 -1
  249. package/dist/esm-es5/pds-image.entry.js +1 -1
  250. package/dist/esm-es5/pds-image.entry.js.map +1 -1
  251. package/dist/esm-es5/pds-input.entry.js +1 -1
  252. package/dist/esm-es5/pds-input.entry.js.map +1 -1
  253. package/dist/esm-es5/{pds-label-1f80d632.js → pds-label-62469596.js} +2 -2
  254. package/dist/esm-es5/pds-link.entry.js +1 -1
  255. package/dist/esm-es5/pds-link.entry.js.map +1 -1
  256. package/dist/esm-es5/pds-loader.entry.js +1 -1
  257. package/dist/esm-es5/pds-popover.entry.js +2 -0
  258. package/dist/esm-es5/pds-popover.entry.js.map +1 -0
  259. package/dist/esm-es5/pds-progress.entry.js +1 -1
  260. package/dist/esm-es5/pds-radio.entry.js +1 -1
  261. package/dist/esm-es5/pds-radio.entry.js.map +1 -1
  262. package/dist/esm-es5/pds-row.entry.js +1 -1
  263. package/dist/esm-es5/pds-select.entry.js +2 -0
  264. package/dist/esm-es5/pds-select.entry.js.map +1 -0
  265. package/dist/esm-es5/pds-sortable-item.entry.js +1 -1
  266. package/dist/esm-es5/pds-sortable.entry.js +2 -2
  267. package/dist/esm-es5/pds-switch.entry.js +1 -1
  268. package/dist/esm-es5/pds-switch.entry.js.map +1 -1
  269. package/dist/esm-es5/pds-tab.entry.js +1 -1
  270. package/dist/esm-es5/pds-table-body.entry.js +1 -1
  271. package/dist/esm-es5/pds-table-cell.entry.js +1 -1
  272. package/dist/esm-es5/pds-table-head-cell.entry.js +1 -1
  273. package/dist/esm-es5/pds-table-head.entry.js +1 -1
  274. package/dist/esm-es5/pds-table-row.entry.js +1 -1
  275. package/dist/esm-es5/pds-table.entry.js +1 -1
  276. package/dist/esm-es5/pds-tabpanel.entry.js +1 -1
  277. package/dist/esm-es5/pds-tabs.entry.js +1 -1
  278. package/dist/esm-es5/pds-text.entry.js +2 -0
  279. package/dist/esm-es5/pds-text.entry.js.map +1 -0
  280. package/dist/esm-es5/pds-textarea.entry.js +1 -1
  281. package/dist/esm-es5/pds-textarea.entry.js.map +1 -1
  282. package/dist/esm-es5/pds-tooltip.entry.js +1 -1
  283. package/dist/esm-es5/pine-core.js +1 -1
  284. package/dist/esm-es5/pine-core.js.map +1 -1
  285. package/dist/pine-core/index.esm.js +1 -1
  286. package/dist/pine-core/{p-053ca95a.entry.js → p-00cccccb.entry.js} +2 -2
  287. package/dist/pine-core/p-06513fe5.entry.js +2 -0
  288. package/dist/pine-core/p-06513fe5.entry.js.map +1 -0
  289. package/dist/pine-core/p-06593922.system.entry.js +2 -0
  290. package/dist/pine-core/p-06593922.system.entry.js.map +1 -0
  291. package/dist/pine-core/{p-e4a1b3f5.system.entry.js → p-08c4f190.system.entry.js} +2 -2
  292. package/dist/pine-core/{p-de0beb45.system.entry.js → p-09d83447.system.entry.js} +2 -2
  293. package/dist/pine-core/{p-de0beb45.system.entry.js.map → p-09d83447.system.entry.js.map} +1 -1
  294. package/dist/pine-core/{p-d464f04f.entry.js → p-0ac04129.entry.js} +2 -2
  295. package/dist/pine-core/{p-d464f04f.entry.js.map → p-0ac04129.entry.js.map} +1 -1
  296. package/dist/pine-core/{p-b78b3492.entry.js → p-0ff89cf4.entry.js} +2 -2
  297. package/dist/pine-core/{p-b78b3492.entry.js.map → p-0ff89cf4.entry.js.map} +1 -1
  298. package/dist/pine-core/p-1010d12b.system.entry.js +2 -0
  299. package/dist/pine-core/p-1010d12b.system.entry.js.map +1 -0
  300. package/dist/pine-core/p-110b2e03.entry.js +2 -0
  301. package/dist/pine-core/p-110b2e03.entry.js.map +1 -0
  302. package/dist/pine-core/{p-143bbe94.system.entry.js → p-172464c1.system.entry.js} +2 -2
  303. package/dist/pine-core/{p-4e39bbd7.system.entry.js → p-1a1a76ea.system.entry.js} +2 -2
  304. package/dist/pine-core/{p-89101362.system.entry.js → p-1df1990d.system.entry.js} +2 -2
  305. package/dist/pine-core/{p-1ca76e21.entry.js → p-1e80f274.entry.js} +2 -2
  306. package/dist/pine-core/{p-3b780711.entry.js → p-239891e6.entry.js} +2 -2
  307. package/dist/pine-core/p-34f84589.entry.js +2 -0
  308. package/dist/pine-core/p-34f84589.entry.js.map +1 -0
  309. package/dist/pine-core/{p-5fb6ab2f.entry.js → p-3acb18ad.entry.js} +2 -2
  310. package/dist/pine-core/{p-330eda0c.entry.js → p-3e4225fc.entry.js} +2 -2
  311. package/dist/pine-core/{p-48f0a5a4.entry.js → p-3ff2642d.entry.js} +2 -2
  312. package/dist/pine-core/{p-48f0a5a4.entry.js.map → p-3ff2642d.entry.js.map} +1 -1
  313. package/dist/pine-core/{p-1c0993d9.system.entry.js → p-4043cf6e.system.entry.js} +2 -2
  314. package/dist/pine-core/{p-1c0993d9.system.entry.js.map → p-4043cf6e.system.entry.js.map} +1 -1
  315. package/dist/pine-core/{p-4c0c0b2d.system.js → p-45cf2585.system.js} +3 -3
  316. package/dist/pine-core/p-45cf2585.system.js.map +1 -0
  317. package/dist/pine-core/{p-136ea1e9.entry.js → p-4d22b02c.entry.js} +2 -2
  318. package/dist/pine-core/p-4f9b1945.entry.js +2 -0
  319. package/dist/pine-core/p-4f9b1945.entry.js.map +1 -0
  320. package/dist/pine-core/{p-70e5e466.system.entry.js → p-50918693.system.entry.js} +2 -2
  321. package/dist/pine-core/p-59214c8b.system.entry.js +2 -0
  322. package/dist/pine-core/p-59214c8b.system.entry.js.map +1 -0
  323. package/dist/pine-core/{p-05d140a3.system.entry.js → p-59327483.system.entry.js} +2 -2
  324. package/dist/pine-core/p-59a43f75.system.entry.js +2 -0
  325. package/dist/pine-core/p-59a43f75.system.entry.js.map +1 -0
  326. package/dist/pine-core/{p-0200fce9.entry.js → p-59fcea0f.entry.js} +2 -2
  327. package/dist/pine-core/p-5c04aee0.system.js +2 -0
  328. package/dist/pine-core/p-5c04aee0.system.js.map +1 -0
  329. package/dist/pine-core/{p-02f06002.system.entry.js → p-5c942465.system.entry.js} +2 -2
  330. package/dist/pine-core/{p-30d979d3.entry.js → p-624de926.entry.js} +2 -2
  331. package/dist/pine-core/{p-e2d793eb.entry.js → p-65229490.entry.js} +2 -2
  332. package/dist/pine-core/{p-a18ff34f.entry.js → p-6e079be2.entry.js} +2 -2
  333. package/dist/pine-core/p-6f8f471b.system.entry.js +2 -0
  334. package/dist/pine-core/p-6f8f471b.system.entry.js.map +1 -0
  335. package/dist/pine-core/{p-62ebfe42.entry.js → p-760e1c32.entry.js} +2 -2
  336. package/dist/pine-core/{p-62ebfe42.entry.js.map → p-760e1c32.entry.js.map} +1 -1
  337. package/dist/pine-core/{p-57dd9a98.system.entry.js → p-81bdf676.system.entry.js} +2 -2
  338. package/dist/pine-core/{p-d618d51b.entry.js → p-84a4930d.entry.js} +2 -2
  339. package/dist/pine-core/{p-4e6e2052.js → p-87fe352f.js} +3 -3
  340. package/dist/pine-core/p-87fe352f.js.map +1 -0
  341. package/dist/pine-core/{p-188be548.entry.js → p-88410213.entry.js} +2 -2
  342. package/dist/pine-core/p-88702fa2.entry.js +2 -0
  343. package/dist/pine-core/p-88702fa2.entry.js.map +1 -0
  344. package/dist/pine-core/{p-82a001ac.system.entry.js → p-88edcb41.system.entry.js} +2 -2
  345. package/dist/pine-core/{p-c5991956.system.entry.js → p-8ae84655.system.entry.js} +2 -2
  346. package/dist/pine-core/{p-c5991956.system.entry.js.map → p-8ae84655.system.entry.js.map} +1 -1
  347. package/dist/pine-core/{p-7d6d3e2b.entry.js → p-9487df53.entry.js} +2 -2
  348. package/dist/pine-core/{p-6deaad03.entry.js → p-953e6fde.entry.js} +2 -2
  349. package/dist/pine-core/{p-6deaad03.entry.js.map → p-953e6fde.entry.js.map} +1 -1
  350. package/dist/pine-core/p-9db668f2.system.entry.js +2 -0
  351. package/dist/pine-core/p-9db668f2.system.entry.js.map +1 -0
  352. package/dist/pine-core/{p-3fc1efe7.system.entry.js → p-a2726d3b.system.entry.js} +2 -2
  353. package/dist/pine-core/{p-5f23f121.entry.js → p-a51098dd.entry.js} +2 -2
  354. package/dist/pine-core/{p-3ec7fac1.js → p-a9038f7f.js} +2 -2
  355. package/dist/pine-core/{p-9dec3592.system.entry.js → p-a9e02a6f.system.entry.js} +2 -2
  356. package/dist/pine-core/{p-5f13c97b.entry.js → p-b7890a73.system.entry.js} +2 -2
  357. package/dist/pine-core/p-b7890a73.system.entry.js.map +1 -0
  358. package/dist/pine-core/{p-0efee237.system.entry.js → p-b7edbe43.system.entry.js} +2 -2
  359. package/dist/pine-core/{p-0e310504.system.entry.js → p-b95522e6.system.entry.js} +2 -2
  360. package/dist/pine-core/{p-94a0fd6e.entry.js → p-bbd19258.entry.js} +2 -2
  361. package/dist/pine-core/{p-e7648adc.system.entry.js → p-c4aec6ce.system.entry.js} +2 -2
  362. package/dist/pine-core/{p-e7648adc.system.entry.js.map → p-c4aec6ce.system.entry.js.map} +1 -1
  363. package/dist/pine-core/p-cbf2acbd.system.entry.js +2 -0
  364. package/dist/pine-core/p-cbf2acbd.system.entry.js.map +1 -0
  365. package/dist/pine-core/{p-1b611a91.system.entry.js → p-ce91ca6a.system.entry.js} +2 -2
  366. package/dist/pine-core/{p-1b611a91.system.entry.js.map → p-ce91ca6a.system.entry.js.map} +1 -1
  367. package/dist/pine-core/{p-c8b0ea02.entry.js → p-ceb66096.entry.js} +3 -3
  368. package/dist/pine-core/{p-be998f90.system.entry.js → p-d3365f49.system.entry.js} +3 -3
  369. package/dist/pine-core/p-d37d900e.entry.js +2 -0
  370. package/dist/pine-core/p-d37d900e.entry.js.map +1 -0
  371. package/dist/pine-core/p-d5c90be4.entry.js +2 -0
  372. package/dist/pine-core/p-d5c90be4.entry.js.map +1 -0
  373. package/dist/pine-core/{p-e9ca5a4e.entry.js → p-d6d8a21a.entry.js} +2 -2
  374. package/dist/pine-core/p-db622f8f.system.js +2 -0
  375. package/dist/pine-core/p-dc4a6d88.js +2 -0
  376. package/dist/pine-core/p-dc4a6d88.js.map +1 -0
  377. package/dist/pine-core/{p-a15c9c4f.entry.js → p-e2a673e8.entry.js} +2 -2
  378. package/dist/pine-core/{p-f408c34a.system.js → p-e3fab4be.system.js} +2 -2
  379. package/dist/pine-core/{p-f6e72c06.system.entry.js → p-e64594ae.system.entry.js} +2 -2
  380. package/dist/pine-core/p-e90b2c75.system.js +2 -0
  381. package/dist/pine-core/p-e90b2c75.system.js.map +1 -0
  382. package/dist/pine-core/p-e936e948.entry.js +2 -0
  383. package/dist/pine-core/p-e936e948.entry.js.map +1 -0
  384. package/dist/pine-core/{p-5c90a600.entry.js → p-ebdaf3ad.entry.js} +2 -2
  385. package/dist/pine-core/{p-c18464e8.system.entry.js → p-ece8530d.system.entry.js} +2 -2
  386. package/dist/pine-core/{p-9c294ea2.system.entry.js → p-ee21fa25.system.entry.js} +2 -2
  387. package/dist/pine-core/p-efbe2dc5.system.entry.js +2 -0
  388. package/dist/pine-core/p-efbe2dc5.system.entry.js.map +1 -0
  389. package/dist/pine-core/{p-a4b85fb8.system.entry.js → p-f16ef73c.system.entry.js} +2 -2
  390. package/dist/pine-core/{p-33a94e8c.system.entry.js → p-f9719887.system.entry.js} +2 -2
  391. package/dist/pine-core/p-ff20b191.entry.js +2 -0
  392. package/dist/pine-core/p-ff20b191.entry.js.map +1 -0
  393. package/dist/pine-core/pine-core.esm.js +1 -1
  394. package/dist/pine-core/pine-core.esm.js.map +1 -1
  395. package/dist/pine-core/pine-core.js +1 -1
  396. package/dist/pine-core/svg/file-add.svg +1 -1
  397. package/dist/types/components/pds-button/pds-button.d.ts +2 -0
  398. package/dist/types/components/pds-chip/pds-chip.d.ts +8 -8
  399. package/dist/types/components/pds-copytext/pds-copytext.d.ts +3 -3
  400. package/dist/types/components/pds-divider/pds-divider.d.ts +1 -1
  401. package/dist/types/components/pds-image/pds-image.d.ts +7 -3
  402. package/dist/types/components/pds-link/pds-link.d.ts +7 -11
  403. package/dist/types/components/pds-popover/pds-popover.d.ts +45 -0
  404. package/dist/types/components/pds-radio/pds-radio.d.ts +11 -11
  405. package/dist/types/components/pds-select/pds-select.d.ts +91 -0
  406. package/dist/types/components/pds-switch/pds-switch.d.ts +10 -13
  407. package/dist/types/components/pds-text/pds-text.d.ts +27 -0
  408. package/dist/types/components.d.ts +395 -49
  409. package/dist/types/utils/types.d.ts +1 -1
  410. package/hydrate/index.js +330 -63
  411. package/hydrate/index.mjs +330 -63
  412. package/package.json +2 -2
  413. package/dist/cjs/index-8ad0cd9d.js.map +0 -1
  414. package/dist/cjs/index-8f7870bb.js.map +0 -1
  415. package/dist/esm/index-5e7a8a36.js.map +0 -1
  416. package/dist/esm/index-8b335bbb.js.map +0 -1
  417. package/dist/esm-es5/index-5e7a8a36.js +0 -2
  418. package/dist/esm-es5/index-5e7a8a36.js.map +0 -1
  419. package/dist/esm-es5/index-8b335bbb.js.map +0 -1
  420. package/dist/pine-core/p-0186301f.entry.js +0 -2
  421. package/dist/pine-core/p-0186301f.entry.js.map +0 -1
  422. package/dist/pine-core/p-0630403a.entry.js +0 -2
  423. package/dist/pine-core/p-0630403a.entry.js.map +0 -1
  424. package/dist/pine-core/p-102222fd.entry.js +0 -2
  425. package/dist/pine-core/p-102222fd.entry.js.map +0 -1
  426. package/dist/pine-core/p-242ccc24.system.entry.js +0 -2
  427. package/dist/pine-core/p-242ccc24.system.entry.js.map +0 -1
  428. package/dist/pine-core/p-3cad7587.entry.js +0 -2
  429. package/dist/pine-core/p-3cad7587.entry.js.map +0 -1
  430. package/dist/pine-core/p-3e0449c5.js +0 -2
  431. package/dist/pine-core/p-3e0449c5.js.map +0 -1
  432. package/dist/pine-core/p-4c0c0b2d.system.js.map +0 -1
  433. package/dist/pine-core/p-4e6e2052.js.map +0 -1
  434. package/dist/pine-core/p-51e94e03.system.js +0 -2
  435. package/dist/pine-core/p-51e94e03.system.js.map +0 -1
  436. package/dist/pine-core/p-55f8a9e4.system.entry.js +0 -2
  437. package/dist/pine-core/p-55f8a9e4.system.entry.js.map +0 -1
  438. package/dist/pine-core/p-5b43ff39.system.entry.js +0 -2
  439. package/dist/pine-core/p-5b43ff39.system.entry.js.map +0 -1
  440. package/dist/pine-core/p-5f13c97b.entry.js.map +0 -1
  441. package/dist/pine-core/p-6bcd89dc.system.js +0 -2
  442. package/dist/pine-core/p-6bcd89dc.system.js.map +0 -1
  443. package/dist/pine-core/p-82096fe4.system.entry.js +0 -2
  444. package/dist/pine-core/p-82096fe4.system.entry.js.map +0 -1
  445. package/dist/pine-core/p-8d34339d.system.js +0 -2
  446. package/dist/pine-core/p-d438c2c8.system.entry.js +0 -2
  447. package/dist/pine-core/p-d438c2c8.system.entry.js.map +0 -1
  448. package/dist/pine-core/p-e22b4427.system.entry.js +0 -2
  449. package/dist/pine-core/p-e22b4427.system.entry.js.map +0 -1
  450. package/dist/pine-core/p-efca871b.entry.js +0 -2
  451. package/dist/pine-core/p-efca871b.entry.js.map +0 -1
  452. /package/dist/esm-es5/{pds-label-1f80d632.js.map → pds-label-62469596.js.map} +0 -0
  453. /package/dist/pine-core/{p-053ca95a.entry.js.map → p-00cccccb.entry.js.map} +0 -0
  454. /package/dist/pine-core/{p-e4a1b3f5.system.entry.js.map → p-08c4f190.system.entry.js.map} +0 -0
  455. /package/dist/pine-core/{p-143bbe94.system.entry.js.map → p-172464c1.system.entry.js.map} +0 -0
  456. /package/dist/pine-core/{p-4e39bbd7.system.entry.js.map → p-1a1a76ea.system.entry.js.map} +0 -0
  457. /package/dist/pine-core/{p-89101362.system.entry.js.map → p-1df1990d.system.entry.js.map} +0 -0
  458. /package/dist/pine-core/{p-1ca76e21.entry.js.map → p-1e80f274.entry.js.map} +0 -0
  459. /package/dist/pine-core/{p-3b780711.entry.js.map → p-239891e6.entry.js.map} +0 -0
  460. /package/dist/pine-core/{p-5fb6ab2f.entry.js.map → p-3acb18ad.entry.js.map} +0 -0
  461. /package/dist/pine-core/{p-330eda0c.entry.js.map → p-3e4225fc.entry.js.map} +0 -0
  462. /package/dist/pine-core/{p-136ea1e9.entry.js.map → p-4d22b02c.entry.js.map} +0 -0
  463. /package/dist/pine-core/{p-70e5e466.system.entry.js.map → p-50918693.system.entry.js.map} +0 -0
  464. /package/dist/pine-core/{p-05d140a3.system.entry.js.map → p-59327483.system.entry.js.map} +0 -0
  465. /package/dist/pine-core/{p-0200fce9.entry.js.map → p-59fcea0f.entry.js.map} +0 -0
  466. /package/dist/pine-core/{p-02f06002.system.entry.js.map → p-5c942465.system.entry.js.map} +0 -0
  467. /package/dist/pine-core/{p-30d979d3.entry.js.map → p-624de926.entry.js.map} +0 -0
  468. /package/dist/pine-core/{p-e2d793eb.entry.js.map → p-65229490.entry.js.map} +0 -0
  469. /package/dist/pine-core/{p-a18ff34f.entry.js.map → p-6e079be2.entry.js.map} +0 -0
  470. /package/dist/pine-core/{p-57dd9a98.system.entry.js.map → p-81bdf676.system.entry.js.map} +0 -0
  471. /package/dist/pine-core/{p-d618d51b.entry.js.map → p-84a4930d.entry.js.map} +0 -0
  472. /package/dist/pine-core/{p-188be548.entry.js.map → p-88410213.entry.js.map} +0 -0
  473. /package/dist/pine-core/{p-82a001ac.system.entry.js.map → p-88edcb41.system.entry.js.map} +0 -0
  474. /package/dist/pine-core/{p-7d6d3e2b.entry.js.map → p-9487df53.entry.js.map} +0 -0
  475. /package/dist/pine-core/{p-3fc1efe7.system.entry.js.map → p-a2726d3b.system.entry.js.map} +0 -0
  476. /package/dist/pine-core/{p-5f23f121.entry.js.map → p-a51098dd.entry.js.map} +0 -0
  477. /package/dist/pine-core/{p-3ec7fac1.js.map → p-a9038f7f.js.map} +0 -0
  478. /package/dist/pine-core/{p-9dec3592.system.entry.js.map → p-a9e02a6f.system.entry.js.map} +0 -0
  479. /package/dist/pine-core/{p-0efee237.system.entry.js.map → p-b7edbe43.system.entry.js.map} +0 -0
  480. /package/dist/pine-core/{p-0e310504.system.entry.js.map → p-b95522e6.system.entry.js.map} +0 -0
  481. /package/dist/pine-core/{p-94a0fd6e.entry.js.map → p-bbd19258.entry.js.map} +0 -0
  482. /package/dist/pine-core/{p-c8b0ea02.entry.js.map → p-ceb66096.entry.js.map} +0 -0
  483. /package/dist/pine-core/{p-be998f90.system.entry.js.map → p-d3365f49.system.entry.js.map} +0 -0
  484. /package/dist/pine-core/{p-e9ca5a4e.entry.js.map → p-d6d8a21a.entry.js.map} +0 -0
  485. /package/dist/pine-core/{p-8d34339d.system.js.map → p-db622f8f.system.js.map} +0 -0
  486. /package/dist/pine-core/{p-a15c9c4f.entry.js.map → p-e2a673e8.entry.js.map} +0 -0
  487. /package/dist/pine-core/{p-f408c34a.system.js.map → p-e3fab4be.system.js.map} +0 -0
  488. /package/dist/pine-core/{p-f6e72c06.system.entry.js.map → p-e64594ae.system.entry.js.map} +0 -0
  489. /package/dist/pine-core/{p-5c90a600.entry.js.map → p-ebdaf3ad.entry.js.map} +0 -0
  490. /package/dist/pine-core/{p-c18464e8.system.entry.js.map → p-ece8530d.system.entry.js.map} +0 -0
  491. /package/dist/pine-core/{p-9c294ea2.system.entry.js.map → p-ee21fa25.system.entry.js.map} +0 -0
  492. /package/dist/pine-core/{p-a4b85fb8.system.entry.js.map → p-f16ef73c.system.entry.js.map} +0 -0
  493. /package/dist/pine-core/{p-33a94e8c.system.entry.js.map → p-f9719887.system.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"pds-chip.js","sourceRoot":"","sources":["../../../src/components/pds-chip/pds-chip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAgB,MAAM,eAAe,CAAC;AAO9E,MAAM,OAAO,OAAO;;QAwCV,qBAAgB,GAAG,GAAG,EAAE;YAC9B,IAAI,CAAC,gBAAgB,CAAC,IAAI,EAAE,CAAC;QAC/B,CAAC,CAAA;;yBAhCqF,SAAS;mBAMjF,KAAK;;qBAWH,KAAK;uBAM0B,MAAM;;IAW7C,UAAU;QAChB,MAAM,UAAU,GAAG,CAAC,UAAU,CAAC,CAAC;QAEhC,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;YACf,UAAU,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;QACrC,CAAC;QACD,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACjB,UAAU,CAAC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC;QAC/C,CAAC;QACD,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;YACnB,UAAU,CAAC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC;QACjD,CAAC;QAED,OAAO,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC;IAEO,cAAc;QACpB,MAAM,UAAU,GAAG,IAAI,CAAC,OAAO,KAAK,UAAU,CAAC;QAC/C,MAAM,WAAW,GAAG,UAAU,CAAC,CAAC,CAAC,CAC/B,cAAQ,KAAK,EAAC,kBAAkB,EAAC,IAAI,EAAC,QAAQ;YAC3C,IAAI,CAAC,GAAG,IAAI,SAAG,KAAK,EAAC,eAAe,iBAAa,MAAM,GAAK;YAC5D,IAAI,CAAC,KAAK;YACX,gBAAU,IAAI,EAAE,SAAS,EAAE,IAAI,EAAC,MAAM,iBAAa,MAAM,GAAY,CAC9D,CACV,CAAC,CAAC,CAAC,CACF,YAAM,KAAK,EAAC,iBAAiB;YAC1B,IAAI,CAAC,GAAG,IAAI,SAAG,KAAK,EAAC,eAAe,iBAAa,MAAM,GAAK;YAC5D,IAAI,CAAC,KAAK,CACN,CACR,CAAC;QAEF,OAAO,WAAW,CAAC;IACrB,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC,WAAW;YACjD,IAAI,CAAC,cAAc,EAAE;YACrB,IAAI,CAAC,OAAO,KAAK,KAAK,IAAI,CACzB,+DAAQ,KAAK,EAAC,iBAAiB,EAAC,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAE,IAAI,CAAC,gBAAgB,gBAAa,QAAQ;gBAC/F,iEAAU,IAAI,EAAE,MAAM,EAAE,IAAI,EAAC,MAAM,GAAY,CACxC,CACV,CACI,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { downSmall, remove } from '@pine-ds/icons/icons';\nimport { Component, Host, h, Prop, Event, EventEmitter } from '@stencil/core';\n\n@Component({\n tag: 'pds-chip',\n styleUrls: ['../../global/styles/base.scss', 'pds-chip.scss'],\n shadow: true,\n})\nexport class PdsChip {\n /**\n * A unique identifier used for the underlying component `id` attribute.\n */\n @Prop() componentId: string;\n\n /**\n * Sets the color scheme of the chip.\n * @defaultValue 'neutral'\n */\n @Prop() sentiment: 'accent' | 'danger' | 'info' | 'neutral' | 'success' | 'warning' = 'neutral';\n\n /**\n * Determines whether a dot should be displayed on the chip.\n * @defaultValue false\n */\n @Prop() dot = false;\n\n /**\n * Sets the text label content of the chip.\n */\n @Prop() label: string;\n\n /**\n * Determines whether the chip should be rendered in a larger size.\n * @defaultValue false\n */\n @Prop() large = false;\n\n /**\n * Sets the style variant of the chip.\n * @defaultValue 'text'\n */\n @Prop() variant: 'text' | 'tag' | 'dropdown' = 'text';\n\n /**\n * Event when close button is clicked on tag variant.\n */\n @Event() pdsTagCloseClick: EventEmitter;\n\n private handleCloseClick = () => {\n this.pdsTagCloseClick.emit();\n }\n\n private classNames() {\n const classNames = ['pds-chip'];\n\n if (this.large) {\n classNames.push('pds-chip--large');\n }\n if (this.variant) {\n classNames.push('pds-chip--' + this.variant);\n }\n if (this.sentiment) {\n classNames.push('pds-chip--' + this.sentiment);\n }\n\n return classNames.join(' ');\n }\n\n private setChipContent() {\n const isDropdown = this.variant === 'dropdown';\n const chipContent = isDropdown ? (\n <button class=\"pds-chip__button\" type=\"button\">\n {this.dot && <i class=\"pds-chip__dot\" aria-hidden=\"true\"></i>}\n {this.label}\n <pds-icon icon={downSmall} size=\"12px\" aria-hidden=\"true\"></pds-icon>\n </button>\n ) : (\n <span class=\"pds-chip__label\">\n {this.dot && <i class=\"pds-chip__dot\" aria-hidden=\"true\"></i>}\n {this.label}\n </span>\n );\n\n return chipContent;\n }\n\n render() {\n return (\n <Host class={this.classNames()} id={this.componentId}>\n {this.setChipContent()}\n {this.variant === 'tag' && (\n <button class=\"pds-chip__close\" type=\"button\" onClick={this.handleCloseClick} aria-label=\"Remove\">\n <pds-icon icon={remove} size=\"12px\"></pds-icon>\n </button>\n )}\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"pds-chip.js","sourceRoot":"","sources":["../../../src/components/pds-chip/pds-chip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAgB,MAAM,eAAe,CAAC;AAO9E,MAAM,OAAO,OAAO;;QAwCV,qBAAgB,GAAG,GAAG,EAAE;YAC9B,IAAI,CAAC,gBAAgB,CAAC,IAAI,EAAE,CAAC;QAC/B,CAAC,CAAC;;mBAhCY,KAAK;;qBAWH,KAAK;yBAMiE,SAAS;uBAMhD,MAAM;;IAW7C,UAAU;QAChB,MAAM,UAAU,GAAG,CAAC,UAAU,CAAC,CAAC;QAEhC,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;YACf,UAAU,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;QACrC,CAAC;QACD,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACjB,UAAU,CAAC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC;QAC/C,CAAC;QACD,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;YACnB,UAAU,CAAC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC;QACjD,CAAC;QAED,OAAO,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC9B,CAAC;IAEO,cAAc;QACpB,MAAM,UAAU,GAAG,IAAI,CAAC,OAAO,KAAK,UAAU,CAAC;QAC/C,MAAM,WAAW,GAAG,UAAU,CAAC,CAAC,CAAC,CAC/B,cAAQ,KAAK,EAAC,kBAAkB,EAAC,IAAI,EAAC,QAAQ;YAC3C,IAAI,CAAC,GAAG,IAAI,SAAG,KAAK,EAAC,eAAe,iBAAa,MAAM,GAAK;YAC5D,IAAI,CAAC,KAAK;YACX,gBAAU,IAAI,EAAE,SAAS,EAAE,IAAI,EAAC,MAAM,iBAAa,MAAM,GAAY,CAC9D,CACV,CAAC,CAAC,CAAC,CACF,YAAM,KAAK,EAAC,iBAAiB;YAC1B,IAAI,CAAC,GAAG,IAAI,SAAG,KAAK,EAAC,eAAe,iBAAa,MAAM,GAAK;YAC5D,IAAI,CAAC,KAAK,CACN,CACR,CAAC;QAEF,OAAO,WAAW,CAAC;IACrB,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC,WAAW;YACjD,IAAI,CAAC,cAAc,EAAE;YACrB,IAAI,CAAC,OAAO,KAAK,KAAK,IAAI,CACzB,+DAAQ,KAAK,EAAC,iBAAiB,EAAC,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAE,IAAI,CAAC,gBAAgB,gBAAa,QAAQ;gBAC/F,iEAAU,IAAI,EAAE,MAAM,EAAE,IAAI,EAAC,MAAM,GAAY,CACxC,CACV,CACI,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { downSmall, remove } from '@pine-ds/icons/icons';\nimport { Component, Host, h, Prop, Event, EventEmitter } from '@stencil/core';\n\n@Component({\n tag: 'pds-chip',\n styleUrls: ['../../global/styles/base.scss', 'pds-chip.scss'],\n shadow: true,\n})\nexport class PdsChip {\n /**\n * A unique identifier used for the underlying component `id` attribute.\n */\n @Prop() componentId: string;\n\n /**\n * Determines whether a dot should be displayed on the chip.\n * @defaultValue false\n */\n @Prop() dot = false;\n\n /**\n * Sets the text label content of the chip.\n */\n @Prop() label: string;\n\n /**\n * Determines whether the chip should be displayed in a larger size.\n * @defaultValue false\n */\n @Prop() large = false;\n\n /**\n * Defines the color scheme of the chip.\n * @defaultValue 'neutral'\n */\n @Prop() sentiment: 'accent' | 'danger' | 'info' | 'neutral' | 'success' | 'warning' = 'neutral';\n\n /**\n * Sets the style variant of the chip.\n * @defaultValue 'text'\n */\n @Prop() variant: 'text' | 'tag' | 'dropdown' = 'text';\n\n /**\n * Event emitted when the close button is clicked on a tag variant chip.\n */\n @Event() pdsTagCloseClick: EventEmitter;\n\n private handleCloseClick = () => {\n this.pdsTagCloseClick.emit();\n };\n\n private classNames() {\n const classNames = ['pds-chip'];\n\n if (this.large) {\n classNames.push('pds-chip--large');\n }\n if (this.variant) {\n classNames.push('pds-chip--' + this.variant);\n }\n if (this.sentiment) {\n classNames.push('pds-chip--' + this.sentiment);\n }\n\n return classNames.join(' ');\n }\n\n private setChipContent() {\n const isDropdown = this.variant === 'dropdown';\n const chipContent = isDropdown ? (\n <button class=\"pds-chip__button\" type=\"button\">\n {this.dot && <i class=\"pds-chip__dot\" aria-hidden=\"true\"></i>}\n {this.label}\n <pds-icon icon={downSmall} size=\"12px\" aria-hidden=\"true\"></pds-icon>\n </button>\n ) : (\n <span class=\"pds-chip__label\">\n {this.dot && <i class=\"pds-chip__dot\" aria-hidden=\"true\"></i>}\n {this.label}\n </span>\n );\n\n return chipContent;\n }\n\n render() {\n return (\n <Host class={this.classNames()} id={this.componentId}>\n {this.setChipContent()}\n {this.variant === 'tag' && (\n <button class=\"pds-chip__close\" type=\"button\" onClick={this.handleCloseClick} aria-label=\"Remove\">\n <pds-icon icon={remove} size=\"12px\"></pds-icon>\n </button>\n )}\n </Host>\n );\n }\n}\n"]}
@@ -36,7 +36,7 @@ export class PdsCopytext {
36
36
  return classNames.join(' ');
37
37
  }
38
38
  render() {
39
- return (h(Host, { key: '24f8ccba6099b5a4f283fe049dc38e32c916c80e', class: this.classNames(), id: this.componentId }, h("pds-button", { key: '7b4d6703944df7a4a3932663b5c09b496d642f0c', type: "button", variant: "unstyled", onClick: this.handleClick }, h("span", { key: '68ab90f525b04edc3d708d7405d34558aee8c98e' }, this.value), h("pds-icon", { key: '06a24c4577dc10917e69314a6d19db8e6a88e7f7', icon: copyIcon, size: "16px" }))));
39
+ return (h(Host, { key: '43aceb92fe0cc910613115bc882b04108efeffba', class: this.classNames(), id: this.componentId }, h("pds-button", { key: 'f152bc288e64192a80ed8f4f48d90e3edb7558cc', type: "button", variant: "unstyled", onClick: this.handleClick }, h("span", { key: 'ed9486b47835e21601047d2a915a412e664c6b4b' }, this.value), h("pds-icon", { key: 'bfbf6d92775171c36f768d654c5866f2f4ce8479', icon: copyIcon, size: "16px" }))));
40
40
  }
41
41
  static get is() { return "pds-copytext"; }
42
42
  static get encapsulation() { return "shadow"; }
@@ -67,7 +67,7 @@ export class PdsCopytext {
67
67
  "name": "defaultValue",
68
68
  "text": "true"
69
69
  }],
70
- "text": "Determines whether `copytext` should have a border."
70
+ "text": "Determines whether `copytext` should have a visible border."
71
71
  },
72
72
  "attribute": "border",
73
73
  "reflect": true,
@@ -144,7 +144,7 @@ export class PdsCopytext {
144
144
  "optional": false,
145
145
  "docs": {
146
146
  "tags": [],
147
- "text": "String that is displayed and that is also copied to the clipboard upon interaction."
147
+ "text": "The string displayed that is also copied to the clipboard upon interaction."
148
148
  },
149
149
  "attribute": "value",
150
150
  "reflect": false
@@ -160,7 +160,7 @@ export class PdsCopytext {
160
160
  "composed": true,
161
161
  "docs": {
162
162
  "tags": [],
163
- "text": "Event when copyText button is clicked."
163
+ "text": "Event fired when copyText button is clicked."
164
164
  },
165
165
  "complexType": {
166
166
  "original": "any",
@@ -1 +1 @@
1
- {"version":3,"file":"pds-copytext.js","sourceRoot":"","sources":["../../../src/components/pds-copytext/pds-copytext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAgB,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAE9E,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAOxD,MAAM,OAAO,WAAW;;QAkCd,oBAAe,GAAG,KAAK,EAAE,KAAa,EAAE,EAAE;YAChD,IAAI,CAAC;gBACH,IAAI,OAAO,SAAS,CAAC,SAAS,KAAK,WAAW,EAAE,CAAC;oBAC/C,MAAM,SAAS,CAAC,SAAS,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;oBAC3C,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;gBACpD,CAAC;YACH,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACb,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,oCAAoC,GAAG,EAAE,CAAC,CAAC;YACxE,CAAC;QACH,CAAC,CAAC;QAEM,gBAAW,GAAG,GAAG,EAAE;YACzB,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACnC,CAAC,CAAC;sBA1CgC,IAAI;;yBAWlB,KAAK;wBAMN,KAAK;;;IA2BhB,UAAU;QAChB,MAAM,UAAU,GAAG,CAAC,cAAc,CAAC,CAAC;QAEpC,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;YAChB,UAAU,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC;QAC5C,CAAC;QAED,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;YACnB,UAAU,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC;QAC9C,CAAC;QAED,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,UAAU,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC;QAC7C,CAAC;QAED,OAAO,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC,WAAW;YAClD,mEAAY,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAC,UAAU,EAAC,OAAO,EAAE,IAAI,CAAC,WAAW;gBACpE,+DAAO,IAAI,CAAC,KAAK,CAAQ;gBACzB,iEAAU,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAC,MAAM,GAAY,CACtC,CACR,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Event, EventEmitter, Host, h, Prop } from '@stencil/core';\n\nimport { copy as copyIcon } from '@pine-ds/icons/icons';\n\n@Component({\n tag: 'pds-copytext',\n styleUrls: ['../../global/styles/base.scss', 'pds-copytext.scss'],\n shadow: true,\n})\nexport class PdsCopytext {\n /**\n * Determines whether `copytext` should have a border.\n * @defaultValue true\n */\n @Prop({ reflect: true }) border = true;\n\n /**\n * A unique identifier used for the underlying component `id` attribute.\n */\n @Prop() componentId: string;\n\n /**\n * Determines whether `copytext` should expand to the full width of its container.\n * @defaultValue false\n */\n @Prop() fullWidth = false;\n\n /**\n * Determines whether the `value` should truncate and display with an ellipsis.\n * @defaultValue false\n */\n @Prop() truncate = false;\n\n /**\n * String that is displayed and that is also copied to the clipboard upon interaction.\n */\n @Prop() value!: string;\n\n /**\n * Event when copyText button is clicked.\n */\n @Event() pdsCopyTextClick: EventEmitter;\n\n private copyToClipboard = async (value: string) => {\n try {\n if (typeof navigator.clipboard !== 'undefined') {\n await navigator.clipboard.writeText(value);\n this.pdsCopyTextClick.emit('Copied to clipboard');\n }\n } catch (err) {\n this.pdsCopyTextClick.emit(`Error writing text to clipboard: ${err}`);\n }\n };\n\n private handleClick = () => {\n this.copyToClipboard(this.value);\n };\n\n private classNames() {\n const classNames = ['pds-copytext'];\n\n if (this.border) {\n classNames.push('pds-copytext--bordered');\n }\n\n if (this.fullWidth) {\n classNames.push('pds-copytext--full-width');\n }\n\n if (this.truncate) {\n classNames.push('pds-copytext--truncated');\n }\n\n return classNames.join(' ');\n }\n\n render() {\n return (\n <Host class={this.classNames()} id={this.componentId}>\n <pds-button type=\"button\" variant=\"unstyled\" onClick={this.handleClick}>\n <span>{this.value}</span>\n <pds-icon icon={copyIcon} size=\"16px\"></pds-icon>\n </pds-button>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"pds-copytext.js","sourceRoot":"","sources":["../../../src/components/pds-copytext/pds-copytext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAgB,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAE9E,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAOxD,MAAM,OAAO,WAAW;;QAkCd,oBAAe,GAAG,KAAK,EAAE,KAAa,EAAE,EAAE;YAChD,IAAI,CAAC;gBACH,IAAI,OAAO,SAAS,CAAC,SAAS,KAAK,WAAW,EAAE,CAAC;oBAC/C,MAAM,SAAS,CAAC,SAAS,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;oBAC3C,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;gBACpD,CAAC;YACH,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACb,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,oCAAoC,GAAG,EAAE,CAAC,CAAC;YACxE,CAAC;QACH,CAAC,CAAC;QAEM,gBAAW,GAAG,GAAG,EAAE;YACzB,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACnC,CAAC,CAAC;sBA1CgC,IAAI;;yBAWlB,KAAK;wBAMN,KAAK;;;IA2BhB,UAAU;QAChB,MAAM,UAAU,GAAG,CAAC,cAAc,CAAC,CAAC;QAEpC,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;YAChB,UAAU,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC;QAC5C,CAAC;QAED,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;YACnB,UAAU,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC;QAC9C,CAAC;QAED,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,UAAU,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC;QAC7C,CAAC;QAED,OAAO,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC,WAAW;YAClD,mEAAY,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAC,UAAU,EAAC,OAAO,EAAE,IAAI,CAAC,WAAW;gBACpE,+DAAO,IAAI,CAAC,KAAK,CAAQ;gBACzB,iEAAU,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAC,MAAM,GAAY,CACtC,CACR,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Event, EventEmitter, Host, h, Prop } from '@stencil/core';\n\nimport { copy as copyIcon } from '@pine-ds/icons/icons';\n\n@Component({\n tag: 'pds-copytext',\n styleUrls: ['../../global/styles/base.scss', 'pds-copytext.scss'],\n shadow: true,\n})\nexport class PdsCopytext {\n /**\n * Determines whether `copytext` should have a visible border.\n * @defaultValue true\n */\n @Prop({ reflect: true }) border = true;\n\n /**\n * A unique identifier used for the underlying component `id` attribute.\n */\n @Prop() componentId: string;\n\n /**\n * Determines whether `copytext` should expand to the full width of its container.\n * @defaultValue false\n */\n @Prop() fullWidth = false;\n\n /**\n * Determines whether the `value` should truncate and display with an ellipsis.\n * @defaultValue false\n */\n @Prop() truncate = false;\n\n /**\n * The string displayed that is also copied to the clipboard upon interaction.\n */\n @Prop() value!: string;\n\n /**\n * Event fired when copyText button is clicked.\n */\n @Event() pdsCopyTextClick: EventEmitter;\n\n private copyToClipboard = async (value: string) => {\n try {\n if (typeof navigator.clipboard !== 'undefined') {\n await navigator.clipboard.writeText(value);\n this.pdsCopyTextClick.emit('Copied to clipboard');\n }\n } catch (err) {\n this.pdsCopyTextClick.emit(`Error writing text to clipboard: ${err}`);\n }\n };\n\n private handleClick = () => {\n this.copyToClipboard(this.value);\n };\n\n private classNames() {\n const classNames = ['pds-copytext'];\n\n if (this.border) {\n classNames.push('pds-copytext--bordered');\n }\n\n if (this.fullWidth) {\n classNames.push('pds-copytext--full-width');\n }\n\n if (this.truncate) {\n classNames.push('pds-copytext--truncated');\n }\n\n return classNames.join(' ');\n }\n\n render() {\n return (\n <Host class={this.classNames()} id={this.componentId}>\n <pds-button type=\"button\" variant=\"unstyled\" onClick={this.handleClick}>\n <span>{this.value}</span>\n <pds-icon icon={copyIcon} size=\"16px\"></pds-icon>\n </pds-button>\n </Host>\n );\n }\n}\n"]}
@@ -17,7 +17,7 @@ export class PdsDivider {
17
17
  return classNames.join(' ');
18
18
  }
19
19
  render() {
20
- return (h(Host, { key: '03b43edbf300af791cb86d11991507f1449981f7', id: this.componentId }, h("hr", { key: '3385a8497632540187d3c5f16716032d37d5c036', class: this.classNames() })));
20
+ return (h(Host, { key: 'cb64d56832d159848ac7d45959b5f1d9874715d7', id: this.componentId }, h("hr", { key: '10a7b11448b031b24174fe9278ac05504cf8523c', class: this.classNames() })));
21
21
  }
22
22
  static get is() { return "pds-divider"; }
23
23
  static get encapsulation() { return "shadow"; }
@@ -82,7 +82,7 @@ export class PdsDivider {
82
82
  "name": "defaultValue",
83
83
  "text": "false"
84
84
  }],
85
- "text": "Sets divider to display vertically"
85
+ "text": "Sets divider to display vertically."
86
86
  },
87
87
  "attribute": "vertical",
88
88
  "reflect": false,
@@ -1 +1 @@
1
- {"version":3,"file":"pds-divider.js","sourceRoot":"","sources":["../../../src/components/pds-divider/pds-divider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAOzD,MAAM,OAAO,UAAU;;;;wBAeF,KAAK;;IAEhB,UAAU;QAChB,MAAM,UAAU,GAAG,CAAC,aAAa,CAAC,CAAC;QAEnC,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,UAAU,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;QAC3C,CAAC;QAED,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;YAChB,MAAM,eAAe,GAAG,sBAAsB,GAAG,IAAI,CAAC,MAAM,CAAC;YAC7D,UAAU,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QACnC,CAAC;QAED,OAAO,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC9B,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDAAC,EAAE,EAAE,IAAI,CAAC,WAAW;YACxB,2DAAI,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,GAAI,CAC3B,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, Host, h } from '@stencil/core';\n\n@Component({\n tag: 'pds-divider',\n styleUrls: ['../../global/styles/base.scss', 'pds-divider.scss'],\n shadow: true,\n})\nexport class PdsDivider {\n /**\n * A unique identifier used for the underlying component `id` attribute.\n */\n @Prop() componentId: string;\n\n /**\n * Adds offset margin/padding to expand the width (horizontal) or the height (vertical) of divider.\n */\n @Prop() offset: 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';\n\n /**\n * Sets divider to display vertically\n * @defaultValue false\n */\n @Prop() vertical = false;\n\n private classNames() {\n const classNames = ['pds-divider'];\n\n if (this.vertical) {\n classNames.push('pds-divider--vertical');\n }\n\n if (this.offset) {\n const offsetClassName = 'pds-divider--offset-' + this.offset;\n classNames.push(offsetClassName);\n }\n\n return classNames.join(' ');\n }\n\n render() {\n return (\n <Host id={this.componentId}>\n <hr class={this.classNames()} />\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"pds-divider.js","sourceRoot":"","sources":["../../../src/components/pds-divider/pds-divider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAOzD,MAAM,OAAO,UAAU;;;;wBAeF,KAAK;;IAEhB,UAAU;QAChB,MAAM,UAAU,GAAG,CAAC,aAAa,CAAC,CAAC;QAEnC,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,UAAU,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;QAC3C,CAAC;QAED,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;YAChB,MAAM,eAAe,GAAG,sBAAsB,GAAG,IAAI,CAAC,MAAM,CAAC;YAC7D,UAAU,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QACnC,CAAC;QAED,OAAO,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC9B,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDAAC,EAAE,EAAE,IAAI,CAAC,WAAW;YACxB,2DAAI,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,GAAI,CAC3B,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, Host, h } from '@stencil/core';\n\n@Component({\n tag: 'pds-divider',\n styleUrls: ['../../global/styles/base.scss', 'pds-divider.scss'],\n shadow: true,\n})\nexport class PdsDivider {\n /**\n * A unique identifier used for the underlying component `id` attribute.\n */\n @Prop() componentId: string;\n\n /**\n * Adds offset margin/padding to expand the width (horizontal) or the height (vertical) of divider.\n */\n @Prop() offset: 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';\n\n /**\n * Sets divider to display vertically.\n * @defaultValue false\n */\n @Prop() vertical = false;\n\n private classNames() {\n const classNames = ['pds-divider'];\n\n if (this.vertical) {\n classNames.push('pds-divider--vertical');\n }\n\n if (this.offset) {\n const offsetClassName = 'pds-divider--offset-' + this.offset;\n classNames.push(offsetClassName);\n }\n\n return classNames.join(' ');\n }\n\n render() {\n return (\n <Host id={this.componentId}>\n <hr class={this.classNames()} />\n </Host>\n );\n }\n}\n"]}
@@ -11,9 +11,9 @@ export class PdsImage {
11
11
  this.width = undefined;
12
12
  }
13
13
  render() {
14
- return (h(Host, { key: '810bb5579a28b8a1867f202ccf555bcb0a1be2a5', class: {
14
+ return (h(Host, { key: 'b74f7f59eadec75c48052e0760ef07ea0b5eb848', class: {
15
15
  'pds-image': true,
16
- }, id: this.componentId }, h("img", { key: '66d78e000caaa91db5dbd68ce34824215d3c7bf9', alt: this.alt, height: this.height, loading: this.loading, sizes: this.sizes, src: this.src, srcset: this.srcset, width: this.width })));
16
+ }, id: this.componentId }, h("img", { key: '0e993e6d4cb70d73562cbcd3cf193080406adf7a', alt: this.alt, height: this.height, loading: this.loading, sizes: this.sizes, src: this.src, srcset: this.srcset, width: this.width })));
17
17
  }
18
18
  static get is() { return "pds-image"; }
19
19
  static get encapsulation() { return "shadow"; }
@@ -40,8 +40,11 @@ export class PdsImage {
40
40
  "required": false,
41
41
  "optional": true,
42
42
  "docs": {
43
- "tags": [],
44
- "text": "The image's alt tag. If none is provided,\nit will default to an empty string."
43
+ "tags": [{
44
+ "name": "defaultValue",
45
+ "text": "''"
46
+ }],
47
+ "text": "The image's alt tag. If none is provided,\nit will default to an empty string, which is desired for\ndecorative images."
45
48
  },
46
49
  "attribute": "alt",
47
50
  "reflect": false,
@@ -92,7 +95,10 @@ export class PdsImage {
92
95
  "required": false,
93
96
  "optional": true,
94
97
  "docs": {
95
- "tags": [],
98
+ "tags": [{
99
+ "name": "defaultValue",
100
+ "text": "eager"
101
+ }],
96
102
  "text": "Indicates how the browser should load the image."
97
103
  },
98
104
  "attribute": "loading",
@@ -111,7 +117,7 @@ export class PdsImage {
111
117
  "optional": true,
112
118
  "docs": {
113
119
  "tags": [],
114
- "text": "Determines the intended display size of an image\nwithin certian breakpoints. Has no effect if `srcset`\nis not set or value has no width descriptor."
120
+ "text": "Determines the intended display size of an image\nwithin certain breakpoints. Has no effect if `srcset`\nis not set or value has no width descriptor."
115
121
  },
116
122
  "attribute": "sizes",
117
123
  "reflect": false
@@ -145,7 +151,7 @@ export class PdsImage {
145
151
  "optional": true,
146
152
  "docs": {
147
153
  "tags": [],
148
- "text": "A set of image sources for the browser to use."
154
+ "text": "A set of image sources for the browser to use\nfor responsiveness."
149
155
  },
150
156
  "attribute": "srcset",
151
157
  "reflect": false
@@ -1 +1 @@
1
- {"version":3,"file":"pds-image.js","sourceRoot":"","sources":["../../../src/components/pds-image/pds-image.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAOzD,MAAM,OAAO,QAAQ;;mBAKJ,EAAE;;;uBAiBoB,OAAO;;;;;;IA0B5C,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDACH,KAAK,EAAE;gBACL,WAAW,EAAE,IAAI;aAClB,EACD,EAAE,EAAE,IAAI,CAAC,WAAW;YAEpB,4DACE,GAAG,EAAE,IAAI,CAAC,GAAG,EACb,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,GAAG,EAAE,IAAI,CAAC,GAAG,EACb,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,KAAK,EAAE,IAAI,CAAC,KAAK,GACjB,CACG,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, h, Prop } from '@stencil/core';\n\n@Component({\n tag: 'pds-image',\n styleUrls: ['../../global/styles/base.scss', 'pds-image.scss'],\n shadow: true,\n})\nexport class PdsImage {\n /**\n * The image's alt tag. If none is provided,\n * it will default to an empty string.\n */\n @Prop() alt? = '';\n\n /**\n * A unique identifier used for the underlying component `id` attribute.\n */\n @Prop() componentId: string;\n\n /**\n * The height of the image in pixels. Setting this will\n * devote space in the layout to prevent layout\n * shifts when the image is loaded.\n */\n @Prop() height?: number;\n\n /**\n * Indicates how the browser should load the image.\n */\n @Prop() loading?: 'eager' | 'lazy' = 'eager';\n\n /**\n * Determines the intended display size of an image\n * within certian breakpoints. Has no effect if `srcset`\n * is not set or value has no width descriptor.\n */\n @Prop() sizes?: string;\n\n /**\n * The image's source.\n */\n @Prop() src: string;\n\n /**\n * A set of image sources for the browser to use.\n */\n @Prop() srcset?: string\n\n /**\n * The width of the image in pixels. Setting this will\n * devote space in the layout to prevent layout\n * shifts when the image is loaded.\n */\n @Prop() width?: number;\n\n render() {\n return (\n <Host\n class={{\n 'pds-image': true,\n }}\n id={this.componentId}\n >\n <img\n alt={this.alt}\n height={this.height}\n loading={this.loading}\n sizes={this.sizes}\n src={this.src}\n srcset={this.srcset}\n width={this.width}\n />\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"pds-image.js","sourceRoot":"","sources":["../../../src/components/pds-image/pds-image.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAOzD,MAAM,OAAO,QAAQ;;mBAOJ,EAAE;;;uBAkBoB,OAAO;;;;;;IA2B5C,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDACH,KAAK,EAAE;gBACL,WAAW,EAAE,IAAI;aAClB,EACD,EAAE,EAAE,IAAI,CAAC,WAAW;YAEpB,4DACE,GAAG,EAAE,IAAI,CAAC,GAAG,EACb,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,GAAG,EAAE,IAAI,CAAC,GAAG,EACb,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,KAAK,EAAE,IAAI,CAAC,KAAK,GACjB,CACG,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, h, Prop } from '@stencil/core';\n\n@Component({\n tag: 'pds-image',\n styleUrls: ['../../global/styles/base.scss', 'pds-image.scss'],\n shadow: true,\n})\nexport class PdsImage {\n /**\n * The image's alt tag. If none is provided,\n * it will default to an empty string, which is desired for\n * decorative images.\n * @defaultValue ''\n */\n @Prop() alt? = '';\n\n /**\n * A unique identifier used for the underlying component `id` attribute.\n */\n @Prop() componentId: string;\n\n /**\n * The height of the image in pixels. Setting this will\n * devote space in the layout to prevent layout\n * shifts when the image is loaded.\n */\n @Prop() height?: number;\n\n /**\n * Indicates how the browser should load the image.\n * @defaultValue eager\n */\n @Prop() loading?: 'eager' | 'lazy' = 'eager';\n\n /**\n * Determines the intended display size of an image\n * within certain breakpoints. Has no effect if `srcset`\n * is not set or value has no width descriptor.\n */\n @Prop() sizes?: string;\n\n /**\n * The image's source.\n */\n @Prop() src: string;\n\n /**\n * A set of image sources for the browser to use\n * for responsiveness.\n */\n @Prop() srcset?: string\n\n /**\n * The width of the image in pixels. Setting this will\n * devote space in the layout to prevent layout\n * shifts when the image is loaded.\n */\n @Prop() width?: number;\n\n render() {\n return (\n <Host\n class={{\n 'pds-image': true,\n }}\n id={this.componentId}\n >\n <img\n alt={this.alt}\n height={this.height}\n loading={this.loading}\n sizes={this.sizes}\n src={this.src}\n srcset={this.srcset}\n width={this.width}\n />\n </Host>\n );\n }\n}\n"]}
@@ -13,7 +13,7 @@
13
13
  --color-text-error: var(--pine-color-red-600);
14
14
  --color-text-placeholder: var(--pine-color-grey-600);
15
15
  --color-text-placeholder-disabled: var(--pine-color-grey-400);
16
- --font-size-helper-message: var(--pine-font-size-100);
16
+ --font-size-helper-message: var(--pine-font-size-085);
17
17
  --font-size-input-field: var(--pine-font-size-100);
18
18
  --font-size-label: var(--pine-font-size-100);
19
19
  --font-weight-helper-message: var(--pine-font-weight-normal);
@@ -26,6 +26,7 @@
26
26
  --spacing-input-field-padding-inline: var(--pine-spacing-200);
27
27
  --spacing-label-margin-block-end: var(--pine-spacing-100);
28
28
  --spacing-margin-top-helper-message: var(--pine-spacing-100);
29
+ --spacing-icon-error-message: var(--pine-spacing-050);
29
30
  display: inline;
30
31
  }
31
32
 
@@ -110,5 +111,9 @@ input:has(~ .pds-input__error-message):focus-visible {
110
111
  }
111
112
 
112
113
  .pds-input__error-message {
114
+ align-items: center;
113
115
  color: var(--color-text-error);
116
+ display: flex;
117
+ font-size: var(--font-size-helper-message);
118
+ gap: var(--spacing-icon-error-message);
114
119
  }
@@ -1,6 +1,7 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  import { assignDescription, messageId } from "../../utils/form";
3
3
  import { PdsLabel } from "../_internal/pds-label/pds-label";
4
+ import { danger } from "@pine-ds/icons/icons";
4
5
  export class PdsInput {
5
6
  constructor() {
6
7
  this.onInputEvent = (ev) => {
@@ -25,9 +26,9 @@ export class PdsInput {
25
26
  this.value = undefined;
26
27
  }
27
28
  render() {
28
- return (h(Host, { key: '8990807dd2c25acb305113e838b14c4c6f5969d2', "aria-disabled": this.disabled ? 'true' : null }, h("div", { key: '15f1ccb9ef012df067bcb9feb51639a6e7d2c2c8', class: "pds-input" }, h(PdsLabel, { key: '73231c8d2bec7262e7bd6a0d002a130d29b102aa', htmlFor: this.componentId, text: this.label }), h("input", { key: 'd916e33b722be33c7908bad78400648fe39a120d', class: "pds-input__field", "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, autocomplete: this.autocomplete, disabled: this.disabled, id: this.componentId, name: this.name, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, type: this.type, value: this.value, onInput: this.onInputEvent }), this.helperMessage &&
29
- h("p", { key: '91fb93380296d18b97e5469bd56d04e8aceab20d', class: "pds-input__helper-message", id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
30
- h("p", { key: '97fe0723e77b49b6be1f7666888a5d97d9ab842b', class: "pds-input__error-message", id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, this.errorMessage))));
29
+ return (h(Host, { key: '2f805bb34305276216d5eb59b869b0a1e8d36745', "aria-disabled": this.disabled ? 'true' : null }, h("div", { key: 'c0a9c51f99aa746d0c8edda0306055e637cfcf98', class: "pds-input" }, h(PdsLabel, { key: '636c5aa772da49e1e84b29b6dde1191a71de0d5f', htmlFor: this.componentId, text: this.label }), h("input", { key: 'c9e5c281a2b5fe4e2c652bc44a9ad14e3d6b90c8', class: "pds-input__field", "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, autocomplete: this.autocomplete, disabled: this.disabled, id: this.componentId, name: this.name, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, type: this.type, value: this.value, onInput: this.onInputEvent }), this.helperMessage &&
30
+ h("p", { key: '48c897acc4d26ab2e1a4e16e04ba0f730e5aeb72', class: "pds-input__helper-message", id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
31
+ h("p", { key: 'fe0ba7e0e0032983128c41a772f22d2c804345fb', class: "pds-input__error-message", id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, h("pds-icon", { key: '6270eed8637a5342911e0947f462f592bbedddac', icon: danger, size: "small" }), this.errorMessage))));
31
32
  }
32
33
  static get is() { return "pds-input"; }
33
34
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"pds-input.js","sourceRoot":"","sources":["../../../src/components/pds-input/pds-input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAO5D,MAAM,OAAO,QAAQ;;QA0EX,iBAAY,GAAG,CAAC,EAAS,EAAE,EAAE;YACnC,MAAM,KAAK,GAAG,EAAE,CAAC,MAAiC,CAAC;YACnD,IAAI,KAAK,EAAE,CAAC;gBACV,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,KAAK,IAAI,EAAE,CAAC;YACjC,CAAC;YACD,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAgB,CAAC,CAAC;QACvC,CAAC,CAAC;;;;;;;;;;;;oBAlBa,MAAM;;;IAoBrB,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,sEACY,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI;YAE5C,4DAAK,KAAK,EAAC,WAAW;gBACpB,EAAC,QAAQ,qDAAC,OAAO,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,GAAI;gBACzD,8DAAO,KAAK,EAAC,kBAAkB,sBACX,iBAAiB,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,aAAa,CAAC,kBACzE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,EAC/C,YAAY,EAAE,IAAI,CAAC,YAAY,EAC/B,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,EAAE,EAAE,IAAI,CAAC,WAAW,EACpB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,OAAO,EAAE,IAAI,CAAC,YAAY,GAC1B;gBACD,IAAI,CAAC,aAAa;oBACjB,0DACE,KAAK,EAAC,2BAA2B,EACjC,EAAE,EAAE,SAAS,CAAC,IAAI,CAAC,WAAW,EAAE,QAAQ,CAAC,IAExC,IAAI,CAAC,aAAa,CACjB;gBAEL,IAAI,CAAC,YAAY;oBAChB,0DACE,KAAK,EAAC,0BAA0B,EAChC,EAAE,EAAE,SAAS,CAAC,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC,eAC9B,WAAW,IAEpB,IAAI,CAAC,YAAY,CAChB,CAEF,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Event, EventEmitter, h, Host, Prop } from '@stencil/core';\nimport { assignDescription, messageId } from '../../utils/form';\nimport { PdsLabel } from '../_internal/pds-label/pds-label';\n\n@Component({\n tag: 'pds-input',\n styleUrls: ['../../global/styles/base.scss', 'pds-input.scss'],\n shadow: true,\n})\nexport class PdsInput {\n\n /**\n * Specifies if and how the browser provides `autocomplete` assistance for the field.\n */\n @Prop() autocomplete: string;\n\n /**\n * A unique identifier used for the underlying component `id` attribute.\n */\n @Prop() componentId!: string;\n\n /**\n * Indicates whether or not the input field is disabled.\n */\n @Prop() disabled?: boolean;\n\n /**\n * Specifies the error message and provides an error-themed treatment to the field.\n */\n @Prop() errorMessage?: string;\n\n /**\n * Displays a message or hint below the input field.\n */\n @Prop() helperMessage?: string;\n\n /**\n * Indicates whether or not the input field is invalid or throws an error.\n */\n @Prop() invalid?: boolean;\n\n /**\n * Text to be displayed as the input label.\n */\n @Prop() label?: string;\n\n /**\n * Specifies the name. Submitted with the form name/value pair.\n */\n @Prop() name?: string;\n\n /**\n * Specifies a short hint that describes the expected value of the input field.\n */\n @Prop() placeholder?: string;\n\n /**\n * Indicates whether or not the input field is readonly.\n */\n @Prop() readonly?: boolean;\n\n /**\n * Indicates whether or not the input field is required.\n */\n @Prop() required?: boolean;\n\n /**\n * Determines the type of control that will be displayed\n `'email'`, `'number'`, `'password'`, `'tel'`, `'text'`\n * @defaultValue \"text\"\n */\n @Prop() type = 'text';\n\n /**\n * The value of the input.\n */\n @Prop({mutable: true}) value?: string;\n\n /**\n * Emitted when a keyboard input occurred.\n */\n @Event() pdsInput: EventEmitter<InputEvent>;\n\n private onInputEvent = (ev: Event) => {\n const input = ev.target as HTMLInputElement | null;\n if (input) {\n this.value = input.value || '';\n }\n this.pdsInput.emit(ev as InputEvent);\n };\n\n render() {\n return (\n <Host\n aria-disabled={this.disabled ? 'true' : null}\n >\n <div class=\"pds-input\">\n <PdsLabel htmlFor={this.componentId} text={this.label} />\n <input class=\"pds-input__field\"\n aria-describedby={assignDescription(this.componentId, this.invalid, this.helperMessage)}\n aria-invalid={this.invalid ? \"true\" : undefined}\n autocomplete={this.autocomplete}\n disabled={this.disabled}\n id={this.componentId}\n name={this.name}\n placeholder={this.placeholder}\n readOnly={this.readonly}\n required={this.required}\n type={this.type}\n value={this.value}\n onInput={this.onInputEvent}\n />\n {this.helperMessage &&\n <p\n class=\"pds-input__helper-message\"\n id={messageId(this.componentId, 'helper')}\n >\n {this.helperMessage}\n </p>\n }\n {this.errorMessage &&\n <p\n class=\"pds-input__error-message\"\n id={messageId(this.componentId, 'error')}\n aria-live=\"assertive\"\n >\n {this.errorMessage}\n </p>\n }\n </div>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"pds-input.js","sourceRoot":"","sources":["../../../src/components/pds-input/pds-input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAO9C,MAAM,OAAO,QAAQ;;QA0EX,iBAAY,GAAG,CAAC,EAAS,EAAE,EAAE;YACnC,MAAM,KAAK,GAAG,EAAE,CAAC,MAAiC,CAAC;YACnD,IAAI,KAAK,EAAE,CAAC;gBACV,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,KAAK,IAAI,EAAE,CAAC;YACjC,CAAC;YACD,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAgB,CAAC,CAAC;QACvC,CAAC,CAAC;;;;;;;;;;;;oBAlBa,MAAM;;;IAoBrB,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,sEACY,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI;YAE5C,4DAAK,KAAK,EAAC,WAAW;gBACpB,EAAC,QAAQ,qDAAC,OAAO,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,GAAI;gBACzD,8DAAO,KAAK,EAAC,kBAAkB,sBACX,iBAAiB,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,aAAa,CAAC,kBACzE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,EAC/C,YAAY,EAAE,IAAI,CAAC,YAAY,EAC/B,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,EAAE,EAAE,IAAI,CAAC,WAAW,EACpB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,OAAO,EAAE,IAAI,CAAC,YAAY,GAC1B;gBACD,IAAI,CAAC,aAAa;oBACjB,0DACE,KAAK,EAAC,2BAA2B,EACjC,EAAE,EAAE,SAAS,CAAC,IAAI,CAAC,WAAW,EAAE,QAAQ,CAAC,IAExC,IAAI,CAAC,aAAa,CACjB;gBAEL,IAAI,CAAC,YAAY;oBAChB,0DACE,KAAK,EAAC,0BAA0B,EAChC,EAAE,EAAE,SAAS,CAAC,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC,eAC9B,WAAW;wBAErB,iEAAU,IAAI,EAAE,MAAM,EAAE,IAAI,EAAC,OAAO,GAAG;wBACtC,IAAI,CAAC,YAAY,CAChB,CAEF,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Event, EventEmitter, h, Host, Prop } from '@stencil/core';\nimport { assignDescription, messageId } from '../../utils/form';\nimport { PdsLabel } from '../_internal/pds-label/pds-label';\nimport { danger } from '@pine-ds/icons/icons';\n\n@Component({\n tag: 'pds-input',\n styleUrls: ['../../global/styles/base.scss', 'pds-input.scss'],\n shadow: true,\n})\nexport class PdsInput {\n\n /**\n * Specifies if and how the browser provides `autocomplete` assistance for the field.\n */\n @Prop() autocomplete: string;\n\n /**\n * A unique identifier used for the underlying component `id` attribute.\n */\n @Prop() componentId!: string;\n\n /**\n * Indicates whether or not the input field is disabled.\n */\n @Prop() disabled?: boolean;\n\n /**\n * Specifies the error message and provides an error-themed treatment to the field.\n */\n @Prop() errorMessage?: string;\n\n /**\n * Displays a message or hint below the input field.\n */\n @Prop() helperMessage?: string;\n\n /**\n * Indicates whether or not the input field is invalid or throws an error.\n */\n @Prop() invalid?: boolean;\n\n /**\n * Text to be displayed as the input label.\n */\n @Prop() label?: string;\n\n /**\n * Specifies the name. Submitted with the form name/value pair.\n */\n @Prop() name?: string;\n\n /**\n * Specifies a short hint that describes the expected value of the input field.\n */\n @Prop() placeholder?: string;\n\n /**\n * Indicates whether or not the input field is readonly.\n */\n @Prop() readonly?: boolean;\n\n /**\n * Indicates whether or not the input field is required.\n */\n @Prop() required?: boolean;\n\n /**\n * Determines the type of control that will be displayed\n `'email'`, `'number'`, `'password'`, `'tel'`, `'text'`\n * @defaultValue \"text\"\n */\n @Prop() type = 'text';\n\n /**\n * The value of the input.\n */\n @Prop({mutable: true}) value?: string;\n\n /**\n * Emitted when a keyboard input occurred.\n */\n @Event() pdsInput: EventEmitter<InputEvent>;\n\n private onInputEvent = (ev: Event) => {\n const input = ev.target as HTMLInputElement | null;\n if (input) {\n this.value = input.value || '';\n }\n this.pdsInput.emit(ev as InputEvent);\n };\n\n render() {\n return (\n <Host\n aria-disabled={this.disabled ? 'true' : null}\n >\n <div class=\"pds-input\">\n <PdsLabel htmlFor={this.componentId} text={this.label} />\n <input class=\"pds-input__field\"\n aria-describedby={assignDescription(this.componentId, this.invalid, this.helperMessage)}\n aria-invalid={this.invalid ? \"true\" : undefined}\n autocomplete={this.autocomplete}\n disabled={this.disabled}\n id={this.componentId}\n name={this.name}\n placeholder={this.placeholder}\n readOnly={this.readonly}\n required={this.required}\n type={this.type}\n value={this.value}\n onInput={this.onInputEvent}\n />\n {this.helperMessage &&\n <p\n class=\"pds-input__helper-message\"\n id={messageId(this.componentId, 'helper')}\n >\n {this.helperMessage}\n </p>\n }\n {this.errorMessage &&\n <p\n class=\"pds-input__error-message\"\n id={messageId(this.componentId, 'error')}\n aria-live=\"assertive\"\n >\n <pds-icon icon={danger} size=\"small\" />\n {this.errorMessage}\n </p>\n }\n </div>\n </Host>\n );\n }\n}\n"]}
@@ -1,8 +1,8 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { launch } from "@pine-ds/icons/icons";
3
3
  /**
4
- * @part link - The main link element that represents the link component.
5
- * @slot - Content is placed between the opening closing tags.
4
+ * @part link - Link element styles.
5
+ * @slot (default) - Text content placed between the opening and closing tags. If no text is provided, the **href** will be used as a fallback.
6
6
  */
7
7
  export class PdsLink {
8
8
  constructor() {
@@ -23,8 +23,8 @@ export class PdsLink {
23
23
  return classNames.join(' ');
24
24
  }
25
25
  render() {
26
- return (h("a", { key: '48d18c76dabdf7848cb28406ca41bcb319046f15', class: this.classNames(), href: this.href, id: this.componentId, target: this.external ? '_blank' : undefined, part: "link" }, h("slot", { key: 'd1300abecf3a94cbeb0dd0203e0938496499750b' }, this.href), this.external &&
27
- h("pds-icon", { key: '353ee581e0060669910e0e9220f3e85d2c46e41b', icon: launch, size: this.fontSize })));
26
+ return (h("a", { key: '0301c40c5571d5713ff50262c9cd288b476bfb02', class: this.classNames(), href: this.href, id: this.componentId, target: this.external ? '_blank' : undefined, part: "link" }, h("slot", { key: 'dae97a17d38c0308d74f75b859d704d0d28d789d' }, this.href), this.external &&
27
+ h("pds-icon", { key: '5c242186e0080db10ede73c232fd83643b54df03', icon: launch, size: this.fontSize })));
28
28
  }
29
29
  static get is() { return "pds-link"; }
30
30
  static get encapsulation() { return "shadow"; }
@@ -72,7 +72,7 @@ export class PdsLink {
72
72
  "name": "defaultValue",
73
73
  "text": "false"
74
74
  }],
75
- "text": "When enabled, opens link in a new tab."
75
+ "text": "Determines whether the link should open in a new tab."
76
76
  },
77
77
  "attribute": "external",
78
78
  "reflect": false,
@@ -89,8 +89,11 @@ export class PdsLink {
89
89
  "required": false,
90
90
  "optional": false,
91
91
  "docs": {
92
- "tags": [],
93
- "text": "\nModifies the look of the link"
92
+ "tags": [{
93
+ "name": "defaultValue",
94
+ "text": "inline"
95
+ }],
96
+ "text": "Sets the link variant styles."
94
97
  },
95
98
  "attribute": "variant",
96
99
  "reflect": false,
@@ -111,7 +114,7 @@ export class PdsLink {
111
114
  "name": "defaultValue",
112
115
  "text": "lg"
113
116
  }],
114
- "text": "\nThe Font size follows t-shirt model\nsm: 12px\nmd: 14px\nlg: 16px"
117
+ "text": "The font size of the link's text."
115
118
  },
116
119
  "attribute": "font-size",
117
120
  "reflect": false,
@@ -129,7 +132,7 @@ export class PdsLink {
129
132
  "optional": false,
130
133
  "docs": {
131
134
  "tags": [],
132
- "text": "The URL that the hyperlink points to."
135
+ "text": "The hyperlink's destination URL. If no text is provided in the custom slot, the href will be used."
133
136
  },
134
137
  "attribute": "href",
135
138
  "reflect": false
@@ -1 +1 @@
1
- {"version":3,"file":"pds-link.js","sourceRoot":"","sources":["../../../src/components/pds-link/pds-link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEnD,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C;;;GAGG;AAMH,MAAM,OAAO,OAAO;;;wBAUC,KAAK;uBAMc,QAAQ;wBAUP,IAAI;;;IAOnC,UAAU;QAChB,MAAM,UAAU,GAAG,CAAC,UAAU,CAAC,CAAC;QAEhC,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,UAAU,CAAC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC;QAChD,CAAC;QAED,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACjB,UAAU,CAAC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC;QAC/C,CAAC;QAED,OAAO,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC9B,CAAC;IAED,MAAM;QAEJ,OAAO,CACL,0DACE,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,EACxB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,EAAE,EAAE,IAAI,CAAC,WAAW,EACpB,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,EAC5C,IAAI,EAAC,MAAM;YAEX,+DAAO,IAAI,CAAC,IAAI,CAAQ;YACvB,IAAI,CAAC,QAAQ;gBACZ,iEAAU,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,QAAQ,GAAa,CAExD,CACL,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Prop } from '@stencil/core';\n\nimport { launch } from '@pine-ds/icons/icons';\n\n/**\n * @part link - The main link element that represents the link component.\n * @slot - Content is placed between the opening closing tags.\n */\n@Component({\n tag: 'pds-link',\n styleUrls: ['../../global/styles/base.scss', 'pds-link.scss'],\n shadow: true,\n})\nexport class PdsLink {\n /**\n * A unique identifier used for the underlying component `id` attribute.\n */\n @Prop() componentId: string;\n\n /**\n * When enabled, opens link in a new tab.\n * @defaultValue false\n */\n @Prop() external = false;\n\n /**\n *\n * Modifies the look of the link\n */\n @Prop() variant: 'inline' | 'plain' = 'inline';\n\n /**\n *\n * The Font size follows t-shirt model\n * sm: 12px\n * md: 14px\n * lg: 16px\n * @defaultValue lg\n */\n @Prop() fontSize: 'sm' | 'md' | 'lg' = 'lg';\n\n /**\n * The URL that the hyperlink points to.\n */\n @Prop() href!: string;\n\n private classNames() {\n const classNames = ['pds-link'];\n\n if (this.fontSize) {\n classNames.push('pds-link--' + this.fontSize);\n }\n\n if (this.variant) {\n classNames.push('pds-link--' + this.variant);\n }\n\n return classNames.join(' ');\n }\n\n render() {\n\n return (\n <a\n class={this.classNames()}\n href={this.href}\n id={this.componentId}\n target={this.external ? '_blank' : undefined}\n part=\"link\"\n >\n <slot>{this.href}</slot>\n {this.external &&\n <pds-icon icon={launch} size={this.fontSize}></pds-icon>\n }\n </a>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"pds-link.js","sourceRoot":"","sources":["../../../src/components/pds-link/pds-link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEnD,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C;;;GAGG;AAMH,MAAM,OAAO,OAAO;;;wBAUC,KAAK;uBAMc,QAAQ;wBAMP,IAAI;;;IAOnC,UAAU;QAChB,MAAM,UAAU,GAAG,CAAC,UAAU,CAAC,CAAC;QAEhC,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,UAAU,CAAC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC;QAChD,CAAC;QAED,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACjB,UAAU,CAAC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC;QAC/C,CAAC;QAED,OAAO,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC9B,CAAC;IAED,MAAM;QAEJ,OAAO,CACL,0DACE,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,EACxB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,EAAE,EAAE,IAAI,CAAC,WAAW,EACpB,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,EAC5C,IAAI,EAAC,MAAM;YAEX,+DAAO,IAAI,CAAC,IAAI,CAAQ;YACvB,IAAI,CAAC,QAAQ;gBACZ,iEAAU,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,QAAQ,GAAa,CAExD,CACL,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Prop } from '@stencil/core';\n\nimport { launch } from '@pine-ds/icons/icons';\n\n/**\n * @part link - Link element styles.\n * @slot (default) - Text content placed between the opening and closing tags. If no text is provided, the **href** will be used as a fallback.\n */\n@Component({\n tag: 'pds-link',\n styleUrls: ['../../global/styles/base.scss', 'pds-link.scss'],\n shadow: true,\n})\nexport class PdsLink {\n /**\n * A unique identifier used for the underlying component `id` attribute.\n */\n @Prop() componentId: string;\n\n /**\n * Determines whether the link should open in a new tab.\n * @defaultValue false\n */\n @Prop() external = false;\n\n /**\n * Sets the link variant styles.\n * @defaultValue inline\n */\n @Prop() variant: 'inline' | 'plain' = 'inline';\n\n /**\n * The font size of the link's text.\n * @defaultValue lg\n */\n @Prop() fontSize: 'sm' | 'md' | 'lg' = 'lg';\n\n /**\n * The hyperlink's destination URL. If no text is provided in the custom slot, the href will be used.\n */\n @Prop() href!: string;\n\n private classNames() {\n const classNames = ['pds-link'];\n\n if (this.fontSize) {\n classNames.push('pds-link--' + this.fontSize);\n }\n\n if (this.variant) {\n classNames.push('pds-link--' + this.variant);\n }\n\n return classNames.join(' ');\n }\n\n render() {\n\n return (\n <a\n class={this.classNames()}\n href={this.href}\n id={this.componentId}\n target={this.external ? '_blank' : undefined}\n part=\"link\"\n >\n <slot>{this.href}</slot>\n {this.external &&\n <pds-icon icon={launch} size={this.fontSize}></pds-icon>\n }\n </a>\n );\n }\n}\n"]}
@@ -33,7 +33,7 @@ export class PdsLoader {
33
33
  }
34
34
  }
35
35
  render() {
36
- return (h(Host, { key: 'd86c3a84f772eedb15662d0d2e22e53ec7064245', class: `pds-loader ${this.isLoading ? '' : 'pds-loader--hidden'}`, "aria-hidden": !this.isLoading, "aria-busy": this.isLoading, "aria-live": "polite" }, this.variant === 'spinner' && (h("div", { key: 'ec7cda5951617f46427729e5497c7d1b46562ae0', class: "pds-loader--spinner" }, h("svg", { key: '5a7bc867400981ba2190dd00836af63cd2492e80', style: this.style(), viewBox: "0 0 200 200", fill: "none" }, h("defs", { key: 'ee88cb4c138868b286f017f84925d3cf8226eeb8' }, h("linearGradient", { key: '435c54ff00cf11654e01d3d6932e77e74fdef8ae', id: "spinner-secondHalf" }, h("stop", { key: '4b9b65cde42833c14285f97c7f4b4acb681db89c', offset: "0%", "stop-opacity": "0", "stop-color": "currentColor" }), h("stop", { key: '207b3963322e1f7f54f2b7b42b328e868a9b8e78', offset: "100%", "stop-opacity": "0.5", "stop-color": "currentColor" })), h("linearGradient", { key: 'fc877ee5738a8184227fe022534e9cdfd8e27bd1', id: "spinner-firstHalf" }, h("stop", { key: '3d210b400691e364e9d1214531c86003a7588d2c', offset: "0%", "stop-opacity": "1", "stop-color": "currentColor" }), h("stop", { key: 'e99b0c940dc876637d90c3d86ce87f35e2f82687', offset: "100%", "stop-opacity": "0.5", "stop-color": "currentColor" }))), h("g", { key: 'f2acd79941647de3a5c5aae6383d021d1fad7493', class: "pds-loader__spinner-path" }, h("path", { key: '9f1d64d00c633dc7ff0a0f2173c7f0e0c04198d6', stroke: "url(#spinner-secondHalf)", d: "M 4 100 A 96 96 0 0 1 196 100" }), h("path", { key: 'd5ff2bd47100be8eee961b00102e77b3456e8236', stroke: "url(#spinner-firstHalf)", d: "M 196 100 A 96 96 0 0 1 4 100" }), h("path", { key: 'd7cc6e2da92238c023d322f023e7e437a5d41404', stroke: "currentColor", "stroke-linecap": "round", d: "M 4 100 A 96 96 0 0 1 4 98" }))))), this.variant === 'typing' && (h("div", { key: '3c893dc1ae4f39f2b5873ba46d4ae30f873d1158', class: "pds-loader--typing" }, h("span", { key: '8b38041018e2039fcc19ad3dbce6de3924725cc3' }), h("span", { key: 'b3e827a9fded83368404e8bb5c83306ff6a35979' }), h("span", { key: '41fedabc2db044862892ae68476756c6400a58fa' }))), h("div", { key: 'b4cf5add3094c4824612216b8ca7291a4e40ff08', class: `pds-loader__label ${this.showLabel ? '' : 'pds-loader--hidden'}` }, h("slot", { key: 'c7b10e65a5a5350e7973a49c540907edf44c71fa', name: "label" }, "Loading..."))));
36
+ return (h(Host, { key: 'e69acbb3ba84e723ce654fb8288c54d6c878a515', class: `pds-loader ${this.isLoading ? '' : 'pds-loader--hidden'}`, "aria-hidden": !this.isLoading, "aria-busy": this.isLoading, "aria-live": "polite" }, this.variant === 'spinner' && (h("div", { key: 'dd121b0adc8825e8b8e5aa6c4c2756d2bbc8aec3', class: "pds-loader--spinner" }, h("svg", { key: '91474584a672fc78a0e1d169eaff53fbbce1b658', style: this.style(), viewBox: "0 0 200 200", fill: "none" }, h("defs", { key: '38fe6181c360cce4c31402ac7408b3120dbf4419' }, h("linearGradient", { key: '29cf900bc3ab8c6b5cb7da36f96207b4e234179a', id: "spinner-secondHalf" }, h("stop", { key: 'aaa993d38e5cc792417160d8febde05e94a55503', offset: "0%", "stop-opacity": "0", "stop-color": "currentColor" }), h("stop", { key: '3df5fe92f07c054016840413979e6f4bbc967af1', offset: "100%", "stop-opacity": "0.5", "stop-color": "currentColor" })), h("linearGradient", { key: '853f7b5ae56dab5688c1bbf2e24fd3f38f13997f', id: "spinner-firstHalf" }, h("stop", { key: '54282ea20ec47332c65559f70ca4dd1429c2fe44', offset: "0%", "stop-opacity": "1", "stop-color": "currentColor" }), h("stop", { key: '471bc0aaa05940103ca1aa50b9772e514a19f912', offset: "100%", "stop-opacity": "0.5", "stop-color": "currentColor" }))), h("g", { key: 'de35b85d92de0e958a0ec6753fa2362d2884c99f', class: "pds-loader__spinner-path" }, h("path", { key: '2238b370478f385ad6201b4aeadc9aedc7702ac7', stroke: "url(#spinner-secondHalf)", d: "M 4 100 A 96 96 0 0 1 196 100" }), h("path", { key: '3a6434262838be8654212f30f40af5bb50c5b679', stroke: "url(#spinner-firstHalf)", d: "M 196 100 A 96 96 0 0 1 4 100" }), h("path", { key: '687280eed667bfa794c4ea380274867614b66ff6', stroke: "currentColor", "stroke-linecap": "round", d: "M 4 100 A 96 96 0 0 1 4 98" }))))), this.variant === 'typing' && (h("div", { key: 'a38bb46b431c96efa00d234ec6ce6b3ff2adb0e5', class: "pds-loader--typing" }, h("span", { key: 'bdd865189cf2fe87181b13fbdb01fcc7086c9f2c' }), h("span", { key: '79be0a18686ac726b3b012cb1b796a1265c45ddb' }), h("span", { key: '351a6709d5b50c27b82d9dfba1d01cd058e8c10f' }))), h("div", { key: '81602e65ce055f10b39a70d5f29ffb62471bcb25', class: `pds-loader__label ${this.showLabel ? '' : 'pds-loader--hidden'}` }, h("slot", { key: '1ce406972db7f6ef5cc7d558301facb5e455956b', name: "label" }, "Loading..."))));
37
37
  }
38
38
  static get is() { return "pds-loader"; }
39
39
  static get encapsulation() { return "shadow"; }
@@ -0,0 +1,51 @@
1
+ :host {
2
+ --sizing-max-width-default: 352px;
3
+ display: inline-block;
4
+ }
5
+ :host [popover] {
6
+ background-color: var(--pine-color-white);
7
+ border: 1px solid var(--pine-color-gray-200);
8
+ border-radius: var(--pine-border-radius-125);
9
+ box-shadow: var(--pine-box-shadow-200);
10
+ margin: 0;
11
+ max-width: var(--sizing-max-width-default);
12
+ padding: var(--pine-spacing-300);
13
+ position: fixed;
14
+ }
15
+ :host button {
16
+ --border-radius-default: var(--pine-border-radius-round);
17
+ --border-width-default: var(--pine-border-width-thin);
18
+ --border-width-unstyled: var(--pine-border-radius-0);
19
+ --color-background-secondary-hover: var(--pine-color-grey-050);
20
+ --color-border-secondary-default: var(--pine-color-grey-400);
21
+ --color-border-secondary-disabled: var(--pine-color-grey-300);
22
+ --color-border-secondary-focus: var(--pine-color-grey-300);
23
+ --color-border-secondary-hover: var(--pine-color-grey-500);
24
+ --color-text-secondary-default: var(--pine-color-grey-800);
25
+ --color-text-secondary-disabled: var(--pine-color-grey-400);
26
+ --color-outline-secondary: var(--pine-color-purple-300);
27
+ --color-border-disabled: var(--color-border-secondary-disabled);
28
+ --color-border-focus: var(--color-border-secondary-focus);
29
+ --color-border-hover: var(--color-border-secondary-hover);
30
+ --color-border-default: var(--color-border-secondary-default);
31
+ --color-text-default: var(--color-text-secondary-default);
32
+ --color-text-disabled: var(--color-text-secondary-disabled);
33
+ --color-outline: var(--color-outline-secondary);
34
+ --spacing-padding-block: var(--pine-spacing-100);
35
+ --spacing-padding-inline: var(--pine-spacing-200);
36
+ align-items: center;
37
+ background-color: var(--color-background-default);
38
+ border: var(--border-width-default) solid var(--color-border-default);
39
+ border-radius: var(--pine-border-radius-circle);
40
+ color: var(--color-text-default);
41
+ display: flex;
42
+ font-family: var(--pine-font-family-greet);
43
+ font-size: var(--pine-font-size-100);
44
+ font-weight: var(--pine-font-weight-body-medium);
45
+ line-height: var(--pine-line-height-150);
46
+ min-height: 40px;
47
+ padding: var(--spacing-padding-block) var(--spacing-padding-inline);
48
+ }
49
+ :host button:hover {
50
+ background-color: var(--color-background-secondary-hover);
51
+ }