@pine-ds/core 2.15.0-mercury.0 → 2.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1119) hide show
  1. package/components/attributes.js +87 -0
  2. package/components/attributes.js.map +1 -0
  3. package/{dist/esm/pds-label-c806218b.js → components/form.js} +2 -10
  4. package/components/form.js.map +1 -0
  5. package/components/index.d.ts +6 -0
  6. package/components/index.js +3 -0
  7. package/components/index.js.map +1 -1
  8. package/components/index2.js +13 -11
  9. package/components/index2.js.map +1 -1
  10. package/components/pds-accordion.js +2 -2
  11. package/components/pds-accordion.js.map +1 -1
  12. package/components/pds-avatar.js +4 -4
  13. package/components/pds-avatar.js.map +1 -1
  14. package/components/pds-box.js +1 -1
  15. package/components/pds-box.js.map +1 -1
  16. package/components/pds-button2.js +7 -8
  17. package/components/pds-button2.js.map +1 -1
  18. package/components/pds-checkbox2.js +14 -6
  19. package/components/pds-checkbox2.js.map +1 -1
  20. package/components/pds-chip.js +10 -7
  21. package/components/pds-chip.js.map +1 -1
  22. package/components/pds-copytext.js +2 -2
  23. package/components/pds-copytext.js.map +1 -1
  24. package/components/pds-divider.js +2 -2
  25. package/components/pds-divider.js.map +1 -1
  26. package/components/pds-icon2.js +1 -1
  27. package/components/pds-icon2.js.map +1 -1
  28. package/components/pds-image.js +3 -3
  29. package/components/pds-image.js.map +1 -1
  30. package/components/pds-input.js +123 -11
  31. package/components/pds-input.js.map +1 -1
  32. package/components/pds-label.js +1 -29
  33. package/components/pds-label.js.map +1 -1
  34. package/components/pds-link.js +3 -3
  35. package/components/pds-link.js.map +1 -1
  36. package/components/pds-loader.js +2 -2
  37. package/components/pds-loader.js.map +1 -1
  38. package/components/pds-popover.d.ts +11 -0
  39. package/components/pds-popover.js +94 -0
  40. package/components/pds-popover.js.map +1 -0
  41. package/components/pds-progress.js +2 -2
  42. package/components/pds-progress.js.map +1 -1
  43. package/components/pds-radio.js +18 -10
  44. package/components/pds-radio.js.map +1 -1
  45. package/components/pds-row.js +2 -2
  46. package/components/pds-row.js.map +1 -1
  47. package/components/pds-select.d.ts +11 -0
  48. package/components/pds-select.js +167 -0
  49. package/components/pds-select.js.map +1 -0
  50. package/components/pds-sortable-item.js +2 -2
  51. package/components/pds-sortable-item.js.map +1 -1
  52. package/components/pds-sortable.js +2 -2
  53. package/components/pds-sortable.js.map +1 -1
  54. package/components/pds-switch.js +17 -12
  55. package/components/pds-switch.js.map +1 -1
  56. package/components/pds-tab.js +4 -4
  57. package/components/pds-tab.js.map +1 -1
  58. package/components/pds-table-body.js +1 -1
  59. package/components/pds-table-body.js.map +1 -1
  60. package/components/pds-table-cell2.js +3 -3
  61. package/components/pds-table-cell2.js.map +1 -1
  62. package/components/pds-table-head-cell2.js +4 -4
  63. package/components/pds-table-head-cell2.js.map +1 -1
  64. package/components/pds-table-head.js +2 -2
  65. package/components/pds-table-head.js.map +1 -1
  66. package/components/pds-table-row.js +10 -4
  67. package/components/pds-table-row.js.map +1 -1
  68. package/components/pds-table.js +1 -1
  69. package/components/pds-table.js.map +1 -1
  70. package/components/pds-tabpanel.js +2 -2
  71. package/components/pds-tabpanel.js.map +1 -1
  72. package/components/pds-tabs.js +2 -2
  73. package/components/pds-tabs.js.map +1 -1
  74. package/components/pds-text.d.ts +11 -0
  75. package/components/pds-text.js +61 -0
  76. package/components/pds-text.js.map +1 -0
  77. package/components/pds-textarea.js +119 -17
  78. package/components/pds-textarea.js.map +1 -1
  79. package/components/pds-tooltip.js +16 -8
  80. package/components/pds-tooltip.js.map +1 -1
  81. package/components/utils.js +21 -0
  82. package/components/utils.js.map +1 -0
  83. package/dist/cjs/attributes-73ee8de7.js +90 -0
  84. package/dist/cjs/attributes-73ee8de7.js.map +1 -0
  85. package/dist/cjs/{pds-label-73bb5bd3.js → form-4f00637c.js} +1 -10
  86. package/dist/cjs/form-4f00637c.js.map +1 -0
  87. package/dist/cjs/index-034a8bb0.js +28 -0
  88. package/dist/cjs/index-034a8bb0.js.map +1 -0
  89. package/dist/cjs/{index-d4ec6246.js → index-b7d9268e.js} +17 -5
  90. package/dist/cjs/index-b7d9268e.js.map +1 -0
  91. package/dist/cjs/index.cjs.js +1 -1
  92. package/dist/cjs/loader.cjs.js +2 -2
  93. package/dist/cjs/pds-accordion.cjs.entry.js +4 -4
  94. package/dist/cjs/pds-accordion.cjs.entry.js.map +1 -1
  95. package/dist/cjs/pds-avatar.cjs.entry.js +6 -6
  96. package/dist/cjs/pds-avatar.cjs.entry.js.map +1 -1
  97. package/dist/cjs/pds-box.cjs.entry.js +2 -2
  98. package/dist/cjs/pds-box.cjs.entry.js.map +1 -1
  99. package/dist/cjs/pds-button.cjs.entry.js +8 -9
  100. package/dist/cjs/pds-button.cjs.entry.js.map +1 -1
  101. package/dist/cjs/pds-checkbox.cjs.entry.js +8 -6
  102. package/dist/cjs/pds-checkbox.cjs.entry.js.map +1 -1
  103. package/dist/cjs/pds-chip.cjs.entry.js +11 -8
  104. package/dist/cjs/pds-chip.cjs.entry.js.map +1 -1
  105. package/dist/cjs/pds-copytext.cjs.entry.js +4 -4
  106. package/dist/cjs/pds-copytext.cjs.entry.js.map +1 -1
  107. package/dist/cjs/pds-divider.cjs.entry.js +3 -3
  108. package/dist/cjs/pds-divider.cjs.entry.js.map +1 -1
  109. package/dist/cjs/pds-icon.cjs.entry.js +2 -2
  110. package/dist/cjs/pds-icon.cjs.entry.js.map +1 -1
  111. package/dist/cjs/pds-image.cjs.entry.js +4 -4
  112. package/dist/cjs/pds-image.cjs.entry.js.map +1 -1
  113. package/dist/cjs/pds-input.cjs.entry.js +109 -10
  114. package/dist/cjs/pds-input.cjs.entry.js.map +1 -1
  115. package/dist/cjs/pds-label-e0d9a97d.js +13 -0
  116. package/dist/cjs/pds-label-e0d9a97d.js.map +1 -0
  117. package/dist/cjs/pds-link.cjs.entry.js +5 -5
  118. package/dist/cjs/pds-link.cjs.entry.js.map +1 -1
  119. package/dist/cjs/pds-loader.cjs.entry.js +3 -3
  120. package/dist/cjs/pds-loader.cjs.entry.js.map +1 -1
  121. package/dist/cjs/pds-popover.cjs.entry.js +72 -0
  122. package/dist/cjs/pds-popover.cjs.entry.js.map +1 -0
  123. package/dist/cjs/pds-progress.cjs.entry.js +3 -3
  124. package/dist/cjs/pds-progress.cjs.entry.js.map +1 -1
  125. package/dist/cjs/pds-radio.cjs.entry.js +10 -8
  126. package/dist/cjs/pds-radio.cjs.entry.js.map +1 -1
  127. package/dist/cjs/pds-row.cjs.entry.js +3 -3
  128. package/dist/cjs/pds-row.cjs.entry.js.map +1 -1
  129. package/dist/cjs/pds-select.cjs.entry.js +133 -0
  130. package/dist/cjs/pds-select.cjs.entry.js.map +1 -0
  131. package/dist/cjs/pds-sortable-item.cjs.entry.js +4 -4
  132. package/dist/cjs/pds-sortable-item.cjs.entry.js.map +1 -1
  133. package/dist/cjs/pds-sortable.cjs.entry.js +3 -3
  134. package/dist/cjs/pds-sortable.cjs.entry.js.map +1 -1
  135. package/dist/cjs/pds-switch.cjs.entry.js +10 -10
  136. package/dist/cjs/pds-switch.cjs.entry.js.map +1 -1
  137. package/dist/cjs/pds-tab.cjs.entry.js +5 -5
  138. package/dist/cjs/pds-tab.cjs.entry.js.map +1 -1
  139. package/dist/cjs/pds-table-body.cjs.entry.js +2 -2
  140. package/dist/cjs/pds-table-body.cjs.entry.js.map +1 -1
  141. package/dist/cjs/pds-table-cell.cjs.entry.js +4 -4
  142. package/dist/cjs/pds-table-cell.cjs.entry.js.map +1 -1
  143. package/dist/cjs/pds-table-head-cell.cjs.entry.js +5 -5
  144. package/dist/cjs/pds-table-head-cell.cjs.entry.js.map +1 -1
  145. package/dist/cjs/pds-table-head.cjs.entry.js +3 -3
  146. package/dist/cjs/pds-table-head.cjs.entry.js.map +1 -1
  147. package/dist/cjs/pds-table-row.cjs.entry.js +3 -3
  148. package/dist/cjs/pds-table-row.cjs.entry.js.map +1 -1
  149. package/dist/cjs/pds-table.cjs.entry.js +2 -2
  150. package/dist/cjs/pds-table.cjs.entry.js.map +1 -1
  151. package/dist/cjs/pds-tabpanel.cjs.entry.js +3 -3
  152. package/dist/cjs/pds-tabpanel.cjs.entry.js.map +1 -1
  153. package/dist/cjs/pds-tabs.cjs.entry.js +3 -3
  154. package/dist/cjs/pds-tabs.cjs.entry.js.map +1 -1
  155. package/dist/cjs/pds-text.cjs.entry.js +39 -0
  156. package/dist/cjs/pds-text.cjs.entry.js.map +1 -0
  157. package/dist/cjs/pds-textarea.cjs.entry.js +105 -16
  158. package/dist/cjs/pds-textarea.cjs.entry.js.map +1 -1
  159. package/dist/cjs/pds-tooltip.cjs.entry.js +15 -8
  160. package/dist/cjs/pds-tooltip.cjs.entry.js.map +1 -1
  161. package/dist/cjs/pine-core.cjs.js +3 -3
  162. package/dist/cjs/pine-core.cjs.js.map +1 -1
  163. package/dist/cjs/utils-39c972f8.js +24 -0
  164. package/dist/cjs/utils-39c972f8.js.map +1 -0
  165. package/dist/collection/collection-manifest.json +5 -2
  166. package/dist/collection/components/pds-accordion/pds-accordion.css +21 -28
  167. package/dist/collection/components/pds-accordion/pds-accordion.js +2 -1
  168. package/dist/collection/components/pds-accordion/pds-accordion.js.map +1 -1
  169. package/dist/collection/components/pds-accordion/stories/pds-accordion.stories.js +11 -15
  170. package/dist/collection/components/pds-avatar/pds-avatar.css +13 -20
  171. package/dist/collection/components/pds-avatar/pds-avatar.js +3 -3
  172. package/dist/collection/components/pds-avatar/pds-avatar.js.map +1 -1
  173. package/dist/collection/components/pds-box/pds-box.css +37 -30
  174. package/dist/collection/components/pds-button/pds-button.css +52 -72
  175. package/dist/collection/components/pds-button/pds-button.js +36 -11
  176. package/dist/collection/components/pds-button/pds-button.js.map +1 -1
  177. package/dist/collection/components/pds-button/stories/pds-button.stories.js +8 -1
  178. package/dist/collection/components/pds-checkbox/pds-checkbox.css +47 -42
  179. package/dist/collection/components/pds-checkbox/pds-checkbox.js +4 -3
  180. package/dist/collection/components/pds-checkbox/pds-checkbox.js.map +1 -1
  181. package/dist/collection/components/pds-chip/pds-chip.css +88 -110
  182. package/dist/collection/components/pds-chip/pds-chip.js +28 -28
  183. package/dist/collection/components/pds-chip/pds-chip.js.map +1 -1
  184. package/dist/collection/components/pds-chip/pds-chip.tokens.css +23 -0
  185. package/dist/collection/components/pds-copytext/pds-copytext.css +25 -36
  186. package/dist/collection/components/pds-copytext/pds-copytext.js +4 -4
  187. package/dist/collection/components/pds-copytext/pds-copytext.js.map +1 -1
  188. package/dist/collection/components/pds-divider/pds-divider.css +29 -41
  189. package/dist/collection/components/pds-divider/pds-divider.js +2 -2
  190. package/dist/collection/components/pds-divider/pds-divider.js.map +1 -1
  191. package/dist/collection/components/pds-icon/stories/pds-icon.stories.js +1 -1
  192. package/dist/collection/components/pds-image/pds-image.css +1 -3
  193. package/dist/collection/components/pds-image/pds-image.js +13 -7
  194. package/dist/collection/components/pds-image/pds-image.js.map +1 -1
  195. package/dist/collection/components/pds-image/stories/pds-image.stories.js +7 -5
  196. package/dist/collection/components/pds-input/input-interface.js +2 -0
  197. package/dist/collection/components/pds-input/input-interface.js.map +1 -0
  198. package/dist/collection/components/pds-input/pds-input.css +46 -44
  199. package/dist/collection/components/pds-input/pds-input.js +239 -22
  200. package/dist/collection/components/pds-input/pds-input.js.map +1 -1
  201. package/dist/collection/components/pds-input/pds-input.tokens.css +6 -0
  202. package/dist/collection/components/pds-input/stories/pds-input.stories.js +18 -2
  203. package/dist/collection/components/pds-link/pds-link.css +16 -25
  204. package/dist/collection/components/pds-link/pds-link.js +12 -9
  205. package/dist/collection/components/pds-link/pds-link.js.map +1 -1
  206. package/dist/collection/components/pds-loader/pds-loader.css +16 -29
  207. package/dist/collection/components/pds-loader/pds-loader.js +1 -1
  208. package/dist/collection/components/pds-loader/pds-loader.js.map +1 -1
  209. package/dist/collection/components/pds-popover/pds-popover.css +30 -0
  210. package/dist/collection/components/pds-popover/pds-popover.js +216 -0
  211. package/dist/collection/components/pds-popover/pds-popover.js.map +1 -0
  212. package/dist/collection/components/pds-popover/stories/pds-popover.stories.js +45 -0
  213. package/dist/collection/components/pds-progress/pds-progress.css +11 -24
  214. package/dist/collection/components/pds-progress/pds-progress.js +1 -1
  215. package/dist/collection/components/pds-progress/pds-progress.js.map +1 -1
  216. package/dist/collection/components/pds-radio/pds-radio.css +38 -37
  217. package/dist/collection/components/pds-radio/pds-radio.js +41 -40
  218. package/dist/collection/components/pds-radio/pds-radio.js.map +1 -1
  219. package/dist/collection/components/pds-row/pds-row.css +9 -8
  220. package/dist/collection/components/pds-row/pds-row.js +1 -1
  221. package/dist/collection/components/pds-select/pds-select.css +98 -0
  222. package/dist/collection/components/pds-select/pds-select.js +361 -0
  223. package/dist/collection/components/pds-select/pds-select.js.map +1 -0
  224. package/dist/collection/components/pds-select/stories/pds-select.stories.js +153 -0
  225. package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.css +13 -22
  226. package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js +1 -1
  227. package/dist/collection/components/pds-sortable/pds-sortable.css +2 -4
  228. package/dist/collection/components/pds-sortable/pds-sortable.js +1 -1
  229. package/dist/collection/components/pds-sortable/pds-sortable.js.map +1 -1
  230. package/dist/collection/components/pds-switch/pds-switch.css +35 -48
  231. package/dist/collection/components/pds-switch/pds-switch.js +17 -39
  232. package/dist/collection/components/pds-switch/pds-switch.js.map +1 -1
  233. package/dist/collection/components/pds-switch/stories/pds-switch.stories.js +2 -15
  234. package/dist/collection/components/pds-table/pds-table-body/pds-table-body.js +1 -1
  235. package/dist/collection/components/pds-table/pds-table-body/pds-table-body.js.map +1 -1
  236. package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.css +11 -17
  237. package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.js +2 -2
  238. package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.js.map +1 -1
  239. package/dist/collection/components/pds-table/pds-table-head/pds-table-head.css +2 -3
  240. package/dist/collection/components/pds-table/pds-table-head/pds-table-head.js +7 -4
  241. package/dist/collection/components/pds-table/pds-table-head/pds-table-head.js.map +1 -1
  242. package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.css +13 -24
  243. package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.js +2 -2
  244. package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.js.map +1 -1
  245. package/dist/collection/components/pds-table/pds-table-row/pds-table-row.css +1 -2
  246. package/dist/collection/components/pds-table/pds-table-row/pds-table-row.js +3 -3
  247. package/dist/collection/components/pds-table/pds-table-row/pds-table-row.js.map +1 -1
  248. package/dist/collection/components/pds-table/pds-table.js +4 -4
  249. package/dist/collection/components/pds-table/pds-table.js.map +1 -1
  250. package/dist/collection/components/pds-table/stories/pds-table.stories.js +1 -1
  251. package/dist/collection/components/pds-tabs/pds-tab/pds-tab.css +23 -47
  252. package/dist/collection/components/pds-tabs/pds-tab/pds-tab.js +3 -3
  253. package/dist/collection/components/pds-tabs/pds-tab/stories/pds-tab.stories.js +19 -0
  254. package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.css +2 -2
  255. package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.js +1 -1
  256. package/dist/collection/components/pds-tabs/pds-tabpanel/stories/pds-tabpanel.stories.js +19 -0
  257. package/dist/collection/components/pds-tabs/pds-tabs.css +8 -11
  258. package/dist/collection/components/pds-tabs/pds-tabs.js +1 -1
  259. package/dist/collection/components/pds-tabs/pds-tabs.js.map +1 -1
  260. package/dist/collection/components/pds-tabs/stories/pds-tabs.stories.js +18 -18
  261. package/dist/collection/components/pds-text/pds-text.css +210 -0
  262. package/dist/collection/components/pds-text/pds-text.js +162 -0
  263. package/dist/collection/components/pds-text/pds-text.js.map +1 -0
  264. package/dist/collection/components/pds-text/stories/pds-text.stories.js +119 -0
  265. package/dist/collection/components/pds-textarea/pds-textarea.css +25 -50
  266. package/dist/collection/components/pds-textarea/pds-textarea.js +234 -28
  267. package/dist/collection/components/pds-textarea/pds-textarea.js.map +1 -1
  268. package/dist/collection/components/pds-textarea/stories/pds-textarea.stories.js +33 -12
  269. package/dist/collection/components/pds-textarea/textarea-interface.js.map +1 -1
  270. package/dist/collection/components/pds-tooltip/pds-tooltip.css +59 -67
  271. package/dist/collection/components/pds-tooltip/pds-tooltip.js +34 -37
  272. package/dist/collection/components/pds-tooltip/pds-tooltip.js.map +1 -1
  273. package/dist/collection/components/pds-tooltip/stories/pds-tooltip.stories.js +15 -15
  274. package/dist/collection/global/styles/utils/label.css +16 -0
  275. package/dist/collection/utils/attributes.js +84 -0
  276. package/dist/collection/utils/attributes.js.map +1 -0
  277. package/dist/collection/utils/types.js.map +1 -1
  278. package/dist/collection/utils/utils.js +14 -3
  279. package/dist/collection/utils/utils.js.map +1 -1
  280. package/dist/docs.json +1584 -391
  281. package/dist/esm/attributes-fe2c8c91.js +87 -0
  282. package/dist/esm/attributes-fe2c8c91.js.map +1 -0
  283. package/dist/esm/form-1b7b69e3.js +31 -0
  284. package/dist/esm/form-1b7b69e3.js.map +1 -0
  285. package/dist/esm/{index-9f0e742f.js → index-b1696fed.js} +17 -5
  286. package/dist/esm/index-b1696fed.js.map +1 -0
  287. package/dist/esm/index-d320cfa9.js +16 -0
  288. package/dist/esm/index-d320cfa9.js.map +1 -0
  289. package/dist/esm/index.js +1 -1
  290. package/dist/esm/loader.js +3 -3
  291. package/dist/esm/pds-accordion.entry.js +4 -4
  292. package/dist/esm/pds-accordion.entry.js.map +1 -1
  293. package/dist/esm/pds-avatar.entry.js +6 -6
  294. package/dist/esm/pds-avatar.entry.js.map +1 -1
  295. package/dist/esm/pds-box.entry.js +2 -2
  296. package/dist/esm/pds-box.entry.js.map +1 -1
  297. package/dist/esm/pds-button.entry.js +7 -8
  298. package/dist/esm/pds-button.entry.js.map +1 -1
  299. package/dist/esm/pds-checkbox.entry.js +8 -6
  300. package/dist/esm/pds-checkbox.entry.js.map +1 -1
  301. package/dist/esm/pds-chip.entry.js +11 -8
  302. package/dist/esm/pds-chip.entry.js.map +1 -1
  303. package/dist/esm/pds-copytext.entry.js +4 -4
  304. package/dist/esm/pds-copytext.entry.js.map +1 -1
  305. package/dist/esm/pds-divider.entry.js +3 -3
  306. package/dist/esm/pds-divider.entry.js.map +1 -1
  307. package/dist/esm/pds-icon.entry.js +2 -2
  308. package/dist/esm/pds-icon.entry.js.map +1 -1
  309. package/dist/esm/pds-image.entry.js +4 -4
  310. package/dist/esm/pds-image.entry.js.map +1 -1
  311. package/dist/esm/pds-input.entry.js +109 -10
  312. package/dist/esm/pds-input.entry.js.map +1 -1
  313. package/dist/esm/pds-label-949a17b6.js +11 -0
  314. package/dist/esm/pds-label-949a17b6.js.map +1 -0
  315. package/dist/esm/pds-link.entry.js +5 -5
  316. package/dist/esm/pds-link.entry.js.map +1 -1
  317. package/dist/esm/pds-loader.entry.js +3 -3
  318. package/dist/esm/pds-loader.entry.js.map +1 -1
  319. package/dist/esm/pds-popover.entry.js +68 -0
  320. package/dist/esm/pds-popover.entry.js.map +1 -0
  321. package/dist/esm/pds-progress.entry.js +3 -3
  322. package/dist/esm/pds-progress.entry.js.map +1 -1
  323. package/dist/esm/pds-radio.entry.js +10 -8
  324. package/dist/esm/pds-radio.entry.js.map +1 -1
  325. package/dist/esm/pds-row.entry.js +3 -3
  326. package/dist/esm/pds-row.entry.js.map +1 -1
  327. package/dist/esm/pds-select.entry.js +129 -0
  328. package/dist/esm/pds-select.entry.js.map +1 -0
  329. package/dist/esm/pds-sortable-item.entry.js +4 -4
  330. package/dist/esm/pds-sortable-item.entry.js.map +1 -1
  331. package/dist/esm/pds-sortable.entry.js +3 -3
  332. package/dist/esm/pds-sortable.entry.js.map +1 -1
  333. package/dist/esm/pds-switch.entry.js +10 -10
  334. package/dist/esm/pds-switch.entry.js.map +1 -1
  335. package/dist/esm/pds-tab.entry.js +5 -5
  336. package/dist/esm/pds-tab.entry.js.map +1 -1
  337. package/dist/esm/pds-table-body.entry.js +2 -2
  338. package/dist/esm/pds-table-body.entry.js.map +1 -1
  339. package/dist/esm/pds-table-cell.entry.js +4 -4
  340. package/dist/esm/pds-table-cell.entry.js.map +1 -1
  341. package/dist/esm/pds-table-head-cell.entry.js +5 -5
  342. package/dist/esm/pds-table-head-cell.entry.js.map +1 -1
  343. package/dist/esm/pds-table-head.entry.js +3 -3
  344. package/dist/esm/pds-table-head.entry.js.map +1 -1
  345. package/dist/esm/pds-table-row.entry.js +3 -3
  346. package/dist/esm/pds-table-row.entry.js.map +1 -1
  347. package/dist/esm/pds-table.entry.js +2 -2
  348. package/dist/esm/pds-table.entry.js.map +1 -1
  349. package/dist/esm/pds-tabpanel.entry.js +3 -3
  350. package/dist/esm/pds-tabpanel.entry.js.map +1 -1
  351. package/dist/esm/pds-tabs.entry.js +3 -3
  352. package/dist/esm/pds-tabs.entry.js.map +1 -1
  353. package/dist/esm/pds-text.entry.js +35 -0
  354. package/dist/esm/pds-text.entry.js.map +1 -0
  355. package/dist/esm/pds-textarea.entry.js +105 -16
  356. package/dist/esm/pds-textarea.entry.js.map +1 -1
  357. package/dist/esm/pds-tooltip.entry.js +15 -8
  358. package/dist/esm/pds-tooltip.entry.js.map +1 -1
  359. package/dist/esm/pine-core.js +4 -4
  360. package/dist/esm/pine-core.js.map +1 -1
  361. package/dist/esm/utils-5e425aaf.js +21 -0
  362. package/dist/esm/utils-5e425aaf.js.map +1 -0
  363. package/dist/esm-es5/attributes-fe2c8c91.js +2 -0
  364. package/dist/esm-es5/attributes-fe2c8c91.js.map +1 -0
  365. package/dist/esm-es5/form-1b7b69e3.js +2 -0
  366. package/dist/esm-es5/form-1b7b69e3.js.map +1 -0
  367. package/dist/esm-es5/index-b1696fed.js +3 -0
  368. package/dist/esm-es5/index-b1696fed.js.map +1 -0
  369. package/dist/esm-es5/index-d320cfa9.js +2 -0
  370. package/dist/esm-es5/index-d320cfa9.js.map +1 -0
  371. package/dist/esm-es5/index.js +1 -1
  372. package/dist/esm-es5/loader.js +1 -1
  373. package/dist/esm-es5/loader.js.map +1 -1
  374. package/dist/esm-es5/pds-accordion.entry.js +1 -1
  375. package/dist/esm-es5/pds-accordion.entry.js.map +1 -1
  376. package/dist/esm-es5/pds-avatar.entry.js +1 -1
  377. package/dist/esm-es5/pds-avatar.entry.js.map +1 -1
  378. package/dist/esm-es5/pds-box.entry.js +1 -1
  379. package/dist/esm-es5/pds-box.entry.js.map +1 -1
  380. package/dist/esm-es5/pds-button.entry.js +1 -1
  381. package/dist/esm-es5/pds-button.entry.js.map +1 -1
  382. package/dist/esm-es5/pds-checkbox.entry.js +1 -1
  383. package/dist/esm-es5/pds-checkbox.entry.js.map +1 -1
  384. package/dist/esm-es5/pds-chip.entry.js +1 -1
  385. package/dist/esm-es5/pds-chip.entry.js.map +1 -1
  386. package/dist/esm-es5/pds-copytext.entry.js +1 -1
  387. package/dist/esm-es5/pds-copytext.entry.js.map +1 -1
  388. package/dist/esm-es5/pds-divider.entry.js +1 -1
  389. package/dist/esm-es5/pds-divider.entry.js.map +1 -1
  390. package/dist/esm-es5/pds-icon.entry.js +1 -1
  391. package/dist/esm-es5/pds-icon.entry.js.map +1 -1
  392. package/dist/esm-es5/pds-image.entry.js +1 -1
  393. package/dist/esm-es5/pds-image.entry.js.map +1 -1
  394. package/dist/esm-es5/pds-input.entry.js +1 -1
  395. package/dist/esm-es5/pds-input.entry.js.map +1 -1
  396. package/dist/esm-es5/pds-label-949a17b6.js +2 -0
  397. package/dist/esm-es5/pds-label-949a17b6.js.map +1 -0
  398. package/dist/esm-es5/pds-link.entry.js +1 -1
  399. package/dist/esm-es5/pds-link.entry.js.map +1 -1
  400. package/dist/esm-es5/pds-loader.entry.js +1 -1
  401. package/dist/esm-es5/pds-loader.entry.js.map +1 -1
  402. package/dist/esm-es5/pds-popover.entry.js +2 -0
  403. package/dist/esm-es5/pds-popover.entry.js.map +1 -0
  404. package/dist/esm-es5/pds-progress.entry.js +1 -1
  405. package/dist/esm-es5/pds-progress.entry.js.map +1 -1
  406. package/dist/esm-es5/pds-radio.entry.js +1 -1
  407. package/dist/esm-es5/pds-radio.entry.js.map +1 -1
  408. package/dist/esm-es5/pds-row.entry.js +1 -1
  409. package/dist/esm-es5/pds-row.entry.js.map +1 -1
  410. package/dist/esm-es5/pds-select.entry.js +2 -0
  411. package/dist/esm-es5/pds-select.entry.js.map +1 -0
  412. package/dist/esm-es5/pds-sortable-item.entry.js +1 -1
  413. package/dist/esm-es5/pds-sortable-item.entry.js.map +1 -1
  414. package/dist/esm-es5/pds-sortable.entry.js +2 -2
  415. package/dist/esm-es5/pds-sortable.entry.js.map +1 -1
  416. package/dist/esm-es5/pds-switch.entry.js +1 -1
  417. package/dist/esm-es5/pds-switch.entry.js.map +1 -1
  418. package/dist/esm-es5/pds-tab.entry.js +1 -1
  419. package/dist/esm-es5/pds-tab.entry.js.map +1 -1
  420. package/dist/esm-es5/pds-table-body.entry.js +1 -1
  421. package/dist/esm-es5/pds-table-body.entry.js.map +1 -1
  422. package/dist/esm-es5/pds-table-cell.entry.js +1 -1
  423. package/dist/esm-es5/pds-table-cell.entry.js.map +1 -1
  424. package/dist/esm-es5/pds-table-head-cell.entry.js +1 -1
  425. package/dist/esm-es5/pds-table-head-cell.entry.js.map +1 -1
  426. package/dist/esm-es5/pds-table-head.entry.js +1 -1
  427. package/dist/esm-es5/pds-table-head.entry.js.map +1 -1
  428. package/dist/esm-es5/pds-table-row.entry.js +1 -1
  429. package/dist/esm-es5/pds-table-row.entry.js.map +1 -1
  430. package/dist/esm-es5/pds-table.entry.js +1 -1
  431. package/dist/esm-es5/pds-table.entry.js.map +1 -1
  432. package/dist/esm-es5/pds-tabpanel.entry.js +1 -1
  433. package/dist/esm-es5/pds-tabpanel.entry.js.map +1 -1
  434. package/dist/esm-es5/pds-tabs.entry.js +1 -1
  435. package/dist/esm-es5/pds-tabs.entry.js.map +1 -1
  436. package/dist/esm-es5/pds-text.entry.js +2 -0
  437. package/dist/esm-es5/pds-text.entry.js.map +1 -0
  438. package/dist/esm-es5/pds-textarea.entry.js +1 -1
  439. package/dist/esm-es5/pds-textarea.entry.js.map +1 -1
  440. package/dist/esm-es5/pds-tooltip.entry.js +1 -1
  441. package/dist/esm-es5/pds-tooltip.entry.js.map +1 -1
  442. package/dist/esm-es5/pine-core.js +1 -1
  443. package/dist/esm-es5/pine-core.js.map +1 -1
  444. package/dist/esm-es5/utils-5e425aaf.js +2 -0
  445. package/dist/esm-es5/utils-5e425aaf.js.map +1 -0
  446. package/dist/pine-core/index.esm.js +1 -1
  447. package/dist/pine-core/p-017e1978.system.js +2 -0
  448. package/dist/pine-core/p-017e1978.system.js.map +1 -0
  449. package/dist/pine-core/p-07a7c5bb.entry.js +2 -0
  450. package/dist/pine-core/p-07a7c5bb.entry.js.map +1 -0
  451. package/dist/pine-core/p-0c09ce7a.js +2 -0
  452. package/dist/pine-core/p-0c09ce7a.js.map +1 -0
  453. package/dist/pine-core/p-0e4226b8.entry.js +2 -0
  454. package/dist/pine-core/p-0e4226b8.entry.js.map +1 -0
  455. package/dist/pine-core/p-19be5a8e.system.entry.js +2 -0
  456. package/dist/pine-core/p-19be5a8e.system.entry.js.map +1 -0
  457. package/dist/pine-core/p-1da5aaf3.entry.js +2 -0
  458. package/dist/pine-core/p-1da5aaf3.entry.js.map +1 -0
  459. package/dist/pine-core/p-1e9d6f92.system.entry.js +2 -0
  460. package/dist/pine-core/p-1e9d6f92.system.entry.js.map +1 -0
  461. package/dist/pine-core/{p-a6b486a4.entry.js → p-1edca70e.entry.js} +3 -3
  462. package/dist/pine-core/{p-a6b486a4.entry.js.map → p-1edca70e.entry.js.map} +1 -1
  463. package/dist/pine-core/{p-7c029627.system.entry.js → p-1fd67cb4.system.entry.js} +3 -3
  464. package/dist/pine-core/{p-7c029627.system.entry.js.map → p-1fd67cb4.system.entry.js.map} +1 -1
  465. package/dist/pine-core/p-26679956.system.entry.js +2 -0
  466. package/dist/pine-core/p-26679956.system.entry.js.map +1 -0
  467. package/dist/pine-core/p-285cd9d1.system.entry.js +2 -0
  468. package/dist/pine-core/p-285cd9d1.system.entry.js.map +1 -0
  469. package/dist/pine-core/p-29bb6589.entry.js +2 -0
  470. package/dist/pine-core/p-29bb6589.entry.js.map +1 -0
  471. package/dist/pine-core/p-2c0ef946.entry.js +2 -0
  472. package/dist/pine-core/p-2c0ef946.entry.js.map +1 -0
  473. package/dist/pine-core/p-2d52d5f7.entry.js +2 -0
  474. package/dist/pine-core/p-2d52d5f7.entry.js.map +1 -0
  475. package/dist/pine-core/p-2fedf634.system.entry.js +2 -0
  476. package/dist/pine-core/p-2fedf634.system.entry.js.map +1 -0
  477. package/dist/pine-core/p-30cd9f18.entry.js +2 -0
  478. package/dist/pine-core/p-30cd9f18.entry.js.map +1 -0
  479. package/dist/pine-core/p-372a04fa.system.entry.js +2 -0
  480. package/dist/pine-core/p-372a04fa.system.entry.js.map +1 -0
  481. package/dist/pine-core/p-397ce1a8.system.entry.js +2 -0
  482. package/dist/pine-core/p-397ce1a8.system.entry.js.map +1 -0
  483. package/dist/pine-core/p-399617f0.system.entry.js +2 -0
  484. package/dist/pine-core/p-399617f0.system.entry.js.map +1 -0
  485. package/dist/pine-core/p-3c6a0b2a.system.entry.js +2 -0
  486. package/dist/pine-core/p-3c6a0b2a.system.entry.js.map +1 -0
  487. package/dist/pine-core/p-3fbb568f.entry.js +2 -0
  488. package/dist/pine-core/p-3fbb568f.entry.js.map +1 -0
  489. package/dist/pine-core/p-45cf2585.system.js +3 -0
  490. package/dist/pine-core/p-45cf2585.system.js.map +1 -0
  491. package/dist/pine-core/p-46fb585d.js +2 -0
  492. package/dist/pine-core/p-46fb585d.js.map +1 -0
  493. package/dist/pine-core/p-47291f05.js +2 -0
  494. package/dist/pine-core/p-47291f05.js.map +1 -0
  495. package/dist/pine-core/p-4c252abb.system.entry.js +2 -0
  496. package/dist/pine-core/p-4c252abb.system.entry.js.map +1 -0
  497. package/dist/pine-core/p-4d1fbb88.system.entry.js +2 -0
  498. package/dist/pine-core/p-4d1fbb88.system.entry.js.map +1 -0
  499. package/dist/pine-core/p-4e2fe44a.system.entry.js +2 -0
  500. package/dist/pine-core/p-4e2fe44a.system.entry.js.map +1 -0
  501. package/dist/pine-core/p-521ac753.system.js +2 -0
  502. package/dist/pine-core/p-521ac753.system.js.map +1 -0
  503. package/dist/pine-core/p-5480346a.system.js +2 -0
  504. package/dist/pine-core/p-5480346a.system.js.map +1 -0
  505. package/dist/pine-core/p-59f4c8ab.system.entry.js +2 -0
  506. package/dist/pine-core/p-59f4c8ab.system.entry.js.map +1 -0
  507. package/dist/pine-core/p-5b9f8f6a.system.entry.js +2 -0
  508. package/dist/pine-core/p-5b9f8f6a.system.entry.js.map +1 -0
  509. package/dist/pine-core/p-5c04aee0.system.js +2 -0
  510. package/dist/pine-core/p-5c04aee0.system.js.map +1 -0
  511. package/dist/pine-core/p-5e1b7996.entry.js +2 -0
  512. package/dist/pine-core/{p-5303452a.entry.js.map → p-5e1b7996.entry.js.map} +1 -1
  513. package/dist/pine-core/p-5e50a381.entry.js +2 -0
  514. package/dist/pine-core/p-5e50a381.entry.js.map +1 -0
  515. package/dist/pine-core/p-60c2039e.system.entry.js +2 -0
  516. package/dist/pine-core/{p-41c843c5.system.entry.js.map → p-60c2039e.system.entry.js.map} +1 -1
  517. package/dist/pine-core/p-650a27ca.entry.js +2 -0
  518. package/dist/pine-core/p-650a27ca.entry.js.map +1 -0
  519. package/dist/pine-core/p-6709f0f7.system.entry.js +2 -0
  520. package/dist/pine-core/p-6709f0f7.system.entry.js.map +1 -0
  521. package/dist/pine-core/p-6ce5b998.entry.js +2 -0
  522. package/dist/pine-core/p-6ce5b998.entry.js.map +1 -0
  523. package/dist/pine-core/p-6d8df897.entry.js +2 -0
  524. package/dist/pine-core/p-6d8df897.entry.js.map +1 -0
  525. package/dist/pine-core/p-6db1fe5c.entry.js +2 -0
  526. package/dist/pine-core/p-6db1fe5c.entry.js.map +1 -0
  527. package/dist/pine-core/p-6e8f3bb4.entry.js +2 -0
  528. package/dist/pine-core/p-6e8f3bb4.entry.js.map +1 -0
  529. package/dist/pine-core/p-726dc3d1.entry.js +2 -0
  530. package/dist/pine-core/p-726dc3d1.entry.js.map +1 -0
  531. package/dist/pine-core/p-74ad0244.entry.js +2 -0
  532. package/dist/pine-core/p-74ad0244.entry.js.map +1 -0
  533. package/dist/pine-core/p-7905b8b8.js +2 -0
  534. package/dist/pine-core/p-7905b8b8.js.map +1 -0
  535. package/dist/pine-core/p-798cde42.system.entry.js +2 -0
  536. package/dist/pine-core/p-798cde42.system.entry.js.map +1 -0
  537. package/dist/pine-core/p-80c582b7.system.entry.js +2 -0
  538. package/dist/pine-core/p-80c582b7.system.entry.js.map +1 -0
  539. package/dist/pine-core/p-8205e4d8.system.entry.js +2 -0
  540. package/dist/pine-core/p-8205e4d8.system.entry.js.map +1 -0
  541. package/dist/pine-core/p-8420594c.system.entry.js +2 -0
  542. package/dist/pine-core/p-8420594c.system.entry.js.map +1 -0
  543. package/dist/pine-core/p-87fe352f.js +3 -0
  544. package/dist/pine-core/p-87fe352f.js.map +1 -0
  545. package/dist/pine-core/p-8b2db323.system.entry.js +2 -0
  546. package/dist/pine-core/p-8b2db323.system.entry.js.map +1 -0
  547. package/dist/pine-core/p-8d1efd85.system.js +2 -0
  548. package/dist/pine-core/p-8d1efd85.system.js.map +1 -0
  549. package/dist/pine-core/{p-669c5ccd.entry.js → p-92bcb091.entry.js} +2 -2
  550. package/dist/pine-core/p-92bcb091.entry.js.map +1 -0
  551. package/dist/pine-core/p-954098a2.entry.js +2 -0
  552. package/dist/pine-core/p-954098a2.entry.js.map +1 -0
  553. package/dist/pine-core/p-9e976b99.entry.js +2 -0
  554. package/dist/pine-core/p-9e976b99.entry.js.map +1 -0
  555. package/dist/pine-core/p-a2465224.entry.js +2 -0
  556. package/dist/pine-core/p-a2465224.entry.js.map +1 -0
  557. package/dist/pine-core/p-a7d75615.system.js +2 -0
  558. package/dist/pine-core/p-a7d75615.system.js.map +1 -0
  559. package/dist/pine-core/p-b27bbfe3.entry.js +2 -0
  560. package/dist/pine-core/p-b27bbfe3.entry.js.map +1 -0
  561. package/dist/pine-core/p-b29b2e57.system.entry.js +2 -0
  562. package/dist/pine-core/p-b29b2e57.system.entry.js.map +1 -0
  563. package/dist/pine-core/p-b47f9e15.system.entry.js +2 -0
  564. package/dist/pine-core/p-b47f9e15.system.entry.js.map +1 -0
  565. package/dist/pine-core/p-b7e91522.entry.js +2 -0
  566. package/dist/pine-core/p-b7e91522.entry.js.map +1 -0
  567. package/dist/pine-core/p-c68362cc.entry.js +2 -0
  568. package/dist/pine-core/p-c68362cc.entry.js.map +1 -0
  569. package/dist/pine-core/p-cae3e411.entry.js +2 -0
  570. package/dist/pine-core/p-cae3e411.entry.js.map +1 -0
  571. package/dist/pine-core/p-cb3ddff3.entry.js +2 -0
  572. package/dist/pine-core/p-cb3ddff3.entry.js.map +1 -0
  573. package/dist/pine-core/p-cd14918d.system.entry.js +2 -0
  574. package/dist/pine-core/p-cd14918d.system.entry.js.map +1 -0
  575. package/dist/pine-core/p-d0b371ee.system.entry.js +2 -0
  576. package/dist/pine-core/p-d0b371ee.system.entry.js.map +1 -0
  577. package/dist/pine-core/p-d561168e.js +2 -0
  578. package/dist/pine-core/p-d561168e.js.map +1 -0
  579. package/dist/pine-core/p-d6a5ec65.system.entry.js +2 -0
  580. package/dist/pine-core/p-d6a5ec65.system.entry.js.map +1 -0
  581. package/dist/pine-core/p-d8260ebf.system.entry.js +2 -0
  582. package/dist/pine-core/p-d8260ebf.system.entry.js.map +1 -0
  583. package/dist/pine-core/p-da961d2b.entry.js +2 -0
  584. package/dist/pine-core/p-da961d2b.entry.js.map +1 -0
  585. package/dist/pine-core/p-db622f8f.system.js +2 -0
  586. package/dist/pine-core/p-df73ebae.entry.js +2 -0
  587. package/dist/pine-core/p-df73ebae.entry.js.map +1 -0
  588. package/dist/pine-core/p-e356293a.entry.js +2 -0
  589. package/dist/pine-core/p-e356293a.entry.js.map +1 -0
  590. package/dist/pine-core/{p-4cfa45e5.system.entry.js → p-e39bd4b2.system.entry.js} +2 -2
  591. package/dist/pine-core/p-e39bd4b2.system.entry.js.map +1 -0
  592. package/dist/pine-core/p-e5b46292.entry.js +2 -0
  593. package/dist/pine-core/p-e5b46292.entry.js.map +1 -0
  594. package/dist/pine-core/p-e60348bc.system.entry.js +2 -0
  595. package/dist/pine-core/p-e60348bc.system.entry.js.map +1 -0
  596. package/dist/pine-core/p-e890c1bb.system.entry.js +2 -0
  597. package/dist/pine-core/p-e890c1bb.system.entry.js.map +1 -0
  598. package/dist/pine-core/p-ed990ad0.system.entry.js +2 -0
  599. package/dist/pine-core/p-ed990ad0.system.entry.js.map +1 -0
  600. package/dist/pine-core/p-f085efeb.entry.js +2 -0
  601. package/dist/pine-core/p-f085efeb.entry.js.map +1 -0
  602. package/dist/pine-core/p-f34096db.system.entry.js +2 -0
  603. package/dist/pine-core/p-f34096db.system.entry.js.map +1 -0
  604. package/dist/pine-core/p-f90088df.entry.js +2 -0
  605. package/dist/pine-core/p-f90088df.entry.js.map +1 -0
  606. package/dist/pine-core/pine-core.css +1 -1
  607. package/dist/pine-core/pine-core.esm.js +1 -1
  608. package/dist/pine-core/pine-core.esm.js.map +1 -1
  609. package/dist/pine-core/pine-core.js +1 -1
  610. package/dist/pine-core/svg/access-key.svg +1 -1
  611. package/dist/pine-core/svg/add-circle.svg +1 -1
  612. package/dist/pine-core/svg/add-image.svg +1 -1
  613. package/dist/pine-core/svg/add-small.svg +1 -1
  614. package/dist/pine-core/svg/add-square.svg +1 -1
  615. package/dist/pine-core/svg/add.svg +1 -1
  616. package/dist/pine-core/svg/advanced.svg +1 -1
  617. package/dist/pine-core/svg/ai-sparkle.svg +1 -1
  618. package/dist/pine-core/svg/ai-writer-filled.svg +1 -1
  619. package/dist/pine-core/svg/ai-writer.svg +1 -1
  620. package/dist/pine-core/svg/align-center.svg +1 -1
  621. package/dist/pine-core/svg/align-justify.svg +1 -1
  622. package/dist/pine-core/svg/align-left.svg +1 -1
  623. package/dist/pine-core/svg/align-right.svg +1 -1
  624. package/dist/pine-core/svg/app-store.svg +1 -1
  625. package/dist/pine-core/svg/archive.svg +1 -1
  626. package/dist/pine-core/svg/arrow-corner.svg +1 -1
  627. package/dist/pine-core/svg/arrow-down.svg +1 -1
  628. package/dist/pine-core/svg/arrow-left.svg +1 -1
  629. package/dist/pine-core/svg/arrow-right.svg +1 -1
  630. package/dist/pine-core/svg/arrow-up.svg +1 -1
  631. package/dist/pine-core/svg/assessment.svg +1 -1
  632. package/dist/pine-core/svg/at-sign.svg +1 -1
  633. package/dist/pine-core/svg/attach.svg +1 -1
  634. package/dist/pine-core/svg/automations.svg +1 -1
  635. package/dist/pine-core/svg/ban.svg +1 -1
  636. package/dist/pine-core/svg/bank.svg +1 -1
  637. package/dist/pine-core/svg/bar-chart-square.svg +1 -1
  638. package/dist/pine-core/svg/bar-chart-tone.svg +1 -1
  639. package/dist/pine-core/svg/bell-tone.svg +1 -1
  640. package/dist/pine-core/svg/bell.svg +1 -1
  641. package/dist/pine-core/svg/block.svg +1 -1
  642. package/dist/pine-core/svg/blog-filled.svg +1 -1
  643. package/dist/pine-core/svg/blog.svg +1 -1
  644. package/dist/pine-core/svg/bold.svg +1 -1
  645. package/dist/pine-core/svg/bookmark.svg +1 -0
  646. package/dist/pine-core/svg/broadcast.svg +1 -1
  647. package/dist/pine-core/svg/bulb.svg +1 -1
  648. package/dist/pine-core/svg/button.svg +1 -1
  649. package/dist/pine-core/svg/calendar-date.svg +1 -1
  650. package/dist/pine-core/svg/calendar-schedule.svg +1 -1
  651. package/dist/pine-core/svg/calendar-simple.svg +1 -1
  652. package/dist/pine-core/svg/card-amex.svg +1 -1
  653. package/dist/pine-core/svg/card-android.svg +1 -1
  654. package/dist/pine-core/svg/card-apple.svg +1 -1
  655. package/dist/pine-core/svg/card-diners-club.svg +1 -1
  656. package/dist/pine-core/svg/card-discover.svg +1 -1
  657. package/dist/pine-core/svg/card-generic.svg +1 -1
  658. package/dist/pine-core/svg/card-gpay.svg +1 -1
  659. package/dist/pine-core/svg/card-mastercard.svg +1 -1
  660. package/dist/pine-core/svg/card-paypal.svg +1 -1
  661. package/dist/pine-core/svg/card-stripe.svg +1 -1
  662. package/dist/pine-core/svg/card-update.svg +1 -1
  663. package/dist/pine-core/svg/card-visa.svg +1 -1
  664. package/dist/pine-core/svg/caret-down.svg +1 -1
  665. package/dist/pine-core/svg/caret-left.svg +1 -1
  666. package/dist/pine-core/svg/caret-right.svg +1 -1
  667. package/dist/pine-core/svg/caret-up.svg +1 -1
  668. package/dist/pine-core/svg/cart-add.svg +1 -1
  669. package/dist/pine-core/svg/cart.svg +1 -1
  670. package/dist/pine-core/svg/certificate.svg +1 -1
  671. package/dist/pine-core/svg/chart-filled.svg +1 -1
  672. package/dist/pine-core/svg/chart.svg +1 -1
  673. package/dist/pine-core/svg/check-circle-filled.svg +1 -1
  674. package/dist/pine-core/svg/check-circle.svg +1 -1
  675. package/dist/pine-core/svg/check.svg +1 -1
  676. package/dist/pine-core/svg/circle-1.svg +1 -1
  677. package/dist/pine-core/svg/circle-2.svg +1 -1
  678. package/dist/pine-core/svg/circle-3.svg +1 -1
  679. package/dist/pine-core/svg/circle-4.svg +1 -1
  680. package/dist/pine-core/svg/circle-5.svg +1 -1
  681. package/dist/pine-core/svg/circle-6.svg +1 -1
  682. package/dist/pine-core/svg/circle-7.svg +1 -1
  683. package/dist/pine-core/svg/circle-8.svg +1 -1
  684. package/dist/pine-core/svg/circle-9.svg +1 -1
  685. package/dist/pine-core/svg/circle-a.svg +1 -1
  686. package/dist/pine-core/svg/circle-b.svg +1 -1
  687. package/dist/pine-core/svg/circle-dashed.svg +1 -1
  688. package/dist/pine-core/svg/clapperboard-tone.svg +1 -1
  689. package/dist/pine-core/svg/clock.svg +1 -1
  690. package/dist/pine-core/svg/closed-captions.svg +1 -1
  691. package/dist/pine-core/svg/cloud-upload.svg +1 -1
  692. package/dist/pine-core/svg/code-block.svg +1 -1
  693. package/dist/pine-core/svg/code.svg +1 -1
  694. package/dist/pine-core/svg/color.svg +1 -1
  695. package/dist/pine-core/svg/columns.svg +1 -1
  696. package/dist/pine-core/svg/comment-no.svg +1 -1
  697. package/dist/pine-core/svg/comment.svg +1 -1
  698. package/dist/pine-core/svg/connect.svg +1 -1
  699. package/dist/pine-core/svg/contact.svg +1 -1
  700. package/dist/pine-core/svg/conversation.svg +1 -1
  701. package/dist/pine-core/svg/copy.svg +1 -1
  702. package/dist/pine-core/svg/coupon.svg +1 -1
  703. package/dist/pine-core/svg/course-filled.svg +1 -1
  704. package/dist/pine-core/svg/course.svg +1 -1
  705. package/dist/pine-core/svg/creator-studio-filled.svg +1 -1
  706. package/dist/pine-core/svg/creator-studio.svg +1 -1
  707. package/dist/pine-core/svg/credit-card-tone.svg +1 -1
  708. package/dist/pine-core/svg/cube-tone.svg +1 -1
  709. package/dist/pine-core/svg/cursor-pointer.svg +1 -1
  710. package/dist/pine-core/svg/cursor.svg +1 -1
  711. package/dist/pine-core/svg/custom-field.svg +1 -1
  712. package/dist/pine-core/svg/customize.svg +1 -1
  713. package/dist/pine-core/svg/danger-filled.svg +1 -1
  714. package/dist/pine-core/svg/danger.svg +1 -1
  715. package/dist/pine-core/svg/delete-circle.svg +1 -1
  716. package/dist/pine-core/svg/delete-key.svg +1 -1
  717. package/dist/pine-core/svg/delete-x.svg +1 -1
  718. package/dist/pine-core/svg/dollar.svg +1 -1
  719. package/dist/pine-core/svg/dot-menu-horizontal.svg +1 -1
  720. package/dist/pine-core/svg/dots-horizontal-tone.svg +1 -1
  721. package/dist/pine-core/svg/down-small.svg +1 -1
  722. package/dist/pine-core/svg/download.svg +1 -1
  723. package/dist/pine-core/svg/downsell.svg +1 -1
  724. package/dist/pine-core/svg/draft.svg +1 -1
  725. package/dist/pine-core/svg/drawer-collapse.svg +1 -1
  726. package/dist/pine-core/svg/drawer-expand.svg +1 -1
  727. package/dist/pine-core/svg/drop.svg +1 -1
  728. package/dist/pine-core/svg/duplicate.svg +1 -1
  729. package/dist/pine-core/svg/editor-filled.svg +1 -1
  730. package/dist/pine-core/svg/editor.svg +1 -1
  731. package/dist/pine-core/svg/email-activity.svg +1 -1
  732. package/dist/pine-core/svg/emoji.svg +1 -1
  733. package/dist/pine-core/svg/enlarge-vertical.svg +1 -1
  734. package/dist/pine-core/svg/enlarge.svg +1 -1
  735. package/dist/pine-core/svg/expand.svg +1 -1
  736. package/dist/pine-core/svg/favorite.svg +1 -1
  737. package/dist/pine-core/svg/feedback.svg +1 -1
  738. package/dist/pine-core/svg/file-add.svg +1 -1
  739. package/dist/pine-core/svg/file-download.svg +1 -1
  740. package/dist/pine-core/svg/file-lock.svg +1 -1
  741. package/dist/pine-core/svg/file-money.svg +1 -1
  742. package/dist/pine-core/svg/file-search.svg +1 -0
  743. package/dist/pine-core/svg/file.svg +1 -1
  744. package/dist/pine-core/svg/filter.svg +1 -1
  745. package/dist/pine-core/svg/flag.svg +1 -1
  746. package/dist/pine-core/svg/flash-filled.svg +1 -1
  747. package/dist/pine-core/svg/flash.svg +1 -1
  748. package/dist/pine-core/svg/floppy-disk.svg +1 -1
  749. package/dist/pine-core/svg/folder-group.svg +1 -1
  750. package/dist/pine-core/svg/folder.svg +1 -1
  751. package/dist/pine-core/svg/form-field.svg +1 -1
  752. package/dist/pine-core/svg/form-filled.svg +1 -1
  753. package/dist/pine-core/svg/form.svg +1 -1
  754. package/dist/pine-core/svg/fullscreen.svg +1 -1
  755. package/dist/pine-core/svg/funnel.svg +1 -1
  756. package/dist/pine-core/svg/gear-filled.svg +1 -1
  757. package/dist/pine-core/svg/gear.svg +1 -1
  758. package/dist/pine-core/svg/gift-tone.svg +1 -1
  759. package/dist/pine-core/svg/grant-offer.svg +1 -1
  760. package/dist/pine-core/svg/handle-2-vertical.svg +1 -1
  761. package/dist/pine-core/svg/handle-2.svg +1 -1
  762. package/dist/pine-core/svg/handle.svg +1 -1
  763. package/dist/pine-core/svg/hashtag.svg +1 -1
  764. package/dist/pine-core/svg/hd-video.svg +1 -1
  765. package/dist/pine-core/svg/heading-1.svg +1 -1
  766. package/dist/pine-core/svg/heading-2.svg +1 -1
  767. package/dist/pine-core/svg/heading-3.svg +1 -1
  768. package/dist/pine-core/svg/heading-4.svg +1 -1
  769. package/dist/pine-core/svg/heading-5.svg +1 -1
  770. package/dist/pine-core/svg/heading-6.svg +1 -1
  771. package/dist/pine-core/svg/heading-large.svg +1 -1
  772. package/dist/pine-core/svg/heading-small.svg +1 -1
  773. package/dist/pine-core/svg/headset-tone.svg +1 -1
  774. package/dist/pine-core/svg/headset.svg +1 -1
  775. package/dist/pine-core/svg/help-filled.svg +1 -1
  776. package/dist/pine-core/svg/help.svg +1 -1
  777. package/dist/pine-core/svg/home-alt.svg +1 -1
  778. package/dist/pine-core/svg/home-filled.svg +1 -1
  779. package/dist/pine-core/svg/home-tone.svg +1 -1
  780. package/dist/pine-core/svg/home.svg +1 -1
  781. package/dist/pine-core/svg/horizontal-line.svg +1 -1
  782. package/dist/pine-core/svg/image.svg +1 -1
  783. package/dist/pine-core/svg/info-circle-filled.svg +1 -1
  784. package/dist/pine-core/svg/info-circle.svg +1 -1
  785. package/dist/pine-core/svg/ios-battery.svg +1 -1
  786. package/dist/pine-core/svg/ios-data.svg +1 -1
  787. package/dist/pine-core/svg/ios-wifi.svg +1 -1
  788. package/dist/pine-core/svg/italic.svg +1 -1
  789. package/dist/pine-core/svg/kajabi-filled.svg +1 -1
  790. package/dist/pine-core/svg/kajabi.svg +1 -1
  791. package/dist/pine-core/svg/klarna.svg +1 -1
  792. package/dist/pine-core/svg/lab.svg +1 -1
  793. package/dist/pine-core/svg/launch.svg +1 -1
  794. package/dist/pine-core/svg/layout-grid-02.svg +1 -0
  795. package/dist/pine-core/svg/layout-grid.svg +1 -1
  796. package/dist/pine-core/svg/layout-list.svg +1 -1
  797. package/dist/pine-core/svg/left-small.svg +1 -1
  798. package/dist/pine-core/svg/list-bullet.svg +1 -1
  799. package/dist/pine-core/svg/list-details.svg +1 -1
  800. package/dist/pine-core/svg/list-numbers.svg +1 -1
  801. package/dist/pine-core/svg/location.svg +1 -1
  802. package/dist/pine-core/svg/lock-alt.svg +1 -1
  803. package/dist/pine-core/svg/lock.svg +1 -1
  804. package/dist/pine-core/svg/logo-afterpay.svg +1 -1
  805. package/dist/pine-core/svg/logo-facebook-round.svg +1 -1
  806. package/dist/pine-core/svg/logo-facebook.svg +1 -1
  807. package/dist/pine-core/svg/logo-instagram.svg +1 -1
  808. package/dist/pine-core/svg/logo-linkedin.svg +1 -1
  809. package/dist/pine-core/svg/logo-snapchat.svg +1 -0
  810. package/dist/pine-core/svg/logo-tiktok.svg +1 -1
  811. package/dist/pine-core/svg/logo-twitter-x.svg +1 -1
  812. package/dist/pine-core/svg/logo-twitter.svg +1 -1
  813. package/dist/pine-core/svg/logo-youtube.svg +1 -1
  814. package/dist/pine-core/svg/loop.svg +1 -1
  815. package/dist/pine-core/svg/mail-filled.svg +1 -1
  816. package/dist/pine-core/svg/mail-open.svg +1 -1
  817. package/dist/pine-core/svg/mail-tone.svg +1 -1
  818. package/dist/pine-core/svg/mail.svg +1 -1
  819. package/dist/pine-core/svg/map.svg +1 -1
  820. package/dist/pine-core/svg/mapped.svg +1 -1
  821. package/dist/pine-core/svg/margin-left.svg +1 -1
  822. package/dist/pine-core/svg/margin-right.svg +1 -1
  823. package/dist/pine-core/svg/marker-filled.svg +1 -1
  824. package/dist/pine-core/svg/marker.svg +1 -1
  825. package/dist/pine-core/svg/megaphone-filled.svg +1 -1
  826. package/dist/pine-core/svg/megaphone.svg +1 -1
  827. package/dist/pine-core/svg/menu-alt.svg +1 -1
  828. package/dist/pine-core/svg/menu-bordered.svg +1 -1
  829. package/dist/pine-core/svg/menu.svg +1 -1
  830. package/dist/pine-core/svg/merge.svg +1 -1
  831. package/dist/pine-core/svg/microphone-off.svg +1 -1
  832. package/dist/pine-core/svg/microphone.svg +1 -1
  833. package/dist/pine-core/svg/monitor-filled.svg +1 -1
  834. package/dist/pine-core/svg/monitor-tone.svg +1 -1
  835. package/dist/pine-core/svg/monitor.svg +1 -1
  836. package/dist/pine-core/svg/more-menu-filled.svg +1 -1
  837. package/dist/pine-core/svg/more-menu.svg +1 -1
  838. package/dist/pine-core/svg/move-left.svg +1 -1
  839. package/dist/pine-core/svg/move-right.svg +1 -1
  840. package/dist/pine-core/svg/multi-pay.svg +1 -1
  841. package/dist/pine-core/svg/newsletter-2.svg +1 -1
  842. package/dist/pine-core/svg/newsletter.svg +1 -1
  843. package/dist/pine-core/svg/one-off-session.svg +1 -1
  844. package/dist/pine-core/svg/one-time.svg +1 -1
  845. package/dist/pine-core/svg/packages.svg +1 -1
  846. package/dist/pine-core/svg/pause-circle.svg +1 -1
  847. package/dist/pine-core/svg/pause.svg +1 -1
  848. package/dist/pine-core/svg/payout.svg +1 -1
  849. package/dist/pine-core/svg/pen.svg +1 -1
  850. package/dist/pine-core/svg/phone-portrait.svg +1 -1
  851. package/dist/pine-core/svg/phone-tone.svg +1 -1
  852. package/dist/pine-core/svg/phone-toolbar-filled.svg +1 -1
  853. package/dist/pine-core/svg/phone-toolbar.svg +1 -1
  854. package/dist/pine-core/svg/play-circle.svg +1 -1
  855. package/dist/pine-core/svg/play-outline.svg +1 -1
  856. package/dist/pine-core/svg/play-store.svg +1 -1
  857. package/dist/pine-core/svg/play.svg +1 -1
  858. package/dist/pine-core/svg/plug.svg +1 -1
  859. package/dist/pine-core/svg/premium.svg +1 -1
  860. package/dist/pine-core/svg/present.svg +1 -1
  861. package/dist/pine-core/svg/preview-off.svg +1 -1
  862. package/dist/pine-core/svg/preview-on.svg +1 -1
  863. package/dist/pine-core/svg/product-filled.svg +1 -1
  864. package/dist/pine-core/svg/product.svg +1 -1
  865. package/dist/pine-core/svg/question-circle.svg +1 -1
  866. package/dist/pine-core/svg/quote.svg +1 -1
  867. package/dist/pine-core/svg/redo.svg +1 -1
  868. package/dist/pine-core/svg/refresh.svg +1 -1
  869. package/dist/pine-core/svg/remove-circle.svg +1 -1
  870. package/dist/pine-core/svg/remove.svg +1 -1
  871. package/dist/pine-core/svg/rename.svg +1 -1
  872. package/dist/pine-core/svg/reset-password.svg +1 -1
  873. package/dist/pine-core/svg/restore.svg +1 -1
  874. package/dist/pine-core/svg/right-small.svg +1 -1
  875. package/dist/pine-core/svg/rocket-filled.svg +1 -1
  876. package/dist/pine-core/svg/rocket-tone.svg +1 -1
  877. package/dist/pine-core/svg/rocket.svg +1 -1
  878. package/dist/pine-core/svg/round-dollar.svg +1 -1
  879. package/dist/pine-core/svg/rows.svg +1 -1
  880. package/dist/pine-core/svg/scissor.svg +1 -1
  881. package/dist/pine-core/svg/screen-share-off.svg +1 -1
  882. package/dist/pine-core/svg/screen-share-on.svg +1 -1
  883. package/dist/pine-core/svg/search-md-tone.svg +1 -1
  884. package/dist/pine-core/svg/search-small.svg +1 -1
  885. package/dist/pine-core/svg/search.svg +1 -1
  886. package/dist/pine-core/svg/send-message.svg +1 -1
  887. package/dist/pine-core/svg/sequences.svg +1 -1
  888. package/dist/pine-core/svg/settings-tone.svg +1 -1
  889. package/dist/pine-core/svg/share.svg +1 -1
  890. package/dist/pine-core/svg/shopping-cart-filled.svg +1 -0
  891. package/dist/pine-core/svg/skipped.svg +1 -1
  892. package/dist/pine-core/svg/slash-divider.svg +1 -1
  893. package/dist/pine-core/svg/speaker.svg +1 -1
  894. package/dist/pine-core/svg/stack.svg +1 -1
  895. package/dist/pine-core/svg/star.svg +1 -1
  896. package/dist/pine-core/svg/stars-tone.svg +1 -1
  897. package/dist/pine-core/svg/stop.svg +1 -1
  898. package/dist/pine-core/svg/stopwatch.svg +1 -1
  899. package/dist/pine-core/svg/strikethrough.svg +1 -1
  900. package/dist/pine-core/svg/subscript.svg +1 -1
  901. package/dist/pine-core/svg/subscriptions.svg +1 -1
  902. package/dist/pine-core/svg/super-admin.svg +1 -1
  903. package/dist/pine-core/svg/superscript.svg +1 -1
  904. package/dist/pine-core/svg/sync.svg +1 -1
  905. package/dist/pine-core/svg/tablet-landscape.svg +1 -1
  906. package/dist/pine-core/svg/tablet-portrait.svg +1 -1
  907. package/dist/pine-core/svg/tag-filled.svg +1 -1
  908. package/dist/pine-core/svg/tag.svg +1 -1
  909. package/dist/pine-core/svg/text-styles.svg +1 -1
  910. package/dist/pine-core/svg/theme-store-filled.svg +1 -1
  911. package/dist/pine-core/svg/theme-store.svg +1 -1
  912. package/dist/pine-core/svg/thumb-down-filled.svg +1 -1
  913. package/dist/pine-core/svg/thumb-down.svg +1 -1
  914. package/dist/pine-core/svg/thumb-up-filled.svg +1 -1
  915. package/dist/pine-core/svg/thumb-up.svg +1 -1
  916. package/dist/pine-core/svg/trash.svg +1 -1
  917. package/dist/pine-core/svg/trend-down.svg +1 -0
  918. package/dist/pine-core/svg/trend-none.svg +1 -0
  919. package/dist/pine-core/svg/trend-up.svg +1 -0
  920. package/dist/pine-core/svg/trophy-filled.svg +1 -1
  921. package/dist/pine-core/svg/trophy.svg +1 -1
  922. package/dist/pine-core/svg/underline.svg +1 -1
  923. package/dist/pine-core/svg/undo.svg +1 -1
  924. package/dist/pine-core/svg/unlock.svg +1 -1
  925. package/dist/pine-core/svg/unmapped.svg +1 -1
  926. package/dist/pine-core/svg/up-small.svg +1 -1
  927. package/dist/pine-core/svg/upload.svg +1 -1
  928. package/dist/pine-core/svg/url.svg +1 -1
  929. package/dist/pine-core/svg/user-circle-filled.svg +1 -1
  930. package/dist/pine-core/svg/user-circle.svg +1 -1
  931. package/dist/pine-core/svg/user-filled.svg +1 -1
  932. package/dist/pine-core/svg/user-star-filled.svg +1 -1
  933. package/dist/pine-core/svg/user-star.svg +1 -1
  934. package/dist/pine-core/svg/user.svg +1 -1
  935. package/dist/pine-core/svg/users-alt.svg +1 -1
  936. package/dist/pine-core/svg/users-filled.svg +1 -1
  937. package/dist/pine-core/svg/users-tone.svg +1 -1
  938. package/dist/pine-core/svg/users.svg +1 -1
  939. package/dist/pine-core/svg/video-off.svg +1 -1
  940. package/dist/pine-core/svg/video-on.svg +1 -1
  941. package/dist/pine-core/svg/warning-filled.svg +1 -1
  942. package/dist/pine-core/svg/warning.svg +1 -1
  943. package/dist/pine-core/svg/window-paragraph.svg +1 -1
  944. package/dist/pine-core/svg/world.svg +1 -1
  945. package/dist/pine-core/svg/wrench.svg +1 -1
  946. package/dist/types/components/pds-accordion/pds-accordion.d.ts +1 -0
  947. package/dist/types/components/pds-button/pds-button.d.ts +13 -8
  948. package/dist/types/components/pds-chip/pds-chip.d.ts +8 -8
  949. package/dist/types/components/pds-copytext/pds-copytext.d.ts +3 -3
  950. package/dist/types/components/pds-divider/pds-divider.d.ts +1 -1
  951. package/dist/types/components/pds-image/pds-image.d.ts +7 -3
  952. package/dist/types/components/pds-input/input-interface.d.ts +12 -0
  953. package/dist/types/components/pds-input/pds-input.d.ts +69 -8
  954. package/dist/types/components/pds-link/pds-link.d.ts +7 -11
  955. package/dist/types/components/pds-popover/pds-popover.d.ts +45 -0
  956. package/dist/types/components/pds-radio/pds-radio.d.ts +11 -11
  957. package/dist/types/components/pds-select/pds-select.d.ts +91 -0
  958. package/dist/types/components/pds-switch/pds-switch.d.ts +11 -19
  959. package/dist/types/components/pds-table/pds-table-cell/pds-table-cell.d.ts +4 -0
  960. package/dist/types/components/pds-table/pds-table-head/pds-table-head.d.ts +5 -2
  961. package/dist/types/components/pds-table/pds-table-head-cell/pds-table-head-cell.d.ts +9 -1
  962. package/dist/types/components/pds-table/pds-table-row/pds-table-row.d.ts +3 -3
  963. package/dist/types/components/pds-table/pds-table.d.ts +11 -3
  964. package/dist/types/components/pds-text/pds-text.d.ts +31 -0
  965. package/dist/types/components/pds-textarea/pds-textarea.d.ts +72 -15
  966. package/dist/types/components/pds-textarea/textarea-interface.d.ts +5 -1
  967. package/dist/types/components/pds-tooltip/pds-tooltip.d.ts +7 -9
  968. package/dist/types/components.d.ts +555 -145
  969. package/dist/types/stencil-public-runtime.d.ts +6 -0
  970. package/dist/types/utils/attributes.d.ts +10 -0
  971. package/dist/types/utils/types.d.ts +1 -1
  972. package/dist/types/utils/utils.d.ts +3 -1
  973. package/hydrate/index.d.ts +6 -0
  974. package/hydrate/index.js +1183 -380
  975. package/hydrate/index.mjs +1183 -380
  976. package/package.json +16 -14
  977. package/readme.md +1 -1
  978. package/dist/cjs/index-479f5bd8.js +0 -24
  979. package/dist/cjs/index-479f5bd8.js.map +0 -1
  980. package/dist/cjs/index-d4ec6246.js.map +0 -1
  981. package/dist/cjs/pds-label-73bb5bd3.js.map +0 -1
  982. package/dist/esm/index-9f0e742f.js.map +0 -1
  983. package/dist/esm/index-9f8fe796.js +0 -14
  984. package/dist/esm/index-9f8fe796.js.map +0 -1
  985. package/dist/esm/pds-label-c806218b.js.map +0 -1
  986. package/dist/esm-es5/index-9f0e742f.js +0 -3
  987. package/dist/esm-es5/index-9f0e742f.js.map +0 -1
  988. package/dist/esm-es5/index-9f8fe796.js +0 -2
  989. package/dist/esm-es5/index-9f8fe796.js.map +0 -1
  990. package/dist/esm-es5/pds-label-c806218b.js +0 -2
  991. package/dist/esm-es5/pds-label-c806218b.js.map +0 -1
  992. package/dist/pine-core/p-06f526e5.system.js +0 -2
  993. package/dist/pine-core/p-06f526e5.system.js.map +0 -1
  994. package/dist/pine-core/p-0bf48e12.entry.js +0 -2
  995. package/dist/pine-core/p-0bf48e12.entry.js.map +0 -1
  996. package/dist/pine-core/p-12e1c54f.entry.js +0 -2
  997. package/dist/pine-core/p-12e1c54f.entry.js.map +0 -1
  998. package/dist/pine-core/p-1400fed8.entry.js +0 -2
  999. package/dist/pine-core/p-1400fed8.entry.js.map +0 -1
  1000. package/dist/pine-core/p-16b74124.system.js +0 -2
  1001. package/dist/pine-core/p-16b74124.system.js.map +0 -1
  1002. package/dist/pine-core/p-20dae7d1.system.entry.js +0 -2
  1003. package/dist/pine-core/p-20dae7d1.system.entry.js.map +0 -1
  1004. package/dist/pine-core/p-2837aec3.system.entry.js +0 -2
  1005. package/dist/pine-core/p-2837aec3.system.entry.js.map +0 -1
  1006. package/dist/pine-core/p-2bce244c.entry.js +0 -2
  1007. package/dist/pine-core/p-2bce244c.entry.js.map +0 -1
  1008. package/dist/pine-core/p-307b87fc.system.entry.js +0 -2
  1009. package/dist/pine-core/p-307b87fc.system.entry.js.map +0 -1
  1010. package/dist/pine-core/p-30895edd.system.entry.js +0 -2
  1011. package/dist/pine-core/p-30895edd.system.entry.js.map +0 -1
  1012. package/dist/pine-core/p-3487fe4a.entry.js +0 -2
  1013. package/dist/pine-core/p-3487fe4a.entry.js.map +0 -1
  1014. package/dist/pine-core/p-373bf876.js +0 -2
  1015. package/dist/pine-core/p-373bf876.js.map +0 -1
  1016. package/dist/pine-core/p-3ceda09a.system.entry.js +0 -2
  1017. package/dist/pine-core/p-3ceda09a.system.entry.js.map +0 -1
  1018. package/dist/pine-core/p-40489c55.entry.js +0 -2
  1019. package/dist/pine-core/p-40489c55.entry.js.map +0 -1
  1020. package/dist/pine-core/p-41c843c5.system.entry.js +0 -2
  1021. package/dist/pine-core/p-4262c8d0.system.entry.js +0 -2
  1022. package/dist/pine-core/p-4262c8d0.system.entry.js.map +0 -1
  1023. package/dist/pine-core/p-43c37135.entry.js +0 -2
  1024. package/dist/pine-core/p-43c37135.entry.js.map +0 -1
  1025. package/dist/pine-core/p-45df80d3.entry.js +0 -2
  1026. package/dist/pine-core/p-45df80d3.entry.js.map +0 -1
  1027. package/dist/pine-core/p-479fd128.system.entry.js +0 -2
  1028. package/dist/pine-core/p-479fd128.system.entry.js.map +0 -1
  1029. package/dist/pine-core/p-4868ffe2.entry.js +0 -2
  1030. package/dist/pine-core/p-4868ffe2.entry.js.map +0 -1
  1031. package/dist/pine-core/p-4cfa45e5.system.entry.js.map +0 -1
  1032. package/dist/pine-core/p-4e5423ec.entry.js +0 -2
  1033. package/dist/pine-core/p-4e5423ec.entry.js.map +0 -1
  1034. package/dist/pine-core/p-5303452a.entry.js +0 -2
  1035. package/dist/pine-core/p-59a88d32.entry.js +0 -2
  1036. package/dist/pine-core/p-59a88d32.entry.js.map +0 -1
  1037. package/dist/pine-core/p-5d35d9bc.system.entry.js +0 -2
  1038. package/dist/pine-core/p-5d35d9bc.system.entry.js.map +0 -1
  1039. package/dist/pine-core/p-5dab0de3.system.entry.js +0 -2
  1040. package/dist/pine-core/p-5dab0de3.system.entry.js.map +0 -1
  1041. package/dist/pine-core/p-60622df4.entry.js +0 -2
  1042. package/dist/pine-core/p-60622df4.entry.js.map +0 -1
  1043. package/dist/pine-core/p-6293581d.system.entry.js +0 -2
  1044. package/dist/pine-core/p-6293581d.system.entry.js.map +0 -1
  1045. package/dist/pine-core/p-63eacc4c.entry.js +0 -2
  1046. package/dist/pine-core/p-63eacc4c.entry.js.map +0 -1
  1047. package/dist/pine-core/p-64a079d4.entry.js +0 -2
  1048. package/dist/pine-core/p-64a079d4.entry.js.map +0 -1
  1049. package/dist/pine-core/p-64ec41b5.system.entry.js +0 -2
  1050. package/dist/pine-core/p-64ec41b5.system.entry.js.map +0 -1
  1051. package/dist/pine-core/p-669c5ccd.entry.js.map +0 -1
  1052. package/dist/pine-core/p-74931ca7.entry.js +0 -2
  1053. package/dist/pine-core/p-74931ca7.entry.js.map +0 -1
  1054. package/dist/pine-core/p-766e4212.system.entry.js +0 -2
  1055. package/dist/pine-core/p-766e4212.system.entry.js.map +0 -1
  1056. package/dist/pine-core/p-79625567.entry.js +0 -2
  1057. package/dist/pine-core/p-79625567.entry.js.map +0 -1
  1058. package/dist/pine-core/p-7b44943d.system.entry.js +0 -2
  1059. package/dist/pine-core/p-7b44943d.system.entry.js.map +0 -1
  1060. package/dist/pine-core/p-7bc0b531.js +0 -2
  1061. package/dist/pine-core/p-7bc0b531.js.map +0 -1
  1062. package/dist/pine-core/p-7e7de1d6.js +0 -3
  1063. package/dist/pine-core/p-7e7de1d6.js.map +0 -1
  1064. package/dist/pine-core/p-7ed5ef61.system.entry.js +0 -2
  1065. package/dist/pine-core/p-7ed5ef61.system.entry.js.map +0 -1
  1066. package/dist/pine-core/p-80efeb1b.entry.js +0 -2
  1067. package/dist/pine-core/p-80efeb1b.entry.js.map +0 -1
  1068. package/dist/pine-core/p-8233b878.system.entry.js +0 -2
  1069. package/dist/pine-core/p-8233b878.system.entry.js.map +0 -1
  1070. package/dist/pine-core/p-84e37a4c.entry.js +0 -2
  1071. package/dist/pine-core/p-84e37a4c.entry.js.map +0 -1
  1072. package/dist/pine-core/p-9071a673.system.entry.js +0 -2
  1073. package/dist/pine-core/p-9071a673.system.entry.js.map +0 -1
  1074. package/dist/pine-core/p-9229e03e.system.entry.js +0 -2
  1075. package/dist/pine-core/p-9229e03e.system.entry.js.map +0 -1
  1076. package/dist/pine-core/p-94a76b90.system.entry.js +0 -2
  1077. package/dist/pine-core/p-94a76b90.system.entry.js.map +0 -1
  1078. package/dist/pine-core/p-99c6c7fe.system.js +0 -2
  1079. package/dist/pine-core/p-a58de843.system.entry.js +0 -2
  1080. package/dist/pine-core/p-a58de843.system.entry.js.map +0 -1
  1081. package/dist/pine-core/p-ad7f960d.system.entry.js +0 -2
  1082. package/dist/pine-core/p-ad7f960d.system.entry.js.map +0 -1
  1083. package/dist/pine-core/p-b491e677.entry.js +0 -2
  1084. package/dist/pine-core/p-b491e677.entry.js.map +0 -1
  1085. package/dist/pine-core/p-b4f7b883.system.entry.js +0 -2
  1086. package/dist/pine-core/p-b4f7b883.system.entry.js.map +0 -1
  1087. package/dist/pine-core/p-b4fb6072.system.entry.js +0 -2
  1088. package/dist/pine-core/p-b4fb6072.system.entry.js.map +0 -1
  1089. package/dist/pine-core/p-b8cbff05.system.entry.js +0 -2
  1090. package/dist/pine-core/p-b8cbff05.system.entry.js.map +0 -1
  1091. package/dist/pine-core/p-b94d28cc.entry.js +0 -2
  1092. package/dist/pine-core/p-b94d28cc.entry.js.map +0 -1
  1093. package/dist/pine-core/p-c644e0b4.system.entry.js +0 -2
  1094. package/dist/pine-core/p-c644e0b4.system.entry.js.map +0 -1
  1095. package/dist/pine-core/p-cb0cccca.entry.js +0 -2
  1096. package/dist/pine-core/p-cb0cccca.entry.js.map +0 -1
  1097. package/dist/pine-core/p-d0948e17.entry.js +0 -2
  1098. package/dist/pine-core/p-d0948e17.entry.js.map +0 -1
  1099. package/dist/pine-core/p-d20f4c1d.system.js +0 -3
  1100. package/dist/pine-core/p-d20f4c1d.system.js.map +0 -1
  1101. package/dist/pine-core/p-dd40be84.entry.js +0 -2
  1102. package/dist/pine-core/p-dd40be84.entry.js.map +0 -1
  1103. package/dist/pine-core/p-e339312d.entry.js +0 -2
  1104. package/dist/pine-core/p-e339312d.entry.js.map +0 -1
  1105. package/dist/pine-core/p-e52afdbe.entry.js +0 -2
  1106. package/dist/pine-core/p-e52afdbe.entry.js.map +0 -1
  1107. package/dist/pine-core/p-e705a6ad.system.entry.js +0 -2
  1108. package/dist/pine-core/p-e705a6ad.system.entry.js.map +0 -1
  1109. package/dist/pine-core/p-e8874481.system.entry.js +0 -2
  1110. package/dist/pine-core/p-e8874481.system.entry.js.map +0 -1
  1111. package/dist/pine-core/p-ed4e6972.entry.js +0 -2
  1112. package/dist/pine-core/p-ed4e6972.entry.js.map +0 -1
  1113. package/dist/pine-core/p-f5597dce.entry.js +0 -2
  1114. package/dist/pine-core/p-f5597dce.entry.js.map +0 -1
  1115. package/dist/pine-core/p-f86af20f.system.js +0 -2
  1116. package/dist/pine-core/p-f86af20f.system.js.map +0 -1
  1117. package/dist/pine-core/p-f8c08ca7.system.entry.js +0 -2
  1118. package/dist/pine-core/p-f8c08ca7.system.entry.js.map +0 -1
  1119. /package/dist/pine-core/{p-99c6c7fe.system.js.map → p-db622f8f.system.js.map} +0 -0
