@equinor/ioc-common-frontend 10.0.1 → 10.1.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.
@@ -0,0 +1,8 @@
1
+ import { ReactElement } from 'react';
2
+ export interface FooterSectionProps {
3
+ header: string;
4
+ testid?: string;
5
+ children?: React.ReactNode[];
6
+ }
7
+ export declare const FooterSection: ({ header, testid, children, }: FooterSectionProps) => ReactElement;
8
+ //# sourceMappingURL=FooterSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FooterSection.d.ts","sourceRoot":"","sources":["../../../src/components/FooterSection/FooterSection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAOrC,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC;CAC9B;AAED,eAAO,MAAM,aAAa,kCAIvB,kBAAkB,KAAG,YASvB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { Meta, Story } from '@storybook/react';
2
+ import { FooterSectionProps } from '.';
3
+ declare const _default: Meta<FooterSectionProps>;
4
+ export default _default;
5
+ export declare const Default: Story<FooterSectionProps>;
6
+ //# sourceMappingURL=FooterSection.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FooterSection.stories.d.ts","sourceRoot":"","sources":["../../../src/components/FooterSection/FooterSection.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAiB,kBAAkB,EAAE,MAAM,GAAG,CAAC;;AAQtD,wBAI8B;AA4C9B,eAAO,MAAM,OAAO,2BAAoB,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare const StyledFooterSectionHeader: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
2
+ export declare const StyledFooterSection: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
+ export declare const StyledFooterChild: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
4
+ //# sourceMappingURL=FooterSection.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FooterSection.styles.d.ts","sourceRoot":"","sources":["../../../src/components/FooterSection/FooterSection.styles.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,yBAAyB,yGAKrC,CAAC;AAEF,eAAO,MAAM,mBAAmB,yGAK/B,CAAC;AAEF,eAAO,MAAM,iBAAiB,yGAE7B,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { FooterSection } from './FooterSection';
2
+ export type { FooterSectionProps } from './FooterSection';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FooterSection/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { ReactElement } from 'react';
2
+ export interface LinkProps {
3
+ href: string;
4
+ testid?: string;
5
+ linkStyle?: 'dark' | 'light';
6
+ children?: React.ReactNode;
7
+ }
8
+ export interface LinkWithIconProps {
9
+ href: string;
10
+ testid?: string;
11
+ linkStyle?: 'dark' | 'light';
12
+ children?: React.ReactNode;
13
+ iconName: string;
14
+ iconSize?: 16 | 18 | 24 | 32 | 40 | 48 | undefined;
15
+ }
16
+ export declare const Link: ({ href, linkStyle, testid, children, }: LinkProps) => ReactElement;
17
+ export declare const InlineLink: ({ href, testid, linkStyle, children, }: LinkProps) => ReactElement;
18
+ export declare const LinkWithIcon: ({ href, linkStyle, testid, children, iconName, iconSize, }: LinkWithIconProps) => ReactElement;
19
+ //# sourceMappingURL=Link.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../src/components/Link/Link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAUrC,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,SAAS,CAAC;CACpD;AAED,eAAO,MAAM,IAAI,2CAKd,SAAS,KAAG,YAUd,CAAC;AAEF,eAAO,MAAM,UAAU,2CAKpB,SAAS,KAAG,YAUd,CAAC;AAEF,eAAO,MAAM,YAAY,+DAOtB,iBAAiB,KAAG,YAetB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { Meta, Story } from '@storybook/react';
2
+ import { LinkProps } from '../Link/Link';
3
+ declare const _default: Meta<LinkProps>;
4
+ export default _default;
5
+ export declare const Default: Story<LinkProps>;
6
+ export declare const LinkWithIcon: Story<LinkProps>;
7
+ export declare const InlineLink: Story<LinkProps>;
8
+ //# sourceMappingURL=Link.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Link.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Link/Link.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAK/C,OAAO,EAEL,SAAS,EAEV,MAAM,cAAc,CAAC;;AAItB,wBAIqB;AASrB,eAAO,MAAM,OAAO,kBAAoB,CAAC;AAazC,eAAO,MAAM,YAAY,kBAAgC,CAAC;AAe1D,eAAO,MAAM,UAAU,kBAA8B,CAAC"}
@@ -0,0 +1,9 @@
1
+ export declare const StyledLink: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").LinkTypeMap<{}, "a">>, import("styled-components").DefaultTheme, {
2
+ $isDark: boolean;
3
+ }, never>;
4
+ export declare const StyledInlineLink: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").LinkTypeMap<{}, "a">>, import("styled-components").DefaultTheme, {
5
+ $isDark: boolean;
6
+ }, never>;
7
+ export declare const LinkWithIconContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
8
+ export declare const IconContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
9
+ //# sourceMappingURL=Link.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Link.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Link/Link.styles.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,UAAU;aACZ,OAAO;SAyBjB,CAAC;AAEF,eAAO,MAAM,gBAAgB;aAClB,OAAO;SAWjB,CAAC;AAEF,eAAO,MAAM,qBAAqB,yGAEjC,CAAC;AAEF,eAAO,MAAM,aAAa,yGAIzB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { Link, InlineLink } from './Link';
2
+ export type { LinkProps } from './Link';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Link/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAC1C,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/ioc-common-frontend",
3
- "version": "10.0.1",
4
- "private": false,
3
+ "version": "10.1.0",
5
4
  "repository": {
6
5
  "type": "git",
7
6
  "url": "https://github.com/equinor/ioc-common-frontend"
@@ -178,5 +177,5 @@
178
177
  "publishConfig": {
179
178
  "access": "public"
180
179
  },
181
- "packageManager": "yarn@1.22.19"
180
+ "packageManager": "yarn@3.5.1"
182
181
  }