@synerise/ds-core 0.40.13 → 0.40.14
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,14 @@
|
|
|
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.40.14](https://github.com/synerise/synerise-design/compare/@synerise/ds-core@0.40.13...@synerise/ds-core@0.40.14) (2024-05-08)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-core
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [0.40.13](https://github.com/synerise/synerise-design/compare/@synerise/ds-core@0.40.12...@synerise/ds-core@0.40.13) (2024-04-11)
|
|
7
15
|
|
|
8
16
|
|
|
@@ -2,8 +2,6 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
|
|
|
2
2
|
|
|
3
3
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
4
4
|
|
|
5
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
6
|
-
|
|
7
5
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
8
6
|
|
|
9
7
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
@@ -17,8 +15,6 @@ import antMessages from './antLocales';
|
|
|
17
15
|
var DEFAULT_LANG = 'en-US';
|
|
18
16
|
|
|
19
17
|
var LocaleProvider = /*#__PURE__*/function (_React$Component) {
|
|
20
|
-
_inheritsLoose(LocaleProvider, _React$Component);
|
|
21
|
-
|
|
22
18
|
function LocaleProvider() {
|
|
23
19
|
var _this;
|
|
24
20
|
|
|
@@ -28,17 +24,19 @@ var LocaleProvider = /*#__PURE__*/function (_React$Component) {
|
|
|
28
24
|
|
|
29
25
|
_this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;
|
|
30
26
|
|
|
31
|
-
_defineProperty(
|
|
27
|
+
_defineProperty(_this, "state", {
|
|
32
28
|
dsLocales: {}
|
|
33
29
|
});
|
|
34
30
|
|
|
35
|
-
_defineProperty(
|
|
31
|
+
_defineProperty(_this, "getLangForCode", function (code) {
|
|
36
32
|
return code.substring(0, 2);
|
|
37
33
|
});
|
|
38
34
|
|
|
39
35
|
return _this;
|
|
40
36
|
}
|
|
41
37
|
|
|
38
|
+
_inheritsLoose(LocaleProvider, _React$Component);
|
|
39
|
+
|
|
42
40
|
var _proto = LocaleProvider.prototype;
|
|
43
41
|
|
|
44
42
|
_proto.componentDidMount = function componentDidMount() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-core",
|
|
3
|
-
"version": "0.40.
|
|
3
|
+
"version": "0.40.14",
|
|
4
4
|
"description": "Core Components for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "synerise/synerise-design",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"types": "dist/js/index.js",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@synerise/ds-data-format": "^0.4.
|
|
34
|
+
"@synerise/ds-data-format": "^0.4.9",
|
|
35
35
|
"deepmerge": "^4.2.2",
|
|
36
36
|
"flat": "^5.0.0",
|
|
37
37
|
"intl-messageformat-parser": "^3.6.4",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"less-vars-loader": "1.1.0",
|
|
50
50
|
"webpack": "4.42.0"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "1ad18b4b850f614943cd940a6b509d215ec025c7"
|
|
53
53
|
}
|