@pine-ds/core 2.16.4 → 2.17.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 (380) hide show
  1. package/components/index2.js +1 -1
  2. package/components/index2.js.map +1 -1
  3. package/components/pds-box.js +11 -2
  4. package/components/pds-box.js.map +1 -1
  5. package/components/pds-button2.js +31 -8
  6. package/components/pds-button2.js.map +1 -1
  7. package/components/pds-checkbox2.js +3 -3
  8. package/components/pds-checkbox2.js.map +1 -1
  9. package/components/pds-chip.js +1 -1
  10. package/components/pds-copytext.js +2 -2
  11. package/components/pds-copytext.js.map +1 -1
  12. package/components/pds-divider.js +1 -1
  13. package/components/pds-image.js +3 -3
  14. package/components/pds-image.js.map +1 -1
  15. package/components/pds-input.js +4 -4
  16. package/components/pds-link.js +2 -2
  17. package/components/pds-loader2.js +1 -1
  18. package/components/pds-popover.js +1 -1
  19. package/components/pds-progress.js +1 -1
  20. package/components/pds-radio.js +3 -3
  21. package/components/pds-row.js +1 -1
  22. package/components/pds-select.js +2 -2
  23. package/components/pds-sortable-item.js +1 -1
  24. package/components/pds-sortable.js +1 -1
  25. package/components/pds-switch.js +3 -3
  26. package/components/pds-tab.js +3 -3
  27. package/components/pds-table-body.js +1 -1
  28. package/components/pds-table-cell2.js +2 -2
  29. package/components/pds-table-head-cell2.js +2 -2
  30. package/components/pds-table-head.js +1 -1
  31. package/components/pds-table-row.js +1 -1
  32. package/components/pds-table.js +1 -1
  33. package/components/pds-tabpanel.js +1 -1
  34. package/components/pds-tabs.js +1 -1
  35. package/components/pds-text.js +7 -3
  36. package/components/pds-text.js.map +1 -1
  37. package/components/pds-textarea.js +4 -4
  38. package/components/pds-tooltip.js +2 -2
  39. package/dist/cjs/{index-603f98cb.js → index-6a0fbd28.js} +2 -2
  40. package/dist/cjs/{index-603f98cb.js.map → index-6a0fbd28.js.map} +1 -1
  41. package/dist/cjs/loader.cjs.js +1 -1
  42. package/dist/cjs/pds-accordion.cjs.entry.js +1 -1
  43. package/dist/cjs/pds-avatar.cjs.entry.js +1 -1
  44. package/dist/cjs/pds-box.cjs.entry.js +8 -2
  45. package/dist/cjs/pds-box.cjs.entry.js.map +1 -1
  46. package/dist/cjs/pds-button.cjs.entry.js +28 -8
  47. package/dist/cjs/pds-button.cjs.entry.js.map +1 -1
  48. package/dist/cjs/pds-checkbox.cjs.entry.js +4 -4
  49. package/dist/cjs/pds-checkbox.cjs.entry.js.map +1 -1
  50. package/dist/cjs/pds-chip.cjs.entry.js +2 -2
  51. package/dist/cjs/pds-copytext.cjs.entry.js +3 -3
  52. package/dist/cjs/pds-copytext.cjs.entry.js.map +1 -1
  53. package/dist/cjs/pds-divider.cjs.entry.js +1 -1
  54. package/dist/cjs/pds-image.cjs.entry.js +3 -3
  55. package/dist/cjs/pds-image.cjs.entry.js.map +1 -1
  56. package/dist/cjs/pds-input.cjs.entry.js +5 -5
  57. package/dist/cjs/pds-link.cjs.entry.js +3 -3
  58. package/dist/cjs/pds-loader.cjs.entry.js +1 -1
  59. package/dist/cjs/pds-popover.cjs.entry.js +1 -1
  60. package/dist/cjs/pds-progress.cjs.entry.js +1 -1
  61. package/dist/cjs/pds-radio.cjs.entry.js +4 -4
  62. package/dist/cjs/pds-row.cjs.entry.js +1 -1
  63. package/dist/cjs/pds-select.cjs.entry.js +3 -3
  64. package/dist/cjs/pds-sortable-item.cjs.entry.js +2 -2
  65. package/dist/cjs/pds-sortable.cjs.entry.js +1 -1
  66. package/dist/cjs/pds-switch.cjs.entry.js +4 -4
  67. package/dist/cjs/pds-tab.cjs.entry.js +3 -3
  68. package/dist/cjs/pds-table-body.cjs.entry.js +1 -1
  69. package/dist/cjs/pds-table-cell.cjs.entry.js +2 -2
  70. package/dist/cjs/pds-table-head-cell.cjs.entry.js +3 -3
  71. package/dist/cjs/pds-table-head.cjs.entry.js +1 -1
  72. package/dist/cjs/pds-table-row.cjs.entry.js +1 -1
  73. package/dist/cjs/pds-table.cjs.entry.js +1 -1
  74. package/dist/cjs/pds-tabpanel.cjs.entry.js +1 -1
  75. package/dist/cjs/pds-tabs.cjs.entry.js +1 -1
  76. package/dist/cjs/pds-text.cjs.entry.js +4 -2
  77. package/dist/cjs/pds-text.cjs.entry.js.map +1 -1
  78. package/dist/cjs/pds-textarea.cjs.entry.js +5 -5
  79. package/dist/cjs/pds-tooltip.cjs.entry.js +2 -2
  80. package/dist/cjs/pine-core.cjs.js +1 -1
  81. package/dist/collection/components/pds-box/pds-box.css +92 -0
  82. package/dist/collection/components/pds-box/pds-box.js +80 -2
  83. package/dist/collection/components/pds-box/pds-box.js.map +1 -1
  84. package/dist/collection/components/pds-box/stories/pds-box.stories.js +3 -0
  85. package/dist/collection/components/pds-button/pds-button.css +45 -1
  86. package/dist/collection/components/pds-button/pds-button.js +86 -12
  87. package/dist/collection/components/pds-button/pds-button.js.map +1 -1
  88. package/dist/collection/components/pds-button/stories/pds-button.stories.js +46 -11
  89. package/dist/collection/components/pds-checkbox/pds-checkbox.js +3 -3
  90. package/dist/collection/components/pds-checkbox/pds-checkbox.js.map +1 -1
  91. package/dist/collection/components/pds-chip/pds-chip.js +1 -1
  92. package/dist/collection/components/pds-copytext/pds-copytext.css +10 -13
  93. package/dist/collection/components/pds-copytext/pds-copytext.js +1 -1
  94. package/dist/collection/components/pds-divider/pds-divider.js +1 -1
  95. package/dist/collection/components/pds-image/pds-image.css +3 -0
  96. package/dist/collection/components/pds-image/pds-image.js +2 -2
  97. package/dist/collection/components/pds-input/pds-input.js +4 -4
  98. package/dist/collection/components/pds-link/pds-link.js +2 -2
  99. package/dist/collection/components/pds-loader/pds-loader.js +1 -1
  100. package/dist/collection/components/pds-popover/pds-popover.js +1 -1
  101. package/dist/collection/components/pds-progress/pds-progress.js +1 -1
  102. package/dist/collection/components/pds-radio/pds-radio.js +3 -3
  103. package/dist/collection/components/pds-row/pds-row.js +1 -1
  104. package/dist/collection/components/pds-select/pds-select.js +2 -2
  105. package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js +1 -1
  106. package/dist/collection/components/pds-sortable/pds-sortable.js +1 -1
  107. package/dist/collection/components/pds-switch/pds-switch.js +3 -3
  108. package/dist/collection/components/pds-table/pds-table-body/pds-table-body.js +1 -1
  109. package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.js +2 -2
  110. package/dist/collection/components/pds-table/pds-table-head/pds-table-head.js +1 -1
  111. package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.js +2 -2
  112. package/dist/collection/components/pds-table/pds-table-row/pds-table-row.js +1 -1
  113. package/dist/collection/components/pds-table/pds-table.js +1 -1
  114. package/dist/collection/components/pds-tabs/pds-tab/pds-tab.js +3 -3
  115. package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.js +1 -1
  116. package/dist/collection/components/pds-tabs/pds-tabs.js +1 -1
  117. package/dist/collection/components/pds-text/pds-text.css +31 -7
  118. package/dist/collection/components/pds-text/pds-text.js +39 -3
  119. package/dist/collection/components/pds-text/pds-text.js.map +1 -1
  120. package/dist/collection/components/pds-textarea/pds-textarea.js +4 -4
  121. package/dist/collection/components/pds-tooltip/pds-tooltip.js +2 -2
  122. package/dist/docs.json +330 -6
  123. package/dist/esm/{index-858623fe.js → index-24f87b75.js} +2 -2
  124. package/dist/esm/{index-858623fe.js.map → index-24f87b75.js.map} +1 -1
  125. package/dist/esm/loader.js +1 -1
  126. package/dist/esm/pds-accordion.entry.js +1 -1
  127. package/dist/esm/pds-avatar.entry.js +1 -1
  128. package/dist/esm/pds-box.entry.js +8 -2
  129. package/dist/esm/pds-box.entry.js.map +1 -1
  130. package/dist/esm/pds-button.entry.js +28 -8
  131. package/dist/esm/pds-button.entry.js.map +1 -1
  132. package/dist/esm/pds-checkbox.entry.js +4 -4
  133. package/dist/esm/pds-checkbox.entry.js.map +1 -1
  134. package/dist/esm/pds-chip.entry.js +2 -2
  135. package/dist/esm/pds-copytext.entry.js +3 -3
  136. package/dist/esm/pds-copytext.entry.js.map +1 -1
  137. package/dist/esm/pds-divider.entry.js +1 -1
  138. package/dist/esm/pds-image.entry.js +3 -3
  139. package/dist/esm/pds-image.entry.js.map +1 -1
  140. package/dist/esm/pds-input.entry.js +5 -5
  141. package/dist/esm/pds-link.entry.js +3 -3
  142. package/dist/esm/pds-loader.entry.js +1 -1
  143. package/dist/esm/pds-popover.entry.js +1 -1
  144. package/dist/esm/pds-progress.entry.js +1 -1
  145. package/dist/esm/pds-radio.entry.js +4 -4
  146. package/dist/esm/pds-row.entry.js +1 -1
  147. package/dist/esm/pds-select.entry.js +3 -3
  148. package/dist/esm/pds-sortable-item.entry.js +2 -2
  149. package/dist/esm/pds-sortable.entry.js +1 -1
  150. package/dist/esm/pds-switch.entry.js +4 -4
  151. package/dist/esm/pds-tab.entry.js +3 -3
  152. package/dist/esm/pds-table-body.entry.js +1 -1
  153. package/dist/esm/pds-table-cell.entry.js +2 -2
  154. package/dist/esm/pds-table-head-cell.entry.js +3 -3
  155. package/dist/esm/pds-table-head.entry.js +1 -1
  156. package/dist/esm/pds-table-row.entry.js +1 -1
  157. package/dist/esm/pds-table.entry.js +1 -1
  158. package/dist/esm/pds-tabpanel.entry.js +1 -1
  159. package/dist/esm/pds-tabs.entry.js +1 -1
  160. package/dist/esm/pds-text.entry.js +4 -2
  161. package/dist/esm/pds-text.entry.js.map +1 -1
  162. package/dist/esm/pds-textarea.entry.js +5 -5
  163. package/dist/esm/pds-tooltip.entry.js +2 -2
  164. package/dist/esm/pine-core.js +1 -1
  165. package/dist/esm-es5/{index-858623fe.js → index-24f87b75.js} +1 -1
  166. package/dist/{pine-core/p-2f60d558.js.map → esm-es5/index-24f87b75.js.map} +1 -1
  167. package/dist/esm-es5/loader.js +1 -1
  168. package/dist/esm-es5/loader.js.map +1 -1
  169. package/dist/esm-es5/pds-accordion.entry.js +1 -1
  170. package/dist/esm-es5/pds-avatar.entry.js +1 -1
  171. package/dist/esm-es5/pds-box.entry.js +1 -1
  172. package/dist/esm-es5/pds-box.entry.js.map +1 -1
  173. package/dist/esm-es5/pds-button.entry.js +1 -1
  174. package/dist/esm-es5/pds-button.entry.js.map +1 -1
  175. package/dist/esm-es5/pds-checkbox.entry.js +1 -1
  176. package/dist/esm-es5/pds-checkbox.entry.js.map +1 -1
  177. package/dist/esm-es5/pds-chip.entry.js +1 -1
  178. package/dist/esm-es5/pds-copytext.entry.js +1 -1
  179. package/dist/esm-es5/pds-copytext.entry.js.map +1 -1
  180. package/dist/esm-es5/pds-divider.entry.js +1 -1
  181. package/dist/esm-es5/pds-image.entry.js +1 -1
  182. package/dist/esm-es5/pds-image.entry.js.map +1 -1
  183. package/dist/esm-es5/pds-input.entry.js +1 -1
  184. package/dist/esm-es5/pds-link.entry.js +1 -1
  185. package/dist/esm-es5/pds-loader.entry.js +1 -1
  186. package/dist/esm-es5/pds-popover.entry.js +1 -1
  187. package/dist/esm-es5/pds-progress.entry.js +1 -1
  188. package/dist/esm-es5/pds-radio.entry.js +1 -1
  189. package/dist/esm-es5/pds-row.entry.js +1 -1
  190. package/dist/esm-es5/pds-select.entry.js +1 -1
  191. package/dist/esm-es5/pds-sortable-item.entry.js +1 -1
  192. package/dist/esm-es5/pds-sortable.entry.js +1 -1
  193. package/dist/esm-es5/pds-switch.entry.js +1 -1
  194. package/dist/esm-es5/pds-tab.entry.js +1 -1
  195. package/dist/esm-es5/pds-table-body.entry.js +1 -1
  196. package/dist/esm-es5/pds-table-cell.entry.js +1 -1
  197. package/dist/esm-es5/pds-table-head-cell.entry.js +1 -1
  198. package/dist/esm-es5/pds-table-head.entry.js +1 -1
  199. package/dist/esm-es5/pds-table-row.entry.js +1 -1
  200. package/dist/esm-es5/pds-table.entry.js +1 -1
  201. package/dist/esm-es5/pds-tabpanel.entry.js +1 -1
  202. package/dist/esm-es5/pds-tabs.entry.js +1 -1
  203. package/dist/esm-es5/pds-text.entry.js +1 -1
  204. package/dist/esm-es5/pds-text.entry.js.map +1 -1
  205. package/dist/esm-es5/pds-textarea.entry.js +1 -1
  206. package/dist/esm-es5/pds-tooltip.entry.js +1 -1
  207. package/dist/esm-es5/pine-core.js +1 -1
  208. package/dist/esm-es5/pine-core.js.map +1 -1
  209. package/dist/pine-core/{p-0ad21851.entry.js → p-015d990e.entry.js} +2 -2
  210. package/dist/pine-core/{p-55cbb360.system.entry.js → p-036267ba.system.entry.js} +2 -2
  211. package/dist/pine-core/{p-61666500.system.entry.js → p-0561fe8b.system.entry.js} +2 -2
  212. package/dist/pine-core/p-0561fe8b.system.entry.js.map +1 -0
  213. package/dist/pine-core/{p-dba6ac9c.system.js → p-06709258.system.js} +1 -1
  214. package/dist/pine-core/{p-dba6ac9c.system.js.map → p-06709258.system.js.map} +1 -1
  215. package/dist/pine-core/{p-518f8204.entry.js → p-09a59e3d.entry.js} +2 -2
  216. package/dist/pine-core/{p-d92c8d63.system.entry.js → p-0eb5831a.system.entry.js} +2 -2
  217. package/dist/pine-core/{p-d266843a.system.entry.js → p-0fc74497.system.entry.js} +2 -2
  218. package/dist/pine-core/{p-137aebf6.system.entry.js → p-0fee04db.system.entry.js} +2 -2
  219. package/dist/pine-core/p-1415445b.entry.js +2 -0
  220. package/dist/pine-core/{p-910c4422.entry.js.map → p-1415445b.entry.js.map} +1 -1
  221. package/dist/pine-core/{p-3de0ec6c.system.entry.js → p-1528089a.system.entry.js} +2 -2
  222. package/dist/pine-core/{p-ce0efc2d.entry.js → p-1701a397.entry.js} +2 -2
  223. package/dist/pine-core/{p-bda9a6a0.entry.js → p-19fc96d9.entry.js} +2 -2
  224. package/dist/pine-core/p-19fc96d9.entry.js.map +1 -0
  225. package/dist/pine-core/{p-b95c0169.system.entry.js → p-1e4dfcdf.system.entry.js} +2 -2
  226. package/dist/pine-core/{p-5ab15bbc.entry.js → p-1e9f77d7.entry.js} +2 -2
  227. package/dist/pine-core/p-219de09d.entry.js +2 -0
  228. package/dist/pine-core/p-219de09d.entry.js.map +1 -0
  229. package/dist/pine-core/{p-d34b9adb.entry.js → p-22caef95.entry.js} +2 -2
  230. package/dist/pine-core/p-26e34f6d.system.entry.js +2 -0
  231. package/dist/pine-core/{p-72218979.system.entry.js → p-2ca6d9cc.system.entry.js} +2 -2
  232. package/dist/pine-core/{p-b566ad6b.entry.js → p-3ef3b0af.entry.js} +2 -2
  233. package/dist/pine-core/{p-b2163263.entry.js → p-415666ba.entry.js} +2 -2
  234. package/dist/pine-core/p-415666ba.entry.js.map +1 -0
  235. package/dist/pine-core/p-43a47d32.entry.js +2 -0
  236. package/dist/pine-core/{p-21dc34b7.system.entry.js → p-44b8ab50.system.entry.js} +2 -2
  237. package/dist/pine-core/{p-138ef0d8.entry.js → p-49d45f31.entry.js} +2 -2
  238. package/dist/pine-core/p-4b8c1ecc.entry.js +2 -0
  239. package/dist/pine-core/{p-13bc1706.entry.js.map → p-4b8c1ecc.entry.js.map} +1 -1
  240. package/dist/pine-core/{p-5d0c0241.entry.js → p-4f325521.entry.js} +2 -2
  241. package/dist/pine-core/p-5291e641.system.entry.js +2 -0
  242. package/dist/pine-core/p-5291e641.system.entry.js.map +1 -0
  243. package/dist/pine-core/{p-10caa9e9.system.entry.js → p-54d8b9e1.system.entry.js} +2 -2
  244. package/dist/pine-core/p-5c04aee0.system.js +1 -1
  245. package/dist/pine-core/p-5c04aee0.system.js.map +1 -1
  246. package/dist/pine-core/{p-b245df0a.system.entry.js → p-6165bcc6.system.entry.js} +2 -2
  247. package/dist/pine-core/{p-8afa0198.system.entry.js → p-61ac9c98.system.entry.js} +2 -2
  248. package/dist/pine-core/p-6929d7cb.system.entry.js +2 -0
  249. package/dist/pine-core/p-6929d7cb.system.entry.js.map +1 -0
  250. package/dist/pine-core/{p-c849426d.entry.js → p-6bc160fc.entry.js} +2 -2
  251. package/dist/pine-core/{p-0399a821.entry.js → p-6de82ebd.entry.js} +2 -2
  252. package/dist/pine-core/{p-2f60d558.js → p-6f5ded84.js} +1 -1
  253. package/dist/{esm-es5/index-858623fe.js.map → pine-core/p-6f5ded84.js.map} +1 -1
  254. package/dist/pine-core/{p-f70ebb08.system.entry.js → p-7594ef3d.system.entry.js} +2 -2
  255. package/dist/pine-core/p-7594ef3d.system.entry.js.map +1 -0
  256. package/dist/pine-core/{p-d8188c09.entry.js → p-7602617b.entry.js} +2 -2
  257. package/dist/pine-core/{p-fd3e2c23.system.entry.js → p-79dc91b9.system.entry.js} +2 -2
  258. package/dist/pine-core/p-7be96da6.system.entry.js +2 -0
  259. package/dist/pine-core/{p-c53f6513.entry.js → p-7c009a26.entry.js} +2 -2
  260. package/dist/pine-core/p-7c36d948.entry.js +2 -0
  261. package/dist/pine-core/{p-7cdcf66c.entry.js.map → p-7c36d948.entry.js.map} +1 -1
  262. package/dist/pine-core/{p-2f80836e.system.entry.js → p-80111ce1.system.entry.js} +2 -2
  263. package/dist/pine-core/{p-8b9e5fe5.entry.js → p-8148d557.entry.js} +2 -2
  264. package/dist/pine-core/{p-ee78b4c6.entry.js → p-8b454b50.entry.js} +2 -2
  265. package/dist/pine-core/{p-acf6cf26.system.entry.js → p-8d033c25.system.entry.js} +2 -2
  266. package/dist/pine-core/p-96df0855.entry.js +2 -0
  267. package/dist/pine-core/p-96df0855.entry.js.map +1 -0
  268. package/dist/pine-core/p-9b34d1b3.system.entry.js +2 -0
  269. package/dist/pine-core/p-9b34d1b3.system.entry.js.map +1 -0
  270. package/dist/pine-core/{p-7369f396.entry.js → p-a9212d32.entry.js} +2 -2
  271. package/dist/pine-core/p-ad6dbf39.system.entry.js +2 -0
  272. package/dist/pine-core/p-ad6dbf39.system.entry.js.map +1 -0
  273. package/dist/pine-core/{p-3f256ba6.entry.js → p-b60381ab.entry.js} +2 -2
  274. package/dist/pine-core/{p-0c68a8ea.system.entry.js → p-c49e6f45.system.entry.js} +2 -2
  275. package/dist/pine-core/{p-f099836d.entry.js → p-c7234372.entry.js} +2 -2
  276. package/dist/pine-core/{p-600b7640.system.entry.js → p-cb3b7c9e.system.entry.js} +2 -2
  277. package/dist/pine-core/{p-4158fa20.system.entry.js → p-cba861d7.system.entry.js} +2 -2
  278. package/dist/pine-core/{p-b20dd7d7.entry.js → p-d4dff9ff.entry.js} +2 -2
  279. package/dist/pine-core/p-d795f31b.entry.js +2 -0
  280. package/dist/pine-core/p-d795f31b.entry.js.map +1 -0
  281. package/dist/pine-core/{p-c20bc538.system.entry.js → p-e6b357c6.system.entry.js} +2 -2
  282. package/dist/pine-core/{p-2583c14d.entry.js → p-e73b841b.entry.js} +2 -2
  283. package/dist/pine-core/{p-b6dfd404.system.entry.js → p-e7af9dcc.system.entry.js} +2 -2
  284. package/dist/pine-core/{p-b492ea28.system.entry.js → p-e8d3ab88.system.entry.js} +2 -2
  285. package/dist/pine-core/p-e9b57c23.entry.js +2 -0
  286. package/dist/pine-core/p-e9b57c23.entry.js.map +1 -0
  287. package/dist/pine-core/{p-89fd4ca2.entry.js → p-eb22ed9a.entry.js} +2 -2
  288. package/dist/pine-core/{p-77d8e9fc.entry.js → p-ee1d23e4.entry.js} +2 -2
  289. package/dist/pine-core/{p-04fb06cd.system.entry.js → p-eefcdc9c.system.entry.js} +2 -2
  290. package/dist/pine-core/{p-a924b8a6.system.entry.js → p-f3632692.system.entry.js} +2 -2
  291. package/dist/pine-core/{p-e45ee7bb.entry.js → p-f3fe7aec.entry.js} +2 -2
  292. package/dist/pine-core/{p-a020513a.system.entry.js → p-f5efebb0.system.entry.js} +2 -2
  293. package/dist/pine-core/{p-03e4027f.system.entry.js → p-fab101f5.system.entry.js} +2 -2
  294. package/dist/pine-core/pine-core.esm.js +1 -1
  295. package/dist/pine-core/pine-core.esm.js.map +1 -1
  296. package/dist/pine-core/svg/logo-facebook-round.svg +1 -1
  297. package/dist/pine-core/svg/logo-facebook.svg +1 -1
  298. package/dist/pine-core/svg/logo-tiktok.svg +1 -1
  299. package/dist/types/components/pds-box/pds-box.d.ts +16 -1
  300. package/dist/types/components/pds-button/pds-button.d.ts +19 -4
  301. package/dist/types/components/pds-text/pds-text.d.ts +9 -1
  302. package/dist/types/components.d.ts +88 -6
  303. package/hydrate/index.js +101 -63
  304. package/hydrate/index.mjs +101 -63
  305. package/package.json +2 -2
  306. package/dist/pine-core/p-13bc1706.entry.js +0 -2
  307. package/dist/pine-core/p-21c441f2.system.entry.js +0 -2
  308. package/dist/pine-core/p-21c441f2.system.entry.js.map +0 -1
  309. package/dist/pine-core/p-546c2b18.entry.js +0 -2
  310. package/dist/pine-core/p-546c2b18.entry.js.map +0 -1
  311. package/dist/pine-core/p-5dd93828.system.entry.js +0 -2
  312. package/dist/pine-core/p-61666500.system.entry.js.map +0 -1
  313. package/dist/pine-core/p-61cf32c6.entry.js +0 -2
  314. package/dist/pine-core/p-61cf32c6.entry.js.map +0 -1
  315. package/dist/pine-core/p-6bba1784.system.entry.js +0 -2
  316. package/dist/pine-core/p-6bba1784.system.entry.js.map +0 -1
  317. package/dist/pine-core/p-7cdcf66c.entry.js +0 -2
  318. package/dist/pine-core/p-8b3d405b.entry.js +0 -2
  319. package/dist/pine-core/p-8b3d405b.entry.js.map +0 -1
  320. package/dist/pine-core/p-910c4422.entry.js +0 -2
  321. package/dist/pine-core/p-9b2cacf1.entry.js +0 -2
  322. package/dist/pine-core/p-9b2cacf1.entry.js.map +0 -1
  323. package/dist/pine-core/p-b2163263.entry.js.map +0 -1
  324. package/dist/pine-core/p-bda9a6a0.entry.js.map +0 -1
  325. package/dist/pine-core/p-bf55e42e.system.entry.js +0 -2
  326. package/dist/pine-core/p-e19d9edd.entry.js +0 -2
  327. package/dist/pine-core/p-f70ebb08.system.entry.js.map +0 -1
  328. package/dist/pine-core/p-fad3645f.system.entry.js +0 -2
  329. package/dist/pine-core/p-fad3645f.system.entry.js.map +0 -1
  330. package/dist/pine-core/p-fe70473e.system.entry.js +0 -2
  331. package/dist/pine-core/p-fe70473e.system.entry.js.map +0 -1
  332. /package/dist/pine-core/{p-0ad21851.entry.js.map → p-015d990e.entry.js.map} +0 -0
  333. /package/dist/pine-core/{p-55cbb360.system.entry.js.map → p-036267ba.system.entry.js.map} +0 -0
  334. /package/dist/pine-core/{p-518f8204.entry.js.map → p-09a59e3d.entry.js.map} +0 -0
  335. /package/dist/pine-core/{p-d92c8d63.system.entry.js.map → p-0eb5831a.system.entry.js.map} +0 -0
  336. /package/dist/pine-core/{p-d266843a.system.entry.js.map → p-0fc74497.system.entry.js.map} +0 -0
  337. /package/dist/pine-core/{p-137aebf6.system.entry.js.map → p-0fee04db.system.entry.js.map} +0 -0
  338. /package/dist/pine-core/{p-3de0ec6c.system.entry.js.map → p-1528089a.system.entry.js.map} +0 -0
  339. /package/dist/pine-core/{p-ce0efc2d.entry.js.map → p-1701a397.entry.js.map} +0 -0
  340. /package/dist/pine-core/{p-b95c0169.system.entry.js.map → p-1e4dfcdf.system.entry.js.map} +0 -0
  341. /package/dist/pine-core/{p-5ab15bbc.entry.js.map → p-1e9f77d7.entry.js.map} +0 -0
  342. /package/dist/pine-core/{p-d34b9adb.entry.js.map → p-22caef95.entry.js.map} +0 -0
  343. /package/dist/pine-core/{p-bf55e42e.system.entry.js.map → p-26e34f6d.system.entry.js.map} +0 -0
  344. /package/dist/pine-core/{p-72218979.system.entry.js.map → p-2ca6d9cc.system.entry.js.map} +0 -0
  345. /package/dist/pine-core/{p-b566ad6b.entry.js.map → p-3ef3b0af.entry.js.map} +0 -0
  346. /package/dist/pine-core/{p-e19d9edd.entry.js.map → p-43a47d32.entry.js.map} +0 -0
  347. /package/dist/pine-core/{p-21dc34b7.system.entry.js.map → p-44b8ab50.system.entry.js.map} +0 -0
  348. /package/dist/pine-core/{p-138ef0d8.entry.js.map → p-49d45f31.entry.js.map} +0 -0
  349. /package/dist/pine-core/{p-5d0c0241.entry.js.map → p-4f325521.entry.js.map} +0 -0
  350. /package/dist/pine-core/{p-10caa9e9.system.entry.js.map → p-54d8b9e1.system.entry.js.map} +0 -0
  351. /package/dist/pine-core/{p-b245df0a.system.entry.js.map → p-6165bcc6.system.entry.js.map} +0 -0
  352. /package/dist/pine-core/{p-8afa0198.system.entry.js.map → p-61ac9c98.system.entry.js.map} +0 -0
  353. /package/dist/pine-core/{p-c849426d.entry.js.map → p-6bc160fc.entry.js.map} +0 -0
  354. /package/dist/pine-core/{p-0399a821.entry.js.map → p-6de82ebd.entry.js.map} +0 -0
  355. /package/dist/pine-core/{p-d8188c09.entry.js.map → p-7602617b.entry.js.map} +0 -0
  356. /package/dist/pine-core/{p-fd3e2c23.system.entry.js.map → p-79dc91b9.system.entry.js.map} +0 -0
  357. /package/dist/pine-core/{p-5dd93828.system.entry.js.map → p-7be96da6.system.entry.js.map} +0 -0
  358. /package/dist/pine-core/{p-c53f6513.entry.js.map → p-7c009a26.entry.js.map} +0 -0
  359. /package/dist/pine-core/{p-2f80836e.system.entry.js.map → p-80111ce1.system.entry.js.map} +0 -0
  360. /package/dist/pine-core/{p-8b9e5fe5.entry.js.map → p-8148d557.entry.js.map} +0 -0
  361. /package/dist/pine-core/{p-ee78b4c6.entry.js.map → p-8b454b50.entry.js.map} +0 -0
  362. /package/dist/pine-core/{p-acf6cf26.system.entry.js.map → p-8d033c25.system.entry.js.map} +0 -0
  363. /package/dist/pine-core/{p-7369f396.entry.js.map → p-a9212d32.entry.js.map} +0 -0
  364. /package/dist/pine-core/{p-3f256ba6.entry.js.map → p-b60381ab.entry.js.map} +0 -0
  365. /package/dist/pine-core/{p-0c68a8ea.system.entry.js.map → p-c49e6f45.system.entry.js.map} +0 -0
  366. /package/dist/pine-core/{p-f099836d.entry.js.map → p-c7234372.entry.js.map} +0 -0
  367. /package/dist/pine-core/{p-600b7640.system.entry.js.map → p-cb3b7c9e.system.entry.js.map} +0 -0
  368. /package/dist/pine-core/{p-4158fa20.system.entry.js.map → p-cba861d7.system.entry.js.map} +0 -0
  369. /package/dist/pine-core/{p-b20dd7d7.entry.js.map → p-d4dff9ff.entry.js.map} +0 -0
  370. /package/dist/pine-core/{p-c20bc538.system.entry.js.map → p-e6b357c6.system.entry.js.map} +0 -0
  371. /package/dist/pine-core/{p-2583c14d.entry.js.map → p-e73b841b.entry.js.map} +0 -0
  372. /package/dist/pine-core/{p-b6dfd404.system.entry.js.map → p-e7af9dcc.system.entry.js.map} +0 -0
  373. /package/dist/pine-core/{p-b492ea28.system.entry.js.map → p-e8d3ab88.system.entry.js.map} +0 -0
  374. /package/dist/pine-core/{p-89fd4ca2.entry.js.map → p-eb22ed9a.entry.js.map} +0 -0
  375. /package/dist/pine-core/{p-77d8e9fc.entry.js.map → p-ee1d23e4.entry.js.map} +0 -0
  376. /package/dist/pine-core/{p-04fb06cd.system.entry.js.map → p-eefcdc9c.system.entry.js.map} +0 -0
  377. /package/dist/pine-core/{p-a924b8a6.system.entry.js.map → p-f3632692.system.entry.js.map} +0 -0
  378. /package/dist/pine-core/{p-e45ee7bb.entry.js.map → p-f3fe7aec.entry.js.map} +0 -0
  379. /package/dist/pine-core/{p-a020513a.system.entry.js.map → p-f5efebb0.system.entry.js.map} +0 -0
  380. /package/dist/pine-core/{p-03e4027f.system.entry.js.map → p-fab101f5.system.entry.js.map} +0 -0
