@vuu-ui/vuu-layout 0.8.23-debug → 0.8.24-debug

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/cjs/index.js CHANGED
@@ -1896,7 +1896,7 @@ DraggableLayout.displayName = componentName;
1896
1896
  registerComponent(componentName, DraggableLayout, "container");
1897
1897
 
1898
1898
  // src/flexbox/Flexbox.tsx
1899
- var import_core5 = require("@salt-ds/core");
1899
+ var import_core4 = require("@salt-ds/core");
1900
1900
  var import_clsx9 = __toESM(require("clsx"));
1901
1901
  var import_react29 = require("react");
1902
1902
 
@@ -1908,7 +1908,7 @@ var import_react28 = __toESM(require("react"));
1908
1908
  var import_clsx7 = __toESM(require("clsx"));
1909
1909
 
1910
1910
  // src/placeholder/LayoutStartPanel.tsx
1911
- var import_core4 = require("@salt-ds/core");
1911
+ var import_core3 = require("@salt-ds/core");
1912
1912
  var import_react26 = require("react");
1913
1913
 
1914
1914
  // src/layout-view/useViewActionDispatcher.ts
@@ -3958,13 +3958,12 @@ var useViewActionDispatcher = (id, root, viewPath, dropTargets) => {
3958
3958
 
3959
3959
  // src/layout-view/View.tsx
3960
3960
  var import_vuu_utils7 = require("@vuu-ui/vuu-utils");
3961
- var import_core3 = require("@salt-ds/core");
3961
+ var import_core2 = require("@salt-ds/core");
3962
3962
  var import_clsx6 = __toESM(require("clsx"));
3963
3963
  var import_react25 = __toESM(require("react"));
3964
3964
 
3965
3965
  // src/layout-header/Header.tsx
3966
3966
  var import_vuu_ui_controls = require("@vuu-ui/vuu-ui-controls");
3967
- var import_core2 = require("@salt-ds/core");
3968
3967
  var import_clsx5 = __toESM(require("clsx"));
3969
3968
  var import_react19 = require("react");
3970
3969
  var import_jsx_runtime8 = require("react/jsx-runtime");
@@ -4055,9 +4054,9 @@ var Header = ({
4055
4054
  );
4056
4055
  closeable && actionButtons.push(
4057
4056
  /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
4058
- import_core2.Button,
4057
+ import_vuu_ui_controls.IconButton,
4059
4058
  {
4060
- "data-icon": "close",
4059
+ icon: "close",
4061
4060
  onClick: handleClose,
4062
4061
  onMouseDown: handleButtonMouseDown,
4063
4062
  variant: "secondary"
@@ -4578,7 +4577,7 @@ var View = (0, import_react25.forwardRef)(function View2(props, forwardedRef) {
4578
4577
  }),
4579
4578
  "data-resizeable": resizeable,
4580
4579
  id,
4581
- ref: (0, import_core3.useForkRef)(forwardedRef, rootRef),
4580
+ ref: (0, import_core2.useForkRef)(forwardedRef, rootRef),
4582
4581
  style,
4583
4582
  tabIndex: -1,
4584
4583
  children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(ViewContext.Provider, { value: viewContextValue, children: [
@@ -4635,7 +4634,7 @@ var LayoutStartPanel = (htmlAttributes) => {
4635
4634
  /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: `${classBase5}-text`, children: "To add a table, drag any of the Vuu Tables to this area or click the button below" })
4636
4635
  ] }) : null,
4637
4636
  /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
4638
- import_core4.Button,
4637
+ import_core3.Button,
4639
4638
  {
4640
4639
  className: `${classBase5}-addButton`,
4641
4640
  "data-icon": "add",
@@ -5115,7 +5114,7 @@ var Flexbox = (0, import_react29.forwardRef)(function Flexbox2(props, ref) {
5115
5114
  className,
5116
5115
  "data-resizeable": resizeable || void 0,
5117
5116
  id,
5118
- ref: (0, import_core5.useForkRef)(rootRef, ref),
5117
+ ref: (0, import_core4.useForkRef)(rootRef, ref),
5119
5118
  style: {
5120
5119
  ...style,
5121
5120
  gap,
@@ -5151,7 +5150,7 @@ registerComponent("Flexbox", FlexboxLayout, "container");
5151
5150
 
5152
5151
  // src/flexbox/FluidGrid.tsx
5153
5152
  var import_vuu_utils10 = require("@vuu-ui/vuu-utils");
5154
- var import_core6 = require("@salt-ds/core");
5153
+ var import_core5 = require("@salt-ds/core");
5155
5154
  var import_clsx10 = __toESM(require("clsx"));
5156
5155
  var import_react32 = require("react");
5157
5156
 
@@ -5271,7 +5270,7 @@ var FluidGrid = (0, import_react32.forwardRef)(function FluidGrid2(props, ref) {
5271
5270
  "data-cols": cols,
5272
5271
  "data-resizeable": resizeable || void 0,
5273
5272
  id,
5274
- ref: (0, import_core6.useForkRef)(rootRef, ref),
5273
+ ref: (0, import_core5.useForkRef)(rootRef, ref),
5275
5274
  style,
5276
5275
  children: content
5277
5276
  }
@@ -5692,7 +5691,7 @@ var ConfigWrapper = ({ children }) => {
5692
5691
  };
5693
5692
 
5694
5693
  // src/tools/devtools-box/layout-configurator.jsx
5695
- var import_core7 = require("@salt-ds/core");
5694
+ var import_core6 = require("@salt-ds/core");
5696
5695
  var import_jsx_runtime21 = require("react/jsx-runtime");
5697
5696
  var NO_STYLE2 = {};
5698
5697
  var DIMENSIONS = {
@@ -5719,8 +5718,8 @@ var LayoutBox = ({ feature, children, style, onChange }) => {
5719
5718
  return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: `LayoutBox layout-${feature} layout-outer`, children: [
5720
5719
  /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: `layout-top`, children: [
5721
5720
  /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "layout-title", children: feature }),
5722
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_core7.FormField, { className: "layout-input", style: { width: 30 }, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
5723
- import_core7.Input,
5721
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_core6.FormField, { className: "layout-input", style: { width: 30 }, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
5722
+ import_core6.Input,
5724
5723
  {
5725
5724
  value: style.top,
5726
5725
  onChange: (evt, value) => onChange(feature, "top", value)
@@ -5728,24 +5727,24 @@ var LayoutBox = ({ feature, children, style, onChange }) => {
5728
5727
  ) })
5729
5728
  ] }),
5730
5729
  /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: `layout-inner`, children: [
5731
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: `layout-left`, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_core7.FormField, { className: "layout-input", style: { width: 30 }, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
5732
- import_core7.Input,
5730
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: `layout-left`, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_core6.FormField, { className: "layout-input", style: { width: 30 }, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
5731
+ import_core6.Input,
5733
5732
  {
5734
5733
  value: style.left,
5735
5734
  onChange: (evt, value) => onChange(feature, "left", value)
5736
5735
  }
5737
5736
  ) }) }),
5738
5737
  children,
5739
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: `layout-right`, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_core7.FormField, { className: "layout-input", style: { width: 30 }, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
5740
- import_core7.Input,
5738
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: `layout-right`, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_core6.FormField, { className: "layout-input", style: { width: 30 }, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
5739
+ import_core6.Input,
5741
5740
  {
5742
5741
  value: style.right,
5743
5742
  onChange: (evt, value) => onChange(feature, "right", value)
5744
5743
  }
5745
5744
  ) }) })
5746
5745
  ] }),
5747
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: `layout-bottom`, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_core7.FormField, { className: "layout-input", style: { width: 30 }, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
5748
- import_core7.Input,
5746
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: `layout-bottom`, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_core6.FormField, { className: "layout-input", style: { width: 30 }, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
5747
+ import_core6.Input,
5749
5748
  {
5750
5749
  value: style.bottom,
5751
5750
  onChange: (evt, value) => onChange(feature, "bottom", value)