conversion-ui-library 1.1.26 → 1.1.27
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/components/Chart/Branding.d.ts +7 -0
- package/dist/components/Chart/Branding.d.ts.map +1 -0
- package/dist/components/Chart/chart-comparison.d.ts +1 -1
- package/dist/components/Chart/chart-comparison.d.ts.map +1 -1
- package/dist/components/Chart/chart-conversion.d.ts.map +1 -1
- package/dist/components/Chart/chart-cumulative.d.ts +1 -1
- package/dist/components/Chart/chart-cumulative.d.ts.map +1 -1
- package/dist/components/Chart/chart-funnel.d.ts +1 -1
- package/dist/components/Chart/chart-funnel.d.ts.map +1 -1
- package/dist/components/Chart/chart-histogram.d.ts +1 -2
- package/dist/components/Chart/chart-histogram.d.ts.map +1 -1
- package/dist/components/Chart/chart-summary.d.ts.map +1 -1
- package/dist/components/Chart/chart.stories.d.ts +2 -0
- package/dist/components/Chart/chart.stories.d.ts.map +1 -1
- package/dist/components/Chart/chart.types.d.ts +11 -1
- package/dist/components/Chart/chart.types.d.ts.map +1 -1
- package/dist/components/DropdownMenu/DropdownMenu.d.ts +8 -5
- package/dist/components/DropdownMenu/DropdownMenu.d.ts.map +1 -1
- package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts +1 -1
- package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts.map +1 -1
- package/dist/components/Pagination/Pagination.d.ts +10 -0
- package/dist/components/Pagination/Pagination.d.ts.map +1 -0
- package/dist/components/Pagination/Pagination.stories.d.ts +7 -0
- package/dist/components/Pagination/Pagination.stories.d.ts.map +1 -0
- package/dist/components/ui/button.d.ts +1 -1
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/pagination.d.ts +33 -0
- package/dist/components/ui/pagination.d.ts.map +1 -0
- package/dist/index.cjs.js +45 -45
- package/dist/index.css +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +9686 -9444
- package/dist/index.umd.js +47 -47
- package/dist/lib/colors.d.ts +20 -0
- package/dist/lib/colors.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const isHexColor: (color: string) => boolean;
|
|
2
|
+
export declare const getColorProps: (color?: string, options?: {
|
|
3
|
+
defaultTailwind?: string;
|
|
4
|
+
isFunnel?: boolean;
|
|
5
|
+
}) => {
|
|
6
|
+
className: string | undefined;
|
|
7
|
+
style?: undefined;
|
|
8
|
+
} | {
|
|
9
|
+
style: {
|
|
10
|
+
backgroundColor: string;
|
|
11
|
+
};
|
|
12
|
+
className?: undefined;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Returns a color value suitable for Recharts or other CSS-in-JS uses.
|
|
16
|
+
* If it's a hex color, returns it.
|
|
17
|
+
* If it's a Tailwind-like name, returns the corresponding CSS variable from our design system.
|
|
18
|
+
*/
|
|
19
|
+
export declare const getChartColor: (color?: string, defaultColorVar?: string) => string;
|
|
20
|
+
//# sourceMappingURL=colors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../src/lib/colors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,GAAI,OAAO,MAAM,YAEvC,CAAC;AAEF,eAAO,MAAM,aAAa,GACxB,QAAQ,MAAM,EACd,UAAS;IAAE,eAAe,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAO;;;;;;;;CAiB/D,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,aAAa,GAAI,QAAQ,MAAM,EAAE,kBAAiB,MAA0B,WAYxF,CAAC"}
|