@stenajs-webui/panels 19.0.0-next.22 → 19.0.0-next.24

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