@pine-ds/icons 8.17.0 → 8.18.1

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 (34) hide show
  1. package/components/pds-icon.js +2 -2
  2. package/components/pds-icon.js.map +1 -1
  3. package/dist/cheatsheet.html +7 -5
  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-ad651990.js → utils-2688221f.js} +3 -3
  7. package/dist/cjs/{utils-ad651990.js.map → utils-2688221f.js.map} +1 -1
  8. package/dist/collection/components/pds-icon/svg/square-dollar.svg +1 -0
  9. package/dist/collection/components/pds-icon/svg/trophy.svg +1 -1
  10. package/dist/collection/components/pds-icon/utils.js +2 -2
  11. package/dist/collection/components/pds-icon/utils.js.map +1 -1
  12. package/dist/docs.json +1 -1
  13. package/dist/esm/index.js +1 -1
  14. package/dist/esm/pds-icon.entry.js +1 -1
  15. package/dist/esm/{utils-a600f0ec.js → utils-82853a12.js} +3 -3
  16. package/dist/esm/{utils-a600f0ec.js.map → utils-82853a12.js.map} +1 -1
  17. package/dist/pds-icons/index.esm.js +1 -1
  18. package/dist/pds-icons/{p-1a3cdcc3.entry.js → p-3f0a1f7c.entry.js} +2 -2
  19. package/dist/pds-icons/{p-5baaa291.js → p-4719974e.js} +1 -1
  20. package/dist/pds-icons/{p-5baaa291.js.map → p-4719974e.js.map} +1 -1
  21. package/dist/pds-icons/pds-icons.esm.js +1 -1
  22. package/dist/pds-icons/svg/square-dollar.svg +1 -0
  23. package/dist/pds-icons/svg/trophy.svg +1 -1
  24. package/dist/pds-icons.json +12 -1
  25. package/dist/pds-icons.symbols.svg +3 -2
  26. package/dist/svg/square-dollar.svg +1 -0
  27. package/dist/svg/trophy.svg +1 -1
  28. package/dist/types/components/pds-icon/utils.d.ts +2 -2
  29. package/icons/index.d.ts +2 -1
  30. package/icons/index.js +3 -2
  31. package/icons/index.mjs +3 -2
  32. package/icons/package.json +1 -1
  33. package/package.json +1 -1
  34. /package/dist/pds-icons/{p-1a3cdcc3.entry.js.map → p-3f0a1f7c.entry.js.map} +0 -0
@@ -107,8 +107,8 @@ const isStr = (val) => typeof val === 'string'; // eslint-disable-line @typescri
107
107
  const toLower = (val) => val.toLowerCase();
108
108
  /**
109
109
  * Elements inside of web components sometimes need to inherit global attributes
110
- * set on the host. For example, the inner input in `ion-input` should inherit
111
- * the `title` attribute that developers set directly on `ion-input`. This
110
+ * set on the host. For example, the inner input in `pds-input` should inherit
111
+ * the `title` attribute that developers set directly on `pds-input`. This
112
112
  * helper function should be called in componentWillLoad and assigned to a variable
113
113
  * that is later used in the render function.
114
114
  *
@@ -1 +1 @@
1
- {"file":"pds-icon.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,6DAA6D,CAAC;IAEnF,MAAM,aAAa,GAAI,KAAK,CAAC,SAAS,GAAG,iBAAiB,GAAG,iBAAiB,IAAI,eAAe,IAAI,YAAY,IAAI,GAAG,CAAA;;IAGxH,IAAK,aAAa,CAAC,UAAU,CAAC,+BAA+B,CAAC,IAAI,CAAC,uBAAuB,EAAG;QAC3F,uBAAuB,GAAG,IAAI,CAAC;QAC/B,OAAO,CAAC,IAAI,CAAC;;KAEZ,CAAC,CAAA;KACH;IAED,IAAI,SAAS,GAAG,IAAI,CAAC;IAErB,IAAK,IAAI,CAAC,UAAU,CAAE,IAAI,CAAC,EAAG;QAC5B,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;KAC/B;IAED,IAAK,CAAC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GL,EAAE,EAAE,CAAC;SACN;KACF;;;;;;;;;;;;;;;;;;;;;;;;;;;AASH,MAAM,kBAAkB,GAAG,CAAC,KAAyB;IACnD,OAAO,KAAK;UACT;YACE,WAAW,EAAE,IAAI;YACjB,CAAC,aAAa,KAAK,EAAE,GAAG,IAAI;SAC7B;UACD,IAAI,CAAC;AACT,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;","names":["PdsIcon"],"sources":["src/components/pds-icon/assetPath.ts","src/components/pds-icon/utils.ts","src/components/pds-icon/validate.ts","src/components/pds-icon/request.ts","src/components/pds-icon/pds-icon.scss?tag=pds-icon&encapsulation=shadow","src/components/pds-icon/pds-icon.tsx"],"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 assets from jsDelivr CDN.\\n\\n It's recommended that you bundle Pine Assets with your application and set the path accordingly.\\n\\nFor more information, 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","import { isStr } from './utils';\n\nexport const validateContent = (svgContent: string) => {\n const div = document.createElement('div');\n div.innerHTML = svgContent;\n\n // setup this way to ensure it works on our buddy IE\n for (let i = div.childNodes.length - 1; i >= 0; i--) {\n if (div.childNodes[i].nodeName.toLowerCase() !== 'svg') {\n div.removeChild(div.childNodes[i]);\n }\n }\n\n // must only have 1 root element\n const svgElm = div.firstElementChild;\n if (svgElm && svgElm.nodeName.toLowerCase() === 'svg') {\n const svgClass = svgElm.getAttribute('class') || '';\n svgElm.setAttribute('class', (svgClass + ' s-pds-icon').trim());\n\n // root element must be an svg\n // lets double check we've got valid elements\n // do not allow scripts\n if (isValid(svgElm as HTMLElement)) {\n return div.innerHTML;\n }\n }\n return '';\n};\n\nexport const isValid = (elm: HTMLElement) => {\n if (elm.nodeType === 1) {\n if (elm.nodeName.toLowerCase() === 'script') {\n return false;\n }\n\n for (let i = 0; i < elm.attributes.length; i++) {\n const name = elm.attributes[i].name;\n if (isStr(name) && name.toLowerCase().indexOf('on') === 0) {\n return false;\n }\n }\n\n for (let i = 0; i < elm.childNodes.length; i++) {\n if (!isValid(elm.childNodes[i] as HTMLElement)) {\n return false;\n }\n }\n }\n return true;\n};\n\nexport const isSvgDataUrl = (url: string) => url.startsWith('data:image/svg+xml');\nexport const isEncodedDataUrl = (url: string) => url.indexOf(';utf8,') !== -1;\n","import { isEncodedDataUrl, isSvgDataUrl, validateContent } from './validate';\n\nexport const pdsIconContent = new Map<string, string>();\nconst requests = new Map<string, Promise<any>>(); // eslint-disable-line @typescript-eslint/no-explicit-any\n\nlet parser: DOMParser;\n\nexport const getSvgContent = (url: string, sanitize = false) => {\n let req = requests.get(url);\n\n if(!req) {\n if (typeof fetch != 'undefined' && typeof document !== 'undefined') {\n if (isSvgDataUrl(url) && isEncodedDataUrl(url)) {\n if (!parser) {\n parser = new DOMParser();\n }\n\n const doc = parser.parseFromString(url, 'text/html');\n const svg = doc.querySelector('svg');\n\n if (svg) {\n pdsIconContent.set(url, svg.outerHTML);\n }\n\n return Promise.resolve();\n } else {\n // we don't have a request\n req = fetch(url).then((rsp) => {\n if (rsp.ok) {\n return rsp.text().then((svgContent) => {\n if (svgContent && sanitize !== false) {\n svgContent = validateContent(svgContent);\n }\n pdsIconContent.set(url, svgContent || '');\n });\n }\n pdsIconContent.set(url, '');\n });\n\n requests.set(url, req);\n }\n } else {\n pdsIconContent.set(url, '');\n return Promise.resolve();\n }\n }\n\n return req;\n}\n",":host {\n --dimension-icon-height: 16px;\n --dimension-icon-width: 16px;\n --color-icon-fill: currentColor;\n\n contain: strict;\n display: inline-block;\n fill: var(--color-icon-fill);\n height: var(--dimension-icon-height);\n width: var(--dimension-icon-width);\n\n .pdsicon {\n fill: var(--color-icon-fill);\n }\n}\n\n.pds-icon-fill-none {\n fill: none;\n}\n\n.icon-inner,\n.pds-icon,\nsvg {\n display: block;\n height: 100%;\n width: 100%;\n}\n","import { Build, Component, Element, Host, Prop, State, Watch, h } from '@stencil/core';\nimport { getSvgContent, pdsIconContent } from './request';\nimport { getName, getUrl, inheritAttributes } from './utils';\n\n@Component({\n tag: 'pds-icon',\n assetsDirs: ['svg'],\n styleUrl: 'pds-icon.scss',\n shadow: true,\n})\nexport class PdsIcon {\n private io?: IntersectionObserver;\n private inheritedAttributes: { [k: string]: any } = {}; // eslint-disable-line @typescript-eslint/no-explicit-any\n\n @Element() el!: HTMLPdsIconElement;\n\n @State() private ariaLabel?: string;\n @State() private isVisible = false;\n @State() private svgContent?: string;\n\n /**\n *\n * The color of the icon\n *\n */\n @Prop() color?: string;\n\n /**\n * This a combination of both `name` and `src`. If a `src` url is detected\n * it will set the `src` property. Otherwise it assumes it's a built-in named\n * SVG and set the `name` property.\n */\n @Prop() icon?: any;\n\n /**\n * The name of the icon to use from\n * the built-in set.\n */\n @Prop({ reflect: true }) name?: string;\n\n /**\n * The size of the icon. This can be\n * 'small', 'regular', 'medium', large, or a\n * custom value (40px, 1rem, etc)\n *\n */\n @Prop({ reflect: true }) size?:\n | 'small' // 12px\n | 'regular' // 16px\n | 'medium' // 20px\n | 'large' // 24px\n | 'auto'\n | string = 'regular'\n\n /**\n *\n * Specifies the exact `src` of an SVG file to use.\n */\n @Prop() src?: string;\n\n private iconSize() {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const sizes: { [key: string]: any } = {\n small: '12px',\n regular: '16px',\n medium: '20px',\n large: '24px',\n }\n\n if (sizes[this.size]) {\n return sizes[this.size];\n } else {\n return this.size;\n }\n }\n\n componentDidLoad() {\n this.setCSSVariables();\n }\n\n componentWillLoad() {\n this.inheritedAttributes = inheritAttributes(this.el, ['aria-label']);\n this.setCSSVariables();\n }\n\n setCSSVariables() {\n this.el.style.setProperty(`--dimension-icon-height`, this.iconSize());\n this.el.style.setProperty(`--dimension-icon-width`, this.iconSize());\n this.el.style.setProperty(`--color-icon-fill`, typeof this.color !== 'undefined' ? this.color : 'currentColor');\n }\n\n connectedCallback() {\n this.waitUntilVisible(this.el, '50px', () => {\n this.isVisible = true;\n this.loadIcon();\n })\n }\n\n disconnectedCallback() {\n if (this.io) {\n this.io.disconnect();\n this.io = undefined;\n }\n }\n\n @Watch('size')\n @Watch('color')\n updateStyles() {\n this.setCSSVariables();\n }\n\n @Watch('name')\n @Watch('src')\n @Watch('icon')\n loadIcon() {\n if (Build.isBrowser && this.isVisible) {\n const url = getUrl(this);\n if (url) {\n if (pdsIconContent.has(url)) {\n this.svgContent = pdsIconContent.get(url);\n } else {\n getSvgContent(url).then(() => (this.svgContent = pdsIconContent.get(url)));\n }\n }\n }\n\n const label = getName(this.name, this.icon);\n\n if (label) {\n this.ariaLabel = label.replace(/\\-/g, ' ');\n }\n }\n\n render() {\n const { ariaLabel, inheritedAttributes } = this;\n\n return (\n\n <Host\n aria-label={ariaLabel !== undefined && !this.hasAriaHidden() ? ariaLabel : null }\n alt=\"\"\n role=\"img\"\n class={{\n ...createColorClasses(this.color),\n }}\n {...inheritedAttributes}\n >\n {Build.isBrowser && this.svgContent ? (\n <div class=\"icon-inner\" innerHTML={this.svgContent}></div>\n ) : (\n <div class=\"icon-inner\"></div>\n )}\n </Host>\n )\n }\n\n /*****\n * Private Methods\n ****/\n\n private waitUntilVisible(el: HTMLElement, rootMargin: string, cb: () => void) {\n if (Build.isBrowser && typeof window !== 'undefined' && (window).IntersectionObserver) {\n const io = (this.io = new (window).IntersectionObserver(\n (data: IntersectionObserverEntry[]) => {\n if (data[0].isIntersecting) {\n io.disconnect();\n this.io = undefined;\n cb();\n }\n },\n { rootMargin },\n ));\n\n io.observe(el);\n } else {\n // browser doesn't support IntersectionObserver\n // so just fallback to always show it\n cb();\n }\n }\n\n private hasAriaHidden = () => {\n const { el } = this;\n\n return el.hasAttribute('aria-hidden') && el.getAttribute('aria-hidden') === 'true';\n }\n}\n\nconst createColorClasses = (color: string | undefined) => {\n return color\n ? {\n 'pds-color': true,\n [`pds-color-${color}`]: true,\n }\n : null;\n };\n"],"version":3}
1
+ {"file":"pds-icon.js","mappings":";;AAEA,IAAI,uBAAuB,GAAG,KAAK,CAAC;AAQpC;;;;;;;;;AASO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AAC,SAAS,IAAI,IAAI,CAAC,UAAU,IACjC,WAAK,KAAK,EAAC,YAAY,EAAC,SAAS,EAAE,IAAI,CAAC,UAAU,GAAQ,KAE1D,WAAK,KAAK,EAAC,YAAY,GAAO,CAC/B,CACI,EACR;KACF;;;;IAMO,gBAAgB,CAAC,EAAe,EAAE,UAAkB,EAAE,EAAc;QAC1E,IAAI,KAAK,CAAC,SAAS,IAAI,OAAO,MAAM,KAAK,WAAW,IAAI,CAAC,MAAM,EAAE,oBAAoB,EAAE;YACrF,MAAM,EAAE,IAAI,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,MAAM,EAAE,oBAAoB,CACrD,CAAC,IAAiC;gBAChC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,cAAc,EAAE;oBAC1B,EAAE,CAAC,UAAU,EAAE,CAAC;oBAChB,IAAI,CAAC,EAAE,GAAG,SAAS,CAAC;oBACpB,EAAE,EAAE,CAAC;iBACN;aACF,EACD,EAAE,UAAU,EAAE,CACf,CAAC,CAAC;YAEH,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;SAChB;aAAM;;;YAGL,EAAE,EAAE,CAAC;SACN;KACF;;;;;;;;;;;;;;;;;;;;;;;;;;;AASH,MAAM,kBAAkB,GAAG,CAAC,KAAyB;IACnD,OAAO,KAAK;UACT;YACE,WAAW,EAAE,IAAI;YACjB,CAAC,aAAa,KAAK,EAAE,GAAG,IAAI;SAC7B;UACD,IAAI,CAAC;AACT,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;","names":["PdsIcon"],"sources":["src/components/pds-icon/assetPath.ts","src/components/pds-icon/utils.ts","src/components/pds-icon/validate.ts","src/components/pds-icon/request.ts","src/components/pds-icon/pds-icon.scss?tag=pds-icon&encapsulation=shadow","src/components/pds-icon/pds-icon.tsx"],"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 assets from jsDelivr CDN.\\n\\n It's recommended that you bundle Pine Assets with your application and set the path accordingly.\\n\\nFor more information, 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 `pds-input` should inherit\n * the `title` attribute that developers set directly on `pds-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","import { isStr } from './utils';\n\nexport const validateContent = (svgContent: string) => {\n const div = document.createElement('div');\n div.innerHTML = svgContent;\n\n // setup this way to ensure it works on our buddy IE\n for (let i = div.childNodes.length - 1; i >= 0; i--) {\n if (div.childNodes[i].nodeName.toLowerCase() !== 'svg') {\n div.removeChild(div.childNodes[i]);\n }\n }\n\n // must only have 1 root element\n const svgElm = div.firstElementChild;\n if (svgElm && svgElm.nodeName.toLowerCase() === 'svg') {\n const svgClass = svgElm.getAttribute('class') || '';\n svgElm.setAttribute('class', (svgClass + ' s-pds-icon').trim());\n\n // root element must be an svg\n // lets double check we've got valid elements\n // do not allow scripts\n if (isValid(svgElm as HTMLElement)) {\n return div.innerHTML;\n }\n }\n return '';\n};\n\nexport const isValid = (elm: HTMLElement) => {\n if (elm.nodeType === 1) {\n if (elm.nodeName.toLowerCase() === 'script') {\n return false;\n }\n\n for (let i = 0; i < elm.attributes.length; i++) {\n const name = elm.attributes[i].name;\n if (isStr(name) && name.toLowerCase().indexOf('on') === 0) {\n return false;\n }\n }\n\n for (let i = 0; i < elm.childNodes.length; i++) {\n if (!isValid(elm.childNodes[i] as HTMLElement)) {\n return false;\n }\n }\n }\n return true;\n};\n\nexport const isSvgDataUrl = (url: string) => url.startsWith('data:image/svg+xml');\nexport const isEncodedDataUrl = (url: string) => url.indexOf(';utf8,') !== -1;\n","import { isEncodedDataUrl, isSvgDataUrl, validateContent } from './validate';\n\nexport const pdsIconContent = new Map<string, string>();\nconst requests = new Map<string, Promise<any>>(); // eslint-disable-line @typescript-eslint/no-explicit-any\n\nlet parser: DOMParser;\n\nexport const getSvgContent = (url: string, sanitize = false) => {\n let req = requests.get(url);\n\n if(!req) {\n if (typeof fetch != 'undefined' && typeof document !== 'undefined') {\n if (isSvgDataUrl(url) && isEncodedDataUrl(url)) {\n if (!parser) {\n parser = new DOMParser();\n }\n\n const doc = parser.parseFromString(url, 'text/html');\n const svg = doc.querySelector('svg');\n\n if (svg) {\n pdsIconContent.set(url, svg.outerHTML);\n }\n\n return Promise.resolve();\n } else {\n // we don't have a request\n req = fetch(url).then((rsp) => {\n if (rsp.ok) {\n return rsp.text().then((svgContent) => {\n if (svgContent && sanitize !== false) {\n svgContent = validateContent(svgContent);\n }\n pdsIconContent.set(url, svgContent || '');\n });\n }\n pdsIconContent.set(url, '');\n });\n\n requests.set(url, req);\n }\n } else {\n pdsIconContent.set(url, '');\n return Promise.resolve();\n }\n }\n\n return req;\n}\n",":host {\n --dimension-icon-height: 16px;\n --dimension-icon-width: 16px;\n --color-icon-fill: currentColor;\n\n contain: strict;\n display: inline-block;\n fill: var(--color-icon-fill);\n height: var(--dimension-icon-height);\n width: var(--dimension-icon-width);\n\n .pdsicon {\n fill: var(--color-icon-fill);\n }\n}\n\n.pds-icon-fill-none {\n fill: none;\n}\n\n.icon-inner,\n.pds-icon,\nsvg {\n display: block;\n height: 100%;\n width: 100%;\n}\n","import { Build, Component, Element, Host, Prop, State, Watch, h } from '@stencil/core';\nimport { getSvgContent, pdsIconContent } from './request';\nimport { getName, getUrl, inheritAttributes } from './utils';\n\n@Component({\n tag: 'pds-icon',\n assetsDirs: ['svg'],\n styleUrl: 'pds-icon.scss',\n shadow: true,\n})\nexport class PdsIcon {\n private io?: IntersectionObserver;\n private inheritedAttributes: { [k: string]: any } = {}; // eslint-disable-line @typescript-eslint/no-explicit-any\n\n @Element() el!: HTMLPdsIconElement;\n\n @State() private ariaLabel?: string;\n @State() private isVisible = false;\n @State() private svgContent?: string;\n\n /**\n *\n * The color of the icon\n *\n */\n @Prop() color?: string;\n\n /**\n * This a combination of both `name` and `src`. If a `src` url is detected\n * it will set the `src` property. Otherwise it assumes it's a built-in named\n * SVG and set the `name` property.\n */\n @Prop() icon?: any;\n\n /**\n * The name of the icon to use from\n * the built-in set.\n */\n @Prop({ reflect: true }) name?: string;\n\n /**\n * The size of the icon. This can be\n * 'small', 'regular', 'medium', large, or a\n * custom value (40px, 1rem, etc)\n *\n */\n @Prop({ reflect: true }) size?:\n | 'small' // 12px\n | 'regular' // 16px\n | 'medium' // 20px\n | 'large' // 24px\n | 'auto'\n | string = 'regular'\n\n /**\n *\n * Specifies the exact `src` of an SVG file to use.\n */\n @Prop() src?: string;\n\n private iconSize() {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const sizes: { [key: string]: any } = {\n small: '12px',\n regular: '16px',\n medium: '20px',\n large: '24px',\n }\n\n if (sizes[this.size]) {\n return sizes[this.size];\n } else {\n return this.size;\n }\n }\n\n componentDidLoad() {\n this.setCSSVariables();\n }\n\n componentWillLoad() {\n this.inheritedAttributes = inheritAttributes(this.el, ['aria-label']);\n this.setCSSVariables();\n }\n\n setCSSVariables() {\n this.el.style.setProperty(`--dimension-icon-height`, this.iconSize());\n this.el.style.setProperty(`--dimension-icon-width`, this.iconSize());\n this.el.style.setProperty(`--color-icon-fill`, typeof this.color !== 'undefined' ? this.color : 'currentColor');\n }\n\n connectedCallback() {\n this.waitUntilVisible(this.el, '50px', () => {\n this.isVisible = true;\n this.loadIcon();\n })\n }\n\n disconnectedCallback() {\n if (this.io) {\n this.io.disconnect();\n this.io = undefined;\n }\n }\n\n @Watch('size')\n @Watch('color')\n updateStyles() {\n this.setCSSVariables();\n }\n\n @Watch('name')\n @Watch('src')\n @Watch('icon')\n loadIcon() {\n if (Build.isBrowser && this.isVisible) {\n const url = getUrl(this);\n if (url) {\n if (pdsIconContent.has(url)) {\n this.svgContent = pdsIconContent.get(url);\n } else {\n getSvgContent(url).then(() => (this.svgContent = pdsIconContent.get(url)));\n }\n }\n }\n\n const label = getName(this.name, this.icon);\n\n if (label) {\n this.ariaLabel = label.replace(/\\-/g, ' ');\n }\n }\n\n render() {\n const { ariaLabel, inheritedAttributes } = this;\n\n return (\n\n <Host\n aria-label={ariaLabel !== undefined && !this.hasAriaHidden() ? ariaLabel : null }\n alt=\"\"\n role=\"img\"\n class={{\n ...createColorClasses(this.color),\n }}\n {...inheritedAttributes}\n >\n {Build.isBrowser && this.svgContent ? (\n <div class=\"icon-inner\" innerHTML={this.svgContent}></div>\n ) : (\n <div class=\"icon-inner\"></div>\n )}\n </Host>\n )\n }\n\n /*****\n * Private Methods\n ****/\n\n private waitUntilVisible(el: HTMLElement, rootMargin: string, cb: () => void) {\n if (Build.isBrowser && typeof window !== 'undefined' && (window).IntersectionObserver) {\n const io = (this.io = new (window).IntersectionObserver(\n (data: IntersectionObserverEntry[]) => {\n if (data[0].isIntersecting) {\n io.disconnect();\n this.io = undefined;\n cb();\n }\n },\n { rootMargin },\n ));\n\n io.observe(el);\n } else {\n // browser doesn't support IntersectionObserver\n // so just fallback to always show it\n cb();\n }\n }\n\n private hasAriaHidden = () => {\n const { el } = this;\n\n return el.hasAttribute('aria-hidden') && el.getAttribute('aria-hidden') === 'true';\n }\n}\n\nconst createColorClasses = (color: string | undefined) => {\n return color\n ? {\n 'pds-color': true,\n [`pds-color-${color}`]: true,\n }\n : null;\n };\n"],"version":3}
@@ -2,7 +2,7 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8">
5
- <title>Pine icons 8.16.0 Cheatsheet</title>
5
+ <title>Pine icons 8.18.0 Cheatsheet</title>
6
6
  <style>
