@stenajs-webui/panels 19.0.0-next.45 → 19.0.0-next.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +1,14 @@
1
1
  import * as React from "react";
2
- import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
3
2
  import { CssPropColor } from "@stenajs-webui/theme";
4
3
  import { NotificationVariant } from "./Notification";
4
+ import { MediumIcon } from "@stenajs-webui/elements";
5
5
  export interface NotificationHeaderProps {
6
6
  /** Text. */
7
7
  text: string;
8
8
  /** Timestamp. */
9
9
  timestamp?: string;
10
10
  /** Icon. */
11
- icon?: IconDefinition;
11
+ icon?: MediumIcon;
12
12
  /** Icon description for accessibility. */
13
13
  iconAriaLabel?: string;
14
14
  /** Left content instead of icon. */
@@ -1,10 +1,10 @@
1
1
  import * as React from "react";
2
2
  import { ReactNode } from "react";
3
3
  import { HeadingVariant } from "@stenajs-webui/core";
4
- import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
4
+ import { MediumIcon } from "@stenajs-webui/elements";
5
5
  export declare type PageHeadingVariant = "compact" | "standard" | "relaxed";
6
6
  interface PageHeadingProps {
7
- icon?: IconDefinition;
7
+ icon?: MediumIcon;
8
8
  contentLeft?: ReactNode;
9
9
  contentRight?: ReactNode;
10
10
  heading: string;
@@ -0,0 +1,6 @@
1
+ import * as React from "react";
2
+ import { IconMenuButtonProps } from "@stenajs-webui/elements";
3
+ export declare type RailMenuButtonProps = IconMenuButtonProps & {
4
+ label: string;
5
+ };
6
+ export declare const RailMenuButton: React.FC<RailMenuButtonProps>;
package/dist/index.es.js CHANGED
@@ -1,27 +1,27 @@
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_q4zl6_1._navBarSearchFieldInput_q4zl6_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:0 var(--swui-metrics-indent)}._navBarSearchFieldInput_q4zl6_1._navBarSearchFieldInput_q4zl6_1:focus{--swui-textinput-text-color: var(--lhds-color-ui-800)}._navBarSearchField_q4zl6_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:0 var(--swui-metrics-indent);border-radius:var(--swui-max-border-radius)}._navBarSearchField_q4zl6_1._withButton_q4zl6_25{padding-right:1px}._navBarSearchField_q4zl6_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)}._clearButton_q4zl6_36{border-radius:var(--swui-max-border-radius)}._navBarUserButton_afv8h_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 )}._navBarUserButton_afv8h_1._initials_afv8h_28{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_11tso_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}._stenaFlag_108h7_1{height:32px}")),document.head.appendChild(o)}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
2
2
  import { jsxs as a, Fragment as v, jsx as n } from "react/jsx-runtime";
3
- import { ActionMenu as G, ActionMenuContext as on, stenaAngleDown as J, PrimaryButton as rn, SecondaryButton as an, FlatButton as B, stenaHamburger as K, stenaBellFilled as cn, stenaTimes as z, stenaUserCircle as ln, CircledIcon as Q, Icon as sn, stenaMail as dn, MenuButton as P, Banner as un, Spinner as hn, StenaFlag as pn, stenaAngleLeftDouble as V, stenaPin as gn, IconMenuButtonLink as fn, MenuButtonLink as mn, IconMenuButton as X } from "@stenajs-webui/elements";
4
- import * as vn from "react";
5
- import { useRef as bn, useMemo as _n, forwardRef as Bn, createContext as Cn, useContext as xn, useState as yn } from "react";
6
- import { useBoolean as $, Column as g, Box as l, Row as s, Indent as x, Heading as A, Text as b, Space as _, SeparatorLine as kn } from "@stenajs-webui/core";
7
- import { Popover as F, Tooltip as In } from "@stenajs-webui/tooltip";
8
- import { Checkbox as Y, TextInput as Nn, TextInputButton as wn } from "@stenajs-webui/forms";
3
+ import { ActionMenu as J, ActionMenuContext as rn, stenaAngleDown as K, PrimaryButton as an, SecondaryButton as cn, FlatButton as B, stenaHamburger as Q, stenaBellFilled as ln, stenaTimes as z, stenaUserCircle as sn, CircledIcon as V, Icon as dn, stenaMail as un, MenuButton as P, Banner as hn, Spinner as pn, StenaFlag as gn, stenaAngleLeftDouble as X, stenaPin as fn, IconMenuButton as $, IconMenuButtonLink as mn, MenuButtonLink as vn } from "@stenajs-webui/elements";
4
+ import * as bn 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 A, Column as g, Box as l, Row as s, Indent as x, Heading as H, Text as b, Space as _, SeparatorLine as In } from "@stenajs-webui/core";
7
+ import { Popover as R, Tooltip as Y } from "@stenajs-webui/tooltip";
8
+ import { Checkbox as Z, TextInput as Nn, TextInputButton as wn } from "@stenajs-webui/forms";
9
9
  import h from "classnames";
