@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260420114708 → 0.8.1-dev.20260420121019

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -3715,34 +3715,33 @@ var ImageNode = (props) => {
3715
3715
  const isHls = imageUrl?.endsWith(".m3u8");
3716
3716
  const renderMedia = () => {
3717
3717
  if (isHls) {
3718
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_jsx_runtime44.Fragment, { children: [
3719
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
3720
- HlsPlayer2,
3721
- {
3722
- assetUrl: imageUrl,
3723
- posterUrl,
3724
- intrinsicWidth: props.node.intrinsicWidth,
3725
- intrinsicHeight: props.node.intrinsicHeight,
3726
- showControls: props.node.showControls === "true",
3727
- loop: props.node.loop === "true",
3728
- playOptions: props.node.playOptions,
3729
- apiBaseUrl: props.apiBaseUrl,
3730
- session: props.session
3731
- }
3732
- ),
3733
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_react34.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
3734
- "img",
3735
- {
3736
- style: styles,
3737
- loading: "lazy",
3738
- className: "object-cover",
3739
- src: imageUrl,
3740
- width: props.node.intrinsicWidth,
3741
- alt: props.node.title,
3742
- height: props.node.intrinsicHeight
3743
- }
3744
- ) })
3745
- ] });
3718
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
3719
+ HlsPlayer2,
3720
+ {
3721
+ assetUrl: imageUrl,
3722
+ posterUrl,
3723
+ intrinsicWidth: props.node.intrinsicWidth,
3724
+ intrinsicHeight: props.node.intrinsicHeight,
3725
+ showControls: props.node.showControls === "true",
3726
+ loop: props.node.loop === "true",
3727
+ playOptions: props.node.playOptions,
3728
+ apiBaseUrl: props.apiBaseUrl,
3729
+ session: props.session
3730
+ }
3731
+ );
3732
+ } else {
3733
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_react34.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
3734
+ "img",
3735
+ {
3736
+ style: styles,
3737
+ loading: "lazy",
3738
+ className: "object-cover",
3739
+ src: imageUrl,
3740
+ width: props.node.intrinsicWidth,
3741
+ alt: props.node.title,
3742
+ height: props.node.intrinsicHeight
3743
+ }
3744
+ ) });
3746
3745
  }
3747
3746
  };
