@pine-ds/core 0.0.2-alpha.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 (665) hide show
  1. package/LICENSE +21 -0
  2. package/dist/cjs/index-13500e25.js +2468 -0
  3. package/dist/cjs/index-13500e25.js.map +1 -0
  4. package/dist/cjs/index.cjs.js +4 -0
  5. package/dist/cjs/index.cjs.js.map +1 -0
  6. package/dist/cjs/loader.cjs.js +15 -0
  7. package/dist/cjs/loader.cjs.js.map +1 -0
  8. package/dist/cjs/pds-avatar.cjs.entry.js +70 -0
  9. package/dist/cjs/pds-avatar.cjs.entry.js.map +1 -0
  10. package/dist/cjs/pds-button.cjs.entry.js +57 -0
  11. package/dist/cjs/pds-button.cjs.entry.js.map +1 -0
  12. package/dist/cjs/pds-checkbox.cjs.entry.js +57 -0
  13. package/dist/cjs/pds-checkbox.cjs.entry.js.map +1 -0
  14. package/dist/cjs/pds-chip.cjs.entry.js +49 -0
  15. package/dist/cjs/pds-chip.cjs.entry.js.map +1 -0
  16. package/dist/cjs/pds-copytext.cjs.entry.js +68 -0
  17. package/dist/cjs/pds-copytext.cjs.entry.js.map +1 -0
  18. package/dist/cjs/pds-divider.cjs.entry.js +35 -0
  19. package/dist/cjs/pds-divider.cjs.entry.js.map +1 -0
  20. package/dist/cjs/pds-icon.cjs.entry.js +277 -0
  21. package/dist/cjs/pds-icon.cjs.entry.js.map +1 -0
  22. package/dist/cjs/pds-image.cjs.entry.js +31 -0
  23. package/dist/cjs/pds-image.cjs.entry.js.map +1 -0
  24. package/dist/cjs/pds-input.cjs.entry.js +44 -0
  25. package/dist/cjs/pds-input.cjs.entry.js.map +1 -0
  26. package/dist/cjs/pds-label-71ea2cad.js +44 -0
  27. package/dist/cjs/pds-label-71ea2cad.js.map +1 -0
  28. package/dist/cjs/pds-link.cjs.entry.js +37 -0
  29. package/dist/cjs/pds-link.cjs.entry.js.map +1 -0
  30. package/dist/cjs/pds-progress.cjs.entry.js +27 -0
  31. package/dist/cjs/pds-progress.cjs.entry.js.map +1 -0
  32. package/dist/cjs/pds-radio.cjs.entry.js +53 -0
  33. package/dist/cjs/pds-radio.cjs.entry.js.map +1 -0
  34. package/dist/cjs/pds-sortable-item.cjs.entry.js +24 -0
  35. package/dist/cjs/pds-sortable-item.cjs.entry.js.map +1 -0
  36. package/dist/cjs/pds-sortable.cjs.entry.js +2706 -0
  37. package/dist/cjs/pds-sortable.cjs.entry.js.map +1 -0
  38. package/dist/cjs/pds-switch.cjs.entry.js +55 -0
  39. package/dist/cjs/pds-switch.cjs.entry.js.map +1 -0
  40. package/dist/cjs/pds-tab.cjs.entry.js +33 -0
  41. package/dist/cjs/pds-tab.cjs.entry.js.map +1 -0
  42. package/dist/cjs/pds-tabpanel.cjs.entry.js +26 -0
  43. package/dist/cjs/pds-tabpanel.cjs.entry.js.map +1 -0
  44. package/dist/cjs/pds-tabs.cjs.entry.js +98 -0
  45. package/dist/cjs/pds-tabs.cjs.entry.js.map +1 -0
  46. package/dist/cjs/pds-textarea.cjs.entry.js +54 -0
  47. package/dist/cjs/pds-textarea.cjs.entry.js.map +1 -0
  48. package/dist/cjs/pds-tooltip.cjs.entry.js +151 -0
  49. package/dist/cjs/pds-tooltip.cjs.entry.js.map +1 -0
  50. package/dist/cjs/pine-core.cjs.js +25 -0
  51. package/dist/cjs/pine-core.cjs.js.map +1 -0
  52. package/dist/collection/collection-manifest.json +37 -0
  53. package/dist/collection/components/_internal/pds-label/pds-label.js +7 -0
  54. package/dist/collection/components/_internal/pds-label/pds-label.js.map +1 -0
  55. package/dist/collection/components/pds-avatar/pds-avatar.css +59 -0
  56. package/dist/collection/components/pds-avatar/pds-avatar.js +217 -0
  57. package/dist/collection/components/pds-avatar/pds-avatar.js.map +1 -0
  58. package/dist/collection/components/pds-avatar/stories/pds-avatar.stories.js +65 -0
  59. package/dist/collection/components/pds-button/pds-button.css +122 -0
  60. package/dist/collection/components/pds-button/pds-button.js +187 -0
  61. package/dist/collection/components/pds-button/pds-button.js.map +1 -0
  62. package/dist/collection/components/pds-button/stories/pds-button.stories.js +65 -0
  63. package/dist/collection/components/pds-checkbox/pds-checkbox.css +106 -0
  64. package/dist/collection/components/pds-checkbox/pds-checkbox.js +266 -0
  65. package/dist/collection/components/pds-checkbox/pds-checkbox.js.map +1 -0
  66. package/dist/collection/components/pds-checkbox/stories/pds-checkbox.stories.js +80 -0
  67. package/dist/collection/components/pds-chip/pds-chip.css +245 -0
  68. package/dist/collection/components/pds-chip/pds-chip.js +188 -0
  69. package/dist/collection/components/pds-chip/pds-chip.js.map +1 -0
  70. package/dist/collection/components/pds-chip/stories/pds-chip.stories.js +79 -0
  71. package/dist/collection/components/pds-copytext/pds-copytext.css +85 -0
  72. package/dist/collection/components/pds-copytext/pds-copytext.js +186 -0
  73. package/dist/collection/components/pds-copytext/pds-copytext.js.map +1 -0
  74. package/dist/collection/components/pds-copytext/stories/pds-copytext.stories.js +57 -0
  75. package/dist/collection/components/pds-divider/pds-divider.css +92 -0
  76. package/dist/collection/components/pds-divider/pds-divider.js +94 -0
  77. package/dist/collection/components/pds-divider/pds-divider.js.map +1 -0
  78. package/dist/collection/components/pds-divider/stories/pds-divider.stories.js +25 -0
  79. package/dist/collection/components/pds-icon/stories/pds-icon.stories.js +16 -0
  80. package/dist/collection/components/pds-image/pds-image.css +13 -0
  81. package/dist/collection/components/pds-image/pds-image.js +173 -0
  82. package/dist/collection/components/pds-image/pds-image.js.map +1 -0
  83. package/dist/collection/components/pds-image/stories/pds-image.stories.js +35 -0
  84. package/dist/collection/components/pds-input/pds-input.css +88 -0
  85. package/dist/collection/components/pds-input/pds-input.js +279 -0
  86. package/dist/collection/components/pds-input/pds-input.js.map +1 -0
  87. package/dist/collection/components/pds-input/stories/pds-input.stories.js +110 -0
  88. package/dist/collection/components/pds-link/pds-link.css +67 -0
  89. package/dist/collection/components/pds-link/pds-link.js +138 -0
  90. package/dist/collection/components/pds-link/pds-link.js.map +1 -0
  91. package/dist/collection/components/pds-link/stories/pds-link.stories.js +49 -0
  92. package/dist/collection/components/pds-progress/pds-progress.css +77 -0
  93. package/dist/collection/components/pds-progress/pds-progress.js +148 -0
  94. package/dist/collection/components/pds-progress/pds-progress.js.map +1 -0
  95. package/dist/collection/components/pds-progress/stories/pds-progress.stories.js +65 -0
  96. package/dist/collection/components/pds-radio/pds-radio.css +101 -0
  97. package/dist/collection/components/pds-radio/pds-radio.js +261 -0
  98. package/dist/collection/components/pds-radio/pds-radio.js.map +1 -0
  99. package/dist/collection/components/pds-radio/stories/pds-radio.stories.js +71 -0
  100. package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.css +63 -0
  101. package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js +90 -0
  102. package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js.map +1 -0
  103. package/dist/collection/components/pds-sortable/pds-sortable-item/stories/pds-sortable-item.stories.js +24 -0
  104. package/dist/collection/components/pds-sortable/pds-sortable.css +10 -0
  105. package/dist/collection/components/pds-sortable/pds-sortable.js +150 -0
  106. package/dist/collection/components/pds-sortable/pds-sortable.js.map +1 -0
  107. package/dist/collection/components/pds-sortable/stories/pds-sortable.stories.js +130 -0
  108. package/dist/collection/components/pds-switch/pds-switch.css +134 -0
  109. package/dist/collection/components/pds-switch/pds-switch.js +277 -0
  110. package/dist/collection/components/pds-switch/pds-switch.js.map +1 -0
  111. package/dist/collection/components/pds-switch/stories/pds-switch.stories.js +102 -0
  112. package/dist/collection/components/pds-tabs/pds-tab/pds-tab.css +158 -0
  113. package/dist/collection/components/pds-tabs/pds-tab/pds-tab.js +154 -0
  114. package/dist/collection/components/pds-tabs/pds-tab/pds-tab.js.map +1 -0
  115. package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.css +12 -0
  116. package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.js +107 -0
  117. package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.js.map +1 -0
  118. package/dist/collection/components/pds-tabs/pds-tabs.css +33 -0
  119. package/dist/collection/components/pds-tabs/pds-tabs.js +209 -0
  120. package/dist/collection/components/pds-tabs/pds-tabs.js.map +1 -0
  121. package/dist/collection/components/pds-tabs/stories/pds-tabs.stories.js +63 -0
  122. package/dist/collection/components/pds-textarea/pds-textarea.css +84 -0
  123. package/dist/collection/components/pds-textarea/pds-textarea.js +303 -0
  124. package/dist/collection/components/pds-textarea/pds-textarea.js.map +1 -0
  125. package/dist/collection/components/pds-textarea/stories/pds-textarea.stories.js +111 -0
  126. package/dist/collection/components/pds-textarea/textarea-interface.js +2 -0
  127. package/dist/collection/components/pds-textarea/textarea-interface.js.map +1 -0
  128. package/dist/collection/components/pds-tooltip/pds-tooltip.css +143 -0
  129. package/dist/collection/components/pds-tooltip/pds-tooltip.js +287 -0
  130. package/dist/collection/components/pds-tooltip/pds-tooltip.js.map +1 -0
  131. package/dist/collection/components/pds-tooltip/stories/pds-tooltip.stories.js +114 -0
  132. package/dist/collection/global/pine-ui-global.js +2 -0
  133. package/dist/collection/global/pine-ui-global.js.map +1 -0
  134. package/dist/collection/index.js +2 -0
  135. package/dist/collection/index.js.map +1 -0
  136. package/dist/collection/stories/_helpers/index.js +15 -0
  137. package/dist/collection/stories/_helpers/index.js.map +1 -0
  138. package/dist/collection/utils/form.js +28 -0
  139. package/dist/collection/utils/form.js.map +1 -0
  140. package/dist/collection/utils/overlay.js +68 -0
  141. package/dist/collection/utils/overlay.js.map +1 -0
  142. package/dist/collection/utils/types.js +2 -0
  143. package/dist/collection/utils/types.js.map +1 -0
  144. package/dist/collection/utils/utils.js +7 -0
  145. package/dist/collection/utils/utils.js.map +1 -0
  146. package/dist/docs.d.ts +421 -0
  147. package/dist/docs.json +3718 -0
  148. package/dist/esm/index-a58668b3.js +2438 -0
  149. package/dist/esm/index-a58668b3.js.map +1 -0
  150. package/dist/esm/index.js +3 -0
  151. package/dist/esm/index.js.map +1 -0
  152. package/dist/esm/loader.js +11 -0
  153. package/dist/esm/loader.js.map +1 -0
  154. package/dist/esm/pds-avatar.entry.js +66 -0
  155. package/dist/esm/pds-avatar.entry.js.map +1 -0
  156. package/dist/esm/pds-button.entry.js +53 -0
  157. package/dist/esm/pds-button.entry.js.map +1 -0
  158. package/dist/esm/pds-checkbox.entry.js +53 -0
  159. package/dist/esm/pds-checkbox.entry.js.map +1 -0
  160. package/dist/esm/pds-chip.entry.js +45 -0
  161. package/dist/esm/pds-chip.entry.js.map +1 -0
  162. package/dist/esm/pds-copytext.entry.js +64 -0
  163. package/dist/esm/pds-copytext.entry.js.map +1 -0
  164. package/dist/esm/pds-divider.entry.js +31 -0
  165. package/dist/esm/pds-divider.entry.js.map +1 -0
  166. package/dist/esm/pds-icon.entry.js +273 -0
  167. package/dist/esm/pds-icon.entry.js.map +1 -0
  168. package/dist/esm/pds-image.entry.js +27 -0
  169. package/dist/esm/pds-image.entry.js.map +1 -0
  170. package/dist/esm/pds-input.entry.js +40 -0
  171. package/dist/esm/pds-input.entry.js.map +1 -0
  172. package/dist/esm/pds-label-a26dd876.js +39 -0
  173. package/dist/esm/pds-label-a26dd876.js.map +1 -0
  174. package/dist/esm/pds-link.entry.js +33 -0
  175. package/dist/esm/pds-link.entry.js.map +1 -0
  176. package/dist/esm/pds-progress.entry.js +23 -0
  177. package/dist/esm/pds-progress.entry.js.map +1 -0
  178. package/dist/esm/pds-radio.entry.js +49 -0
  179. package/dist/esm/pds-radio.entry.js.map +1 -0
  180. package/dist/esm/pds-sortable-item.entry.js +20 -0
  181. package/dist/esm/pds-sortable-item.entry.js.map +1 -0
  182. package/dist/esm/pds-sortable.entry.js +2702 -0
  183. package/dist/esm/pds-sortable.entry.js.map +1 -0
  184. package/dist/esm/pds-switch.entry.js +51 -0
  185. package/dist/esm/pds-switch.entry.js.map +1 -0
  186. package/dist/esm/pds-tab.entry.js +29 -0
  187. package/dist/esm/pds-tab.entry.js.map +1 -0
  188. package/dist/esm/pds-tabpanel.entry.js +22 -0
  189. package/dist/esm/pds-tabpanel.entry.js.map +1 -0
  190. package/dist/esm/pds-tabs.entry.js +94 -0
  191. package/dist/esm/pds-tabs.entry.js.map +1 -0
  192. package/dist/esm/pds-textarea.entry.js +50 -0
  193. package/dist/esm/pds-textarea.entry.js.map +1 -0
  194. package/dist/esm/pds-tooltip.entry.js +147 -0
  195. package/dist/esm/pds-tooltip.entry.js.map +1 -0
  196. package/dist/esm/pine-core.js +20 -0
  197. package/dist/esm/pine-core.js.map +1 -0
  198. package/dist/esm/polyfills/core-js.js +11 -0
  199. package/dist/esm/polyfills/dom.js +79 -0
  200. package/dist/esm/polyfills/es5-html-element.js +1 -0
  201. package/dist/esm/polyfills/index.js +34 -0
  202. package/dist/esm/polyfills/system.js +6 -0
  203. package/dist/esm-es5/index-a58668b3.js +3 -0
  204. package/dist/esm-es5/index-a58668b3.js.map +1 -0
  205. package/dist/esm-es5/index.js +2 -0
  206. package/dist/esm-es5/index.js.map +1 -0
  207. package/dist/esm-es5/loader.js +2 -0
  208. package/dist/esm-es5/loader.js.map +1 -0
  209. package/dist/esm-es5/pds-avatar.entry.js +2 -0
  210. package/dist/esm-es5/pds-avatar.entry.js.map +1 -0
  211. package/dist/esm-es5/pds-button.entry.js +2 -0
  212. package/dist/esm-es5/pds-button.entry.js.map +1 -0
  213. package/dist/esm-es5/pds-checkbox.entry.js +2 -0
  214. package/dist/esm-es5/pds-checkbox.entry.js.map +1 -0
  215. package/dist/esm-es5/pds-chip.entry.js +2 -0
  216. package/dist/esm-es5/pds-chip.entry.js.map +1 -0
  217. package/dist/esm-es5/pds-copytext.entry.js +2 -0
  218. package/dist/esm-es5/pds-copytext.entry.js.map +1 -0
  219. package/dist/esm-es5/pds-divider.entry.js +2 -0
  220. package/dist/esm-es5/pds-divider.entry.js.map +1 -0
  221. package/dist/esm-es5/pds-icon.entry.js +2 -0
  222. package/dist/esm-es5/pds-icon.entry.js.map +1 -0
  223. package/dist/esm-es5/pds-image.entry.js +2 -0
  224. package/dist/esm-es5/pds-image.entry.js.map +1 -0
  225. package/dist/esm-es5/pds-input.entry.js +2 -0
  226. package/dist/esm-es5/pds-input.entry.js.map +1 -0
  227. package/dist/esm-es5/pds-label-a26dd876.js +2 -0
  228. package/dist/esm-es5/pds-label-a26dd876.js.map +1 -0
  229. package/dist/esm-es5/pds-link.entry.js +2 -0
  230. package/dist/esm-es5/pds-link.entry.js.map +1 -0
  231. package/dist/esm-es5/pds-progress.entry.js +2 -0
  232. package/dist/esm-es5/pds-progress.entry.js.map +1 -0
  233. package/dist/esm-es5/pds-radio.entry.js +2 -0
  234. package/dist/esm-es5/pds-radio.entry.js.map +1 -0
  235. package/dist/esm-es5/pds-sortable-item.entry.js +2 -0
  236. package/dist/esm-es5/pds-sortable-item.entry.js.map +1 -0
  237. package/dist/esm-es5/pds-sortable.entry.js +8 -0
  238. package/dist/esm-es5/pds-sortable.entry.js.map +1 -0
  239. package/dist/esm-es5/pds-switch.entry.js +2 -0
  240. package/dist/esm-es5/pds-switch.entry.js.map +1 -0
  241. package/dist/esm-es5/pds-tab.entry.js +2 -0
  242. package/dist/esm-es5/pds-tab.entry.js.map +1 -0
  243. package/dist/esm-es5/pds-tabpanel.entry.js +2 -0
  244. package/dist/esm-es5/pds-tabpanel.entry.js.map +1 -0
  245. package/dist/esm-es5/pds-tabs.entry.js +2 -0
  246. package/dist/esm-es5/pds-tabs.entry.js.map +1 -0
  247. package/dist/esm-es5/pds-textarea.entry.js +2 -0
  248. package/dist/esm-es5/pds-textarea.entry.js.map +1 -0
  249. package/dist/esm-es5/pds-tooltip.entry.js +2 -0
  250. package/dist/esm-es5/pds-tooltip.entry.js.map +1 -0
  251. package/dist/esm-es5/pine-core.js +2 -0
  252. package/dist/esm-es5/pine-core.js.map +1 -0
  253. package/dist/index.cjs.js +1 -0
  254. package/dist/index.js +1 -0
  255. package/dist/pine-core/index.esm.js +2 -0
  256. package/dist/pine-core/index.esm.js.map +1 -0
  257. package/dist/pine-core/p-0a776a7b.entry.js +2 -0
  258. package/dist/pine-core/p-0a776a7b.entry.js.map +1 -0
  259. package/dist/pine-core/p-0adb4b48.entry.js +2 -0
  260. package/dist/pine-core/p-0adb4b48.entry.js.map +1 -0
  261. package/dist/pine-core/p-0c26a00d.entry.js +2 -0
  262. package/dist/pine-core/p-0c26a00d.entry.js.map +1 -0
  263. package/dist/pine-core/p-1c0ffcab.entry.js +2 -0
  264. package/dist/pine-core/p-1c0ffcab.entry.js.map +1 -0
  265. package/dist/pine-core/p-22bd3102.system.entry.js +9 -0
  266. package/dist/pine-core/p-22bd3102.system.entry.js.map +1 -0
  267. package/dist/pine-core/p-22dd8116.entry.js +2 -0
  268. package/dist/pine-core/p-22dd8116.entry.js.map +1 -0
  269. package/dist/pine-core/p-23fb6af2.system.entry.js +2 -0
  270. package/dist/pine-core/p-23fb6af2.system.entry.js.map +1 -0
  271. package/dist/pine-core/p-24077dcd.entry.js +2 -0
  272. package/dist/pine-core/p-24077dcd.entry.js.map +1 -0
  273. package/dist/pine-core/p-27fd7f08.system.entry.js +2 -0
  274. package/dist/pine-core/p-27fd7f08.system.entry.js.map +1 -0
  275. package/dist/pine-core/p-331cbf1d.entry.js +2 -0
  276. package/dist/pine-core/p-331cbf1d.entry.js.map +1 -0
  277. package/dist/pine-core/p-3386bfe1.system.entry.js +2 -0
  278. package/dist/pine-core/p-3386bfe1.system.entry.js.map +1 -0
  279. package/dist/pine-core/p-401cd4bc.entry.js +2 -0
  280. package/dist/pine-core/p-401cd4bc.entry.js.map +1 -0
  281. package/dist/pine-core/p-4a804680.entry.js +2 -0
  282. package/dist/pine-core/p-4a804680.entry.js.map +1 -0
  283. package/dist/pine-core/p-4fc42ff3.system.entry.js +2 -0
  284. package/dist/pine-core/p-4fc42ff3.system.entry.js.map +1 -0
  285. package/dist/pine-core/p-50ea2036.system.js +2 -0
  286. package/dist/pine-core/p-50ea2036.system.js.map +1 -0
  287. package/dist/pine-core/p-5b37a4a2.system.entry.js +2 -0
  288. package/dist/pine-core/p-5b37a4a2.system.entry.js.map +1 -0
  289. package/dist/pine-core/p-643f5378.entry.js +2 -0
  290. package/dist/pine-core/p-643f5378.entry.js.map +1 -0
  291. package/dist/pine-core/p-669d948a.system.entry.js +2 -0
  292. package/dist/pine-core/p-669d948a.system.entry.js.map +1 -0
  293. package/dist/pine-core/p-73262287.system.entry.js +2 -0
  294. package/dist/pine-core/p-73262287.system.entry.js.map +1 -0
  295. package/dist/pine-core/p-79d7e0b1.system.entry.js +2 -0
  296. package/dist/pine-core/p-79d7e0b1.system.entry.js.map +1 -0
  297. package/dist/pine-core/p-7bc01826.entry.js +2 -0
  298. package/dist/pine-core/p-7bc01826.entry.js.map +1 -0
  299. package/dist/pine-core/p-7fcd5f0b.entry.js +8 -0
  300. package/dist/pine-core/p-7fcd5f0b.entry.js.map +1 -0
  301. package/dist/pine-core/p-85f6a94e.system.entry.js +2 -0
  302. package/dist/pine-core/p-85f6a94e.system.entry.js.map +1 -0
  303. package/dist/pine-core/p-8f62c812.entry.js +2 -0
  304. package/dist/pine-core/p-8f62c812.entry.js.map +1 -0
  305. package/dist/pine-core/p-930ab8a3.system.entry.js +2 -0
  306. package/dist/pine-core/p-930ab8a3.system.entry.js.map +1 -0
  307. package/dist/pine-core/p-938886d8.system.entry.js +2 -0
  308. package/dist/pine-core/p-938886d8.system.entry.js.map +1 -0
  309. package/dist/pine-core/p-97cb4285.entry.js +2 -0
  310. package/dist/pine-core/p-97cb4285.entry.js.map +1 -0
  311. package/dist/pine-core/p-abdca153.js +3 -0
  312. package/dist/pine-core/p-abdca153.js.map +1 -0
  313. package/dist/pine-core/p-ac31a7c8.system.entry.js +2 -0
  314. package/dist/pine-core/p-ac31a7c8.system.entry.js.map +1 -0
  315. package/dist/pine-core/p-af75cc15.entry.js +2 -0
  316. package/dist/pine-core/p-af75cc15.entry.js.map +1 -0
  317. package/dist/pine-core/p-b17b818b.entry.js +2 -0
  318. package/dist/pine-core/p-b17b818b.entry.js.map +1 -0
  319. package/dist/pine-core/p-b79a8b07.entry.js +2 -0
  320. package/dist/pine-core/p-b79a8b07.entry.js.map +1 -0
  321. package/dist/pine-core/p-bce2d5b5.system.entry.js +2 -0
  322. package/dist/pine-core/p-bce2d5b5.system.entry.js.map +1 -0
  323. package/dist/pine-core/p-bff583bd.system.js +2 -0
  324. package/dist/pine-core/p-bff583bd.system.js.map +1 -0
  325. package/dist/pine-core/p-c0f9dbe1.system.entry.js +2 -0
  326. package/dist/pine-core/p-c0f9dbe1.system.entry.js.map +1 -0
  327. package/dist/pine-core/p-c4dbae0e.system.js +2 -0
  328. package/dist/pine-core/p-c4dbae0e.system.js.map +1 -0
  329. package/dist/pine-core/p-c6d878f8.entry.js +2 -0
  330. package/dist/pine-core/p-c6d878f8.entry.js.map +1 -0
  331. package/dist/pine-core/p-c8a41b43.system.entry.js +2 -0
  332. package/dist/pine-core/p-c8a41b43.system.entry.js.map +1 -0
  333. package/dist/pine-core/p-d3e173ea.system.entry.js +2 -0
  334. package/dist/pine-core/p-d3e173ea.system.entry.js.map +1 -0
  335. package/dist/pine-core/p-f09892d3.system.entry.js +2 -0
  336. package/dist/pine-core/p-f09892d3.system.entry.js.map +1 -0
  337. package/dist/pine-core/p-f168654a.entry.js +2 -0
  338. package/dist/pine-core/p-f168654a.entry.js.map +1 -0
  339. package/dist/pine-core/p-f1d7f16f.js +2 -0
  340. package/dist/pine-core/p-f1d7f16f.js.map +1 -0
  341. package/dist/pine-core/p-f2c3035d.system.entry.js +2 -0
  342. package/dist/pine-core/p-f2c3035d.system.entry.js.map +1 -0
  343. package/dist/pine-core/p-f3af6d74.system.entry.js +2 -0
  344. package/dist/pine-core/p-f3af6d74.system.entry.js.map +1 -0
  345. package/dist/pine-core/p-fa5d4e73.system.js +3 -0
  346. package/dist/pine-core/p-fa5d4e73.system.js.map +1 -0
  347. package/dist/pine-core/p-fba29e90.entry.js +2 -0
  348. package/dist/pine-core/p-fba29e90.entry.js.map +1 -0
  349. package/dist/pine-core/pine-core.css +1 -0
  350. package/dist/pine-core/pine-core.esm.js +2 -0
  351. package/dist/pine-core/pine-core.esm.js.map +1 -0
  352. package/dist/pine-core/pine-core.js +127 -0
  353. package/dist/pine-core/svg/access-key.svg +1 -0
  354. package/dist/pine-core/svg/add-circle.svg +1 -0
  355. package/dist/pine-core/svg/add-image.svg +1 -0
  356. package/dist/pine-core/svg/add-small.svg +1 -0
  357. package/dist/pine-core/svg/add.svg +1 -0
  358. package/dist/pine-core/svg/ai-sparkle.svg +1 -0
  359. package/dist/pine-core/svg/ai-writer-filled.svg +1 -0
  360. package/dist/pine-core/svg/ai-writer.svg +1 -0
  361. package/dist/pine-core/svg/align-center.svg +1 -0
  362. package/dist/pine-core/svg/align-justify.svg +1 -0
  363. package/dist/pine-core/svg/align-left.svg +1 -0
  364. package/dist/pine-core/svg/align-right.svg +1 -0
  365. package/dist/pine-core/svg/analytics-filled.svg +1 -0
  366. package/dist/pine-core/svg/analytics-outline.svg +1 -0
  367. package/dist/pine-core/svg/app-store.svg +1 -0
  368. package/dist/pine-core/svg/archive.svg +1 -0
  369. package/dist/pine-core/svg/arrow-corner.svg +1 -0
  370. package/dist/pine-core/svg/arrow-down.svg +1 -0
  371. package/dist/pine-core/svg/arrow-left.svg +1 -0
  372. package/dist/pine-core/svg/arrow-right.svg +1 -0
  373. package/dist/pine-core/svg/arrow-up.svg +1 -0
  374. package/dist/pine-core/svg/assessment.svg +1 -0
  375. package/dist/pine-core/svg/at-sign.svg +1 -0
  376. package/dist/pine-core/svg/attach.svg +1 -0
  377. package/dist/pine-core/svg/automations.svg +1 -0
  378. package/dist/pine-core/svg/ban.svg +1 -0
  379. package/dist/pine-core/svg/bank.svg +1 -0
  380. package/dist/pine-core/svg/bell.svg +1 -0
  381. package/dist/pine-core/svg/blog-filled.svg +1 -0
  382. package/dist/pine-core/svg/blog.svg +1 -0
  383. package/dist/pine-core/svg/bold.svg +1 -0
  384. package/dist/pine-core/svg/broadcast.svg +1 -0
  385. package/dist/pine-core/svg/calendar-date.svg +1 -0
  386. package/dist/pine-core/svg/calendar-schedule.svg +1 -0
  387. package/dist/pine-core/svg/calendar-simple.svg +1 -0
  388. package/dist/pine-core/svg/card-bw-amex.svg +1 -0
  389. package/dist/pine-core/svg/card-bw-apple-card.svg +1 -0
  390. package/dist/pine-core/svg/card-bw-diners-club.svg +1 -0
  391. package/dist/pine-core/svg/card-bw-discover.svg +1 -0
  392. package/dist/pine-core/svg/card-bw-gpay-card.svg +1 -0
  393. package/dist/pine-core/svg/card-bw-mastercard.svg +1 -0
  394. package/dist/pine-core/svg/card-bw-paypal.svg +1 -0
  395. package/dist/pine-core/svg/card-bw-stripe.svg +1 -0
  396. package/dist/pine-core/svg/card-bw-visa.svg +1 -0
  397. package/dist/pine-core/svg/card-update.svg +1 -0
  398. package/dist/pine-core/svg/caret-down.svg +1 -0
  399. package/dist/pine-core/svg/caret-left.svg +1 -0
  400. package/dist/pine-core/svg/caret-right.svg +1 -0
  401. package/dist/pine-core/svg/caret-up.svg +1 -0
  402. package/dist/pine-core/svg/cart-add.svg +1 -0
  403. package/dist/pine-core/svg/cart.svg +1 -0
  404. package/dist/pine-core/svg/certificate.svg +1 -0
  405. package/dist/pine-core/svg/check-circle-filled.svg +1 -0
  406. package/dist/pine-core/svg/check-circle.svg +1 -0
  407. package/dist/pine-core/svg/check.svg +1 -0
  408. package/dist/pine-core/svg/circle-1.svg +1 -0
  409. package/dist/pine-core/svg/circle-2.svg +1 -0
  410. package/dist/pine-core/svg/circle-3.svg +1 -0
  411. package/dist/pine-core/svg/circle-4.svg +1 -0
  412. package/dist/pine-core/svg/circle-5.svg +1 -0
  413. package/dist/pine-core/svg/circle-6.svg +1 -0
  414. package/dist/pine-core/svg/circle-7.svg +1 -0
  415. package/dist/pine-core/svg/circle-8.svg +1 -0
  416. package/dist/pine-core/svg/circle-9.svg +1 -0
  417. package/dist/pine-core/svg/clock.svg +1 -0
  418. package/dist/pine-core/svg/closed-captions.svg +1 -0
  419. package/dist/pine-core/svg/cloud-upload.svg +1 -0
  420. package/dist/pine-core/svg/code.svg +1 -0
  421. package/dist/pine-core/svg/color.svg +1 -0
  422. package/dist/pine-core/svg/columns.svg +1 -0
  423. package/dist/pine-core/svg/comment.svg +1 -0
  424. package/dist/pine-core/svg/connect.svg +1 -0
  425. package/dist/pine-core/svg/contact.svg +1 -0
  426. package/dist/pine-core/svg/contacts-filled.svg +1 -0
  427. package/dist/pine-core/svg/contacts-outline.svg +1 -0
  428. package/dist/pine-core/svg/conversation.svg +1 -0
  429. package/dist/pine-core/svg/copy.svg +1 -0
  430. package/dist/pine-core/svg/coupon.svg +1 -0
  431. package/dist/pine-core/svg/course.svg +1 -0
  432. package/dist/pine-core/svg/creator-studio-filled.svg +1 -0
  433. package/dist/pine-core/svg/creator-studio.svg +1 -0
  434. package/dist/pine-core/svg/credit-card.svg +1 -0
  435. package/dist/pine-core/svg/custom-field.svg +1 -0
  436. package/dist/pine-core/svg/customize.svg +1 -0
  437. package/dist/pine-core/svg/danger-filled.svg +1 -0
  438. package/dist/pine-core/svg/danger.svg +1 -0
  439. package/dist/pine-core/svg/dashboard-filled.svg +1 -0
  440. package/dist/pine-core/svg/dashboard-outline.svg +1 -0
  441. package/dist/pine-core/svg/delete-circle.svg +1 -0
  442. package/dist/pine-core/svg/delete-key.svg +1 -0
  443. package/dist/pine-core/svg/delete-x.svg +1 -0
  444. package/dist/pine-core/svg/dollar-sign.svg +1 -0
  445. package/dist/pine-core/svg/dot-menu-horizontal.svg +1 -0
  446. package/dist/pine-core/svg/down-small.svg +1 -0
  447. package/dist/pine-core/svg/download.svg +1 -0
  448. package/dist/pine-core/svg/downsell.svg +1 -0
  449. package/dist/pine-core/svg/draft.svg +1 -0
  450. package/dist/pine-core/svg/drop.svg +1 -0
  451. package/dist/pine-core/svg/duplicate.svg +1 -0
  452. package/dist/pine-core/svg/email-activity.svg +1 -0
  453. package/dist/pine-core/svg/emoji.svg +1 -0
  454. package/dist/pine-core/svg/enlarge-vertical.svg +1 -0
  455. package/dist/pine-core/svg/enlarge.svg +1 -0
  456. package/dist/pine-core/svg/expand.svg +1 -0
  457. package/dist/pine-core/svg/facebook-2.svg +1 -0
  458. package/dist/pine-core/svg/facebook.svg +1 -0
  459. package/dist/pine-core/svg/favorite.svg +1 -0
  460. package/dist/pine-core/svg/feedback.svg +1 -0
  461. package/dist/pine-core/svg/file-money.svg +1 -0
  462. package/dist/pine-core/svg/file.svg +1 -0
  463. package/dist/pine-core/svg/filter.svg +1 -0
  464. package/dist/pine-core/svg/flag.svg +1 -0
  465. package/dist/pine-core/svg/flash-filled.svg +1 -0
  466. package/dist/pine-core/svg/flash.svg +1 -0
  467. package/dist/pine-core/svg/folder-group.svg +1 -0
  468. package/dist/pine-core/svg/folder.svg +1 -0
  469. package/dist/pine-core/svg/form-field.svg +1 -0
  470. package/dist/pine-core/svg/form-filled.svg +1 -0
  471. package/dist/pine-core/svg/form.svg +1 -0
  472. package/dist/pine-core/svg/fullscreen.svg +1 -0
  473. package/dist/pine-core/svg/funnel.svg +1 -0
  474. package/dist/pine-core/svg/grant-offer.svg +1 -0
  475. package/dist/pine-core/svg/handle-2-vertical.svg +1 -0
  476. package/dist/pine-core/svg/handle-2.svg +1 -0
  477. package/dist/pine-core/svg/handle.svg +1 -0
  478. package/dist/pine-core/svg/hashtag.svg +1 -0
  479. package/dist/pine-core/svg/hd-video.svg +1 -0
  480. package/dist/pine-core/svg/heading-large.svg +1 -0
  481. package/dist/pine-core/svg/heading-small.svg +1 -0
  482. package/dist/pine-core/svg/headset.svg +1 -0
  483. package/dist/pine-core/svg/help-filled.svg +1 -0
  484. package/dist/pine-core/svg/help-outline.svg +1 -0
  485. package/dist/pine-core/svg/home-alt.svg +1 -0
  486. package/dist/pine-core/svg/horizontal-line.svg +1 -0
  487. package/dist/pine-core/svg/image.svg +1 -0
  488. package/dist/pine-core/svg/info-circle-filled.svg +1 -0
  489. package/dist/pine-core/svg/info-circle.svg +1 -0
  490. package/dist/pine-core/svg/instagram.svg +1 -0
  491. package/dist/pine-core/svg/ios-battery.svg +1 -0
  492. package/dist/pine-core/svg/ios-data.svg +1 -0
  493. package/dist/pine-core/svg/ios-wifi.svg +1 -0
  494. package/dist/pine-core/svg/italic.svg +1 -0
  495. package/dist/pine-core/svg/kajabi-filled.svg +1 -0
  496. package/dist/pine-core/svg/kajabi-outlined.svg +1 -0
  497. package/dist/pine-core/svg/lab.svg +1 -0
  498. package/dist/pine-core/svg/launch.svg +1 -0
  499. package/dist/pine-core/svg/layout-grid.svg +1 -0
  500. package/dist/pine-core/svg/layout-list.svg +1 -0
  501. package/dist/pine-core/svg/left-small.svg +1 -0
  502. package/dist/pine-core/svg/linkedin.svg +1 -0
  503. package/dist/pine-core/svg/list-bullet.svg +1 -0
  504. package/dist/pine-core/svg/list-numbers.svg +1 -0
  505. package/dist/pine-core/svg/location.svg +1 -0
  506. package/dist/pine-core/svg/lock-alt.svg +1 -0
  507. package/dist/pine-core/svg/lock.svg +1 -0
  508. package/dist/pine-core/svg/logo-afterpay.svg +1 -0
  509. package/dist/pine-core/svg/loop.svg +1 -0
  510. package/dist/pine-core/svg/mail-filled.svg +1 -0
  511. package/dist/pine-core/svg/mail.svg +1 -0
  512. package/dist/pine-core/svg/map.svg +1 -0
  513. package/dist/pine-core/svg/mapped.svg +1 -0
  514. package/dist/pine-core/svg/margin-left.svg +1 -0
  515. package/dist/pine-core/svg/margin-right.svg +1 -0
  516. package/dist/pine-core/svg/marker-filled.svg +1 -0
  517. package/dist/pine-core/svg/marker.svg +1 -0
  518. package/dist/pine-core/svg/marketing-filled.svg +1 -0
  519. package/dist/pine-core/svg/marketing-outline.svg +1 -0
  520. package/dist/pine-core/svg/menu-2.svg +1 -0
  521. package/dist/pine-core/svg/menu-alt.svg +1 -0
  522. package/dist/pine-core/svg/menu.svg +1 -0
  523. package/dist/pine-core/svg/merge.svg +1 -0
  524. package/dist/pine-core/svg/microphone-off.svg +1 -0
  525. package/dist/pine-core/svg/microphone.svg +1 -0
  526. package/dist/pine-core/svg/move-left.svg +1 -0
  527. package/dist/pine-core/svg/move-right.svg +1 -0
  528. package/dist/pine-core/svg/multi-pay.svg +1 -0
  529. package/dist/pine-core/svg/newsletter.svg +1 -0
  530. package/dist/pine-core/svg/one-off-session.svg +1 -0
  531. package/dist/pine-core/svg/one-time.svg +1 -0
  532. package/dist/pine-core/svg/partners-filled.svg +1 -0
  533. package/dist/pine-core/svg/partners-outline.svg +1 -0
  534. package/dist/pine-core/svg/pause-circle.svg +1 -0
  535. package/dist/pine-core/svg/pause.svg +1 -0
  536. package/dist/pine-core/svg/payout.svg +1 -0
  537. package/dist/pine-core/svg/pen.svg +1 -0
  538. package/dist/pine-core/svg/phone-portrait.svg +1 -0
  539. package/dist/pine-core/svg/phone-toolbar.svg +1 -0
  540. package/dist/pine-core/svg/play-circle.svg +1 -0
  541. package/dist/pine-core/svg/play-outline.svg +1 -0
  542. package/dist/pine-core/svg/play-store.svg +1 -0
  543. package/dist/pine-core/svg/play.svg +1 -0
  544. package/dist/pine-core/svg/plug.svg +1 -0
  545. package/dist/pine-core/svg/premium.svg +1 -0
  546. package/dist/pine-core/svg/present.svg +1 -0
  547. package/dist/pine-core/svg/preview-off.svg +1 -0
  548. package/dist/pine-core/svg/preview-on.svg +1 -0
  549. package/dist/pine-core/svg/products-filled.svg +1 -0
  550. package/dist/pine-core/svg/products-outline.svg +1 -0
  551. package/dist/pine-core/svg/question-circle.svg +1 -0
  552. package/dist/pine-core/svg/quote.svg +1 -0
  553. package/dist/pine-core/svg/redo.svg +1 -0
  554. package/dist/pine-core/svg/refresh.svg +1 -0
  555. package/dist/pine-core/svg/remove-circle.svg +1 -0
  556. package/dist/pine-core/svg/remove.svg +1 -0
  557. package/dist/pine-core/svg/rename.svg +1 -0
  558. package/dist/pine-core/svg/reset-password.svg +1 -0
  559. package/dist/pine-core/svg/restore.svg +1 -0
  560. package/dist/pine-core/svg/right-small.svg +1 -0
  561. package/dist/pine-core/svg/round-dollar.svg +1 -0
  562. package/dist/pine-core/svg/rows.svg +1 -0
  563. package/dist/pine-core/svg/sales-filled.svg +1 -0
  564. package/dist/pine-core/svg/sales-outline.svg +1 -0
  565. package/dist/pine-core/svg/scissor.svg +1 -0
  566. package/dist/pine-core/svg/screen-share-off.svg +1 -0
  567. package/dist/pine-core/svg/screen-share-on.svg +1 -0
  568. package/dist/pine-core/svg/search-small.svg +1 -0
  569. package/dist/pine-core/svg/search.svg +1 -0
  570. package/dist/pine-core/svg/send-message.svg +1 -0
  571. package/dist/pine-core/svg/sequences.svg +1 -0
  572. package/dist/pine-core/svg/series.svg +1 -0
  573. package/dist/pine-core/svg/settings-filled.svg +1 -0
  574. package/dist/pine-core/svg/settings-outline.svg +1 -0
  575. package/dist/pine-core/svg/share.svg +1 -0
  576. package/dist/pine-core/svg/skipped.svg +1 -0
  577. package/dist/pine-core/svg/slash-divider.svg +1 -0
  578. package/dist/pine-core/svg/sparkle-filled.svg +1 -0
  579. package/dist/pine-core/svg/sparkle.svg +1 -0
  580. package/dist/pine-core/svg/speaker.svg +1 -0
  581. package/dist/pine-core/svg/stack.svg +1 -0
  582. package/dist/pine-core/svg/star.svg +1 -0
  583. package/dist/pine-core/svg/stop.svg +1 -0
  584. package/dist/pine-core/svg/stopwatch.svg +1 -0
  585. package/dist/pine-core/svg/strikethrough.svg +1 -0
  586. package/dist/pine-core/svg/subscript.svg +1 -0
  587. package/dist/pine-core/svg/subscriptions.svg +1 -0
  588. package/dist/pine-core/svg/super-admin.svg +1 -0
  589. package/dist/pine-core/svg/superscript.svg +1 -0
  590. package/dist/pine-core/svg/sync.svg +1 -0
  591. package/dist/pine-core/svg/tablet-landscape.svg +1 -0
  592. package/dist/pine-core/svg/tablet-portrait.svg +1 -0
  593. package/dist/pine-core/svg/text-styles.svg +1 -0
  594. package/dist/pine-core/svg/theme-store-filled.svg +1 -0
  595. package/dist/pine-core/svg/theme-store.svg +1 -0
  596. package/dist/pine-core/svg/thumbs-down-filled.svg +1 -0
  597. package/dist/pine-core/svg/thumbs-down.svg +1 -0
  598. package/dist/pine-core/svg/thumbs-up-filled.svg +1 -0
  599. package/dist/pine-core/svg/thumbs-up.svg +1 -0
  600. package/dist/pine-core/svg/tiktok.svg +1 -0
  601. package/dist/pine-core/svg/trash.svg +1 -0
  602. package/dist/pine-core/svg/twitter.svg +1 -0
  603. package/dist/pine-core/svg/underline.svg +1 -0
  604. package/dist/pine-core/svg/undo.svg +1 -0
  605. package/dist/pine-core/svg/unlock.svg +1 -0
  606. package/dist/pine-core/svg/unmapped.svg +1 -0
  607. package/dist/pine-core/svg/up-small.svg +1 -0
  608. package/dist/pine-core/svg/upload.svg +1 -0
  609. package/dist/pine-core/svg/url.svg +1 -0
  610. package/dist/pine-core/svg/user-filled.svg +1 -0
  611. package/dist/pine-core/svg/user.svg +1 -0
  612. package/dist/pine-core/svg/users-wm.svg +1 -0
  613. package/dist/pine-core/svg/users.svg +1 -0
  614. package/dist/pine-core/svg/video-off.svg +1 -0
  615. package/dist/pine-core/svg/video-on.svg +1 -0
  616. package/dist/pine-core/svg/warning-filled.svg +1 -0
  617. package/dist/pine-core/svg/warning.svg +1 -0
  618. package/dist/pine-core/svg/website-filled.svg +1 -0
  619. package/dist/pine-core/svg/website-outline.svg +1 -0
  620. package/dist/pine-core/svg/window-paragraph.svg +1 -0
  621. package/dist/pine-core/svg/world.svg +1 -0
  622. package/dist/pine-core/svg/wrench.svg +1 -0
  623. package/dist/pine-core/svg/youtube.svg +1 -0
  624. package/dist/scripts/build-tokens.js +160 -0
  625. package/dist/scripts/build-tokens.js.map +1 -0
  626. package/dist/types/components/_internal/pds-label/pds-label.d.ts +22 -0
  627. package/dist/types/components/pds-avatar/pds-avatar.d.ts +42 -0
  628. package/dist/types/components/pds-button/pds-button.d.ts +36 -0
  629. package/dist/types/components/pds-checkbox/pds-checkbox.d.ts +55 -0
  630. package/dist/types/components/pds-chip/pds-chip.d.ts +39 -0
  631. package/dist/types/components/pds-copytext/pds-copytext.d.ts +34 -0
  632. package/dist/types/components/pds-divider/pds-divider.d.ts +17 -0
  633. package/dist/types/components/pds-image/pds-image.d.ts +42 -0
  634. package/dist/types/components/pds-input/pds-input.d.ts +59 -0
  635. package/dist/types/components/pds-link/pds-link.d.ts +34 -0
  636. package/dist/types/components/pds-progress/pds-progress.d.ts +31 -0
  637. package/dist/types/components/pds-radio/pds-radio.d.ts +54 -0
  638. package/dist/types/components/pds-sortable/pds-sortable-item/pds-sortable-item.d.ts +20 -0
  639. package/dist/types/components/pds-sortable/pds-sortable.d.ts +28 -0
  640. package/dist/types/components/pds-switch/pds-switch.d.ts +59 -0
  641. package/dist/types/components/pds-tabs/pds-tab/pds-tab.d.ts +35 -0
  642. package/dist/types/components/pds-tabs/pds-tabpanel/pds-tabpanel.d.ts +23 -0
  643. package/dist/types/components/pds-tabs/pds-tabs.d.ts +40 -0
  644. package/dist/types/components/pds-textarea/pds-textarea.d.ts +64 -0
  645. package/dist/types/components/pds-textarea/textarea-interface.d.ts +8 -0
  646. package/dist/types/components/pds-tooltip/pds-tooltip.d.ts +68 -0
  647. package/dist/types/components.d.ts +1566 -0
  648. package/dist/types/global/pine-ui-global.d.ts +1 -0
  649. package/dist/types/home/runner/work/pine/pine/libs/core/.stencil/scripts/build-tokens.d.ts +1 -0
  650. package/dist/types/index.d.ts +1 -0
  651. package/dist/types/interface.d.ts +17 -0
  652. package/dist/types/stencil-public-runtime.d.ts +1681 -0
  653. package/dist/types/stories/_helpers/index.d.ts +12 -0
  654. package/dist/types/utils/form.d.ts +12 -0
  655. package/dist/types/utils/overlay.d.ts +8 -0
  656. package/dist/types/utils/types.d.ts +1 -0
  657. package/dist/types/utils/utils.d.ts +2 -0
  658. package/loader/cdn.js +3 -0
  659. package/loader/index.cjs.js +3 -0
  660. package/loader/index.d.ts +21 -0
  661. package/loader/index.es2017.js +3 -0
  662. package/loader/index.js +4 -0
  663. package/loader/package.json +11 -0
  664. package/package.json +115 -0
  665. package/readme.md +75 -0
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 16" class="pdsicon"><path d="M15.8 12.526 9.485.88A1.668 1.668 0 0 0 8.8.2a1.693 1.693 0 0 0-2.284.68L.2 12.526A1.678 1.678 0 0 0 1.687 15h12.628a1.7 1.7 0 0 0 1.308-.615 1.675 1.675 0 0 0 .178-1.859ZM8 13a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm1-3.5a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-4a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v4Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path d="M8 6.667c.368 0 .667.298.667.666V10a.667.667 0 1 1-1.334 0V7.333c0-.368.299-.666.667-.666ZM8.667 12a.667.667 0 1 1-1.334 0 .667.667 0 0 1 1.334 0Z"/><path fill-rule="evenodd" d="M8 1.333c.248 0 .475.137.59.357l6.667 12.666a.666.666 0 0 1-.59.977H1.333a.666.666 0 0 1-.59-.977L7.41 1.69A.667.667 0 0 1 8 1.333ZM13.562 14 8 3.431 2.438 14h11.124Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path d="M14 0H2a2 2 0 0 0-2 2v9.333a2 2 0 0 0 2 2h4.667v1.334H4A.667.667 0 1 0 4 16h8a.667.667 0 0 0 0-1.333H9.333v-1.334H14a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2Zm.667 10.667H1.333V2A.667.667 0 0 1 2 1.333h12a.667.667 0 0 1 .667.667v8.667Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path fill-rule="evenodd" d="M2 1.333A.666.666 0 0 0 1.333 2v7.333h13.334V2A.666.666 0 0 0 14 1.333H2Zm12.667 9.334H1.333v.666c0 .369.299.667.667.667h12a.666.666 0 0 0 .667-.667v-.666ZM0 10v1.333a2 2 0 0 0 2 2h5.333v1.334H4A.667.667 0 1 0 4 16h8a.667.667 0 0 0 0-1.333H8.667v-1.334H14a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2a2 2 0 0 0-2 2v8Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path fill-rule="evenodd" d="M3.333.667H0v14.666h16V.667H3.333Zm0 1.333h-2v1.333h2V2Zm1.334 2.667H1.333V14h13.334V4.667h-10Zm0-1.334V2h10v1.333h-10Zm-2 3.334H8V12H2.667V6.667ZM4 8v2.667h2.667V8H4Zm9.333-1.333h-4V8h4V6.667Zm-4 2.666H12v1.334H9.333V9.333Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path fill-rule="evenodd" d="M5.39 1.864a6.672 6.672 0 0 0-4.024 5.47h1.986c.12-2.1.805-4.026 2.038-5.47ZM1.366 8.667a6.672 6.672 0 0 0 4.024 5.47c-1.233-1.445-1.919-3.372-2.038-5.47H1.366Zm9.244 5.47a6.672 6.672 0 0 0 4.024-5.47h-1.986c-.12 2.099-.805 4.025-2.038 5.47Zm4.024-6.804a6.672 6.672 0 0 0-4.024-5.47c1.233 1.445 1.919 3.371 2.038 5.47h1.986ZM8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0Zm-.667 14.146c-1.564-1.184-2.497-3.141-2.645-5.48h2.645v5.48ZM4.688 7.333h2.645V1.854C5.77 3.038 4.836 4.995 4.688 7.334Zm3.979 6.813v-5.48h2.645c-.148 2.339-1.08 4.295-2.645 5.48Zm0-6.813h2.645c-.148-2.338-1.08-4.295-2.645-5.479v5.48Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path fill-rule="evenodd" d="M11.228 0a6.024 6.024 0 0 1 1.694.23l1.094.312-2.387 2.377 1.455 1.448L15.44 2.02l.334 1.034a4.6 4.6 0 0 1 .08 2.55l-.003.011-.003.01a4.467 4.467 0 0 1-3.384 3.129l-.019.004-.02.003a5.165 5.165 0 0 1-1.785-.05l-5.549 6.24a2.862 2.862 0 0 1-4.28.166l-.002-.003a2.951 2.951 0 0 1 .177-4.232l.004-.002 6.252-5.512a3.482 3.482 0 0 1-.104-.877 4.416 4.416 0 0 1 4.037-4.49L11.202 0h.026Zm.037 1.333a3.083 3.083 0 0 0-2.793 3.14v.024c-.003.285.05.569.158.833l.177.438-6.932 6.11-.001.001a1.617 1.617 0 0 0-.097 2.318 1.529 1.529 0 0 0 2.29-.097l.01-.012 6.116-6.878.405.119a3.832 3.832 0 0 0 1.615.116 3.134 3.134 0 0 0 2.353-2.18 3.26 3.26 0 0 0 .091-.583l-1.573 1.566-3.345-3.33 1.592-1.584h-.066Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path d="M15.867 4.8s-.134-1.133-.667-1.6c-.6-.667-1.267-.667-1.6-.667C11.333 2.4 8 2.4 8 2.4s-3.333 0-5.6.133C2.067 2.6 1.4 2.6.8 3.2.333 3.667.133 4.8.133 4.8S0 6.067 0 7.4v1.2c0 1.267.133 2.6.133 2.6s.134 1.133.667 1.6c.6.667 1.4.6 1.733.667C3.8 13.6 8 13.6 8 13.6s3.333 0 5.6-.2c.333-.067 1-.067 1.6-.667.467-.466.667-1.6.667-1.6S16 9.867 16 8.533v-1.2c0-1.266-.133-2.533-.133-2.533Zm-9.534 5.267V5.6l4.334 2.267-4.334 2.2Z"/></svg>
@@ -0,0 +1,160 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s)
4
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
+ t[p] = s[p];
6
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
+ t[p[i]] = s[p[i]];
10
+ }
11
+ return t;
12
+ };
13
+ import fs from "fs-extra";
14
+ import tokens from "../tokens/tokens.json";
15
+ // This is specific to ordering short-hand
16
+ // CSS properties that require a specific order
17
+ const propertyOrder = {
18
+ "border": ['width', 'style', 'color'],
19
+ "box-shadow": ['x', 'y', 'blur', 'spread', 'color']
20
+ };
21
+ /**
22
+ * Runs the process to build tokens from JSON and save them to their
23
+ * appropriate files.
24
+ *
25
+ * @param data Tokens data in JSON format
26
+ */
27
+ const build = (data) => {
28
+ try {
29
+ Object.keys(data).map((cssPropertyName) => {
30
+ const cssVariables = tokensToCss(data[cssPropertyName], cssPropertyName, `--${cssPropertyName}`).replaceAll('', '');
31
+ const cssClass = `:root {\n${cssVariables.replaceAll("--", " --pine-")}}\n`;
32
+ saveTokens(cssPropertyName, cssClass);
33
+ });
34
+ }
35
+ catch (e) {
36
+ console.log("Provide a correct argument - a relative path to design tokens.\n", e);
37
+ }
38
+ };
39
+ /*** Helper Methods ***/
40
+ /**
41
+ * Generates the custom shorthand for the CSS Custom Property.
42
+ *
43
+ * @param customPropName Name of the Custom Property
44
+ * @param cssPropertyName Name of the CSS Property
45
+ * @param value The value attribute of the custom property
46
+ * @returns String. Formatted custom properties with appropriate shorthand values
47
+ */
48
+ const buildShorthand = (customPropName, cssPropertyName, value) => {
49
+ if (!value.hasOwnProperty('value')) {
50
+ return '';
51
+ }
52
+ const { type } = value, attrs = __rest(value, ["type"]);
53
+ if (!Array.isArray(attrs.value)) {
54
+ const _a = attrs.value, { type } = _a, data = __rest(_a, ["type"]);
55
+ return customPropName + `: ${determinePropertyOrder(cssPropertyName, data)}`;
56
+ }
57
+ const flattened = attrs.value.flat();
58
+ const newCustomProperty = customPropName + `: ${flattened.map(v => {
59
+ const { type } = v, data = __rest(v, ["type"]);
60
+ return determinePropertyOrder(cssPropertyName, data);
61
+ }).join(', ')}
62
+ `;
63
+ return newCustomProperty;
64
+ };
65
+ /**
66
+ * Generates a list of values in a defined order determined by a look-up
67
+ * in `propertyOrder` or in order which the data keys are listed.
68
+ *
69
+ * @param cssProperty Name of the CSS Property
70
+ * @param data An object of key / value pairs
71
+ * @returns String. Formatted properties concatenated by a space
72
+ */
73
+ const determinePropertyOrder = (cssProperty, data) => {
74
+ if (Object.keys(propertyOrder).includes(cssProperty)) {
75
+ const propNames = propertyOrder[cssProperty];
76
+ const propValues = [];
77
+ propNames.forEach(prop => {
78
+ propValues.push(data[prop]);
79
+ });
80
+ return getValues(propValues);
81
+ }
82
+ else {
83
+ return getValues(data);
84
+ }
85
+ };
86
+ /**
87
+ * Reads the index.scss file if it exists and adds an import statement per category name.
88
+ * If the file doesn't exist, it will be created.
89
+ *
90
+ * @param categoryName The name of the token category
91
+ */
92
+ const formatIndexFile = (categoryName) => {
93
+ const indexFile = `${process.cwd()}/src/global/styles/tokens/index.scss`;
94
+ const importLine = `@use '${categoryName}';\n`;
95
+ if (!fs.existsSync(indexFile)) {
96
+ fs.writeFileSync(indexFile, importLine);
97
+ }
98
+ else {
99
+ const data = fs.readFileSync(indexFile);
100
+ if (data.includes(importLine)) {
101
+ return;
102
+ }
103
+ else {
104
+ fs.appendFileSync(indexFile, importLine);
105
+ }
106
+ }
107
+ };
108
+ /**
109
+ * Receives values of CSS property names and joins them.
110
+ *
111
+ * @param data Array data to be joined
112
+ * @returns CSS property values joined by a space
113
+ */
114
+ const getValues = (data) => Object.values(data).join(' ');
115
+ /**
116
+ * Saves formatted tokens to their own SCSS partial files.
117
+ *
118
+ * @param categoryName The name of the token category
119
+ * @param tokens Formatted tokens data as CSS custom properties
120
+ */
121
+ const saveTokens = async (categoryName, tokens) => {
122
+ try {
123
+ const path = `${process.cwd()}/src/global/styles/tokens`;
124
+ await fs.writeFile(`${path}/_${categoryName}.scss`, tokens);
125
+ await formatIndexFile(categoryName);
126
+ }
127
+ catch (e) {
128
+ console.log("There was an error while saving a file.\n", e);
129
+ }
130
+ };
131
+ /**
132
+ * Takes the JSON data and converts it to formatted CSS
133
+ * custom properties.
134
+ *
135
+ * @param tokens Tokens data in JSON format
136
+ * @param cssPropertyName Name of the css property
137
+ * @param base Base string to format custom properties
138
+ * @returns Formatted CSS with all custom properties
139
+ */
140
+ const tokensToCss = (tokens, cssPropertyName, base = `-`, prevBase = '') => Object.entries(tokens).reduce((css, [key, value]) => {
141
+ let newBase = base + `-${key}`;
142
+ if (!['description', 'type'].includes(key)) {
143
+ newBase = newBase.replace(/\-value/, '');
144
+ if (typeof value !== "object") {
145
+ return css + newBase + `: ${value};\n`;
146
+ }
147
+ // Prevents a duplicate entry based on recursion
148
+ if (newBase !== prevBase) {
149
+ if (['box-shadow', 'border'].find(v => newBase.includes(v) && newBase.indexOf('-radius') < 0)) {
150
+ const shorthand = `${buildShorthand(newBase, cssPropertyName, value)}`;
151
+ if (shorthand !== '')
152
+ return css + shorthand.trim() + ';\n' + tokensToCss(value, cssPropertyName, newBase, newBase);
153
+ }
154
+ }
155
+ return css + tokensToCss(value, cssPropertyName, newBase);
156
+ }
157
+ return css;
158
+ }, ``);
159
+ build(tokens['core']);
160
+ //# sourceMappingURL=build-tokens.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"build-tokens.js","sourceRoot":"","sources":["../../scripts/build-tokens.ts"],"names":[],"mappings":"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","sourcesContent":["import fs from 'fs-extra';\nimport tokens from '../tokens/tokens.json';\n\n// This is specific to ordering short-hand\n// CSS properties that require a specific order\nconst propertyOrder = {\n\t\"border\": ['width', 'style', 'color'],\n\t\"box-shadow\": ['x', 'y', 'blur', 'spread', 'color']\n};\n\n/**\n * Runs the process to build tokens from JSON and save them to their\n * appropriate files.\n *\n * @param data Tokens data in JSON format\n */\nconst build = (data: object) => {\n\n\ttry {\n\t\tObject.keys(data).map((cssPropertyName) => {\n\t\t\tconst cssVariables = tokensToCss(data[cssPropertyName], cssPropertyName, `--${cssPropertyName}`, ).replaceAll('', '');\n\t\t\tconst cssClass = `:root {\\n${cssVariables.replaceAll(\"--\", \" --pine-\")}}\\n`\n\t\t\tsaveTokens(cssPropertyName, cssClass)\n\t\t})\n\n\t} catch (e) {\n\t\tconsole.log(\n\t\t\t\"Provide a correct argument - a relative path to design tokens.\\n\",\n\t\t\te\n\t\t)\n\t}\n}\n\n/*** Helper Methods ***/\n\n/**\n * Generates the custom shorthand for the CSS Custom Property.\n *\n * @param customPropName Name of the Custom Property\n * @param cssPropertyName Name of the CSS Property\n * @param value The value attribute of the custom property\n * @returns String. Formatted custom properties with appropriate shorthand values\n */\nconst buildShorthand = (customPropName: string, cssPropertyName, value) => {\n if (!value.hasOwnProperty('value')) {\n return '';\n }\n\n const {type, ...attrs} = value;\n\n if ( !Array.isArray(attrs.value)) {\n const {type, ...data} = attrs.value;\n return customPropName + `: ${determinePropertyOrder(cssPropertyName, data)}`;\n }\n\n const flattened = attrs.value.flat();\n\n const newCustomProperty = customPropName + `: ${\n flattened.map(v => {\n const {type, ...data} = v;\n\n return determinePropertyOrder(cssPropertyName, data);\n }).join(', ')}\n `\n return newCustomProperty;\n}\n\n/**\n * Generates a list of values in a defined order determined by a look-up\n * in `propertyOrder` or in order which the data keys are listed.\n *\n * @param cssProperty Name of the CSS Property\n * @param data An object of key / value pairs\n * @returns String. Formatted properties concatenated by a space\n */\nconst determinePropertyOrder = (cssProperty, data) => {\n if (Object.keys(propertyOrder).includes(cssProperty)) {\n const propNames = propertyOrder[cssProperty];\n const propValues = [];\n propNames.forEach(prop => {\n propValues.push(data[prop])\n })\n return getValues(propValues)\n }\n else {\n return getValues(data)\n }\n}\n\n/**\n * Reads the index.scss file if it exists and adds an import statement per category name.\n * If the file doesn't exist, it will be created.\n *\n * @param categoryName The name of the token category\n */\nconst formatIndexFile = (categoryName: string) => {\n\tconst indexFile = `${process.cwd()}/src/global/styles/tokens/index.scss`;\n\tconst importLine = `@use '${categoryName}';\\n`;\n\tif (!fs.existsSync(indexFile)) {\n\t\tfs.writeFileSync(indexFile, importLine);\n\t} else {\n\t\tconst data = fs.readFileSync(indexFile);\n\t\tif (data.includes(importLine)) {\n\t\t\treturn;\n\t\t} else {\n\t\t\tfs.appendFileSync(indexFile, importLine);\n\t\t}\n\t}\n}\n\n/**\n * Receives values of CSS property names and joins them.\n *\n * @param data Array data to be joined\n * @returns CSS property values joined by a space\n */\nconst getValues = (data) => Object.values(data).join(' ');\n\n/**\n * Saves formatted tokens to their own SCSS partial files.\n *\n * @param categoryName The name of the token category\n * @param tokens Formatted tokens data as CSS custom properties\n */\nconst saveTokens = async (categoryName: string, tokens: string) => {\n try {\n\t\tconst path = `${process.cwd()}/src/global/styles/tokens`;\n\n await fs.writeFile(`${path}/_${categoryName}.scss`, tokens);\n\t\tawait formatIndexFile(categoryName);\n } catch (e) {\n\t\tconsole.log(\"There was an error while saving a file.\\n\", e)\n }\n}\n\n\n/**\n * Takes the JSON data and converts it to formatted CSS\n * custom properties.\n *\n * @param tokens Tokens data in JSON format\n * @param cssPropertyName Name of the css property\n * @param base Base string to format custom properties\n * @returns Formatted CSS with all custom properties\n */\nconst tokensToCss = (tokens: object, cssPropertyName, base = `-`, prevBase = '') =>\n Object.entries(tokens).reduce((css, [key, value]) => {\n\t\tlet newBase = base + `-${key}`;\n\t\tif (!['description', 'type'].includes(key)) {\n\t\t\tnewBase = newBase.replace(/\\-value/, '');\n\t\t\tif (typeof value !== \"object\") {\n\t\t\t\treturn css + newBase + `: ${value};\\n`\n\t\t\t}\n\n\t\t\t// Prevents a duplicate entry based on recursion\n\t\t\tif ( newBase !== prevBase) {\n\t\t\t\tif (['box-shadow', 'border'].find(v => newBase.includes(v) && newBase.indexOf('-radius') < 0)) {\n\t\t\t\t\tconst shorthand = `${buildShorthand(newBase, cssPropertyName, value)}`;\n\t\t\t\t\tif ( shorthand !== '')\n\t\t\t\t\t\treturn css + shorthand.trim() + ';\\n' + tokensToCss(value, cssPropertyName, newBase, newBase);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn css + tokensToCss(value, cssPropertyName, newBase)\n\t\t}\n\t\treturn css\n }, ``);\n\nbuild(tokens['core']);\n"]}
@@ -0,0 +1,22 @@
1
+ import { FunctionalComponent } from '../../../stencil-public-runtime';
2
+ /**
3
+ * Props for the input label.
4
+ */
5
+ interface LabelProps {
6
+ classNames?: string;
7
+ /**
8
+ * Corresponds to the 'for' attribute on a label. Useful for
9
+ * associating a label with a specific input.
10
+ */
11
+ htmlFor: string;
12
+ /**
13
+ * Label text displayed.
14
+ */
15
+ text: string;
16
+ }
17
+ /**
18
+ * Returns markup for an input label.
19
+ * @internal
20
+ */
21
+ export declare const PdsLabel: FunctionalComponent<LabelProps>;
22
+ export {};
@@ -0,0 +1,42 @@
1
+ export declare class PdsAvatar {
2
+ /**
3
+ * The alt for a custom user image.
4
+ * @defaultValue null
5
+ */
6
+ alt?: string | null;
7
+ /**
8
+ * Determines whether the badge is visible or not.
9
+ * @defaultValue false
10
+ */
11
+ badge?: boolean;
12
+ /**
13
+ * A unique identifier used for the underlying component `id` attribute.
14
+ */
15
+ componentId: string;
16
+ /**
17
+ * Determines whether the avatar functions as a dropdown trigger.
18
+ * @defaultValue false
19
+ */
20
+ dropdown?: boolean;
21
+ /**
22
+ * The src for a custom user image.
23
+ * @defaultValue null
24
+ */
25
+ image?: string | null;
26
+ /**
27
+ * Size of the avatar. Value can be preset or custom.
28
+ * @defaultValue lg
29
+ */
30
+ size?: 'xl' | 'lg' | 'md' | 'sm' | 'xs' | string;
31
+ /**
32
+ * Determines the variant of avatar. Changes appearance accordingly.
33
+ * @defaultValue customer
34
+ */
35
+ variant?: 'customer' | 'admin';
36
+ private avatarSize;
37
+ private renderAvatar;
38
+ private renderBadge;
39
+ private renderIconOrImage;
40
+ private classNames;
41
+ render(): any;
42
+ }
@@ -0,0 +1,36 @@
1
+ export declare class PdsButton {
2
+ el: HTMLPdsButtonElement;
3
+ /**
4
+ * A unique identifier used for the underlying component `id` attribute.
5
+ */
6
+ componentId: string;
7
+ /**
8
+ * Toggles disabled state of button
9
+ * @defaultValue false
10
+ */
11
+ disabled?: boolean;
12
+ /**
13
+ * Displays icon before text when icon string matches an icon name
14
+ */
15
+ icon?: string;
16
+ /**
17
+ * Provides button with a submittable name
18
+ */
19
+ name?: string;
20
+ /**
21
+ * Provides button with a submittable value
22
+ */
23
+ value?: string;
24
+ /**
25
+ * Provides button with a type
26
+ * @defaultValue button
27
+ */
28
+ type?: 'button' | 'reset' | 'submit';
29
+ /**
30
+ * Sets button variant styles as outlined in Figma documentation
31
+ */
32
+ variant: 'primary' | 'secondary' | 'accent' | 'disclosure' | 'destructive' | 'unstyled';
33
+ private handleClick;
34
+ private classNames;
35
+ render(): any;
36
+ }
@@ -0,0 +1,55 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class PdsCheckbox {
3
+ /**
4
+ * It determines whether or not the checkbox is checked.
5
+ */
6
+ checked: boolean;
7
+ /**
8
+ * A unique identifier used for the underlying component `id` attribute and the label `for` attribute.
9
+ */
10
+ componentId: string;
11
+ /**
12
+ * It determines whether or not the checkbox is disabled.
13
+ */
14
+ disabled: boolean;
15
+ /**
16
+ * Displays message text describing an invalid state.
17
+ */
18
+ errorMessage: string;
19
+ /**
20
+ * String used for helper message below checkbox.
21
+ */
22
+ helperMessage: string;
23
+ /**
24
+ * If `true`, the checkbox will visually appear as indeterminate.
25
+ * Only JavaScript can set the objects `indeterminate` property. See [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes).
26
+ */
27
+ indeterminate: boolean;
28
+ /**
29
+ * It determines whether or not the checkbox is invalid.
30
+ */
31
+ invalid: boolean;
32
+ /**
33
+ * String used for label text next to checkbox.
34
+ */
35
+ label: string;
36
+ /**
37
+ * String used for checkbox `name` attribute.
38
+ */
39
+ name: string;
40
+ /**
41
+ * It determines whether or not the checkbox is required.
42
+ */
43
+ required: boolean;
44
+ /**
45
+ * The value of the checkbox that is submitted with a form.
46
+ */
47
+ value: string;
48
+ /**
49
+ * Emits a boolean indicating whether the checkbox is currently checked or unchecked.
50
+ */
51
+ pdsCheckboxChange: EventEmitter<boolean>;
52
+ private handleCheckboxChange;
53
+ private classNames;
54
+ render(): any;
55
+ }
@@ -0,0 +1,39 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class PdsChip {
3
+ /**
4
+ * A unique identifier used for the underlying component `id` attribute.
5
+ */
6
+ componentId: string;
7
+ /**
8
+ * Sets the color scheme of the chip.
9
+ * @defaultValue 'neutral'
10
+ */
11
+ sentiment: 'accent' | 'danger' | 'info' | 'neutral' | 'success' | 'warning';
12
+ /**
13
+ * Determines whether a dot should be displayed on the chip.
14
+ * @defaultValue false
15
+ */
16
+ dot: boolean;
17
+ /**
18
+ * Sets the text label content of the chip.
19
+ */
20
+ label: string;
21
+ /**
22
+ * Determines whether the chip should be rendered in a larger size.
23
+ * @defaultValue false
24
+ */
25
+ large: boolean;
26
+ /**
27
+ * Sets the style variant of the chip.
28
+ * @defaultValue 'text'
29
+ */
30
+ variant: 'text' | 'tag' | 'dropdown';
31
+ /**
32
+ * Event when close button is clicked on tag variant.
33
+ */
34
+ pdsTagCloseClick: EventEmitter;
35
+ private handleCloseClick;
36
+ private classNames;
37
+ private setChipContent;
38
+ render(): any;
39
+ }
@@ -0,0 +1,34 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class PdsCopytext {
3
+ /**
4
+ * Determines whether `copytext` should have a border.
5
+ * @defaultValue true
6
+ */
7
+ border: boolean;
8
+ /**
9
+ * A unique identifier used for the underlying component `id` attribute.
10
+ */
11
+ componentId: string;
12
+ /**
13
+ * Determines whether `copytext` should expand to the full width of its container.
14
+ * @defaultValue false
15
+ */
16
+ fullWidth: boolean;
17
+ /**
18
+ * Determines whether the `value` should truncate and display with an ellipsis.
19
+ * @defaultValue false
20
+ */
21
+ truncate: boolean;
22
+ /**
23
+ * String that is displayed and that is also copied to the clipboard upon interaction.
24
+ */
25
+ value: string;
26
+ /**
27
+ * Event when copyText button is clicked.
28
+ */
29
+ pdsCopyTextClick: EventEmitter;
30
+ private copyToClipboard;
31
+ private handleClick;
32
+ private classNames;
33
+ render(): any;
34
+ }
@@ -0,0 +1,17 @@
1
+ export declare class PdsDivider {
2
+ /**
3
+ * A unique identifier used for the underlying component `id` attribute.
4
+ */
5
+ componentId: string;
6
+ /**
7
+ * Adds offset margin/padding to expand the width (horizontal) or the height (vertical) of divider.
8
+ */
9
+ offset: 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
10
+ /**
11
+ * Sets divider to display vertically
12
+ * @defaultValue false
13
+ */
14
+ vertical: boolean;
15
+ private classNames;
16
+ render(): any;
17
+ }
@@ -0,0 +1,42 @@
1
+ export declare class PdsImage {
2
+ /**
3
+ * The image's alt tag. If none is provided,
4
+ * it will default to an empty string.
5
+ */
6
+ alt?: string;
7
+ /**
8
+ * A unique identifier used for the underlying component `id` attribute.
9
+ */
10
+ componentId: string;
11
+ /**
12
+ * The height of the image in pixels. Setting this will
13
+ * devote space in the layout to prevent layout
14
+ * shifts when the image is loaded.
15
+ */
16
+ height?: number;
17
+ /**
18
+ * Indicates how the browser should load the image.
19
+ */
20
+ loading?: 'eager' | 'lazy';
21
+ /**
22
+ * Determines the intended display size of an image
23
+ * within certian breakpoints. Has no effect if `srcset`
24
+ * is not set or value has no width descriptor.
25
+ */
26
+ sizes?: string;
27
+ /**
28
+ * The image's source.
29
+ */
30
+ src: string;
31
+ /**
32
+ * A set of image sources for the browser to use.
33
+ */
34
+ srcset?: string;
35
+ /**
36
+ * The width of the image in pixels. Setting this will
37
+ * devote space in the layout to prevent layout
38
+ * shifts when the image is loaded.
39
+ */
40
+ width?: number;
41
+ render(): any;
42
+ }
@@ -0,0 +1,59 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class PdsInput {
3
+ /**
4
+ * A unique identifier used for the underlying component `id` attribute.
5
+ */
6
+ componentId: string;
7
+ /**
8
+ * Indicates whether or not the input field is disabled.
9
+ */
10
+ disabled?: boolean;
11
+ /**
12
+ * Specifies the error message and provides an error-themed treatment to the field.
13
+ */
14
+ errorMessage?: string;
15
+ /**
16
+ * Displays a message or hint below the input field.
17
+ */
18
+ helperMessage?: string;
19
+ /**
20
+ * Indicates whether or not the input field is invalid or throws an error.
21
+ */
22
+ invalid?: boolean;
23
+ /**
24
+ * Text to be displayed as the input label.
25
+ */
26
+ label?: string;
27
+ /**
28
+ * Specifies the name. Submitted with the form name/value pair.
29
+ */
30
+ name?: string;
31
+ /**
32
+ * Specifies a short hint that describes the expected value of the input field.
33
+ */
34
+ placeholder?: string;
35
+ /**
36
+ * Indicates whether or not the input field is readonly.
37
+ */
38
+ readonly?: boolean;
39
+ /**
40
+ * Indicates whether or not the input field is required.
41
+ */
42
+ required?: boolean;
43
+ /**
44
+ * Determines the type of control that will be displayed
45
+ `'email'`, `'number'`, `'password'`, `'tel'`, `'text'`
46
+ * @defaultValue "text"
47
+ */
48
+ type: string;
49
+ /**
50
+ * The value of the input.
51
+ */
52
+ value?: string;
53
+ /**
54
+ * Emitted when a keyboard input occurred.
55
+ */
56
+ pdsInput: EventEmitter<InputEvent>;
57
+ private onInputEvent;
58
+ render(): any;
59
+ }
@@ -0,0 +1,34 @@
1
+ /**
2
+ * @slot - Content is placed between the opening closing tags
3
+ */
4
+ export declare class PdsLink {
5
+ /**
6
+ * A unique identifier used for the underlying component `id` attribute.
7
+ */
8
+ componentId: string;
9
+ /**
10
+ * When enabled, opens link in a new tab.
11
+ * @defaultValue false
12
+ */
13
+ external: boolean;
14
+ /**
15
+ *
16
+ * Modifies the look of the link
17
+ */
18
+ variant: 'inline' | 'plain';
19
+ /**
20
+ *
21
+ * The Font size follows t-shirt model
22
+ * sm: 12px
23
+ * md: 14px
24
+ * lg: 16px
25
+ * @defaultValue lg
26
+ */
27
+ fontSize: 'sm' | 'md' | 'lg';
28
+ /**
29
+ * The URL that the hyperlink points to.
30
+ */
31
+ href: string;
32
+ private classNames;
33
+ render(): any;
34
+ }
@@ -0,0 +1,31 @@
1
+ export declare class PdsProgress {
2
+ /**
3
+ * Determines whether or not progress is animated.
4
+ * @defaultValue false
5
+ */
6
+ animated: boolean;
7
+ /**
8
+ * A unique identifier used for the underlying component `id` attribute and the label `for` attribute.
9
+ */
10
+ componentId: string;
11
+ /**
12
+ * Sets the progress fill color. Accepts a color token or a [valid color value](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value).
13
+ * @defaultValue 'var(--pds-color-primary)'
14
+ */
15
+ fillColor: string;
16
+ /**
17
+ * String used for label text. Label is visually hidden but required for better accessibility.
18
+ */
19
+ label: string;
20
+ /**
21
+ * Sets the progress fill pecentage and visually displayed when `show-percentage=true`.
22
+ * @defaultValue 0
23
+ */
24
+ percent: number;
25
+ /**
26
+ * Determines whether or not the percent value should be displayed as text.
27
+ * @defaultValue false
28
+ */
29
+ showPercent: boolean;
30
+ render(): any;
31
+ }