@norges-domstoler/dds-components 0.0.20 → 0.0.21
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 +1 -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/index.d.ts +1 -0
- package/dist/index.es.js +773 -710
- package/dist/index.js +773 -709
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@norges-domstoler/dds-components)
|
|
4
4
|
|
|
5
|
-
_biblioteket er under arbeid_
|
|
6
|
-
|
|
7
5
|
React UI komponenter til bruk i Domstolenes tjenester.
|
|
8
6
|
|
|
9
7
|
Sjekk ut [Domstolenes designsystem Elsa](https://design.domstol.no/) og [Storybook](https://domstolene.github.io/designsystem) for mer dokumentasjon og demoer.
|
|
@@ -54,6 +52,7 @@ Tilgjengelige komponenter:
|
|
|
54
52
|
- RadioButton
|
|
55
53
|
- Search
|
|
56
54
|
- Select
|
|
55
|
+
- SkipToContent
|
|
57
56
|
- Spinner
|
|
58
57
|
- Table
|
|
59
58
|
- TextInput
|
|
@@ -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';
|
package/dist/index.d.ts
CHANGED