@sovereignfs/ui 0.40.0 → 0.45.0
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/Accordion.module.css +3 -0
- package/dist/Alert.module.css +62 -0
- package/dist/AspectRatio.module.css +15 -0
- package/dist/Badge.module.css +75 -9
- package/dist/BalanceChip.module.css +32 -0
- package/dist/Breadcrumb.module.css +49 -0
- package/dist/Button.module.css +12 -3
- package/dist/ButtonGroup.module.css +29 -0
- package/dist/Card.module.css +6 -0
- package/dist/Checkbox.module.css +3 -1
- package/dist/Collapsible.module.css +70 -0
- package/dist/Combobox.module.css +122 -0
- package/dist/Command.module.css +80 -0
- package/dist/ConfirmDialog.module.css +5 -1
- package/dist/DataTable.module.css +28 -0
- package/dist/DatePicker.module.css +6 -2
- package/dist/Dialog.module.css +3 -0
- package/dist/HoverCard.module.css +3 -0
- package/dist/Input.module.css +6 -1
- package/dist/Item.module.css +70 -0
- package/dist/Kbd.module.css +14 -0
- package/dist/Label.module.css +11 -0
- package/dist/Marker.module.css +33 -0
- package/dist/MemberMultiSelect.module.css +27 -0
- package/dist/Menu.module.css +8 -1
- package/dist/Message.module.css +99 -0
- package/dist/MessageScroller.module.css +54 -0
- package/dist/NavigationMenu.module.css +53 -0
- package/dist/Pagination.module.css +98 -0
- package/dist/Progress.module.css +20 -0
- package/dist/RadioGroup.module.css +88 -0
- package/dist/Resizable.module.css +70 -0
- package/dist/ScrollArea.module.css +20 -0
- package/dist/Select.module.css +7 -3
- package/dist/Slider.module.css +95 -0
- package/dist/Table.module.css +45 -0
- package/dist/Tabs.module.css +6 -1
- package/dist/Toggle.module.css +6 -1
- package/dist/Typography.module.css +47 -0
- package/dist/index.d.ts +698 -5
- package/dist/index.js +1938 -482
- package/dist/tokens/primitives.css +22 -8
- package/package.json +1 -1
- package/src/components/Accordion/Accordion.module.css +3 -0
- package/src/components/Accordion/Accordion.stories.tsx +110 -0
- package/src/components/Accordion/Accordion.tsx +53 -0
- package/src/components/Accordion/__tests__/Accordion.test.tsx +61 -0
- package/src/components/Alert/Alert.module.css +62 -0
- package/src/components/Alert/Alert.stories.tsx +96 -0
- package/src/components/Alert/Alert.tsx +58 -0
- package/src/components/Alert/__tests__/Alert.test.tsx +75 -0
- package/src/components/AspectRatio/AspectRatio.module.css +15 -0
- package/src/components/AspectRatio/AspectRatio.stories.tsx +78 -0
- package/src/components/AspectRatio/AspectRatio.tsx +21 -0
- package/src/components/AspectRatio/__tests__/AspectRatio.test.tsx +27 -0
- package/src/components/Badge/Badge.module.css +75 -9
- package/src/components/Badge/Badge.stories.tsx +109 -1
- package/src/components/Badge/Badge.tsx +30 -2
- package/src/components/Badge/__tests__/Badge.test.tsx +26 -2
- package/src/components/BalanceChip/BalanceChip.module.css +32 -0
- package/src/components/BalanceChip/BalanceChip.stories.tsx +45 -0
- package/src/components/BalanceChip/BalanceChip.tsx +33 -0
- package/src/components/Breadcrumb/Breadcrumb.module.css +49 -0
- package/src/components/Breadcrumb/Breadcrumb.stories.tsx +47 -0
- package/src/components/Breadcrumb/Breadcrumb.tsx +57 -0
- package/src/components/Breadcrumb/__tests__/Breadcrumb.test.tsx +52 -0
- package/src/components/Button/Button.module.css +12 -3
- package/src/components/Button/Button.stories.tsx +3 -2
- package/src/components/Button/Button.tsx +1 -1
- package/src/components/Button/__tests__/Button.test.tsx +10 -0
- package/src/components/ButtonGroup/ButtonGroup.module.css +29 -0
- package/src/components/ButtonGroup/ButtonGroup.stories.tsx +57 -0
- package/src/components/ButtonGroup/ButtonGroup.tsx +27 -0
- package/src/components/ButtonGroup/__tests__/ButtonGroup.test.tsx +29 -0
- package/src/components/Card/Card.module.css +6 -0
- package/src/components/Checkbox/Checkbox.module.css +3 -1
- package/src/components/Collapsible/Collapsible.module.css +70 -0
- package/src/components/Collapsible/Collapsible.stories.tsx +62 -0
- package/src/components/Collapsible/Collapsible.tsx +66 -0
- package/src/components/Collapsible/__tests__/Collapsible.test.tsx +71 -0
- package/src/components/Combobox/Combobox.module.css +122 -0
- package/src/components/Combobox/Combobox.stories.tsx +79 -0
- package/src/components/Combobox/Combobox.tsx +186 -0
- package/src/components/Combobox/__tests__/Combobox.test.tsx +158 -0
- package/src/components/Command/Command.module.css +80 -0
- package/src/components/Command/Command.stories.tsx +104 -0
- package/src/components/Command/Command.tsx +168 -0
- package/src/components/Command/__tests__/Command.test.tsx +162 -0
- package/src/components/ConfirmDialog/ConfirmDialog.module.css +5 -1
- package/src/components/ContextMenu/ContextMenu.stories.tsx +81 -0
- package/src/components/ContextMenu/ContextMenu.tsx +100 -0
- package/src/components/ContextMenu/__tests__/ContextMenu.test.tsx +87 -0
- package/src/components/CurrencyInput/CurrencyInput.stories.tsx +50 -0
- package/src/components/CurrencyInput/CurrencyInput.tsx +60 -0
- package/src/components/DataTable/DataTable.module.css +28 -0
- package/src/components/DataTable/DataTable.stories.tsx +74 -0
- package/src/components/DataTable/DataTable.tsx +154 -0
- package/src/components/DataTable/__tests__/DataTable.test.tsx +123 -0
- package/src/components/DatePicker/DatePicker.module.css +6 -2
- package/src/components/Dialog/Dialog.module.css +3 -0
- package/src/components/HoverCard/HoverCard.module.css +3 -0
- package/src/components/HoverCard/HoverCard.stories.tsx +66 -0
- package/src/components/HoverCard/HoverCard.tsx +111 -0
- package/src/components/HoverCard/__tests__/HoverCard.test.tsx +99 -0
- package/src/components/Icon/icons/circle-check.tsx +21 -0
- package/src/components/Icon/icons/circle-x.tsx +22 -0
- package/src/components/Icon/icons/index.ts +8 -0
- package/src/components/Input/Input.module.css +6 -1
- package/src/components/Item/Item.module.css +70 -0
- package/src/components/Item/Item.stories.tsx +62 -0
- package/src/components/Item/Item.tsx +54 -0
- package/src/components/Item/__tests__/Item.test.tsx +39 -0
- package/src/components/Kbd/Kbd.module.css +14 -0
- package/src/components/Kbd/Kbd.stories.tsx +32 -0
- package/src/components/Kbd/Kbd.tsx +12 -0
- package/src/components/Kbd/__tests__/Kbd.test.tsx +14 -0
- package/src/components/Label/Label.module.css +11 -0
- package/src/components/Label/Label.stories.tsx +40 -0
- package/src/components/Label/Label.tsx +24 -0
- package/src/components/Label/__tests__/Label.test.tsx +32 -0
- package/src/components/Marker/Marker.module.css +33 -0
- package/src/components/Marker/Marker.stories.tsx +39 -0
- package/src/components/Marker/Marker.tsx +34 -0
- package/src/components/Marker/__tests__/Marker.test.tsx +23 -0
- package/src/components/MemberMultiSelect/MemberMultiSelect.module.css +27 -0
- package/src/components/MemberMultiSelect/MemberMultiSelect.stories.tsx +74 -0
- package/src/components/MemberMultiSelect/MemberMultiSelect.tsx +67 -0
- package/src/components/Menu/Menu.module.css +8 -1
- package/src/components/Menu/Menu.tsx +30 -8
- package/src/components/Menubar/Menubar.stories.tsx +52 -0
- package/src/components/Menubar/Menubar.tsx +42 -0
- package/src/components/Menubar/__tests__/Menubar.test.tsx +45 -0
- package/src/components/Message/Message.module.css +99 -0
- package/src/components/Message/Message.stories.tsx +79 -0
- package/src/components/Message/Message.tsx +41 -0
- package/src/components/Message/__tests__/Message.test.tsx +46 -0
- package/src/components/MessageScroller/MessageScroller.module.css +54 -0
- package/src/components/MessageScroller/MessageScroller.stories.tsx +84 -0
- package/src/components/MessageScroller/MessageScroller.tsx +72 -0
- package/src/components/MessageScroller/__tests__/MessageScroller.test.tsx +105 -0
- package/src/components/NavigationMenu/NavigationMenu.module.css +53 -0
- package/src/components/NavigationMenu/NavigationMenu.stories.tsx +58 -0
- package/src/components/NavigationMenu/NavigationMenu.tsx +125 -0
- package/src/components/NavigationMenu/__tests__/NavigationMenu.test.tsx +93 -0
- package/src/components/Pagination/Pagination.module.css +98 -0
- package/src/components/Pagination/Pagination.stories.tsx +49 -0
- package/src/components/Pagination/Pagination.tsx +87 -0
- package/src/components/Pagination/__tests__/Pagination.test.tsx +56 -0
- package/src/components/Progress/Progress.module.css +20 -0
- package/src/components/Progress/Progress.stories.tsx +40 -0
- package/src/components/Progress/Progress.tsx +35 -0
- package/src/components/Progress/__tests__/Progress.test.tsx +31 -0
- package/src/components/RadioGroup/RadioGroup.module.css +88 -0
- package/src/components/RadioGroup/RadioGroup.stories.tsx +69 -0
- package/src/components/RadioGroup/RadioGroup.tsx +99 -0
- package/src/components/RadioGroup/__tests__/RadioGroup.test.tsx +59 -0
- package/src/components/Resizable/Resizable.module.css +70 -0
- package/src/components/Resizable/Resizable.stories.tsx +82 -0
- package/src/components/Resizable/Resizable.tsx +313 -0
- package/src/components/Resizable/__tests__/Resizable.test.tsx +128 -0
- package/src/components/ScrollArea/ScrollArea.module.css +20 -0
- package/src/components/ScrollArea/ScrollArea.stories.tsx +57 -0
- package/src/components/ScrollArea/ScrollArea.tsx +27 -0
- package/src/components/ScrollArea/__tests__/ScrollArea.test.tsx +39 -0
- package/src/components/Select/Select.module.css +7 -3
- package/src/components/Slider/Slider.module.css +95 -0
- package/src/components/Slider/Slider.stories.tsx +64 -0
- package/src/components/Slider/Slider.tsx +77 -0
- package/src/components/Slider/__tests__/Slider.test.tsx +45 -0
- package/src/components/SplitMethodSelector/SplitMethodSelector.stories.tsx +33 -0
- package/src/components/SplitMethodSelector/SplitMethodSelector.tsx +43 -0
- package/src/components/Table/Table.module.css +45 -0
- package/src/components/Table/Table.stories.tsx +125 -0
- package/src/components/Table/Table.tsx +51 -0
- package/src/components/Table/__tests__/Table.test.tsx +50 -0
- package/src/components/Tabs/Tabs.module.css +6 -1
- package/src/components/Toggle/Toggle.module.css +6 -1
- package/src/components/Typography/Typography.module.css +47 -0
- package/src/components/Typography/Typography.stories.tsx +62 -0
- package/src/components/Typography/Typography.tsx +30 -0
- package/src/components/Typography/__tests__/Typography.test.tsx +34 -0
- package/src/index.ts +92 -1
- package/src/stories/DesignSystemOverview.stories.tsx +706 -2
- package/src/stories/MobilePatterns.stories.tsx +8 -2
- package/src/stories/TokenGallery.stories.tsx +112 -16
- package/src/tokens/primitives.css +22 -8
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
.h1 {
|
|
2
|
+
margin: 0;
|
|
3
|
+
font-size: var(--sv-font-size-2xl);
|
|
4
|
+
font-weight: var(--sv-font-weight-semibold);
|
|
5
|
+
color: var(--sv-color-text-primary);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.h2 {
|
|
9
|
+
margin: 0;
|
|
10
|
+
font-size: var(--sv-font-size-xl);
|
|
11
|
+
font-weight: var(--sv-font-weight-semibold);
|
|
12
|
+
color: var(--sv-color-text-primary);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.h3 {
|
|
16
|
+
margin: 0;
|
|
17
|
+
font-size: var(--sv-font-size-lg);
|
|
18
|
+
font-weight: var(--sv-font-weight-semibold);
|
|
19
|
+
color: var(--sv-color-text-primary);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.h4 {
|
|
23
|
+
margin: 0;
|
|
24
|
+
font-size: var(--sv-font-size-md);
|
|
25
|
+
font-weight: var(--sv-font-weight-semibold);
|
|
26
|
+
color: var(--sv-color-text-primary);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.body {
|
|
30
|
+
margin: 0;
|
|
31
|
+
font-size: var(--sv-font-size-sm);
|
|
32
|
+
color: var(--sv-color-text-primary);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.caption {
|
|
36
|
+
margin: 0;
|
|
37
|
+
font-size: var(--sv-font-size-caption);
|
|
38
|
+
color: var(--sv-color-text-muted);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.label {
|
|
42
|
+
font-size: var(--sv-font-size-label);
|
|
43
|
+
font-weight: var(--sv-font-weight-semibold);
|
|
44
|
+
color: var(--sv-color-text-muted);
|
|
45
|
+
text-transform: uppercase;
|
|
46
|
+
letter-spacing: 0.04em;
|
|
47
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { Typography } from './Typography';
|
|
3
|
+
|
|
4
|
+
const meta = {
|
|
5
|
+
title: 'Components/Typography',
|
|
6
|
+
component: Typography,
|
|
7
|
+
parameters: { layout: 'padded' },
|
|
8
|
+
args: {
|
|
9
|
+
variant: 'body',
|
|
10
|
+
children: 'The quick brown fox',
|
|
11
|
+
},
|
|
12
|
+
} satisfies Meta<typeof Typography>;
|
|
13
|
+
|
|
14
|
+
export default meta;
|
|
15
|
+
type Story = StoryObj<typeof meta>;
|
|
16
|
+
|
|
17
|
+
// ---------------------------------------------------------------------------
|
|
18
|
+
|
|
19
|
+
export const H1: Story = {
|
|
20
|
+
args: { variant: 'h1' },
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export const H2: Story = {
|
|
24
|
+
args: { variant: 'h2' },
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export const H3: Story = {
|
|
28
|
+
args: { variant: 'h3' },
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
export const H4: Story = {
|
|
32
|
+
args: { variant: 'h4' },
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
export const Body: Story = {
|
|
36
|
+
args: { variant: 'body' },
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export const Caption: Story = {
|
|
40
|
+
args: { variant: 'caption' },
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
export const LabelVariant: Story = {
|
|
44
|
+
name: 'Label',
|
|
45
|
+
args: { variant: 'label', children: 'Section label' },
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
export const AllVariants: Story = {
|
|
49
|
+
render: () => (
|
|
50
|
+
<div style={{ display: 'flex', flexDirection: 'column', gap: 12 }}>
|
|
51
|
+
<Typography variant="h1">Heading 1</Typography>
|
|
52
|
+
<Typography variant="h2">Heading 2</Typography>
|
|
53
|
+
<Typography variant="h3">Heading 3</Typography>
|
|
54
|
+
<Typography variant="h4">Heading 4</Typography>
|
|
55
|
+
<Typography variant="body">
|
|
56
|
+
Body copy — the default reading size for paragraphs and descriptions.
|
|
57
|
+
</Typography>
|
|
58
|
+
<Typography variant="caption">Caption — secondary, supporting copy.</Typography>
|
|
59
|
+
<Typography variant="label">Section label</Typography>
|
|
60
|
+
</div>
|
|
61
|
+
),
|
|
62
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { ElementType, ReactNode } from 'react';
|
|
2
|
+
import styles from './Typography.module.css';
|
|
3
|
+
|
|
4
|
+
export type TypographyVariant = 'h1' | 'h2' | 'h3' | 'h4' | 'body' | 'caption' | 'label';
|
|
5
|
+
|
|
6
|
+
const DEFAULT_TAG: Record<TypographyVariant, ElementType> = {
|
|
7
|
+
h1: 'h1',
|
|
8
|
+
h2: 'h2',
|
|
9
|
+
h3: 'h3',
|
|
10
|
+
h4: 'h4',
|
|
11
|
+
body: 'p',
|
|
12
|
+
caption: 'p',
|
|
13
|
+
label: 'span',
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export interface TypographyProps {
|
|
17
|
+
variant: TypographyVariant;
|
|
18
|
+
children: ReactNode;
|
|
19
|
+
/** Override the rendered tag while keeping the variant's visual style —
|
|
20
|
+
* e.g. `variant="h1" as="div"` to avoid a second `<h1>` on a page that
|
|
21
|
+
* already has one. */
|
|
22
|
+
as?: ElementType;
|
|
23
|
+
className?: string;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/** Typography — text bound to the design system's font-size/weight scale. */
|
|
27
|
+
export function Typography({ variant, children, as, className }: TypographyProps) {
|
|
28
|
+
const Tag = as ?? DEFAULT_TAG[variant];
|
|
29
|
+
return <Tag className={[styles[variant], className].filter(Boolean).join(' ')}>{children}</Tag>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// @vitest-environment jsdom
|
|
2
|
+
import { afterEach, describe, expect, it } from 'vitest';
|
|
3
|
+
import { cleanup, render, screen } from '@testing-library/react';
|
|
4
|
+
import { Typography } from '../Typography';
|
|
5
|
+
|
|
6
|
+
afterEach(cleanup);
|
|
7
|
+
|
|
8
|
+
describe('Typography', () => {
|
|
9
|
+
it('renders the default tag for each variant', () => {
|
|
10
|
+
render(<Typography variant="h1">Title</Typography>);
|
|
11
|
+
expect(screen.getByText('Title').tagName).toBe('H1');
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
it('renders body as a <p> by default', () => {
|
|
15
|
+
render(<Typography variant="body">Body copy</Typography>);
|
|
16
|
+
expect(screen.getByText('Body copy').tagName).toBe('P');
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
it('renders label as a <span> by default', () => {
|
|
20
|
+
render(<Typography variant="label">Section</Typography>);
|
|
21
|
+
expect(screen.getByText('Section').tagName).toBe('SPAN');
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
it('overrides the rendered tag via `as` while keeping the variant class', () => {
|
|
25
|
+
render(
|
|
26
|
+
<Typography variant="h1" as="div">
|
|
27
|
+
Title
|
|
28
|
+
</Typography>,
|
|
29
|
+
);
|
|
30
|
+
const el = screen.getByText('Title');
|
|
31
|
+
expect(el.tagName).toBe('DIV');
|
|
32
|
+
expect(el.className).toContain('h1');
|
|
33
|
+
});
|
|
34
|
+
});
|
package/src/index.ts
CHANGED
|
@@ -41,7 +41,7 @@ export { Sheet } from './components/Sheet/Sheet';
|
|
|
41
41
|
export type { SheetProps } from './components/Sheet/Sheet';
|
|
42
42
|
export { ConfirmDialog } from './components/ConfirmDialog/ConfirmDialog';
|
|
43
43
|
export type { ConfirmDialogProps } from './components/ConfirmDialog/ConfirmDialog';
|
|
44
|
-
export { Menu } from './components/Menu/Menu';
|
|
44
|
+
export { Menu, MenuEntries } from './components/Menu/Menu';
|
|
45
45
|
export type {
|
|
46
46
|
MenuProps,
|
|
47
47
|
MenuItem,
|
|
@@ -69,6 +69,83 @@ export { Tooltip } from './components/Tooltip/Tooltip';
|
|
|
69
69
|
export type { TooltipProps } from './components/Tooltip/Tooltip';
|
|
70
70
|
export { Checkbox } from './components/Checkbox/Checkbox';
|
|
71
71
|
export type { CheckboxProps } from './components/Checkbox/Checkbox';
|
|
72
|
+
export { RadioGroup } from './components/RadioGroup/RadioGroup';
|
|
73
|
+
export type { RadioGroupProps, RadioGroupItem } from './components/RadioGroup/RadioGroup';
|
|
74
|
+
export { Slider } from './components/Slider/Slider';
|
|
75
|
+
export type { SliderProps } from './components/Slider/Slider';
|
|
76
|
+
export { Progress } from './components/Progress/Progress';
|
|
77
|
+
export type { ProgressProps } from './components/Progress/Progress';
|
|
78
|
+
export {
|
|
79
|
+
Table,
|
|
80
|
+
TableHead,
|
|
81
|
+
TableBody,
|
|
82
|
+
TableRow,
|
|
83
|
+
TableHeaderCell,
|
|
84
|
+
TableCell,
|
|
85
|
+
} from './components/Table/Table';
|
|
86
|
+
export type { TableProps } from './components/Table/Table';
|
|
87
|
+
export { Alert } from './components/Alert/Alert';
|
|
88
|
+
export type { AlertProps, AlertVariant } from './components/Alert/Alert';
|
|
89
|
+
export { Breadcrumb } from './components/Breadcrumb/Breadcrumb';
|
|
90
|
+
export type { BreadcrumbProps, BreadcrumbItem } from './components/Breadcrumb/Breadcrumb';
|
|
91
|
+
export { Pagination } from './components/Pagination/Pagination';
|
|
92
|
+
export type { PaginationProps } from './components/Pagination/Pagination';
|
|
93
|
+
export { Kbd } from './components/Kbd/Kbd';
|
|
94
|
+
export type { KbdProps } from './components/Kbd/Kbd';
|
|
95
|
+
export { Collapsible } from './components/Collapsible/Collapsible';
|
|
96
|
+
export type { CollapsibleProps } from './components/Collapsible/Collapsible';
|
|
97
|
+
export { Accordion } from './components/Accordion/Accordion';
|
|
98
|
+
export type { AccordionProps, AccordionItem } from './components/Accordion/Accordion';
|
|
99
|
+
export { AspectRatio } from './components/AspectRatio/AspectRatio';
|
|
100
|
+
export type { AspectRatioProps } from './components/AspectRatio/AspectRatio';
|
|
101
|
+
export { ButtonGroup } from './components/ButtonGroup/ButtonGroup';
|
|
102
|
+
export type { ButtonGroupProps } from './components/ButtonGroup/ButtonGroup';
|
|
103
|
+
export { Item } from './components/Item/Item';
|
|
104
|
+
export type { ItemProps } from './components/Item/Item';
|
|
105
|
+
export { Label } from './components/Label/Label';
|
|
106
|
+
export type { LabelProps } from './components/Label/Label';
|
|
107
|
+
export { ScrollArea } from './components/ScrollArea/ScrollArea';
|
|
108
|
+
export type { ScrollAreaProps } from './components/ScrollArea/ScrollArea';
|
|
109
|
+
export { Typography } from './components/Typography/Typography';
|
|
110
|
+
export type { TypographyProps, TypographyVariant } from './components/Typography/Typography';
|
|
111
|
+
export { Marker } from './components/Marker/Marker';
|
|
112
|
+
export type { MarkerProps } from './components/Marker/Marker';
|
|
113
|
+
export { Message } from './components/Message/Message';
|
|
114
|
+
export type { MessageProps, MessageSender } from './components/Message/Message';
|
|
115
|
+
export { MessageScroller } from './components/MessageScroller/MessageScroller';
|
|
116
|
+
export type { MessageScrollerProps } from './components/MessageScroller/MessageScroller';
|
|
117
|
+
export { HoverCard } from './components/HoverCard/HoverCard';
|
|
118
|
+
export type { HoverCardProps } from './components/HoverCard/HoverCard';
|
|
119
|
+
export { ContextMenu } from './components/ContextMenu/ContextMenu';
|
|
120
|
+
export type { ContextMenuProps } from './components/ContextMenu/ContextMenu';
|
|
121
|
+
export { NavigationMenu } from './components/NavigationMenu/NavigationMenu';
|
|
122
|
+
export type {
|
|
123
|
+
NavigationMenuProps,
|
|
124
|
+
NavigationMenuItem,
|
|
125
|
+
} from './components/NavigationMenu/NavigationMenu';
|
|
126
|
+
export { Menubar } from './components/Menubar/Menubar';
|
|
127
|
+
export type { MenubarProps, MenubarMenu } from './components/Menubar/Menubar';
|
|
128
|
+
export { Command } from './components/Command/Command';
|
|
129
|
+
export type { CommandProps, CommandItem } from './components/Command/Command';
|
|
130
|
+
export {
|
|
131
|
+
ResizablePanelGroup,
|
|
132
|
+
ResizablePanel,
|
|
133
|
+
ResizableHandle,
|
|
134
|
+
} from './components/Resizable/Resizable';
|
|
135
|
+
export type {
|
|
136
|
+
ResizablePanelGroupProps,
|
|
137
|
+
ResizablePanelProps,
|
|
138
|
+
ResizableHandleProps,
|
|
139
|
+
ResizableDirection,
|
|
140
|
+
} from './components/Resizable/Resizable';
|
|
141
|
+
export { DataTable } from './components/DataTable/DataTable';
|
|
142
|
+
export type {
|
|
143
|
+
DataTableProps,
|
|
144
|
+
DataTableColumn,
|
|
145
|
+
SortDirection,
|
|
146
|
+
} from './components/DataTable/DataTable';
|
|
147
|
+
export { Combobox } from './components/Combobox/Combobox';
|
|
148
|
+
export type { ComboboxProps, ComboboxOption } from './components/Combobox/Combobox';
|
|
72
149
|
export { DragHandleRow } from './components/DragHandleRow/DragHandleRow';
|
|
73
150
|
export type { DragHandleRowProps } from './components/DragHandleRow/DragHandleRow';
|
|
74
151
|
export { FileDropzone } from './components/FileDropzone/FileDropzone';
|
|
@@ -88,6 +165,20 @@ export { QuantityStepper } from './components/QuantityStepper/QuantityStepper';
|
|
|
88
165
|
export type { QuantityStepperProps } from './components/QuantityStepper/QuantityStepper';
|
|
89
166
|
export { CheckableListRow } from './components/CheckableListRow/CheckableListRow';
|
|
90
167
|
export type { CheckableListRowProps } from './components/CheckableListRow/CheckableListRow';
|
|
168
|
+
export { CurrencyInput } from './components/CurrencyInput/CurrencyInput';
|
|
169
|
+
export type { CurrencyInputProps } from './components/CurrencyInput/CurrencyInput';
|
|
170
|
+
export { BalanceChip } from './components/BalanceChip/BalanceChip';
|
|
171
|
+
export type { BalanceChipProps } from './components/BalanceChip/BalanceChip';
|
|
172
|
+
export { SplitMethodSelector } from './components/SplitMethodSelector/SplitMethodSelector';
|
|
173
|
+
export type {
|
|
174
|
+
SplitMethodSelectorProps,
|
|
175
|
+
SplitMethod,
|
|
176
|
+
} from './components/SplitMethodSelector/SplitMethodSelector';
|
|
177
|
+
export { MemberMultiSelect } from './components/MemberMultiSelect/MemberMultiSelect';
|
|
178
|
+
export type {
|
|
179
|
+
MemberMultiSelectProps,
|
|
180
|
+
MemberMultiSelectOption,
|
|
181
|
+
} from './components/MemberMultiSelect/MemberMultiSelect';
|
|
91
182
|
export {
|
|
92
183
|
useLongPress,
|
|
93
184
|
useDoubleTapHandler,
|