@shelf/global-renderer 0.16.9 → 0.17.0

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.17.0](https://github.com/shelfio/libs-frontend/compare/@shelf/global-renderer@0.16.9...@shelf/global-renderer@0.17.0) (2022-11-03)
7
+
8
+ ### Features
9
+
10
+ - [REACT-344] remove dates and datetime packages ([12ddb22](https://github.com/shelfio/libs-frontend/commit/12ddb22fc37f39028dff46584b0f6566f7ad936c))
11
+ - [REACT-344] replace dates with datetime in global renderer ([0a242f7](https://github.com/shelfio/libs-frontend/commit/0a242f7ab19510b0fdfedee0dc0faa1828ed3b23))
12
+
13
+ ### Bug Fixes
14
+
15
+ - [REACT-344] addjust typings ([13b883f](https://github.com/shelfio/libs-frontend/commit/13b883fee74ec6762866451d18cf649237cc7a7c))
16
+ - [REACT-344] remove unnecessary language prop ([6d0bbfe](https://github.com/shelfio/libs-frontend/commit/6d0bbfe6328955e6c10457304662b25890e652b8))
17
+
6
18
  ### [0.16.9](https://github.com/shelfio/libs-frontend/compare/@shelf/global-renderer@0.16.8...@shelf/global-renderer@0.16.9) (2022-11-02)
7
19
 
8
20
  **Note:** Version bump only for package @shelf/global-renderer
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { RenderDTContentData } from './types';
3
- declare const DecisionTreeContent: ({ title, description, tree, exportedBy, exportedAt, createdBy, fields, language, }: RenderDTContentData) => JSX.Element;
3
+ declare const DecisionTreeContent: ({ title, description, tree, exportedBy, exportedAt, createdBy, fields, }: RenderDTContentData) => JSX.Element;
4
4
  export default DecisionTreeContent;
@@ -1,9 +1,7 @@
1
1
  /// <reference types="react" />
2
- import type { L10n } from '@shelf/types';
3
- declare const _default: ({ exportedAt, exportedBy, createdBy, language, }: {
2
+ declare const _default: ({ exportedAt, exportedBy, createdBy, }: {
4
3
  exportedAt: Date;
5
4
  exportedBy: string;
6
5
  createdBy: string;
7
- language: L10n.LanguageCode;
8
6
  }) => JSX.Element;
9
7
  export default _default;
@@ -1,4 +1,3 @@
1
- import type { L10n } from '@shelf/types';
2
1
  import { DTStep, DTStepFromApi } from './types';
3
2
  export declare const FIRST_STEP_ID = "Step#1";
4
3
  export declare const QUESTION_TYPE = "Question";
@@ -34,4 +33,4 @@ export declare const getTreeWithParentSteps: (tree: Omit<DTStep, 'parentSteps'>[
34
33
  }[] | undefined;
35
34
  }[];
36
35
  export declare const convertStepToRenderFormat: (tree: DTStepFromApi[]) => DTStep[];
37
- export declare const getDateAndTime: (date: Date, lang: L10n.LanguageCode) => string;
36
+ export declare const getDateAndTime: (date: Date) => string;