3748
3747
  if (props.node.width) {
@@ -5099,6 +5098,7 @@ var Pagination_default = Pagination;
5099
5098
 
5100
5099
  // src/components/pageRenderingEngine/nodes/ImageGalleryNode.tsx
5101
5100
  var import_dynamic5 = __toESM(require("next/dynamic"));
5101
+ init_HlsPlayer();
5102
5102
  var import_jsx_runtime67 = require("react/jsx-runtime");
5103
5103
  var HlsPlayer1 = (0, import_dynamic5.default)(() => Promise.resolve().then(() => (init_HlsPlayer(), HlsPlayer_exports)), {
5104
5104
  ssr: false
@@ -5158,7 +5158,7 @@ var ImageGalleryNode = (props) => {
5158
5158
  if (img.width) styles.width = img.width;
5159
5159
  if (img.borderRadius) styles.borderRadius = img.borderRadius;
5160
5160
  return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: "max-w-full", children: isHls ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
5161
- HlsPlayer1,
5161
+ HlsPlayer_default,
5162
5162
  {
5163
5163
  assetUrl: imageUrl,
5164
5164
  posterUrl,
package/dist/index.mjs CHANGED
@@ -2637,7 +2637,7 @@ var DeviceAssetSelector = ({
2637
2637
  var DeviceAssetSelector_default = DeviceAssetSelector;
2638
2638
 
2639
2639
  // src/components/pageRenderingEngine/nodes/ImageNode.tsx
2640
- import { Fragment as Fragment3, jsx as jsx39, jsxs as jsxs25 } from "react/jsx-runtime";
2640
+ import { Fragment as Fragment3, jsx as jsx39 } from "react/jsx-runtime";
2641
2641
  var HlsPlayer = dynamic(() => import("./HlsPlayer-FFEIK6FG.mjs"), {
2642
2642
  ssr: false
2643
2643
  });
@@ -2729,34 +2729,33 @@ var ImageNode = (props) => {
2729
2729
  const isHls = imageUrl?.endsWith(".m3u8");
2730
2730
  const renderMedia = () => {
2731
2731
  if (isHls) {
2732
- return /* @__PURE__ */ jsxs25(Fragment3, { children: [
2733
- /* @__PURE__ */ jsx39(
2734
- HlsPlayer,
2735
- {
2736
- assetUrl: imageUrl,
2737
- posterUrl,
2738
- intrinsicWidth: props.node.intrinsicWidth,
2739
- intrinsicHeight: props.node.intrinsicHeight,
2740
- showControls: props.node.showControls === "true",
2741
- loop: props.node.loop === "true",
2742
- playOptions: props.node.playOptions,
2743
- apiBaseUrl: props.apiBaseUrl,
2744
- session: props.session
2745
- }
2746
- ),
2747
- /* @__PURE__ */ jsx39(React30.Fragment, { children: /* @__PURE__ */ jsx39(
2748
- "img",
2749
- {
2750
- style: styles,
2751
- loading: "lazy",
2752
- className: "object-cover",
2753
- src: imageUrl,
2754
- width: props.node.intrinsicWidth,
2755
- alt: props.node.title,
2756
- height: props.node.intrinsicHeight
2757
- }
2758
- ) })
2759
- ] });
2732
+ return /* @__PURE__ */ jsx39(
2733
+ HlsPlayer,
2734
+ {
2735
+ assetUrl: imageUrl,
2736
+ posterUrl,
2737
+ intrinsicWidth: props.node.intrinsicWidth,
2738
+ intrinsicHeight: props.node.intrinsicHeight,
2739
+ showControls: props.node.showControls === "true",
2740
+ loop: props.node.loop === "true",
2741
+ playOptions: props.node.playOptions,
2742
+ apiBaseUrl: props.apiBaseUrl,
2743
+ session: props.session
2744
+ }
2745
+ );
2746
+ } else {
2747
+ return /* @__PURE__ */ jsx39(React30.Fragment, { children: /* @__PURE__ */ jsx39(
2748
+ "img",
2749
+ {
2750
+ style: styles,
2751
+ loading: "lazy",
2752
+ className: "object-cover",
2753
+ src: imageUrl,
2754
+ width: props.node.intrinsicWidth,
2755
+ alt: props.node.title,
2756
+ height: props.node.intrinsicHeight
2757
+ }
2758
+ ) });
2760
2759
  }
2761
2760
  };
2762
2761
  if (props.node.width) {
@@ -2768,7 +2767,7 @@ var ImageNode_default = ImageNode;
2768
2767
 
2769
2768
  // src/components/pageRenderingEngine/nodes/LinkNode.tsx
2770
2769
  import dynamic2 from "next/dynamic";
2771
- import { Fragment as Fragment4, jsx as jsx40, jsxs as jsxs26 } from "react/jsx-runtime";
2770
+ import { Fragment as Fragment4, jsx as jsx40, jsxs as jsxs25 } from "react/jsx-runtime";
2772
2771
  var LinkNodeButton = dynamic2(() => import("./LinkNodeButton-DFS25WUO.mjs"), {
2773
2772
  ssr: false
2774
2773
  });
@@ -2842,7 +2841,7 @@ var LinkNode = (props) => {
2842
2841
  return null;
2843
2842
  };
2844
2843
  if (isButton) {
2845
- return /* @__PURE__ */ jsxs26(
2844
+ return /* @__PURE__ */ jsxs25(
2846
2845
  LinkNodeButton,
2847
2846
  {
2848
2847
  node,
@@ -2860,7 +2859,7 @@ var LinkNode = (props) => {
2860
2859
  }
2861
2860
  );
2862
2861
  }
2863
- return /* @__PURE__ */ jsxs26(
2862
+ return /* @__PURE__ */ jsxs25(
2864
2863
  Hyperlink,
2865
2864
  {
2866
2865
  href: linkUrl || "#",
@@ -3038,7 +3037,7 @@ var DatafieldNode = (props) => {
3038
3037
  var DatafieldNode_default = DatafieldNode;
3039
3038
 
3040
3039
  // src/components/pageRenderingEngine/nodes/ParagraphNode.tsx
3041
- import { Fragment as Fragment5, jsx as jsx44, jsxs as jsxs27 } from "react/jsx-runtime";
3040
+ import { Fragment as Fragment5, jsx as jsx44, jsxs as jsxs26 } from "react/jsx-runtime";
3042
3041
  var ParagraphNode = (props) => {
3043
3042
  const NodeTypes2 = {
3044
3043
  ["text"]: TextNode_default,
@@ -3072,7 +3071,7 @@ var ParagraphNode = (props) => {
3072
3071
  ) }, index);
3073
3072
  }) });
3074
3073
  }
3075
- return /* @__PURE__ */ jsxs27("div", { className: " " + formatClasses, children: [
3074
+ return /* @__PURE__ */ jsxs26("div", { className: " " + formatClasses, children: [
3076
3075
  hasChildren && props.node.children.map((node, index) => {
3077
3076
  const SelectedNode = NodeTypes2[node.type];
3078
3077
  return /* @__PURE__ */ jsx44(React32.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx44(
@@ -3160,12 +3159,12 @@ var ListItemNode = (props) => {
3160
3159
  var ListItemNode_default = ListItemNode;
3161
3160
 
3162
3161
  // src/components/pageRenderingEngine/nodes/ListNode.tsx
3163
- import { jsx as jsx47, jsxs as jsxs28 } from "react/jsx-runtime";
3162
+ import { jsx as jsx47, jsxs as jsxs27 } from "react/jsx-runtime";
3164
3163
  var ListNode = (props) => {
3165
3164
  const NodeTypes2 = {
3166
3165
  listitem: ListItemNode_default
3167
3166
  };
3168
- return /* @__PURE__ */ jsxs28(React35.Fragment, { children: [
3167
+ return /* @__PURE__ */ jsxs27(React35.Fragment, { children: [
3169
3168
  props.node.listType == "bullet" && /* @__PURE__ */ jsx47("ul", { children: props.node.children && props.node.children.map((node, index) => {
3170
3169
  const SelectedNode = NodeTypes2[node.type];
3171
3170
  return /* @__PURE__ */ jsx47(React35.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx47(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
@@ -3197,7 +3196,7 @@ var QuoteNode_default = QuoteNode;
3197
3196
  // src/components/pageRenderingEngine/nodes/CodeNode.tsx
3198
3197
  import React37 from "react";
3199
3198
  import dynamic3 from "next/dynamic";
3200
- import { jsx as jsx49, jsxs as jsxs29 } from "react/jsx-runtime";
3199
+ import { jsx as jsx49, jsxs as jsxs28 } from "react/jsx-runtime";
3201
3200
  var CopyButton = dynamic3(() => import("./CopyButton-XONTQQW7.mjs"), {
3202
3201
  ssr: false,
3203
3202
  // optional: fallback UI while loading
@@ -3215,8 +3214,8 @@ var CodeNode = (props) => {
3215
3214
  if (node.type === "link") return node.text || node.url || "";
3216
3215
  return "";
3217
3216
  }).join("") ?? "";
3218
- return /* @__PURE__ */ jsxs29("div", { children: [
3219
- /* @__PURE__ */ jsxs29("div", { className: "flex items-center relative bg-neutral-strong px-4 py-3 text-xs font-sans justify-between rounded-t-md ", children: [
3217
+ return /* @__PURE__ */ jsxs28("div", { children: [
3218
+ /* @__PURE__ */ jsxs28("div", { className: "flex items-center relative bg-neutral-strong px-4 py-3 text-xs font-sans justify-between rounded-t-md ", children: [
3220
3219
  /* @__PURE__ */ jsx49("span", { children: "Code Snippet" }),
3221
3220
  /* @__PURE__ */ jsx49(CopyButton, { text: textContent })
3222
3221
  ] }),
@@ -3362,7 +3361,7 @@ var InputControlNode = (props) => {
3362
3361
  var InputControlNode_default = InputControlNode;
3363
3362
 
3364
3363
  // src/components/pageRenderingEngine/nodes/FormContainerNode.tsx
3365
- import { jsx as jsx53, jsxs as jsxs30 } from "react/jsx-runtime";
3364
+ import { jsx as jsx53, jsxs as jsxs29 } from "react/jsx-runtime";
3366
3365
  var FormContainerNode = (props) => {
3367
3366
  const NodeTypes2 = {
3368
3367
  ["input-control"]: InputControlNode_default
@@ -3392,7 +3391,7 @@ var FormContainerNode = (props) => {
3392
3391
  };
3393
3392
  fetchInitialData();
3394
3393
  }, [props.apiBaseUrl, props.node, props.session, props.routeParameters]);
3395
- return /* @__PURE__ */ jsxs30("form", { className: "group space-y-6 pb-6 overflow-y-auto", noValidate: true, ref: formRef, children: [
3394
+ return /* @__PURE__ */ jsxs29("form", { className: "group space-y-6 pb-6 overflow-y-auto", noValidate: true, ref: formRef, children: [
3396
3395
  node.children && node.children.map((node2, index) => {
3397
3396
  {
3398
3397
  }
@@ -3435,7 +3434,7 @@ var EmbedNode_default = EmbedNode;
3435
3434
 
3436
3435
  // src/components/Slider.tsx
3437
3436
  import React40, { useState as useState6, useEffect as useEffect8, Children, cloneElement } from "react";
3438
- import { Fragment as Fragment8, jsx as jsx55, jsxs as jsxs31 } from "react/jsx-runtime";
3437
+ import { Fragment as Fragment8, jsx as jsx55, jsxs as jsxs30 } from "react/jsx-runtime";
3439
3438
  var Slider = ({
3440
3439
  children,
3441
3440
  slidesToShow = 4,
@@ -3555,7 +3554,7 @@ var Slider = ({
3555
3554
  return "bottom-4";
3556
3555
  }
3557
3556
  };
3558
- return /* @__PURE__ */ jsxs31(
3557
+ return /* @__PURE__ */ jsxs30(
3559
3558
  "div",
3560
3559
  {
3561
3560
  className: `relative w-full overflow-hidden ${className}`,
@@ -3573,7 +3572,7 @@ var Slider = ({
3573
3572
  children: slides
3574
3573
  }
3575
3574
  ),
3576
- show_arrows && /* @__PURE__ */ jsxs31(Fragment8, { children: [
3575
+ show_arrows && /* @__PURE__ */ jsxs30(Fragment8, { children: [
3577
3576
  /* @__PURE__ */ jsx55(
3578
3577
  ArrowButton,
3579
3578
  {
@@ -3584,7 +3583,7 @@ var Slider = ({
3584
3583
  children: /* @__PURE__ */ jsx55("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: "w-6 h-6", children: /* @__PURE__ */ jsx55("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M15.75 19.5 8.25 12l7.5-7.5" }) })
3585
3584
  }
3586
3585
  ),
3587
- /* @__PURE__ */ jsxs31(
3586
+ /* @__PURE__ */ jsxs30(
3588
3587
  ArrowButton,
3589
3588
  {
3590
3589
  direction: "right",
@@ -3733,7 +3732,7 @@ var ProgressPill = ({
3733
3732
  }
3734
3733
  return null;
3735
3734
  };
3736
- return /* @__PURE__ */ jsxs31(
3735
+ return /* @__PURE__ */ jsxs30(
3737
3736
  "button",
3738
3737
  {
3739
3738
  className: `${baseClasses} ${getStyleClasses()}`,
@@ -3909,9 +3908,9 @@ var PathUtility = class {
3909
3908
  var PathUtility_default = new PathUtility();
3910
3909
 
3911
3910
  // src/components/NoDataFound.tsx
3912
- import { jsx as jsx56, jsxs as jsxs32 } from "react/jsx-runtime";
3911
+ import { jsx as jsx56, jsxs as jsxs31 } from "react/jsx-runtime";
3913
3912
  var NoDataFound = () => {
3914
- return /* @__PURE__ */ jsxs32("div", { className: "flex flex-col items-center justify-center py-12 px-4 text-center bg-neutral-weak", children: [
3913
+ return /* @__PURE__ */ jsxs31("div", { className: "flex flex-col items-center justify-center py-12 px-4 text-center bg-neutral-weak", children: [
3915
3914
  /* @__PURE__ */ jsx56("div", { className: "mb-5", children: /* @__PURE__ */ jsx56("div", { className: "mx-auto w-20 h-20 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx56(
3916
3915
  "svg",
3917
3916
  {
@@ -3939,7 +3938,7 @@ var NoDataFound_default = NoDataFound;
3939
3938
 
3940
3939
  // src/components/Pagination.tsx
3941
3940
  import { useMemo } from "react";
3942
- import { jsx as jsx57, jsxs as jsxs33 } from "react/jsx-runtime";
3941
+ import { jsx as jsx57, jsxs as jsxs32 } from "react/jsx-runtime";
3943
3942
  var Pagination = (props) => {
3944
3943
  const { dataset, path, query, showPageSizeSelector = false, showJumpToPage = false } = props;
3945
3944
  const builder = useMemo(() => {
@@ -4010,11 +4009,11 @@ var Pagination = (props) => {
4010
4009
  );
4011
4010
  };
4012
4011
  if (totalPages <= 1 && totalItems === 0) return null;
4013
- return /* @__PURE__ */ jsxs33("div", { className: "py-6 border-t bg-default", children: [
4014
- /* @__PURE__ */ jsxs33("div", { className: "flex flex-col sm:flex-row items-center justify-between gap-4", children: [
4015
- /* @__PURE__ */ jsxs33("div", { className: "text-sm", children: [
4012
+ return /* @__PURE__ */ jsxs32("div", { className: "py-6 border-t bg-default", children: [
4013
+ /* @__PURE__ */ jsxs32("div", { className: "flex flex-col sm:flex-row items-center justify-between gap-4", children: [
4014
+ /* @__PURE__ */ jsxs32("div", { className: "text-sm", children: [
4016
4015
  "Showing ",
4017
- /* @__PURE__ */ jsxs33("span", { className: "font-semibold", children: [
4016
+ /* @__PURE__ */ jsxs32("span", { className: "font-semibold", children: [
4018
4017
  startItem,
4019
4018
  "-",
4020
4019
  endItem
@@ -4024,8 +4023,8 @@ var Pagination = (props) => {
4024
4023
  /* @__PURE__ */ jsx57("span", { className: "font-semibold", children: totalItems.toLocaleString() }),
4025
4024
  " results"
4026
4025
  ] }),
4027
- totalPages > 1 && /* @__PURE__ */ jsxs33("div", { className: "flex items-center space-x-1", children: [
4028
- /* @__PURE__ */ jsxs33(
4026
+ totalPages > 1 && /* @__PURE__ */ jsxs32("div", { className: "flex items-center space-x-1", children: [
4027
+ /* @__PURE__ */ jsxs32(
4029
4028
  NavigationButton,
4030
4029
  {
4031
4030
  page: activePageNumber - 1,
@@ -4050,7 +4049,7 @@ var Pagination = (props) => {
4050
4049
  const page = item;
4051
4050
  return /* @__PURE__ */ jsx57(PageButton, { page, children: page }, page);
4052
4051
  }),
4053
- /* @__PURE__ */ jsxs33(
4052
+ /* @__PURE__ */ jsxs32(
4054
4053
  NavigationButton,
4055
4054
  {
4056
4055
  page: activePageNumber + 1,
@@ -4062,7 +4061,7 @@ var Pagination = (props) => {
4062
4061
  }
4063
4062
  )
4064
4063
  ] }),
4065
- showJumpToPage && totalPages > 5 && /* @__PURE__ */ jsxs33("div", { className: "flex items-center space-x-2", children: [
4064
+ showJumpToPage && totalPages > 5 && /* @__PURE__ */ jsxs32("div", { className: "flex items-center space-x-2", children: [
4066
4065
  /* @__PURE__ */ jsx57("span", { className: "text-sm", children: "Go to:" }),
4067
4066
  /* @__PURE__ */ jsx57("div", { className: "relative", children: /* @__PURE__ */ jsx57(
4068
4067
  "input",
@@ -4085,7 +4084,7 @@ var Pagination = (props) => {
4085
4084
  ) })
4086
4085
  ] })
4087
4086
  ] }),
4088
- showPageSizeSelector && /* @__PURE__ */ jsx57("div", { className: "mt-4 pt-4 border-t bg-default", children: /* @__PURE__ */ jsxs33("div", { className: "flex items-center justify-center space-x-2", children: [
4087
+ showPageSizeSelector && /* @__PURE__ */ jsx57("div", { className: "mt-4 pt-4 border-t bg-default", children: /* @__PURE__ */ jsxs32("div", { className: "flex items-center justify-center space-x-2", children: [
4089
4088
  /* @__PURE__ */ jsx57("span", { className: "text-sm", children: "Show:" }),
4090
4089
  /* @__PURE__ */ jsx57("div", { className: "flex space-x-1", children: [10, 25, 50, 100].map((size) => /* @__PURE__ */ jsx57(
4091
4090
  Hyperlink,
@@ -4166,7 +4165,7 @@ var ImageGalleryNode = (props) => {
4166
4165
  if (img.width) styles.width = img.width;
4167
4166
  if (img.borderRadius) styles.borderRadius = img.borderRadius;
4168
4167
  return /* @__PURE__ */ jsx58("div", { className: "max-w-full", children: isHls ? /* @__PURE__ */ jsx58(
4169
- HlsPlayer1,
4168
+ HlsPlayer_default,
4170
4169
  {
4171
4170
  assetUrl: imageUrl,
4172
4171
  posterUrl,
@@ -4199,7 +4198,7 @@ var ImageGalleryNode_default = ImageGalleryNode;
4199
4198
 
4200
4199
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
4201
4200
  import Link2 from "next/link";
4202
- import { jsx as jsx59, jsxs as jsxs34 } from "react/jsx-runtime";
4201
+ import { jsx as jsx59, jsxs as jsxs33 } from "react/jsx-runtime";
4203
4202
  function toCamelCase(str) {
4204
4203
  return str.replace(/-([a-z])/g, (_, letter) => letter.toUpperCase());
4205
4204
  }
@@ -4523,7 +4522,7 @@ var DivContainer = async (props) => {
4523
4522
  props.node.autoFormat && "auto-format",
4524
4523
  props.node.bgClass
4525
4524
  ].filter(Boolean).join(" ");
4526
- return /* @__PURE__ */ jsxs34(React42.Fragment, { children: [
4525
+ return /* @__PURE__ */ jsxs33(React42.Fragment, { children: [
4527
4526
  /* @__PURE__ */ jsx59("style", { dangerouslySetInnerHTML: { __html: cssResult.css + animationCSS } }),
4528
4527
  /* @__PURE__ */ jsx59(React42.Fragment, { children: /* @__PURE__ */ jsx59(
4529
4528
  Wrapper,
@@ -4615,7 +4614,7 @@ var PageBodyRenderer_default = PageBodyRenderer;
4615
4614
 
4616
4615
  // src/components/Toast.tsx
4617
4616
  import { useState as useState8 } from "react";
4618
- import { Fragment as Fragment9, jsx as jsx61, jsxs as jsxs35 } from "react/jsx-runtime";
4617
+ import { Fragment as Fragment9, jsx as jsx61, jsxs as jsxs34 } from "react/jsx-runtime";
4619
4618
  var Toast = () => {
4620
4619
  const [showToast, setShowToast] = useState8(false);
4621
4620
  const [message, setMessage] = useState8("");
@@ -4658,7 +4657,7 @@ var Toast = () => {
4658
4657
  const closeToast = () => {
4659
4658
  setShowToast(false);
4660
4659
  };
4661
- return /* @__PURE__ */ jsx61(Fragment9, { children: showToast && /* @__PURE__ */ jsx61("div", { className: "fixed top-2 flex justify-center w-1/2 max-w-xl left-1/2 -translate-x-1/2", style: { zIndex: 1e3 }, children: /* @__PURE__ */ jsxs35("div", { className: `w-full items-center flex justify-between p-3 rounded-md relative shadow border bg-${messageType}-soft`, children: [
4660
+ return /* @__PURE__ */ jsx61(Fragment9, { children: showToast && /* @__PURE__ */ jsx61("div", { className: "fixed top-2 flex justify-center w-1/2 max-w-xl left-1/2 -translate-x-1/2", style: { zIndex: 1e3 }, children: /* @__PURE__ */ jsxs34("div", { className: `w-full items-center flex justify-between p-3 rounded-md relative shadow border bg-${messageType}-soft`, children: [
4662
4661
  /* @__PURE__ */ jsx61(
4663
4662
  "span",
4664
4663
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acoustte-digital-services/digitalstore-controls-dev",
3
- "version": "0.8.1-dev.20260420114708",
3
+ "version": "0.8.1-dev.20260420121019",
4
4
  "description": "Reusable React components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",