@economic/taco 2.46.6 → 2.46.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. package/dist/charts/components/Area/AreaChart.d.ts +19 -0
  2. package/dist/charts/components/Bar/BarChart.d.ts +20 -0
  3. package/dist/charts/components/Donut/ActiveShape.d.ts +8 -0
  4. package/dist/charts/components/Donut/CenteredLabel.d.ts +11 -0
  5. package/dist/charts/components/Donut/DonutChart.d.ts +21 -0
  6. package/dist/charts/components/Donut/Legend.d.ts +13 -0
  7. package/dist/charts/components/Donut/util.d.ts +2 -0
  8. package/dist/charts/components/Legend.d.ts +16 -0
  9. package/dist/charts/components/Line/LineChart.d.ts +18 -0
  10. package/dist/charts/components/ResponsiveContainer.d.ts +5 -0
  11. package/dist/charts/components/Tooltip.d.ts +10 -0
  12. package/dist/charts/components/types.d.ts +5 -0
  13. package/dist/charts/utils/color.d.ts +3 -0
  14. package/dist/charts/utils/common.d.ts +37 -0
  15. package/dist/esm/index.css +18 -0
  16. package/dist/esm/packages/taco/src/charts/components/Area/AreaChart.js +67 -0
  17. package/dist/esm/packages/taco/src/charts/components/Area/AreaChart.js.map +1 -0
  18. package/dist/esm/packages/taco/src/charts/components/Bar/BarChart.js +120 -0
  19. package/dist/esm/packages/taco/src/charts/components/Bar/BarChart.js.map +1 -0
  20. package/dist/esm/packages/taco/src/charts/components/Donut/ActiveShape.js +47 -0
  21. package/dist/esm/packages/taco/src/charts/components/Donut/ActiveShape.js.map +1 -0
  22. package/dist/esm/packages/taco/src/charts/components/Donut/CenteredLabel.js +27 -0
  23. package/dist/esm/packages/taco/src/charts/components/Donut/CenteredLabel.js.map +1 -0
  24. package/dist/esm/packages/taco/src/charts/components/Donut/DonutChart.js +170 -0
  25. package/dist/esm/packages/taco/src/charts/components/Donut/DonutChart.js.map +1 -0
  26. package/dist/esm/packages/taco/src/charts/components/Donut/Legend.js +164 -0
  27. package/dist/esm/packages/taco/src/charts/components/Donut/Legend.js.map +1 -0
  28. package/dist/esm/packages/taco/src/charts/components/Donut/util.js +5 -0
  29. package/dist/esm/packages/taco/src/charts/components/Donut/util.js.map +1 -0
  30. package/dist/esm/packages/taco/src/charts/components/Legend.js +145 -0
  31. package/dist/esm/packages/taco/src/charts/components/Legend.js.map +1 -0
  32. package/dist/esm/packages/taco/src/charts/components/Line/LineChart.js +65 -0
  33. package/dist/esm/packages/taco/src/charts/components/Line/LineChart.js.map +1 -0
  34. package/dist/esm/packages/taco/src/charts/components/ResponsiveContainer.js +10 -0
  35. package/dist/esm/packages/taco/src/charts/components/ResponsiveContainer.js.map +1 -0
  36. package/dist/esm/packages/taco/src/charts/components/Tooltip.js +44 -0
  37. package/dist/esm/packages/taco/src/charts/components/Tooltip.js.map +1 -0
  38. package/dist/esm/packages/taco/src/charts/utils/color.js +24 -0
  39. package/dist/esm/packages/taco/src/charts/utils/color.js.map +1 -0
  40. package/dist/esm/packages/taco/src/charts/utils/common.js +34 -0
  41. package/dist/esm/packages/taco/src/charts/utils/common.js.map +1 -0
  42. package/dist/esm/packages/taco/src/index.js +4 -0
  43. package/dist/esm/packages/taco/src/index.js.map +1 -1
  44. package/dist/esm/packages/taco/src/utils/colors.js +122 -0
  45. package/dist/esm/packages/taco/src/utils/colors.js.map +1 -0
  46. package/dist/index.css +18 -0
  47. package/dist/index.d.ts +5 -0
  48. package/dist/taco.cjs.development.js +795 -0
  49. package/dist/taco.cjs.development.js.map +1 -1
  50. package/dist/taco.cjs.production.min.js +1 -1
  51. package/dist/taco.cjs.production.min.js.map +1 -1
  52. package/package.json +3 -3
  53. package/tailwind.config.js +3 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@economic/taco",
3
- "version": "2.46.6",
3
+ "version": "2.46.7",
4
4
  "description": "> TODO: description",
5
5
  "author": "Matt Daly <matthew.daly@visma.com>",
6
6
  "homepage": "https://github.com/e-conomic/taco#readme",
@@ -41,7 +41,6 @@
41
41
  "dependencies": {
42
42
  "@dnd-kit/modifiers": "^7.0.0",
43
43
  "@dnd-kit/sortable": "^7.0.1",
44
- "@economic/taco-tokens": "^1.4.1",
45
44
  "@radix-ui/react-accordion": "^1.0.1",
46
45
  "@radix-ui/react-alert-dialog": "^1.0.2",
47
46
  "@radix-ui/react-checkbox": "^1.0.1",
@@ -70,6 +69,7 @@
70
69
  "react-table": "^7.8.0",
71
70
  "react-window": "^1.8.8",
72
71
  "react-window-infinite-loader": "^1.0.8",
72
+ "recharts": "^2.12.7",
73
73
  "typeface-open-sans": "^1.1.13",
74
74
  "uuid": "^9.0.0"
75
75
  },
@@ -129,5 +129,5 @@
129
129
  "not ie < 11"
130
130
  ]
131
131
  },
132
- "gitHead": "4746f1eac51237b5f553dee4a141873988965c05"
132
+ "gitHead": "43b1d85891d2b9e9e160f96e0f5371e92ab043fc"
133
133
  }
@@ -1,10 +1,11 @@
1
- const tokens = require('@economic/taco-tokens').default;
2
1
  const plugin = require('tailwindcss/plugin');
3
2
  const defaultTheme = require('tailwindcss/defaultTheme');
4
3
 
4
+ const colors = require('./src/utils/colors').default;
5
+
5
6
  module.exports = {
6
7
  theme: {
7
- colors: tokens.colors,
8
+ colors,
8
9
  fontFamily: {
9
10
  display: ['Helvetica, Arial, sans-serif'],
10
11
  mono: ['Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace'],