@bolttech/atoms-section-header 0.6.3 → 0.8.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/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@bolttech/atoms-section-header",
3
- "version": "0.6.3",
3
+ "version": "0.8.0",
4
4
  "main": "./index.cjs",
5
5
  "type": "commonjs",
6
6
  "types": "./src/index.d.ts",
7
7
  "dependencies": {
8
- "@edirect/frontend-foundations": "0.0.55",
8
+ "@edirect/frontend-foundations": "0.0.56",
9
9
  "styled-components": "5.3.6"
10
10
  },
11
11
  "peerDependencies": {}
package/src/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * from './lib/atoms-section-header';
2
- export { SectionHeaderProps } from './lib/atoms-section-header.type';
1
+ export * from './lib/atoms-section-header';
2
+ export { SectionHeaderProps } from './lib/atoms-section-header.type';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
- import { SectionHeaderProps } from './atoms-section-header.type';
3
- export declare function SectionHeader({ dataTestId, title, icon, background, }: SectionHeaderProps): JSX.Element;
4
- export default SectionHeader;
1
+ import { SectionHeaderProps } from './atoms-section-header.type';
2
+ export declare function SectionHeader({ dataTestId, title, icon, background, }: SectionHeaderProps): import("react/jsx-runtime").JSX.Element;
3
+ export default SectionHeader;
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
2
- export declare const SectionHeaderContainer: import("styled-components").StyledComponent<({ attributes, className, children, fullWidth, fullHeight, center, ...rest }: import("@edirect/frontend-foundations/dist/src/shared/types/row.type").RowPropsType) => JSX.Element, any, {}, never>;
3
- export declare const SectionHeaderLabel: import("styled-components").StyledComponent<({ className, children, type, variant, text, ...rest }: import("@edirect/frontend-foundations/dist/src/shared/types/typography.type").TypographyPropsType) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, any, {}, never>;
4
- export declare const Background: import("styled-components").StyledComponent<"div", any, {}, never>;
5
- export declare const Icon: import("styled-components").StyledComponent<"div", any, {}, never>;
6
- export declare const IlustrationContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
1
+ /// <reference types="react" />
2
+ export declare const SectionHeaderContainer: import("styled-components").StyledComponent<({ attributes, className, children, fullWidth, fullHeight, center, ...rest }: import("@edirect/frontend-foundations/dist/src/shared/types/row.type").RowPropsType) => JSX.Element, any, {}, never>;
3
+ export declare const SectionHeaderLabel: import("styled-components").StyledComponent<({ className, children, type, variant, text, ...rest }: import("@edirect/frontend-foundations/dist/src/shared/types/typography.type").TypographyPropsType) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, any, {}, never>;
4
+ export declare const Background: import("styled-components").StyledComponent<"div", any, {}, never>;
5
+ export declare const Icon: import("styled-components").StyledComponent<"div", any, {}, never>;
6
+ export declare const IlustrationContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -1,18 +1,18 @@
1
- /// <reference types="react" />
2
- /**
3
- * @typedef {SectionHeaderProps}
4
- * @property {string | undefined} dataTestId - react-testing-library identification
5
- * @property {string} title - main text that will be displayed on the section header
6
- * @property {string | undefined} icon - SVG that will be used as the main ilustration
7
- * @property {string | undefined} background - SVG that will be used as the secondary ilustration
8
- */
9
- export type SectionHeaderProps = {
10
- /** React-testing-library identification */
11
- dataTestId?: string;
12
- /** Main text that will be displayed on the section header */
13
- title: string;
14
- /** SVG that will be displayed on top */
15
- icon?: React.ReactElement<SVGElement>;
16
- /** SVG that will be displayed as the background of the icon */
17
- background?: React.ReactElement<SVGElement>;
18
- };
1
+ /// <reference types="react" />
2
+ /**
3
+ * @typedef {SectionHeaderProps}
4
+ * @property {string | undefined} dataTestId - react-testing-library identification
5
+ * @property {string} title - main text that will be displayed on the section header
6
+ * @property {string | undefined} icon - SVG that will be used as the main ilustration
7
+ * @property {string | undefined} background - SVG that will be used as the secondary ilustration
8
+ */
9
+ export type SectionHeaderProps = {
10
+ /** React-testing-library identification */
11
+ dataTestId?: string;
12
+ /** Main text that will be displayed on the section header */
13
+ title: string;
14
+ /** SVG that will be displayed on top */
15
+ icon?: React.ReactElement<SVGElement>;
16
+ /** SVG that will be displayed as the background of the icon */
17
+ background?: React.ReactElement<SVGElement>;
18
+ };