pds-dev-kit-web-test 2.7.229 → 2.7.234

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.
Files changed (27) hide show
  1. package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.d.ts +2 -2
  2. package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.js +11 -8
  3. package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.d.ts +1 -1
  4. package/dist/src/sub/DynamicLayout/mock_slideBanner.js +5 -5
  5. package/dist/src/sub/DynamicLayout/mocks.d.ts +3596 -1
  6. package/dist/src/sub/DynamicLayout/mocks.js +4 -4
  7. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.d.ts +2 -1
  8. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +11 -5
  9. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationNextBtn.js +6 -6
  10. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationPrevBtn.js +4 -4
  11. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.d.ts +2 -1
  12. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.js +5 -4
  13. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/hooks/useFlexGridLayout.d.ts +2 -1
  14. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/hooks/useFlexGridLayout.js +2 -1
  15. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.d.ts +3 -1
  16. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +20 -21
  17. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationNextBtn.d.ts +2 -1
  18. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationNextBtn.js +8 -8
  19. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationPrevBtn.d.ts +2 -1
  20. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationPrevBtn.js +3 -3
  21. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.d.ts +2 -1
  22. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +3 -3
  23. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/elementPositions.d.ts +4 -0
  24. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/elementPositions.js +679 -0
  25. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useFlexGridLayout.d.ts +1 -1
  26. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useFlexGridLayout.js +6 -3
  27. package/package.json +1 -1
@@ -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
- xxlarge: xxlarge,
177
- large: large,
178
- medium: medium,
179
- small: small,
180
- xsmall: xsmall
181
- }[baseSize];
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';
@@ -4535,7 +4535,7 @@ exports.SAMPLE_SLIDEBANNER_CB = {
4535
4535
  'CB_STYLE_PROP_SHADOW_SPEC_Y:MOBILE:HOVER': null
4536
4536
  },
4537
4537
  CB_STYLE_PROP_SLIDEBANNERBUTTON: {
4538
- CB_STYLE_PROP_SLIDEBANNERBUTTON_SPEC_NEXTBTNLOCATION: 'OUTSET3',
4538
+ CB_STYLE_PROP_SLIDEBANNERBUTTON_SPEC_NEXTBTNLOCATION: 'OUTSET1',
4539
4539
  'CB_STYLE_PROP_SLIDEBANNERBUTTON_SPEC_NEXTBTNLOCATION:MOBILE': null,
4540
4540
  CB_STYLE_PROP_SLIDEBANNERBUTTON_SPEC_NEXTBTNPRIMARYCOLOR: '#7CEC0DFC',
4541
4541
  'CB_STYLE_PROP_SLIDEBANNERBUTTON_SPEC_NEXTBTNPRIMARYCOLOR:HOVER': null,
@@ -4545,11 +4545,11 @@ exports.SAMPLE_SLIDEBANNER_CB = {
4545
4545
  'CB_STYLE_PROP_SLIDEBANNERBUTTON_SPEC_NEXTBTNSECONDARYCOLOR:HOVER': null,
4546
4546
  'CB_STYLE_PROP_SLIDEBANNERBUTTON_SPEC_NEXTBTNSECONDARYCOLOR:MOBILE': null,
4547
4547
  'CB_STYLE_PROP_SLIDEBANNERBUTTON_SPEC_NEXTBTNSECONDARYCOLOR:MOBILE:HOVER': null,
4548
- CB_STYLE_PROP_SLIDEBANNERBUTTON_SPEC_NEXTBTNSIZE: 'LARGE',
4548
+ CB_STYLE_PROP_SLIDEBANNERBUTTON_SPEC_NEXTBTNSIZE: 'SMALL',
4549
4549
  'CB_STYLE_PROP_SLIDEBANNERBUTTON_SPEC_NEXTBTNSIZE:MOBILE': null,
4550
4550
  CB_STYLE_PROP_SLIDEBANNERBUTTON_SPEC_NEXTBTNSTYLE: 'DESIGN3',
4551
4551
  'CB_STYLE_PROP_SLIDEBANNERBUTTON_SPEC_NEXTBTNSTYLE:MOBILE': null,
4552
- CB_STYLE_PROP_SLIDEBANNERBUTTON_SPEC_PREVBTNLOCATION: 'OUTSET12',
4552
+ CB_STYLE_PROP_SLIDEBANNERBUTTON_SPEC_PREVBTNLOCATION: 'OUTSET1',
4553
4553
  'CB_STYLE_PROP_SLIDEBANNERBUTTON_SPEC_PREVBTNLOCATION:MOBILE': null,
4554
4554
  CB_STYLE_PROP_SLIDEBANNERBUTTON_SPEC_PREVBTNPRIMARYCOLOR: '#630FFFED',
4555
4555
  'CB_STYLE_PROP_SLIDEBANNERBUTTON_SPEC_PREVBTNPRIMARYCOLOR:HOVER': null,
@@ -4559,7 +4559,7 @@ exports.SAMPLE_SLIDEBANNER_CB = {
4559
4559
  'CB_STYLE_PROP_SLIDEBANNERBUTTON_SPEC_PREVBTNSECONDARYCOLOR:HOVER': null,
4560
4560
  'CB_STYLE_PROP_SLIDEBANNERBUTTON_SPEC_PREVBTNSECONDARYCOLOR:MOBILE': null,
4561
4561
  'CB_STYLE_PROP_SLIDEBANNERBUTTON_SPEC_PREVBTNSECONDARYCOLOR:MOBILE:HOVER': null,
4562
- CB_STYLE_PROP_SLIDEBANNERBUTTON_SPEC_PREVBTNSIZE: 'MEDIUM',
4562
+ CB_STYLE_PROP_SLIDEBANNERBUTTON_SPEC_PREVBTNSIZE: 'SMALL',
4563
4563
  'CB_STYLE_PROP_SLIDEBANNERBUTTON_SPEC_PREVBTNSIZE:MOBILE': null,
4564
4564
  CB_STYLE_PROP_SLIDEBANNERBUTTON_SPEC_PREVBTNSTYLE: 'DESIGN3',
4565
4565
  'CB_STYLE_PROP_SLIDEBANNERBUTTON_SPEC_PREVBTNSTYLE: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: 'DESIGN3',
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: {