@trackunit/react-components 6.1.9 → 6.1.10
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
|
@@ -30,7 +30,8 @@ var defaultTranslations = {
|
|
|
30
30
|
"copyButton.copy": "Copy",
|
|
31
31
|
"horizontalOverflowScroller.scrollLeft": "Scroll left",
|
|
32
32
|
"horizontalOverflowScroller.scrollRight": "Scroll right",
|
|
33
|
-
"moreMenu.buttonLabel": "Show more"
|
|
33
|
+
"moreMenu.buttonLabel": "Show more",
|
|
34
|
+
"spinner.loading": "Loading"
|
|
34
35
|
};
|
|
35
36
|
|
|
36
37
|
/** The translation namespace for this library */
|
|
@@ -1528,7 +1529,8 @@ const Spinner = ({ mode = "light", size = "medium", centering = "centered", clas
|
|
|
1528
1529
|
// spinners rendered in other iframes -- since the delay is derived from the shared wall clock.
|
|
1529
1530
|
const spinnerElRef = react.useRef(null);
|
|
1530
1531
|
useSyncedSpinDelay(spinnerElRef);
|
|
1531
|
-
|
|
1532
|
+
const [t] = useTranslation();
|
|
1533
|
+
return (jsxRuntime.jsx("div", { className: cvaSpinnerContainer({ centering, className: containerClassName }), ref: ref, style: style, children: jsxRuntime.jsxs("div", { className: cvaSpinnerContainerInner(), children: [jsxRuntime.jsx("div", { "aria-label": label || t("spinner.loading"), className: cvaSpinner({ size, mode, className }), "data-testid": dataTestId, ref: spinnerElRef, role: "spinbutton" }), label ? jsxRuntime.jsx("span", { className: cvaSpinnerLabel(), children: label }) : null] }) }));
|
|
1532
1534
|
};
|
|
1533
1535
|
|
|
1534
1536
|
const cvaButton = cssClassVarianceUtilities.cva({
|
package/index.esm.js
CHANGED
|
@@ -29,7 +29,8 @@ var defaultTranslations = {
|
|
|
29
29
|
"copyButton.copy": "Copy",
|
|
30
30
|
"horizontalOverflowScroller.scrollLeft": "Scroll left",
|
|
31
31
|
"horizontalOverflowScroller.scrollRight": "Scroll right",
|
|
32
|
-
"moreMenu.buttonLabel": "Show more"
|
|
32
|
+
"moreMenu.buttonLabel": "Show more",
|
|
33
|
+
"spinner.loading": "Loading"
|
|
33
34
|
};
|
|
34
35
|
|
|
35
36
|
/** The translation namespace for this library */
|
|
@@ -1527,7 +1528,8 @@ const Spinner = ({ mode = "light", size = "medium", centering = "centered", clas
|
|
|
1527
1528
|
// spinners rendered in other iframes -- since the delay is derived from the shared wall clock.
|
|
1528
1529
|
const spinnerElRef = useRef(null);
|
|
1529
1530
|
useSyncedSpinDelay(spinnerElRef);
|
|
1530
|
-
|
|
1531
|
+
const [t] = useTranslation();
|
|
1532
|
+
return (jsx("div", { className: cvaSpinnerContainer({ centering, className: containerClassName }), ref: ref, style: style, children: jsxs("div", { className: cvaSpinnerContainerInner(), children: [jsx("div", { "aria-label": label || t("spinner.loading"), className: cvaSpinner({ size, mode, className }), "data-testid": dataTestId, ref: spinnerElRef, role: "spinbutton" }), label ? jsx("span", { className: cvaSpinnerLabel(), children: label }) : null] }) }));
|
|
1531
1533
|
};
|
|
1532
1534
|
|
|
1533
1535
|
const cvaButton = cva({
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-router-components",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.61",
|
|
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.
|
|
11
|
-
"@trackunit/i18n-library-translation": "2.14.
|
|
12
|
-
"@trackunit/react-components": "6.1.
|
|
13
|
-
"@trackunit/react-drawer": "2.17.
|
|
14
|
-
"@trackunit/shared-utils": "1.22.
|
|
10
|
+
"@trackunit/css-class-variance-utilities": "^2.6.56",
|
|
11
|
+
"@trackunit/i18n-library-translation": "^2.14.49",
|
|
12
|
+
"@trackunit/react-components": "^6.1.10",
|
|
13
|
+
"@trackunit/react-drawer": "^2.17.57",
|
|
14
|
+
"@trackunit/shared-utils": "^1.22.56",
|
|
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.1.
|
|
3
|
+
"version": "6.1.10",
|
|
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.
|
|
18
|
-
"@trackunit/css-class-variance-utilities": "2.6.
|
|
19
|
-
"@trackunit/shared-utils": "1.22.
|
|
20
|
-
"@trackunit/ui-icons": "1.20.
|
|
17
|
+
"@trackunit/ui-design-tokens": "^1.21.53",
|
|
18
|
+
"@trackunit/css-class-variance-utilities": "^2.6.56",
|
|
19
|
+
"@trackunit/shared-utils": "^1.22.56",
|
|
20
|
+
"@trackunit/ui-icons": "^1.20.53",
|
|
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.
|
|
25
|
+
"@trackunit/i18n-library-translation": "^2.14.49"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"react": "^19.0.0",
|