@altinn/altinn-components 0.34.0 → 0.35.1

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.
Files changed (53) hide show
  1. package/dist/assets/ListItemControls.css +1 -1
  2. package/dist/assets/ListItemHeader.css +1 -1
  3. package/dist/assets/ListItemLabel.css +1 -1
  4. package/dist/assets/ListItemLink.css +1 -1
  5. package/dist/assets/TimelineHeader.css +1 -1
  6. package/dist/assets/UserListItem.css +1 -0
  7. package/dist/components/{AccessAreaList → AccessAreaListItem}/AccessAreaListItem.js +13 -12
  8. package/dist/components/{AccessAreaList → AccessAreaListItem}/index.js +0 -2
  9. package/dist/components/{AccessPackageList → AccessPackageListItem}/AccessPackageListItem.js +29 -15
  10. package/dist/components/{AccessPackageList → AccessPackageListItem}/index.js +0 -2
  11. package/dist/components/Account/AccountListItem.js +17 -17
  12. package/dist/components/List/ListItemControls.js +1 -1
  13. package/dist/components/List/ListItemHeader.js +87 -83
  14. package/dist/components/List/ListItemLabel.js +12 -12
  15. package/dist/components/List/ListItemLink.js +30 -25
  16. package/dist/components/{ResourceList → ResourceListItem}/ResourceListItem.js +8 -7
  17. package/dist/components/ResourceListItem/index.js +4 -0
  18. package/dist/components/Timeline/TimelineHeader.js +6 -6
  19. package/dist/components/Timeline/TimelineIcon.js +18 -11
  20. package/dist/components/UserListItem/UserListItem.js +85 -0
  21. package/dist/components/UserListItem/index.js +4 -0
  22. package/dist/components/index.js +193 -197
  23. package/dist/index.js +159 -163
  24. package/dist/types/lib/components/{AccessAreaList → AccessAreaListItem}/AccessAreaListItem.d.ts +4 -2
  25. package/dist/types/lib/components/AccessAreaListItem/AccessAreaListItem.stories.d.ts +61 -0
  26. package/dist/types/lib/components/{AccessAreaList → AccessAreaListItem}/index.d.ts +0 -1
  27. package/dist/types/lib/components/AccessPackageListItem/AccessPackageListItem.d.ts +7 -0
  28. package/dist/types/lib/components/AccessPackageListItem/AccessPackageListItem.stories.d.ts +58 -0
  29. package/dist/types/lib/components/{AccessPackageList → AccessPackageListItem}/index.d.ts +0 -1
  30. package/dist/types/lib/components/Avatar/Avatar.stories.d.ts +0 -3
  31. package/dist/types/lib/components/Dialog/DialogBody.stories.d.ts +1 -0
  32. package/dist/types/lib/components/List/ListItemLink.d.ts +2 -1
  33. package/dist/types/lib/components/{ResourceList → ResourceListItem}/ResourceListItem.d.ts +4 -2
  34. package/dist/types/lib/components/ResourceListItem/ResourceListItem.stories.d.ts +55 -0
  35. package/dist/types/lib/components/ResourceListItem/index.d.ts +1 -0
  36. package/dist/types/lib/components/UserListItem/UserListItem.d.ts +18 -0
  37. package/dist/types/lib/components/UserListItem/UserListItem.stories.d.ts +119 -0
  38. package/dist/types/lib/components/UserListItem/index.d.ts +1 -0
  39. package/dist/types/lib/components/index.d.ts +4 -3
  40. package/package.json +1 -1
  41. package/dist/components/AccessAreaList/AccessAreaList.js +0 -12
  42. package/dist/components/AccessPackageList/AccessPackageList.js +0 -12
  43. package/dist/components/ResourceList/ResourceList.js +0 -12
  44. package/dist/components/ResourceList/index.js +0 -6
  45. package/dist/types/lib/components/AccessAreaList/AccessAreaList.d.ts +0 -7
  46. package/dist/types/lib/components/AccessPackageList/AccessPackageList.d.ts +0 -6
  47. package/dist/types/lib/components/AccessPackageList/AccessPackageList.stories.d.ts +0 -17
  48. package/dist/types/lib/components/AccessPackageList/AccessPackageListItem.d.ts +0 -5
  49. package/dist/types/lib/components/List/ListItem.stories.d.ts +0 -35
  50. package/dist/types/lib/components/ResourceList/ResourceList.d.ts +0 -6
  51. package/dist/types/lib/components/ResourceList/ResourceList.stories.d.ts +0 -34
  52. package/dist/types/lib/components/ResourceList/ResourceListItem.stories.d.ts +0 -27
  53. package/dist/types/lib/components/ResourceList/index.d.ts +0 -2
