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.
Files changed (37) hide show
  1. package/dist/components/Chart/Branding.d.ts +7 -0
  2. package/dist/components/Chart/Branding.d.ts.map +1 -0
  3. package/dist/components/Chart/chart-comparison.d.ts +1 -1
  4. package/dist/components/Chart/chart-comparison.d.ts.map +1 -1
  5. package/dist/components/Chart/chart-conversion.d.ts.map +1 -1
  6. package/dist/components/Chart/chart-cumulative.d.ts +1 -1
  7. package/dist/components/Chart/chart-cumulative.d.ts.map +1 -1
  8. package/dist/components/Chart/chart-funnel.d.ts +1 -1
  9. package/dist/components/Chart/chart-funnel.d.ts.map +1 -1
  10. package/dist/components/Chart/chart-histogram.d.ts +1 -2
  11. package/dist/components/Chart/chart-histogram.d.ts.map +1 -1
  12. package/dist/components/Chart/chart-summary.d.ts.map +1 -1
  13. package/dist/components/Chart/chart.stories.d.ts +2 -0
  14. package/dist/components/Chart/chart.stories.d.ts.map +1 -1
  15. package/dist/components/Chart/chart.types.d.ts +11 -1
  16. package/dist/components/Chart/chart.types.d.ts.map +1 -1
  17. package/dist/components/DropdownMenu/DropdownMenu.d.ts +8 -5
  18. package/dist/components/DropdownMenu/DropdownMenu.d.ts.map +1 -1
  19. package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts +1 -1
  20. package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts.map +1 -1
  21. package/dist/components/Pagination/Pagination.d.ts +10 -0
  22. package/dist/components/Pagination/Pagination.d.ts.map +1 -0
  23. package/dist/components/Pagination/Pagination.stories.d.ts +7 -0
  24. package/dist/components/Pagination/Pagination.stories.d.ts.map +1 -0
  25. package/dist/components/ui/button.d.ts +1 -1
  26. package/dist/components/ui/button.d.ts.map +1 -1
  27. package/dist/components/ui/pagination.d.ts +33 -0
  28. package/dist/components/ui/pagination.d.ts.map +1 -0
  29. package/dist/index.cjs.js +45 -45
  30. package/dist/index.css +1 -1
  31. package/dist/index.d.ts +3 -0
  32. package/dist/index.d.ts.map +1 -1
  33. package/dist/index.es.js +9686 -9444
  34. package/dist/index.umd.js +47 -47
  35. package/dist/lib/colors.d.ts +20 -0
  36. package/dist/lib/colors.d.ts.map +1 -0
  37. 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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conversion-ui-library",
3
- "version": "1.1.26",
3
+ "version": "1.1.27",
4
4
  "description": "Modern React UI component library with Tailwind CSS and design tokens",
5
5
  "author": "Vaibhav Anchal",
6
6
  "license": "MIT",