@vettvangur/design-system 2.0.15 → 2.0.17

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/dist/index.js +6 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2294,13 +2294,13 @@ function renderEntry(id, entry) {
2294
2294
  const renderMeta = (family, size, line) => {
2295
2295
  const lines = [];
2296
2296
  if (family != null) {
2297
- lines.push(`<div><strong>Font</strong> ${family}</div>`);
2297
+ lines.push(`<div><strong>Font</strong> <span>${family}</span></div>`);
2298
2298
  }
2299
2299
  if (size != null) {
2300
- lines.push(`<div><strong>Size</strong> ${size}px</div>`);
2300
+ lines.push(`<div><strong>Size</strong> <span>${size}px</span></div>`);
2301
2301
  }
2302
2302
  if (line != null) {
2303
- lines.push(`<div><strong>Line height</strong> ${line}px</div>`);
2303
+ lines.push(`<div><strong>Line height</strong> <span>${line}px</span></div>`);
2304
2304
  }
2305
2305
  return lines.join('\n ');
2306
2306
  };
@@ -2311,7 +2311,9 @@ ${renderPreview(id, title)}
2311
2311
  </div>
2312
2312
 
2313
2313
  <div class="ds-type-meta">
2314
- ${renderMeta(defaultFamily, defaultSize, defaultLine)}
2314
+ <div class="ds-type-meta__info">
2315
+ ${renderMeta(defaultFamily, defaultSize, defaultLine)}
2316
+ </div>
2315
2317
  </div>
2316
2318
 
2317
2319
  ${hasDesktopVariant ? `
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vettvangur/design-system",
3
- "version": "2.0.15",
3
+ "version": "2.0.17",
4
4
  "description": "",
5
5
  "access": "public",
6
6
  "type": "module",