@@ -1 +1 @@
1
- {"file":"pds-radio.entry.js","mappings":";;;AAAA,MAAM,WAAW,GAAG,smGAAsmG,CAAC;AAC3nG,uBAAe,WAAW;;MCQb,QAAQ;;;;QA4DX,sBAAiB,GAAG,CAAC,CAAQ;YACnC,IAAI,IAAI,CAAC,QAAQ,EAAE;gBACjB,OAAO;aACR;YAED,MAAM,MAAM,GAAG,CAAC,CAAC,MAA0B,CAAC;YAC5C,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC;YAEjC,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;SACrC,CAAA;uBAhEiB,KAAK;wBAMJ,KAAK;;uBAWN,KAAK;;;;;wBA0BJ,KAAK;;;IAuBhB,UAAU;QAChB,MAAM,UAAU,GAAG,EAAE,CAAC;QAEtB,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;SAC/B;QACD,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,UAAU,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;SAChC;QAED,OAAO,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KAC9B;IAED,MAAM;QACJ,QACE,EAAC,IAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,IAC5B,kFACoB,iBAAiB,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,aAAa,CAAC,kBACzE,IAAI,CAAC,OAAO,GAAG,MAAM,GAAG,SAAS,EAC/C,IAAI,EAAC,OAAO,EACZ,EAAE,EAAE,IAAI,CAAC,WAAW,EACpB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,QAAQ,EAAE,IAAI,CAAC,iBAAiB,GAChC,EACF,EAAC,QAAQ,qDAAC,OAAO,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,GAAI,EACxD,IAAI,CAAC,aAAa;YACjB,4DACE,KAAK,EAAE,oBAAoB,EAC3B,EAAE,EAAE,SAAS,CAAC,IAAI,CAAC,WAAW,EAAE,QAAQ,CAAC,IAExC,IAAI,CAAC,aAAa,CACf,EAEP,IAAI,CAAC,YAAY;YAChB,4DACE,KAAK,EAAE,8CAA8C,EACrD,EAAE,EAAE,SAAS,CAAC,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC,eAC9B,WAAW,IAEpB,IAAI,CAAC,YAAY,CACd,CAEH,EACP;KACH;;;;;;","names":[],"sources":["src/components/pds-radio/pds-radio.scss?tag=pds-radio&encapsulation=scoped","src/components/pds-radio/pds-radio.tsx"],"sourcesContent":[":host {\n --border-interactive-default: var(--pine-border-width-thin) solid var( --pine-color-grey-400);\n --border-radius: 50%;\n\n --box-shadow-focus: 0 0 0 1px #ffffff, 0 0 0 3px var(--color-focus);\n --box-shadow-focus-error: 0 0 0 1px #ffffff, 0 0 0 3px var(--color-invalid-focus);\n\n --color: var(--pine-color-grey-700);\n --color-background: var(--pine-color-white);\n --color-background-hover: var(--pine-color-grey-100);\n --color-background-disabled: var(--pine-color-grey-200);\n --color-border-hover: var(--pine-color-grey-500);\n --color-border-disabled: var(--pine-color-grey-300);\n --color-checked: var(--pine-color-grey-950);\n --color-disabled: var(---pine-color-grey-500);\n --color-focus: var(--pine-color-purple-300);\n --color-invalid: var(--pine-color-red-300);\n --color-invalid-focus: var(--pine-color-red-200);\n\n --font-size: var(--pine-font-size-085);\n\n --sizing-check-size: 6px;\n --sizing-input-size: 16px;\n --sizing-margin-block-start: 6px;\n\n align-items: center;\n display: flex;\n flex-flow: row wrap;\n}\n\n:host(.is-invalid) {\n input {\n border-color: var(--color-invalid);\n\n &:checked {\n background: var(--color-invalid);\n }\n\n &:focus-visible {\n box-shadow: var(--box-shadow-focus-error);\n outline: none;\n }\n }\n\n label,\n .pds-radio__message--error {\n color: var(--color-invalid);\n }\n}\n\ninput {\n appearance: none;\n border: var(--border-interactive-default);\n border-radius: var(--border-radius);\n height: var(--sizing-input-size);\n margin: 0;\n position: relative;\n width: var(--sizing-input-size);\n\n &:hover {\n background: var(--color-background-hover);\n border-color: var(--color-border-hover);\n }\n\n &:checked {\n background: var(--color-checked);\n border-color: var(--color-checked);\n\n &::after {\n background: var(--color-background);\n border-radius: 50%;\n content: \"\";\n display: block;\n height: var(--sizing-check-size);\n left: 50%;\n position: absolute;\n top: 50%;\n transform: translate(-50%, -50%);\n width: var(--sizing-check-size);\n }\n }\n\n &:disabled {\n background: var(--color-background-disabled);\n border-color: var(--color-border-disabled);\n cursor: not-allowed;\n\n &:checked {\n background: var(--color-disabled);\n border-color: var(--color-border-disabled);\n\n &::after {\n border-color: var(--color-border-disabled);\n }\n }\n\n + label {\n color: var(--color-border-hover);\n cursor: not-allowed;\n }\n\n ~ .pds-radio__message {\n color: var(--color-disabled);\n }\n }\n\n &:focus-visible {\n box-shadow: var(--box-shadow-focus);\n outline: none;\n }\n\n}\n\nlabel {\n margin-inline-start: 10px;\n}\n\n.pds-radio__message {\n color: var(--color);\n font-size: var(--font-size);\n margin-block-start: var(--sizing-margin-block-start);\n margin-inline-start: 26px;\n width: 100%;\n}\n","import { Component, Host, h, Prop, Event, EventEmitter } from '@stencil/core';\nimport { assignDescription, messageId } from '../../utils/form';\nimport { PdsLabel } from '../_internal/pds-label/pds-label';\n\n@Component({\n tag: 'pds-radio',\n styleUrl: 'pds-radio.scss',\n scoped: true,\n})\nexport class PdsRadio {\n /**\n * Determines whether or not the radio is checked.\n * @defaultValue false\n */\n @Prop() checked = false;\n\n /**\n * Determines whether or not the radio is disabled.\n * @defaultValue false\n */\n @Prop() disabled = false;\n\n /**\n * Displays message text describing an invalid state.\n */\n @Prop() errorMessage: string;\n\n /**\n * Determines whether or not the radio is invalid.\n * @defaultValue false\n */\n @Prop() invalid = false;\n\n /**\n * A unique identifier used for the underlying component `id` attribute and the label `for` attribute.\n */\n @Prop() componentId!: string;\n\n /**\n * String used for label text next to radio.\n */\n @Prop() label: string;\n\n /**\n * String used for helper message below radio.\n */\n @Prop() helperMessage: string;\n\n /**\n * String used for radio `name` attribute.\n */\n @Prop() name: string;\n\n /**\n * Determines whether or not the radio is required.\n * @defaultValue false\n */\n @Prop() required = false;\n\n /**\n * The value of the radio that is submitted with a form.\n */\n @Prop() value: string;\n\n /**\n * Emits a boolean indicating whether the checkbox is currently checked or unchecked.\n */\n @Event() pdsRadioChange: EventEmitter<boolean>;\n\n private handleRadioChange = (e: Event) => {\n if (this.disabled) {\n return;\n }\n\n const target = e.target as HTMLInputElement;\n const isChecked = target.checked;\n\n this.pdsRadioChange.emit(isChecked);\n }\n\n private classNames() {\n const classNames = [];\n\n if (this.invalid) {\n classNames.push('is-invalid');\n }\n if (this.disabled) {\n classNames.push('is-disabled');\n }\n\n return classNames.join(' ');\n }\n\n render() {\n return (\n <Host class={this.classNames()}>\n <input\n aria-describedby={assignDescription(this.componentId, this.invalid, this.helperMessage)}\n aria-invalid={this.invalid ? \"true\" : undefined}\n type=\"radio\"\n id={this.componentId}\n name={this.name}\n value={this.value}\n checked={this.checked}\n required={this.required}\n disabled={this.disabled}\n onChange={this.handleRadioChange}\n />\n <PdsLabel htmlFor={this.componentId} text={this.label} />\n {this.helperMessage &&\n <div\n class={'pds-radio__message'}\n id={messageId(this.componentId, 'helper')}\n >\n {this.helperMessage}\n </div>\n }\n {this.errorMessage &&\n <div\n class={`pds-radio__message pds-radio__message--error`}\n id={messageId(this.componentId, 'error')}\n aria-live=\"assertive\"\n >\n {this.errorMessage}\n </div>\n }\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"pds-radio.entry.js","mappings":";;;;;AAAA,MAAM,WAAW,GAAG,upGAAupG,CAAC;AAC5qG,uBAAe,WAAW;;MCSb,QAAQ;;;;QA4DX,sBAAiB,GAAG,CAAC,CAAQ;YACnC,IAAI,IAAI,CAAC,QAAQ,EAAE;gBACjB,OAAO;aACR;YAED,MAAM,MAAM,GAAG,CAAC,CAAC,MAA0B,CAAC;YAC5C,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC;YAEjC,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;SACrC,CAAA;uBAhEiB,KAAK;;wBAWJ,KAAK;;;uBAgBJ,KAAK;;;wBAgBN,KAAK;;;IAuBhB,UAAU;QAChB,MAAM,UAAU,GAAG,EAAE,CAAC;QAEtB,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;SAC/B;QACD,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,UAAU,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;SAChC;QAED,OAAO,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KAC9B;IAED,MAAM;QACJ,QACE,EAAC,IAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,IAC5B,kFACoB,iBAAiB,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,aAAa,CAAC,kBACzE,IAAI,CAAC,OAAO,GAAG,MAAM,GAAG,SAAS,EAC/C,IAAI,EAAC,OAAO,EACZ,EAAE,EAAE,IAAI,CAAC,WAAW,EACpB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,QAAQ,EAAE,IAAI,CAAC,iBAAiB,GAChC,EACF,EAAC,QAAQ,qDAAC,OAAO,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,GAAI,EACxD,IAAI,CAAC,aAAa;YACjB,4DACE,KAAK,EAAE,oBAAoB,EAC3B,EAAE,EAAE,SAAS,CAAC,IAAI,CAAC,WAAW,EAAE,QAAQ,CAAC,IAExC,IAAI,CAAC,aAAa,CACf,EAEP,IAAI,CAAC,YAAY;YAChB,4DACE,KAAK,EAAE,8CAA8C,EACrD,EAAE,EAAE,SAAS,CAAC,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC,eAC9B,WAAW,IAErB,iEAAU,IAAI,EAAE,MAAM,EAAE,IAAI,EAAC,OAAO,GAAG,EACtC,IAAI,CAAC,YAAY,CACd,CAEH,EACP;KACH;;;;;;","names":[],"sources":["src/components/pds-radio/pds-radio.scss?tag=pds-radio&encapsulation=scoped","src/components/pds-radio/pds-radio.tsx"],"sourcesContent":[":host {\n --box-shadow-focus: 0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-focus-ring);\n --box-shadow-focus-error: 0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-focus-ring-danger);\n\n --sizing-check-size: 6px;\n --sizing-input-size: var(--pine-dimension-sm);\n --sizing-margin-block-start: 6px;\n\n align-items: center;\n display: flex;\n flex-flow: row wrap;\n}\n\n:host(.is-invalid) {\n input {\n border-color: var(--pine-color-border-danger);\n\n &:checked {\n background: var(--pine-color-border-danger);\n\n &:hover {\n background: var(--pine-color-border-danger-hover);\n border-color: var(--pine-color-border-danger-hover);\n }\n }\n\n &:focus-visible {\n box-shadow: var(--box-shadow-focus-error);\n outline: none;\n }\n }\n\n label,\n .pds-radio__message--error {\n color: var(--pine-color-text-message-danger);\n }\n}\n\ninput {\n appearance: none;\n border: var(--pine-border);\n border-radius: var(--pine-border-radius-full);\n height: var(--sizing-input-size);\n margin: 0;\n position: relative;\n width: var(--sizing-input-size);\n\n &:hover {\n background: var(--pine-color-background-container-hover);\n border: var(--pine-border-hover);\n }\n\n &:checked {\n background: var(--pine-color-accent);\n border-color: var(--pine-color-accent);\n\n &:hover {\n background: var(--pine-color-accent-hover);\n border-color: var(--pine-color-accent-hover);\n }\n\n &::after {\n background: var(--pine-color-background-container);\n border-radius: var(--pine-border-radius-full);\n content: \"\";\n display: block;\n height: var(--sizing-check-size);\n left: 50%;\n position: absolute;\n top: 50%;\n transform: translate(-50%, -50%);\n width: var(--sizing-check-size);\n }\n }\n\n &:disabled {\n background: var(--pine-color-background-container-disabled);\n border-color: var(--pine-color-border-disabled);\n cursor: not-allowed;\n\n &:checked {\n background-color: var(--pine-color-accent-disabled);\n border-color: var(--pine-color-border-disabled);\n\n &::after {\n border-color: var(--pine-color-border-disabled);\n }\n }\n\n + label {\n color: var(--pine-color-text-disabled);\n cursor: not-allowed;\n }\n\n ~ .pds-radio__message {\n color: var(--pine-color-text-message-disabled);\n }\n }\n\n &:focus-visible {\n box-shadow: var(--box-shadow-focus);\n outline: none;\n }\n\n}\n\nlabel {\n font-weight: var(--pine-font-weight-body-medium);\n margin-inline-start: 10px;\n}\n\n.pds-radio__message {\n color: var(--pine-color-text-message);\n margin-block-start: var(--sizing-margin-block-start);\n margin-inline-start: 26px;\n width: 100%;\n}\n\n.pds-radio__message--error {\n align-items: center;\n display: flex;\n font-size: var(--pine-font-size-body-sm);\n gap: var(--pine-dimension-2xs);\n}\n","import { Component, Host, h, Prop, Event, EventEmitter } 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-radio',\n styleUrls: ['pds-radio.scss'],\n scoped: true,\n})\nexport class PdsRadio {\n /**\n * Determines whether or not the radio is checked.\n * @defaultValue false\n */\n @Prop() checked = false;\n\n /**\n * A unique identifier used for the underlying component `id` attribute and the label `for` attribute.\n */\n @Prop() componentId!: string;\n\n /**\n * Determines whether or not the radio is disabled.\n * @defaultValue false\n */\n @Prop() disabled = false;\n\n /**\n * Displays error message text describing an invalid state.\n */\n @Prop() errorMessage: string;\n\n /**\n * Displays helper message text below radio.\n */\n @Prop() helperMessage: string;\n\n /**\n * Determines whether or not the radio is invalid.\n * @defaultValue false\n */\n @Prop() invalid = false;\n\n /**\n * String used for label text next to radio.\n */\n @Prop() label: string;\n\n /**\n * String used for radio `name` attribute.\n */\n @Prop() name: string;\n\n /**\n * Determines whether or not the radio is required.\n * @defaultValue false\n */\n @Prop() required = false;\n\n /**\n * The value of the radio that is submitted with a form.\n */\n @Prop() value: string;\n\n /**\n * Emits a boolean indicating whether the checkbox is currently checked or unchecked.\n */\n @Event() pdsRadioChange: EventEmitter<boolean>;\n\n private handleRadioChange = (e: Event) => {\n if (this.disabled) {\n return;\n }\n\n const target = e.target as HTMLInputElement;\n const isChecked = target.checked;\n\n this.pdsRadioChange.emit(isChecked);\n }\n\n private classNames() {\n const classNames = [];\n\n if (this.invalid) {\n classNames.push('is-invalid');\n }\n if (this.disabled) {\n classNames.push('is-disabled');\n }\n\n return classNames.join(' ');\n }\n\n render() {\n return (\n <Host class={this.classNames()}>\n <input\n aria-describedby={assignDescription(this.componentId, this.invalid, this.helperMessage)}\n aria-invalid={this.invalid ? \"true\" : undefined}\n type=\"radio\"\n id={this.componentId}\n name={this.name}\n value={this.value}\n checked={this.checked}\n required={this.required}\n disabled={this.disabled}\n onChange={this.handleRadioChange}\n />\n <PdsLabel htmlFor={this.componentId} text={this.label} />\n {this.helperMessage &&\n <div\n class={'pds-radio__message'}\n id={messageId(this.componentId, 'helper')}\n >\n {this.helperMessage}\n </div>\n }\n {this.errorMessage &&\n <div\n class={`pds-radio__message pds-radio__message--error`}\n id={messageId(this.componentId, 'error')}\n aria-live=\"assertive\"\n >\n <pds-icon icon={danger} size=\"small\" />\n {this.errorMessage}\n </div>\n }\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h, H as Host } from './index-9f0e742f.js';
1
+ import { r as registerInstance, h, H as Host } from './index-b1696fed.js';
2
2
 
3
- const pdsRowCss = ":host{--border-default:var(--pine-border-width-thin) solid var(--pine-color-grey-300);--row-gap-y:calc(var(--pine-spacing-250) / 2);--row-gap-x:10px;display:block;-webkit-margin-after:calc(var(--row-gap-y) * -1);margin-block-end:calc(var(--row-gap-y) * -1);-webkit-margin-before:calc(var(--row-gap-y) * -1);margin-block-start:calc(var(--row-gap-y) * -1);-webkit-margin-end:calc(var(--row-gap-x) * -0.5);margin-inline-end:calc(var(--row-gap-x) * -0.5);-webkit-margin-start:calc(var(--row-gap-x) * -0.5);margin-inline-start:calc(var(--row-gap-x) * -0.5)}.pds-row{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-margin-after:calc(var(--row-gap-y) * -1);margin-block-end:calc(var(--row-gap-y) * -1);-webkit-margin-before:calc(var(--row-gap-y) * -1);margin-block-start:calc(var(--row-gap-y) * -1);-webkit-margin-end:calc(var(--row-gap-x) * -1);margin-inline-end:calc(var(--row-gap-x) * -1);-webkit-margin-start:calc(var(--row-gap-x) * -1);margin-inline-start:calc(var(--row-gap-x) * -1)}.pds-row>*{-webkit-padding-after:calc(var(--row-gap-y));padding-block-end:calc(var(--row-gap-y));-webkit-padding-before:calc(var(--row-gap-y));padding-block-start:calc(var(--row-gap-y));-webkit-padding-end:calc(var(--row-gap-x));padding-inline-end:calc(var(--row-gap-x));-webkit-padding-start:calc(var(--row-gap-x));padding-inline-start:calc(var(--row-gap-x))}.pds-row--no-wrap{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.pds-row--border{border:var(--border-default)}.pds-justify-content-start{-ms-flex-pack:start;justify-content:start}.pds-justify-content-center{-ms-flex-pack:center;justify-content:center}.pds-justify-content-end{-ms-flex-pack:end;justify-content:end}.pds-justify-content-space-between{-ms-flex-pack:justify;justify-content:space-between}.pds-justify-content-space-around{-ms-flex-pack:distribute;justify-content:space-around}.pds-justify-content-space-evenly{-ms-flex-pack:space-evenly;justify-content:space-evenly}.pds-align-items-start{-ms-flex-align:start;align-items:start}.pds-align-items-center{-ms-flex-align:center;align-items:center}.pds-align-items-end{-ms-flex-align:end;align-items:end}.pds-align-items-stretch{-ms-flex-align:stretch;align-items:stretch}.pds-align-items-baseline{-ms-flex-align:baseline;align-items:baseline}";
3
+ const pdsRowCss = ":host {\n --row-gap-y: 10px;\n --row-gap-x: 10px;\n display: block;\n -webkit-margin-after: calc(var(--row-gap-y) * -1);\n margin-block-end: calc(var(--row-gap-y) * -1);\n -webkit-margin-before: calc(var(--row-gap-y) * -1);\n margin-block-start: calc(var(--row-gap-y) * -1);\n -webkit-margin-end: calc(var(--row-gap-x) * -0.5);\n margin-inline-end: calc(var(--row-gap-x) * -0.5);\n -webkit-margin-start: calc(var(--row-gap-x) * -0.5);\n margin-inline-start: calc(var(--row-gap-x) * -0.5);\n}\n\n.pds-row {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-positive: 1;\n flex-grow: 1;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n -webkit-margin-after: calc(var(--row-gap-y) * -1);\n margin-block-end: calc(var(--row-gap-y) * -1);\n -webkit-margin-before: calc(var(--row-gap-y) * -1);\n margin-block-start: calc(var(--row-gap-y) * -1);\n -webkit-margin-end: calc(var(--row-gap-x) * -1);\n margin-inline-end: calc(var(--row-gap-x) * -1);\n -webkit-margin-start: calc(var(--row-gap-x) * -1);\n margin-inline-start: calc(var(--row-gap-x) * -1);\n}\n@layer layout {\n .pds-row > * {\n -webkit-padding-after: calc(var(--row-gap-y));\n padding-block-end: calc(var(--row-gap-y));\n -webkit-padding-before: calc(var(--row-gap-y));\n padding-block-start: calc(var(--row-gap-y));\n -webkit-padding-end: calc(var(--row-gap-x));\n padding-inline-end: calc(var(--row-gap-x));\n -webkit-padding-start: calc(var(--row-gap-x));\n padding-inline-start: calc(var(--row-gap-x));\n }\n}\n\n.pds-row--no-wrap {\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n}\n\n.pds-row--border {\n border: var(--pine-border);\n}\n\n.pds-justify-content-start {\n -ms-flex-pack: start;\n justify-content: start;\n}\n\n.pds-justify-content-center {\n -ms-flex-pack: center;\n justify-content: center;\n}\n\n.pds-justify-content-end {\n -ms-flex-pack: end;\n justify-content: end;\n}\n\n.pds-justify-content-space-between {\n -ms-flex-pack: justify;\n justify-content: space-between;\n}\n\n.pds-justify-content-space-around {\n -ms-flex-pack: distribute;\n justify-content: space-around;\n}\n\n.pds-justify-content-space-evenly {\n -ms-flex-pack: space-evenly;\n justify-content: space-evenly;\n}\n\n.pds-align-items-start {\n -ms-flex-align: start;\n align-items: start;\n}\n\n.pds-align-items-center {\n -ms-flex-align: center;\n align-items: center;\n}\n\n.pds-align-items-end {\n -ms-flex-align: end;\n align-items: end;\n}\n\n.pds-align-items-stretch {\n -ms-flex-align: stretch;\n align-items: stretch;\n}\n\n.pds-align-items-baseline {\n -ms-flex-align: baseline;\n align-items: baseline;\n}";
4
4
  const PdsRowStyle0 = pdsRowCss;
5
5
 
6
6
  const PdsRow = class {
@@ -37,7 +37,7 @@ const PdsRow = class {
37
37
  })), (this.minHeight && {
38
38
  'min-height': this.minHeight,
39
39
  }));
40
- return h(Host, { key: 'b764491968a34ae8f1e3e329111cb4ba0887bdef', class: `pds-row ${rowClasses}`, style: rowInlineStyles });
40
+ return h(Host, { key: '1760d9bd45d53d371c0a4c73171a12a6e4c59b51', class: `pds-row ${rowClasses}`, style: rowInlineStyles });
41
41
  }
