@enact/core 5.4.0 → 5.4.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.
- package/CHANGELOG.md +10 -0
- package/kind/kind.d.ts +20 -20
- package/package.json +5 -5
- package/platform/platform.d.ts +14 -14
- package/platform/platform.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
The following is a curated list of changes in the Enact core module, newest changes on the top.
|
|
4
4
|
|
|
5
|
+
## [5.4.2] - 2026-01-28
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- `core/platform` to support `safari` 16.6, `chrome` 119, and `firefox` 128 or later
|
|
10
|
+
|
|
11
|
+
## [5.4.1] - 2025-12-30
|
|
12
|
+
|
|
13
|
+
No significant changes.
|
|
14
|
+
|
|
5
15
|
## [5.4.0] - 2025-12-08
|
|
6
16
|
|
|
7
17
|
No significant changes.
|
package/kind/kind.d.ts
CHANGED
|
@@ -23,44 +23,44 @@ export interface StylesBlock {
|
|
|
23
23
|
/**
|
|
24
24
|
* The CSS of the component
|
|
25
25
|
*/
|
|
26
|
-
css: { [key: string]: string } /**
|
|
26
|
+
css: { [key: string]: string }; /**
|
|
27
27
|
* The className of the component
|
|
28
|
-
|
|
29
|
-
className?: string /**
|
|
28
|
+
*/
|
|
29
|
+
className?: string; /**
|
|
30
30
|
* Specifies which class names are overridable.
|
|
31
31
|
If this value is `true` , all the class names of the component CSS will become public.
|
|
32
|
-
|
|
32
|
+
*/
|
|
33
33
|
publicClassNames?: boolean | string | string[];
|
|
34
34
|
}
|
|
35
35
|
export interface KindConfig {
|
|
36
36
|
/**
|
|
37
37
|
* The name of the component
|
|
38
38
|
*/
|
|
39
|
-
name?: string /**
|
|
39
|
+
name?: string; /**
|
|
40
40
|
* Boolean controlling whether the returned component should be a functional component
|
|
41
|
-
|
|
42
|
-
functional?: boolean /**
|
|
41
|
+
*/
|
|
42
|
+
functional?: boolean; /**
|
|
43
43
|
* Specifies expected props
|
|
44
|
-
|
|
45
|
-
propTypes?: { [key: string]: Function } /**
|
|
44
|
+
*/
|
|
45
|
+
propTypes?: { [key: string]: Function }; /**
|
|
46
46
|
* Sets the default props
|
|
47
|
-
|
|
48
|
-
defaultProps?: { [key: string]: any } /**
|
|
47
|
+
*/
|
|
48
|
+
defaultProps?: { [key: string]: any }; /**
|
|
49
49
|
* Specifies context type
|
|
50
|
-
|
|
51
|
-
contextType?: object /**
|
|
50
|
+
*/
|
|
51
|
+
contextType?: object; /**
|
|
52
52
|
* Configures styles with the static className to merge with user className
|
|
53
|
-
|
|
54
|
-
styles?: StylesBlock /**
|
|
53
|
+
*/
|
|
54
|
+
styles?: StylesBlock; /**
|
|
55
55
|
* Adds event handlers that are cached between calls to prevent recreating each call.
|
|
56
56
|
Any handlers are added to the props passed to `render()` . See .
|
|
57
|
-
|
|
58
|
-
handlers?: { [key: string]: HandlerFunction } /**
|
|
57
|
+
*/
|
|
58
|
+
handlers?: { [key: string]: HandlerFunction }; /**
|
|
59
59
|
* Adds some computed properties, these are added to props passed to `render()`
|
|
60
|
-
|
|
61
|
-
computed?: { [key: string]: ComputedPropFunction } /**
|
|
60
|
+
*/
|
|
61
|
+
computed?: { [key: string]: ComputedPropFunction }; /**
|
|
62
62
|
* The render function
|
|
63
|
-
|
|
63
|
+
*/
|
|
64
64
|
render: RenderFunction;
|
|
65
65
|
}
|
|
66
66
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@enact/core",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.2",
|
|
4
4
|
"description": "Enact is an open source JavaScript framework containing everything you need to create a fast, scalable mobile or web application.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"classnames": "^2.5.1",
|
|
36
36
|
"invariant": "^2.2.4",
|
|
37
37
|
"prop-types": "^15.8.1",
|
|
38
|
-
"ramda": "^0.
|
|
39
|
-
"react": "^19.2.
|
|
40
|
-
"react-dom": "^19.2.
|
|
41
|
-
"react-is": "^19.2.
|
|
38
|
+
"ramda": "^0.32.0",
|
|
39
|
+
"react": "^19.2.3",
|
|
40
|
+
"react-dom": "^19.2.3",
|
|
41
|
+
"react-is": "^19.2.3",
|
|
42
42
|
"warning": "^4.0.3"
|
|
43
43
|
}
|
|
44
44
|
}
|
package/platform/platform.d.ts
CHANGED
|
@@ -7,27 +7,27 @@ export interface PlatformDescription {
|
|
|
7
7
|
/**
|
|
8
8
|
* The name of the detected browser
|
|
9
9
|
*/
|
|
10
|
-
browserName: string /**
|
|
10
|
+
browserName: string; /**
|
|
11
11
|
* The version of the detected browser
|
|
12
|
-
|
|
13
|
-
browserVersion: number /**
|
|
12
|
+
*/
|
|
13
|
+
browserVersion: number; /**
|
|
14
14
|
* The version of the detected browser, if chrome browser is detected
|
|
15
|
-
|
|
16
|
-
chrome: number /**
|
|
15
|
+
*/
|
|
16
|
+
chrome: number; /**
|
|
17
17
|
* The version of the detected browser, if firefox browser is detected
|
|
18
|
-
|
|
19
|
-
firefox: number /**
|
|
18
|
+
*/
|
|
19
|
+
firefox: number; /**
|
|
20
20
|
* The version of the detected browser, if safari browser is detected
|
|
21
|
-
|
|
22
|
-
safari: number /**
|
|
21
|
+
*/
|
|
22
|
+
safari: number; /**
|
|
23
23
|
* `true` if the browser has native touch events
|
|
24
|
-
|
|
25
|
-
touchEvent: boolean /**
|
|
24
|
+
*/
|
|
25
|
+
touchEvent: boolean; /**
|
|
26
26
|
* `true` if the platform has a touch screen
|
|
27
|
-
|
|
28
|
-
touchScreen: boolean /**
|
|
27
|
+
*/
|
|
28
|
+
touchScreen: boolean; /**
|
|
29
29
|
* The type of the detected platform. One of 'desktop', 'mobile', 'webos', 'node', or 'unknown'
|
|
30
|
-
|
|
30
|
+
*/
|
|
31
31
|
type: string;
|
|
32
32
|
}
|
|
33
33
|
/**
|
package/platform/platform.js
CHANGED
|
@@ -55,7 +55,7 @@ var userAgentPatterns = [
|
|
|
55
55
|
|
|
56
56
|
// The base supported versions: Used in DEPRECATED warning
|
|
57
57
|
var supportedVersions = {
|
|
58
|
-
safari: 16.
|
|
58
|
+
safari: 16.6,
|
|
59
59
|
chrome: 119,
|
|
60
60
|
firefox: 128
|
|
61
61
|
};
|
|
@@ -91,7 +91,7 @@ var parseUserAgent = exports.parseUserAgent = function parseUserAgent(userAgent)
|
|
|
91
91
|
if (supportedVersions[detectedInfo.browserName] > detectedInfo.browserVersion) {
|
|
92
92
|
(0, _deprecate["default"])({
|
|
93
93
|
name: "supporting ".concat(detectedInfo.browserName, " version older than ").concat(supportedVersions[detectedInfo.browserName]),
|
|
94
|
-
until: '
|
|
94
|
+
until: '6.0.0'
|
|
95
95
|
});
|
|
96
96
|
}
|
|
97
97
|
return detectedInfo;
|