@kystverket/styrbord 1.3.39 → 1.4.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kystverket/styrbord",
3
- "version": "1.3.39",
3
+ "version": "1.4.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "repository": {
@@ -1,14 +0,0 @@
1
- import type { StoryObj } from '@storybook/react-vite';
2
- import { BoxProps } from '~/main';
3
- declare const meta: {
4
- title: string;
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)[];
7
- tags: string[];
8
- argTypes: {};
9
- };
10
- export default meta;
11
- type Story = StoryObj<typeof meta>;
12
- export declare const Norsk: Story;
13
- export declare const Nynorsk: Story;
14
- export declare const Engelsk: Story;
@@ -1,10 +0,0 @@
1
- import { SupportedLanguage } from '~/utils/types';
2
- export interface TranslationContextProps {
3
- language: SupportedLanguage;
4
- }
5
- export declare const StyrbordTranslationContext: React.Context<TranslationContextProps>;
6
- export declare const useStyrbordTranslation: () => {
7
- language: "nb-NO" | "nn-NO" | "en-US";
8
- t: (key: string) => string;
9
- at: (prefix: string | null | undefined, alternativeTranslationData: Record<string, unknown> | null | undefined, key: string) => string;
10
- };