chayns-api 2.0.1 → 2.0.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.
@@ -8,15 +8,15 @@ on:
8
8
 
9
9
  jobs:
10
10
  deploy:
11
- runs-on: ubuntu-20.04
11
+ runs-on: ubuntu-latest
12
12
  steps:
13
13
  - name: Checkout repo
14
14
  uses: actions/checkout@v2
15
15
 
16
- - name: Use Node 16
16
+ - name: Use Node 20
17
17
  uses: actions/setup-node@v1
18
18
  with:
19
- node-version: 16
19
+ node-version: 20
20
20
 
21
21
  - name: Build
22
22
  run: npm run build-docs
@@ -224,7 +224,9 @@ export declare const getLanguage: () => {
224
224
  site: import("../types/IChaynsReact").Language;
225
225
  translation: import("../types/IChaynsReact").Language | null;
226
226
  device: import("../types/IChaynsReact").Language;
227
- active: import("../types/IChaynsReact").Language;
227
+ active: import("../types/IChaynsReact").Language; /**
228
+ * Select other page on chayns site.
229
+ */
228
230
  };
229
231
  export declare const getParameters: () => {
230
232
  [key: string]: string | string[];
@@ -242,7 +244,9 @@ export declare const language: {
242
244
  site: import("../types/IChaynsReact").Language;
243
245
  translation: import("../types/IChaynsReact").Language | null;
244
246
  device: import("../types/IChaynsReact").Language;
245
- active: import("../types/IChaynsReact").Language;
247
+ active: import("../types/IChaynsReact").Language; /**
248
+ * Select other page on chayns site.
249
+ */
246
250
  };
247
251
  export declare const parameters: {
248
252
  [key: string]: string | string[];
@@ -18,7 +18,7 @@ declare function withHydrationBoundary<P extends object, T, S>(Component: Hydrat
18
18
  }>;
19
19
  declare function withHydrationBoundary<P extends object, T, S>(Component: HydrationComponent<P, T, S>, initializer: Initializer<undefined, T, S>, useHydrationId: () => string): HydrationBoundary<P>;
20
20
  declare function withHydrationBoundary<P extends object, T, S, U>(Component: HydrationComponent<P, T, S>, initializer: Initializer<U, T, S>, useHydrationId: undefined, useProps: (props: P) => U): HydrationBoundary<P & {
21
- id: any;
21
+ id: string;
22
22
  }>;
23
23
  declare function withHydrationBoundary<P extends object, T, S, U>(Component: HydrationComponent<P, T, S>, initializer: Initializer<U, T, S>, useHydrationId: (() => string), useProps: (props: P) => U): HydrationBoundary<P>;
24
24
  export default withHydrationBoundary;
@@ -12,11 +12,11 @@ export declare enum DateType {
12
12
  }
13
13
  export interface DialogDate {
14
14
  type: DialogType.DATE;
15
- minDate: Date;
16
- maxDate: Date;
15
+ minDate?: Date;
16
+ maxDate?: Date;
17
17
  minDuration?: number;
18
18
  minuteInterval?: number;
19
- preselect?: Date;
19
+ preselect?: Date | [Date, Date];
20
20
  dateType?: DateType;
21
21
  multiselect?: boolean;
22
22
  monthSelect?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chayns-api",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "new chayns api",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",