@homebound/beam 3.105.2 → 3.106.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
@@ -29147,7 +29147,17 @@ function WorkflowPageLayout(props) {
29147
29147
  // src/layouts/Workflow/FocusedFormLayout.tsx
29148
29148
  var import_jsx_runtime240 = require("react/jsx-runtime");
29149
29149
  function FocusedFormLayout(props) {
29150
- const { onCancel, completeLabel, onComplete, onSaveAndExit, isValid, isDirty, aiMode, children, ...headerProps } = props;
29150
+ const {
29151
+ onCancel,
29152
+ completeLabel,
29153
+ onComplete,
29154
+ onSaveAndExit,
29155
+ primaryDisabled,
29156
+ isDirty,
29157
+ aiMode,
29158
+ children,
29159
+ ...headerProps
29160
+ } = props;
29151
29161
  const tid = useTestIds(props, "focusedFormLayout");
29152
29162
  return /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(
29153
29163
  WorkflowPageLayout,
@@ -29160,7 +29170,7 @@ function FocusedFormLayout(props) {
29160
29170
  onSaveAndExit,
29161
29171
  completeLabel,
29162
29172
  onComplete,
29163
- primaryDisabled: !isValid,
29173
+ primaryDisabled,
29164
29174
  children
29165
29175
  }
29166
29176
  );
@@ -29196,7 +29206,7 @@ function StepperLayout(props) {
29196
29206
  onSaveAndExit,
29197
29207
  completeLabel,
29198
29208
  onComplete,
29199
- primaryDisabled: !activeStep?.isValid,
29209
+ primaryDisabled: activeStep?.primaryDisabled,
29200
29210
  onContinue: async () => {
29201
29211
  const onContinue = activeStep?.onContinue;
29202
29212
  if (onContinue) {