@trackunit/react-components 6.0.4 → 6.0.5

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/index.cjs.js CHANGED
@@ -2193,6 +2193,7 @@ const FloatingArrowContainer = ({ arrowRef, mode = "dark", }) => {
2193
2193
  * @param {TooltipProps} props - The props for the Tooltip component
2194
2194
  * @returns {ReactElement} Tooltip component
2195
2195
  */
2196
+ // eslint-disable-next-line @trackunit/require-component-prop-contracts -- `className` is deliberately omitted (Omit<CommonProps, "className">): the tooltip clones its trigger and renders a floating popover, so a single className has no unambiguous target; decide in SDK-584
2196
2197
  const Tooltip = ({ children, "data-testid": dataTestId, disabled = false, label, placement = "auto", mode = "dark", iconProps, id, style, delayed = false, interactable = true, "data-state": dataState, ref, ...rest }) => {
2197
2198
  const [isOpen, setIsOpen] = react.useState(false);
2198
2199
  // PopoverTrigger marks the element that opened a menu or popover with data-state="open".
package/index.esm.js CHANGED
@@ -2192,6 +2192,7 @@ const FloatingArrowContainer = ({ arrowRef, mode = "dark", }) => {
2192
2192
  * @param {TooltipProps} props - The props for the Tooltip component
2193
2193
  * @returns {ReactElement} Tooltip component
2194
2194
  */
2195
+ // eslint-disable-next-line @trackunit/require-component-prop-contracts -- `className` is deliberately omitted (Omit<CommonProps, "className">): the tooltip clones its trigger and renders a floating popover, so a single className has no unambiguous target; decide in SDK-584
2195
2196
  const Tooltip = ({ children, "data-testid": dataTestId, disabled = false, label, placement = "auto", mode = "dark", iconProps, id, style, delayed = false, interactable = true, "data-state": dataState, ref, ...rest }) => {
2196
2197
  const [isOpen, setIsOpen] = useState(false);
2197
2198
  // PopoverTrigger marks the element that opened a menu or popover with data-state="open".
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@trackunit/react-router-components",
3
- "version": "1.3.5",
3
+ "version": "1.3.6",
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.14",
11
- "@trackunit/i18n-library-translation": "2.14.4",
12
- "@trackunit/react-components": "6.0.4",
13
- "@trackunit/react-drawer": "2.17.5",
14
- "@trackunit/shared-utils": "1.22.14",
10
+ "@trackunit/css-class-variance-utilities": "2.6.15",
11
+ "@trackunit/i18n-library-translation": "2.14.5",
12
+ "@trackunit/react-components": "6.0.5",
13
+ "@trackunit/react-drawer": "2.17.6",
14
+ "@trackunit/shared-utils": "1.22.15",
15
15
  "dequal": "^2.0.3",
16
16
  "zod": "^3.25.76"
17
17
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-components",
3
- "version": "6.0.4",
3
+ "version": "6.0.5",
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.14",
18
- "@trackunit/css-class-variance-utilities": "2.6.14",
19
- "@trackunit/shared-utils": "1.22.14",
20
- "@trackunit/ui-icons": "1.20.14",
17
+ "@trackunit/ui-design-tokens": "1.21.15",
18
+ "@trackunit/css-class-variance-utilities": "2.6.15",
19
+ "@trackunit/shared-utils": "1.22.15",
20
+ "@trackunit/ui-icons": "1.20.15",
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.4"
25
+ "@trackunit/i18n-library-translation": "2.14.5"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "react": "^19.0.0",