@@ -0,0 +1,58 @@
1
+ import { AccessPackageListItemProps } from './AccessPackageListItem';
2
+ declare const meta: {
3
+ title: string;
4
+ component: ({ as, name, color, titleAs, size, ...props }: AccessPackageListItemProps) => import("react/jsx-runtime").JSX.Element;
5
+ tags: string[];
6
+ args: {
7
+ id: string;
8
+ name: string;
9
+ size: "md";
10
+ color: "neutral";
11
+ loading: false;
12
+ shadow: "xs";
13
+ border: "none";
14
+ as: "button";
15
+ titleAs: "h3";
16
+ };
17
+ argTypes: {
18
+ size: {
19
+ options: string[];
20
+ control: {
21
+ type: "inline-radio";
22
+ };
23
+ };
24
+ color: {
25
+ options: string[];
26
+ control: {
27
+ type: "select";
28
+ };
29
+ };
30
+ shadow: {
31
+ options: string[];
32
+ control: {
33
+ type: "inline-radio";
34
+ };
35
+ };
36
+ as: {
37
+ options: string[];
38
+ control: {
39
+ type: "select";
40
+ };
41
+ };
42
+ border: {
43
+ options: string[];
44
+ control: {
45
+ type: "select";
46
+ };
47
+ };
48
+ titleAs: {
49
+ options: string[];
50
+ control: {
51
+ type: "select";
52
+ };
53
+ };
54
+ };
55
+ };
56
+ export default meta;
57
+ export declare const AccessPackageListStory: (args: AccessPackageListItemProps) => import("react/jsx-runtime").JSX.Element;
58
+ export declare const ListOfPackages: () => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
1
  export * from './AccessPackageListItem';
2
- export * from './AccessPackageList';
@@ -8,9 +8,6 @@ declare const meta: {
8
8
  layout: string;
9
9
  };
10
10
  args: {
11
- style: {
12
- fontSize: string;
13
- };
14
11
  name: string;
15
12
  type: "person";
16
13
  };
@@ -43,4 +43,5 @@ export declare const Loading: Story;
43
43
  export declare const Summary: Story;
44
44
  export declare const ExtendedContent: Story;
45
45
  export declare const WithAttachments: Story;
46
+ export declare const WithWideLogo: Story;
46
47
  export declare const WithActions: Story;
@@ -11,5 +11,6 @@ export interface ListItemLinkProps {
11
11
  selected?: boolean;
12
12
  className?: string;
13
13
  active?: boolean;
14
+ children?: React.ReactNode;
14
15
  }
