@norges-domstoler/dds-components 0.0.24 → 0.0.25
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 -0
- package/dist/components/Card/Card.d.ts +1 -1
- package/dist/components/Spinner/Spinner.d.ts +3 -2
- package/dist/helpers/Chevron/AnimatedChevronUpDown.d.ts +2 -0
- package/dist/helpers/Chevron/AnimatedChevronUpDown.styles.d.ts +7 -0
- package/dist/helpers/Chevron/index.d.ts +1 -0
- package/dist/index.es.js +205 -158
- package/dist/index.js +205 -158
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AnchorHTMLAttributes, HTMLAttributes } from 'react';
|
|
2
2
|
export declare type CardColor = 'filledDark' | 'filledLight' | 'strokeDark' | 'strokeLight';
|
|
3
|
-
export declare type CardType = 'info' | 'navigation';
|
|
3
|
+
export declare type CardType = 'info' | 'navigation' | 'expandable';
|
|
4
4
|
export declare type CardProps = {
|
|
5
5
|
color?: CardColor;
|
|
6
6
|
cardType?: CardType;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
1
2
|
import * as CSS from 'csstype';
|
|
2
3
|
import { TextColor } from '../Typography';
|
|
3
4
|
export declare type SpinnerProps = {
|
|
4
5
|
color?: TextColor | string;
|
|
5
6
|
size?: CSS.WidthProperty<string>;
|
|
6
|
-
}
|
|
7
|
-
export declare function Spinner({ size, color }: SpinnerProps): JSX.Element;
|
|
7
|
+
} & HTMLAttributes<SVGElement>;
|
|
8
|
+
export declare function Spinner({ size, color, ...rest }: SpinnerProps): JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare type SvgChevronProps = {
|
|
2
|
+
isUp?: boolean;
|
|
3
|
+
};
|
|
4
|
+
export declare const SvgChevron: import("styled-components").StyledComponent<"svg", any, SvgChevronProps, never>;
|
|
5
|
+
export declare const SvgChevronlGroup: import("styled-components").StyledComponent<"g", any, SvgChevronProps, never>;
|
|
6
|
+
export declare const SvgChevronlLeft: import("styled-components").StyledComponent<"path", any, SvgChevronProps, never>;
|
|
7
|
+
export declare const SvgChevronlRight: import("styled-components").StyledComponent<"path", any, SvgChevronProps, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './AnimatedChevronUpDown';
|