@hortiview/shared-components 2.2.0 → 2.3.0

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [2.3.0](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/compare/v2.2.0...v2.3.0) (2025-08-20)
2
+
3
+ ### Features
4
+
5
+ * add additional props to the stepper and stepper buttons ([e7a404d](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/commit/e7a404df5f97ec90dbfc4055cef8026f6d84a136))
6
+ * added new LinkBanner component ([86d5360](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/commit/86d5360b713cff6abd2bf6658e1f934b972c7020))
7
+
1
8
  ## [2.2.0](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/compare/v2.1.0...v2.2.0) (2025-07-24)
2
9
 
3
10
  ### Features
@@ -0,0 +1,26 @@
1
+ import { jsx as n, Fragment as i, jsxs as t } from "react/jsx-runtime";
2
+ import { G as l } from "./index.es-DntoATwO.js";
3
+ import { I as _ } from "./index.es-3043KTnb.js";
4
+ import { T as d } from "./index.es-D54RuMc_.js";
5
+ import './assets/AlertBanner.css';const m = "_messageContainer_2hnjr_1", g = "_info_2hnjr_9", h = "_danger_2hnjr_14", p = "_success_2hnjr_19", f = "_warning_2hnjr_24", u = "_closeIcon_2hnjr_29", j = "_linkBanner_2hnjr_34", s = {
6
+ messageContainer: m,
7
+ info: g,
8
+ danger: h,
9
+ success: p,
10
+ warning: f,
11
+ closeIcon: u,
12
+ linkBanner: j
13
+ }, k = ({
14
+ text: e,
15
+ color: o = "info",
16
+ isOpen: a = !0,
17
+ isBold: c = !0,
18
+ onClose: r
19
+ }) => a ? /* @__PURE__ */ n("div", { "data-testid": "alert-banner", className: `${s.messageContainer} ${s[o]}`, children: /* @__PURE__ */ t(l, { primaryAlign: "space-between", secondaryAlign: "top", gap: "dense", fullWidth: !0, children: [
20
+ typeof e == "string" ? /* @__PURE__ */ n(d, { bold: c, level: 2, children: e }) : /* @__PURE__ */ n("div", { style: { width: "100%" }, children: e }),
21
+ r && /* @__PURE__ */ n(_, { icon: "close", iconSize: "small", onClick: r, className: s.closeIcon })
22
+ ] }) }) : /* @__PURE__ */ n(i, {});
23
+ export {
24
+ k as A,
25
+ s
26
+ };
@@ -1 +1 @@
1
- ._messageContainer_1i2s1_1{border-radius:.25rem;padding:.75rem 1rem;width:-moz-available;width:-webkit-fill-available;width:stretch}._info_1i2s1_9{border:1px solid var(--lmnt-theme-on-secondary-stroke);background:var(--lmnt-theme-secondary-50)}._danger_1i2s1_14{border:1px solid var(--lmnt-theme-on-danger-stroke);background:var(--lmnt-theme-danger-50)}._success_1i2s1_19{border:1px solid var(--lmnt-theme-on-success-stroke);background:var(--lmnt-theme-success-50)}._warning_1i2s1_24{border:1px solid var(--lmnt-utility-orange-surface);background:#f6a6491a}._closeIcon_1i2s1_29{align-self:flex-start;margin-right:-.15rem}
1
+ ._messageContainer_2hnjr_1{border-radius:.25rem;padding:.75rem 1rem;width:-moz-available;width:-webkit-fill-available;width:stretch}._info_2hnjr_9{border:1px solid var(--lmnt-theme-on-secondary-stroke);background:var(--lmnt-theme-secondary-50)}._danger_2hnjr_14{border:1px solid var(--lmnt-theme-on-danger-stroke);background:var(--lmnt-theme-danger-50)}._success_2hnjr_19{border:1px solid var(--lmnt-theme-on-success-stroke);background:var(--lmnt-theme-success-50)}._warning_2hnjr_24{border:1px solid var(--lmnt-utility-orange-surface);background:#f6a6491a}._closeIcon_2hnjr_29{align-self:flex-start;margin-right:-.15rem}._linkBanner_2hnjr_34{cursor:pointer}
@@ -1 +1 @@
1
- ._modal_18rd0_1 div[class*=lmnt-modal__surface]{max-height:100svh!important;max-width:100svw!important}._title_18rd0_6{header{display:flex;justify-content:start;padding-left:.5rem!important;>div{width:100%;margin-left:0!important}}}._titleWithoutCloseIcon_18rd0_18{margin-left:1rem!important}
1
+ ._modal_fr8bw_1 div[class*=lmnt-modal__surface]{max-height:100svh!important;max-width:100svw!important}._title_fr8bw_6{header{display:flex;justify-content:start;padding-left:.5rem!important;>div{width:100%;margin-left:0!important}}}._titleWithoutCloseIcon_fr8bw_18{margin-left:1rem!important}._closeButton_fr8bw_22:before{display:none!important}._closeButton_fr8bw_22:hover{background-color:var(--lmnt-theme-surface-variant)!important}
@@ -1,4 +1,4 @@
1
- type AlertBannerProps = {
1
+ export type AlertBannerProps = {
2
2
  text: string | JSX.Element;
3
3
  color?: 'danger' | 'info' | 'success' | 'warning';
4
4
  isOpen?: boolean;
@@ -13,4 +13,3 @@ type AlertBannerProps = {
13
13
  action?: JSX.Element;
14
14
  };
15
15
  export declare const AlertBanner: ({ text, color, isOpen, isBold, onClose, }: AlertBannerProps) => import("react/jsx-runtime").JSX.Element;
16
- export {};
@@ -1,24 +1,8 @@
1
- import { jsx as n, Fragment as a, jsxs as t } from "react/jsx-runtime";
2
- import { G as l } from "../../index.es-DntoATwO.js";
3
- import { I as _ } from "../../index.es-3043KTnb.js";
4
- import { T as m } from "../../index.es-D54RuMc_.js";
5
- import '../../assets/AlertBanner.css';const d = "_messageContainer_1i2s1_1", g = "_info_1i2s1_9", p = "_danger_1i2s1_14", f = "_success_1i2s1_19", u = "_warning_1i2s1_24", y = "_closeIcon_1i2s1_29", e = {
6
- messageContainer: d,
7
- info: g,
8
- danger: p,
9
- success: f,
10
- warning: u,
11
- closeIcon: y
12
- }, b = ({
13
- text: s,
14
- color: r = "info",
15
- isOpen: i = !0,
16
- isBold: c = !0,
17
- onClose: o
18
- }) => i ? /* @__PURE__ */ n("div", { "data-testid": "alert-banner", className: `${e.messageContainer} ${e[r]}`, children: /* @__PURE__ */ t(l, { primaryAlign: "space-between", secondaryAlign: "top", gap: "dense", children: [
19
- typeof s == "string" ? /* @__PURE__ */ n(m, { bold: c, level: 2, children: s }) : /* @__PURE__ */ n("div", { children: s }),
20
- o && /* @__PURE__ */ n(_, { icon: "close", iconSize: "small", onClick: o, className: e.closeIcon })
21
- ] }) }) : /* @__PURE__ */ n(a, {});
1
+ import "react/jsx-runtime";
2
+ import "../../index.es-DntoATwO.js";
3
+ import "../../index.es-3043KTnb.js";
4
+ import "../../index.es-D54RuMc_.js";
5
+ import { A as e } from "../../AlertBanner-75jjene1.js";
22
6
  export {
23
- b as AlertBanner
7
+ e as AlertBanner
24
8
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as e, Fragment as m } from "react/jsx-runtime";
2
2
  import { a as t, s } from "../../react.esm-CX1WJ2Pp.js";
3
3
  import { a as o } from "../../useBreakpoints-MzTZ0tCT.js";
4
- import { AlertBanner as n } from "./AlertBanner.js";
4
+ import { A as n } from "../../AlertBanner-75jjene1.js";
5
5
  import { d as p, b as c, a as l, t as r, g as a } from "../../vi.CjhMlMwf-CKxPQtd6.js";
6
6
  p("AlertBanner Test", () => {
7
7
  c(() => {
@@ -0,0 +1,21 @@
1
+ import { AlertBannerProps } from './AlertBanner';
2
+
3
+ /**
4
+ * LinkBanner component, shows an alert banner but with a link as text
5
+ * @param text - The text of the link.
6
+ * @param url - The URL the link points to.
7
+ * @param color - The color of the link banner.
8
+ * @param isOpen - Whether the link banner is open or not.
9
+ * @param isBold - Whether the text is bold or not.
10
+ * @returns
11
+ */
12
+ export declare const LinkBanner: ({ text, color, isOpen, isBold, url, }: Omit<AlertBannerProps, "onClose" | "action" | "text"> & {
13
+ /**
14
+ * the given text is shown as a link, in addition a link icon is displayed
15
+ */
16
+ url: string;
17
+ /**
18
+ * the text of the link
19
+ */
20
+ text: string;
21
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,37 @@
1
+ import { jsx as r, jsxs as a } from "react/jsx-runtime";
2
+ import { G as l } from "../../index.es-DntoATwO.js";
3
+ import { T as s } from "../../index.es-D54RuMc_.js";
4
+ import { Iconify as p } from "../Iconify/Iconify.js";
5
+ import { A as m, s as c } from "../../AlertBanner-75jjene1.js";
6
+ const g = ({
7
+ text: n,
8
+ color: o = "info",
9
+ isOpen: t = !0,
10
+ isBold: e = !0,
11
+ url: i
12
+ }) => /* @__PURE__ */ r(
13
+ m,
14
+ {
15
+ color: o,
16
+ isOpen: t,
17
+ isBold: e,
18
+ text: /* @__PURE__ */ r("a", { href: i, target: "_blank", rel: "noopener noreferrer", children: /* @__PURE__ */ a(
19
+ l,
20
+ {
21
+ direction: "horizontal",
22
+ primaryAlign: "space-between",
23
+ gap: "dense",
24
+ secondaryAlign: "center",
25
+ className: c.linkBanner,
26
+ fullWidth: !0,
27
+ children: [
28
+ /* @__PURE__ */ r(s, { bold: e, level: 2, children: n }),
29
+ /* @__PURE__ */ r(p, { icon: "open_in_new", pointer: !0 })
30
+ ]
31
+ }
32
+ ) })
33
+ }
34
+ );
35
+ export {
36
+ g as LinkBanner
37
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,17 @@
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { a as r, s as e } from "../../react.esm-CX1WJ2Pp.js";
3
+ import { a as o } from "../../useBreakpoints-MzTZ0tCT.js";
4
+ import { LinkBanner as a } from "./LinkBanner.js";
5
+ import { d as n, b as i, a as m, t as p, g as t } from "../../vi.CjhMlMwf-CKxPQtd6.js";
6
+ n("LinkBanner Test", () => {
7
+ i(() => {
8
+ m.spyOn(o, "useBreakpoints").mockReturnValue({
9
+ isMobile: !1,
10
+ isTablet: !1,
11
+ isDesktop: !0,
12
+ isDesktopNavbar: !0
13
+ });
14
+ }), p("render LinkBanner with text", () => {
15
+ r(/* @__PURE__ */ s(a, { text: "Test", url: "#" })), t(e.getByText("Test")).toBeInTheDocument(), t(e.getByText("open_in_new")).toBeInTheDocument(), t(e.getByRole("link")).toHaveAttribute("href", "#");
16
+ });
17
+ });
@@ -1,9 +1,9 @@
1
- import { jsxs as ft, jsx as _, Fragment as pt } from "react/jsx-runtime";
2
- import { G as V } from "../../index.es-DntoATwO.js";
1
+ import { jsxs as ft, jsx as E, Fragment as pt } from "react/jsx-runtime";
2
+ import { G as z } from "../../index.es-DntoATwO.js";
3
3
  import { I as it } from "../../index.es-0lQcz8m1.js";
4
4
  import { _ as ht, c as B, P as s } from "../../identity-DLWZln-X.js";
5
- import d, { forwardRef as gt, useRef as et, useImperativeHandle as Et, useState as nt, useEffect as g, useCallback as z, useMemo as Y } from "react";
6
- import { i as _t, c as A, a as Ct } from "../../index.es-da0cf7oE.js";
5
+ import d, { forwardRef as gt, useRef as et, useImperativeHandle as _t, useState as nt, useEffect as g, useCallback as j, useMemo as Y } from "react";
6
+ import { i as Et, c as A, a as Ct } from "../../index.es-da0cf7oE.js";
7
7
  import { b as at, c as ot, d as St } from "../../tslib.es6-BDCynO9F.js";
8
8
  import { M as vt, a as yt } from "../../component-neHBNHRu.js";
9
9
  import { M as Ot, c as Tt, m as At } from "../../component-DsB0poTj.js";
@@ -73,7 +73,7 @@ function wt(i) {
73
73
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
74
74
  * THE SOFTWARE.
75
75
  */
76
- var j = "mdc-dom-focus-sentinel", Mt = (
76
+ var q = "mdc-dom-focus-sentinel", Mt = (
77
77
  /** @class */
78
78
  function() {
79
79
  function i(e, t) {
@@ -85,7 +85,7 @@ var j = "mdc-dom-focus-sentinel", Mt = (
85
85
  throw new Error("FocusTrap: Element must have at least one focusable child.");
86
86
  this.elFocusedBeforeTrapFocus = document.activeElement instanceof HTMLElement ? document.activeElement : null, this.wrapTabFocus(this.root), this.options.skipInitialFocus || this.focusInitialElement(e, this.options.initialFocusEl);
87
87
  }, i.prototype.releaseFocus = function() {
88
- [].slice.call(this.root.querySelectorAll("." + j)).forEach(function(e) {
88
+ [].slice.call(this.root.querySelectorAll("." + q)).forEach(function(e) {
89
89
  e.parentElement.removeChild(e);
90
90
  }), !this.options.skipRestoreFocus && this.elFocusedBeforeTrapFocus && this.elFocusedBeforeTrapFocus.focus();
91
91
  }, i.prototype.wrapTabFocus = function(e) {
@@ -103,7 +103,7 @@ var j = "mdc-dom-focus-sentinel", Mt = (
103
103
  }, i.prototype.getFocusableElements = function(e) {
104
104
  var t = [].slice.call(e.querySelectorAll("[autofocus], [tabindex], a, input, textarea, select, button"));
105
105
  return t.filter(function(n) {
106
- var o = n.getAttribute("aria-disabled") === "true" || n.getAttribute("disabled") != null || n.getAttribute("hidden") != null || n.getAttribute("aria-hidden") === "true", a = n.tabIndex >= 0 && n.getBoundingClientRect().width > 0 && !n.classList.contains(j) && !o, f = !1;
106
+ var o = n.getAttribute("aria-disabled") === "true" || n.getAttribute("disabled") != null || n.getAttribute("hidden") != null || n.getAttribute("aria-hidden") === "true", a = n.tabIndex >= 0 && n.getBoundingClientRect().width > 0 && !n.classList.contains(q) && !o, f = !1;
107
107
  if (a) {
108
108
  var p = getComputedStyle(n);
109
109
  f = p.display === "none" || p.visibility === "hidden";
@@ -112,7 +112,7 @@ var j = "mdc-dom-focus-sentinel", Mt = (
112
112
  });
113
113
  }, i.prototype.createSentinel = function() {
114
114
  var e = document.createElement("div");
115
- return e.setAttribute("tabindex", "0"), e.setAttribute("aria-hidden", "true"), e.classList.add(j), e;
115
+ return e.setAttribute("tabindex", "0"), e.setAttribute("aria-hidden", "true"), e.classList.add(q), e;
116
116
  }, i;
117
117
  }()
118
118
  );
@@ -191,7 +191,7 @@ var r = {
191
191
  ".mdc-menu .mdc-deprecated-list-item"
192
192
  ].join(", "),
193
193
  SURFACE_SELECTOR: ".mdc-dialog__surface"
194
- }, q = {
194
+ }, $ = {
195
195
  DIALOG_ANIMATION_CLOSE_TIME_MS: 75,
196
196
  DIALOG_ANIMATION_OPEN_TIME_MS: 150
197
197
  };
@@ -217,10 +217,10 @@ var r = {
217
217
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
218
218
  * THE SOFTWARE.
219
219
  */
220
- var w;
220
+ var M;
221
221
  (function(i) {
222
222
  i.POLL_SCROLL_POS = "poll_scroll_position", i.POLL_LAYOUT_CHANGE = "poll_layout_change";
223
- })(w || (w = {}));
223
+ })(M || (M = {}));
224
224
  var rt = (
225
225
  /** @class */
226
226
  function(i) {
@@ -249,7 +249,7 @@ var rt = (
249
249
  configurable: !0
250
250
  }), Object.defineProperty(e, "numbers", {
251
251
  get: function() {
252
- return q;
252
+ return $;
253
253
  },
254
254
  enumerable: !1,
255
255
  configurable: !0
@@ -325,13 +325,13 @@ var rt = (
325
325
  this.dialogOpen = !0, this.adapter.notifyOpening(), this.adapter.addClass(r.OPENING), this.isFullscreen && this.adapter.registerContentEventHandler("scroll", this.contentScrollHandler), t && t.isAboveFullscreenDialog && this.adapter.addClass(r.SCRIM_HIDDEN), this.adapter.registerWindowEventHandler("resize", this.windowResizeHandler), this.adapter.registerWindowEventHandler("orientationchange", this.windowOrientationChangeHandler), this.runNextAnimationFrame(function() {
326
326
  n.adapter.addClass(r.OPEN), n.adapter.addBodyClass(r.SCROLL_LOCK), n.layout(), n.animationTimer = setTimeout(function() {
327
327
  n.handleAnimationTimerEnd(), n.adapter.trapFocus(n.adapter.getInitialFocusEl()), n.adapter.notifyOpened();
328
- }, q.DIALOG_ANIMATION_OPEN_TIME_MS);
328
+ }, $.DIALOG_ANIMATION_OPEN_TIME_MS);
329
329
  });
330
330
  }, e.prototype.close = function(t) {
331
331
  var n = this;
332
332
  t === void 0 && (t = ""), this.dialogOpen && (this.dialogOpen = !1, this.adapter.notifyClosing(t), this.adapter.addClass(r.CLOSING), this.adapter.removeClass(r.OPEN), this.adapter.removeBodyClass(r.SCROLL_LOCK), this.isFullscreen && this.adapter.deregisterContentEventHandler("scroll", this.contentScrollHandler), this.adapter.deregisterWindowEventHandler("resize", this.windowResizeHandler), this.adapter.deregisterWindowEventHandler("orientationchange", this.windowOrientationChangeHandler), cancelAnimationFrame(this.animationFrame), this.animationFrame = 0, clearTimeout(this.animationTimer), this.animationTimer = setTimeout(function() {
333
333
  n.adapter.releaseFocus(), n.handleAnimationTimerEnd(), n.adapter.notifyClosed(t);
334
- }, q.DIALOG_ANIMATION_CLOSE_TIME_MS));
334
+ }, $.DIALOG_ANIMATION_CLOSE_TIME_MS));
335
335
  }, e.prototype.showSurfaceScrim = function() {
336
336
  var t = this;
337
337
  this.adapter.addClass(r.SURFACE_SCRIM_SHOWING), this.runNextAnimationFrame(function() {
@@ -361,7 +361,7 @@ var rt = (
361
361
  this.suppressDefaultPressSelector = t;
362
362
  }, e.prototype.layout = function() {
363
363
  var t = this;
364
- this.animFrame.request(w.POLL_LAYOUT_CHANGE, function() {
364
+ this.animFrame.request(M.POLL_LAYOUT_CHANGE, function() {
365
365
  t.layoutInternal();
366
366
  });
367
367
  }, e.prototype.handleClick = function(t) {
@@ -386,7 +386,7 @@ var rt = (
386
386
  n && this.escapeKeyAction !== "" && this.close(this.escapeKeyAction);
387
387
  }, e.prototype.handleScrollEvent = function() {
388
388
  var t = this;
389
- this.animFrame.request(w.POLL_SCROLL_POS, function() {
389
+ this.animFrame.request(M.POLL_SCROLL_POS, function() {
390
390
  t.toggleScrollDividerHeader(), t.toggleScrollDividerFooter();
391
391
  });
392
392
  }, e.prototype.layoutInternal = function() {
@@ -477,8 +477,8 @@ var u = rt.strings, kt = (
477
477
  return new e(t);
478
478
  }, e.prototype.initialize = function(t) {
479
479
  var n, o;
480
- t === void 0 && (t = function(E, C) {
481
- return new Mt(E, C);
480
+ t === void 0 && (t = function(_, C) {
481
+ return new Mt(_, C);
482
482
  });
483
483
  var a = this.root.querySelector(u.CONTAINER_SELECTOR);
484
484
  if (!a)
@@ -489,8 +489,8 @@ var u = rt.strings, kt = (
489
489
  var v = p.value;
490
490
  this.buttonRipples.push(new Ot(v));
491
491
  }
492
- } catch (E) {
493
- n = { error: E };
492
+ } catch (_) {
493
+ n = { error: _ };
494
494
  } finally {
495
495
  try {
496
496
  p && !p.done && (o = f.return) && o.call(f);
@@ -788,7 +788,7 @@ const Ht = {
788
788
  returnFocusSelector: null,
789
789
  scrollable: !1,
790
790
  title: null
791
- }, M = /* @__PURE__ */ gt((i, e) => {
791
+ }, k = /* @__PURE__ */ gt((i, e) => {
792
792
  const {
793
793
  actionButton: t,
794
794
  actionIcons: n,
@@ -797,36 +797,36 @@ const Ht = {
797
797
  children: f,
798
798
  className: p,
799
799
  content: v,
800
- defaultButton: E,
800
+ defaultButton: _,
801
801
  dismissiveButton: C,
802
802
  footerSupplemental: b,
803
803
  headerActions: J,
804
- hideCloseIcon: k,
804
+ hideCloseIcon: H,
805
805
  indicator: st,
806
806
  initialFocus: y,
807
- mobileStackedButtons: H,
807
+ mobileStackedButtons: P,
808
808
  modalSize: h,
809
809
  nextButton: O,
810
810
  noActions: T,
811
- onClose: P,
812
- onClosed: U,
811
+ onClose: U,
812
+ onClosed: x,
813
813
  onOpen: D,
814
814
  onOpened: I,
815
815
  open: Q,
816
- preventClose: x,
816
+ preventClose: G,
817
817
  preventPrimaryAccept: X,
818
818
  primaryButton: c,
819
- returnFocusSelector: G,
819
+ returnFocusSelector: K,
820
820
  scrollable: Z,
821
821
  title: tt,
822
822
  ...lt
823
823
  } = i, N = et(), l = et();
824
- Et(e, () => N.current, []);
825
- const [K, ct] = nt(), [W, dt] = nt(() => O || a);
824
+ _t(e, () => N.current, []);
825
+ const [W, ct] = nt(), [V, dt] = nt(() => O || a);
826
826
  g(() => {
827
827
  dt(O || a);
828
828
  }, [O, a]);
829
- const L = z(() => {
829
+ const L = j(() => {
830
830
  ct(window.innerWidth <= 600);
831
831
  }, []);
832
832
  g(() => (L(), window.addEventListener("resize", L), () => {
@@ -834,18 +834,18 @@ const Ht = {
834
834
  }), [L]), g(() => (l.current = kt.attachTo(N.current), () => {
835
835
  l.current.destroy();
836
836
  }), [l, N]), g(() => {
837
- l.current.foundation.setAutoStackButtons(H);
838
- }, [H]), g(() => {
837
+ l.current.foundation.setAutoStackButtons(P);
838
+ }, [P]), g(() => {
839
839
  T && (l.current.foundation.adapter.trapFocus = () => {
840
840
  });
841
841
  }, [T]), g(() => {
842
- l.current.scrimClickAction = x ? "" : "close", l.current.escapeKeyAction = x ? "" : "close";
843
- }, [x]);
844
- const F = z((m) => {
845
- P && P(m);
846
- }, [P]), R = z((m) => {
847
- G && _t(G), U && U(m);
848
- }, [G, U]);
842
+ l.current.scrimClickAction = G ? "" : "close", l.current.escapeKeyAction = G ? "" : "close";
843
+ }, [G]);
844
+ const F = j((m) => {
845
+ U && U(m);
846
+ }, [U]), R = j((m) => {
847
+ K && Et(K), x && x(m);
848
+ }, [K, x]);
849
849
  g(() => (l.current.unlisten("MDCDialog: opening", D), l.current.listen("MDCDialog: opening", D), () => {
850
850
  l.current.unlisten("MDCDialog: opening", D);
851
851
  }), [l, D]), g(() => (l.current.unlisten("MDCDialog:opened", I), l.current.listen("MDCDialog:opened", I), () => {
@@ -863,27 +863,27 @@ const Ht = {
863
863
  elevation: t?.props.elevation !== "default" ? t?.props.elevation : "flat",
864
864
  variant: t?.props.variant || "filled"
865
865
  };
866
- return E === "action" && (m["data-mdc-dialog-button-default"] = !0), y === "action" && (m["data-mdc-dialog-initial-focus"] = !0), m;
867
- }, [t?.props.elevation, t?.props.variant, E, y]), mt = Y(() => () => {
866
+ return _ === "action" && (m["data-mdc-dialog-button-default"] = !0), y === "action" && (m["data-mdc-dialog-initial-focus"] = !0), m;
867
+ }, [t?.props.elevation, t?.props.variant, _, y]), mt = Y(() => () => {
868
868
  const m = {
869
869
  className: "lmnt-modal__button mdc-dialog__button",
870
870
  "data-mdc-dialog-action": X ? "" : "accept",
871
871
  elevation: c?.props.elevation !== "default" ? c?.props.elevation : "flat",
872
872
  variant: c?.props.variant || "filled"
873
873
  };
874
- return E === "primary" && (m["data-mdc-dialog-button-default"] = !0), y === "primary" && (m["data-mdc-dialog-initial-focus"] = !0), m;
875
- }, [X, E, y, c?.props.elevation, c?.props.variant]);
874
+ return _ === "primary" && (m["data-mdc-dialog-button-default"] = !0), y === "primary" && (m["data-mdc-dialog-initial-focus"] = !0), m;
875
+ }, [X, _, y, c?.props.elevation, c?.props.variant]);
876
876
  return /* @__PURE__ */ d.createElement("aside", ht({
877
877
  ref: N,
878
878
  className: B("lmnt", "lmnt-modal", "mdc-dialog", Z && "lmnt-modal--scrollable mdc-dialog--scrollable", p),
879
879
  role: "alertdialog"
880
880
  }, lt), /* @__PURE__ */ d.createElement("div", {
881
- className: B("lmnt-modal__container", "mdc-dialog__container", h === "fullscreen" && "mdc-dialog--fullscreen", h === "max" && "lmnt-modal__max", h === "xlarge" && "lmnt-modal__xl", h === "large" && "lmnt-modal__lg", h === "medium" && "lmnt-modal__md", h === "small" && "lmnt-modal__sm", (h === "mobile" || K) && "lmnt-modal__mobile", h === "dialog" && "lmnt-modal__dialog", T && "lmnt-modal-no-actions")
881
+ className: B("lmnt-modal__container", "mdc-dialog__container", h === "fullscreen" && "mdc-dialog--fullscreen", h === "max" && "lmnt-modal__max", h === "xlarge" && "lmnt-modal__xl", h === "large" && "lmnt-modal__lg", h === "medium" && "lmnt-modal__md", h === "small" && "lmnt-modal__sm", (h === "mobile" || W) && "lmnt-modal__mobile", h === "dialog" && "lmnt-modal__dialog", T && "lmnt-modal-no-actions")
882
882
  }, /* @__PURE__ */ d.createElement("div", {
883
883
  className: "lmnt-modal__surface mdc-dialog__surface"
884
884
  }, /* @__PURE__ */ d.createElement("header", {
885
- className: B("lmnt-modal__title", "mdc-dialog__title", (h === "dialog" || k) && "lmnt-modal_title-hide-close-icon", n && "lmnt-modal_title-actionsIcons", Z && "lmnt-modal__title-scrollable", (k || h === "dialog" || T) && "lmnt-modal--no-close-icon")
886
- }, !k && h !== "dialog" && !T && /* @__PURE__ */ d.createElement(it, {
885
+ className: B("lmnt-modal__title", "mdc-dialog__title", (h === "dialog" || H) && "lmnt-modal_title-hide-close-icon", n && "lmnt-modal_title-actionsIcons", Z && "lmnt-modal__title-scrollable", (H || h === "dialog" || T) && "lmnt-modal--no-close-icon")
886
+ }, !H && h !== "dialog" && !T && /* @__PURE__ */ d.createElement(it, {
887
887
  className: "mdc-icon-button material-icons mdc-dialog__close",
888
888
  "data-mdc-dialog-action": "close",
889
889
  icon: "clear"
@@ -897,19 +897,19 @@ const Ht = {
897
897
  }, o)), (v || f) && /* @__PURE__ */ d.createElement("section", {
898
898
  className: "lmnt-modal__content mdc-dialog__content"
899
899
  }, v || f), st, (t || a || C || O || c || b) && /* @__PURE__ */ d.createElement("footer", {
900
- className: B("lmnt-modal__actions", "mdc-dialog__actions", K && "lmnt-dialog__actions__mobile", b && "lmnt-modal__actions--supplemental-btn", K && H && "lmnt-modal_actions-mobile-stacked")
901
- }, !W && b && /* @__PURE__ */ d.createElement("div", {
900
+ className: B("lmnt-modal__actions", "mdc-dialog__actions", W && "lmnt-dialog__actions__mobile", b && "lmnt-modal__actions--supplemental-btn", W && P && "lmnt-modal_actions-mobile-stacked")
901
+ }, !V && b && /* @__PURE__ */ d.createElement("div", {
902
902
  className: "lmnt-dialog__actions__supplemental"
903
903
  }, A(b, () => {
904
904
  const m = {};
905
- return E === "footerSupplemental" && (m["data-mdc-dialog-button-default"] = !0), y === "footerSupplemental" && (m["data-mdc-dialog-initial-focus"] = !0), m;
906
- })), !W && (t || C || c) && /* @__PURE__ */ d.createElement("div", {
905
+ return _ === "footerSupplemental" && (m["data-mdc-dialog-button-default"] = !0), y === "footerSupplemental" && (m["data-mdc-dialog-initial-focus"] = !0), m;
906
+ })), !V && (t || C || c) && /* @__PURE__ */ d.createElement("div", {
907
907
  className: "lmnt-dialog__actions__right-align lmnt-modal_actions_button"
908
908
  }, C && A(C, {
909
909
  variant: "text",
910
910
  className: "lmnt-modal__button mdc-dialog__button",
911
911
  "data-mdc-dialog-action": "close"
912
- }), t && !c && A(t, ut), c && A(c, mt)), W && /* @__PURE__ */ d.createElement("div", {
912
+ }), t && !c && A(t, ut), c && A(c, mt)), V && /* @__PURE__ */ d.createElement("div", {
913
913
  className: "lmnt-modal_actions_button lmnt-dialog__actions__directional"
914
914
  }, /* @__PURE__ */ d.createElement("div", null, Ct(a, "lmnt-modal__button")), /* @__PURE__ */ d.createElement("div", null, A(O, {
915
915
  className: "lmnt-modal__button",
@@ -918,14 +918,15 @@ const Ht = {
918
918
  className: "mdc-dialog__scrim"
919
919
  }));
920
920
  });
921
- M.displayName = "Modal";
922
- M.propTypes = Ht;
923
- M.defaultProps = Pt;
924
- const Ut = "_modal_18rd0_1", xt = "_title_18rd0_6", Gt = "_titleWithoutCloseIcon_18rd0_18", $ = {
921
+ k.displayName = "Modal";
922
+ k.propTypes = Ht;
923
+ k.defaultProps = Pt;
924
+ const Ut = "_modal_fr8bw_1", xt = "_title_fr8bw_6", Gt = "_titleWithoutCloseIcon_fr8bw_18", Kt = "_closeButton_fr8bw_22", w = {
925
925
  modal: Ut,
926
926
  title: xt,
927
- titleWithoutCloseIcon: Gt
928
- }, ee = ({
927
+ titleWithoutCloseIcon: Gt,
928
+ closeButton: Kt
929
+ }, ne = ({
929
930
  onClose: i,
930
931
  title: e,
931
932
  headerActions: t,
@@ -934,32 +935,32 @@ const Ut = "_modal_18rd0_1", xt = "_title_18rd0_6", Gt = "_titleWithoutCloseIcon
934
935
  ...a
935
936
  }) => {
936
937
  const f = Y(() => {
937
- const p = /* @__PURE__ */ ft(V, { primaryAlign: "center", secondaryAlign: "center", children: [
938
- !n && /* @__PURE__ */ _(it, { icon: "close", onClick: () => i?.(), type: "button" }),
939
- o ? /* @__PURE__ */ _(Dt, { customPadding: "0.25rem 0 0 0.75rem", children: /* @__PURE__ */ _(Nt, { icon: o }) }) : /* @__PURE__ */ _(pt, {}),
940
- /* @__PURE__ */ _(
938
+ const p = /* @__PURE__ */ ft(z, { primaryAlign: "center", secondaryAlign: "center", children: [
939
+ !n && /* @__PURE__ */ E(it, { icon: "close", onClick: () => i?.(), type: "button", className: w.closeButton }),
940
+ o ? /* @__PURE__ */ E(Dt, { customPadding: "0.25rem 0 0 0.75rem", children: /* @__PURE__ */ E(Nt, { icon: o }) }) : /* @__PURE__ */ E(pt, {}),
941
+ /* @__PURE__ */ E(
941
942
  It,
942
943
  {
943
944
  level: 6,
944
- className: n && !o ? $.titleWithoutCloseIcon : "",
945
+ className: n && !o ? w.titleWithoutCloseIcon : "",
945
946
  children: e
946
947
  }
947
948
  )
948
949
  ] }, "base-group");
949
- return t ? Array.isArray(t) ? [p, /* @__PURE__ */ _(V, { children: t }, "action-group")] : [p, t] : p;
950
+ return t ? Array.isArray(t) ? [p, /* @__PURE__ */ E(z, { children: t }, "action-group")] : [p, t] : p;
950
951
  }, [t, n, o, i, e]);
951
- return /* @__PURE__ */ _(
952
- M,
952
+ return /* @__PURE__ */ E(
953
+ k,
953
954
  {
954
955
  ...a,
955
956
  "data-testid": "modal",
956
- className: `${$.modal} ${$.title} ${a.className ?? ""}`,
957
+ className: `${w.modal} ${w.title} ${a.className ?? ""}`,
957
958
  hideCloseIcon: !0,
958
- headerActions: /* @__PURE__ */ _(V, { primaryAlign: "space-between", secondaryAlign: "center", children: f }, "header-group"),
959
+ headerActions: /* @__PURE__ */ E(z, { primaryAlign: "space-between", secondaryAlign: "center", children: f }, "header-group"),
959
960
  preventClose: !0
960
961
  }
961
962
  );
962
963
  };
963
964
  export {
964
- ee as Modal
965
+ ne as Modal
965
966
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
2
  import { P as r } from "../../index.es-D-CKRzIB.js";
3
- import "react";
4
3
  import "../../isEmpty-B4GG2s-V.js";
4
+ import "react";
5
5
  import { u as d } from "../../useBreakpoints-MzTZ0tCT.js";
6
6
  import "../../react-tooltip.min-DSY6KDqS.js";
7
7
  import "../../orderBy-Bd48bw88.js";
@@ -8,9 +8,10 @@ import { StepperProps } from './stepperTypes';
8
8
  * @param steps - An array of steps for the stepper.
9
9
  * @param currentStep - The current step index.
10
10
  * @param children - The content to be displayed in the stepper.
11
- * @param nextButtonProps - Props for the next button, including onClick, label, and disabled state.
12
- * @param prevButtonProps - Props for the previous button, including onClick, label, and disabled state.
13
11
  * @param isStepLoading - A boolean indicating if the current step is loading. If true, the next button will be disabled and show a loading state.
12
+ * @param showStepperHeader - An indicator of whether to show the stepper header. Defaults to true.
13
+ * @param stepperButtonAlignment - The alignment of the stepper button group. Defaults to 'center'.
14
+ * @param showPreviousButtonOnFirstStep - A flag which indicates if the previous button should be shown on the first step. This can be useful for canceling the stepper. Defaults to false.
14
15
  * @returns
15
16
  */
16
- export declare const Stepper: ({ steps, currentStep, children, isStepLoading, }: PropsWithChildren<StepperProps>) => import("react/jsx-runtime").JSX.Element;
17
+ export declare const Stepper: ({ steps, currentStep, children, isStepLoading, showStepperHeader, stepperButtonAlignment, showPreviousButtonOnFirstStep, }: PropsWithChildren<StepperProps>) => import("react/jsx-runtime").JSX.Element;
@@ -1,16 +1,19 @@
1
1
  import { jsxs as i, jsx as r } from "react/jsx-runtime";
2
2
  import { G as o } from "../../index.es-DntoATwO.js";
3
- import { useMemo as s } from "react";
4
- import { StepperPreviousButton as l, StepperNextButton as d } from "./components/StepperButton.js";
5
- import { StepperHeader as m } from "./components/StepperHeader.js";
6
- import { s as c } from "../../stepper.module-HuqmDJPj.js";
7
- const A = ({
3
+ import { useMemo as m } from "react";
4
+ import { StepperPreviousButton as c, StepperNextButton as u } from "./components/StepperButton.js";
5
+ import { StepperHeader as f } from "./components/StepperHeader.js";
6
+ import { s as g } from "../../stepper.module-HuqmDJPj.js";
7
+ const P = ({
8
8
  steps: e,
9
9
  currentStep: t,
10
10
  children: n,
11
- isStepLoading: a
11
+ isStepLoading: a,
12
+ showStepperHeader: p = !0,
13
+ stepperButtonAlignment: l = "center",
14
+ showPreviousButtonOnFirstStep: s = !1
12
15
  }) => {
13
- const p = s(() => t === e.length - 1, [t, e.length]);
16
+ const d = m(() => t === e.length - 1, [t, e.length]);
14
17
  return /* @__PURE__ */ i(
15
18
  o,
16
19
  {
@@ -21,34 +24,43 @@ const A = ({
21
24
  primaryAlign: "center",
22
25
  secondaryAlign: "center",
23
26
  children: [
24
- /* @__PURE__ */ r(m, { steps: e, currentStep: t }),
27
+ p ? /* @__PURE__ */ r(f, { steps: e, currentStep: t }) : null,
25
28
  /* @__PURE__ */ r(
26
29
  o,
27
30
  {
28
31
  "data-testid": "stepper-content",
29
32
  fullWidth: !0,
30
- className: c.stepperContent,
33
+ className: g.stepperContent,
31
34
  gap: "airy",
32
35
  secondaryAlign: "center",
33
36
  direction: "vertical",
34
37
  children: n
35
38
  }
36
39
  ),
37
- /* @__PURE__ */ i(o, { "data-testid": "stepper-buttons", fullWidth: !0, secondaryAlign: "center", primaryAlign: "center", children: [
38
- t !== 0 && /* @__PURE__ */ r(l, { ...e[t].prevButtonProps }),
39
- /* @__PURE__ */ r(
40
- d,
41
- {
42
- ...e[t].nextButtonProps,
43
- isStepLoading: a,
44
- isLastStep: p
45
- }
46
- )
47
- ] })
40
+ /* @__PURE__ */ i(
41
+ o,
42
+ {
43
+ "data-testid": "stepper-buttons",
44
+ fullWidth: !0,
45
+ secondaryAlign: "center",
46
+ primaryAlign: l,
47
+ children: [
48
+ (t !== 0 || s) && /* @__PURE__ */ r(c, { ...e[t].prevButtonProps }),
49
+ /* @__PURE__ */ r(
50
+ u,
51
+ {
52
+ ...e[t].nextButtonProps,
53
+ isStepLoading: a,
54
+ isLastStep: d
55
+ }
56
+ )
57
+ ]
58
+ }
59
+ )
48
60
  ]
49
61
  }
50
62
  );
51
63
  };
52
64
  export {
53
- A as Stepper
65
+ P as Stepper
54
66
  };
@@ -1,95 +1,71 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { a as r, s as n, f as c } from "../../react.esm-CX1WJ2Pp.js";
3
- import { Stepper as l } from "./Stepper.js";
4
- import { v as s, d as a, t as p, g as o } from "../../vi.CjhMlMwf-CKxPQtd6.js";
5
- const i = [
2
+ import { a as s, s as t, f as c } from "../../react.esm-CX1WJ2Pp.js";
3
+ import { Stepper as i } from "./Stepper.js";
4
+ import { v as l, d as a, t as p, g as n } from "../../vi.CjhMlMwf-CKxPQtd6.js";
5
+ const o = [
6
6
  {
7
7
  name: "step1",
8
8
  step: 0,
9
9
  title: "Step 1",
10
10
  optional: !1,
11
- nextButtonProps: { onClick: s.fn(), label: "Next" },
12
- prevButtonProps: { onClick: s.fn(), label: "Back" }
11
+ nextButtonProps: { onClick: l.fn(), label: "Next" },
12
+ prevButtonProps: { onClick: l.fn(), label: "Back" }
13
13
  },
14
14
  {
15
15
  name: "step2",
16
16
  step: 1,
17
17
  title: "Step 2",
18
18
  optional: !1,
19
- nextButtonProps: { onClick: s.fn(), label: "Next" },
20
- prevButtonProps: { onClick: s.fn(), label: "Back" }
19
+ nextButtonProps: { onClick: l.fn(), label: "Next" },
20
+ prevButtonProps: { onClick: l.fn(), label: "Back" }
21
21
  },
22
22
  {
23
23
  name: "step3",
24
24
  step: 2,
25
25
  title: "Step 3",
26
26
  optional: !0,
27
- nextButtonProps: { onClick: s.fn(), label: "Finish" },
28
- prevButtonProps: { onClick: s.fn(), label: "Back" }
27
+ nextButtonProps: { onClick: l.fn(), label: "Finish" },
28
+ prevButtonProps: { onClick: l.fn(), label: "Back" }
29
29
  }
30
30
  ];
31
31
  a("Stepper", () => {
32
32
  p("renders the stepper header and children", () => {
33
- r(
34
- /* @__PURE__ */ e(l, { steps: i, currentStep: 1, isStepLoading: !1, children: /* @__PURE__ */ e("div", { children: "Step Content" }) })
35
- ), o(n.queryByText("Step 1")).not.toBeInTheDocument(), o(n.getByText("Step 2")).toBeInTheDocument(), o(n.queryByText("Step 3")).not.toBeInTheDocument(), o(n.getByText("Step Content")).toBeInTheDocument();
33
+ s(
34
+ /* @__PURE__ */ e(i, { steps: o, currentStep: 1, isStepLoading: !1, children: /* @__PURE__ */ e("div", { children: "Step Content" }) })
35
+ ), n(t.queryByText("Step 1")).not.toBeInTheDocument(), n(t.getByText("Step 2")).toBeInTheDocument(), n(t.queryByText("Step 3")).not.toBeInTheDocument(), n(t.getByText("Step Content")).toBeInTheDocument();
36
36
  }), p("disables the next button when isStepLoading is true", () => {
37
- r(
38
- /* @__PURE__ */ e(l, { steps: i, currentStep: 1, isStepLoading: !0, children: /* @__PURE__ */ e("div", { children: "Step Content" }) })
37
+ s(
38
+ /* @__PURE__ */ e(i, { steps: o, currentStep: 1, isStepLoading: !0, children: /* @__PURE__ */ e("div", { children: "Step Content" }) })
39
39
  );
40
- const t = n.getByText("Next").closest("button");
41
- o(t).toBeDisabled();
40
+ const r = t.getByText("Next").closest("button");
41
+ n(r).toBeDisabled();
42
42
  }), p("calls nextButtonProps.onClick when next button is clicked", () => {
43
- const t = s.fn();
44
- i[1].nextButtonProps.onClick = t, r(
45
- /* @__PURE__ */ e(
46
- l,
47
- {
48
- steps: i,
49
- currentStep: 1,
50
- isStepLoading: !1,
51
- children: /* @__PURE__ */ e("div", { children: "Step Content" })
52
- }
53
- )
54
- ), c.click(n.getByText("Next")), o(t).toHaveBeenCalled();
43
+ const r = l.fn();
44
+ o[1].nextButtonProps.onClick = r, s(
45
+ /* @__PURE__ */ e(i, { steps: o, currentStep: 1, isStepLoading: !1, children: /* @__PURE__ */ e("div", { children: "Step Content" }) })
46
+ ), c.click(t.getByText("Next")), n(r).toHaveBeenCalled();
55
47
  }), p("calls prevButtonProps.onClick when prev button is clicked", () => {
56
- const t = s.fn();
57
- i[1].prevButtonProps.onClick = t, r(
58
- /* @__PURE__ */ e(
59
- l,
60
- {
61
- steps: i,
62
- currentStep: 1,
63
- isStepLoading: !1,
64
- children: /* @__PURE__ */ e("div", { children: "Step Content" })
65
- }
66
- )
67
- ), c.click(n.getByText("Back")), o(t).toHaveBeenCalled();
48
+ const r = l.fn();
49
+ o[1].prevButtonProps.onClick = r, s(
50
+ /* @__PURE__ */ e(i, { steps: o, currentStep: 1, isStepLoading: !1, children: /* @__PURE__ */ e("div", { children: "Step Content" }) })
51
+ ), c.click(t.getByText("Back")), n(r).toHaveBeenCalled();
68
52
  }), p("does not render the prev button on the first step", () => {
69
- r(
70
- /* @__PURE__ */ e(
71
- l,
72
- {
73
- steps: i,
74
- currentStep: 0,
75
- isStepLoading: !1,
76
- children: /* @__PURE__ */ e("div", { children: "Step Content" })
77
- }
78
- )
79
- ), o(n.queryByText("Back")).not.toBeInTheDocument();
53
+ s(
54
+ /* @__PURE__ */ e(i, { steps: o, currentStep: 0, isStepLoading: !1, children: /* @__PURE__ */ e("div", { children: "Step Content" }) })
55
+ ), n(t.queryByText("Back")).not.toBeInTheDocument();
80
56
  }), p("renders the next button as submit on last step", () => {
81
- r(
82
- /* @__PURE__ */ e(
83
- l,
84
- {
85
- steps: i,
86
- currentStep: 2,
87
- isStepLoading: !1,
88
- children: /* @__PURE__ */ e("div", { children: "Step Content" })
89
- }
90
- )
57
+ s(
58
+ /* @__PURE__ */ e(i, { steps: o, currentStep: 2, isStepLoading: !1, children: /* @__PURE__ */ e("div", { children: "Step Content" }) })
91
59
  );
92
- const t = n.getByText("Finish").closest("button");
93
- o(t).toHaveAttribute("type", "submit");
60
+ const r = t.getByText("Finish").closest("button");
61
+ n(r).toHaveAttribute("type", "submit");
62
+ }), p("does not render the stepper header when showStepperHeader is false", () => {
63
+ s(
64
+ /* @__PURE__ */ e(i, { steps: o, currentStep: 1, isStepLoading: !1, showStepperHeader: !1, children: /* @__PURE__ */ e("div", { children: "Step Content" }) })
65
+ ), n(t.queryByTestId("stepper-header")).not.toBeInTheDocument();
66
+ }), p("does not render stepper button icons when showArrowIcon is false", () => {
67
+ o[1].nextButtonProps.showArrowIcon = !1, o[1].prevButtonProps.showArrowIcon = !1, s(
68
+ /* @__PURE__ */ e(i, { steps: o, currentStep: 1, isStepLoading: !1, children: /* @__PURE__ */ e("div", { children: "Step Content" }) })
69
+ ), n(t.queryByText("arrow_forward")).not.toBeInTheDocument(), n(t.queryByText("arrow_back")).not.toBeInTheDocument();
94
70
  });
95
71
  });
@@ -6,9 +6,12 @@ import { StepperButtonProps } from '../stepperTypes';
6
6
  * @param onClick - The function to be called when the button is clicked.
7
7
  * @param disabled - Whether the button is disabled or not.
8
8
  * @param className - Additional class names to apply to the button.
9
+ * @param showArrowIcon - Whether to show a leading arrow icon for the button. Defaults to true.
10
+ * @param buttonSize - The size of the button, defaults to 'themeDefault'.
11
+ * @param fullWidth - Whether the button should take the full width of its container. Defaults to true.
9
12
  * @returns
10
13
  */
11
- export declare const StepperPreviousButton: ({ label, onClick, disabled, className, }: StepperButtonProps) => import("react/jsx-runtime").JSX.Element;
14
+ export declare const StepperPreviousButton: ({ label, onClick, disabled, className, showArrowIcon, buttonSize, fullWidth, }: StepperButtonProps) => import("react/jsx-runtime").JSX.Element;
12
15
  /**
13
16
  * A button component for the stepper that is used to go to the next step.
14
17
  * @param label - The label of the button.
@@ -17,9 +20,12 @@ export declare const StepperPreviousButton: ({ label, onClick, disabled, classNa
17
20
  * @param className - Additional class names to apply to the button.
18
21
  * @param isStepLoading - A boolean indicating if the current step is loading. If true, the next button will show a loading state and be disabled.
19
22
  * @param isLastStep - A boolean indicating if this is the last step. If true, the button will submit the form instead of going to the next step.
23
+ * @param showArrowIcon - Whether to show a trailing arrow icon for the button. Defaults to true.
24
+ * @param buttonSize - The size of the button, defaults to 'themeDefault'.
25
+ * @param fullWidth - Whether the button should take the full width of its container. Defaults to true.
20
26
  * @returns
21
27
  */
22
- export declare const StepperNextButton: ({ label, onClick, disabled, className, isStepLoading, isLastStep, }: StepperButtonProps & {
28
+ export declare const StepperNextButton: ({ label, onClick, disabled, className, isStepLoading, isLastStep, showArrowIcon, buttonSize, fullWidth, }: StepperButtonProps & {
23
29
  isStepLoading?: boolean;
24
30
  isLastStep?: boolean;
25
31
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,44 +1,60 @@
1
- import { jsx as a } from "react/jsx-runtime";
2
- import { B as p } from "../../../index.es-CiqbARoC.js";
3
- import { s } from "../../../stepper.module-HuqmDJPj.js";
4
- const c = ({
5
- label: t,
6
- onClick: r,
7
- disabled: e,
8
- className: o
9
- }) => /* @__PURE__ */ a(
10
- p,
1
+ import { jsx as p } from "react/jsx-runtime";
2
+ import { B as s } from "../../../index.es-CiqbARoC.js";
3
+ import { useMemo as c } from "react";
4
+ import { s as i } from "../../../stepper.module-HuqmDJPj.js";
5
+ const $ = ({
6
+ label: o,
7
+ onClick: u,
8
+ disabled: n,
9
+ className: a,
10
+ showArrowIcon: t = !0,
11
+ buttonSize: e = "themeDefault",
12
+ fullWidth: r = !0
13
+ }) => /* @__PURE__ */ p(
14
+ s,
11
15
  {
12
16
  "data-testid": "stepper-previous-button",
13
- className: `${s.stepperButton} ${o ?? ""}`,
14
- onClick: r,
15
- disabled: e,
16
- fullWidth: !0,
17
+ className: `${i.stepperButton} ${a ?? ""}`,
18
+ onClick: u,
19
+ disabled: n,
20
+ fullWidth: r,
21
+ buttonSize: e,
17
22
  variant: "outlined",
18
- leadingIcon: "arrow_back",
19
- children: t
23
+ leadingIcon: t ? "arrow_back" : void 0,
24
+ type: "button",
25
+ children: o
20
26
  }
21
- ), m = ({
22
- label: t,
23
- onClick: r,
24
- disabled: e,
25
- className: o,
26
- isStepLoading: n,
27
- isLastStep: u
28
- }) => /* @__PURE__ */ a(
29
- p,
30
- {
31
- "data-testid": "stepper-next-button",
32
- className: `${s.stepperButton} ${n ? s.stepperButtonLoading : ""} ${o ?? ""}`,
33
- onClick: r,
34
- disabled: n || e,
35
- fullWidth: !0,
36
- trailingIcon: n || u ? void 0 : "arrow_forward",
37
- type: u ? "submit" : "button",
38
- children: t
39
- }
40
- );
27
+ ), x = ({
28
+ label: o,
29
+ onClick: u,
30
+ disabled: n,
31
+ className: a,
32
+ isStepLoading: t,
33
+ isLastStep: e,
34
+ showArrowIcon: r = !0,
35
+ buttonSize: m = "themeDefault",
36
+ fullWidth: d = !0
37
+ }) => {
38
+ const l = c(() => {
39
+ if (!t && !e)
40
+ return r ? "arrow_forward" : void 0;
41
+ }, [e, t, r]);
42
+ return /* @__PURE__ */ p(
43
+ s,
44
+ {
45
+ "data-testid": "stepper-next-button",
46
+ className: `${i.stepperButton} ${t ? i.stepperButtonLoading : ""} ${a ?? ""}`,
47
+ onClick: u,
48
+ disabled: t || n,
49
+ fullWidth: d,
50
+ trailingIcon: l,
51
+ type: e ? "submit" : "button",
52
+ buttonSize: m,
53
+ children: o
54
+ }
55
+ );
56
+ };
41
57
  export {
42
- m as StepperNextButton,
43
- c as StepperPreviousButton
58
+ x as StepperNextButton,
59
+ $ as StepperPreviousButton
44
60
  };
@@ -40,8 +40,11 @@ export type Step = {
40
40
  * @param {boolean} disabled - Whether the button is disabled or not.
41
41
  * @param {() => void} onClick - The function to be called when the button is clicked.
42
42
  * @param {string | ReactNode} label - The label of the button.
43
+ * @param {boolean} showArrowIcon - Whether to show a leading/trailing arrow icon for the button.
44
+ * @param {string} buttonSize - The size of the button, defaults to 'themeDefault'.
45
+ * @param {boolean} fullWidth - Whether the button should take the full width of its container. *
43
46
  */
44
- export type StepperButtonProps = Pick<ButtonProps, 'className' | 'disabled'> & {
47
+ export type StepperButtonProps = Pick<ButtonProps, 'className' | 'disabled' | 'fullWidth'> & {
45
48
  /**
46
49
  * The function to be called when the button is clicked.
47
50
  */
@@ -50,11 +53,22 @@ export type StepperButtonProps = Pick<ButtonProps, 'className' | 'disabled'> & {
50
53
  * The label of the button.
51
54
  */
52
55
  label: string | ReactNode;
56
+ /**
57
+ * Whether to show a leading/trailing arrow icon for the button.
58
+ */
59
+ showArrowIcon?: boolean;
60
+ /**
61
+ * Property adapted from Element library
62
+ */
63
+ buttonSize?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'themeDefault';
53
64
  };
54
65
  /**
55
66
  * @param {Step[]} steps - An array of steps for the stepper.
56
67
  * @param {number} currentStep - The current step index.
57
68
  * @param {boolean} isStepLoading - A boolean indicating if the current step is loading. If true, the next button will be disabled and show a loading state.
69
+ * @param {boolean} showStepperHeader - An indicator of whether to show the stepper header. Defaults to true.
70
+ * @param {string} stepperButtonAlignment - The alignment of the stepper button group. Defaults to 'center'.
71
+ * @param {boolean} showPreviousButtonOnFirstStep - A flag which indicates if the previous button should be shown on the first step. This can be useful for canceling the stepper.
58
72
  */
59
73
  export type StepperProps = {
60
74
  /**
@@ -69,6 +83,22 @@ export type StepperProps = {
69
83
  * a flag which indicates if the current step is loading.
70
84
  */
71
85
  isStepLoading?: boolean;
86
+ /**
87
+ * An indicator of whether to show the stepper header.
88
+ * @default true
89
+ */
90
+ showStepperHeader?: boolean;
91
+ /**
92
+ * The alignment of the stepper button group.
93
+ * @default 'center'
94
+ */
95
+ stepperButtonAlignment?: 'center' | 'space-between';
96
+ /**
97
+ * A flag which indicates if the previous button should be shown on the first step.
98
+ * This can be useful for canceling the stepper.
99
+ * @default false
100
+ */
101
+ showPreviousButtonOnFirstStep?: boolean;
72
102
  };
73
103
  /**
74
104
  * @param {Step[]} steps - An array of steps for the stepper.
package/dist/main.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export { AlertBanner } from './components/AlertBanner/AlertBanner';
2
+ export { LinkBanner } from './components/AlertBanner/LinkBanner';
2
3
  export { BaseView } from './components/BaseView/BaseView';
3
4
  export { BasicHeading } from './components/BasicHeading/BasicHeading';
4
5
  export { BlockView } from './components/BlockView/BlockView';
@@ -20,6 +21,7 @@ export { ListArea } from './components/ListArea/ListArea';
20
21
  export { LoadingSpinner } from './components/LoadingSpinner/Default/LoadingSpinner';
21
22
  export { Modal } from './components/Modal/Modal';
22
23
  export { ModulePadding } from './components/ModulePadding/ModulePadding';
24
+ export { OnboardingBanner } from './components/OnboardingBanner/OnboardingBanner';
23
25
  export { OverflowTooltip } from './components/OverflowTooltip/OverflowTooltip';
24
26
  export { ScrollbarX, ScrollbarY } from './components/Scrollbar/Scrollbar';
25
27
  export { SearchBar } from './components/SearchBar/SearchBar';
@@ -28,7 +30,6 @@ export { StepperHeader } from './components/Stepper/components/StepperHeader';
28
30
  export { StepperIndicator } from './components/Stepper/components/StepperIndicator';
29
31
  export { Stepper } from './components/Stepper/Stepper';
30
32
  export { VerticalDivider } from './components/VerticalDivider/VerticalDivider';
31
- export { OnboardingBanner } from './components/OnboardingBanner/OnboardingBanner';
32
33
  export { FormCheckBox } from './components/FormComponents/FormCheckBox/FormCheckBox';
33
34
  export { FormDatePicker } from './components/FormComponents/FormDatePicker/FormDatePicker';
34
35
  export { FormNumber } from './components/FormComponents/FormNumber/FormNumber';
@@ -40,17 +41,17 @@ export { FormToggle } from './components/FormComponents/FormToggle/FormToggle';
40
41
  export { AvailableCustomIcons } from './enums/AvailableCustomIcons';
41
42
  export { ThemeColor } from './enums/ThemeColor';
42
43
  export { useBreakpoints } from './hooks/useBreakpoints';
43
- export { capitalizeFirstLetters, getNumberAsLocaleString, trimLeadingAndTrailingSpaces, } from './services/UtilService';
44
+ export { capitalizeFirstLetters, getNumberAsLocaleString, trimLeadingAndTrailingSpaces } from './services/UtilService';
44
45
  export type { ActionProps } from './components/ContextMenu/ContextMenu';
45
46
  export type { FormSelectOption } from './components/FormComponents/FormSelect/FormSelect';
46
47
  export type { FormTextProps } from './components/FormComponents/FormText/FormText';
47
48
  export type { HealthCheckFailedProps } from './components/HealthCheckFailed/HealthCheckFailed';
48
49
  export type { FieldItem } from './components/InfoGroup/InfoGroup';
49
50
  export type { LoadingSpinnerProps } from './components/LoadingSpinner/Default/LoadingSpinner';
50
- export type { Step, StepperBaseProps, StepperButtonProps, StepperProps, } from './components/Stepper/stepperTypes';
51
+ export type { Step, StepperBaseProps, StepperButtonProps, StepperProps } from './components/Stepper/stepperTypes';
51
52
  export type { FilterData, FilterOption, FilterSelection } from './types/Filter';
52
53
  export type { CellTemplate, CellTemplateProps, TableLayoutProps } from './types/GenericTable';
53
54
  export type { HashTab } from './types/HashTab';
54
55
  export type { BaseListElement, ListElement } from './types/ListElement';
55
- export { AVAILABLE_COUNTRY_KEYS, AVAILABLE_LOCALES, ENGLISH_LANGUAGE_ID, GERMAN_LANGUAGE_ID, LANGUAGE_CODES_MAPPER, LANGUAGE_ID_MAPPER, SPANISH_LANGUAGE_ID, TURKISH_LANGUAGE_ID, } from './types/Languages';
56
+ export { AVAILABLE_COUNTRY_KEYS, AVAILABLE_LOCALES, ENGLISH_LANGUAGE_ID, GERMAN_LANGUAGE_ID, LANGUAGE_CODES_MAPPER, LANGUAGE_ID_MAPPER, SPANISH_LANGUAGE_ID, TURKISH_LANGUAGE_ID } from './types/Languages';
56
57
  export type { AVAILABLE_LANGUAGE_CODES, LANGUAGE_COUNTRY_CODES } from './types/Languages';
package/dist/main.js CHANGED
@@ -1,100 +1,102 @@
1
- import { AlertBanner as e } from "./components/AlertBanner/AlertBanner.js";
2
- import { BaseView as m } from "./components/BaseView/BaseView.js";
3
- import { BasicHeading as f } from "./components/BasicHeading/BasicHeading.js";
4
- import { BlockView as a } from "./components/BlockView/BlockView.js";
5
- import { ChipCard as l } from "./components/ChipCard/ChipCard.js";
6
- import { ContextMenu as n } from "./components/ContextMenu/ContextMenu.js";
7
- import { DeleteModal as d } from "./components/DeleteModal/DeleteModal.js";
8
- import { DetailContentWrapper as L } from "./components/DetailContentWrapper/DetailContentWrapper.js";
9
- import { Disclaimer as G } from "./components/Disclaimer/Disclaimer.js";
10
- import { EmptyView as _ } from "./components/EmptyView/EmptyView.js";
11
- import { Filter as F } from "./components/Filter/Filter.js";
12
- import { FormattedNumberDisplay as D } from "./components/FormattedNumberDisplay/FormattedNumberDisplay.js";
13
- import { GenericTable as g } from "./components/GenericTable/GenericTable.js";
14
- import { HashTabView as b } from "./components/HashTabView/HashTabView.js";
15
- import { HeaderFilter as T } from "./components/HeaderFilter/HeaderFilter.js";
16
- import { HealthCheckFailed as U } from "./components/HealthCheckFailed/HealthCheckFailed.js";
17
- import { Iconify as M } from "./components/Iconify/Iconify.js";
18
- import { InfoGroup as V } from "./components/InfoGroup/InfoGroup.js";
19
- import { ListArea as k } from "./components/ListArea/ListArea.js";
20
- import { LoadingSpinner as O } from "./components/LoadingSpinner/Default/LoadingSpinner.js";
21
- import { Modal as y } from "./components/Modal/Modal.js";
22
- import { ModulePadding as K } from "./components/ModulePadding/ModulePadding.js";
23
- import { OverflowTooltip as W } from "./components/OverflowTooltip/OverflowTooltip.js";
24
- import { ScrollbarX as j, ScrollbarY as q } from "./components/Scrollbar/Scrollbar.js";
25
- import { SearchBar as Q } from "./components/SearchBar/SearchBar.js";
26
- import { Select as $ } from "./components/Select/Select.js";
27
- import { StepperHeader as or } from "./components/Stepper/components/StepperHeader.js";
28
- import { StepperIndicator as tr } from "./components/Stepper/components/StepperIndicator.js";
29
- import { Stepper as pr } from "./components/Stepper/Stepper.js";
30
- import { VerticalDivider as xr } from "./components/VerticalDivider/VerticalDivider.js";
31
- import { OnboardingBanner as ir } from "./components/OnboardingBanner/OnboardingBanner.js";
32
- import { FormCheckBox as Ar } from "./components/FormComponents/FormCheckBox/FormCheckBox.js";
33
- import { FormDatePicker as cr } from "./components/FormComponents/FormDatePicker/FormDatePicker.js";
34
- import { FormNumber as Sr } from "./components/FormComponents/FormNumber/FormNumber.js";
35
- import { FormRadio as Er } from "./components/FormComponents/FormRadio/FormRadio.js";
36
- import { FormSelect as sr } from "./components/FormComponents/FormSelect/FormSelect.js";
37
- import { FormSlider as Ir } from "./components/FormComponents/FormSlider/FormSlider.js";
38
- import { FormText as Nr } from "./components/FormComponents/FormText/FormText.js";
39
- import { FormToggle as Cr } from "./components/FormComponents/FormToggle/FormToggle.js";
40
- import { AvailableCustomIcons as Br } from "./enums/AvailableCustomIcons.js";
41
- import { ThemeColor as ur } from "./enums/ThemeColor.js";
42
- import { u as Hr } from "./useBreakpoints-MzTZ0tCT.js";
43
- import { capitalizeFirstLetters as hr, getNumberAsLocaleString as Mr, trimLeadingAndTrailingSpaces as Pr } from "./services/UtilService.js";
44
- import { AVAILABLE_COUNTRY_KEYS as Rr, AVAILABLE_LOCALES as kr, ENGLISH_LANGUAGE_ID as wr, GERMAN_LANGUAGE_ID as Or, LANGUAGE_CODES_MAPPER as vr, LANGUAGE_ID_MAPPER as yr, SPANISH_LANGUAGE_ID as Yr, TURKISH_LANGUAGE_ID as Kr } from "./types/Languages.js";
1
+ import { A as e } from "./AlertBanner-75jjene1.js";
2
+ import { LinkBanner as m } from "./components/AlertBanner/LinkBanner.js";
3
+ import { BaseView as f } from "./components/BaseView/BaseView.js";
4
+ import { BasicHeading as a } from "./components/BasicHeading/BasicHeading.js";
5
+ import { BlockView as l } from "./components/BlockView/BlockView.js";
6
+ import { ChipCard as n } from "./components/ChipCard/ChipCard.js";
7
+ import { ContextMenu as d } from "./components/ContextMenu/ContextMenu.js";
8
+ import { DeleteModal as S } from "./components/DeleteModal/DeleteModal.js";
9
+ import { DetailContentWrapper as E } from "./components/DetailContentWrapper/DetailContentWrapper.js";
10
+ import { Disclaimer as _ } from "./components/Disclaimer/Disclaimer.js";
11
+ import { EmptyView as F } from "./components/EmptyView/EmptyView.js";
12
+ import { Filter as D } from "./components/Filter/Filter.js";
13
+ import { FormattedNumberDisplay as C } from "./components/FormattedNumberDisplay/FormattedNumberDisplay.js";
14
+ import { GenericTable as b } from "./components/GenericTable/GenericTable.js";
15
+ import { HashTabView as T } from "./components/HashTabView/HashTabView.js";
16
+ import { HeaderFilter as U } from "./components/HeaderFilter/HeaderFilter.js";
17
+ import { HealthCheckFailed as M } from "./components/HealthCheckFailed/HealthCheckFailed.js";
18
+ import { Iconify as V } from "./components/Iconify/Iconify.js";
19
+ import { InfoGroup as R } from "./components/InfoGroup/InfoGroup.js";
20
+ import { ListArea as O } from "./components/ListArea/ListArea.js";
21
+ import { LoadingSpinner as y } from "./components/LoadingSpinner/Default/LoadingSpinner.js";
22
+ import { Modal as K } from "./components/Modal/Modal.js";
23
+ import { ModulePadding as W } from "./components/ModulePadding/ModulePadding.js";
24
+ import { OnboardingBanner as j } from "./components/OnboardingBanner/OnboardingBanner.js";
25
+ import { OverflowTooltip as J } from "./components/OverflowTooltip/OverflowTooltip.js";
26
+ import { ScrollbarX as Z, ScrollbarY as $ } from "./components/Scrollbar/Scrollbar.js";
27
+ import { SearchBar as or } from "./components/SearchBar/SearchBar.js";
28
+ import { Select as tr } from "./components/Select/Select.js";
29
+ import { StepperHeader as pr } from "./components/Stepper/components/StepperHeader.js";
30
+ import { StepperIndicator as xr } from "./components/Stepper/components/StepperIndicator.js";
31
+ import { Stepper as ir } from "./components/Stepper/Stepper.js";
32
+ import { VerticalDivider as Ar } from "./components/VerticalDivider/VerticalDivider.js";
33
+ import { FormCheckBox as cr } from "./components/FormComponents/FormCheckBox/FormCheckBox.js";
34
+ import { FormDatePicker as Lr } from "./components/FormComponents/FormDatePicker/FormDatePicker.js";
35
+ import { FormNumber as sr } from "./components/FormComponents/FormNumber/FormNumber.js";
36
+ import { FormRadio as Gr } from "./components/FormComponents/FormRadio/FormRadio.js";
37
+ import { FormSelect as Ir } from "./components/FormComponents/FormSelect/FormSelect.js";
38
+ import { FormSlider as Nr } from "./components/FormComponents/FormSlider/FormSlider.js";
39
+ import { FormText as Br } from "./components/FormComponents/FormText/FormText.js";
40
+ import { FormToggle as gr } from "./components/FormComponents/FormToggle/FormToggle.js";
41
+ import { AvailableCustomIcons as ur } from "./enums/AvailableCustomIcons.js";
42
+ import { ThemeColor as Hr } from "./enums/ThemeColor.js";
43
+ import { u as hr } from "./useBreakpoints-MzTZ0tCT.js";
44
+ import { capitalizeFirstLetters as Pr, getNumberAsLocaleString as Vr, trimLeadingAndTrailingSpaces as kr } from "./services/UtilService.js";
45
+ import { AVAILABLE_COUNTRY_KEYS as wr, AVAILABLE_LOCALES as Or, ENGLISH_LANGUAGE_ID as vr, GERMAN_LANGUAGE_ID as yr, LANGUAGE_CODES_MAPPER as Yr, LANGUAGE_ID_MAPPER as Kr, SPANISH_LANGUAGE_ID as zr, TURKISH_LANGUAGE_ID as Wr } from "./types/Languages.js";
45
46
  export {
46
- Rr as AVAILABLE_COUNTRY_KEYS,
47
- kr as AVAILABLE_LOCALES,
47
+ wr as AVAILABLE_COUNTRY_KEYS,
48
+ Or as AVAILABLE_LOCALES,
48
49
  e as AlertBanner,
49
- Br as AvailableCustomIcons,
50
- m as BaseView,
51
- f as BasicHeading,
52
- a as BlockView,
53
- l as ChipCard,
54
- n as ContextMenu,
55
- d as DeleteModal,
56
- L as DetailContentWrapper,
57
- G as Disclaimer,
58
- wr as ENGLISH_LANGUAGE_ID,
59
- _ as EmptyView,
60
- F as Filter,
61
- Ar as FormCheckBox,
62
- cr as FormDatePicker,
63
- Sr as FormNumber,
64
- Er as FormRadio,
65
- sr as FormSelect,
66
- Ir as FormSlider,
67
- Nr as FormText,
68
- Cr as FormToggle,
69
- D as FormattedNumberDisplay,
70
- Or as GERMAN_LANGUAGE_ID,
71
- g as GenericTable,
72
- b as HashTabView,
73
- T as HeaderFilter,
74
- U as HealthCheckFailed,
75
- M as Iconify,
76
- V as InfoGroup,
77
- vr as LANGUAGE_CODES_MAPPER,
78
- yr as LANGUAGE_ID_MAPPER,
79
- k as ListArea,
80
- O as LoadingSpinner,
81
- y as Modal,
82
- K as ModulePadding,
83
- ir as OnboardingBanner,
84
- W as OverflowTooltip,
85
- Yr as SPANISH_LANGUAGE_ID,
86
- j as ScrollbarX,
87
- q as ScrollbarY,
88
- Q as SearchBar,
89
- $ as Select,
90
- pr as Stepper,
91
- or as StepperHeader,
92
- tr as StepperIndicator,
93
- Kr as TURKISH_LANGUAGE_ID,
94
- ur as ThemeColor,
95
- xr as VerticalDivider,
96
- hr as capitalizeFirstLetters,
97
- Mr as getNumberAsLocaleString,
98
- Pr as trimLeadingAndTrailingSpaces,
99
- Hr as useBreakpoints
50
+ ur as AvailableCustomIcons,
51
+ f as BaseView,
52
+ a as BasicHeading,
53
+ l as BlockView,
54
+ n as ChipCard,
55
+ d as ContextMenu,
56
+ S as DeleteModal,
57
+ E as DetailContentWrapper,
58
+ _ as Disclaimer,
59
+ vr as ENGLISH_LANGUAGE_ID,
60
+ F as EmptyView,
61
+ D as Filter,
62
+ cr as FormCheckBox,
63
+ Lr as FormDatePicker,
64
+ sr as FormNumber,
65
+ Gr as FormRadio,
66
+ Ir as FormSelect,
67
+ Nr as FormSlider,
68
+ Br as FormText,
69
+ gr as FormToggle,
70
+ C as FormattedNumberDisplay,
71
+ yr as GERMAN_LANGUAGE_ID,
72
+ b as GenericTable,
73
+ T as HashTabView,
74
+ U as HeaderFilter,
75
+ M as HealthCheckFailed,
76
+ V as Iconify,
77
+ R as InfoGroup,
78
+ Yr as LANGUAGE_CODES_MAPPER,
79
+ Kr as LANGUAGE_ID_MAPPER,
80
+ m as LinkBanner,
81
+ O as ListArea,
82
+ y as LoadingSpinner,
83
+ K as Modal,
84
+ W as ModulePadding,
85
+ j as OnboardingBanner,
86
+ J as OverflowTooltip,
87
+ zr as SPANISH_LANGUAGE_ID,
88
+ Z as ScrollbarX,
89
+ $ as ScrollbarY,
90
+ or as SearchBar,
91
+ tr as Select,
92
+ ir as Stepper,
93
+ pr as StepperHeader,
94
+ xr as StepperIndicator,
95
+ Wr as TURKISH_LANGUAGE_ID,
96
+ Hr as ThemeColor,
97
+ Ar as VerticalDivider,
98
+ Pr as capitalizeFirstLetters,
99
+ Vr as getNumberAsLocaleString,
100
+ kr as trimLeadingAndTrailingSpaces,
101
+ hr as useBreakpoints
100
102
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hortiview/shared-components",
3
3
  "description": "This is a shared component library. It should used in the HortiView platform and its modules.",
4
- "version": "2.2.0",
4
+ "version": "2.3.0",
5
5
  "type": "module",
6
6
  "repository": "https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared",
7
7
  "author": "Falk Menge <falk.menge.ext@bayer.com>",