pds-dev-kit-web-test 0.3.43 → 2.2.48
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/styles/colorSet/PaletteColor_Dark.json +4 -1
- package/dist/src/common/styles/colorSet/PaletteColor_light.json +4 -1
- package/dist/src/common/styles/colorSet/UIColor.json +4 -1
- package/dist/src/common/styles/colorSet/index.d.ts +131 -122
- package/dist/src/common/styles/colorSet/index.js +4 -4
- package/dist/src/common/styles/colorSet/ui-type.d.ts +3 -0
- package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.js +1 -1
- package/dist/src/desktop/components/BasicListItem/BasicListItem.d.ts +2 -1
- package/dist/src/desktop/components/BasicListItem/BasicListItem.js +2 -2
- package/dist/src/desktop/components/BasicListItem/RightBox/MainButton.d.ts +1 -0
- package/dist/src/desktop/components/BasicListItem/RightBox/MainButton.js +2 -2
- package/dist/src/desktop/components/ChatBubbleListItem/ChatBubbleListItem.d.ts +3 -1
- package/dist/src/desktop/components/ChatBubbleListItem/ChatBubbleListItem.js +20 -9
- package/dist/src/desktop/components/ChatList/ChatList.d.ts +8 -1
- package/dist/src/desktop/components/ChatList/ChatList.js +3 -3
- package/dist/src/desktop/components/ChatList/Header.d.ts +2 -2
- package/dist/src/desktop/components/ChatList/Header.js +18 -3
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/MenuItemNav/components/InternalLinkMenuItemNav.js +9 -18
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/MenuItemNav/components/PAppMenuItemNav.js +2 -10
- package/dist/src/desktop/components/DynamicDesktopNavBar/components/MenuItemNav/components/PageMenuItemNav.js +2 -10
- package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.js +1 -1
- package/dist/src/mobile/components/BasicListItem/BasicListItem.d.ts +2 -1
- package/dist/src/mobile/components/BasicListItem/BasicListItem.js +2 -2
- package/dist/src/mobile/components/BasicListItem/RightBox/MainButton.d.ts +1 -0
- package/dist/src/mobile/components/BasicListItem/RightBox/MainButton.js +2 -2
- package/dist/src/mobile/components/ChatBubbleListItem/ChatBubbleListItem.d.ts +3 -1
- package/dist/src/mobile/components/ChatBubbleListItem/ChatBubbleListItem.js +20 -9
- package/dist/src/mobile/components/ChatList/ChatList.d.ts +8 -1
- package/dist/src/mobile/components/ChatList/ChatList.js +3 -3
- package/dist/src/mobile/components/ChatList/Header.d.ts +2 -2
- package/dist/src/mobile/components/ChatList/Header.js +15 -3
- package/dist/src/sub/DynamicLayout/DynamicLayout.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/DynamicLayout.js +2 -3
- package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackground.js +2 -3
- package/dist/src/sub/DynamicLayout/mock_customSection.d.ts +2 -0
- package/dist/src/sub/DynamicLayout/mock_customSection.js +840 -0
- package/dist/src/sub/DynamicLayout/nakedMocks.json +847 -0
- package/dist/src/sub/DynamicLayout/pagesPreviewMock.d.ts +2 -1236
- package/dist/src/sub/DynamicLayout/pagesPreviewMock.js +6 -2298
- package/dist/src/sub/DynamicLayout/sectionActionTypes.d.ts +0 -18
- package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.d.ts +0 -5
- package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +24 -223
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlock.d.ts +1 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlock.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.d.ts +1 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +10 -11
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +2 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Divider/Divider.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Divider/Divider.js +2 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +2 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/RichText.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/RichText.js +2 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +2 -5
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Twitter/Twitter.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Twitter/Twitter.js +2 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/Youtube.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/Youtube.js +3 -5
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useIntersectionObserver.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useIntersectionObserver.js +9 -21
- package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +7 -29
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseJsonProperties.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +0 -3
- package/dist/src/sub/DynamicLayout/types.d.ts +18 -22
- package/package.json +2 -2
- package/release-note.md +6 -6
- package/webhook/node_modules/esrecurse/.babelrc +3 -0
- package/dist/src/sub/DynamicLayout/hooks/useCustomSectionShortcut/useCustomSectionShortcut.d.ts +0 -6
- package/dist/src/sub/DynamicLayout/hooks/useCustomSectionShortcut/useCustomSectionShortcut.js +0 -50
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGroupDrag/index.d.ts +0 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGroupDrag/index.js +0 -8
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGroupDrag/useGroupDrag.d.ts +0 -21
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGroupDrag/useGroupDrag.js +0 -225
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGroupDrag/utils.d.ts +0 -12
- package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGroupDrag/utils.js +0 -127
- package/dist/src/sub/DynamicLayout/utils/deepCopy.d.ts +0 -1
- package/dist/src/sub/DynamicLayout/utils/deepCopy.js +0 -15
|
@@ -16,15 +16,6 @@ type ActionHandlerPayload = {
|
|
|
16
16
|
e?: ResizeEventType;
|
|
17
17
|
node?: HTMLElement;
|
|
18
18
|
};
|
|
19
|
-
'@CUSTOMSECTION/GROUP_DRAG_STOP': {
|
|
20
|
-
layout: Layout;
|
|
21
|
-
prev?: LayoutItem;
|
|
22
|
-
item?: LayoutItem;
|
|
23
|
-
placeholder?: LayoutItem;
|
|
24
|
-
e?: ResizeEventType;
|
|
25
|
-
node?: HTMLElement;
|
|
26
|
-
outerBasedChildrenPositions: LayoutItem[];
|
|
27
|
-
};
|
|
28
19
|
'@CUSTOMSECTION/CB_RESIZE_STOP': {
|
|
29
20
|
layout: Layout;
|
|
30
21
|
prev?: LayoutItem;
|
|
@@ -47,15 +38,6 @@ type ActionHandlerPayload = {
|
|
|
47
38
|
'@CUSTOMSECTION/SECTION_CLICKED': {
|
|
48
39
|
sectionId: number;
|
|
49
40
|
};
|
|
50
|
-
'@CUSTOMSECTION/GROUP_CREATED': {
|
|
51
|
-
message: string;
|
|
52
|
-
};
|
|
53
|
-
'@CUSTOMSECTION/GROUP_DISMISSED': {
|
|
54
|
-
message: string;
|
|
55
|
-
};
|
|
56
|
-
'@CUSTOMSECTION/COLLISION_NOT_FOUND': {
|
|
57
|
-
message: string;
|
|
58
|
-
};
|
|
59
41
|
};
|
|
60
42
|
type ActionMap<M extends {
|
|
61
43
|
[index: string]: any;
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { ISection } from '../../types';
|
|
3
|
-
import type { Layout } from 'publ-echo/dist/lib/GridLayoutEditor/types';
|
|
4
|
-
export type LayoutsType = {
|
|
5
|
-
sm: Layout;
|
|
6
|
-
lg: Layout;
|
|
7
|
-
};
|
|
8
3
|
declare function CustomSection(props: ISection): JSX.Element;
|
|
9
4
|
declare const _default: React.MemoExoticComponent<typeof CustomSection>;
|
|
10
5
|
export default _default;
|