tinacms 0.0.0-9e8bc37-20251110225750 → 0.0.0-9fb1402-20251124051232

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.
@@ -18,6 +18,6 @@ export interface SelectProps {
18
18
  options?: (Option | string)[];
19
19
  className?: string;
20
20
  }
21
- export declare const selectFieldClasses = "shadow appearance-none bg-white block pl-3 pr-8 py-2 truncate w-full text-base cursor-pointer border border-gray-200 focus:outline-none focus:shadow-outline focus:ring-blue-500 focus:border-blue-500 sm:text-sm rounded";
21
+ export declare const selectFieldClasses = "shadow appearance-none h-full bg-white block pl-3 pr-8 py-2 truncate w-full text-base cursor-pointer border border-gray-200 focus:outline-none focus:shadow-outline focus:ring-blue-500 focus:border-blue-500 sm:text-sm rounded";
22
22
  export declare const Select: React.FC<SelectProps>;
23
23
  export {};
@@ -0,0 +1,49 @@
1
+ import React from 'react';
2
+ export interface DropResult {
3
+ destination: {
4
+ index: number;
5
+ } | null;
6
+ source: {
7
+ index: number;
8
+ };
9
+ type: string;
10
+ }
11
+ export interface DragDropContextProps {
12
+ onDragEnd: (result: DropResult) => void;
13
+ children: React.ReactNode;
14
+ }
15
+ export interface DroppableProps {
16
+ droppableId: string;
17
+ type: string;
18
+ children: (provided: {
19
+ innerRef: React.RefObject<HTMLDivElement>;
20
+ placeholder: React.ReactNode;
21
+ }) => React.ReactNode;
22
+ }
23
+ export interface DraggableProps {
24
+ draggableId: string;
25
+ index: number;
26
+ children: (provided: {
27
+ innerRef: React.RefObject<HTMLElement>;
28
+ draggableProps: {
29
+ style?: React.CSSProperties;
30
+ ref?: any;
31
+ [key: string]: any;
32
+ };
33
+ dragHandleProps: {
34
+ style?: React.CSSProperties;
35
+ [key: string]: any;
36
+ };
37
+ }, snapshot: {
38
+ isDragging: boolean;
39
+ }) => React.ReactNode;
40
+ }
41
+ export declare const DragDropContext: React.FC<DragDropContextProps>;
42
+ export declare const Droppable: React.FC<DroppableProps>;
43
+ export declare const Draggable: React.FC<DraggableProps>;
44
+ interface SortableProviderProps {
45
+ items: string[];
46
+ children: React.ReactNode;
47
+ }
48
+ export declare const SortableProvider: React.FC<SortableProviderProps>;
49
+ export {};
@@ -51,8 +51,9 @@ export declare const ItemDeleteButton: ({ onClick, disabled }: {
51
51
  onClick: any;
52
52
  disabled?: boolean;
53
53
  }) => React.JSX.Element;
