@mattilsynet/design 1.0.7 → 1.0.9

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.
@@ -1 +1 @@
1
- {"version":3,"file":"table-observer.js","sources":["../../designsystem/table/table-observer.ts"],"sourcesContent":["import styles from \"../styles.module.css\";\nimport { IS_BROWSER, QUICK_EVENT, attr, on } from \"../utils\";\n\nfunction handleInject(event: Event & { animationName?: string }) {\n if (event.animationName !== styles._onInjectTable) return;\n const table = event.target as HTMLTableElement;\n const ths: string[] = []; // Add data-th=\"\" to each cell to support data-mobile designs\n\n attr(table, \"role\", \"table\"); // Add helping role=\"\" to ensure screen readers understand the table regardless of CSS display\n if (table.caption) attr(table.caption, \"role\", \"caption\");\n for (const group of [table.tHead, table.tFoot, ...table.tBodies])\n if (group) {\n attr(group, \"role\", \"rowgroup\");\n const isTbody = group.nodeName === \"TBODY\";\n\n for (const row of group.rows) {\n attr(row, \"role\", \"row\");\n for (const cell of row.cells) {\n if (isTbody) attr(cell, \"data-th\", ths[cell.cellIndex] || \":empty\");\n else ths.push(cell.innerText.trim()); // Using innerText to only include visible text\n if (cell.nodeName === \"TD\") attr(cell, \"role\", \"cell\");\n else {\n attr(cell, \"role\", isTbody ? \"rowheader\" : \"columnheader\");\n attr(cell, \"scope\", isTbody ? \"row\" : \"col\");\n }\n }\n }\n }\n}\n\nif (IS_BROWSER) {\n on(document, 'animationend', handleInject, QUICK_EVENT);\n}\n"],"names":["handleInject","event","styles","table","ths","attr","group","isTbody","row","cell","IS_BROWSER","on","QUICK_EVENT"],"mappings":";;AAGA,SAASA,EAAaC,GAA2C;AAC3D,MAAAA,EAAM,kBAAkBC,EAAO,eAAgB;AACnD,QAAMC,IAAQF,EAAM,QACdG,IAAgB,CAAC;AAElB,EAAAC,EAAAF,GAAO,QAAQ,OAAO,GACvBA,EAAM,WAASE,EAAKF,EAAM,SAAS,QAAQ,SAAS;AAC7C,aAAAG,KAAS,CAACH,EAAM,OAAOA,EAAM,OAAO,GAAGA,EAAM,OAAO;AAC7D,QAAIG,GAAO;AACJ,MAAAD,EAAAC,GAAO,QAAQ,UAAU;AACxB,YAAAC,IAAUD,EAAM,aAAa;AAExB,iBAAAE,KAAOF,EAAM,MAAM;AACvB,QAAAD,EAAAG,GAAK,QAAQ,KAAK;AACZ,mBAAAC,KAAQD,EAAI;AACjB,UAAAD,MAAcE,GAAM,WAAWL,EAAIK,EAAK,SAAS,KAAK,QAAQ,IACzDL,EAAA,KAAKK,EAAK,UAAU,MAAM,GAC/BA,EAAK,aAAa,OAAWJ,EAAAI,GAAM,QAAQ,MAAM,KAEnDJ,EAAKI,GAAM,QAAQF,IAAU,cAAc,cAAc,GACzDF,EAAKI,GAAM,SAASF,IAAU,QAAQ,KAAK;AAAA,MAE/C;AAAA,IACF;AAEN;AAEIG,KACCC,EAAA,UAAU,gBAAgBX,GAAcY,CAAW;"}
1
+ {"version":3,"file":"table-observer.js","sources":["../../designsystem/table/table-observer.ts"],"sourcesContent":["import styles from \"../styles.module.css\";\nimport { IS_BROWSER, QUICK_EVENT, attr, on } from \"../utils\";\n\nfunction handleInject(event: Event & { animationName?: string }) {\n if (event.animationName !== styles._onInjectTable) return;\n const table = event.target as HTMLTableElement;\n const ths: string[] = []; // Add data-th=\"\" to each cell to support data-mobile designs\n\n attr(table, \"role\", \"table\"); // Add helping role=\"\" to ensure screen readers understand the table regardless of CSS display\n if (table.caption) attr(table.caption, \"role\", \"caption\");\n for (const group of [table.tHead, table.tFoot, ...table.tBodies])\n if (group) {\n attr(group, \"role\", \"rowgroup\");\n const isTbody = group.nodeName === \"TBODY\";\n\n for (const row of group.rows) {\n attr(row, \"role\", \"row\");\n for (const cell of row.cells) {\n if (isTbody) attr(cell, \"data-th\", ths[cell.cellIndex] || \":empty\");\n else ths.push(cell.innerText.trim()); // Using innerText to only include visible text\n if (cell.nodeName === \"TD\") attr(cell, \"role\", \"cell\");\n else {\n attr(cell, \"role\", isTbody ? \"rowheader\" : \"columnheader\");\n attr(cell, \"scope\", isTbody ? \"row\" : \"col\");\n }\n }\n }\n }\n}\n\nif (IS_BROWSER)\n on(document, 'animationend', handleInject, QUICK_EVENT);\n"],"names":["handleInject","event","styles","table","ths","attr","group","isTbody","row","cell","IS_BROWSER","on","QUICK_EVENT"],"mappings":";;AAGA,SAASA,EAAaC,GAA2C;AAC3D,MAAAA,EAAM,kBAAkBC,EAAO,eAAgB;AACnD,QAAMC,IAAQF,EAAM,QACdG,IAAgB,CAAC;AAElB,EAAAC,EAAAF,GAAO,QAAQ,OAAO,GACvBA,EAAM,WAASE,EAAKF,EAAM,SAAS,QAAQ,SAAS;AAC7C,aAAAG,KAAS,CAACH,EAAM,OAAOA,EAAM,OAAO,GAAGA,EAAM,OAAO;AAC7D,QAAIG,GAAO;AACJ,MAAAD,EAAAC,GAAO,QAAQ,UAAU;AACxB,YAAAC,IAAUD,EAAM,aAAa;AAExB,iBAAAE,KAAOF,EAAM,MAAM;AACvB,QAAAD,EAAAG,GAAK,QAAQ,KAAK;AACZ,mBAAAC,KAAQD,EAAI;AACjB,UAAAD,MAAcE,GAAM,WAAWL,EAAIK,EAAK,SAAS,KAAK,QAAQ,IACzDL,EAAA,KAAKK,EAAK,UAAU,MAAM,GAC/BA,EAAK,aAAa,OAAWJ,EAAAI,GAAM,QAAQ,MAAM,KAEnDJ,EAAKI,GAAM,QAAQF,IAAU,cAAc,cAAc,GACzDF,EAAKI,GAAM,SAASF,IAAU,QAAQ,KAAK;AAAA,MAE/C;AAAA,IACF;AAEN;AAEIG,KACCC,EAAA,UAAU,gBAAgBX,GAAcY,CAAW;"}
@@ -1,15 +1,15 @@
1
1
  import O from "../styles.module.css.js";