15
- export declare const ListItemLink: ({ as, loading, disabled, selected, href, onClick, onKeyPress, className, active, ariaLabel, }: ListItemLinkProps) => import("react/jsx-runtime").JSX.Element;
16
+ export declare const ListItemLink: ({ as, loading, disabled, selected, href, onClick, onKeyPress, className, active, ariaLabel, children, }: ListItemLinkProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import { BadgeProps } from '../Badge';
2
2
  import { ListItemProps } from '../List';
3
- export interface ResourceListItemProps extends Pick<ListItemProps, 'size' | 'controls' | 'as' | 'onClick' | 'loading'> {
3
+ export interface ResourceListItemProps extends Pick<ListItemProps, 'size' | 'controls' | 'as' | 'onClick' | 'loading' | 'shadow' | 'border' | 'interactive'> {
4
4
  /** Unique identifier for the resource item */
5
5
  id: string;
6
6
  /** Name of the owner of the resource */
@@ -13,5 +13,7 @@ export interface ResourceListItemProps extends Pick<ListItemProps, 'size' | 'con
13
13
  ownerLogoUrlAlt?: string;
14
14
  /** Badge properties for the resource item (optional) */
15
15
  badge?: BadgeProps;
16
+ /** Title element for the resource item (optional) */
17
+ titleAs?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'div' | 'span';
16
18
  }
17
- export declare const ResourceListItem: ({ ownerName, resourceName, ownerLogoUrlAlt, ownerLogoUrl, ...props }: ResourceListItemProps) => import("react/jsx-runtime").JSX.Element;
19
+ export declare const ResourceListItem: ({ ownerName, resourceName, ownerLogoUrlAlt, ownerLogoUrl, titleAs, ...props }: ResourceListItemProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,55 @@
1
+ import { StoryObj } from '@storybook/react-vite';
2
+ declare const meta: {
3
+ title: string;
4
+ component: ({ ownerName, resourceName, ownerLogoUrlAlt, ownerLogoUrl, titleAs, ...props }: import('./ResourceListItem').ResourceListItemProps) => import("react/jsx-runtime").JSX.Element;
5
+ tags: string[];
6
+ parameters: {};
7
+ args: {
8
+ size: "md";
9
+ id: string;
10
+ loading: false;
11
+ resourceName: string;
12
+ ownerName: string;
13
+ ownerLogoUrl: string;
14
+ shadow: "xs";
15
+ border: "none";
16
+ as: "div";
17
+ titleAs: "h3";
18
+ };
19
+ argTypes: {
20
+ size: {
21
+ options: string[];
22
+ control: {
23
+ type: "inline-radio";
24
+ };
25
+ };
26
+ shadow: {
27
+ options: string[];
28
+ control: {
29
+ type: "inline-radio";
30
+ };
31
+ };
32
+ as: {
33
+ options: string[];
34
+ control: {
35
+ type: "select";
36
+ };
37
+ };
38
+ border: {
39
+ options: string[];
40
+ control: {
41
+ type: "select";
42
+ };
43
+ };
44
+ titleAs: {
45
+ options: string[];
46
+ control: {
47
+ type: "select";
48
+ };
49
+ };
50
+ };
51
+ };
52
+ export default meta;
53
+ type Story = StoryObj<typeof meta>;
54
+ export declare const Default: Story;
55
+ export declare const ListOfResources: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './ResourceListItem';
@@ -0,0 +1,18 @@
1
+ import { ListItemProps } from '../List';
2
+ export interface UserListItemProps extends Pick<ListItemProps, 'size' | 'controls' | 'onClick' | 'loading' | 'shadow' | 'border' | 'color' | 'linkIcon' | 'expanded' | 'collapsible' | 'children' | 'as' | 'interactive' | 'id' | 'className'> {
3
+ /** Unique identifier for the user item */
4
+ id: string;
5
+ /** Name of the user */
6
+ name: string;
7
+ /** Type of user */
8
+ type: 'person' | 'company' | 'system';
9
+ /** Description details for the user */
10
+ description?: string;
11
+ /** Roles of the user to be displayed */
12
+ roleNames?: string[];
13
+ /** The explicit heading or tag of the title, if diverting from the default heading */
14
+ titleAs?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'div' | 'span';
15
+ /** Display as subUnit */
16
+ subUnit?: boolean;
17
+ }
18
+ export declare const UserListItem: ({ name, type, description, roleNames, titleAs, subUnit, loading, ...props }: UserListItemProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,119 @@
1
+ import { UserListItemProps } from './UserListItem';
2
+ declare const meta: {
3
+ title: string;
4
+ component: ({ name, type, description, roleNames, titleAs, subUnit, loading, ...props }: UserListItemProps) => import("react/jsx-runtime").JSX.Element;
5
+ tags: string[];
6
+ parameters: {};
7
+ args: {
8
+ id: string;
9
+ size: "md";
10
+ loading: false;
11
+ name: string;
12
+ description: string;
13
+ type: "person";
14
+ roleNames: string[];
15
+ shadow: "sm";
16
+ linkIcon: false;
17
+ collapsible: false;
18
+ as: "div";
19
+ interactive: true;
20
+ subUnit: false;
21
+ titleAs: "h3";
22
+ border: "none";
23
+ color: "company";
24
+ expanded: false;
25
+ children: import("react/jsx-runtime").JSX.Element;
26
+ };
27
+ argTypes: {
28
+ size: {
29
+ options: string[];
30
+ control: {
31
+ type: "inline-radio";
32
+ };
33
+ };
34
+ shadow: {
35
+ options: string[];
36
+ control: {
37
+ type: "inline-radio";
38
+ };
39
+ };
40
+ type: {
41
+ options: string[];
42
+ control: {
43
+ type: "inline-radio";
44
+ };
45
+ };
46
+ as: {
47
+ options: string[];
48
+ control: {
49
+ type: "select";
50
+ };
51
+ };
52
+ titleAs: {
53
+ options: string[];
54
+ control: {
55
+ type: "select";
56
+ };
57
+ };
58
+ border: {
59
+ options: string[];
60
+ control: {
61
+ type: "inline-radio";
62
+ };
63
+ };
64
+ color: {
65
+ options: string[];
66
+ control: {
67
+ type: "select";
68
+ };
69
+ };
70
+ loading: {
71
+ control: {
72
+ type: "boolean";
73
+ };
74
+ };
75
+ interactive: {
76
+ control: {
77
+ type: "boolean";
78
+ };
79
+ };
80
+ linkIcon: {
81
+ control: {
82
+ type: "boolean";
83
+ };
84
+ };
85
+ collapsible: {
86
+ control: {
87
+ type: "boolean";
88
+ };
89
+ };
90
+ expanded: {
91
+ control: {
92
+ type: "boolean";
93
+ };
94
+ };
95
+ subUnit: {
96
+ control: {
97
+ type: "boolean";
98
+ };
99
+ };
100
+ children: {
101
+ control: false;
102
+ };
103
+ onClick: {
104
+ control: false;
105
+ };
106
+ controls: {
107
+ control: false;
108
+ };
109
+ id: {
110
+ control: false;
111
+ };
112
+ };
113
+ };
114
+ export default meta;
115
+ export declare const Default: (args: UserListItemProps) => import("react/jsx-runtime").JSX.Element;
116
+ export declare const MultipleRoles: (args: UserListItemProps) => import("react/jsx-runtime").JSX.Element;
117
+ export declare const WithSubUnits: (args: UserListItemProps) => import("react/jsx-runtime").JSX.Element;
118
+ export declare const DifferentHeadingLevelsAndSizes: (args: UserListItemProps) => import("react/jsx-runtime").JSX.Element;
119
+ export declare const WithControls: (args: UserListItemProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './UserListItem';
@@ -30,9 +30,10 @@ export * from './Toolbar';
30
30
  export * from './Page';
31
31
  export * from './Transmission';
32
32
  export * from './Typography';
33
- export * from './ResourceList';
34
- export * from './AccessAreaList';
35
- export * from './AccessPackageList';
33
+ export * from './ResourceListItem';
34
+ export * from './AccessAreaListItem';
35
+ export * from './AccessPackageListItem';
36
+ export * from './UserListItem';
36
37
  export * from './Forms';
37
38
  export * from './Settings';
38
39
  export * from './Dashboard';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@altinn/altinn-components",
3
- "version": "0.34.0",
3
+ "version": "0.35.1",
4
4
  "main": "dist/index.js",
5
5
  "files": [
6
6
  "dist/",
@@ -1,12 +0,0 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import "../../index-L8X2o7IH.js";
3
- import "react";
4
- import "../RootProvider/RootProvider.js";
5
- import "../Searchbar/AutocompleteBase.js";
6
- import "../Snackbar/useSnackbar.js";
7
- import { AccessAreaListItem as m } from "./AccessAreaListItem.js";
8
- import { List as p } from "../List/List.js";
9
- const d = ({ items: i, color: o }) => /* @__PURE__ */ t(p, { color: o, spacing: 1, children: i.map((r) => /* @__PURE__ */ t(m, { ...r }, r.id)) });
10
- export {
11
- d as AccessAreaList
12
- };
@@ -1,12 +0,0 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- import { createElement as i } from "react";
3
- import "../../index-L8X2o7IH.js";
4
- import "../RootProvider/RootProvider.js";
5
- import "../Searchbar/AutocompleteBase.js";
6
- import "../Snackbar/useSnackbar.js";
7
- import { AccessPackageListItem as p } from "./AccessPackageListItem.js";
8
- import { List as c } from "../List/List.js";
9
- const l = ({ items: t, spacing: o = 2, ...m }) => /* @__PURE__ */ e(c, { spacing: o, ...m, children: t.map((r) => /* @__PURE__ */ i(p, { ...r, key: r.id, ...r })) });
10
- export {
11
- l as AccessPackageList
12
- };
@@ -1,12 +0,0 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- import { createElement as i } from "react";
3
- import "../../index-L8X2o7IH.js";
4
- import "../RootProvider/RootProvider.js";
5
- import "../Searchbar/AutocompleteBase.js";
6
- import "../Snackbar/useSnackbar.js";
7
- import { ResourceListItem as p } from "./ResourceListItem.js";
8
- import { List as s } from "../List/List.js";
9
- const x = ({ items: o, size: t = "md", ...m }) => /* @__PURE__ */ e(s, { ...m, size: t, children: o.map((r) => /* @__PURE__ */ i(p, { ...r, key: r.id })) });
10
- export {
11
- x as ResourceList
12
- };
@@ -1,6 +0,0 @@
1
- import { ResourceList as r } from "./ResourceList.js";
2
- import { ResourceListItem as s } from "./ResourceListItem.js";
3
- export {
4
- r as ResourceList,
5
- s as ResourceListItem
6
- };
@@ -1,7 +0,0 @@
1
- import { ListItemColor } from '../List';
2
- import { AccessAreaListItemProps } from './AccessAreaListItem';
3
- export interface AccessAreaListProps {
4
- items: AccessAreaListItemProps[];
5
- color?: ListItemColor;
6
- }
7
- export declare const AccessAreaList: ({ items, color }: AccessAreaListProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +0,0 @@
1
- import { ListProps } from '../List';
2
- import { AccessPackageListItemProps } from './AccessPackageListItem';
3
- export interface AccessPackageListProps extends Pick<ListProps, 'spacing'> {
4
- items: AccessPackageListItemProps[];
5
- }
6
- export declare const AccessPackageList: ({ items, spacing, ...props }: AccessPackageListProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,17 +0,0 @@
1
- import { AccessPackageListProps } from './AccessPackageList';
2
- declare const meta: {
3
- title: string;
4
- component: ({ items, spacing, ...props }: AccessPackageListProps) => import("react/jsx-runtime").JSX.Element;
5
- tags: string[];
6
- args: {};
7
- argTypes: {
8
- spacing: {
9
- options: string[];
10
- control: {
11
- type: "inline-radio";
12
- };
13
- };
14
- };
15
- };
16
- export default meta;
17
- export declare const AccessPackageListStory: (args: AccessPackageListProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +0,0 @@
1
- import { ListItemProps } from '../List';
2
- export interface AccessPackageListItemProps extends Pick<ListItemProps, 'color' | 'onClick' | 'as' | 'title' | 'description' | 'size' | 'controls' | 'loading'> {
3
- id: string;
4
- }
5
- export declare const AccessPackageListItem: ({ as, title, color, ...props }: AccessPackageListItemProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,35 +0,0 @@
1
- import { StoryObj } from '@storybook/react-vite';
2
- import { ListItemProps } from '../';
3
- declare const meta: {
4
- title: string;
5
- component: ({ className, color, variant, shadow, border, loading, collapsible, expanded, size, icon, label, title, description, badge, linkIcon, select, selected, controls, children, interactive, id, ...rest }: ListItemProps) => React.ReactElement;
6
- parameters: {};
7
- args: {
8
- id: string;
9
- as: "button";
10
- title: string;
11
- ariaLabel: string;
12
- onClick: () => void;
13
- };
14
- };
15
- export default meta;
16
- type Story = StoryObj<typeof meta>;
17
- export declare const Default: Story;
18
- export declare const IconTypes: (args: ListItemProps) => import("react/jsx-runtime").JSX.Element;
19
- export declare const Avatars: (args: ListItemProps) => import("react/jsx-runtime").JSX.Element;
20
- export declare const AvatarGroups: (args: ListItemProps) => import("react/jsx-runtime").JSX.Element;
21
- export declare const Badges: (args: ListItemProps) => import("react/jsx-runtime").JSX.Element;
22
- export declare const LoadingState: (args: ListItemProps) => import("react/jsx-runtime").JSX.Element;
23
- export declare const Selectable: (args: ListItemProps) => import("react/jsx-runtime").JSX.Element;
24
- export declare const Collapsible: (args: ListItemProps) => import("react/jsx-runtime").JSX.Element;
25
- export declare const CollapsibleExpanded: (args: ListItemProps) => import("react/jsx-runtime").JSX.Element;
26
- export declare const NonInteractive: () => import("react/jsx-runtime").JSX.Element;
27
- export declare const Variants: (args: ListItemProps) => import("react/jsx-runtime").JSX.Element;
28
- export declare const Shadows: (args: ListItemProps) => import("react/jsx-runtime").JSX.Element;
29
- export declare const Border: (args: ListItemProps) => import("react/jsx-runtime").JSX.Element;
30
- export declare const Sizes: (args: ListItemProps) => import("react/jsx-runtime").JSX.Element;
31
- export declare const OverridingIcon: (args: ListItemProps) => import("react/jsx-runtime").JSX.Element;
32
- export declare const OverridingBadge: (args: ListItemProps) => import("react/jsx-runtime").JSX.Element;
33
- export declare const OverridingLabel: (args: ListItemProps) => import("react/jsx-runtime").JSX.Element;
34
- export declare const CustomControls: (args: ListItemProps) => import("react/jsx-runtime").JSX.Element;
35
- export declare const OverrideTitleAs: (args: ListItemProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +0,0 @@
1
- import { ListProps } from '../List';
2
- import { ResourceListItemProps } from './ResourceListItem';
3
- export interface ResourceListProps extends ListProps {
4
- items: ResourceListItemProps[];
5
- }
6
- export declare const ResourceList: ({ items, size, ...props }: ResourceListProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,34 +0,0 @@
1
- import { StoryObj } from '@storybook/react-vite';
2
- declare const meta: {
3
- title: string;
4
- component: ({ items, size, ...props }: import('./ResourceList').ResourceListProps) => import("react/jsx-runtime").JSX.Element;
5
- tags: string[];
6
- parameters: {};
7
- args: {
8
- size: "md";
9
- items: {
10
- id: string;
11
- ownerName: string;
12
- resourceName: string;
13
- ownerLogoUrl: string;
14
- ownerLogoUrlAlt: string;
15
- }[];
16
- };
17
- argTypes: {
18
- size: {
19
- options: string[];
20
- control: {
21
- type: "inline-radio";
22
- };
23
- };
24
- spacing: {
25
- options: string[];
26
- control: {
27
- type: "inline-radio";
28
- };
29
- };
30
- };
31
- };
32
- export default meta;
33
- type Story = StoryObj<typeof meta>;
34
- export declare const Default: Story;
@@ -1,27 +0,0 @@
1
- import { StoryObj } from '@storybook/react-vite';
2
- declare const meta: {
3
- title: string;
4
- component: ({ ownerName, resourceName, ownerLogoUrlAlt, ownerLogoUrl, ...props }: import('./ResourceListItem').ResourceListItemProps) => import("react/jsx-runtime").JSX.Element;
5
- tags: string[];
6
- parameters: {};
7
- args: {
8
- size: "md";
9
- id: string;
10
- loading: false;
11
- resourceName: string;
12
- ownerName: string;
13
- ownerLogoUrl: string;
14
- controls: import("react/jsx-runtime").JSX.Element;
15
- };
16
- argTypes: {
17
- size: {
18
- options: string[];
19
- control: {
20
- type: "inline-radio";
21
- };
22
- };
23
- };
24
- };
25
- export default meta;
26
- type Story = StoryObj<typeof meta>;
27
- export declare const Default: Story;
@@ -1,2 +0,0 @@
1
- export * from '../ResourceList/ResourceList';
2
- export * from '../ResourceList/ResourceListItem';