@visio-io/design-system 1.8.13 → 1.8.15
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/index.cjs.js +78 -78
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +8145 -8611
- package/dist/index.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/components/GoogleMap/types.d.ts +1 -0
- package/dist/types/components/index.d.ts +0 -10
- package/package.json +1 -1
- package/dist/types/components/ContentCard/ContentCard.d.ts +0 -2
- package/dist/types/components/ContentCard/ContentCard.stories.d.ts +0 -12
- package/dist/types/components/ContentCard/index.d.ts +0 -2
- package/dist/types/components/ContentCard/types.d.ts +0 -13
- package/dist/types/components/ListPageLayout/ListPageActionBar.d.ts +0 -2
- package/dist/types/components/ListPageLayout/ListPageActionBar.stories.d.ts +0 -10
- package/dist/types/components/ListPageLayout/ListPageLayout.d.ts +0 -2
- package/dist/types/components/ListPageLayout/ListPageLayout.stories.d.ts +0 -9
- package/dist/types/components/ListPageLayout/index.d.ts +0 -3
- package/dist/types/components/ListPageLayout/types.d.ts +0 -23
- package/dist/types/components/PageHeader/PageHeader.d.ts +0 -2
- package/dist/types/components/PageHeader/PageHeader.stories.d.ts +0 -11
- package/dist/types/components/PageHeader/index.d.ts +0 -2
- package/dist/types/components/PageHeader/types.d.ts +0 -8
- package/dist/types/components/Pagination/Pagination.d.ts +0 -2
- package/dist/types/components/Pagination/Pagination.stories.d.ts +0 -11
- package/dist/types/components/Pagination/index.d.ts +0 -2
- package/dist/types/components/Pagination/types.d.ts +0 -9
- package/dist/types/components/SortDropdown/SortDropdown.d.ts +0 -2
- package/dist/types/components/SortDropdown/index.d.ts +0 -2
- package/dist/types/components/SortDropdown/types.d.ts +0 -11
|
@@ -47,13 +47,3 @@ export type { FormInputProps } from "./FormInput/types";
|
|
|
47
47
|
export { CancelIcon, ErrorIcon, SearchIcon, HomeIcon, VideocamIcon, FacialIcon as FacialNewIcon, CarIcon, TodayIcon, PhotoIcon, PlateCloneIcon, SettingsIcon, InboxIcon, LprIcon, LogoutIcon, DarkModeIcon, LightModeIcon, NotificationsIcon, PersonIcon, } from "./Icons";
|
|
48
48
|
export { ViewChip } from "./ViewChip";
|
|
49
49
|
export type { ViewChipProps } from "./ViewChip/types";
|
|
50
|
-
export { SortDropdown } from "./SortDropdown";
|
|
51
|
-
export type { SortDropdownProps, SortOption } from "./SortDropdown/types";
|
|
52
|
-
export { PageHeader } from "./PageHeader";
|
|
53
|
-
export type { PageHeaderProps } from "./PageHeader/types";
|
|
54
|
-
export { Pagination } from "./Pagination";
|
|
55
|
-
export type { PaginationProps } from "./Pagination/types";
|
|
56
|
-
export { ContentCard } from "./ContentCard";
|
|
57
|
-
export type { ContentCardProps, ContentCardSection } from "./ContentCard/types";
|
|
58
|
-
export { ListPageLayout, ListPageActionBar } from "./ListPageLayout";
|
|
59
|
-
export type { ListPageLayoutProps, ListPageActionBarProps, FilterChipData } from "./ListPageLayout/types";
|
package/package.json
CHANGED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { ContentCard } from './ContentCard';
|
|
3
|
-
import '../../styles/index.scss';
|
|
4
|
-
declare const meta: Meta<typeof ContentCard>;
|
|
5
|
-
export default meta;
|
|
6
|
-
type Story = StoryObj<typeof ContentCard>;
|
|
7
|
-
export declare const ThreeSectionsWithDividers: Story;
|
|
8
|
-
export declare const TwoSectionsWithDivider: Story;
|
|
9
|
-
export declare const ThreeSectionsNoDividers: Story;
|
|
10
|
-
export declare const CustomFlexDistribution: Story;
|
|
11
|
-
export declare const FixedWidthSection: Story;
|
|
12
|
-
export declare const CustomMinHeight: Story;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { BoxProps } from '@mui/material';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
export interface ContentCardSection {
|
|
4
|
-
content: ReactNode;
|
|
5
|
-
flex?: number | string;
|
|
6
|
-
dividerAfter?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export interface ContentCardProps extends BoxProps {
|
|
9
|
-
sections: ContentCardSection[];
|
|
10
|
-
minHeight?: number | string;
|
|
11
|
-
cardPadding?: number | string;
|
|
12
|
-
sectionGap?: number | string;
|
|
13
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { ListPageActionBar } from './ListPageActionBar';
|
|
3
|
-
import '../../styles/index.scss';
|
|
4
|
-
declare const meta: Meta<typeof ListPageActionBar>;
|
|
5
|
-
export default meta;
|
|
6
|
-
type Story = StoryObj<typeof ListPageActionBar>;
|
|
7
|
-
export declare const Default: Story;
|
|
8
|
-
export declare const WithActions: Story;
|
|
9
|
-
export declare const WithChips: Story;
|
|
10
|
-
export declare const WithoutFilterButton: Story;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { ListPageLayout } from './ListPageLayout';
|
|
3
|
-
import '../../styles/index.scss';
|
|
4
|
-
declare const meta: Meta<typeof ListPageLayout>;
|
|
5
|
-
export default meta;
|
|
6
|
-
type Story = StoryObj<typeof ListPageLayout>;
|
|
7
|
-
export declare const Default: Story;
|
|
8
|
-
export declare const WithFilterChips: Story;
|
|
9
|
-
export declare const MinimalLayout: Story;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export interface FilterChipData {
|
|
3
|
-
filterId: string;
|
|
4
|
-
value: string;
|
|
5
|
-
label: string;
|
|
6
|
-
}
|
|
7
|
-
export interface ListPageLayoutProps {
|
|
8
|
-
actionBar: ReactNode;
|
|
9
|
-
pageHeader?: ReactNode;
|
|
10
|
-
pagination?: ReactNode;
|
|
11
|
-
children?: ReactNode;
|
|
12
|
-
}
|
|
13
|
-
export interface ListPageActionBarProps {
|
|
14
|
-
searchValue: string;
|
|
15
|
-
onSearchChange: (value: string) => void;
|
|
16
|
-
onSearch?: () => void;
|
|
17
|
-
searchPlaceholder?: string;
|
|
18
|
-
onFilterClick?: () => void;
|
|
19
|
-
actions?: ReactNode;
|
|
20
|
-
chips?: FilterChipData[];
|
|
21
|
-
onRemoveChip?: (filterId: string, value: string) => void;
|
|
22
|
-
onClearFilters?: () => void;
|
|
23
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { PageHeader } from './PageHeader';
|
|
3
|
-
import '../../styles/index.scss';
|
|
4
|
-
declare const meta: Meta<typeof PageHeader>;
|
|
5
|
-
export default meta;
|
|
6
|
-
type Story = StoryObj<typeof PageHeader>;
|
|
7
|
-
export declare const Default: Story;
|
|
8
|
-
export declare const WithCount: Story;
|
|
9
|
-
export declare const WithDescription: Story;
|
|
10
|
-
export declare const WithActions: Story;
|
|
11
|
-
export declare const TitleOnly: Story;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { Pagination } from './Pagination';
|
|
3
|
-
import '../../styles/index.scss';
|
|
4
|
-
declare const meta: Meta<typeof Pagination>;
|
|
5
|
-
export default meta;
|
|
6
|
-
type Story = StoryObj<typeof Pagination>;
|
|
7
|
-
export declare const Default: Story;
|
|
8
|
-
export declare const FewPages: Story;
|
|
9
|
-
export declare const ManyPages: Story;
|
|
10
|
-
export declare const WithoutPageSizeSelector: Story;
|
|
11
|
-
export declare const CustomPageSizeOptions: Story;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BoxProps } from '@mui/material';
|
|
2
|
-
export interface PaginationProps extends Omit<BoxProps, 'onChange'> {
|
|
3
|
-
page: number;
|
|
4
|
-
totalPages: number;
|
|
5
|
-
pageSize: number;
|
|
6
|
-
pageSizeOptions?: number[];
|
|
7
|
-
onPageChange: (page: number) => void;
|
|
8
|
-
onPageSizeChange?: (pageSize: number) => void;
|
|
9
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BoxProps } from '@mui/material';
|
|
2
|
-
export interface SortOption {
|
|
3
|
-
label: string;
|
|
4
|
-
value: string;
|
|
5
|
-
}
|
|
6
|
-
export interface SortDropdownProps extends Omit<BoxProps, 'onChange'> {
|
|
7
|
-
options: SortOption[];
|
|
8
|
-
value: string;
|
|
9
|
-
onChange: (value: string) => void;
|
|
10
|
-
prefix?: string;
|
|
11
|
-
}
|