@altinn/altinn-components 0.6.10 → 0.6.11

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,112 +1,145 @@
1
- import { jsx as o, jsxs as i } from "react/jsx-runtime";
1
+ import { jsxs as a, jsx as e } from "react/jsx-runtime";
2
2
  import { Fragment as p, useState as g } from "react";
3
- import { MetaItem as k } from "../Meta/MetaItem.js";
3
+ import { MetaItem as i } from "../Meta/MetaItem.js";
4
4
  import "../../index-L8X2o7IH.js";
5
5
  import "../Icon/SvgIcon.js";
6
6
  import "../RootProvider/RootProvider.js";
7
- import { ListItem as s } from "./ListItem.js";
8
- import { ListBase as u } from "./ListBase.js";
9
- import { List as y } from "./List.js";
10
- const a = ["lg", "md", "sm", "xs"], I = {
7
+ import { ListItem as t } from "./ListItem.js";
8
+ import { ListBase as s } from "./ListBase.js";
9
+ import { List as k } from "./List.js";
10
+ const c = ["lg", "md", "sm", "xs"], D = {
11
11
  title: "List/ListItem",
12
- component: s,
12
+ component: t,
13
13
  tags: ["autodocs"],
14
14
  parameters: {},
15
15
  args: {
16
16
  id: "id",
17
17
  title: "Title",
18
18
  description: "Description",
19
- size: "md",
20
- href: "#"
19
+ size: "md"
21
20
  }
22
- }, _ = {
21
+ }, T = {
23
22
  args: {}
24
- }, D = {
25
- args: {
26
- icon: "teddy-bear"
27
- }
28
- }, B = {
29
- args: {
30
- color: "accent",
31
- icon: "teddy-bear"
32
- }
33
- }, Q = {
34
- args: {
35
- avatar: {
36
- type: "person",
37
- name: "Erik Huseklepp"
23
+ }, w = (n) => /* @__PURE__ */ a(s, { children: [
24
+ /* @__PURE__ */ e(t, { ...n }),
25
+ /* @__PURE__ */ e(i, { children: "No media" }),
26
+ /* @__PURE__ */ e(t, { ...n, icon: "teddy-bear" }),
27
+ /* @__PURE__ */ e(i, { children: "Icon" }),
28
+ /* @__PURE__ */ e(
29
+ t,
30
+ {
31
+ ...n,
32
+ avatar: {
33
+ type: "person",
34
+ name: "Erik Huseklepp"
35
+ }
38
36
  }
39
- }
40
- }, S = {
41
- args: {
42
- avatar: {
43
- type: "company",
44
- name: "Sportsklubben Brann"
37
+ ),
38
+ /* @__PURE__ */ e(i, { children: "Person" }),
39
+ /* @__PURE__ */ e(
40
+ t,
41
+ {
42
+ ...n,
43
+ avatar: {
44
+ type: "company",
45
+ name: "Sportsklubben Brann"
46
+ }
45
47
  }
46
- }
47
- }, E = {
48
- args: {
49
- avatar: {
50
- type: "company",
51
- name: "Politiets sikkerhetstjeneste",
52
- imageUrl: "https://media.licdn.com/dms/image/v2/D4D0BAQH7Yv86kmHN5g/company-logo_200_200/company-logo_200_200/0/1688735908848?e=1738195200&v=beta&t=f-Mkzd03bqzdQN4IT0h89VQ9_Jri1iJ6XphYYnjsgEo"
48
+ ),
49
+ /* @__PURE__ */ e(i, { children: "Company" }),
50
+ /* @__PURE__ */ e(
51
+ t,
52
+ {
53
+ ...n,
54
+ avatar: {
55
+ type: "company",
56
+ name: "Politiets sikkerhetstjeneste",
57
+ imageUrl: "https://media.licdn.com/dms/image/v2/D4D0BAQH7Yv86kmHN5g/company-logo_200_200/company-logo_200_200/0/1688735908848?e=1738195200&v=beta&t=f-Mkzd03bqzdQN4IT0h89VQ9_Jri1iJ6XphYYnjsgEo"
58
+ }
53
59
  }
54
- }
55
- }, P = {
56
- args: {
57
- avatarGroup: {
58
- items: [
59
- {
60
- type: "person",
61
- name: "Albert Åberg"
62
- },
63
- {
64
- type: "person",
65
- name: "Birger Meling"
66
- },
67
- {
68
- type: "person",
69
- name: "Celine Dion"
70
- }
71
- ]
60
+ ),
61
+ /* @__PURE__ */ e(i, { children: "Logo" }),
62
+ /* @__PURE__ */ e(
63
+ t,
64
+ {
65
+ ...n,
66
+ avatarGroup: {
67
+ items: [
68
+ {
69
+ type: "person",
70
+ name: "Albert Åberg"
71
+ },
72
+ {
73
+ type: "person",
74
+ name: "Birger Meling"
75
+ },
76
+ {
77
+ type: "person",
78
+ name: "Celine Dion"
79
+ }
80
+ ]
81
+ }
72
82
  }
73
- }
74
- }, T = {
75
- args: {
76
- avatarGroup: {
77
- items: [
78
- {
79
- type: "company",
80
- name: "Albert Åberg"
81
- },
82
- {
83
- type: "company",
84
- name: "Birger Meling"
85
- },
86
- {
87
- type: "company",
88
- name: "Celine Dion"
89
- }
90
- ]
83
+ ),
84
+ /* @__PURE__ */ e(i, { children: "People group" }),
85
+ /* @__PURE__ */ e(
86
+ t,
87
+ {
88
+ ...n,
89
+ avatarGroup: {
90
+ items: [
91
+ {
92
+ type: "company",
93
+ name: "Albert Åberg"
94
+ },
95
+ {
96
+ type: "company",
97
+ name: "Birger Meling"
98
+ },
99
+ {
100
+ type: "company",
101
+ name: "Celine Dion"
102
+ }
103
+ ]
104
+ }
91
105
  }
92
- }
93
- }, z = {
94
- args: {
95
- avatar: {
96
- type: "company",
97
- name: "Direktoratet for samfunnssikkerhet og beredskap",
98
- imageUrl: "https://media.licdn.com/dms/image/v2/C510BAQHlQiOWI4f45w/company-logo_200_200/company-logo_200_200/0/1631389121726?e=1738195200&v=beta&t=Q1P8kOwpgLvoqHBxyrHCaYd2upNkPQVi2zSSxJzbdCA"
99
- },
100
- title: "Samtykke for å reparere elektrisk utstyr hvis bruk er forbundet med særlig risiko, herunder elektromedisinsk utstyr",
101
- description: "Direktoratet for samfunnssikkerhet og beredskap"
102
- }
103
- }, G = (t) => /* @__PURE__ */ o(u, { children: a == null ? void 0 : a.map((r) => /* @__PURE__ */ i(p, { children: [
104
- /* @__PURE__ */ o(s, { ...t, size: r, selected: r === (t == null ? void 0 : t.size) }),
105
- /* @__PURE__ */ o(k, { children: r })
106
- ] }, r)) }), j = (t) => {
107
- const [r, l] = g(!1), m = () => {
108
- l((e) => !e);
109
- }, n = [
106
+ ),
107
+ /* @__PURE__ */ e(i, { children: "Company group" })
108
+ ] }), E = (n) => /* @__PURE__ */ a(s, { children: [
109
+ /* @__PURE__ */ e(t, { ...n, linkIcon: "chevron-right" }),
110
+ /* @__PURE__ */ e(i, { children: "Link icon, emphasising that this will take you somewhere" }),
111
+ /* @__PURE__ */ e(t, { ...n, linkIcon: "chevron-right", linkText: "Åpne" }),
112
+ /* @__PURE__ */ e(i, { children: "Link icon + link text, emphasising that this will take you somewhere" }),
113
+ /* @__PURE__ */ e(t, { ...n, collapsible: !0, badge: { label: "Admin" } }),
114
+ /* @__PURE__ */ e(i, { children: "Collapsible item with badge" }),
115
+ /* @__PURE__ */ e(t, { ...n, collapsible: !0, expanded: !0 }),
116
+ /* @__PURE__ */ e(i, { children: "Collapsible and expanded item" }),
117
+ /* @__PURE__ */ e(
118
+ t,
119
+ {
120
+ ...n,
121
+ linkIcon: "chevron-right",
122
+ menu: {
123
+ items: [
124
+ { label: "Innstillinger", icon: "cog" },
125
+ { label: "Aktivitetslogg", icon: "clock-dashed" }
126
+ ]
127
+ }
128
+ }
129
+ ),
130
+ /* @__PURE__ */ e(i, { children: "List item with context menu and linkIcon" })
131
+ ] }), H = (n) => /* @__PURE__ */ a(s, { children: [
132
+ /* @__PURE__ */ e(t, { ...n }),
133
+ /* @__PURE__ */ e(i, { children: "Default" }),
134
+ /* @__PURE__ */ e(t, { ...n, color: "accent" }),
135
+ /* @__PURE__ */ e(i, { children: "Accent" })
136
+ ] }), B = (n) => /* @__PURE__ */ e(s, { children: c == null ? void 0 : c.map((o) => /* @__PURE__ */ a(p, { children: [
137
+ /* @__PURE__ */ e(t, { ...n, size: o, selected: o === (n == null ? void 0 : n.size) }),
138
+ /* @__PURE__ */ e(i, { children: o })
139
+ ] }, o)) }), M = (n) => {
140
+ const [o, d] = g(!1), m = () => {
141
+ d((r) => !r);
142
+ }, l = [
110
143
  {
111
144
  name: "Per Ove Ludvigsen",
112
145
  role: "Sportlig leder",
@@ -127,47 +160,42 @@ const a = ["lg", "md", "sm", "xs"], I = {
127
160
  role: "Toppspillerutvikler",
128
161
  rights: "Ingen rettigheter"
129
162
  }
130
- ], c = n == null ? void 0 : n.map((e) => ({
163
+ ], h = l == null ? void 0 : l.map((r) => ({
131
164
  avatar: {
132
- ...e,
165
+ ...r,
133
166
  type: "person"
134
167
  },
135
- title: e == null ? void 0 : e.name,
136
- description: e == null ? void 0 : e.role,
137
- badge: { label: e == null ? void 0 : e.rights },
168
+ title: r == null ? void 0 : r.name,
169
+ description: r == null ? void 0 : r.role,
170
+ badge: { label: r == null ? void 0 : r.rights },
138
171
  linkIcon: "menu-elipsis-horizontal"
139
- })), d = {
140
- items: n == null ? void 0 : n.map((e) => ({
141
- name: e == null ? void 0 : e.name,
172
+ })), u = {
173
+ items: l == null ? void 0 : l.map((r) => ({
174
+ name: r == null ? void 0 : r.name,
142
175
  type: "person"
143
176
  }))
144
177
  };
145
- return /* @__PURE__ */ i(p, { children: [
146
- /* @__PURE__ */ o(
147
- s,
178
+ return /* @__PURE__ */ a(p, { children: [
179
+ /* @__PURE__ */ e(
180
+ t,
148
181
  {
149
- ...t,
150
- avatarGroup: d,
182
+ ...n,
183
+ avatarGroup: u,
151
184
  collapsible: !0,
152
- expanded: r,
185
+ expanded: o,
153
186
  onClick: m,
154
187
  as: "button"
155
188
  }
156
189
  ),
157
- r && /* @__PURE__ */ o(y, { size: "xs", spacing: "none", items: c })
190
+ o && /* @__PURE__ */ e(k, { size: "xs", spacing: "none", items: h })
158
191
  ] });
159
192
  };
160
193
  export {
161
- j as Collapsible,
162
- S as Company,
163
- T as CompanyGroup,
164
- _ as Default,
165
- D as Icon,
166
- B as IconAccent,
167
- E as Logo,
168
- z as LongTitle,
169
- P as PeopleGroup,
170
- Q as Person,
171
- G as Sizes,
172
- I as default
194
+ E as ActionProps,
195
+ M as Collapsible,
196
+ H as Colors,
197
+ T as Default,
198
+ w as MediaTypes,
199
+ B as Sizes,
200
+ D as default
173
201
  };
@@ -0,0 +1,13 @@
1
+ import { ReactNode } from 'react';
2
+ import { BadgeProps } from '../Badge';
3
+ import { ContextMenuProps } from '../ContextMenu';
4
+ import { IconName } from '../Icon';
5
+ interface ListItemActionProps {
6
+ badge?: BadgeProps;
7
+ menu?: ContextMenuProps;
8
+ linkText?: string;
9
+ linkIcon?: IconName;
10
+ children?: ReactNode;
11
+ }
12
+ export declare const ListItemAction: ({ linkText, linkIcon, menu, badge, children }: ListItemActionProps) => import("react/jsx-runtime").JSX.Element;
13
+ export {};
@@ -0,0 +1,19 @@
1
+ import { jsx as n, jsxs as e, Fragment as l } from "react/jsx-runtime";
2
+ import { Badge as m } from "../Badge/Badge.js";
3
+ import { ContextMenu as a } from "../ContextMenu/ContextMenu.js";
4
+ import { Icon as _ } from "../Icon/Icon.js";
5
+ import "../Icon/SvgIcon.js";
6
+ import "../../index-L8X2o7IH.js";
7
+ import '../../assets/ListItemAction.css';const p = "_action_1lv65_3", x = "_linkText_1lv65_10", k = "_linkIcon_1lv65_15", t = {
8
+ action: p,
9
+ linkText: x,
10
+ linkIcon: k
11
+ }, h = ({ linkText: o, linkIcon: i, menu: c, badge: s, children: r }) => /* @__PURE__ */ n("div", { className: t.action, children: r || /* @__PURE__ */ e(l, { children: [
12
+ s && /* @__PURE__ */ n(m, { ...s }),
13
+ c && /* @__PURE__ */ n(a, { ...c }),
14
+ o && /* @__PURE__ */ n("span", { className: t.linkText, children: o }),
15
+ i && /* @__PURE__ */ n(_, { name: i, className: t.linkIcon })
16
+ ] }) });
17
+ export {
18
+ h as ListItemAction
19
+ };
@@ -0,0 +1,45 @@
1
+ import "react/jsx-runtime";
2
+ import "../../index-L8X2o7IH.js";
3
+ import { ListItemAction as t } from "./ListItemAction.js";
4
+ import "react";
5
+ import "../Icon/SvgIcon.js";
6
+ const s = {
7
+ title: "List/ListItemAction",
8
+ component: t,
9
+ tags: ["autodocs"],
10
+ parameters: {},
11
+ args: {}
12
+ }, a = {
13
+ args: {
14
+ linkIcon: "chevron-right"
15
+ }
16
+ }, c = {
17
+ args: {
18
+ linkText: "2 dager siden",
19
+ linkIcon: "chevron-right"
20
+ }
21
+ }, m = {
22
+ args: {
23
+ badge: {
24
+ label: "Admin"
25
+ },
26
+ linkIcon: "chevron-down"
27
+ }
28
+ }, l = {
29
+ args: {
30
+ menu: {
31
+ items: [
32
+ {
33
+ label: "Slett alle"
34
+ }
35
+ ]
36
+ }
37
+ }
38
+ };
39
+ export {
40
+ m as BadgeAndIcon,
41
+ l as ContextMenu,
42
+ a as Icon,
43
+ c as TextAndIcon,
44
+ s as default
45
+ };
@@ -8,6 +8,7 @@ interface ListItemBaseProps {
8
8
  as?: ElementType;
9
9
  size?: ListItemSize;
10
10
  menu?: ContextMenuProps;
11
+ linkText?: string;
11
12
  linkIcon?: IconName;
12
13
  color?: ListItemColor;
13
14
  badge?: BadgeProps;
@@ -20,8 +21,9 @@ interface ListItemBaseProps {
20
21
  expanded?: boolean;
21
22
  onClick?: () => void;
22
23
  onKeyPress?: KeyboardEventHandler;
24
+ action?: ReactNode;
23
25
  children?: ReactNode;
24
26
  style?: React.CSSProperties;
25
27
  }
26
- export declare const ListItemBase: ({ as, children, className, href, size, color, active, hidden, collapsible, selected, expanded, linkIcon, menu, badge, onClick, onKeyPress, style, }: ListItemBaseProps) => import("react/jsx-runtime").JSX.Element;
28
+ export declare const ListItemBase: ({ as, children, className, href, size, color, active, hidden, selected, collapsible, expanded, linkText, linkIcon, menu, badge, action, onClick, onKeyPress, style, }: ListItemBaseProps) => import("react/jsx-runtime").JSX.Element;
27
29
  export {};
@@ -1,62 +1,58 @@
1
- import { jsxs as p, jsx as n } from "react/jsx-runtime";
2
- import { c as B } from "../../index-L8X2o7IH.js";
3
- import { Badge as g } from "../Badge/Badge.js";
4
- import { ContextMenu as w } from "../ContextMenu/ContextMenu.js";
5
- import { Icon as z } from "../Icon/Icon.js";
6
- import "../Icon/SvgIcon.js";
7
- import '../../assets/ListItemBase.css';const E = "_item_1cdyi_3", L = "_content_1cdyi_46", M = "_action_1cdyi_56", b = "_linkIcon_1cdyi_63", a = {
8
- item: E,
9
- content: L,
10
- action: M,
11
- linkIcon: b
12
- }, H = ({
13
- as: l,
14
- children: I,
15
- className: f,
16
- href: o,
17
- size: i,
18
- color: h,
19
- active: v = !1,
20
- hidden: x = !1,
1
+ import { jsxs as u, jsx as i } from "react/jsx-runtime";
2
+ import { c as N } from "../../index-L8X2o7IH.js";
3
+ import { ListItemAction as w } from "./ListItemAction.js";
4
+ import '../../assets/ListItemBase.css';const z = "_item_17cbe_3", A = "_content_17cbe_46", B = "_action_17cbe_56", E = "_linkText_17cbe_63", g = "_linkIcon_17cbe_68", s = {
5
+ item: z,
6
+ content: A,
7
+ action: B,
8
+ linkText: E,
9
+ linkIcon: g
10
+ }, G = ({
11
+ as: m,
12
+ children: r,
13
+ className: _,
14
+ href: d,
15
+ size: c,
16
+ color: l,
17
+ active: x = !1,
18
+ hidden: I = !1,
19
+ selected: p,
21
20
  collapsible: e,
22
- selected: N,
23
- expanded: m,
24
- linkIcon: y,
25
- menu: r,
26
- badge: s,
21
+ expanded: a,
22
+ linkText: b,
23
+ linkIcon: f,
24
+ menu: h,
25
+ badge: k,
26
+ action: v,
27
27
  onClick: t,
28
- onKeyPress: c,
29
- style: j
28
+ onKeyPress: n,
29
+ style: L
30
30
  }) => {
31
- const u = l || "a", d = e && m ? "chevron-up" : e ? "chevron-down" : o ? "chevron-right" : y;
32
- return /* @__PURE__ */ p(
33
- u,
31
+ const T = m || "a", j = e && a ? "chevron-up" : e ? "chevron-down" : f;
32
+ return /* @__PURE__ */ u(
33
+ T,
34
34
  {
35
- className: B(a.item, f),
36
- "data-color": h,
37
- "data-size": i,
38
- "data-active": v,
39
- "aria-hidden": x,
40
- "aria-selected": N,
41
- "aria-expanded": m,
42
- href: o,
43
- onKeyPress: (_) => {
44
- _.key === "Enter" && (t == null || t()), c == null || c(_);
35
+ className: N(s.item, _),
36
+ "data-color": l,
37
+ "data-size": c,
38
+ "data-active": x,
39
+ "aria-hidden": I,
40
+ "aria-selected": p,
41
+ "aria-expanded": a,
42
+ href: d,
43
+ onKeyPress: (o) => {
44
+ o.key === "Enter" && (t == null || t()), n == null || n(o);
45
45
  },
46
46
  onClick: t,
47
47
  tabIndex: -1,
48
- style: j,
48
+ style: L,
49
49
  children: [
50
- /* @__PURE__ */ n("div", { className: a.content, "data-size": i, children: I }),
51
- /* @__PURE__ */ p("div", { className: a.action, children: [
52
- s && /* @__PURE__ */ n(g, { ...s }),
53
- r && /* @__PURE__ */ n(w, { ...r }),
54
- d && /* @__PURE__ */ n(z, { name: d, className: a.linkIcon })
55
- ] })
50
+ /* @__PURE__ */ i("div", { className: s.content, "data-size": c, children: r }),
51
+ /* @__PURE__ */ i(w, { badge: k, linkText: b, linkIcon: j, menu: h, children: v })
56
52
  ]
57
53
  }
58
54
  );
59
55
  };
60
56
  export {
61
- H as ListItemBase
57
+ G as ListItemBase
62
58
  };
@@ -4,3 +4,4 @@ export * from './ListBase';
4
4
  export * from './List';
5
5
  export * from './ListItemLabel';
6
6
  export * from './ListItemMedia';
7
+ export * from './ListItemAction';
@@ -1,14 +1,16 @@
1
1
  import { ListItemBase as o } from "./ListItemBase.js";
2
2
  import { ListItem as m } from "./ListItem.js";
3
- import { ListBase as i } from "./ListBase.js";
3
+ import { ListBase as s } from "./ListBase.js";
4
4
  import { List as f } from "./List.js";
5
5
  import { ListItemLabel as x } from "./ListItemLabel.js";
6
- import { ListItemMedia as I } from "./ListItemMedia.js";
6
+ import { ListItemMedia as a } from "./ListItemMedia.js";
7
+ import { ListItemAction as b } from "./ListItemAction.js";
7
8
  export {
8
9
  f as List,
9
- i as ListBase,
10
+ s as ListBase,
10
11
  m as ListItem,
12
+ b as ListItemAction,
11
13
  o as ListItemBase,
12
14
  x as ListItemLabel,
13
- I as ListItemMedia
15
+ a as ListItemMedia
14
16
  };
@@ -11,45 +11,45 @@ import '../../assets/MenuItemBase.css';const B = "_item_16huj_1", g = "_content_
11
11
  linkIcon: z,
12
12
  media: C
13
13
  }, E = ({
14
- as: r,
15
- onClick: l,
16
- size: _,
17
- color: d,
14
+ as: l,
15
+ onClick: _,
16
+ size: d,
17
+ color: h,
18
18
  linkIcon: o,
19
- linkText: h,
20
- badge: c,
19
+ linkText: c,
20
+ badge: i,
21
21
  tabIndex: p = 0,
22
22
  active: u = !1,
23
- collapsible: i = !1,
24
- expanded: s = !1,
23
+ collapsible: s = !1,
24
+ expanded: m = !1,
25
25
  selected: f = !1,
26
- disabled: m = !1,
27
- className: x,
28
- children: j,
29
- ...k
26
+ disabled: r = !1,
27
+ className: j,
28
+ children: x,
29
+ ...I
30
30
  }) => {
31
- const I = r || "a", e = i && s ? "chevron-up" : i ? "chevron-down" : o && "chevron-right";
31
+ const k = l || "a", e = s && m ? "chevron-up" : s ? "chevron-down" : o && "chevron-right";
32
32
  return /* @__PURE__ */ t(
33
- I,
33
+ k,
34
34
  {
35
35
  role: "menuitem",
36
- tabIndex: m ? "-1" : p ?? 0,
37
- "data-size": _,
38
- "data-color": d,
36
+ tabIndex: r ? "-1" : p ?? 0,
37
+ "data-size": d,
38
+ "data-color": h,
39
39
  "data-active": u,
40
- "aria-expanded": s,
41
- "aria-disabled": m,
40
+ "aria-expanded": m,
41
+ "aria-disabled": r,
42
42
  "aria-selected": f,
43
- onClick: l,
44
- className: v(n.item, x),
45
- ...k,
43
+ onClick: _,
44
+ className: v(n.item, j),
45
+ ...I,
46
46
  children: [
47
47
  /* @__PURE__ */ t("div", { className: n.content, children: [
48
- j,
49
- c && /* @__PURE__ */ a(N, { ...c })
48
+ x,
49
+ i && /* @__PURE__ */ a(N, { ...i })
50
50
  ] }),
51
51
  e && /* @__PURE__ */ t("div", { className: n.action, children: [
52
- /* @__PURE__ */ a("span", { className: n.linkText, children: h }),
52
+ c && /* @__PURE__ */ a("span", { className: n.linkText, children: c }),
53
53
  e && /* @__PURE__ */ a(T, { name: e, className: n.linkIcon })
54
54
  ] })
55
55
  ]
@@ -4,9 +4,10 @@ import { ListItemLabel as s } from "../List/ListItemLabel.js";
4
4
  import "../../index-L8X2o7IH.js";
5
5
  import "react";
6
6
  import "../Icon/SvgIcon.js";
7
+ import "../RootProvider/RootProvider.js";
7
8
  import '../../assets/AutocompleteItem.css';const c = "_item_1a3bc_1", n = {
8
9
  item: c
9
- }, u = ({ as: e = "a", label: t, active: i, ...o }) => /* @__PURE__ */ m(r, { className: n.item, as: e, size: "sm", active: i, linkIcon: "chevron-right", ...o, children: /* @__PURE__ */ m(s, { size: "sm", children: typeof t == "function" ? t() : t }) });
10
+ }, L = ({ as: i = "a", label: t, active: o, ...e }) => /* @__PURE__ */ m(r, { className: n.item, as: i, size: "sm", active: o, linkIcon: "chevron-right", ...e, children: /* @__PURE__ */ m(s, { size: "sm", children: typeof t == "function" ? t() : t }) });
10
11
  export {
11
- u as AutocompleteItem
12
+ L as AutocompleteItem
12
13
  };