@kystverket/styrbord 1.1.12 → 1.1.14
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/dist/main.js +46 -32
- package/dist/main.umd.cjs +11 -11
- package/dist/src/components/kystverket/Image/svgImage.d.ts +61 -0
- package/dist/src/components/kystverket/Image/{image.stories.d.ts → svgImage.stories.d.ts} +2 -2
- package/dist/src/main.d.ts +3 -3
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/src/components/kystverket/Image/image.d.ts +0 -61
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
export declare const svgImageColors: readonly ["primary", "info", "accent", "sand", "neutral", "white"];
|
|
2
|
+
export type SvgImageColor = (typeof svgImageColors)[number];
|
|
3
|
+
export type SvgImageSize = number;
|
|
4
|
+
export type SvgImageProps = {
|
|
5
|
+
'data-color'?: SvgImageColor;
|
|
6
|
+
size?: SvgImageSize;
|
|
7
|
+
className?: string;
|
|
8
|
+
};
|
|
9
|
+
type BaseSvgImageProps = {
|
|
10
|
+
src: string;
|
|
11
|
+
name?: string;
|
|
12
|
+
'data-color'?: SvgImageColor;
|
|
13
|
+
size?: SvgImageSize;
|
|
14
|
+
className?: string;
|
|
15
|
+
};
|
|
16
|
+
export declare const SvgImage: ({ name, src, "data-color": dataColor, className, ...props }: BaseSvgImageProps) => React.JSX.Element;
|
|
17
|
+
export declare const ImageHais: (props: SvgImageProps) => React.JSX.Element;
|
|
18
|
+
export declare const ImageAisSat: (props: SvgImageProps) => React.JSX.Element;
|
|
19
|
+
export declare const ImageDatakatalog: (props: SvgImageProps) => React.JSX.Element;
|
|
20
|
+
export declare const ImageArcticInfo: (props: SvgImageProps) => React.JSX.Element;
|
|
21
|
+
export declare const ImageAvgiftskalkulator: (props: SvgImageProps) => React.JSX.Element;
|
|
22
|
+
export declare const ImageBaatfartMarine: (props: SvgImageProps) => React.JSX.Element;
|
|
23
|
+
export declare const ImageBestilleLos: (props: SvgImageProps) => React.JSX.Element;
|
|
24
|
+
export declare const ImageBoelgevarsel: (props: SvgImageProps) => React.JSX.Element;
|
|
25
|
+
export declare const ImageDgps: (props: SvgImageProps) => React.JSX.Element;
|
|
26
|
+
export declare const ImageDigitaleReferanseruter: (props: SvgImageProps) => React.JSX.Element;
|
|
27
|
+
export declare const ImageEDialog: (props: SvgImageProps) => React.JSX.Element;
|
|
28
|
+
export declare const ImageFarledsbevis: (props: SvgImageProps) => React.JSX.Element;
|
|
29
|
+
export declare const ImageSoeknadOmFarledsbevis: (props: SvgImageProps) => React.JSX.Element;
|
|
30
|
+
export declare const ImageHavbase: (props: SvgImageProps) => React.JSX.Element;
|
|
31
|
+
export declare const ImageHavnOgFarvannsloven: (props: SvgImageProps) => React.JSX.Element;
|
|
32
|
+
export declare const ImageIstjeneste: (props: SvgImageProps) => React.JSX.Element;
|
|
33
|
+
export declare const ImageIsmelding: (props: SvgImageProps) => React.JSX.Element;
|
|
34
|
+
export declare const ImageKikkert: (props: SvgImageProps) => React.JSX.Element;
|
|
35
|
+
export declare const ImageKystdatahuset: (props: SvgImageProps) => React.JSX.Element;
|
|
36
|
+
export declare const ImageKystinfoKart: (props: SvgImageProps) => React.JSX.Element;
|
|
37
|
+
export declare const ImageLavutslipp: (props: SvgImageProps) => React.JSX.Element;
|
|
38
|
+
export declare const ImageLrit: (props: SvgImageProps) => React.JSX.Element;
|
|
39
|
+
export declare const ImageNasjonalHavneoversikt: (props: SvgImageProps) => React.JSX.Element;
|
|
40
|
+
export declare const ImageNavigasjonsvarsler: (props: SvgImageProps) => React.JSX.Element;
|
|
41
|
+
export declare const ImageOhoi: (props: SvgImageProps) => React.JSX.Element;
|
|
42
|
+
export declare const ImageRegistrerteSeilaser: (props: SvgImageProps) => React.JSX.Element;
|
|
43
|
+
export declare const ImageSeLosbestilling: (props: SvgImageProps) => React.JSX.Element;
|
|
44
|
+
export declare const ImageSkipsrapportering: (props: SvgImageProps) => React.JSX.Element;
|
|
45
|
+
export declare const ImageDigitaleFyrbesoek: (props: SvgImageProps) => React.JSX.Element;
|
|
46
|
+
export declare const ImageSlukkedeFyrlys: (props: SvgImageProps) => React.JSX.Element;
|
|
47
|
+
export declare const ImageMarU: (props: SvgImageProps) => React.JSX.Element;
|
|
48
|
+
export declare const ImageNavarea: (props: SvgImageProps) => React.JSX.Element;
|
|
49
|
+
export declare const ImageKystreise: (props: SvgImageProps) => React.JSX.Element;
|
|
50
|
+
export declare const ImageMegafon: (props: SvgImageProps) => React.JSX.Element;
|
|
51
|
+
export declare const ImageSafeSeaNet: (props: SvgImageProps) => React.JSX.Element;
|
|
52
|
+
export declare const ImageSelvbetjening: (props: SvgImageProps) => React.JSX.Element;
|
|
53
|
+
export declare const ImageSelvbetjeningRso: (props: SvgImageProps) => React.JSX.Element;
|
|
54
|
+
export declare const ImageNais: (props: SvgImageProps) => React.JSX.Element;
|
|
55
|
+
export declare const ImageKystvaer: (props: SvgImageProps) => React.JSX.Element;
|
|
56
|
+
export declare const ImageForespoerselSendt: (props: SvgImageProps) => React.JSX.Element;
|
|
57
|
+
export declare const ImageBwNais: (props: SvgImageProps) => React.JSX.Element;
|
|
58
|
+
export declare const ImageBwOhoi: (props: SvgImageProps) => React.JSX.Element;
|
|
59
|
+
export declare const ImageBwBoelgevarsel: (props: SvgImageProps) => React.JSX.Element;
|
|
60
|
+
export declare const ImageBwArcticinfo: (props: SvgImageProps) => React.JSX.Element;
|
|
61
|
+
export {};
|
|
@@ -4,8 +4,8 @@ declare const meta: {
|
|
|
4
4
|
component: ({ name, src, "data-color": dataColor, className, ...props }: {
|
|
5
5
|
src: string;
|
|
6
6
|
name?: string;
|
|
7
|
-
'data-color'?: import("~/main").
|
|
8
|
-
size?: import("~/main").
|
|
7
|
+
'data-color'?: import("~/main").SvgImageColor;
|
|
8
|
+
size?: import("~/main").SvgImageSize;
|
|
9
9
|
className?: string;
|
|
10
10
|
}) => React.JSX.Element;
|
|
11
11
|
decorators: ((Story: import("@storybook/types").PartialStoryFn) => React.JSX.Element)[];
|
package/dist/src/main.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export type { StepperProps } from './components/kystverket/Stepper/stepper';
|
|
|
16
16
|
export { default as LabelContent, type LabelContentProps } from './components/kystverket/LabelContent/labelContent';
|
|
17
17
|
export { default as Icon } from './components/kystverket/Icon/icon';
|
|
18
18
|
export type { IconId } from './components/kystverket/Icon/icon.types';
|
|
19
|
-
export * from './components/kystverket/Image/
|
|
19
|
+
export * from './components/kystverket/Image/svgImage';
|
|
20
20
|
export { Body, Accent, Typography } from './components/kystverket/Typography/typography';
|
|
21
21
|
export type { TypographyProps, BodyTypographyProps, AccentTypographyProps, LabelTypographyProps, } from './components/kystverket/Typography/typography';
|
|
22
22
|
export { default as BorderedToggleGroup } from './components/kystverket/BorderedToggleGroup/borderedToggleGroup';
|
|
@@ -58,8 +58,8 @@ export { default as Table } from './components/designsystemet/Table/Table';
|
|
|
58
58
|
export { Avatar } from './components/designsystemet/Avatar/Avatar';
|
|
59
59
|
export type { AvatarProps } from './components/designsystemet/Avatar/Avatar';
|
|
60
60
|
export { EXPERIMENTAL_Suggestion as Suggestion } from '@digdir/designsystemet-react';
|
|
61
|
-
export {
|
|
62
|
-
export type { Size, UseRadioGroupProps, UseCheckboxGroupProps, UsePaginationProps } from '@digdir/designsystemet-react';
|
|
61
|
+
export { RovingFocusItem, RovingFocusRoot, omit, useCheckboxGroup, useDebounceCallback, useIsomorphicLayoutEffect, useMediaQuery, usePagination, useRadioGroup, useSynchronizedAnimation, } from '@digdir/designsystemet-react';
|
|
62
|
+
export type { Size, UseRadioGroupProps, UseCheckboxGroupProps, UsePaginationProps, MergeRight, LabelRequired, } from '@digdir/designsystemet-react';
|
|
63
63
|
export type { BadgePositionProps, BadgeProps } from '@digdir/designsystemet-react';
|
|
64
64
|
export { Badge, BadgePosition } from '@digdir/designsystemet-react';
|
|
65
65
|
export type { BreadcrumbsItemProps, BreadcrumbsLinkProps, BreadcrumbsListProps, BreadcrumbsProps, } from '@digdir/designsystemet-react';
|