@@ -6,7 +6,7 @@ const index = require('./index-b7d9268e.js');
6
6
  const form = require('./form-4f00637c.js');
7
7
  const utils = require('./utils-39c972f8.js');
8
8
  const attributes = require('./attributes-73ee8de7.js');
9
- const index$1 = require('./index-603f98cb.js');
9
+ const index$1 = require('./index-6a0fbd28.js');
10
10
 
11
11
  const labelCss = ":host{display:inline-block}:host([aria-disabled=true]) label{color:var(--pine-color-text-label-disabled)}:host([aria-readonly=true]) label{color:var(--pine-color-text-label-readonly)}label{color:var(--pine-color-text-label);font:var(--pine-typography-body-medium);letter-spacing:var(--pine-letter-spacing)}";
12
12
  const PdsTextareaStyle0 = labelCss;
@@ -126,10 +126,10 @@ const PdsTextarea = class {
126
126
  }
127
127
  render() {
128
128
  const value = this.getValue();
129
- return (index.h(index.Host, { key: 'ff1ea6dcc0543b1c706f922a8563fa63b4721343', "aria-disabled": this.disabled ? 'true' : null, "aria-readonly": this.readonly ? 'true' : null }, index.h("div", { key: '25d4efe232c9d90967a17920fb82f17d075189ae', class: "pds-textarea" }, this.label &&
130
- index.h("label", { key: '764e320927d0eac61ad9c08b00f805b9bae4d525', htmlFor: this.componentId }, this.label), index.h("textarea", Object.assign({ key: '04f18ad66ebf94e7e52fab68e8e8d997e5d57270', ref: (el) => this.nativeTextarea = el, "aria-describedby": form.assignDescription(this.componentId, this.invalid, this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, autocomplete: this.autocomplete, class: this.textareaClassNames(), disabled: this.disabled, id: this.componentId, name: this.name, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, rows: this.rows, onBlur: this.onBlur, onChange: this.onTextareaChange, onFocus: this.onFocus, onInput: this.onInput }, this.inheritedAttributes), value), this.helperMessage &&
131
- index.h("p", { key: '5c4d5afb3239208a18c47755412ab2a80ed599f8', class: "pds-textarea__helper-message", id: form.messageId(this.componentId, 'helper') }, this.helperMessage), this.invalid &&
132
- index.h("p", { key: '906bc964bd9ff7bc5399dd693535ceeb80e9fcc6', "aria-live": "assertive", class: "pds-textarea__error-message", id: form.messageId(this.componentId, 'error') }, index.h("pds-icon", { key: '19e00869fca337c8b4473852c8e4c2f57c605a64', icon: index$1.danger, size: "small" }), this.errorMessage))));
129
+ return (index.h(index.Host, { key: '0edad7185f1226f00ab2fade7415066f488225cd', "aria-disabled": this.disabled ? 'true' : null, "aria-readonly": this.readonly ? 'true' : null }, index.h("div", { key: 'e895609f3cd2f691c29e5d828a0042d4f4fdc997', class: "pds-textarea" }, this.label &&
130
+ index.h("label", { key: '8bbc39cc0f21e3c25bebc673e64f320969f474f7', htmlFor: this.componentId }, this.label), index.h("textarea", Object.assign({ key: '243dc4bbdfe8ec3a72483ab227849b8a3008a57d', ref: (el) => this.nativeTextarea = el, "aria-describedby": form.assignDescription(this.componentId, this.invalid, this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, autocomplete: this.autocomplete, class: this.textareaClassNames(), disabled: this.disabled, id: this.componentId, name: this.name, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, rows: this.rows, onBlur: this.onBlur, onChange: this.onTextareaChange, onFocus: this.onFocus, onInput: this.onInput }, this.inheritedAttributes), value), this.helperMessage &&
131
+ index.h("p", { key: 'eaaa7d806616d6478ab1360d4e6d5fd22c1466dc', class: "pds-textarea__helper-message", id: form.messageId(this.componentId, 'helper') }, this.helperMessage), this.invalid &&
132
+ index.h("p", { key: 'af507f96a4504cba39ec63be5e8c3ab5df5a23e0', "aria-live": "assertive", class: "pds-textarea__error-message", id: form.messageId(this.componentId, 'error') }, index.h("pds-icon", { key: 'a87ed44788ddca487f53ce68d042f20a5557a10a', icon: index$1.danger, size: "small" }), this.errorMessage))));
133
133
  }
134
134
  get el() { return index.getElement(this); }
135
135
  static get watchers() { return {
@@ -139,13 +139,13 @@ const PdsTooltip = class {
139
139
  this.opened = false;
140
140
  }
141
141
  render() {
142
- return (index.h(index.Host, { key: '0db068ff80874300eb6945484cbaae6848b049e5', onMouseEnter: this.handleShow, onMouseLeave: this.handleHide, onFocusin: this.handleShow, onFocusout: this.handleHide }, index.h("div", { key: 'd3bc1f943ae310e9e520b3ff11f153a3bd2ab995', class: `
142
+ return (index.h(index.Host, { key: '0dcd638dabb211326da1d7783a87258760d8bc31', onMouseEnter: this.handleShow, onMouseLeave: this.handleHide, onFocusin: this.handleShow, onFocusout: this.handleHide }, index.h("div", { key: '8636152c6bbb46c1f78470c4b3c2f62ce6d0013a', class: `
143
143
  pds-tooltip
144
144
  pds-tooltip--${this.placement}
145
145
  ${this.htmlContent ? 'pds-tooltip--has-html-content' : ''}
146
146
  ${this.opened ? 'pds-tooltip--is-open' : ''}
147
147
  ${this.hasArrow ? '' : 'pds-tooltip--no-arrow'}
148
- ` }, index.h("span", { key: '9e44354763e75d71fc61927720f9e2307a5d65ac', "aria-describedby": this.componentId, class: "pds-tooltip__trigger" }, index.h("slot", { key: '67f6124bea83fcdb6d2182f1c97782d8b8538be3' })), index.h("div", { key: '1a28d38b279c10c1597bd91e5e0188875a9b8552', class: "pds-tooltip__content", "aria-hidden": this.opened ? 'false' : 'true', "aria-live": this.opened ? 'polite' : 'off', id: this.componentId, ref: (el) => (this.contentEl = el), role: "tooltip", style: { maxWidth: this.maxWidth } }, index.h("slot", { key: 'c6f5f7bdb013c93a8139f07b9fcb47d3acb0ab54', name: "content" }), this.content))));
148
+ ` }, index.h("span", { key: '106bd78c7aaca118e2784396ce4d9be7d9860b4d', "aria-describedby": this.componentId, class: "pds-tooltip__trigger" }, index.h("slot", { key: '298dea2ca502a86193fb28ac530ecb9ce177244d' })), index.h("div", { key: '75f77fe884ee7204f12b04e30b6d423c93e30be5', class: "pds-tooltip__content", "aria-hidden": this.opened ? 'false' : 'true', "aria-live": this.opened ? 'polite' : 'off', id: this.componentId, ref: (el) => (this.contentEl = el), role: "tooltip", style: { maxWidth: this.maxWidth } }, index.h("slot", { key: 'f7de3fb1d8633491778a1d6bb166f83da10df75e', name: "content" }), this.content))));
149
149
  }
150
150
  get el() { return index.getElement(this); }
151
151
  static get watchers() { return {
@@ -19,7 +19,7 @@ var patchBrowser = () => {
19
19
 
20
20
  patchBrowser().then(async (options) => {
21
21
  await appGlobals.globalScripts();
22
- return index.bootstrapLazy([["pds-copytext.cjs",[[1,"pds-copytext",{"border":[516],"componentId":[1,"component-id"],"fullWidth":[4,"full-width"],"truncate":[4],"value":[1]}]]],["pds-table-head.cjs",[[1,"pds-table-head",{"indeterminate":[1028],"isSelected":[1028,"is-selected"]}]]],["pds-table-row.cjs",[[1,"pds-table-row",{"indeterminate":[1028],"isSelected":[1028,"is-selected"]}]]],["pds-accordion.cjs",[[1,"pds-accordion",{"componentId":[1,"component-id"],"isOpen":[1540,"open"]},null,{"isOpen":["handleOpenState"]}]]],["pds-avatar.cjs",[[1,"pds-avatar",{"alt":[1],"badge":[4],"componentId":[1,"component-id"],"dropdown":[4],"image":[1],"size":[513],"variant":[513]}]]],["pds-chip.cjs",[[1,"pds-chip",{"componentId":[1,"component-id"],"dot":[4],"label":[1],"large":[4],"sentiment":[1],"variant":[1]}]]],["pds-input.cjs",[[1,"pds-input",{"autocomplete":[1],"componentId":[1,"component-id"],"debounce":[2],"disabled":[4],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"invalid":[4],"label":[1],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"type":[1],"value":[1032],"hasFocus":[32],"setFocus":[64]},null,{"debounce":["debounceChanged"],"value":["valueChanged"]}]]],["pds-link.cjs",[[1,"pds-link",{"componentId":[1,"component-id"],"external":[4],"variant":[1],"fontSize":[1,"font-size"],"href":[1]}]]],["pds-radio.cjs",[[2,"pds-radio",{"checked":[4],"componentId":[1,"component-id"],"disabled":[4],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"invalid":[4],"label":[1],"name":[1],"required":[4],"value":[1]}]]],["pds-select.cjs",[[1,"pds-select",{"autocomplete":[1],"componentId":[1,"component-id"],"disabled":[4],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"invalid":[4],"label":[1],"multiple":[4],"name":[1],"required":[4],"value":[1025]},null,{"value":["valueChanged"]}]]],["pds-sortable-item.cjs",[[6,"pds-sortable-item",{"enableActions":[4,"enable-actions"],"componentId":[1,"component-id"],"showHandle":[1028,"show-handle"]}]]],["pds-switch.cjs",[[1,"pds-switch",{"componentId":[1,"component-id"],"checked":[1028],"disabled":[4],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"invalid":[4],"label":[1],"name":[1],"required":[4],"value":[1]}]]],["pds-textarea.cjs",[[1,"pds-textarea",{"autocomplete":[1],"componentId":[1,"component-id"],"disabled":[4],"debounce":[2],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"invalid":[1028],"label":[1],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"rows":[2],"value":[1025],"hasFocus":[32],"setFocus":[64]},null,{"debounce":["debounceChanged"],"value":["valueChanged"]}]]],["pds-box.cjs",[[0,"pds-box",{"alignItems":[1,"align-items"],"auto":[4],"backgroundColor":[1,"background-color"],"border":[4],"borderColor":[1,"border-color"],"borderRadius":[1,"border-radius"],"direction":[1],"display":[1],"fit":[4],"gap":[1],"flex":[1],"justifyContent":[1,"justify-content"],"minHeight":[1,"min-height"],"minWidth":[1,"min-width"],"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"padding":[1],"shadow":[1],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]}]]],["pds-divider.cjs",[[1,"pds-divider",{"componentId":[1,"component-id"],"offset":[1],"vertical":[4]}]]],["pds-image.cjs",[[1,"pds-image",{"alt":[1],"componentId":[1,"component-id"],"height":[2],"loading":[1],"sizes":[1],"src":[1],"srcset":[1],"width":[2]}]]],["pds-popover.cjs",[[1,"pds-popover",{"popoverTargetAction":[1,"popover-target-action"],"popoverType":[1,"popover-type"],"componentId":[1,"component-id"],"text":[1],"maxWidth":[2,"max-width"],"placement":[513],"active":[32]},[[2,"click","handleClick"],[11,"scroll","handleScroll"]]]]],["pds-progress.cjs",[[1,"pds-progress",{"animated":[4],"componentId":[1,"component-id"],"fillColor":[1,"fill-color"],"label":[1],"percent":[2],"showPercent":[4,"show-percent"]}]]],["pds-row.cjs",[[0,"pds-row",{"alignItems":[1,"align-items"],"border":[4],"colGap":[1,"col-gap"],"componentId":[1,"component-id"],"justifyContent":[1,"justify-content"],"minHeight":[1,"min-height"],"noWrap":[4,"no-wrap"]}]]],["pds-sortable.cjs",[[6,"pds-sortable",{"border":[516],"componentId":[1,"component-id"],"dividers":[516],"handleType":[1,"handle-type"]}]]],["pds-tab.cjs",[[4,"pds-tab",{"name":[1],"parentComponentId":[1,"parent-component-id"],"variant":[1],"index":[2],"selected":[4]}]]],["pds-table.cjs",[[1,"pds-table",{"compact":[4],"componentId":[1,"component-id"],"responsive":[4],"fixedColumn":[4,"fixed-column"],"selectable":[4],"sortingColumn":[32],"sortingDirection":[32]},[[0,"pdsTableSort","handleTableSort"],[0,"pdsTableSelectAll","handleTableSelectAll"],[0,"pdsTableRowSelected","handleTableSelect"]]]]],["pds-table-body.cjs",[[1,"pds-table-body"]]],["pds-tabpanel.cjs",[[4,"pds-tabpanel",{"name":[1],"parentComponentId":[1,"parent-component-id"],"variant":[1],"selected":[1028]}]]],["pds-tabs.cjs",[[1,"pds-tabs",{"tablistLabel":[1,"tablist-label"],"componentId":[1,"component-id"],"variant":[1],"activeTabName":[1025,"active-tab-name"],"activeTabIndex":[1026,"active-tab-index"]},[[16,"pdsTabClick","tabClickHandler"],[0,"keydown","handleKeyDown"]]]]],["pds-text.cjs",[[1,"pds-text",{"align":[1],"color":[1],"decoration":[1],"gutter":[1],"size":[1],"weight":[1],"tag":[1]}]]],["pds-tooltip.cjs",[[1,"pds-tooltip",{"content":[1],"componentId":[1,"component-id"],"hasArrow":[4,"has-arrow"],"htmlContent":[4,"html-content"],"placement":[513],"maxWidth":[1,"max-width"],"opened":[1540],"isOpen":[32],"showTooltip":[64],"hideTooltip":[64]},null,{"opened":["handleOpenToggle"]}]]],["pds-loader.cjs",[[1,"pds-loader",{"isLoading":[4,"is-loading"],"showLabel":[4,"show-label"],"size":[513],"variant":[1]}]]],["pds-icon.cjs",[[1,"pds-icon",{"color":[1],"icon":[8],"name":[513],"size":[513],"src":[1],"ariaLabel":[32],"isVisible":[32],"svgContent":[32]},null,{"size":["updateStyles"],"color":["updateStyles"],"name":["loadIcon"],"src":["loadIcon"],"icon":["loadIcon"]}]]],["pds-button.cjs",[[1,"pds-button",{"componentId":[1,"component-id"],"disabled":[4],"fullWidth":[4,"full-width"],"icon":[1],"loading":[4],"name":[1],"value":[1],"type":[1],"variant":[1]}]]],["pds-table-head-cell.cjs",[[1,"pds-table-head-cell",{"sortable":[4],"sortingDirection":[32],"tableScrolling":[32],"isSelected":[32]}]]],["pds-table-cell.cjs",[[1,"pds-table-cell",{"truncate":[4],"tableScrolling":[32]}]]],["pds-checkbox.cjs",[[1,"pds-checkbox",{"checked":[1028],"componentId":[1,"component-id"],"disabled":[4],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"indeterminate":[1028],"invalid":[4],"label":[1],"labelHidden":[4,"label-hidden"],"name":[1],"required":[4],"value":[1]},null,{"checked":["updateIndeterminate"]}]]]], options);
22
+ return index.bootstrapLazy([["pds-copytext.cjs",[[1,"pds-copytext",{"border":[516],"componentId":[1,"component-id"],"fullWidth":[4,"full-width"],"truncate":[4],"value":[1]}]]],["pds-table-head.cjs",[[1,"pds-table-head",{"indeterminate":[1028],"isSelected":[1028,"is-selected"]}]]],["pds-table-row.cjs",[[1,"pds-table-row",{"indeterminate":[1028],"isSelected":[1028,"is-selected"]}]]],["pds-accordion.cjs",[[1,"pds-accordion",{"componentId":[1,"component-id"],"isOpen":[1540,"open"]},null,{"isOpen":["handleOpenState"]}]]],["pds-avatar.cjs",[[1,"pds-avatar",{"alt":[1],"badge":[4],"componentId":[1,"component-id"],"dropdown":[4],"image":[1],"size":[513],"variant":[513]}]]],["pds-chip.cjs",[[1,"pds-chip",{"componentId":[1,"component-id"],"dot":[4],"label":[1],"large":[4],"sentiment":[1],"variant":[1]}]]],["pds-input.cjs",[[1,"pds-input",{"autocomplete":[1],"componentId":[1,"component-id"],"debounce":[2],"disabled":[4],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"invalid":[4],"label":[1],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"type":[1],"value":[1032],"hasFocus":[32],"setFocus":[64]},null,{"debounce":["debounceChanged"],"value":["valueChanged"]}]]],["pds-link.cjs",[[1,"pds-link",{"componentId":[1,"component-id"],"external":[4],"variant":[1],"fontSize":[1,"font-size"],"href":[1]}]]],["pds-radio.cjs",[[2,"pds-radio",{"checked":[4],"componentId":[1,"component-id"],"disabled":[4],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"invalid":[4],"label":[1],"name":[1],"required":[4],"value":[1]}]]],["pds-select.cjs",[[1,"pds-select",{"autocomplete":[1],"componentId":[1,"component-id"],"disabled":[4],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"invalid":[4],"label":[1],"multiple":[4],"name":[1],"required":[4],"value":[1025]},null,{"value":["valueChanged"]}]]],["pds-sortable-item.cjs",[[6,"pds-sortable-item",{"enableActions":[4,"enable-actions"],"componentId":[1,"component-id"],"showHandle":[1028,"show-handle"]}]]],["pds-switch.cjs",[[1,"pds-switch",{"componentId":[1,"component-id"],"checked":[1028],"disabled":[4],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"invalid":[4],"label":[1],"name":[1],"required":[4],"value":[1]}]]],["pds-textarea.cjs",[[1,"pds-textarea",{"autocomplete":[1],"componentId":[1,"component-id"],"disabled":[4],"debounce":[2],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"invalid":[1028],"label":[1],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"rows":[2],"value":[1025],"hasFocus":[32],"setFocus":[64]},null,{"debounce":["debounceChanged"],"value":["valueChanged"]}]]],["pds-box.cjs",[[0,"pds-box",{"alignItems":[1,"align-items"],"alignSelf":[1,"align-self"],"auto":[4],"backgroundColor":[1,"background-color"],"border":[4],"borderColor":[1,"border-color"],"borderRadius":[1,"border-radius"],"direction":[1],"display":[1],"fit":[4],"gap":[1],"flex":[1],"justifyContent":[1,"justify-content"],"minHeight":[1,"min-height"],"minWidth":[1,"min-width"],"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"padding":[1],"paddingBlock":[1,"padding-block"],"paddingInline":[1,"padding-inline"],"shadow":[1],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]}]]],["pds-divider.cjs",[[1,"pds-divider",{"componentId":[1,"component-id"],"offset":[1],"vertical":[4]}]]],["pds-image.cjs",[[1,"pds-image",{"alt":[1],"componentId":[1,"component-id"],"height":[2],"loading":[1],"sizes":[1],"src":[1],"srcset":[1],"width":[2]}]]],["pds-popover.cjs",[[1,"pds-popover",{"popoverTargetAction":[1,"popover-target-action"],"popoverType":[1,"popover-type"],"componentId":[1,"component-id"],"text":[1],"maxWidth":[2,"max-width"],"placement":[513],"active":[32]},[[2,"click","handleClick"],[11,"scroll","handleScroll"]]]]],["pds-progress.cjs",[[1,"pds-progress",{"animated":[4],"componentId":[1,"component-id"],"fillColor":[1,"fill-color"],"label":[1],"percent":[2],"showPercent":[4,"show-percent"]}]]],["pds-row.cjs",[[0,"pds-row",{"alignItems":[1,"align-items"],"border":[4],"colGap":[1,"col-gap"],"componentId":[1,"component-id"],"justifyContent":[1,"justify-content"],"minHeight":[1,"min-height"],"noWrap":[4,"no-wrap"]}]]],["pds-sortable.cjs",[[6,"pds-sortable",{"border":[516],"componentId":[1,"component-id"],"dividers":[516],"handleType":[1,"handle-type"]}]]],["pds-tab.cjs",[[4,"pds-tab",{"name":[1],"parentComponentId":[1,"parent-component-id"],"variant":[1],"index":[2],"selected":[4]}]]],["pds-table.cjs",[[1,"pds-table",{"compact":[4],"componentId":[1,"component-id"],"responsive":[4],"fixedColumn":[4,"fixed-column"],"selectable":[4],"sortingColumn":[32],"sortingDirection":[32]},[[0,"pdsTableSort","handleTableSort"],[0,"pdsTableSelectAll","handleTableSelectAll"],[0,"pdsTableRowSelected","handleTableSelect"]]]]],["pds-table-body.cjs",[[1,"pds-table-body"]]],["pds-tabpanel.cjs",[[4,"pds-tabpanel",{"name":[1],"parentComponentId":[1,"parent-component-id"],"variant":[1],"selected":[1028]}]]],["pds-tabs.cjs",[[1,"pds-tabs",{"tablistLabel":[1,"tablist-label"],"componentId":[1,"component-id"],"variant":[1],"activeTabName":[1025,"active-tab-name"],"activeTabIndex":[1026,"active-tab-index"]},[[16,"pdsTabClick","tabClickHandler"],[0,"keydown","handleKeyDown"]]]]],["pds-text.cjs",[[1,"pds-text",{"align":[1],"color":[1],"decoration":[1],"gutter":[1],"italic":[4],"size":[1],"weight":[1],"tag":[1],"truncate":[4]}]]],["pds-tooltip.cjs",[[1,"pds-tooltip",{"content":[1],"componentId":[1,"component-id"],"hasArrow":[4,"has-arrow"],"htmlContent":[4,"html-content"],"placement":[513],"maxWidth":[1,"max-width"],"opened":[1540],"isOpen":[32],"showTooltip":[64],"hideTooltip":[64]},null,{"opened":["handleOpenToggle"]}]]],["pds-loader.cjs",[[1,"pds-loader",{"isLoading":[4,"is-loading"],"showLabel":[4,"show-label"],"size":[513],"variant":[1]}]]],["pds-icon.cjs",[[1,"pds-icon",{"color":[1],"icon":[8],"name":[513],"size":[513],"src":[1],"ariaLabel":[32],"isVisible":[32],"svgContent":[32]},null,{"size":["updateStyles"],"color":["updateStyles"],"name":["loadIcon"],"src":["loadIcon"],"icon":["loadIcon"]}]]],["pds-button.cjs",[[1,"pds-button",{"componentId":[1,"component-id"],"disabled":[4],"fullWidth":[4,"full-width"],"href":[1],"icon":[1],"iconOnly":[4,"icon-only"],"loading":[4],"name":[1],"target":[1],"type":[1],"value":[1],"variant":[1]}]]],["pds-table-head-cell.cjs",[[1,"pds-table-head-cell",{"sortable":[4],"sortingDirection":[32],"tableScrolling":[32],"isSelected":[32]}]]],["pds-table-cell.cjs",[[1,"pds-table-cell",{"truncate":[4],"tableScrolling":[32]}]]],["pds-checkbox.cjs",[[1,"pds-checkbox",{"checked":[1028],"componentId":[1,"component-id"],"disabled":[4],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"indeterminate":[1028],"invalid":[4],"label":[1],"labelHidden":[4,"label-hidden"],"name":[1],"required":[4],"value":[1]},null,{"checked":["updateIndeterminate"]}]]]], options);
23
23
  });
24
24
 
25
25
  exports.setNonce = index.setNonce;
@@ -1192,6 +1192,78 @@ pds-box {
1192
1192
  padding: var(--pine-dimension-2xl);
1193
1193
  }
1194
1194
 
1195
+ .pds-padding-block-none {
1196
+ padding-block: var(--pine-dimension-none);
1197
+ }
1198
+
1199
+ .pds-padding-block-xxs {
1200
+ padding-block: var(--pine-dimension-2xs);
1201
+ }
1202
+
1203
+ .pds-padding-block-xs {
1204
+ padding-block: var(--pine-dimension-xs);
1205
+ }
1206
+
1207
+ .pds-padding-block-sm {
1208
+ padding-block: var(--pine-dimension-sm);
1209
+ }
1210
+
1211
+ .pds-padding-block-md {
1212
+ padding-block: var(--pine-dimension-md);
1213
+ }
1214
+
1215
+ .pds-padding-block-lg {
1216
+ padding-block: var(--pine-dimension-lg);
1217
+ }
1218
+
1219
+ .pds-padding-block-xl {
1220
+ padding-block: var(--pine-dimension-xl);
1221
+ }
1222
+
1223
+ .pds-padding-block-xxl {
1224
+ padding-block: var(--pine-dimension-2xl);
1225
+ }
1226
+
1227
+ .pds-padding-inline-none {
1228
+ padding-inline: var(--pine-dimension-none);
1229
+ }
1230
+
1231
+ .pds-padding-inline-xxs {
1232
+ padding-inline: var(--pine-dimension-2xs);
1233
+ }
1234
+
1235
+ .pds-padding-inline-xs {
1236
+ padding-inline: var(--pine-dimension-xs);
1237
+ }
1238
+
1239
+ .pds-padding-inline-sm {
1240
+ padding-inline: var(--pine-dimension-sm);
1241
+ }
1242
+
1243
+ .pds-padding-inline-md {
1244
+ padding-inline: var(--pine-dimension-md);
1245
+ }
1246
+
1247
+ .pds-padding-inline-lg {
1248
+ padding-inline: var(--pine-dimension-lg);
1249
+ }
1250
+
1251
+ .pds-padding-inline-xl {
1252
+ padding-inline: var(--pine-dimension-xl);
1253
+ }
1254
+
1255
+ .pds-padding-inline-xxl {
1256
+ padding-inline: var(--pine-dimension-2xl);
1257
+ }
1258
+
1259
+ .pds-box-display-block {
1260
+ display: block;
1261
+ }
1262
+
1263
+ .pds-box-display-inline-block {
1264
+ display: inline-block;
1265
+ }
1266
+
1195
1267
  .pds-box-display-flex {
1196
1268
  display: flex;
1197
1269
  }
@@ -1250,4 +1322,24 @@ pds-box {
1250
1322
 
1251
1323
  .pds-align-items-baseline {
1252
1324
  align-items: baseline;
1325
+ }
1326
+
1327
+ .pds-align-self-start {
1328
+ align-self: start;
1329
+ }
1330
+
1331
+ .pds-align-self-center {
1332
+ align-self: center;
1333
+ }
1334
+
1335
+ .pds-align-self-end {
1336
+ align-self: end;
1337
+ }
1338
+
1339
+ .pds-align-self-baseline {
1340
+ align-self: baseline;
1341
+ }
1342
+
1343
+ .pds-align-self-stretch {
1344
+ align-self: stretch;
1253
1345
  }
@@ -2,6 +2,7 @@ import { h, Host } from "@stencil/core";
2
2
  export class PdsBox {
3
3
  constructor() {
4
4
  this.alignItems = undefined;
5
+ this.alignSelf = undefined;
5
6
  this.auto = undefined;
6
7
  this.backgroundColor = undefined;
7
8
  this.border = false;
@@ -22,6 +23,8 @@ export class PdsBox {
22
23
  this.offsetLg = undefined;
23
24
  this.offsetXl = undefined;
24
25
  this.padding = undefined;
26
+ this.paddingBlock = undefined;
27
+ this.paddingInline = undefined;
25
28
  this.shadow = undefined;
26
29
  this.size = undefined;
27
30
  this.sizeXs = undefined;
@@ -33,6 +36,7 @@ export class PdsBox {
33
36
  render() {
34
37
  const boxClasses = `
35
38
  ${this.alignItems !== undefined && this.alignItems.trim() !== '' ? `pds-align-items-${this.alignItems}` : ''}
39
+ ${this.alignSelf !== undefined && this.alignSelf.trim() !== '' ? `pds-align-self-${this.alignSelf}` : ''}
36
40
  ${this.auto ? 'pds-box--auto' : ''}
37
41
  ${this.border ? 'pds-box--border' : ''}
38
42
  ${this.borderRadius !== undefined && this.borderRadius.trim() !== '' ? `pds-border-radius-${this.borderRadius}` : ''}
@@ -49,6 +53,8 @@ export class PdsBox {
49
53
  ${this.offsetLg !== undefined && this.offsetLg.trim() !== '' ? `pds-box-offset-lg-${this.offsetLg}` : ''}
50
54
  ${this.offsetXl !== undefined && this.offsetXl.trim() !== '' ? `pds-box-offset-xl-${this.offsetXl}` : ''}
51
55
  ${this.padding !== undefined && this.padding.trim() !== '' ? `pds-padding-${this.padding}` : ''}
56
+ ${this.paddingBlock !== undefined && this.paddingBlock.trim() !== '' ? `pds-padding-block-${this.paddingBlock}` : ''}
57
+ ${this.paddingInline !== undefined && this.paddingInline.trim() !== '' ? `pds-padding-inline-${this.paddingInline}` : ''}
52
58
  ${this.shadow !== undefined && this.shadow.trim() !== '' ? `pds-shadow-${this.shadow}` : ''}
53
59
  ${this.size !== undefined && this.size.trim() !== '' ? `pds-box pds-box-${this.size}` : ''}
54
60
  ${this.sizeXs !== undefined && this.sizeXs.trim() !== '' ? `pds-box-xs-${this.sizeXs}` : ''}
@@ -63,7 +69,7 @@ export class PdsBox {
63
69
  this.sizeXl == undefined ? 'pds-box' : ''}
64
70
  `;
65
71
  const boxInlineStyles = Object.assign(Object.assign(Object.assign(Object.assign({}, (this.backgroundColor && { '--color-background-box': this.backgroundColor })), (this.borderColor && { '--color-border-box': this.borderColor })), (this.minHeight && { '--sizing-min-height-box': this.minHeight })), (this.minWidth && { '--sizing-min-height-box': this.minWidth }));
66
- return (h(Host, { key: '56a682a80e67403fdaae36ca8356eb388dfce370', class: boxClasses, style: boxInlineStyles }));
72
+ return (h(Host, { key: 'a6bdc595d388f042a249f2a671f1f05ea582e115', class: boxClasses, style: boxInlineStyles }));
67
73
  }
68
74
  static get is() { return "pds-box"; }
69
75
  static get originalStyleUrls() {
@@ -93,11 +99,31 @@ export class PdsBox {
93
99
  "name": "defaultValue",
94
100
  "text": "start"
95
101
  }],
96
- "text": "Defines the vertical alignment of the box items."
102
+ "text": "Defines how items within the box are aligned."
97
103
  },
98
104
  "attribute": "align-items",
99
105
  "reflect": false
100
106
  },
107
+ "alignSelf": {
108
+ "type": "string",
109
+ "mutable": false,
110
+ "complexType": {
111
+ "original": "`start` | `center` | `end` | `baseline` | `stretch`",
112
+ "resolved": "\"baseline\" | \"center\" | \"end\" | \"start\" | \"stretch\"",
113
+ "references": {}
114
+ },
115
+ "required": false,
116
+ "optional": true,
117
+ "docs": {
118
+ "tags": [{
119
+ "name": "defaultValue",
120
+ "text": "start"
121
+ }],
122
+ "text": "Defines how the box is aligned within its container."
123
+ },
124
+ "attribute": "align-self",
125
+ "reflect": false
126
+ },
101
127
  "auto": {
102
128
  "type": "boolean",
103
129
  "mutable": false,
@@ -508,6 +534,58 @@ export class PdsBox {
508
534
  "attribute": "padding",
509
535
  "reflect": false
510
536
  },
537
+ "paddingBlock": {
538
+ "type": "string",
539
+ "mutable": false,
540
+ "complexType": {
541
+ "original": "BoxTShirtSizeType",
542
+ "resolved": "\"lg\" | \"md\" | \"none\" | \"sm\" | \"xl\" | \"xs\" | \"xxl\" | \"xxs\"",
543
+ "references": {
544
+ "BoxTShirtSizeType": {
545
+ "location": "import",
546
+ "path": "../../utils/types",
547
+ "id": "src/utils/types.ts::BoxTShirtSizeType"
548
+ }
549
+ }
550
+ },
551
+ "required": false,
552
+ "optional": true,
553
+ "docs": {
554
+ "tags": [{
555
+ "name": "defaultValue",
556
+ "text": "none"
557
+ }],
558
+ "text": "Defines the top and bottom spacing."
559
+ },
560
+ "attribute": "padding-block",
561
+ "reflect": false
562
+ },
563
+ "paddingInline": {
564
+ "type": "string",
565
+ "mutable": false,
566
+ "complexType": {
567
+ "original": "BoxTShirtSizeType",
568
+ "resolved": "\"lg\" | \"md\" | \"none\" | \"sm\" | \"xl\" | \"xs\" | \"xxl\" | \"xxs\"",
569
+ "references": {
570
+ "BoxTShirtSizeType": {
571
+ "location": "import",
572
+ "path": "../../utils/types",
573
+ "id": "src/utils/types.ts::BoxTShirtSizeType"
574
+ }
575
+ }
576
+ },
577
+ "required": false,
578
+ "optional": true,
579
+ "docs": {
580
+ "tags": [{
581
+ "name": "defaultValue",
582
+ "text": "none"
583
+ }],
584
+ "text": "Defines the left and right spacing."
585
+ },
586
+ "attribute": "padding-inline",
587
+ "reflect": false
588
+ },
511
589
  "shadow": {
512
590
  "type": "string",
513
591
  "mutable": false,
@@ -1 +1 @@
1
- {"version":3,"file":"pds-box.js","sourceRoot":"","sources":["../../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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Host, Prop } from '@stencil/core';\n\nimport { BoxColumnType, BoxTShirtSizeType, BoxShadowSizeType } from '../../utils/types';\n\n@Component({\n tag: 'pds-box',\n styleUrl: 'pds-box.scss',\n})\nexport class PdsBox {\n /**\n * Defines the vertical alignment of the box items.\n * @defaultValue start\n */\n @Prop() alignItems?: `start` | `center` | `end` | `baseline` | `stretch`;\n\n /**\n * If `true`, the box will be sized to fit its contents.\n */\n @Prop() auto?: boolean;\n\n /**\n * Defines the background-color of the box.\n */\n @Prop() backgroundColor?: string;\n\n /**\n * If `true`, the box will have a border.\n */\n @Prop() border? = false;\n\n /**\n * Defines the border color of the box.\n */\n @Prop() borderColor?: string;\n\n /**\n * Defines how rounded the box corners are.\n * @defaultValue none\n */\n @Prop() borderRadius?: `none` | `xs`| `sm` | `md` | `lg` | `circle`;\n\n /**\n * Defines the orientation of the box items.\n * @defaultValue row\n */\n @Prop() direction?: `row` | `column`;\n\n /**\n * Defines the display style of the box.\n * @defaultValue flex\n */\n @Prop() display?: `flex` | `inline-flex` | `block` | `inline-block`;\n\n /**\n * If `true`, sets the box `max-width` to `100%`.\n */\n @Prop() fit?: boolean;\n\n /**\n * Defines the spacing between the box items.\n * @defaultValue none\n */\n @Prop() gap?: BoxTShirtSizeType;\n\n /**\n * Defines how a box will grow or shrink to fit the space available in its container.\n * @defaultValue none\n */\n @Prop() flex?: `none` | `grow` | `shrink`;\n\n /**\n * Defines the horizontal alignment of the box 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 * The minimum width of the row. Used in conjunction with alignment props\n */\n @Prop() minWidth?: string;\n\n /**\n * Move columns to the end direction of the row for all screen sizes. Increases the starting margin of a column by specified number of columns.\n */\n @Prop() offset?: BoxColumnType;\n\n /**\n * Move columns to the end direction of the row for `XS` screen sizes. Increases the starting margin of a column by specified number of columns.\n */\n @Prop() offsetXs?: BoxColumnType;\n\n /**\n * Move columns to the end direction of the row for `SM` screen sizes. Increases the starting margin of a column by specified number of columns.\n */\n @Prop() offsetSm?: BoxColumnType;\n\n /**\n * Move columns to the end direction of the row for `MD` screen sizes. Increases the starting margin of a column by specified number of columns.\n */\n @Prop() offsetMd?: BoxColumnType;\n\n /**\n * Move columns to the end direction of the row for `LG` screen sizes. Increases the starting margin of a column by specified number of columns.\n */\n @Prop() offsetLg?: BoxColumnType;\n\n /**\n * Move columns to the end direction of the row for `XL` screen sizes. Increases the starting margin of a column by specified number of columns.\n */\n @Prop() offsetXl?: BoxColumnType;\n\n /**\n * Defines the spacing between the box items.\n * @defaultValue none\n */\n @Prop() padding?: BoxTShirtSizeType;\n\n /**\n * Defines the box shadow.\n * @defaultValue none\n */\n @Prop() shadow?: BoxShadowSizeType;\n\n /**\n * Size of the column for all screen sizes that are not explicitly set.\n */\n @Prop() size?: BoxColumnType;\n\n /**\n * At screen sizes less than the `XS` breakpoint, this will take the number of columns specified.\n */\n @Prop() sizeXs?: BoxColumnType;\n\n /**\n * At screen sizes greater than the `SM` breakpoint, this will take the number of columns specified.\n */\n @Prop() sizeSm?: BoxColumnType;\n\n /**\n * At screen sizes greater than the `MD` breakpoint, this will take the number of columns specified.\n */\n @Prop() sizeMd?: BoxColumnType;\n\n /**\n * At screen sizes greater than the `LG` breakpoint, this will take the number of columns specified.\n */\n @Prop() sizeLg?: BoxColumnType;\n\n /**\n * At screen sizes greater than the `XL` breakpoint, this will take the number of columns specified.\n */\n @Prop() sizeXl?: BoxColumnType;\n\n render() {\n const boxClasses = `\n ${this.alignItems !== undefined && this.alignItems.trim() !== '' ? `pds-align-items-${this.alignItems}` : ''}\n ${this.auto ? 'pds-box--auto' : ''}\n ${this.border ? 'pds-box--border' : ''}\n ${this.borderRadius !== undefined && this.borderRadius.trim() !== '' ? `pds-border-radius-${this.borderRadius}` : ''}\n ${this.direction !== undefined && this.direction.trim() !== '' ? `pds-box-direction-${this.direction}` : ''}\n ${this.display !== undefined && this.display.trim() !== '' ? `pds-box--display-${this.display}` : ''}\n ${this.fit ? 'pds-box--fit' : ''}\n ${this.gap !== undefined && this.gap.trim() !== '' ? `pds-box-gap-${this.gap}` : ''}\n ${this.flex !== undefined && this.flex.trim() !== '' ? `pds-box--flex-${this.flex}` : ''}\n ${this.justifyContent !== undefined && this.justifyContent.trim() !== '' ? `pds-justify-content-${this.justifyContent}` : ''}\n ${this.offset !== undefined && this.offset.trim() !== '' ? `pds-box-offset-${this.offset}` : ''}\n ${this.offsetXs !== undefined && this.offsetXs.trim() !== '' ? `pds-box-offset-xs-${this.offsetXs}` : ''}\n ${this.offsetSm !== undefined && this.offsetSm.trim() !== '' ? `pds-box-offset-sm-${this.offsetSm}` : ''}\n ${this.offsetMd !== undefined && this.offsetMd.trim() !== '' ? `pds-box-offset-md-${this.offsetMd}` : ''}\n ${this.offsetLg !== undefined && this.offsetLg.trim() !== '' ? `pds-box-offset-lg-${this.offsetLg}` : ''}\n ${this.offsetXl !== undefined && this.offsetXl.trim() !== '' ? `pds-box-offset-xl-${this.offsetXl}` : ''}\n ${this.padding !== undefined && this.padding.trim() !== '' ? `pds-padding-${this.padding}` : ''}\n ${this.shadow !== undefined && this.shadow.trim() !== '' ? `pds-shadow-${this.shadow}` : ''}\n ${this.size !== undefined && this.size.trim() !== '' ? `pds-box pds-box-${this.size}` : ''}\n ${this.sizeXs !== undefined && this.sizeXs.trim() !== '' ? `pds-box-xs-${this.sizeXs}` : ''}\n ${this.sizeSm !== undefined && this.sizeSm.trim() !== '' ? `pds-box-sm-${this.sizeSm}` : ''}\n ${this.sizeMd !== undefined && this.sizeMd.trim() !== '' ? `pds-box-md-${this.sizeMd}` : ''}\n ${this.sizeLg !== undefined && this.sizeLg.trim() !== '' ? `pds-box-lg-${this.sizeLg}` : ''}\n ${this.sizeXl !== undefined && this.sizeXl.trim() !== '' ? `pds-box-xl-${this.sizeXl}` : ''}\n ${this.size == undefined &&\n this.sizeSm == undefined &&\n this.sizeMd == undefined &&\n this.sizeLg == undefined &&\n this.sizeXl == undefined ? 'pds-box' : ''}\n `;\n\n const boxInlineStyles = {\n ...(this.backgroundColor && { '--color-background-box': this.backgroundColor }),\n ...(this.borderColor && { '--color-border-box': this.borderColor }),\n ...(this.minHeight && { '--sizing-min-height-box': this.minHeight }),\n ...(this.minWidth && { '--sizing-min-height-box': this.minWidth }),\n };\n\n return (\n <Host class={boxClasses} style={boxInlineStyles}>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"pds-box.js","sourceRoot":"","sources":["../../../src/components/pds-box/pds-box.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAQzD,MAAM,OAAO,MAAM;;;;;;sBA0BC,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA8IvB,MAAM;QACJ,MAAM,UAAU,GAAG;MACjB,IAAI,CAAC,UAAU,KAAK,SAAS,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,mBAAmB,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,EAAE;MAC1G,IA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Host, Prop } from '@stencil/core';\n\nimport { BoxColumnType, BoxTShirtSizeType, BoxShadowSizeType } from '../../utils/types';\n\n@Component({\n tag: 'pds-box',\n styleUrl: 'pds-box.scss',\n})\nexport class PdsBox {\n /**\n * Defines how items within the box are aligned.\n * @defaultValue start\n */\n @Prop() alignItems?: `start` | `center` | `end` | `baseline` | `stretch`;\n\n /**\n * Defines how the box is aligned within its container.\n * @defaultValue start\n */\n @Prop() alignSelf?: `start` | `center` | `end` | `baseline` | `stretch`;\n\n /**\n * If `true`, the box will be sized to fit its contents.\n */\n @Prop() auto?: boolean;\n\n /**\n * Defines the background-color of the box.\n */\n @Prop() backgroundColor?: string;\n\n /**\n * If `true`, the box will have a border.\n */\n @Prop() border? = false;\n\n /**\n * Defines the border color of the box.\n */\n @Prop() borderColor?: string;\n\n /**\n * Defines how rounded the box corners are.\n * @defaultValue none\n */\n @Prop() borderRadius?: `none` | `xs`| `sm` | `md` | `lg` | `circle`;\n\n /**\n * Defines the orientation of the box items.\n * @defaultValue row\n */\n @Prop() direction?: `row` | `column`;\n\n /**\n * Defines the display style of the box.\n * @defaultValue flex\n */\n @Prop() display?: `flex` | `inline-flex` | `block` | `inline-block`;\n\n /**\n * If `true`, sets the box `max-width` to `100%`.\n */\n @Prop() fit?: boolean;\n\n /**\n * Defines the spacing between the box items.\n * @defaultValue none\n */\n @Prop() gap?: BoxTShirtSizeType;\n\n /**\n * Defines how a box will grow or shrink to fit the space available in its container.\n * @defaultValue none\n */\n @Prop() flex?: `none` | `grow` | `shrink`;\n\n /**\n * Defines the horizontal alignment of the box 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 * The minimum width of the row. Used in conjunction with alignment props\n */\n @Prop() minWidth?: string;\n\n /**\n * Move columns to the end direction of the row for all screen sizes. Increases the starting margin of a column by specified number of columns.\n */\n @Prop() offset?: BoxColumnType;\n\n /**\n * Move columns to the end direction of the row for `XS` screen sizes. Increases the starting margin of a column by specified number of columns.\n */\n @Prop() offsetXs?: BoxColumnType;\n\n /**\n * Move columns to the end direction of the row for `SM` screen sizes. Increases the starting margin of a column by specified number of columns.\n */\n @Prop() offsetSm?: BoxColumnType;\n\n /**\n * Move columns to the end direction of the row for `MD` screen sizes. Increases the starting margin of a column by specified number of columns.\n */\n @Prop() offsetMd?: BoxColumnType;\n\n /**\n * Move columns to the end direction of the row for `LG` screen sizes. Increases the starting margin of a column by specified number of columns.\n */\n @Prop() offsetLg?: BoxColumnType;\n\n /**\n * Move columns to the end direction of the row for `XL` screen sizes. Increases the starting margin of a column by specified number of columns.\n */\n @Prop() offsetXl?: BoxColumnType;\n\n /**\n * Defines the spacing between the box items.\n * @defaultValue none\n */\n @Prop() padding?: BoxTShirtSizeType;\n\n /**\n * Defines the top and bottom spacing.\n * @defaultValue none\n */\n @Prop() paddingBlock?: BoxTShirtSizeType;\n\n /**\n * Defines the left and right spacing.\n * @defaultValue none\n */\n @Prop() paddingInline?: BoxTShirtSizeType;\n\n /**\n * Defines the box shadow.\n * @defaultValue none\n */\n @Prop() shadow?: BoxShadowSizeType;\n\n /**\n * Size of the column for all screen sizes that are not explicitly set.\n */\n @Prop() size?: BoxColumnType;\n\n /**\n * At screen sizes less than the `XS` breakpoint, this will take the number of columns specified.\n */\n @Prop() sizeXs?: BoxColumnType;\n\n /**\n * At screen sizes greater than the `SM` breakpoint, this will take the number of columns specified.\n */\n @Prop() sizeSm?: BoxColumnType;\n\n /**\n * At screen sizes greater than the `MD` breakpoint, this will take the number of columns specified.\n */\n @Prop() sizeMd?: BoxColumnType;\n\n /**\n * At screen sizes greater than the `LG` breakpoint, this will take the number of columns specified.\n */\n @Prop() sizeLg?: BoxColumnType;\n\n /**\n * At screen sizes greater than the `XL` breakpoint, this will take the number of columns specified.\n */\n @Prop() sizeXl?: BoxColumnType;\n\n render() {\n const boxClasses = `\n ${this.alignItems !== undefined && this.alignItems.trim() !== '' ? `pds-align-items-${this.alignItems}` : ''}\n ${this.alignSelf !== undefined && this.alignSelf.trim() !== '' ? `pds-align-self-${this.alignSelf}` : ''}\n ${this.auto ? 'pds-box--auto' : ''}\n ${this.border ? 'pds-box--border' : ''}\n ${this.borderRadius !== undefined && this.borderRadius.trim() !== '' ? `pds-border-radius-${this.borderRadius}` : ''}\n ${this.direction !== undefined && this.direction.trim() !== '' ? `pds-box-direction-${this.direction}` : ''}\n ${this.display !== undefined && this.display.trim() !== '' ? `pds-box--display-${this.display}` : ''}\n ${this.fit ? 'pds-box--fit' : ''}\n ${this.gap !== undefined && this.gap.trim() !== '' ? `pds-box-gap-${this.gap}` : ''}\n ${this.flex !== undefined && this.flex.trim() !== '' ? `pds-box--flex-${this.flex}` : ''}\n ${this.justifyContent !== undefined && this.justifyContent.trim() !== '' ? `pds-justify-content-${this.justifyContent}` : ''}\n ${this.offset !== undefined && this.offset.trim() !== '' ? `pds-box-offset-${this.offset}` : ''}\n ${this.offsetXs !== undefined && this.offsetXs.trim() !== '' ? `pds-box-offset-xs-${this.offsetXs}` : ''}\n ${this.offsetSm !== undefined && this.offsetSm.trim() !== '' ? `pds-box-offset-sm-${this.offsetSm}` : ''}\n ${this.offsetMd !== undefined && this.offsetMd.trim() !== '' ? `pds-box-offset-md-${this.offsetMd}` : ''}\n ${this.offsetLg !== undefined && this.offsetLg.trim() !== '' ? `pds-box-offset-lg-${this.offsetLg}` : ''}\n ${this.offsetXl !== undefined && this.offsetXl.trim() !== '' ? `pds-box-offset-xl-${this.offsetXl}` : ''}\n ${this.padding !== undefined && this.padding.trim() !== '' ? `pds-padding-${this.padding}` : ''}\n ${this.paddingBlock !== undefined && this.paddingBlock.trim() !== '' ? `pds-padding-block-${this.paddingBlock}` : ''}\n ${this.paddingInline !== undefined && this.paddingInline.trim() !== '' ? `pds-padding-inline-${this.paddingInline}` : ''}\n ${this.shadow !== undefined && this.shadow.trim() !== '' ? `pds-shadow-${this.shadow}` : ''}\n ${this.size !== undefined && this.size.trim() !== '' ? `pds-box pds-box-${this.size}` : ''}\n ${this.sizeXs !== undefined && this.sizeXs.trim() !== '' ? `pds-box-xs-${this.sizeXs}` : ''}\n ${this.sizeSm !== undefined && this.sizeSm.trim() !== '' ? `pds-box-sm-${this.sizeSm}` : ''}\n ${this.sizeMd !== undefined && this.sizeMd.trim() !== '' ? `pds-box-md-${this.sizeMd}` : ''}\n ${this.sizeLg !== undefined && this.sizeLg.trim() !== '' ? `pds-box-lg-${this.sizeLg}` : ''}\n ${this.sizeXl !== undefined && this.sizeXl.trim() !== '' ? `pds-box-xl-${this.sizeXl}` : ''}\n ${this.size == undefined &&\n this.sizeSm == undefined &&\n this.sizeMd == undefined &&\n this.sizeLg == undefined &&\n this.sizeXl == undefined ? 'pds-box' : ''}\n `;\n\n const boxInlineStyles = {\n ...(this.backgroundColor && { '--color-background-box': this.backgroundColor }),\n ...(this.borderColor && { '--color-border-box': this.borderColor }),\n ...(this.minHeight && { '--sizing-min-height-box': this.minHeight }),\n ...(this.minWidth && { '--sizing-min-height-box': this.minWidth }),\n };\n\n return (\n <Host class={boxClasses} style={boxInlineStyles}>\n </Host>\n );\n }\n}\n"]}
@@ -13,6 +13,7 @@ export default {
13
13
  const BaseTemplate = (args) => html`
14
14
  <pds-box
15
15
  align-items="${args.alignItems}"
16
+ align-self="${args.alignSelf}"
16
17
  auto="${args.auto}"
17
18
  background-color="${args.backgroundColor}"
18
19
  border="${args.border}"
@@ -31,6 +32,8 @@ const BaseTemplate = (args) => html`
31
32
  offset-lg="${args.offsetLg}"
32
33
  offset-xl="${args.offsetXl}"
33
34
  padding="${args.padding}"
35
+ padding-block="${args.paddingBlock}"
36
+ padding-inline="${args.paddingInline}"
34
37
  shadow="${args.shadow}"
35
38
  size="${args.size}"
36
39
  size-xs="${args.sizeXs}"
@@ -1,4 +1,5 @@
1
1
  :host {
2
+ --button-dimension: 40px;
2
3
  --color-border-default: transparent;
3
4
  --color-border-disabled: transparent;
4
5
  --color-border-focus: transparent;
@@ -16,12 +17,20 @@
16
17
  justify-content: center;
17
18
  width: 100%;
18
19
  }
20
+ :host([full-width=true]) .pds-button__content {
21
+ justify-content: center;
22
+ text-align: center;
23
+ }
19
24
 
20
25
  :host([loading=true]) {
21
26
  cursor: wait;
22
27
  pointer-events: none;
23
28
  }
24
29
 
30
+ :host([disabled=true]) {
31
+ pointer-events: none;
32
+ }
33
+
25
34
  .pds-button {
26
35
  --pds-loader-color: var(--color-text-default);
27
36
  align-items: center;
@@ -29,13 +38,15 @@
29
38
  border: var(--pine-border);
30
39
  border-color: var(--color-border-default);
31
40
  border-radius: var(--pine-border-radius-full);
41
+ box-sizing: border-box;
32
42
  color: var(--color-text-default);
33
43
  cursor: pointer;
34
44
  display: flex;
35
45
  font: var(--pine-typography-body-brand-label);
36
46
  letter-spacing: var(--pine-letter-spacing);
37
- min-height: 40px;
47
+ min-height: var(--button-dimension);
38
48
  padding: var(--pine-dimension-xs) var(--pine-dimension-sm);
49
+ text-decoration: none;
39
50
  }
40
51
  .pds-button pds-icon {
41
52
  color: currentColor;
@@ -141,9 +152,11 @@
141
152
  align-items: center;
142
153
  display: inline-flex;
143
154
  position: relative;
155
+ width: 100%;
144
156
  }
145
157
 
146
158
  .pds-button__text {
159
+ align-items: center;
147
160
  display: inline-flex;
148
161
  }
149
162
 
@@ -167,4 +180,35 @@
167
180
  }
168
181
  .pds-button--loading .pds-button__loader pds-loader {
169
182
  --loader-color: var(--button-loader-color);
183
+ }
184
+
185
+ .pds-button--icon-only {
186
+ align-items: center;
187
+ border-radius: var(--pine-border-radius-full);
188
+ height: var(--button-dimension);
189
+ justify-content: center;
190
+ min-height: var(--button-dimension);
191
+ min-width: var(--button-dimension);
192
+ padding: var(--pine-dimension-xs);
193
+ width: var(--button-dimension);
194
+ }
195
+ .pds-button--icon-only .pds-button__content {
196
+ height: 100%;
197
+ justify-content: center;
198
+ width: 100%;
199
+ }
200
+ .pds-button--icon-only pds-icon {
201
+ margin: 0;
202
+ }
203
+ .pds-button--icon-only .pds-button__text--hidden {
204
+ border: 0;
205
+ clip: rect(0 0 0 0);
206
+ clip-path: polygon(0 0, 0 0, 0 0);
207
+ height: 1px;
208
+ margin: -1px;
209
+ overflow: hidden;
210
+ padding: 0;
211
+ position: absolute;
212
+ white-space: nowrap;
213
+ width: 1px;
170
214
  }