@kystverket/styrbord 1.3.36 → 1.3.38
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/src/components/designsystemet/Button/Button.d.ts +1 -1
- package/dist/src/components/designsystemet/TextArea/TextArea.d.ts +2 -1
- package/dist/src/components/designsystemet/TextArea/TextArea.stories.d.ts +1 -1
- package/dist/src/components/kystverket/FilePreviewer/FilePreviewer-openInNew.d.ts +6 -0
- package/dist/style.css +1 -1
- package/dist/style.js +2035 -1996
- package/dist/style.umd.cjs +8 -8
- package/package.json +1 -1
- /package/dist/src/{utils/handleFileDownload.d.ts → components/kystverket/FilePreviewer/FilePreviewer-handleFileDownload.d.ts} +0 -0
|
@@ -2,7 +2,7 @@ import { ButtonProps as DsButtonProps } from '@digdir/designsystemet-react';
|
|
|
2
2
|
import { FC } from 'react';
|
|
3
3
|
export type ButtonProps = {
|
|
4
4
|
variant?: 'filled' | 'subtle' | 'outline' | 'ghost' | 'dashed';
|
|
5
|
-
color?: 'neutral' | 'danger';
|
|
5
|
+
color?: 'primary' | 'neutral' | 'danger';
|
|
6
6
|
size?: 'sm' | 'md' | 'lg';
|
|
7
7
|
text?: string;
|
|
8
8
|
href?: string;
|
|
@@ -15,7 +15,8 @@ export interface TextAreaProps {
|
|
|
15
15
|
readOnly?: boolean;
|
|
16
16
|
inputMode?: 'email' | 'tel' | 'search' | 'text' | 'none' | 'url' | 'numeric' | 'decimal';
|
|
17
17
|
maxLength?: number;
|
|
18
|
+
minHeight?: 'sm' | 'md' | 'lg';
|
|
18
19
|
size?: InputSize;
|
|
19
20
|
id?: string;
|
|
20
21
|
}
|
|
21
|
-
export declare const TextArea: ({ size, className, label, required, optional, onChange, value, ...props }: TextAreaProps) => React.JSX.Element;
|
|
22
|
+
export declare const TextArea: ({ size, className, label, required, optional, onChange, value, minHeight, ...props }: TextAreaProps) => React.JSX.Element;
|
|
@@ -2,7 +2,7 @@ import type { StoryObj } from '@storybook/react-vite';
|
|
|
2
2
|
import { TextAreaProps } from './TextArea';
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ size, className, label, required, optional, onChange, value, ...props }: TextAreaProps) => React.JSX.Element;
|
|
5
|
+
component: ({ size, className, label, required, optional, onChange, value, minHeight, ...props }: TextAreaProps) => React.JSX.Element;
|
|
6
6
|
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn) => React.JSX.Element)[];
|
|
7
7
|
tags: string[];
|
|
8
8
|
argTypes: {};
|