@takaro/lib-components 0.0.8 → 0.0.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@takaro/lib-components",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "private": false,
5
5
  "description": "Takaro UI is a simple and customizable component library to build React apps faster within the Takaro eco system",
6
6
  "license": "AGPL-3.0-or-later",
@@ -12,8 +12,7 @@
12
12
  "_test": "jest",
13
13
  "test:unit": "CI=true vitest",
14
14
  "test:watch": "jest --watch",
15
- "test:update": "jest --updateSnapshot",
16
- "sort-package": "sort-package-json"
15
+ "test:update": "jest --updateSnapshot"
17
16
  },
18
17
  "devDependencies": {
19
18
  "@hookform/devtools": "^4.2.2",
@@ -24,7 +23,6 @@
24
23
  "@types/topojson-client": "^3.1.4",
25
24
  "react": "^18.2.0",
26
25
  "react-dom": "^18.2.0",
27
- "sort-package-json": "^1.53.1",
28
26
  "storybook": "7.6.20"
29
27
  },
30
28
  "peerDependencies": {
@@ -37,7 +35,7 @@
37
35
  "@tanstack/react-router": "1.35.3",
38
36
  "@types/luxon": "3.4.2",
39
37
  "framer-motion": "^10.16.12",
40
- "luxon": "3.3.0",
38
+ "luxon": "3.5.0",
41
39
  "notistack": "^3.0.1",
42
40
  "polished": "^4.1.3",
43
41
  "rc-slider": "^9.7.5",
@@ -47,7 +45,7 @@
47
45
  "react-dnd-html5-backend": "^16.0.1",
48
46
  "react-dom": "^18.2.0",
49
47
  "react-hook-form": "^7.50.1",
50
- "react-icons": "^4.11.0",
48
+ "react-icons": "^4.11.0 || ^5.0.0",
51
49
  "react-intersection-observer": "^9.5.1",
52
50
  "react-virtualized-auto-sizer": "^1.0.9",
53
51
  "react-window": "^1.8.8",
@@ -56,8 +56,8 @@ interface PingData {
56
56
  function generateData() {
57
57
  const data: PingData[] = [];
58
58
  for (let i = 0; i < 100; i++) {
59
- const timestamp = faker.date.between('2021-01-01T00:00:00Z', '2021-01-31T23:59:59Z').toISOString();
60
- const latency = faker.datatype.number({ min: 0, max: 70, precision: 1 });
59
+ const timestamp = faker.date.between({ from: '2021-01-01T00:00:00Z', to: '2021-01-31T23:59:59Z' }).toISOString();
60
+ const latency = faker.number.float({ min: 0, max: 70, precision: 1 });
61
61
  data.push({ timestamp, latency });
62
62
  }
63
63
  data.sort((a, b) => new Date(a.timestamp).getTime() - new Date(b.timestamp).getTime());
@@ -11,8 +11,8 @@ const range = (len: number) => {
11
11
  const newPerson = () => {
12
12
  const statusChance = Math.random();
13
13
  return {
14
- firstName: faker.name.firstName(),
15
- lastName: faker.name.lastName(),
14
+ firstName: faker.person.firstName(),
15
+ lastName: faker.person.lastName(),
16
16
  age: Math.floor(Math.random() * 30),
17
17
  visits: Math.floor(Math.random() * 100),
18
18
  progress: Math.floor(Math.random() * 100),