@kystverket/styrbord 1.17.1 → 1.18.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.
|
@@ -10,6 +10,8 @@ export type AlertProps = DsAlertProps & {
|
|
|
10
10
|
className?: string;
|
|
11
11
|
role?: 'status';
|
|
12
12
|
onDismiss?: () => void;
|
|
13
|
+
bordered?: boolean;
|
|
14
|
+
rounded?: boolean;
|
|
13
15
|
};
|
|
14
|
-
declare const Alert: ({ level, title, "data-size": dataSize, text, width, className, ...props }: AlertProps) => React.JSX.Element;
|
|
16
|
+
declare const Alert: ({ level, title, "data-size": dataSize, text, width, className, bordered, rounded, ...props }: AlertProps) => React.JSX.Element;
|
|
15
17
|
export default Alert;
|
|
@@ -2,7 +2,7 @@ import type { StoryObj } from '@storybook/react-vite';
|
|
|
2
2
|
import { AlertProps } from './alert';
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ level, title, "data-size": dataSize, text, width, className, ...props }: AlertProps) => React.JSX.Element;
|
|
5
|
+
component: ({ level, title, "data-size": dataSize, text, width, className, bordered, rounded, ...props }: AlertProps) => React.JSX.Element;
|
|
6
6
|
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
|
|
7
7
|
tags: string[];
|
|
8
8
|
argTypes: {};
|
|
@@ -26,3 +26,4 @@ export declare const NormalSize: Story;
|
|
|
26
26
|
export declare const LargeSizeWithDismiss: Story;
|
|
27
27
|
export declare const DefaultKort: Story;
|
|
28
28
|
export declare const WithErrorDismiss: Story;
|
|
29
|
+
export declare const WithoutBorderAndRoundedCorners: Story;
|