@comet/admin 8.0.0 → 8.0.1-canary-20250807083048

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,8 +1,10 @@
1
1
  import { type InputBaseProps } from "@mui/material";
2
2
  import { type FieldRenderProps } from "react-final-form";
3
- export type FinalFormInputProps = InputBaseProps & FieldRenderProps<string, HTMLInputElement | HTMLTextAreaElement> & {
3
+ export type FinalFormInputProps = InputBaseProps & {
4
4
  clearable?: boolean;
5
5
  disableContentTranslation?: boolean;
6
6
  };
7
- export declare function FinalFormInput({ meta, input, innerRef, endAdornment, clearable, disableContentTranslation, ...props }: FinalFormInputProps): import("react/jsx-runtime").JSX.Element;
7
+ type FinalFormInputInternalProps = FieldRenderProps<string, HTMLInputElement | HTMLTextAreaElement>;
8
+ export declare function FinalFormInput({ meta, input, innerRef, endAdornment, clearable, disableContentTranslation, ...props }: FinalFormInputProps & FinalFormInputInternalProps): import("react/jsx-runtime").JSX.Element;
9
+ export {};
8
10
  //# sourceMappingURL=FinalFormInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FinalFormInput.d.ts","sourceRoot":"","sources":["../../src/form/FinalFormInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAAyB,KAAK,cAAc,EAAE,MAAM,eAAe,CAAC;AAE3E,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAQzD,MAAM,MAAM,mBAAmB,GAAG,cAAc,GAC5C,gBAAgB,CAAC,MAAM,EAAE,gBAAgB,GAAG,mBAAmB,CAAC,GAAG;IAC/D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,yBAAyB,CAAC,EAAE,OAAO,CAAC;CACvC,CAAC;AAEN,wBAAgB,cAAc,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,SAAS,EAAE,yBAAyB,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,2CAmD1I"}
1
+ {"version":3,"file":"FinalFormInput.d.ts","sourceRoot":"","sources":["../../src/form/FinalFormInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAAyB,KAAK,cAAc,EAAE,MAAM,eAAe,CAAC;AAE3E,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAQzD,MAAM,MAAM,mBAAmB,GAAG,cAAc,GAAG;IAC/C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,yBAAyB,CAAC,EAAE,OAAO,CAAC;CACvC,CAAC;AAEF,KAAK,2BAA2B,GAAG,gBAAgB,CAAC,MAAM,EAAE,gBAAgB,GAAG,mBAAmB,CAAC,CAAC;AAEpG,wBAAgB,cAAc,CAAC,EAC3B,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,yBAAyB,EACzB,GAAG,KAAK,EACX,EAAE,mBAAmB,GAAG,2BAA2B,2CAmDnD"}
@@ -1,15 +1,17 @@
1
1
  import { type ReactNode } from "react";
2
+ import type { FieldRenderProps } from "react-final-form";
2
3
  import { type FinalFormInputProps } from "./FinalFormInput";
3
4
  export interface FinalFormSearchTextFieldProps extends FinalFormInputProps {
4
5
  icon?: ReactNode;
5
6
  clearable?: boolean;
6
7
  }
8
+ type FinalFormSearchTextFieldInternalProps = FieldRenderProps<string, HTMLInputElement | HTMLTextAreaElement>;
7
9
  /**
8
10
  * Final Form-compatible SearchTextField component.
9
11
  *
10
12
  * @see {@link SearchField} – preferred for typical form use. Use this only if no Field wrapper is needed.
11
13
  */
12
- export declare function FinalFormSearchTextField(inProps: FinalFormSearchTextFieldProps): import("react/jsx-runtime").JSX.Element;
14
+ export declare function FinalFormSearchTextField(inProps: FinalFormSearchTextFieldProps & FinalFormSearchTextFieldInternalProps): import("react/jsx-runtime").JSX.Element;
13
15
  declare module "@mui/material/styles" {
14
16
  interface ComponentsPropsList {
15
17
  CometAdminFinalFormSearchTextField: FinalFormSearchTextFieldProps;
@@ -20,4 +22,5 @@ declare module "@mui/material/styles" {
20
22
  };
21
23
  }
22
24
  }
25
+ export {};
23
26
  //# sourceMappingURL=FinalFormSearchTextField.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FinalFormSearchTextField.d.ts","sourceRoot":"","sources":["../../src/form/FinalFormSearchTextField.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,OAAO,EAAkB,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5E,MAAM,WAAW,6BAA8B,SAAQ,mBAAmB;IACtE,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,6BAA6B,2CAoC9E;AAED,OAAO,QAAQ,sBAAsB,CAAC;IAClC,UAAU,mBAAmB;QACzB,kCAAkC,EAAE,6BAA6B,CAAC;KACrE;IAED,UAAU,UAAU;QAChB,kCAAkC,CAAC,EAAE;YACjC,YAAY,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,oCAAoC,CAAC,CAAC,CAAC;SACrF,CAAC;KACL;CACJ"}
1
+ {"version":3,"file":"FinalFormSearchTextField.d.ts","sourceRoot":"","sources":["../../src/form/FinalFormSearchTextField.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAIzD,OAAO,EAAkB,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5E,MAAM,WAAW,6BAA8B,SAAQ,mBAAmB;IACtE,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,KAAK,qCAAqC,GAAG,gBAAgB,CAAC,MAAM,EAAE,gBAAgB,GAAG,mBAAmB,CAAC,CAAC;AAE9G;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,6BAA6B,GAAG,qCAAqC,2CAoCtH;AAED,OAAO,QAAQ,sBAAsB,CAAC;IAClC,UAAU,mBAAmB;QACzB,kCAAkC,EAAE,6BAA6B,CAAC;KACrE;IAED,UAAU,UAAU;QAChB,kCAAkC,CAAC,EAAE;YACjC,YAAY,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,oCAAoC,CAAC,CAAC,CAAC;SACrF,CAAC;KACL;CACJ"}
@@ -1,4 +1,5 @@
1
1
  import { type FieldProps } from "../Field";
2
- export type TextFieldProps = FieldProps<string, HTMLInputElement>;
2
+ import { type FinalFormInputProps } from "../FinalFormInput";
3
+ export type TextFieldProps = FieldProps<string, HTMLInputElement> & FinalFormInputProps;
3
4
  export declare const TextField: (props: TextFieldProps) => import("react/jsx-runtime").JSX.Element;
4
5
  //# sourceMappingURL=TextField.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../src/form/fields/TextField.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AAGlD,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;AAElE,eAAO,MAAM,SAAS,UAAW,cAAc,4CAE9C,CAAC"}
1
+ {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../src/form/fields/TextField.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AAClD,OAAO,EAAkB,KAAK,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAE7E,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,MAAM,EAAE,gBAAgB,CAAC,GAAG,mBAAmB,CAAC;AACxF,eAAO,MAAM,SAAS,UAAW,cAAc,4CAE9C,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comet/admin",
3
- "version": "8.0.0",
3
+ "version": "8.0.1-canary-20250807083048",
4
4
  "description": "Comet Admin package",
5
5
  "repository": {
6
6
  "directory": "packages/admin/admin",
@@ -28,7 +28,7 @@
28
28
  "react-dropzone": "^14.3.8",
29
29
  "use-constant": "^1.1.1",
30
30
  "uuid": "^11.1.0",
31
- "@comet/admin-icons": "8.0.0"
31
+ "@comet/admin-icons": "8.0.1-canary-20250807083048"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@apollo/client": "^3.13.8",
@@ -75,9 +75,9 @@
75
75
  "rimraf": "^6.0.1",
76
76
  "ts-jest": "^29.4.0",
77
77
  "typescript": "^5.7.3",
78
- "@comet/admin-babel-preset": "8.0.0",
79
- "@comet/eslint-config": "8.0.0",
80
- "@comet/eslint-plugin": "8.0.0"
78
+ "@comet/admin-babel-preset": "8.0.1-canary-20250807083048",
79
+ "@comet/eslint-config": "8.0.1-canary-20250807083048",
80
+ "@comet/eslint-plugin": "8.0.1-canary-20250807083048"
81
81
  },
82
82
  "peerDependencies": {
83
83
  "@apollo/client": "^3.7.0",