@pine-ds/icons 3.6.0 → 3.8.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 (83) hide show
  1. package/components/pds-icon.js +1 -1
  2. package/components/pds-icon.js.map +1 -1
  3. package/dist/cheatsheet.html +33 -11
  4. package/dist/cjs/index.cjs.js +1 -1
  5. package/dist/cjs/pds-icon.cjs.entry.js +1 -1
  6. package/dist/cjs/{utils-868de787.js → utils-c1c85b71.js} +2 -2
  7. package/dist/cjs/{utils-868de787.js.map → utils-c1c85b71.js.map} +1 -1
  8. package/dist/collection/components/pds-icon/assetPath.js +1 -1
  9. package/dist/collection/components/pds-icon/assetPath.js.map +1 -1
  10. package/dist/collection/components/pds-icon/svg/add-square.svg +1 -0
  11. package/dist/collection/components/pds-icon/svg/block.svg +1 -0
  12. package/dist/collection/components/pds-icon/svg/button.svg +1 -0
  13. package/dist/collection/components/pds-icon/svg/code-block.svg +1 -0
  14. package/dist/collection/components/pds-icon/svg/floppy-disk.svg +1 -0
  15. package/dist/collection/components/pds-icon/svg/fullscreen.svg +1 -1
  16. package/dist/collection/components/pds-icon/svg/heading-1.svg +1 -0
  17. package/dist/collection/components/pds-icon/svg/heading-2.svg +1 -0
  18. package/dist/collection/components/pds-icon/svg/heading-3.svg +1 -0
  19. package/dist/collection/components/pds-icon/svg/heading-4.svg +1 -0
  20. package/dist/collection/components/pds-icon/svg/heading-5.svg +1 -0
  21. package/dist/collection/components/pds-icon/svg/heading-6.svg +1 -0
  22. package/dist/collection/components/pds-icon/svg/heading-small.svg +1 -1
  23. package/dist/collection/components/pds-icon/svg/list-numbers.svg +1 -1
  24. package/dist/collection/components/pds-icon/svg/redo.svg +1 -1
  25. package/dist/collection/components/pds-icon/svg/sales-filled.svg +1 -1
  26. package/dist/collection/components/pds-icon/svg/sales-outline.svg +1 -1
  27. package/dist/collection/components/pds-icon/svg/user-filled.svg +1 -1
  28. package/dist/docs.json +1 -1
  29. package/dist/esm/index.js +1 -1
  30. package/dist/esm/pds-icon.entry.js +1 -1
  31. package/dist/esm/{utils-529a5e56.js → utils-bff5219d.js} +2 -2
  32. package/dist/esm/{utils-529a5e56.js.map → utils-bff5219d.js.map} +1 -1
  33. package/dist/pds-icons/index.esm.js +1 -1
  34. package/dist/pds-icons/p-60645170.js +2 -0
  35. package/dist/pds-icons/p-60645170.js.map +1 -0
  36. package/dist/pds-icons/{p-982dfca2.entry.js → p-91ce3f72.entry.js} +2 -2
  37. package/dist/pds-icons/pds-icons.esm.js +1 -1
  38. package/dist/pds-icons/svg/add-square.svg +1 -0
  39. package/dist/pds-icons/svg/block.svg +1 -0
  40. package/dist/pds-icons/svg/button.svg +1 -0
  41. package/dist/pds-icons/svg/code-block.svg +1 -0
  42. package/dist/pds-icons/svg/floppy-disk.svg +1 -0
  43. package/dist/pds-icons/svg/fullscreen.svg +1 -1
  44. package/dist/pds-icons/svg/heading-1.svg +1 -0
  45. package/dist/pds-icons/svg/heading-2.svg +1 -0
  46. package/dist/pds-icons/svg/heading-3.svg +1 -0
  47. package/dist/pds-icons/svg/heading-4.svg +1 -0
  48. package/dist/pds-icons/svg/heading-5.svg +1 -0
  49. package/dist/pds-icons/svg/heading-6.svg +1 -0
  50. package/dist/pds-icons/svg/heading-small.svg +1 -1
  51. package/dist/pds-icons/svg/list-numbers.svg +1 -1
  52. package/dist/pds-icons/svg/redo.svg +1 -1
  53. package/dist/pds-icons/svg/sales-filled.svg +1 -1
  54. package/dist/pds-icons/svg/sales-outline.svg +1 -1
  55. package/dist/pds-icons/svg/user-filled.svg +1 -1
  56. package/dist/pds-icons.json +162 -1
  57. package/dist/pds-icons.symbols.svg +19 -8
  58. package/dist/svg/add-square.svg +1 -0
  59. package/dist/svg/block.svg +1 -0
  60. package/dist/svg/button.svg +1 -0
  61. package/dist/svg/code-block.svg +1 -0
  62. package/dist/svg/floppy-disk.svg +1 -0
  63. package/dist/svg/fullscreen.svg +1 -1
  64. package/dist/svg/heading-1.svg +1 -0
  65. package/dist/svg/heading-2.svg +1 -0
  66. package/dist/svg/heading-3.svg +1 -0
  67. package/dist/svg/heading-4.svg +1 -0
  68. package/dist/svg/heading-5.svg +1 -0
  69. package/dist/svg/heading-6.svg +1 -0
  70. package/dist/svg/heading-small.svg +1 -1
  71. package/dist/svg/list-numbers.svg +1 -1
  72. package/dist/svg/redo.svg +1 -1
  73. package/dist/svg/sales-filled.svg +1 -1
  74. package/dist/svg/sales-outline.svg +1 -1
  75. package/dist/svg/user-filled.svg +1 -1
  76. package/icons/index.d.ts +12 -1
  77. package/icons/index.js +19 -8
  78. package/icons/index.mjs +19 -8
  79. package/icons/package.json +1 -1
  80. package/package.json +1 -1
  81. package/dist/pds-icons/p-f954ed14.js +0 -2
  82. package/dist/pds-icons/p-f954ed14.js.map +0 -1
  83. /package/dist/pds-icons/{p-982dfca2.entry.js.map → p-91ce3f72.entry.js.map} +0 -0
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path fill-rule="evenodd" d="M3.333 4.111a.778.778 0 0 1 1.556 0v3.222h6.222V4.111a.778.778 0 1 1 1.556 0v7.778a.778.778 0 0 1-1.556 0V8.667H4.89v3.222a.778.778 0 0 1-1.556 0V4.11Z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path fill-rule="evenodd" d="M3.3 3.97a.67.67 0 0 1 .925-.619.66.66 0 0 1 .405.619V7.3h6.68V3.97a.662.662 0 0 1 1.134-.474.67.67 0 0 1 .196.474v8a.67.67 0 0 1-1.14.473.66.66 0 0 1-.19-.473V8.64H4.63v3.33a.66.66 0 0 1-.66.67.67.67 0 0 1-.67-.67v-8Z"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path fill-rule="evenodd" d="M1.04 3.92v.475h2.106v-.474l-.492-.042c-.09-.006-.096-.024-.096-.12V.94h-1.44l-.066.491.522.108c.06.018.078.054.078.126V3.76c0 .09-.012.114-.096.12l-.516.042ZM5.333 2a.667.667 0 0 0 0 1.333h10a.667.667 0 1 0 0-1.333h-10Zm0 5.333a.667.667 0 0 0 0 1.334h10a.667.667 0 1 0 0-1.334h-10Zm-.666 6c0-.368.298-.666.666-.666h10a.667.667 0 0 1 0 1.333h-10a.667.667 0 0 1-.666-.667Zm-3.94-3.56v-.558l.805-.786.053-.051c.568-.551.811-.787.811-1.119 0-.222-.108-.384-.426-.384-.33 0-.468.108-.468.534l-.816-.072c.005-.954.732-1.11 1.362-1.11.93 0 1.26.396 1.26.96 0 .563-.387.934-.824 1.352l-.004.004-.678.649h.882c.06 0 .084-.012.096-.073l.084-.474H3.5v1.129H.728Zm2.818 4.419c0-.54-.281-.846-.792-.925v-.024a.94.94 0 0 0 .69-.936c0-.642-.354-.996-1.278-.996-.63 0-1.344.162-1.344 1.11l.822.072c0-.426.156-.534.48-.534.336 0 .438.186.438.414 0 .384-.234.594-.666.648l-.294.036v.6c.18-.03.294-.042.444-.042.372 0 .6.15.6.517 0 .42-.288.54-.624.54-.42 0-.672-.174-.9-.396l-.48.528c.306.336.846.552 1.452.552.858 0 1.452-.372 1.452-1.164Z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path fill-rule="evenodd" d="M1.04 3.92v.475h2.106v-.474l-.492-.042c-.09-.006-.096-.024-.096-.12V.94h-1.44l-.066.491.522.108c.06.018.078.054.078.126V3.76c0 .09-.012.114-.096.12l-.516.042ZM5.333 2a.667.667 0 0 0 0 1.333h10a.667.667 0 0 0 0-1.333h-10Zm0 5.333a.667.667 0 0 0 0 1.334h10a.667.667 0 0 0 0-1.334h-10Zm-.666 6c0-.368.298-.666.666-.666h10a.667.667 0 0 1 0 1.333h-10a.667.667 0 0 1-.666-.667Zm-3.94-3.56v-.558l.805-.786.053-.051c.568-.551.811-.787.811-1.119 0-.222-.108-.384-.426-.384-.33 0-.468.108-.468.534l-.816-.072c.006-.954.732-1.11 1.362-1.11.93 0 1.26.396 1.26.96 0 .563-.387.934-.824 1.352l-.004.004-.678.649h.882c.06 0 .084-.012.096-.073l.084-.474H3.5v1.129H.728Zm2.819 4.419c0-.54-.282-.846-.793-.925v-.024a.94.94 0 0 0 .69-.936c0-.642-.354-.996-1.278-.996-.63 0-1.344.162-1.344 1.11l.822.072c0-.426.156-.534.48-.534.336 0 .438.186.438.414 0 .384-.234.594-.666.648l-.294.036v.6c.18-.03.294-.042.444-.042.372 0 .6.15.6.517 0 .42-.288.54-.624.54-.42 0-.672-.174-.9-.396l-.48.528c.306.336.846.552 1.452.552.858 0 1.453-.372 1.453-1.164Z"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path fill-rule="evenodd" d="M14.424 4.642a.667.667 0 1 0-1.312.236l.51 2.853A10.001 10.001 0 0 0 .93 8.929a.667.667 0 1 0 .943.942 8.67 8.67 0 0 1 11.226-.88l-3.256.585a.667.667 0 0 0 .235 1.312l4.61-.826a.664.664 0 0 0 .567-.789l-.83-4.63Z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path fill-rule="evenodd" d="M14.424 4.642a.667.667 0 0 0-1.312.236l.51 2.853A10.001 10.001 0 0 0 .93 8.929a.667.667 0 1 0 .943.942 8.67 8.67 0 0 1 11.226-.88l-3.256.585a.667.667 0 0 0 .235 1.312l4.61-.826a.664.664 0 0 0 .567-.789l-.83-4.63Z"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path fill-rule="evenodd" d="M.696 0A.696.696 0 0 0 0 .696v6.26c0 .185.073.362.204.492l8.348 8.348a.696.696 0 0 0 .983 0l6.261-6.26a.696.696 0 0 0 0-.984L7.448.204A.696.696 0 0 0 6.957 0H.696ZM4.87 3.478a1.391 1.391 0 1 0 0 2.783 1.391 1.391 0 0 0 0-2.783Z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path d="M14.7 7.1 8.5.9C8.3.7 8.2.7 8 .7H1.3C1.2.7 1 .7.9.9c-.1.2-.2.3-.2.4V8c0 .2.1.3.2.5l6.3 6.3c.2.2.4.3.6.4.2.1.5.2.8.2.3 0 .5-.1.8-.2.2-.1.5-.2.6-.4l4.8-4.8c.2-.2.3-.4.4-.6.1-.2.2-.5.2-.8 0-.3-.1-.5-.2-.8-.1-.3-.3-.5-.5-.7Zm-9.4-.4c-.3 0-.5-.1-.7-.2-.2-.2-.4-.4-.5-.7-.1-.2-.1-.5-.1-.7.1-.3.2-.5.4-.7.2-.2.4-.3.7-.4.2 0 .5 0 .7.1.2.1.5.3.6.5.1.2.2.5.2.7 0 .4-.1.7-.4.9-.2.3-.5.5-.9.5Z"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path fill-rule="evenodd" d="M.696 0A.696.696 0 0 0 0 .696v6.26c0 .185.073.362.204.492l8.348 8.348a.696.696 0 0 0 .983 0l6.261-6.26a.696.696 0 0 0 0-.984L7.448.204A.696.696 0 0 0 6.957 0H.696Zm.695 6.668V1.391h5.277l7.652 7.652-5.277 5.277-7.652-7.652ZM4.174 4.87a.696.696 0 1 1 1.391 0 .696.696 0 0 1-1.391 0Zm.696-2.087a2.087 2.087 0 1 0 0 4.174 2.087 2.087 0 0 0 0-4.174Z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path fill-rule="evenodd" d="m10 14.7 4.7-4.7c.2-.2.4-.4.5-.6.02-.063.042-.12.062-.177.075-.21.138-.386.138-.623 0-.3-.1-.6-.2-.8-.1-.2-.2-.4-.4-.6L8.3.7H.7v7.6l6.5 6.4c.08.162.292.258.475.341l.125.059c.063.02.12.042.177.062.21.075.386.138.623.138.3 0 .6-.1.8-.2.2-.1.4-.2.6-.4Zm-8-7V2h5.7l6.1 6.1s0 .1.1.2.1.3.1.3 0 .1-.1.2c0 .042 0 .067-.008.089-.01.03-.034.053-.092.111l-4.7 4.8s-.1.1-.2.1c-.1.1-.2.1-.3.1-.1 0-.2 0-.3-.1-.1 0-.1 0-.2-.1L2 7.7Zm2.7-2.4c0-.3.3-.6.6-.6.4 0 .7.3.7.6 0 .4-.3.7-.7.7-.3 0-.6-.3-.6-.7Zm.6-2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Z"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 17" class="pdsicon"><path fill-rule="evenodd" d="M11.667 3.697C11.667 5.687 10.067 8 8 8 5.933 8 4.333 5.687 4.333 3.697a3.667 3.667 0 1 1 7.334 0Zm-8.77 7.2c1-1 2.356-1.562 3.77-1.564h2.666a5.34 5.34 0 0 1 5.334 5.334.667.667 0 0 1-.464.635A22.19 22.19 0 0 1 8 16a22.19 22.19 0 0 1-6.203-.698.667.667 0 0 1-.464-.635 5.34 5.34 0 0 1 1.564-3.77Z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path d="M12.222 8.925A5.98 5.98 0 0 1 8 10.667a5.983 5.983 0 0 1-4.222-1.742A7.335 7.335 0 0 0 0 15.333c0 .368.299.667.667.667h14.666a.667.667 0 0 0 .667-.667 7.335 7.335 0 0 0-3.778-6.408Z"/><path d="M8 9.333A4.667 4.667 0 1 0 8 0a4.667 4.667 0 0 0 0 9.333Z"/></svg>
package/dist/docs.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2024-03-12T20:28:00",
2
+ "timestamp": "2024-03-19T11:04:49",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.8.1",
package/dist/esm/index.js CHANGED
@@ -1,3 +1,3 @@
1
- export { a as addIcons } from './utils-529a5e56.js';
1
+ export { a as addIcons } from './utils-bff5219d.js';
2
2
 
