@acronis-platform/shadcn-uikit 0.1.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/LICENSE +21 -0
- package/README.md +159 -0
- package/dist/components/icons/alert-icons.d.ts +10 -0
- package/dist/components/icons/auto-generated.d.ts +5648 -0
- package/dist/components/icons/base-icon.d.ts +19 -0
- package/dist/components/icons/dynamic-icons.d.ts +29 -0
- package/dist/components/icons/icon-library.d.ts +16 -0
- package/dist/components/icons/index.d.ts +3 -0
- package/dist/components/mode-toggle.d.ts +1 -0
- package/dist/components/react/components/button/button.d.ts +11 -0
- package/dist/components/react/index.d.ts +3 -0
- package/dist/components/react/types/index.d.ts +2 -0
- package/dist/components/react/utils/cn.d.ts +2 -0
- package/dist/components/react/utils/index.d.ts +1 -0
- package/dist/components/theme-provider.d.ts +13 -0
- package/dist/components/ui/accordion.d.ts +7 -0
- package/dist/components/ui/alert-dialog.d.ts +20 -0
- package/dist/components/ui/alert.d.ts +10 -0
- package/dist/components/ui/avatar.d.ts +6 -0
- package/dist/components/ui/badge.d.ts +9 -0
- package/dist/components/ui/breadcrumb.d.ts +19 -0
- package/dist/components/ui/button-group.d.ts +11 -0
- package/dist/components/ui/button.d.ts +11 -0
- package/dist/components/ui/calendar.d.ts +8 -0
- package/dist/components/ui/card.d.ts +8 -0
- package/dist/components/ui/carousel.d.ts +18 -0
- package/dist/components/ui/chart.d.ts +54 -0
- package/dist/components/ui/checkbox.d.ts +4 -0
- package/dist/components/ui/chip.d.ts +7 -0
- package/dist/components/ui/combobox.d.ts +1 -0
- package/dist/components/ui/command.d.ts +80 -0
- package/dist/components/ui/data-table/data-table-column-header.d.ts +7 -0
- package/dist/components/ui/data-table/data-table-pagination.d.ts +6 -0
- package/dist/components/ui/data-table/data-table-toolbar.d.ts +8 -0
- package/dist/components/ui/data-table/data-table-view-options.d.ts +6 -0
- package/dist/components/ui/data-table/data-table.d.ts +7 -0
- package/dist/components/ui/data-table/index.d.ts +5 -0
- package/dist/components/ui/date-picker.d.ts +1 -0
- package/dist/components/ui/dialog.d.ts +24 -0
- package/dist/components/ui/drawer.d.ts +22 -0
- package/dist/components/ui/dropdown-menu.d.ts +27 -0
- package/dist/components/ui/empty.d.ts +8 -0
- package/dist/components/ui/field.d.ts +24 -0
- package/dist/components/ui/filter.d.ts +8 -0
- package/dist/components/ui/form.d.ts +23 -0
- package/dist/components/ui/input.d.ts +3 -0
- package/dist/components/ui/label.d.ts +5 -0
- package/dist/components/ui/navigation-menu.d.ts +12 -0
- package/dist/components/ui/pagination.d.ts +28 -0
- package/dist/components/ui/popover.d.ts +6 -0
- package/dist/components/ui/progress.d.ts +4 -0
- package/dist/components/ui/radio-group.d.ts +5 -0
- package/dist/components/ui/scroll-area.d.ts +5 -0
- package/dist/components/ui/secondary-menu.d.ts +22 -0
- package/dist/components/ui/select.d.ts +13 -0
- package/dist/components/ui/separator.d.ts +4 -0
- package/dist/components/ui/sheet.d.ts +25 -0
- package/dist/components/ui/sidebar.d.ts +65 -0
- package/dist/components/ui/skeleton.d.ts +2 -0
- package/dist/components/ui/sonner.d.ts +4 -0
- package/dist/components/ui/spinner.d.ts +9 -0
- package/dist/components/ui/switch.d.ts +4 -0
- package/dist/components/ui/table.d.ts +10 -0
- package/dist/components/ui/tabs.d.ts +7 -0
- package/dist/components/ui/tag.d.ts +11 -0
- package/dist/components/ui/textarea.d.ts +3 -0
- package/dist/components/ui/tooltip.d.ts +8 -0
- package/dist/components/ui/tree.d.ts +35 -0
- package/dist/hooks/use-mobile.d.ts +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1368 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/chart-colors.d.ts +30 -0
- package/dist/lib/utils.d.ts +2 -0
- package/dist/mode-toggle-B9LLZmUS.js +36075 -0
- package/dist/mode-toggle-B9LLZmUS.js.map +1 -0
- package/dist/react.d.ts +50 -0
- package/dist/react.js +1368 -0
- package/dist/react.js.map +1 -0
- package/dist/shadcn-uikit.css +1 -0
- package/dist/styles.d.ts +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/playground/index.d.ts +3 -0
- package/dist/types/playground/state.d.ts +31 -0
- package/dist/types/playground/theme.d.ts +14 -0
- package/dist/types/playground/tokens.d.ts +68 -0
- package/dist/utils/cn.d.ts +2 -0
- package/dist/utils/index.d.ts +1 -0
- package/package.json +138 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Chart Color Palette
|
|
3
|
+
*
|
|
4
|
+
* Provides a consistent color palette for charts across the application.
|
|
5
|
+
* Colors are automatically assigned based on index.
|
|
6
|
+
*/
|
|
7
|
+
export declare const CHART_COLORS: readonly ["var(--av-chart-blue)", "var(--av-chart-green)", "var(--av-chart-purple)", "var(--av-chart-orange)", "var(--av-chart-red)", "var(--av-chart-turquoise)", "var(--av-chart-violet)", "var(--av-chart-yellow)", "var(--av-chart-brown)", "var(--av-chart-grey)"];
|
|
8
|
+
export declare const CHART_COLORS_SEMANTIC: {
|
|
9
|
+
readonly primary: "var(--av-chart-blue)";
|
|
10
|
+
readonly success: "var(--av-chart-green)";
|
|
11
|
+
readonly warning: "var(--av-chart-yellow)";
|
|
12
|
+
readonly danger: "var(--av-chart-red)";
|
|
13
|
+
readonly info: "var(--av-chart-info)";
|
|
14
|
+
readonly critical: "var(--av-chart-critical)";
|
|
15
|
+
readonly neutral: "var(--av-chart-grey)";
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Get a color from the palette by index
|
|
19
|
+
* Automatically cycles through colors if index exceeds palette length
|
|
20
|
+
*/
|
|
21
|
+
export declare function getChartColor(index: number): string;
|
|
22
|
+
/**
|
|
23
|
+
* Get multiple colors from the palette
|
|
24
|
+
*/
|
|
25
|
+
export declare function getChartColors(count: number): string[];
|
|
26
|
+
/**
|
|
27
|
+
* Create data with colors automatically assigned
|
|
28
|
+
* Useful for pie charts and other charts that need color per data point
|
|
29
|
+
*/
|
|
30
|
+
export declare function addColorsToData<T extends Record<string, any>>(data: T[], colorKey?: string, startIndex?: number): T[];
|