@stenajs-webui/panels 21.8.3 → 21.8.5
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/dist/index.es.js
CHANGED
|
@@ -1,54 +1,58 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var r=document.createElement("style");r.appendChild(document.createTextNode("._navBar_kzibd_1{--swui-navbar-background-color: var(--lhds-color-ui-50);--swui-navbar-item-background-color-hover: var(--lhds-color-blue-700);--swui-navbar-item-background-color-selected: var(--lhds-color-blue-600);--swui-navbar-item-background-color-selected-hover: var( --lhds-color-blue-700 );--swui-nav-bar-height: 48px;background-color:var(--swui-navbar-background-color);height:var(--swui-nav-bar-height);min-height:var(--swui-nav-bar-height)}._navBarButton_b3x3w_1:hover{background:var(--lhds-color-ui-100)}._navBarButton_b3x3w_1:focus-visible{background:var(--lhds-color-ui-200)}._navBarButton_b3x3w_1:active{background:var(--lhds-color-ui-200)}._navBarButton_b3x3w_1._selected_b3x3w_14{background:var(--lhds-color-blue-200)}._navBarButton_b3x3w_1._selected_b3x3w_14:hover{background:var(--lhds-color-blue-100)}._navBarButton_b3x3w_1._selected_b3x3w_14:focus-visible{background:var(--lhds-color-blue-300)}._navBarButton_b3x3w_1._selected_b3x3w_14:active{background:var(--lhds-color-blue-200)}._navBarNotificationButton_1wt3y_1{--current-background-color: var(--lhds-color-ui-400);--current-outline-color: var(--modern-blue);background-color:var(--current-background-color);border-color:transparent;color:var(--lhds-color-ui-50);--swui-nav-bar-notification-shake-count: 3;transition:.5s width}._navBarNotificationButton_1wt3y_1:hover{--current-background-color: var(--lhds-color-red-500);--current-outline-color: var(--lhds-color-red-500)}._navBarNotificationButton_1wt3y_1:active{--current-background-color: var(--lhds-color-red-600);--current-outline-color: var(--lhds-color-red-600)}._navBarNotificationButton_1wt3y_1._unread_1wt3y_23 ._icon_1wt3y_23{transform-origin:top center;animation:_shake_1wt3y_1 1.5s ease-in-out var(--swui-nav-bar-notification-shake-count)}._navBarNotificationButton_1wt3y_1._unread_1wt3y_23{--current-background-color: var(--lhds-color-red-500);--current-outline-color: var(--lhds-color-red-500)}._navBarNotificationButton_1wt3y_1._unread_1wt3y_23:hover{--current-background-color: var(--lhds-color-red-600);--current-outline-color: var(--lhds-color-red-600)}._navBarNotificationButton_1wt3y_1._unread_1wt3y_23:active{--current-background-color: var(--lhds-color-red-700);--current-outline-color: var(--lhds-color-red-700)}._navBarNotificationButton_1wt3y_1:focus-visible{outline:var(--swui-focus-outline);outline-color:var(--current-outline-color);outline-offset:var(--swui-focus-outline-width)}@keyframes _shake_1wt3y_1{0%{transform:rotate(0)}7%{transform:rotate(20deg)}15%{transform:rotate(-20deg)}22%{transform:rotate(16deg)}30%{transform:rotate(-16deg)}38%{transform:rotate(6deg)}42%{transform:rotate(-6deg)}46%{transform:rotate(2deg)}to{transform:rotate(0)}}._navBarSearchFieldInput_1rp8g_1._navBarSearchFieldInput_1rp8g_1{line-height:2.7rem;color:var(--lhds-color-ui-800)}._navBarSearchFieldInput_1rp8g_1._navBarSearchFieldInput_1rp8g_1::placeholder{color:var(--lhds-color-blue-600)}._navBarSearchFieldInput_1rp8g_1._navBarSearchFieldInput_1rp8g_1{padding:0 var(--swui-metrics-indent)}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12{background:var(--lhds-color-ui-200);border-color:transparent}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12:hover{border-color:transparent}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12{padding:0 var(--swui-metrics-indent);border-radius:var(--swui-max-border-radius)}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12._withButton_1rp8g_24{padding-right:1px}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12:focus-within{color:var(--lhds-color-ui-800);background:var(--lhds-color-ui-50)}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12 ._clearButton_1rp8g_33{border-radius:var(--swui-max-border-radius)}._navBarUserButton_10f9z_1:hover{background:var(--lhds-color-ui-100)}._navBarUserButton_10f9z_1:focus-visible{background:var(--lhds-color-ui-200)}._navBarUserButton_10f9z_1:active{background:var(--lhds-color-ui-200)}._unreadDot_l8bni_1{position:relative}._unreadDot_l8bni_1 ._dot_l8bni_4{top:1px;right:1px;position:absolute;width:8px;height:8px;border-radius:var(--swui-max-border-radius);background:var(--lhds-color-blue-500)}._notification_1hao0_1{display:flex;flex-direction:column;width:100%;background:var(--lhds-color-ui-50)}._notification_1hao0_1 ._body_1hao0_7{padding-left:64px;padding-right:24px;padding-bottom:16px}._notification_1hao0_1._standard_1hao0_13._unread_1hao0_14{background:var(--lhds-color-blue-50)}._notification_1hao0_1._danger_1hao0_19{background:var(--lhds-color-red-100)}._notificationList_1rkvu_1{display:flex;flex-direction:column;gap:2px;background:var(--lhds-color-ui-200)}._clickable_1ijxc_1{--swui-toast-border-color: transparent;--swui-toast-item-border-color-hover: var(--lhds-color-blue-500);--current-border-color: var(--swui-toast-border-color);border-width:1px;border-style:solid;border-color:var(--current-border-color);position:absolute;top:0;left:0;right:0;bottom:0;border-radius:8px;background-color:transparent;width:100%;cursor:pointer}._clickable_1ijxc_1:hover{--current-border-color: var(--swui-toast-item-border-color-hover)}._nonClickable_1ijxc_27{position:relative;z-index:1;pointer-events:none}._nonClickable_1ijxc_27 a,._nonClickable_1ijxc_27 button{pointer-events:auto}._sidebarMenu_1bx5w_1{--swui-sidebar-menu-separator-color: var(--swui-white);--swui-sidebar-menu-text-color: var(--lhds-color-ui-900);--swui-sidebar-menu-icon-color: var(--lhds-color-ui-900);--swui-sidebar-menu-background-color: transparent;--swui-sidebar-menu-background-color-hover: var(--lhds-color-ui-400);--swui-sidebar-menu-background-color-focus: var(--lhds-color-ui-400);--swui-sidebar-menu-background-color-active: var(--lhds-color-ui-300);--swui-sidebar-menu-background-selected: var(--lhds-color-blue-100);--swui-sidebar-menu-background-selected-hover: var(--lhds-color-blue-200);--swui-sidebar-menu-background-selected-focus: var(--lhds-color-blue-200);--swui-sidebar-menu-background-selected-active: var(--lhds-color-blue-100);--current-background-color: var(--swui-sidebar-menu-background-color);--current-background-color-hover: var( --swui-sidebar-menu-background-color-hover );--current-background-color-focus: var( --swui-sidebar-menu-background-color-focus );--current-background-color-active: var( --swui-sidebar-menu-background-color-active );--current-background-selected: var(--swui-sidebar-menu-background-selected);--current-background-selected-hover: var( --swui-sidebar-menu-background-selected-hover );--current-background-selected-focus: var( --swui-sidebar-menu-background-selected-focus );--current-background-selected-active: var( --swui-sidebar-menu-background-selected-active )}._sidebarMenu_1bx5w_1 ._sidebarItems_1bx5w_38{--current-separator-color: var(--swui-sidebar-menu-separator-color);--current-text-color: var(--swui-sidebar-menu-text-color);--current-icon-color: var(--swui-sidebar-menu-icon-color)}._sidebarMenu_1bx5w_1{background-color:var(--current-background-color);height:100dvh}._sidebarMenu_1bx5w_1 ._scrollContainer_1bx5w_48{background:var(--current-background-color);height:100%;overflow:auto}._stenaFlag_108h7_1{height:32px}")),document.head.appendChild(r)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
2
2
|
import { jsx as n, Fragment as B, jsxs as o } from "react/jsx-runtime";
|
|
3
|
-
import { ActionMenu as
|
|
4
|
-
import * as
|
|
5
|
-
import { useRef as
|
|
6
|
-
import { useBoolean as
|
|
7
|
-
import { ControlledPopover as
|
|
8
|
-
import { Checkbox as
|
|
9
|
-
import
|
|
3
|
+
import { ActionMenu as W, ActionMenuContext as an, stenaAngleDown as E, PrimaryButton as ln, SecondaryButton as cn, FlatButton as k, stenaHamburger as q, BaseButton as sn, stenaBellFilled as dn, TextInputButton as un, stenaTimes as hn, stenaUserCircle as pn, CircledIcon as j, CloseButton as O, Icon as gn, stenaMail as mn, MenuButton as L, Card as fn, CardBody as bn, stenaTripFerryXl as vn, Spinner as _n, StenaFlag as Bn, stenaAngleLeftDouble as G, stenaPin as Cn, IconMenuButton as P, IconMenuButtonLink as xn, MenuButtonLink as In } from "@stenajs-webui/elements";
|
|
4
|
+
import * as yn from "react";
|
|
5
|
+
import { useRef as wn, useMemo as Nn, forwardRef as A, createContext as kn, useContext as Sn, useState as Mn } from "react";
|
|
6
|
+
import { useBoolean as X, Row as s, Indent as x, Column as h, Heading as S, Box as u, Text as f, Space as m, SeparatorLine as Rn } from "@stenajs-webui/core";
|
|
7
|
+
import { ControlledPopover as J, Popover as K, Tooltip as Q } from "@stenajs-webui/tooltip";
|
|
8
|
+
import { Checkbox as V, TextInput as Fn } from "@stenajs-webui/forms";
|
|
9
|
+
import g from "classnames";
|
|
10
10
|
import { cssColor as b } from "@stenajs-webui/theme";
|
|
11
|
-
const
|
|
11
|
+
const $ = ({
|
|
12
12
|
renderItems: e,
|
|
13
13
|
placement: t = "bottom",
|
|
14
14
|
buttonComponent: r,
|
|
15
|
-
rightIcon: i =
|
|
15
|
+
rightIcon: i = E,
|
|
16
16
|
menuWidth: a,
|
|
17
17
|
menuTop: l,
|
|
18
18
|
onClick: c,
|
|
19
19
|
disableArrow: d = !1,
|
|
20
|
-
buttonRef:
|
|
21
|
-
|
|
20
|
+
buttonRef: p,
|
|
21
|
+
appendTo: v,
|
|
22
|
+
zIndex: _,
|
|
23
|
+
...Z
|
|
22
24
|
}) => {
|
|
23
|
-
const [
|
|
24
|
-
c == null || c(M),
|
|
25
|
+
const [H, T, I, nn] = X(!1), en = wn(null), tn = p ?? en, rn = Nn(() => ({ open: T, close: I }), [T, I]), on = (M) => {
|
|
26
|
+
c == null || c(M), nn();
|
|
25
27
|
};
|
|
26
28
|
return /* @__PURE__ */ n(B, { children: /* @__PURE__ */ n(
|
|
27
|
-
|
|
29
|
+
J,
|
|
28
30
|
{
|
|
29
31
|
renderTrigger: (M) => /* @__PURE__ */ n(
|
|
30
32
|
r,
|
|
31
33
|
{
|
|
32
34
|
rightIcon: d ? void 0 : i,
|
|
33
|
-
...
|
|
34
|
-
ref:
|
|
35
|
-
onClick:
|
|
35
|
+
...Z,
|
|
36
|
+
ref: tn,
|
|
37
|
+
onClick: on,
|
|
36
38
|
...M
|
|
37
39
|
}
|
|
38
40
|
),
|
|
39
41
|
hideArrow: !0,
|
|
40
42
|
disablePadding: !0,
|
|
41
|
-
open:
|
|
43
|
+
open: H,
|
|
42
44
|
onRequestClose: I,
|
|
43
45
|
placement: t,
|
|
44
|
-
|
|
46
|
+
appendTo: v,
|
|
47
|
+
zIndex: _,
|
|
48
|
+
children: H && /* @__PURE__ */ n(W, { width: a, top: l, trapFocus: !0, children: /* @__PURE__ */ n(an.Provider, { value: rn, children: e(I) }) })
|
|
45
49
|
}
|
|
46
50
|
) });
|
|
47
|
-
},
|
|
51
|
+
}, je = (e) => /* @__PURE__ */ n($, { buttonComponent: ln, ...e }), Le = (e) => /* @__PURE__ */ n($, { buttonComponent: cn, ...e }), jn = (e) => /* @__PURE__ */ n($, { buttonComponent: k, ...e }), Ln = "1px solid var(--lhds-color-ui-300)", Pe = ({
|
|
48
52
|
renderMenu: e,
|
|
49
53
|
...t
|
|
50
54
|
}) => /* @__PURE__ */ n(
|
|
51
|
-
|
|
55
|
+
K,
|
|
52
56
|
{
|
|
53
57
|
trigger: "click",
|
|
54
58
|
renderTrigger: (r) => /* @__PURE__ */ n(s, { children: /* @__PURE__ */ o(
|
|
@@ -57,33 +61,33 @@ const A = ({
|
|
|
57
61
|
spacing: 0.5,
|
|
58
62
|
indent: !0,
|
|
59
63
|
alignItems: "center",
|
|
60
|
-
border:
|
|
64
|
+
border: Ln,
|
|
61
65
|
borderRadius: "4px",
|
|
62
66
|
children: [
|
|
63
|
-
/* @__PURE__ */ n(
|
|
67
|
+
/* @__PURE__ */ n(V, { ...t }),
|
|
64
68
|
/* @__PURE__ */ n(x, { num: 0.5 }),
|
|
65
|
-
/* @__PURE__ */ n(k, { size: "small", leftIcon:
|
|
69
|
+
/* @__PURE__ */ n(k, { size: "small", leftIcon: E, ...r })
|
|
66
70
|
]
|
|
67
71
|
}
|
|
68
72
|
) }),
|
|
69
73
|
hideArrow: !0,
|
|
70
74
|
disablePadding: !0,
|
|
71
75
|
placement: "bottom-start",
|
|
72
|
-
children: ({ onRequestClose: r }) => /* @__PURE__ */ n(h, { children: /* @__PURE__ */ n(
|
|
76
|
+
children: ({ onRequestClose: r }) => /* @__PURE__ */ n(h, { children: /* @__PURE__ */ n(W, { children: e(r) }) })
|
|
73
77
|
}
|
|
74
|
-
),
|
|
75
|
-
navBar:
|
|
76
|
-
},
|
|
78
|
+
), Pn = "_navBar_kzibd_1", An = {
|
|
79
|
+
navBar: Pn
|
|
80
|
+
}, $n = ({
|
|
77
81
|
className: e,
|
|
78
82
|
onClick: t
|
|
79
83
|
}) => /* @__PURE__ */ n(
|
|
80
84
|
k,
|
|
81
85
|
{
|
|
82
|
-
leftIcon:
|
|
86
|
+
leftIcon: q,
|
|
83
87
|
className: e,
|
|
84
88
|
onClick: t
|
|
85
89
|
}
|
|
86
|
-
),
|
|
90
|
+
), Ae = ({
|
|
87
91
|
left: e,
|
|
88
92
|
className: t,
|
|
89
93
|
showMenuButton: r = !1,
|
|
@@ -97,7 +101,7 @@ const A = ({
|
|
|
97
101
|
s,
|
|
98
102
|
{
|
|
99
103
|
justifyContent: "space-between",
|
|
100
|
-
className:
|
|
104
|
+
className: g(An.navBar, t),
|
|
101
105
|
children: [
|
|
102
106
|
/* @__PURE__ */ o(
|
|
103
107
|
s,
|
|
@@ -108,15 +112,15 @@ const A = ({
|
|
|
108
112
|
children: [
|
|
109
113
|
/* @__PURE__ */ o(s, { width: "86px", alignItems: "center", children: [
|
|
110
114
|
/* @__PURE__ */ n(x, {}),
|
|
111
|
-
r && /* @__PURE__ */ n(
|
|
115
|
+
r && /* @__PURE__ */ n($n, { onClick: c })
|
|
112
116
|
] }),
|
|
113
117
|
e && /* @__PURE__ */ o(B, { children: [
|
|
114
118
|
e,
|
|
115
119
|
/* @__PURE__ */ n(x, { num: 2 })
|
|
116
120
|
] }),
|
|
117
|
-
i && /* @__PURE__ */ n(B, { children: /* @__PURE__ */ n(s, { justifyContent: "center", alignItems: "center", children:
|
|
121
|
+
i && /* @__PURE__ */ n(B, { children: /* @__PURE__ */ n(s, { justifyContent: "center", alignItems: "center", children: yn.Children.map(i, (p, v) => /* @__PURE__ */ o(B, { children: [
|
|
118
122
|
v > 0 && /* @__PURE__ */ n(x, {}),
|
|
119
|
-
|
|
123
|
+
p
|
|
120
124
|
] })) }) })
|
|
121
125
|
]
|
|
122
126
|
}
|
|
@@ -129,36 +133,36 @@ const A = ({
|
|
|
129
133
|
]
|
|
130
134
|
}
|
|
131
135
|
);
|
|
132
|
-
},
|
|
133
|
-
navBarButton:
|
|
134
|
-
selected:
|
|
135
|
-
},
|
|
136
|
+
}, zn = "_navBarButton_b3x3w_1", Hn = "_selected_b3x3w_14", U = {
|
|
137
|
+
navBarButton: zn,
|
|
138
|
+
selected: Hn
|
|
139
|
+
}, Tn = A(
|
|
136
140
|
function({ selected: e, className: t, ...r }, i) {
|
|
137
141
|
return /* @__PURE__ */ n(
|
|
138
142
|
k,
|
|
139
143
|
{
|
|
140
144
|
...r,
|
|
141
145
|
ref: i,
|
|
142
|
-
className:
|
|
143
|
-
|
|
144
|
-
e &&
|
|
146
|
+
className: g(
|
|
147
|
+
U.navBarButton,
|
|
148
|
+
e && U.selected,
|
|
145
149
|
t
|
|
146
150
|
)
|
|
147
151
|
}
|
|
148
152
|
);
|
|
149
153
|
}
|
|
150
|
-
),
|
|
154
|
+
), $e = (e) => /* @__PURE__ */ n(S, { whiteSpace: "nowrap", variant: "h4", as: "h1", ...e }), ze = ({
|
|
151
155
|
content: e,
|
|
152
156
|
children: t,
|
|
153
157
|
appendTo: r,
|
|
154
158
|
zIndex: i,
|
|
155
159
|
...a
|
|
156
160
|
}) => {
|
|
157
|
-
const [l, , c, d] =
|
|
161
|
+
const [l, , c, d] = X(!1);
|
|
158
162
|
return /* @__PURE__ */ n(
|
|
159
|
-
|
|
163
|
+
J,
|
|
160
164
|
{
|
|
161
|
-
renderTrigger: (
|
|
165
|
+
renderTrigger: (p) => /* @__PURE__ */ n(Tn, { ...a, ...p, onClick: d }),
|
|
162
166
|
open: l,
|
|
163
167
|
onRequestClose: c,
|
|
164
168
|
zIndex: i,
|
|
@@ -169,43 +173,44 @@ const A = ({
|
|
|
169
173
|
] })
|
|
170
174
|
}
|
|
171
175
|
);
|
|
172
|
-
},
|
|
173
|
-
navBarNotificationButton:
|
|
174
|
-
unread:
|
|
175
|
-
icon:
|
|
176
|
-
shake:
|
|
177
|
-
},
|
|
176
|
+
}, Un = "_navBarNotificationButton_1wt3y_1", Dn = "_unread_1wt3y_23", Wn = "_icon_1wt3y_23", En = "_shake_1wt3y_1", C = {
|
|
177
|
+
navBarNotificationButton: Un,
|
|
178
|
+
unread: Dn,
|
|
179
|
+
icon: Wn,
|
|
180
|
+
shake: En
|
|
181
|
+
}, He = A(function({
|
|
178
182
|
count: e,
|
|
179
183
|
unread: t = !1,
|
|
180
184
|
className: r,
|
|
181
185
|
labelClassName: i,
|
|
182
186
|
iconClassName: a,
|
|
183
|
-
icon: l =
|
|
187
|
+
icon: l = dn,
|
|
184
188
|
...c
|
|
185
|
-
})
|
|
186
|
-
const
|
|
189
|
+
}, d) {
|
|
190
|
+
const p = e > 1;
|
|
187
191
|
return /* @__PURE__ */ n(
|
|
188
|
-
|
|
192
|
+
sn,
|
|
189
193
|
{
|
|
190
194
|
...c,
|
|
195
|
+
ref: d,
|
|
191
196
|
leftIcon: l,
|
|
192
|
-
className:
|
|
197
|
+
className: g(
|
|
193
198
|
C.navBarNotificationButton,
|
|
194
199
|
t && C.unread,
|
|
195
|
-
|
|
200
|
+
p && C.hasCount,
|
|
196
201
|
r
|
|
197
202
|
),
|
|
198
|
-
label:
|
|
199
|
-
labelClassName:
|
|
200
|
-
iconClassName:
|
|
203
|
+
label: p ? String(e) : void 0,
|
|
204
|
+
labelClassName: g(i, C.label),
|
|
205
|
+
iconClassName: g(a, C.icon)
|
|
201
206
|
}
|
|
202
207
|
);
|
|
203
|
-
},
|
|
204
|
-
navBarSearchFieldInput:
|
|
205
|
-
navBarSearchFieldWrapper:
|
|
206
|
-
withButton:
|
|
207
|
-
clearButton:
|
|
208
|
-
},
|
|
208
|
+
}), qn = "_navBarSearchFieldInput_1rp8g_1", On = "_navBarSearchFieldWrapper_1rp8g_12", Gn = "_withButton_1rp8g_24", Xn = "_clearButton_1rp8g_33", y = {
|
|
209
|
+
navBarSearchFieldInput: qn,
|
|
210
|
+
navBarSearchFieldWrapper: On,
|
|
211
|
+
withButton: Gn,
|
|
212
|
+
clearButton: Xn
|
|
213
|
+
}, Te = ({
|
|
209
214
|
placeholder: e = "Search",
|
|
210
215
|
className: t,
|
|
211
216
|
wrapperClassName: r,
|
|
@@ -214,54 +219,54 @@ const A = ({
|
|
|
214
219
|
value: l,
|
|
215
220
|
...c
|
|
216
221
|
}) => /* @__PURE__ */ n(
|
|
217
|
-
|
|
222
|
+
Fn,
|
|
218
223
|
{
|
|
219
|
-
wrapperClassName:
|
|
224
|
+
wrapperClassName: g(
|
|
220
225
|
y.navBarSearchFieldWrapper,
|
|
221
226
|
i ? y.withButton : void 0,
|
|
222
227
|
r
|
|
223
228
|
),
|
|
224
|
-
className:
|
|
229
|
+
className: g(y.navBarSearchFieldInput, t),
|
|
225
230
|
placeholder: e,
|
|
226
231
|
value: l,
|
|
227
232
|
buttonRight: l && i ? /* @__PURE__ */ n(
|
|
228
|
-
|
|
233
|
+
un,
|
|
229
234
|
{
|
|
230
235
|
className: y.clearButton,
|
|
231
|
-
icon:
|
|
236
|
+
icon: hn,
|
|
232
237
|
variant: "error",
|
|
233
238
|
onClick: a
|
|
234
239
|
}
|
|
235
240
|
) : void 0,
|
|
236
241
|
...c
|
|
237
242
|
}
|
|
238
|
-
),
|
|
239
|
-
navBarUserButton:
|
|
240
|
-
},
|
|
243
|
+
), Jn = "_navBarUserButton_10f9z_1", Kn = {
|
|
244
|
+
navBarUserButton: Jn
|
|
245
|
+
}, Ue = ({
|
|
241
246
|
className: e,
|
|
242
247
|
username: t,
|
|
243
248
|
initials: r,
|
|
244
|
-
icon: i =
|
|
249
|
+
icon: i = pn,
|
|
245
250
|
responsiveIconOnly: a = r == null,
|
|
246
251
|
...l
|
|
247
252
|
}) => /* @__PURE__ */ n(
|
|
248
|
-
|
|
253
|
+
jn,
|
|
249
254
|
{
|
|
250
255
|
...l,
|
|
251
|
-
className:
|
|
256
|
+
className: g(Kn.navBarUserButton, e),
|
|
252
257
|
leftIcon: t != null ? i : void 0,
|
|
253
258
|
label: r ?? t,
|
|
254
259
|
forceRound: r != null,
|
|
255
260
|
responsiveIconOnly: a,
|
|
256
261
|
disableArrow: !0
|
|
257
262
|
}
|
|
258
|
-
),
|
|
259
|
-
unreadDot:
|
|
260
|
-
dot:
|
|
261
|
-
},
|
|
263
|
+
), Qn = "_unreadDot_l8bni_1", Vn = "_dot_l8bni_4", D = {
|
|
264
|
+
unreadDot: Qn,
|
|
265
|
+
dot: Vn
|
|
266
|
+
}, Yn = ({ children: e }) => /* @__PURE__ */ o("div", { className: D.unreadDot, children: [
|
|
262
267
|
e,
|
|
263
|
-
/* @__PURE__ */ n("div", { className:
|
|
264
|
-
] }),
|
|
268
|
+
/* @__PURE__ */ n("div", { className: D.dot })
|
|
269
|
+
] }), Y = ({
|
|
265
270
|
text: e,
|
|
266
271
|
timestamp: t,
|
|
267
272
|
icon: r,
|
|
@@ -270,7 +275,7 @@ const A = ({
|
|
|
270
275
|
contentRight: l,
|
|
271
276
|
onClose: c,
|
|
272
277
|
unread: d = !1,
|
|
273
|
-
variant:
|
|
278
|
+
variant: p,
|
|
274
279
|
iconBackgroundColor: v
|
|
275
280
|
}) => {
|
|
276
281
|
const _ = r ? /* @__PURE__ */ n(
|
|
@@ -279,13 +284,13 @@ const A = ({
|
|
|
279
284
|
size: "small",
|
|
280
285
|
icon: r,
|
|
281
286
|
"aria-label": i,
|
|
282
|
-
backgroundColor: v ||
|
|
287
|
+
backgroundColor: v || Zn(d, p)
|
|
283
288
|
}
|
|
284
289
|
) : void 0;
|
|
285
290
|
return /* @__PURE__ */ o(s, { alignItems: "flex-start", indent: 2, spacing: !0, children: [
|
|
286
291
|
/* @__PURE__ */ o(s, { spacing: !0, gap: 2, flex: 1, alignItems: "flex-start", children: [
|
|
287
292
|
a && /* @__PURE__ */ n(u, { minHeight: 20, justifyContent: "center", children: a }),
|
|
288
|
-
!a && _ && (d ? /* @__PURE__ */ n(
|
|
293
|
+
!a && _ && (d ? /* @__PURE__ */ n(Yn, { children: _ }) : _),
|
|
289
294
|
/* @__PURE__ */ o(u, { minHeight: 20, justifyContent: "center", flex: 1, gap: 0.5, children: [
|
|
290
295
|
/* @__PURE__ */ n(f, { variant: "bold", children: e }),
|
|
291
296
|
t && /* @__PURE__ */ n(
|
|
@@ -307,20 +312,20 @@ const A = ({
|
|
|
307
312
|
flex: "none",
|
|
308
313
|
justifyContent: "center",
|
|
309
314
|
height: "calc(20px + 2 * var(--swui-metrics-spacing))",
|
|
310
|
-
children: /* @__PURE__ */ n(
|
|
315
|
+
children: /* @__PURE__ */ n(O, { onClick: c })
|
|
311
316
|
}
|
|
312
317
|
)
|
|
313
318
|
] });
|
|
314
|
-
},
|
|
319
|
+
}, Zn = (e, t) => {
|
|
315
320
|
if (!(!e && t === "standard"))
|
|
316
321
|
return "--lhds-color-ui-50";
|
|
317
|
-
},
|
|
318
|
-
notification:
|
|
319
|
-
body:
|
|
320
|
-
standard:
|
|
321
|
-
unread:
|
|
322
|
-
danger:
|
|
323
|
-
},
|
|
322
|
+
}, ne = "_notification_1hao0_1", ee = "_body_1hao0_7", te = "_standard_1hao0_13", re = "_unread_1hao0_14", ie = "_danger_1hao0_19", w = {
|
|
323
|
+
notification: ne,
|
|
324
|
+
body: ee,
|
|
325
|
+
standard: te,
|
|
326
|
+
unread: re,
|
|
327
|
+
danger: ie
|
|
328
|
+
}, De = ({
|
|
324
329
|
variant: e = "standard",
|
|
325
330
|
children: t,
|
|
326
331
|
unread: r,
|
|
@@ -328,27 +333,27 @@ const A = ({
|
|
|
328
333
|
}) => /* @__PURE__ */ o(
|
|
329
334
|
"div",
|
|
330
335
|
{
|
|
331
|
-
className:
|
|
336
|
+
className: g(
|
|
332
337
|
w.notification,
|
|
333
338
|
w[e],
|
|
334
339
|
r && w.unread
|
|
335
340
|
),
|
|
336
341
|
children: [
|
|
337
|
-
/* @__PURE__ */ n(
|
|
342
|
+
/* @__PURE__ */ n(Y, { ...i, unread: r, variant: e }),
|
|
338
343
|
t && /* @__PURE__ */ n(h, { className: w.body, children: t })
|
|
339
344
|
]
|
|
340
345
|
}
|
|
341
|
-
),
|
|
342
|
-
notificationList:
|
|
343
|
-
},
|
|
346
|
+
), oe = "_notificationList_1rkvu_1", ae = {
|
|
347
|
+
notificationList: oe
|
|
348
|
+
}, We = ({
|
|
344
349
|
children: e
|
|
345
|
-
}) => /* @__PURE__ */ o("div", { className:
|
|
350
|
+
}) => /* @__PURE__ */ o("div", { className: ae.notificationList, children: [
|
|
346
351
|
e,
|
|
347
352
|
/* @__PURE__ */ n("div", {})
|
|
348
|
-
] }),
|
|
349
|
-
clickable:
|
|
350
|
-
nonClickable:
|
|
351
|
-
},
|
|
353
|
+
] }), le = "_clickable_1ijxc_1", ce = "_nonClickable_1ijxc_27", R = {
|
|
354
|
+
clickable: le,
|
|
355
|
+
nonClickable: ce
|
|
356
|
+
}, Ee = ({
|
|
352
357
|
onClick: e,
|
|
353
358
|
onClickAriaLabel: t,
|
|
354
359
|
children: r,
|
|
@@ -366,10 +371,10 @@ const A = ({
|
|
|
366
371
|
role: "alert",
|
|
367
372
|
position: "relative",
|
|
368
373
|
children: [
|
|
369
|
-
/* @__PURE__ */ n(u, { className:
|
|
370
|
-
r && /* @__PURE__ */ o(u, { indent: 3, className:
|
|
374
|
+
/* @__PURE__ */ n(u, { className: g({ [R.nonClickable]: e }), children: /* @__PURE__ */ n(Y, { ...l }) }),
|
|
375
|
+
r && /* @__PURE__ */ o(u, { indent: 3, className: g({ [R.nonClickable]: e }), children: [
|
|
371
376
|
r,
|
|
372
|
-
/* @__PURE__ */ n(
|
|
377
|
+
/* @__PURE__ */ n(m, { num: 2 })
|
|
373
378
|
] }),
|
|
374
379
|
e && /* @__PURE__ */ n(
|
|
375
380
|
"button",
|
|
@@ -381,11 +386,11 @@ const A = ({
|
|
|
381
386
|
)
|
|
382
387
|
]
|
|
383
388
|
}
|
|
384
|
-
),
|
|
385
|
-
/* @__PURE__ */ n(
|
|
386
|
-
/* @__PURE__ */ n(
|
|
389
|
+
), se = () => /* @__PURE__ */ o(h, { indent: !0, spacing: !0, flex: 1, alignItems: "center", children: [
|
|
390
|
+
/* @__PURE__ */ n(gn, { icon: mn, color: b("--lhds-color-ui-500") }),
|
|
391
|
+
/* @__PURE__ */ n(m, {}),
|
|
387
392
|
/* @__PURE__ */ n(f, { size: "small", color: b("--lhds-color-ui-500"), children: "No content" })
|
|
388
|
-
] }),
|
|
393
|
+
] }), de = A(
|
|
389
394
|
function({
|
|
390
395
|
label: t,
|
|
391
396
|
contentLeft: r,
|
|
@@ -394,14 +399,14 @@ const A = ({
|
|
|
394
399
|
onClick: l,
|
|
395
400
|
disabled: c = !1,
|
|
396
401
|
children: d,
|
|
397
|
-
autoFocus:
|
|
402
|
+
autoFocus: p = !1,
|
|
398
403
|
...v
|
|
399
404
|
}, _) {
|
|
400
405
|
return /* @__PURE__ */ n(
|
|
401
406
|
L,
|
|
402
407
|
{
|
|
403
408
|
...v,
|
|
404
|
-
autoFocus:
|
|
409
|
+
autoFocus: p,
|
|
405
410
|
ref: _,
|
|
406
411
|
label: t,
|
|
407
412
|
onClick: l,
|
|
@@ -411,13 +416,13 @@ const A = ({
|
|
|
411
416
|
selected: !a,
|
|
412
417
|
left: r,
|
|
413
418
|
right: i,
|
|
414
|
-
children: d ?? /* @__PURE__ */ n(
|
|
419
|
+
children: d ?? /* @__PURE__ */ n(se, {})
|
|
415
420
|
}
|
|
416
421
|
);
|
|
417
422
|
}
|
|
418
|
-
),
|
|
423
|
+
), qe = ({
|
|
419
424
|
children: e
|
|
420
|
-
}) => /* @__PURE__ */ n(h, { gap: 1, children: e }),
|
|
425
|
+
}) => /* @__PURE__ */ n(h, { gap: 1, children: e }), Oe = ({
|
|
421
426
|
value: e,
|
|
422
427
|
onValueChange: t,
|
|
423
428
|
onChange: r,
|
|
@@ -425,10 +430,10 @@ const A = ({
|
|
|
425
430
|
checkboxDisabled: a,
|
|
426
431
|
...l
|
|
427
432
|
}) => /* @__PURE__ */ n(
|
|
428
|
-
|
|
433
|
+
de,
|
|
429
434
|
{
|
|
430
435
|
contentLeft: /* @__PURE__ */ n(
|
|
431
|
-
|
|
436
|
+
V,
|
|
432
437
|
{
|
|
433
438
|
value: e,
|
|
434
439
|
indeterminate: i,
|
|
@@ -440,54 +445,54 @@ const A = ({
|
|
|
440
445
|
),
|
|
441
446
|
...l
|
|
442
447
|
}
|
|
443
|
-
),
|
|
448
|
+
), Ge = ({ children: e }) => /* @__PURE__ */ n(u, { spacing: !0, indent: !0, children: /* @__PURE__ */ n(f, { variant: "overline", size: "smaller", children: e }) }), ue = ({
|
|
444
449
|
text: e,
|
|
445
450
|
heading: t,
|
|
446
451
|
children: r,
|
|
447
452
|
buttons: i,
|
|
448
|
-
icon: a =
|
|
453
|
+
icon: a = vn,
|
|
449
454
|
headingLevel: l = "h3",
|
|
450
455
|
...c
|
|
451
456
|
}) => {
|
|
452
457
|
const d = !e && !t ? "Something unexpected happened." : e;
|
|
453
|
-
return /* @__PURE__ */ n(
|
|
458
|
+
return /* @__PURE__ */ n(fn, { ...c, children: /* @__PURE__ */ n(bn, { children: /* @__PURE__ */ o(h, { spacing: 1, gap: 3, alignItems: "center", children: [
|
|
454
459
|
/* @__PURE__ */ o(h, { alignItems: "center", children: [
|
|
455
|
-
/* @__PURE__ */ n(
|
|
460
|
+
/* @__PURE__ */ n(m, { num: 1 }),
|
|
456
461
|
/* @__PURE__ */ n(j, { icon: a, size: "xl" })
|
|
457
462
|
] }),
|
|
458
463
|
t && /* @__PURE__ */ n(S, { as: l, children: t }),
|
|
459
464
|
d && /* @__PURE__ */ n(f, { children: d }),
|
|
460
465
|
r,
|
|
461
466
|
i && /* @__PURE__ */ o(u, { children: [
|
|
462
|
-
/* @__PURE__ */ n(
|
|
467
|
+
/* @__PURE__ */ n(m, { num: 2 }),
|
|
463
468
|
i
|
|
464
469
|
] })
|
|
465
470
|
] }) }) });
|
|
466
|
-
},
|
|
471
|
+
}, Xe = (e) => /* @__PURE__ */ n(
|
|
467
472
|
u,
|
|
468
473
|
{
|
|
469
474
|
width: "100%",
|
|
470
475
|
height: "100%",
|
|
471
476
|
justifyContent: "center",
|
|
472
477
|
alignItems: "center",
|
|
473
|
-
children: /* @__PURE__ */ n(
|
|
478
|
+
children: /* @__PURE__ */ n(ue, { ...e })
|
|
474
479
|
}
|
|
475
|
-
),
|
|
480
|
+
), he = ({
|
|
476
481
|
text: e = "Loading..."
|
|
477
482
|
}) => /* @__PURE__ */ o(u, { alignItems: "center", children: [
|
|
478
|
-
/* @__PURE__ */ n(
|
|
479
|
-
/* @__PURE__ */ n(
|
|
483
|
+
/* @__PURE__ */ n(_n, { size: "small" }),
|
|
484
|
+
/* @__PURE__ */ n(m, { num: 4 }),
|
|
480
485
|
/* @__PURE__ */ n(S, { variant: "h4", children: e })
|
|
481
|
-
] }),
|
|
486
|
+
] }), Je = (e) => /* @__PURE__ */ n(
|
|
482
487
|
u,
|
|
483
488
|
{
|
|
484
489
|
width: "100%",
|
|
485
490
|
height: "100%",
|
|
486
491
|
justifyContent: "center",
|
|
487
492
|
alignItems: "center",
|
|
488
|
-
children: /* @__PURE__ */ n(
|
|
493
|
+
children: /* @__PURE__ */ n(he, { ...e })
|
|
489
494
|
}
|
|
490
|
-
),
|
|
495
|
+
), Ke = ({
|
|
491
496
|
renderBreadCrumbs: e,
|
|
492
497
|
renderPageHeading: t,
|
|
493
498
|
renderTabs: r,
|
|
@@ -499,11 +504,11 @@ const A = ({
|
|
|
499
504
|
e()
|
|
500
505
|
] }),
|
|
501
506
|
t == null ? void 0 : t(),
|
|
502
|
-
r && /* @__PURE__ */ n(
|
|
507
|
+
r && /* @__PURE__ */ n(m, {}),
|
|
503
508
|
r == null ? void 0 : r()
|
|
504
509
|
] }),
|
|
505
510
|
i
|
|
506
|
-
] }),
|
|
511
|
+
] }), Qe = (e) => /* @__PURE__ */ n(s, { indent: 3, spacing: !0, ...e }), Ve = ({
|
|
507
512
|
icon: e,
|
|
508
513
|
heading: t,
|
|
509
514
|
headingLevel: r = "h2",
|
|
@@ -516,14 +521,14 @@ const A = ({
|
|
|
516
521
|
] }),
|
|
517
522
|
/* @__PURE__ */ n(s, { alignItems: "center", children: i }),
|
|
518
523
|
/* @__PURE__ */ n(s, { style: { marginLeft: "auto" }, alignItems: "center", children: a })
|
|
519
|
-
] }),
|
|
520
|
-
sidebarMenu:
|
|
521
|
-
sidebarItems:
|
|
522
|
-
scrollContainer:
|
|
523
|
-
},
|
|
524
|
-
stenaFlag:
|
|
525
|
-
},
|
|
526
|
-
/* @__PURE__ */ n(
|
|
524
|
+
] }), pe = "_sidebarMenu_1bx5w_1", ge = "_sidebarItems_1bx5w_38", me = "_scrollContainer_1bx5w_48", F = {
|
|
525
|
+
sidebarMenu: pe,
|
|
526
|
+
sidebarItems: ge,
|
|
527
|
+
scrollContainer: me
|
|
528
|
+
}, fe = "_stenaFlag_108h7_1", be = {
|
|
529
|
+
stenaFlag: fe
|
|
530
|
+
}, ve = ({ onClick: e }) => /* @__PURE__ */ o(h, { background: b("--lhds-color-ui-50"), children: [
|
|
531
|
+
/* @__PURE__ */ n(m, {}),
|
|
527
532
|
/* @__PURE__ */ o(
|
|
528
533
|
s,
|
|
529
534
|
{
|
|
@@ -533,16 +538,16 @@ const A = ({
|
|
|
533
538
|
indent: 1,
|
|
534
539
|
minHeight: "48px",
|
|
535
540
|
children: [
|
|
536
|
-
/* @__PURE__ */ n(
|
|
537
|
-
/* @__PURE__ */ n(
|
|
541
|
+
/* @__PURE__ */ n(O, { onClick: e }),
|
|
542
|
+
/* @__PURE__ */ n(Bn, { className: be.stenaFlag })
|
|
538
543
|
]
|
|
539
544
|
}
|
|
540
545
|
)
|
|
541
|
-
] }),
|
|
546
|
+
] }), _e = ({
|
|
542
547
|
isPinned: e,
|
|
543
548
|
onClick: t,
|
|
544
549
|
label: r
|
|
545
|
-
}) => /* @__PURE__ */ n(L, { onClick: t, label: r ?? (e ? "Unpin menu" : "Pin menu"), leftIcon: e ?
|
|
550
|
+
}) => /* @__PURE__ */ n(L, { onClick: t, label: r ?? (e ? "Unpin menu" : "Pin menu"), leftIcon: e ? G : Cn }), Ye = ({
|
|
546
551
|
className: e,
|
|
547
552
|
children: t,
|
|
548
553
|
onCloseClick: r,
|
|
@@ -551,8 +556,8 @@ const A = ({
|
|
|
551
556
|
bottomItems: l,
|
|
552
557
|
isPinned: c,
|
|
553
558
|
...d
|
|
554
|
-
}) => /* @__PURE__ */ o(u, { ...d, className:
|
|
555
|
-
/* @__PURE__ */ n(
|
|
559
|
+
}) => /* @__PURE__ */ o(u, { ...d, className: g(F.sidebarMenu, e), children: [
|
|
560
|
+
/* @__PURE__ */ n(ve, { onClick: r }),
|
|
556
561
|
/* @__PURE__ */ n(u, { className: F.scrollContainer, children: /* @__PURE__ */ o(
|
|
557
562
|
h,
|
|
558
563
|
{
|
|
@@ -566,24 +571,24 @@ const A = ({
|
|
|
566
571
|
(l || i) && /* @__PURE__ */ o(h, { gap: 1, children: [
|
|
567
572
|
l,
|
|
568
573
|
i && /* @__PURE__ */ n(
|
|
569
|
-
|
|
574
|
+
_e,
|
|
570
575
|
{
|
|
571
576
|
isPinned: c,
|
|
572
577
|
onClick: a
|
|
573
578
|
}
|
|
574
579
|
),
|
|
575
|
-
/* @__PURE__ */ n(
|
|
580
|
+
/* @__PURE__ */ n(m, {})
|
|
576
581
|
] })
|
|
577
582
|
]
|
|
578
583
|
}
|
|
579
584
|
) })
|
|
580
|
-
] }), N =
|
|
585
|
+
] }), N = kn(!1), z = () => Sn(N), Be = ({
|
|
581
586
|
label: e,
|
|
582
587
|
...t
|
|
583
|
-
}) => /* @__PURE__ */ n(
|
|
588
|
+
}) => /* @__PURE__ */ n(Q, { label: e + ` <Tooltip label={label2} placement={"right"} visible>
|
|
584
589
|
<IconMenuButton {...menuButtonLinkProps} />
|
|
585
590
|
</Tooltip>
|
|
586
|
-
`, placement: "right", visible: !0, children: /* @__PURE__ */ n(P, { ...t }) }),
|
|
591
|
+
`, placement: "right", visible: !0, children: /* @__PURE__ */ n(P, { ...t }) }), Ze = ({
|
|
587
592
|
closeButtonVisible: e,
|
|
588
593
|
onClickCloseButton: t,
|
|
589
594
|
onClickMenuButton: r,
|
|
@@ -603,15 +608,15 @@ const A = ({
|
|
|
603
608
|
shadow: "popover",
|
|
604
609
|
background: b("--lhds-color-ui-50"),
|
|
605
610
|
children: [
|
|
606
|
-
/* @__PURE__ */ n(P, { onClick: r, icon:
|
|
611
|
+
/* @__PURE__ */ n(P, { onClick: r, icon: q }),
|
|
607
612
|
/* @__PURE__ */ o(h, { justifyContent: "space-between", flex: 1, gap: 1, children: [
|
|
608
613
|
/* @__PURE__ */ n(h, { gap: 1, children: /* @__PURE__ */ n(N.Provider, { value: !0, children: i }) }),
|
|
609
614
|
/* @__PURE__ */ n(h, { gap: 1, children: (a || e) && /* @__PURE__ */ o(N.Provider, { value: !0, children: [
|
|
610
615
|
a,
|
|
611
616
|
e && /* @__PURE__ */ n(
|
|
612
|
-
|
|
617
|
+
Be,
|
|
613
618
|
{
|
|
614
|
-
icon:
|
|
619
|
+
icon: G,
|
|
615
620
|
label: l,
|
|
616
621
|
onClick: t
|
|
617
622
|
}
|
|
@@ -620,22 +625,22 @@ const A = ({
|
|
|
620
625
|
] })
|
|
621
626
|
]
|
|
622
627
|
}
|
|
623
|
-
),
|
|
628
|
+
), Ce = ({
|
|
624
629
|
label: e
|
|
625
|
-
}) =>
|
|
626
|
-
/* @__PURE__ */ n(
|
|
630
|
+
}) => z() ? null : /* @__PURE__ */ o(u, { height: "32px", justifyContent: "center", indent: 1, children: [
|
|
631
|
+
/* @__PURE__ */ n(m, {}),
|
|
627
632
|
/* @__PURE__ */ n(f, { variant: "overline", size: "smaller", children: e })
|
|
628
|
-
] }),
|
|
633
|
+
] }), xe = ({
|
|
629
634
|
label: e,
|
|
630
635
|
leftIcon: t,
|
|
631
636
|
...r
|
|
632
|
-
}) => t == null ? null : /* @__PURE__ */ n(
|
|
637
|
+
}) => t == null ? null : /* @__PURE__ */ n(Q, { label: e, placement: "right", children: /* @__PURE__ */ n(xn, { icon: t, ...r }) }), nt = (e) => z() ? /* @__PURE__ */ n(xe, { ...e }) : /* @__PURE__ */ n(In, { ...e }), Ie = ({
|
|
633
638
|
children: e,
|
|
634
639
|
label: t,
|
|
635
640
|
icon: r,
|
|
636
641
|
popupMinWidth: i = "200px"
|
|
637
642
|
}) => /* @__PURE__ */ n(
|
|
638
|
-
|
|
643
|
+
K,
|
|
639
644
|
{
|
|
640
645
|
renderTrigger: (a) => /* @__PURE__ */ n(P, { icon: r, ...a }),
|
|
641
646
|
placement: "right-start",
|
|
@@ -650,21 +655,21 @@ const A = ({
|
|
|
650
655
|
indent: 1,
|
|
651
656
|
gap: 2,
|
|
652
657
|
children: /* @__PURE__ */ o(N.Provider, { value: !1, children: [
|
|
653
|
-
/* @__PURE__ */ n(
|
|
658
|
+
/* @__PURE__ */ n(Ce, { label: t }),
|
|
654
659
|
e
|
|
655
660
|
] })
|
|
656
661
|
}
|
|
657
662
|
)
|
|
658
663
|
}
|
|
659
|
-
),
|
|
664
|
+
), et = ({
|
|
660
665
|
children: e,
|
|
661
666
|
label: t,
|
|
662
667
|
leftIcon: r,
|
|
663
668
|
className: i,
|
|
664
669
|
initialExpand: a = !1
|
|
665
670
|
}) => {
|
|
666
|
-
const [l, c] =
|
|
667
|
-
return
|
|
671
|
+
const [l, c] = Mn(a);
|
|
672
|
+
return z() ? r == null ? null : /* @__PURE__ */ n(Ie, { label: t, icon: r, children: e }) : /* @__PURE__ */ n(
|
|
668
673
|
L,
|
|
669
674
|
{
|
|
670
675
|
label: t,
|
|
@@ -677,13 +682,13 @@ const A = ({
|
|
|
677
682
|
children: e
|
|
678
683
|
}
|
|
679
684
|
);
|
|
680
|
-
},
|
|
681
|
-
|
|
685
|
+
}, tt = (e) => /* @__PURE__ */ n(
|
|
686
|
+
Rn,
|
|
682
687
|
{
|
|
683
688
|
color: b("--lhds-color-ui-400"),
|
|
684
689
|
...e
|
|
685
690
|
}
|
|
686
|
-
),
|
|
691
|
+
), rt = ({ numItemsSelected: e, label: t, afterLabelContent: r, rightContent: i }) => /* @__PURE__ */ o(
|
|
687
692
|
s,
|
|
688
693
|
{
|
|
689
694
|
indent: 3,
|
|
@@ -699,7 +704,7 @@ const A = ({
|
|
|
699
704
|
/* @__PURE__ */ o(s, { alignItems: "center", gap: 2, children: [
|
|
700
705
|
e != null || t != null ? /* @__PURE__ */ n(s, { alignItems: "center", children: e != null ? /* @__PURE__ */ o(B, { children: [
|
|
701
706
|
/* @__PURE__ */ n(f, { children: e }),
|
|
702
|
-
/* @__PURE__ */ n(
|
|
707
|
+
/* @__PURE__ */ n(m, {}),
|
|
703
708
|
/* @__PURE__ */ o(f, { children: [
|
|
704
709
|
"item",
|
|
705
710
|
e === 1 ? "" : "s",
|
|
@@ -711,44 +716,44 @@ const A = ({
|
|
|
711
716
|
/* @__PURE__ */ n(s, { gap: 2, children: i })
|
|
712
717
|
]
|
|
713
718
|
}
|
|
714
|
-
),
|
|
719
|
+
), it = ({ children: e }) => /* @__PURE__ */ n(s, { spacing: 0.5, indent: 0.5, flex: 1, children: e });
|
|
715
720
|
export {
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
721
|
+
jn as ActionMenuFlatButton,
|
|
722
|
+
je as ActionMenuPrimaryButton,
|
|
723
|
+
Le as ActionMenuSecondaryButton,
|
|
724
|
+
Pe as CheckboxMenu,
|
|
725
|
+
de as Collapsible,
|
|
726
|
+
se as CollapsibleEmptyContent,
|
|
727
|
+
Ge as CollapsibleGroupHeading,
|
|
728
|
+
qe as CollapsibleList,
|
|
729
|
+
Oe as CollapsibleWithCheckbox,
|
|
730
|
+
ue as ErrorPanel,
|
|
731
|
+
Xe as ErrorScreen,
|
|
732
|
+
he as LoadingPanel,
|
|
733
|
+
Je as LoadingScreen,
|
|
734
|
+
Ae as NavBar,
|
|
735
|
+
Tn as NavBarButton,
|
|
736
|
+
$e as NavBarHeading,
|
|
737
|
+
He as NavBarNotificationButton,
|
|
738
|
+
ze as NavBarPopoverButton,
|
|
739
|
+
Te as NavBarSearchField,
|
|
740
|
+
Ue as NavBarUserButton,
|
|
741
|
+
De as Notification,
|
|
742
|
+
Y as NotificationHeader,
|
|
743
|
+
We as NotificationList,
|
|
744
|
+
Ke as PageHeader,
|
|
745
|
+
Qe as PageHeaderRow,
|
|
746
|
+
Ve as PageHeading,
|
|
747
|
+
it as SelectedItemsActionsPadding,
|
|
748
|
+
rt as SelectedItemsActionsPanel,
|
|
749
|
+
Ye as SidebarMenu,
|
|
750
|
+
et as SidebarMenuCollapsible,
|
|
751
|
+
Ce as SidebarMenuHeading,
|
|
752
|
+
nt as SidebarMenuLink,
|
|
753
|
+
tt as SidebarMenuSeparator,
|
|
754
|
+
Ze as SidebarRailMenu,
|
|
755
|
+
Ee as Toast,
|
|
756
|
+
Yn as UnreadDot,
|
|
757
|
+
Zn as getIconBgColorFromVariant
|
|
753
758
|
};
|
|
754
759
|
//# sourceMappingURL=index.es.js.map
|