@procaaso/alphinity-ui-components 1.8.3 → 1.9.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/dist/index.cjs CHANGED
@@ -1050,6 +1050,7 @@ function DeviceControlPanelImpl({
1050
1050
  onUndock,
1051
1051
  undockIcon = "\u21F1",
1052
1052
  modeSelectionStyle = "buttons",
1053
+ showBuiltInToast = true,
1053
1054
  embedded = false
1054
1055
  }) {
1055
1056
  const [localParameterValues, setLocalParameterValues] = (0, import_react5.useState)({});
@@ -1895,7 +1896,7 @@ function DeviceControlPanelImpl({
1895
1896
  );
1896
1897
  }) })
1897
1898
  ] }),
1898
- binding.state.lastCommandResult && showToast && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1899
+ binding.state.lastCommandResult && showToast && showBuiltInToast && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1899
1900
  "div",
1900
1901
  {
1901
1902
  style: {
@@ -8712,6 +8713,7 @@ function DeviceConfigPanelImpl({
8712
8713
  toastDuration = 3e3,
8713
8714
  onOpenControls,
8714
8715
  showControlsButton = true,
8716
+ showBuiltInToast = true,
8715
8717
  embedded = false
8716
8718
  }) {
8717
8719
  const [localValues, setLocalValues] = (0, import_react24.useState)(() => {
@@ -9377,7 +9379,7 @@ function DeviceConfigPanelImpl({
9377
9379
  }
9378
9380
  )
9379
9381
  ] }),
9380
- binding.state.lastSaveResult && showToast && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
9382
+ binding.state.lastSaveResult && showToast && showBuiltInToast && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
9381
9383
  "div",
9382
9384
  {
9383
9385
  style: {