@aurora-ds/components 1.1.4 → 1.1.6

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/index.d.ts CHANGED
@@ -849,7 +849,9 @@ type CardProps = BoxProps & {
849
849
  padding?: keyof Theme['spacing'];
850
850
  };
851
851
 
852
- type CardHeaderProps = {
852
+ type StackProps = BoxProps;
853
+
854
+ type CardHeaderProps = StackProps & {
853
855
  /** Main label of the card header. */
854
856
  label: string;
855
857
  /** Optional icon rendered before the label. */
@@ -858,7 +860,7 @@ type CardHeaderProps = {
858
860
  actions?: ReactNode;
859
861
  };
860
862
 
861
- type CardBodyProps = {
863
+ type CardBodyProps = StackProps & {
862
864
  /** Card body content. */
863
865
  children: ReactNode;
864
866
  /** Vertical padding using a spacing token. @default 'md' */
@@ -912,8 +914,6 @@ type GridProps = Omit<BoxProps, 'display'> & GridStyleProps & {
912
914
  */
913
915
  declare const Grid: FC<GridProps>;
914
916
 
915
- type StackProps = BoxProps;
916
-
917
917
  /**
918
918
  * A flex `Box` for laying out children along a single axis.
919
919
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurora-ds/components",
3
- "version": "1.1.4",
3
+ "version": "1.1.6",
4
4
  "type": "module",
5
5
  "description": "Aurora DS - React Components Library",
6
6
  "main": "dist/cjs/index.js",