@trackunit/react-components 8.0.4 → 8.0.7

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.
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@trackunit/react-router-components",
3
- "version": "2.0.15",
3
+ "version": "2.0.19",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
7
7
  "node": ">=24.x"
8
8
  },
9
9
  "dependencies": {
10
- "@trackunit/css-class-variance-utilities": "^2.6.61",
11
- "@trackunit/i18n-library-translation": "^2.14.58",
12
- "@trackunit/react-components": "^8.0.4",
13
- "@trackunit/react-drawer": "^3.0.15",
14
- "@trackunit/shared-utils": "^1.22.61",
10
+ "@trackunit/css-class-variance-utilities": "^2.6.62",
11
+ "@trackunit/i18n-library-translation": "^2.14.59",
12
+ "@trackunit/react-components": "^8.0.7",
13
+ "@trackunit/react-drawer": "^3.0.19",
14
+ "@trackunit/shared-utils": "^1.22.62",
15
15
  "dequal": "^2.0.3",
16
16
  "zod": "^3.25.76"
17
17
  },
@@ -561,7 +561,7 @@ const migrateCollapseUsages = (state, filePath, content) => {
561
561
  return file.needsSyntheticEventImport ? updateReactImport(edited, filePath) : edited;
562
562
  };
563
563
  /**
564
- * Migrates consumers to the 7.0.0 `Collapse`, rebuilt on native `<details>`/`<summary>`:
564
+ * Migrates consumers to the 8.0.0 `Collapse`, rebuilt on native `<details>`/`<summary>`:
565
565
  *
566
566
  * - Retypes `onToggle` handlers declared as `(event: MouseEvent<HTMLDivElement>, …)`, inline or in the same file,
567
567
  * to `SyntheticEvent<HTMLElement>` and updates the `react` import.
package/migrations.json CHANGED
@@ -55,10 +55,10 @@
55
55
  "description": "Move imports of usePersistedState, useSearchParamSync, useCursorUrlSync, MAX_URL_LENGTH, UrlPersistenceLocation and Breadcrumb from @trackunit/react-components to @trackunit/react-router-components, and add @trackunit/react-router-components to the root package.json. Re-install dependencies afterwards.",
56
56
  "implementation": "./migrations/v4-0-0/move-to-router-components"
57
57
  },
58
- "v7-0-0-collapse-native-details": {
59
- "version": "7.0.0",
58
+ "v8-0-0-collapse-native-details": {
59
+ "version": "8.0.0",
60
60
  "description": "Collapse is rebuilt on native details/summary: retype onToggle handlers from MouseEvent<HTMLDivElement> to SyntheticEvent<HTMLElement>, add lazy next to animate={false} (animate now only controls the animation; lazy renders children only while open), and log Collapses that get props from a spread, headerAddons that contain interactive controls and tests that query the old role=button header for manual review.",
61
- "implementation": "./migrations/v7-0-0/collapse-native-details"
61
+ "implementation": "./migrations/v8-0-0/collapse-native-details"
62
62
  }
63
63
  }
64
64
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-components",
3
- "version": "8.0.4",
3
+ "version": "8.0.7",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "migrations": "./migrations.json",
@@ -14,15 +14,15 @@
14
14
  "@floating-ui/react": "^0.26.25",
15
15
  "string-ts": "^2.0.0",
16
16
  "tailwind-merge": "^3.7.0",
17
- "@trackunit/ui-design-tokens": "^1.21.58",
18
- "@trackunit/css-class-variance-utilities": "^2.6.61",
19
- "@trackunit/shared-utils": "^1.22.61",
20
- "@trackunit/ui-icons": "^1.20.58",
17
+ "@trackunit/ui-design-tokens": "^1.21.59",
18
+ "@trackunit/css-class-variance-utilities": "^2.6.62",
19
+ "@trackunit/shared-utils": "^1.22.62",
20
+ "@trackunit/ui-icons": "^1.20.59",
21
21
  "es-toolkit": "^1.52.0",
22
22
  "@tanstack/react-virtual": "^3.14.13",
23
23
  "fflate": "^0.8.3",
24
24
  "zod": "^3.25.76",
25
- "@trackunit/i18n-library-translation": "^2.14.58"
25
+ "@trackunit/i18n-library-translation": "^2.14.59"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "react": "^19.0.0",