@kystverket/styrbord 1.0.17 → 1.1.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/README.md +5 -0
- package/dist/main.js +3 -3
- package/dist/main.umd.cjs +1 -1
- package/dist/src/components/kystverket/Icon/Icon.stories.d.ts +1 -1
- package/dist/src/components/kystverket/Icon/icon.d.ts +2 -1
- package/dist/src/components/kystverket/Icon/icon.types.d.ts +1 -1
- package/dist/src/main.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +4 -7
package/README.md
CHANGED
|
@@ -39,6 +39,11 @@ Styrbords design tokens hentes fra [@Kystverket/styrbord-tokens](https://github.
|
|
|
39
39
|
|
|
40
40
|
## Endringslogg
|
|
41
41
|
|
|
42
|
+
### 2025-11-11 -- v1.1.0
|
|
43
|
+
|
|
44
|
+
- Oppdatert til Designsystemet versjon 1.7.2 fra 1.6.1.
|
|
45
|
+
- Fjernet unødvendig dependency til @navikt/aksel-icons.
|
|
46
|
+
|
|
42
47
|
### 2025-10-24 -- v1.0
|
|
43
48
|
|
|
44
49
|
Offisielt versjon 1.0.
|
package/dist/main.js
CHANGED
|
@@ -423,9 +423,9 @@ const z8 = "_kyvDivider_ukpgq_1", q8 = {
|
|
|
423
423
|
lg: "24px",
|
|
424
424
|
xl: "32px",
|
|
425
425
|
"2xl": "48px"
|
|
426
|
-
}, c2 = ({ material: r, filled: n = !1, className: e = "", size: t = "md" }) => {
|
|
427
|
-
const
|
|
428
|
-
return n &&
|
|
426
|
+
}, c2 = ({ material: r, filled: n = !1, className: e = "", size: t = "md", title: a }) => {
|
|
427
|
+
const s = [e7.icon, e, "material-symbols-outlined"], i = {};
|
|
428
|
+
return n && s.push(e7.filled), i.fontSize = t7[t], i.height = t7[t], /* @__PURE__ */ h.jsx("span", { title: a, "aria-hidden": !0, style: i, className: s.join(" "), children: r });
|
|
429
429
|
}, ue = (r) => {
|
|
430
430
|
switch (r) {
|
|
431
431
|
case "info":
|