@kystverket/styrbord 1.9.3 → 1.9.5
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/AvatarStack/AvatarStack.d.ts +1 -0
- package/dist/src/components/designsystemet/AvatarStack/AvatarStack.stories.d.ts +13 -0
- package/dist/src/components/kystverket/CompactDetails/CompactDetails.d.ts +3 -0
- package/dist/src/components/kystverket/CompactDetails/CompactDetails.stories.d.ts +26 -0
- package/dist/src/components/kystverket/CompactDetails/CompactDetails.types.d.ts +10 -0
- package/dist/src/main.d.ts +4 -0
- package/dist/style.css +1 -1
- package/dist/style.js +648 -619
- package/dist/style.umd.cjs +7 -7
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { EXPERIMENTAL_AvatarStack as AvatarStack, type AvatarStackProps } from '@digdir/designsystemet-react';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Meta, StoryFn } from '@storybook/react-vite';
|
|
2
|
+
import { AvatarStack } from '~/main';
|
|
3
|
+
type Story = StoryFn<typeof AvatarStack>;
|
|
4
|
+
declare const meta: Meta<typeof AvatarStack>;
|
|
5
|
+
export default meta;
|
|
6
|
+
export declare const Preview: Story;
|
|
7
|
+
export declare const Sizes: Story;
|
|
8
|
+
export declare const Overlap: Story;
|
|
9
|
+
export declare const Gap: Story;
|
|
10
|
+
export declare const Expandable: Story;
|
|
11
|
+
export declare const WithSuffix: Story;
|
|
12
|
+
export declare const ShapeVariants: Story;
|
|
13
|
+
export declare const ExpandableWithTooltips: Story;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: ({ label, children, open, defaultOpen, onOpenChange, id, className, }: import("~/main").CompactDetailsProps) => React.JSX.Element;
|
|
5
|
+
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn, context: import("storybook/internal/csf").StoryContext) => React.JSX.Element)[];
|
|
6
|
+
tags: string[];
|
|
7
|
+
argTypes: {};
|
|
8
|
+
parameters: {
|
|
9
|
+
docs: {
|
|
10
|
+
description: {
|
|
11
|
+
component: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export default meta;
|
|
17
|
+
type Story = StoryObj<typeof meta>;
|
|
18
|
+
export declare const Default: Story;
|
|
19
|
+
export declare const Open: Story;
|
|
20
|
+
export declare const Controlled: Story;
|
|
21
|
+
/**
|
|
22
|
+
* Plassert mellom et spørsmål og svaralternativene. Her brukes `BorderedRadioGroup` uten egen `label`,
|
|
23
|
+
* og spørsmålet rendres som en egen overskrift slik at `CompactDetails` kan plasseres rett under tittelen,
|
|
24
|
+
* men over radioknappene.
|
|
25
|
+
*/
|
|
26
|
+
export declare const PlacementInRadioGroup: Story;
|
package/dist/src/main.d.ts
CHANGED
|
@@ -48,6 +48,8 @@ export { FileUploaderContext, type FileUploaderContextProps, } from './component
|
|
|
48
48
|
export type * from './components/kystverket/FileUploader/FileUploader.types';
|
|
49
49
|
export type { DeriveFileInfosFromStorageIds } from './utils/fileInfoResolver';
|
|
50
50
|
export { default as CardTitle, type CardTitleProps } from './components/designsystemet/CardTitle/CardTitle';
|
|
51
|
+
export { default as CompactDetails } from './components/kystverket/CompactDetails/CompactDetails';
|
|
52
|
+
export type { CompactDetailsProps } from './components/kystverket/CompactDetails/CompactDetails.types';
|
|
51
53
|
export { default as ClickableCard } from './components/kystverket/ClickableCard/ClickableCard';
|
|
52
54
|
export type { ClickableCardProps, ClickableCardColor, ClickableCardVariant, } from './components/kystverket/ClickableCard/ClickableCard.types';
|
|
53
55
|
export { Button } from './components/designsystemet/Button/Button';
|
|
@@ -72,6 +74,8 @@ export type { LinkProps } from './components/designsystemet/Link/Link';
|
|
|
72
74
|
export { default as Table } from './components/designsystemet/Table/Table';
|
|
73
75
|
export { Avatar } from './components/designsystemet/Avatar/Avatar';
|
|
74
76
|
export type { AvatarProps } from './components/designsystemet/Avatar/Avatar';
|
|
77
|
+
export { AvatarStack } from './components/designsystemet/AvatarStack/AvatarStack';
|
|
78
|
+
export type { AvatarStackProps } from './components/designsystemet/AvatarStack/AvatarStack';
|
|
75
79
|
export { IdProvider, useIdProvider } from './utils/idContext';
|
|
76
80
|
export { SlotDialog, type SlotDialogProps } from './components/kystverket/SlotDialog/SlotDialog';
|
|
77
81
|
export { SideSheet, type SideSheetProps } from './components/kystverket/SideSheet/SideSheet';
|