42
42
  };
43
43
  PdsRow.style = PdsRowStyle0;
@@ -1 +1 @@
1
- {"file":"pds-row.entry.js","mappings":";;AAAA,MAAM,SAAS,GAAG,wvEAAwvE,CAAC;AAC3wE,qBAAe,SAAS;;MCOX,MAAM;;;QAsCT,cAAS,GAA2C;YAC1D,IAAI,EAAE,GAAG;YACT,GAAG,EAAE,QAAQ;YACb,EAAE,EAAE,OAAO;YACX,EAAE,EAAE,MAAM;YACV,EAAE,EAAE,QAAQ;YACZ,EAAE,EAAE,SAAS;YACb,EAAE,EAAE,MAAM;YACV,GAAG,EAAE,MAAM;SACZ,CAAC;;sBArCgB,KAAK;;;;;sBA0BL,KAAK;;IAavB,MAAM;QACJ,MAAM,UAAU,GAAG;MACjB,IAAI,CAAC,UAAU,KAAK,SAAS,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,mBAAmB,IAAI,CAAC,UAAU,EAAE,GAAG,EAAE;MAC1G,IAAI,CAAC,MAAM,GAAG,iBAAiB,GAAG,EAAE;MACpC,IAAI,CAAC,cAAc,KAAK,SAAS,IAAI,IAAI,CAAC,cAAc,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,uBAAuB,IAAI,CAAC,cAAc,EAAE,GAAG,EAAE;MAC1H,IAAI,CAAC,MAAM,GAAG,kBAAkB,GAAG,EAAE;GACxC,CAAC;QAEA,MAAM,eAAe,oCACf,IAAI,CAAC,MAAM,IAAI;YACjB,aAAa,EAAE,IAAI,CAAC,MAAM,KAAK,SAAS,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE;YACxG,aAAa,EAAE,IAAI,CAAC,MAAM,KAAK,SAAS,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE;SACzG,KACG,IAAI,CAAC,SAAS,IAAI;YACpB,YAAY,EAAE,IAAI,CAAC,SAAS;SAC7B,EACF,CAAC;QAEF,OAAO,EAAC,IAAI,qDAAC,KAAK,EAAE,WAAW,UAAU,EAAE,EAAE,KAAK,EAAE,eAAe,GAAS,CAAC;KAC9E;;;;;;","names":[],"sources":["src/components/pds-row/pds-row.scss?tag=pds-row","src/components/pds-row/pds-row.tsx"],"sourcesContent":[":host {\n --border-default: var(--pine-border-width-thin) solid var(--pine-color-grey-300);\n --row-gap-y: calc(var(--pine-spacing-250) / 2);\n --row-gap-x: 10px;\n\n display: block;\n margin-block-end: calc(var(--row-gap-y) * -1);\n margin-block-start: calc(var(--row-gap-y) * -1);\n margin-inline-end: calc(var(--row-gap-x) * -0.5);\n margin-inline-start: calc(var(--row-gap-x) * -0.5);\n}\n\n.pds-row {\n display: flex;\n flex-grow: 1;\n flex-wrap: wrap;\n margin-block-end: calc(var(--row-gap-y) * -1);\n margin-block-start: calc(var(--row-gap-y) * -1);\n margin-inline-end: calc(var(--row-gap-x) * -1);\n margin-inline-start: calc(var(--row-gap-x) * -1);\n\n > * {\n padding-block-end: calc(var(--row-gap-y));\n padding-block-start: calc(var(--row-gap-y));\n padding-inline-end: calc(var(--row-gap-x));\n padding-inline-start: calc(var(--row-gap-x));\n }\n}\n\n.pds-row--no-wrap {\n flex-wrap: nowrap;\n}\n\n.pds-row--border {\n border: var(--border-default);\n}\n\n// Justify Content helpers\n.pds-justify-content-start {\n justify-content: start;\n}\n\n.pds-justify-content-center {\n justify-content: center;\n}\n\n.pds-justify-content-end {\n justify-content: end;\n}\n\n.pds-justify-content-space-between {\n justify-content: space-between;\n}\n\n.pds-justify-content-space-around {\n justify-content: space-around;\n}\n\n.pds-justify-content-space-evenly {\n justify-content: space-evenly;\n}\n\n// Align Items helpers\n.pds-align-items-start {\n align-items: start;\n}\n\n.pds-align-items-center {\n align-items: center;\n}\n\n.pds-align-items-end {\n align-items: end;\n}\n\n.pds-align-items-stretch {\n align-items: stretch;\n}\n\n.pds-align-items-baseline {\n align-items: baseline;\n}\n","import { Component, Prop, h, Host } from '@stencil/core';\n\nimport { BoxTShirtSizeType } from '../../utils/types';\n\n@Component({\n tag: 'pds-row',\n styleUrl: 'pds-row.scss',\n})\nexport class PdsRow {\n /**\n * Defines the vertical alignment of the row items.\n * @defaultValue start\n */\n @Prop() alignItems?: `start` | `center` | `end` | `baseline` | `stretch`;\n\n /**\n * If `true`, the row will have a border.\n */\n @Prop() border? = false;\n\n /**\n * Defines the spacing between the row items.\n */\n @Prop() colGap?: BoxTShirtSizeType | null;\n\n /**\n * A unique identifier used for the underlying component `id` attribute.\n */\n @Prop() componentId: string;\n\n /**\n * Defines the horizontal alignment of the row items.\n * @defaultValue start\n */\n @Prop() justifyContent?: `start` | `center` | `end` | `space-between` | `space-around`;\n\n /**\n * The minimum height of the row. Used in conjunction with alignment props\n */\n @Prop() minHeight?: string;\n\n /**\n * If `true`, the row items will not wrap to the next line if horizontal space is not available.\n */\n @Prop() noWrap? = false;\n\n private colGapMap: { [key in BoxTShirtSizeType]: string } = {\n none: '0',\n xxs: '.25rem',\n xs: '.5rem',\n sm: '1rem',\n md: '1.5rem',\n lg: '2.25rem',\n xl: '3rem',\n xxl: '4rem',\n };\n\n render() {\n const rowClasses = `\n ${this.alignItems !== undefined && this.alignItems.trim() !== '' ? `pds-align-items-${this.alignItems}` : ''}\n ${this.border ? 'pds-row--border' : ''}\n ${this.justifyContent !== undefined && this.justifyContent.trim() !== '' ? `pds-justify-content-${this.justifyContent}` : ''}\n ${this.noWrap ? 'pds-row--no-wrap' : ''}\n `;\n\n const rowInlineStyles = {\n ...(this.colGap && {\n '--row-gap-x': this.colGap !== undefined && this.colGap.trim() !== '' ? this.colGapMap[this.colGap] : '',\n '--row-gap-y': this.colGap !== undefined && this.colGap.trim() !== '' ? this.colGapMap[this.colGap] : '',\n }),\n ...(this.minHeight && {\n 'min-height': this.minHeight,\n }),\n };\n\n return <Host class={`pds-row ${rowClasses}`} style={rowInlineStyles}></Host>;\n }\n}\n"],"version":3}
1
+ {"file":"pds-row.entry.js","mappings":";;AAAA,MAAM,SAAS,GAAG,8kFAA8kF,CAAC;AACjmF,qBAAe,SAAS;;MCOX,MAAM;;;QAsCT,cAAS,GAA2C;YAC1D,IAAI,EAAE,GAAG;YACT,GAAG,EAAE,QAAQ;YACb,EAAE,EAAE,OAAO;YACX,EAAE,EAAE,MAAM;YACV,EAAE,EAAE,QAAQ;YACZ,EAAE,EAAE,SAAS;YACb,EAAE,EAAE,MAAM;YACV,GAAG,EAAE,MAAM;SACZ,CAAC;;sBArCgB,KAAK;;;;;sBA0BL,KAAK;;IAavB,MAAM;QACJ,MAAM,UAAU,GAAG;MACjB,IAAI,CAAC,UAAU,KAAK,SAAS,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,mBAAmB,IAAI,CAAC,UAAU,EAAE,GAAG,EAAE;MAC1G,IAAI,CAAC,MAAM,GAAG,iBAAiB,GAAG,EAAE;MACpC,IAAI,CAAC,cAAc,KAAK,SAAS,IAAI,IAAI,CAAC,cAAc,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,uBAAuB,IAAI,CAAC,cAAc,EAAE,GAAG,EAAE;MAC1H,IAAI,CAAC,MAAM,GAAG,kBAAkB,GAAG,EAAE;GACxC,CAAC;QAEA,MAAM,eAAe,oCACf,IAAI,CAAC,MAAM,IAAI;YACjB,aAAa,EAAE,IAAI,CAAC,MAAM,KAAK,SAAS,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE;YACxG,aAAa,EAAE,IAAI,CAAC,MAAM,KAAK,SAAS,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE;SACzG,KACG,IAAI,CAAC,SAAS,IAAI;YACpB,YAAY,EAAE,IAAI,CAAC,SAAS;SAC7B,EACF,CAAC;QAEF,OAAO,EAAC,IAAI,qDAAC,KAAK,EAAE,WAAW,UAAU,EAAE,EAAE,KAAK,EAAE,eAAe,GAAS,CAAC;KAC9E;;;;;;","names":[],"sources":["src/components/pds-row/pds-row.scss?tag=pds-row","src/components/pds-row/pds-row.tsx"],"sourcesContent":[":host {\n --row-gap-y: 10px;\n --row-gap-x: 10px;\n\n display: block;\n margin-block-end: calc(var(--row-gap-y) * -1);\n margin-block-start: calc(var(--row-gap-y) * -1);\n margin-inline-end: calc(var(--row-gap-x) * -0.5);\n margin-inline-start: calc(var(--row-gap-x) * -0.5);\n}\n\n.pds-row {\n display: flex;\n flex-grow: 1;\n flex-wrap: wrap;\n margin-block-end: calc(var(--row-gap-y) * -1);\n margin-block-start: calc(var(--row-gap-y) * -1);\n margin-inline-end: calc(var(--row-gap-x) * -1);\n margin-inline-start: calc(var(--row-gap-x) * -1);\n\n @layer layout {\n > * {\n padding-block-end: calc(var(--row-gap-y));\n padding-block-start: calc(var(--row-gap-y));\n padding-inline-end: calc(var(--row-gap-x));\n padding-inline-start: calc(var(--row-gap-x));\n }\n }\n}\n\n.pds-row--no-wrap {\n flex-wrap: nowrap;\n}\n\n.pds-row--border {\n border: var(--pine-border);\n}\n\n// Justify Content helpers\n.pds-justify-content-start {\n justify-content: start;\n}\n\n.pds-justify-content-center {\n justify-content: center;\n}\n\n.pds-justify-content-end {\n justify-content: end;\n}\n\n.pds-justify-content-space-between {\n justify-content: space-between;\n}\n\n.pds-justify-content-space-around {\n justify-content: space-around;\n}\n\n.pds-justify-content-space-evenly {\n justify-content: space-evenly;\n}\n\n// Align Items helpers\n.pds-align-items-start {\n align-items: start;\n}\n\n.pds-align-items-center {\n align-items: center;\n}\n\n.pds-align-items-end {\n align-items: end;\n}\n\n.pds-align-items-stretch {\n align-items: stretch;\n}\n\n.pds-align-items-baseline {\n align-items: baseline;\n}\n","import { Component, Prop, h, Host } from '@stencil/core';\n\nimport { BoxTShirtSizeType } from '../../utils/types';\n\n@Component({\n tag: 'pds-row',\n styleUrl: 'pds-row.scss',\n})\nexport class PdsRow {\n /**\n * Defines the vertical alignment of the row items.\n * @defaultValue start\n */\n @Prop() alignItems?: `start` | `center` | `end` | `baseline` | `stretch`;\n\n /**\n * If `true`, the row will have a border.\n */\n @Prop() border? = false;\n\n /**\n * Defines the spacing between the row items.\n */\n @Prop() colGap?: BoxTShirtSizeType | null;\n\n /**\n * A unique identifier used for the underlying component `id` attribute.\n */\n @Prop() componentId: string;\n\n /**\n * Defines the horizontal alignment of the row items.\n * @defaultValue start\n */\n @Prop() justifyContent?: `start` | `center` | `end` | `space-between` | `space-around`;\n\n /**\n * The minimum height of the row. Used in conjunction with alignment props\n */\n @Prop() minHeight?: string;\n\n /**\n * If `true`, the row items will not wrap to the next line if horizontal space is not available.\n */\n @Prop() noWrap? = false;\n\n private colGapMap: { [key in BoxTShirtSizeType]: string } = {\n none: '0',\n xxs: '.25rem',\n xs: '.5rem',\n sm: '1rem',\n md: '1.5rem',\n lg: '2.25rem',\n xl: '3rem',\n xxl: '4rem',\n };\n\n render() {\n const rowClasses = `\n ${this.alignItems !== undefined && this.alignItems.trim() !== '' ? `pds-align-items-${this.alignItems}` : ''}\n ${this.border ? 'pds-row--border' : ''}\n ${this.justifyContent !== undefined && this.justifyContent.trim() !== '' ? `pds-justify-content-${this.justifyContent}` : ''}\n ${this.noWrap ? 'pds-row--no-wrap' : ''}\n `;\n\n const rowInlineStyles = {\n ...(this.colGap && {\n '--row-gap-x': this.colGap !== undefined && this.colGap.trim() !== '' ? this.colGapMap[this.colGap] : '',\n '--row-gap-y': this.colGap !== undefined && this.colGap.trim() !== '' ? this.colGapMap[this.colGap] : '',\n }),\n ...(this.minHeight && {\n 'min-height': this.minHeight,\n }),\n };\n\n return <Host class={`pds-row ${rowClasses}`} style={rowInlineStyles}></Host>;\n }\n}\n"],"version":3}
@@ -0,0 +1,129 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-b1696fed.js';
2
+ import { m as messageId } from './form-1b7b69e3.js';
3
+ import { P as PdsLabel } from './pds-label-949a17b6.js';
4
+ import { b as danger, e as enlarge } from './index-d320cfa9.js';
5
+
6
+ const pdsSelectCss = ":host{--box-shadow-focus:0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-focus-ring);--box-shadow-focus-error:0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-focus-ring-danger)}:host .hidden,:host :host([hidden]){display:none}.pds-select{display:grid;-ms-flex-direction:column;flex-direction:column;grid-template-areas:\"label label\" \"field field\" \"message message\";grid-template-columns:1fr minmax(2rem, -webkit-min-content);grid-template-columns:1fr minmax(2rem, min-content);grid-template-rows:-webkit-min-content -webkit-min-content -webkit-min-content;grid-template-rows:min-content min-content min-content;position:relative;width:100%}label{font:var(--pine-typography-body-medium);grid-area:label;letter-spacing:var(--pine-letter-spacing);-webkit-margin-after:var(--pine-dimension-2xs);margin-block-end:var(--pine-dimension-2xs)}select{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:var(--pine-border);border-radius:10px;font:var(--pine-typography-body);grid-area:field;letter-spacing:var(--pine-letter-spacing);padding:var(--pine-dimension-xs) var(--pine-dimension-150);padding-right:var(--pine-dimension-450);position:relative}select:hover{border-color:var(--pine-color-border-hover);cursor:pointer}select:focus-visible{border-color:var(--pine-color-border-active);-webkit-box-shadow:var(--box-shadow-focus);box-shadow:var(--box-shadow-focus);outline:none}select:disabled{background-color:var(--pine-color-background-container-disabled);border-color:var(--pine-color-border-disabled);color:var(--pine-color-text-disabled);cursor:not-allowed}select:has(~.pds-select__message .pds-select__error-message){background-color:var(--pine-color-red-050);border-color:var(--pine-color-border-danger)}select:has(~.pds-select__message .pds-select__error-message):focus-visible{-webkit-box-shadow:var(--box-shadow-focus-error);box-shadow:var(--box-shadow-focus-error);outline:none}:host(.is-invalid) select{background-color:var(--pine-color-red-050);border-color:var(--pine-color-border-danger)}:host(.is-invalid) select:focus-visible{-webkit-box-shadow:var(--box-shadow-focus-error);box-shadow:var(--box-shadow-focus-error);outline:none}.pds-select__error-message,.pds-select__helper-message{font:var(--pine-typography-body-sm-medium);-webkit-margin-after:0;margin-block-end:0;-webkit-margin-before:var(--pine-dimension-xs);margin-block-start:var(--pine-dimension-xs)}.pds-select__error-message{-ms-flex-align:center;align-items:center;color:var(--pine-color-text-message-danger);display:-ms-flexbox;display:flex;gap:var(--pine-dimension-2xs)}.pds-select__message{grid-area:message}.pds-select__select-icon{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;grid-column:-1/-2;grid-row:2/3;height:2.5rem;pointer-events:none;position:relative;z-index:1}";
7
+ const PdsSelectStyle0 = pdsSelectCss;
8
+
9
+ const PdsSelect = class {
10
+ constructor(hostRef) {
11
+ registerInstance(this, hostRef);
12
+ this.pdsSelectChange = createEvent(this, "pdsSelectChange", 7);
13
+ /**
14
+ * Emits an event on input change.
15
+ */
16
+ this.onSelectUpdate = (e) => {
17
+ const target = e.target;
18
+ const values = Array.from(target.options)
19
+ .filter((option) => (option.selected))
20
+ .map((option) => (option.value));
21
+ if (values.length === 1 && !this.multiple) {
22
+ this.value = values[0];
23
+ }
24
+ else {
25
+ this.value = values;
26
+ }
27
+ this.pdsSelectChange.emit(e);
28
+ };
29
+ /**
30
+ * Handles the change event for the slot element.
31
+ * This method is triggered when the slot content changes.
32
+ * It updates the inner HTML of the select element by cloning and appending
33
+ * the assigned <option> elements from the slot.
34
+ */
35
+ this.handleSlotChange = () => {
36
+ const slot = this.slotContainer.querySelector('slot');
37
+ this.selectEl.innerHTML = '';
38
+ const assignedElements = slot.assignedElements({ flatten: true });
39
+ assignedElements.forEach((item) => {
40
+ if (['OPTION', 'OPTGROUP'].includes(item.tagName)) {
41
+ const clonedItem = item.cloneNode(true);
42
+ if (clonedItem.tagName === 'OPTION' && clonedItem.value === this.value) {
43
+ clonedItem.selected = true;
44
+ }
45
+ this.selectEl.appendChild(clonedItem);
46
+ }
47
+ });
48
+ this.updateSelectedOption();
49
+ };
50
+ this.autocomplete = undefined;
51
+ this.componentId = undefined;
52
+ this.disabled = false;
53
+ this.errorMessage = undefined;
54
+ this.helperMessage = undefined;
55
+ this.invalid = undefined;
56
+ this.label = undefined;
57
+ this.multiple = false;
58
+ this.name = undefined;
59
+ this.required = false;
60
+ this.value = undefined;
61
+ }
62
+ /**
63
+ * Handles the change in the value of the select component.
64
+ * This method is called whenever the value of the select component changes.
65
+ * It updates the selected option accordingly.
66
+ */
67
+ valueChanged() {
68
+ this.updateSelectedOption();
69
+ }
70
+ componentWillLoad() {
71
+ this.updateSelectedOption();
72
+ }
73
+ /**
74
+ * Updates the selected option in the select element based on the current value.
75
+ *
76
+ * This method iterates through all the options of the select element and sets the
77
+ * 'selected' attribute on the option that matches the current value. If an option
78
+ * does not match the current value, the 'selected' attribute is removed.
79
+ *
80
+ * @private
81
+ * @returns {void}
82
+ */
83
+ updateSelectedOption() {
84
+ if (this.selectEl) {
85
+ const options = this.selectEl.options;
86
+ // Update the selected attribute for all options.
87
+ Array.from(options).map((option) => {
88
+ if (Array.isArray(this.value)) {
89
+ option.selected = this.value.includes(option.value);
90
+ }
91
+ else {
92
+ option.selected = this.value === option.value;
93
+ }
94
+ });
95
+ }
96
+ }
97
+ getHelperMessage() {
98
+ return this.helperMessage && (h("p", { class: "pds-select__helper-message", id: messageId(this.componentId, 'helper') }, this.helperMessage));
99
+ }
100
+ getErrorMessage() {
101
+ return this.errorMessage && (h("p", { class: "pds-select__error-message", id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, h("pds-icon", { icon: danger, size: "small" }), this.errorMessage));
102
+ }
103
+ renderMessages() {
104
+ if (!this.helperMessage && !this.errorMessage)
105
+ return null;
106
+ return (h("div", { class: "pds-select__message" }, this.getHelperMessage(), this.getErrorMessage()));
107
+ }
108
+ classNames() {
109
+ const classNames = [];
110
+ if (this.invalid) {
111
+ classNames.push('is-invalid');
112
+ }
113
+ if (this.disabled) {
114
+ classNames.push('is-disabled');
115
+ }
116
+ return classNames.join(' ');
117
+ }
118
+ render() {
119
+ return (h(Host, { key: '165255feccf783f5be54aafd3d662f74c6fe376d', "aria-disabled": this.disabled ? 'true' : null, class: this.classNames() }, h("div", { key: '15a65039af0d9f33a3cc2e3402e4f883fbcbee17', class: "pds-select" }, h(PdsLabel, { key: 'aca9088817a4faa1d077e2a0bca640d62d940bf1', htmlFor: this.componentId, text: this.label }), h("select", { key: 'ed87a23fc18c58d7a12f69ea0c934d4779955530', autocomplete: this.autocomplete || undefined, class: "pds-select__field", disabled: this.disabled, id: this.componentId, multiple: this.multiple, name: this.name, onChange: this.onSelectUpdate, required: this.required, ref: (el) => (this.selectEl = el) }), h("div", { key: 'c62b99979077a1d0d513cb222643fcdac5b8918a', "aria-hidden": "true", class: "hidden", ref: (el) => (this.slotContainer = el) }, h("slot", { key: '44c53a70f4cc009fe601e868a4bbf251e45ff8a1', onSlotchange: this.handleSlotChange })), this.renderMessages(), !this.multiple && h("pds-icon", { key: '7b23da1edb11078a6471aa3a2847b0e54bb1b6bc', class: "pds-select__select-icon", icon: enlarge }))));
120
+ }
121
+ static get watchers() { return {
122
+ "value": ["valueChanged"]
123
+ }; }
124
+ };
125
+ PdsSelect.style = PdsSelectStyle0;
126
+
127
+ export { PdsSelect as pds_select };
128
+
129
+ //# sourceMappingURL=pds-select.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"pds-select.entry.js","mappings":";;;;;AAAA,MAAM,YAAY,GAAG,0uFAA0uF,CAAC;AAChwF,wBAAe,YAAY;;MCSd,SAAS;;;;;;;QA+GZ,mBAAc,GAAG,CAAC,CAAQ;YAChC,MAAM,MAAM,GAAG,CAAC,CAAC,MAA2B,CAAA;YAE5C,MAAM,MAAM,GAAG,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC;iBACpC,MAAM,CAAC,CAAC,MAAM,MAAO,MAAM,CAAC,QAAQ,CAAC,CAAC;iBACtC,GAAG,CAAC,CAAC,MAAM,MAAO,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;YAEtC,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;gBACvC,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC;aAC1B;iBAAM;gBACH,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC;aACvB;YAED,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,CAAe,CAAC,CAAC;SAC5C,CAAC;;;;;;;QAQM,qBAAgB,GAAG;YACzB,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAoB,CAAC;YAEzE,IAAI,CAAC,QAAQ,CAAC,SAAS,GAAG,EAAE,CAAC;YAC7B,MAAM,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAgD,CAAC;YAEjH,gBAAgB,CAAC,OAAO,CAAC,CAAC,IAAI;gBAC5B,IAAK,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE;oBAClD,MAAM,UAAU,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAA4C,CAAC;oBACnF,IAAI,UAAU,CAAC,OAAO,KAAK,QAAQ,IAAK,UAAgC,CAAC,KAAK,KAAK,IAAI,CAAC,KAAK,EAAE;wBAC5F,UAAgC,CAAC,QAAQ,GAAG,IAAI,CAAC;qBACnD;oBACD,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;iBACvC;aACF,CAAC,CAAC;YAEH,IAAI,CAAC,oBAAoB,EAAE,CAAC;SAC7B,CAAC;;;wBAnIiB,KAAK;;;;;wBA0BL,KAAK;;wBAWL,KAAK;;;;;;;;IAmBxB,YAAY;QACV,IAAI,CAAC,oBAAoB,EAAE,CAAC;KAC7B;IAED,iBAAiB;QACf,IAAI,CAAC,oBAAoB,EAAE,CAAC;KAC7B;;;;;;;;;;;IAYO,oBAAoB;QAC1B,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,MAAM,OAAO,GAAG,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC;;YAGtC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,MAAyB;gBAChD,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE;oBAC7B,MAAM,CAAC,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;iBACrD;qBAAM;oBACL,MAAM,CAAC,QAAQ,GAAG,IAAI,CAAC,KAAK,KAAK,MAAM,CAAC,KAAK,CAAC;iBAC/C;aACF,CAAC,CAAC;SACJ;KACF;IA8CO,gBAAgB;QACtB,OAAO,IAAI,CAAC,aAAa,KACvB,SAAG,KAAK,EAAC,4BAA4B,EAAC,EAAE,EAAE,SAAS,CAAC,IAAI,CAAC,WAAW,EAAE,QAAQ,CAAC,IAC5E,IAAI,CAAC,aAAa,CACjB,CACL,CAAC;KACH;IAEO,eAAe;QACrB,OAAO,IAAI,CAAC,YAAY,KACtB,SAAG,KAAK,EAAC,2BAA2B,EAAC,EAAE,EAAE,SAAS,CAAC,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC,eAAY,WAAW,IAClG,gBAAU,IAAI,EAAE,MAAM,EAAE,IAAI,EAAC,OAAO,GAAY,EAC/C,IAAI,CAAC,YAAY,CAChB,CACL,CAAC;KACH;IAEO,cAAc;QACpB,IAAI,CAAC,IAAI,CAAC,aAAa,IAAI,CAAC,IAAI,CAAC,YAAY;YAAE,OAAO,IAAI,CAAC;QAE3D,QACE,WAAK,KAAK,EAAC,qBAAqB,IAC7B,IAAI,CAAC,gBAAgB,EAAE,EACvB,IAAI,CAAC,eAAe,EAAE,CACnB,EACN;KACH;IAEO,UAAU;QAChB,MAAM,UAAU,GAAG,EAAE,CAAC;QAEtB,IAAI,IAAI,CAAC,OAAO,EAAE;YAAE,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;SAAE;QACpD,IAAI,IAAI,CAAC,QAAQ,EAAE;YAAE,UAAU,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;SAAE;QAEtD,OAAO,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KAC9B;IAED,MAAM;QACJ,QACE,EAAC,IAAI,sEAAgB,IAAI,CAAC,QAAQ,GAAG,MAAM,GAAG,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,IAC1E,4DAAK,KAAK,EAAC,YAAY,IACrB,EAAC,QAAQ,qDAAC,OAAO,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,GAAI,EACvD,+DACE,YAAY,EAAE,IAAI,CAAC,YAAY,IAAI,SAAS,EAC5C,KAAK,EAAC,mBAAmB,EACzB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,EAAE,EAAE,IAAI,CAAC,WAAW,EACpB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,QAAQ,EAAE,IAAI,CAAC,cAAc,EAC7B,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,QAAQ,GAAG,EAAuB,CAAC,GAC9C,EACZ,2EAAiB,MAAM,EAAC,KAAK,EAAC,QAAQ,EAAC,GAAG,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,aAAa,GAAG,EAAE,CAAC,IAC3E,6DAAM,YAAY,EAAE,IAAI,CAAC,gBAAgB,GAAS,CAC9C,EACL,IAAI,CAAC,cAAc,EAAE,EACrB,CAAC,IAAI,CAAC,QAAQ,IAAI,iEAAU,KAAK,EAAC,yBAAyB,EAAC,IAAI,EAAE,OAAO,GAAI,CAC1E,CACD,EACP;KACH;;;;;;;;;","names":[],"sources":["src/components/pds-select/pds-select.scss?tag=pds-select&encapsulation=shadow","src/components/pds-select/pds-select.tsx"],"sourcesContent":[":host {\n --box-shadow-focus: 0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-focus-ring);\n --box-shadow-focus-error: 0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-focus-ring-danger);\n\n .hidden,\n :host([hidden]) {\n display: none;\n }\n}\n\n.pds-select {\n display: grid;\n flex-direction: column;\n grid-template-areas:\n 'label label'\n 'field field'\n 'message message';\n grid-template-columns: 1fr minmax(2rem, min-content);\n grid-template-rows: min-content min-content min-content;\n position: relative;\n width: 100%;\n}\n\nlabel {\n font: var(--pine-typography-body-medium);\n grid-area: label;\n letter-spacing: var(--pine-letter-spacing);\n margin-block-end: var(--pine-dimension-2xs);\n}\n\nselect {\n appearance: none;\n border: var(--pine-border);\n border-radius: 10px;\n font: var(--pine-typography-body);\n grid-area: field;\n letter-spacing: var(--pine-letter-spacing);\n padding: var(--pine-dimension-xs) var(--pine-dimension-150);\n padding-right: var(--pine-dimension-450);\n position: relative;\n\n &:hover {\n border-color: var(--pine-color-border-hover);\n cursor: pointer;\n }\n\n &:focus-visible {\n border-color: var(--pine-color-border-active);\n box-shadow: var(--box-shadow-focus);\n outline: none;\n }\n\n &:disabled {\n background-color: var(--pine-color-background-container-disabled);\n border-color: var(--pine-color-border-disabled);\n color: var(--pine-color-text-disabled);\n cursor: not-allowed;\n }\n\n &:has(~ .pds-select__message .pds-select__error-message) {\n background-color: var(--pine-color-red-050);\n border-color: var(--pine-color-border-danger);\n\n &:focus-visible {\n box-shadow: var(--box-shadow-focus-error);\n outline: none;\n }\n }\n}\n\n:host(.is-invalid) {\n select {\n background-color: var(--pine-color-red-050);\n border-color: var(--pine-color-border-danger);\n\n &:focus-visible {\n box-shadow: var(--box-shadow-focus-error);\n outline: none;\n }\n }\n}\n\n.pds-select__error-message,\n.pds-select__helper-message {\n font: var(--pine-typography-body-sm-medium);\n margin-block-end: 0;\n margin-block-start: var(--pine-dimension-xs);\n}\n\n.pds-select__error-message {\n align-items: center;\n color: var(--pine-color-text-message-danger);\n display: flex;\n gap: var(--pine-dimension-2xs);\n}\n\n.pds-select__message {\n grid-area: message;\n}\n\n.pds-select__select-icon {\n align-items: center;\n display: flex;\n grid-column: -1 / -2;\n grid-row: 2 / 3;\n height: 2.5rem;\n pointer-events: none;\n position: relative;\n z-index: 1;\n}\n","import { Component, Event, EventEmitter, Host, h, Prop, Watch } from '@stencil/core';\nimport { messageId } from '../../utils/form';\nimport { PdsLabel } from '../_internal/pds-label/pds-label';\nimport { danger, enlarge } from '@pine-ds/icons/icons';\n\n@Component({\n tag: 'pds-select',\n styleUrl: 'pds-select.scss',\n shadow: true,\n})\nexport class PdsSelect {\n\n private selectEl!: HTMLSelectElement;\n private slotContainer!: HTMLDivElement;\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 select field is disabled.\n * @defaultValue false\n */\n @Prop() disabled = false\n\n /**\n * Displays error message text describing an invalid state.\n */\n @Prop() errorMessage: string;\n\n /**\n * Displays helper message text below select.\n */\n @Prop() helperMessage: string;\n\n /**\n * Determines whether or not the select is invalid.\n */\n @Prop() invalid?: boolean;\n\n /**\n * Text to be displayed as the select label.\n */\n @Prop() label: string;\n\n /**\n * Indicates whether multiple options can be selected.\n * @defaultValue false\n */\n @Prop() multiple = false;\n\n /**\n * Specifies the name. Submitted with the form name/value pair.\n */\n @Prop() name!: string;\n\n /**\n * Indicates whether or not the select field is required.\n * @defaultValue false\n */\n @Prop() required = false;\n\n /**\n * The value(s) of the selected option(s).\n *\n */\n @Prop({ mutable: true }) value?: string | string[];\n\n /**\n * Emitted when a keyboard input occurs.\n */\n @Event() pdsSelectChange: EventEmitter<InputEvent>;\n\n @Watch('value')\n /**\n * Handles the change in the value of the select component.\n * This method is called whenever the value of the select component changes.\n * It updates the selected option accordingly.\n */\n valueChanged() {\n this.updateSelectedOption();\n }\n\n componentWillLoad() {\n this.updateSelectedOption();\n }\n\n /**\n * Updates the selected option in the select element based on the current value.\n *\n * This method iterates through all the options of the select element and sets the\n * 'selected' attribute on the option that matches the current value. If an option\n * does not match the current value, the 'selected' attribute is removed.\n *\n * @private\n * @returns {void}\n */\n private updateSelectedOption() {\n if (this.selectEl) {\n const options = this.selectEl.options;\n\n // Update the selected attribute for all options.\n Array.from(options).map((option: HTMLOptionElement) => {\n if (Array.isArray(this.value)) {\n option.selected = this.value.includes(option.value);\n } else {\n option.selected = this.value === option.value;\n }\n });\n };\n }\n\n /**\n * Emits an event on input change.\n */\n private onSelectUpdate = (e: Event) => {\n const target = e.target as HTMLSelectElement\n\n const values = Array.from(target.options)\n .filter((option) => ( option.selected))\n .map((option) => ( option.value));\n\n if (values.length === 1 && !this.multiple) {\n this.value = values[0];\n } else {\n this.value = values;\n }\n\n this.pdsSelectChange.emit(e as InputEvent);\n };\n\n /**\n * Handles the change event for the slot element.\n * This method is triggered when the slot content changes.\n * It updates the inner HTML of the select element by cloning and appending\n * the assigned <option> elements from the slot.\n */\n private handleSlotChange = () => {\n const slot = this.slotContainer.querySelector('slot') as HTMLSlotElement;\n\n this.selectEl.innerHTML = '';\n const assignedElements = slot.assignedElements({ flatten: true }) as (HTMLOptionElement | HTMLOptGroupElement)[];\n\n assignedElements.forEach((item) => {\n if ( ['OPTION', 'OPTGROUP'].includes(item.tagName)) {\n const clonedItem = item.cloneNode(true) as HTMLOptionElement | HTMLOptGroupElement;\n if (clonedItem.tagName === 'OPTION' && (clonedItem as HTMLOptionElement).value === this.value) {\n (clonedItem as HTMLOptionElement).selected = true;\n }\n this.selectEl.appendChild(clonedItem);\n }\n });\n\n this.updateSelectedOption();\n };\n\n private getHelperMessage() {\n return this.helperMessage && (\n <p class=\"pds-select__helper-message\" id={messageId(this.componentId, 'helper')}>\n {this.helperMessage}\n </p>\n );\n }\n\n private getErrorMessage() {\n return this.errorMessage && (\n <p class=\"pds-select__error-message\" id={messageId(this.componentId, 'error')} aria-live=\"assertive\">\n <pds-icon icon={danger} size=\"small\"></pds-icon>\n {this.errorMessage}\n </p>\n );\n }\n\n private renderMessages() {\n if (!this.helperMessage && !this.errorMessage) return null;\n\n return (\n <div class=\"pds-select__message\">\n {this.getHelperMessage()}\n {this.getErrorMessage()}\n </div>\n );\n }\n\n private classNames() {\n const classNames = [];\n\n if (this.invalid) { classNames.push('is-invalid'); }\n if (this.disabled) { classNames.push('is-disabled'); }\n\n return classNames.join(' ');\n }\n\n render() {\n return (\n <Host aria-disabled={this.disabled ? 'true' : null} class={this.classNames()}>\n <div class=\"pds-select\">\n <PdsLabel htmlFor={this.componentId} text={this.label} />\n <select\n autocomplete={this.autocomplete || undefined}\n class=\"pds-select__field\"\n disabled={this.disabled}\n id={this.componentId}\n multiple={this.multiple}\n name={this.name}\n onChange={this.onSelectUpdate}\n required={this.required}\n ref={(el) => (this.selectEl = el as HTMLSelectElement)}\n ></select>\n <div aria-hidden=\"true\" class=\"hidden\" ref={(el) => (this.slotContainer = el)}>\n <slot onSlotchange={this.handleSlotChange}></slot>\n </div>\n {this.renderMessages()}\n {!this.multiple && <pds-icon class=\"pds-select__select-icon\" icon={enlarge} />}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,7 +1,7 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-9f0e742f.js';
2
- import { h as handle } from './index-9f8fe796.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-b1696fed.js';
2
+ import { h as handle } from './index-d320cfa9.js';
3
3
 
4
- const pdsSortableItemCss = ".pds-sortable-item.sc-pds-sortable-item-h{--border-radius:var(--pine-border-radius-125);--border-default:var(--pine-border-width-thin) solid var(--pine-color-grey-300);--box-shadow:var(--pine-box-shadow-400);--color-background-default:var(--pine-color-white);--color-background-interactive:var(--pine-color-grey-200);--color-interactive-handle:var(--pine-color-blue-300);--spacing-margin-inline-end:var(--pine-spacing-300);--spacing-padding-block-xs:var(--pine-spacing-100);--spacing-padding-inline:var(--pine-spacing-300);--spacing-padding-inline-start:var(--pine-spacing-300);-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;padding-block:var(--spacing-padding-block-xs);padding-inline:var(--spacing-padding-inline)}.pds-sortable-item.sc-pds-sortable-item-h .pds-sortable-item__actions.sc-pds-sortable-item{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-padding-start:var(--spacing-padding-inline-start);padding-inline-start:var(--spacing-padding-inline-start)}.pds-sortable-item.sc-pds-sortable-item-h .pds-sortable-item__handle.sc-pds-sortable-item{line-height:1;-webkit-margin-end:var(--spacing-margin-inline-end);margin-inline-end:var(--spacing-margin-inline-end)}.pds-sortable--bordered .pds-sortable-item.sc-pds-sortable-item-h:first-child{border-start-end-radius:var(--border-radius);border-start-start-radius:var(--border-radius)}.pds-sortable--bordered .pds-sortable-item.sc-pds-sortable-item-h:last-child{border-end-end-radius:var(--border-radius);border-end-start-radius:var(--border-radius)}.pds-sortable--divided .pds-sortable-item.sc-pds-sortable-item-h{-webkit-border-after:var(--border-default);border-block-end:var(--border-default)}.pds-sortable--divided .pds-sortable-item.sc-pds-sortable-item-h:last-child{-webkit-border-after:0;border-block-end:0}.pds-sortable--handle-type-row .pds-sortable-item.sc-pds-sortable-item-h{cursor:-webkit-grab;cursor:grab}.pds-sortable--handle-type-handle .pds-sortable-item.sc-pds-sortable-item-h .pds-sortable-item__handle.sc-pds-sortable-item{cursor:-webkit-grab;cursor:grab}.pds-sortable-item.sc-pds-sortable-item-h:hover{background-color:var(--color-background-interactive)}.pds-sortable-item.sc-pds-sortable-item-h:hover pds-icon.sc-pds-sortable-item{color:var(--color-interactive-handle)}.pds-sortable-item--drag.sc-pds-sortable-item-h{background-color:var(--color-background-default);border-radius:0;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);opacity:1}.pds-sortable-item--ghost.sc-pds-sortable-item-h{background-color:var(--color-background-interactive);border-radius:0}";
4
+ const pdsSortableItemCss = ".pds-sortable-item.sc-pds-sortable-item-h{--box-shadow:var(--pine-box-shadow-400);-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;padding-block:var(--pine-dimension-xs);padding-inline:var(--pine-dimension-md)}.pds-sortable-item.sc-pds-sortable-item-h .pds-sortable-item__actions.sc-pds-sortable-item{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-padding-start:var(--pine-dimension-md);padding-inline-start:var(--pine-dimension-md)}.pds-sortable-item.sc-pds-sortable-item-h .pds-sortable-item__handle.sc-pds-sortable-item{line-height:1;-webkit-margin-end:var(--pine-dimension-md);margin-inline-end:var(--pine-dimension-md)}.pds-sortable--bordered .pds-sortable-item.sc-pds-sortable-item-h:first-child{border-start-end-radius:calc(var(--pine-dimension-xs) * 1.25);border-start-start-radius:calc(var(--pine-dimension-xs) * 1.25)}.pds-sortable--bordered .pds-sortable-item.sc-pds-sortable-item-h:last-child{border-end-end-radius:calc(var(--pine-dimension-xs) * 1.25);border-end-start-radius:calc(var(--pine-dimension-xs) * 1.25)}.pds-sortable--divided .pds-sortable-item.sc-pds-sortable-item-h{-webkit-border-after:var(--pine-border);border-block-end:var(--pine-border)}.pds-sortable--divided .pds-sortable-item.sc-pds-sortable-item-h:last-child{-webkit-border-after:0;border-block-end:0}.pds-sortable--handle-type-row .pds-sortable-item.sc-pds-sortable-item-h{cursor:-webkit-grab;cursor:grab}.pds-sortable--handle-type-handle .pds-sortable-item.sc-pds-sortable-item-h .pds-sortable-item__handle.sc-pds-sortable-item{cursor:-webkit-grab;cursor:grab}.pds-sortable-item.sc-pds-sortable-item-h:hover{background-color:var(--pine-color-background-container-hover)}.pds-sortable-item.sc-pds-sortable-item-h:hover pds-icon.sc-pds-sortable-item{color:var(--pine-color-info)}.pds-sortable-item--drag.sc-pds-sortable-item-h{background-color:var(--pine-color-background-container);border-radius:0;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);opacity:1}.pds-sortable-item--ghost.sc-pds-sortable-item-h{background-color:var(--pine-color-background-container-hover);border-radius:0}";
5
5
  const PdsSortableItemStyle0 = pdsSortableItemCss;
6
6
 
7
7
  const PdsSortableItem = class {
@@ -20,7 +20,7 @@ const PdsSortableItem = class {
20
20
  }
21
21
  }
22
22
  render() {
23
- return (h(Host, { key: '60214e183314736338f9b38cb93a9c5989e16cdf', class: "pds-sortable-item", id: this.componentId }, this.showHandle && (h("div", { key: '7cc252c99598f384a87518c101d0772a4ce344e4', class: "pds-sortable-item__handle" }, h("pds-icon", { key: 'e2b219927cf717fa53112066ba3fe0ac12688edd', icon: handle }))), h("slot", { key: 'e259bfbf7e8c848567d07639e62adfe5781f29b8' }), this.enableActions && (h("div", { key: 'e83d28d55b6fee971575433a3e3f8b1d5b7e52fe', class: "pds-sortable-item__actions" }, h("slot", { key: '7ac52a8109e49cfff96cead45a3b318646c7f064', name: "sortable-item-actions" })))));
23
+ return (h(Host, { key: '53229fa4308319c59c520bdf84291fb738d6f7c2', class: "pds-sortable-item", id: this.componentId }, this.showHandle && (h("div", { key: '28a4a4fe6a946880e7501fd2a0697152f0665f4c', class: "pds-sortable-item__handle" }, h("pds-icon", { key: 'e45540e3787977b0861418455f6a0689cfcec887', icon: handle }))), h("slot", { key: 'bca5cbb3c4f5b4f1732030428660f5ae976cced0' }), this.enableActions && (h("div", { key: '2928a942128e4bbad4c869f42b59d10501af4419', class: "pds-sortable-item__actions" }, h("slot", { key: 'c2a4e2a47300f1c8f06a23ba134c436a591442bf', name: "sortable-item-actions" })))));
24
24
  }
25
25
  get el() { return getElement(this); }
26
26
  };
