@cfinnestad/react-form-builder 1.0.37 → 1.0.39

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.
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { StoryObj } from '@storybook/react';
3
2
  declare const meta: {
4
3
  title: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { StoryObj } from '@storybook/react';
3
2
  import { TextSubtype } from "../Items";
4
3
  declare const meta: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { StoryObj } from '@storybook/react';
3
2
  import { BooleanSubtype } from "../../Items";
4
3
  declare const meta: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { StoryObj } from '@storybook/react';
3
2
  import { FileSubtype } from "../../Items";
4
3
  declare const meta: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { StoryObj } from '@storybook/react';
3
2
  import { SelectSubtype } from "../../Items";
4
3
  declare const meta: {
@@ -4,5 +4,5 @@ type ChangedItemIds = {
4
4
  newId: string;
5
5
  };
6
6
  export declare const updateChildItemsInItems: (items: AnyItem[], changedItemIds: ChangedItemIds[], prefix: string) => void;
7
- declare const UpdateItemInItems: (item: AnyItem, items: AnyItem[], prefix?: string) => void;
7
+ declare const UpdateItemInItems: (item: AnyItem, items: AnyItem[], prefix?: string, useIndex?: boolean) => void;
8
8
  export default UpdateItemInItems;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { StoryObj } from '@storybook/react';
3
2
  import { TextSubtype } from "../Items";
4
3
  declare const meta: {
package/dist/index.d.ts CHANGED
@@ -464,7 +464,7 @@ declare const ValidateFields: (items: AnyItem[], options: Options, allItems?: An
464
464
 
465
465
  declare const GetNamedItem: (id: string | number, items: AnyItem[]) => FieldItem | HiddenItem | undefined;
466
466
 
467
- declare const UpdateItemInItems: (item: AnyItem, items: AnyItem[], prefix?: string) => void;
467
+ declare const UpdateItemInItems: (item: AnyItem, items: AnyItem[], prefix?: string, useIndex?: boolean) => void;
468
468
 
469
469
  type validateNameChangeResponse = {
470
470
  validName: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cfinnestad/react-form-builder",
3
- "version": "1.0.37",
3
+ "version": "1.0.39",
4
4
  "description": "FormBuilder and FormRender Component library for building and gathering custom form data",
5
5
  "scripts": {
6
6
  "rollup": "rollup -c",
@@ -80,7 +80,7 @@
80
80
  "@dnd-kit/sortable": "^7.0.2",
81
81
  "@dnd-kit/utilities": "^3.2.1",
82
82
  "@mui/icons-material": "^5.11.16",
83
- "@mui/material": "^5.12.3",
83
+ "@mui/material": "^5.17.1",
84
84
  "@mui/x-date-pickers": "^5.0.20",
85
85
  "@react-buddy/ide-toolbox": "^2.4.0",
86
86
  "@react-buddy/palette-mui": "^5.0.1",