@rocket.chat/fuselage 0.39.0 → 0.40.0

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
@@ -1,5 +1,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 0.40.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1247](https://github.com/RocketChat/fuselage/pull/1247) [`f9dc8b2a2`](https://github.com/RocketChat/fuselage/commit/f9dc8b2a28fd60bdfc3fe5a3bc49b4b863dd56c9) Thanks [@juliajforesti](https://github.com/juliajforesti)! - feat(fuselage): add `Card` hero variant
8
+
3
9
  ## 0.39.0
4
10
 
5
11
  ### Minor Changes
@@ -1,6 +1,7 @@
1
1
  import type { AllHTMLAttributes } from 'react';
2
- declare const Card: ({ horizontal, ...props }: {
2
+ declare const Card: ({ horizontal, hero, ...props }: {
3
3
  horizontal?: boolean | undefined;
4
+ hero?: boolean | undefined;
4
5
  } & Omit<AllHTMLAttributes<HTMLElement>, "is">) => JSX.Element;
5
6
  export default Card;
6
7
  //# sourceMappingURL=Card.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/components/Card/Card.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAK/C,QAAA,MAAM,IAAI;;8DAgBT,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/components/Card/Card.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAK/C,QAAA,MAAM,IAAI;;;8DAqBT,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1,11 +1,11 @@
1
- import type { CSSProperties, ComponentProps } from 'react';
1
+ import type { AllHTMLAttributes, CSSProperties, ComponentProps } from 'react';
2
2
  import React from 'react';
3
3
  import Box from '../Box/Box';
4
4
  type CardBodyProps = {
5
5
  flexDirection?: CSSProperties['flexDirection'];
6
6
  height?: ComponentProps<typeof Box>['height'];
7
7
  children: React.ReactNode;
8
- };
9
- declare const CardBody: ({ children, flexDirection, height, }: CardBodyProps) => JSX.Element;
8
+ } & Omit<AllHTMLAttributes<HTMLElement>, 'is'>;
9
+ declare const CardBody: ({ children, flexDirection, height, ...props }: CardBodyProps) => JSX.Element;
10
10
  export default CardBody;
11
11
  //# sourceMappingURL=CardBody.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CardBody.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,GAAG,MAAM,YAAY,CAAC;AAE7B,KAAK,aAAa,GAAG;IACnB,aAAa,CAAC,EAAE,aAAa,CAAC,eAAe,CAAC,CAAC;IAC/C,MAAM,CAAC,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC;IAC9C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,QAAQ,yCAIX,aAAa,gBAWf,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"CardBody.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC9E,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,GAAG,MAAM,YAAY,CAAC;AAE7B,KAAK,aAAa,GAAG;IACnB,aAAa,CAAC,EAAE,aAAa,CAAC,eAAe,CAAC,CAAC;IAC/C,MAAM,CAAC,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC;IAC9C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,GAAG,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,EAAE,IAAI,CAAC,CAAC;AAE/C,QAAA,MAAM,QAAQ,kDAKX,aAAa,gBAYf,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -3,7 +3,7 @@ import React from 'react';
3
3
  import { GridItem } from '../Grid';
4
4
  type CardGridProps = {
5
5
  children: React.ReactNode;
6
- breakpoints: ComponentProps<typeof GridItem>;
6
+ breakpoints?: ComponentProps<typeof GridItem>;
7
7
  };
8
8
  export declare const CardGrid: ({ children, breakpoints, ...props }: CardGridProps) => JSX.Element;
9
9
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"CardGrid.d.ts","sourceRoot":"","sources":["../../../src/components/CardGrid/CardGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAa,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEzC,KAAK,aAAa,GAAG;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,WAAW,EAAE,cAAc,CAAC,OAAO,QAAQ,CAAC,CAAC;CAC9C,CAAC;AAEF,eAAO,MAAM,QAAQ,wCAIlB,aAAa,gBAQf,CAAC"}
1
+ {"version":3,"file":"CardGrid.d.ts","sourceRoot":"","sources":["../../../src/components/CardGrid/CardGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAa,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEzC,KAAK,aAAa,GAAG;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,WAAW,CAAC,EAAE,cAAc,CAAC,OAAO,QAAQ,CAAC,CAAC;CAC/C,CAAC;AAEF,eAAO,MAAM,QAAQ,wCAIlB,aAAa,gBAQf,CAAC"}