@pine-ds/icons 8.12.0 → 8.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/pds-icon.js +1 -1
- package/components/pds-icon.js.map +1 -1
- package/dist/cheatsheet.html +14 -4
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/pds-icon.cjs.entry.js +1 -1
- package/dist/cjs/{utils-92d94933.js → utils-ad651990.js} +2 -2
- package/dist/cjs/{utils-92d94933.js.map → utils-ad651990.js.map} +1 -1
- package/dist/collection/components/pds-icon/assetPath.js +1 -1
- package/dist/collection/components/pds-icon/assetPath.js.map +1 -1
- package/dist/collection/components/pds-icon/svg/file-search.svg +1 -0
- package/dist/collection/components/pds-icon/svg/logo-snapchat.svg +1 -0
- package/dist/collection/components/pds-icon/svg/trend-down.svg +1 -0
- package/dist/collection/components/pds-icon/svg/trend-none.svg +1 -0
- package/dist/collection/components/pds-icon/svg/trend-up.svg +1 -0
- package/dist/docs.json +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/pds-icon.entry.js +1 -1
- package/dist/esm/{utils-812c5f6b.js → utils-a600f0ec.js} +2 -2
- package/dist/esm/{utils-812c5f6b.js.map → utils-a600f0ec.js.map} +1 -1
- package/dist/pds-icons/index.esm.js +1 -1
- package/dist/pds-icons/{p-aee47eab.entry.js → p-1a3cdcc3.entry.js} +2 -2
- package/dist/pds-icons/p-5baaa291.js +2 -0
- package/dist/pds-icons/p-5baaa291.js.map +1 -0
- package/dist/pds-icons/pds-icons.esm.js +1 -1
- package/dist/pds-icons/svg/file-search.svg +1 -0
- package/dist/pds-icons/svg/logo-snapchat.svg +1 -0
- package/dist/pds-icons/svg/trend-down.svg +1 -0
- package/dist/pds-icons/svg/trend-none.svg +1 -0
- package/dist/pds-icons/svg/trend-up.svg +1 -0
- package/dist/pds-icons.json +55 -1
- package/dist/pds-icons.symbols.svg +6 -1
- package/dist/svg/file-search.svg +1 -0
- package/dist/svg/logo-snapchat.svg +1 -0
- package/dist/svg/trend-down.svg +1 -0
- package/dist/svg/trend-none.svg +1 -0
- package/dist/svg/trend-up.svg +1 -0
- package/icons/index.d.ts +6 -1
- package/icons/index.js +6 -1
- package/icons/index.mjs +6 -1
- package/icons/package.json +1 -1
- package/package.json +1 -1
- package/dist/pds-icons/p-21d81506.js +0 -2
- package/dist/pds-icons/p-21d81506.js.map +0 -1
- /package/dist/pds-icons/{p-aee47eab.entry.js.map → p-1a3cdcc3.entry.js.map} +0 -0
package/components/pds-icon.js
CHANGED
|
@@ -22,7 +22,7 @@ const getAssetPath = (path) => {
|
|
|
22
22
|
if (assetBasePath.startsWith('https://cdn.jsdelivr.net/npm/') && !missingAssetPathWarning) {
|
|
23
23
|
missingAssetPathWarning = true;
|
|
24
24
|
console.warn(`
|
|
25
|
-
Fetching Pine
|
|
25
|
+
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
|
|
26
26
|
`);
|
|
27
27
|
}
|
|
28
28
|
let assetPath = path;
|
|
@@ -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,CA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D,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 asssets from jsDelivr CDN.\\n\\n It's recommended that you bundle Pine Assets with your application and setting the path accordingly.\\n\\nFor more information you read the documentation: \\nhttps://pine-design-system.netlify.app/?path=/docs/resources-assets--docs\n `)\n }\n\n let assetPath = path;\n\n if ( path.startsWith ('./') ) {\n assetPath = path.substring(2);\n }\n\n if ( !assetBasePath.endsWith('/') ) {\n assetPath = '/' + assetPath;\n }\n\n return assetBasePath + assetPath;\n}\n\n\nexport {};\n","import { getAssetPath } from './assetPath';\n\nimport { PdsIcon } from './pds-icon';\n\nlet CACHED_MAP: Map<string, string>;\n\nexport const addIcons = (icons: { [name: string]: string; }) => {\n const map = getIconMap();\n Object.keys(icons).forEach(name => map.set(name, icons[name]));\n}\n\nexport const getIconMap = (): Map<string, string> => {\n if (typeof window === 'undefined') {\n return new Map();\n } else {\n if (!CACHED_MAP) {\n const win = window as any; // eslint-disable-line @typescript-eslint/no-explicit-any\n win.PdsIcons = win.PdsIcons || {};\n CACHED_MAP = win.PdsIcons.map = win.PdsIcons.map || new Map();\n }\n\n return CACHED_MAP;\n }\n}\n\nexport const getName = (\n iconName: string | undefined,\n icon: string | undefined\n ) => {\n\n if(!iconName && icon && !isSrc(icon)) {\n iconName = icon;\n }\n\n if (isStr(iconName)) {\n iconName = toLower(iconName);\n }\n\n if (!isStr(iconName) || iconName.trim() === '') {\n return null;\n }\n\n const invalidChars = iconName.replace(/[a-z]|-|\\d/gi,'');\n if (invalidChars != '') { return null; }\n\n return iconName;\n}\n\nconst getNamedUrl = (iconName: string) => {\n const url = getIconMap().get(iconName);\n if (url) {\n return url;\n }\n\n return getAssetPath(`svg/${iconName}.svg`);\n};\n\nexport const getSrc = (src: string | undefined) => {\n if (isStr(src)) {\n src = src.trim();\n\n if (isSrc(src)) {\n return src;\n }\n }\n\n return null;\n}\n\nexport const getUrl = (pdsIcon: PdsIcon) => {\n let url = getSrc(pdsIcon.src);\n if (url) {\n return url;\n }\n\n url = getName(pdsIcon.name, pdsIcon.icon);\n if (url) {\n return getNamedUrl(url);\n }\n\n if (pdsIcon.icon) {\n url = getSrc(pdsIcon.icon);\n\n if(url) {\n return url;\n }\n }\n\n return null;\n};\n\n\nexport const isSrc = (str: string) => str.length > 0 && /(\\/|\\.)/.test(str);\nexport const isStr = (val: any): val is string => typeof val === 'string'; // eslint-disable-line @typescript-eslint/no-explicit-any\nexport const toLower = (val: string) => val.toLowerCase();\n\n/**\n * Elements inside of web components sometimes need to inherit global attributes\n * set on the host. For example, the inner input in `ion-input` should inherit\n * the `title` attribute that developers set directly on `ion-input`. This\n * helper function should be called in componentWillLoad and assigned to a variable\n * that is later used in the render function.\n *\n * This does not need to be reactive as changing attributes on the host element\n * does not trigger a re-render.\n */\n export const inheritAttributes = (el: HTMLElement, attributes: string[] = []) => {\n const attributeObject: { [k: string]: any } = {}; // eslint-disable-line @typescript-eslint/no-explicit-any\n\n attributes.forEach(attr => {\n if (el.hasAttribute(attr)) {\n const value = el.getAttribute(attr);\n if (value !== null) {\n attributeObject[attr] = el.getAttribute(attr);\n }\n el.removeAttribute(attr);\n }\n });\n\n return attributeObject;\n}\n","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,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,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,UA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;;;;;;;;;;;;;;;;;;;;","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}
|
package/dist/cheatsheet.html
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<html>
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
|
-
<title>Pine icons 8.
|
|
5
|
+
<title>Pine icons 8.13.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.
|
|
37
|
-
<h3>
|
|
36
|
+
<h1>Pine Icons 8.13.0 Cheatsheet</h1>
|
|
37
|
+
<h3>336 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>
|
|
@@ -169,6 +169,7 @@
|
|
|
169
169
|
<a href="./svg/file-download.svg"><svg><use href="#file-download" xlink:href="#file-download"/></svg></a>
|
|
170
170
|
<a href="./svg/file-lock.svg"><svg><use href="#file-lock" xlink:href="#file-lock"/></svg></a>
|
|
171
171
|
<a href="./svg/file-money.svg"><svg><use href="#file-money" xlink:href="#file-money"/></svg></a>
|
|
172
|
+
<a href="./svg/file-search.svg"><svg><use href="#file-search" xlink:href="#file-search"/></svg></a>
|
|
172
173
|
<a href="./svg/filter.svg"><svg><use href="#filter" xlink:href="#filter"/></svg></a>
|
|
173
174
|
<a href="./svg/flag.svg"><svg><use href="#flag" xlink:href="#flag"/></svg></a>
|
|
174
175
|
<a href="./svg/flash.svg"><svg><use href="#flash" xlink:href="#flash"/></svg></a>
|
|
@@ -234,6 +235,7 @@
|
|
|
234
235
|
<a href="./svg/logo-facebook-round.svg"><svg><use href="#logo-facebook-round" xlink:href="#logo-facebook-round"/></svg></a>
|
|
235
236
|
<a href="./svg/logo-instagram.svg"><svg><use href="#logo-instagram" xlink:href="#logo-instagram"/></svg></a>
|
|
236
237
|
<a href="./svg/logo-linkedin.svg"><svg><use href="#logo-linkedin" xlink:href="#logo-linkedin"/></svg></a>
|
|
238
|
+
<a href="./svg/logo-snapchat.svg"><svg><use href="#logo-snapchat" xlink:href="#logo-snapchat"/></svg></a>
|
|
237
239
|
<a href="./svg/logo-tiktok.svg"><svg><use href="#logo-tiktok" xlink:href="#logo-tiktok"/></svg></a>
|
|
238
240
|
<a href="./svg/logo-twitter.svg"><svg><use href="#logo-twitter" xlink:href="#logo-twitter"/></svg></a>
|
|
239
241
|
<a href="./svg/logo-twitter-x.svg"><svg><use href="#logo-twitter-x" xlink:href="#logo-twitter-x"/></svg></a>
|
|
@@ -341,6 +343,9 @@
|
|
|
341
343
|
<a href="./svg/thumb-up.svg"><svg><use href="#thumb-up" xlink:href="#thumb-up"/></svg></a>
|
|
342
344
|
<a href="./svg/thumb-up-filled.svg"><svg><use href="#thumb-up-filled" xlink:href="#thumb-up-filled"/></svg></a>
|
|
343
345
|
<a href="./svg/trash.svg"><svg><use href="#trash" xlink:href="#trash"/></svg></a>
|
|
346
|
+
<a href="./svg/trend-down.svg"><svg><use href="#trend-down" xlink:href="#trend-down"/></svg></a>
|
|
347
|
+
<a href="./svg/trend-none.svg"><svg><use href="#trend-none" xlink:href="#trend-none"/></svg></a>
|
|
348
|
+
<a href="./svg/trend-up.svg"><svg><use href="#trend-up" xlink:href="#trend-up"/></svg></a>
|
|
344
349
|
<a href="./svg/trophy.svg"><svg><use href="#trophy" xlink:href="#trophy"/></svg></a>
|
|
345
350
|
<a href="./svg/trophy-filled.svg"><svg><use href="#trophy-filled" xlink:href="#trophy-filled"/></svg></a>
|
|
346
351
|
<a href="./svg/underline.svg"><svg><use href="#underline" xlink:href="#underline"/></svg></a>
|
|
@@ -367,7 +372,7 @@
|
|
|
367
372
|
<a href="./svg/window-paragraph.svg"><svg><use href="#window-paragraph" xlink:href="#window-paragraph"/></svg></a>
|
|
368
373
|
<a href="./svg/world.svg"><svg><use href="#world" xlink:href="#world"/></svg></a>
|
|
369
374
|
<a href="./svg/wrench.svg"><svg><use href="#wrench" xlink:href="#wrench"/></svg></a>
|
|
370
|
-
<svg data-pdsicons="8.
|
|
375
|
+
<svg data-pdsicons="8.13.0" style="display:none">
|
|
371
376
|
<style>
|
|
372
377
|
.pdsicon {
|
|
373
378
|
fill: currentColor;
|
|
@@ -512,6 +517,7 @@
|
|
|
512
517
|
<symbol id="file-download" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M8.759 1H14a1 1 0 0 1 .707.293l6 6A1 1 0 0 1 21 8v9.241c0 .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.044H8.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.564C3 18.71 3 18.046 3 17.242V6.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-.392C7.29 1 7.954 1 8.758 1M6.91 3.038c-.438.035-.663.1-.819.18a2 2 0 0 0-.874.874c-.08.156-.145.38-.18.819C5 5.361 5 5.943 5 6.8v10.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.18C7.361 21 7.943 21 8.8 21h6.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.889V9h-3.432c-.252 0-.498 0-.706-.017a2 2 0 0 1-.77-.2 2 2 0 0 1-.874-.875 2 2 0 0 1-.201-.77C13 6.93 13 6.684 13 6.432V3H8.8c-.857 0-1.439 0-1.889.038M15 4.414 17.586 7H15.6a8 8 0 0 1-.589-.011v-.014A8 8 0 0 1 15 6.4zM12 11a1 1 0 0 1 1 1v3.586l1.293-1.293a1 1 0 0 1 1.414 1.414l-3 3a1 1 0 0 1-1.414 0l-3-3a1 1 0 1 1 1.414-1.414L11 15.586V12a1 1 0 0 1 1-1"/></symbol>
|
|
513
518
|
<symbol id="file-lock" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M8.759 1H14a1 1 0 0 1 .707.293l6 6A1 1 0 0 1 21 8v9.241c0 .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.044H8.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.564C3 18.71 3 18.046 3 17.242V6.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-.392C7.29 1 7.954 1 8.758 1M6.91 3.038c-.438.035-.663.1-.819.18a2 2 0 0 0-.874.874c-.08.156-.145.38-.18.819C5 5.361 5 5.943 5 6.8v10.4c0 .857 0 1.439.038 1.889.035.438.1.663.18.819a2 2 0 0 0 .874.874c.156.08.38.145.82.18C7.361 21 7.942 21 8.8 21h6.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.889V9h-5a1 1 0 0 1-1-1V3H8.8c-.857 0-1.439 0-1.889.038m8.09 1.376L17.585 7H15zM9.25 12.25a2.75 2.75 0 0 1 5.5 0v.778c.202.024.429.074.657.19a2 2 0 0 1 .874.874c.138.271.182.541.201.77.017.208.017.454.017.706v.864c0 .252 0 .498-.017.706a2 2 0 0 1-.2.77 2 2 0 0 1-.875.874 2 2 0 0 1-.77.201c-.208.017-.454.017-.706.017h-3.864c-.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-.77c-.017-.208-.017-.454-.017-.706v-.864c0-.252 0-.498.017-.706.019-.229.063-.499.201-.77a2 2 0 0 1 .874-.874c.228-.116.456-.166.658-.19zM10.1 15a8 8 0 0 0-.59.011v.014c-.01.116-.01.278-.01.575v.8a8 8 0 0 0 .01.589h.014c.116.01.279.011.575.011h3.8c.297 0 .459 0 .575-.01l.014-.001v-.014c.01-.116.011-.279.011-.575v-.8a8 8 0 0 0-.011-.588l-.014-.002A8 8 0 0 0 13.9 15zm2.65-2h-1.5v-.75a.75.75 0 1 1 1.5 0z"/></symbol>
|
|
514
519
|
<symbol id="file-money" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12m11-7.5a1 1 0 0 1 1 1V6h.167A3.333 3.333 0 0 1 16.5 9.333a1 1 0 1 1-2 0C14.5 8.597 13.903 8 13.167 8H11a1.5 1.5 0 0 0 0 3h2a3.5 3.5 0 1 1 0 7v.5a1 1 0 1 1-2 0V18h-.167A3.333 3.333 0 0 1 7.5 14.667a1 1 0 1 1 2 0c0 .736.597 1.333 1.333 1.333H13a1.5 1.5 0 0 0 0-3h-2a3.5 3.5 0 1 1 0-7v-.5a1 1 0 0 1 1-1"/></symbol>
|
|
520
|
+
<symbol id="file-search" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M8.759 1h6.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.564C21 5.29 21 5.954 21 6.758V10.5a1 1 0 1 1-2 0V6.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-.18C16.639 3 16.057 3 15.2 3H8.8c-.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.819C5 5.361 5 5.943 5 6.8v10.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.18C7.361 21 7.943 21 8.8 21h2.7a1 1 0 1 1 0 2H8.759c-.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.564C3 18.71 3 18.046 3 17.242V6.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-.392C7.29 1 7.954 1 8.758 1M7 7a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1m0 4a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1m11 4.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M13.5 18a4.5 4.5 0 1 1 8.31 2.396l.897.897a1 1 0 0 1-1.414 1.414l-.897-.897A4.5 4.5 0 0 1 13.5 18M7 15a1 1 0 0 1 1-1h2a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1"/></symbol>
|
|
515
521
|
<symbol id="filter" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M18 6a2 2 0 1 0 0 4 2 2 0 0 0 0-4m-3.874 1A4.002 4.002 0 0 1 22 8a4 4 0 0 1-7.874 1H3a1 1 0 0 1 0-2zM6 14a2 2 0 1 0 0 4 2 2 0 0 0 0-4m-4 2a4 4 0 0 1 7.874-1H21a1 1 0 1 1 0 2H9.874A4.002 4.002 0 0 1 2 16"/></symbol>
|
|
516
522
|
<symbol id="flag" viewBox="0 0 24 24" class="pdsicon"><path d="M2.988 22.012a1 1 0 0 1-1-1v-17.5a2 2 0 0 1 0-.23 2 2 0 0 1 .19-.68 2 2 0 0 1 .9-.84 3.1 3.1 0 0 1 1.51-.22h7.26a3.1 3.1 0 0 1 1.5.22 2 2 0 0 1 .88.87c.197.477.273.996.22 1.51v1.4h5.2a2.17 2.17 0 0 1 1.39.22 1.5 1.5 0 0 1 .62 1 2.1 2.1 0 0 1-.36 1.32l-1.21 2.43 1.31 2.94c.235.39.337.847.29 1.3a1.52 1.52 0 0 1-.63 1 2.1 2.1 0 0 1-1.3.26h-7.67a3.1 3.1 0 0 1-1.51-.25 2 2 0 0 1-.88-.87 3.3 3.3 0 0 1-.21-1.51v-1.4h-5.5v9a1 1 0 0 1-1 1.03m8.5-10v1.4a5 5 0 0 0 0 .65c0-.05.3-.05.58-.05h7.38l-1.22-2.75a1.7 1.7 0 0 1-.17-.5 1.5 1.5 0 0 1 0-.52q.067-.261.19-.5l1.12-2.23h-4.88v1.9a3.1 3.1 0 0 1-.22 1.51 2 2 0 0 1-.88.87c-.473.197-.99.273-1.5.22zm-7.5-2h7.86q.32.02.64 0a1.7 1.7 0 0 1 0-.58v-5.32a5 5 0 0 0 0-.65h-8.5z"/></symbol>
|
|
517
523
|
<symbol id="flash" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M13.398 1.083a1 1 0 0 1 .594 1.041L13.132 9h6.196c.24 0 .485 0 .684.018.189.017.55.062.863.315a1.5 1.5 0 0 1 .557 1.19c-.006.402-.202.709-.31.864-.114.165-.27.353-.424.538l-8.93 10.715a1 1 0 0 1-1.76-.764l.86-6.876H4.671c-.24 0-.485 0-.684-.018-.189-.017-.55-.062-.863-.315a1.5 1.5 0 0 1-.557-1.19c.006-.402.202-.709.31-.864.114-.165.27-.353.424-.538l.023-.027L12.232 1.36a1 1 0 0 1 1.166-.277M5.135 13H12a1 1 0 0 1 .992 1.124l-.577 4.615L18.865 11H12a1 1 0 0 1-.992-1.124l.577-4.616z"/></symbol>
|
|
@@ -577,6 +583,7 @@
|
|
|
577
583
|
<symbol id="logo-facebook-round" viewBox="0 0 24 24" class="pdsicon"><path d="M23 12.066a11 11 0 1 0-12.719 10.867v-7.687H7.488v-3.18h2.793V9.643c0-2.757 1.643-4.28 4.155-4.28a17 17 0 0 1 2.463.214v2.708H15.51a1.59 1.59 0 0 0-1.792 1.719v2.062h3.048l-.488 3.18h-2.567v7.687A11 11 0 0 0 23 12.066"/></symbol>
|
|
578
584
|
<symbol id="logo-instagram" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M12 2.982c2.937 0 3.285.011 4.445.064a6.1 6.1 0 0 1 2.042.379 3.4 3.4 0 0 1 1.265.823 3.4 3.4 0 0 1 .823 1.265 6.1 6.1 0 0 1 .379 2.042c.053 1.16.064 1.508.064 4.445s-.011 3.285-.064 4.445a6.1 6.1 0 0 1-.379 2.042 3.64 3.64 0 0 1-2.088 2.088 6.1 6.1 0 0 1-2.042.379c-1.16.053-1.508.064-4.445.064s-3.285-.011-4.445-.064a6.1 6.1 0 0 1-2.042-.379 3.4 3.4 0 0 1-1.265-.823 3.4 3.4 0 0 1-.823-1.265 6.1 6.1 0 0 1-.379-2.042c-.053-1.16-.064-1.508-.064-4.445s.011-3.285.064-4.445a6.1 6.1 0 0 1 .379-2.042 3.4 3.4 0 0 1 .823-1.265 3.4 3.4 0 0 1 1.265-.823 6.1 6.1 0 0 1 2.042-.379c1.16-.053 1.508-.064 4.445-.064M12 1c-2.987 0-3.362.013-4.535.066a8.1 8.1 0 0 0-2.67.511A5.63 5.63 0 0 0 1.577 4.8a8.1 8.1 0 0 0-.511 2.67C1.013 8.638 1 9.013 1 12s.013 3.362.066 4.535c.019.912.192 1.815.511 2.67A5.63 5.63 0 0 0 4.8 22.423c.855.32 1.758.492 2.67.511C8.638 22.987 9.013 23 12 23s3.362-.013 4.535-.066a8.1 8.1 0 0 0 2.67-.511 5.63 5.63 0 0 0 3.218-3.223c.32-.855.492-1.758.511-2.67.053-1.168.066-1.543.066-4.53s-.013-3.362-.066-4.535a8.1 8.1 0 0 0-.511-2.67A5.63 5.63 0 0 0 19.2 1.577a8.1 8.1 0 0 0-2.67-.511C15.362 1.013 14.987 1 12 1m0 5.351a5.65 5.65 0 1 0 0 11.298 5.65 5.65 0 0 0 0-11.298m0 9.316a3.667 3.667 0 1 1 0-7.335 3.667 3.667 0 0 1 0 7.335m7.192-9.539a1.32 1.32 0 1 1-2.64 0 1.32 1.32 0 0 1 2.64 0"/></symbol>
|
|
579
585
|
<symbol id="logo-linkedin" viewBox="0 0 24 24" class="pdsicon"><path d="M22.083 1H1.917C1.367 1 1 1.367 1 1.917v20.166c0 .55.367.917.917.917h20.166c.55 0 .917-.367.917-.917V1.917c0-.55-.367-.917-.917-.917M4.3 19.792V9.25h3.3v10.542zM5.858 7.783c-1.008 0-1.925-.825-1.925-1.925 0-1.008.825-1.925 1.925-1.925 1.009 0 1.925.825 1.925 1.925s-.825 1.925-1.925 1.925m13.934 12.009h-3.3v-5.134c0-1.191 0-2.75-1.65-2.75-1.742 0-1.925 1.284-1.925 2.659v5.225h-3.3V9.25h3.116v1.467c.459-.825 1.467-1.65 3.117-1.65 3.3 0 3.942 2.2 3.942 5.041z"/></symbol>
|
|
586
|
+
<symbol id="logo-snapchat" viewBox="0 0 24 24" class="pdsicon"><path d="M22.594 18.442c.718-.36.307-.564.102-.718-3.847-1.847-4.463-4.72-4.514-4.925-.052-.256-.052-.462.205-.77.308-.256 1.488-.974 1.847-1.23.564-.411.82-.77.615-1.283-.102-.308-.41-.41-.77-.41h-.307c-.616.153-1.18.461-1.539.512-.051.052-.103.052-.154.052-.154 0-.205-.103-.205-.308.051-.667.103-2 0-3.232-.103-1.693-.667-2.514-1.334-3.232C16.232 2.54 14.796 1 11.974 1 9.204 1 7.768 2.539 7.46 2.898c-.667.718-1.231 1.54-1.334 3.232-.154 1.231-.051 2.565 0 3.232 0 .205-.051.308-.256.308h-.103c-.36-.103-.923-.41-1.539-.565H3.92c-.359 0-.667.103-.77.462-.204.462.052.872.616 1.231.36.257 1.54 1.026 1.847 1.283.257.256.257.462.205.718-.051.205-.667 3.078-4.514 4.925-.205.154-.616.359.103.718 1.026.616 1.744.564 2.308.872.462.308.205.975.513 1.231.41.257 1.642-.051 3.232.462 1.334.462 2.155 1.693 4.566 1.693 2.36 0 3.18-1.231 4.514-1.693 1.59-.513 2.822-.205 3.232-.462.308-.256.051-.923.513-1.18.564-.359 1.282-.307 2.308-.923"/></symbol>
|
|
580
587
|
<symbol id="logo-tiktok" viewBox="0 0 24 24" class="pdsicon"><path d="M10.341 9.192v3.779a3.29 3.29 0 0 0-4.125 3.047 2.972 2.972 0 0 0 3.178 3.155 2.962 2.962 0 0 0 3.178-3.198V1h3.738c.635 3.955 2.613 4.873 5.261 5.297v3.79a11.27 11.27 0 0 1-5.156-1.742v7.487c0 3.391-2.008 7.168-6.991 7.168a7.026 7.026 0 0 1-6.993-7.204 6.89 6.89 0 0 1 7.91-6.604"/></symbol>
|
|
581
588
|
<symbol id="logo-twitter" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="m15.945 23-5.55-7.91L3.449 23H.51l8.583-9.769L.509 1h7.546l5.23 7.455L19.84 1h2.939l-8.184 9.317L23.49 23zm3.273-2.23h-1.979L4.718 3.23h1.979l5.015 7.023.867 1.219z"/></symbol>
|
|
582
589
|
<symbol id="logo-twitter-x" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="m15.945 23-5.55-7.91L3.448 23H.51l8.582-9.769L.51 1h7.546l5.23 7.455L19.84 1h2.939l-8.184 9.317L23.49 23zm3.273-2.23h-1.979L4.718 3.23h1.978l5.015 7.023.868 1.219z"/></symbol>
|
|
@@ -684,6 +691,9 @@
|
|
|
684
691
|
<symbol id="thumb-up" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M9.87 2.082A1.82 1.82 0 0 1 11.533 1 3.466 3.466 0 0 1 15 4.466V8h3.503a4 4 0 0 1 3.954 4.608l-1.077 7A4 4 0 0 1 17.426 23H4a3 3 0 0 1-3-3v-7a3 3 0 0 1 3-3h2.35zM8 21h9.426a2 2 0 0 0 1.977-1.696l1.077-7A2 2 0 0 0 18.503 10H15a2 2 0 0 1-2-2V4.466c0-.771-.596-1.404-1.352-1.462l-3.47 7.808a2 2 0 0 1-.178.319zm-2-9v9H4a1 1 0 0 1-1-1v-7a1 1 0 0 1 1-1z"/></symbol>
|
|
685
692
|
<symbol id="thumb-up-filled" viewBox="0 0 24 24" class="pdsicon"><path d="M11.534 1c-.72 0-1.372.424-1.665 1.082L6.51 9.644a7 7 0 0 1-.16.344l-.003.006H6.34a7 7 0 0 1-.38.006h-.799c-.527 0-.981 0-1.356.03-.395.033-.789.104-1.167.297a3 3 0 0 0-1.311 1.311c-.193.378-.264.772-.296 1.167C1 13.18 1 13.635 1 14.161v4.678c0 .527 0 .982.03 1.356.033.395.104.789.297 1.167a3 3 0 0 0 1.311 1.311c.378.193.772.264 1.167.296.375.031.83.031 1.356.031A.84.84 0 0 0 6 22.161V14a1 1 0 1 1 2 0v7.4c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C8.76 23 9.04 23 9.6 23h6.32c.698 0 1.278 0 1.756-.036.498-.038.958-.12 1.401-.32a4 4 0 0 0 1.7-1.458c.265-.408.416-.85.529-1.337.108-.466.197-1.04.303-1.73l.535-3.481c.141-.915.257-1.665.297-2.278.043-.631.015-1.22-.2-1.785a4 4 0 0 0-1.76-2.052c-.526-.299-1.105-.416-1.735-.47C18.135 8 17.376 8 16.45 8h-.85c-.296 0-.459 0-.575-.01l-.014-.001v-.014A8 8 0 0 1 15 7.4V4.466A3.466 3.466 0 0 0 11.534 1"/></symbol>
|
|
686
693
|
<symbol id="trash" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M11.162 1h1.676c.528 0 .982 0 1.357.03.395.033.789.104 1.167.297a3 3 0 0 1 1.311 1.311c.193.378.264.772.296 1.167.028.336.03.736.031 1.195h4a1 1 0 1 1 0 2h-1v10.241c0 .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.044H9.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.564C4 18.71 4 18.046 4 17.242V7H3a1 1 0 1 1 0-2h4c0-.459.003-.86.03-1.195.033-.395.104-.789.297-1.167a3 3 0 0 1 1.311-1.311c.378-.193.772-.264 1.167-.296C10.18 1 10.635 1 11.162 1M6 7v10.2c0 .857 0 1.439.038 1.889.035.438.1.663.18.819a2 2 0 0 0 .874.874c.156.08.38.145.819.18C8.361 21 8.943 21 9.8 21h4.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.889V7zm9-2H9c0-.465.004-.783.024-1.032.022-.272.06-.373.085-.422a1 1 0 0 1 .437-.437c.05-.025.15-.063.422-.085C10.25 3 10.623 3 11.2 3h1.6c.577 0 .949 0 1.232.024.272.022.373.06.422.085a1 1 0 0 1 .437.437c.025.05.063.15.085.422.02.249.023.567.024 1.032m-5 5.5a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0v-5a1 1 0 0 1 1-1m4 0a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0v-5a1 1 0 0 1 1-1"/></symbol>
|
|
694
|
+
<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>
|
|
695
|
+
<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>
|
|
696
|
+
<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>
|
|
687
697
|
<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>
|
|
688
698
|
<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>
|
|
689
699
|
<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>
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -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-
|
|
6
|
+
const utils = require('./utils-ad651990.js');
|
|
7
7
|
|
|
8
8
|
const validateContent = (svgContent) => {
|
|
9
9
|
const div = document.createElement('div');
|
|
@@ -24,7 +24,7 @@ const getAssetPath = (path) => {
|
|
|
24
24
|
if (assetBasePath.startsWith('https://cdn.jsdelivr.net/npm/') && !missingAssetPathWarning) {
|
|
25
25
|
missingAssetPathWarning = true;
|
|
26
26
|
console.warn(`
|
|
27
|
-
Fetching Pine
|
|
27
|
+
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
|
|
28
28
|
`);
|
|
29
29
|
}
|
|
30
30
|
let assetPath = path;
|
|
@@ -137,4 +137,4 @@ exports.getUrl = getUrl;
|
|
|
137
137
|
exports.inheritAttributes = inheritAttributes;
|
|
138
138
|
exports.isStr = isStr;
|
|
139
139
|
|
|
140
|
-
//# sourceMappingURL=utils-
|
|
140
|
+
//# sourceMappingURL=utils-ad651990.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"utils-
|
|
1
|
+
{"file":"utils-ad651990.js","mappings":";;;;AAEA,IAAI,uBAAuB,GAAG,KAAK,CAAC;AAQpC;;;;;;;;;AASO,MAAM,YAAY,GAAG,CAAC,IAAY;;IACvC,MAAM,iBAAiB,GAAG,MAA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Ae,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}
|
|
@@ -21,7 +21,7 @@ export const getAssetPath = (path) => {
|
|
|
21
21
|
if (assetBasePath.startsWith('https://cdn.jsdelivr.net/npm/') && !missingAssetPathWarning) {
|
|
22
22
|
missingAssetPathWarning = true;
|
|
23
23
|
console.warn(`
|
|
24
|
-
Fetching Pine
|
|
24
|
+
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
|
|
25
25
|
`);
|
|
26
26
|
}
|
|
27
27
|
let assetPath = path;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assetPath.js","sourceRoot":"","sources":["../../../src/components/pds-icon/assetPath.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,IAAI,uBAAuB,GAAG,KAAK,CAAC;AAQpC;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,IAAY,EAAE,EAAE;;IAC3C,MAAM,iBAAiB,GAAG,MAAA,QAAQ,CAAC,IAAI,CAAC,aAAa,CAAkB,4BAA4B,CAAC,0CAAE,OAAO,CAAC,aAAa,CAAC;IAE5H,yDAAyD;IACzD,MAAM,eAAe,GAAG,MAAM,CAAC,mBAAmB,CAAC;IAEnD,kDAAkD;IAClD,MAAM,YAAY,GAAG,6DAA6D,CAAC;IAEnF,MAAM,aAAa,GAAI,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,iBAAiB,IAAI,eAAe,IAAI,YAAY,IAAI,GAAG,CAAA;IAExH,4DAA4D;IAC5D,IAAK,aAAa,CAAC,UAAU,CAAC,+BAA+B,CAAC,IAAI,CAAC,uBAAuB,EAAG,CAAC;QAC5F,uBAAuB,GAAG,IAAI,CAAC;QAC/B,OAAO,CAAC,IAAI,CAAC;;KAEZ,CAAC,CAAA;IACJ,CAAC;IAED,IAAI,SAAS,GAAG,IAAI,CAAC;IAErB,IAAK,IAAI,CAAC,UAAU,CAAE,IAAI,CAAC,EAAG,CAAC;QAC7B,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;IAChC,CAAC;IAED,IAAK,CAAC,aAAa,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAG,CAAC;QACnC,SAAS,GAAG,GAAG,GAAG,SAAS,CAAC;IAC9B,CAAC;IAED,OAAO,aAAa,GAAG,SAAS,CAAC;AACnC,CAAC,CAAA","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
|
|
1
|
+
{"version":3,"file":"assetPath.js","sourceRoot":"","sources":["../../../src/components/pds-icon/assetPath.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,IAAI,uBAAuB,GAAG,KAAK,CAAC;AAQpC;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,IAAY,EAAE,EAAE;;IAC3C,MAAM,iBAAiB,GAAG,MAAA,QAAQ,CAAC,IAAI,CAAC,aAAa,CAAkB,4BAA4B,CAAC,0CAAE,OAAO,CAAC,aAAa,CAAC;IAE5H,yDAAyD;IACzD,MAAM,eAAe,GAAG,MAAM,CAAC,mBAAmB,CAAC;IAEnD,kDAAkD;IAClD,MAAM,YAAY,GAAG,6DAA6D,CAAC;IAEnF,MAAM,aAAa,GAAI,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,iBAAiB,IAAI,eAAe,IAAI,YAAY,IAAI,GAAG,CAAA;IAExH,4DAA4D;IAC5D,IAAK,aAAa,CAAC,UAAU,CAAC,+BAA+B,CAAC,IAAI,CAAC,uBAAuB,EAAG,CAAC;QAC5F,uBAAuB,GAAG,IAAI,CAAC;QAC/B,OAAO,CAAC,IAAI,CAAC;;KAEZ,CAAC,CAAA;IACJ,CAAC;IAED,IAAI,SAAS,GAAG,IAAI,CAAC;IAErB,IAAK,IAAI,CAAC,UAAU,CAAE,IAAI,CAAC,EAAG,CAAC;QAC7B,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;IAChC,CAAC;IAED,IAAK,CAAC,aAAa,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAG,CAAC;QACnC,SAAS,GAAG,GAAG,GAAG,SAAS,CAAC;IAC9B,CAAC;IAED,OAAO,aAAa,GAAG,SAAS,CAAC;AACnC,CAAC,CAAA","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"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M8.759 1h6.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.564C21 5.29 21 5.954 21 6.758V10.5a1 1 0 1 1-2 0V6.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-.18C16.639 3 16.057 3 15.2 3H8.8c-.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.819C5 5.361 5 5.943 5 6.8v10.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.18C7.361 21 7.943 21 8.8 21h2.7a1 1 0 1 1 0 2H8.759c-.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.564C3 18.71 3 18.046 3 17.242V6.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-.392C7.29 1 7.954 1 8.758 1M7 7a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1m0 4a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1m11 4.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M13.5 18a4.5 4.5 0 1 1 8.31 2.396l.897.897a1 1 0 0 1-1.414 1.414l-.897-.897A4.5 4.5 0 0 1 13.5 18M7 15a1 1 0 0 1 1-1h2a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="pdsicon"><path d="M22.594 18.442c.718-.36.307-.564.102-.718-3.847-1.847-4.463-4.72-4.514-4.925-.052-.256-.052-.462.205-.77.308-.256 1.488-.974 1.847-1.23.564-.411.82-.77.615-1.283-.102-.308-.41-.41-.77-.41h-.307c-.616.153-1.18.461-1.539.512-.051.052-.103.052-.154.052-.154 0-.205-.103-.205-.308.051-.667.103-2 0-3.232-.103-1.693-.667-2.514-1.334-3.232C16.232 2.54 14.796 1 11.974 1 9.204 1 7.768 2.539 7.46 2.898c-.667.718-1.231 1.54-1.334 3.232-.154 1.231-.051 2.565 0 3.232 0 .205-.051.308-.256.308h-.103c-.36-.103-.923-.41-1.539-.565H3.92c-.359 0-.667.103-.77.462-.204.462.052.872.616 1.231.36.257 1.54 1.026 1.847 1.283.257.256.257.462.205.718-.051.205-.667 3.078-4.514 4.925-.205.154-.616.359.103.718 1.026.616 1.744.564 2.308.872.462.308.205.975.513 1.231.41.257 1.642-.051 3.232.462 1.334.462 2.155 1.693 4.566 1.693 2.36 0 3.18-1.231 4.514-1.693 1.59-.513 2.822-.205 3.232-.462.308-.256.051-.923.513-1.18.564-.359 1.282-.307 2.308-.923"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<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>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<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>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<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>
|
package/dist/docs.json
CHANGED
package/dist/esm/index.js
CHANGED
|
@@ -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-
|
|
2
|
+
import { i as isStr, b as inheritAttributes, g as getUrl, c as getName } from './utils-a600f0ec.js';
|
|
3
3
|
|
|
4
4
|
const validateContent = (svgContent) => {
|
|
5
5
|
const div = document.createElement('div');
|
|
@@ -22,7 +22,7 @@ const getAssetPath = (path) => {
|
|
|
22
22
|
if (assetBasePath.startsWith('https://cdn.jsdelivr.net/npm/') && !missingAssetPathWarning) {
|
|
23
23
|
missingAssetPathWarning = true;
|
|
24
24
|
console.warn(`
|
|
25
|
-
Fetching Pine
|
|
25
|
+
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
|
|
26
26
|
`);
|
|
27
27
|
}
|
|
28
28
|
let assetPath = path;
|
|
@@ -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-
|
|
134
|
+
//# sourceMappingURL=utils-a600f0ec.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"utils-
|
|
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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;;;;;;;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 `ion-input` should inherit\n * the `title` attribute that developers set directly on `ion-input`. This\n * helper function should be called in componentWillLoad and assigned to a variable\n * that is later used in the render function.\n *\n * This does not need to be reactive as changing attributes on the host element\n * does not trigger a re-render.\n */\n export const inheritAttributes = (el: HTMLElement, attributes: string[] = []) => {\n const attributeObject: { [k: string]: any } = {}; // eslint-disable-line @typescript-eslint/no-explicit-any\n\n attributes.forEach(attr => {\n if (el.hasAttribute(attr)) {\n const value = el.getAttribute(attr);\n if (value !== null) {\n attributeObject[attr] = el.getAttribute(attr);\n }\n el.removeAttribute(attr);\n }\n });\n\n return attributeObject;\n}\n"],"version":3}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as addIcons}from"./p-
|
|
1
|
+
export{a as addIcons}from"./p-5baaa291.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-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
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
|
|
@@ -0,0 +1,2 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["missingAssetPathWarning","getAssetPath","path","metaPineAssetPath","_a","document","head","querySelector","dataset","pineAssetPath","windowAssetPath","window","__PINE_ASSET_PATH__","cdnAssetPath","assetBasePath","startsWith","console","warn","assetPath","substring","endsWith","CACHED_MAP","addIcons","icons","map","getIconMap","Object","keys","forEach","name","set","Map","win","PdsIcons","getName","iconName","icon","isSrc","isStr","toLower","trim","invalidChars","replace","getNamedUrl","url","get","getSrc","src","getUrl","pdsIcon","str","length","test","val","toLowerCase","inheritAttributes","el","attributes","attributeObject","attr","hasAttribute","value","getAttribute","removeAttribute"],"sources":["src/components/pds-icon/assetPath.ts","src/components/pds-icon/utils.ts"],"sourcesContent":["import { Build } from '@stencil/core';\n\nlet missingAssetPathWarning = false;\n\ndeclare global {\n interface Window {\n __PINE_ASSET_PATH__?: string\n }\n}\n\n/**\n *\n * Reads the component asset path config from meta tag or a global variable.\n * This is a temporary workaround until these issues have been addressed:\n *\n * https://github.com/ionic-team/stencil/issues/2826/\n * https://github.com/ionic-team/stencil/issues/3470\n * https://github.com/ionic-team/stencil-ds-output-targets/issues/186\n */\nexport const getAssetPath = (path: string) => {\n const metaPineAssetPath = document.head.querySelector<HTMLMetaElement>('meta[data-pine-asset-path]')?.dataset.pineAssetPath;\n\n // Get the asset path from the window object if available\n const windowAssetPath = window.__PINE_ASSET_PATH__;\n\n // Set the CDN Asset path using the latest version\n const cdnAssetPath = 'https://cdn.jsdelivr.net/npm/@pine-ds/icons/dist/pds-icons/';\n\n const assetBasePath = Build.isTesting ? '/dist/pds-icons' : metaPineAssetPath || windowAssetPath || cdnAssetPath || '/'\n\n // Display a warning if the assets are fetched from the CDN.\n if ( assetBasePath.startsWith('https://cdn.jsdelivr.net/npm/') && !missingAssetPathWarning ) {\n missingAssetPathWarning = true;\n console.warn(`\n Fetching Pine 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,KAAO,IAAIO,G,CAG1D,OAAOV,C,SAIEa,EAAU,CACrBC,EACAC,KAGA,IAAID,GAAYC,IAASC,EAAMD,GAAO,CACpCD,EAAWC,C,CAGb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}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)}));
|
|
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="M8.759 1h6.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.564C21 5.29 21 5.954 21 6.758V10.5a1 1 0 1 1-2 0V6.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-.18C16.639 3 16.057 3 15.2 3H8.8c-.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.819C5 5.361 5 5.943 5 6.8v10.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.18C7.361 21 7.943 21 8.8 21h2.7a1 1 0 1 1 0 2H8.759c-.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.564C3 18.71 3 18.046 3 17.242V6.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-.392C7.29 1 7.954 1 8.758 1M7 7a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1m0 4a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1m11 4.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M13.5 18a4.5 4.5 0 1 1 8.31 2.396l.897.897a1 1 0 0 1-1.414 1.414l-.897-.897A4.5 4.5 0 0 1 13.5 18M7 15a1 1 0 0 1 1-1h2a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="pdsicon"><path d="M22.594 18.442c.718-.36.307-.564.102-.718-3.847-1.847-4.463-4.72-4.514-4.925-.052-.256-.052-.462.205-.77.308-.256 1.488-.974 1.847-1.23.564-.411.82-.77.615-1.283-.102-.308-.41-.41-.77-.41h-.307c-.616.153-1.18.461-1.539.512-.051.052-.103.052-.154.052-.154 0-.205-.103-.205-.308.051-.667.103-2 0-3.232-.103-1.693-.667-2.514-1.334-3.232C16.232 2.54 14.796 1 11.974 1 9.204 1 7.768 2.539 7.46 2.898c-.667.718-1.231 1.54-1.334 3.232-.154 1.231-.051 2.565 0 3.232 0 .205-.051.308-.256.308h-.103c-.36-.103-.923-.41-1.539-.565H3.92c-.359 0-.667.103-.77.462-.204.462.052.872.616 1.231.36.257 1.54 1.026 1.847 1.283.257.256.257.462.205.718-.051.205-.667 3.078-4.514 4.925-.205.154-.616.359.103.718 1.026.616 1.744.564 2.308.872.462.308.205.975.513 1.231.41.257 1.642-.051 3.232.462 1.334.462 2.155 1.693 4.566 1.693 2.36 0 3.18-1.231 4.514-1.693 1.59-.513 2.822-.205 3.232-.462.308-.256.051-.923.513-1.18.564-.359 1.282-.307 2.308-.923"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<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>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<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>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<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>
|
package/dist/pds-icons.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pds-icons",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.13.0",
|
|
4
4
|
"icons": [
|
|
5
5
|
{
|
|
6
6
|
"name": "access-key",
|
|
@@ -1496,6 +1496,19 @@
|
|
|
1496
1496
|
"money"
|
|
1497
1497
|
]
|
|
1498
1498
|
},
|
|
1499
|
+
{
|
|
1500
|
+
"name": "file-search",
|
|
1501
|
+
"category": "actions",
|
|
1502
|
+
"tags": [
|
|
1503
|
+
"attachment",
|
|
1504
|
+
"file",
|
|
1505
|
+
"paper",
|
|
1506
|
+
"pdf",
|
|
1507
|
+
"report",
|
|
1508
|
+
"search",
|
|
1509
|
+
"text"
|
|
1510
|
+
]
|
|
1511
|
+
},
|
|
1499
1512
|
{
|
|
1500
1513
|
"name": "filter",
|
|
1501
1514
|
"category": "actions",
|
|
@@ -2262,6 +2275,14 @@
|
|
|
2262
2275
|
"logo"
|
|
2263
2276
|
]
|
|
2264
2277
|
},
|
|
2278
|
+
{
|
|
2279
|
+
"name": "logo-snapchat",
|
|
2280
|
+
"category": "social",
|
|
2281
|
+
"tags": [
|
|
2282
|
+
"logo",
|
|
2283
|
+
"snapchat"
|
|
2284
|
+
]
|
|
2285
|
+
},
|
|
2265
2286
|
{
|
|
2266
2287
|
"name": "logo-tiktok",
|
|
2267
2288
|
"category": "social",
|
|
@@ -3661,6 +3682,39 @@
|
|
|
3661
3682
|
"trashcan"
|
|
3662
3683
|
]
|
|
3663
3684
|
},
|
|
3685
|
+
{
|
|
3686
|
+
"name": "trend-down",
|
|
3687
|
+
"category": "actions",
|
|
3688
|
+
"tags": [
|
|
3689
|
+
"chart",
|
|
3690
|
+
"down",
|
|
3691
|
+
"graph",
|
|
3692
|
+
"negative",
|
|
3693
|
+
"trend"
|
|
3694
|
+
]
|
|
3695
|
+
},
|
|
3696
|
+
{
|
|
3697
|
+
"name": "trend-none",
|
|
3698
|
+
"category": "actions",
|
|
3699
|
+
"tags": [
|
|
3700
|
+
"circle",
|
|
3701
|
+
"mathematics",
|
|
3702
|
+
"minus",
|
|
3703
|
+
"subtract",
|
|
3704
|
+
"subtraction"
|
|
3705
|
+
]
|
|
3706
|
+
},
|
|
3707
|
+
{
|
|
3708
|
+
"name": "trend-up",
|
|
3709
|
+
"category": "actions",
|
|
3710
|
+
"tags": [
|
|
3711
|
+
"chart",
|
|
3712
|
+
"graph",
|
|
3713
|
+
"positive",
|
|
3714
|
+
"trend",
|
|
3715
|
+
"up"
|
|
3716
|
+
]
|
|
3717
|
+
},
|
|
3664
3718
|
{
|
|
3665
3719
|
"name": "trophy",
|
|
3666
3720
|
"category": "features",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<svg data-pdsicons="8.
|
|
1
|
+
<svg data-pdsicons="8.13.0" style="display:none">
|
|
2
2
|
<style>
|
|
3
3
|
.pdsicon {
|
|
4
4
|
fill: currentColor;
|
|
@@ -143,6 +143,7 @@
|
|
|
143
143
|
<symbol id="file-download" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M8.759 1H14a1 1 0 0 1 .707.293l6 6A1 1 0 0 1 21 8v9.241c0 .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.044H8.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.564C3 18.71 3 18.046 3 17.242V6.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-.392C7.29 1 7.954 1 8.758 1M6.91 3.038c-.438.035-.663.1-.819.18a2 2 0 0 0-.874.874c-.08.156-.145.38-.18.819C5 5.361 5 5.943 5 6.8v10.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.18C7.361 21 7.943 21 8.8 21h6.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.889V9h-3.432c-.252 0-.498 0-.706-.017a2 2 0 0 1-.77-.2 2 2 0 0 1-.874-.875 2 2 0 0 1-.201-.77C13 6.93 13 6.684 13 6.432V3H8.8c-.857 0-1.439 0-1.889.038M15 4.414 17.586 7H15.6a8 8 0 0 1-.589-.011v-.014A8 8 0 0 1 15 6.4zM12 11a1 1 0 0 1 1 1v3.586l1.293-1.293a1 1 0 0 1 1.414 1.414l-3 3a1 1 0 0 1-1.414 0l-3-3a1 1 0 1 1 1.414-1.414L11 15.586V12a1 1 0 0 1 1-1"/></symbol>
|
|
144
144
|
<symbol id="file-lock" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M8.759 1H14a1 1 0 0 1 .707.293l6 6A1 1 0 0 1 21 8v9.241c0 .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.044H8.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.564C3 18.71 3 18.046 3 17.242V6.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-.392C7.29 1 7.954 1 8.758 1M6.91 3.038c-.438.035-.663.1-.819.18a2 2 0 0 0-.874.874c-.08.156-.145.38-.18.819C5 5.361 5 5.943 5 6.8v10.4c0 .857 0 1.439.038 1.889.035.438.1.663.18.819a2 2 0 0 0 .874.874c.156.08.38.145.82.18C7.361 21 7.942 21 8.8 21h6.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.889V9h-5a1 1 0 0 1-1-1V3H8.8c-.857 0-1.439 0-1.889.038m8.09 1.376L17.585 7H15zM9.25 12.25a2.75 2.75 0 0 1 5.5 0v.778c.202.024.429.074.657.19a2 2 0 0 1 .874.874c.138.271.182.541.201.77.017.208.017.454.017.706v.864c0 .252 0 .498-.017.706a2 2 0 0 1-.2.77 2 2 0 0 1-.875.874 2 2 0 0 1-.77.201c-.208.017-.454.017-.706.017h-3.864c-.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-.77c-.017-.208-.017-.454-.017-.706v-.864c0-.252 0-.498.017-.706.019-.229.063-.499.201-.77a2 2 0 0 1 .874-.874c.228-.116.456-.166.658-.19zM10.1 15a8 8 0 0 0-.59.011v.014c-.01.116-.01.278-.01.575v.8a8 8 0 0 0 .01.589h.014c.116.01.279.011.575.011h3.8c.297 0 .459 0 .575-.01l.014-.001v-.014c.01-.116.011-.279.011-.575v-.8a8 8 0 0 0-.011-.588l-.014-.002A8 8 0 0 0 13.9 15zm2.65-2h-1.5v-.75a.75.75 0 1 1 1.5 0z"/></symbol>
|
|
145
145
|
<symbol id="file-money" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12m11-7.5a1 1 0 0 1 1 1V6h.167A3.333 3.333 0 0 1 16.5 9.333a1 1 0 1 1-2 0C14.5 8.597 13.903 8 13.167 8H11a1.5 1.5 0 0 0 0 3h2a3.5 3.5 0 1 1 0 7v.5a1 1 0 1 1-2 0V18h-.167A3.333 3.333 0 0 1 7.5 14.667a1 1 0 1 1 2 0c0 .736.597 1.333 1.333 1.333H13a1.5 1.5 0 0 0 0-3h-2a3.5 3.5 0 1 1 0-7v-.5a1 1 0 0 1 1-1"/></symbol>
|
|
146
|
+
<symbol id="file-search" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M8.759 1h6.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.564C21 5.29 21 5.954 21 6.758V10.5a1 1 0 1 1-2 0V6.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-.18C16.639 3 16.057 3 15.2 3H8.8c-.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.819C5 5.361 5 5.943 5 6.8v10.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.18C7.361 21 7.943 21 8.8 21h2.7a1 1 0 1 1 0 2H8.759c-.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.564C3 18.71 3 18.046 3 17.242V6.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-.392C7.29 1 7.954 1 8.758 1M7 7a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1m0 4a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1m11 4.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M13.5 18a4.5 4.5 0 1 1 8.31 2.396l.897.897a1 1 0 0 1-1.414 1.414l-.897-.897A4.5 4.5 0 0 1 13.5 18M7 15a1 1 0 0 1 1-1h2a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1"/></symbol>
|
|
146
147
|
<symbol id="filter" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M18 6a2 2 0 1 0 0 4 2 2 0 0 0 0-4m-3.874 1A4.002 4.002 0 0 1 22 8a4 4 0 0 1-7.874 1H3a1 1 0 0 1 0-2zM6 14a2 2 0 1 0 0 4 2 2 0 0 0 0-4m-4 2a4 4 0 0 1 7.874-1H21a1 1 0 1 1 0 2H9.874A4.002 4.002 0 0 1 2 16"/></symbol>
|
|
147
148
|
<symbol id="flag" viewBox="0 0 24 24" class="pdsicon"><path d="M2.988 22.012a1 1 0 0 1-1-1v-17.5a2 2 0 0 1 0-.23 2 2 0 0 1 .19-.68 2 2 0 0 1 .9-.84 3.1 3.1 0 0 1 1.51-.22h7.26a3.1 3.1 0 0 1 1.5.22 2 2 0 0 1 .88.87c.197.477.273.996.22 1.51v1.4h5.2a2.17 2.17 0 0 1 1.39.22 1.5 1.5 0 0 1 .62 1 2.1 2.1 0 0 1-.36 1.32l-1.21 2.43 1.31 2.94c.235.39.337.847.29 1.3a1.52 1.52 0 0 1-.63 1 2.1 2.1 0 0 1-1.3.26h-7.67a3.1 3.1 0 0 1-1.51-.25 2 2 0 0 1-.88-.87 3.3 3.3 0 0 1-.21-1.51v-1.4h-5.5v9a1 1 0 0 1-1 1.03m8.5-10v1.4a5 5 0 0 0 0 .65c0-.05.3-.05.58-.05h7.38l-1.22-2.75a1.7 1.7 0 0 1-.17-.5 1.5 1.5 0 0 1 0-.52q.067-.261.19-.5l1.12-2.23h-4.88v1.9a3.1 3.1 0 0 1-.22 1.51 2 2 0 0 1-.88.87c-.473.197-.99.273-1.5.22zm-7.5-2h7.86q.32.02.64 0a1.7 1.7 0 0 1 0-.58v-5.32a5 5 0 0 0 0-.65h-8.5z"/></symbol>
|
|
148
149
|
<symbol id="flash" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M13.398 1.083a1 1 0 0 1 .594 1.041L13.132 9h6.196c.24 0 .485 0 .684.018.189.017.55.062.863.315a1.5 1.5 0 0 1 .557 1.19c-.006.402-.202.709-.31.864-.114.165-.27.353-.424.538l-8.93 10.715a1 1 0 0 1-1.76-.764l.86-6.876H4.671c-.24 0-.485 0-.684-.018-.189-.017-.55-.062-.863-.315a1.5 1.5 0 0 1-.557-1.19c.006-.402.202-.709.31-.864.114-.165.27-.353.424-.538l.023-.027L12.232 1.36a1 1 0 0 1 1.166-.277M5.135 13H12a1 1 0 0 1 .992 1.124l-.577 4.615L18.865 11H12a1 1 0 0 1-.992-1.124l.577-4.616z"/></symbol>
|
|
@@ -208,6 +209,7 @@
|
|
|
208
209
|
<symbol id="logo-facebook-round" viewBox="0 0 24 24" class="pdsicon"><path d="M23 12.066a11 11 0 1 0-12.719 10.867v-7.687H7.488v-3.18h2.793V9.643c0-2.757 1.643-4.28 4.155-4.28a17 17 0 0 1 2.463.214v2.708H15.51a1.59 1.59 0 0 0-1.792 1.719v2.062h3.048l-.488 3.18h-2.567v7.687A11 11 0 0 0 23 12.066"/></symbol>
|
|
209
210
|
<symbol id="logo-instagram" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M12 2.982c2.937 0 3.285.011 4.445.064a6.1 6.1 0 0 1 2.042.379 3.4 3.4 0 0 1 1.265.823 3.4 3.4 0 0 1 .823 1.265 6.1 6.1 0 0 1 .379 2.042c.053 1.16.064 1.508.064 4.445s-.011 3.285-.064 4.445a6.1 6.1 0 0 1-.379 2.042 3.64 3.64 0 0 1-2.088 2.088 6.1 6.1 0 0 1-2.042.379c-1.16.053-1.508.064-4.445.064s-3.285-.011-4.445-.064a6.1 6.1 0 0 1-2.042-.379 3.4 3.4 0 0 1-1.265-.823 3.4 3.4 0 0 1-.823-1.265 6.1 6.1 0 0 1-.379-2.042c-.053-1.16-.064-1.508-.064-4.445s.011-3.285.064-4.445a6.1 6.1 0 0 1 .379-2.042 3.4 3.4 0 0 1 .823-1.265 3.4 3.4 0 0 1 1.265-.823 6.1 6.1 0 0 1 2.042-.379c1.16-.053 1.508-.064 4.445-.064M12 1c-2.987 0-3.362.013-4.535.066a8.1 8.1 0 0 0-2.67.511A5.63 5.63 0 0 0 1.577 4.8a8.1 8.1 0 0 0-.511 2.67C1.013 8.638 1 9.013 1 12s.013 3.362.066 4.535c.019.912.192 1.815.511 2.67A5.63 5.63 0 0 0 4.8 22.423c.855.32 1.758.492 2.67.511C8.638 22.987 9.013 23 12 23s3.362-.013 4.535-.066a8.1 8.1 0 0 0 2.67-.511 5.63 5.63 0 0 0 3.218-3.223c.32-.855.492-1.758.511-2.67.053-1.168.066-1.543.066-4.53s-.013-3.362-.066-4.535a8.1 8.1 0 0 0-.511-2.67A5.63 5.63 0 0 0 19.2 1.577a8.1 8.1 0 0 0-2.67-.511C15.362 1.013 14.987 1 12 1m0 5.351a5.65 5.65 0 1 0 0 11.298 5.65 5.65 0 0 0 0-11.298m0 9.316a3.667 3.667 0 1 1 0-7.335 3.667 3.667 0 0 1 0 7.335m7.192-9.539a1.32 1.32 0 1 1-2.64 0 1.32 1.32 0 0 1 2.64 0"/></symbol>
|
|
210
211
|
<symbol id="logo-linkedin" viewBox="0 0 24 24" class="pdsicon"><path d="M22.083 1H1.917C1.367 1 1 1.367 1 1.917v20.166c0 .55.367.917.917.917h20.166c.55 0 .917-.367.917-.917V1.917c0-.55-.367-.917-.917-.917M4.3 19.792V9.25h3.3v10.542zM5.858 7.783c-1.008 0-1.925-.825-1.925-1.925 0-1.008.825-1.925 1.925-1.925 1.009 0 1.925.825 1.925 1.925s-.825 1.925-1.925 1.925m13.934 12.009h-3.3v-5.134c0-1.191 0-2.75-1.65-2.75-1.742 0-1.925 1.284-1.925 2.659v5.225h-3.3V9.25h3.116v1.467c.459-.825 1.467-1.65 3.117-1.65 3.3 0 3.942 2.2 3.942 5.041z"/></symbol>
|
|
212
|
+
<symbol id="logo-snapchat" viewBox="0 0 24 24" class="pdsicon"><path d="M22.594 18.442c.718-.36.307-.564.102-.718-3.847-1.847-4.463-4.72-4.514-4.925-.052-.256-.052-.462.205-.77.308-.256 1.488-.974 1.847-1.23.564-.411.82-.77.615-1.283-.102-.308-.41-.41-.77-.41h-.307c-.616.153-1.18.461-1.539.512-.051.052-.103.052-.154.052-.154 0-.205-.103-.205-.308.051-.667.103-2 0-3.232-.103-1.693-.667-2.514-1.334-3.232C16.232 2.54 14.796 1 11.974 1 9.204 1 7.768 2.539 7.46 2.898c-.667.718-1.231 1.54-1.334 3.232-.154 1.231-.051 2.565 0 3.232 0 .205-.051.308-.256.308h-.103c-.36-.103-.923-.41-1.539-.565H3.92c-.359 0-.667.103-.77.462-.204.462.052.872.616 1.231.36.257 1.54 1.026 1.847 1.283.257.256.257.462.205.718-.051.205-.667 3.078-4.514 4.925-.205.154-.616.359.103.718 1.026.616 1.744.564 2.308.872.462.308.205.975.513 1.231.41.257 1.642-.051 3.232.462 1.334.462 2.155 1.693 4.566 1.693 2.36 0 3.18-1.231 4.514-1.693 1.59-.513 2.822-.205 3.232-.462.308-.256.051-.923.513-1.18.564-.359 1.282-.307 2.308-.923"/></symbol>
|
|
211
213
|
<symbol id="logo-tiktok" viewBox="0 0 24 24" class="pdsicon"><path d="M10.341 9.192v3.779a3.29 3.29 0 0 0-4.125 3.047 2.972 2.972 0 0 0 3.178 3.155 2.962 2.962 0 0 0 3.178-3.198V1h3.738c.635 3.955 2.613 4.873 5.261 5.297v3.79a11.27 11.27 0 0 1-5.156-1.742v7.487c0 3.391-2.008 7.168-6.991 7.168a7.026 7.026 0 0 1-6.993-7.204 6.89 6.89 0 0 1 7.91-6.604"/></symbol>
|
|
212
214
|
<symbol id="logo-twitter" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="m15.945 23-5.55-7.91L3.449 23H.51l8.583-9.769L.509 1h7.546l5.23 7.455L19.84 1h2.939l-8.184 9.317L23.49 23zm3.273-2.23h-1.979L4.718 3.23h1.979l5.015 7.023.867 1.219z"/></symbol>
|
|
213
215
|
<symbol id="logo-twitter-x" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="m15.945 23-5.55-7.91L3.448 23H.51l8.582-9.769L.51 1h7.546l5.23 7.455L19.84 1h2.939l-8.184 9.317L23.49 23zm3.273-2.23h-1.979L4.718 3.23h1.978l5.015 7.023.868 1.219z"/></symbol>
|
|
@@ -315,6 +317,9 @@
|
|
|
315
317
|
<symbol id="thumb-up" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M9.87 2.082A1.82 1.82 0 0 1 11.533 1 3.466 3.466 0 0 1 15 4.466V8h3.503a4 4 0 0 1 3.954 4.608l-1.077 7A4 4 0 0 1 17.426 23H4a3 3 0 0 1-3-3v-7a3 3 0 0 1 3-3h2.35zM8 21h9.426a2 2 0 0 0 1.977-1.696l1.077-7A2 2 0 0 0 18.503 10H15a2 2 0 0 1-2-2V4.466c0-.771-.596-1.404-1.352-1.462l-3.47 7.808a2 2 0 0 1-.178.319zm-2-9v9H4a1 1 0 0 1-1-1v-7a1 1 0 0 1 1-1z"/></symbol>
|
|
316
318
|
<symbol id="thumb-up-filled" viewBox="0 0 24 24" class="pdsicon"><path d="M11.534 1c-.72 0-1.372.424-1.665 1.082L6.51 9.644a7 7 0 0 1-.16.344l-.003.006H6.34a7 7 0 0 1-.38.006h-.799c-.527 0-.981 0-1.356.03-.395.033-.789.104-1.167.297a3 3 0 0 0-1.311 1.311c-.193.378-.264.772-.296 1.167C1 13.18 1 13.635 1 14.161v4.678c0 .527 0 .982.03 1.356.033.395.104.789.297 1.167a3 3 0 0 0 1.311 1.311c.378.193.772.264 1.167.296.375.031.83.031 1.356.031A.84.84 0 0 0 6 22.161V14a1 1 0 1 1 2 0v7.4c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C8.76 23 9.04 23 9.6 23h6.32c.698 0 1.278 0 1.756-.036.498-.038.958-.12 1.401-.32a4 4 0 0 0 1.7-1.458c.265-.408.416-.85.529-1.337.108-.466.197-1.04.303-1.73l.535-3.481c.141-.915.257-1.665.297-2.278.043-.631.015-1.22-.2-1.785a4 4 0 0 0-1.76-2.052c-.526-.299-1.105-.416-1.735-.47C18.135 8 17.376 8 16.45 8h-.85c-.296 0-.459 0-.575-.01l-.014-.001v-.014A8 8 0 0 1 15 7.4V4.466A3.466 3.466 0 0 0 11.534 1"/></symbol>
|
|
317
319
|
<symbol id="trash" viewBox="0 0 24 24" class="pdsicon"><path fill-rule="evenodd" d="M11.162 1h1.676c.528 0 .982 0 1.357.03.395.033.789.104 1.167.297a3 3 0 0 1 1.311 1.311c.193.378.264.772.296 1.167.028.336.03.736.031 1.195h4a1 1 0 1 1 0 2h-1v10.241c0 .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.044H9.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.564C4 18.71 4 18.046 4 17.242V7H3a1 1 0 1 1 0-2h4c0-.459.003-.86.03-1.195.033-.395.104-.789.297-1.167a3 3 0 0 1 1.311-1.311c.378-.193.772-.264 1.167-.296C10.18 1 10.635 1 11.162 1M6 7v10.2c0 .857 0 1.439.038 1.889.035.438.1.663.18.819a2 2 0 0 0 .874.874c.156.08.38.145.819.18C8.361 21 8.943 21 9.8 21h4.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.889V7zm9-2H9c0-.465.004-.783.024-1.032.022-.272.06-.373.085-.422a1 1 0 0 1 .437-.437c.05-.025.15-.063.422-.085C10.25 3 10.623 3 11.2 3h1.6c.577 0 .949 0 1.232.024.272.022.373.06.422.085a1 1 0 0 1 .437.437c.025.05.063.15.085.422.02.249.023.567.024 1.032m-5 5.5a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0v-5a1 1 0 0 1 1-1m4 0a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0v-5a1 1 0 0 1 1-1"/></symbol>
|
|
320
|
+
<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>
|
|
321
|
+
<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>
|
|
322
|
+
<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>
|
|
318
323
|
<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>
|
|
319
324
|
<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>
|
|
320
325
|
<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="M8.759 1h6.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.564C21 5.29 21 5.954 21 6.758V10.5a1 1 0 1 1-2 0V6.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-.18C16.639 3 16.057 3 15.2 3H8.8c-.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.819C5 5.361 5 5.943 5 6.8v10.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.18C7.361 21 7.943 21 8.8 21h2.7a1 1 0 1 1 0 2H8.759c-.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.564C3 18.71 3 18.046 3 17.242V6.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-.392C7.29 1 7.954 1 8.758 1M7 7a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1m0 4a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1m11 4.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M13.5 18a4.5 4.5 0 1 1 8.31 2.396l.897.897a1 1 0 0 1-1.414 1.414l-.897-.897A4.5 4.5 0 0 1 13.5 18M7 15a1 1 0 0 1 1-1h2a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="pdsicon"><path d="M22.594 18.442c.718-.36.307-.564.102-.718-3.847-1.847-4.463-4.72-4.514-4.925-.052-.256-.052-.462.205-.77.308-.256 1.488-.974 1.847-1.23.564-.411.82-.77.615-1.283-.102-.308-.41-.41-.77-.41h-.307c-.616.153-1.18.461-1.539.512-.051.052-.103.052-.154.052-.154 0-.205-.103-.205-.308.051-.667.103-2 0-3.232-.103-1.693-.667-2.514-1.334-3.232C16.232 2.54 14.796 1 11.974 1 9.204 1 7.768 2.539 7.46 2.898c-.667.718-1.231 1.54-1.334 3.232-.154 1.231-.051 2.565 0 3.232 0 .205-.051.308-.256.308h-.103c-.36-.103-.923-.41-1.539-.565H3.92c-.359 0-.667.103-.77.462-.204.462.052.872.616 1.231.36.257 1.54 1.026 1.847 1.283.257.256.257.462.205.718-.051.205-.667 3.078-4.514 4.925-.205.154-.616.359.103.718 1.026.616 1.744.564 2.308.872.462.308.205.975.513 1.231.41.257 1.642-.051 3.232.462 1.334.462 2.155 1.693 4.566 1.693 2.36 0 3.18-1.231 4.514-1.693 1.59-.513 2.822-.205 3.232-.462.308-.256.051-.923.513-1.18.564-.359 1.282-.307 2.308-.923"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<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>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<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>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<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>
|
package/icons/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* pds-icons v8.
|
|
1
|
+
/* pds-icons v8.13.0, Types */
|
|
2
2
|
|
|
3
3
|
export declare var accessKey: string
|
|
4
4
|
export declare var add: string
|
|
@@ -133,6 +133,7 @@ export declare var fileAdd: string
|
|
|
133
133
|
export declare var fileDownload: string
|
|
134
134
|
export declare var fileLock: string
|
|
135
135
|
export declare var fileMoney: string
|
|
136
|
+
export declare var fileSearch: string
|
|
136
137
|
export declare var filter: string
|
|
137
138
|
export declare var flag: string
|
|
138
139
|
export declare var flash: string
|
|
@@ -198,6 +199,7 @@ export declare var logoFacebook: string
|
|
|
198
199
|
export declare var logoFacebookRound: string
|
|
199
200
|
export declare var logoInstagram: string
|
|
200
201
|
export declare var logoLinkedin: string
|
|
202
|
+
export declare var logoSnapchat: string
|
|
201
203
|
export declare var logoTiktok: string
|
|
202
204
|
export declare var logoTwitter: string
|
|
203
205
|
export declare var logoTwitterX: string
|
|
@@ -305,6 +307,9 @@ export declare var thumbDownFilled: string
|
|
|
305
307
|
export declare var thumbUp: string
|
|
306
308
|
export declare var thumbUpFilled: string
|
|
307
309
|
export declare var trash: string
|
|
310
|
+
export declare var trendDown: string
|
|
311
|
+
export declare var trendNone: string
|
|
312
|
+
export declare var trendUp: string
|
|
308
313
|
export declare var trophy: string
|
|
309
314
|
export declare var trophyFilled: string
|
|
310
315
|
export declare var underline: string
|
package/icons/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* pds-icons v8.
|
|
1
|
+
/* pds-icons v8.13.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>"
|
|
@@ -133,6 +133,7 @@ exports.fileAdd = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/sv
|
|
|
133
133
|
exports.fileDownload = "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.759 1H14a1 1 0 0 1 .707.293l6 6A1 1 0 0 1 21 8v9.241c0 .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.044H8.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.564C3 18.71 3 18.046 3 17.242V6.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-.392C7.29 1 7.954 1 8.758 1M6.91 3.038c-.438.035-.663.1-.819.18a2 2 0 0 0-.874.874c-.08.156-.145.38-.18.819C5 5.361 5 5.943 5 6.8v10.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.18C7.361 21 7.943 21 8.8 21h6.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.889V9h-3.432c-.252 0-.498 0-.706-.017a2 2 0 0 1-.77-.2 2 2 0 0 1-.874-.875 2 2 0 0 1-.201-.77C13 6.93 13 6.684 13 6.432V3H8.8c-.857 0-1.439 0-1.889.038M15 4.414 17.586 7H15.6a8 8 0 0 1-.589-.011v-.014A8 8 0 0 1 15 6.4zM12 11a1 1 0 0 1 1 1v3.586l1.293-1.293a1 1 0 0 1 1.414 1.414l-3 3a1 1 0 0 1-1.414 0l-3-3a1 1 0 1 1 1.414-1.414L11 15.586V12a1 1 0 0 1 1-1'/></svg>"
|
|
134
134
|
exports.fileLock = "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.759 1H14a1 1 0 0 1 .707.293l6 6A1 1 0 0 1 21 8v9.241c0 .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.044H8.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.564C3 18.71 3 18.046 3 17.242V6.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-.392C7.29 1 7.954 1 8.758 1M6.91 3.038c-.438.035-.663.1-.819.18a2 2 0 0 0-.874.874c-.08.156-.145.38-.18.819C5 5.361 5 5.943 5 6.8v10.4c0 .857 0 1.439.038 1.889.035.438.1.663.18.819a2 2 0 0 0 .874.874c.156.08.38.145.82.18C7.361 21 7.942 21 8.8 21h6.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.889V9h-5a1 1 0 0 1-1-1V3H8.8c-.857 0-1.439 0-1.889.038m8.09 1.376L17.585 7H15zM9.25 12.25a2.75 2.75 0 0 1 5.5 0v.778c.202.024.429.074.657.19a2 2 0 0 1 .874.874c.138.271.182.541.201.77.017.208.017.454.017.706v.864c0 .252 0 .498-.017.706a2 2 0 0 1-.2.77 2 2 0 0 1-.875.874 2 2 0 0 1-.77.201c-.208.017-.454.017-.706.017h-3.864c-.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-.77c-.017-.208-.017-.454-.017-.706v-.864c0-.252 0-.498.017-.706.019-.229.063-.499.201-.77a2 2 0 0 1 .874-.874c.228-.116.456-.166.658-.19zM10.1 15a8 8 0 0 0-.59.011v.014c-.01.116-.01.278-.01.575v.8a8 8 0 0 0 .01.589h.014c.116.01.279.011.575.011h3.8c.297 0 .459 0 .575-.01l.014-.001v-.014c.01-.116.011-.279.011-.575v-.8a8 8 0 0 0-.011-.588l-.014-.002A8 8 0 0 0 13.9 15zm2.65-2h-1.5v-.75a.75.75 0 1 1 1.5 0z'/></svg>"
|
|
135
135
|
exports.fileMoney = "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 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12m11-7.5a1 1 0 0 1 1 1V6h.167A3.333 3.333 0 0 1 16.5 9.333a1 1 0 1 1-2 0C14.5 8.597 13.903 8 13.167 8H11a1.5 1.5 0 0 0 0 3h2a3.5 3.5 0 1 1 0 7v.5a1 1 0 1 1-2 0V18h-.167A3.333 3.333 0 0 1 7.5 14.667a1 1 0 1 1 2 0c0 .736.597 1.333 1.333 1.333H13a1.5 1.5 0 0 0 0-3h-2a3.5 3.5 0 1 1 0-7v-.5a1 1 0 0 1 1-1'/></svg>"
|
|
136
|
+
exports.fileSearch = "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.759 1h6.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.564C21 5.29 21 5.954 21 6.758V10.5a1 1 0 1 1-2 0V6.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-.18C16.639 3 16.057 3 15.2 3H8.8c-.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.819C5 5.361 5 5.943 5 6.8v10.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.18C7.361 21 7.943 21 8.8 21h2.7a1 1 0 1 1 0 2H8.759c-.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.564C3 18.71 3 18.046 3 17.242V6.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-.392C7.29 1 7.954 1 8.758 1M7 7a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1m0 4a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1m11 4.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M13.5 18a4.5 4.5 0 1 1 8.31 2.396l.897.897a1 1 0 0 1-1.414 1.414l-.897-.897A4.5 4.5 0 0 1 13.5 18M7 15a1 1 0 0 1 1-1h2a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1'/></svg>"
|
|
136
137
|
exports.filter = "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='M18 6a2 2 0 1 0 0 4 2 2 0 0 0 0-4m-3.874 1A4.002 4.002 0 0 1 22 8a4 4 0 0 1-7.874 1H3a1 1 0 0 1 0-2zM6 14a2 2 0 1 0 0 4 2 2 0 0 0 0-4m-4 2a4 4 0 0 1 7.874-1H21a1 1 0 1 1 0 2H9.874A4.002 4.002 0 0 1 2 16'/></svg>"
|
|
137
138
|
exports.flag = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path d='M2.988 22.012a1 1 0 0 1-1-1v-17.5a2 2 0 0 1 0-.23 2 2 0 0 1 .19-.68 2 2 0 0 1 .9-.84 3.1 3.1 0 0 1 1.51-.22h7.26a3.1 3.1 0 0 1 1.5.22 2 2 0 0 1 .88.87c.197.477.273.996.22 1.51v1.4h5.2a2.17 2.17 0 0 1 1.39.22 1.5 1.5 0 0 1 .62 1 2.1 2.1 0 0 1-.36 1.32l-1.21 2.43 1.31 2.94c.235.39.337.847.29 1.3a1.52 1.52 0 0 1-.63 1 2.1 2.1 0 0 1-1.3.26h-7.67a3.1 3.1 0 0 1-1.51-.25 2 2 0 0 1-.88-.87 3.3 3.3 0 0 1-.21-1.51v-1.4h-5.5v9a1 1 0 0 1-1 1.03m8.5-10v1.4a5 5 0 0 0 0 .65c0-.05.3-.05.58-.05h7.38l-1.22-2.75a1.7 1.7 0 0 1-.17-.5 1.5 1.5 0 0 1 0-.52q.067-.261.19-.5l1.12-2.23h-4.88v1.9a3.1 3.1 0 0 1-.22 1.51 2 2 0 0 1-.88.87c-.473.197-.99.273-1.5.22zm-7.5-2h7.86q.32.02.64 0a1.7 1.7 0 0 1 0-.58v-5.32a5 5 0 0 0 0-.65h-8.5z'/></svg>"
|
|
138
139
|
exports.flash = "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.398 1.083a1 1 0 0 1 .594 1.041L13.132 9h6.196c.24 0 .485 0 .684.018.189.017.55.062.863.315a1.5 1.5 0 0 1 .557 1.19c-.006.402-.202.709-.31.864-.114.165-.27.353-.424.538l-8.93 10.715a1 1 0 0 1-1.76-.764l.86-6.876H4.671c-.24 0-.485 0-.684-.018-.189-.017-.55-.062-.863-.315a1.5 1.5 0 0 1-.557-1.19c.006-.402.202-.709.31-.864.114-.165.27-.353.424-.538l.023-.027L12.232 1.36a1 1 0 0 1 1.166-.277M5.135 13H12a1 1 0 0 1 .992 1.124l-.577 4.615L18.865 11H12a1 1 0 0 1-.992-1.124l.577-4.616z'/></svg>"
|
|
@@ -198,6 +199,7 @@ exports.logoFacebook = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/20
|
|
|
198
199
|
exports.logoFacebookRound = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path d='M23 12.066a11 11 0 1 0-12.719 10.867v-7.687H7.488v-3.18h2.793V9.643c0-2.757 1.643-4.28 4.155-4.28a17 17 0 0 1 2.463.214v2.708H15.51a1.59 1.59 0 0 0-1.792 1.719v2.062h3.048l-.488 3.18h-2.567v7.687A11 11 0 0 0 23 12.066'/></svg>"
|
|
199
200
|
exports.logoInstagram = "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 2.982c2.937 0 3.285.011 4.445.064a6.1 6.1 0 0 1 2.042.379 3.4 3.4 0 0 1 1.265.823 3.4 3.4 0 0 1 .823 1.265 6.1 6.1 0 0 1 .379 2.042c.053 1.16.064 1.508.064 4.445s-.011 3.285-.064 4.445a6.1 6.1 0 0 1-.379 2.042 3.64 3.64 0 0 1-2.088 2.088 6.1 6.1 0 0 1-2.042.379c-1.16.053-1.508.064-4.445.064s-3.285-.011-4.445-.064a6.1 6.1 0 0 1-2.042-.379 3.4 3.4 0 0 1-1.265-.823 3.4 3.4 0 0 1-.823-1.265 6.1 6.1 0 0 1-.379-2.042c-.053-1.16-.064-1.508-.064-4.445s.011-3.285.064-4.445a6.1 6.1 0 0 1 .379-2.042 3.4 3.4 0 0 1 .823-1.265 3.4 3.4 0 0 1 1.265-.823 6.1 6.1 0 0 1 2.042-.379c1.16-.053 1.508-.064 4.445-.064M12 1c-2.987 0-3.362.013-4.535.066a8.1 8.1 0 0 0-2.67.511A5.63 5.63 0 0 0 1.577 4.8a8.1 8.1 0 0 0-.511 2.67C1.013 8.638 1 9.013 1 12s.013 3.362.066 4.535c.019.912.192 1.815.511 2.67A5.63 5.63 0 0 0 4.8 22.423c.855.32 1.758.492 2.67.511C8.638 22.987 9.013 23 12 23s3.362-.013 4.535-.066a8.1 8.1 0 0 0 2.67-.511 5.63 5.63 0 0 0 3.218-3.223c.32-.855.492-1.758.511-2.67.053-1.168.066-1.543.066-4.53s-.013-3.362-.066-4.535a8.1 8.1 0 0 0-.511-2.67A5.63 5.63 0 0 0 19.2 1.577a8.1 8.1 0 0 0-2.67-.511C15.362 1.013 14.987 1 12 1m0 5.351a5.65 5.65 0 1 0 0 11.298 5.65 5.65 0 0 0 0-11.298m0 9.316a3.667 3.667 0 1 1 0-7.335 3.667 3.667 0 0 1 0 7.335m7.192-9.539a1.32 1.32 0 1 1-2.64 0 1.32 1.32 0 0 1 2.64 0'/></svg>"
|
|
200
201
|
exports.logoLinkedin = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path d='M22.083 1H1.917C1.367 1 1 1.367 1 1.917v20.166c0 .55.367.917.917.917h20.166c.55 0 .917-.367.917-.917V1.917c0-.55-.367-.917-.917-.917M4.3 19.792V9.25h3.3v10.542zM5.858 7.783c-1.008 0-1.925-.825-1.925-1.925 0-1.008.825-1.925 1.925-1.925 1.009 0 1.925.825 1.925 1.925s-.825 1.925-1.925 1.925m13.934 12.009h-3.3v-5.134c0-1.191 0-2.75-1.65-2.75-1.742 0-1.925 1.284-1.925 2.659v5.225h-3.3V9.25h3.116v1.467c.459-.825 1.467-1.65 3.117-1.65 3.3 0 3.942 2.2 3.942 5.041z'/></svg>"
|
|
202
|
+
exports.logoSnapchat = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path d='M22.594 18.442c.718-.36.307-.564.102-.718-3.847-1.847-4.463-4.72-4.514-4.925-.052-.256-.052-.462.205-.77.308-.256 1.488-.974 1.847-1.23.564-.411.82-.77.615-1.283-.102-.308-.41-.41-.77-.41h-.307c-.616.153-1.18.461-1.539.512-.051.052-.103.052-.154.052-.154 0-.205-.103-.205-.308.051-.667.103-2 0-3.232-.103-1.693-.667-2.514-1.334-3.232C16.232 2.54 14.796 1 11.974 1 9.204 1 7.768 2.539 7.46 2.898c-.667.718-1.231 1.54-1.334 3.232-.154 1.231-.051 2.565 0 3.232 0 .205-.051.308-.256.308h-.103c-.36-.103-.923-.41-1.539-.565H3.92c-.359 0-.667.103-.77.462-.204.462.052.872.616 1.231.36.257 1.54 1.026 1.847 1.283.257.256.257.462.205.718-.051.205-.667 3.078-4.514 4.925-.205.154-.616.359.103.718 1.026.616 1.744.564 2.308.872.462.308.205.975.513 1.231.41.257 1.642-.051 3.232.462 1.334.462 2.155 1.693 4.566 1.693 2.36 0 3.18-1.231 4.514-1.693 1.59-.513 2.822-.205 3.232-.462.308-.256.051-.923.513-1.18.564-.359 1.282-.307 2.308-.923'/></svg>"
|
|
201
203
|
exports.logoTiktok = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path d='M10.341 9.192v3.779a3.29 3.29 0 0 0-4.125 3.047 2.972 2.972 0 0 0 3.178 3.155 2.962 2.962 0 0 0 3.178-3.198V1h3.738c.635 3.955 2.613 4.873 5.261 5.297v3.79a11.27 11.27 0 0 1-5.156-1.742v7.487c0 3.391-2.008 7.168-6.991 7.168a7.026 7.026 0 0 1-6.993-7.204 6.89 6.89 0 0 1 7.91-6.604'/></svg>"
|
|
202
204
|
exports.logoTwitter = "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.945 23-5.55-7.91L3.449 23H.51l8.583-9.769L.509 1h7.546l5.23 7.455L19.84 1h2.939l-8.184 9.317L23.49 23zm3.273-2.23h-1.979L4.718 3.23h1.979l5.015 7.023.867 1.219z'/></svg>"
|
|
203
205
|
exports.logoTwitterX = "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.945 23-5.55-7.91L3.448 23H.51l8.582-9.769L.51 1h7.546l5.23 7.455L19.84 1h2.939l-8.184 9.317L23.49 23zm3.273-2.23h-1.979L4.718 3.23h1.978l5.015 7.023.868 1.219z'/></svg>"
|
|
@@ -305,6 +307,9 @@ exports.thumbDownFilled = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org
|
|
|
305
307
|
exports.thumbUp = "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='M9.87 2.082A1.82 1.82 0 0 1 11.533 1 3.466 3.466 0 0 1 15 4.466V8h3.503a4 4 0 0 1 3.954 4.608l-1.077 7A4 4 0 0 1 17.426 23H4a3 3 0 0 1-3-3v-7a3 3 0 0 1 3-3h2.35zM8 21h9.426a2 2 0 0 0 1.977-1.696l1.077-7A2 2 0 0 0 18.503 10H15a2 2 0 0 1-2-2V4.466c0-.771-.596-1.404-1.352-1.462l-3.47 7.808a2 2 0 0 1-.178.319zm-2-9v9H4a1 1 0 0 1-1-1v-7a1 1 0 0 1 1-1z'/></svg>"
|
|
306
308
|
exports.thumbUpFilled = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path d='M11.534 1c-.72 0-1.372.424-1.665 1.082L6.51 9.644a7 7 0 0 1-.16.344l-.003.006H6.34a7 7 0 0 1-.38.006h-.799c-.527 0-.981 0-1.356.03-.395.033-.789.104-1.167.297a3 3 0 0 0-1.311 1.311c-.193.378-.264.772-.296 1.167C1 13.18 1 13.635 1 14.161v4.678c0 .527 0 .982.03 1.356.033.395.104.789.297 1.167a3 3 0 0 0 1.311 1.311c.378.193.772.264 1.167.296.375.031.83.031 1.356.031A.84.84 0 0 0 6 22.161V14a1 1 0 1 1 2 0v7.4c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C8.76 23 9.04 23 9.6 23h6.32c.698 0 1.278 0 1.756-.036.498-.038.958-.12 1.401-.32a4 4 0 0 0 1.7-1.458c.265-.408.416-.85.529-1.337.108-.466.197-1.04.303-1.73l.535-3.481c.141-.915.257-1.665.297-2.278.043-.631.015-1.22-.2-1.785a4 4 0 0 0-1.76-2.052c-.526-.299-1.105-.416-1.735-.47C18.135 8 17.376 8 16.45 8h-.85c-.296 0-.459 0-.575-.01l-.014-.001v-.014A8 8 0 0 1 15 7.4V4.466A3.466 3.466 0 0 0 11.534 1'/></svg>"
|
|
307
309
|
exports.trash = "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.162 1h1.676c.528 0 .982 0 1.357.03.395.033.789.104 1.167.297a3 3 0 0 1 1.311 1.311c.193.378.264.772.296 1.167.028.336.03.736.031 1.195h4a1 1 0 1 1 0 2h-1v10.241c0 .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.044H9.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.564C4 18.71 4 18.046 4 17.242V7H3a1 1 0 1 1 0-2h4c0-.459.003-.86.03-1.195.033-.395.104-.789.297-1.167a3 3 0 0 1 1.311-1.311c.378-.193.772-.264 1.167-.296C10.18 1 10.635 1 11.162 1M6 7v10.2c0 .857 0 1.439.038 1.889.035.438.1.663.18.819a2 2 0 0 0 .874.874c.156.08.38.145.819.18C8.361 21 8.943 21 9.8 21h4.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.889V7zm9-2H9c0-.465.004-.783.024-1.032.022-.272.06-.373.085-.422a1 1 0 0 1 .437-.437c.05-.025.15-.063.422-.085C10.25 3 10.623 3 11.2 3h1.6c.577 0 .949 0 1.232.024.272.022.373.06.422.085a1 1 0 0 1 .437.437c.025.05.063.15.085.422.02.249.023.567.024 1.032m-5 5.5a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0v-5a1 1 0 0 1 1-1m4 0a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0v-5a1 1 0 0 1 1-1'/></svg>"
|
|
310
|
+
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>"
|
|
311
|
+
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>"
|
|
312
|
+
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>"
|
|
308
313
|
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>"
|
|
309
314
|
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>"
|
|
310
315
|
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.
|
|
1
|
+
/* pds-icons v8.13.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>"
|
|
@@ -133,6 +133,7 @@ export const fileAdd = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/20
|
|
|
133
133
|
export const fileDownload = "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.759 1H14a1 1 0 0 1 .707.293l6 6A1 1 0 0 1 21 8v9.241c0 .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.044H8.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.564C3 18.71 3 18.046 3 17.242V6.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-.392C7.29 1 7.954 1 8.758 1M6.91 3.038c-.438.035-.663.1-.819.18a2 2 0 0 0-.874.874c-.08.156-.145.38-.18.819C5 5.361 5 5.943 5 6.8v10.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.18C7.361 21 7.943 21 8.8 21h6.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.889V9h-3.432c-.252 0-.498 0-.706-.017a2 2 0 0 1-.77-.2 2 2 0 0 1-.874-.875 2 2 0 0 1-.201-.77C13 6.93 13 6.684 13 6.432V3H8.8c-.857 0-1.439 0-1.889.038M15 4.414 17.586 7H15.6a8 8 0 0 1-.589-.011v-.014A8 8 0 0 1 15 6.4zM12 11a1 1 0 0 1 1 1v3.586l1.293-1.293a1 1 0 0 1 1.414 1.414l-3 3a1 1 0 0 1-1.414 0l-3-3a1 1 0 1 1 1.414-1.414L11 15.586V12a1 1 0 0 1 1-1'/></svg>"
|
|
134
134
|
export const fileLock = "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.759 1H14a1 1 0 0 1 .707.293l6 6A1 1 0 0 1 21 8v9.241c0 .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.044H8.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.564C3 18.71 3 18.046 3 17.242V6.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-.392C7.29 1 7.954 1 8.758 1M6.91 3.038c-.438.035-.663.1-.819.18a2 2 0 0 0-.874.874c-.08.156-.145.38-.18.819C5 5.361 5 5.943 5 6.8v10.4c0 .857 0 1.439.038 1.889.035.438.1.663.18.819a2 2 0 0 0 .874.874c.156.08.38.145.82.18C7.361 21 7.942 21 8.8 21h6.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.889V9h-5a1 1 0 0 1-1-1V3H8.8c-.857 0-1.439 0-1.889.038m8.09 1.376L17.585 7H15zM9.25 12.25a2.75 2.75 0 0 1 5.5 0v.778c.202.024.429.074.657.19a2 2 0 0 1 .874.874c.138.271.182.541.201.77.017.208.017.454.017.706v.864c0 .252 0 .498-.017.706a2 2 0 0 1-.2.77 2 2 0 0 1-.875.874 2 2 0 0 1-.77.201c-.208.017-.454.017-.706.017h-3.864c-.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-.77c-.017-.208-.017-.454-.017-.706v-.864c0-.252 0-.498.017-.706.019-.229.063-.499.201-.77a2 2 0 0 1 .874-.874c.228-.116.456-.166.658-.19zM10.1 15a8 8 0 0 0-.59.011v.014c-.01.116-.01.278-.01.575v.8a8 8 0 0 0 .01.589h.014c.116.01.279.011.575.011h3.8c.297 0 .459 0 .575-.01l.014-.001v-.014c.01-.116.011-.279.011-.575v-.8a8 8 0 0 0-.011-.588l-.014-.002A8 8 0 0 0 13.9 15zm2.65-2h-1.5v-.75a.75.75 0 1 1 1.5 0z'/></svg>"
|
|
135
135
|
export const fileMoney = "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 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12m11-7.5a1 1 0 0 1 1 1V6h.167A3.333 3.333 0 0 1 16.5 9.333a1 1 0 1 1-2 0C14.5 8.597 13.903 8 13.167 8H11a1.5 1.5 0 0 0 0 3h2a3.5 3.5 0 1 1 0 7v.5a1 1 0 1 1-2 0V18h-.167A3.333 3.333 0 0 1 7.5 14.667a1 1 0 1 1 2 0c0 .736.597 1.333 1.333 1.333H13a1.5 1.5 0 0 0 0-3h-2a3.5 3.5 0 1 1 0-7v-.5a1 1 0 0 1 1-1'/></svg>"
|
|
136
|
+
export const fileSearch = "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.759 1h6.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.564C21 5.29 21 5.954 21 6.758V10.5a1 1 0 1 1-2 0V6.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-.18C16.639 3 16.057 3 15.2 3H8.8c-.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.819C5 5.361 5 5.943 5 6.8v10.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.18C7.361 21 7.943 21 8.8 21h2.7a1 1 0 1 1 0 2H8.759c-.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.564C3 18.71 3 18.046 3 17.242V6.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-.392C7.29 1 7.954 1 8.758 1M7 7a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1m0 4a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1m11 4.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M13.5 18a4.5 4.5 0 1 1 8.31 2.396l.897.897a1 1 0 0 1-1.414 1.414l-.897-.897A4.5 4.5 0 0 1 13.5 18M7 15a1 1 0 0 1 1-1h2a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1'/></svg>"
|
|
136
137
|
export const filter = "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='M18 6a2 2 0 1 0 0 4 2 2 0 0 0 0-4m-3.874 1A4.002 4.002 0 0 1 22 8a4 4 0 0 1-7.874 1H3a1 1 0 0 1 0-2zM6 14a2 2 0 1 0 0 4 2 2 0 0 0 0-4m-4 2a4 4 0 0 1 7.874-1H21a1 1 0 1 1 0 2H9.874A4.002 4.002 0 0 1 2 16'/></svg>"
|
|
137
138
|
export const flag = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path d='M2.988 22.012a1 1 0 0 1-1-1v-17.5a2 2 0 0 1 0-.23 2 2 0 0 1 .19-.68 2 2 0 0 1 .9-.84 3.1 3.1 0 0 1 1.51-.22h7.26a3.1 3.1 0 0 1 1.5.22 2 2 0 0 1 .88.87c.197.477.273.996.22 1.51v1.4h5.2a2.17 2.17 0 0 1 1.39.22 1.5 1.5 0 0 1 .62 1 2.1 2.1 0 0 1-.36 1.32l-1.21 2.43 1.31 2.94c.235.39.337.847.29 1.3a1.52 1.52 0 0 1-.63 1 2.1 2.1 0 0 1-1.3.26h-7.67a3.1 3.1 0 0 1-1.51-.25 2 2 0 0 1-.88-.87 3.3 3.3 0 0 1-.21-1.51v-1.4h-5.5v9a1 1 0 0 1-1 1.03m8.5-10v1.4a5 5 0 0 0 0 .65c0-.05.3-.05.58-.05h7.38l-1.22-2.75a1.7 1.7 0 0 1-.17-.5 1.5 1.5 0 0 1 0-.52q.067-.261.19-.5l1.12-2.23h-4.88v1.9a3.1 3.1 0 0 1-.22 1.51 2 2 0 0 1-.88.87c-.473.197-.99.273-1.5.22zm-7.5-2h7.86q.32.02.64 0a1.7 1.7 0 0 1 0-.58v-5.32a5 5 0 0 0 0-.65h-8.5z'/></svg>"
|
|
138
139
|
export const flash = "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.398 1.083a1 1 0 0 1 .594 1.041L13.132 9h6.196c.24 0 .485 0 .684.018.189.017.55.062.863.315a1.5 1.5 0 0 1 .557 1.19c-.006.402-.202.709-.31.864-.114.165-.27.353-.424.538l-8.93 10.715a1 1 0 0 1-1.76-.764l.86-6.876H4.671c-.24 0-.485 0-.684-.018-.189-.017-.55-.062-.863-.315a1.5 1.5 0 0 1-.557-1.19c.006-.402.202-.709.31-.864.114-.165.27-.353.424-.538l.023-.027L12.232 1.36a1 1 0 0 1 1.166-.277M5.135 13H12a1 1 0 0 1 .992 1.124l-.577 4.615L18.865 11H12a1 1 0 0 1-.992-1.124l.577-4.616z'/></svg>"
|
|
@@ -198,6 +199,7 @@ export const logoFacebook = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.o
|
|
|
198
199
|
export const logoFacebookRound = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path d='M23 12.066a11 11 0 1 0-12.719 10.867v-7.687H7.488v-3.18h2.793V9.643c0-2.757 1.643-4.28 4.155-4.28a17 17 0 0 1 2.463.214v2.708H15.51a1.59 1.59 0 0 0-1.792 1.719v2.062h3.048l-.488 3.18h-2.567v7.687A11 11 0 0 0 23 12.066'/></svg>"
|
|
199
200
|
export const logoInstagram = "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 2.982c2.937 0 3.285.011 4.445.064a6.1 6.1 0 0 1 2.042.379 3.4 3.4 0 0 1 1.265.823 3.4 3.4 0 0 1 .823 1.265 6.1 6.1 0 0 1 .379 2.042c.053 1.16.064 1.508.064 4.445s-.011 3.285-.064 4.445a6.1 6.1 0 0 1-.379 2.042 3.64 3.64 0 0 1-2.088 2.088 6.1 6.1 0 0 1-2.042.379c-1.16.053-1.508.064-4.445.064s-3.285-.011-4.445-.064a6.1 6.1 0 0 1-2.042-.379 3.4 3.4 0 0 1-1.265-.823 3.4 3.4 0 0 1-.823-1.265 6.1 6.1 0 0 1-.379-2.042c-.053-1.16-.064-1.508-.064-4.445s.011-3.285.064-4.445a6.1 6.1 0 0 1 .379-2.042 3.4 3.4 0 0 1 .823-1.265 3.4 3.4 0 0 1 1.265-.823 6.1 6.1 0 0 1 2.042-.379c1.16-.053 1.508-.064 4.445-.064M12 1c-2.987 0-3.362.013-4.535.066a8.1 8.1 0 0 0-2.67.511A5.63 5.63 0 0 0 1.577 4.8a8.1 8.1 0 0 0-.511 2.67C1.013 8.638 1 9.013 1 12s.013 3.362.066 4.535c.019.912.192 1.815.511 2.67A5.63 5.63 0 0 0 4.8 22.423c.855.32 1.758.492 2.67.511C8.638 22.987 9.013 23 12 23s3.362-.013 4.535-.066a8.1 8.1 0 0 0 2.67-.511 5.63 5.63 0 0 0 3.218-3.223c.32-.855.492-1.758.511-2.67.053-1.168.066-1.543.066-4.53s-.013-3.362-.066-4.535a8.1 8.1 0 0 0-.511-2.67A5.63 5.63 0 0 0 19.2 1.577a8.1 8.1 0 0 0-2.67-.511C15.362 1.013 14.987 1 12 1m0 5.351a5.65 5.65 0 1 0 0 11.298 5.65 5.65 0 0 0 0-11.298m0 9.316a3.667 3.667 0 1 1 0-7.335 3.667 3.667 0 0 1 0 7.335m7.192-9.539a1.32 1.32 0 1 1-2.64 0 1.32 1.32 0 0 1 2.64 0'/></svg>"
|
|
200
201
|
export const logoLinkedin = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path d='M22.083 1H1.917C1.367 1 1 1.367 1 1.917v20.166c0 .55.367.917.917.917h20.166c.55 0 .917-.367.917-.917V1.917c0-.55-.367-.917-.917-.917M4.3 19.792V9.25h3.3v10.542zM5.858 7.783c-1.008 0-1.925-.825-1.925-1.925 0-1.008.825-1.925 1.925-1.925 1.009 0 1.925.825 1.925 1.925s-.825 1.925-1.925 1.925m13.934 12.009h-3.3v-5.134c0-1.191 0-2.75-1.65-2.75-1.742 0-1.925 1.284-1.925 2.659v5.225h-3.3V9.25h3.116v1.467c.459-.825 1.467-1.65 3.117-1.65 3.3 0 3.942 2.2 3.942 5.041z'/></svg>"
|
|
202
|
+
export const logoSnapchat = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path d='M22.594 18.442c.718-.36.307-.564.102-.718-3.847-1.847-4.463-4.72-4.514-4.925-.052-.256-.052-.462.205-.77.308-.256 1.488-.974 1.847-1.23.564-.411.82-.77.615-1.283-.102-.308-.41-.41-.77-.41h-.307c-.616.153-1.18.461-1.539.512-.051.052-.103.052-.154.052-.154 0-.205-.103-.205-.308.051-.667.103-2 0-3.232-.103-1.693-.667-2.514-1.334-3.232C16.232 2.54 14.796 1 11.974 1 9.204 1 7.768 2.539 7.46 2.898c-.667.718-1.231 1.54-1.334 3.232-.154 1.231-.051 2.565 0 3.232 0 .205-.051.308-.256.308h-.103c-.36-.103-.923-.41-1.539-.565H3.92c-.359 0-.667.103-.77.462-.204.462.052.872.616 1.231.36.257 1.54 1.026 1.847 1.283.257.256.257.462.205.718-.051.205-.667 3.078-4.514 4.925-.205.154-.616.359.103.718 1.026.616 1.744.564 2.308.872.462.308.205.975.513 1.231.41.257 1.642-.051 3.232.462 1.334.462 2.155 1.693 4.566 1.693 2.36 0 3.18-1.231 4.514-1.693 1.59-.513 2.822-.205 3.232-.462.308-.256.051-.923.513-1.18.564-.359 1.282-.307 2.308-.923'/></svg>"
|
|
201
203
|
export const logoTiktok = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path d='M10.341 9.192v3.779a3.29 3.29 0 0 0-4.125 3.047 2.972 2.972 0 0 0 3.178 3.155 2.962 2.962 0 0 0 3.178-3.198V1h3.738c.635 3.955 2.613 4.873 5.261 5.297v3.79a11.27 11.27 0 0 1-5.156-1.742v7.487c0 3.391-2.008 7.168-6.991 7.168a7.026 7.026 0 0 1-6.993-7.204 6.89 6.89 0 0 1 7.91-6.604'/></svg>"
|
|
202
204
|
export const logoTwitter = "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.945 23-5.55-7.91L3.449 23H.51l8.583-9.769L.509 1h7.546l5.23 7.455L19.84 1h2.939l-8.184 9.317L23.49 23zm3.273-2.23h-1.979L4.718 3.23h1.979l5.015 7.023.867 1.219z'/></svg>"
|
|
203
205
|
export const logoTwitterX = "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.945 23-5.55-7.91L3.448 23H.51l8.582-9.769L.51 1h7.546l5.23 7.455L19.84 1h2.939l-8.184 9.317L23.49 23zm3.273-2.23h-1.979L4.718 3.23h1.978l5.015 7.023.868 1.219z'/></svg>"
|
|
@@ -305,6 +307,9 @@ export const thumbDownFilled = "data:image/svg+xml;utf8,<svg xmlns='http://www.w
|
|
|
305
307
|
export const thumbUp = "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='M9.87 2.082A1.82 1.82 0 0 1 11.533 1 3.466 3.466 0 0 1 15 4.466V8h3.503a4 4 0 0 1 3.954 4.608l-1.077 7A4 4 0 0 1 17.426 23H4a3 3 0 0 1-3-3v-7a3 3 0 0 1 3-3h2.35zM8 21h9.426a2 2 0 0 0 1.977-1.696l1.077-7A2 2 0 0 0 18.503 10H15a2 2 0 0 1-2-2V4.466c0-.771-.596-1.404-1.352-1.462l-3.47 7.808a2 2 0 0 1-.178.319zm-2-9v9H4a1 1 0 0 1-1-1v-7a1 1 0 0 1 1-1z'/></svg>"
|
|
306
308
|
export const thumbUpFilled = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path d='M11.534 1c-.72 0-1.372.424-1.665 1.082L6.51 9.644a7 7 0 0 1-.16.344l-.003.006H6.34a7 7 0 0 1-.38.006h-.799c-.527 0-.981 0-1.356.03-.395.033-.789.104-1.167.297a3 3 0 0 0-1.311 1.311c-.193.378-.264.772-.296 1.167C1 13.18 1 13.635 1 14.161v4.678c0 .527 0 .982.03 1.356.033.395.104.789.297 1.167a3 3 0 0 0 1.311 1.311c.378.193.772.264 1.167.296.375.031.83.031 1.356.031A.84.84 0 0 0 6 22.161V14a1 1 0 1 1 2 0v7.4c0 .56 0 .84.109 1.054a1 1 0 0 0 .437.437C8.76 23 9.04 23 9.6 23h6.32c.698 0 1.278 0 1.756-.036.498-.038.958-.12 1.401-.32a4 4 0 0 0 1.7-1.458c.265-.408.416-.85.529-1.337.108-.466.197-1.04.303-1.73l.535-3.481c.141-.915.257-1.665.297-2.278.043-.631.015-1.22-.2-1.785a4 4 0 0 0-1.76-2.052c-.526-.299-1.105-.416-1.735-.47C18.135 8 17.376 8 16.45 8h-.85c-.296 0-.459 0-.575-.01l-.014-.001v-.014A8 8 0 0 1 15 7.4V4.466A3.466 3.466 0 0 0 11.534 1'/></svg>"
|
|
307
309
|
export const trash = "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.162 1h1.676c.528 0 .982 0 1.357.03.395.033.789.104 1.167.297a3 3 0 0 1 1.311 1.311c.193.378.264.772.296 1.167.028.336.03.736.031 1.195h4a1 1 0 1 1 0 2h-1v10.241c0 .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.044H9.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.564C4 18.71 4 18.046 4 17.242V7H3a1 1 0 1 1 0-2h4c0-.459.003-.86.03-1.195.033-.395.104-.789.297-1.167a3 3 0 0 1 1.311-1.311c.378-.193.772-.264 1.167-.296C10.18 1 10.635 1 11.162 1M6 7v10.2c0 .857 0 1.439.038 1.889.035.438.1.663.18.819a2 2 0 0 0 .874.874c.156.08.38.145.819.18C8.361 21 8.943 21 9.8 21h4.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.889V7zm9-2H9c0-.465.004-.783.024-1.032.022-.272.06-.373.085-.422a1 1 0 0 1 .437-.437c.05-.025.15-.063.422-.085C10.25 3 10.623 3 11.2 3h1.6c.577 0 .949 0 1.232.024.272.022.373.06.422.085a1 1 0 0 1 .437.437c.025.05.063.15.085.422.02.249.023.567.024 1.032m-5 5.5a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0v-5a1 1 0 0 1 1-1m4 0a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0v-5a1 1 0 0 1 1-1'/></svg>"
|
|
310
|
+
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>"
|
|
311
|
+
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>"
|
|
312
|
+
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>"
|
|
308
313
|
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>"
|
|
309
314
|
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>"
|
|
310
315
|
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>"
|
package/icons/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,2 +0,0 @@
|
|
|
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 asssets from jsDelivr CDN.\n\n It's recommended that you bundle Pine Assets with your application and setting the path accordingly.\n\nFor more information you read the documentation: \nhttps://pine-design-system.netlify.app/?path=/docs/resources-assets--docs\n `)}let c=t;if(t.startsWith("./")){c=t.substring(2)}if(!r.endsWith("/")){c="/"+c}return r+c};let e;const s=n=>{const t=o();Object.keys(n).forEach((e=>t.set(e,n[e])))};const o=()=>{if(typeof window==="undefined"){return new Map}else{if(!e){const n=window;n.PdsIcons=n.PdsIcons||{};e=n.PdsIcons.map=n.PdsIcons.map||new Map}return e}};const i=(n,t)=>{if(!n&&t&&!a(t)){n=t}if(d(n)){n=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(a(n)){return n}}return null};const u=n=>{let t=c(n.src);if(t){return t}t=i(n.name,n.icon);if(t){return r(t)}if(n.icon){t=c(n.icon);if(t){return t}}return null};const a=n=>n.length>0&&/(\/|\.)/.test(n);const d=n=>typeof n==="string";const 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,u as g,d as i};
|
|
2
|
-
//# sourceMappingURL=p-21d81506.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["missingAssetPathWarning","getAssetPath","path","metaPineAssetPath","_a","document","head","querySelector","dataset","pineAssetPath","windowAssetPath","window","__PINE_ASSET_PATH__","cdnAssetPath","assetBasePath","startsWith","console","warn","assetPath","substring","endsWith","CACHED_MAP","addIcons","icons","map","getIconMap","Object","keys","forEach","name","set","Map","win","PdsIcons","getName","iconName","icon","isSrc","isStr","toLower","trim","invalidChars","replace","getNamedUrl","url","get","getSrc","src","getUrl","pdsIcon","str","length","test","val","toLowerCase","inheritAttributes","el","attributes","attributeObject","attr","hasAttribute","value","getAttribute","removeAttribute"],"sources":["src/components/pds-icon/assetPath.ts","src/components/pds-icon/utils.ts"],"sourcesContent":["import { Build } from '@stencil/core';\n\nlet missingAssetPathWarning = false;\n\ndeclare global {\n interface Window {\n __PINE_ASSET_PATH__?: string\n }\n}\n\n/**\n *\n * Reads the component asset path config from meta tag or a global variable.\n * This is a temporary workaround until these issues have been addressed:\n *\n * https://github.com/ionic-team/stencil/issues/2826/\n * https://github.com/ionic-team/stencil/issues/3470\n * https://github.com/ionic-team/stencil-ds-output-targets/issues/186\n */\nexport const getAssetPath = (path: string) => {\n const metaPineAssetPath = document.head.querySelector<HTMLMetaElement>('meta[data-pine-asset-path]')?.dataset.pineAssetPath;\n\n // Get the asset path from the window object if available\n const windowAssetPath = window.__PINE_ASSET_PATH__;\n\n // Set the CDN Asset path using the latest version\n const cdnAssetPath = 'https://cdn.jsdelivr.net/npm/@pine-ds/icons/dist/pds-icons/';\n\n const assetBasePath = Build.isTesting ? '/dist/pds-icons' : metaPineAssetPath || windowAssetPath || cdnAssetPath || '/'\n\n // Display a warning if the assets are fetched from the CDN.\n if ( assetBasePath.startsWith('https://cdn.jsdelivr.net/npm/') && !missingAssetPathWarning ) {\n missingAssetPathWarning = true;\n console.warn(`\n Fetching Pine asssets from jsDelivr CDN.\\n\\n It's recommended that you bundle Pine Assets with your application and setting the path accordingly.\\n\\nFor more information you read the documentation: \\nhttps://pine-design-system.netlify.app/?path=/docs/resources-assets--docs\n `)\n }\n\n let assetPath = path;\n\n if ( path.startsWith ('./') ) {\n assetPath = path.substring(2);\n }\n\n if ( !assetBasePath.endsWith('/') ) {\n assetPath = '/' + assetPath;\n }\n\n return assetBasePath + assetPath;\n}\n\n\nexport {};\n","import { getAssetPath } from './assetPath';\n\nimport { PdsIcon } from './pds-icon';\n\nlet CACHED_MAP: Map<string, string>;\n\nexport const addIcons = (icons: { [name: string]: string; }) => {\n const map = getIconMap();\n Object.keys(icons).forEach(name => map.set(name, icons[name]));\n}\n\nexport const getIconMap = (): Map<string, string> => {\n if (typeof window === 'undefined') {\n return new Map();\n } else {\n if (!CACHED_MAP) {\n const win = window as any; // eslint-disable-line @typescript-eslint/no-explicit-any\n win.PdsIcons = win.PdsIcons || {};\n CACHED_MAP = win.PdsIcons.map = win.PdsIcons.map || new Map();\n }\n\n return CACHED_MAP;\n }\n}\n\nexport const getName = (\n iconName: string | undefined,\n icon: string | undefined\n ) => {\n\n if(!iconName && icon && !isSrc(icon)) {\n iconName = icon;\n }\n\n if (isStr(iconName)) {\n iconName = toLower(iconName);\n }\n\n if (!isStr(iconName) || iconName.trim() === '') {\n return null;\n }\n\n const invalidChars = iconName.replace(/[a-z]|-|\\d/gi,'');\n if (invalidChars != '') { return null; }\n\n return iconName;\n}\n\nconst getNamedUrl = (iconName: string) => {\n const url = getIconMap().get(iconName);\n if (url) {\n return url;\n }\n\n return getAssetPath(`svg/${iconName}.svg`);\n};\n\nexport const getSrc = (src: string | undefined) => {\n if (isStr(src)) {\n src = src.trim();\n\n if (isSrc(src)) {\n return src;\n }\n }\n\n return null;\n}\n\nexport const getUrl = (pdsIcon: PdsIcon) => {\n let url = getSrc(pdsIcon.src);\n if (url) {\n return url;\n }\n\n url = getName(pdsIcon.name, pdsIcon.icon);\n if (url) {\n return getNamedUrl(url);\n }\n\n if (pdsIcon.icon) {\n url = getSrc(pdsIcon.icon);\n\n if(url) {\n return url;\n }\n }\n\n return null;\n};\n\n\nexport const isSrc = (str: string) => str.length > 0 && /(\\/|\\.)/.test(str);\nexport const isStr = (val: any): val is string => typeof val === 'string'; // eslint-disable-line @typescript-eslint/no-explicit-any\nexport const toLower = (val: string) => val.toLowerCase();\n\n/**\n * Elements inside of web components sometimes need to inherit global attributes\n * set on the host. For example, the inner input in `ion-input` should inherit\n * the `title` attribute that developers set directly on `ion-input`. This\n * helper function should be called in componentWillLoad and assigned to a variable\n * that is later used in the render function.\n *\n * This does not need to be reactive as changing attributes on the host element\n * does not trigger a re-render.\n */\n export const inheritAttributes = (el: HTMLElement, attributes: string[] = []) => {\n const attributeObject: { [k: string]: any } = {}; // eslint-disable-line @typescript-eslint/no-explicit-any\n\n attributes.forEach(attr => {\n if (el.hasAttribute(attr)) {\n const value = el.getAttribute(attr);\n if (value !== null) {\n attributeObject[attr] = el.getAttribute(attr);\n }\n el.removeAttribute(attr);\n }\n });\n\n return attributeObject;\n}\n"],"mappings":"wBAEA,IAAIA,EAA0B,MAiBvB,MAAMC,EAAgBC,I,MAC3B,MAAMC,GAAoBC,EAAAC,SAASC,KAAKC,cAA+B,iCAA6B,MAAAH,SAAA,SAAAA,EAAEI,QAAQC,cAG9G,MAAMC,EAAkBC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