conversion-ui-library 1.0.5
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/README.md +181 -0
- package/dist/common/Table.d.ts +10 -0
- package/dist/common/Table.d.ts.map +1 -0
- package/dist/components/Autocomplete/Autocomplete.stories.d.ts +6 -0
- package/dist/components/Autocomplete/Autocomplete.stories.d.ts.map +1 -0
- package/dist/components/Autocomplete/AutocompleteTable.d.ts +3 -0
- package/dist/components/Autocomplete/AutocompleteTable.d.ts.map +1 -0
- package/dist/components/Button/Button.stories.d.ts +7 -0
- package/dist/components/Button/Button.stories.d.ts.map +1 -0
- package/dist/components/Button/ButtonTable.d.ts +3 -0
- package/dist/components/Button/ButtonTable.d.ts.map +1 -0
- package/dist/components/Chart/chart-comparison.d.ts +4 -0
- package/dist/components/Chart/chart-comparison.d.ts.map +1 -0
- package/dist/components/Chart/chart-conversion.d.ts +3 -0
- package/dist/components/Chart/chart-conversion.d.ts.map +1 -0
- package/dist/components/Chart/chart-histogram.d.ts +4 -0
- package/dist/components/Chart/chart-histogram.d.ts.map +1 -0
- package/dist/components/Chart/chart.d.ts +3 -0
- package/dist/components/Chart/chart.d.ts.map +1 -0
- package/dist/components/Chart/chart.stories.d.ts +6 -0
- package/dist/components/Chart/chart.stories.d.ts.map +1 -0
- package/dist/components/Chart/chart.types.d.ts +44 -0
- package/dist/components/Chart/chart.types.d.ts.map +1 -0
- package/dist/components/Chip/Chip.stories.d.ts +8 -0
- package/dist/components/Chip/Chip.stories.d.ts.map +1 -0
- package/dist/components/Chip/ChipTable.d.ts +2 -0
- package/dist/components/Chip/ChipTable.d.ts.map +1 -0
- package/dist/components/Colors/ColorTable.d.ts +11 -0
- package/dist/components/Colors/ColorTable.d.ts.map +1 -0
- package/dist/components/Colors/Colors.stories.d.ts +6 -0
- package/dist/components/Colors/Colors.stories.d.ts.map +1 -0
- package/dist/components/ConversionSidebar/ConversionSidebar.d.ts +47 -0
- package/dist/components/ConversionSidebar/ConversionSidebar.d.ts.map +1 -0
- package/dist/components/ConversionSidebar/ConversionSidebar.stories.d.ts +7 -0
- package/dist/components/ConversionSidebar/ConversionSidebar.stories.d.ts.map +1 -0
- package/dist/components/Elevation/Elevation.stories.d.ts +6 -0
- package/dist/components/Elevation/Elevation.stories.d.ts.map +1 -0
- package/dist/components/Filter/Filter.d.ts +15 -0
- package/dist/components/Filter/Filter.d.ts.map +1 -0
- package/dist/components/Filter/Filter.stories.d.ts +7 -0
- package/dist/components/Filter/Filter.stories.d.ts.map +1 -0
- package/dist/components/Heading/Heading.stories.d.ts +6 -0
- package/dist/components/Heading/Heading.stories.d.ts.map +1 -0
- package/dist/components/Heading/HeadingTable.d.ts +3 -0
- package/dist/components/Heading/HeadingTable.d.ts.map +1 -0
- package/dist/components/Icons/icon.d.ts +12 -0
- package/dist/components/Icons/icon.d.ts.map +1 -0
- package/dist/components/Icons/icon.stories.d.ts +6 -0
- package/dist/components/Icons/icon.stories.d.ts.map +1 -0
- package/dist/components/Label/Label.stories.d.ts +7 -0
- package/dist/components/Label/Label.stories.d.ts.map +1 -0
- package/dist/components/Label/LabelTable.d.ts +3 -0
- package/dist/components/Label/LabelTable.d.ts.map +1 -0
- package/dist/components/Menu/Menu.d.ts +18 -0
- package/dist/components/Menu/Menu.d.ts.map +1 -0
- package/dist/components/Menu/Menu.stories.d.ts +8 -0
- package/dist/components/Menu/Menu.stories.d.ts.map +1 -0
- package/dist/components/Paragraph/Paragraph.stories.d.ts +7 -0
- package/dist/components/Paragraph/Paragraph.stories.d.ts.map +1 -0
- package/dist/components/Paragraph/ParagraphTable.d.ts +3 -0
- package/dist/components/Paragraph/ParagraphTable.d.ts.map +1 -0
- package/dist/components/Popup/Popup.d.ts +14 -0
- package/dist/components/Popup/Popup.d.ts.map +1 -0
- package/dist/components/Popup/Popup.stories.d.ts +36 -0
- package/dist/components/Popup/Popup.stories.d.ts.map +1 -0
- package/dist/components/Progress/Progress.stories.d.ts +7 -0
- package/dist/components/Progress/Progress.stories.d.ts.map +1 -0
- package/dist/components/Progress/ProgressTable.d.ts +3 -0
- package/dist/components/Progress/ProgressTable.d.ts.map +1 -0
- package/dist/components/SearchInput/SearchInput.stories.d.ts +7 -0
- package/dist/components/SearchInput/SearchInput.stories.d.ts.map +1 -0
- package/dist/components/StatusBadge/StatusBadge.d.ts +12 -0
- package/dist/components/StatusBadge/StatusBadge.d.ts.map +1 -0
- package/dist/components/StatusBadge/StatusBadge.stories.d.ts +7 -0
- package/dist/components/StatusBadge/StatusBadge.stories.d.ts.map +1 -0
- package/dist/components/Switch/switch.stories.d.ts +7 -0
- package/dist/components/Switch/switch.stories.d.ts.map +1 -0
- package/dist/components/Table/table.stories.d.ts +26 -0
- package/dist/components/Table/table.stories.d.ts.map +1 -0
- package/dist/components/Table/tableComponent.d.ts +17 -0
- package/dist/components/Table/tableComponent.d.ts.map +1 -0
- package/dist/components/Tabs/Tabs.stories.d.ts +7 -0
- package/dist/components/Tabs/Tabs.stories.d.ts.map +1 -0
- package/dist/components/Tabs/TabsLayout.d.ts +2 -0
- package/dist/components/Tabs/TabsLayout.d.ts.map +1 -0
- package/dist/components/Text/Text.stories.d.ts +7 -0
- package/dist/components/Text/Text.stories.d.ts.map +1 -0
- package/dist/components/Text/TextTable.d.ts +3 -0
- package/dist/components/Text/TextTable.d.ts.map +1 -0
- package/dist/components/TextArea/TextArea.stories.d.ts +6 -0
- package/dist/components/TextArea/TextArea.stories.d.ts.map +1 -0
- package/dist/components/TextArea/TextAreaTable.d.ts +3 -0
- package/dist/components/TextArea/TextAreaTable.d.ts.map +1 -0
- package/dist/components/TextField/TextField.stories.d.ts +6 -0
- package/dist/components/TextField/TextField.stories.d.ts.map +1 -0
- package/dist/components/TextField/TextFieldTable.d.ts +3 -0
- package/dist/components/TextField/TextFieldTable.d.ts.map +1 -0
- package/dist/components/Trend/Trend.stories.d.ts +24 -0
- package/dist/components/Trend/Trend.stories.d.ts.map +1 -0
- package/dist/components/Trend/TrendTable.d.ts +2 -0
- package/dist/components/Trend/TrendTable.d.ts.map +1 -0
- package/dist/components/Typography/Typography.stories.d.ts +6 -0
- package/dist/components/Typography/Typography.stories.d.ts.map +1 -0
- package/dist/components/Typography/TypographyPage.d.ts +2 -0
- package/dist/components/Typography/TypographyPage.d.ts.map +1 -0
- package/dist/components/Typography/TypographyRow.d.ts +26 -0
- package/dist/components/Typography/TypographyRow.d.ts.map +1 -0
- package/dist/components/ui/Chip.d.ts +59 -0
- package/dist/components/ui/Chip.d.ts.map +1 -0
- package/dist/components/ui/Trend.d.ts +15 -0
- package/dist/components/ui/Trend.d.ts.map +1 -0
- package/dist/components/ui/autocomplete.d.ts +21 -0
- package/dist/components/ui/autocomplete.d.ts.map +1 -0
- package/dist/components/ui/badge.d.ts +10 -0
- package/dist/components/ui/badge.d.ts.map +1 -0
- package/dist/components/ui/button.d.ts +30 -0
- package/dist/components/ui/button.d.ts.map +1 -0
- package/dist/components/ui/command.d.ts +45 -0
- package/dist/components/ui/command.d.ts.map +1 -0
- package/dist/components/ui/dialog.d.ts +20 -0
- package/dist/components/ui/dialog.d.ts.map +1 -0
- package/dist/components/ui/heading.d.ts +10 -0
- package/dist/components/ui/heading.d.ts.map +1 -0
- package/dist/components/ui/input.d.ts +6 -0
- package/dist/components/ui/input.d.ts.map +1 -0
- package/dist/components/ui/label.d.ts +12 -0
- package/dist/components/ui/label.d.ts.map +1 -0
- package/dist/components/ui/menu.d.ts +28 -0
- package/dist/components/ui/menu.d.ts.map +1 -0
- package/dist/components/ui/paragraph.d.ts +10 -0
- package/dist/components/ui/paragraph.d.ts.map +1 -0
- package/dist/components/ui/popover.d.ts +8 -0
- package/dist/components/ui/popover.d.ts.map +1 -0
- package/dist/components/ui/progress.d.ts +11 -0
- package/dist/components/ui/progress.d.ts.map +1 -0
- package/dist/components/ui/search-input.d.ts +18 -0
- package/dist/components/ui/search-input.d.ts.map +1 -0
- package/dist/components/ui/select.d.ts +14 -0
- package/dist/components/ui/select.d.ts.map +1 -0
- package/dist/components/ui/separator.d.ts +5 -0
- package/dist/components/ui/separator.d.ts.map +1 -0
- package/dist/components/ui/sheet.d.ts +26 -0
- package/dist/components/ui/sheet.d.ts.map +1 -0
- package/dist/components/ui/sidebar.d.ts +65 -0
- package/dist/components/ui/sidebar.d.ts.map +1 -0
- package/dist/components/ui/skeleton.d.ts +3 -0
- package/dist/components/ui/skeleton.d.ts.map +1 -0
- package/dist/components/ui/spinner.d.ts +3 -0
- package/dist/components/ui/spinner.d.ts.map +1 -0
- package/dist/components/ui/switch.d.ts +9 -0
- package/dist/components/ui/switch.d.ts.map +1 -0
- package/dist/components/ui/table.d.ts +11 -0
- package/dist/components/ui/table.d.ts.map +1 -0
- package/dist/components/ui/tabs.d.ts +18 -0
- package/dist/components/ui/tabs.d.ts.map +1 -0
- package/dist/components/ui/text.d.ts +14 -0
- package/dist/components/ui/text.d.ts.map +1 -0
- package/dist/components/ui/textarea.d.ts +9 -0
- package/dist/components/ui/textarea.d.ts.map +1 -0
- package/dist/components/ui/textfield.d.ts +20 -0
- package/dist/components/ui/textfield.d.ts.map +1 -0
- package/dist/components/ui/tooltip.d.ts +8 -0
- package/dist/components/ui/tooltip.d.ts.map +1 -0
- package/dist/index.cjs.js +106 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +28 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.es.js +31890 -0
- package/dist/index.umd.js +107 -0
- package/dist/lib/Icons/icon-registry.d.ts +323 -0
- package/dist/lib/Icons/icon-registry.d.ts.map +1 -0
- package/dist/lib/use-mobile.d.ts +2 -0
- package/dist/lib/use-mobile.d.ts.map +1 -0
- package/dist/lib/utils.d.ts +13 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/tokens/colors/colors.d.ts +137 -0
- package/dist/tokens/colors/colors.d.ts.map +1 -0
- package/dist/tokens/colors/colors.runtime.d.ts +137 -0
- package/dist/tokens/colors/colors.runtime.d.ts.map +1 -0
- package/dist/tokens/elevation/elevation.d.ts +9 -0
- package/dist/tokens/elevation/elevation.d.ts.map +1 -0
- package/dist/tokens/typography/typography.d.ts +145 -0
- package/dist/tokens/typography/typography.d.ts.map +1 -0
- package/dist/vite.svg +1 -0
- package/package.json +115 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ParagraphTable.d.ts","sourceRoot":"","sources":["../../../src/components/Paragraph/ParagraphTable.tsx"],"names":[],"mappings":"AAyDA,iBAAS,cAAc,4CAEtB;AACD,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface PopupProps {
|
|
2
|
+
open?: boolean;
|
|
3
|
+
onOpenChange?: (open: boolean) => void;
|
|
4
|
+
title: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
confirmLabel?: string;
|
|
7
|
+
cancelLabel?: string;
|
|
8
|
+
onConfirm?: () => void;
|
|
9
|
+
onCancel?: () => void;
|
|
10
|
+
className?: string;
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
}
|
|
13
|
+
export declare function Popup({ open, onOpenChange, title, description, confirmLabel, cancelLabel, onConfirm, onCancel, className, children, }: PopupProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
//# sourceMappingURL=Popup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Popup.d.ts","sourceRoot":"","sources":["../../../src/components/Popup/Popup.tsx"],"names":[],"mappings":"AAaA,MAAM,WAAW,UAAU;IACzB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,wBAAgB,KAAK,CAAC,EACpB,IAAI,EACJ,YAAY,EACZ,KAAK,EACL,WAAW,EACX,YAAiB,EACjB,WAAgB,EAChB,SAAS,EACT,QAAQ,EACR,SAAS,EACT,QAAQ,GACT,EAAE,UAAU,2CAkEZ"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { Popup } from './Popup';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof Popup;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
argTypes: {
|
|
10
|
+
open: {
|
|
11
|
+
control: "boolean";
|
|
12
|
+
};
|
|
13
|
+
title: {
|
|
14
|
+
control: "text";
|
|
15
|
+
};
|
|
16
|
+
description: {
|
|
17
|
+
control: "text";
|
|
18
|
+
};
|
|
19
|
+
confirmLabel: {
|
|
20
|
+
control: "text";
|
|
21
|
+
};
|
|
22
|
+
cancelLabel: {
|
|
23
|
+
control: "text";
|
|
24
|
+
};
|
|
25
|
+
onConfirm: {
|
|
26
|
+
action: string;
|
|
27
|
+
};
|
|
28
|
+
onCancel: {
|
|
29
|
+
action: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export default meta;
|
|
34
|
+
type Story = StoryObj<typeof meta>;
|
|
35
|
+
export declare const WithTrigger: Story;
|
|
36
|
+
//# sourceMappingURL=Popup.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Popup.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Popup/Popup.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAIhC,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAeoB,CAAC;AAE/B,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAInC,eAAO,MAAM,WAAW,EAAE,KAgEzB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { Progress } from '../ui/progress';
|
|
3
|
+
declare const meta: Meta<typeof Progress>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Progress>;
|
|
6
|
+
export declare const ProgressDocs: Story;
|
|
7
|
+
//# sourceMappingURL=Progress.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Progress.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Progress/Progress.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,QAAQ,CAgB/B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,QAAQ,CAAC,CAAC;AAEvC,eAAO,MAAM,YAAY,EAAE,KAS1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProgressTable.d.ts","sourceRoot":"","sources":["../../../src/components/Progress/ProgressTable.tsx"],"names":[],"mappings":"AAyBA,iBAAS,aAAa,4CAErB;AACD,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { SearchInput } from '../ui/search-input';
|
|
3
|
+
declare const meta: Meta<typeof SearchInput>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof SearchInput>;
|
|
6
|
+
export declare const Debounced: Story;
|
|
7
|
+
//# sourceMappingURL=SearchInput.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchInput.stories.d.ts","sourceRoot":"","sources":["../../../src/components/SearchInput/SearchInput.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAIjD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,WAAW,CAGlC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,CAAC;AAE1C,eAAO,MAAM,SAAS,EAAE,KAuCvB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
declare const statusBadgeVariants: (props?: ({
|
|
4
|
+
status?: "progress" | "preview" | "completed" | null | undefined;
|
|
5
|
+
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
6
|
+
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
|
7
|
+
export interface StatusBadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof statusBadgeVariants> {
|
|
8
|
+
label?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function StatusBadge({ className, status, size, label, ...props }: StatusBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=StatusBadge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatusBadge.d.ts","sourceRoot":"","sources":["../../../src/components/StatusBadge/StatusBadge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,QAAA,MAAM,mBAAmB;;;mFAsBxB,CAAC;AAWF,MAAM,WAAW,gBACf,SACE,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EACpC,YAAY,CAAC,OAAO,mBAAmB,CAAC;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,WAAW,CAAC,EAC1B,SAAS,EACT,MAAM,EACN,IAAI,EACJ,KAAK,EACL,GAAG,KAAK,EACT,EAAE,gBAAgB,2CAelB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { StatusBadge } from './StatusBadge';
|
|
3
|
+
declare const meta: Meta<typeof StatusBadge>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof StatusBadge>;
|
|
6
|
+
export declare const AllStatuses: Story;
|
|
7
|
+
//# sourceMappingURL=StatusBadge.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatusBadge.stories.d.ts","sourceRoot":"","sources":["../../../src/components/StatusBadge/StatusBadge.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,WAAW,CAGlC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,CAAC;AAE1C,eAAO,MAAM,WAAW,EAAE,KA0BzB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { Switch } from '../ui/switch';
|
|
3
|
+
declare const meta: Meta<typeof Switch>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Switch>;
|
|
6
|
+
export declare const switchLayout: Story;
|
|
7
|
+
//# sourceMappingURL=switch.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"switch.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/switch.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAGtC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAM7B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAC;AAoBrC,eAAO,MAAM,YAAY,EAAE,KAS1B,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { TableComponent } from './tableComponent';
|
|
3
|
+
import { ChipType } from '../ui/Chip';
|
|
4
|
+
type RowData = {
|
|
5
|
+
id: number;
|
|
6
|
+
name: string;
|
|
7
|
+
variations: number;
|
|
8
|
+
progress: number;
|
|
9
|
+
remaining: number;
|
|
10
|
+
testType: ChipType;
|
|
11
|
+
status: "preview" | "progress" | "completed";
|
|
12
|
+
lastEdited: string;
|
|
13
|
+
createdDate: string;
|
|
14
|
+
goal: string;
|
|
15
|
+
creator: {
|
|
16
|
+
name: string;
|
|
17
|
+
img: string;
|
|
18
|
+
};
|
|
19
|
+
pageTargeting: string;
|
|
20
|
+
audianceTargeting: string;
|
|
21
|
+
};
|
|
22
|
+
declare const meta: Meta<typeof TableComponent<RowData>>;
|
|
23
|
+
export default meta;
|
|
24
|
+
type Story = StoryObj<typeof TableComponent<RowData>>;
|
|
25
|
+
export declare const FullTable: Story;
|
|
26
|
+
//# sourceMappingURL=table.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Table/table.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAC;AAI1D,OAAO,EAAQ,QAAQ,EAAE,MAAM,YAAY,CAAC;AAO5C,KAAK,OAAO,GAAG;IACb,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,SAAS,GAAG,UAAU,GAAG,WAAW,CAAC;IAC7C,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;IACF,aAAa,EAAE,MAAM,CAAC;IACtB,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CAAC,OAAO,CAAC,CAM9C,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;AA8VtD,eAAO,MAAM,SAAS,EAAE,KAmBvB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type Column<T = any> = {
|
|
3
|
+
key: string;
|
|
4
|
+
header: ReactNode;
|
|
5
|
+
width?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
headerIcon?: ReactNode;
|
|
8
|
+
render?: (row: T, rowIndex: number) => ReactNode;
|
|
9
|
+
};
|
|
10
|
+
type TableComponentProps<T> = {
|
|
11
|
+
data: T[];
|
|
12
|
+
columns: Column<T>[];
|
|
13
|
+
rowKey?: (row: T) => string | number;
|
|
14
|
+
};
|
|
15
|
+
export declare const TableComponent: <T>({ data, columns, rowKey, }: TableComponentProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=tableComponent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tableComponent.d.ts","sourceRoot":"","sources":["../../../src/components/Table/tableComponent.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,MAAM,MAAM,MAAM,CAAC,CAAC,GAAG,GAAG,IAAI;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,SAAS,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,QAAQ,EAAE,MAAM,KAAK,SAAS,CAAC;CAClD,CAAC;AAEF,KAAK,mBAAmB,CAAC,CAAC,IAAI;IAC5B,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;IACrB,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,MAAM,GAAG,MAAM,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,CAAC,EAAG,4BAIhC,mBAAmB,CAAC,CAAC,CAAC,4CAuCxB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { Tabs } from '../ui/tabs';
|
|
3
|
+
declare const meta: Meta<typeof Tabs>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Tabs>;
|
|
6
|
+
export declare const Segmented: Story;
|
|
7
|
+
//# sourceMappingURL=Tabs.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tabs.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/Tabs.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,IAAI,EAAsC,MAAM,YAAY,CAAC;AAGtE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CAG3B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,SAAS,EAAE,KASvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TabsLayout.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/TabsLayout.tsx"],"names":[],"mappings":"AA6NA,MAAM,CAAC,OAAO,UAAU,UAAU,4CAajC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { Text } from '../ui/text';
|
|
3
|
+
declare const meta: Meta<typeof Text>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Text>;
|
|
6
|
+
export declare const MonoVariantDocs: Story;
|
|
7
|
+
//# sourceMappingURL=Text.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Text.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Text/Text.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CAU3B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,eAAe,EAAE,KAS7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextTable.d.ts","sourceRoot":"","sources":["../../../src/components/Text/TextTable.tsx"],"names":[],"mappings":"AA8CA,iBAAS,SAAS,4CAEjB;AACD,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { default as TextAreaTable } from './TextAreaTable';
|
|
3
|
+
declare const meta: Meta<typeof TextAreaTable>;
|
|
4
|
+
export default meta;
|
|
5
|
+
export declare function TextAreaDocs(): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
//# sourceMappingURL=TextArea.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextArea.stories.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/TextArea.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAE5C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,aAAa,CAMpC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,wBAAgB,YAAY,4CAS3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextAreaTable.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/TextAreaTable.tsx"],"names":[],"mappings":"AA4CA,iBAAS,aAAa,4CAErB;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { default as TextFieldTable } from './TextFieldTable';
|
|
3
|
+
declare const meta: Meta<typeof TextFieldTable>;
|
|
4
|
+
export default meta;
|
|
5
|
+
export declare function TextFieldDocs(): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
//# sourceMappingURL=TextField.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextField.stories.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAE9C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CAMrC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,wBAAgB,aAAa,4CAS5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextFieldTable.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextFieldTable.tsx"],"names":[],"mappings":"AAgHA,iBAAS,cAAc,4CAEtB;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Trend } from '../ui/Trend';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: typeof Trend;
|
|
5
|
+
argTypes: {
|
|
6
|
+
variant: {
|
|
7
|
+
control: string;
|
|
8
|
+
options: string[];
|
|
9
|
+
};
|
|
10
|
+
value: {
|
|
11
|
+
control: string;
|
|
12
|
+
};
|
|
13
|
+
percentage: {
|
|
14
|
+
control: string;
|
|
15
|
+
};
|
|
16
|
+
size: {
|
|
17
|
+
control: string;
|
|
18
|
+
options: string[];
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export default _default;
|
|
23
|
+
export declare function TrendDocs(): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
//# sourceMappingURL=Trend.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Trend.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Trend/Trend.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;AAGpC,wBAmBE;AAEF,wBAAgB,SAAS,4CASxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TrendTable.d.ts","sourceRoot":"","sources":["../../../src/components/Trend/TrendTable.tsx"],"names":[],"mappings":"AA0CA,MAAM,CAAC,OAAO,UAAU,UAAU,4CAEjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Typography.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Typography/Typography.stories.tsx"],"names":[],"mappings":";;;AAEA,wBAAqD;AACrD,eAAO,MAAM,UAAU,+CAStB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TypographyPage.d.ts","sourceRoot":"","sources":["../../../src/components/Typography/TypographyPage.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc,+CAyH1B,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const SpecRow: ({ name, token, sample, }: {
|
|
2
|
+
name: string;
|
|
3
|
+
token: {
|
|
4
|
+
fontSize: string;
|
|
5
|
+
lineHeight: string;
|
|
6
|
+
fontWeight: number;
|
|
7
|
+
letterSpacing: string;
|
|
8
|
+
class?: string;
|
|
9
|
+
};
|
|
10
|
+
sample?: string;
|
|
11
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
type TypographyRowProps = {
|
|
13
|
+
title: string;
|
|
14
|
+
token: {
|
|
15
|
+
fontSize: string;
|
|
16
|
+
lineHeight: string;
|
|
17
|
+
fontWeight: number;
|
|
18
|
+
letterSpacing: string;
|
|
19
|
+
fontFamily?: string;
|
|
20
|
+
class?: string;
|
|
21
|
+
};
|
|
22
|
+
preview: React.ReactNode;
|
|
23
|
+
};
|
|
24
|
+
export declare const TypographyRow: ({ title, token, preview, }: TypographyRowProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=TypographyRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TypographyRow.d.ts","sourceRoot":"","sources":["../../../src/components/Typography/TypographyRow.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,GAAI,0BAIrB;IACD,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE;QACL,QAAQ,EAAE,MAAM,CAAC;QACjB,UAAU,EAAE,MAAM,CAAC;QACnB,UAAU,EAAE,MAAM,CAAC;QACnB,aAAa,EAAE,MAAM,CAAC;QACtB,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,4CA+BA,CAAC;AACF,KAAK,kBAAkB,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE;QACL,QAAQ,EAAE,MAAM,CAAC;QACjB,UAAU,EAAE,MAAM,CAAC;QACnB,UAAU,EAAE,MAAM,CAAC;QACnB,aAAa,EAAE,MAAM,CAAC;QACtB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,4BAI3B,kBAAkB,4CAuBpB,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { IconName } from '../../lib/Icons/icon-registry';
|
|
3
|
+
import { LucideIcon } from 'lucide-react';
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
declare const TYPE_CONFIG: {
|
|
6
|
+
readonly abtest: {
|
|
7
|
+
readonly label: "A/B TEST";
|
|
8
|
+
readonly icon: "3d-move";
|
|
9
|
+
readonly size: "md";
|
|
10
|
+
readonly class: "fill-strong";
|
|
11
|
+
};
|
|
12
|
+
readonly redirecttest: {
|
|
13
|
+
readonly label: "REDIRECT TEST";
|
|
14
|
+
readonly icon: "redirect";
|
|
15
|
+
readonly size: "md";
|
|
16
|
+
readonly class: "fill-strong";
|
|
17
|
+
};
|
|
18
|
+
readonly mabtest: {
|
|
19
|
+
readonly label: "MAB TEST";
|
|
20
|
+
readonly icon: "brain";
|
|
21
|
+
readonly size: "sm";
|
|
22
|
+
readonly class: "fill-strong";
|
|
23
|
+
};
|
|
24
|
+
readonly personalization: {
|
|
25
|
+
readonly label: "PERSONALIZATION";
|
|
26
|
+
readonly icon: "bulb";
|
|
27
|
+
readonly size: "sm";
|
|
28
|
+
readonly class: "";
|
|
29
|
+
};
|
|
30
|
+
readonly pricetest: {
|
|
31
|
+
readonly label: "PRICE TEST";
|
|
32
|
+
readonly icon: "moneyBag";
|
|
33
|
+
readonly size: "sm";
|
|
34
|
+
readonly class: "fill-strong";
|
|
35
|
+
};
|
|
36
|
+
readonly checkouttest: {
|
|
37
|
+
readonly label: "CHECKOUT TEST";
|
|
38
|
+
readonly icon: "checkout";
|
|
39
|
+
readonly size: "sm";
|
|
40
|
+
readonly class: "fill-strong";
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
export type ChipType = keyof typeof TYPE_CONFIG;
|
|
44
|
+
declare const chipVariants: (props?: ({
|
|
45
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
46
|
+
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
|
47
|
+
type Font = "bold" | "semibold" | "medium" | "regular";
|
|
48
|
+
type FontFamily = "primary" | "mono";
|
|
49
|
+
export interface ChipProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof chipVariants> {
|
|
50
|
+
type?: ChipType;
|
|
51
|
+
label?: string;
|
|
52
|
+
startIcon?: IconName | LucideIcon | React.ReactNode;
|
|
53
|
+
endIcon?: IconName | LucideIcon | React.ReactNode;
|
|
54
|
+
font?: Font;
|
|
55
|
+
fontFamily?: FontFamily;
|
|
56
|
+
}
|
|
57
|
+
export declare function Chip({ className, size, type, label, startIcon, endIcon, children, font, fontFamily, ...props }: ChipProps): import("react/jsx-runtime").JSX.Element;
|
|
58
|
+
export {};
|
|
59
|
+
//# sourceMappingURL=Chip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../src/components/ui/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqCP,CAAC;AAEX,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,WAAW,CAAC;AAEhD,QAAA,MAAM,YAAY;;mFAcjB,CAAC;AACF,KAAK,IAAI,GAAG,MAAM,GAAG,UAAU,GAAG,QAAQ,GAAG,SAAS,CAAC;AACvD,KAAK,UAAU,GAAG,SAAS,GAAG,MAAM,CAAC;AACrC,MAAM,WAAW,SACf,SACE,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EACpC,YAAY,CAAC,OAAO,YAAY,CAAC;IACnC,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,QAAQ,GAAG,UAAU,GAAG,KAAK,CAAC,SAAS,CAAC;IACpD,OAAO,CAAC,EAAE,QAAQ,GAAG,UAAU,GAAG,KAAK,CAAC,SAAS,CAAC;IAClD,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB;AAwBD,wBAAgB,IAAI,CAAC,EACnB,SAAS,EACT,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,SAAS,EACT,OAAO,EACP,QAAQ,EACR,IAAa,EACb,UAAmB,EACnB,GAAG,KAAK,EACT,EAAE,SAAS,2CAcX"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
declare const trendVariants: (props?: ({
|
|
4
|
+
variant?: "text" | "pill" | null | undefined;
|
|
5
|
+
sentiment?: "positive" | "negative" | "neutral" | null | undefined;
|
|
6
|
+
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
|
7
|
+
export interface TrendProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children">, VariantProps<typeof trendVariants> {
|
|
8
|
+
value: number;
|
|
9
|
+
percentage?: boolean;
|
|
10
|
+
format?: (value: number) => React.ReactNode;
|
|
11
|
+
size?: "lg" | "md" | "sm" | "xs";
|
|
12
|
+
}
|
|
13
|
+
export declare function Trend({ className, variant, value, percentage, format, size, ...props }: TrendProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=Trend.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Trend.d.ts","sourceRoot":"","sources":["../../../src/components/ui/Trend.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,QAAA,MAAM,aAAa;;;mFA2ClB,CAAC;AAEF,MAAM,WAAW,UACf,SACE,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,EACtD,YAAY,CAAC,OAAO,aAAa,CAAC;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC;IAC5C,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAClC;AAED,wBAAgB,KAAK,CAAC,EACpB,SAAS,EACT,OAAO,EACP,KAAK,EACL,UAAU,EACV,MAAM,EACN,IAAI,EACJ,GAAG,KAAK,EACT,EAAE,UAAU,2CAkCZ"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export interface AutocompleteOption {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
}
|
|
6
|
+
export interface AutocompleteProps {
|
|
7
|
+
options: AutocompleteOption[];
|
|
8
|
+
value?: string | string[];
|
|
9
|
+
onChange?: (value: any) => void;
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
label?: string;
|
|
12
|
+
helperText?: string;
|
|
13
|
+
error?: boolean;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
required?: boolean;
|
|
16
|
+
multi?: boolean;
|
|
17
|
+
className?: string;
|
|
18
|
+
}
|
|
19
|
+
declare const Autocomplete: React.ForwardRefExoticComponent<AutocompleteProps & React.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
export { Autocomplete };
|
|
21
|
+
//# sourceMappingURL=autocomplete.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autocomplete.d.ts","sourceRoot":"","sources":["../../../src/components/ui/autocomplete.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAoB/B,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,kBAAkB,EAAE,CAAC;IAC9B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC1B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,YAAY,0FA8PjB,CAAC;AAIF,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
declare const badgeVariants: (props?: ({
|
|
4
|
+
variant?: "default" | "secondary" | "destructive" | "outline" | null | undefined;
|
|
5
|
+
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
|
6
|
+
export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
7
|
+
}
|
|
8
|
+
declare function Badge({ className, variant, ...props }: BadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export { Badge, badgeVariants };
|
|
10
|
+
//# sourceMappingURL=badge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../src/components/ui/badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,QAAA,MAAM,aAAa;;mFAkBlB,CAAC;AAEF,MAAM,WAAW,UACf,SACE,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EACpC,YAAY,CAAC,OAAO,aAAa,CAAC;CAAG;AAEzC,iBAAS,KAAK,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,2CAI1D;AAED,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { Spinner } from './spinner';
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
declare const BUTTON_ICONS: {
|
|
5
|
+
readonly zap: import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
readonly arrow: import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
readonly plus: React.ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
8
|
+
readonly check: React.ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
9
|
+
readonly loader: typeof Spinner;
|
|
10
|
+
};
|
|
11
|
+
type ButtonIcon = keyof typeof BUTTON_ICONS;
|
|
12
|
+
declare const buttonVariants: (props?: ({
|
|
13
|
+
variant?: "primary" | "secondary" | "outlined" | "ghost" | "gradient" | "success" | null | undefined;
|
|
14
|
+
size?: "default" | "xs" | "sm" | "lg" | "xxs" | "icon" | null | undefined;
|
|
15
|
+
iconType?: "icon-sm" | "icon-xs" | "icon-xxs" | null | undefined;
|
|
16
|
+
state?: "default" | "disabled" | null | undefined;
|
|
17
|
+
iconPosition?: "none" | "left" | "right" | null | undefined;
|
|
18
|
+
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
|
19
|
+
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
20
|
+
asChild?: boolean;
|
|
21
|
+
loading?: boolean;
|
|
22
|
+
icon?: ButtonIcon;
|
|
23
|
+
iconPosition?: "left" | "right";
|
|
24
|
+
startIconOverride?: React.ReactNode;
|
|
25
|
+
endIconOverride?: React.ReactNode;
|
|
26
|
+
iconType?: "icon-sm" | "icon-xs" | "icon-xxs";
|
|
27
|
+
}
|
|
28
|
+
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
29
|
+
export { Button };
|
|
30
|
+
//# sourceMappingURL=button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIpC,QAAA,MAAM,YAAY;;;;;;CAMR,CAAC;AAUX,KAAK,UAAU,GAAG,MAAM,OAAO,YAAY,CAAC;AAM5C,QAAA,MAAM,cAAc;;;;;;mFAkDnB,CAAC;AAgDF,MAAM,WAAW,WACf,SACE,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAC7C,YAAY,CAAC,OAAO,cAAc,CAAC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAChC,iBAAiB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACpC,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAClC,QAAQ,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;CAC/C;AAED,QAAA,MAAM,MAAM,uFAmDX,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { DialogProps } from '@radix-ui/react-dialog';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
declare const Command: React.ForwardRefExoticComponent<Omit<{
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
} & React.HTMLAttributes<HTMLDivElement> & {
|
|
6
|
+
label?: string;
|
|
7
|
+
shouldFilter?: boolean;
|
|
8
|
+
filter?: (value: string, search: string) => number;
|
|
9
|
+
value?: string;
|
|
10
|
+
onValueChange?: (value: string) => void;
|
|
11
|
+
loop?: boolean;
|
|
12
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
declare const CommandDialog: ({ children, ...props }: DialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "onChange" | "value"> & {
|
|
15
|
+
value?: string;
|
|
16
|
+
onValueChange?: (search: string) => void;
|
|
17
|
+
} & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
18
|
+
declare const CommandList: React.ForwardRefExoticComponent<Omit<{
|
|
19
|
+
children?: React.ReactNode;
|
|
20
|
+
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
+
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
|
22
|
+
children?: React.ReactNode;
|
|
23
|
+
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
24
|
+
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
|
|
25
|
+
children?: React.ReactNode;
|
|
26
|
+
} & Omit<React.HTMLAttributes<HTMLDivElement>, "heading" | "value"> & {
|
|
27
|
+
heading?: React.ReactNode;
|
|
28
|
+
value?: string;
|
|
29
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
30
|
+
declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement> & {
|
|
31
|
+
alwaysRender?: boolean;
|
|
32
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
33
|
+
declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
34
|
+
children?: React.ReactNode;
|
|
35
|
+
} & Omit<React.HTMLAttributes<HTMLDivElement>, "onSelect" | "disabled" | "value"> & {
|
|
36
|
+
disabled?: boolean;
|
|
37
|
+
onSelect?: (value: string) => void;
|
|
38
|
+
value?: string;
|
|
39
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
40
|
+
declare const CommandShortcut: {
|
|
41
|
+
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
displayName: string;
|
|
43
|
+
};
|
|
44
|
+
export { Command, CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandShortcut, CommandSeparator, };
|
|
45
|
+
//# sourceMappingURL=command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/components/ui/command.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAOzD,QAAA,MAAM,OAAO;;;;;;;;;sFAYX,CAAA;AAGF,QAAA,MAAM,aAAa,GAAI,wBAAwB,WAAW,4CAUzD,CAAA;AAED,QAAA,MAAM,YAAY;;;0FAehB,CAAA;AAIF,QAAA,MAAM,WAAW;;6HASf,CAAA;AAIF,QAAA,MAAM,YAAY;;6HAShB,CAAA;AAIF,QAAA,MAAM,YAAY;;;;;sFAYhB,CAAA;AAIF,QAAA,MAAM,gBAAgB;;sFASpB,CAAA;AAGF,QAAA,MAAM,WAAW;;;;;;sFAYf,CAAA;AAIF,QAAA,MAAM,eAAe;8BAGlB,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;;CAUvC,CAAA;AAGD,OAAO,EACL,OAAO,EACP,aAAa,EACb,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,eAAe,EACf,gBAAgB,GACjB,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
3
|
+
declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
|
|
4
|
+
declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
|
|
6
|
+
declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
+
declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
declare const DialogHeader: {
|
|
10
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
displayName: string;
|
|
12
|
+
};
|
|
13
|
+
declare const DialogFooter: {
|
|
14
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
displayName: string;
|
|
16
|
+
};
|
|
17
|
+
declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
18
|
+
declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
19
|
+
export { Dialog, DialogPortal, DialogOverlay, DialogTrigger, DialogClose, DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription, };
|
|
20
|
+
//# sourceMappingURL=dialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../src/components/ui/dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AAKzD,QAAA,MAAM,MAAM,uCAAuB,CAAA;AAEnC,QAAA,MAAM,aAAa,8GAA0B,CAAA;AAE7C,QAAA,MAAM,YAAY,6CAAyB,CAAA;AAE3C,QAAA,MAAM,WAAW,4GAAwB,CAAA;AAEzC,QAAA,MAAM,aAAa,8JAYjB,CAAA;AAGF,QAAA,MAAM,aAAa,8JAqBjB,CAAA;AAGF,QAAA,MAAM,YAAY;8BAGf,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAQtC,CAAA;AAGD,QAAA,MAAM,YAAY;8BAGf,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAQtC,CAAA;AAGD,QAAA,MAAM,WAAW,oKAYf,CAAA;AAGF,QAAA,MAAM,iBAAiB,8KASrB,CAAA;AAGF,OAAO,EACL,MAAM,EACN,YAAY,EACZ,aAAa,EACb,aAAa,EACb,WAAW,EACX,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,iBAAiB,GAClB,CAAA"}
|