@kystverket/styrbord 1.6.2 → 1.6.4
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/Table/Table.d.ts +1 -1
- package/dist/src/components/kystverket/Image/svgImage.d.ts +1 -0
- package/dist/src/components/kystverket/KyvSpinner/KyvSpinner.d.ts +8 -0
- package/dist/src/components/kystverket/KyvSpinner/KyvSpinner.stories.d.ts +26 -0
- package/dist/src/main.d.ts +3 -1
- package/dist/style.css +1 -1
- package/dist/style.js +1396 -1364
- package/dist/style.umd.cjs +7 -7
- package/package.json +1 -1
- /package/dist/src/components/kystverket/KyvDivider/{kyvDivider.d.ts → KyvDivider.d.ts} +0 -0
- /package/dist/src/components/kystverket/KyvDivider/{kyvDivider.stories.d.ts → KyvDivider.stories.d.ts} +0 -0
|
@@ -3,7 +3,7 @@ export type TableProps = DsTableProps & {
|
|
|
3
3
|
radius?: 'none' | 'sm' | 'md' | 'lg';
|
|
4
4
|
header?: true | 'transparent' | 'opaque';
|
|
5
5
|
body?: 'transparent' | 'white';
|
|
6
|
-
'cell-padding'?: 'sm' | 'md';
|
|
6
|
+
'cell-padding'?: 'sm' | 'md' | 'lg';
|
|
7
7
|
};
|
|
8
8
|
declare const Table: {
|
|
9
9
|
({ header, body, radius, className, "cell-padding": cellPadding, ...props }: TableProps): React.JSX.Element;
|
|
@@ -51,6 +51,7 @@ export declare const ImageBwOhoi: (props: SvgImageProps) => React.JSX.Element;
|
|
|
51
51
|
export declare const ImageBwBoelgevarsel: (props: SvgImageProps) => React.JSX.Element;
|
|
52
52
|
export declare const ImageBwArcticinfo: (props: SvgImageProps) => React.JSX.Element;
|
|
53
53
|
export declare const ImageFarvannsskiltOgNavinnretninger: (props: SvgImageProps) => React.JSX.Element;
|
|
54
|
+
export declare const ImageFyr: (props: SvgImageProps) => React.JSX.Element;
|
|
54
55
|
export declare const ImageFarvannsskiltOgNavinnretningerFarget: (props: SvgImageProps) => React.JSX.Element;
|
|
55
56
|
export declare const ImageSkadePaaInfrastruktur: (props: SvgImageProps) => React.JSX.Element;
|
|
56
57
|
export declare const ImageSkadePaaInfrastrukturFarget: (props: SvgImageProps) => React.JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type KyvSpinnerSize = 'sm' | 'md' | 'lg';
|
|
2
|
+
export interface KyvSpinnerProps {
|
|
3
|
+
size?: KyvSpinnerSize;
|
|
4
|
+
'aria-label'?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
declare const KyvSpinner: ({ size, "aria-label": ariaLabel, className }: KyvSpinnerProps) => React.JSX.Element;
|
|
8
|
+
export default KyvSpinner;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: ({ size, "aria-label": ariaLabel, className }: import("./KyvSpinner").KyvSpinnerProps) => React.JSX.Element;
|
|
5
|
+
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
|
|
6
|
+
tags: string[];
|
|
7
|
+
parameters: {
|
|
8
|
+
docs: {
|
|
9
|
+
description: {
|
|
10
|
+
component: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
argTypes: {
|
|
15
|
+
size: {
|
|
16
|
+
control: "radio";
|
|
17
|
+
options: string[];
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export default meta;
|
|
22
|
+
type Story = StoryObj<typeof meta>;
|
|
23
|
+
export declare const Default: Story;
|
|
24
|
+
export declare const Small: Story;
|
|
25
|
+
export declare const Large: Story;
|
|
26
|
+
export declare const AllSizes: Story;
|
package/dist/src/main.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export { Details as DeprecatedDetails, type DetailsProps as DeprecatedDetailsPro
|
|
|
7
7
|
export { default as DeprecatedCard, type CardProps as DeprecatedCardProps } from './components/deprecated/Card/Card';
|
|
8
8
|
export { FilePreviewer, type FilePreviewerProps } from './components/kystverket/FilePreviewer';
|
|
9
9
|
export { StyrbordTranslations } from './translations';
|
|
10
|
-
export { default as KyvDivider } from './components/kystverket/KyvDivider/
|
|
10
|
+
export { default as KyvDivider } from './components/kystverket/KyvDivider/KyvDivider';
|
|
11
11
|
export { PageHeading } from './components/kystverket/PageHeading/PageHeading';
|
|
12
12
|
export type { PageHeadingProps } from './components/kystverket/PageHeading/PageHeading';
|
|
13
13
|
export { default as MarkdownToReact } from './components/kystverket/MarkdownToReact/markdownToReact';
|
|
@@ -18,6 +18,8 @@ export { default as Box } from './components/kystverket/Box/box';
|
|
|
18
18
|
export type { BoxProps } from './components/kystverket/Box/box';
|
|
19
19
|
export { default as Stepper } from './components/kystverket/Stepper/stepper';
|
|
20
20
|
export type { StepperProps } from './components/kystverket/Stepper/stepper';
|
|
21
|
+
export { default as KyvSpinner } from './components/kystverket/KyvSpinner/KyvSpinner';
|
|
22
|
+
export type { KyvSpinnerProps } from './components/kystverket/KyvSpinner/KyvSpinner';
|
|
21
23
|
export { default as LabelContent, type LabelContentProps } from './components/kystverket/LabelContent/labelContent';
|
|
22
24
|
export { default as Icon } from './components/kystverket/Icon/icon';
|
|
23
25
|
export type { IconId } from './components/kystverket/Icon/icon.types';
|