@kystverket/styrbord 1.2.0 → 1.2.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.
- package/dist/main.js +133 -132
- package/dist/main.umd.cjs +6 -6
- package/dist/src/components/designsystemet/Button/Button.stories.d.ts +7 -0
- package/dist/src/components/designsystemet/Checkbox/Checkbox.stories.d.ts +3 -3
- package/dist/src/components/designsystemet/Details/Details.stories.d.ts +7 -0
- package/dist/src/components/designsystemet/Link/Link.stories.d.ts +7 -0
- package/dist/src/components/designsystemet/Select/Select.stories.d.ts +7 -0
- package/dist/src/components/designsystemet/Tag/Tag.stories.d.ts +5 -0
- package/dist/src/components/designsystemet/TextArea/TextArea.stories.d.ts +7 -0
- package/dist/src/components/designsystemet/TextInput/TextInput.stories.d.ts +7 -0
- package/dist/src/components/kystverket/Alert/alert.stories.d.ts +7 -0
- package/dist/src/components/kystverket/Skillingsbuoye/skillingsbuoye.d.ts +3 -0
- package/dist/src/components/kystverket/Skillingsbuoye/skillingsbuoye.stories.d.ts +18 -0
- package/dist/src/main.d.ts +1 -0
- package/package.json +1 -1
|
@@ -6,6 +6,13 @@ declare const meta: {
|
|
|
6
6
|
decorators: ((Story: import("@storybook/types").PartialStoryFn) => React.JSX.Element)[];
|
|
7
7
|
tags: string[];
|
|
8
8
|
argTypes: {};
|
|
9
|
+
parameters: {
|
|
10
|
+
docs: {
|
|
11
|
+
description: {
|
|
12
|
+
component: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
9
16
|
};
|
|
10
17
|
export default meta;
|
|
11
18
|
type Story = StoryObj<typeof meta>;
|
|
@@ -333,8 +333,8 @@ export declare const Disabled: {
|
|
|
333
333
|
formMethod?: string | undefined | undefined;
|
|
334
334
|
formNoValidate?: boolean | undefined | undefined;
|
|
335
335
|
formTarget?: string | undefined | undefined;
|
|
336
|
-
accept?: string | undefined | undefined;
|
|
337
336
|
alt?: string | undefined | undefined;
|
|
337
|
+
accept?: string | undefined | undefined;
|
|
338
338
|
autoComplete?: React.HTMLInputAutoCompleteAttribute | undefined;
|
|
339
339
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
340
340
|
checked?: boolean | undefined | undefined;
|
|
@@ -648,8 +648,8 @@ export declare const Disabled: {
|
|
|
648
648
|
formMethod?: string | undefined | undefined;
|
|
649
649
|
formNoValidate?: boolean | undefined | undefined;
|
|
650
650
|
formTarget?: string | undefined | undefined;
|
|
651
|
-
accept?: string | undefined | undefined;
|
|
652
651
|
alt?: string | undefined | undefined;
|
|
652
|
+
accept?: string | undefined | undefined;
|
|
653
653
|
autoComplete?: React.HTMLInputAutoCompleteAttribute | undefined;
|
|
654
654
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
655
655
|
checked?: boolean | undefined | undefined;
|
|
@@ -963,8 +963,8 @@ export declare const Disabled: {
|
|
|
963
963
|
formMethod?: string | undefined | undefined;
|
|
964
964
|
formNoValidate?: boolean | undefined | undefined;
|
|
965
965
|
formTarget?: string | undefined | undefined;
|
|
966
|
-
accept?: string | undefined | undefined;
|
|
967
966
|
alt?: string | undefined | undefined;
|
|
967
|
+
accept?: string | undefined | undefined;
|
|
968
968
|
autoComplete?: React.HTMLInputAutoCompleteAttribute | undefined;
|
|
969
969
|
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
970
970
|
checked?: boolean | undefined | undefined;
|
|
@@ -9,6 +9,13 @@ declare const meta: {
|
|
|
9
9
|
decorators: ((Story: import("@storybook/types").PartialStoryFn) => React.JSX.Element)[];
|
|
10
10
|
tags: string[];
|
|
11
11
|
argTypes: {};
|
|
12
|
+
parameters: {
|
|
13
|
+
docs: {
|
|
14
|
+
description: {
|
|
15
|
+
component: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
12
19
|
};
|
|
13
20
|
export default meta;
|
|
14
21
|
type Story = StoryObj<typeof meta>;
|
|
@@ -7,6 +7,13 @@ declare const meta: {
|
|
|
7
7
|
decorators: ((Story: import("@storybook/types").PartialStoryFn) => React.JSX.Element)[];
|
|
8
8
|
tags: string[];
|
|
9
9
|
argTypes: {};
|
|
10
|
+
parameters: {
|
|
11
|
+
docs: {
|
|
12
|
+
description: {
|
|
13
|
+
component: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
10
17
|
};
|
|
11
18
|
export default meta;
|
|
12
19
|
type Story = StoryObj<typeof meta>;
|
|
@@ -6,6 +6,13 @@ declare const meta: {
|
|
|
6
6
|
decorators: ((Story: import("@storybook/types").PartialStoryFn) => React.JSX.Element)[];
|
|
7
7
|
tags: string[];
|
|
8
8
|
argTypes: {};
|
|
9
|
+
parameters: {
|
|
10
|
+
docs: {
|
|
11
|
+
description: {
|
|
12
|
+
component: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
9
16
|
};
|
|
10
17
|
export default meta;
|
|
11
18
|
type Story = StoryObj<typeof meta>;
|
|
@@ -6,6 +6,13 @@ declare const meta: {
|
|
|
6
6
|
decorators: ((Story: import("@storybook/types").PartialStoryFn) => React.JSX.Element)[];
|
|
7
7
|
tags: string[];
|
|
8
8
|
argTypes: {};
|
|
9
|
+
parameters: {
|
|
10
|
+
docs: {
|
|
11
|
+
description: {
|
|
12
|
+
component: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
9
16
|
};
|
|
10
17
|
export default meta;
|
|
11
18
|
type Story = StoryObj<typeof meta>;
|
|
@@ -6,6 +6,13 @@ declare const meta: {
|
|
|
6
6
|
decorators: ((Story: import("@storybook/types").PartialStoryFn) => React.JSX.Element)[];
|
|
7
7
|
tags: string[];
|
|
8
8
|
argTypes: {};
|
|
9
|
+
parameters: {
|
|
10
|
+
docs: {
|
|
11
|
+
description: {
|
|
12
|
+
component: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
9
16
|
};
|
|
10
17
|
export default meta;
|
|
11
18
|
type Story = StoryObj<typeof meta>;
|
|
@@ -6,6 +6,13 @@ declare const meta: {
|
|
|
6
6
|
decorators: ((Story: import("@storybook/types").PartialStoryFn) => React.JSX.Element)[];
|
|
7
7
|
tags: string[];
|
|
8
8
|
argTypes: {};
|
|
9
|
+
parameters: {
|
|
10
|
+
docs: {
|
|
11
|
+
description: {
|
|
12
|
+
component: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
9
16
|
};
|
|
10
17
|
export default meta;
|
|
11
18
|
type Story = StoryObj<typeof meta>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: () => React.JSX.Element;
|
|
5
|
+
decorators: ((Story: import("@storybook/types").PartialStoryFn) => React.JSX.Element)[];
|
|
6
|
+
tags: string[];
|
|
7
|
+
parameters: {
|
|
8
|
+
docs: {
|
|
9
|
+
description: {
|
|
10
|
+
component: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
argTypes: {};
|
|
15
|
+
};
|
|
16
|
+
export default meta;
|
|
17
|
+
type Story = StoryObj<typeof meta>;
|
|
18
|
+
export declare const Preview: Story;
|
package/dist/src/main.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export { default as LabelContent, type LabelContentProps } from './components/ky
|
|
|
17
17
|
export { default as Icon } from './components/kystverket/Icon/icon';
|
|
18
18
|
export type { IconId } from './components/kystverket/Icon/icon.types';
|
|
19
19
|
export * from './components/kystverket/Image/svgImage';
|
|
20
|
+
export { default as Skillingsbuoye } from './components/kystverket/Skillingsbuoye/skillingsbuoye';
|
|
20
21
|
export { Body, Accent, Typography } from './components/kystverket/Typography/typography';
|
|
21
22
|
export type { TypographyProps, BodyTypographyProps, AccentTypographyProps, LabelTypographyProps, } from './components/kystverket/Typography/typography';
|
|
22
23
|
export { default as BorderedToggleGroup } from './components/kystverket/BorderedToggleGroup/borderedToggleGroup';
|