10
10
  import { cssColor as f } from "@stenajs-webui/theme";
11
- const H = ({
11
+ const E = ({
12
12
  renderItems: e,
13
13
  placement: t = "bottom",
14
14
  buttonComponent: o,
15
- rightIcon: r = J,
15
+ rightIcon: r = K,
16
16
  portalTarget: i = "parent",
17
17
  zIndex: c,
18
18
  menuWidth: d,
19
19
  menuTop: u,
20
20
  onClick: p,
21
21
  disableArrow: m = !1,
22
- ...R
22
+ ...F
23
23
  }) => {
24
- const [U, D, y, nn] = $(!1), N = bn(null), en = {
24
+ const [D, T, y, en] = A(!1), N = _n(null), tn = {
25
25
  name: "focusManager",
26
26
  defaultValue: !0,
27
27
  fn({ popper: k }) {
@@ -45,49 +45,49 @@ const H = ({
45
45
  }
46
46
  };
47
47
  }
48
- }, tn = _n(() => ({ open: D, close: y }), [D, y]);
48
+ }, on = Bn(() => ({ open: T, close: y }), [T, y]);
49
49
  return /* @__PURE__ */ a(v, { children: [
50
50
  /* @__PURE__ */ n(
51
51
  o,
52
52
  {
53
53
  rightIcon: m ? void 0 : r,
54
- ...R,
54
+ ...F,
55
55
  ref: N,
56
56
  onClick: (k) => {
57
- p == null || p(k), nn();
57
+ p == null || p(k), en();
58
58
  }
59
59
  }
60
60
  ),
61
61
  /* @__PURE__ */ n(
62
- F,
62
+ R,
63
63
  {
64
64
  disablePadding: !0,
65
- visible: U,
65
+ visible: D,
66
66
  onClickOutside: y,
67
67
  placement: t,
68
- content: U && /* @__PURE__ */ n(G, { width: d, top: u, trapFocus: !0, children: /* @__PURE__ */ n(on.Provider, { value: tn, children: e(y) }) }),
68
+ content: D && /* @__PURE__ */ n(J, { width: d, top: u, trapFocus: !0, children: /* @__PURE__ */ n(rn.Provider, { value: on, children: e(y) }) }),
69
69
  arrow: !1,
70
70
  appendTo: i,
71
71
  zIndex: c,
72
- plugins: [en],
72
+ plugins: [tn],
73
73
  lazy: !0,
74
74
  reference: N
75
75
  }
76
76
  )
77
77
  ] });
78
- }, Me = (e) => /* @__PURE__ */ n(H, { buttonComponent: rn, ...e }), Fe = (e) => /* @__PURE__ */ n(H, { buttonComponent: an, ...e }), Sn = (e) => /* @__PURE__ */ n(H, { buttonComponent: B, ...e }), jn = "1px solid var(--lhds-color-ui-300)", Re = ({
78
+ }, je = (e) => /* @__PURE__ */ n(E, { buttonComponent: an, ...e }), Re = (e) => /* @__PURE__ */ n(E, { buttonComponent: cn, ...e }), Mn = (e) => /* @__PURE__ */ n(E, { buttonComponent: B, ...e }), Sn = "1px solid var(--lhds-color-ui-300)", Fe = ({
79
79
  renderMenu: e,
80
80
  ...t
81
81
  }) => {
82
- const [o, r, i] = $(!1);
82
+ const [o, r, i] = A(!1);
83
83
  return /* @__PURE__ */ n(
84
- F,
84
+ R,
85
85
  {
86
86
  onClickOutside: i,
87
87
  arrow: !1,
88
88
  visible: o,
89
89
  disablePadding: !0,
90
- content: e ? /* @__PURE__ */ n(g, { children: /* @__PURE__ */ n(G, { children: e(i) }) }) : void 0,
90
+ content: e ? /* @__PURE__ */ n(g, { children: /* @__PURE__ */ n(J, { children: e(i) }) }) : void 0,
91
91
  placement: "bottom-start",
92
92
  children: /* @__PURE__ */ n(l, { display: "inline-block", children: /* @__PURE__ */ a(
93
93
  s,
@@ -95,26 +95,26 @@ const H = ({
95
95
  spacing: 0.5,
96
96
  indent: !0,
97
97
  alignItems: "center",
98
- border: jn,
98
+ border: Sn,
99
99
  borderRadius: "4px",
100
100
  children: [
101
- /* @__PURE__ */ n(Y, { ...t }),
101
+ /* @__PURE__ */ n(Z, { ...t }),
102
102
  /* @__PURE__ */ n(x, { num: 0.5 }),
103
- /* @__PURE__ */ n(B, { size: "small", onClick: r, leftIcon: J })
103
+ /* @__PURE__ */ n(B, { size: "small", onClick: r, leftIcon: K })
104
104
  ]
105
105
  }
106
106
  ) })
107
107
  }
108
108
  );
109
- }, Mn = "_navBar_kzibd_1", Fn = {
110
- navBar: Mn
111
- }, Rn = ({
109
+ }, jn = "_navBar_kzibd_1", Rn = {
110
+ navBar: jn
111
+ }, Fn = ({
112
112
  className: e,
113
113
  onClick: t
114
114
  }) => /* @__PURE__ */ n(
115
115
  B,
116
116
  {
117
- leftIcon: K,
117
+ leftIcon: Q,
118
118
  className: e,
119
119
  onClick: t
120
120
  }
@@ -132,7 +132,7 @@ const H = ({
132
132
  s,
133
133
  {
134
134
  justifyContent: "space-between",
135
- className: h(Fn.navBar, t),
135
+ className: h(Rn.navBar, t),
136
136
  children: [
137
137
  /* @__PURE__ */ a(
138
138
  s,
@@ -143,13 +143,13 @@ const H = ({
143
143
  children: [
144
144
  /* @__PURE__ */ a(s, { width: "86px", alignItems: "center", children: [
145
145
  /* @__PURE__ */ n(x, {}),
146
- o && /* @__PURE__ */ n(Rn, { onClick: d })
146
+ o && /* @__PURE__ */ n(Fn, { onClick: d })
147
147
  ] }),
148
148
  e && /* @__PURE__ */ a(v, { children: [
149
149
  e,
150
150
  /* @__PURE__ */ n(x, { num: 2 })
151
151
  ] }),
152
- r && /* @__PURE__ */ n(v, { children: /* @__PURE__ */ n(s, { justifyContent: "center", alignItems: "center", children: vn.Children.map(r, (p, m) => /* @__PURE__ */ a(v, { children: [
152
+ r && /* @__PURE__ */ n(v, { children: /* @__PURE__ */ n(s, { justifyContent: "center", alignItems: "center", children: bn.Children.map(r, (p, m) => /* @__PURE__ */ a(v, { children: [
153
153
  m > 0 && /* @__PURE__ */ n(x, {}),
154
154
  p
155
155
  ] })) }) })
@@ -164,7 +164,7 @@ const H = ({
164
164
  ]
165
165
  }
166
166
  );
167
- }, Ln = "_navBarButton_18iz9_1", zn = "_selected_18iz9_36", T = {
167
+ }, Ln = "_navBarButton_18iz9_1", zn = "_selected_18iz9_36", q = {
168
168
  navBarButton: Ln,
169
169
  selected: zn
170
170
  }, Pn = ({
@@ -176,19 +176,19 @@ const H = ({
176
176
  {
177
177
  ...o,
178
178
  className: h(
179
- T.navBarButton,
180
- e && T.selected,
179
+ q.navBarButton,
180
+ e && q.selected,
181
181
  t
182
182
  )
183
183
  }
184
- ), ze = (e) => /* @__PURE__ */ n(A, { whiteSpace: "nowrap", variant: "h4", as: "h1", ...e }), Pe = ({
184
+ ), ze = (e) => /* @__PURE__ */ n(H, { whiteSpace: "nowrap", variant: "h4", as: "h1", ...e }), Pe = ({
185
185
  content: e,
186
186
  children: t,
187
187
  ...o
188
188
  }) => {
189
- const [r, , i, c] = $(!1);
189
+ const [r, , i, c] = A(!1);
190
190
  return /* @__PURE__ */ n(
191
- F,
191
+ R,
192
192
  {
193
193
  onClickOutside: i,
194
194
  triggerTarget: document.body,
@@ -212,7 +212,7 @@ const H = ({
212
212
  className: o,
213
213
  labelClassName: r,
214
214
  iconClassName: i,
215
- icon: c = cn,
215
+ icon: c = ln,
216
216
  ...d
217
217
  }) => {
218
218
  const u = e > 0;
@@ -232,10 +232,10 @@ const H = ({
232
232
  iconClassName: h(i, I.icon)
233
233
  }
234
234
  );
235
- }, Dn = "_navBarSearchFieldInput_q4zl6_1", On = "_navBarSearchField_q4zl6_1", Tn = "_withButton_q4zl6_25", qn = "_clearButton_q4zl6_36", S = {
235
+ }, Dn = "_navBarSearchFieldInput_q4zl6_1", Tn = "_navBarSearchField_q4zl6_1", On = "_withButton_q4zl6_25", qn = "_clearButton_q4zl6_36", M = {
236
236
  navBarSearchFieldInput: Dn,
237
- navBarSearchField: On,
238
- withButton: Tn,
237
+ navBarSearchField: Tn,
238
+ withButton: On,
239
239
  clearButton: qn
240
240
  }, Ae = ({
241
241
  placeholder: e = "Search",
@@ -248,16 +248,16 @@ const H = ({
248
248
  Nn,
249
249
  {
250
250
  wrapperClassName: h(
251
- S.navBarSearchField,
252
- r ? S.withButton : void 0,
251
+ M.navBarSearchField,
252
+ r ? M.withButton : void 0,
253
253
  o
254
254
  ),
255
- className: h(S.navBarSearchFieldInput, t),
255
+ className: h(M.navBarSearchFieldInput, t),
256
256
  placeholder: e,
257
257
  buttonRight: r ? /* @__PURE__ */ n(
258
258
  wn,
259
259
  {
260
- className: S.clearButton,
260
+ className: M.clearButton,
261
261
  icon: z,
262
262
  variant: "error",
263
263
  onClick: i
@@ -265,24 +265,24 @@ const H = ({
265
265
  ) : void 0,
266
266
  ...c
267
267
  }
268
- ), Wn = "_navBarUserButton_afv8h_1", Gn = "_initials_afv8h_28", q = {
268
+ ), Wn = "_navBarUserButton_afv8h_1", Gn = "_initials_afv8h_28", W = {
269
269
  navBarUserButton: Wn,
270
270
  initials: Gn
271
271
  }, He = ({
272
272
  className: e,
273
273
  username: t,
274
274
  initials: o,
275
- icon: r = ln,
275
+ icon: r = sn,
276
276
  iconClassName: i,
277
277
  responsiveIconOnly: c = o == null,
278
278
  ...d
279
279
  }) => /* @__PURE__ */ n(
280
- Sn,
280
+ Mn,
281
281
  {
282
282
  ...d,
283
283
  className: h(
284
- { [q.initials]: o != null },
285
- q.navBarUserButton,
284
+ { [W.initials]: o != null },
285
+ W.navBarUserButton,
286
286
  e
287
287
  ),
288
288
  leftIcon: t != null ? r : void 0,
@@ -290,13 +290,13 @@ const H = ({
290
290
  responsiveIconOnly: c,
291
291
  disableArrow: !0
292
292
  }
293
- ), Jn = "_unreadDot_l8bni_1", Kn = "_dot_l8bni_4", W = {
293
+ ), Jn = "_unreadDot_l8bni_1", Kn = "_dot_l8bni_4", G = {
294
294
  unreadDot: Jn,
295
295
  dot: Kn
296
- }, Qn = ({ children: e }) => /* @__PURE__ */ a("div", { className: W.unreadDot, children: [
296
+ }, Qn = ({ children: e }) => /* @__PURE__ */ a("div", { className: G.unreadDot, children: [
297
297
  e,
298
- /* @__PURE__ */ n("div", { className: W.dot })
299
- ] }), Z = ({
298
+ /* @__PURE__ */ n("div", { className: G.dot })
299
+ ] }), nn = ({
300
300
  text: e,
301
301
  timestamp: t,
302
302
  icon: o,
@@ -308,7 +308,7 @@ const H = ({
308
308
  variant: p
309
309
  }) => {
310
310
  const m = o ? /* @__PURE__ */ n(
311
- Q,
311
+ V,
312
312
  {
313
313
  size: "small",
314
314
  icon: o,
@@ -356,7 +356,7 @@ const H = ({
356
356
  }, Vn = (e, t) => {
357
357
  if (!(!e && t === "standard"))
358
358
  return "--lhds-color-ui-50";
359
- }, Xn = "_notification_1hao0_1", Yn = "_body_1hao0_7", Zn = "_standard_1hao0_13", ne = "_unread_1hao0_14", ee = "_danger_1hao0_19", j = {
359
+ }, Xn = "_notification_1hao0_1", Yn = "_body_1hao0_7", Zn = "_standard_1hao0_13", ne = "_unread_1hao0_14", ee = "_danger_1hao0_19", S = {
360
360
  notification: Xn,
361
361
  body: Yn,
362
362
  standard: Zn,
@@ -371,13 +371,13 @@ const H = ({
371
371
  "div",
372
372
  {
373
373
  className: h(
374
- j.notification,
375
- j[e],
376
- o && j.unread
374
+ S.notification,
375
+ S[e],
376
+ o && S.unread
377
377
  ),
378
378
  children: [
379
- /* @__PURE__ */ n(Z, { ...r, unread: o, variant: e }),
380
- t && /* @__PURE__ */ n(g, { className: j.body, children: t })
379
+ /* @__PURE__ */ n(nn, { ...r, unread: o, variant: e }),
380
+ t && /* @__PURE__ */ n(g, { className: S.body, children: t })
381
381
  ]
382
382
  }
383
383
  ), te = "_notificationList_1rkvu_1", oe = {
@@ -408,7 +408,7 @@ const H = ({
408
408
  role: "alert",
409
409
  position: "relative",
410
410
  children: [
411
- /* @__PURE__ */ n(l, { className: h({ [L.nonClickable]: e }), children: /* @__PURE__ */ n(Z, { ...c }) }),
411
+ /* @__PURE__ */ n(l, { className: h({ [L.nonClickable]: e }), children: /* @__PURE__ */ n(nn, { ...c }) }),
412
412
  o && /* @__PURE__ */ a(l, { indent: 3, className: h({ [L.nonClickable]: e }), children: [
413
413
  o,
414
414
  /* @__PURE__ */ n(_, { num: 2 })
@@ -424,10 +424,10 @@ const H = ({
424
424
  ]
425
425
  }
426
426
  ), ie = () => /* @__PURE__ */ a(g, { indent: !0, spacing: !0, flex: 1, alignItems: "center", children: [
427
- /* @__PURE__ */ n(sn, { icon: dn, color: f("--lhds-color-ui-500") }),
427
+ /* @__PURE__ */ n(dn, { icon: un, color: f("--lhds-color-ui-500") }),
428
428
  /* @__PURE__ */ n(_, {}),
429
429
  /* @__PURE__ */ n(b, { size: "small", color: f("--lhds-color-ui-500"), children: "No content" })
430
- ] }), ce = Bn(
430
+ ] }), ce = Cn(
431
431
  function({
432
432
  label: t,
433
433
  contentLeft: o,
@@ -438,13 +438,13 @@ const H = ({
438
438
  children: u,
439
439
  autoFocus: p = !1,
440
440
  ...m
441
- }, R) {
441
+ }, F) {
442
442
  return /* @__PURE__ */ n(
443
443
  P,
444
444
  {
445
445
  ...m,
446
446
  autoFocus: p,
447
- ref: R,
447
+ ref: F,
448
448
  label: t,
449
449
  onClick: c,
450
450
  disabled: d,
@@ -457,9 +457,9 @@ const H = ({
457
457
  }
458
458
  );
459
459
  }
460
- ), Oe = ({
460
+ ), Te = ({
461
461
  children: e
462
- }) => /* @__PURE__ */ n(g, { gap: 1, children: e }), Te = ({
462
+ }) => /* @__PURE__ */ n(g, { gap: 1, children: e }), Oe = ({
463
463
  value: e,
464
464
  onValueChange: t,
465
465
  onChange: o,
@@ -470,7 +470,7 @@ const H = ({
470
470
  ce,
471
471
  {
472
472
  contentLeft: /* @__PURE__ */ n(
473
- Y,
473
+ Z,
474
474
  {
475
475
  value: e,
476
476
  indeterminate: r,
@@ -484,7 +484,7 @@ const H = ({
484
484
  }
485
485
  ), qe = ({ children: e }) => /* @__PURE__ */ n(l, { spacing: !0, indent: !0, children: /* @__PURE__ */ n(b, { variant: "overline", size: "smaller", children: e }) }), le = ({
486
486
  text: e = "Something unexpected happened."
487
- }) => /* @__PURE__ */ n(l, { justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ n(un, { variant: "error", headerText: e }) }), We = (e) => /* @__PURE__ */ n(
487
+ }) => /* @__PURE__ */ n(l, { justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ n(hn, { variant: "error", headerText: e }) }), We = (e) => /* @__PURE__ */ n(
488
488
  l,
489
489
  {
490
490
  width: "100%",
@@ -496,9 +496,9 @@ const H = ({
496
496
  ), se = ({
497
497
  text: e = "Loading..."
498
498
  }) => /* @__PURE__ */ a(l, { alignItems: "center", children: [
499
- /* @__PURE__ */ n(hn, { size: "small" }),
499
+ /* @__PURE__ */ n(pn, { size: "small" }),
500
500
  /* @__PURE__ */ n(_, { num: 4 }),
501
- /* @__PURE__ */ n(A, { variant: "h4", children: e })
501
+ /* @__PURE__ */ n(H, { variant: "h4", children: e })
502
502
  ] }), Ge = (e) => /* @__PURE__ */ n(
503
503
  l,
504
504
  {
@@ -532,8 +532,8 @@ const H = ({
532
532
  contentRight: i
533
533
  }) => /* @__PURE__ */ a(s, { alignItems: "center", gap: 2, height: "64px", children: [
534
534
  /* @__PURE__ */ a(s, { alignItems: "center", children: [
535
- /* @__PURE__ */ n(s, { width: "64px", alignItems: "center", children: e && /* @__PURE__ */ n(Q, { icon: e }) }),
536
- /* @__PURE__ */ n(A, { variant: "h3", as: o, children: t })
535
+ /* @__PURE__ */ n(s, { width: "64px", alignItems: "center", children: e && /* @__PURE__ */ n(V, { icon: e }) }),
536
+ /* @__PURE__ */ n(H, { variant: "h3", as: o, children: t })
537
537
  ] }),
538
538
  /* @__PURE__ */ n(s, { alignItems: "center", children: r }),
539
539
  /* @__PURE__ */ n(s, { style: { marginLeft: "auto" }, alignItems: "center", children: i })
@@ -560,7 +560,7 @@ const H = ({
560
560
  variant: "danger"
561
561
  }
562
562
  ),
563
- /* @__PURE__ */ n(pn, { className: pe.stenaFlag })
563
+ /* @__PURE__ */ n(gn, { className: pe.stenaFlag })
564
564
  ]
565
565
  }
566
566
  )
@@ -570,7 +570,7 @@ const H = ({
570
570
  label: o
571
571
  }) => {
572
572
  const r = e ? "Unpin menu" : "Pin menu", i = o != null ? o : r;
573
- return /* @__PURE__ */ n(P, { onClick: t, label: i, leftIcon: e ? V : gn });
573
+ return /* @__PURE__ */ n(P, { onClick: t, label: i, leftIcon: e ? X : fn });
574
574
  }, Ve = ({
575
575
  className: e,
576
576
  children: t,
@@ -615,11 +615,10 @@ const H = ({
615
615
  )
616
616
  ]
617
617
  }
618
- ), M = Cn(!1), E = () => xn(M), me = ({
618
+ ), j = xn(!1), U = () => yn(j), me = ({
619
619
  label: e,
620
- leftIcon: t,
621
- ...o
622
- }) => t == null ? null : /* @__PURE__ */ n(In, { label: e, placement: "right", appendTo: document.body, children: /* @__PURE__ */ n(fn, { icon: t, ...o }) }), ve = (e) => E() ? /* @__PURE__ */ n(me, { ...e }) : /* @__PURE__ */ n(mn, { ...e }), Xe = ({
620
+ ...t
621
+ }) => /* @__PURE__ */ n(Y, { label: e, placement: "right", appendTo: document.body, children: /* @__PURE__ */ n($, { ...t }) }), Xe = ({
623
622
  closeButtonVisible: e,
624
623
  onClickCloseButton: t,
625
624
  onClickMenuButton: o,
@@ -639,15 +638,15 @@ const H = ({
639
638
  shadow: "popover",
640
639
  background: f("--lhds-color-ui-50"),
641
640
  children: [
642
- /* @__PURE__ */ n(X, { onClick: o, icon: K }),
641
+ /* @__PURE__ */ n($, { onClick: o, icon: Q }),
643
642
  /* @__PURE__ */ a(g, { justifyContent: "space-between", flex: 1, gap: 1, children: [
644
- /* @__PURE__ */ n(g, { gap: 1, children: /* @__PURE__ */ n(M.Provider, { value: !0, children: r }) }),
645
- /* @__PURE__ */ n(g, { gap: 1, children: (i || e) && /* @__PURE__ */ a(M.Provider, { value: !0, children: [
643
+ /* @__PURE__ */ n(g, { gap: 1, children: /* @__PURE__ */ n(j.Provider, { value: !0, children: r }) }),
644
+ /* @__PURE__ */ n(g, { gap: 1, children: (i || e) && /* @__PURE__ */ a(j.Provider, { value: !0, children: [
646
645
  i,
647
646
  e && /* @__PURE__ */ n(
648
- ve,
647
+ me,
649
648
  {
650
- leftIcon: V,
649
+ icon: X,
651
650
  label: c,
652
651
  onClick: t
653
652
  }
@@ -656,18 +655,22 @@ const H = ({
656
655
  ] })
657
656
  ]
658
657
  }
659
- ), be = ({
658
+ ), ve = ({
660
659
  label: e
661
- }) => E() ? null : /* @__PURE__ */ a(l, { height: "32px", justifyContent: "center", indent: 1, children: [
660
+ }) => U() ? null : /* @__PURE__ */ a(l, { height: "32px", justifyContent: "center", indent: 1, children: [
662
661
  /* @__PURE__ */ n(_, {}),
663
662
  /* @__PURE__ */ n(b, { variant: "overline", size: "smaller", children: e })
664
- ] }), _e = ({
663
+ ] }), be = ({
664
+ label: e,
665
+ leftIcon: t,
666
+ ...o
667
+ }) => t == null ? null : /* @__PURE__ */ n(Y, { label: e, placement: "right", appendTo: document.body, children: /* @__PURE__ */ n(mn, { icon: t, ...o }) }), Ye = (e) => U() ? /* @__PURE__ */ n(be, { ...e }) : /* @__PURE__ */ n(vn, { ...e }), _e = ({
665
668
  children: e,
666
669
  label: t,
667
670
  icon: o,
668
671
  popupMinWidth: r = "200px"
669
672
  }) => /* @__PURE__ */ n(
670
- F,
673
+ R,
671
674
  {
672
675
  appendTo: "parent",
673
676
  arrow: !1,
@@ -684,23 +687,23 @@ const H = ({
684
687
  spacing: 1,
685
688
  indent: 1,
686
689
  gap: 2,
687
- children: /* @__PURE__ */ a(M.Provider, { value: !1, children: [
688
- /* @__PURE__ */ n(be, { label: t }),
690
+ children: /* @__PURE__ */ a(j.Provider, { value: !1, children: [
691
+ /* @__PURE__ */ n(ve, { label: t }),
689
692
  e
690
693
  ] })
691
694
  }
692
695
  ),
693
- children: /* @__PURE__ */ n(X, { icon: o })
696
+ children: /* @__PURE__ */ n($, { icon: o })
694
697
  }
695
- ), Ye = ({
698
+ ), Ze = ({
696
699
  children: e,
697
700
  label: t,
698
701
  leftIcon: o,
699
702
  className: r,
700
703
  initialExpand: i = !1
701
704
  }) => {
702
- const [c, d] = yn(i);
703
- return E() ? o == null ? null : /* @__PURE__ */ n(_e, { label: t, icon: o, children: e }) : /* @__PURE__ */ n(
705
+ const [c, d] = kn(i);
706
+ return U() ? o == null ? null : /* @__PURE__ */ n(_e, { label: t, icon: o, children: e }) : /* @__PURE__ */ n(
704
707
  P,
705
708
  {
706
709
  label: t,
@@ -713,13 +716,13 @@ const H = ({
713
716
  children: e
714
717
  }
715
718
  );
716
- }, Ze = (e) => /* @__PURE__ */ n(
717
- kn,
719
+ }, nt = (e) => /* @__PURE__ */ n(
720
+ In,
718
721
  {
719
722
  color: f("--lhds-color-ui-400"),
720
723
  ...e
721
724
  }
722
- ), Be = `1px solid ${f("--lhds-color-orange-400")}`, nt = ({
725
+ ), Be = `1px solid ${f("--lhds-color-orange-400")}`, et = ({
723
726
  numItemsSelected: e,
724
727
  label: t,
725
728
  afterLabelContent: o,
@@ -755,15 +758,15 @@ const H = ({
755
758
  }
756
759
  );
757
760
  export {
758
- Sn as ActionMenuFlatButton,
759
- Me as ActionMenuPrimaryButton,
760
- Fe as ActionMenuSecondaryButton,
761
- Re as CheckboxMenu,
761
+ Mn as ActionMenuFlatButton,
762
+ je as ActionMenuPrimaryButton,
763
+ Re as ActionMenuSecondaryButton,
764
+ Fe as CheckboxMenu,
762
765
  ce as Collapsible,
763
766
  ie as CollapsibleEmptyContent,
764
767
  qe as CollapsibleGroupHeading,
765
- Oe as CollapsibleList,
766
- Te as CollapsibleWithCheckbox,
768
+ Te as CollapsibleList,
769
+ Oe as CollapsibleWithCheckbox,
767
770
  le as ErrorPanel,
768
771
  We as ErrorScreen,
769
772
  se as LoadingPanel,
@@ -776,17 +779,17 @@ export {
776
779
  Ae as NavBarSearchField,
777
780
  He as NavBarUserButton,
778
781
  Ee as Notification,
779
- Z as NotificationHeader,
782
+ nn as NotificationHeader,
780
783
  Ue as NotificationList,
781
784
  Je as PageHeader,
782
785
  Ke as PageHeaderRow,
783
786
  Qe as PageHeading,
784
- nt as SelectedItemsActionsPanel,
787
+ et as SelectedItemsActionsPanel,
785
788
  Ve as SidebarMenu,
786
- Ye as SidebarMenuCollapsible,
787
- be as SidebarMenuHeading,
788
- ve as SidebarMenuLink,
789
- Ze as SidebarMenuSeparator,
789
+ Ze as SidebarMenuCollapsible,
790
+ ve as SidebarMenuHeading,
791
+ Ye as SidebarMenuLink,
792
+ nt as SidebarMenuSeparator,
790
793
  Xe as SidebarRailMenu,
791
794
  De as Toast,
792
795
  Qn as UnreadDot,