@kystverket/styrbord 1.0.12 → 1.0.14
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 +951 -942
- package/dist/main.umd.cjs +7 -7
- package/dist/src/components/designsystemet/Tag/Tag.d.ts +6 -0
- package/dist/src/components/designsystemet/Tag/Tag.stories.d.ts +17 -0
- package/dist/src/components/kystverket/KyvDivider/kyvDivider.d.ts +2 -0
- package/dist/src/components/kystverket/KyvDivider/kyvDivider.stories.d.ts +11 -0
- package/dist/src/main.d.ts +3 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Tag, TagProps } from '~/main';
|
|
2
|
+
import type { StoryFn, StoryObj } from '@storybook/react';
|
|
3
|
+
type Story = StoryObj<typeof Tag>;
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: ({ bordered, className, ...props }: TagProps) => React.JSX.Element;
|
|
7
|
+
parameters: {
|
|
8
|
+
customStyles: {
|
|
9
|
+
justifyContent: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export default _default;
|
|
14
|
+
export declare const Preview: Story;
|
|
15
|
+
export declare const Sizes: StoryFn<typeof Tag>;
|
|
16
|
+
export declare const Colors: StoryFn<typeof Tag>;
|
|
17
|
+
export declare const Borders: StoryFn<typeof Tag>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { 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
|
+
argTypes: {};
|
|
8
|
+
};
|
|
9
|
+
export default meta;
|
|
10
|
+
type Story = StoryObj<typeof meta>;
|
|
11
|
+
export declare const Default: Story;
|
package/dist/src/main.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export { default as DeprecatedErrorLabel, type ErrorLabelProps as DeprecatedErro
|
|
|
5
5
|
export { default as DeprecatedInputLabel, type InputLabelProps as DeprecatedInputLabelProps, } from './components/deprecated/InputLabel/inputLabel';
|
|
6
6
|
export { Details as DeprecatedDetails, type DetailsProps as DeprecatedDetailsProps, } from './components/deprecated/Details/Details';
|
|
7
7
|
export { default as DeprecatedCard, type CardProps as DeprecatedCardProps } from './components/deprecated/Card/Card';
|
|
8
|
+
export { default as KyvDivider } from './components/kystverket/KyvDivider/kyvDivider';
|
|
8
9
|
export { default as Alert } from './components/kystverket/Alert/alert';
|
|
9
10
|
export type { AlertLevel } from './components/kystverket/Alert/alert.types';
|
|
10
11
|
export type { AlertProps } from './components/kystverket/Alert/alert';
|
|
@@ -49,6 +50,8 @@ export { Select } from './components/designsystemet/Select/Select';
|
|
|
49
50
|
export type { SelectProps, SelectOption } from './components/designsystemet/Select/Select';
|
|
50
51
|
export { default as Tabs } from './components/designsystemet/Tabs/Tabs';
|
|
51
52
|
export type { TabsProps } from './components/designsystemet/Tabs/Tabs';
|
|
53
|
+
export { default as Tag } from './components/designsystemet/Tag/Tag';
|
|
54
|
+
export type { TagProps } from './components/designsystemet/Tag/Tag';
|
|
52
55
|
export { Link } from './components/designsystemet/Link/Link';
|
|
53
56
|
export type { LinkProps } from './components/designsystemet/Link/Link';
|
|
54
57
|
export { default as Table } from './components/designsystemet/Table/Table';
|