buildgrid-ui 1.4.0 → 1.4.3

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,5 +1,12 @@
1
+ export * from './use-array';
2
+ export * from './use-copy-to-clipboard';
1
3
  export * from './use-debounce';
2
4
  export * from './use-dialog';
5
+ export * from './use-disclosure';
6
+ export * from './use-disclosure-bool';
7
+ export * from './use-file-utilities';
8
+ export * from './use-key-press';
9
+ export * from './use-local-storage';
3
10
  export * from './use-media-query';
4
11
  export * from './use-mobile';
5
12
  export * from './use-pwa-install';
@@ -1,2 +1,8 @@
1
1
  export declare const normalizeString: (text: string) => string;
2
2
  export declare const normalizeStringToCompare: (text: string) => string;
3
+ export declare const sortNormalize: (a: string, b: string) => 0 | 1 | -1;
4
+ export declare const sortByName: (a: any, b: any) => 0 | 1 | -1;
5
+ export declare const sortByField: (a: any, b: any, field: string) => 0 | 1 | -1;
6
+ export declare const sortByFieldDesc: (a: any, b: any, field: string) => 0 | 1 | -1;
7
+ export declare const sortByNestedField: (a: any, b: any, field1: string | number, field2: string) => 0 | 1 | -1;
8
+ export declare const capitalize: (text: string) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "buildgrid-ui",
3
- "version": "1.4.0",
3
+ "version": "1.4.3",
4
4
  "homepage": "http://adrianomaringolo.github.io/buildgrid-ui",
5
5
  "publishConfig": {
6
6
  "access": "public"