@alma-oss/spirit-web-react 4.6.0 → 4.6.1

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 CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [4.6.1](https://github.com/alma-oss/spirit-design-system/compare/@alma-oss/spirit-web-react@4.6.0...@alma-oss/spirit-web-react@4.6.1) (2026-05-18)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **web-react:** fix type for containerProps #DS-2561, closes [#DS-2561](https://github.com/alma-oss/spirit-design-system/issues/DS-2561)
11
+
6
12
  ## [4.6.0](https://github.com/alma-oss/spirit-design-system/compare/@alma-oss/spirit-web-react@4.5.0...@alma-oss/spirit-web-react@4.6.0) (2026-05-15)
7
13
 
8
14
  ### Features
@@ -1,10 +1,11 @@
1
1
  import { ElementType } from 'react';
2
- import { ContainerProps } from './container';
2
+ import { SpiritContainerProps } from './container';
3
3
  import { BackgroundColorsDictionaryType, ChildrenProps, PolymorphicComponentProps, SingleOrResponsive, SizeExtendedDictionaryType, SpaceToken, StyleProps, TextAlignmentType } from './shared';
4
+ export type SectionContainerProps = Omit<SpiritContainerProps, 'children'>;
4
5
  export interface SectionBaseProps extends ChildrenProps, StyleProps {
5
6
  }
6
7
  export interface SectionStyleProps<S = void> extends SectionBaseProps {
7
- containerProps?: ContainerProps;
8
+ containerProps?: SectionContainerProps;
8
9
  hasContainer?: boolean;
9
10
  backgroundColor?: BackgroundColorsDictionaryType;
10
11
  paddingY?: SingleOrResponsive<SpaceToken>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alma-oss/spirit-web-react",
3
- "version": "4.6.0",
3
+ "version": "4.6.1",
4
4
  "description": "React implementation of Spirit Design System components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -696,5 +696,5 @@
696
696
  "default": "./dist/utils/index.js"
697
697
  }
698
698
  },
699
- "gitHead": "349395c8d306218345e7abbf86c588691d201b8d"
699
+ "gitHead": "f8eae792d0d5db1d9b039337bffb354745871942"
700
700
  }