pds-dev-kit-web-test 2.7.499 → 2.7.500
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/dist/src/common/assets/icons/fill/Plugin.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/Plugin.js +30 -0
- package/dist/src/common/assets/icons/fill/index.d.ts +1 -0
- package/dist/src/common/assets/icons/fill/index.js +2 -0
- package/dist/src/common/assets/icons/line/Plugin.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Plugin.js +30 -0
- package/dist/src/common/assets/icons/line/index.d.ts +1 -0
- package/dist/src/common/assets/icons/line/index.js +2 -0
- package/dist/src/common/services/i18n/resources/en.json +1 -4
- package/dist/src/common/services/i18n/resources/es.json +1 -4
- package/dist/src/common/services/i18n/resources/fil.json +1 -4
- package/dist/src/common/services/i18n/resources/index.d.ts +0 -21
- package/dist/src/common/services/i18n/resources/ja.json +1 -4
- package/dist/src/common/services/i18n/resources/ko.json +1 -4
- package/dist/src/common/services/i18n/resources/zh-cn.json +1 -4
- package/dist/src/common/services/i18n/resources/zh-tw.json +1 -4
- package/dist/src/common/styles/colorSet/UIColor.json +3 -1
- package/dist/src/common/styles/colorSet/index.d.ts +925 -923
- package/dist/src/common/styles/colorSet/index.js +3 -3
- package/dist/src/common/styles/colorSet/ui-type.d.ts +2 -0
- package/dist/src/desktop/components/BoxItem/BoxItem.d.ts +1 -1
- package/dist/src/desktop/components/BoxItem/BoxItem.js +23 -11
- package/dist/src/desktop/components/ReactionButton/ReactionButton.js +1 -1
- package/dist/src/desktop/components/UserDesktopTabBar/UserDesktopTabBar.d.ts +1 -1
- package/dist/src/desktop/components/UserDesktopTabBar/UserDesktopTabBar.js +13 -3
- package/dist/src/mobile/components/BoxItem/BoxItem.d.ts +1 -1
- package/dist/src/mobile/components/BoxItem/BoxItem.js +23 -11
- package/dist/src/mobile/components/ReactionButton/ReactionButton.js +1 -1
- package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +6 -5
- package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.js +52 -5
- package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackground.js +1 -0
- package/dist/src/sub/DynamicLayout/mock_section.json +5 -5
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +41 -66
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.js +56 -73
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +35 -56
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +3 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseJsonProperties.js +0 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropBorder.js +12 -5
- package/package.json +1 -1
- package/release-note.md +2 -2
|
@@ -21,17 +21,24 @@ var AVAILABLE_SPECS = [
|
|
|
21
21
|
function parseStylePropBorder(namedProps, device) {
|
|
22
22
|
var specs = namedProps.specs;
|
|
23
23
|
return AVAILABLE_SPECS.reduce(function (acc, cur) {
|
|
24
|
-
var _a, _b, _c;
|
|
24
|
+
var _a, _b, _c, _d;
|
|
25
25
|
var baseKey = device === 'DESKTOP' ? cur : "".concat(cur, ":MOBILE");
|
|
26
26
|
var cssPropertyKey = getParsedKey(baseKey);
|
|
27
27
|
var value = specs[baseKey];
|
|
28
28
|
var hoverValue = specs["".concat(baseKey, ":HOVER")];
|
|
29
29
|
var isRadius = cssPropertyKey === 'borderRadius';
|
|
30
30
|
if (value === null || value === undefined) {
|
|
31
|
+
if (device === 'MOBILE') {
|
|
32
|
+
var desktopValue = specs[cur];
|
|
33
|
+
return {
|
|
34
|
+
style: __assign(__assign({}, acc.style), (_a = {}, _a[cssPropertyKey] = desktopValue, _a)),
|
|
35
|
+
hoverStyle: __assign({}, acc.hoverStyle)
|
|
36
|
+
};
|
|
37
|
+
}
|
|
31
38
|
return acc;
|
|
32
39
|
}
|
|
33
40
|
if (isRadius) {
|
|
34
|
-
var
|
|
41
|
+
var _e = value, tl = _e.tl, tr = _e.tr, bl = _e.bl, br = _e.br;
|
|
35
42
|
var hoverValueTypeExpanded = hoverValue;
|
|
36
43
|
if (hoverValueTypeExpanded === null || hoverValueTypeExpanded === undefined) {
|
|
37
44
|
return {
|
|
@@ -46,13 +53,13 @@ function parseStylePropBorder(namedProps, device) {
|
|
|
46
53
|
}
|
|
47
54
|
if (hoverValue === null || hoverValue === undefined) {
|
|
48
55
|
return {
|
|
49
|
-
style: __assign(__assign({}, acc.style), (
|
|
56
|
+
style: __assign(__assign({}, acc.style), (_b = {}, _b[cssPropertyKey] = value, _b)),
|
|
50
57
|
hoverStyle: __assign({}, acc.hoverStyle)
|
|
51
58
|
};
|
|
52
59
|
}
|
|
53
60
|
return {
|
|
54
|
-
style: __assign(__assign({}, acc.style), (
|
|
55
|
-
hoverStyle: __assign(__assign({}, acc.hoverStyle), (
|
|
61
|
+
style: __assign(__assign({}, acc.style), (_c = {}, _c[cssPropertyKey] = value, _c)),
|
|
62
|
+
hoverStyle: __assign(__assign({}, acc.hoverStyle), (_d = {}, _d[cssPropertyKey] = hoverValue, _d))
|
|
56
63
|
};
|
|
57
64
|
}, {
|
|
58
65
|
style: {},
|
package/package.json
CHANGED