@altinn/altinn-components 0.29.1 → 0.29.2
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/assets/Badge.css +1 -1
- package/dist/assets/SettingsItem.css +1 -1
- package/dist/components/Badge/Badge.js +5 -5
- package/dist/components/Dashboard/DashboardHeader.js +11 -11
- package/dist/components/Settings/SettingsItem.js +13 -13
- package/dist/components/Settings/SettingsList.js +30 -0
- package/dist/components/Settings/SettingsSection.js +20 -0
- package/dist/components/Settings/index.js +6 -4
- package/dist/components/Snackbar/useSnackbar.js +6 -6
- package/dist/components/index.js +47 -45
- package/dist/index.js +73 -71
- package/dist/types/lib/components/Account/AccountList.stories.d.ts +16 -6
- package/dist/types/lib/components/Account/AccountListItem.stories.d.ts +2 -2
- package/dist/types/lib/components/Account/AccountMenu.stories.d.ts +1 -1
- package/dist/types/lib/components/Account/AccountSettingsList.stories.d.ts +14 -0
- package/dist/types/lib/components/ActivityLog/ActivityLog.stories.d.ts +1 -0
- package/dist/types/lib/components/Article/ArticleContact.stories.d.ts +1 -1
- package/dist/types/lib/components/Article/ArticleHeader.stories.d.ts +1 -1
- package/dist/types/lib/components/Attachment/AttachmentLink.stories.d.ts +1 -1
- package/dist/types/lib/components/Attachment/AttachmentList.stories.d.ts +1 -1
- package/dist/types/lib/components/Avatar/AvatarGroup.stories.d.ts +1 -1
- package/dist/types/lib/components/Avatar/avatar.stories.d.ts +1 -1
- package/dist/types/lib/components/Badge/Badge.d.ts +1 -1
- package/dist/types/lib/components/Badge/Badge.stories.d.ts +2 -1
- package/dist/types/lib/components/Bookmarks/BookmarksListItem.stories.d.ts +1 -1
- package/dist/types/lib/components/Bookmarks/BookmarksSection.stories.d.ts +1 -1
- package/dist/types/lib/components/Button/Button.stories.d.ts +1 -1
- package/dist/types/lib/components/Button/ComboButton.stories.d.ts +1 -1
- package/dist/types/lib/components/Button/IconButton.stories.d.ts +1 -1
- package/dist/types/lib/components/Byline/Byline.stories.d.ts +1 -1
- package/dist/types/lib/components/ContextMenu/ContextMenu.stories.d.ts +1 -1
- package/dist/types/lib/components/Dashboard/DashboardHeader.stories.d.ts +1 -1
- package/dist/types/lib/components/Dialog/Dialog.stories.d.ts +1 -1
- package/dist/types/lib/components/Dialog/DialogActions.stories.d.ts +1 -1
- package/dist/types/lib/components/Dialog/DialogAttachments.stories.d.ts +1 -1
- package/dist/types/lib/components/Dialog/DialogBody.stories.d.ts +1 -1
- package/dist/types/lib/components/Dialog/DialogBylline.stories.d.ts +1 -1
- package/dist/types/lib/components/Dialog/DialogHeader.stories.d.ts +1 -1
- package/dist/types/lib/components/Dialog/DialogHistory.stories.d.ts +1 -1
- package/dist/types/lib/components/Dialog/DialogList.stories.d.ts +1 -1
- package/dist/types/lib/components/Dialog/DialogListItem.stories.d.ts +1 -1
- package/dist/types/lib/components/Dialog/DialogMetadata.stories.d.ts +1 -1
- package/dist/types/lib/components/Dialog/DialogSeenBy.stories.d.ts +1 -1
- package/dist/types/lib/components/Dialog/DialogStatus.stories.d.ts +1 -1
- package/dist/types/lib/components/Dialog/DialogTouchedBy.stories.d.ts +1 -1
- package/dist/types/lib/components/Dialog/SeenByLog.stories.d.ts +1 -1
- package/dist/types/lib/components/DsComponents/DsComponents.stories.d.ts +1 -1
- package/dist/types/lib/components/Footer/Footer.stories.d.ts +1 -1
- package/dist/types/lib/components/Forms/Checkbox.stories.d.ts +1 -1
- package/dist/types/lib/components/Forms/CheckboxOptions.stories.d.ts +1 -1
- package/dist/types/lib/components/Forms/Radio.stories.d.ts +1 -1
- package/dist/types/lib/components/Forms/RadioOptions.stories.d.ts +1 -1
- package/dist/types/lib/components/Forms/SearchField.stories.d.ts +1 -1
- package/dist/types/lib/components/Forms/SelectField.stories.d.ts +1 -1
- package/dist/types/lib/components/Forms/Switch.stories.d.ts +1 -1
- package/dist/types/lib/components/Forms/SwitchOptions.stories.d.ts +1 -1
- package/dist/types/lib/components/Forms/TextField.stories.d.ts +1 -1
- package/dist/types/lib/components/Forms/TextareaField.stories.d.ts +1 -1
- package/dist/types/lib/components/GlobalMenu/GlobalMenu.stories.d.ts +1 -1
- package/dist/types/lib/components/GlobalMenu/GlobalMenuButton.stories.d.ts +1 -1
- package/dist/types/lib/components/Header/HeaderButton.stories.d.ts +1 -1
- package/dist/types/lib/components/Header/LocaleSwitcher.stories.d.ts +1 -1
- package/dist/types/lib/components/Icon/CheckboxIcon.stories.d.ts +1 -1
- package/dist/types/lib/components/Icon/Icon.stories.d.ts +1 -1
- package/dist/types/lib/components/Icon/ProgressIcon.stories.d.ts +1 -1
- package/dist/types/lib/components/Icon/RadioIcon.stories.d.ts +1 -1
- package/dist/types/lib/components/LayoutAction/LayoutAction.stories.d.ts +1 -1
- package/dist/types/lib/components/List/ListItem.stories.d.ts +1 -1
- package/dist/types/lib/components/Menu/Menu.stories.d.ts +1 -1
- package/dist/types/lib/components/Menu/MenuOption.stories.d.ts +1 -1
- package/dist/types/lib/components/Menu/MenuSearch.stories.d.ts +1 -1
- package/dist/types/lib/components/Metadata/MetaItem.stories.d.ts +1 -1
- package/dist/types/lib/components/Metadata/MetaProgress.stories.d.ts +1 -1
- package/dist/types/lib/components/Metadata/MetaTimestamp.stories.d.ts +1 -1
- package/dist/types/lib/components/Metadata/Metadata.stories.d.ts +1 -1
- package/dist/types/lib/components/Page/Breadcrumbs.stories.d.ts +1 -1
- package/dist/types/lib/components/Page/ContactSection.stories.d.ts +1 -1
- package/dist/types/lib/components/Page/Flex.stories.d.ts +1 -1
- package/dist/types/lib/components/Page/Grid.stories.d.ts +1 -1
- package/dist/types/lib/components/Page/List.stories.d.ts +1 -1
- package/dist/types/lib/components/Page/PageMenu.stories.d.ts +1 -1
- package/dist/types/lib/components/Page/PageNav.stories.d.ts +1 -1
- package/dist/types/lib/components/Page/PageTabs.stories.d.ts +1 -1
- package/dist/types/lib/components/ResourceList/ResourceList.stories.d.ts +1 -1
- package/dist/types/lib/components/ResourceList/ResourceListItem.stories.d.ts +1 -1
- package/dist/types/lib/components/Searchbar/Autocomplete.stories.d.ts +1 -1
- package/dist/types/lib/components/Searchbar/Searchbar.stories.d.ts +1 -1
- package/dist/types/lib/components/Settings/Settings.stories.d.ts +0 -1
- package/dist/types/lib/components/Settings/SettingsItem.d.ts +1 -0
- package/dist/types/lib/components/Settings/SettingsItem.stories.d.ts +3 -2
- package/dist/types/lib/components/Settings/SettingsList.d.ts +9 -0
- package/dist/types/lib/components/Settings/SettingsSection.d.ts +9 -0
- package/dist/types/lib/components/Settings/index.d.ts +2 -1
- package/dist/types/lib/components/Snackbar/SnackbarItem.stories.d.ts +1 -1
- package/dist/types/lib/components/Timeline/TimelineActivity.stories.d.ts +1 -1
- package/dist/types/lib/components/Timeline/TimelineFooter.stories.d.ts +1 -1
- package/dist/types/lib/components/Timeline/TimelineHeader.stories.d.ts +1 -1
- package/dist/types/lib/components/Timeline/TimelineSection.stories.d.ts +1 -1
- package/dist/types/lib/components/Toolbar/Toolbar.stories.d.ts +1 -1
- package/dist/types/lib/components/Toolbar/ToolbarAdd.stories.d.ts +1 -1
- package/dist/types/lib/components/Toolbar/ToolbarButton.stories.d.ts +1 -1
- package/dist/types/lib/components/Toolbar/ToolbarDate.stories.d.ts +1 -1
- package/dist/types/lib/components/Toolbar/ToolbarDaterange.stories.d.ts +1 -1
- package/dist/types/lib/components/Toolbar/ToolbarFilter.stories.d.ts +1 -1
- package/dist/types/lib/components/Toolbar/ToolbarMenu.stories.d.ts +1 -1
- package/dist/types/lib/components/Toolbar/ToolbarOptions.stories.d.ts +1 -1
- package/dist/types/lib/components/Toolbar/ToolbarSearch.stories.d.ts +1 -1
- package/dist/types/lib/components/Typography/Heading.stories.d.ts +1 -1
- package/dist/types/lib/components/Typography/Typography.stories.d.ts +1 -1
- package/dist/types/lib/stories/Profile/Settings.stories.d.ts +3 -4
- package/dist/types/lib/stories/Profile.stories.d.ts +7 -7
- package/package.json +12 -16
- package/dist/components/Settings/Settings.js +0 -20
- package/dist/types/lib/components/Settings/Settings.d.ts +0 -9
- package/dist/types/lib/stories/Profile/Accounts.stories.d.ts +0 -14
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
import { AccountListItemProps, AccountListProps } from '..';
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
@@ -11,8 +11,18 @@ export default meta;
|
|
|
11
11
|
type Story = StoryObj<typeof meta>;
|
|
12
12
|
export declare const Default: Story;
|
|
13
13
|
export declare const WithGroups: Story;
|
|
14
|
-
export declare const
|
|
15
|
-
export declare const
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
export declare const Controlled: () => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare const Collapsible: () => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
interface AccountDetailsProps extends AccountListItemProps {
|
|
17
|
+
smsAlerts?: boolean;
|
|
18
|
+
emailAlerts?: boolean;
|
|
19
|
+
email?: string;
|
|
20
|
+
phone?: string;
|
|
21
|
+
address?: string;
|
|
22
|
+
}
|
|
23
|
+
export declare const AccountToolbar: ({ id, type, isCurrentEndUser, favourite, onToggleFavourite }: AccountDetailsProps) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export declare const NotificationSettings: ({ smsAlerts, emailAlerts, email, phone, }: AccountDetailsProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export declare const CompanyDetails: ({ id, parentId, uniqueId, ...props }: AccountDetailsProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export declare const PersonDetails: ({ id, uniqueId, isCurrentEndUser, address, ...props }: AccountDetailsProps) => import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
export declare const UserDetails: ({ id, uniqueId, phone, address, email, ...props }: AccountDetailsProps) => import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export declare const GroupDetails: ({ id, accountIds }: AccountDetailsProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
import { AccountListItemProps } from '..';
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
@@ -13,7 +13,7 @@ declare const meta: {
|
|
|
13
13
|
title: string;
|
|
14
14
|
description: string;
|
|
15
15
|
};
|
|
16
|
-
decorators: ((Story: import('
|
|
16
|
+
decorators: ((Story: import('storybook/internal/csf').PartialStoryFn<import('@storybook/react-vite').ReactRenderer, {
|
|
17
17
|
id: string;
|
|
18
18
|
type: import('./AccountListItem').AccountListItemType;
|
|
19
19
|
name: string;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { SettingsListProps } from '..';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: ({ items, groups }: SettingsListProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
tags: string[];
|
|
7
|
+
parameters: {};
|
|
8
|
+
args: SettingsListProps;
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
type Story = StoryObj<typeof meta>;
|
|
12
|
+
export declare const Default: Story;
|
|
13
|
+
export declare const Controlled: () => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const Collapsible: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ color, theme, title, description, children, items, }: import('./ArticleContact').ArticleContactProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ icon, iconAltText, href, label }: import('./AttachmentLink').AttachmentLinkProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { Color, Theme } from '..';
|
|
3
3
|
export type BadgeColor = Color;
|
|
4
|
-
export type BadgeVariant = 'tinted' | 'base';
|
|
4
|
+
export type BadgeVariant = 'tinted' | 'base' | 'text';
|
|
5
5
|
/** Theme is deprecated, use variant instead */
|
|
6
6
|
export type BadgeTheme = Theme;
|
|
7
7
|
export type BadgeSize = 'sm' | 'xs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ label, color, variant, theme, size, className, children }: import('./Badge').BadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -15,3 +15,4 @@ export declare const Alert: Story;
|
|
|
15
15
|
export declare const AlertXs: Story;
|
|
16
16
|
export declare const UnreadCount: Story;
|
|
17
17
|
export declare const UnreadCountXs: Story;
|
|
18
|
+
export declare const TextBadge: Story;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ loading, title, ariaLabel, params, ...rest }: import('./BookmarksListItem').BookmarksListItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ variant, color, size, selected, icon, iconSize, href, label, labelSize, children, className, loading, ariaLabel, ...rest }: import('./Button').ButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ loading, color, size, avatar, avatarGroup, datetime, children, as, ...props }: import('./Byline').BylineProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ type, name, title, description, loading, children }: import('./DashboardHeader').DashboardHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ items, maxItems, id, expandAltLabel }: import('./DialogActions').DialogActionsProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ title, items }: import('./DialogAttachments.tsx').DialogAttachmentsProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ loading, sender, recipient, recipientLabel, updatedAt, updatedAtLabel, children, seenByLog, }: import('./DialogBody').DialogBodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ sender, recipient, recipientLabel, grouped, loading, size, }: import('./DialogByline').DialogBylineProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ loading, title, status, dueAt, dueAtLabel }: import('./DialogHeader').DialogHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ items, collapsible, expanded, expandLabel, collapseLabel, }: import('./DialogHistory').DialogHistoryProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ items, groups, sortGroupBy, isLoading }: import('./DialogList').DialogListProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ className, loading, status, sender, updatedAt, updatedAtLabel, dueAt, dueAtLabel, trashedAt, trashedAtLabel, archivedAt, archivedAtLabel, seenBy, touchedBy, attachmentsCount, attachmentsLabel, transmissionsLabel, activityLog, }: import('./DialogMetadata').DialogMetadataProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ size, label, seenByEndUser, seenByOthersCount, onClick, ...rest }: import('./DialogSeenBy').DialogSeenByProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ loading, size, value, label }: import('./DialogStatus').DialogStatusProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ loading, size, touchedBy, className }: import('./DialogTouchedBy').DialogTouchedByProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ collapsible, expanded, title, items, endUserLabel }: import('./SeenByLog').SeenByLogProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ options, ...restProps }: import('./CheckboxOptions').CheckboxOptionsProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ name, options, ...restProps }: import('./RadioOptions').RadioOptionsProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ size, label, children, ...rest }: import('./SelectField').SelectFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ name, options, ...restProps }: import('./SwitchOptions').SwitchOptionsProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ size, color, label, helperText, ...rest }: import('./TextField').TextFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ size, color, label, helperText, ...rest }: import('./TextareaField.tsx').TextareaFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ className, as, color, variant, avatar, avatarGroup, icon, expanded, label, badge, ...buttonProps }: import('./HeaderButton').HeaderButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ checked, title, hover, className }: import('./CheckboxIcon').CheckboxIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ color, theme, defaultItemColor, defaultItemTheme, defaultItemSize, defaultIconTheme, groups, items, search, menuItemsVirtual, }: import('./Menu').MenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ size, type, name, value, label, title, description, badge, checked, disabled, onChange, ...rest }: import('./MenuOption').MenuOptionProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ loading, reverse, size, variant, icon, children, ...rest }: import('./MetaItem').MetaItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ size, variant, progress, children }: import('./MetaProgress').MetaProgressProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ loading, size, variant, datetime, icon, children, }: import('./MetaTimestamp').MetaTimestampProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ as, color, size, theme, shadow, direction, reverse, align, justify, spacing, padding, margin, bleed, className, style, children, ...rest }: import('./Flex').FlexProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ as, size, theme, color, cols, reverse, spacing, className, style, children, }: import('./Grid').GridProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ children, className, spacing, items, ...rest }: import('../List').ListProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ color, padding, breadcrumbs, backButton, controls, }: import('./PageNav').PageNavProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ ownerName, resourceName, ownerLogoUrlAlt, ownerLogoUrl, ...props }: import('./ResourceListItem').ResourceListItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: ({ className, items, groups, expanded, onSelect }: import('./Autocomplete').AutocompleteProps) => import("react/jsx-runtime").JSX.Element;
|