2
- import { on as u, QUICK_EVENT as c, attr as s, anchorPosition as T } from "../utils.js";
3
- const b = "aria-describedby", f = "Escape", d = "aria-labelledby", y = "--mtds-tooltip-position", P = 300, a = "mtds-tooltip";
2
+ import { IS_BROWSER as S, on as a, QUICK_EVENT as u, attr as s, anchorPosition as T } from "../utils.js";
3
+ const b = "aria-describedby", f = "Escape", d = "aria-labelledby", _ = "--mtds-tooltip-position", y = 300, m = "mtds-tooltip";
4
4
  let o = null, L = Number.NEGATIVE_INFINITY, E = 0, i = null;
5
- const _ = () => Object.assign(document.createElement("div"), {
5
+ const P = () => Object.assign(document.createElement("div"), {
6
6
  className: O._tooltip,
7
- id: a,
7
+ id: m,
8
8
  popover: "manual"
9
9
  });
10
- function m({ target: e, type: t, key: n }) {
10
+ function c({ target: e, type: t, key: n }) {
11
11
  if (t === "keydown" && n !== f) return;
12
- const l = L + P - Date.now();
12
+ const l = L + y - Date.now();
13
13
  clearTimeout(E), E = setTimeout(
14
14
  v,
15
15
  Math.max(l, 0),
@@ -18,15 +18,13 @@ function m({ target: e, type: t, key: n }) {
18
18
  }
19
19
  function v(e) {
20
20
  var r, p;
21
- if (L = Date.now(), i || (i = document.body.appendChild(_())), e === i) return;
21
+ if (L = Date.now(), i || (i = document.body.appendChild(P())), e === i) return;
22
22
  let t = ((r = e == null ? void 0 : e.closest) == null ? void 0 : r.call(e, "[data-tooltip]")) || null;
23
23
  if (t === o) return;
24
- const n = t && s(t, "data-tooltip") || "", l = t && s(t, "data-tooltip-position") || ((p = window.getComputedStyle(t || document.body).getPropertyValue(y)) == null ? void 0 : p.trim()) || "top";
24
+ const n = t && s(t, "data-tooltip") || "", l = t && s(t, "data-tooltip-position") || ((p = window.getComputedStyle(t || document.body).getPropertyValue(_)) == null ? void 0 : p.trim()) || "top";
25
25
  (!n || n === "false" || n === "true" || l === "none") && (t = null), t && (i.textContent = n);
26
- const w = o && s(o, d) === a, I = !!(t != null && t.innerText.trim()) || (t == null ? void 0 : t.hasAttribute(d)) || (t == null ? void 0 : t.hasAttribute("aria-label"));
27
- o == null || o.removeAttribute(w ? d : b), T(i, !1), o = t, o && s(o, I ? b : d, a), i.togglePopover(!!t), T(i, t || !1, l);
26
+ const I = o && s(o, d) === m, w = !!(t != null && t.innerText.trim()) || (t == null ? void 0 : t.hasAttribute(d)) || (t == null ? void 0 : t.hasAttribute("aria-label"));
27
+ o == null || o.removeAttribute(I ? d : b), T(i, !1), o = t, o && s(o, w ? b : d, m), i.togglePopover(!!t), T(i, t || !1, l);
28
28
  }
29
- u(document, "blur,focus,mouseout,mouseover", m, c);
30
- u(window, "keydown", m, c);
31
- u(window, "blur", m, c);
29
+ S && (a(document, "blur,focus,mouseout,mouseover", c, u), a(window, "keydown", c, u), a(window, "blur", c, u));
32
30
  //# sourceMappingURL=tooltip-observer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip-observer.js","sources":["../../designsystem/tooltip/tooltip-observer.ts"],"sourcesContent":["import styles from \"../styles.module.css\";\nimport { QUICK_EVENT, anchorPosition, attr, on } from \"../utils\";\n\nconst DESCRIBEDBY = \"aria-describedby\";\nconst ESC = \"Escape\";\nconst LABELLEDBY = \"aria-labelledby\";\nconst POSITION_CSS_PROPERTY = \"--mtds-tooltip-position\";\nconst THROTTLE_DELAY = 300;\nconst TOOLTIP_ID = \"mtds-tooltip\";\n\nlet ANCHOR: HTMLElement | null = null;\nlet LAST_CALL = Number.NEGATIVE_INFINITY;\nlet THROTTLE: number | ReturnType<typeof setTimeout> = 0;\nlet TOOLTIP: HTMLElement | null = null;\n\nconst createTooltip = () =>\n Object.assign(document.createElement(\"div\"), {\n className: styles._tooltip,\n id: TOOLTIP_ID,\n popover: 'manual',\n });\n\nfunction handleMove({ target, type, key }: Event & { key?: string }) {\n if (type === \"keydown\" && key !== ESC) return; // Allow ESC dismiss to follow https://www.w3.org/WAI/ARIA/apg/patterns/tooltip/\n const wait = LAST_CALL + THROTTLE_DELAY - Date.now();\n clearTimeout(THROTTLE);\n THROTTLE = setTimeout(\n handleMoveThrottled,\n Math.max(wait, 0),\n key === ESC ? null : target\n );\n}\n\n// Using a throttled function to avoid performance issues\nfunction handleMoveThrottled(target: Element | null) {\n LAST_CALL = Date.now();\n\n if (!TOOLTIP) TOOLTIP = document.body.appendChild(createTooltip());\n if (target === TOOLTIP) return; // Allow tooltip to be hovered, following https://www.w3.org/TR/WCAG21/#content-on-hover-or-focus\n let anchor = target?.closest?.<HTMLElement>(\"[data-tooltip]\") || null;\n\n // No need to update\n if (anchor === ANCHOR) return;\n\n const content = (anchor && attr(anchor, \"data-tooltip\")) || \"\";\n const position =\n (anchor && attr(anchor, \"data-tooltip-position\")) ||\n window\n .getComputedStyle(anchor || document.body)\n .getPropertyValue(POSITION_CSS_PROPERTY)?.trim() ||\n \"top\";\n\n const isHidden =\n !content ||\n content === \"false\" ||\n content === \"true\" ||\n position === \"none\";\n\n if (isHidden) anchor = null; // Do not show tooltip if boolish value\n if (anchor) TOOLTIP.textContent = content; // Only update content if new anchor\n\n const hadLabel = ANCHOR && attr(ANCHOR, LABELLEDBY) === TOOLTIP_ID;\n const hasLabel =\n Boolean(anchor?.innerText.trim()) ||\n anchor?.hasAttribute(LABELLEDBY) ||\n anchor?.hasAttribute(\"aria-label\");\n\n ANCHOR?.removeAttribute(hadLabel ? LABELLEDBY : DESCRIBEDBY); // Unlink previous anchor\n anchorPosition(TOOLTIP, false); // Reset anchor position\n\n ANCHOR = anchor; // Store new anchor - might be null if no new anchor\n if (ANCHOR) attr(ANCHOR, hasLabel ? DESCRIBEDBY : LABELLEDBY, TOOLTIP_ID); // Use tooltip as description if allready has label\n TOOLTIP.togglePopover(!!anchor);\n anchorPosition(TOOLTIP, anchor || false, position);\n}\n\non(document, \"blur,focus,mouseout,mouseover\", handleMove, QUICK_EVENT);\non(window, \"keydown\", handleMove, QUICK_EVENT);\non(window, \"blur\", handleMove, QUICK_EVENT);\n"],"names":["DESCRIBEDBY","ESC","LABELLEDBY","POSITION_CSS_PROPERTY","THROTTLE_DELAY","TOOLTIP_ID","ANCHOR","LAST_CALL","THROTTLE","TOOLTIP","createTooltip","styles","handleMove","target","type","key","wait","handleMoveThrottled","anchor","_a","content","attr","position","_b","hadLabel","hasLabel","anchorPosition","on","QUICK_EVENT"],"mappings":";;AAGA,MAAMA,IAAc,oBACdC,IAAM,UACNC,IAAa,mBACbC,IAAwB,2BACxBC,IAAiB,KACjBC,IAAa;AAEnB,IAAIC,IAA6B,MAC7BC,IAAY,OAAO,mBACnBC,IAAmD,GACnDC,IAA8B;AAElC,MAAMC,IAAgB,MACpB,OAAO,OAAO,SAAS,cAAc,KAAK,GAAG;AAAA,EAC3C,WAAWC,EAAO;AAAA,EAClB,IAAIN;AAAA,EACJ,SAAS;AACX,CAAC;AAEH,SAASO,EAAW,EAAE,QAAAC,GAAQ,MAAAC,GAAM,KAAAC,KAAiC;AAC/D,MAAAD,MAAS,aAAaC,MAAQd,EAAK;AACvC,QAAMe,IAAOT,IAAYH,IAAiB,KAAK,IAAI;AACnD,eAAaI,CAAQ,GACVA,IAAA;AAAA,IACTS;AAAA,IACA,KAAK,IAAID,GAAM,CAAC;AAAA,IAChBD,MAAQd,IAAM,OAAOY;AAAA,EACvB;AACF;AAGA,SAASI,EAAoBJ,GAAwB;;AAInD,MAHAN,IAAY,KAAK,IAAI,GAEhBE,MAASA,IAAU,SAAS,KAAK,YAAYC,GAAe,IAC7DG,MAAWJ,EAAS;AACxB,MAAIS,MAASC,IAAAN,KAAA,gBAAAA,EAAQ,YAAR,gBAAAM,EAAA,KAAAN,GAA+B,sBAAqB;AAGjE,MAAIK,MAAWZ,EAAQ;AAEvB,QAAMc,IAAWF,KAAUG,EAAKH,GAAQ,cAAc,KAAM,IACtDI,IACHJ,KAAUG,EAAKH,GAAQ,uBAAuB,OAC/CK,IAAA,OACG,iBAAiBL,KAAU,SAAS,IAAI,EACxC,iBAAiBf,CAAqB,MAFzC,gBAAAoB,EAE4C,WAC5C;AAQF,GALE,CAACH,KACDA,MAAY,WACZA,MAAY,UACZE,MAAa,YAEQJ,IAAA,OACnBA,QAAgB,cAAcE;AAElC,QAAMI,IAAWlB,KAAUe,EAAKf,GAAQJ,CAAU,MAAMG,GAClDoB,IACJ,GAAQP,KAAA,QAAAA,EAAQ,UAAU,YAC1BA,KAAA,gBAAAA,EAAQ,aAAahB,QACrBgB,KAAA,gBAAAA,EAAQ,aAAa;AAEf,EAAAZ,KAAA,QAAAA,EAAA,gBAAgBkB,IAAWtB,IAAaF,IAChD0B,EAAejB,GAAS,EAAK,GAEpBH,IAAAY,GACLZ,KAAae,EAAAf,GAAQmB,IAAWzB,IAAcE,GAAYG,CAAU,GAChEI,EAAA,cAAc,CAAC,CAACS,CAAM,GACfQ,EAAAjB,GAASS,KAAU,IAAOI,CAAQ;AACnD;AAEAK,EAAG,UAAU,iCAAiCf,GAAYgB,CAAW;AACrED,EAAG,QAAQ,WAAWf,GAAYgB,CAAW;AAC7CD,EAAG,QAAQ,QAAQf,GAAYgB,CAAW;"}
1
+ {"version":3,"file":"tooltip-observer.js","sources":["../../designsystem/tooltip/tooltip-observer.ts"],"sourcesContent":["import styles from \"../styles.module.css\";\nimport { IS_BROWSER, QUICK_EVENT, anchorPosition, attr, on } from \"../utils\";\n\nconst DESCRIBEDBY = \"aria-describedby\";\nconst ESC = \"Escape\";\nconst LABELLEDBY = \"aria-labelledby\";\nconst POSITION_CSS_PROPERTY = \"--mtds-tooltip-position\";\nconst THROTTLE_DELAY = 300;\nconst TOOLTIP_ID = \"mtds-tooltip\";\n\nlet ANCHOR: HTMLElement | null = null;\nlet LAST_CALL = Number.NEGATIVE_INFINITY;\nlet THROTTLE: number | ReturnType<typeof setTimeout> = 0;\nlet TOOLTIP: HTMLElement | null = null;\n\nconst createTooltip = () =>\n Object.assign(document.createElement(\"div\"), {\n className: styles._tooltip,\n id: TOOLTIP_ID,\n popover: 'manual',\n });\n\nfunction handleMove({ target, type, key }: Event & { key?: string }) {\n if (type === \"keydown\" && key !== ESC) return; // Allow ESC dismiss to follow https://www.w3.org/WAI/ARIA/apg/patterns/tooltip/\n const wait = LAST_CALL + THROTTLE_DELAY - Date.now();\n clearTimeout(THROTTLE);\n THROTTLE = setTimeout(\n handleMoveThrottled,\n Math.max(wait, 0),\n key === ESC ? null : target\n );\n}\n\n// Using a throttled function to avoid performance issues\nfunction handleMoveThrottled(target: Element | null) {\n LAST_CALL = Date.now();\n\n if (!TOOLTIP) TOOLTIP = document.body.appendChild(createTooltip());\n if (target === TOOLTIP) return; // Allow tooltip to be hovered, following https://www.w3.org/TR/WCAG21/#content-on-hover-or-focus\n let anchor = target?.closest?.<HTMLElement>(\"[data-tooltip]\") || null;\n\n // No need to update\n if (anchor === ANCHOR) return;\n\n const content = (anchor && attr(anchor, \"data-tooltip\")) || \"\";\n const position =\n (anchor && attr(anchor, \"data-tooltip-position\")) ||\n window\n .getComputedStyle(anchor || document.body)\n .getPropertyValue(POSITION_CSS_PROPERTY)?.trim() ||\n \"top\";\n\n const isHidden =\n !content ||\n content === \"false\" ||\n content === \"true\" ||\n position === \"none\";\n\n if (isHidden) anchor = null; // Do not show tooltip if boolish value\n if (anchor) TOOLTIP.textContent = content; // Only update content if new anchor\n\n const hadLabel = ANCHOR && attr(ANCHOR, LABELLEDBY) === TOOLTIP_ID;\n const hasLabel =\n Boolean(anchor?.innerText.trim()) ||\n anchor?.hasAttribute(LABELLEDBY) ||\n anchor?.hasAttribute(\"aria-label\");\n\n ANCHOR?.removeAttribute(hadLabel ? LABELLEDBY : DESCRIBEDBY); // Unlink previous anchor\n anchorPosition(TOOLTIP, false); // Reset anchor position\n\n ANCHOR = anchor; // Store new anchor - might be null if no new anchor\n if (ANCHOR) attr(ANCHOR, hasLabel ? DESCRIBEDBY : LABELLEDBY, TOOLTIP_ID); // Use tooltip as description if allready has label\n TOOLTIP.togglePopover(!!anchor);\n anchorPosition(TOOLTIP, anchor || false, position);\n}\n\nif (IS_BROWSER) {\n on(document, \"blur,focus,mouseout,mouseover\", handleMove, QUICK_EVENT);\n on(window, \"keydown\", handleMove, QUICK_EVENT);\n on(window, \"blur\", handleMove, QUICK_EVENT);\n}"],"names":["DESCRIBEDBY","ESC","LABELLEDBY","POSITION_CSS_PROPERTY","THROTTLE_DELAY","TOOLTIP_ID","ANCHOR","LAST_CALL","THROTTLE","TOOLTIP","createTooltip","styles","handleMove","target","type","key","wait","handleMoveThrottled","anchor","_a","content","attr","position","_b","hadLabel","hasLabel","anchorPosition","IS_BROWSER","on","QUICK_EVENT"],"mappings":";;AAGA,MAAMA,IAAc,oBACdC,IAAM,UACNC,IAAa,mBACbC,IAAwB,2BACxBC,IAAiB,KACjBC,IAAa;AAEnB,IAAIC,IAA6B,MAC7BC,IAAY,OAAO,mBACnBC,IAAmD,GACnDC,IAA8B;AAElC,MAAMC,IAAgB,MACpB,OAAO,OAAO,SAAS,cAAc,KAAK,GAAG;AAAA,EAC3C,WAAWC,EAAO;AAAA,EAClB,IAAIN;AAAA,EACJ,SAAS;AACX,CAAC;AAEH,SAASO,EAAW,EAAE,QAAAC,GAAQ,MAAAC,GAAM,KAAAC,KAAiC;AAC/D,MAAAD,MAAS,aAAaC,MAAQd,EAAK;AACvC,QAAMe,IAAOT,IAAYH,IAAiB,KAAK,IAAI;AACnD,eAAaI,CAAQ,GACVA,IAAA;AAAA,IACTS;AAAA,IACA,KAAK,IAAID,GAAM,CAAC;AAAA,IAChBD,MAAQd,IAAM,OAAOY;AAAA,EACvB;AACF;AAGA,SAASI,EAAoBJ,GAAwB;;AAInD,MAHAN,IAAY,KAAK,IAAI,GAEhBE,MAASA,IAAU,SAAS,KAAK,YAAYC,GAAe,IAC7DG,MAAWJ,EAAS;AACxB,MAAIS,MAASC,IAAAN,KAAA,gBAAAA,EAAQ,YAAR,gBAAAM,EAAA,KAAAN,GAA+B,sBAAqB;AAGjE,MAAIK,MAAWZ,EAAQ;AAEvB,QAAMc,IAAWF,KAAUG,EAAKH,GAAQ,cAAc,KAAM,IACtDI,IACHJ,KAAUG,EAAKH,GAAQ,uBAAuB,OAC/CK,IAAA,OACG,iBAAiBL,KAAU,SAAS,IAAI,EACxC,iBAAiBf,CAAqB,MAFzC,gBAAAoB,EAE4C,WAC5C;AAQF,GALE,CAACH,KACDA,MAAY,WACZA,MAAY,UACZE,MAAa,YAEQJ,IAAA,OACnBA,QAAgB,cAAcE;AAElC,QAAMI,IAAWlB,KAAUe,EAAKf,GAAQJ,CAAU,MAAMG,GAClDoB,IACJ,GAAQP,KAAA,QAAAA,EAAQ,UAAU,YAC1BA,KAAA,gBAAAA,EAAQ,aAAahB,QACrBgB,KAAA,gBAAAA,EAAQ,aAAa;AAEf,EAAAZ,KAAA,QAAAA,EAAA,gBAAgBkB,IAAWtB,IAAaF,IAChD0B,EAAejB,GAAS,EAAK,GAEpBH,IAAAY,GACLZ,KAAae,EAAAf,GAAQmB,IAAWzB,IAAcE,GAAYG,CAAU,GAChEI,EAAA,cAAc,CAAC,CAACS,CAAM,GACfQ,EAAAjB,GAASS,KAAU,IAAOI,CAAQ;AACnD;AAEIK,MACCC,EAAA,UAAU,iCAAiChB,GAAYiB,CAAW,GAClED,EAAA,QAAQ,WAAWhB,GAAYiB,CAAW,GAC1CD,EAAA,QAAQ,QAAQhB,GAAYiB,CAAW;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mattilsynet/design",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "type": "module",
5
5
  "main": "./mtds/index.js",
6
6
  "types": "./mtds/index.d.ts",