3
3
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-68ccb33c.js';
2
- import { i as isStr, b as inheritAttributes, g as getUrl, c as getName } from './utils-529a5e56.js';
2
+ import { i as isStr, b as inheritAttributes, g as getUrl, c as getName } from './utils-bff5219d.js';
3
3
 
4
4
  const validateContent = (svgContent) => {
5
5
  const div = document.createElement('div');
@@ -20,7 +20,7 @@ const getAssetPath = (path) => {
20
20
  if (assetBasePath.startsWith('https://cdn.jsdelivr.net/npm/') && !missingAssetPathWarning) {
21
21
  missingAssetPathWarning = true;
22
22
  console.warn(`
23
- Fetching Pine asssets from jsDelivr CDN.\n\n It's recommended that you bundle Pine Assets with your application and setting the path accordingly.\n\nFor more information you read the documentation:
23
+ Fetching Pine asssets from jsDelivr CDN.\n\n It's recommended that you bundle Pine Assets with your application and setting the path accordingly.\n\nFor more information you read the documentation: \nhttps://pine-design-system.netlify.app/?path=/docs/resources-assets--docs
24
24
  `);
25
25
  }
26
26
  let assetPath = path;
@@ -129,4 +129,4 @@ const inheritAttributes = (el, attributes = []) => {
129
129
 
130
130
  export { addIcons as a, inheritAttributes as b, getName as c, getUrl as g, isStr as i };
131
131
 
132
- //# sourceMappingURL=utils-529a5e56.js.map
132
+ //# sourceMappingURL=utils-bff5219d.js.map
@@ -1 +1 @@
1
- {"file":"utils-529a5e56.js","mappings":"AAEA,IAAI,uBAAuB,GAAG,KAAK,CAAC;AAQpC;;;;;;;;;AASO,MAAM,YAAY,GAAG,CAAC,IAAY;;IACvC,MAAM,iBAAiB,GAAG,MAAA,QAAQ,CAAC,IAAI,CAAC,aAAa,CAAkB,4BAA4B,CAAC,0CAAE,OAAO,CAAC,aAAa,CAAC;;IAG5H,MAAM,eAAe,GAAG,MAAM,CAAC,mBAAmB,CAAC;;IAGnD,MAAM,YAAY,GAAG,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AG,GAAG,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1C,IAAI,GAAG,EAAE;QACP,OAAO,WAAW,CAAC,GAAG,CAAC,CAAC;KACzB;IAED,IAAI,OAAO,CAAC,IAAI,EAAE;QAChB,GAAG,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAE3B,IAAG,GAAG,EAAE;YACN,OAAO,GAAG,CAAC;SACZ;KACF;IAED,OAAO,IAAI,CAAC;AACd,EAAE;AAGK,MAAM,KAAK,GAAG,CAAC,GAAW,KAAK,GAAG,CAAC,MAAM,GAAG,CAAC,IAAI,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;MAC/D,KAAK,GAAG,CAAC,GAAQ,KAAoB,OAAO,GAAG,KAAK,SAAS;AACnE,MAAM,OAAO,GAAG,CAAC,GAAW,KAAK,GAAG,CAAC,WAAW,EAAE,CAAC;AAE1D;;;;;;;;;;MAUc,iBAAiB,GAAG,CAAC,EAAe,EAAE,aAAuB,EAAE;IAC3E,MAAM,eAAe,GAAyB,EAAE,CAAC;IAEjD,UAAU,CAAC,OAAO,CAAC,IAAI;QACrB,IAAI,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE;YACzB,MAAM,KAAK,GAAG,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;YACpC,IAAI,KAAK,KAAK,IAAI,EAAE;gBAClB,eAAe,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;aAC/C;YACD,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;SAC1B;KACF,CAAC,CAAC;IAEH,OAAO,eAAe,CAAC;AACzB;;;;","names":[],"sources":["src/components/pds-icon/assetPath.ts","src/components/pds-icon/utils.ts"],"sourcesContent":["import { Build } from '@stencil/core';\n\nlet missingAssetPathWarning = false;\n\ndeclare global {\n interface Window {\n __PINE_ASSET_PATH__?: string\n }\n}\n\n/**\n *\n * Reads the component asset path config from meta tag or a global variable.\n * This is a temporary workaround until these issues have been addressed:\n *\n * https://github.com/ionic-team/stencil/issues/2826/\n * https://github.com/ionic-team/stencil/issues/3470\n * https://github.com/ionic-team/stencil-ds-output-targets/issues/186\n */\nexport const getAssetPath = (path: string) => {\n const metaPineAssetPath = document.head.querySelector<HTMLMetaElement>('meta[data-pine-asset-path]')?.dataset.pineAssetPath;\n\n // Get the asset path from the window object if available\n const windowAssetPath = window.__PINE_ASSET_PATH__;\n\n // Set the CDN Asset path using the latest version\n const cdnAssetPath = 'https://cdn.jsdelivr.net/npm/@pine-ds/icons/dist/pds-icons/';\n\n const assetBasePath = Build.isTesting ? '/dist/pds-icons' : metaPineAssetPath || windowAssetPath || cdnAssetPath || '/'\n\n // Display a warning if the assets are fetched from the CDN.\n if ( assetBasePath.startsWith('https://cdn.jsdelivr.net/npm/') && !missingAssetPathWarning ) {\n missingAssetPathWarning = true;\n console.warn(`\n Fetching Pine asssets from jsDelivr CDN.\\n\\n It's recommended that you bundle Pine Assets with your application and setting the path accordingly.\\n\\nFor more information you read the documentation:\n `)\n }\n\n let assetPath = path;\n\n if ( path.startsWith ('./') ) {\n assetPath = path.substring(2);\n }\n\n if ( !assetBasePath.endsWith('/') ) {\n assetPath = '/' + assetPath;\n }\n\n return assetBasePath + assetPath;\n}\n\n\nexport {};\n","import { getAssetPath } from './assetPath';\n\nimport { PdsIcon } from './pds-icon';\n\nlet CACHED_MAP: Map<string, string>;\n\nexport const addIcons = (icons: { [name: string]: string; }) => {\n const map = getIconMap();\n Object.keys(icons).forEach(name => map.set(name, icons[name]));\n}\n\nexport const getIconMap = (): Map<string, string> => {\n if (typeof window === 'undefined') {\n return new Map();\n } else {\n if (!CACHED_MAP) {\n const win = window as any; // eslint-disable-line @typescript-eslint/no-explicit-any\n win.PdsIcons = win.PdsIcons || {};\n CACHED_MAP = win.PdsIcons.map = win.PdsIcons.map || new Map();\n }\n\n return CACHED_MAP;\n }\n}\n\nexport const getName = (\n iconName: string | undefined,\n icon: string | undefined\n ) => {\n\n if(!iconName && icon && !isSrc(icon)) {\n iconName = icon;\n }\n\n if (isStr(iconName)) {\n iconName = toLower(iconName);\n }\n\n if (!isStr(iconName) || iconName.trim() === '') {\n return null;\n }\n\n const invalidChars = iconName.replace(/[a-z]|-|\\d/gi,'');\n if (invalidChars != '') { return null; }\n\n return iconName;\n}\n\nconst getNamedUrl = (iconName: string) => {\n const url = getIconMap().get(iconName);\n if (url) {\n return url;\n }\n\n return getAssetPath(`svg/${iconName}.svg`);\n};\n\nexport const getSrc = (src: string | undefined) => {\n if (isStr(src)) {\n src = src.trim();\n\n if (isSrc(src)) {\n return src;\n }\n }\n\n return null;\n}\n\nexport const getUrl = (pdsIcon: PdsIcon) => {\n let url = getSrc(pdsIcon.src);\n if (url) {\n return url;\n }\n\n url = getName(pdsIcon.name, pdsIcon.icon);\n if (url) {\n return getNamedUrl(url);\n }\n\n if (pdsIcon.icon) {\n url = getSrc(pdsIcon.icon);\n\n if(url) {\n return url;\n }\n }\n\n return null;\n};\n\n\nexport const isSrc = (str: string) => str.length > 0 && /(\\/|\\.)/.test(str);\nexport const isStr = (val: any): val is string => typeof val === 'string'; // eslint-disable-line @typescript-eslint/no-explicit-any\nexport const toLower = (val: string) => val.toLowerCase();\n\n/**\n * Elements inside of web components sometimes need to inherit global attributes\n * set on the host. For example, the inner input in `ion-input` should inherit\n * the `title` attribute that developers set directly on `ion-input`. This\n * helper function should be called in componentWillLoad and assigned to a variable\n * that is later used in the render function.\n *\n * This does not need to be reactive as changing attributes on the host element\n * does not trigger a re-render.\n */\n export const inheritAttributes = (el: HTMLElement, attributes: string[] = []) => {\n const attributeObject: { [k: string]: any } = {}; // eslint-disable-line @typescript-eslint/no-explicit-any\n\n attributes.forEach(attr => {\n if (el.hasAttribute(attr)) {\n const value = el.getAttribute(attr);\n if (value !== null) {\n attributeObject[attr] = el.getAttribute(attr);\n }\n el.removeAttribute(attr);\n }\n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AI,EAAE;gBAClB,eAAe,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;aAC/C;YACD,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;SAC1B;KACF,CAAC,CAAC;IAEH,OAAO,eAAe,CAAC;AACzB;;;;","names":[],"sources":["src/components/pds-icon/assetPath.ts","src/components/pds-icon/utils.ts"],"sourcesContent":["import { Build } from '@stencil/core';\n\nlet missingAssetPathWarning = false;\n\ndeclare global {\n interface Window {\n __PINE_ASSET_PATH__?: string\n }\n}\n\n/**\n *\n * Reads the component asset path config from meta tag or a global variable.\n * This is a temporary workaround until these issues have been addressed:\n *\n * https://github.com/ionic-team/stencil/issues/2826/\n * https://github.com/ionic-team/stencil/issues/3470\n * https://github.com/ionic-team/stencil-ds-output-targets/issues/186\n */\nexport const getAssetPath = (path: string) => {\n const metaPineAssetPath = document.head.querySelector<HTMLMetaElement>('meta[data-pine-asset-path]')?.dataset.pineAssetPath;\n\n // Get the asset path from the window object if available\n const windowAssetPath = window.__PINE_ASSET_PATH__;\n\n // Set the CDN Asset path using the latest version\n const cdnAssetPath = 'https://cdn.jsdelivr.net/npm/@pine-ds/icons/dist/pds-icons/';\n\n const assetBasePath = Build.isTesting ? '/dist/pds-icons' : metaPineAssetPath || windowAssetPath || cdnAssetPath || '/'\n\n // Display a warning if the assets are fetched from the CDN.\n if ( assetBasePath.startsWith('https://cdn.jsdelivr.net/npm/') && !missingAssetPathWarning ) {\n missingAssetPathWarning = true;\n console.warn(`\n Fetching Pine asssets from jsDelivr CDN.\\n\\n It's recommended that you bundle Pine Assets with your application and setting the path accordingly.\\n\\nFor more information you read the documentation: \\nhttps://pine-design-system.netlify.app/?path=/docs/resources-assets--docs\n `)\n }\n\n let assetPath = path;\n\n if ( path.startsWith ('./') ) {\n assetPath = path.substring(2);\n }\n\n if ( !assetBasePath.endsWith('/') ) {\n assetPath = '/' + assetPath;\n }\n\n return assetBasePath + assetPath;\n}\n\n\nexport {};\n","import { getAssetPath } from './assetPath';\n\nimport { PdsIcon } from './pds-icon';\n\nlet CACHED_MAP: Map<string, string>;\n\nexport const addIcons = (icons: { [name: string]: string; }) => {\n const map = getIconMap();\n Object.keys(icons).forEach(name => map.set(name, icons[name]));\n}\n\nexport const getIconMap = (): Map<string, string> => {\n if (typeof window === 'undefined') {\n return new Map();\n } else {\n if (!CACHED_MAP) {\n const win = window as any; // eslint-disable-line @typescript-eslint/no-explicit-any\n win.PdsIcons = win.PdsIcons || {};\n CACHED_MAP = win.PdsIcons.map = win.PdsIcons.map || new Map();\n }\n\n return CACHED_MAP;\n }\n}\n\nexport const getName = (\n iconName: string | undefined,\n icon: string | undefined\n ) => {\n\n if(!iconName && icon && !isSrc(icon)) {\n iconName = icon;\n }\n\n if (isStr(iconName)) {\n iconName = toLower(iconName);\n }\n\n if (!isStr(iconName) || iconName.trim() === '') {\n return null;\n }\n\n const invalidChars = iconName.replace(/[a-z]|-|\\d/gi,'');\n if (invalidChars != '') { return null; }\n\n return iconName;\n}\n\nconst getNamedUrl = (iconName: string) => {\n const url = getIconMap().get(iconName);\n if (url) {\n return url;\n }\n\n return getAssetPath(`svg/${iconName}.svg`);\n};\n\nexport const getSrc = (src: string | undefined) => {\n if (isStr(src)) {\n src = src.trim();\n\n if (isSrc(src)) {\n return src;\n }\n }\n\n return null;\n}\n\nexport const getUrl = (pdsIcon: PdsIcon) => {\n let url = getSrc(pdsIcon.src);\n if (url) {\n return url;\n }\n\n url = getName(pdsIcon.name, pdsIcon.icon);\n if (url) {\n return getNamedUrl(url);\n }\n\n if (pdsIcon.icon) {\n url = getSrc(pdsIcon.icon);\n\n if(url) {\n return url;\n }\n }\n\n return null;\n};\n\n\nexport const isSrc = (str: string) => str.length > 0 && /(\\/|\\.)/.test(str);\nexport const isStr = (val: any): val is string => typeof val === 'string'; // eslint-disable-line @typescript-eslint/no-explicit-any\nexport const toLower = (val: string) => val.toLowerCase();\n\n/**\n * Elements inside of web components sometimes need to inherit global attributes\n * set on the host. For example, the inner input in `ion-input` should inherit\n * the `title` attribute that developers set directly on `ion-input`. This\n * helper function should be called in componentWillLoad and assigned to a variable\n * that is later used in the render function.\n *\n * This does not need to be reactive as changing attributes on the host element\n * does not trigger a re-render.\n */\n export const inheritAttributes = (el: HTMLElement, attributes: string[] = []) => {\n const attributeObject: { [k: string]: any } = {}; // eslint-disable-line @typescript-eslint/no-explicit-any\n\n attributes.forEach(attr => {\n if (el.hasAttribute(attr)) {\n const value = el.getAttribute(attr);\n if (value !== null) {\n attributeObject[attr] = el.getAttribute(attr);\n }\n el.removeAttribute(attr);\n }\n });\n\n return attributeObject;\n}\n"],"version":3}
@@ -1,2 +1,2 @@
1
- export{a as addIcons}from"./p-f954ed14.js";
1
+ export{a as addIcons}from"./p-60645170.js";
2
2
  //# sourceMappingURL=index.esm.js.map
@@ -0,0 +1,2 @@
1
+ let n=false;const t=t=>{var e;const s=(e=document.head.querySelector("meta[data-pine-asset-path]"))===null||e===void 0?void 0:e.dataset.pineAssetPath;const o=window.__PINE_ASSET_PATH__;const i="https://cdn.jsdelivr.net/npm/@pine-ds/icons/dist/pds-icons/";const r=s||o||i||"/";if(r.startsWith("https://cdn.jsdelivr.net/npm/")&&!n){n=true;console.warn(`\n Fetching Pine asssets from jsDelivr CDN.\n\n It's recommended that you bundle Pine Assets with your application and setting the path accordingly.\n\nFor more information you read the documentation: \nhttps://pine-design-system.netlify.app/?path=/docs/resources-assets--docs\n `)}let c=t;if(t.startsWith("./")){c=t.substring(2)}if(!r.endsWith("/")){c="/"+c}return r+c};let e;const s=n=>{const t=o();Object.keys(n).forEach((e=>t.set(e,n[e])))};const o=()=>{if(typeof window==="undefined"){return new Map}else{if(!e){const n=window;n.PdsIcons=n.PdsIcons||{};e=n.PdsIcons.map=n.PdsIcons.map||new Map}return e}};const i=(n,t)=>{if(!n&&t&&!a(t)){n=t}if(d(n)){n=l(n)}if(!d(n)||n.trim()===""){return null}const e=n.replace(/[a-z]|-|\d/gi,"");if(e!=""){return null}return n};const r=n=>{const e=o().get(n);if(e){return e}return t(`svg/${n}.svg`)};const c=n=>{if(d(n)){n=n.trim();if(a(n)){return n}}return null};const u=n=>{let t=c(n.src);if(t){return t}t=i(n.name,n.icon);if(t){return r(t)}if(n.icon){t=c(n.icon);if(t){return t}}return null};const a=n=>n.length>0&&/(\/|\.)/.test(n);const d=n=>typeof n==="string";const l=n=>n.toLowerCase();const f=(n,t=[])=>{const e={};t.forEach((t=>{if(n.hasAttribute(t)){const s=n.getAttribute(t);if(s!==null){e[t]=n.getAttribute(t)}n.removeAttribute(t)}}));return e};export{s as a,f as b,i as c,u as g,d as i};
2
+ //# sourceMappingURL=p-60645170.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["missingAssetPathWarning","getAssetPath","path","metaPineAssetPath","_a","document","head","querySelector","dataset","pineAssetPath","windowAssetPath","window","__PINE_ASSET_PATH__","cdnAssetPath","assetBasePath","startsWith","console","warn","assetPath","substring","endsWith","CACHED_MAP","addIcons","icons","map","getIconMap","Object","keys","forEach","name","set","Map","win","PdsIcons","getName","iconName","icon","isSrc","isStr","toLower","trim","invalidChars","replace","getNamedUrl","url","get","getSrc","src","getUrl","pdsIcon","str","length","test","val","toLowerCase","inheritAttributes","el","attributes","attributeObject","attr","hasAttribute","value","getAttribute","removeAttribute"],"sources":["src/components/pds-icon/assetPath.ts","src/components/pds-icon/utils.ts"],"sourcesContent":["import { Build } from '@stencil/core';\n\nlet missingAssetPathWarning = false;\n\ndeclare global {\n interface Window {\n __PINE_ASSET_PATH__?: string\n }\n}\n\n/**\n *\n * Reads the component asset path config from meta tag or a global variable.\n * This is a temporary workaround until these issues have been addressed:\n *\n * https://github.com/ionic-team/stencil/issues/2826/\n * https://github.com/ionic-team/stencil/issues/3470\n * https://github.com/ionic-team/stencil-ds-output-targets/issues/186\n */\nexport const getAssetPath = (path: string) => {\n const metaPineAssetPath = document.head.querySelector<HTMLMetaElement>('meta[data-pine-asset-path]')?.dataset.pineAssetPath;\n\n // Get the asset path from the window object if available\n const windowAssetPath = window.__PINE_ASSET_PATH__;\n\n // Set the CDN Asset path using the latest version\n const cdnAssetPath = 'https://cdn.jsdelivr.net/npm/@pine-ds/icons/dist/pds-icons/';\n\n const assetBasePath = Build.isTesting ? '/dist/pds-icons' : metaPineAssetPath || windowAssetPath || cdnAssetPath || '/'\n\n // Display a warning if the assets are fetched from the CDN.\n if ( assetBasePath.startsWith('https://cdn.jsdelivr.net/npm/') && !missingAssetPathWarning ) {\n missingAssetPathWarning = true;\n console.warn(`\n Fetching Pine asssets from jsDelivr CDN.\\n\\n It's recommended that you bundle Pine Assets with your application and setting the path accordingly.\\n\\nFor more information you read the documentation: \\nhttps://pine-design-system.netlify.app/?path=/docs/resources-assets--docs\n `)\n }\n\n let assetPath = path;\n\n if ( path.startsWith ('./') ) {\n assetPath = path.substring(2);\n }\n\n if ( !assetBasePath.endsWith('/') ) {\n assetPath = '/' + assetPath;\n }\n\n return assetBasePath + assetPath;\n}\n\n\nexport {};\n","import { getAssetPath } from './assetPath';\n\nimport { PdsIcon } from './pds-icon';\n\nlet CACHED_MAP: Map<string, string>;\n\nexport const addIcons = (icons: { [name: string]: string; }) => {\n const map = getIconMap();\n Object.keys(icons).forEach(name => map.set(name, icons[name]));\n}\n\nexport const getIconMap = (): Map<string, string> => {\n if (typeof window === 'undefined') {\n return new Map();\n } else {\n if (!CACHED_MAP) {\n const win = window as any; // eslint-disable-line @typescript-eslint/no-explicit-any\n win.PdsIcons = win.PdsIcons || {};\n CACHED_MAP = win.PdsIcons.map = win.PdsIcons.map || new Map();\n }\n\n return CACHED_MAP;\n }\n}\n\nexport const getName = (\n iconName: string | undefined,\n icon: string | undefined\n ) => {\n\n if(!iconName && icon && !isSrc(icon)) {\n iconName = icon;\n }\n\n if (isStr(iconName)) {\n iconName = toLower(iconName);\n }\n\n if (!isStr(iconName) || iconName.trim() === '') {\n return null;\n }\n\n const invalidChars = iconName.replace(/[a-z]|-|\\d/gi,'');\n if (invalidChars != '') { return null; }\n\n return iconName;\n}\n\nconst getNamedUrl = (iconName: string) => {\n const url = getIconMap().get(iconName);\n if (url) {\n return url;\n }\n\n return getAssetPath(`svg/${iconName}.svg`);\n};\n\nexport const getSrc = (src: string | undefined) => {\n if (isStr(src)) {\n src = src.trim();\n\n if (isSrc(src)) {\n return src;\n }\n }\n\n return null;\n}\n\nexport const getUrl = (pdsIcon: PdsIcon) => {\n let url = getSrc(pdsIcon.src);\n if (url) {\n return url;\n }\n\n url = getName(pdsIcon.name, pdsIcon.icon);\n if (url) {\n return getNamedUrl(url);\n }\n\n if (pdsIcon.icon) {\n url = getSrc(pdsIcon.icon);\n\n if(url) {\n return url;\n }\n }\n\n return null;\n};\n\n\nexport const isSrc = (str: string) => str.length > 0 && /(\\/|\\.)/.test(str);\nexport const isStr = (val: any): val is string => typeof val === 'string'; // eslint-disable-line @typescript-eslint/no-explicit-any\nexport const toLower = (val: string) => val.toLowerCase();\n\n/**\n * Elements inside of web components sometimes need to inherit global attributes\n * set on the host. For example, the inner input in `ion-input` should inherit\n * the `title` attribute that developers set directly on `ion-input`. This\n * helper function should be called in componentWillLoad and assigned to a variable\n * that is later used in the render function.\n *\n * This does not need to be reactive as changing attributes on the host element\n * does not trigger a re-render.\n */\n export const inheritAttributes = (el: HTMLElement, attributes: string[] = []) => {\n const attributeObject: { [k: string]: any } = {}; // eslint-disable-line @typescript-eslint/no-explicit-any\n\n attributes.forEach(attr => {\n if (el.hasAttribute(attr)) {\n const value = el.getAttribute(attr);\n if (value !== null) {\n attributeObject[attr] = el.getAttribute(attr);\n }\n el.removeAttribute(attr);\n }\n });\n\n return attributeObject;\n}\n"],"mappings":"AAEA,IAAIA,EAA0B,MAiBvB,MAAMC,EAAgBC,I,MAC3B,MAAMC,GAAoBC,EAAAC,SAASC,KAAKC,cAA+B,iCAA6B,MAAAH,SAAA,SAAAA,EAAEI,QAAQC,cAG9G,MAAMC,EAAkBC,OAAOC,oBAG/B,MAAMC,EAAe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C,EAAUC,IACrB,IAAIL,EAAME,EAAOG,EAAQF,KACzB,GAAIH,EAAK,CACP,OAAOA,C,CAGTA,EAAMV,EAAQe,EAAQpB,KAAMoB,EAAQb,MACpC,GAAIQ,EAAK,CACP,OAAOD,EAAYC,E,CAGrB,GAAIK,EAAQb,KAAM,CAChBQ,EAAME,EAAOG,EAAQb,MAErB,GAAGQ,EAAK,CACN,OAAOA,C,EAIX,OAAO,IAAI,EAIN,MAAMP,EAASa,GAAgBA,EAAIC,OAAS,GAAK,UAAUC,KAAKF,G,MAC1DZ,EAASe,UAAmCA,IAAQ,SAC1D,MAAMd,EAAWc,GAAgBA,EAAIC,c,MAY9BC,EAAoB,CAACC,EAAiBC,EAAuB,MACzE,MAAMC,EAAwC,GAE9CD,EAAW7B,SAAQ+B,IACjB,GAAIH,EAAGI,aAAaD,GAAO,CACzB,MAAME,EAAQL,EAAGM,aAAaH,GAC9B,GAAIE,IAAU,KAAM,CAClBH,EAAgBC,GAAQH,EAAGM,aAAaH,E,CAE1CH,EAAGO,gBAAgBJ,E,KAIvB,OAAOD,CAAe,S"}
@@ -1,2 +1,2 @@
1
- import{r as t,h as i,H as s,g as e}from"./p-194a0f36.js";import{i as n,b as r,g as o,c}from"./p-f954ed14.js";const l=t=>{const i=document.createElement("div");i.innerHTML=t;for(let t=i.childNodes.length-1;t>=0;t--){if(i.childNodes[t].nodeName.toLowerCase()!=="svg"){i.removeChild(i.childNodes[t])}}const s=i.firstElementChild;if(s&&s.nodeName.toLowerCase()==="svg"){const t=s.getAttribute("class")||"";s.setAttribute("class",(t+" s-pds-icon").trim());if(a(s)){return i.innerHTML}}return""};const a=t=>{if(t.nodeType===1){if(t.nodeName.toLowerCase()==="script"){return false}for(let i=0;i<t.attributes.length;i++){const s=t.attributes[i].name;if(n(s)&&s.toLowerCase().indexOf("on")===0){return false}}for(let i=0;i<t.childNodes.length;i++){if(!a(t.childNodes[i])){return false}}}return true};const d=t=>t.startsWith("data:image/svg+xml");const h=t=>t.indexOf(";utf8,")!==-1;const f=new Map;const u=new Map;let p;const g=(t,i=false)=>{let s=u.get(t);if(!s){if(typeof fetch!="undefined"&&typeof document!=="undefined"){if(d(t)&&h(t)){if(!p){p=new DOMParser}const i=p.parseFromString(t,"text/html");const s=i.querySelector("svg");if(s){f.set(t,s.outerHTML)}return Promise.resolve()}else{s=fetch(t).then((s=>{if(s.ok){return s.text().then((s=>{if(s&&i!==false){s=l(s)}f.set(t,s||"")}))}f.set(t,"")}));u.set(t,s)}}else{f.set(t,"");return Promise.resolve()}}return s};const m=":host{contain:strict;display:inline-block;fill:currentColor;height:1em;width:1em}:host .pdsicon{fill:currentColor}.pds-icon-fill-none{fill:none}.icon-inner,.pds-icon,svg{display:block;height:100%;width:100%}";const w=class{constructor(i){t(this,i);this.inheritedAttributes={};this.hasAriaHidden=()=>{const{el:t}=this;return t.hasAttribute("aria-hidden")&&t.getAttribute("aria-hidden")==="true"};this.ariaLabel=undefined;this.isVisible=false;this.svgContent=undefined;this.color=undefined;this.icon=undefined;this.name=undefined;this.size="regular";this.src=undefined}iconSize(){const t={small:"12px",regular:"16px",medium:"20px",large:"24px"};if(t[this.size]){return t[this.size]}else{return this.size}}componentWillLoad(){this.inheritedAttributes=r(this.el,["aria-label"])}connectedCallback(){this.waitUntilVisible(this.el,"50px",(()=>{this.isVisible=true;this.loadIcon()}))}disconnectedCallback(){if(this.io){this.io.disconnect();this.io=undefined}}loadIcon(){if(this.isVisible){const t=o(this);if(t){if(f.has(t)){this.svgContent=f.get(t)}else{g(t).then((()=>this.svgContent=f.get(t)))}}}const t=c(this.name,this.icon);if(t){this.ariaLabel=t.replace(/\-/g," ")}}render(){const{ariaLabel:t,inheritedAttributes:e}=this;const n={height:this.iconSize(),width:this.iconSize(),color:this.color};return i(s,Object.assign({"aria-label":t!==undefined&&!this.hasAriaHidden()?t:null,role:"img",style:n,class:Object.assign({},b(this.color))},e),this.svgContent?i("div",{class:"icon-inner",innerHTML:this.svgContent}):i("div",{class:"icon-inner"}))}waitUntilVisible(t,i,s){if(typeof window!=="undefined"&&window.IntersectionObserver){const e=this.io=new window.IntersectionObserver((t=>{if(t[0].isIntersecting){e.disconnect();this.io=undefined;s()}}),{rootMargin:i});e.observe(t)}else{s()}}static get assetsDirs(){return["svg"]}get el(){return e(this)}static get watchers(){return{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"]}}};const b=t=>t?{"pds-color":true,[`pds-color-${t}`]:true}:null;w.style=m;export{w as pds_icon};
2
- //# sourceMappingURL=p-982dfca2.entry.js.map
1
+ import{r as t,h as i,H as s,g as e}from"./p-194a0f36.js";import{i as n,b as r,g as o,c}from"./p-60645170.js";const l=t=>{const i=document.createElement("div");i.innerHTML=t;for(let t=i.childNodes.length-1;t>=0;t--){if(i.childNodes[t].nodeName.toLowerCase()!=="svg"){i.removeChild(i.childNodes[t])}}const s=i.firstElementChild;if(s&&s.nodeName.toLowerCase()==="svg"){const t=s.getAttribute("class")||"";s.setAttribute("class",(t+" s-pds-icon").trim());if(a(s)){return i.innerHTML}}return""};const a=t=>{if(t.nodeType===1){if(t.nodeName.toLowerCase()==="script"){return false}for(let i=0;i<t.attributes.length;i++){const s=t.attributes[i].name;if(n(s)&&s.toLowerCase().indexOf("on")===0){return false}}for(let i=0;i<t.childNodes.length;i++){if(!a(t.childNodes[i])){return false}}}return true};const d=t=>t.startsWith("data:image/svg+xml");const h=t=>t.indexOf(";utf8,")!==-1;const f=new Map;const u=new Map;let p;const g=(t,i=false)=>{let s=u.get(t);if(!s){if(typeof fetch!="undefined"&&typeof document!=="undefined"){if(d(t)&&h(t)){if(!p){p=new DOMParser}const i=p.parseFromString(t,"text/html");const s=i.querySelector("svg");if(s){f.set(t,s.outerHTML)}return Promise.resolve()}else{s=fetch(t).then((s=>{if(s.ok){return s.text().then((s=>{if(s&&i!==false){s=l(s)}f.set(t,s||"")}))}f.set(t,"")}));u.set(t,s)}}else{f.set(t,"");return Promise.resolve()}}return s};const m=":host{contain:strict;display:inline-block;fill:currentColor;height:1em;width:1em}:host .pdsicon{fill:currentColor}.pds-icon-fill-none{fill:none}.icon-inner,.pds-icon,svg{display:block;height:100%;width:100%}";const w=class{constructor(i){t(this,i);this.inheritedAttributes={};this.hasAriaHidden=()=>{const{el:t}=this;return t.hasAttribute("aria-hidden")&&t.getAttribute("aria-hidden")==="true"};this.ariaLabel=undefined;this.isVisible=false;this.svgContent=undefined;this.color=undefined;this.icon=undefined;this.name=undefined;this.size="regular";this.src=undefined}iconSize(){const t={small:"12px",regular:"16px",medium:"20px",large:"24px"};if(t[this.size]){return t[this.size]}else{return this.size}}componentWillLoad(){this.inheritedAttributes=r(this.el,["aria-label"])}connectedCallback(){this.waitUntilVisible(this.el,"50px",(()=>{this.isVisible=true;this.loadIcon()}))}disconnectedCallback(){if(this.io){this.io.disconnect();this.io=undefined}}loadIcon(){if(this.isVisible){const t=o(this);if(t){if(f.has(t)){this.svgContent=f.get(t)}else{g(t).then((()=>this.svgContent=f.get(t)))}}}const t=c(this.name,this.icon);if(t){this.ariaLabel=t.replace(/\-/g," ")}}render(){const{ariaLabel:t,inheritedAttributes:e}=this;const n={height:this.iconSize(),width:this.iconSize(),color:this.color};return i(s,Object.assign({"aria-label":t!==undefined&&!this.hasAriaHidden()?t:null,role:"img",style:n,class:Object.assign({},b(this.color))},e),this.svgContent?i("div",{class:"icon-inner",innerHTML:this.svgContent}):i("div",{class:"icon-inner"}))}waitUntilVisible(t,i,s){if(typeof window!=="undefined"&&window.IntersectionObserver){const e=this.io=new window.IntersectionObserver((t=>{if(t[0].isIntersecting){e.disconnect();this.io=undefined;s()}}),{rootMargin:i});e.observe(t)}else{s()}}static get assetsDirs(){return["svg"]}get el(){return e(this)}static get watchers(){return{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"]}}};const b=t=>t?{"pds-color":true,[`pds-color-${t}`]:true}:null;w.style=m;export{w as pds_icon};
2
+ //# sourceMappingURL=p-91ce3f72.entry.js.map
@@ -1,2 +1,2 @@
1
- import{p as o,b as n}from"./p-194a0f36.js";export{s as setNonce}from"./p-194a0f36.js";const a=()=>{const n=import.meta.url;const s={};if(n!==""){s.resourcesUrl=new URL(".",n).href}return o(s)};a().then((o=>n([["p-982dfca2",[[1,"pds-icon",{color:[1],icon:[8],name:[513],size:[513],src:[1],ariaLabel:[32],isVisible:[32],svgContent:[32]},null,{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"]}]]]],o)));
1
+ import{p as o,b as n}from"./p-194a0f36.js";export{s as setNonce}from"./p-194a0f36.js";const a=()=>{const n=import.meta.url;const s={};if(n!==""){s.resourcesUrl=new URL(".",n).href}return o(s)};a().then((o=>n([["p-91ce3f72",[[1,"pds-icon",{color:[1],icon:[8],name:[513],size:[513],src:[1],ariaLabel:[32],isVisible:[32],svgContent:[32]},null,{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"]}]]]],o)));
2
2
  //# sourceMappingURL=pds-icons.esm.js.map
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><g clip-path="url(#a)"><path fill-rule="evenodd" d="M2.667 2A.667.667 0 0 0 2 2.667v10.666c0 .368.298.667.667.667h10.666a.667.667 0 0 0 .667-.667V2.667A.667.667 0 0 0 13.333 2H2.667Zm-2 .667a2 2 0 0 1 2-2h10.666a2 2 0 0 1 2 2v10.666a2 2 0 0 1-2 2H2.667a2 2 0 0 1-2-2V2.667Zm8 6V12H7.333V8.667H4V7.333h3.333V4h1.334v3.333H12v1.334H8.667Z"/></g><defs><clipPath id="a"><path d="M0 0h16v16H0z"/></clipPath></defs></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><g clip-path="url(#a)"><path fill-rule="evenodd" d="M.667.667h14.666v14.666H.667V.667ZM2 2v12h12V2H2Z"/></g><defs><clipPath id="a"><path d="M0 0h16v16H0z"/></clipPath></defs></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="M.667 5.333a2 2 0 0 1 2-2h10.666a2 2 0 0 1 2 2v5.334a2 2 0 0 1-2 2H2.667a2 2 0 0 1-2-2V5.333Zm2-.666A.667.667 0 0 0 2 5.333v5.334c0 .368.299.666.667.666h10.666a.667.667 0 0 0 .667-.666V5.333a.667.667 0 0 0-.667-.666H2.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="M1.333 0h13.334v16H1.333V0Zm1.334 1.333v13.334h10.666V1.333H2.667ZM6.943 6l-2 2 2 2-.943.943L3.057 8 6 5.057 6.943 6Zm6 2L10 5.057 9.057 6l2 2-2 2 .943.943L12.943 8Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><g clip-path="url(#a)"><path fill-rule="evenodd" d="M2.667 2A.667.667 0 0 0 2 2.667v10.666a.667.667 0 0 0 .667.667h10.666a.667.667 0 0 0 .667-.667v-8.39L11.057 2h-8.39Zm-1.415-.748A2 2 0 0 1 2.667.667h8.943l3.723 3.724v8.942a2 2 0 0 1-2 2H2.667a2 2 0 0 1-2-2V2.667a2 2 0 0 1 .585-1.415Zm2.081 6.081h9.334v5.334h-1.334v-4H4.667v4H3.333V7.333ZM10.667 6V3.333H9.333V6h1.334Z"/></g><defs><clipPath id="a"><path d="M0 0h16v16H0z"/></clipPath></defs></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path fill-rule="evenodd" d="M9.529 5.529 13.057 2h-2.39a.667.667 0 1 1 0-1.333h4a.665.665 0 0 1 .666.666v4.001a.667.667 0 0 1-1.333 0V2.942L10.471 6.47a.667.667 0 1 1-.942-.942ZM2.943 14l3.528-3.529a.667.667 0 1 0-.942-.942L2 13.057v-2.39a.667.667 0 1 0-1.333 0v4a.665.665 0 0 0 .666.666h4.001a.667.667 0 0 0 0-1.333H2.942Zm12.39.666v-4a.667.667 0 0 0-1.333 0v2.391L10.471 9.53a.667.667 0 0 0-.942.942L13.057 14h-2.39a.667.667 0 0 0 0 1.333h4.032a.664.664 0 0 0 .634-.66v-.007ZM5.333 2h-2.39l4.195 4.195a.667.667 0 1 1-.943.943L2 2.943v2.39a.667.667 0 0 1-1.333 0v-4c0-.368.298-.666.666-.666h4a.667.667 0 1 1 0 1.333Z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path fill-rule="evenodd" d="M9.529 5.529 13.057 2h-2.39a.667.667 0 1 1 0-1.333h4a.665.665 0 0 1 .666.666v4.001a.667.667 0 0 1-1.333 0V2.942L10.471 6.47a.667.667 0 0 1-.942-.942ZM2.943 14l3.528-3.529a.667.667 0 1 0-.942-.942L2 13.057v-2.39a.667.667 0 1 0-1.333 0v4a.665.665 0 0 0 .666.666h4.001a.667.667 0 0 0 0-1.333H2.942Zm12.39.666v-4a.667.667 0 1 0-1.333 0v2.391L10.471 9.53a.667.667 0 0 0-.942.942L13.057 14h-2.39a.667.667 0 0 0 0 1.333h4.032a.665.665 0 0 0 .634-.66v-.007ZM5.333 2h-2.39l4.195 4.195a.667.667 0 1 1-.943.943L2 2.943v2.39a.667.667 0 0 1-1.333 0v-4c0-.368.298-.666.666-.666h4a.667.667 0 1 1 0 1.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="M7.5 3.5c0-.3.2-.5.5-.5s.5.2.5.5v9c0 .3-.2.5-.5.5s-.5-.2-.5-.5v-4h-5v4c0 .3-.2.5-.5.5s-.5-.2-.5-.5v-9c0-.3.2-.5.5-.5s.5.2.5.5v4h5v-4Zm6.2-.4c.1-.1.3-.1.5 0 .2 0 .3.2.2.5v9c0 .3-.2.5-.5.5s-.5-.2-.5-.5V4.5l-2 1.3c-.2.1-.6 0-.7-.2-.1-.2 0-.6.2-.7l2.8-1.8Z"/></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.1 12.007h4.4c.3 0 .5.2.5.5s-.2.5-.5.5H10c-.2 0-.4-.1-.5-.4-.1-.1 0-.4.1-.5.512-.555.988-1.055 1.411-1.5.57-.599 1.045-1.099 1.389-1.5l.3-.3.212-.23c1.081-1.167 1.788-1.93 1.788-2.87 0-.4-.1-.6-.2-.8-.3-.6-1-.9-1.8-1-1 0-2 .7-2.2 1.7-.1.3-.3.5-.6.4-.3 0-.5-.3-.4-.6.4-1.5 1.8-2.5 3.3-2.4 1.2.1 2.1.6 2.6 1.5.2.4.3.8.3 1.3 0 1.34-.825 2.222-2.123 3.61l-.177.19-.3.3c-.5.5-1.2 1.2-2 2.1ZM6 3.507c0-.3.2-.5.5-.5s.5.2.5.5v9c0 .3-.2.5-.5.5s-.5-.2-.5-.5v-4H1v4c0 .3-.2.5-.5.5s-.5-.2-.5-.5v-9c0-.3.2-.5.5-.5s.5.2.5.5v4h5v-4Z"/></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="M6 3.5c0-.3.2-.5.5-.5s.5.2.5.5v9c0 .3-.2.5-.5.5s-.5-.2-.5-.5v-4H1v4c0 .3-.2.5-.5.5s-.5-.2-.5-.5v-9c0-.3.2-.5.5-.5s.5.2.5.5v4h5v-4Zm9.2 3.7c-.2.3-.6.6-1 .8.256.128.472.298.672.455.113.089.22.173.328.245.5.5.8 1.1.8 1.7 0 1.4-1.4 2.5-3 2.5-1.3 0-2.4-.6-2.9-1.7-.1-.3 0-.6.2-.7.3-.1.6 0 .7.2.3.8 1.1 1.2 2 1.2 1.2 0 2-.8 2-1.5 0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.1-1.1-1.1-1.9-2.1-2.1-.9-.2-1.9.2-2.5 1-.2.2-.4.3-.6.2-.2-.1-.3-.3-.3-.5l.5-4.5c0-.3.2-.5.5-.5h4.6c.3 0 .5.2.5.5s-.2.5-.5.5h-4.2l-.2 2.9Z"/></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="M12.92 6.677c.794 0 1.59.298 2.086.894.596.696.895 1.59.994 2.485-.1 1.888-1.789 3.08-3.28 3.08h-.099c-1.59 0-2.782-.993-3.28-2.98v-.1c-.198-.696-.298-1.391-.298-2.286 0-2.286 1.392-4.67 3.578-4.77 2.087 0 2.981 1.59 2.981 1.69.1.298 0 .596-.198.695-.298.1-.597 0-.696-.199 0 0-.596-1.192-2.087-1.093-1.69.1-2.584 2.286-2.584 3.777v.099c.596-.795 1.59-1.292 2.882-1.292Zm-2.585 3.478c.398 1.292 1.193 1.988 2.286 1.988.894 0 2.186-.696 2.286-2.087 0-.696-.199-1.292-.596-1.69-.299-.298-.696-.596-1.392-.596-1.49 0-2.385.795-2.584 2.385Zm-4.372-6.46c0-.297.198-.496.497-.496.298 0 .497.199.497.497v8.944c0 .298-.2.497-.497.497-.299 0-.497-.2-.497-.497V8.665H.993v3.975c0 .298-.198.497-.496.497S0 12.937 0 12.64V3.696c0-.298.199-.497.497-.497s.497.199.497.497V7.67h4.969V3.696Z"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path fill-rule="evenodd" d="M3.333 4.111a.778.778 0 0 1 1.556 0v3.222h6.222V4.111a.778.778 0 1 1 1.556 0v7.778a.778.778 0 0 1-1.556 0V8.667H4.89v3.222a.778.778 0 0 1-1.556 0V4.11Z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path fill-rule="evenodd" d="M3.3 3.97a.67.67 0 0 1 .925-.619.66.66 0 0 1 .405.619V7.3h6.68V3.97a.662.662 0 0 1 1.134-.474.67.67 0 0 1 .196.474v8a.67.67 0 0 1-1.14.473.66.66 0 0 1-.19-.473V8.64H4.63v3.33a.66.66 0 0 1-.66.67.67.67 0 0 1-.67-.67v-8Z"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path fill-rule="evenodd" d="M1.04 3.92v.475h2.106v-.474l-.492-.042c-.09-.006-.096-.024-.096-.12V.94h-1.44l-.066.491.522.108c.06.018.078.054.078.126V3.76c0 .09-.012.114-.096.12l-.516.042ZM5.333 2a.667.667 0 0 0 0 1.333h10a.667.667 0 1 0 0-1.333h-10Zm0 5.333a.667.667 0 0 0 0 1.334h10a.667.667 0 1 0 0-1.334h-10Zm-.666 6c0-.368.298-.666.666-.666h10a.667.667 0 0 1 0 1.333h-10a.667.667 0 0 1-.666-.667Zm-3.94-3.56v-.558l.805-.786.053-.051c.568-.551.811-.787.811-1.119 0-.222-.108-.384-.426-.384-.33 0-.468.108-.468.534l-.816-.072c.005-.954.732-1.11 1.362-1.11.93 0 1.26.396 1.26.96 0 .563-.387.934-.824 1.352l-.004.004-.678.649h.882c.06 0 .084-.012.096-.073l.084-.474H3.5v1.129H.728Zm2.818 4.419c0-.54-.281-.846-.792-.925v-.024a.94.94 0 0 0 .69-.936c0-.642-.354-.996-1.278-.996-.63 0-1.344.162-1.344 1.11l.822.072c0-.426.156-.534.48-.534.336 0 .438.186.438.414 0 .384-.234.594-.666.648l-.294.036v.6c.18-.03.294-.042.444-.042.372 0 .6.15.6.517 0 .42-.288.54-.624.54-.42 0-.672-.174-.9-.396l-.48.528c.306.336.846.552 1.452.552.858 0 1.452-.372 1.452-1.164Z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path fill-rule="evenodd" d="M1.04 3.92v.475h2.106v-.474l-.492-.042c-.09-.006-.096-.024-.096-.12V.94h-1.44l-.066.491.522.108c.06.018.078.054.078.126V3.76c0 .09-.012.114-.096.12l-.516.042ZM5.333 2a.667.667 0 0 0 0 1.333h10a.667.667 0 0 0 0-1.333h-10Zm0 5.333a.667.667 0 0 0 0 1.334h10a.667.667 0 0 0 0-1.334h-10Zm-.666 6c0-.368.298-.666.666-.666h10a.667.667 0 0 1 0 1.333h-10a.667.667 0 0 1-.666-.667Zm-3.94-3.56v-.558l.805-.786.053-.051c.568-.551.811-.787.811-1.119 0-.222-.108-.384-.426-.384-.33 0-.468.108-.468.534l-.816-.072c.006-.954.732-1.11 1.362-1.11.93 0 1.26.396 1.26.96 0 .563-.387.934-.824 1.352l-.004.004-.678.649h.882c.06 0 .084-.012.096-.073l.084-.474H3.5v1.129H.728Zm2.819 4.419c0-.54-.282-.846-.793-.925v-.024a.94.94 0 0 0 .69-.936c0-.642-.354-.996-1.278-.996-.63 0-1.344.162-1.344 1.11l.822.072c0-.426.156-.534.48-.534.336 0 .438.186.438.414 0 .384-.234.594-.666.648l-.294.036v.6c.18-.03.294-.042.444-.042.372 0 .6.15.6.517 0 .42-.288.54-.624.54-.42 0-.672-.174-.9-.396l-.48.528c.306.336.846.552 1.452.552.858 0 1.453-.372 1.453-1.164Z"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path fill-rule="evenodd" d="M14.424 4.642a.667.667 0 1 0-1.312.236l.51 2.853A10.001 10.001 0 0 0 .93 8.929a.667.667 0 1 0 .943.942 8.67 8.67 0 0 1 11.226-.88l-3.256.585a.667.667 0 0 0 .235 1.312l4.61-.826a.664.664 0 0 0 .567-.789l-.83-4.63Z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path fill-rule="evenodd" d="M14.424 4.642a.667.667 0 0 0-1.312.236l.51 2.853A10.001 10.001 0 0 0 .93 8.929a.667.667 0 1 0 .943.942 8.67 8.67 0 0 1 11.226-.88l-3.256.585a.667.667 0 0 0 .235 1.312l4.61-.826a.664.664 0 0 0 .567-.789l-.83-4.63Z"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path fill-rule="evenodd" d="M.696 0A.696.696 0 0 0 0 .696v6.26c0 .185.073.362.204.492l8.348 8.348a.696.696 0 0 0 .983 0l6.261-6.26a.696.696 0 0 0 0-.984L7.448.204A.696.696 0 0 0 6.957 0H.696ZM4.87 3.478a1.391 1.391 0 1 0 0 2.783 1.391 1.391 0 0 0 0-2.783Z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path d="M14.7 7.1 8.5.9C8.3.7 8.2.7 8 .7H1.3C1.2.7 1 .7.9.9c-.1.2-.2.3-.2.4V8c0 .2.1.3.2.5l6.3 6.3c.2.2.4.3.6.4.2.1.5.2.8.2.3 0 .5-.1.8-.2.2-.1.5-.2.6-.4l4.8-4.8c.2-.2.3-.4.4-.6.1-.2.2-.5.2-.8 0-.3-.1-.5-.2-.8-.1-.3-.3-.5-.5-.7Zm-9.4-.4c-.3 0-.5-.1-.7-.2-.2-.2-.4-.4-.5-.7-.1-.2-.1-.5-.1-.7.1-.3.2-.5.4-.7.2-.2.4-.3.7-.4.2 0 .5 0 .7.1.2.1.5.3.6.5.1.2.2.5.2.7 0 .4-.1.7-.4.9-.2.3-.5.5-.9.5Z"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path fill-rule="evenodd" d="M.696 0A.696.696 0 0 0 0 .696v6.26c0 .185.073.362.204.492l8.348 8.348a.696.696 0 0 0 .983 0l6.261-6.26a.696.696 0 0 0 0-.984L7.448.204A.696.696 0 0 0 6.957 0H.696Zm.695 6.668V1.391h5.277l7.652 7.652-5.277 5.277-7.652-7.652ZM4.174 4.87a.696.696 0 1 1 1.391 0 .696.696 0 0 1-1.391 0Zm.696-2.087a2.087 2.087 0 1 0 0 4.174 2.087 2.087 0 0 0 0-4.174Z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path fill-rule="evenodd" d="m10 14.7 4.7-4.7c.2-.2.4-.4.5-.6.02-.063.042-.12.062-.177.075-.21.138-.386.138-.623 0-.3-.1-.6-.2-.8-.1-.2-.2-.4-.4-.6L8.3.7H.7v7.6l6.5 6.4c.08.162.292.258.475.341l.125.059c.063.02.12.042.177.062.21.075.386.138.623.138.3 0 .6-.1.8-.2.2-.1.4-.2.6-.4Zm-8-7V2h5.7l6.1 6.1s0 .1.1.2.1.3.1.3 0 .1-.1.2c0 .042 0 .067-.008.089-.01.03-.034.053-.092.111l-4.7 4.8s-.1.1-.2.1c-.1.1-.2.1-.3.1-.1 0-.2 0-.3-.1-.1 0-.1 0-.2-.1L2 7.7Zm2.7-2.4c0-.3.3-.6.6-.6.4 0 .7.3.7.6 0 .4-.3.7-.7.7-.3 0-.6-.3-.6-.7Zm.6-2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Z"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 17" class="pdsicon"><path fill-rule="evenodd" d="M11.667 3.697C11.667 5.687 10.067 8 8 8 5.933 8 4.333 5.687 4.333 3.697a3.667 3.667 0 1 1 7.334 0Zm-8.77 7.2c1-1 2.356-1.562 3.77-1.564h2.666a5.34 5.34 0 0 1 5.334 5.334.667.667 0 0 1-.464.635A22.19 22.19 0 0 1 8 16a22.19 22.19 0 0 1-6.203-.698.667.667 0 0 1-.464-.635 5.34 5.34 0 0 1 1.564-3.77Z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="pdsicon"><path d="M12.222 8.925A5.98 5.98 0 0 1 8 10.667a5.983 5.983 0 0 1-4.222-1.742A7.335 7.335 0 0 0 0 15.333c0 .368.299.667.667.667h14.666a.667.667 0 0 0 .667-.667 7.335 7.335 0 0 0-3.778-6.408Z"/><path d="M8 9.333A4.667 4.667 0 1 0 8 0a4.667 4.667 0 0 0 0 9.333Z"/></svg>
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-icons",
3
- "version": "3.6.0",
3
+ "version": "3.8.0",
4
4
  "icons": [
5
5
  {
6
6
  "name": "access-key",
@@ -68,6 +68,22 @@
68
68
  "positive"
69
69
  ]
70
70
  },
71
+ {
72
+ "name": "add-square",
73
+ "category": "text-editor",
74
+ "tags": [
75
+ "add",
76
+ "addition",
77
+ "create",
78
+ "expand",
79
+ "increase",
80
+ "interface",
81
+ "new",
82
+ "plus",
83
+ "positive",
84
+ "ui"
85
+ ]
86
+ },
71
87
  {
72
88
  "name": "advanced",
73
89
  "category": "actions",
@@ -468,6 +484,18 @@
468
484
  "wake"
469
485
  ]
470
486
  },
487
+ {
488
+ "name": "block",
489
+ "category": "text-editor",
490
+ "tags": [
491
+ "block",
492
+ "design",
493
+ "rectangle",
494
+ "shape",
495
+ "shapes",
496
+ "square"
497
+ ]
498
+ },
471
499
  {
472
500
  "name": "blog",
473
501
  "category": "site-settings",
@@ -529,6 +557,19 @@
529
557
  "voice"
530
558
  ]
531
559
  },
560
+ {
561
+ "name": "button",
562
+ "category": "text-editor",
563
+ "tags": [
564
+ "button",
565
+ "choice",
566
+ "control",
567
+ "design",
568
+ "rectangle",
569
+ "shape",
570
+ "shapes"
571
+ ]
572
+ },
532
573
  {
533
574
  "name": "calendar-date",
534
575
  "category": "features",
@@ -1011,6 +1052,25 @@
1011
1052
  "code"
1012
1053
  ]
1013
1054
  },
1055
+ {
1056
+ "name": "code-block",
1057
+ "category": "text-editor",
1058
+ "tags": [
1059
+ "code",
1060
+ "coding",
1061
+ "develop",
1062
+ "development",
1063
+ "document",
1064
+ "file",
1065
+ "folder",
1066
+ "paper",
1067
+ "programming",
1068
+ "script",
1069
+ "source",
1070
+ "tag",
1071
+ "tool"
1072
+ ]
1073
+ },
1014
1074
  {
1015
1075
  "name": "color",
1016
1076
  "category": "text-editor",
@@ -1898,6 +1958,22 @@
1898
1958
  "weather"
1899
1959
  ]
1900
1960
  },
1961
+ {
1962
+ "name": "floppy-disk",
1963
+ "category": "text-editor",
1964
+ "tags": [
1965
+ "backup",
1966
+ "disk",
1967
+ "diskette",
1968
+ "download",
1969
+ "drive",
1970
+ "floppy",
1971
+ "floppydisk",
1972
+ "save",
1973
+ "size",
1974
+ "storage"
1975
+ ]
1976
+ },
1901
1977
  {
1902
1978
  "name": "folder",
1903
1979
  "category": "features",
@@ -2092,6 +2168,78 @@
2092
2168
  "video"
2093
2169
  ]
2094
2170
  },
2171
+ {
2172
+ "name": "heading-1",
2173
+ "category": "text-editor",
2174
+ "tags": [
2175
+ "h1",
2176
+ "heading",
2177
+ "one",
2178
+ "text",
2179
+ "title",
2180
+ "typography"
2181
+ ]
2182
+ },
2183
+ {
2184
+ "name": "heading-2",
2185
+ "category": "text-editor",
2186
+ "tags": [
2187
+ "h2",
2188
+ "heading",
2189
+ "one",
2190
+ "text",
2191
+ "title",
2192
+ "typography"
2193
+ ]
2194
+ },
2195
+ {
2196
+ "name": "heading-3",
2197
+ "category": "text-editor",
2198
+ "tags": [
2199
+ "h3",
2200
+ "heading",
2201
+ "one",
2202
+ "text",
2203
+ "title",
2204
+ "typography"
2205
+ ]
2206
+ },
2207
+ {
2208
+ "name": "heading-4",
2209
+ "category": "text-editor",
2210
+ "tags": [
2211
+ "h4",
2212
+ "heading",
2213
+ "one",
2214
+ "text",
2215
+ "title",
2216
+ "typography"
2217
+ ]
2218
+ },
2219
+ {
2220
+ "name": "heading-5",
2221
+ "category": "text-editor",
2222
+ "tags": [
2223
+ "h5",
2224
+ "heading",
2225
+ "one",
2226
+ "text",
2227
+ "title",
2228
+ "typography"
2229
+ ]
2230
+ },
2231
+ {
2232
+ "name": "heading-6",
2233
+ "category": "text-editor",
2234
+ "tags": [
2235
+ "h6",
2236
+ "heading",
2237
+ "one",
2238
+ "text",
2239
+ "title",
2240
+ "typography"
2241
+ ]
2242
+ },
2095
2243
  {
2096
2244
  "name": "heading-large",
2097
2245
  "category": "text-editor",
@@ -3289,6 +3437,19 @@
3289
3437
  "quote"
3290
3438
  ]
3291
3439
  },
3440
+ {
3441
+ "name": "quote",
3442
+ "category": "text-editor",
3443
+ "tags": [
3444
+ "bubble",
3445
+ "editing",
3446
+ "marks",
3447
+ "message",
3448
+ "quotation",
3449
+ "quote",
3450
+ "text"
3451
+ ]
3452
+ },
3292
3453
  {
3293
3454
  "name": "redo",
3294
3455
  "category": "text-editor",