@kystverket/styrbord 1.1.24 → 1.1.26

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.
@@ -12,6 +12,7 @@ type AriaHidden = Partial<AriaLabel> & {
12
12
  export type AvatarProps = MergeRight<DsAvatarProps, (AriaLabel | AriaHidden) & {
13
13
  'data-size'?: '2xs' | '3xs' | DsAvatarProps['data-size'];
14
14
  'data-color-variant'?: 'base' | 'surface-tinted';
15
+ border?: 'solid' | 'dashed' | 'dotted' | 'double' | 'none';
15
16
  }>;
16
17
  export declare const Avatar: FC<AvatarProps>;
17
18
  export {};
@@ -7,6 +7,8 @@ export declare const Preview: Story;
7
7
  export declare const NoName: Story;
8
8
  export declare const Sizes: Story;
9
9
  export declare const ColorVariants: Story;
10
+ export declare const BorderVariants: Story;
11
+ export declare const CombinedVariants: Story;
10
12
  export declare const ShapeVariants: Story;
11
13
  export declare const WithImage: Story;
12
14
  export declare const InDropdown: Story;
@@ -1,2 +1,2 @@
1
- export declare const iconIdList: readonly ["add_location_alt", "add_location", "add", "adjust", "anchor", "archive", "arrow_back", "arrow_forward", "arrow_right_alt", "article", "calendar_month", "change_history", "chat", "check_circle", "check", "chevron_left", "chevron_right", "circle", "close", "cloud_alert", "cloud_done", "content_copy", "data_table", "delete", "description", "directions_boat", "distance", "domain", "download", "edit_document", "edit_location_alt", "edit_location", "edit_square", "edit", "error", "event", "explore_nearby", "explore", "favorite", "file_map", "file_save", "format_align_center", "format_align_left", "format_align_right", "globe_uk", "inbox", "info", "keyboard_arrow_down", "keyboard_arrow_up", "layers", "lightbulb", "link", "location_chip", "lock", "login", "logout", "mail", "map_pin_heart", "map", "menu", "mode_cool", "more_vert", "move", "numbers", "open_in_new", "pending_actions", "person_add", "person_pin_circle", "person_pin", "person", "pin_drop", "radio_button_checked", "radio_button_unchecked", "sailing", "send", "settings_input_antenna", "settings", "severe_cold", "source_environment", "stylus", "timeline", "video_library", "videocam", "view_list", "warning", "zoom_in_map", "zoom_out_map", "picture_as_pdf", "pan_zoom"];
1
+ export declare const iconIdList: readonly ["add_location_alt", "add_location", "add", "adjust", "anchor", "archive", "arrow_back", "arrow_forward", "arrow_right_alt", "article", "calendar_month", "change_history", "chat", "check_circle", "check", "chevron_left", "chevron_right", "circle", "close", "cloud_alert", "cloud_done", "content_copy", "data_table", "delete", "description", "directions_boat", "distance", "domain", "download", "edit_document", "edit_location_alt", "edit_location", "edit_square", "edit", "error", "event", "explore_nearby", "explore", "favorite", "file_map", "file_save", "format_align_center", "format_align_left", "format_align_right", "globe_uk", "inbox", "info", "keyboard_arrow_down", "keyboard_arrow_up", "layers", "lightbulb", "link", "location_chip", "lock", "login", "logout", "mail", "map_pin_heart", "map", "menu", "mode_cool", "more_vert", "move", "numbers", "open_in_new", "pending_actions", "person_add", "person_pin_circle", "person_pin", "person", "pin_drop", "radio_button_checked", "radio_button_unchecked", "sailing", "save", "send", "settings_input_antenna", "settings", "severe_cold", "source_environment", "stylus", "timeline", "video_library", "videocam", "view_list", "warning", "zoom_in_map", "zoom_out_map", "picture_as_pdf", "pan_zoom"];
2
2
  export type IconId = (typeof iconIdList)[number];
@@ -6,14 +6,6 @@ export type SvgImageProps = {
6
6
  size?: SvgImageSize;
7
7
  className?: string;
8
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
9
  export declare const ImageHais: (props: SvgImageProps) => React.JSX.Element;
18
10
  export declare const ImageAisSat: (props: SvgImageProps) => React.JSX.Element;
19
11
  export declare const ImageDatakatalog: (props: SvgImageProps) => React.JSX.Element;
@@ -58,4 +50,3 @@ export declare const ImageBwNais: (props: SvgImageProps) => React.JSX.Element;
58
50
  export declare const ImageBwOhoi: (props: SvgImageProps) => React.JSX.Element;
59
51
  export declare const ImageBwBoelgevarsel: (props: SvgImageProps) => React.JSX.Element;
60
52
  export declare const ImageBwArcticinfo: (props: SvgImageProps) => React.JSX.Element;
61
- export {};
@@ -1,13 +1,8 @@
1
1
  import type { StoryFn } from '@storybook/react';
2
+ import { SvgImageProps } from './svgImage';
2
3
  declare const meta: {
3
4
  title: string;
4
- component: ({ name, src, "data-color": dataColor, className, ...props }: {
5
- src: string;
6
- name?: string;
7
- 'data-color'?: import("~/main").SvgImageColor;
8
- size?: import("~/main").SvgImageSize;
9
- className?: string;
10
- }) => React.JSX.Element;
5
+ component: (props: SvgImageProps) => React.JSX.Element;
11
6
  decorators: ((Story: import("@storybook/types").PartialStoryFn) => React.JSX.Element)[];
12
7
  tags: string[];
13
8
  argTypes: {};