@kystverket/styrbord 1.0.12 → 1.0.13

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.
@@ -0,0 +1,6 @@
1
+ import { TagProps as DsTagProps } from '@digdir/designsystemet-react';
2
+ export type TagProps = DsTagProps & {
3
+ bordered?: boolean;
4
+ };
5
+ declare const Tag: ({ bordered, className, ...props }: TagProps) => React.JSX.Element;
6
+ export default Tag;
@@ -0,0 +1,17 @@
1
+ import { Tag, TagProps } from '~/main';
2
+ import type { StoryFn, StoryObj } from '@storybook/react';
3
+ type Story = StoryObj<typeof Tag>;
4
+ declare const _default: {
5
+ title: string;
6
+ component: ({ bordered, className, ...props }: TagProps) => React.JSX.Element;
7
+ parameters: {
8
+ customStyles: {
9
+ justifyContent: string;
10
+ };
11
+ };
12
+ };
13
+ export default _default;
14
+ export declare const Preview: Story;
15
+ export declare const Sizes: StoryFn<typeof Tag>;
16
+ export declare const Colors: StoryFn<typeof Tag>;
17
+ export declare const Borders: StoryFn<typeof Tag>;
@@ -49,6 +49,8 @@ export { Select } from './components/designsystemet/Select/Select';
49
49
  export type { SelectProps, SelectOption } from './components/designsystemet/Select/Select';
50
50
  export { default as Tabs } from './components/designsystemet/Tabs/Tabs';
51
51
  export type { TabsProps } from './components/designsystemet/Tabs/Tabs';
52
+ export { default as Tag } from './components/designsystemet/Tag/Tag';
53
+ export type { TagProps } from './components/designsystemet/Tag/Tag';
52
54
  export { Link } from './components/designsystemet/Link/Link';
53
55
  export type { LinkProps } from './components/designsystemet/Link/Link';
54
56
  export { default as Table } from './components/designsystemet/Table/Table';