pds-dev-kit-web-test 2.7.229 → 2.7.233
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/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.js +11 -8
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/mock_slideBanner.js +2 -2
- package/dist/src/sub/DynamicLayout/mocks.d.ts +3596 -1
- package/dist/src/sub/DynamicLayout/mocks.js +4 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.d.ts +2 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +11 -5
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationNextBtn.js +6 -6
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationPrevBtn.js +4 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.d.ts +2 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.js +5 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/hooks/useFlexGridLayout.d.ts +2 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/hooks/useFlexGridLayout.js +2 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.d.ts +3 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +19 -16
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationNextBtn.js +5 -5
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/elementPositions.d.ts +4 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/elementPositions.js +596 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useFlexGridLayout.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useFlexGridLayout.js +6 -3
- package/package.json +1 -1
package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.d.ts
CHANGED
|
@@ -3,12 +3,12 @@ import type { PDSIconType, UiColors } from '../../common';
|
|
|
3
3
|
export type IconButtonProps = {
|
|
4
4
|
fillType?: 'fill' | 'line';
|
|
5
5
|
shapeType?: 'circular' | 'rectangle';
|
|
6
|
-
baseSize?: 'xxlarge' | 'large' | 'medium' | 'small' | 'xsmall';
|
|
6
|
+
baseSize?: 'xxlarge' | 'large' | 'medium' | 'small' | 'xsmall' | number;
|
|
7
7
|
baseColorKey?: UiColors;
|
|
8
8
|
overrideBaseColorHex?: string;
|
|
9
9
|
overrideBaseColorHexHover?: string;
|
|
10
10
|
borderColorKey?: UiColors;
|
|
11
|
-
iconSize?: 12 | 16 | 20 | 24 | 48 | 72;
|
|
11
|
+
iconSize?: 12 | 16 | 20 | 24 | 40 | 48 | 72;
|
|
12
12
|
iconFillType?: 'fill' | 'line';
|
|
13
13
|
iconName: PDSIconType;
|
|
14
14
|
iconColorKey?: UiColors;
|
|
@@ -171,14 +171,17 @@ var iconButtonStyle = (0, styled_components_1.css)(templateObject_12 || (templat
|
|
|
171
171
|
}[fillType];
|
|
172
172
|
}, function (_a) {
|
|
173
173
|
var baseSize = _a.baseSize;
|
|
174
|
-
return baseSize
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
174
|
+
return typeof baseSize === 'number'
|
|
175
|
+
? "height: ".concat(baseSize, "px; width: ").concat(baseSize, "px;")
|
|
176
|
+
: typeof baseSize === 'string'
|
|
177
|
+
? {
|
|
178
|
+
xxlarge: xxlarge,
|
|
179
|
+
large: large,
|
|
180
|
+
medium: medium,
|
|
181
|
+
small: small,
|
|
182
|
+
xsmall: xsmall
|
|
183
|
+
}[baseSize]
|
|
184
|
+
: null;
|
|
182
185
|
});
|
|
183
186
|
var S_IconButton = styled_components_1.default.button(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), iconButtonStyle);
|
|
184
187
|
exports.default = IconButton;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type { PDSIconType, UiColors } from '../../common';
|
|
3
3
|
export type IconProps = {
|
|
4
4
|
iconName?: PDSIconType;
|
|
5
|
-
size?: 12 | 16 | 20 | 24 | 32 | 48 | 56 | 64 | 72;
|
|
5
|
+
size?: 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64 | 72;
|
|
6
6
|
colorKey?: UiColors;
|
|
7
7
|
overrideColorHex?: string;
|
|
8
8
|
fillType?: 'line' | 'fill';
|
|
@@ -4569,7 +4569,7 @@ exports.SAMPLE_SLIDEBANNER_CB = {
|
|
|
4569
4569
|
'CB_STYLE_PROP_SLIDEBANNERDESIGN_SPEC_STYLE:MOBILE': null
|
|
4570
4570
|
},
|
|
4571
4571
|
CB_STYLE_PROP_SLIDEBANNERPAGINATION: {
|
|
4572
|
-
CB_STYLE_PROP_SLIDEBANNERPAGINATION_SPEC_PAGINATIONLOCATION: '
|
|
4572
|
+
CB_STYLE_PROP_SLIDEBANNERPAGINATION_SPEC_PAGINATIONLOCATION: 'OUTSET2',
|
|
4573
4573
|
'CB_STYLE_PROP_SLIDEBANNERPAGINATION_SPEC_PAGINATIONLOCATION:MOBILE': null,
|
|
4574
4574
|
CB_STYLE_PROP_SLIDEBANNERPAGINATION_SPEC_PAGINATIONPRIMARYCOLOR: '#A500CFF0',
|
|
4575
4575
|
'CB_STYLE_PROP_SLIDEBANNERPAGINATION_SPEC_PAGINATIONPRIMARYCOLOR:MOBILE': null,
|
|
@@ -4577,7 +4577,7 @@ exports.SAMPLE_SLIDEBANNER_CB = {
|
|
|
4577
4577
|
'CB_STYLE_PROP_SLIDEBANNERPAGINATION_SPEC_PAGINATIONSECONDARYCOLOR:MOBILE': null,
|
|
4578
4578
|
CB_STYLE_PROP_SLIDEBANNERPAGINATION_SPEC_PAGINATIONSIZE: 'LARGE',
|
|
4579
4579
|
'CB_STYLE_PROP_SLIDEBANNERPAGINATION_SPEC_PAGINATIONSIZE:MOBILE': null,
|
|
4580
|
-
CB_STYLE_PROP_SLIDEBANNERPAGINATION_SPEC_PAGINATIONSTYLE: '
|
|
4580
|
+
CB_STYLE_PROP_SLIDEBANNERPAGINATION_SPEC_PAGINATIONSTYLE: 'DESIGN1',
|
|
4581
4581
|
'CB_STYLE_PROP_SLIDEBANNERPAGINATION_SPEC_PAGINATIONSTYLE:MOBILE': null
|
|
4582
4582
|
},
|
|
4583
4583
|
CB_STYLE_PROP_SLIDEBANNERPLAYBACKMETHOD: {
|