@kystverket/styrbord 1.3.8 → 1.3.10

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.
@@ -18,6 +18,8 @@ export default meta;
18
18
  type Story = StoryObj<typeof meta>;
19
19
  export declare const Default: Story;
20
20
  export declare const WithValue: Story;
21
+ export declare const WithoutPlaceholderWithoutValue: Story;
22
+ export declare const WithoutPlaceholderWithValue: Story;
21
23
  export declare const Optional: Story;
22
24
  export declare const OptionalText: Story;
23
25
  export declare const Required: Story;
@@ -0,0 +1,13 @@
1
+ import { ReactNode } from 'react';
2
+ import { Spacing } from '../Box/box.types';
3
+ export interface PageHeadingProps {
4
+ heading?: string;
5
+ headingSize?: 'sm' | 'md' | 'lg' | 'xl';
6
+ aboveSection?: ReactNode;
7
+ rightSection?: ReactNode;
8
+ children?: ReactNode;
9
+ border?: boolean;
10
+ px?: Spacing;
11
+ contentWidth?: 'container' | 'full' | 'form' | 'fit';
12
+ }
13
+ export declare function PageHeading({ children, aboveSection, rightSection, heading, border, headingSize, contentWidth, px, }: PageHeadingProps): React.JSX.Element;
@@ -0,0 +1,20 @@
1
+ import type { StoryObj } from '@storybook/react';
2
+ import { PageHeading } from './PageHeading';
3
+ declare const meta: {
4
+ title: string;
5
+ component: typeof PageHeading;
6
+ decorators: ((Story: import("@storybook/types").PartialStoryFn) => React.JSX.Element)[];
7
+ tags: string[];
8
+ argTypes: {
9
+ children: {
10
+ control: {
11
+ type: "object";
12
+ };
13
+ };
14
+ };
15
+ };
16
+ export default meta;
17
+ type Story = StoryObj<typeof meta>;
18
+ export declare const Default: Story;
19
+ export declare const UtenSeksjoner: Story;
20
+ export declare const BareRight: Story;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kystverket/styrbord",
3
- "version": "1.3.8",
3
+ "version": "1.3.10",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "repository": {