onekijs-ui 0.15.1 → 0.15.2

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.
@@ -6,17 +6,17 @@ declare class TreeService<T = any, I extends TreeItem<T> = TreeItem<T>, S extend
6
6
  collapse(item: I): void;
7
7
  collpased(item: I): void;
8
8
  collapsing(item: I): void;
9
- expand(item: I): Generator<void | Generator<void | import("redux-saga/effects").CancelEffect | I[] | import("redux-saga/effects").ForkEffect<Generator<import("redux-saga/effects").CallEffect<true> | I[], void, unknown>> | Promise<CollectionFetcherResult<T>>, void, (Task<any> | null) & CollectionFetcherResult<T>>, void, unknown>;
9
+ expand(item: I): Generator<void | Generator<void | I[] | import("redux-saga/effects").CancelEffect | import("redux-saga/effects").ForkEffect<Generator<I[] | import("redux-saga/effects").CallEffect<true>, void, unknown>> | Promise<CollectionFetcherResult<T>>, void, (Task<any> | null) & CollectionFetcherResult<T>>, void, unknown>;
10
10
  expanded(item: I): void;
11
- expanding(item: I): Generator<void | Generator<void | import("redux-saga/effects").CancelEffect | I[] | import("redux-saga/effects").ForkEffect<Generator<import("redux-saga/effects").CallEffect<true> | I[], void, unknown>> | Promise<CollectionFetcherResult<T>>, void, (Task<any> | null) & CollectionFetcherResult<T>>, void, unknown>;
11
+ expanding(item: I): Generator<void | Generator<void | I[] | import("redux-saga/effects").CancelEffect | import("redux-saga/effects").ForkEffect<Generator<I[] | import("redux-saga/effects").CallEffect<true>, void, unknown>> | Promise<CollectionFetcherResult<T>>, void, (Task<any> | null) & CollectionFetcherResult<T>>, void, unknown>;
12
12
  initDb(dataSource: T[] | string | undefined): void;
13
13
  protected _adapt(data: T | undefined, context?: AnonymousObject): I;
14
14
  protected _buildItem(data: T | undefined, adaptee: unknown, context?: AnonymousObject): I;
15
- protected _delayChildrenLoading(delay_ms: number, item: I): Generator<import("redux-saga/effects").CallEffect<true> | I[], void, unknown>;
15
+ protected _delayChildrenLoading(delay_ms: number, item: I): Generator<I[] | import("redux-saga/effects").CallEffect<true>, void, unknown>;
16
16
  protected _execute(items: I[], query: LocalQuery, comparator: QuerySortComparator, comparators: AnonymousObject<QuerySortComparator>): I[];
17
17
  _expand(item: I): void;
18
18
  _expanding(item: I): void;
19
- protected _fetchChildren(item: I, callbackSuccess?: (item: I) => void, callbackError?: (item: I) => void): Generator<void | import("redux-saga/effects").CancelEffect | I[] | import("redux-saga/effects").ForkEffect<Generator<import("redux-saga/effects").CallEffect<true> | I[], void, unknown>> | Promise<CollectionFetcherResult<T>>, void, (Task<any> | null) & CollectionFetcherResult<T>>;
19
+ protected _fetchChildren(item: I, callbackSuccess?: (item: I) => void, callbackError?: (item: I) => void): Generator<void | I[] | import("redux-saga/effects").CancelEffect | import("redux-saga/effects").ForkEffect<Generator<I[] | import("redux-saga/effects").CallEffect<true>, void, unknown>> | Promise<CollectionFetcherResult<T>>, void, (Task<any> | null) & CollectionFetcherResult<T>>;
20
20
  protected _fetchChildrenError(e: any, item: I): void;
21
21
  protected _fetchChildrenSuccess(item: I, result: CollectionFetcherResult<T>): void;
22
22
  }
@@ -6,4 +6,4 @@ export declare const flexDirection: import("./typings").CssProperty<FlexDirectio
6
6
  export declare const flexGrow: import("./typings").CssProperty<number>;
7
7
  export declare const flexShrink: import("./typings").CssProperty<number>;
8
8
  export declare const flexWrap: import("./typings").CssProperty<FlexWrapProperty>;
