@symbo.ls/atoms 2.11.406 → 2.11.418

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/Svg.js +1 -0
  2. package/package.json +2 -2
package/Svg.js CHANGED
@@ -17,6 +17,7 @@ export const Svg = {
17
17
  const SVG = designSystem && designSystem.SVG
18
18
  const useSvgSprite = props.spriteId || (context.designSystem && context.designSystem.useSvgSprite)
19
19
 
20
+ if (props.html) return props.html
20
21
  if (!useSvgSprite && props.src) return props.src
21
22
 
22
23
  const useSVGSymbol = icon => `<use xlink:href="#${icon}" />`
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@symbo.ls/atoms",
3
- "version": "2.11.406",
3
+ "version": "2.11.418",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
- "gitHead": "d565ef2fb7ef869266fc1396568545b1a0b57130",
6
+ "gitHead": "95784936b85d53d4f14104ba7246e347fb2c5b01",
7
7
  "dependencies": {
8
8
  "@domql/state": "latest",
9
9
  "@domql/utils": "latest",