@stenajs-webui/panels 19.0.0-next.21 → 19.0.0-next.23

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 G, ActionMenuContext as rn, stenaAngleDown as J, PrimaryButton as cn, SecondaryButton as sn, FlatButton as C, stenaHamburger as K, stenaBellFilled as ln, stenaUserCircle as dn, CircledIcon as Q, stenaTimes as X, Icon as un, stenaMail as hn, MenuButton as L, Banner as pn, Spinner as gn, StenaFlag as fn, stenaAngleLeftDouble as Y, stenaPin as mn, IconMenuButton as R, IconMenuButtonLink as bn, MenuButtonLink as vn } from "@stenajs-webui/elements";
4
- import * as _n from "react";
5
- import { useRef as Cn, useMemo as Bn, forwardRef as xn, createContext as yn, useContext as kn, useState as In } from "react";
6
- import { useBoolean as P, Column as f, Box as s, Row as l, Indent as x, Heading as z, Text as v, Space as _, SeparatorLine as Nn } from "@stenajs-webui/core";
7
- import { Popover as M, Tooltip as wn } from "@stenajs-webui/tooltip";
8
- import { Checkbox as Z, TextInput as Mn } from "@stenajs-webui/forms";
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
+ import { Checkbox as Y, TextInput as Nn } from "@stenajs-webui/forms";
9
9
  import h from "classnames";
10
- import { cssColor as m } 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
- rightIcon: a = J,
16
- portalTarget: r = "parent",
15
+ rightIcon: r = G,
16
+ portalTarget: i = "parent",
17
17
  zIndex: c,
18
18
  menuWidth: d,
19
19
  menuTop: u,
20
20
  onClick: p,