@@ -1 +1 @@
1
- {"file":"pds-sortable-item.entry.js","mappings":";;;AAAA,MAAM,kBAAkB,GAAG,kiFAAkiF,CAAC;AAC9jF,8BAAe,kBAAkB;;MCUpB,eAAe;;;6BAOF,KAAK;;0BAWS,KAAK;;IAE3C,mBAAmB;;;QAGjB,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,cAAc,CAA2B,CAAC;QAE7E,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,WAAW,CAAC,UAAU,KAAK,QAAQ,EAAE;YAChE,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;SACxB;KACF;IAED,MAAM;QACJ,QACE,EAAC,IAAI,qDAAC,KAAK,EAAC,mBAAmB,EAAC,EAAE,EAAE,IAAI,CAAC,WAAW,IACjD,IAAI,CAAC,UAAU,KACd,4DAAK,KAAK,EAAC,2BAA2B,IACpC,iEAAU,IAAI,EAAEA,MAAU,GAAa,CACnC,CACP,EACD,8DAAa,EACZ,IAAI,CAAC,aAAa,KACjB,4DAAK,KAAK,EAAC,4BAA4B,IACrC,6DAAM,IAAI,EAAC,uBAAuB,GAAG,CACjC,CACP,CACI,EACP;KACH;;;;;;;","names":["handleIcon"],"sources":["src/components/pds-sortable/pds-sortable-item/pds-sortable-item.scss?tag=pds-sortable-item&encapsulation=scoped","src/components/pds-sortable/pds-sortable-item/pds-sortable-item.tsx"],"sourcesContent":[":host(.pds-sortable-item) {\n --border-radius: var(--pine-border-radius-125);\n\n --border-default: var(--pine-border-width-thin) solid var(--pine-color-grey-300);\n\n --box-shadow: var(--pine-box-shadow-400);\n\n --color-background-default: var(--pine-color-white);\n --color-background-interactive: var(--pine-color-grey-200);\n --color-interactive-handle: var(--pine-color-blue-300);\n\n --spacing-margin-inline-end: var(--pine-spacing-300);\n --spacing-padding-block-xs: var(--pine-spacing-100);\n --spacing-padding-inline: var(--pine-spacing-300);\n --spacing-padding-inline-start: var(--pine-spacing-300);\n\n align-items: center;\n display: flex;\n padding-block: var(--spacing-padding-block-xs);\n padding-inline: var(--spacing-padding-inline);\n\n .pds-sortable-item__actions {\n margin-inline-start: auto;\n padding-inline-start: var(--spacing-padding-inline-start);\n }\n\n .pds-sortable-item__handle {\n line-height: 1;\n margin-inline-end: var(--spacing-margin-inline-end);\n }\n\n // styles when sortable is bordered\n .pds-sortable--bordered & {\n &:first-child {\n border-start-end-radius: var(--border-radius);\n border-start-start-radius: var(--border-radius);\n }\n\n &:last-child {\n border-end-end-radius: var(--border-radius);\n border-end-start-radius: var(--border-radius);\n }\n }\n\n // styles when sortable is divided\n .pds-sortable--divided & {\n border-block-end: var(--border-default);\n\n &:last-child {\n border-block-end: 0;\n }\n }\n\n // cursor styles based on handle-type\n .pds-sortable--handle-type-row & {\n cursor: grab;\n }\n\n .pds-sortable--handle-type-handle & {\n .pds-sortable-item__handle {\n cursor: grab;\n }\n }\n}\n\n:host(.pds-sortable-item):hover {\n background-color: var(--color-background-interactive);\n\n pds-icon {\n color: var(--color-interactive-handle)\n }\n}\n\n:host(.pds-sortable-item--drag) {\n background-color: var(--color-background-default);\n border-radius: 0;\n box-shadow: var(--box-shadow);\n opacity: 1;\n}\n\n:host(.pds-sortable-item--ghost) {\n background-color: var(--color-background-interactive);\n border-radius: 0;\n}\n","import { Component, Element, Host, h, Prop } from '@stencil/core';\n\nimport { handle as handleIcon } from '@pine-ds/icons/icons';\n/**\n * @slot sortable-item-actions - Content is placed within the `pds-sortable-item__actions` element as children. This slot is only rendered if `actions` is set to `true`.\n */\n@Component({\n tag: 'pds-sortable-item',\n styleUrl: 'pds-sortable-item.scss',\n scoped: true,\n})\nexport class PdsSortableItem {\n @Element() el: HTMLPdsSortableItemElement;\n sortableRef: HTMLPdsSortableElement;\n /**\n * Determines whether `sortable-item-actions` slot should be enabled.\n * @defaultValue false\n */\n @Prop() enableActions = false;\n\n /**\n * A unique identifier used for the sortable item `id` attribute.\n */\n @Prop() componentId: string;\n\n /**\n * Determines whether `sortable-item` should have a handle.\n * @defaultValue false\n */\n @Prop({ mutable: true }) showHandle = false;\n\n componentWillRender() {\n // When the parent sortable has a type of 'handle', the sortable items\n // will automatically set showHandle to 'true'.\n this.sortableRef = this.el.closest('pds-sortable') as HTMLPdsSortableElement;\n\n if (this.sortableRef && this.sortableRef.handleType === 'handle') {\n this.showHandle = true;\n }\n }\n\n render() {\n return (\n <Host class=\"pds-sortable-item\" id={this.componentId}>\n {this.showHandle && (\n <div class=\"pds-sortable-item__handle\">\n <pds-icon icon={handleIcon}></pds-icon>\n </div>\n )}\n <slot></slot>\n {this.enableActions && (\n <div class=\"pds-sortable-item__actions\">\n <slot name=\"sortable-item-actions\" />\n </div>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"pds-sortable-item.entry.js","mappings":";;;AAAA,MAAM,kBAAkB,GAAG,8kEAA8kE,CAAC;AAC1mE,8BAAe,kBAAkB;;MCUpB,eAAe;;;6BAOF,KAAK;;0BAWS,KAAK;;IAE3C,mBAAmB;;;QAGjB,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,cAAc,CAA2B,CAAC;QAE7E,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,WAAW,CAAC,UAAU,KAAK,QAAQ,EAAE;YAChE,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;SACxB;KACF;IAED,MAAM;QACJ,QACE,EAAC,IAAI,qDAAC,KAAK,EAAC,mBAAmB,EAAC,EAAE,EAAE,IAAI,CAAC,WAAW,IACjD,IAAI,CAAC,UAAU,KACd,4DAAK,KAAK,EAAC,2BAA2B,IACpC,iEAAU,IAAI,EAAEA,MAAU,GAAa,CACnC,CACP,EACD,8DAAa,EACZ,IAAI,CAAC,aAAa,KACjB,4DAAK,KAAK,EAAC,4BAA4B,IACrC,6DAAM,IAAI,EAAC,uBAAuB,GAAG,CACjC,CACP,CACI,EACP;KACH;;;;;;;","names":["handleIcon"],"sources":["src/components/pds-sortable/pds-sortable-item/pds-sortable-item.scss?tag=pds-sortable-item&encapsulation=scoped","src/components/pds-sortable/pds-sortable-item/pds-sortable-item.tsx"],"sourcesContent":[":host(.pds-sortable-item) {\n --box-shadow: var(--pine-box-shadow-400);\n\n align-items: center;\n display: flex;\n padding-block: var(--pine-dimension-xs);\n padding-inline: var(--pine-dimension-md);\n\n .pds-sortable-item__actions {\n margin-inline-start: auto;\n padding-inline-start: var(--pine-dimension-md);\n }\n\n .pds-sortable-item__handle {\n line-height: 1;\n margin-inline-end: var(--pine-dimension-md);\n }\n\n // styles when sortable is bordered\n .pds-sortable--bordered & {\n &:first-child {\n border-start-end-radius: calc(var(--pine-dimension-xs) * 1.25);\n border-start-start-radius: calc(var(--pine-dimension-xs) * 1.25);\n }\n\n &:last-child {\n border-end-end-radius: calc(var(--pine-dimension-xs) * 1.25);\n border-end-start-radius: calc(var(--pine-dimension-xs) * 1.25);\n }\n }\n\n // styles when sortable is divided\n .pds-sortable--divided & {\n border-block-end: var(--pine-border);\n\n &:last-child {\n border-block-end: 0;\n }\n }\n\n // cursor styles based on handle-type\n .pds-sortable--handle-type-row & {\n cursor: grab;\n }\n\n .pds-sortable--handle-type-handle & {\n .pds-sortable-item__handle {\n cursor: grab;\n }\n }\n}\n\n:host(.pds-sortable-item):hover {\n background-color: var(--pine-color-background-container-hover);\n\n pds-icon {\n color: var(--pine-color-info)\n }\n}\n\n:host(.pds-sortable-item--drag) {\n background-color: var(--pine-color-background-container);\n border-radius: 0;\n box-shadow: var(--box-shadow);\n opacity: 1;\n}\n\n:host(.pds-sortable-item--ghost) {\n background-color: var(--pine-color-background-container-hover);\n border-radius: 0;\n}\n","import { Component, Element, Host, h, Prop } from '@stencil/core';\n\nimport { handle as handleIcon } from '@pine-ds/icons/icons';\n/**\n * @slot sortable-item-actions - Content is placed within the `pds-sortable-item__actions` element as children. This slot is only rendered if `actions` is set to `true`.\n */\n@Component({\n tag: 'pds-sortable-item',\n styleUrl: 'pds-sortable-item.scss',\n scoped: true,\n})\nexport class PdsSortableItem {\n @Element() el: HTMLPdsSortableItemElement;\n sortableRef: HTMLPdsSortableElement;\n /**\n * Determines whether `sortable-item-actions` slot should be enabled.\n * @defaultValue false\n */\n @Prop() enableActions = false;\n\n /**\n * A unique identifier used for the sortable item `id` attribute.\n */\n @Prop() componentId: string;\n\n /**\n * Determines whether `sortable-item` should have a handle.\n * @defaultValue false\n */\n @Prop({ mutable: true }) showHandle = false;\n\n componentWillRender() {\n // When the parent sortable has a type of 'handle', the sortable items\n // will automatically set showHandle to 'true'.\n this.sortableRef = this.el.closest('pds-sortable') as HTMLPdsSortableElement;\n\n if (this.sortableRef && this.sortableRef.handleType === 'handle') {\n this.showHandle = true;\n }\n }\n\n render() {\n return (\n <Host class=\"pds-sortable-item\" id={this.componentId}>\n {this.showHandle && (\n <div class=\"pds-sortable-item__handle\">\n <pds-icon icon={handleIcon}></pds-icon>\n </div>\n )}\n <slot></slot>\n {this.enableActions && (\n <div class=\"pds-sortable-item__actions\">\n <slot name=\"sortable-item-actions\" />\n </div>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9f0e742f.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-b1696fed.js';
2
2
 
3
3
  /**!
4
4
  * Sortable 1.15.3
@@ -2650,7 +2650,7 @@ _extends(Remove, {
2650
2650
  Sortable.mount(new AutoScrollPlugin());
2651
2651
  Sortable.mount(Remove, Revert);
2652
2652
 
2653
- const pdsSortableCss = ".pds-sortable.sc-pds-sortable-h{--border-radius:var(--pine-border-radius-050);--border-default:var(--pine-border-width-thin) solid var(--pine-color-grey-300);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.pds-sortable.pds-sortable--bordered.sc-pds-sortable-h{border:var(--border-default);border-radius:var(--border-radius)}";
2653
+ const pdsSortableCss = ".pds-sortable.sc-pds-sortable-h{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.pds-sortable.pds-sortable--bordered.sc-pds-sortable-h{border:var(--pine-border);border-radius:var(--pine-dimension-2xs)}";
2654
2654
  const PdsSortableStyle0 = pdsSortableCss;
2655
2655
 
2656
2656
  const PdsSortable = class {
@@ -2690,7 +2690,7 @@ const PdsSortable = class {
2690
2690
  Sortable.create(this.el, sortableOptions);
2691
2691
  }
2692
2692
  render() {
2693
- return (h(Host, { key: '030286aa0de920f4b5ce4470f3d1b5ab14be2792', class: this.classNames(), id: this.componentId }, h("slot", { key: 'c38822d7c82273c2fbc28d09c919e4c179ebb49d' })));
2693
+ return (h(Host, { key: '42b9c4dc796b7928b0409b50f25294ce55567191', class: this.classNames(), id: this.componentId }, h("slot", { key: '20490c74d25702c878832a7de858a978d2419289' })));
2694
2694
  }
2695
2695
  get el() { return getElement(this); }
2696
2696
  };