@hybridcore/ui 1.5.37 → 1.5.40

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.
@@ -9,10 +9,10 @@ const e = t(o, {
9
9
  })), s = t(o, {
10
10
  name: "SNTabs",
11
11
  // The component name
12
- slot: "tabContantContainer"
12
+ slot: "tabContentContainer"
13
13
  // The slot name
14
- })(({ bottomoffset: a = 0 }) => ({
15
- maxHeight: `calc(100vh - ${a}px)`
14
+ })(({ bottomoffset: n = 0 }) => ({
15
+ maxHeight: `calc(100vh - ${n}px)`
16
16
  }));
17
17
  export {
18
18
  s as TabContentContainer,
package/dist/main.d.ts CHANGED
@@ -244,6 +244,7 @@ declare interface FieldOptions {
244
244
  minDate?: Dayjs;
245
245
  helperText?: React.ReactNode;
246
246
  component?: React.ReactNode;
247
+ maxChar?: number;
247
248
  [key: string]: string | number | object | boolean;
248
249
  }
249
250
 
@@ -270,7 +271,7 @@ declare function importKey(jwk: any): Promise<CryptoKey>;
270
271
 
271
272
  export declare const InstanceForm: <T extends ONTOLOGY.Object | ONTOLOGY.Event | ONTOLOGY.Agent | ONTOLOGY.File, K extends INSTANCE.CreateObjectDTO | INSTANCE.UpdateObjectDTO | INSTANCE.CreateEventDTO | INSTANCE.UpdateEventDTO | INSTANCE.CreateAgentDTO | INSTANCE.CreateFileDTO | INSTANCE.UpdateFileDTO>(props: InstanceFormProps<T, K> & default_2.RefAttributes<InstanceFormHandle>) => default_2.ReactNode | null;
272
273
 
273
- declare interface InstanceFormHandle {
274
+ export declare interface InstanceFormHandle {
274
275
  /**
275
276
  *
276
277
  * @returns
@@ -290,6 +291,10 @@ declare interface InstanceFormHandle {
290
291
  * @returns
291
292
  */
292
293
  getFormValue: (name: any) => any;
294
+ /**
295
+ * @returns whether any form field has been modified
296
+ */
297
+ isDirty(): boolean;
293
298
  }
294
299
 
295
300
  declare interface InstanceFormProps<
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hybridcore/ui",
3
3
  "description": "Hybrid Core UI Library",
4
- "version": "1.5.37",
4
+ "version": "1.5.40",
5
5
  "author": "Hybrid Core",
6
6
  "license": "ISC",
7
7
  "type": "module",