@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 CHANGED
@@ -49,6 +49,7 @@ Tilgjengelige komponenter:
49
49
  - List
50
50
  - LocalMessage
51
51
  - Pagination
52
+ - Popover
52
53
  - RadioButton
53
54
  - Search
54
55
  - Select
@@ -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,2 @@
1
+ import { SvgChevronProps } from './AnimatedChevronUpDown.styles';
2
+ export declare const AnimatedChevronUpDown: ({ isUp }: SvgChevronProps) => 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';