@altinn/altinn-components 0.6.6 → 0.6.7

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
- ._list_18nep_1{display:flex;flex-direction:column}._list_18nep_1[data-spacing=sm]{row-gap:4px}._list_18nep_1[data-spacing=md]{row-gap:8px}._list_18nep_1[data-spacing=lg]{row-gap:16px}
1
+ ._list_ty2on_1{display:flex;flex-direction:column;width:100%}._list_ty2on_1[data-spacing=sm]{row-gap:4px}._list_ty2on_1[data-spacing=md]{row-gap:8px}._list_ty2on_1[data-spacing=lg]{row-gap:16px}
@@ -1 +1 @@
1
- ._menu_paki4_1{list-style:none;padding:0;margin:0;text-indent:0;display:flex;flex-direction:column}._list_paki4_11,._item_paki4_17{list-style:none;padding:0;margin:0}._item_paki4_17[role=separator]{border-top:1px solid var(--theme-border-subtle)}
1
+ ._menu_17rq7_1{list-style:none;padding:0;margin:0;text-indent:0;display:flex;flex-direction:column;width:100%}._list_17rq7_13,._item_17rq7_19{list-style:none;padding:0;margin:0}._item_17rq7_19[role=separator]{border-top:1px solid var(--theme-border-subtle)}
@@ -1,7 +1,7 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- import '../../assets/ListBase.css';const a = "_list_18nep_1", n = {
3
- list: a
4
- }, o = ({ theme: t = "inherit", spacing: s = "md", children: i }) => /* @__PURE__ */ e("div", { className: n.list, "data-theme": t, "data-spacing": s, children: i });
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import '../../assets/ListBase.css';const e = "_list_ty2on_1", n = {
3
+ list: e
4
+ }, l = ({ theme: t = "inherit", spacing: s = "md", children: i }) => /* @__PURE__ */ a("div", { className: n.list, "data-theme": t, "data-spacing": s, children: i });
5
5
  export {
6
- o as ListBase
6
+ l as ListBase
7
7
  };
@@ -1,16 +1,16 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
- import { c as a } from "../../index-L8X2o7IH.js";
3
- import '../../assets/MenuBase.css';const r = "_menu_paki4_1", c = "_list_paki4_11", u = "_item_paki4_17", i = {
4
- menu: r,
5
- list: c,
2
+ import { c as r } from "../../index-L8X2o7IH.js";
3
+ import '../../assets/MenuBase.css';const c = "_menu_17rq7_1", p = "_list_17rq7_13", u = "_item_17rq7_19", a = {
4
+ menu: c,
5
+ list: p,
6
6
  item: u
7
- }, C = ({ as: n = "nav", theme: t, className: e, children: o }) => /* @__PURE__ */ m(n, { className: a(i.menu, e), "data-theme": t, role: "menu", children: o }), d = ({ as: n = "ul", role: t = "group", expanded: e, className: o, children: s }) => /* @__PURE__ */ m(n, { className: a(i.list, o), role: t, "aria-expanded": e, children: s }), x = ({
7
+ }, C = ({ as: n = "nav", theme: t, className: e, children: o }) => /* @__PURE__ */ m(n, { className: r(a.menu, e), "data-theme": t, role: "menu", children: o }), d = ({ as: n = "ul", role: t = "group", expanded: e, className: o, children: s }) => /* @__PURE__ */ m(n, { className: r(a.list, o), role: t, "aria-expanded": e, children: s }), x = ({
8
8
  as: n = "li",
9
9
  role: t = "presentation",
10
10
  expanded: e,
11
11
  className: o,
12
12
  children: s
13
- }) => /* @__PURE__ */ m(n, { className: a(i.item, o), role: t, "aria-expanded": e, children: s });
13
+ }) => /* @__PURE__ */ m(n, { className: r(a.item, o), role: t, "aria-expanded": e, children: s });
14
14
  export {
15
15
  C as MenuBase,
16
16
  d as MenuList,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@altinn/altinn-components",
3
- "version": "0.6.6",
3
+ "version": "0.6.7",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [