@kystverket/styrbord 1.6.1 → 1.6.2

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.
Files changed (45) hide show
  1. package/dist/src/components/deprecated/Card/Card.stories.d.ts +1 -1
  2. package/dist/src/components/deprecated/Details/Details.stories.d.ts +1 -1
  3. package/dist/src/components/deprecated/ErrorLabel/errorLabel.stories.d.ts +1 -1
  4. package/dist/src/components/deprecated/InputLabel/inputLabel.stories.d.ts +1 -1
  5. package/dist/src/components/designsystemet/Button/Button.stories.d.ts +1 -1
  6. package/dist/src/components/designsystemet/Details/Details.stories.d.ts +1 -1
  7. package/dist/src/components/designsystemet/Link/Link.stories.d.ts +1 -1
  8. package/dist/src/components/designsystemet/NumberInput/NumberInput.stories.d.ts +1 -1
  9. package/dist/src/components/designsystemet/Select/Select.stories.d.ts +1 -1
  10. package/dist/src/components/designsystemet/TextArea/TextArea.stories.d.ts +1 -1
  11. package/dist/src/components/designsystemet/TextInput/TextInput.stories.d.ts +1 -1
  12. package/dist/src/components/kystverket/Alert/alert.stories.d.ts +1 -1
  13. package/dist/src/components/kystverket/BorderedRadioGroup/borderedRadioGroup.stories.d.ts +1 -1
  14. package/dist/src/components/kystverket/BorderedToggleGroup/borderedToggleGroup.stories.d.ts +1 -1
  15. package/dist/src/components/kystverket/Box/box.stories.d.ts +1 -1
  16. package/dist/src/components/kystverket/DateTimePicker/DateTimePicker.stories.d.ts +1 -1
  17. package/dist/src/components/kystverket/Datepicker/Datepicker.stories.d.ts +1 -1
  18. package/dist/src/components/kystverket/FilePreviewer/FilePreviewer.stories.d.ts +1 -1
  19. package/dist/src/components/kystverket/FileUploader/FileUploader.stories.d.ts +1 -1
  20. package/dist/src/components/kystverket/Footer/Footer.stories.d.ts +1 -1
  21. package/dist/src/components/kystverket/Header/Header.stories.d.ts +1 -1
  22. package/dist/src/components/kystverket/Icon/Icon.stories.d.ts +1 -1
  23. package/dist/src/components/kystverket/Image/svgImage.stories.d.ts +1 -1
  24. package/dist/src/components/kystverket/KyvDivider/kyvDivider.stories.d.ts +1 -1
  25. package/dist/src/components/kystverket/LabelContent/labelContent.stories.d.ts +1 -1
  26. package/dist/src/components/kystverket/Logo/Logo.stories.d.ts +1 -1
  27. package/dist/src/components/kystverket/MarkdownToReact/markdownToReact.stories.d.ts +1 -1
  28. package/dist/src/components/kystverket/PageHeading/PageHeading.stories.d.ts +1 -1
  29. package/dist/src/components/kystverket/RichTextArea/components/LinkEditor/linkEditor.stories.d.ts +1 -1
  30. package/dist/src/components/kystverket/RichTextArea/components/Toolbar/toolbar.stories.d.ts +1 -1
  31. package/dist/src/components/kystverket/RichTextArea/richTextArea.stories.d.ts +1 -1
  32. package/dist/src/components/kystverket/Skillingsbuoye/skillingsbuoye.stories.d.ts +1 -1
  33. package/dist/src/components/kystverket/SprakProvider/SprakProviderAlt.stories.d.ts +1 -1
  34. package/dist/src/components/kystverket/SprakProvider/SprakProviderLink.stories.d.ts +1 -1
  35. package/dist/src/components/kystverket/Stepper/stepper.stories.d.ts +1 -1
  36. package/dist/src/components/kystverket/Summary/summary.stories.d.ts +1 -1
  37. package/dist/src/components/kystverket/Typography/typography.accent.stories.d.ts +1 -1
  38. package/dist/src/components/kystverket/Typography/typography.body.stories.d.ts +1 -1
  39. package/dist/src/components/kystverket/Typography/typography.heading.stories.d.ts +1 -1
  40. package/dist/src/components/kystverket/Typography/typography.label.stories.d.ts +1 -1
  41. package/dist/src/components/kystverket/Typography/typography.paragraph.stories.d.ts +1 -1
  42. package/dist/storybook/styrbordDecorator.d.ts +2 -2
  43. package/dist/style.js +14 -7
  44. package/dist/style.umd.cjs +4 -4
  45. package/package.json +1 -1