21
- disableArrow: g = !1,
22
- ...S
21
+ disableArrow: m = !1,
22
+ ...M
23
23
  }) => {
24
- const [E, D, y, en] = P(!1), j = Cn(null), tn = {
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
- let N = !1;
28
+ let w = !1;
29
29
  const U = (B) => {
30
- B.key === "Escape" && (N = !0, y()), (B.key === "Enter" || B.key === " ") && (N = !0);
30
+ B.key === "Escape" && (w = !0, y()), (B.key === "Enter" || B.key === " ") && (w = !0);
31
31
  };
32
32
  return {
33
33
  onCreate() {
@@ -38,56 +38,56 @@ const $ = ({
38
38
  },
39
39
  onMount() {
40
40
  var B;
41
- N = !1, (B = k.querySelector("button:not([disabled]), a[href]")) == null || B.focus();
41
+ w = !1, (B = k.querySelector("button:not([disabled]), a[href]")) == null || B.focus();
42
42
  },
43
43
  onHide() {
44
- j.current && N && j.current.focus();
44
+ F.current && w && F.current.focus();
45
45
  }
46
46
  };
47
47
  }
48
- }, on = Bn(() => ({ open: D, close: y }), [D, y]), an = (k) => {
49
- p == null || p(k), en();
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
- M,
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(G, { width: d, top: u, trapFocus: !0, children: /* @__PURE__ */ n(rn.Provider, { value: on, 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: r,
60
+ appendTo: i,
61
61
  zIndex: c,
62
- plugins: [tn],
62
+ plugins: [en],
63
63
  lazy: !0,
64
64
  children: /* @__PURE__ */ n(
65
65
  o,
66
66
  {
67
- rightIcon: g ? void 0 : a,
68
- ...S,
69
- ref: j,
70
- onClick: an
67
+ rightIcon: m ? void 0 : r,
68
+ ...M,
69
+ ref: F,
70
+ onClick: on
71
71
  }
72
72
  )
73
73
  }
74
74
  );
75
- }, Ne = (e) => /* @__PURE__ */ n($, { buttonComponent: cn, ...e }), we = (e) => /* @__PURE__ */ n($, { buttonComponent: sn, ...e }), Sn = (e) => /* @__PURE__ */ n($, { buttonComponent: C, ...e }), jn = "1px solid var(--lhds-color-ui-300)", Me = ({
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, a, r] = P(!1);
79
+ const [o, r, i] = P(!1);
80
80
  return /* @__PURE__ */ n(
81
- M,
81
+ j,
82
82
  {
83
- onClickOutside: r,
83
+ onClickOutside: i,
84
84
  arrow: !1,
85
85
  visible: o,
86
86
  disablePadding: !0,
87
- content: e ? /* @__PURE__ */ n(f, { children: /* @__PURE__ */ n(G, { children: e(r) }) }) : 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(s, { display: "inline-block", children: /* @__PURE__ */ i(
90
- l,
89
+ children: /* @__PURE__ */ n(l, { display: "inline-block", children: /* @__PURE__ */ a(
90
+ s,
91
91
  {
92
92
  spacing: 0.5,
93
93
  indent: !0,
@@ -95,76 +95,76 @@ const $ = ({
95
95
  border: jn,
96
96
  borderRadius: "4px",
97
97
  children: [
98
- /* @__PURE__ */ n(Z, { ...t }),
98
+ /* @__PURE__ */ n(Y, { ...t }),
99
99
  /* @__PURE__ */ n(x, { num: 0.5 }),
100
- /* @__PURE__ */ n(C, { size: "small", onClick: a, leftIcon: J })
100
+ /* @__PURE__ */ n(C, { size: "small", onClick: r, leftIcon: G })
101
101
  ]
102
102
  }
103
103
  ) })
104
104
  }
105
105
  );
106
- }, Fn = "_navBar_kzibd_1", Rn = {
107
- navBar: Fn
108
- }, Ln = ({
106
+ }, Mn = "_navBar_kzibd_1", Fn = {
107
+ navBar: Mn
108
+ }, Rn = ({
109
109
  className: e,
110
110
  onClick: t
111
111
  }) => /* @__PURE__ */ n(
112
112
  C,
113
113
  {
114
- leftIcon: K,
114
+ leftIcon: J,
115
115
  className: e,
116
116
  onClick: t
117
117
  }
118
- ), Se = ({
118
+ ), Me = ({
119
119
  left: e,
120
120
  className: t,
121
121
  showMenuButton: o = !1,
122
- children: a,
123
- right: r,
122
+ children: r,
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(
129
- l,
128
+ return /* @__PURE__ */ a(
129
+ s,
130
130
  {
131
131
  justifyContent: "space-between",
132
- className: h(Rn.navBar, t),
132
+ className: h(Fn.navBar, t),
133
133
  children: [
134
- /* @__PURE__ */ i(
135
- l,
134
+ /* @__PURE__ */ a(
135
+ s,
136
136
  {
137
137
  flex: u,
138
138
  justifyContent: "flex-start",
139
139
  alignItems: "center",
140
140
  children: [
141
- /* @__PURE__ */ i(l, { width: "86px", alignItems: "center", children: [
141
+ /* @__PURE__ */ a(s, { width: "86px", alignItems: "center", children: [
142
142
  /* @__PURE__ */ n(x, {}),
143
- o && /* @__PURE__ */ n(Ln, { onClick: d })
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
- a && /* @__PURE__ */ n(b, { children: /* @__PURE__ */ n(l, { justifyContent: "center", alignItems: "center", children: _n.Children.map(a, (p, g) => /* @__PURE__ */ i(b, { children: [
150
- g > 0 && /* @__PURE__ */ n(x, {}),
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
+ m > 0 && /* @__PURE__ */ n(x, {}),
151
151
  p
152
152
  ] })) }) })
153
153
  ]
154
154
  }
155
155
  ),
156
- c && /* @__PURE__ */ n(l, { justifyContent: "center", alignItems: "center", children: c }),
157
- /* @__PURE__ */ i(l, { justifyContent: "flex-end", alignItems: "center", flex: u, children: [
158
- r,
156
+ c && /* @__PURE__ */ n(s, { justifyContent: "center", alignItems: "center", children: c }),
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
- }, Pn = "_navBarButton_18iz9_1", zn = "_selected_18iz9_36", O = {
165
- navBarButton: Pn,
166
- selected: zn
167
- }, $n = ({
164
+ }, Ln = "_navBarButton_18iz9_1", Pn = "_selected_18iz9_36", D = {
165
+ navBarButton: Ln,
166
+ selected: Pn
167
+ }, zn = ({
168
168
  selected: e,
169
169
  className: t,
170
170
  ...o
@@ -173,42 +173,42 @@ const $ = ({
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
- ), je = (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 [a, , r, c] = P(!1);
186
+ const [r, , i, c] = P(!1);
187
187
  return /* @__PURE__ */ n(
188
- M,
188
+ j,
189
189
  {
190
- onClickOutside: r,
190
+ onClickOutside: i,
191
191
  triggerTarget: document.body,
192
- visible: a,
193
- content: /* @__PURE__ */ i(b, { children: [
194
- e && e({ close: r }),
192
+ visible: r,
193
+ content: /* @__PURE__ */ a(v, { children: [
194
+ e && e({ close: i }),
195
195
  t
196
196
  ] }),
197
- children: /* @__PURE__ */ n($n, { ...o, onClick: c })
197
+ children: /* @__PURE__ */ n(zn, { ...o, onClick: c })
198
198
  }
199
199
  );
200
- }, An = "_navBarNotificationButton_8ej1j_1", Hn = "_unread_8ej1j_54", En = "_hasCount_8ej1j_68", Dn = "_icon_8ej1j_69", Un = "_shake_8ej1j_1", I = {
201
- navBarNotificationButton: An,
202
- unread: Hn,
203
- hasCount: En,
204
- icon: Dn,
200
+ }, $n = "_navBarNotificationButton_8ej1j_1", An = "_unread_8ej1j_54", Hn = "_hasCount_8ej1j_68", En = "_icon_8ej1j_69", Un = "_shake_8ej1j_1", I = {
201
+ navBarNotificationButton: $n,
202
+ unread: An,
203
+ hasCount: Hn,
204
+ icon: En,
205
205
  shake: Un
206
- }, Re = ({
206
+ }, Le = ({
207
207
  count: e,
208
208
  unread: t = !1,
209
209
  className: o,
210
- labelClassName: a,
211
- iconClassName: r,
210
+ labelClassName: r,
211
+ iconClassName: i,
212
212
  icon: c = ln,
213
213
  ...d
214
214
  }) => {
@@ -225,35 +225,35 @@ const $ = ({
225
225
  o
226
226
  ),
227
227
  label: u ? String(e) : void 0,
228
- labelClassName: h(a, I.label),
229
- iconClassName: h(r, I.icon)
228
+ labelClassName: h(r, I.label),
229
+ iconClassName: h(i, I.icon)
230
230
  }
231
231
  );
232
- }, On = "_navBarSearchFieldInput_16tw5_1", Tn = "_navBarSearchField_16tw5_1", T = {
233
- navBarSearchFieldInput: On,
234
- navBarSearchField: Tn
235
- }, Le = ({
232
+ }, Dn = "_navBarSearchFieldInput_16tw5_1", On = "_navBarSearchField_16tw5_1", O = {
233
+ navBarSearchFieldInput: Dn,
234
+ navBarSearchField: On
235
+ }, Pe = ({
236
236
  placeholder: e = "Search",
237
237
  className: t,
238
238
  wrapperClassName: o,
239
- ...a
239
+ ...r
240
240
  }) => /* @__PURE__ */ n(
241
- Mn,
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
- ...a
246
+ ...r
247
247
  }
248
- ), Vn = "_navBarUserButton_1cwhm_1", Wn = "_initials_1cwhm_31", V = {
249
- navBarUserButton: Vn,
248
+ ), Tn = "_navBarUserButton_1cwhm_1", Wn = "_initials_1cwhm_31", T = {
249
+ navBarUserButton: Tn,
250
250
  initials: Wn
251
- }, Pe = ({
251
+ }, ze = ({
252
252
  className: e,
253
253
  username: t,
254
254
  initials: o,
255
- icon: a = dn,
256
- iconClassName: r,
255
+ icon: r = sn,
256
+ iconClassName: i,
257
257
  responsiveIconOnly: c = o == null,
258
258
  ...d
259
259
  }) => /* @__PURE__ */ n(
@@ -261,11 +261,11 @@ 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
- leftIcon: t != null ? a : void 0,
268
+ leftIcon: t != null ? r : void 0,
269
269
  label: o != null ? o : t,
270
270
  responsiveIconOnly: c,
271
271
  disableArrow: !0
@@ -273,40 +273,40 @@ const $ = ({
273
273
  ), qn = "_unreadDot_l8bni_1", Gn = "_dot_l8bni_4", W = {
274
274
  unreadDot: qn,
275
275
  dot: Gn
276
- }, Jn = ({ children: e }) => /* @__PURE__ */ i("div", { className: W.unreadDot, children: [
276
+ }, Jn = ({ children: e }) => /* @__PURE__ */ a("div", { className: W.unreadDot, children: [
277
277
  e,
278
278
  /* @__PURE__ */ n("div", { className: W.dot })
279
- ] }), nn = ({
279
+ ] }), Z = ({
280
280
  text: e,
281
281
  timestamp: t,
282
282
  icon: o,
283
- iconAriaLabel: a,
284
- contentLeft: r,
283
+ iconAriaLabel: r,
284
+ contentLeft: i,
285
285
  contentRight: c,
286
286
  onClose: d,
287
287
  unread: u = !1,
288
288
  variant: p
289
289
  }) => {
290
- const g = o ? /* @__PURE__ */ n(
291
- Q,
290
+ const m = o ? /* @__PURE__ */ n(
291
+ K,
292
292
  {
293
293
  size: "small",
294
294
  icon: o,
295
- "aria-label": a,
295
+ "aria-label": r,
296
296
  backgroundColor: Kn(u, p)
297
297
  }
298
298
  ) : void 0;
299
- return /* @__PURE__ */ i(l, { alignItems: "flex-start", indent: 2, spacing: !0, children: [
300
- /* @__PURE__ */ i(l, { spacing: !0, gap: 2, flex: 1, alignItems: "flex-start", children: [
301
- r && /* @__PURE__ */ n(s, { minHeight: 20, justifyContent: "center", children: r }),
302
- !r && g && (u ? /* @__PURE__ */ n(Jn, { children: g }) : g),
303
- /* @__PURE__ */ i(s, { 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: m(
309
+ color: f(
310
310
  u ? "--lhds-color-blue-600" : "--lhds-color-ui-600"
311
311
  ),
312
312
  children: t
@@ -316,7 +316,7 @@ const $ = ({
316
316
  c
317
317
  ] }),
318
318
  d && /* @__PURE__ */ n(
319
- s,
319
+ l,
320
320
  {
321
321
  flex: "none",
322
322
  justifyContent: "center",
@@ -324,7 +324,7 @@ const $ = ({
324
324
  children: /* @__PURE__ */ n(
325
325
  C,
326
326
  {
327
- leftIcon: X,
327
+ leftIcon: Q,
328
328
  onClick: d,
329
329
  "aria-label": "Close",
330
330
  variant: "danger"
@@ -336,60 +336,60 @@ const $ = ({
336
336
  }, Kn = (e, t) => {
337
337
  if (!(!e && t === "standard"))
338
338
  return "--lhds-color-ui-50";
339
- }, Qn = "_notification_1hao0_1", Xn = "_body_1hao0_7", Yn = "_standard_1hao0_13", Zn = "_unread_1hao0_14", ne = "_danger_1hao0_19", w = {
339
+ }, Qn = "_notification_1hao0_1", Vn = "_body_1hao0_7", Xn = "_standard_1hao0_13", Yn = "_unread_1hao0_14", Zn = "_danger_1hao0_19", N = {
340
340
  notification: Qn,
341
- body: Xn,
342
- standard: Yn,
343
- unread: Zn,
344
- danger: ne
345
- }, ze = ({
341
+ body: Vn,
342
+ standard: Xn,
343
+ unread: Yn,
344
+ danger: Zn
345
+ }, $e = ({
346
346
  variant: e = "standard",
347
347
  children: t,
348
348
  unread: o,
349
- ...a
350
- }) => /* @__PURE__ */ i(
349
+ ...r
350
+ }) => /* @__PURE__ */ a(
351
351
  "div",
352
352
  {
353
353
  className: h(
354
- w.notification,
355
- w[e],
356
- o && w.unread
354
+ N.notification,
355
+ N[e],
356
+ o && N.unread
357
357
  ),
358
358
  children: [
359
- /* @__PURE__ */ n(nn, { ...a, unread: o, variant: e }),
360
- t && /* @__PURE__ */ n(f, { className: w.body, children: t })
359
+ /* @__PURE__ */ n(Z, { ...r, unread: o, variant: e }),
360
+ t && /* @__PURE__ */ n(g, { className: N.body, children: t })
361
361
  ]
362
362
  }
363
- ), ee = "_notificationList_1rkvu_1", te = {
364
- notificationList: ee
365
- }, $e = ({
363
+ ), ne = "_notificationList_1rkvu_1", ee = {
364
+ notificationList: ne
365
+ }, Ae = ({
366
366
  children: e
367
- }) => /* @__PURE__ */ i("div", { className: te.notificationList, children: [
367
+ }) => /* @__PURE__ */ a("div", { className: ee.notificationList, children: [
368
368
  e,
369
369
  /* @__PURE__ */ n("div", {})
370
- ] }), oe = "_clickable_1ijxc_1", ae = "_nonClickable_1ijxc_27", F = {
371
- clickable: oe,
372
- nonClickable: ae
373
- }, Ae = ({
370
+ ] }), te = "_clickable_1ijxc_1", oe = "_nonClickable_1ijxc_27", R = {
371
+ clickable: te,
372
+ nonClickable: oe
373
+ }, He = ({
374
374
  onClick: e,
375
375
  onClickAriaLabel: t,
376
376
  children: o,
377
- width: a = 264,
378
- maxWidth: r,
377
+ width: r = 264,
378
+ maxWidth: i,
379
379
  ...c
380
- }) => /* @__PURE__ */ i(
381
- s,
380
+ }) => /* @__PURE__ */ a(
381
+ l,
382
382
  {
383
383
  borderRadius: 8,
384
- background: m("--lhds-color-ui-50"),
384
+ background: f("--lhds-color-ui-50"),
385
385
  shadow: "popover",
386
- width: a,
387
- maxWidth: r,
386
+ width: r,
387
+ maxWidth: i,
388
388
  role: "alert",
389
389
  position: "relative",
390
390
  children: [
391
- /* @__PURE__ */ n(s, { className: h({ [F.nonClickable]: e }), children: /* @__PURE__ */ n(nn, { ...c }) }),
392
- o && /* @__PURE__ */ i(s, { 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,184 +397,195 @@ 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
- ), ie = () => /* @__PURE__ */ i(f, { indent: !0, spacing: !0, flex: 1, alignItems: "center", children: [
407
- /* @__PURE__ */ n(un, { icon: hn, color: m("--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: m("--lhds-color-ui-500"), children: "No content" })
410
- ] }), re = xn(
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
- contentRight: a,
415
- collapsed: r = !1,
414
+ contentRight: r,
415
+ collapsed: i = !1,
416
416
  onClick: c,
417
417
  disabled: d = !1,
418
418
  children: u,
419
419
  autoFocus: p = !1,
420
- ...g
421
- }, S) {
420
+ ...m
421
+ }, M) {
422
422
  return /* @__PURE__ */ n(
423
423
  L,
424
424
  {
425
- ...g,
425
+ ...m,
426
426
  autoFocus: p,
427
- ref: S,
427
+ ref: M,
428
428
  label: t,
429
429
  onClick: c,
430
430
  disabled: d,
431
431
  expandable: !0,
432
- expanded: !r,
433
- selected: !r,
432
+ expanded: !i,
433
+ selected: !i,
434
434
  left: o,
435
- right: a,
436
- children: u != null ? u : /* @__PURE__ */ n(ie, {})
435
+ right: r,
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(f, { 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
- indeterminate: a,
447
- checkboxDisabled: r,
446
+ indeterminate: r,
447
+ checkboxDisabled: i,
448
448
  ...c
449
449
  }) => /* @__PURE__ */ n(
450
- re,
450
+ ae,
451
451
  {
452
452
  contentLeft: /* @__PURE__ */ n(
453
- Z,
453
+ Y,
454
454
  {
455
455
  value: e,
456
- indeterminate: a,
456
+ indeterminate: r,
457
457
  onValueChange: t,
458
458
  onChange: o,
459
- disabled: r,
459
+ disabled: i,
460
460
  onClick: (d) => d.stopPropagation()
461
461
  }
462
462
  ),
463
463
  ...c
464
464
  }
465
- ), De = ({ children: e }) => /* @__PURE__ */ n(s, { spacing: !0, indent: !0, children: /* @__PURE__ */ n(v, { variant: "overline", size: "smaller", children: e }) }), ce = ({
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(s, { justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ n(pn, { variant: "error", headerText: e }) }), Ue = (e) => /* @__PURE__ */ n(
468
- s,
467
+ }) => /* @__PURE__ */ n(l, { justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ n(hn, { variant: "error", headerText: e }) }), Oe = (e) => /* @__PURE__ */ n(
468
+ l,
469
469
  {
470
470
  width: "100%",
471
471
  height: "100%",
472
472
  justifyContent: "center",
473
473
  alignItems: "center",
474
- children: /* @__PURE__ */ n(ce, { ...e })
474
+ children: /* @__PURE__ */ n(ie, { ...e })
475
475
  }
476
- ), se = ({
476
+ ), ce = ({
477
477
  text: e = "Loading..."
478
- }) => /* @__PURE__ */ i(s, { alignItems: "center", children: [
479
- /* @__PURE__ */ n(gn, { size: "small" }),
478
+ }) => /* @__PURE__ */ a(l, { alignItems: "center", children: [
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(
483
- s,
482
+ ] }), Te = (e) => /* @__PURE__ */ n(
483
+ l,
484
484
  {
485
485
  width: "100%",
486
486
  height: "100%",
487
487
  justifyContent: "center",
488
488
  alignItems: "center",
489
- children: /* @__PURE__ */ n(se, { ...e })
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
- children: a
496
- }) => /* @__PURE__ */ i(s, { shadow: "bottom", background: m("--lhds-color-ui-50"), gap: 2, children: [
497
- /* @__PURE__ */ i(s, { indent: 3, children: [
498
- e && /* @__PURE__ */ i(l, { spacing: 1, alignItems: "center", children: [
499
- /* @__PURE__ */ n(l, { width: "64px", height: "16px" }),
495
+ children: r
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
+ /* @__PURE__ */ n(s, { width: "64px", height: "16px" }),
500
500
  e()
501
501
  ] }),
502
502
  t == null ? void 0 : t(),
503
503
  o && /* @__PURE__ */ n(_, {}),
504
504
  o == null ? void 0 : o()
505
505
  ] }),
506
- a
507
- ] }), Ve = (e) => /* @__PURE__ */ n(l, { indent: 3, spacing: !0, ...e }), We = ({
506
+ r
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
- contentLeft: a,
512
- contentRight: r
513
- }) => /* @__PURE__ */ i(l, { alignItems: "center", gap: 2, height: "64px", children: [
514
- /* @__PURE__ */ i(l, { alignItems: "center", children: [
515
- /* @__PURE__ */ n(l, { width: "64px", alignItems: "center", children: e && /* @__PURE__ */ n(Q, { icon: e }) }),
511
+ contentLeft: r,
512
+ contentRight: i
513
+ }) => /* @__PURE__ */ a(s, { alignItems: "center", gap: 2, height: "64px", children: [
514
+ /* @__PURE__ */ a(s, { alignItems: "center", children: [
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
- /* @__PURE__ */ n(l, { alignItems: "center", children: a }),
519
- /* @__PURE__ */ n(l, { style: { marginLeft: "auto" }, alignItems: "center", children: r })
520
- ] }), le = "_sidebarMenu_iwe92_1", q = {
518
+ /* @__PURE__ */ n(s, { alignItems: "center", children: r }),
519
+ /* @__PURE__ */ n(s, { style: { marginLeft: "auto" }, alignItems: "center", children: i })
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(
525
- l,
526
- {
527
- justifyContent: "space-between",
528
- alignItems: "center",
529
- flex: 1,
530
- indent: 1,
531
- minHeight: "48px",
532
- children: [
533
- /* @__PURE__ */ n(C, { leftIcon: X, onClick: e, variant: "danger" }),
534
- /* @__PURE__ */ n(fn, { className: ue.stenaFlag })
535
- ]
536
- }
537
- ), pe = ({
524
+ }, he = ({ onClick: e }) => /* @__PURE__ */ a(g, { background: f("--lhds-color-ui-50"), children: [
525
+ /* @__PURE__ */ n(_, {}),
526
+ /* @__PURE__ */ a(
527
+ s,
528
+ {
529
+ justifyContent: "space-between",
530
+ alignItems: "center",
531
+ flex: 1,
532
+ indent: 1,
533
+ minHeight: "48px",
534
+ children: [
535
+ /* @__PURE__ */ n(
536
+ C,
537
+ {
538
+ leftIcon: Q,
539
+ onClick: e,
540
+ variant: "danger"
541
+ }
542
+ ),
543
+ /* @__PURE__ */ n(gn, { className: ue.stenaFlag })
544
+ ]
545
+ }
546
+ )
547
+ ] }), pe = ({
538
548
  isPinned: e,
539
549
  onClick: t,
540
550
  label: o
541
551
  }) => {
542
- const a = e ? "Unpin menu" : "Pin menu", r = o != null ? o : a;
543
- return /* @__PURE__ */ n(L, { onClick: t, label: r, leftIcon: e ? Y : mn });
544
- }, 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 = ({
545
555
  className: e,
546
556
  children: t,
547
557
  onCloseClick: o,
548
- variant: a = "standard",
549
- pinButtonVisible: r,
558
+ variant: r = "standard",
559
+ pinButtonVisible: i,
550
560
  onClickPinButton: c,
551
- isPinned: d,
552
- ...u
553
- }) => /* @__PURE__ */ i(
554
- s,
561
+ bottomItems: d,
562
+ isPinned: u,
563
+ ...p
564
+ }) => /* @__PURE__ */ a(
565
+ l,
555
566
  {
556
567
  indent: 1,
557
- className: h(q.sidebarMenu, e),
568
+ className: h(se.sidebarMenu, e),
558
569
  style: {
559
570
  ["--swui-sidebar-menu-item-height"]: "40px"
560
571
  },
561
- ...u,
572
+ ...p,
562
573
  children: [
563
- /* @__PURE__ */ n(_, { num: 1 }),
564
574
  /* @__PURE__ */ n(he, { onClick: o }),
565
575
  /* @__PURE__ */ n(
566
- s,
576
+ l,
567
577
  {
568
- className: q.sidebarMenuContent,
569
578
  height: "100%",
570
579
  background: "var(--current-background-color)",
571
- children: /* @__PURE__ */ i(f, { justifyContent: "space-between", flex: 1, gap: 1, children: [
572
- /* @__PURE__ */ n(f, { gap: 1, children: t }),
573
- r && /* @__PURE__ */ i(f, { children: [
574
- /* @__PURE__ */ n(
580
+ overflow: "auto",
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(
575
586
  pe,
576
587
  {
577
- isPinned: d,
588
+ isPinned: u,
578
589
  onClick: c
579
590
  }
580
591
  ),
@@ -585,13 +596,19 @@ const $ = ({
585
596
  )
586
597
  ]
587
598
  }
588
- ), A = yn(!1), H = () => kn(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 = ({
589
604
  closeButtonVisible: e,
590
605
  onClickCloseButton: t,
591
606
  onClickMenuButton: o,
592
- children: a
593
- }) => /* @__PURE__ */ i(
594
- s,
607
+ children: r,
608
+ bottomItems: i,
609
+ closeButtonTitle: c = "Unpin menu"
610
+ }) => /* @__PURE__ */ a(
611
+ l,
595
612
  {
596
613
  position: "fixed",
597
614
  left: 0,
@@ -601,37 +618,37 @@ const $ = ({
601
618
  spacing: 1,
602
619
  gap: 1,
603
620
  shadow: "popover",
604
- background: m("--lhds-color-ui-50"),
621
+ background: f("--lhds-color-ui-50"),
605
622
  children: [
606
- /* @__PURE__ */ n(R, { onClick: o, icon: K }),
607
- /* @__PURE__ */ i(f, { justifyContent: "space-between", flex: 1, gap: 1, children: [
608
- /* @__PURE__ */ n(f, { gap: 1, children: /* @__PURE__ */ n(A.Provider, { value: !0, children: a }) }),
609
- e && /* @__PURE__ */ n(
610
- R,
611
- {
612
- icon: Y,
613
- onClick: t
614
- }
615
- )
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
+ ] }) })
616
637
  ] })
617
638
  ]
618
639
  }
619
- ), ge = ({
640
+ ), me = ({
620
641
  label: e
621
- }) => H() ? null : /* @__PURE__ */ i(s, { height: "32px", justifyContent: "center", indent: 1, children: [
642
+ }) => A() ? null : /* @__PURE__ */ a(l, { height: "32px", justifyContent: "center", indent: 1, children: [
622
643
  /* @__PURE__ */ n(_, {}),
623
- /* @__PURE__ */ n(v, { variant: "overline", size: "smaller", children: e })
624
- ] }), fe = ({
625
- label: e,
626
- leftIcon: t,
627
- ...o
628
- }) => t == null ? null : /* @__PURE__ */ n(wn, { label: e, placement: "right", appendTo: document.body, children: /* @__PURE__ */ n(bn, { icon: t, ...o }) }), Je = (e) => H() ? /* @__PURE__ */ n(fe, { ...e }) : /* @__PURE__ */ n(vn, { ...e }), me = ({
644
+ /* @__PURE__ */ n(b, { variant: "overline", size: "smaller", children: e })
645
+ ] }), ve = ({
629
646
  children: e,
630
647
  label: t,
631
648
  icon: o,
632
- popupMinWidth: a = "200px"
649
+ popupMinWidth: r = "200px"
633
650
  }) => /* @__PURE__ */ n(
634
- M,
651
+ j,
635
652
  {
636
653
  appendTo: "parent",
637
654
  arrow: !1,
@@ -641,55 +658,55 @@ const $ = ({
641
658
  disablePadding: !0,
642
659
  lazy: !0,
643
660
  content: /* @__PURE__ */ n(
644
- s,
661
+ l,
645
662
  {
646
- minWidth: a,
663
+ minWidth: r,
647
664
  shadow: "popover",
648
665
  spacing: 1,
649
666
  indent: 1,
650
667
  gap: 2,
651
- children: /* @__PURE__ */ i(A.Provider, { value: !1, children: [
652
- /* @__PURE__ */ n(ge, { label: t }),
668
+ children: /* @__PURE__ */ a(S.Provider, { value: !1, children: [
669
+ /* @__PURE__ */ n(me, { label: t }),
653
670
  e
654
671
  ] })
655
672
  }
656
673
  ),
657
- children: /* @__PURE__ */ n(R, { icon: o })
674
+ children: /* @__PURE__ */ n(X, { icon: o })
658
675
  }
659
- ), Ke = ({
676
+ ), Qe = ({
660
677
  children: e,
661
678
  label: t,
662
679
  leftIcon: o,
663
- className: a,
664
- initialExpand: r = !1
680
+ className: r,
681
+ initialExpand: i = !1
665
682
  }) => {
666
- const [c, d] = In(r);
667
- 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(
668
685
  L,
669
686
  {
670
687
  label: t,
671
688
  onClick: () => d(!c),
672
689
  leftIcon: o,
673
- className: a,
690
+ className: r,
674
691
  expandable: !0,
675
692
  expanded: c,
676
693
  selected: c,
677
694
  children: e
678
695
  }
679
696
  );
680
- }, Qe = (e) => /* @__PURE__ */ n(
681
- Nn,
697
+ }, Ve = (e) => /* @__PURE__ */ n(
698
+ In,
682
699
  {
683
- color: m("--lhds-color-ui-400"),
700
+ color: f("--lhds-color-ui-400"),
684
701
  ...e
685
702
  }
686
- ), be = `1px solid ${m("--lhds-color-orange-400")}`, Xe = ({
703
+ ), be = `1px solid ${f("--lhds-color-orange-400")}`, Xe = ({
687
704
  numItemsSelected: e,
688
705
  label: t,
689
706
  afterLabelContent: o,
690
- rightContent: a
691
- }) => /* @__PURE__ */ i(
692
- l,
707
+ rightContent: r
708
+ }) => /* @__PURE__ */ a(
709
+ s,
693
710
  {
694
711
  indent: 3,
695
712
  spacing: !0,
@@ -697,62 +714,62 @@ const $ = ({
697
714
  justifyContent: "space-between",
698
715
  alignItems: "center",
699
716
  borderTop: be,
700
- background: m("--lhds-color-orange-50"),
717
+ background: f("--lhds-color-orange-50"),
701
718
  children: [
702
- /* @__PURE__ */ i(l, { alignItems: "center", children: [
703
- e != null || t != null ? /* @__PURE__ */ n(b, { children: e != null ? /* @__PURE__ */ i(b, { children: [
704
- /* @__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 }),
705
722
  /* @__PURE__ */ n(_, {}),
706
- /* @__PURE__ */ i(v, { children: [
723
+ /* @__PURE__ */ a(b, { children: [
707
724
  "item",
708
725
  e === 1 ? "" : "s",
709
726
  " selected"
710
727
  ] })
711
- ] }) : t != null ? /* @__PURE__ */ n(b, { children: typeof t == "string" ? /* @__PURE__ */ n(v, { children: t }) : t }) : null }) : null,
712
- 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: [
713
730
  /* @__PURE__ */ n(x, {}),
714
- /* @__PURE__ */ n(s, { children: o })
731
+ /* @__PURE__ */ n(l, { children: o })
715
732
  ] }) : null
716
733
  ] }),
717
- /* @__PURE__ */ n(s, { children: a })
734
+ /* @__PURE__ */ n(l, { children: r })
718
735
  ]
719
736
  }
720
737
  );
721
738
  export {
722
739
  Sn as ActionMenuFlatButton,
723
740
  Ne as ActionMenuPrimaryButton,
724
- we as ActionMenuSecondaryButton,
725
- Me as CheckboxMenu,
726
- re as Collapsible,
727
- ie as CollapsibleEmptyContent,
741
+ Se as ActionMenuSecondaryButton,
742
+ je as CheckboxMenu,
743
+ ae as Collapsible,
744
+ re as CollapsibleEmptyContent,
728
745
  De as CollapsibleGroupHeading,
729
- He as CollapsibleList,
730
- Ee as CollapsibleWithCheckbox,
731
- ce as ErrorPanel,
732
- Ue as ErrorScreen,
733
- se as LoadingPanel,
734
- Oe as LoadingScreen,
735
- Se as NavBar,
736
- $n as NavBarButton,
737
- je as NavBarHeading,
738
- Re as NavBarNotificationButton,
739
- Fe as NavBarPopoverButton,
740
- Le as NavBarSearchField,
741
- Pe as NavBarUserButton,
742
- ze as Notification,
743
- nn as NotificationHeader,
744
- $e as NotificationList,
745
- Te as PageHeader,
746
- Ve as PageHeaderRow,
747
- We as PageHeading,
746
+ Ee as CollapsibleList,
747
+ Ue as CollapsibleWithCheckbox,
748
+ ie as ErrorPanel,
749
+ Oe as ErrorScreen,
750
+ ce as LoadingPanel,
751
+ Te as LoadingScreen,
752
+ Me as NavBar,
753
+ zn as NavBarButton,
754
+ Fe as NavBarHeading,
755
+ Le as NavBarNotificationButton,
756
+ Re as NavBarPopoverButton,
757
+ Pe as NavBarSearchField,
758
+ ze as NavBarUserButton,
759
+ $e as Notification,
760
+ Z as NotificationHeader,
761
+ Ae as NotificationList,
762
+ We as PageHeader,
763
+ qe as PageHeaderRow,
764
+ Ge as PageHeading,
748
765
  Xe as SelectedItemsActionsPanel,
749
- qe as SidebarMenu,
750
- Ke as SidebarMenuCollapsible,
751
- ge as SidebarMenuHeading,
752
- Je as SidebarMenuLink,
753
- Qe as SidebarMenuSeparator,
754
- Ge as SidebarRailMenu,
755
- Ae as Toast,
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,
756
773
  Jn as UnreadDot,
757
774
  Kn as getIconBgColor
758
775
  };