7
7
  body {
8
8
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
@@ -33,8 +33,8 @@
33
33
  </style>
34
34
  </head>
35
35
  <body>
36
- <h1>Pine Icons 8.16.0 Cheatsheet</h1>
37
- <h3>354 icons</h3>
36
+ <h1>Pine Icons 8.18.0 Cheatsheet</h1>
37
+ <h3>355 icons</h3>
38
38
 
39
39
  <a href="./svg/access-key.svg"><svg><use href="#access-key" xlink:href="#access-key"/></svg></a>
40
40
  <a href="./svg/add.svg"><svg><use href="#add" xlink:href="#add"/></svg></a>
@@ -335,6 +335,7 @@
335
335
  <a href="./svg/skipped.svg"><svg><use href="#skipped" xlink:href="#skipped"/></svg></a>
336
336
  <a href="./svg/slash-divider.svg"><svg><use href="#slash-divider" xlink:href="#slash-divider"/></svg></a>
337
337
  <a href="./svg/speaker.svg"><svg><use href="#speaker" xlink:href="#speaker"/></svg></a>
338
+ <a href="./svg/square-dollar.svg"><svg><use href="#square-dollar" xlink:href="#square-dollar"/></svg></a>
338
339
  <a href="./svg/stack.svg"><svg><use href="#stack" xlink:href="#stack"/></svg></a>
339
340
  <a href="./svg/star.svg"><svg><use href="#star" xlink:href="#star"/></svg></a>
340
341
  <a href="./svg/star-03.svg"><svg><use href="#star-03" xlink:href="#star-03"/></svg></a>
@@ -390,7 +391,7 @@
390
391
  <a href="./svg/window-paragraph.svg"><svg><use href="#window-paragraph" xlink:href="#window-paragraph"/></svg></a>
391
392
  <a href="./svg/world.svg"><svg><use href="#world" xlink:href="#world"/></svg></a>
392
393
  <a href="./svg/wrench.svg"><svg><use href="#wrench" xlink:href="#wrench"/></svg></a>
393
- <svg data-pdsicons="8.16.0" style="display:none">
394
+ <svg data-pdsicons="8.18.0" style="display:none">
394
395
  <style>
395
396
  .pdsicon {
396
397
  fill: currentColor;
@@ -701,6 +702,7 @@
701
702
  <symbol id="skipped" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M22.648 1.212c.222.19.352.48.352.788v9c0 .552-.41 1-.917 1-.506 0-.916-.448-.916-1V3.28l-6.195 1.69a.84.84 0 0 1-.512-.021L9.213 3.04l-6.38 1.74v15.938l6.195-1.69a.84.84 0 0 1 .512.022l2.75 1c.48.175.74.741.58 1.265s-.68.807-1.16.633l-2.497-.908-7.074 1.93a.86.86 0 0 1-.786-.183A1.03 1.03 0 0 1 1 22V4c0-.459.286-.859.694-.97l7.334-2a.84.84 0 0 1 .512.021l5.247 1.908 7.074-1.93a.86.86 0 0 1 .787.183m-.833 14.08c.358.391.358 1.025 0 1.415L19.713 19l2.102 2.293c.358.39.358 1.024 0 1.414a.864.864 0 0 1-1.297 0l-2.101-2.293-2.102 2.293a.864.864 0 0 1-1.297 0 1.065 1.065 0 0 1 0-1.414L17.12 19l-2.102-2.293a1.065 1.065 0 0 1 0-1.414.864.864 0 0 1 1.297 0l2.102 2.293 2.101-2.293a.864.864 0 0 1 1.297 0"/></symbol>
702
703
  <symbol id="slash-divider" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M17.447 1.106a1 1 0 0 1 .447 1.341l-10 20a1 1 0 1 1-1.788-.894l10-20a1 1 0 0 1 1.341-.447"/></symbol>
703
704
  <symbol id="speaker" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M17.39 4.022c-.24.108-.566.285-1.067.558-1.674.913-4.031 1.978-6.073 1.978H6.8c-.857 0-1.439 0-1.889.037-.438.036-.663.101-.819.18a2 2 0 0 0-.874.875c-.08.156-.145.38-.18.819C3 8.919 3 9.5 3 10.358v1.2c0 .48 0 .789.017 1.026.015.228.042.315.06.356a1 1 0 0 0 .54.542c.042.017.129.043.357.059.237.016.546.017 1.026.017a1 1 0 0 1 1 1v4.25c0 .256.001.311.005.348a1 1 0 0 0 .897.897c.037.003.092.005.348.005s.311-.002.348-.005a1 1 0 0 0 .897-.897c.004-.037.005-.092.005-.348v-4.25a1 1 0 0 1 1-1h.75c2.042 0 4.399 1.065 6.073 1.977.501.274.826.45 1.067.558q.047.022.083.037l.007-.07c.02-.245.02-.589.02-1.129V5.184c0-.54 0-.884-.02-1.128l-.007-.07zm-.823-1.823c.292-.132.718-.302 1.176-.246.573.07 1.048.352 1.384.822.264.369.321.807.347 1.122.026.334.026.76.026 1.247v9.828c0 .487 0 .912-.026 1.246-.026.316-.083.754-.347 1.123-.336.47-.81.751-1.384.821-.458.056-.884-.114-1.176-.246-.318-.143-.71-.357-1.167-.606l-.034-.019c-1.569-.855-3.41-1.642-4.866-1.726v3.285c0 .19 0 .354-.014.502a3 3 0 0 1-2.692 2.691c-.148.015-.312.015-.502.015h-.084c-.19 0-.354 0-.502-.015a3 3 0 0 1-2.692-2.691C4 19.204 4 19.04 4 18.85v-3.305l-.162-.009a3 3 0 0 1-.986-.207 3 3 0 0 1-1.624-1.623 3 3 0 0 1-.207-.986C1 12.407 1 12.028 1 11.59v-1.274c0-.805 0-1.469.044-2.01.046-.562.145-1.079.392-1.564a4 4 0 0 1 1.748-1.748c.485-.248 1.002-.346 1.564-.392.541-.044 1.206-.044 2.01-.044h3.492c1.491 0 3.456-.83 5.116-1.734l.034-.019c.457-.249.85-.463 1.167-.606M22 7.058a1 1 0 0 1 1 1v4a1 1 0 1 1-2 0v-4a1 1 0 0 1 1-1"/></symbol>
705
+ <symbol id="square-dollar" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M16.241 2H7.76c-.805 0-1.47 0-2.01.044-.563.046-1.08.145-1.565.392a4 4 0 0 0-1.748 1.748c-.247.485-.346 1.002-.392 1.564C2 6.29 2 6.954 2 7.758v8.483c0 .805 0 1.47.044 2.01.046.563.145 1.08.392 1.565a4 4 0 0 0 1.748 1.748c.485.247 1.002.346 1.564.392C6.29 22 6.954 22 7.758 22h8.483c.805 0 1.47 0 2.01-.044.563-.046 1.08-.145 1.565-.392a4 4 0 0 0 1.748-1.748c.247-.485.346-1.002.392-1.564.044-.541.044-1.206.044-2.01V7.758c0-.805 0-1.47-.044-2.01-.046-.563-.145-1.08-.392-1.565a4 4 0 0 0-1.748-1.748c-.485-.247-1.002-.346-1.564-.392C17.71 2 17.046 2 16.242 2M5.092 4.218c.156-.08.38-.145.819-.18C6.361 4 6.943 4 7.8 4h8.4c.857 0 1.439 0 1.889.038.438.035.663.1.819.18a2 2 0 0 1 .874.874c.08.156.145.38.18.819C20 6.361 20 6.943 20 7.8v8.4c0 .857 0 1.439-.038 1.889-.035.438-.1.663-.18.819a2 2 0 0 1-.874.874c-.156.08-.38.145-.819.18-.45.037-1.032.038-1.889.038H7.8c-.857 0-1.439 0-1.889-.038-.438-.035-.663-.1-.819-.18a2 2 0 0 1-.874-.874c-.08-.156-.145-.38-.18-.819C4 17.639 4 17.057 4 16.2V7.8c0-.857 0-1.439.038-1.889.035-.438.1-.663.18-.819a2 2 0 0 1 .874-.874m7.909 2.032a1 1 0 0 0-2 0v.329A3.212 3.212 0 0 0 11.116 13h1.77a1.211 1.211 0 1 1 0 2.423h-1.918a1.064 1.064 0 0 1-1.064-1.064 1 1 0 1 0-2 0 3.064 3.064 0 0 0 3.064 3.064h.033v.327a1 1 0 1 0 2 0v-.329A3.212 3.212 0 0 0 12.885 11h-1.77a1.211 1.211 0 1 1 0-2.423h1.918c.587 0 1.064.476 1.064 1.064a1 1 0 0 0 2 0 3.064 3.064 0 0 0-3.065-3.064h-.031z"/></symbol>
704
706
  <symbol id="stack" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M12 3.118 19.764 7 12 10.882 4.236 7zm-.277-2.033a1.5 1.5 0 0 1 .554 0 1.9 1.9 0 0 1 .528.2l9.642 4.82a1 1 0 0 1 0 1.79l-9.642 4.82-.026.014c-.093.047-.286.146-.502.186a1.5 1.5 0 0 1-.554 0c-.216-.04-.41-.139-.502-.186l-.026-.013-9.642-4.822a1 1 0 0 1 0-1.788l9.642-4.822.026-.013c.093-.047.286-.146.502-.186M1.106 11.553a1 1 0 0 1 1.341-.447L12 15.882l9.553-4.776a1 1 0 1 1 .894 1.788l-9.642 4.821-.026.014c-.093.047-.286.146-.502.186a1.5 1.5 0 0 1-.554 0c-.216-.04-.41-.139-.502-.186l-.026-.014-9.642-4.82a1 1 0 0 1-.447-1.342m0 5a1 1 0 0 1 1.341-.447L12 20.882l9.553-4.776a1 1 0 1 1 .894 1.788l-9.642 4.822-.026.012c-.093.048-.286.147-.502.187a1.5 1.5 0 0 1-.554 0c-.216-.04-.41-.139-.502-.186l-.026-.014-9.642-4.82a1 1 0 0 1-.447-1.342"/></symbol>
705
707
  <symbol id="star" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M11.354 1.776a1.5 1.5 0 0 1 1.292 0c.353.168.547.46.645.62a8 8 0 0 1 .323.615l2.14 4.335 4.822.705c.227.033.46.067.65.113.182.044.52.139.789.423a1.5 1.5 0 0 1 .398 1.228c-.051.387-.27.663-.391.805a8 8 0 0 1-.46.472l-3.488 3.397.823 4.799c.04.226.08.458.095.652.014.187.029.538-.158.882a1.5 1.5 0 0 1-1.045.759c-.384.071-.714-.051-.887-.123-.18-.075-.388-.184-.591-.291L12 18.9l-4.31 2.267c-.204.107-.412.216-.592.29-.173.073-.503.195-.887.124a1.5 1.5 0 0 1-1.045-.76c-.187-.343-.172-.694-.158-.881.016-.194.056-.426.095-.652l.822-4.799-3.462-3.372-.025-.025c-.165-.16-.333-.324-.46-.472-.122-.142-.34-.418-.39-.805a1.5 1.5 0 0 1 .397-1.228c.27-.284.607-.38.79-.423.189-.046.422-.08.649-.113l.034-.005 4.788-.7 2.14-4.335.016-.032c.101-.206.205-.417.307-.582.098-.16.292-.453.645-.621M12 4.259 9.993 8.326l-.013.027c-.048.099-.147.303-.303.471a1.5 1.5 0 0 1-.467.34c-.208.096-.433.127-.541.142l-.03.004-4.49.657 3.247 3.163.022.02c.08.077.243.234.355.435a1.5 1.5 0 0 1 .179.55c.028.228-.013.451-.032.56l-.006.029-.766 4.468 4.014-2.111.027-.014c.096-.052.297-.16.522-.204a1.5 1.5 0 0 1 .578 0c.226.044.426.152.522.204l.027.014 4.014 2.11-.767-4.467-.005-.03c-.02-.108-.06-.331-.032-.56.024-.193.084-.38.179-.549.112-.201.276-.358.355-.434q.012-.012.022-.02l3.248-3.164-4.49-.657-.03-.004c-.11-.015-.334-.046-.542-.143a1.5 1.5 0 0 1-.467-.339 2 2 0 0 1-.303-.471l-.013-.027z"/></symbol>
706
708
  <symbol id="star-03" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M11.365 1.725a1.5 1.5 0 0 1 1.269 0c.344.16.539.438.64.595a7 7 0 0 1 .323.585l1.444 2.78 3.107-.61c.215-.043.438-.087.625-.106.186-.02.524-.04.864.129a1.5 1.5 0 0 1 .791.992c.09.369-.006.694-.066.87-.06.18-.153.387-.242.587l-1.287 2.893 2.415 2.049c.167.141.34.288.472.423.13.133.358.384.438.756a1.5 1.5 0 0 1-.283 1.237c-.233.3-.546.428-.722.49a7 7 0 0 1-.609.177l-3.064.798-.096 3.165c-.007.219-.014.446-.037.633-.022.185-.078.52-.318.814a1.5 1.5 0 0 1-1.143.55c-.38.005-.676-.16-.834-.258-.161-.099-.343-.235-.518-.367L12 19.01l-2.535 1.898c-.175.132-.357.268-.518.367-.158.098-.454.263-.834.258a1.5 1.5 0 0 1-1.143-.55c-.24-.294-.296-.629-.318-.814a7 7 0 0 1-.037-.633L6.52 16.37l-3.064-.798a7 7 0 0 1-.61-.176c-.174-.063-.488-.192-.721-.491a1.5 1.5 0 0 1-.283-1.237c.08-.371.307-.623.438-.756.132-.135.305-.282.472-.423l.027-.023 2.388-2.026-1.273-2.862-.014-.031a7 7 0 0 1-.242-.586c-.06-.177-.155-.502-.066-.871a1.5 1.5 0 0 1 .791-.992c.34-.17.678-.149.864-.13a7 7 0 0 1 .659.113l3.073.604 1.444-2.78.016-.03c.1-.194.206-.396.308-.555.1-.157.295-.434.64-.595M12 4.17l-1.336 2.57-.019.038c-.068.134-.208.412-.442.612a1.5 1.5 0 0 1-.688.331c-.302.059-.607-.005-.754-.036l-.041-.008-2.843-.559 1.177 2.647q.007.017.018.038c.062.137.192.42.202.728a1.5 1.5 0 0 1-.17.744c-.142.273-.382.472-.498.568l-.032.026-2.209 1.874 2.803.73.04.01c.147.037.45.112.696.296a1.5 1.5 0 0 1 .476.596c.124.282.13.594.133.744v.042l.089 2.895 2.319-1.736.033-.026c.119-.091.366-.28.664-.36.25-.065.513-.065.763 0 .298.08.545.269.664.36l.034.026 2.318 1.736.088-2.895.001-.042c.003-.15.009-.462.133-.743a1.5 1.5 0 0 1 .476-.597c.247-.184.55-.26.695-.295l.04-.01 2.804-.73-2.209-1.875-.032-.026c-.116-.096-.356-.295-.498-.568a1.5 1.5 0 0 1-.17-.744c.01-.308.14-.591.203-.728l.017-.038 1.177-2.647-2.842.559-.041.008c-.147.031-.453.095-.755.036a1.5 1.5 0 0 1-.687-.331c-.235-.2-.375-.478-.443-.612l-.019-.037z"/></symbol>
@@ -729,7 +731,7 @@
729
731
  <symbol id="trend-down" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M1.293 6.293a1 1 0 0 1 1.414 0l4.869 4.869c.21.21.325.323.414.4l.01.008.01-.009c.09-.076.205-.19.414-.4l2.76-2.76c.179-.178.352-.352.511-.487.175-.148.397-.308.687-.402a2 2 0 0 1 1.236 0c.29.094.512.254.687.402.159.135.332.31.51.488L21 14.586V10a1 1 0 1 1 2 0v7a1 1 0 0 1-1 1h-7a1 1 0 1 1 0-2h4.586l-6.162-6.162a8 8 0 0 0-.414-.4L13 9.43l-.01.009c-.09.076-.205.19-.414.4l-2.76 2.76a9 9 0 0 1-.512.487 2 2 0 0 1-.686.402 2 2 0 0 1-1.236 0 2 2 0 0 1-.686-.402 9 9 0 0 1-.512-.488l-.022-.022-4.87-4.869a1 1 0 0 1 0-1.414"/></symbol>
730
732
  <symbol id="trend-none" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M13 12a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1M4 12a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1"/></symbol>
731
733
  <symbol id="trend-up" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M15 8a1 1 0 1 1 0-2h7a1 1 0 0 1 1 1v7a1 1 0 1 1-2 0V9.414l-6.184 6.184a9 9 0 0 1-.511.488 2 2 0 0 1-.687.402 2 2 0 0 1-1.236 0 2 2 0 0 1-.687-.402 9 9 0 0 1-.51-.488l-2.76-2.76a8 8 0 0 0-.415-.4L8 12.43l-.01.009c-.09.076-.205.19-.414.4l-4.869 4.868a1 1 0 0 1-1.414-1.414l4.869-4.869.022-.022a9 9 0 0 1 .512-.488c.174-.148.396-.308.686-.402a2 2 0 0 1 1.236 0c.29.094.512.254.686.402.16.135.333.31.512.488l2.76 2.76c.21.21.325.323.414.4l.01.008.01-.009c.09-.076.205-.19.414-.4L19.586 8z"/></symbol>
732
- <symbol id="trophy" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M7.355 1h9.29c.314-.002.7-.003 1.039.12a2 2 0 0 1 1.195 1.196c.08.22.108.458.117.684h1.53c.21 0 .415 0 .59.012.19.013.415.043.65.14a2 2 0 0 1 1.082 1.083c.097.234.127.46.14.65.012.174.012.378.012.589v.664c0 .795 0 1.386-.136 1.897a4 4 0 0 1-2.829 2.829c-.38.102-.805.128-1.324.134A7.01 7.01 0 0 1 13 15.93V17h.444A4.556 4.556 0 0 1 18 21.556c0 .797-.647 1.444-1.445 1.444h-9.11A1.444 1.444 0 0 1 6 21.556 4.556 4.556 0 0 1 10.556 17H11v-1.07a7.01 7.01 0 0 1-5.71-4.932c-.52-.006-.945-.032-1.325-.134a4 4 0 0 1-2.829-2.829C1 7.524 1 6.933 1 6.138v-.664c0-.21 0-.415.012-.59.013-.19.043-.415.14-.65a2 2 0 0 1 1.083-1.082c.234-.097.46-.127.65-.14C3.059 3 3.263 3 3.474 3h1.53c.01-.226.037-.465.117-.684a2 2 0 0 1 1.195-1.195C6.656.997 7.04.998 7.355 1M5 5H3.5a8 8 0 0 0-.492.008v.013A8 8 0 0 0 3 5.5V6c0 .994.009 1.295.068 1.518a2 2 0 0 0 1.414 1.414c.12.032.26.049.518.058zm2-1.556a8 8 0 0 1 .006-.437l.013-.001C7.106 3 7.225 3 7.444 3h9.111a8 8 0 0 1 .439.007v.012a8 8 0 0 1 .006.425V9A5 5 0 0 1 7 9zM19 5v3.99c.258-.009.399-.026.518-.058a2 2 0 0 0 1.414-1.414C20.992 7.295 21 6.994 21 6v-.5c0-.247 0-.382-.007-.48l-.001-.012h-.013A8 8 0 0 0 20.5 5zm-8.444 14c-1.221 0-2.242.856-2.495 2h7.878a2.556 2.556 0 0 0-2.495-2z"/></symbol>
734
+ <symbol id="trophy" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M7.355 1h9.29c.314-.002.7-.003 1.039.12a2 2 0 0 1 1.195 1.196c.08.22.108.458.117.684h1.53c.21 0 .415 0 .59.012.19.013.415.043.65.14a2 2 0 0 1 1.082 1.083c.097.234.127.46.14.65.012.174.012.378.012.589v.664c0 .795 0 1.386-.136 1.897a4 4 0 0 1-2.829 2.829c-.38.102-.805.128-1.324.134A7.01 7.01 0 0 1 13 15.93V17h.444A4.556 4.556 0 0 1 18 21.556c0 .797-.647 1.444-1.444 1.444H7.444A1.444 1.444 0 0 1 6 21.556 4.556 4.556 0 0 1 10.556 17H11v-1.07a7.01 7.01 0 0 1-5.71-4.932c-.52-.006-.945-.032-1.325-.134a4 4 0 0 1-2.829-2.829C1 7.524 1 6.933 1 6.138v-.664c0-.21 0-.415.012-.59.013-.19.043-.415.14-.65a2 2 0 0 1 1.083-1.082c.234-.097.46-.127.65-.14C3.059 3 3.263 3 3.474 3h1.53c.01-.226.037-.465.117-.684a2 2 0 0 1 1.195-1.195C6.656.997 7.041.998 7.355 1M5 5H3.5a8 8 0 0 0-.492.008v.013A8 8 0 0 0 3 5.5V6c0 .994.009 1.295.068 1.518a2 2 0 0 0 1.414 1.414c.12.032.26.049.518.058zm2-1.556a8 8 0 0 1 .007-.437l.012-.001C7.106 3 7.225 3 7.444 3h9.112a8 8 0 0 1 .438.007v.012c.006.087.006.206.006.425V9A5 5 0 0 1 7 9zM19 5v3.99c.258-.009.399-.026.518-.058a2 2 0 0 0 1.414-1.414C20.992 7.295 21 6.994 21 6v-.5a8 8 0 0 0-.008-.492h-.013A8 8 0 0 0 20.5 5zm-8.444 14c-1.221 0-2.242.856-2.495 2h7.878a2.556 2.556 0 0 0-2.495-2z"/></symbol>
733
735
  <symbol id="trophy-filled" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M7.444 1h-.09c-.313-.001-.698-.003-1.038.12a2 2 0 0 0-1.195 1.196c-.08.22-.108.458-.117.684h-1.53c-.21 0-.415 0-.59.012-.19.013-.415.043-.65.14a2 2 0 0 0-1.082 1.083c-.097.234-.127.46-.14.65C1 5.059 1 5.263 1 5.474v.664c0 .795 0 1.386.136 1.897a4 4 0 0 0 2.829 2.829c.38.102.805.128 1.324.134A7.01 7.01 0 0 0 11 15.93V17h-.444A4.556 4.556 0 0 0 6 21.556C6 22.353 6.647 23 7.444 23h9.112c.797 0 1.444-.647 1.444-1.444A4.556 4.556 0 0 0 13.444 17H13v-1.07a7.01 7.01 0 0 0 5.71-4.932c.52-.006.945-.032 1.325-.134a4 4 0 0 0 2.829-2.829C23 7.524 23 6.933 23 6.138v-.664c0-.21 0-.415-.012-.59a2 2 0 0 0-.14-.65 2 2 0 0 0-1.083-1.082 2 2 0 0 0-.65-.14C20.941 3 20.737 3 20.527 3h-1.53a2.3 2.3 0 0 0-.118-.684 2 2 0 0 0-1.195-1.195C17.344.997 16.96.999 16.645 1h-9.2M5 5.8c0-.28 0-.42-.054-.527a.5.5 0 0 0-.219-.218C4.62 5 4.48 5 4.2 5h-.456c-.265 0-.397 0-.5.051a.5.5 0 0 0-.218.206c-.056.101-.063.229-.076.485-.032.603-.028 1.228.118 1.776a2 2 0 0 0 1.414 1.414c.12.032.26.049.518.058zm14 .003c0-.28 0-.421.055-.528a.5.5 0 0 1 .22-.22c.107-.053.247-.053.528-.052l.448.002c.264.001.395.002.499.053.09.044.167.118.216.205.056.101.063.229.076.484.032.604.032 1.241-.11 1.77a2 2 0 0 1-1.414 1.415c-.12.032-.26.049-.518.058z"/></symbol>
734
736
  <symbol id="type" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M6.968 3h10.064c.439 0 .817 0 1.13.021.33.023.66.072.986.207a3 3 0 0 1 1.624 1.624c.135.326.184.656.207.986.021.313.021.691.021 1.13V7a1 1 0 1 1-2 0c0-.48 0-.79-.017-1.026-.015-.228-.042-.315-.06-.357a1 1 0 0 0-.54-.54c-.042-.018-.129-.045-.357-.06A17 17 0 0 0 17 5h-4v14h2a1 1 0 1 1 0 2H9a1 1 0 1 1 0-2h2V5H7c-.48 0-.79 0-1.026.017-.228.015-.315.042-.357.06a1 1 0 0 0-.54.54c-.018.042-.045.129-.06.357C5 6.21 5 6.52 5 7a1 1 0 1 1-2 0v-.032c0-.439 0-.817.021-1.13.023-.33.072-.66.207-.986a3 3 0 0 1 1.624-1.624 3 3 0 0 1 .986-.207C6.15 3 6.529 3 6.968 3"/></symbol>
735
737
  <symbol id="underline" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M7.759 2h8.482c.805 0 1.47 0 2.01.044.563.046 1.08.145 1.565.392a4 4 0 0 1 1.748 1.748c.247.485.346 1.002.392 1.564C22 6.29 22 6.954 22 7.758v8.483c0 .805 0 1.47-.044 2.01-.046.563-.145 1.08-.392 1.565a4 4 0 0 1-1.748 1.748c-.485.247-1.002.346-1.564.392-.541.044-1.206.044-2.01.044H7.758c-.805 0-1.47 0-2.01-.044-.563-.046-1.08-.145-1.565-.392a4 4 0 0 1-1.748-1.748c-.247-.485-.346-1.002-.392-1.564C2 17.71 2 17.046 2 16.242V7.758c0-.805 0-1.47.044-2.01.046-.563.145-1.08.392-1.565a4 4 0 0 1 1.748-1.748c.485-.247 1.002-.346 1.564-.392C6.29 2 6.954 2 7.758 2M5.91 4.038c-.438.035-.663.1-.819.18a2 2 0 0 0-.874.874c-.08.156-.145.38-.18.819C4 6.361 4 6.943 4 7.8v8.4c0 .857 0 1.439.038 1.889.035.438.1.663.18.819a2 2 0 0 0 .874.874c.156.08.38.145.819.18C6.361 20 6.943 20 7.8 20h8.4c.857 0 1.439 0 1.889-.038.438-.035.663-.1.819-.18a2 2 0 0 0 .874-.874c.08-.156.145-.38.18-.819.037-.45.038-1.032.038-1.889V7.8c0-.857 0-1.439-.038-1.889-.035-.438-.1-.663-.18-.819a2 2 0 0 0-.874-.874c-.156-.08-.38-.145-.819-.18C17.639 4 17.057 4 16.2 4H7.8c-.857 0-1.439 0-1.889.038M8.5 6a1 1 0 0 1 1 1v3.5a2.5 2.5 0 0 0 5 0V7a1 1 0 1 1 2 0v3.5a4.5 4.5 0 1 1-9 0V7a1 1 0 0 1 1-1M7 17a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1"/></symbol>
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const utils = require('./utils-ad651990.js');
5
+ const utils = require('./utils-2688221f.js');
6
6
  require('./index-01bc4624.js');
7
7
 
8
8
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-01bc4624.js');
6
- const utils = require('./utils-ad651990.js');
6
+ const utils = require('./utils-2688221f.js');
7
7
 
8
8
  const validateContent = (svgContent) => {
9
9
  const div = document.createElement('div');
@@ -109,8 +109,8 @@ const isStr = (val) => typeof val === 'string'; // eslint-disable-line @typescri
109
109
  const toLower = (val) => val.toLowerCase();
110
110
  /**
111
111
  * Elements inside of web components sometimes need to inherit global attributes
112
- * set on the host. For example, the inner input in `ion-input` should inherit
113
- * the `title` attribute that developers set directly on `ion-input`. This
112
+ * set on the host. For example, the inner input in `pds-input` should inherit
113
+ * the `title` attribute that developers set directly on `pds-input`. This
114
114
  * helper function should be called in componentWillLoad and assigned to a variable
115
115
  * that is later used in the render function.
116
116
  *
@@ -137,4 +137,4 @@ exports.getUrl = getUrl;
137
137
  exports.inheritAttributes = inheritAttributes;
138
138
  exports.isStr = isStr;
139
139
 
140
- //# sourceMappingURL=utils-ad651990.js.map
140
+ //# sourceMappingURL=utils-2688221f.js.map
@@ -1 +1 @@
1
- {"file":"utils-ad651990.js","mappings":";;;;AAEA,IAAI,uBAAuB,GAAG,KAAK,CAAC;AAQpC;;;;;;;;;AASO,MAAM,YAAY,GAAG,CAAC,IAAY;;IACvC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AAC,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 assets from jsDelivr CDN.\\n\\n It's recommended that you bundle Pine Assets with your application and set the path accordingly.\\n\\nFor more information, 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
+ {"file":"utils-2688221f.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,6DAA6D,CAAC;IAEnF,MAAM,aAAa,GAA0C,iBAAiB,IAAI,eAAe,IAAI,YAAY,IAAI,GAAG,CAAA;;IAGxH,IAAK,aAAa,CAAC,UAAU,CAAC,+BAA+B,CAAC,IAAI,CAAC,uBAAuB,EAAG;QAC3F,uBAAuB,GAAG,IAAI,CAAC;QAC/B,OAAO,CAAC,IAAI,CAAC;;KAEZ,CAAC,CAAA;KACH;IAED,IAAI,SAAS,GAAG,IAAI,CAAC;IAErB,IAAK,IAAI,CAAC,UAAU,CAAE,IAAI,CAAC,EAAG;QAC5B,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;KAC/B;IAED,IAAK,CAAC,aAAa,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAG;QAClC,SAAS,GAAG,GAAG,GAAG,SAAS,CAAC;KAC7B;IAED,OAAO,aAAa,GAAG,SAAS,CAAC;AACnC,CAAC;;AC7CD,IAAI,UAA+B,CAAC;MAEvB,QAAQ,GAAG,CAAC,KAAkC;IACzD,MAA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E,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 assets from jsDelivr CDN.\\n\\n It's recommended that you bundle Pine Assets with your application and set the path accordingly.\\n\\nFor more information, 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 `pds-input` should inherit\n * the `title` attribute that developers set directly on `pds-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}
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M16.241 2H7.76c-.805 0-1.47 0-2.01.044-.563.046-1.08.145-1.565.392a4 4 0 0 0-1.748 1.748c-.247.485-.346 1.002-.392 1.564C2 6.29 2 6.954 2 7.758v8.483c0 .805 0 1.47.044 2.01.046.563.145 1.08.392 1.565a4 4 0 0 0 1.748 1.748c.485.247 1.002.346 1.564.392C6.29 22 6.954 22 7.758 22h8.483c.805 0 1.47 0 2.01-.044.563-.046 1.08-.145 1.565-.392a4 4 0 0 0 1.748-1.748c.247-.485.346-1.002.392-1.564.044-.541.044-1.206.044-2.01V7.758c0-.805 0-1.47-.044-2.01-.046-.563-.145-1.08-.392-1.565a4 4 0 0 0-1.748-1.748c-.485-.247-1.002-.346-1.564-.392C17.71 2 17.046 2 16.242 2M5.092 4.218c.156-.08.38-.145.819-.18C6.361 4 6.943 4 7.8 4h8.4c.857 0 1.439 0 1.889.038.438.035.663.1.819.18a2 2 0 0 1 .874.874c.08.156.145.38.18.819C20 6.361 20 6.943 20 7.8v8.4c0 .857 0 1.439-.038 1.889-.035.438-.1.663-.18.819a2 2 0 0 1-.874.874c-.156.08-.38.145-.819.18-.45.037-1.032.038-1.889.038H7.8c-.857 0-1.439 0-1.889-.038-.438-.035-.663-.1-.819-.18a2 2 0 0 1-.874-.874c-.08-.156-.145-.38-.18-.819C4 17.639 4 17.057 4 16.2V7.8c0-.857 0-1.439.038-1.889.035-.438.1-.663.18-.819a2 2 0 0 1 .874-.874m7.909 2.032a1 1 0 0 0-2 0v.329A3.212 3.212 0 0 0 11.116 13h1.77a1.211 1.211 0 1 1 0 2.423h-1.918a1.064 1.064 0 0 1-1.064-1.064 1 1 0 1 0-2 0 3.064 3.064 0 0 0 3.064 3.064h.033v.327a1 1 0 1 0 2 0v-.329A3.212 3.212 0 0 0 12.885 11h-1.77a1.211 1.211 0 1 1 0-2.423h1.918c.587 0 1.064.476 1.064 1.064a1 1 0 0 0 2 0 3.064 3.064 0 0 0-3.065-3.064h-.031z"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M7.355 1h9.29c.314-.002.7-.003 1.039.12a2 2 0 0 1 1.195 1.196c.08.22.108.458.117.684h1.53c.21 0 .415 0 .59.012.19.013.415.043.65.14a2 2 0 0 1 1.082 1.083c.097.234.127.46.14.65.012.174.012.378.012.589v.664c0 .795 0 1.386-.136 1.897a4 4 0 0 1-2.829 2.829c-.38.102-.805.128-1.324.134A7.01 7.01 0 0 1 13 15.93V17h.444A4.556 4.556 0 0 1 18 21.556c0 .797-.647 1.444-1.445 1.444h-9.11A1.444 1.444 0 0 1 6 21.556 4.556 4.556 0 0 1 10.556 17H11v-1.07a7.01 7.01 0 0 1-5.71-4.932c-.52-.006-.945-.032-1.325-.134a4 4 0 0 1-2.829-2.829C1 7.524 1 6.933 1 6.138v-.664c0-.21 0-.415.012-.59.013-.19.043-.415.14-.65a2 2 0 0 1 1.083-1.082c.234-.097.46-.127.65-.14C3.059 3 3.263 3 3.474 3h1.53c.01-.226.037-.465.117-.684a2 2 0 0 1 1.195-1.195C6.656.997 7.04.998 7.355 1M5 5H3.5a8 8 0 0 0-.492.008v.013A8 8 0 0 0 3 5.5V6c0 .994.009 1.295.068 1.518a2 2 0 0 0 1.414 1.414c.12.032.26.049.518.058zm2-1.556a8 8 0 0 1 .006-.437l.013-.001C7.106 3 7.225 3 7.444 3h9.111a8 8 0 0 1 .439.007v.012a8 8 0 0 1 .006.425V9A5 5 0 0 1 7 9zM19 5v3.99c.258-.009.399-.026.518-.058a2 2 0 0 0 1.414-1.414C20.992 7.295 21 6.994 21 6v-.5c0-.247 0-.382-.007-.48l-.001-.012h-.013A8 8 0 0 0 20.5 5zm-8.444 14c-1.221 0-2.242.856-2.495 2h7.878a2.556 2.556 0 0 0-2.495-2z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M7.355 1h9.29c.314-.002.7-.003 1.039.12a2 2 0 0 1 1.195 1.196c.08.22.108.458.117.684h1.53c.21 0 .415 0 .59.012.19.013.415.043.65.14a2 2 0 0 1 1.082 1.083c.097.234.127.46.14.65.012.174.012.378.012.589v.664c0 .795 0 1.386-.136 1.897a4 4 0 0 1-2.829 2.829c-.38.102-.805.128-1.324.134A7.01 7.01 0 0 1 13 15.93V17h.444A4.556 4.556 0 0 1 18 21.556c0 .797-.647 1.444-1.444 1.444H7.444A1.444 1.444 0 0 1 6 21.556 4.556 4.556 0 0 1 10.556 17H11v-1.07a7.01 7.01 0 0 1-5.71-4.932c-.52-.006-.945-.032-1.325-.134a4 4 0 0 1-2.829-2.829C1 7.524 1 6.933 1 6.138v-.664c0-.21 0-.415.012-.59.013-.19.043-.415.14-.65a2 2 0 0 1 1.083-1.082c.234-.097.46-.127.65-.14C3.059 3 3.263 3 3.474 3h1.53c.01-.226.037-.465.117-.684a2 2 0 0 1 1.195-1.195C6.656.997 7.041.998 7.355 1M5 5H3.5a8 8 0 0 0-.492.008v.013A8 8 0 0 0 3 5.5V6c0 .994.009 1.295.068 1.518a2 2 0 0 0 1.414 1.414c.12.032.26.049.518.058zm2-1.556a8 8 0 0 1 .007-.437l.012-.001C7.106 3 7.225 3 7.444 3h9.112a8 8 0 0 1 .438.007v.012c.006.087.006.206.006.425V9A5 5 0 0 1 7 9zM19 5v3.99c.258-.009.399-.026.518-.058a2 2 0 0 0 1.414-1.414C20.992 7.295 21 6.994 21 6v-.5a8 8 0 0 0-.008-.492h-.013A8 8 0 0 0 20.5 5zm-8.444 14c-1.221 0-2.242.856-2.495 2h7.878a2.556 2.556 0 0 0-2.495-2z"/></svg>
@@ -71,8 +71,8 @@ export const isStr = (val) => typeof val === 'string'; // eslint-disable-line @t
71
71
  export const toLower = (val) => val.toLowerCase();
72
72
  /**
73
73
  * Elements inside of web components sometimes need to inherit global attributes
74
- * set on the host. For example, the inner input in `ion-input` should inherit
75
- * the `title` attribute that developers set directly on `ion-input`. This
74
+ * set on the host. For example, the inner input in `pds-input` should inherit
75
+ * the `title` attribute that developers set directly on `pds-input`. This
76
76
  * helper function should be called in componentWillLoad and assigned to a variable
77
77
  * that is later used in the render function.
78
78
  *
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/components/pds-icon/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAI3C,IAAI,UAA+B,CAAC;AAEpC,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,KAAkC,EAAE,EAAE;IAC7D,MAAM,GAAG,GAAG,UAAU,EAAE,CAAC;IACzB,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC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,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC5E,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,GAAQ,EAAiB,EAAE,CAAC,OAAO,GAAG,KAAK,QAAQ,CAAC,CAAC,yDAAyD;AACpI,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,GAAW,EAAE,EAAE,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC;AAE1D;;;;;;;;;GASG;AACF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,EAAe,EAAE,aAAuB,EAAE,EAAE,EAAE;IAC/E,MAAM,eAAe,GAAyB,EAAE,CAAC,CAAC,yDAAyD;IAE3G,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;QACxB,IAAI,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC;YAC1B,MAAM,KAAK,GAAG,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;YACpC,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;gBACnB,eAAe,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;YAChD,CAAC;YACD,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;QAC3B,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,eAAe,CAAC;AACzB,CAAC,CAAA","sourcesContent":["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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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 `pds-input` should inherit\n * the `title` attribute that developers set directly on `pds-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"]}
package/dist/docs.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2025-03-04T11:13:51",
2
+ "timestamp": "2025-03-11T11:13:57",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.22.2",
package/dist/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { a as addIcons } from './utils-a600f0ec.js';
1
+ export { a as addIcons } from './utils-82853a12.js';
2
2
  import './index-e65f4069.js';
3
3
 
4
4
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-e65f4069.js';
2
- import { i as isStr, b as inheritAttributes, g as getUrl, c as getName } from './utils-a600f0ec.js';
2
+ import { i as isStr, b as inheritAttributes, g as getUrl, c as getName } from './utils-82853a12.js';
3
3
 
4
4
  const validateContent = (svgContent) => {
5
5
  const div = document.createElement('div');
@@ -107,8 +107,8 @@ const isStr = (val) => typeof val === 'string'; // eslint-disable-line @typescri
107
107
  const toLower = (val) => val.toLowerCase();
108
108
  /**
109
109
  * Elements inside of web components sometimes need to inherit global attributes
110
- * set on the host. For example, the inner input in `ion-input` should inherit
111
- * the `title` attribute that developers set directly on `ion-input`. This
110
+ * set on the host. For example, the inner input in `pds-input` should inherit
111
+ * the `title` attribute that developers set directly on `pds-input`. This
112
112
  * helper function should be called in componentWillLoad and assigned to a variable
113
113
  * that is later used in the render function.
114
114
  *
@@ -131,4 +131,4 @@ const inheritAttributes = (el, attributes = []) => {
131
131
 
132
132
  export { addIcons as a, inheritAttributes as b, getName as c, getUrl as g, isStr as i };
133
133
 
134
- //# sourceMappingURL=utils-a600f0ec.js.map
134
+ //# sourceMappingURL=utils-82853a12.js.map
@@ -1 +1 @@
1
- {"file":"utils-a600f0ec.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,6DAA6D,CAAC;IAEnF,MAAM,aAAa,GAA0C,iBAAiB,IAAI,eAAe,IAAI,YAAY,IAAI,GAAG,CAAA;;IAGxH,IAAK,aAAa,CAAC,UAAU,CAAC,+BAA+B,CAAC,IAAI,CAAC,uBAAuB,EAAG;QAC3F,uBAAuB,GAAG,IAAI,CAAC;QAC/B,OAAO,CAAC,IAAI,CAAC;;KAEZ,CAAC,CAAA;KACH;IAED,IAAI,SAAS,GAAG,IAAI,CAAC;IAErB,IAAK,IAAI,CAAC,UAAU,CAAE,IAAI,CAAC,EAAG;QAC5B,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;KAC/B;IAED,IAAK,CAAC,aAAa,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAG;QAClC,SAAS,GAAG,GAAG,GAAG,SAAS,CAAC;KAC7B;IAED,OAAO,aAAa,GAAG,SAAS,CAAC;AACnC,CAAC;;AC7CD,IAAI,UAA+B,CAAC;MAEvB,QAAQ,GAAG,CAAC,KAAkC;IACzD,MAAM,GAAG,GAAG,UAAU,EAAE,CAAC;IACzB,MA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,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 assets from jsDelivr CDN.\\n\\n It's recommended that you bundle Pine Assets with your application and set the path accordingly.\\n\\nFor more information, 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
+ {"file":"utils-82853a12.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,6DAA6D,CAAC;IAEnF,MAAM,aAAa,GAA0C,iBAAiB,IAAI,eAAe,IAAI,YAAY,IAAI,GAAG,CAAA;;IAGxH,IAAK,aAAa,CAAC,UAAU,CAAC,+BAA+B,CAAC,IAAI,CAAC,uBAAuB,EAAG;QAC3F,uBAAuB,GAAG,IAAI,CAAC;QAC/B,OAAO,CAAC,IAAI,CAAC;;KAEZ,CAAC,CAAA;KACH;IAED,IAAI,SAAS,GAAG,IAAI,CAAC;IAEr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F;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 assets from jsDelivr CDN.\\n\\n It's recommended that you bundle Pine Assets with your application and set the path accordingly.\\n\\nFor more information, 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 `pds-input` should inherit\n * the `title` attribute that developers set directly on `pds-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-5baaa291.js";import"./p-fd0315e5.js";
1
+ export{a as addIcons}from"./p-4719974e.js";import"./p-fd0315e5.js";
2
2
  //# sourceMappingURL=index.esm.js.map
@@ -1,2 +1,2 @@
1
- import{r as i,h as t,H as e,g as s}from"./p-fd0315e5.js";import{i as n,b as o,g as r,c}from"./p-5baaa291.js";const l=i=>{const t=document.createElement("div");t.innerHTML=i;for(let i=t.childNodes.length-1;i>=0;i--){if(t.childNodes[i].nodeName.toLowerCase()!=="svg"){t.removeChild(t.childNodes[i])}}const e=t.firstElementChild;if(e&&e.nodeName.toLowerCase()==="svg"){const i=e.getAttribute("class")||"";e.setAttribute("class",(i+" s-pds-icon").trim());if(a(e)){return t.innerHTML}}return""};const a=i=>{if(i.nodeType===1){if(i.nodeName.toLowerCase()==="script"){return false}for(let t=0;t<i.attributes.length;t++){const e=i.attributes[t].name;if(n(e)&&e.toLowerCase().indexOf("on")===0){return false}}for(let t=0;t<i.childNodes.length;t++){if(!a(i.childNodes[t])){return false}}}return true};const d=i=>i.startsWith("data:image/svg+xml");const h=i=>i.indexOf(";utf8,")!==-1;const f=new Map;const u=new Map;let p;const m=(i,t=false)=>{let e=u.get(i);if(!e){if(typeof fetch!="undefined"&&typeof document!=="undefined"){if(d(i)&&h(i)){if(!p){p=new DOMParser}const t=p.parseFromString(i,"text/html");const e=t.querySelector("svg");if(e){f.set(i,e.outerHTML)}return Promise.resolve()}else{e=fetch(i).then((e=>{if(e.ok){return e.text().then((e=>{if(e&&t!==false){e=l(e)}f.set(i,e||"")}))}f.set(i,"")}));u.set(i,e)}}else{f.set(i,"");return Promise.resolve()}}return e};const g=":host{--dimension-icon-height:16px;--dimension-icon-width:16px;--color-icon-fill:currentColor;contain:strict;display:inline-block;fill:var(--color-icon-fill);height:var(--dimension-icon-height);width:var(--dimension-icon-width)}:host .pdsicon{fill:var(--color-icon-fill)}.pds-icon-fill-none{fill:none}.icon-inner,.pds-icon,svg{display:block;height:100%;width:100%}";const b=g;const w=class{constructor(t){i(this,t);this.inheritedAttributes={};this.hasAriaHidden=()=>{const{el:i}=this;return i.hasAttribute("aria-hidden")&&i.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 i={small:"12px",regular:"16px",medium:"20px",large:"24px"};if(i[this.size]){return i[this.size]}else{return this.size}}componentDidLoad(){this.setCSSVariables()}componentWillLoad(){this.inheritedAttributes=o(this.el,["aria-label"]);this.setCSSVariables()}setCSSVariables(){this.el.style.setProperty(`--dimension-icon-height`,this.iconSize());this.el.style.setProperty(`--dimension-icon-width`,this.iconSize());this.el.style.setProperty(`--color-icon-fill`,typeof this.color!=="undefined"?this.color:"currentColor")}connectedCallback(){this.waitUntilVisible(this.el,"50px",(()=>{this.isVisible=true;this.loadIcon()}))}disconnectedCallback(){if(this.io){this.io.disconnect();this.io=undefined}}updateStyles(){this.setCSSVariables()}loadIcon(){if(this.isVisible){const i=r(this);if(i){if(f.has(i)){this.svgContent=f.get(i)}else{m(i).then((()=>this.svgContent=f.get(i)))}}}const i=c(this.name,this.icon);if(i){this.ariaLabel=i.replace(/\-/g," ")}}render(){const{ariaLabel:i,inheritedAttributes:s}=this;return t(e,Object.assign({key:"4bbc232e2530d43e8b5afefb754486d94ea6538b","aria-label":i!==undefined&&!this.hasAriaHidden()?i:null,alt:"",role:"img",class:Object.assign({},v(this.color))},s),this.svgContent?t("div",{class:"icon-inner",innerHTML:this.svgContent}):t("div",{class:"icon-inner"}))}waitUntilVisible(i,t,e){if(typeof window!=="undefined"&&window.IntersectionObserver){const s=this.io=new window.IntersectionObserver((i=>{if(i[0].isIntersecting){s.disconnect();this.io=undefined;e()}}),{rootMargin:t});s.observe(i)}else{e()}}static get assetsDirs(){return["svg"]}get el(){return s(this)}static get watchers(){return{size:["updateStyles"],color:["updateStyles"],name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"]}}};const v=i=>i?{"pds-color":true,[`pds-color-${i}`]:true}:null;w.style=b;export{w as pds_icon};
2
- //# sourceMappingURL=p-1a3cdcc3.entry.js.map
1
+ import{r as i,h as t,H as e,g as s}from"./p-fd0315e5.js";import{i as n,b as o,g as r,c}from"./p-4719974e.js";const l=i=>{const t=document.createElement("div");t.innerHTML=i;for(let i=t.childNodes.length-1;i>=0;i--){if(t.childNodes[i].nodeName.toLowerCase()!=="svg"){t.removeChild(t.childNodes[i])}}const e=t.firstElementChild;if(e&&e.nodeName.toLowerCase()==="svg"){const i=e.getAttribute("class")||"";e.setAttribute("class",(i+" s-pds-icon").trim());if(d(e)){return t.innerHTML}}return""};const d=i=>{if(i.nodeType===1){if(i.nodeName.toLowerCase()==="script"){return false}for(let t=0;t<i.attributes.length;t++){const e=i.attributes[t].name;if(n(e)&&e.toLowerCase().indexOf("on")===0){return false}}for(let t=0;t<i.childNodes.length;t++){if(!d(i.childNodes[t])){return false}}}return true};const a=i=>i.startsWith("data:image/svg+xml");const h=i=>i.indexOf(";utf8,")!==-1;const f=new Map;const u=new Map;let p;const m=(i,t=false)=>{let e=u.get(i);if(!e){if(typeof fetch!="undefined"&&typeof document!=="undefined"){if(a(i)&&h(i)){if(!p){p=new DOMParser}const t=p.parseFromString(i,"text/html");const e=t.querySelector("svg");if(e){f.set(i,e.outerHTML)}return Promise.resolve()}else{e=fetch(i).then((e=>{if(e.ok){return e.text().then((e=>{if(e&&t!==false){e=l(e)}f.set(i,e||"")}))}f.set(i,"")}));u.set(i,e)}}else{f.set(i,"");return Promise.resolve()}}return e};const g=":host{--dimension-icon-height:16px;--dimension-icon-width:16px;--color-icon-fill:currentColor;contain:strict;display:inline-block;fill:var(--color-icon-fill);height:var(--dimension-icon-height);width:var(--dimension-icon-width)}:host .pdsicon{fill:var(--color-icon-fill)}.pds-icon-fill-none{fill:none}.icon-inner,.pds-icon,svg{display:block;height:100%;width:100%}";const b=g;const w=class{constructor(t){i(this,t);this.inheritedAttributes={};this.hasAriaHidden=()=>{const{el:i}=this;return i.hasAttribute("aria-hidden")&&i.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 i={small:"12px",regular:"16px",medium:"20px",large:"24px"};if(i[this.size]){return i[this.size]}else{return this.size}}componentDidLoad(){this.setCSSVariables()}componentWillLoad(){this.inheritedAttributes=o(this.el,["aria-label"]);this.setCSSVariables()}setCSSVariables(){this.el.style.setProperty(`--dimension-icon-height`,this.iconSize());this.el.style.setProperty(`--dimension-icon-width`,this.iconSize());this.el.style.setProperty(`--color-icon-fill`,typeof this.color!=="undefined"?this.color:"currentColor")}connectedCallback(){this.waitUntilVisible(this.el,"50px",(()=>{this.isVisible=true;this.loadIcon()}))}disconnectedCallback(){if(this.io){this.io.disconnect();this.io=undefined}}updateStyles(){this.setCSSVariables()}loadIcon(){if(this.isVisible){const i=r(this);if(i){if(f.has(i)){this.svgContent=f.get(i)}else{m(i).then((()=>this.svgContent=f.get(i)))}}}const i=c(this.name,this.icon);if(i){this.ariaLabel=i.replace(/\-/g," ")}}render(){const{ariaLabel:i,inheritedAttributes:s}=this;return t(e,Object.assign({key:"4bbc232e2530d43e8b5afefb754486d94ea6538b","aria-label":i!==undefined&&!this.hasAriaHidden()?i:null,alt:"",role:"img",class:Object.assign({},v(this.color))},s),this.svgContent?t("div",{class:"icon-inner",innerHTML:this.svgContent}):t("div",{class:"icon-inner"}))}waitUntilVisible(i,t,e){if(typeof window!=="undefined"&&window.IntersectionObserver){const s=this.io=new window.IntersectionObserver((i=>{if(i[0].isIntersecting){s.disconnect();this.io=undefined;e()}}),{rootMargin:t});s.observe(i)}else{e()}}static get assetsDirs(){return["svg"]}get el(){return s(this)}static get watchers(){return{size:["updateStyles"],color:["updateStyles"],name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"]}}};const v=i=>i?{"pds-color":true,[`pds-color-${i}`]:true}:null;w.style=b;export{w as pds_icon};
2
+ //# sourceMappingURL=p-3f0a1f7c.entry.js.map
@@ -1,2 +1,2 @@
1
1
  import"./p-fd0315e5.js";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 assets from jsDelivr CDN.\n\n It's recommended that you bundle Pine Assets with your application and set the path accordingly.\n\nFor more information, 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&&!u(t)){n=t}if(d(n)){n=f(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(u(n)){return n}}return null};const a=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 u=n=>n.length>0&&/(\/|\.)/.test(n);const d=n=>typeof n==="string";const f=n=>n.toLowerCase();const l=(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,l as b,i as c,a as g,d as i};
2
- //# sourceMappingURL=p-5baaa291.js.map
2
+ //# sourceMappingURL=p-4719974e.js.map
@@ -1 +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 assets from jsDelivr CDN.\\n\\n It's recommended that you bundle Pine Assets with your application and set the path accordingly.\\n\\nFor more information, 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":"wBAEA,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,8DAErB,MAAMC,EAAuDX,GAAqBO,GAAmBG,GAAgB,IAGrH,GAAKC,EAAcC,WAAW,mCAAqCf,EAA0B,CAC3FA,EAA0B,KAC1BgB,QAAQC,KAAK,0R,CAKf,IAAIC,EAAYhB,EAEhB,GAAKA,EAAKa,WAAY,MAAQ,CAC5BG,EAAYhB,EAAKiB,UAAU,E,CAG7B,IAAML,EAAcM,SAAS,KAAO,CAClCF,EAAY,IAAMA,C,CAGpB,OAAOJ,EAAgBI,CAAS,EC5ClC,IAAIG,E,MAESC,EAAYC,IACvB,MAAMC,EAAMC,IACZC,OAAOC,KAAKJ,GAAOK,SAAQC,GAAQL,EAAIM,IAAID,EAAMN,EAAMM,KAAO,EAGzD,MAAMJ,EAAa,KACxB,UAAWd,SAAW,YAAa,CACjC,OAAO,IAAIoB,G,KACL,CACN,IAAKV,EAAY,CACf,MAAMW,EAAMrB,OACZqB,EAAIC,SAAWD,EAAIC,UAAY,GAC/BZ,EAAaW,EAAIC,SAAST,IAAMQ,EAAIC,SAAST,KAA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gBAAgBJ,E,KAIvB,OAAOD,CAAe,S","ignoreList":[]}
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 assets from jsDelivr CDN.\\n\\n It's recommended that you bundle Pine Assets with your application and set the path accordingly.\\n\\nFor more information, 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 `pds-input` should inherit\n * the `title` attribute that developers set directly on `pds-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":"wBAEA,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,8DAErB,MAAMC,EAAuDX,GAAqBO,GAAmBG,GAAgB,IAGrH,GAAKC,EAAcC,WAAW,mCAAqCf,EAA0B,CAC3FA,EAA0B,KAC1BgB,QAAQC,KAAK,0R,CAKf,IAAIC,EAAYhB,EAEhB,GAAKA,EAAKa,WAAY,MAAQ,CAC5BG,EAAYhB,EAAKiB,UAAU,E,CAG7B,IAAML,EAAcM,SAAS,KAAO,CAClCF,EAAY,IAAMA,C,CAGpB,OAAOJ,EAAgBI,CAAS,EC5ClC,IAAIG,E,MAESC,EAAYC,IACvB,MAAMC,EAAMC,IACZC,OAAOC,KAAKJ,GAAOK,SAAQC,GAAQL,EA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,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","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{p as o,b as e}from"./p-fd0315e5.js";export{s as setNonce}from"./p-fd0315e5.js";import{g as a}from"./p-e1255160.js";var n=()=>{const s=import.meta.url;const e={};if(s!==""){e.resourcesUrl=new URL(".",s).href}return o(e)};n().then((async o=>{await a();return e([["p-1a3cdcc3",[[1,"pds-icon",{color:[1],icon:[8],name:[513],size:[513],src:[1],ariaLabel:[32],isVisible:[32],svgContent:[32]},null,{size:["updateStyles"],color:["updateStyles"],name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"]}]]]],o)}));
1
+ import{p as o,b as e}from"./p-fd0315e5.js";export{s as setNonce}from"./p-fd0315e5.js";import{g as a}from"./p-e1255160.js";var n=()=>{const s=import.meta.url;const e={};if(s!==""){e.resourcesUrl=new URL(".",s).href}return o(e)};n().then((async o=>{await a();return e([["p-3f0a1f7c",[[1,"pds-icon",{color:[1],icon:[8],name:[513],size:[513],src:[1],ariaLabel:[32],isVisible:[32],svgContent:[32]},null,{size:["updateStyles"],color:["updateStyles"],name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"]}]]]],o)}));
2
2
  //# sourceMappingURL=pds-icons.esm.js.map
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M16.241 2H7.76c-.805 0-1.47 0-2.01.044-.563.046-1.08.145-1.565.392a4 4 0 0 0-1.748 1.748c-.247.485-.346 1.002-.392 1.564C2 6.29 2 6.954 2 7.758v8.483c0 .805 0 1.47.044 2.01.046.563.145 1.08.392 1.565a4 4 0 0 0 1.748 1.748c.485.247 1.002.346 1.564.392C6.29 22 6.954 22 7.758 22h8.483c.805 0 1.47 0 2.01-.044.563-.046 1.08-.145 1.565-.392a4 4 0 0 0 1.748-1.748c.247-.485.346-1.002.392-1.564.044-.541.044-1.206.044-2.01V7.758c0-.805 0-1.47-.044-2.01-.046-.563-.145-1.08-.392-1.565a4 4 0 0 0-1.748-1.748c-.485-.247-1.002-.346-1.564-.392C17.71 2 17.046 2 16.242 2M5.092 4.218c.156-.08.38-.145.819-.18C6.361 4 6.943 4 7.8 4h8.4c.857 0 1.439 0 1.889.038.438.035.663.1.819.18a2 2 0 0 1 .874.874c.08.156.145.38.18.819C20 6.361 20 6.943 20 7.8v8.4c0 .857 0 1.439-.038 1.889-.035.438-.1.663-.18.819a2 2 0 0 1-.874.874c-.156.08-.38.145-.819.18-.45.037-1.032.038-1.889.038H7.8c-.857 0-1.439 0-1.889-.038-.438-.035-.663-.1-.819-.18a2 2 0 0 1-.874-.874c-.08-.156-.145-.38-.18-.819C4 17.639 4 17.057 4 16.2V7.8c0-.857 0-1.439.038-1.889.035-.438.1-.663.18-.819a2 2 0 0 1 .874-.874m7.909 2.032a1 1 0 0 0-2 0v.329A3.212 3.212 0 0 0 11.116 13h1.77a1.211 1.211 0 1 1 0 2.423h-1.918a1.064 1.064 0 0 1-1.064-1.064 1 1 0 1 0-2 0 3.064 3.064 0 0 0 3.064 3.064h.033v.327a1 1 0 1 0 2 0v-.329A3.212 3.212 0 0 0 12.885 11h-1.77a1.211 1.211 0 1 1 0-2.423h1.918c.587 0 1.064.476 1.064 1.064a1 1 0 0 0 2 0 3.064 3.064 0 0 0-3.065-3.064h-.031z"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M7.355 1h9.29c.314-.002.7-.003 1.039.12a2 2 0 0 1 1.195 1.196c.08.22.108.458.117.684h1.53c.21 0 .415 0 .59.012.19.013.415.043.65.14a2 2 0 0 1 1.082 1.083c.097.234.127.46.14.65.012.174.012.378.012.589v.664c0 .795 0 1.386-.136 1.897a4 4 0 0 1-2.829 2.829c-.38.102-.805.128-1.324.134A7.01 7.01 0 0 1 13 15.93V17h.444A4.556 4.556 0 0 1 18 21.556c0 .797-.647 1.444-1.445 1.444h-9.11A1.444 1.444 0 0 1 6 21.556 4.556 4.556 0 0 1 10.556 17H11v-1.07a7.01 7.01 0 0 1-5.71-4.932c-.52-.006-.945-.032-1.325-.134a4 4 0 0 1-2.829-2.829C1 7.524 1 6.933 1 6.138v-.664c0-.21 0-.415.012-.59.013-.19.043-.415.14-.65a2 2 0 0 1 1.083-1.082c.234-.097.46-.127.65-.14C3.059 3 3.263 3 3.474 3h1.53c.01-.226.037-.465.117-.684a2 2 0 0 1 1.195-1.195C6.656.997 7.04.998 7.355 1M5 5H3.5a8 8 0 0 0-.492.008v.013A8 8 0 0 0 3 5.5V6c0 .994.009 1.295.068 1.518a2 2 0 0 0 1.414 1.414c.12.032.26.049.518.058zm2-1.556a8 8 0 0 1 .006-.437l.013-.001C7.106 3 7.225 3 7.444 3h9.111a8 8 0 0 1 .439.007v.012a8 8 0 0 1 .006.425V9A5 5 0 0 1 7 9zM19 5v3.99c.258-.009.399-.026.518-.058a2 2 0 0 0 1.414-1.414C20.992 7.295 21 6.994 21 6v-.5c0-.247 0-.382-.007-.48l-.001-.012h-.013A8 8 0 0 0 20.5 5zm-8.444 14c-1.221 0-2.242.856-2.495 2h7.878a2.556 2.556 0 0 0-2.495-2z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M7.355 1h9.29c.314-.002.7-.003 1.039.12a2 2 0 0 1 1.195 1.196c.08.22.108.458.117.684h1.53c.21 0 .415 0 .59.012.19.013.415.043.65.14a2 2 0 0 1 1.082 1.083c.097.234.127.46.14.65.012.174.012.378.012.589v.664c0 .795 0 1.386-.136 1.897a4 4 0 0 1-2.829 2.829c-.38.102-.805.128-1.324.134A7.01 7.01 0 0 1 13 15.93V17h.444A4.556 4.556 0 0 1 18 21.556c0 .797-.647 1.444-1.444 1.444H7.444A1.444 1.444 0 0 1 6 21.556 4.556 4.556 0 0 1 10.556 17H11v-1.07a7.01 7.01 0 0 1-5.71-4.932c-.52-.006-.945-.032-1.325-.134a4 4 0 0 1-2.829-2.829C1 7.524 1 6.933 1 6.138v-.664c0-.21 0-.415.012-.59.013-.19.043-.415.14-.65a2 2 0 0 1 1.083-1.082c.234-.097.46-.127.65-.14C3.059 3 3.263 3 3.474 3h1.53c.01-.226.037-.465.117-.684a2 2 0 0 1 1.195-1.195C6.656.997 7.041.998 7.355 1M5 5H3.5a8 8 0 0 0-.492.008v.013A8 8 0 0 0 3 5.5V6c0 .994.009 1.295.068 1.518a2 2 0 0 0 1.414 1.414c.12.032.26.049.518.058zm2-1.556a8 8 0 0 1 .007-.437l.012-.001C7.106 3 7.225 3 7.444 3h9.112a8 8 0 0 1 .438.007v.012c.006.087.006.206.006.425V9A5 5 0 0 1 7 9zM19 5v3.99c.258-.009.399-.026.518-.058a2 2 0 0 0 1.414-1.414C20.992 7.295 21 6.994 21 6v-.5a8 8 0 0 0-.008-.492h-.013A8 8 0 0 0 20.5 5zm-8.444 14c-1.221 0-2.242.856-2.495 2h7.878a2.556 2.556 0 0 0-2.495-2z"/></svg>
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-icons",
3
- "version": "8.16.0",
3
+ "version": "8.18.0",
4
4
  "icons": [
5
5
  {
6
6
  "name": "access-key",
@@ -3584,6 +3584,17 @@
3584
3584
  "speaker"
3585
3585
  ]
3586
3586
  },
3587
+ {
3588
+ "name": "square-dollar",
3589
+ "category": "features",
3590
+ "tags": [
3591
+ "editor",
3592
+ "italic",
3593
+ "italics",
3594
+ "rich text",
3595
+ "text"
3596
+ ]
3597
+ },
3587
3598
  {
3588
3599
  "name": "stack",
3589
3600
  "category": "actions",
@@ -1,4 +1,4 @@
1
- <svg data-pdsicons="8.16.0" style="display:none">
1
+ <svg data-pdsicons="8.18.0" style="display:none">
2
2
  <style>
3
3
  .pdsicon {
4
4
  fill: currentColor;
@@ -309,6 +309,7 @@
309
309
  <symbol id="skipped" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M22.648 1.212c.222.19.352.48.352.788v9c0 .552-.41 1-.917 1-.506 0-.916-.448-.916-1V3.28l-6.195 1.69a.84.84 0 0 1-.512-.021L9.213 3.04l-6.38 1.74v15.938l6.195-1.69a.84.84 0 0 1 .512.022l2.75 1c.48.175.74.741.58 1.265s-.68.807-1.16.633l-2.497-.908-7.074 1.93a.86.86 0 0 1-.786-.183A1.03 1.03 0 0 1 1 22V4c0-.459.286-.859.694-.97l7.334-2a.84.84 0 0 1 .512.021l5.247 1.908 7.074-1.93a.86.86 0 0 1 .787.183m-.833 14.08c.358.391.358 1.025 0 1.415L19.713 19l2.102 2.293c.358.39.358 1.024 0 1.414a.864.864 0 0 1-1.297 0l-2.101-2.293-2.102 2.293a.864.864 0 0 1-1.297 0 1.065 1.065 0 0 1 0-1.414L17.12 19l-2.102-2.293a1.065 1.065 0 0 1 0-1.414.864.864 0 0 1 1.297 0l2.102 2.293 2.101-2.293a.864.864 0 0 1 1.297 0"/></symbol>
310
310
  <symbol id="slash-divider" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M17.447 1.106a1 1 0 0 1 .447 1.341l-10 20a1 1 0 1 1-1.788-.894l10-20a1 1 0 0 1 1.341-.447"/></symbol>
311
311
  <symbol id="speaker" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M17.39 4.022c-.24.108-.566.285-1.067.558-1.674.913-4.031 1.978-6.073 1.978H6.8c-.857 0-1.439 0-1.889.037-.438.036-.663.101-.819.18a2 2 0 0 0-.874.875c-.08.156-.145.38-.18.819C3 8.919 3 9.5 3 10.358v1.2c0 .48 0 .789.017 1.026.015.228.042.315.06.356a1 1 0 0 0 .54.542c.042.017.129.043.357.059.237.016.546.017 1.026.017a1 1 0 0 1 1 1v4.25c0 .256.001.311.005.348a1 1 0 0 0 .897.897c.037.003.092.005.348.005s.311-.002.348-.005a1 1 0 0 0 .897-.897c.004-.037.005-.092.005-.348v-4.25a1 1 0 0 1 1-1h.75c2.042 0 4.399 1.065 6.073 1.977.501.274.826.45 1.067.558q.047.022.083.037l.007-.07c.02-.245.02-.589.02-1.129V5.184c0-.54 0-.884-.02-1.128l-.007-.07zm-.823-1.823c.292-.132.718-.302 1.176-.246.573.07 1.048.352 1.384.822.264.369.321.807.347 1.122.026.334.026.76.026 1.247v9.828c0 .487 0 .912-.026 1.246-.026.316-.083.754-.347 1.123-.336.47-.81.751-1.384.821-.458.056-.884-.114-1.176-.246-.318-.143-.71-.357-1.167-.606l-.034-.019c-1.569-.855-3.41-1.642-4.866-1.726v3.285c0 .19 0 .354-.014.502a3 3 0 0 1-2.692 2.691c-.148.015-.312.015-.502.015h-.084c-.19 0-.354 0-.502-.015a3 3 0 0 1-2.692-2.691C4 19.204 4 19.04 4 18.85v-3.305l-.162-.009a3 3 0 0 1-.986-.207 3 3 0 0 1-1.624-1.623 3 3 0 0 1-.207-.986C1 12.407 1 12.028 1 11.59v-1.274c0-.805 0-1.469.044-2.01.046-.562.145-1.079.392-1.564a4 4 0 0 1 1.748-1.748c.485-.248 1.002-.346 1.564-.392.541-.044 1.206-.044 2.01-.044h3.492c1.491 0 3.456-.83 5.116-1.734l.034-.019c.457-.249.85-.463 1.167-.606M22 7.058a1 1 0 0 1 1 1v4a1 1 0 1 1-2 0v-4a1 1 0 0 1 1-1"/></symbol>
312
+ <symbol id="square-dollar" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M16.241 2H7.76c-.805 0-1.47 0-2.01.044-.563.046-1.08.145-1.565.392a4 4 0 0 0-1.748 1.748c-.247.485-.346 1.002-.392 1.564C2 6.29 2 6.954 2 7.758v8.483c0 .805 0 1.47.044 2.01.046.563.145 1.08.392 1.565a4 4 0 0 0 1.748 1.748c.485.247 1.002.346 1.564.392C6.29 22 6.954 22 7.758 22h8.483c.805 0 1.47 0 2.01-.044.563-.046 1.08-.145 1.565-.392a4 4 0 0 0 1.748-1.748c.247-.485.346-1.002.392-1.564.044-.541.044-1.206.044-2.01V7.758c0-.805 0-1.47-.044-2.01-.046-.563-.145-1.08-.392-1.565a4 4 0 0 0-1.748-1.748c-.485-.247-1.002-.346-1.564-.392C17.71 2 17.046 2 16.242 2M5.092 4.218c.156-.08.38-.145.819-.18C6.361 4 6.943 4 7.8 4h8.4c.857 0 1.439 0 1.889.038.438.035.663.1.819.18a2 2 0 0 1 .874.874c.08.156.145.38.18.819C20 6.361 20 6.943 20 7.8v8.4c0 .857 0 1.439-.038 1.889-.035.438-.1.663-.18.819a2 2 0 0 1-.874.874c-.156.08-.38.145-.819.18-.45.037-1.032.038-1.889.038H7.8c-.857 0-1.439 0-1.889-.038-.438-.035-.663-.1-.819-.18a2 2 0 0 1-.874-.874c-.08-.156-.145-.38-.18-.819C4 17.639 4 17.057 4 16.2V7.8c0-.857 0-1.439.038-1.889.035-.438.1-.663.18-.819a2 2 0 0 1 .874-.874m7.909 2.032a1 1 0 0 0-2 0v.329A3.212 3.212 0 0 0 11.116 13h1.77a1.211 1.211 0 1 1 0 2.423h-1.918a1.064 1.064 0 0 1-1.064-1.064 1 1 0 1 0-2 0 3.064 3.064 0 0 0 3.064 3.064h.033v.327a1 1 0 1 0 2 0v-.329A3.212 3.212 0 0 0 12.885 11h-1.77a1.211 1.211 0 1 1 0-2.423h1.918c.587 0 1.064.476 1.064 1.064a1 1 0 0 0 2 0 3.064 3.064 0 0 0-3.065-3.064h-.031z"/></symbol>
312
313
  <symbol id="stack" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M12 3.118 19.764 7 12 10.882 4.236 7zm-.277-2.033a1.5 1.5 0 0 1 .554 0 1.9 1.9 0 0 1 .528.2l9.642 4.82a1 1 0 0 1 0 1.79l-9.642 4.82-.026.014c-.093.047-.286.146-.502.186a1.5 1.5 0 0 1-.554 0c-.216-.04-.41-.139-.502-.186l-.026-.013-9.642-4.822a1 1 0 0 1 0-1.788l9.642-4.822.026-.013c.093-.047.286-.146.502-.186M1.106 11.553a1 1 0 0 1 1.341-.447L12 15.882l9.553-4.776a1 1 0 1 1 .894 1.788l-9.642 4.821-.026.014c-.093.047-.286.146-.502.186a1.5 1.5 0 0 1-.554 0c-.216-.04-.41-.139-.502-.186l-.026-.014-9.642-4.82a1 1 0 0 1-.447-1.342m0 5a1 1 0 0 1 1.341-.447L12 20.882l9.553-4.776a1 1 0 1 1 .894 1.788l-9.642 4.822-.026.012c-.093.048-.286.147-.502.187a1.5 1.5 0 0 1-.554 0c-.216-.04-.41-.139-.502-.186l-.026-.014-9.642-4.82a1 1 0 0 1-.447-1.342"/></symbol>
313
314
  <symbol id="star" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M11.354 1.776a1.5 1.5 0 0 1 1.292 0c.353.168.547.46.645.62a8 8 0 0 1 .323.615l2.14 4.335 4.822.705c.227.033.46.067.65.113.182.044.52.139.789.423a1.5 1.5 0 0 1 .398 1.228c-.051.387-.27.663-.391.805a8 8 0 0 1-.46.472l-3.488 3.397.823 4.799c.04.226.08.458.095.652.014.187.029.538-.158.882a1.5 1.5 0 0 1-1.045.759c-.384.071-.714-.051-.887-.123-.18-.075-.388-.184-.591-.291L12 18.9l-4.31 2.267c-.204.107-.412.216-.592.29-.173.073-.503.195-.887.124a1.5 1.5 0 0 1-1.045-.76c-.187-.343-.172-.694-.158-.881.016-.194.056-.426.095-.652l.822-4.799-3.462-3.372-.025-.025c-.165-.16-.333-.324-.46-.472-.122-.142-.34-.418-.39-.805a1.5 1.5 0 0 1 .397-1.228c.27-.284.607-.38.79-.423.189-.046.422-.08.649-.113l.034-.005 4.788-.7 2.14-4.335.016-.032c.101-.206.205-.417.307-.582.098-.16.292-.453.645-.621M12 4.259 9.993 8.326l-.013.027c-.048.099-.147.303-.303.471a1.5 1.5 0 0 1-.467.34c-.208.096-.433.127-.541.142l-.03.004-4.49.657 3.247 3.163.022.02c.08.077.243.234.355.435a1.5 1.5 0 0 1 .179.55c.028.228-.013.451-.032.56l-.006.029-.766 4.468 4.014-2.111.027-.014c.096-.052.297-.16.522-.204a1.5 1.5 0 0 1 .578 0c.226.044.426.152.522.204l.027.014 4.014 2.11-.767-4.467-.005-.03c-.02-.108-.06-.331-.032-.56.024-.193.084-.38.179-.549.112-.201.276-.358.355-.434q.012-.012.022-.02l3.248-3.164-4.49-.657-.03-.004c-.11-.015-.334-.046-.542-.143a1.5 1.5 0 0 1-.467-.339 2 2 0 0 1-.303-.471l-.013-.027z"/></symbol>
314
315
  <symbol id="star-03" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M11.365 1.725a1.5 1.5 0 0 1 1.269 0c.344.16.539.438.64.595a7 7 0 0 1 .323.585l1.444 2.78 3.107-.61c.215-.043.438-.087.625-.106.186-.02.524-.04.864.129a1.5 1.5 0 0 1 .791.992c.09.369-.006.694-.066.87-.06.18-.153.387-.242.587l-1.287 2.893 2.415 2.049c.167.141.34.288.472.423.13.133.358.384.438.756a1.5 1.5 0 0 1-.283 1.237c-.233.3-.546.428-.722.49a7 7 0 0 1-.609.177l-3.064.798-.096 3.165c-.007.219-.014.446-.037.633-.022.185-.078.52-.318.814a1.5 1.5 0 0 1-1.143.55c-.38.005-.676-.16-.834-.258-.161-.099-.343-.235-.518-.367L12 19.01l-2.535 1.898c-.175.132-.357.268-.518.367-.158.098-.454.263-.834.258a1.5 1.5 0 0 1-1.143-.55c-.24-.294-.296-.629-.318-.814a7 7 0 0 1-.037-.633L6.52 16.37l-3.064-.798a7 7 0 0 1-.61-.176c-.174-.063-.488-.192-.721-.491a1.5 1.5 0 0 1-.283-1.237c.08-.371.307-.623.438-.756.132-.135.305-.282.472-.423l.027-.023 2.388-2.026-1.273-2.862-.014-.031a7 7 0 0 1-.242-.586c-.06-.177-.155-.502-.066-.871a1.5 1.5 0 0 1 .791-.992c.34-.17.678-.149.864-.13a7 7 0 0 1 .659.113l3.073.604 1.444-2.78.016-.03c.1-.194.206-.396.308-.555.1-.157.295-.434.64-.595M12 4.17l-1.336 2.57-.019.038c-.068.134-.208.412-.442.612a1.5 1.5 0 0 1-.688.331c-.302.059-.607-.005-.754-.036l-.041-.008-2.843-.559 1.177 2.647q.007.017.018.038c.062.137.192.42.202.728a1.5 1.5 0 0 1-.17.744c-.142.273-.382.472-.498.568l-.032.026-2.209 1.874 2.803.73.04.01c.147.037.45.112.696.296a1.5 1.5 0 0 1 .476.596c.124.282.13.594.133.744v.042l.089 2.895 2.319-1.736.033-.026c.119-.091.366-.28.664-.36.25-.065.513-.065.763 0 .298.08.545.269.664.36l.034.026 2.318 1.736.088-2.895.001-.042c.003-.15.009-.462.133-.743a1.5 1.5 0 0 1 .476-.597c.247-.184.55-.26.695-.295l.04-.01 2.804-.73-2.209-1.875-.032-.026c-.116-.096-.356-.295-.498-.568a1.5 1.5 0 0 1-.17-.744c.01-.308.14-.591.203-.728l.017-.038 1.177-2.647-2.842.559-.041.008c-.147.031-.453.095-.755.036a1.5 1.5 0 0 1-.687-.331c-.235-.2-.375-.478-.443-.612l-.019-.037z"/></symbol>
@@ -337,7 +338,7 @@
337
338
  <symbol id="trend-down" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M1.293 6.293a1 1 0 0 1 1.414 0l4.869 4.869c.21.21.325.323.414.4l.01.008.01-.009c.09-.076.205-.19.414-.4l2.76-2.76c.179-.178.352-.352.511-.487.175-.148.397-.308.687-.402a2 2 0 0 1 1.236 0c.29.094.512.254.687.402.159.135.332.31.51.488L21 14.586V10a1 1 0 1 1 2 0v7a1 1 0 0 1-1 1h-7a1 1 0 1 1 0-2h4.586l-6.162-6.162a8 8 0 0 0-.414-.4L13 9.43l-.01.009c-.09.076-.205.19-.414.4l-2.76 2.76a9 9 0 0 1-.512.487 2 2 0 0 1-.686.402 2 2 0 0 1-1.236 0 2 2 0 0 1-.686-.402 9 9 0 0 1-.512-.488l-.022-.022-4.87-4.869a1 1 0 0 1 0-1.414"/></symbol>
338
339
  <symbol id="trend-none" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M13 12a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1M4 12a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1"/></symbol>
339
340
  <symbol id="trend-up" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M15 8a1 1 0 1 1 0-2h7a1 1 0 0 1 1 1v7a1 1 0 1 1-2 0V9.414l-6.184 6.184a9 9 0 0 1-.511.488 2 2 0 0 1-.687.402 2 2 0 0 1-1.236 0 2 2 0 0 1-.687-.402 9 9 0 0 1-.51-.488l-2.76-2.76a8 8 0 0 0-.415-.4L8 12.43l-.01.009c-.09.076-.205.19-.414.4l-4.869 4.868a1 1 0 0 1-1.414-1.414l4.869-4.869.022-.022a9 9 0 0 1 .512-.488c.174-.148.396-.308.686-.402a2 2 0 0 1 1.236 0c.29.094.512.254.686.402.16.135.333.31.512.488l2.76 2.76c.21.21.325.323.414.4l.01.008.01-.009c.09-.076.205-.19.414-.4L19.586 8z"/></symbol>
340
- <symbol id="trophy" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M7.355 1h9.29c.314-.002.7-.003 1.039.12a2 2 0 0 1 1.195 1.196c.08.22.108.458.117.684h1.53c.21 0 .415 0 .59.012.19.013.415.043.65.14a2 2 0 0 1 1.082 1.083c.097.234.127.46.14.65.012.174.012.378.012.589v.664c0 .795 0 1.386-.136 1.897a4 4 0 0 1-2.829 2.829c-.38.102-.805.128-1.324.134A7.01 7.01 0 0 1 13 15.93V17h.444A4.556 4.556 0 0 1 18 21.556c0 .797-.647 1.444-1.445 1.444h-9.11A1.444 1.444 0 0 1 6 21.556 4.556 4.556 0 0 1 10.556 17H11v-1.07a7.01 7.01 0 0 1-5.71-4.932c-.52-.006-.945-.032-1.325-.134a4 4 0 0 1-2.829-2.829C1 7.524 1 6.933 1 6.138v-.664c0-.21 0-.415.012-.59.013-.19.043-.415.14-.65a2 2 0 0 1 1.083-1.082c.234-.097.46-.127.65-.14C3.059 3 3.263 3 3.474 3h1.53c.01-.226.037-.465.117-.684a2 2 0 0 1 1.195-1.195C6.656.997 7.04.998 7.355 1M5 5H3.5a8 8 0 0 0-.492.008v.013A8 8 0 0 0 3 5.5V6c0 .994.009 1.295.068 1.518a2 2 0 0 0 1.414 1.414c.12.032.26.049.518.058zm2-1.556a8 8 0 0 1 .006-.437l.013-.001C7.106 3 7.225 3 7.444 3h9.111a8 8 0 0 1 .439.007v.012a8 8 0 0 1 .006.425V9A5 5 0 0 1 7 9zM19 5v3.99c.258-.009.399-.026.518-.058a2 2 0 0 0 1.414-1.414C20.992 7.295 21 6.994 21 6v-.5c0-.247 0-.382-.007-.48l-.001-.012h-.013A8 8 0 0 0 20.5 5zm-8.444 14c-1.221 0-2.242.856-2.495 2h7.878a2.556 2.556 0 0 0-2.495-2z"/></symbol>
341
+ <symbol id="trophy" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M7.355 1h9.29c.314-.002.7-.003 1.039.12a2 2 0 0 1 1.195 1.196c.08.22.108.458.117.684h1.53c.21 0 .415 0 .59.012.19.013.415.043.65.14a2 2 0 0 1 1.082 1.083c.097.234.127.46.14.65.012.174.012.378.012.589v.664c0 .795 0 1.386-.136 1.897a4 4 0 0 1-2.829 2.829c-.38.102-.805.128-1.324.134A7.01 7.01 0 0 1 13 15.93V17h.444A4.556 4.556 0 0 1 18 21.556c0 .797-.647 1.444-1.444 1.444H7.444A1.444 1.444 0 0 1 6 21.556 4.556 4.556 0 0 1 10.556 17H11v-1.07a7.01 7.01 0 0 1-5.71-4.932c-.52-.006-.945-.032-1.325-.134a4 4 0 0 1-2.829-2.829C1 7.524 1 6.933 1 6.138v-.664c0-.21 0-.415.012-.59.013-.19.043-.415.14-.65a2 2 0 0 1 1.083-1.082c.234-.097.46-.127.65-.14C3.059 3 3.263 3 3.474 3h1.53c.01-.226.037-.465.117-.684a2 2 0 0 1 1.195-1.195C6.656.997 7.041.998 7.355 1M5 5H3.5a8 8 0 0 0-.492.008v.013A8 8 0 0 0 3 5.5V6c0 .994.009 1.295.068 1.518a2 2 0 0 0 1.414 1.414c.12.032.26.049.518.058zm2-1.556a8 8 0 0 1 .007-.437l.012-.001C7.106 3 7.225 3 7.444 3h9.112a8 8 0 0 1 .438.007v.012c.006.087.006.206.006.425V9A5 5 0 0 1 7 9zM19 5v3.99c.258-.009.399-.026.518-.058a2 2 0 0 0 1.414-1.414C20.992 7.295 21 6.994 21 6v-.5a8 8 0 0 0-.008-.492h-.013A8 8 0 0 0 20.5 5zm-8.444 14c-1.221 0-2.242.856-2.495 2h7.878a2.556 2.556 0 0 0-2.495-2z"/></symbol>
341
342
  <symbol id="trophy-filled" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M7.444 1h-.09c-.313-.001-.698-.003-1.038.12a2 2 0 0 0-1.195 1.196c-.08.22-.108.458-.117.684h-1.53c-.21 0-.415 0-.59.012-.19.013-.415.043-.65.14a2 2 0 0 0-1.082 1.083c-.097.234-.127.46-.14.65C1 5.059 1 5.263 1 5.474v.664c0 .795 0 1.386.136 1.897a4 4 0 0 0 2.829 2.829c.38.102.805.128 1.324.134A7.01 7.01 0 0 0 11 15.93V17h-.444A4.556 4.556 0 0 0 6 21.556C6 22.353 6.647 23 7.444 23h9.112c.797 0 1.444-.647 1.444-1.444A4.556 4.556 0 0 0 13.444 17H13v-1.07a7.01 7.01 0 0 0 5.71-4.932c.52-.006.945-.032 1.325-.134a4 4 0 0 0 2.829-2.829C23 7.524 23 6.933 23 6.138v-.664c0-.21 0-.415-.012-.59a2 2 0 0 0-.14-.65 2 2 0 0 0-1.083-1.082 2 2 0 0 0-.65-.14C20.941 3 20.737 3 20.527 3h-1.53a2.3 2.3 0 0 0-.118-.684 2 2 0 0 0-1.195-1.195C17.344.997 16.96.999 16.645 1h-9.2M5 5.8c0-.28 0-.42-.054-.527a.5.5 0 0 0-.219-.218C4.62 5 4.48 5 4.2 5h-.456c-.265 0-.397 0-.5.051a.5.5 0 0 0-.218.206c-.056.101-.063.229-.076.485-.032.603-.028 1.228.118 1.776a2 2 0 0 0 1.414 1.414c.12.032.26.049.518.058zm14 .003c0-.28 0-.421.055-.528a.5.5 0 0 1 .22-.22c.107-.053.247-.053.528-.052l.448.002c.264.001.395.002.499.053.09.044.167.118.216.205.056.101.063.229.076.484.032.604.032 1.241-.11 1.77a2 2 0 0 1-1.414 1.415c-.12.032-.26.049-.518.058z"/></symbol>
342
343
  <symbol id="type" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M6.968 3h10.064c.439 0 .817 0 1.13.021.33.023.66.072.986.207a3 3 0 0 1 1.624 1.624c.135.326.184.656.207.986.021.313.021.691.021 1.13V7a1 1 0 1 1-2 0c0-.48 0-.79-.017-1.026-.015-.228-.042-.315-.06-.357a1 1 0 0 0-.54-.54c-.042-.018-.129-.045-.357-.06A17 17 0 0 0 17 5h-4v14h2a1 1 0 1 1 0 2H9a1 1 0 1 1 0-2h2V5H7c-.48 0-.79 0-1.026.017-.228.015-.315.042-.357.06a1 1 0 0 0-.54.54c-.018.042-.045.129-.06.357C5 6.21 5 6.52 5 7a1 1 0 1 1-2 0v-.032c0-.439 0-.817.021-1.13.023-.33.072-.66.207-.986a3 3 0 0 1 1.624-1.624 3 3 0 0 1 .986-.207C6.15 3 6.529 3 6.968 3"/></symbol>
343
344
  <symbol id="underline" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M7.759 2h8.482c.805 0 1.47 0 2.01.044.563.046 1.08.145 1.565.392a4 4 0 0 1 1.748 1.748c.247.485.346 1.002.392 1.564C22 6.29 22 6.954 22 7.758v8.483c0 .805 0 1.47-.044 2.01-.046.563-.145 1.08-.392 1.565a4 4 0 0 1-1.748 1.748c-.485.247-1.002.346-1.564.392-.541.044-1.206.044-2.01.044H7.758c-.805 0-1.47 0-2.01-.044-.563-.046-1.08-.145-1.565-.392a4 4 0 0 1-1.748-1.748c-.247-.485-.346-1.002-.392-1.564C2 17.71 2 17.046 2 16.242V7.758c0-.805 0-1.47.044-2.01.046-.563.145-1.08.392-1.565a4 4 0 0 1 1.748-1.748c.485-.247 1.002-.346 1.564-.392C6.29 2 6.954 2 7.758 2M5.91 4.038c-.438.035-.663.1-.819.18a2 2 0 0 0-.874.874c-.08.156-.145.38-.18.819C4 6.361 4 6.943 4 7.8v8.4c0 .857 0 1.439.038 1.889.035.438.1.663.18.819a2 2 0 0 0 .874.874c.156.08.38.145.819.18C6.361 20 6.943 20 7.8 20h8.4c.857 0 1.439 0 1.889-.038.438-.035.663-.1.819-.18a2 2 0 0 0 .874-.874c.08-.156.145-.38.18-.819.037-.45.038-1.032.038-1.889V7.8c0-.857 0-1.439-.038-1.889-.035-.438-.1-.663-.18-.819a2 2 0 0 0-.874-.874c-.156-.08-.38-.145-.819-.18C17.639 4 17.057 4 16.2 4H7.8c-.857 0-1.439 0-1.889.038M8.5 6a1 1 0 0 1 1 1v3.5a2.5 2.5 0 0 0 5 0V7a1 1 0 1 1 2 0v3.5a4.5 4.5 0 1 1-9 0V7a1 1 0 0 1 1-1M7 17a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1"/></symbol>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M16.241 2H7.76c-.805 0-1.47 0-2.01.044-.563.046-1.08.145-1.565.392a4 4 0 0 0-1.748 1.748c-.247.485-.346 1.002-.392 1.564C2 6.29 2 6.954 2 7.758v8.483c0 .805 0 1.47.044 2.01.046.563.145 1.08.392 1.565a4 4 0 0 0 1.748 1.748c.485.247 1.002.346 1.564.392C6.29 22 6.954 22 7.758 22h8.483c.805 0 1.47 0 2.01-.044.563-.046 1.08-.145 1.565-.392a4 4 0 0 0 1.748-1.748c.247-.485.346-1.002.392-1.564.044-.541.044-1.206.044-2.01V7.758c0-.805 0-1.47-.044-2.01-.046-.563-.145-1.08-.392-1.565a4 4 0 0 0-1.748-1.748c-.485-.247-1.002-.346-1.564-.392C17.71 2 17.046 2 16.242 2M5.092 4.218c.156-.08.38-.145.819-.18C6.361 4 6.943 4 7.8 4h8.4c.857 0 1.439 0 1.889.038.438.035.663.1.819.18a2 2 0 0 1 .874.874c.08.156.145.38.18.819C20 6.361 20 6.943 20 7.8v8.4c0 .857 0 1.439-.038 1.889-.035.438-.1.663-.18.819a2 2 0 0 1-.874.874c-.156.08-.38.145-.819.18-.45.037-1.032.038-1.889.038H7.8c-.857 0-1.439 0-1.889-.038-.438-.035-.663-.1-.819-.18a2 2 0 0 1-.874-.874c-.08-.156-.145-.38-.18-.819C4 17.639 4 17.057 4 16.2V7.8c0-.857 0-1.439.038-1.889.035-.438.1-.663.18-.819a2 2 0 0 1 .874-.874m7.909 2.032a1 1 0 0 0-2 0v.329A3.212 3.212 0 0 0 11.116 13h1.77a1.211 1.211 0 1 1 0 2.423h-1.918a1.064 1.064 0 0 1-1.064-1.064 1 1 0 1 0-2 0 3.064 3.064 0 0 0 3.064 3.064h.033v.327a1 1 0 1 0 2 0v-.329A3.212 3.212 0 0 0 12.885 11h-1.77a1.211 1.211 0 1 1 0-2.423h1.918c.587 0 1.064.476 1.064 1.064a1 1 0 0 0 2 0 3.064 3.064 0 0 0-3.065-3.064h-.031z"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M7.355 1h9.29c.314-.002.7-.003 1.039.12a2 2 0 0 1 1.195 1.196c.08.22.108.458.117.684h1.53c.21 0 .415 0 .59.012.19.013.415.043.65.14a2 2 0 0 1 1.082 1.083c.097.234.127.46.14.65.012.174.012.378.012.589v.664c0 .795 0 1.386-.136 1.897a4 4 0 0 1-2.829 2.829c-.38.102-.805.128-1.324.134A7.01 7.01 0 0 1 13 15.93V17h.444A4.556 4.556 0 0 1 18 21.556c0 .797-.647 1.444-1.445 1.444h-9.11A1.444 1.444 0 0 1 6 21.556 4.556 4.556 0 0 1 10.556 17H11v-1.07a7.01 7.01 0 0 1-5.71-4.932c-.52-.006-.945-.032-1.325-.134a4 4 0 0 1-2.829-2.829C1 7.524 1 6.933 1 6.138v-.664c0-.21 0-.415.012-.59.013-.19.043-.415.14-.65a2 2 0 0 1 1.083-1.082c.234-.097.46-.127.65-.14C3.059 3 3.263 3 3.474 3h1.53c.01-.226.037-.465.117-.684a2 2 0 0 1 1.195-1.195C6.656.997 7.04.998 7.355 1M5 5H3.5a8 8 0 0 0-.492.008v.013A8 8 0 0 0 3 5.5V6c0 .994.009 1.295.068 1.518a2 2 0 0 0 1.414 1.414c.12.032.26.049.518.058zm2-1.556a8 8 0 0 1 .006-.437l.013-.001C7.106 3 7.225 3 7.444 3h9.111a8 8 0 0 1 .439.007v.012a8 8 0 0 1 .006.425V9A5 5 0 0 1 7 9zM19 5v3.99c.258-.009.399-.026.518-.058a2 2 0 0 0 1.414-1.414C20.992 7.295 21 6.994 21 6v-.5c0-.247 0-.382-.007-.48l-.001-.012h-.013A8 8 0 0 0 20.5 5zm-8.444 14c-1.221 0-2.242.856-2.495 2h7.878a2.556 2.556 0 0 0-2.495-2z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M7.355 1h9.29c.314-.002.7-.003 1.039.12a2 2 0 0 1 1.195 1.196c.08.22.108.458.117.684h1.53c.21 0 .415 0 .59.012.19.013.415.043.65.14a2 2 0 0 1 1.082 1.083c.097.234.127.46.14.65.012.174.012.378.012.589v.664c0 .795 0 1.386-.136 1.897a4 4 0 0 1-2.829 2.829c-.38.102-.805.128-1.324.134A7.01 7.01 0 0 1 13 15.93V17h.444A4.556 4.556 0 0 1 18 21.556c0 .797-.647 1.444-1.444 1.444H7.444A1.444 1.444 0 0 1 6 21.556 4.556 4.556 0 0 1 10.556 17H11v-1.07a7.01 7.01 0 0 1-5.71-4.932c-.52-.006-.945-.032-1.325-.134a4 4 0 0 1-2.829-2.829C1 7.524 1 6.933 1 6.138v-.664c0-.21 0-.415.012-.59.013-.19.043-.415.14-.65a2 2 0 0 1 1.083-1.082c.234-.097.46-.127.65-.14C3.059 3 3.263 3 3.474 3h1.53c.01-.226.037-.465.117-.684a2 2 0 0 1 1.195-1.195C6.656.997 7.041.998 7.355 1M5 5H3.5a8 8 0 0 0-.492.008v.013A8 8 0 0 0 3 5.5V6c0 .994.009 1.295.068 1.518a2 2 0 0 0 1.414 1.414c.12.032.26.049.518.058zm2-1.556a8 8 0 0 1 .007-.437l.012-.001C7.106 3 7.225 3 7.444 3h9.112a8 8 0 0 1 .438.007v.012c.006.087.006.206.006.425V9A5 5 0 0 1 7 9zM19 5v3.99c.258-.009.399-.026.518-.058a2 2 0 0 0 1.414-1.414C20.992 7.295 21 6.994 21 6v-.5a8 8 0 0 0-.008-.492h-.013A8 8 0 0 0 20.5 5zm-8.444 14c-1.221 0-2.242.856-2.495 2h7.878a2.556 2.556 0 0 0-2.495-2z"/></svg>
@@ -11,8 +11,8 @@ export declare const isStr: (val: any) => val is string;
11
11
  export declare const toLower: (val: string) => string;
12
12
  /**
13
13
  * Elements inside of web components sometimes need to inherit global attributes
14
- * set on the host. For example, the inner input in `ion-input` should inherit
15
- * the `title` attribute that developers set directly on `ion-input`. This
14
+ * set on the host. For example, the inner input in `pds-input` should inherit
15
+ * the `title` attribute that developers set directly on `pds-input`. This
16
16
  * helper function should be called in componentWillLoad and assigned to a variable
17
17
  * that is later used in the render function.
18
18
  *
package/icons/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- /* pds-icons v8.16.0, Types */
1
+ /* pds-icons v8.18.0, Types */
2
2
 
3
3
  export declare var accessKey: string
4
4
  export declare var add: string
@@ -299,6 +299,7 @@ export declare var shoppingCartFilled: string
299
299
  export declare var skipped: string
300
300
  export declare var slashDivider: string
301
301
  export declare var speaker: string
302
+ export declare var squareDollar: string
302
303
  export declare var stack: string
303
304
  export declare var star: string
304
305
  export declare var star03: string
package/icons/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /* pds-icons v8.16.0, CommonJs */
1
+ /* pds-icons v8.18.0, CommonJs */
2
2
 
3
3
  exports.accessKey = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M8 9a7 7 0 1 1 6.06 6.937 14 14 0 0 0-.514-.062l-.01.008a9 9 0 0 0-.25.245l-1.579 1.58A1 1 0 0 1 11 18h-1v1a1 1 0 0 1-1 1H8v1a1 1 0 0 1-1 1H4.568c-.252 0-.498 0-.706-.017a2 2 0 0 1-.77-.201 2 2 0 0 1-.874-.874 2 2 0 0 1-.201-.77C2 19.93 2 19.684 2 19.432v-1.82c0-.19-.001-.43.055-.665a2 2 0 0 1 .24-.578c.126-.206.296-.375.43-.509l.036-.036 5.111-5.11c.126-.126.196-.197.245-.25l.008-.01-.003-.045c-.01-.103-.03-.244-.06-.469A7 7 0 0 1 8 9m0 9v-1a1 1 0 0 1 1-1h1.586l1.286-1.286.052-.053c.18-.18.398-.4.646-.539a1.8 1.8 0 0 1 .693-.234c.193-.027.382-.014.52 0 .145.014.324.038.525.065l.018.002q.33.045.674.045a5 5 0 1 0-4.955-4.326l.002.018c.027.201.051.38.065.524.014.14.027.328 0 .521-.038.265-.104.46-.234.693-.14.248-.359.466-.54.646l-.052.052-5.11 5.11a6 6 0 0 0-.171.175l-.002.002v.004a6 6 0 0 0-.003.244V19.4a8 8 0 0 0 .011.588l.014.002c.116.01.278.01.575.01H6v-1a1 1 0 0 1 1-1zm6-11a1 1 0 0 1 1-1c.766 0 1.536.293 2.121.879.586.585.879 1.355.879 2.12A1 1 0 1 1 16 9a1 1 0 0 0-.293-.707A1 1 0 0 0 15 8a1 1 0 0 1-1-1'/></svg>"
4
4
  exports.add = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M12 4a1 1 0 0 1 1 1v6h6a1 1 0 1 1 0 2h-6v6a1 1 0 1 1-2 0v-6H5a1 1 0 1 1 0-2h6V5a1 1 0 0 1 1-1'/></svg>"
@@ -299,6 +299,7 @@ exports.shoppingCartFilled = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.
299
299
  exports.skipped = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M22.648 1.212c.222.19.352.48.352.788v9c0 .552-.41 1-.917 1-.506 0-.916-.448-.916-1V3.28l-6.195 1.69a.84.84 0 0 1-.512-.021L9.213 3.04l-6.38 1.74v15.938l6.195-1.69a.84.84 0 0 1 .512.022l2.75 1c.48.175.74.741.58 1.265s-.68.807-1.16.633l-2.497-.908-7.074 1.93a.86.86 0 0 1-.786-.183A1.03 1.03 0 0 1 1 22V4c0-.459.286-.859.694-.97l7.334-2a.84.84 0 0 1 .512.021l5.247 1.908 7.074-1.93a.86.86 0 0 1 .787.183m-.833 14.08c.358.391.358 1.025 0 1.415L19.713 19l2.102 2.293c.358.39.358 1.024 0 1.414a.864.864 0 0 1-1.297 0l-2.101-2.293-2.102 2.293a.864.864 0 0 1-1.297 0 1.065 1.065 0 0 1 0-1.414L17.12 19l-2.102-2.293a1.065 1.065 0 0 1 0-1.414.864.864 0 0 1 1.297 0l2.102 2.293 2.101-2.293a.864.864 0 0 1 1.297 0'/></svg>"
300
300
  exports.slashDivider = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M17.447 1.106a1 1 0 0 1 .447 1.341l-10 20a1 1 0 1 1-1.788-.894l10-20a1 1 0 0 1 1.341-.447'/></svg>"
301
301
  exports.speaker = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M17.39 4.022c-.24.108-.566.285-1.067.558-1.674.913-4.031 1.978-6.073 1.978H6.8c-.857 0-1.439 0-1.889.037-.438.036-.663.101-.819.18a2 2 0 0 0-.874.875c-.08.156-.145.38-.18.819C3 8.919 3 9.5 3 10.358v1.2c0 .48 0 .789.017 1.026.015.228.042.315.06.356a1 1 0 0 0 .54.542c.042.017.129.043.357.059.237.016.546.017 1.026.017a1 1 0 0 1 1 1v4.25c0 .256.001.311.005.348a1 1 0 0 0 .897.897c.037.003.092.005.348.005s.311-.002.348-.005a1 1 0 0 0 .897-.897c.004-.037.005-.092.005-.348v-4.25a1 1 0 0 1 1-1h.75c2.042 0 4.399 1.065 6.073 1.977.501.274.826.45 1.067.558q.047.022.083.037l.007-.07c.02-.245.02-.589.02-1.129V5.184c0-.54 0-.884-.02-1.128l-.007-.07zm-.823-1.823c.292-.132.718-.302 1.176-.246.573.07 1.048.352 1.384.822.264.369.321.807.347 1.122.026.334.026.76.026 1.247v9.828c0 .487 0 .912-.026 1.246-.026.316-.083.754-.347 1.123-.336.47-.81.751-1.384.821-.458.056-.884-.114-1.176-.246-.318-.143-.71-.357-1.167-.606l-.034-.019c-1.569-.855-3.41-1.642-4.866-1.726v3.285c0 .19 0 .354-.014.502a3 3 0 0 1-2.692 2.691c-.148.015-.312.015-.502.015h-.084c-.19 0-.354 0-.502-.015a3 3 0 0 1-2.692-2.691C4 19.204 4 19.04 4 18.85v-3.305l-.162-.009a3 3 0 0 1-.986-.207 3 3 0 0 1-1.624-1.623 3 3 0 0 1-.207-.986C1 12.407 1 12.028 1 11.59v-1.274c0-.805 0-1.469.044-2.01.046-.562.145-1.079.392-1.564a4 4 0 0 1 1.748-1.748c.485-.248 1.002-.346 1.564-.392.541-.044 1.206-.044 2.01-.044h3.492c1.491 0 3.456-.83 5.116-1.734l.034-.019c.457-.249.85-.463 1.167-.606M22 7.058a1 1 0 0 1 1 1v4a1 1 0 1 1-2 0v-4a1 1 0 0 1 1-1'/></svg>"
302
+ exports.squareDollar = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M16.241 2H7.76c-.805 0-1.47 0-2.01.044-.563.046-1.08.145-1.565.392a4 4 0 0 0-1.748 1.748c-.247.485-.346 1.002-.392 1.564C2 6.29 2 6.954 2 7.758v8.483c0 .805 0 1.47.044 2.01.046.563.145 1.08.392 1.565a4 4 0 0 0 1.748 1.748c.485.247 1.002.346 1.564.392C6.29 22 6.954 22 7.758 22h8.483c.805 0 1.47 0 2.01-.044.563-.046 1.08-.145 1.565-.392a4 4 0 0 0 1.748-1.748c.247-.485.346-1.002.392-1.564.044-.541.044-1.206.044-2.01V7.758c0-.805 0-1.47-.044-2.01-.046-.563-.145-1.08-.392-1.565a4 4 0 0 0-1.748-1.748c-.485-.247-1.002-.346-1.564-.392C17.71 2 17.046 2 16.242 2M5.092 4.218c.156-.08.38-.145.819-.18C6.361 4 6.943 4 7.8 4h8.4c.857 0 1.439 0 1.889.038.438.035.663.1.819.18a2 2 0 0 1 .874.874c.08.156.145.38.18.819C20 6.361 20 6.943 20 7.8v8.4c0 .857 0 1.439-.038 1.889-.035.438-.1.663-.18.819a2 2 0 0 1-.874.874c-.156.08-.38.145-.819.18-.45.037-1.032.038-1.889.038H7.8c-.857 0-1.439 0-1.889-.038-.438-.035-.663-.1-.819-.18a2 2 0 0 1-.874-.874c-.08-.156-.145-.38-.18-.819C4 17.639 4 17.057 4 16.2V7.8c0-.857 0-1.439.038-1.889.035-.438.1-.663.18-.819a2 2 0 0 1 .874-.874m7.909 2.032a1 1 0 0 0-2 0v.329A3.212 3.212 0 0 0 11.116 13h1.77a1.211 1.211 0 1 1 0 2.423h-1.918a1.064 1.064 0 0 1-1.064-1.064 1 1 0 1 0-2 0 3.064 3.064 0 0 0 3.064 3.064h.033v.327a1 1 0 1 0 2 0v-.329A3.212 3.212 0 0 0 12.885 11h-1.77a1.211 1.211 0 1 1 0-2.423h1.918c.587 0 1.064.476 1.064 1.064a1 1 0 0 0 2 0 3.064 3.064 0 0 0-3.065-3.064h-.031z'/></svg>"
302
303
  exports.stack = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M12 3.118 19.764 7 12 10.882 4.236 7zm-.277-2.033a1.5 1.5 0 0 1 .554 0 1.9 1.9 0 0 1 .528.2l9.642 4.82a1 1 0 0 1 0 1.79l-9.642 4.82-.026.014c-.093.047-.286.146-.502.186a1.5 1.5 0 0 1-.554 0c-.216-.04-.41-.139-.502-.186l-.026-.013-9.642-4.822a1 1 0 0 1 0-1.788l9.642-4.822.026-.013c.093-.047.286-.146.502-.186M1.106 11.553a1 1 0 0 1 1.341-.447L12 15.882l9.553-4.776a1 1 0 1 1 .894 1.788l-9.642 4.821-.026.014c-.093.047-.286.146-.502.186a1.5 1.5 0 0 1-.554 0c-.216-.04-.41-.139-.502-.186l-.026-.014-9.642-4.82a1 1 0 0 1-.447-1.342m0 5a1 1 0 0 1 1.341-.447L12 20.882l9.553-4.776a1 1 0 1 1 .894 1.788l-9.642 4.822-.026.012c-.093.048-.286.147-.502.187a1.5 1.5 0 0 1-.554 0c-.216-.04-.41-.139-.502-.186l-.026-.014-9.642-4.82a1 1 0 0 1-.447-1.342'/></svg>"
303
304
  exports.star = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M11.354 1.776a1.5 1.5 0 0 1 1.292 0c.353.168.547.46.645.62a8 8 0 0 1 .323.615l2.14 4.335 4.822.705c.227.033.46.067.65.113.182.044.52.139.789.423a1.5 1.5 0 0 1 .398 1.228c-.051.387-.27.663-.391.805a8 8 0 0 1-.46.472l-3.488 3.397.823 4.799c.04.226.08.458.095.652.014.187.029.538-.158.882a1.5 1.5 0 0 1-1.045.759c-.384.071-.714-.051-.887-.123-.18-.075-.388-.184-.591-.291L12 18.9l-4.31 2.267c-.204.107-.412.216-.592.29-.173.073-.503.195-.887.124a1.5 1.5 0 0 1-1.045-.76c-.187-.343-.172-.694-.158-.881.016-.194.056-.426.095-.652l.822-4.799-3.462-3.372-.025-.025c-.165-.16-.333-.324-.46-.472-.122-.142-.34-.418-.39-.805a1.5 1.5 0 0 1 .397-1.228c.27-.284.607-.38.79-.423.189-.046.422-.08.649-.113l.034-.005 4.788-.7 2.14-4.335.016-.032c.101-.206.205-.417.307-.582.098-.16.292-.453.645-.621M12 4.259 9.993 8.326l-.013.027c-.048.099-.147.303-.303.471a1.5 1.5 0 0 1-.467.34c-.208.096-.433.127-.541.142l-.03.004-4.49.657 3.247 3.163.022.02c.08.077.243.234.355.435a1.5 1.5 0 0 1 .179.55c.028.228-.013.451-.032.56l-.006.029-.766 4.468 4.014-2.111.027-.014c.096-.052.297-.16.522-.204a1.5 1.5 0 0 1 .578 0c.226.044.426.152.522.204l.027.014 4.014 2.11-.767-4.467-.005-.03c-.02-.108-.06-.331-.032-.56.024-.193.084-.38.179-.549.112-.201.276-.358.355-.434q.012-.012.022-.02l3.248-3.164-4.49-.657-.03-.004c-.11-.015-.334-.046-.542-.143a1.5 1.5 0 0 1-.467-.339 2 2 0 0 1-.303-.471l-.013-.027z'/></svg>"
304
305
  exports.star03 = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M11.365 1.725a1.5 1.5 0 0 1 1.269 0c.344.16.539.438.64.595a7 7 0 0 1 .323.585l1.444 2.78 3.107-.61c.215-.043.438-.087.625-.106.186-.02.524-.04.864.129a1.5 1.5 0 0 1 .791.992c.09.369-.006.694-.066.87-.06.18-.153.387-.242.587l-1.287 2.893 2.415 2.049c.167.141.34.288.472.423.13.133.358.384.438.756a1.5 1.5 0 0 1-.283 1.237c-.233.3-.546.428-.722.49a7 7 0 0 1-.609.177l-3.064.798-.096 3.165c-.007.219-.014.446-.037.633-.022.185-.078.52-.318.814a1.5 1.5 0 0 1-1.143.55c-.38.005-.676-.16-.834-.258-.161-.099-.343-.235-.518-.367L12 19.01l-2.535 1.898c-.175.132-.357.268-.518.367-.158.098-.454.263-.834.258a1.5 1.5 0 0 1-1.143-.55c-.24-.294-.296-.629-.318-.814a7 7 0 0 1-.037-.633L6.52 16.37l-3.064-.798a7 7 0 0 1-.61-.176c-.174-.063-.488-.192-.721-.491a1.5 1.5 0 0 1-.283-1.237c.08-.371.307-.623.438-.756.132-.135.305-.282.472-.423l.027-.023 2.388-2.026-1.273-2.862-.014-.031a7 7 0 0 1-.242-.586c-.06-.177-.155-.502-.066-.871a1.5 1.5 0 0 1 .791-.992c.34-.17.678-.149.864-.13a7 7 0 0 1 .659.113l3.073.604 1.444-2.78.016-.03c.1-.194.206-.396.308-.555.1-.157.295-.434.64-.595M12 4.17l-1.336 2.57-.019.038c-.068.134-.208.412-.442.612a1.5 1.5 0 0 1-.688.331c-.302.059-.607-.005-.754-.036l-.041-.008-2.843-.559 1.177 2.647q.007.017.018.038c.062.137.192.42.202.728a1.5 1.5 0 0 1-.17.744c-.142.273-.382.472-.498.568l-.032.026-2.209 1.874 2.803.73.04.01c.147.037.45.112.696.296a1.5 1.5 0 0 1 .476.596c.124.282.13.594.133.744v.042l.089 2.895 2.319-1.736.033-.026c.119-.091.366-.28.664-.36.25-.065.513-.065.763 0 .298.08.545.269.664.36l.034.026 2.318 1.736.088-2.895.001-.042c.003-.15.009-.462.133-.743a1.5 1.5 0 0 1 .476-.597c.247-.184.55-.26.695-.295l.04-.01 2.804-.73-2.209-1.875-.032-.026c-.116-.096-.356-.295-.498-.568a1.5 1.5 0 0 1-.17-.744c.01-.308.14-.591.203-.728l.017-.038 1.177-2.647-2.842.559-.041.008c-.147.031-.453.095-.755.036a1.5 1.5 0 0 1-.687-.331c-.235-.2-.375-.478-.443-.612l-.019-.037z'/></svg>"
@@ -327,7 +328,7 @@ exports.trash = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'
327
328
  exports.trendDown = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M1.293 6.293a1 1 0 0 1 1.414 0l4.869 4.869c.21.21.325.323.414.4l.01.008.01-.009c.09-.076.205-.19.414-.4l2.76-2.76c.179-.178.352-.352.511-.487.175-.148.397-.308.687-.402a2 2 0 0 1 1.236 0c.29.094.512.254.687.402.159.135.332.31.51.488L21 14.586V10a1 1 0 1 1 2 0v7a1 1 0 0 1-1 1h-7a1 1 0 1 1 0-2h4.586l-6.162-6.162a8 8 0 0 0-.414-.4L13 9.43l-.01.009c-.09.076-.205.19-.414.4l-2.76 2.76a9 9 0 0 1-.512.487 2 2 0 0 1-.686.402 2 2 0 0 1-1.236 0 2 2 0 0 1-.686-.402 9 9 0 0 1-.512-.488l-.022-.022-4.87-4.869a1 1 0 0 1 0-1.414'/></svg>"
328
329
  exports.trendNone = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M13 12a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1M4 12a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1'/></svg>"
329
330
  exports.trendUp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M15 8a1 1 0 1 1 0-2h7a1 1 0 0 1 1 1v7a1 1 0 1 1-2 0V9.414l-6.184 6.184a9 9 0 0 1-.511.488 2 2 0 0 1-.687.402 2 2 0 0 1-1.236 0 2 2 0 0 1-.687-.402 9 9 0 0 1-.51-.488l-2.76-2.76a8 8 0 0 0-.415-.4L8 12.43l-.01.009c-.09.076-.205.19-.414.4l-4.869 4.868a1 1 0 0 1-1.414-1.414l4.869-4.869.022-.022a9 9 0 0 1 .512-.488c.174-.148.396-.308.686-.402a2 2 0 0 1 1.236 0c.29.094.512.254.686.402.16.135.333.31.512.488l2.76 2.76c.21.21.325.323.414.4l.01.008.01-.009c.09-.076.205-.19.414-.4L19.586 8z'/></svg>"
330
- exports.trophy = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M7.355 1h9.29c.314-.002.7-.003 1.039.12a2 2 0 0 1 1.195 1.196c.08.22.108.458.117.684h1.53c.21 0 .415 0 .59.012.19.013.415.043.65.14a2 2 0 0 1 1.082 1.083c.097.234.127.46.14.65.012.174.012.378.012.589v.664c0 .795 0 1.386-.136 1.897a4 4 0 0 1-2.829 2.829c-.38.102-.805.128-1.324.134A7.01 7.01 0 0 1 13 15.93V17h.444A4.556 4.556 0 0 1 18 21.556c0 .797-.647 1.444-1.445 1.444h-9.11A1.444 1.444 0 0 1 6 21.556 4.556 4.556 0 0 1 10.556 17H11v-1.07a7.01 7.01 0 0 1-5.71-4.932c-.52-.006-.945-.032-1.325-.134a4 4 0 0 1-2.829-2.829C1 7.524 1 6.933 1 6.138v-.664c0-.21 0-.415.012-.59.013-.19.043-.415.14-.65a2 2 0 0 1 1.083-1.082c.234-.097.46-.127.65-.14C3.059 3 3.263 3 3.474 3h1.53c.01-.226.037-.465.117-.684a2 2 0 0 1 1.195-1.195C6.656.997 7.04.998 7.355 1M5 5H3.5a8 8 0 0 0-.492.008v.013A8 8 0 0 0 3 5.5V6c0 .994.009 1.295.068 1.518a2 2 0 0 0 1.414 1.414c.12.032.26.049.518.058zm2-1.556a8 8 0 0 1 .006-.437l.013-.001C7.106 3 7.225 3 7.444 3h9.111a8 8 0 0 1 .439.007v.012a8 8 0 0 1 .006.425V9A5 5 0 0 1 7 9zM19 5v3.99c.258-.009.399-.026.518-.058a2 2 0 0 0 1.414-1.414C20.992 7.295 21 6.994 21 6v-.5c0-.247 0-.382-.007-.48l-.001-.012h-.013A8 8 0 0 0 20.5 5zm-8.444 14c-1.221 0-2.242.856-2.495 2h7.878a2.556 2.556 0 0 0-2.495-2z'/></svg>"
331
+ exports.trophy = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M7.355 1h9.29c.314-.002.7-.003 1.039.12a2 2 0 0 1 1.195 1.196c.08.22.108.458.117.684h1.53c.21 0 .415 0 .59.012.19.013.415.043.65.14a2 2 0 0 1 1.082 1.083c.097.234.127.46.14.65.012.174.012.378.012.589v.664c0 .795 0 1.386-.136 1.897a4 4 0 0 1-2.829 2.829c-.38.102-.805.128-1.324.134A7.01 7.01 0 0 1 13 15.93V17h.444A4.556 4.556 0 0 1 18 21.556c0 .797-.647 1.444-1.444 1.444H7.444A1.444 1.444 0 0 1 6 21.556 4.556 4.556 0 0 1 10.556 17H11v-1.07a7.01 7.01 0 0 1-5.71-4.932c-.52-.006-.945-.032-1.325-.134a4 4 0 0 1-2.829-2.829C1 7.524 1 6.933 1 6.138v-.664c0-.21 0-.415.012-.59.013-.19.043-.415.14-.65a2 2 0 0 1 1.083-1.082c.234-.097.46-.127.65-.14C3.059 3 3.263 3 3.474 3h1.53c.01-.226.037-.465.117-.684a2 2 0 0 1 1.195-1.195C6.656.997 7.041.998 7.355 1M5 5H3.5a8 8 0 0 0-.492.008v.013A8 8 0 0 0 3 5.5V6c0 .994.009 1.295.068 1.518a2 2 0 0 0 1.414 1.414c.12.032.26.049.518.058zm2-1.556a8 8 0 0 1 .007-.437l.012-.001C7.106 3 7.225 3 7.444 3h9.112a8 8 0 0 1 .438.007v.012c.006.087.006.206.006.425V9A5 5 0 0 1 7 9zM19 5v3.99c.258-.009.399-.026.518-.058a2 2 0 0 0 1.414-1.414C20.992 7.295 21 6.994 21 6v-.5a8 8 0 0 0-.008-.492h-.013A8 8 0 0 0 20.5 5zm-8.444 14c-1.221 0-2.242.856-2.495 2h7.878a2.556 2.556 0 0 0-2.495-2z'/></svg>"
331
332
  exports.trophyFilled = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M7.444 1h-.09c-.313-.001-.698-.003-1.038.12a2 2 0 0 0-1.195 1.196c-.08.22-.108.458-.117.684h-1.53c-.21 0-.415 0-.59.012-.19.013-.415.043-.65.14a2 2 0 0 0-1.082 1.083c-.097.234-.127.46-.14.65C1 5.059 1 5.263 1 5.474v.664c0 .795 0 1.386.136 1.897a4 4 0 0 0 2.829 2.829c.38.102.805.128 1.324.134A7.01 7.01 0 0 0 11 15.93V17h-.444A4.556 4.556 0 0 0 6 21.556C6 22.353 6.647 23 7.444 23h9.112c.797 0 1.444-.647 1.444-1.444A4.556 4.556 0 0 0 13.444 17H13v-1.07a7.01 7.01 0 0 0 5.71-4.932c.52-.006.945-.032 1.325-.134a4 4 0 0 0 2.829-2.829C23 7.524 23 6.933 23 6.138v-.664c0-.21 0-.415-.012-.59a2 2 0 0 0-.14-.65 2 2 0 0 0-1.083-1.082 2 2 0 0 0-.65-.14C20.941 3 20.737 3 20.527 3h-1.53a2.3 2.3 0 0 0-.118-.684 2 2 0 0 0-1.195-1.195C17.344.997 16.96.999 16.645 1h-9.2M5 5.8c0-.28 0-.42-.054-.527a.5.5 0 0 0-.219-.218C4.62 5 4.48 5 4.2 5h-.456c-.265 0-.397 0-.5.051a.5.5 0 0 0-.218.206c-.056.101-.063.229-.076.485-.032.603-.028 1.228.118 1.776a2 2 0 0 0 1.414 1.414c.12.032.26.049.518.058zm14 .003c0-.28 0-.421.055-.528a.5.5 0 0 1 .22-.22c.107-.053.247-.053.528-.052l.448.002c.264.001.395.002.499.053.09.044.167.118.216.205.056.101.063.229.076.484.032.604.032 1.241-.11 1.77a2 2 0 0 1-1.414 1.415c-.12.032-.26.049-.518.058z'/></svg>"
332
333
  exports.type = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M6.968 3h10.064c.439 0 .817 0 1.13.021.33.023.66.072.986.207a3 3 0 0 1 1.624 1.624c.135.326.184.656.207.986.021.313.021.691.021 1.13V7a1 1 0 1 1-2 0c0-.48 0-.79-.017-1.026-.015-.228-.042-.315-.06-.357a1 1 0 0 0-.54-.54c-.042-.018-.129-.045-.357-.06A17 17 0 0 0 17 5h-4v14h2a1 1 0 1 1 0 2H9a1 1 0 1 1 0-2h2V5H7c-.48 0-.79 0-1.026.017-.228.015-.315.042-.357.06a1 1 0 0 0-.54.54c-.018.042-.045.129-.06.357C5 6.21 5 6.52 5 7a1 1 0 1 1-2 0v-.032c0-.439 0-.817.021-1.13.023-.33.072-.66.207-.986a3 3 0 0 1 1.624-1.624 3 3 0 0 1 .986-.207C6.15 3 6.529 3 6.968 3'/></svg>"
333
334
  exports.underline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M7.759 2h8.482c.805 0 1.47 0 2.01.044.563.046 1.08.145 1.565.392a4 4 0 0 1 1.748 1.748c.247.485.346 1.002.392 1.564C22 6.29 22 6.954 22 7.758v8.483c0 .805 0 1.47-.044 2.01-.046.563-.145 1.08-.392 1.565a4 4 0 0 1-1.748 1.748c-.485.247-1.002.346-1.564.392-.541.044-1.206.044-2.01.044H7.758c-.805 0-1.47 0-2.01-.044-.563-.046-1.08-.145-1.565-.392a4 4 0 0 1-1.748-1.748c-.247-.485-.346-1.002-.392-1.564C2 17.71 2 17.046 2 16.242V7.758c0-.805 0-1.47.044-2.01.046-.563.145-1.08.392-1.565a4 4 0 0 1 1.748-1.748c.485-.247 1.002-.346 1.564-.392C6.29 2 6.954 2 7.758 2M5.91 4.038c-.438.035-.663.1-.819.18a2 2 0 0 0-.874.874c-.08.156-.145.38-.18.819C4 6.361 4 6.943 4 7.8v8.4c0 .857 0 1.439.038 1.889.035.438.1.663.18.819a2 2 0 0 0 .874.874c.156.08.38.145.819.18C6.361 20 6.943 20 7.8 20h8.4c.857 0 1.439 0 1.889-.038.438-.035.663-.1.819-.18a2 2 0 0 0 .874-.874c.08-.156.145-.38.18-.819.037-.45.038-1.032.038-1.889V7.8c0-.857 0-1.439-.038-1.889-.035-.438-.1-.663-.18-.819a2 2 0 0 0-.874-.874c-.156-.08-.38-.145-.819-.18C17.639 4 17.057 4 16.2 4H7.8c-.857 0-1.439 0-1.889.038M8.5 6a1 1 0 0 1 1 1v3.5a2.5 2.5 0 0 0 5 0V7a1 1 0 1 1 2 0v3.5a4.5 4.5 0 1 1-9 0V7a1 1 0 0 1 1-1M7 17a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1'/></svg>"
package/icons/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /* pds-icons v8.16.0, ES Modules */
1
+ /* pds-icons v8.18.0, ES Modules */
2
2
 
3
3
  export const accessKey = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M8 9a7 7 0 1 1 6.06 6.937 14 14 0 0 0-.514-.062l-.01.008a9 9 0 0 0-.25.245l-1.579 1.58A1 1 0 0 1 11 18h-1v1a1 1 0 0 1-1 1H8v1a1 1 0 0 1-1 1H4.568c-.252 0-.498 0-.706-.017a2 2 0 0 1-.77-.201 2 2 0 0 1-.874-.874 2 2 0 0 1-.201-.77C2 19.93 2 19.684 2 19.432v-1.82c0-.19-.001-.43.055-.665a2 2 0 0 1 .24-.578c.126-.206.296-.375.43-.509l.036-.036 5.111-5.11c.126-.126.196-.197.245-.25l.008-.01-.003-.045c-.01-.103-.03-.244-.06-.469A7 7 0 0 1 8 9m0 9v-1a1 1 0 0 1 1-1h1.586l1.286-1.286.052-.053c.18-.18.398-.4.646-.539a1.8 1.8 0 0 1 .693-.234c.193-.027.382-.014.52 0 .145.014.324.038.525.065l.018.002q.33.045.674.045a5 5 0 1 0-4.955-4.326l.002.018c.027.201.051.38.065.524.014.14.027.328 0 .521-.038.265-.104.46-.234.693-.14.248-.359.466-.54.646l-.052.052-5.11 5.11a6 6 0 0 0-.171.175l-.002.002v.004a6 6 0 0 0-.003.244V19.4a8 8 0 0 0 .011.588l.014.002c.116.01.278.01.575.01H6v-1a1 1 0 0 1 1-1zm6-11a1 1 0 0 1 1-1c.766 0 1.536.293 2.121.879.586.585.879 1.355.879 2.12A1 1 0 1 1 16 9a1 1 0 0 0-.293-.707A1 1 0 0 0 15 8a1 1 0 0 1-1-1'/></svg>"
4
4
  export const add = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M12 4a1 1 0 0 1 1 1v6h6a1 1 0 1 1 0 2h-6v6a1 1 0 1 1-2 0v-6H5a1 1 0 1 1 0-2h6V5a1 1 0 0 1 1-1'/></svg>"
@@ -299,6 +299,7 @@ export const shoppingCartFilled = "data:image/svg+xml;utf8,<svg xmlns='http://ww
299
299
  export const skipped = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M22.648 1.212c.222.19.352.48.352.788v9c0 .552-.41 1-.917 1-.506 0-.916-.448-.916-1V3.28l-6.195 1.69a.84.84 0 0 1-.512-.021L9.213 3.04l-6.38 1.74v15.938l6.195-1.69a.84.84 0 0 1 .512.022l2.75 1c.48.175.74.741.58 1.265s-.68.807-1.16.633l-2.497-.908-7.074 1.93a.86.86 0 0 1-.786-.183A1.03 1.03 0 0 1 1 22V4c0-.459.286-.859.694-.97l7.334-2a.84.84 0 0 1 .512.021l5.247 1.908 7.074-1.93a.86.86 0 0 1 .787.183m-.833 14.08c.358.391.358 1.025 0 1.415L19.713 19l2.102 2.293c.358.39.358 1.024 0 1.414a.864.864 0 0 1-1.297 0l-2.101-2.293-2.102 2.293a.864.864 0 0 1-1.297 0 1.065 1.065 0 0 1 0-1.414L17.12 19l-2.102-2.293a1.065 1.065 0 0 1 0-1.414.864.864 0 0 1 1.297 0l2.102 2.293 2.101-2.293a.864.864 0 0 1 1.297 0'/></svg>"
300
300
  export const slashDivider = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M17.447 1.106a1 1 0 0 1 .447 1.341l-10 20a1 1 0 1 1-1.788-.894l10-20a1 1 0 0 1 1.341-.447'/></svg>"
301
301
  export const speaker = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M17.39 4.022c-.24.108-.566.285-1.067.558-1.674.913-4.031 1.978-6.073 1.978H6.8c-.857 0-1.439 0-1.889.037-.438.036-.663.101-.819.18a2 2 0 0 0-.874.875c-.08.156-.145.38-.18.819C3 8.919 3 9.5 3 10.358v1.2c0 .48 0 .789.017 1.026.015.228.042.315.06.356a1 1 0 0 0 .54.542c.042.017.129.043.357.059.237.016.546.017 1.026.017a1 1 0 0 1 1 1v4.25c0 .256.001.311.005.348a1 1 0 0 0 .897.897c.037.003.092.005.348.005s.311-.002.348-.005a1 1 0 0 0 .897-.897c.004-.037.005-.092.005-.348v-4.25a1 1 0 0 1 1-1h.75c2.042 0 4.399 1.065 6.073 1.977.501.274.826.45 1.067.558q.047.022.083.037l.007-.07c.02-.245.02-.589.02-1.129V5.184c0-.54 0-.884-.02-1.128l-.007-.07zm-.823-1.823c.292-.132.718-.302 1.176-.246.573.07 1.048.352 1.384.822.264.369.321.807.347 1.122.026.334.026.76.026 1.247v9.828c0 .487 0 .912-.026 1.246-.026.316-.083.754-.347 1.123-.336.47-.81.751-1.384.821-.458.056-.884-.114-1.176-.246-.318-.143-.71-.357-1.167-.606l-.034-.019c-1.569-.855-3.41-1.642-4.866-1.726v3.285c0 .19 0 .354-.014.502a3 3 0 0 1-2.692 2.691c-.148.015-.312.015-.502.015h-.084c-.19 0-.354 0-.502-.015a3 3 0 0 1-2.692-2.691C4 19.204 4 19.04 4 18.85v-3.305l-.162-.009a3 3 0 0 1-.986-.207 3 3 0 0 1-1.624-1.623 3 3 0 0 1-.207-.986C1 12.407 1 12.028 1 11.59v-1.274c0-.805 0-1.469.044-2.01.046-.562.145-1.079.392-1.564a4 4 0 0 1 1.748-1.748c.485-.248 1.002-.346 1.564-.392.541-.044 1.206-.044 2.01-.044h3.492c1.491 0 3.456-.83 5.116-1.734l.034-.019c.457-.249.85-.463 1.167-.606M22 7.058a1 1 0 0 1 1 1v4a1 1 0 1 1-2 0v-4a1 1 0 0 1 1-1'/></svg>"
302
+ export const squareDollar = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M16.241 2H7.76c-.805 0-1.47 0-2.01.044-.563.046-1.08.145-1.565.392a4 4 0 0 0-1.748 1.748c-.247.485-.346 1.002-.392 1.564C2 6.29 2 6.954 2 7.758v8.483c0 .805 0 1.47.044 2.01.046.563.145 1.08.392 1.565a4 4 0 0 0 1.748 1.748c.485.247 1.002.346 1.564.392C6.29 22 6.954 22 7.758 22h8.483c.805 0 1.47 0 2.01-.044.563-.046 1.08-.145 1.565-.392a4 4 0 0 0 1.748-1.748c.247-.485.346-1.002.392-1.564.044-.541.044-1.206.044-2.01V7.758c0-.805 0-1.47-.044-2.01-.046-.563-.145-1.08-.392-1.565a4 4 0 0 0-1.748-1.748c-.485-.247-1.002-.346-1.564-.392C17.71 2 17.046 2 16.242 2M5.092 4.218c.156-.08.38-.145.819-.18C6.361 4 6.943 4 7.8 4h8.4c.857 0 1.439 0 1.889.038.438.035.663.1.819.18a2 2 0 0 1 .874.874c.08.156.145.38.18.819C20 6.361 20 6.943 20 7.8v8.4c0 .857 0 1.439-.038 1.889-.035.438-.1.663-.18.819a2 2 0 0 1-.874.874c-.156.08-.38.145-.819.18-.45.037-1.032.038-1.889.038H7.8c-.857 0-1.439 0-1.889-.038-.438-.035-.663-.1-.819-.18a2 2 0 0 1-.874-.874c-.08-.156-.145-.38-.18-.819C4 17.639 4 17.057 4 16.2V7.8c0-.857 0-1.439.038-1.889.035-.438.1-.663.18-.819a2 2 0 0 1 .874-.874m7.909 2.032a1 1 0 0 0-2 0v.329A3.212 3.212 0 0 0 11.116 13h1.77a1.211 1.211 0 1 1 0 2.423h-1.918a1.064 1.064 0 0 1-1.064-1.064 1 1 0 1 0-2 0 3.064 3.064 0 0 0 3.064 3.064h.033v.327a1 1 0 1 0 2 0v-.329A3.212 3.212 0 0 0 12.885 11h-1.77a1.211 1.211 0 1 1 0-2.423h1.918c.587 0 1.064.476 1.064 1.064a1 1 0 0 0 2 0 3.064 3.064 0 0 0-3.065-3.064h-.031z'/></svg>"
302
303
  export const stack = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M12 3.118 19.764 7 12 10.882 4.236 7zm-.277-2.033a1.5 1.5 0 0 1 .554 0 1.9 1.9 0 0 1 .528.2l9.642 4.82a1 1 0 0 1 0 1.79l-9.642 4.82-.026.014c-.093.047-.286.146-.502.186a1.5 1.5 0 0 1-.554 0c-.216-.04-.41-.139-.502-.186l-.026-.013-9.642-4.822a1 1 0 0 1 0-1.788l9.642-4.822.026-.013c.093-.047.286-.146.502-.186M1.106 11.553a1 1 0 0 1 1.341-.447L12 15.882l9.553-4.776a1 1 0 1 1 .894 1.788l-9.642 4.821-.026.014c-.093.047-.286.146-.502.186a1.5 1.5 0 0 1-.554 0c-.216-.04-.41-.139-.502-.186l-.026-.014-9.642-4.82a1 1 0 0 1-.447-1.342m0 5a1 1 0 0 1 1.341-.447L12 20.882l9.553-4.776a1 1 0 1 1 .894 1.788l-9.642 4.822-.026.012c-.093.048-.286.147-.502.187a1.5 1.5 0 0 1-.554 0c-.216-.04-.41-.139-.502-.186l-.026-.014-9.642-4.82a1 1 0 0 1-.447-1.342'/></svg>"
303
304
  export const star = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M11.354 1.776a1.5 1.5 0 0 1 1.292 0c.353.168.547.46.645.62a8 8 0 0 1 .323.615l2.14 4.335 4.822.705c.227.033.46.067.65.113.182.044.52.139.789.423a1.5 1.5 0 0 1 .398 1.228c-.051.387-.27.663-.391.805a8 8 0 0 1-.46.472l-3.488 3.397.823 4.799c.04.226.08.458.095.652.014.187.029.538-.158.882a1.5 1.5 0 0 1-1.045.759c-.384.071-.714-.051-.887-.123-.18-.075-.388-.184-.591-.291L12 18.9l-4.31 2.267c-.204.107-.412.216-.592.29-.173.073-.503.195-.887.124a1.5 1.5 0 0 1-1.045-.76c-.187-.343-.172-.694-.158-.881.016-.194.056-.426.095-.652l.822-4.799-3.462-3.372-.025-.025c-.165-.16-.333-.324-.46-.472-.122-.142-.34-.418-.39-.805a1.5 1.5 0 0 1 .397-1.228c.27-.284.607-.38.79-.423.189-.046.422-.08.649-.113l.034-.005 4.788-.7 2.14-4.335.016-.032c.101-.206.205-.417.307-.582.098-.16.292-.453.645-.621M12 4.259 9.993 8.326l-.013.027c-.048.099-.147.303-.303.471a1.5 1.5 0 0 1-.467.34c-.208.096-.433.127-.541.142l-.03.004-4.49.657 3.247 3.163.022.02c.08.077.243.234.355.435a1.5 1.5 0 0 1 .179.55c.028.228-.013.451-.032.56l-.006.029-.766 4.468 4.014-2.111.027-.014c.096-.052.297-.16.522-.204a1.5 1.5 0 0 1 .578 0c.226.044.426.152.522.204l.027.014 4.014 2.11-.767-4.467-.005-.03c-.02-.108-.06-.331-.032-.56.024-.193.084-.38.179-.549.112-.201.276-.358.355-.434q.012-.012.022-.02l3.248-3.164-4.49-.657-.03-.004c-.11-.015-.334-.046-.542-.143a1.5 1.5 0 0 1-.467-.339 2 2 0 0 1-.303-.471l-.013-.027z'/></svg>"
304
305
  export const star03 = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M11.365 1.725a1.5 1.5 0 0 1 1.269 0c.344.16.539.438.64.595a7 7 0 0 1 .323.585l1.444 2.78 3.107-.61c.215-.043.438-.087.625-.106.186-.02.524-.04.864.129a1.5 1.5 0 0 1 .791.992c.09.369-.006.694-.066.87-.06.18-.153.387-.242.587l-1.287 2.893 2.415 2.049c.167.141.34.288.472.423.13.133.358.384.438.756a1.5 1.5 0 0 1-.283 1.237c-.233.3-.546.428-.722.49a7 7 0 0 1-.609.177l-3.064.798-.096 3.165c-.007.219-.014.446-.037.633-.022.185-.078.52-.318.814a1.5 1.5 0 0 1-1.143.55c-.38.005-.676-.16-.834-.258-.161-.099-.343-.235-.518-.367L12 19.01l-2.535 1.898c-.175.132-.357.268-.518.367-.158.098-.454.263-.834.258a1.5 1.5 0 0 1-1.143-.55c-.24-.294-.296-.629-.318-.814a7 7 0 0 1-.037-.633L6.52 16.37l-3.064-.798a7 7 0 0 1-.61-.176c-.174-.063-.488-.192-.721-.491a1.5 1.5 0 0 1-.283-1.237c.08-.371.307-.623.438-.756.132-.135.305-.282.472-.423l.027-.023 2.388-2.026-1.273-2.862-.014-.031a7 7 0 0 1-.242-.586c-.06-.177-.155-.502-.066-.871a1.5 1.5 0 0 1 .791-.992c.34-.17.678-.149.864-.13a7 7 0 0 1 .659.113l3.073.604 1.444-2.78.016-.03c.1-.194.206-.396.308-.555.1-.157.295-.434.64-.595M12 4.17l-1.336 2.57-.019.038c-.068.134-.208.412-.442.612a1.5 1.5 0 0 1-.688.331c-.302.059-.607-.005-.754-.036l-.041-.008-2.843-.559 1.177 2.647q.007.017.018.038c.062.137.192.42.202.728a1.5 1.5 0 0 1-.17.744c-.142.273-.382.472-.498.568l-.032.026-2.209 1.874 2.803.73.04.01c.147.037.45.112.696.296a1.5 1.5 0 0 1 .476.596c.124.282.13.594.133.744v.042l.089 2.895 2.319-1.736.033-.026c.119-.091.366-.28.664-.36.25-.065.513-.065.763 0 .298.08.545.269.664.36l.034.026 2.318 1.736.088-2.895.001-.042c.003-.15.009-.462.133-.743a1.5 1.5 0 0 1 .476-.597c.247-.184.55-.26.695-.295l.04-.01 2.804-.73-2.209-1.875-.032-.026c-.116-.096-.356-.295-.498-.568a1.5 1.5 0 0 1-.17-.744c.01-.308.14-.591.203-.728l.017-.038 1.177-2.647-2.842.559-.041.008c-.147.031-.453.095-.755.036a1.5 1.5 0 0 1-.687-.331c-.235-.2-.375-.478-.443-.612l-.019-.037z'/></svg>"
@@ -327,7 +328,7 @@ export const trash = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000
327
328
  export const trendDown = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M1.293 6.293a1 1 0 0 1 1.414 0l4.869 4.869c.21.21.325.323.414.4l.01.008.01-.009c.09-.076.205-.19.414-.4l2.76-2.76c.179-.178.352-.352.511-.487.175-.148.397-.308.687-.402a2 2 0 0 1 1.236 0c.29.094.512.254.687.402.159.135.332.31.51.488L21 14.586V10a1 1 0 1 1 2 0v7a1 1 0 0 1-1 1h-7a1 1 0 1 1 0-2h4.586l-6.162-6.162a8 8 0 0 0-.414-.4L13 9.43l-.01.009c-.09.076-.205.19-.414.4l-2.76 2.76a9 9 0 0 1-.512.487 2 2 0 0 1-.686.402 2 2 0 0 1-1.236 0 2 2 0 0 1-.686-.402 9 9 0 0 1-.512-.488l-.022-.022-4.87-4.869a1 1 0 0 1 0-1.414'/></svg>"
328
329
  export const trendNone = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M13 12a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2h-5a1 1 0 0 1-1-1M4 12a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1'/></svg>"
329
330
  export const trendUp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M15 8a1 1 0 1 1 0-2h7a1 1 0 0 1 1 1v7a1 1 0 1 1-2 0V9.414l-6.184 6.184a9 9 0 0 1-.511.488 2 2 0 0 1-.687.402 2 2 0 0 1-1.236 0 2 2 0 0 1-.687-.402 9 9 0 0 1-.51-.488l-2.76-2.76a8 8 0 0 0-.415-.4L8 12.43l-.01.009c-.09.076-.205.19-.414.4l-4.869 4.868a1 1 0 0 1-1.414-1.414l4.869-4.869.022-.022a9 9 0 0 1 .512-.488c.174-.148.396-.308.686-.402a2 2 0 0 1 1.236 0c.29.094.512.254.686.402.16.135.333.31.512.488l2.76 2.76c.21.21.325.323.414.4l.01.008.01-.009c.09-.076.205-.19.414-.4L19.586 8z'/></svg>"
330
- export const trophy = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M7.355 1h9.29c.314-.002.7-.003 1.039.12a2 2 0 0 1 1.195 1.196c.08.22.108.458.117.684h1.53c.21 0 .415 0 .59.012.19.013.415.043.65.14a2 2 0 0 1 1.082 1.083c.097.234.127.46.14.65.012.174.012.378.012.589v.664c0 .795 0 1.386-.136 1.897a4 4 0 0 1-2.829 2.829c-.38.102-.805.128-1.324.134A7.01 7.01 0 0 1 13 15.93V17h.444A4.556 4.556 0 0 1 18 21.556c0 .797-.647 1.444-1.445 1.444h-9.11A1.444 1.444 0 0 1 6 21.556 4.556 4.556 0 0 1 10.556 17H11v-1.07a7.01 7.01 0 0 1-5.71-4.932c-.52-.006-.945-.032-1.325-.134a4 4 0 0 1-2.829-2.829C1 7.524 1 6.933 1 6.138v-.664c0-.21 0-.415.012-.59.013-.19.043-.415.14-.65a2 2 0 0 1 1.083-1.082c.234-.097.46-.127.65-.14C3.059 3 3.263 3 3.474 3h1.53c.01-.226.037-.465.117-.684a2 2 0 0 1 1.195-1.195C6.656.997 7.04.998 7.355 1M5 5H3.5a8 8 0 0 0-.492.008v.013A8 8 0 0 0 3 5.5V6c0 .994.009 1.295.068 1.518a2 2 0 0 0 1.414 1.414c.12.032.26.049.518.058zm2-1.556a8 8 0 0 1 .006-.437l.013-.001C7.106 3 7.225 3 7.444 3h9.111a8 8 0 0 1 .439.007v.012a8 8 0 0 1 .006.425V9A5 5 0 0 1 7 9zM19 5v3.99c.258-.009.399-.026.518-.058a2 2 0 0 0 1.414-1.414C20.992 7.295 21 6.994 21 6v-.5c0-.247 0-.382-.007-.48l-.001-.012h-.013A8 8 0 0 0 20.5 5zm-8.444 14c-1.221 0-2.242.856-2.495 2h7.878a2.556 2.556 0 0 0-2.495-2z'/></svg>"
331
+ export const trophy = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M7.355 1h9.29c.314-.002.7-.003 1.039.12a2 2 0 0 1 1.195 1.196c.08.22.108.458.117.684h1.53c.21 0 .415 0 .59.012.19.013.415.043.65.14a2 2 0 0 1 1.082 1.083c.097.234.127.46.14.65.012.174.012.378.012.589v.664c0 .795 0 1.386-.136 1.897a4 4 0 0 1-2.829 2.829c-.38.102-.805.128-1.324.134A7.01 7.01 0 0 1 13 15.93V17h.444A4.556 4.556 0 0 1 18 21.556c0 .797-.647 1.444-1.444 1.444H7.444A1.444 1.444 0 0 1 6 21.556 4.556 4.556 0 0 1 10.556 17H11v-1.07a7.01 7.01 0 0 1-5.71-4.932c-.52-.006-.945-.032-1.325-.134a4 4 0 0 1-2.829-2.829C1 7.524 1 6.933 1 6.138v-.664c0-.21 0-.415.012-.59.013-.19.043-.415.14-.65a2 2 0 0 1 1.083-1.082c.234-.097.46-.127.65-.14C3.059 3 3.263 3 3.474 3h1.53c.01-.226.037-.465.117-.684a2 2 0 0 1 1.195-1.195C6.656.997 7.041.998 7.355 1M5 5H3.5a8 8 0 0 0-.492.008v.013A8 8 0 0 0 3 5.5V6c0 .994.009 1.295.068 1.518a2 2 0 0 0 1.414 1.414c.12.032.26.049.518.058zm2-1.556a8 8 0 0 1 .007-.437l.012-.001C7.106 3 7.225 3 7.444 3h9.112a8 8 0 0 1 .438.007v.012c.006.087.006.206.006.425V9A5 5 0 0 1 7 9zM19 5v3.99c.258-.009.399-.026.518-.058a2 2 0 0 0 1.414-1.414C20.992 7.295 21 6.994 21 6v-.5a8 8 0 0 0-.008-.492h-.013A8 8 0 0 0 20.5 5zm-8.444 14c-1.221 0-2.242.856-2.495 2h7.878a2.556 2.556 0 0 0-2.495-2z'/></svg>"
331
332
  export const trophyFilled = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M7.444 1h-.09c-.313-.001-.698-.003-1.038.12a2 2 0 0 0-1.195 1.196c-.08.22-.108.458-.117.684h-1.53c-.21 0-.415 0-.59.012-.19.013-.415.043-.65.14a2 2 0 0 0-1.082 1.083c-.097.234-.127.46-.14.65C1 5.059 1 5.263 1 5.474v.664c0 .795 0 1.386.136 1.897a4 4 0 0 0 2.829 2.829c.38.102.805.128 1.324.134A7.01 7.01 0 0 0 11 15.93V17h-.444A4.556 4.556 0 0 0 6 21.556C6 22.353 6.647 23 7.444 23h9.112c.797 0 1.444-.647 1.444-1.444A4.556 4.556 0 0 0 13.444 17H13v-1.07a7.01 7.01 0 0 0 5.71-4.932c.52-.006.945-.032 1.325-.134a4 4 0 0 0 2.829-2.829C23 7.524 23 6.933 23 6.138v-.664c0-.21 0-.415-.012-.59a2 2 0 0 0-.14-.65 2 2 0 0 0-1.083-1.082 2 2 0 0 0-.65-.14C20.941 3 20.737 3 20.527 3h-1.53a2.3 2.3 0 0 0-.118-.684 2 2 0 0 0-1.195-1.195C17.344.997 16.96.999 16.645 1h-9.2M5 5.8c0-.28 0-.42-.054-.527a.5.5 0 0 0-.219-.218C4.62 5 4.48 5 4.2 5h-.456c-.265 0-.397 0-.5.051a.5.5 0 0 0-.218.206c-.056.101-.063.229-.076.485-.032.603-.028 1.228.118 1.776a2 2 0 0 0 1.414 1.414c.12.032.26.049.518.058zm14 .003c0-.28 0-.421.055-.528a.5.5 0 0 1 .22-.22c.107-.053.247-.053.528-.052l.448.002c.264.001.395.002.499.053.09.044.167.118.216.205.056.101.063.229.076.484.032.604.032 1.241-.11 1.77a2 2 0 0 1-1.414 1.415c-.12.032-.26.049-.518.058z'/></svg>"
332
333
  export const type = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M6.968 3h10.064c.439 0 .817 0 1.13.021.33.023.66.072.986.207a3 3 0 0 1 1.624 1.624c.135.326.184.656.207.986.021.313.021.691.021 1.13V7a1 1 0 1 1-2 0c0-.48 0-.79-.017-1.026-.015-.228-.042-.315-.06-.357a1 1 0 0 0-.54-.54c-.042-.018-.129-.045-.357-.06A17 17 0 0 0 17 5h-4v14h2a1 1 0 1 1 0 2H9a1 1 0 1 1 0-2h2V5H7c-.48 0-.79 0-1.026.017-.228.015-.315.042-.357.06a1 1 0 0 0-.54.54c-.018.042-.045.129-.06.357C5 6.21 5 6.52 5 7a1 1 0 1 1-2 0v-.032c0-.439 0-.817.021-1.13.023-.33.072-.66.207-.986a3 3 0 0 1 1.624-1.624 3 3 0 0 1 .986-.207C6.15 3 6.529 3 6.968 3'/></svg>"
333
334
  export const underline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M7.759 2h8.482c.805 0 1.47 0 2.01.044.563.046 1.08.145 1.565.392a4 4 0 0 1 1.748 1.748c.247.485.346 1.002.392 1.564C22 6.29 22 6.954 22 7.758v8.483c0 .805 0 1.47-.044 2.01-.046.563-.145 1.08-.392 1.565a4 4 0 0 1-1.748 1.748c-.485.247-1.002.346-1.564.392-.541.044-1.206.044-2.01.044H7.758c-.805 0-1.47 0-2.01-.044-.563-.046-1.08-.145-1.565-.392a4 4 0 0 1-1.748-1.748c-.247-.485-.346-1.002-.392-1.564C2 17.71 2 17.046 2 16.242V7.758c0-.805 0-1.47.044-2.01.046-.563.145-1.08.392-1.565a4 4 0 0 1 1.748-1.748c.485-.247 1.002-.346 1.564-.392C6.29 2 6.954 2 7.758 2M5.91 4.038c-.438.035-.663.1-.819.18a2 2 0 0 0-.874.874c-.08.156-.145.38-.18.819C4 6.361 4 6.943 4 7.8v8.4c0 .857 0 1.439.038 1.889.035.438.1.663.18.819a2 2 0 0 0 .874.874c.156.08.38.145.819.18C6.361 20 6.943 20 7.8 20h8.4c.857 0 1.439 0 1.889-.038.438-.035.663-.1.819-.18a2 2 0 0 0 .874-.874c.08-.156.145-.38.18-.819.037-.45.038-1.032.038-1.889V7.8c0-.857 0-1.439-.038-1.889-.035-.438-.1-.663-.18-.819a2 2 0 0 0-.874-.874c-.156-.08-.38-.145-.819-.18C17.639 4 17.057 4 16.2 4H7.8c-.857 0-1.439 0-1.889.038M8.5 6a1 1 0 0 1 1 1v3.5a2.5 2.5 0 0 0 5 0V7a1 1 0 1 1 2 0v3.5a4.5 4.5 0 1 1-9 0V7a1 1 0 0 1 1-1M7 17a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1'/></svg>"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pine-ds/icons/icons",
3
- "version": "8.16.0",
3
+ "version": "8.18.0",
4
4
  "module": "index.mjs",
5
5
  "main": "index.js",
6
6
  "typings": "index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pine-ds/icons",
3
- "version": "8.17.0",
3
+ "version": "8.18.1",
4
4
  "license": "MIT",
5
5
  "description": "Pine Icon Library",
6
6
  "author": " Kajabi Design System Services",