@@ -7,7 +7,7 @@ declare const meta: {
7
7
  asChild?: boolean;
8
8
  } & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
9
9
  };
10
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
10
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
11
11
  tags: string[];
12
12
  argTypes: {
13
13
  variant: {
@@ -3,7 +3,7 @@ import { DetailsProps } from './Details';
3
3
  declare const meta: {
4
4
  title: string;
5
5
  component: ({ summary, children, ...props }: DetailsProps) => React.JSX.Element;
6
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
6
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
7
7
  tags: string[];
8
8
  argTypes: {};
9
9
  };
@@ -3,7 +3,7 @@ import { ErrorLabelProps } from './errorLabel';
3
3
  declare const meta: {
4
4
  title: string;
5
5
  component: ({ ...props }: ErrorLabelProps) => React.JSX.Element;
6
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
6
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
7
7
  tags: string[];
8
8
  argTypes: {};
9
9
  };
@@ -3,7 +3,7 @@ import { InputLabelProps } from './inputLabel';
3
3
  declare const meta: {
4
4
  title: string;
5
5
  component: ({ text, subText, loading, optional, required, embedded, children, }: InputLabelProps) => React.JSX.Element | null;
6
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
6
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
7
7
  tags: string[];
8
8
  argTypes: {};
9
9
  };
@@ -3,7 +3,7 @@ import { ButtonProps } from './Button';
3
3
  declare const meta: {
4
4
  title: string;
5
5
  component: React.FC<ButtonProps>;
6
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
6
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
7
7
  tags: string[];
8
8
  argTypes: {};
9
9
  parameters: {
@@ -6,7 +6,7 @@ declare const meta: {
6
6
  Summary: typeof import("@digdir/designsystemet-react").DetailsSummary;
7
7
  Content: typeof import("@digdir/designsystemet-react").DetailsContent;
8
8
  };
9
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
9
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
10
10
  tags: string[];
11
11
  argTypes: {};
12
12
  parameters: {
@@ -4,7 +4,7 @@ import { Link } from '~/main';
4
4
  declare const meta: {
5
5
  title: string;
6
6
  component: React.FC<import("~/main").LinkProps>;
7
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
7
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
8
8
  tags: string[];
9
9
  argTypes: {};
10
10
  parameters: {
@@ -5,7 +5,7 @@ declare const meta: {
5
5
  component: (props: NumberInputProps & {
6
6
  externallyChanging?: boolean;
7
7
  }) => React.JSX.Element;
8
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
8
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
9
9
  tags: string[];
10
10
  argTypes: {};
11
11
  };
@@ -3,7 +3,7 @@ import { SelectProps } from './Select';
3
3
  declare const meta: {
4
4
  title: string;
5
5
  component: ({ ...props }: SelectProps) => React.JSX.Element;
6
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
6
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
7
7
  tags: string[];
8
8
  argTypes: {};
9
9
  parameters: {
@@ -3,7 +3,7 @@ import { TextAreaProps } from './TextArea';
3
3
  declare const meta: {
4
4
  title: string;
5
5
  component: ({ size, className, label, required, optional, onChange, value, minHeight, ...props }: TextAreaProps) => React.JSX.Element;
6
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
6
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
7
7
  tags: string[];
8
8
  argTypes: {};
9
9
  parameters: {
@@ -3,7 +3,7 @@ import { TextInputProps } from './TextInput';
3
3
  declare const meta: {
4
4
  title: string;
5
5
  component: ({ size, type, className, label, loading, required, optional, onChange, value, ...props }: TextInputProps) => React.JSX.Element;
6
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
6
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
7
7
  tags: string[];
8
8
  argTypes: {};
9
9
  parameters: {
@@ -3,7 +3,7 @@ import { AlertProps } from './alert';
3
3
  declare const meta: {
4
4
  title: string;
5
5
  component: ({ level, title, "data-size": dataSize, text, width, className, ...props }: AlertProps) => React.JSX.Element;
6
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
6
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
7
7
  tags: string[];
8
8
  argTypes: {};
9
9
  parameters: {
@@ -3,7 +3,7 @@ import { BorderedRadioGroupProps } from './borderedRadioGroup';
3
3
  declare const meta: {
4
4
  title: string;
5
5
  component: (props: BorderedRadioGroupProps) => React.JSX.Element;
6
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
6
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
7
7
  tags: string[];
8
8
  argTypes: {};
9
9
  };
@@ -3,7 +3,7 @@ import { BorderedToggleGroupProps } from './borderedToggleGroup';
3
3
  declare const meta: {
4
4
  title: string;
5
5
  component: ({ values: propValues, ...props }: BorderedToggleGroupProps) => React.JSX.Element;
6
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
6
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
7
7
  tags: string[];
8
8
  argTypes: {};
9
9
  };
@@ -3,7 +3,7 @@ import { BoxProps } from './box';
3
3
  declare const meta: {
4
4
  title: string;
5
5
  component: ({ className, radius, width, gap, wrap, align, grow, shrink, basis, show, hide, container, children, ...props }: BoxProps) => React.JSX.Element;
6
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
6
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
7
7
  tags: string[];
8
8
  argTypes: {};
9
9
  };
@@ -3,7 +3,7 @@ import { DateTimePickerProps } from './DateTimePicker';
3
3
  declare const meta: {
4
4
  title: string;
5
5
  component: (props: DateTimePickerProps) => React.JSX.Element;
6
- decorators: (((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element) | ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react").ReactRenderer, {
6
+ decorators: (((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element) | ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react").ReactRenderer, {
7
7
  optional?: boolean | string | undefined | undefined;
8
8
  required?: boolean | string | undefined | undefined;
9
9
  label: string;
@@ -3,7 +3,7 @@ import { DatepickerProps } from './Datepicker';
3
3
  declare const meta: {
4
4
  title: string;
5
5
  component: (props: DatepickerProps) => React.JSX.Element;
6
- decorators: (((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element) | ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react").ReactRenderer, {
6
+ decorators: (((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element) | ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react").ReactRenderer, {
7
7
  optional?: boolean | string | undefined | undefined;
8
8
  required?: boolean | string | undefined | undefined;
9
9
  label: string;
@@ -8,7 +8,7 @@ declare const meta: {
8
8
  };
9
9
  displayName?: string;
10
10
  };
11
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
11
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
12
12
  tags: string[];
13
13
  parameters: {
14
14
  docs: {
@@ -3,7 +3,7 @@ import { FileUploaderProps } from './FileUploader';
3
3
  declare const meta: {
4
4
  title: string;
5
5
  component: (props: FileUploaderProps) => React.JSX.Element;
6
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
6
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
7
7
  tags: string[];
8
8
  argTypes: {};
9
9
  };
@@ -3,7 +3,7 @@ import { Footer } from '~/components/kystverket/Footer/Footer';
3
3
  declare const meta: {
4
4
  title: string;
5
5
  component: typeof Footer;
6
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
6
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
7
7
  tags: string[];
8
8
  argTypes: {};
9
9
  };
@@ -3,7 +3,7 @@ import { Header } from './Header';
3
3
  declare const meta: {
4
4
  title: string;
5
5
  component: typeof Header;
6
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
6
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
7
7
  tags: string[];
8
8
  argTypes: {
9
9
  logo: {
@@ -2,7 +2,7 @@ import type { StoryFn } from '@storybook/react-vite';
2
2
  declare const meta: {
3
3
  title: string;
4
4
  component: ({ material, filled, className, size, title }: import("~/components/kystverket/Icon/icon").MaterialIconProps) => React.JSX.Element;
5
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
5
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
6
6
  tags: string[];
7
7
  argTypes: {};
8
8
  };
@@ -3,7 +3,7 @@ import { SvgImageProps } from './svgImage';
3
3
  declare const meta: {
4
4
  title: string;
5
5
  component: (props: SvgImageProps) => React.JSX.Element;
6
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
6
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
7
7
  tags: string[];
8
8
  argTypes: {};
9
9
  };
@@ -2,7 +2,7 @@ import { StoryObj } from '@storybook/react-vite';
2
2
  declare const meta: {
3
3
  title: string;
4
4
  component: () => React.JSX.Element;
5
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
5
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
6
6
  tags: string[];
7
7
  argTypes: {};
8
8
  };
@@ -3,7 +3,7 @@ import { LabelContentProps } from './labelContent';
3
3
  declare const meta: {
4
4
  title: string;
5
5
  component: ({ text, loading, optional, required }: LabelContentProps) => React.JSX.Element | null;
6
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
6
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
7
7
  tags: string[];
8
8
  argTypes: {};
9
9
  };
@@ -3,7 +3,7 @@ import { Logo } from '~/components/kystverket/Logo/Logo';
3
3
  declare const meta: {
4
4
  title: string;
5
5
  component: typeof Logo;
6
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
6
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
7
7
  tags: string[];
8
8
  argTypes: {};
9
9
  };
@@ -2,7 +2,7 @@ import type { StoryObj } from '@storybook/react-vite';
2
2
  declare const meta: {
3
3
  title: string;
4
4
  component: ({ markdown }: import("./markdownToReact").MarkdownToReactProps) => React.JSX.Element;
5
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
5
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
6
6
  tags: string[];
7
7
  argTypes: {
8
8
  markdown: {
@@ -3,7 +3,7 @@ import { PageHeading } from './PageHeading';
3
3
  declare const meta: {
4
4
  title: string;
5
5
  component: typeof PageHeading;
6
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
6
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
7
7
  tags: string[];
8
8
  argTypes: {
9
9
  children: {
@@ -10,7 +10,7 @@ declare const meta: {
10
10
  onClose: () => void;
11
11
  onRemove: () => void;
12
12
  }) => React.JSX.Element;
13
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
13
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
14
14
  tags: string[];
15
15
  argTypes: {
16
16
  onSave: {
@@ -20,7 +20,7 @@ declare const meta: {
20
20
  onFormatChange: (format: BlockType) => void;
21
21
  onLink: () => void;
22
22
  }) => React.JSX.Element;
23
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
23
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
24
24
  tags: string[];
25
25
  argTypes: {
26
26
  onBold: {
@@ -3,7 +3,7 @@ import { RichTextAreaProps } from './richTextArea';
3
3
  declare const meta: {
4
4
  title: string;
5
5
  component: ({ className, ...props }: RichTextAreaProps) => React.JSX.Element;
6
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
6
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
7
7
  tags: string[];
8
8
  };
9
9
  export default meta;
@@ -2,7 +2,7 @@ import type { StoryObj } from '@storybook/react-vite';
2
2
  declare const meta: {
3
3
  title: string;
4
4
  component: () => React.JSX.Element;
5
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
5
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
6
6
  tags: string[];
7
7
  parameters: {
8
8
  docs: {
@@ -4,7 +4,7 @@ import { PartialStoryFn } from 'storybook/internal/types';
4
4
  declare const meta: {
5
5
  title: string;
6
6
  component: (props: FileUploaderProps) => React.JSX.Element;
7
- decorators: ((Story: PartialStoryFn) => React.JSX.Element)[];
7
+ decorators: ((Story: PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
8
8
  tags: string[];
9
9
  argTypes: {};
10
10
  };
@@ -4,7 +4,7 @@ import { PartialStoryFn } from 'storybook/internal/types';
4
4
  declare const meta: {
5
5
  title: string;
6
6
  component: (props: FileUploaderProps) => React.JSX.Element;
7
- decorators: ((Story: PartialStoryFn) => React.JSX.Element)[];
7
+ decorators: ((Story: PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
8
8
  tags: string[];
9
9
  argTypes: {};
10
10
  };
@@ -3,7 +3,7 @@ import { StepperProps } from './stepper';
3
3
  declare const meta: {
4
4
  title: string;
5
5
  component: ({ steps, step, labels, orientation, forceOrientation, "data-size": dataSize, }: StepperProps) => React.JSX.Element;
6
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
6
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
7
7
  tags: string[];
8
8
  argTypes: {};
9
9
  };
@@ -4,7 +4,7 @@ declare const meta: {
4
4
  component: ({ rows }: {
5
5
  rows: import("./summary.types").SummaryRowProps[];
6
6
  }) => React.JSX.Element;
7
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
7
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
8
8
  tags: string[];
9
9
  argTypes: {};
10
10
  };
@@ -2,7 +2,7 @@ import type { StoryObj } from '@storybook/react-vite';
2
2
  declare const meta: {
3
3
  title: string;
4
4
  component: ({ strong, size, className, children }: import("./typography").AccentTypographyProps) => React.JSX.Element;
5
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
5
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
6
6
  tags: string[];
7
7
  argTypes: {};
8
8
  };
@@ -2,7 +2,7 @@ import type { StoryObj } from '@storybook/react-vite';
2
2
  declare const meta: {
3
3
  title: string;
4
4
  component: ({ inline, strong, size, className, children }: import("./typography").BodyTypographyProps) => React.JSX.Element;
5
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
5
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
6
6
  tags: string[];
7
7
  argTypes: {};
8
8
  };
@@ -6,7 +6,7 @@ declare const meta: {
6
6
  'data-size'?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
7
7
  asChild?: boolean;
8
8
  } & React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
9
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
9
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
10
10
  tags: string[];
11
11
  argTypes: {};
12
12
  };
@@ -2,7 +2,7 @@ import type { StoryObj } from '@storybook/react-vite';
2
2
  declare const meta: {
3
3
  title: string;
4
4
  component: ({ strong, size, className, children, inline }: import("./typography").LabelTypographyProps) => React.JSX.Element;
5
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
5
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
6
6
  tags: string[];
7
7
  argTypes: {};
8
8
  };
@@ -6,7 +6,7 @@ declare const meta: {
6
6
  variant?: "long" | "default" | "short";
7
7
  asChild?: boolean;
8
8
  } & React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
9
- decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
9
+ decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
10
10
  tags: string[];
11
11
  argTypes: {};
12
12
  };
@@ -1,4 +1,4 @@
1
- import { PartialStoryFn } from 'storybook/internal/types';
1
+ import { PartialStoryFn, StoryContext } from 'storybook/internal/types';
2
2
  import './storybook-style.scss';
3
- declare const StyrbordDecorator: (Story: PartialStoryFn) => React.JSX.Element;
3
+ declare const StyrbordDecorator: (Story: PartialStoryFn, context: StoryContext) => React.JSX.Element;
4
4
  export default StyrbordDecorator;
package/dist/style.js CHANGED
@@ -684,31 +684,28 @@ const w1 = (A) => {
684
684
  $1.displayName = "FilePreviewer";
685
685
  $1.Thumbnail.displayName = "FilePreviewer.Thumbnail";
686
686
  const y7 = { attachmentsCount: "Vedlegg ({count})", buttonLabel: "Last opp fil", dropzoneText: `Klikk for å laste opp
687
- eller dra og slipp filer her`, errors: { error: "Noe gikk galt under opplastingen.", "file-scan-failed": "Filen kunne ikke lastes opp fordi sikkerhetsskanningen feilet.", "file-too-large": "Filen er for stor. Vennligst velg en mindre fil.", "invalid-file-type": "Filtypen er ikke tillatt.", "network-error": "Nettverksfeil. Vennligst sjekk tilkoblingen og prøv igjen.", "over-files-limit": "Filen er over grensen på antall filer tillatt", "unknown-error": "En ukjent feil oppstod. Vennligst prøv igjen senere." }, existingFiles: { buttonOpen: "Bla igjennom filer", dialogCancel: "Avbryt", dialogConfirm: "Velg", dialogTitle: "Filer", filesCounter: "{shown} av {total} filer", goBackToCollectionAriaLabel: "Gå tilbake til alle filer", inMenuTitle: "Filer i", noFilesAvailable: "Ingen filer tilgjengelig.", selectFilesLabel: "Velg filer" }, loading: "Laster", maxFilesReached: "Maksimalt antall filer er lastet opp.", previewFileAriaLabel: "Forhåndsvis fil", removeFileAriaLabel: "Fjern fil", unknownFilename: "Ukjent filnavn", uploading: "Laster opp fil...", uploadingPleaseWait: "Vennligst vent med å velge flere filer før alle filene er lastet opp", withCaptureButtonLabel: "Åpne kamera" }, G7 = { contact: "Kontakt Kystverket", copyright: "Opphavsrett Kystverket © {{currentYear}}", links: { arealplanlegging: "Arealplanlegging", farledsbevistjenesten: "Farledsbevistjenesten", lostjenesten: "Lostjenesten", presse: "Presse", sjotrafikksentralen: "Sjøtrafikksentralen" } }, T7 = { login: "Logg inn", logout: "Logg ut", openApplicationsMenu: "Åpne applikasjonsmeny", openMenu: "Åpne meny", openProfileMenu: "Åpne profilmeny" }, J7 = "Kystverket", H7 = "Laster", P7 = "Organisasjonsnummer", F7 = "Sentralbord", L7 = {
687
+ eller dra og slipp filer her`, errors: { error: "Noe gikk galt under opplastingen.", "file-scan-failed": "Filen kunne ikke lastes opp fordi sikkerhetsskanningen feilet.", "file-too-large": "Filen er for stor. Vennligst velg en mindre fil.", "invalid-file-type": "Filtypen er ikke tillatt.", "network-error": "Nettverksfeil. Vennligst sjekk tilkoblingen og prøv igjen.", "over-files-limit": "Filen er over grensen på antall filer tillatt", "unknown-error": "En ukjent feil oppstod. Vennligst prøv igjen senere." }, existingFiles: { buttonOpen: "Bla igjennom filer", dialogCancel: "Avbryt", dialogConfirm: "Velg", dialogTitle: "Filer", filesCounter: "{shown} av {total} filer", goBackToCollectionAriaLabel: "Gå tilbake til alle filer", inMenuTitle: "Filer i", noFilesAvailable: "Ingen filer tilgjengelig.", selectFilesLabel: "Velg filer" }, loading: "Laster", maxFilesReached: "Maksimalt antall filer er lastet opp.", previewFileAriaLabel: "Forhåndsvis fil", removeFileAriaLabel: "Fjern fil", unknownFilename: "Ukjent filnavn", uploading: "Laster opp fil...", uploadingPleaseWait: "Vennligst vent med å velge flere filer før alle filene er lastet opp", withCaptureButtonLabel: "Åpne kamera" }, G7 = { contact: "Kontakt Kystverket", copyright: "Opphavsrett Kystverket © {{currentYear}}", links: { arealplanlegging: "Arealplanlegging", farledsbevistjenesten: "Farledsbevistjenesten", lostjenesten: "Lostjenesten", presse: "Presse", sjotrafikksentralen: "Sjøtrafikksentralen" } }, T7 = { "alt-text": "Til forsiden", login: "Logg inn", logout: "Logg ut", openApplicationsMenu: "Åpne applikasjonsmeny", openMenu: "Åpne meny", openProfileMenu: "Åpne profilmeny" }, J7 = "Kystverket", H7 = "Laster", P7 = "Organisasjonsnummer", F7 = "Sentralbord", L7 = {
688
688
  fileUploader: y7,
689
689
  footer: G7,
690
690
  header: T7,
691
- "header-alt-text": "Til forsiden",
692
691
  kystverket: J7,
693
692
  loading: H7,
694
693
  organisasjonsnummer: P7,
695
694
  sentralbord: F7
696
695
  }, N7 = { attachmentsCount: "Vedlegg ({count})", buttonLabel: "Last opp fil", dropzoneText: `Klikk for å laste opp
697
- eller dra og slepp filer her`, errors: { error: "Noko gjekk gale under opplastinga.", "file-scan-failed": "Fila kunne ikkje lastast opp fordi tryggleiksskaninga feila.", "file-too-large": "Fila er for stor. Vennlegst vel ei mindre fil.", "invalid-file-type": "Filtypen er ikkje tillaten.", "network-error": "Nettverksfeil. Vennlegst sjekk tilkoplinga og prøv igjen.", "over-files-limit": "Fila er over grensa for kor mange filer som er tillatne", "unknown-error": "Ein ukjend feil oppstod. Vennlegst prøv igjen seinare." }, existingFiles: { buttonOpen: "Bla gjennom filer", dialogCancel: "Avbryt", dialogConfirm: "Vel", dialogTitle: "Filer", filesCounter: "{shown} av {total} filer", goBackToCollectionAriaLabel: "Gå tilbake til alle filer", inMenuTitle: "Filer i", noFilesAvailable: "Ingen filer tilgjengelege.", selectFilesLabel: "Vel filer" }, loading: "Lastar", maxFilesReached: "Maksimalt tal filer er lasta opp.", previewFileAriaLabel: "Førehandsvis fil", removeFileAriaLabel: "Fjern fil", unknownFilename: "Ukjent filnamn", uploading: "Lastar opp fil...", uploadingPleaseWait: "Vennlegst vent med å velje fleire filer før alle filene er lasta opp", withCaptureButtonLabel: "Opne kamera" }, D7 = { contact: "Kontakt Kystverket", copyright: "Opphavsrett Kystverket © {{currentYear}}", links: { arealplanlegging: "Arealplanlegging", farledsbevistjenesten: "Farledsbevistenesta", lostjenesten: "Lostenesta", presse: "Presse", sjotrafikksentralen: "Sjøtrafikksentralen" } }, w7 = { login: "Logg inn", logout: "Logg ut", openApplicationsMenu: "Opne applikasjonsmeny", openMenu: "Opne meny", openProfileMenu: "Opne profilmeny" }, _7 = "Kystverket", $7 = "Lastar", A0 = "Organisasjonsnummer", t0 = "Sentralbord", e0 = {
696
+ eller dra og slepp filer her`, errors: { error: "Noko gjekk gale under opplastinga.", "file-scan-failed": "Fila kunne ikkje lastast opp fordi tryggleiksskaninga feila.", "file-too-large": "Fila er for stor. Vennlegst vel ei mindre fil.", "invalid-file-type": "Filtypen er ikkje tillaten.", "network-error": "Nettverksfeil. Vennlegst sjekk tilkoplinga og prøv igjen.", "over-files-limit": "Fila er over grensa for kor mange filer som er tillatne", "unknown-error": "Ein ukjend feil oppstod. Vennlegst prøv igjen seinare." }, existingFiles: { buttonOpen: "Bla gjennom filer", dialogCancel: "Avbryt", dialogConfirm: "Vel", dialogTitle: "Filer", filesCounter: "{shown} av {total} filer", goBackToCollectionAriaLabel: "Gå tilbake til alle filer", inMenuTitle: "Filer i", noFilesAvailable: "Ingen filer tilgjengelege.", selectFilesLabel: "Vel filer" }, loading: "Lastar", maxFilesReached: "Maksimalt tal filer er lasta opp.", previewFileAriaLabel: "Førehandsvis fil", removeFileAriaLabel: "Fjern fil", unknownFilename: "Ukjent filnamn", uploading: "Lastar opp fil...", uploadingPleaseWait: "Vennlegst vent med å velje fleire filer før alle filene er lasta opp", withCaptureButtonLabel: "Opne kamera" }, D7 = { contact: "Kontakt Kystverket", copyright: "Opphavsrett Kystverket © {{currentYear}}", links: { arealplanlegging: "Arealplanlegging", farledsbevistjenesten: "Farledsbevistenesta", lostjenesten: "Lostenesta", presse: "Presse", sjotrafikksentralen: "Sjøtrafikksentralen" } }, w7 = { "alt-text": "Til framsida", login: "Logg inn", logout: "Logg ut", openApplicationsMenu: "Opne applikasjonsmeny", openMenu: "Opne meny", openProfileMenu: "Opne profilmeny" }, _7 = "Kystverket", $7 = "Lastar", A0 = "Organisasjonsnummer", t0 = "Sentralbord", e0 = {
698
697
  fileUploader: N7,
699
698
  footer: D7,
700
699
  header: w7,
701
- "header-alt-text": "Til framsida",
702
700
  kystverket: _7,
703
701
  loading: $7,
704
702
  organisasjonsnummer: A0,
705
703
  sentralbord: t0
706
704
  }, I0 = { attachmentsCount: "Attachments ({count})", buttonLabel: "Upload file", dropzoneText: `Click to upload
707
- or drag and drop files here`, errors: { error: "Something went wrong during upload.", "file-scan-failed": "File could not be uploaded because security scan failed.", "file-too-large": "File is too large. Please select a smaller file.", "invalid-file-type": "File type is not allowed.", "network-error": "Network error. Please check your connection and try again.", "over-files-limit": "The file exceeds the allowed file count limit", "unknown-error": "An unknown error occurred. Please try again later." }, existingFiles: { buttonOpen: "Browse files", dialogCancel: "Cancel", dialogConfirm: "Select", dialogTitle: "Files", filesCounter: "{shown} of {total} files", goBackToCollectionAriaLabel: "Go back to file collections list", inMenuTitle: "Files in", noFilesAvailable: "No files available.", selectFilesLabel: "Select files" }, loading: "Loading", maxFilesReached: "Maximum number of files uploaded.", previewFileAriaLabel: "Preview file", removeFileAriaLabel: "Remove file", unknownFilename: "Unknown filename", uploading: "Uploading file...", uploadingPleaseWait: "Please wait to select more files until all files are uploaded", withCaptureButtonLabel: "Open camera" }, E0 = { contact: "Contact the Norwegian Coastal Administration", copyright: "Copyright Norwegian Coastal Administration © {{currentYear}}", links: { arealplanlegging: "Spatial planning", farledsbevistjenesten: "Fairway dues service", lostjenesten: "Pilotage service", presse: "Press", sjotrafikksentralen: "Vessel traffic service" } }, C0 = { login: "Log in", logout: "Log out", openApplicationsMenu: "Open applications menu", openMenu: "Open menu", openProfileMenu: "Open profile menu" }, n0 = "Norwegian coastal administration", l0 = "Loading", M0 = "Organization number", c0 = "Switchboard", r0 = {
705
+ or drag and drop files here`, errors: { error: "Something went wrong during upload.", "file-scan-failed": "File could not be uploaded because security scan failed.", "file-too-large": "File is too large. Please select a smaller file.", "invalid-file-type": "File type is not allowed.", "network-error": "Network error. Please check your connection and try again.", "over-files-limit": "The file exceeds the allowed file count limit", "unknown-error": "An unknown error occurred. Please try again later." }, existingFiles: { buttonOpen: "Browse files", dialogCancel: "Cancel", dialogConfirm: "Select", dialogTitle: "Files", filesCounter: "{shown} of {total} files", goBackToCollectionAriaLabel: "Go back to file collections list", inMenuTitle: "Files in", noFilesAvailable: "No files available.", selectFilesLabel: "Select files" }, loading: "Loading", maxFilesReached: "Maximum number of files uploaded.", previewFileAriaLabel: "Preview file", removeFileAriaLabel: "Remove file", unknownFilename: "Unknown filename", uploading: "Uploading file...", uploadingPleaseWait: "Please wait to select more files until all files are uploaded", withCaptureButtonLabel: "Open camera" }, E0 = { contact: "Contact the Norwegian Coastal Administration", copyright: "Copyright Norwegian Coastal Administration © {{currentYear}}", links: { arealplanlegging: "Spatial planning", farledsbevistjenesten: "Fairway dues service", lostjenesten: "Pilotage service", presse: "Press", sjotrafikksentralen: "Vessel traffic service" } }, C0 = { "alt-text": "To the front page", login: "Log in", logout: "Log out", openApplicationsMenu: "Open applications menu", openMenu: "Open menu", openProfileMenu: "Open profile menu" }, n0 = "Norwegian coastal administration", l0 = "Loading", M0 = "Organization number", c0 = "Switchboard", r0 = {
708
706
  fileUploader: I0,
709
707
  footer: E0,
710
708
  header: C0,
711
- "header-alt-text": "To the front page",
712
709
  kystverket: n0,
713
710
  loading: l0,
714
711
  organisasjonsnummer: M0,
@@ -1399,7 +1396,17 @@ function _4({ links: A, applications: e }) {
1399
1396
  });
1400
1397
  const v = $2();
1401
1398
  return !e || e.length < 1 ? null : /* @__PURE__ */ t.jsx("div", { ref: n, children: /* @__PURE__ */ t.jsxs(D.TriggerContext, { children: [
1402
- /* @__PURE__ */ t.jsx(j, { popoverTarget: v, className: W.dropdownButton, variant: "ghost", onClick: r, children: /* @__PURE__ */ t.jsx(Q, { horizontal: !0, gap: 16, align: "center", "aria-label": E("header.openApplications"), children: /* @__PURE__ */ t.jsx(o, { material: "apps", "aria-hidden": !0 }) }) }),
1399
+ /* @__PURE__ */ t.jsx(
1400
+ j,
1401
+ {
1402
+ popoverTarget: v,
1403
+ className: W.dropdownButton,
1404
+ variant: "ghost",
1405
+ onClick: r,
1406
+ "aria-label": E("header.openApplicationsMenu"),
1407
+ children: /* @__PURE__ */ t.jsx(Q, { horizontal: !0, gap: 16, align: "center", children: /* @__PURE__ */ t.jsx(o, { material: "apps", "aria-hidden": !0 }) })
1408
+ }
1409
+ ),
1403
1410
  /* @__PURE__ */ t.jsx(D, { id: v, open: M, "data-color": "neutral", children: /* @__PURE__ */ t.jsx(D.List, { children: e.map((m) => {
1404
1411
  var z;
1405
1412
  return /* @__PURE__ */ t.jsx(D.Item, { children: /* @__PURE__ */ t.jsx(D.Button, { asChild: !0, children: /* @__PURE__ */ t.jsxs(C, { href: ((z = i[m.id]) == null ? void 0 : z.url) ?? "#", onClick: l, children: [