9
- export declare const order: import("./typings").CssProperty<number | Globals | "none" | "first" | "last">;
9
+ export declare const order: import("./typings").CssProperty<number | "none" | Globals | "first" | "last">;
@@ -1,10 +1,10 @@
1
1
  import { OverscrollBehaviorBlockProperty, OverscrollBehaviorInlineProperty, OverscrollBehaviorXProperty, OverscrollBehaviorYProperty } from 'csstype';
2
- export declare const width: import("./typings").CssProperty<string | 0 | 4 | 5 | 6 | 8 | 10 | 1 | 2 | 3 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64>;
3
- export declare const minWidth: import("./typings").CssProperty<string | 0 | 4 | 5 | 6 | 8 | 10 | 1 | 2 | 3 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64>;
4
- export declare const maxWidth: import("./typings").CssProperty<string | 0 | 4 | 5 | 6 | 8 | 10 | 1 | 2 | 3 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64>;
5
- export declare const height: import("./typings").CssProperty<string | 0 | 4 | 5 | 6 | 8 | 10 | 1 | 2 | 3 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64>;
6
- export declare const minHeight: import("./typings").CssProperty<string | 0 | 4 | 5 | 6 | 8 | 10 | 1 | 2 | 3 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64>;
7
- export declare const maxHeight: import("./typings").CssProperty<string | 0 | 4 | 5 | 6 | 8 | 10 | 1 | 2 | 3 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64>;
2
+ export declare const width: import("./typings").CssProperty<string | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64>;
3
+ export declare const minWidth: import("./typings").CssProperty<string | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64>;
4
+ export declare const maxWidth: import("./typings").CssProperty<string | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64>;
5
+ export declare const height: import("./typings").CssProperty<string | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64>;
6
+ export declare const minHeight: import("./typings").CssProperty<string | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64>;
7
+ export declare const maxHeight: import("./typings").CssProperty<string | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64>;
8
8
  export declare const overscrollBehavior: import("./typings").CssProperty<string>;
9
9
  export declare const overscrollBehaviorBlock: import("./typings").CssProperty<OverscrollBehaviorBlockProperty>;
10
10
  export declare const overscrollBehaviorInline: import("./typings").CssProperty<OverscrollBehaviorInlineProperty>;
@@ -20,7 +20,7 @@ export declare const fontVariantLigatures: import("./typings").CssProperty<strin
20
20
  export declare const fontVariantNumeric: import("./typings").CssProperty<string>;
21
21
  export declare const fontVariantPosition: import("./typings").CssProperty<FontVariantPositionProperty>;
22
22
  export declare const fontVariationSettings: import("./typings").CssProperty<string>;
23
- export declare const fontWeight: import("./typings").CssProperty<number | "medium" | "lighter" | "light" | "black" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "thin" | "hairline" | "normal" | "semibold" | "bold" | "extrabold" | "bolder">;
23
+ export declare const fontWeight: import("./typings").CssProperty<number | "bold" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "lighter" | "light" | "black" | "medium" | "thin" | "hairline" | "normal" | "semibold" | "extrabold" | "bolder">;
24
24
  export declare const hyphens: import("./typings").CssProperty<HyphensProperty>;
25
25
  export declare const letterSpacing: import("./typings").CssProperty<LetterSpacingProperty<TLength>>;
26
26
  export declare const lineHeight: import("./typings").CssProperty<string | number>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "onekijs-ui",
3
3
  "private": false,
4
- "version": "0.15.1",
4
+ "version": "0.15.2",
5
5
  "description": "Opiniated React framework built on top of Next.js",
6
6
  "source": "src/index.ts",
7
7
  "main": "dist/index.js",
@@ -31,7 +31,7 @@
31
31
  "dependencies": {
32
32
  "@clr/city": "^1.1.0",
33
33
  "@popperjs/core": "^2.4.4",
34
- "onekijs-framework": "^0.15.1",
34
+ "onekijs-framework": "^0.15.2",
35
35
  "react-icons": "^4.2.0",
36
36
  "react-popper": "^2.2.3",
37
37
  "react-popper-tooltip": "^4.2.0",
@@ -52,5 +52,5 @@
52
52
  "react-dom": ">=18"
53
53
  },
54
54
  "sideEffects": false,
55
- "gitHead": "8c77a030bf005ea33501295715dac37e86e5bd1c"
55
+ "gitHead": "52e896d4a85be300f6d0a75b8b08f0aefefb416b"
56
56
  }