@kystverket/styrbord 1.7.3 → 1.8.1
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/src/components/designsystemet/Checkbox/Checkbox.stories.d.ts +5 -0
- package/dist/src/components/kystverket/FilePreviewer/FilePreviewer.types.d.ts +5 -1
- package/dist/src/components/kystverket/Icon/icon.types.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/style.js +1221 -1187
- package/dist/style.umd.cjs +7 -7
- package/package.json +3 -3
|
@@ -17,6 +17,7 @@ export declare const WithError: {
|
|
|
17
17
|
value?: string[] | undefined;
|
|
18
18
|
required?: boolean | undefined;
|
|
19
19
|
onChange?: ((nextValue: string[], currentValue: string[]) => void) | undefined;
|
|
20
|
+
variant?: "outline" | undefined;
|
|
20
21
|
};
|
|
21
22
|
};
|
|
22
23
|
export declare const Controlled: StoryFn<UseCheckboxGroupProps>;
|
|
@@ -29,6 +30,7 @@ export declare const ReadOnly: {
|
|
|
29
30
|
value?: string[] | undefined;
|
|
30
31
|
required?: boolean | undefined;
|
|
31
32
|
onChange?: ((nextValue: string[], currentValue: string[]) => void) | undefined;
|
|
33
|
+
variant?: "outline" | undefined;
|
|
32
34
|
};
|
|
33
35
|
render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, UseCheckboxGroupProps>;
|
|
34
36
|
};
|
|
@@ -349,6 +351,7 @@ export declare const Disabled: {
|
|
|
349
351
|
description?: React.ReactNode;
|
|
350
352
|
value?: string | number | readonly string[] | undefined;
|
|
351
353
|
error?: React.ReactNode;
|
|
354
|
+
variant?: "outline" | undefined;
|
|
352
355
|
'aria-labelledby'?: never | undefined;
|
|
353
356
|
ref?: React.Ref<HTMLInputElement> | undefined;
|
|
354
357
|
key?: React.Key | null | undefined;
|
|
@@ -665,6 +668,7 @@ export declare const Disabled: {
|
|
|
665
668
|
description?: React.ReactNode;
|
|
666
669
|
value?: string | number | readonly string[] | undefined;
|
|
667
670
|
error?: React.ReactNode;
|
|
671
|
+
variant?: "outline" | undefined;
|
|
668
672
|
'aria-labelledby'?: never | undefined;
|
|
669
673
|
ref?: React.Ref<HTMLInputElement> | undefined;
|
|
670
674
|
key?: React.Key | null | undefined;
|
|
@@ -981,6 +985,7 @@ export declare const Disabled: {
|
|
|
981
985
|
description?: React.ReactNode;
|
|
982
986
|
value?: string | number | readonly string[] | undefined;
|
|
983
987
|
error?: React.ReactNode;
|
|
988
|
+
variant?: "outline" | undefined;
|
|
984
989
|
'aria-labelledby'?: string | undefined;
|
|
985
990
|
ref?: React.Ref<HTMLInputElement> | undefined;
|
|
986
991
|
key?: React.Key | null | undefined;
|
|
@@ -8,7 +8,7 @@ export type FileInfo = {
|
|
|
8
8
|
/** @deprecated Use `fileSizeInBytes` instead. */
|
|
9
9
|
fileSize?: string;
|
|
10
10
|
buttons?: ButtonOptions;
|
|
11
|
-
} & (PdfFile | ImageFile | JsonFile);
|
|
11
|
+
} & (PdfFile | ImageFile | JsonFile | TextFile);
|
|
12
12
|
type PdfFile = {
|
|
13
13
|
contentType: 'pdf';
|
|
14
14
|
src: string;
|
|
@@ -17,6 +17,10 @@ type ImageFile = {
|
|
|
17
17
|
contentType: 'image';
|
|
18
18
|
src: string;
|
|
19
19
|
};
|
|
20
|
+
type TextFile = {
|
|
21
|
+
contentType: 'txt';
|
|
22
|
+
src: string;
|
|
23
|
+
};
|
|
20
24
|
type JsonFile = {
|
|
21
25
|
contentType: 'json';
|
|
22
26
|
data: Record<string, unknown>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const iconIdList: readonly ["add", "add_box", "add_location", "add_location_alt", "adjust", "anchor", "apps", "archive", "arrow_back", "arrow_forward", "arrow_right_alt", "article", "calendar_month", "change_history", "chat", "check", "check_circle", "chevron_left", "chevron_right", "circle", "close", "cloud_alert", "cloud_done", "code_blocks", "content_copy", "data_table", "delete", "description", "directions_boat", "distance", "domain", "download", "edit", "edit_document", "edit_location", "edit_location_alt", "edit_square", "error", "event", "explore", "explore_nearby", "export_notes", "favorite", "file_map", "file_save", "folder_open", "format_align_center", "format_align_left", "format_align_right", "forward", "globe_uk", "groups", "image", "inbox", "info", "info_i", "keyboard_arrow_down", "keyboard_arrow_up", "language", "layers", "lightbulb", "link", "location_chip", "lock", "login", "logout", "mail", "map", "map_pin_heart", "menu", "mode_cool", "more_vert", "move", "numbers", "open_in_new", "pan_zoom", "pending_actions", "person", "person_add", "person_pin", "person_pin_circle", "photo_camera", "picture_as_pdf", "pin_drop", "radio_button_checked", "radio_button_unchecked", "sailing", "save", "send", "settings", "settings_input_antenna", "severe_cold", "source_environment", "stylus", "timeline", "upload", "video_library", "videocam", "view_list", "warning", "zoom_in_map", "zoom_out_map", "format_italic", "format_bold", "format_list_bulleted", "format_list_numbered", "format_align_justify", "undo", "redo", "visibility", "left_panel_close", "left_panel_open", "right_panel_close", "right_panel_open"];
|
|
1
|
+
export declare const iconIdList: readonly ["add", "add_box", "add_location", "add_location_alt", "adjust", "anchor", "apps", "archive", "arrow_back", "arrow_forward", "arrow_right_alt", "article", "calendar_month", "change_history", "chat", "check", "check_circle", "chevron_left", "chevron_right", "circle", "close", "cloud_alert", "cloud_done", "code_blocks", "content_copy", "data_table", "delete", "description", "directions_boat", "distance", "domain", "download", "edit", "edit_document", "edit_location", "edit_location_alt", "edit_square", "error", "event", "explore", "explore_nearby", "export_notes", "favorite", "file_map", "file_save", "folder_open", "format_align_center", "format_align_left", "format_align_right", "forward", "globe_uk", "groups", "image", "inbox", "info", "info_i", "keyboard_arrow_down", "keyboard_arrow_up", "language", "layers", "lightbulb", "link", "location_chip", "lock", "login", "logout", "mail", "map", "map_pin_heart", "menu", "mode_cool", "more_vert", "move", "numbers", "open_in_new", "pan_zoom", "pending_actions", "person", "person_add", "person_pin", "person_pin_circle", "photo_camera", "picture_as_pdf", "pin_drop", "radio_button_checked", "radio_button_unchecked", "sailing", "save", "send", "settings", "settings_input_antenna", "severe_cold", "source_environment", "stylus", "text_snippet", "timeline", "upload", "video_library", "videocam", "view_list", "warning", "zoom_in_map", "zoom_out_map", "format_italic", "format_bold", "format_list_bulleted", "format_list_numbered", "format_align_justify", "undo", "redo", "visibility", "left_panel_close", "left_panel_open", "right_panel_close", "right_panel_open"];
|
|
2
2
|
export type IconId = (typeof iconIdList)[number];
|