@refinitiv-ui/translate 5.2.0-next.5 → 5.2.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.
package/CHANGELOG.md CHANGED
@@ -3,7 +3,7 @@
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
- # [5.2.0-next.5](https://git.sami.int.thomsonreuters.com/elf/refinitiv-ui/compare/@refinitiv-ui/translate@5.2.0-next.4...@refinitiv-ui/translate@5.2.0-next.5) (2021-09-23)
6
+ ## [5.2.3](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/translate@5.2.2...@refinitiv-ui/translate@5.2.3) (2021-12-07)
7
7
 
8
8
  **Note:** Version bump only for package @refinitiv-ui/translate
9
9
 
@@ -11,18 +11,15 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
11
11
 
12
12
 
13
13
 
14
- # [5.2.0-next.4](https://git.sami.int.thomsonreuters.com/elf/refinitiv-ui/compare/@refinitiv-ui/translate@5.2.0-next.3...@refinitiv-ui/translate@5.2.0-next.4) (2021-09-21)
14
+ ## [5.2.2](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/translate@5.2.1...@refinitiv-ui/translate@5.2.2) (2021-12-03)
15
15
 
16
-
17
- ### Bug Fixes
18
-
19
- * **core:** fix nested theme styles ([3c28bbd](https://git.sami.int.thomsonreuters.com/elf/refinitiv-ui/commits/3c28bbd67061271dd7fb66eabe5e5158389a23d1))
16
+ **Note:** Version bump only for package @refinitiv-ui/translate
20
17
 
21
18
 
22
19
 
23
20
 
24
21
 
25
- # [5.2.0-next.3](https://git.sami.int.thomsonreuters.com/elf/refinitiv-ui/compare/@refinitiv-ui/translate@5.2.0-next.2...@refinitiv-ui/translate@5.2.0-next.3) (2021-09-20)
22
+ ## [5.2.1](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/translate@5.2.0...@refinitiv-ui/translate@5.2.1) (2021-11-22)
26
23
 
27
24
  **Note:** Version bump only for package @refinitiv-ui/translate
28
25
 
@@ -30,36 +27,31 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
30
27
 
31
28
 
32
29
 
33
- # [5.2.0-next.2](https://git.sami.int.thomsonreuters.com/elf/refinitiv-ui/compare/@refinitiv-ui/translate@5.2.0-next.1...@refinitiv-ui/translate@5.2.0-next.2) (2021-09-20)
34
-
35
- **Note:** Version bump only for package @refinitiv-ui/translate
36
-
37
-
30
+ # [5.2.0](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/translate@5.1.8...@refinitiv-ui/translate@5.2.0) (2021-11-08)
38
31
 
39
32
 
33
+ ### Features
40
34
 
41
- # [5.2.0-next.1](https://git.sami.int.thomsonreuters.com/elf/refinitiv-ui/compare/@refinitiv-ui/translate@5.2.0-next.0...@refinitiv-ui/translate@5.2.0-next.1) (2021-09-20)
35
+ * Lit@2 upgrade ([dbda63b](https://github.com/Refinitiv/refinitiv-ui/commit/dbda63be97257f891cb1f2c5ff46b638c70e0b15))
42
36
 
43
- **Note:** Version bump only for package @refinitiv-ui/translate
44
37
 
45
38
 
46
39
 
47
40
 
41
+ ## [5.1.8](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/translate@5.1.5...@refinitiv-ui/translate@5.1.8) (2021-10-25)
48
42
 
49
- # [5.2.0-next.0](https://git.sami.int.thomsonreuters.com/elf/refinitiv-ui/compare/@refinitiv-ui/translate@5.1.5-next.0...@refinitiv-ui/translate@5.2.0-next.0) (2021-09-16)
43
+ **Note:** Version bump only for package @refinitiv-ui/translate
50
44
 
51
45
 
52
- ### Features
53
46
 
54
- * **utils:** use own simplified version of uuid for bundlers that do not support browser export ([a171873](https://git.sami.int.thomsonreuters.com/elf/refinitiv-ui/commits/a1718734fca10d8d42638739dd735fb0725b66d8))
55
47
 
56
48
 
49
+ ## [5.1.5](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/translate@5.1.4...@refinitiv-ui/translate@5.1.5) (2021-10-11)
57
50
 
58
51
 
52
+ ### Bug Fixes
59
53
 
60
- ## [5.1.5-next.0](https://git.sami.int.thomsonreuters.com/elf/refinitiv-ui/compare/@refinitiv-ui/translate@5.1.4...@refinitiv-ui/translate@5.1.5-next.0) (2021-09-16)
61
-
62
- **Note:** Version bump only for package @refinitiv-ui/translate
54
+ * remove source maps reference from the production build ([655d0bb](https://github.com/Refinitiv/refinitiv-ui/commit/655d0bb57290e5fe1276bf1a99bd7a0190d7a2f8))
63
55
 
64
56
 
65
57
 
@@ -41,4 +41,3 @@ declare const getLocale: (element: HTMLElement) => string;
41
41
  */
42
42
  declare const translate: (options?: string | DecoratorOptions | undefined) => TranslateFunction;
43
43
  export { translate, TranslatePropertyKey, getLocale, Translate, TranslatePromise, TranslateDirective };
44
- //# sourceMappingURL=translate.d.ts.map
package/lib/translate.js CHANGED
@@ -71,12 +71,12 @@ const observeTranslations = function (scope = this.localName) {
71
71
  // this ensures that requestUpdate always comes through
72
72
  // however, external applications still can detect that the change is coming for translations
73
73
  // this is better than empty requestUpdate() as in that case in is not possible to detect source of update
74
- void this.requestUpdate(TranslatePropertyKey, {});
74
+ this.requestUpdate(TranslatePropertyKey, {});
75
75
  }
76
76
  });
77
77
  // Observe new translations for the scope
78
78
  return Phrasebook.observe(scope, () => {
79
- void this.requestUpdate(TranslatePropertyKey, {});
79
+ this.requestUpdate(TranslatePropertyKey, {});
80
80
  });
81
81
  };
82
82
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@refinitiv-ui/translate",
3
- "version": "5.2.0-next.5",
3
+ "version": "5.2.3",
4
4
  "description": "i18n implementation for Element Framework components",
5
5
  "author": "Refinitiv",
6
6
  "license": "Apache-2.0",
@@ -9,12 +9,13 @@
9
9
  "types": "./lib/translate.d.ts",
10
10
  "repository": {
11
11
  "type": "git",
12
- "url": "git@git.sami.int.thomsonreuters.com:elf/refinitiv-ui.git",
12
+ "url": "git@github.com:Refinitiv/refinitiv-ui.git",
13
13
  "directory": "packages/translate"
14
14
  },
15
15
  "scripts": {
16
- "build": "tsc --sourceMap false",
17
- "build:watch": "tsc --watch --preserveWatchOutput --sourceMap",
16
+ "build": "tsc --sourceMap --declarationMap",
17
+ "build:prod": "tsc",
18
+ "build:watch": "npm run build -- --watch --preserveWatchOutput",
18
19
  "lint": "eslint .",
19
20
  "lint:fix": "eslint . --fix",
20
21
  "start": "npm run build && concurrently \"npm run build:watch\" \"web-dev-server --config ../../server.config.js --app-index __demo__\"",
@@ -23,17 +24,17 @@
23
24
  "test:watch": "npm run test -- --watch"
24
25
  },
25
26
  "dependencies": {
26
- "@refinitiv-ui/i18n": "^5.1.5-next.3",
27
- "@refinitiv-ui/phrasebook": "^5.1.3-next.2",
27
+ "@refinitiv-ui/i18n": "^5.2.3",
28
+ "@refinitiv-ui/phrasebook": "^5.2.1",
28
29
  "lit": "^2.0.0",
29
30
  "tslib": "^2.3.1"
30
31
  },
31
32
  "devDependencies": {
32
- "@refinitiv-ui/core": "^5.1.0-next.4",
33
- "@refinitiv-ui/test-helpers": "^5.0.2-next.2"
33
+ "@refinitiv-ui/core": "^5.3.3",
34
+ "@refinitiv-ui/test-helpers": "^5.1.1"
34
35
  },
35
36
  "publishConfig": {
36
37
  "access": "public"
37
38
  },
38
- "gitHead": "08e329cc94ab3e2f3b473a568ae508618b1f76d1"
39
+ "gitHead": "c17cf5a4e54d668f1c9e7d9fb0229a90643e7b01"
39
40
  }