54
- export declare const DragHandle: ({ isDragging }: {
54
+ export declare const DragHandle: ({ isDragging, dragHandleProps, }: {
55
55
  isDragging: boolean;
56
+ dragHandleProps?: any;
56
57
  }) => React.JSX.Element;
57
58
  export declare const GroupListField: ({ tinaForm, form, field, input, meta, index }: GroupProps) => React.JSX.Element;
58
59
  export declare const GroupListFieldPlugin: {
@@ -7,6 +7,8 @@ interface ListFieldDefinititon extends Field {
7
7
  field: {
8
8
  component: 'text' | 'textarea' | 'number' | 'select' | 'image';
9
9
  };
10
+ min?: number;
11
+ max?: number;
10
12
  type?: string;
11
13
  list?: boolean;
12
14
  parentTypename?: string;
@@ -0,0 +1,13 @@
1
+ import * as React from 'react';
2
+ export declare const CreateBranchModal: ({ close, safeSubmit, path, values, crudType, }: {
3
+ safeSubmit: () => Promise<void>;
4
+ close: () => void;
5
+ path: string;
6
+ values: Record<string, unknown>;
7
+ crudType: string;
8
+ }) => React.JSX.Element;
9
+ export declare const PrefixedTextField: ({ label, prefix, ...props }: {
10
+ [x: string]: any;
11
+ label?: any;
12
+ prefix?: string;
13
+ }) => React.JSX.Element;
@@ -29,15 +29,3 @@ export declare const CreateBranchModel: ({ close, safeSubmit, relativePath, valu
29
29
  values: Record<string, unknown>;
30
30
  crudType: string;
31
31
  }) => React.JSX.Element;
32
- export declare const CreateBranchModal: ({ close, safeSubmit, path, values, crudType, }: {
33
- safeSubmit: () => Promise<void>;
34
- close: () => void;
35
- path: string;
36
- values: Record<string, unknown>;
37
- crudType: string;
38
- }) => React.JSX.Element;
39
- export declare const PrefixedTextField: ({ label, prefix, ...props }: {
40
- [x: string]: any;
41
- label?: any;
42
- prefix?: string;
43
- }) => React.JSX.Element;
@@ -7,4 +7,5 @@ export * from './form-portal';
7
7
  export * from './loading-dots';
8
8
  export * from './reset-form';
9
9
  export * from './form-actions';
10
+ export * from './create-branch-modal';
10
11
  export type { FieldRenderProps } from 'react-final-form';
@@ -1,5 +1,6 @@
1
1
  import * as React from 'react';
2
- export declare const Badge: ({ children, calloutStyle, className, ...props }: {
2
+ export declare const Badge: ({ children, calloutStyle, className, displayIcon, ...props }: {
3
3
  children?: React.ReactNode;
4
4
  calloutStyle?: "warning" | "info" | "success" | "error";
5
+ displayIcon?: boolean;
5
6
  } & React.HTMLProps<HTMLDivElement>) => React.JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tinacms",
3
- "version": "0.0.0-9e8bc37-20251110225750",
3
+ "version": "0.0.0-9fb1402-20251124051232",
4
4
  "main": "dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "exports": {
@@ -127,11 +127,11 @@
127
127
  "monaco-editor": "0.31.0",
128
128
  "prism-react-renderer": "^2.4.1",
129
129
  "prop-types": "15.7.2",
130
- "react-beautiful-dnd": "^13.1.1",
130
+ "@dnd-kit/core": "^6.1.0",
131
+ "@dnd-kit/sortable": "^8.0.0",
132
+ "@dnd-kit/utilities": "^3.2.2",
131
133
  "react-color": "^2.19.3",
132
134
  "react-datetime": "^3.3.1",
133
- "react-dnd": "^16.0.1",
134
- "react-dnd-html5-backend": "^16.0.1",
135
135
  "react-dropzone": "14.2.3",
136
136
  "react-final-form": "^6.5.9",
137
137
  "react-icons": "^5.4.0",
@@ -141,9 +141,9 @@
141
141
  "webfontloader": "1.6.28",
142
142
  "yup": "^1.6.1",
143
143
  "zod": "^3.24.2",
144
- "@tinacms/mdx": "1.8.1",
145
- "@tinacms/schema-tools": "1.9.1",
146
- "@tinacms/search": "1.1.1"
144
+ "@tinacms/mdx": "0.0.0-9fb1402-20251124051232",
145
+ "@tinacms/search": "0.0.0-9fb1402-20251124051232",
146
+ "@tinacms/schema-tools": "0.0.0-9fb1402-20251124051232"
147
147
  },
148
148
  "devDependencies": {
149
149
  "@graphql-tools/utils": "^10.8.1",
@@ -159,7 +159,6 @@
159
159
  "@types/node": "^22.13.1",
160
160
  "@types/prop-types": "^15.7.14",
161
161
  "@types/react": "^18.3.18",
162
- "@types/react-beautiful-dnd": "^13.1.8",
163
162
  "@types/react-color": "^3.0.13",
164
163
  "@types/react-dom": "^18.3.5",
165
164
  "@types/yup": "^0.32.0",
@@ -177,7 +176,7 @@
177
176
  "typescript": "^5.7.3",
178
177
  "vite": "^5.4.14",
179
178
  "vitest": "^2.1.9",
180
- "@tinacms/scripts": "1.4.0"
179
+ "@tinacms/scripts": "0.0.0-9fb1402-20251124051232"
181
180
  },
182
181
  "peerDependencies": {
183
182
  "react": ">=16.14.0",