@norges-domstoler/dds-components 0.0.19 → 0.0.23
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/README.md +74 -61
- package/dist/components/InternalHeader/InternalHeader.d.ts +2 -0
- package/dist/components/InternalHeader/InternalHeader.styles.d.ts +28 -0
- package/dist/components/InternalHeader/InternalHeader.tokens.d.ts +58 -0
- package/dist/components/InternalHeader/InternalHeader.types.d.ts +26 -0
- package/dist/components/InternalHeader/index.d.ts +2 -0
- package/dist/components/Select/Select.d.ts +6 -4
- package/dist/components/Select/Select.styles.d.ts +3 -2
- package/dist/components/SkipToContent/SkipToContent.d.ts +12 -0
- package/dist/components/SkipToContent/SkipToContent.tokens.d.ts +13 -0
- package/dist/components/SkipToContent/index.d.ts +1 -0
- package/dist/components/Table/SortCell.d.ts +5 -2
- package/dist/components/Table/tableData.d.ts +1 -1
- package/dist/index.css +60 -60
- package/dist/index.d.ts +2 -0
- package/dist/index.es.css +60 -60
- package/dist/index.es.js +1976 -1562
- package/dist/index.js +1978 -1562
- package/dist/styles/fontStyles.css +60 -60
- package/package.json +107 -108
package/README.md
CHANGED
|
@@ -1,61 +1,74 @@
|
|
|
1
|
-
# @norges-domstoler/dds-components
|
|
2
|
-
|
|
3
|
-
[](https://www.npmjs.com/package/@norges-domstoler/dds-components)
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
import
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
<
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
);
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
-
|
|
42
|
-
-
|
|
43
|
-
-
|
|
44
|
-
- DescriptionList
|
|
45
|
-
- Divider
|
|
46
|
-
- GlobalMessage
|
|
47
|
-
- IconWrapper
|
|
48
|
-
-
|
|
49
|
-
-
|
|
50
|
-
-
|
|
51
|
-
-
|
|
52
|
-
-
|
|
53
|
-
-
|
|
54
|
-
-
|
|
55
|
-
-
|
|
56
|
-
-
|
|
57
|
-
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
1
|
+
# @norges-domstoler/dds-components
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/@norges-domstoler/dds-components)
|
|
4
|
+
|
|
5
|
+
React UI komponenter til bruk i Domstolenes tjenester.
|
|
6
|
+
|
|
7
|
+
Sjekk ut [Domstolenes designsystem Elsa](https://design.domstol.no/) og [Storybook](https://domstolene.github.io/designsystem) for mer dokumentasjon og demoer.
|
|
8
|
+
|
|
9
|
+
## Installasjon
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
npm install @norges-domstoler/dds-components
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Bruk
|
|
16
|
+
|
|
17
|
+
```js
|
|
18
|
+
import * as React from 'react';
|
|
19
|
+
import { render } from 'react-dom';
|
|
20
|
+
import { Button, TextInput } from '@norges-domstoler/dds-components';
|
|
21
|
+
|
|
22
|
+
const App = () => (
|
|
23
|
+
<>
|
|
24
|
+
<TextInput label="Input" />
|
|
25
|
+
<Button label="Primary" />
|
|
26
|
+
<Button purpose="secondary" appearance="ghost" label="Secondary" />
|
|
27
|
+
</>
|
|
28
|
+
);
|
|
29
|
+
|
|
30
|
+
render(<App />, document.getElementById('root'));
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Komponenter
|
|
34
|
+
|
|
35
|
+
Sjekk [komponentstatus](https://design.domstol.no/987b33f71/p/438035-komponenter/b/160db9) for oppdatert status.
|
|
36
|
+
|
|
37
|
+
Tilgjengelige komponenter:
|
|
38
|
+
|
|
39
|
+
- Breadcrumbs
|
|
40
|
+
- Button
|
|
41
|
+
- Card (inkludert CardAccordion)
|
|
42
|
+
- Checkbox
|
|
43
|
+
- Datepicker
|
|
44
|
+
- DescriptionList
|
|
45
|
+
- Divider
|
|
46
|
+
- GlobalMessage
|
|
47
|
+
- IconWrapper
|
|
48
|
+
- InternaHeader
|
|
49
|
+
- List
|
|
50
|
+
- LocalMessage
|
|
51
|
+
- Pagination
|
|
52
|
+
- RadioButton
|
|
53
|
+
- Search
|
|
54
|
+
- Select
|
|
55
|
+
- SkipToContent
|
|
56
|
+
- Spinner
|
|
57
|
+
- Table
|
|
58
|
+
- TextInput
|
|
59
|
+
- Typography
|
|
60
|
+
|
|
61
|
+
## Release av ny versjon
|
|
62
|
+
|
|
63
|
+
Det brukes en egen workflow for release av ny versjon av `@norges-domstoler/dds-components` som kjører på publisering av ny github release. Her brukes `npm publish` for å publisere en ny versjon av pakken til npm sitt pakkeregister, hvor det nye versjonsnummeret leses fra `package.json`. For å lage en ny release gjøres følgende:
|
|
64
|
+
|
|
65
|
+
1. Versjonsnummeret i `package.json` må oppdateres manuelt med en egen commit i forkant av publisering av ny github release.
|
|
66
|
+
|
|
67
|
+
2. Lag en ny release på github med _release tag = versjonsnummer_ for best mulig oversikt, og legg ved en passende beskrivelse av hva som er nytt i denne versjonen. Publiser så releasen når alt er klart.
|
|
68
|
+
Man kan også lage en Draft-release i forkant, og publisere denne releasen når alt som skal være med er merget inn i master.
|
|
69
|
+
|
|
70
|
+
For versjonering brukes [_semantisk versjonering_](https://semver.org/) for å holde ting organisert og for å enkelt kommunisere utviklingsløpet til pakken.
|
|
71
|
+
|
|
72
|
+
## For bidragsytere
|
|
73
|
+
|
|
74
|
+
Sjekk ut [guiden for bidragsytere](https://design.domstol.no/987b33f71/p/34c962-bidra/b/3611d5).
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { InternalHeaderProps } from './InternalHeader.types';
|
|
2
|
+
import { IconWrapper } from '../../helpers/IconWrapper';
|
|
3
|
+
export declare const Wrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const BannerWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export declare const BannerLeftWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
+
export declare const ApplicationNameWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
|
+
export declare const LovisaWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
|
+
export declare const Navigation: import("styled-components").StyledComponent<"nav", any, {}, never>;
|
|
9
|
+
declare type NavListProps = Pick<InternalHeaderProps, 'smallScreen'>;
|
|
10
|
+
export declare const NavigationList: import("styled-components").StyledComponent<"ul", any, NavListProps, never>;
|
|
11
|
+
export declare const NavigationListItem: import("styled-components").StyledComponent<"li", any, {}, never>;
|
|
12
|
+
declare type StyledNavigationListProps = {
|
|
13
|
+
isCurrent?: boolean;
|
|
14
|
+
};
|
|
15
|
+
export declare const NavigationLink: import("styled-components").StyledComponent<"a", any, StyledNavigationListProps, never>;
|
|
16
|
+
declare type ContextMenuWrapperProps = {
|
|
17
|
+
closed?: boolean;
|
|
18
|
+
};
|
|
19
|
+
export declare const ContextMenuWrapper: import("styled-components").StyledComponent<"div", any, ContextMenuWrapperProps, never>;
|
|
20
|
+
export declare const ContextMenuList: import("styled-components").StyledComponent<"ul", any, {}, never>;
|
|
21
|
+
export declare const ContextMenuListItem: import("styled-components").StyledComponent<"li", any, {}, never>;
|
|
22
|
+
export declare const ContextMenuElement: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
23
|
+
export declare const ContextMenuLink: import("styled-components").StyledComponent<"a", any, {}, never>;
|
|
24
|
+
export declare const StyledDivider: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<{
|
|
25
|
+
color?: import("../Divider").DividerColor | undefined;
|
|
26
|
+
} & import("react").HTMLAttributes<HTMLHRElement> & import("react").RefAttributes<HTMLHRElement>>, any, {}, never>;
|
|
27
|
+
export declare const StyledIconWrapper: import("styled-components").StyledComponent<typeof IconWrapper, any, {}, never>;
|
|
28
|
+
export {};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { CSSObject } from 'styled-components';
|
|
2
|
+
export declare const internalHeaderTokens: {
|
|
3
|
+
wrapper: {
|
|
4
|
+
base: CSSObject;
|
|
5
|
+
};
|
|
6
|
+
applicationNameWrapper: {
|
|
7
|
+
base: CSSObject;
|
|
8
|
+
};
|
|
9
|
+
lovisaWrapper: {
|
|
10
|
+
base: CSSObject;
|
|
11
|
+
};
|
|
12
|
+
banner: {
|
|
13
|
+
base: CSSObject;
|
|
14
|
+
};
|
|
15
|
+
bannerLeft: {
|
|
16
|
+
base: CSSObject;
|
|
17
|
+
};
|
|
18
|
+
navigation: {
|
|
19
|
+
base: CSSObject;
|
|
20
|
+
};
|
|
21
|
+
navigationLink: {
|
|
22
|
+
base: CSSObject;
|
|
23
|
+
hover: {
|
|
24
|
+
base: CSSObject;
|
|
25
|
+
};
|
|
26
|
+
active: {
|
|
27
|
+
base: CSSObject;
|
|
28
|
+
};
|
|
29
|
+
focus: {
|
|
30
|
+
base: CSSObject;
|
|
31
|
+
};
|
|
32
|
+
current: {
|
|
33
|
+
base: CSSObject;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
contextMenu: {
|
|
37
|
+
base: CSSObject;
|
|
38
|
+
spaceFromButtonTop: string;
|
|
39
|
+
};
|
|
40
|
+
contextMenuLink: {
|
|
41
|
+
base: CSSObject;
|
|
42
|
+
hover: {
|
|
43
|
+
base: CSSObject;
|
|
44
|
+
};
|
|
45
|
+
active: {
|
|
46
|
+
base: CSSObject;
|
|
47
|
+
};
|
|
48
|
+
focus: {
|
|
49
|
+
base: CSSObject;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
contextMenuDivider: {
|
|
53
|
+
base: CSSObject;
|
|
54
|
+
};
|
|
55
|
+
icon: {
|
|
56
|
+
base: CSSObject;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { OverridableComponent } from '@material-ui/core/OverridableComponent';
|
|
2
|
+
import { SvgIconTypeMap } from '@material-ui/core/SvgIcon';
|
|
3
|
+
import { AnchorHTMLAttributes, ButtonHTMLAttributes, HTMLAttributes } from 'react';
|
|
4
|
+
export declare type NavigationLinkProps = {
|
|
5
|
+
href: string;
|
|
6
|
+
title: string;
|
|
7
|
+
} & AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
8
|
+
export declare type ContextMenuElementProps = {
|
|
9
|
+
title: string;
|
|
10
|
+
href?: string;
|
|
11
|
+
Icon?: OverridableComponent<SvgIconTypeMap<Record<string, unknown>, 'svg'>>;
|
|
12
|
+
onClick?: () => void;
|
|
13
|
+
} & (AnchorHTMLAttributes<HTMLAnchorElement> | ButtonHTMLAttributes<HTMLButtonElement>);
|
|
14
|
+
export declare type InternaHeaderUserProps = {
|
|
15
|
+
name: string;
|
|
16
|
+
href?: string;
|
|
17
|
+
};
|
|
18
|
+
export declare type InternalHeaderProps = {
|
|
19
|
+
applicationName?: string;
|
|
20
|
+
smallScreen?: boolean;
|
|
21
|
+
userProps?: InternaHeaderUserProps;
|
|
22
|
+
navigationElements?: NavigationLinkProps[];
|
|
23
|
+
contextMenuElements?: ContextMenuElementProps[];
|
|
24
|
+
currentPageHref?: string;
|
|
25
|
+
onCurrentPageChange?: () => void;
|
|
26
|
+
} & HTMLAttributes<HTMLDivElement>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as CSS from 'csstype';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { GroupBase, Props as ReactSelectProps, SelectInstance } from 'react-select';
|
|
4
4
|
export declare function searchFilter(text: string, search: string): boolean;
|
|
5
5
|
export declare type SelectOption = {
|
|
6
6
|
label: string;
|
|
7
7
|
value: string | number;
|
|
8
8
|
data?: unknown;
|
|
9
9
|
};
|
|
10
|
-
export declare type SelectProps = {
|
|
10
|
+
export declare type SelectProps<IsMulti extends boolean> = {
|
|
11
11
|
label?: string;
|
|
12
12
|
required?: boolean;
|
|
13
13
|
readOnly?: boolean;
|
|
@@ -16,5 +16,7 @@ export declare type SelectProps = {
|
|
|
16
16
|
width?: CSS.WidthProperty<string>;
|
|
17
17
|
className?: string;
|
|
18
18
|
style?: React.CSSProperties;
|
|
19
|
-
} & ReactSelectProps<SelectOption
|
|
20
|
-
|
|
19
|
+
} & ReactSelectProps<SelectOption, IsMulti, GroupBase<SelectOption>>;
|
|
20
|
+
declare type ForwardRefType<IsMulti extends boolean> = React.ForwardedRef<SelectInstance<SelectOption, IsMulti, GroupBase<SelectOption>>>;
|
|
21
|
+
export declare const Select: <IsMulti extends boolean = false>({ id, label, errorMessage, tip, required, readOnly, options, isMulti, value, defaultValue, width, closeMenuOnSelect, className, style, isDisabled, isClearable, placeholder, ...rest }: SelectProps<IsMulti>, ref: ForwardRefType<IsMulti>) => JSX.Element;
|
|
22
|
+
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GroupBase, StylesConfig } from 'react-select';
|
|
2
2
|
import { IconWrapper } from '../../helpers/IconWrapper';
|
|
3
|
+
import { SelectOption } from './Select';
|
|
3
4
|
export declare const prefix = "dds-select";
|
|
4
5
|
export declare const Label: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../Typography").TypographyProps & import("react").RefAttributes<HTMLElement>>, any, {}, never>;
|
|
5
6
|
declare type StyledContainerProps = {
|
|
@@ -14,5 +15,5 @@ export declare const Wrapper: import("styled-components").StyledComponent<"div",
|
|
|
14
15
|
width?: string | number | undefined;
|
|
15
16
|
}, never>;
|
|
16
17
|
export declare const SelectedIconWrapper: import("styled-components").StyledComponent<typeof IconWrapper, any, {}, never>;
|
|
17
|
-
export declare const CustomStyles: Partial<
|
|
18
|
+
export declare const CustomStyles: Partial<StylesConfig<SelectOption, boolean, GroupBase<SelectOption>>>;
|
|
18
19
|
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
import * as CSS from 'csstype';
|
|
3
|
+
export declare type SkipToContentProps = {
|
|
4
|
+
text?: string;
|
|
5
|
+
href: string;
|
|
6
|
+
top?: CSS.TopProperty<string | number>;
|
|
7
|
+
} & HTMLAttributes<HTMLAnchorElement>;
|
|
8
|
+
export declare const SkipToContent: import("react").ForwardRefExoticComponent<{
|
|
9
|
+
text?: string | undefined;
|
|
10
|
+
href: string;
|
|
11
|
+
top?: CSS.TopProperty<string | number> | undefined;
|
|
12
|
+
} & HTMLAttributes<HTMLAnchorElement> & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SkipToContent';
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
+
import { MouseEvent } from 'react';
|
|
1
2
|
import { TableCellProps } from './Cell';
|
|
2
|
-
export declare type SortOrder = 'ascending' | 'descending'
|
|
3
|
+
export declare type SortOrder = 'ascending' | 'descending';
|
|
3
4
|
export declare type SortCellProps = {
|
|
4
5
|
isSorted?: boolean;
|
|
5
6
|
sortOrder?: SortOrder;
|
|
7
|
+
onClick: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
6
8
|
} & Omit<TableCellProps, 'type'>;
|
|
7
9
|
export declare const SortCell: import("react").ForwardRefExoticComponent<{
|
|
8
10
|
isSorted?: boolean | undefined;
|
|
9
11
|
sortOrder?: SortOrder | undefined;
|
|
10
|
-
|
|
12
|
+
onClick: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
13
|
+
} & Omit<TableCellProps, "type"> & import("react").RefAttributes<HTMLTableCellElement>>;
|
package/dist/index.css
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
@font-face {
|
|
2
|
-
font-family: IBM Plex Sans;
|
|
3
|
-
font-style: normal;
|
|
4
|
-
font-weight: 400;
|
|
5
|
-
font-display: swap;
|
|
6
|
-
src: local('IBM Plex Sans'), local('IBMPlexSans'),
|
|
7
|
-
url('../assets/fonts/IBMPlexSans-Regular.woff2') format('woff2'),
|
|
8
|
-
url('../assets/fonts/IBMPlexSans-Regular.woff') format('woff');
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
@font-face {
|
|
12
|
-
font-family: IBM Plex Sans;
|
|
13
|
-
font-style: italic;
|
|
14
|
-
font-weight: 400;
|
|
15
|
-
font-display: swap;
|
|
16
|
-
src: local('IBM Plex Sans Italic'), local('IBMPlexSans-Italic'),
|
|
17
|
-
url('../assets/fonts/IBMPlexSans-Italic.woff2') format('woff2'),
|
|
18
|
-
url('../assets/fonts/IBMPlexSans-Italic.woff') format('woff');
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
@font-face {
|
|
22
|
-
font-family: IBM Plex Sans;
|
|
23
|
-
font-style: normal;
|
|
24
|
-
font-weight: 300;
|
|
25
|
-
font-display: swap;
|
|
26
|
-
src: local('IBM Plex Sans Light'), local('IBMPlexSans-Light'),
|
|
27
|
-
url('../assets/fonts/IBMPlexSans-Light.woff2') format('woff2'),
|
|
28
|
-
url('../assets/fonts/IBMPlexSans-Light.woff') format('woff');
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
@font-face {
|
|
32
|
-
font-family: IBM Plex Sans;
|
|
33
|
-
font-style: italic;
|
|
34
|
-
font-weight: 300;
|
|
35
|
-
font-display: swap;
|
|
36
|
-
src: local('IBM Plex Sans Light Italic'), local('IBMPlexSans-LightItalic'),
|
|
37
|
-
url('../assets/fonts/IBMPlexSans-LightItalic.woff2') format('woff2'),
|
|
38
|
-
url('../assets/fonts/IBMPlexSans-LightItalic.woff') format('woff');
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
@font-face {
|
|
42
|
-
font-family: IBM Plex Sans;
|
|
43
|
-
font-style: normal;
|
|
44
|
-
font-weight: 600;
|
|
45
|
-
font-display: swap;
|
|
46
|
-
src: local('IBM Plex Sans SemiBold'), local('IBMPlexSans-SemiBold'),
|
|
47
|
-
url('../assets/fonts/IBMPlexSans-SemiBold.woff2') format('woff2'),
|
|
48
|
-
url('../assets/fonts/IBMPlexSans-SemiBold.woff') format('woff');
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
@font-face {
|
|
52
|
-
font-family: IBM Plex Sans;
|
|
53
|
-
font-style: italic;
|
|
54
|
-
font-weight: 600;
|
|
55
|
-
font-display: swap;
|
|
56
|
-
src: local('IBM Plex Sans SemiBold Italic'),
|
|
57
|
-
local('IBMPlexSans-SemiBoldItalic'),
|
|
58
|
-
url('../assets/fonts/IBMPlexSans-SemiBoldItalic.woff2') format('woff2'),
|
|
59
|
-
url('../assets/fonts/IBMPlexSans-SemiBoldItalic.woff') format('woff');
|
|
60
|
-
}
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: IBM Plex Sans;
|
|
3
|
+
font-style: normal;
|
|
4
|
+
font-weight: 400;
|
|
5
|
+
font-display: swap;
|
|
6
|
+
src: local('IBM Plex Sans'), local('IBMPlexSans'),
|
|
7
|
+
url('../assets/fonts/IBMPlexSans-Regular.woff2') format('woff2'),
|
|
8
|
+
url('../assets/fonts/IBMPlexSans-Regular.woff') format('woff');
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@font-face {
|
|
12
|
+
font-family: IBM Plex Sans;
|
|
13
|
+
font-style: italic;
|
|
14
|
+
font-weight: 400;
|
|
15
|
+
font-display: swap;
|
|
16
|
+
src: local('IBM Plex Sans Italic'), local('IBMPlexSans-Italic'),
|
|
17
|
+
url('../assets/fonts/IBMPlexSans-Italic.woff2') format('woff2'),
|
|
18
|
+
url('../assets/fonts/IBMPlexSans-Italic.woff') format('woff');
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@font-face {
|
|
22
|
+
font-family: IBM Plex Sans;
|
|
23
|
+
font-style: normal;
|
|
24
|
+
font-weight: 300;
|
|
25
|
+
font-display: swap;
|
|
26
|
+
src: local('IBM Plex Sans Light'), local('IBMPlexSans-Light'),
|
|
27
|
+
url('../assets/fonts/IBMPlexSans-Light.woff2') format('woff2'),
|
|
28
|
+
url('../assets/fonts/IBMPlexSans-Light.woff') format('woff');
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@font-face {
|
|
32
|
+
font-family: IBM Plex Sans;
|
|
33
|
+
font-style: italic;
|
|
34
|
+
font-weight: 300;
|
|
35
|
+
font-display: swap;
|
|
36
|
+
src: local('IBM Plex Sans Light Italic'), local('IBMPlexSans-LightItalic'),
|
|
37
|
+
url('../assets/fonts/IBMPlexSans-LightItalic.woff2') format('woff2'),
|
|
38
|
+
url('../assets/fonts/IBMPlexSans-LightItalic.woff') format('woff');
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@font-face {
|
|
42
|
+
font-family: IBM Plex Sans;
|
|
43
|
+
font-style: normal;
|
|
44
|
+
font-weight: 600;
|
|
45
|
+
font-display: swap;
|
|
46
|
+
src: local('IBM Plex Sans SemiBold'), local('IBMPlexSans-SemiBold'),
|
|
47
|
+
url('../assets/fonts/IBMPlexSans-SemiBold.woff2') format('woff2'),
|
|
48
|
+
url('../assets/fonts/IBMPlexSans-SemiBold.woff') format('woff');
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@font-face {
|
|
52
|
+
font-family: IBM Plex Sans;
|
|
53
|
+
font-style: italic;
|
|
54
|
+
font-weight: 600;
|
|
55
|
+
font-display: swap;
|
|
56
|
+
src: local('IBM Plex Sans SemiBold Italic'),
|
|
57
|
+
local('IBMPlexSans-SemiBoldItalic'),
|
|
58
|
+
url('../assets/fonts/IBMPlexSans-SemiBoldItalic.woff2') format('woff2'),
|
|
59
|
+
url('../assets/fonts/IBMPlexSans-SemiBoldItalic.woff') format('woff');
|
|
60
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -18,4 +18,6 @@ export * from './components/List';
|
|
|
18
18
|
export * from './components/DescriptionList';
|
|
19
19
|
export * from './components/Spinner';
|
|
20
20
|
export * from './components/Card';
|
|
21
|
+
export * from './components/InternalHeader';
|
|
21
22
|
export * from './components/Datepicker';
|
|
23
|
+
export * from './components/SkipToContent';
|
package/dist/index.es.css
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
@font-face {
|
|
2
|
-
font-family: IBM Plex Sans;
|
|
3
|
-
font-style: normal;
|
|
4
|
-
font-weight: 400;
|
|
5
|
-
font-display: swap;
|
|
6
|
-
src: local('IBM Plex Sans'), local('IBMPlexSans'),
|
|
7
|
-
url('../assets/fonts/IBMPlexSans-Regular.woff2') format('woff2'),
|
|
8
|
-
url('../assets/fonts/IBMPlexSans-Regular.woff') format('woff');
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
@font-face {
|
|
12
|
-
font-family: IBM Plex Sans;
|
|
13
|
-
font-style: italic;
|
|
14
|
-
font-weight: 400;
|
|
15
|
-
font-display: swap;
|
|
16
|
-
src: local('IBM Plex Sans Italic'), local('IBMPlexSans-Italic'),
|
|
17
|
-
url('../assets/fonts/IBMPlexSans-Italic.woff2') format('woff2'),
|
|
18
|
-
url('../assets/fonts/IBMPlexSans-Italic.woff') format('woff');
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
@font-face {
|
|
22
|
-
font-family: IBM Plex Sans;
|
|
23
|
-
font-style: normal;
|
|
24
|
-
font-weight: 300;
|
|
25
|
-
font-display: swap;
|
|
26
|
-
src: local('IBM Plex Sans Light'), local('IBMPlexSans-Light'),
|
|
27
|
-
url('../assets/fonts/IBMPlexSans-Light.woff2') format('woff2'),
|
|
28
|
-
url('../assets/fonts/IBMPlexSans-Light.woff') format('woff');
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
@font-face {
|
|
32
|
-
font-family: IBM Plex Sans;
|
|
33
|
-
font-style: italic;
|
|
34
|
-
font-weight: 300;
|
|
35
|
-
font-display: swap;
|
|
36
|
-
src: local('IBM Plex Sans Light Italic'), local('IBMPlexSans-LightItalic'),
|
|
37
|
-
url('../assets/fonts/IBMPlexSans-LightItalic.woff2') format('woff2'),
|
|
38
|
-
url('../assets/fonts/IBMPlexSans-LightItalic.woff') format('woff');
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
@font-face {
|
|
42
|
-
font-family: IBM Plex Sans;
|
|
43
|
-
font-style: normal;
|
|
44
|
-
font-weight: 600;
|
|
45
|
-
font-display: swap;
|
|
46
|
-
src: local('IBM Plex Sans SemiBold'), local('IBMPlexSans-SemiBold'),
|
|
47
|
-
url('../assets/fonts/IBMPlexSans-SemiBold.woff2') format('woff2'),
|
|
48
|
-
url('../assets/fonts/IBMPlexSans-SemiBold.woff') format('woff');
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
@font-face {
|
|
52
|
-
font-family: IBM Plex Sans;
|
|
53
|
-
font-style: italic;
|
|
54
|
-
font-weight: 600;
|
|
55
|
-
font-display: swap;
|
|
56
|
-
src: local('IBM Plex Sans SemiBold Italic'),
|
|
57
|
-
local('IBMPlexSans-SemiBoldItalic'),
|
|
58
|
-
url('../assets/fonts/IBMPlexSans-SemiBoldItalic.woff2') format('woff2'),
|
|
59
|
-
url('../assets/fonts/IBMPlexSans-SemiBoldItalic.woff') format('woff');
|
|
60
|
-
}
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: IBM Plex Sans;
|
|
3
|
+
font-style: normal;
|
|
4
|
+
font-weight: 400;
|
|
5
|
+
font-display: swap;
|
|
6
|
+
src: local('IBM Plex Sans'), local('IBMPlexSans'),
|
|
7
|
+
url('../assets/fonts/IBMPlexSans-Regular.woff2') format('woff2'),
|
|
8
|
+
url('../assets/fonts/IBMPlexSans-Regular.woff') format('woff');
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@font-face {
|
|
12
|
+
font-family: IBM Plex Sans;
|
|
13
|
+
font-style: italic;
|
|
14
|
+
font-weight: 400;
|
|
15
|
+
font-display: swap;
|
|
16
|
+
src: local('IBM Plex Sans Italic'), local('IBMPlexSans-Italic'),
|
|
17
|
+
url('../assets/fonts/IBMPlexSans-Italic.woff2') format('woff2'),
|
|
18
|
+
url('../assets/fonts/IBMPlexSans-Italic.woff') format('woff');
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@font-face {
|
|
22
|
+
font-family: IBM Plex Sans;
|
|
23
|
+
font-style: normal;
|
|
24
|
+
font-weight: 300;
|
|
25
|
+
font-display: swap;
|
|
26
|
+
src: local('IBM Plex Sans Light'), local('IBMPlexSans-Light'),
|
|
27
|
+
url('../assets/fonts/IBMPlexSans-Light.woff2') format('woff2'),
|
|
28
|
+
url('../assets/fonts/IBMPlexSans-Light.woff') format('woff');
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@font-face {
|
|
32
|
+
font-family: IBM Plex Sans;
|
|
33
|
+
font-style: italic;
|
|
34
|
+
font-weight: 300;
|
|
35
|
+
font-display: swap;
|
|
36
|
+
src: local('IBM Plex Sans Light Italic'), local('IBMPlexSans-LightItalic'),
|
|
37
|
+
url('../assets/fonts/IBMPlexSans-LightItalic.woff2') format('woff2'),
|
|
38
|
+
url('../assets/fonts/IBMPlexSans-LightItalic.woff') format('woff');
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@font-face {
|
|
42
|
+
font-family: IBM Plex Sans;
|
|
43
|
+
font-style: normal;
|
|
44
|
+
font-weight: 600;
|
|
45
|
+
font-display: swap;
|
|
46
|
+
src: local('IBM Plex Sans SemiBold'), local('IBMPlexSans-SemiBold'),
|
|
47
|
+
url('../assets/fonts/IBMPlexSans-SemiBold.woff2') format('woff2'),
|
|
48
|
+
url('../assets/fonts/IBMPlexSans-SemiBold.woff') format('woff');
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@font-face {
|
|
52
|
+
font-family: IBM Plex Sans;
|
|
53
|
+
font-style: italic;
|
|
54
|
+
font-weight: 600;
|
|
55
|
+
font-display: swap;
|
|
56
|
+
src: local('IBM Plex Sans SemiBold Italic'),
|
|
57
|
+
local('IBMPlexSans-SemiBoldItalic'),
|
|
58
|
+
url('../assets/fonts/IBMPlexSans-SemiBoldItalic.woff2') format('woff2'),
|
|
59
|
+
url('../assets/fonts/IBMPlexSans-SemiBoldItalic.woff') format('woff');
|
|
60
|
+
}
|