@linagora/twake-icons 2.6.5 → 2.6.6
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/CHANGELOG.md +7 -0
- package/dist/index.cjs +3 -3
- package/dist/index.d.cts +6 -3
- package/dist/index.d.ts +6 -3
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## @linagora/twake-icons [2.6.6](https://github.com/linagora/twake-ui/compare/@linagora/twake-icons@2.6.5...@linagora/twake-icons@2.6.6) (2026-06-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Missed some props on SVG Icons (Cube and Spinner) ([3f48a97](https://github.com/linagora/twake-ui/commit/3f48a97006c0aa877a18d72fd932585b845f45e1))
|
|
7
|
+
|
|
1
8
|
## @linagora/twake-icons [2.6.5](https://github.com/linagora/twake-ui/compare/@linagora/twake-icons@2.6.4...@linagora/twake-icons@2.6.5) (2026-06-24)
|
|
2
9
|
|
|
3
10
|
|
package/dist/index.cjs
CHANGED
|
@@ -3215,8 +3215,8 @@ var CrossWhite_default = SvgCrossWhite;
|
|
|
3215
3215
|
|
|
3216
3216
|
// src/Icons/Cube.tsx
|
|
3217
3217
|
var React114 = __toESM(require("react"), 1);
|
|
3218
|
-
function SvgCube(props) {
|
|
3219
|
-
return /* @__PURE__ */ React114.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 15 16", ...props }, /* @__PURE__ */ React114.createElement("path", { d: "M14.4 4 7.2 0 0 4v8l7.2 4 7.2-4zM7.2 1.832l4.728 2.624L9.52 5.792a3.213 3.213 0 0 0-4.64 0L2.472 4.456zm-.8 11.896-4.8-2.664V5.808L4.104 7.2A3.193 3.193 0 0 0 6.4 11.096zM5.6 8c0-.88.72-1.6 1.6-1.6s1.6.72 1.6 1.6-.72 1.6-1.6 1.6S5.6 8.88 5.6 8M8 13.728v-2.624a3.19 3.19 0 0 0 2.4-3.096q.002-.422-.104-.808L12.8 5.808v5.256z" }));
|
|
3218
|
+
function SvgCube({ iconRef, ...props }) {
|
|
3219
|
+
return /* @__PURE__ */ React114.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 15 16", ...props, ref: iconRef }, /* @__PURE__ */ React114.createElement("path", { d: "M14.4 4 7.2 0 0 4v8l7.2 4 7.2-4zM7.2 1.832l4.728 2.624L9.52 5.792a3.213 3.213 0 0 0-4.64 0L2.472 4.456zm-.8 11.896-4.8-2.664V5.808L4.104 7.2A3.193 3.193 0 0 0 6.4 11.096zM5.6 8c0-.88.72-1.6 1.6-1.6s1.6.72 1.6 1.6-.72 1.6-1.6 1.6S5.6 8.88 5.6 8M8 13.728v-2.624a3.19 3.19 0 0 0 2.4-3.096q.002-.422-.104-.808L12.8 5.808v5.256z" }));
|
|
3220
3220
|
}
|
|
3221
3221
|
var Cube_default = SvgCube;
|
|
3222
3222
|
|
|
@@ -6381,7 +6381,7 @@ var Sound_default = SvgSound;
|
|
|
6381
6381
|
// src/Icons/Spinner.tsx
|
|
6382
6382
|
var React345 = __toESM(require("react"), 1);
|
|
6383
6383
|
function SvgSpinner(props) {
|
|
6384
|
-
return /* @__PURE__ */ React345.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", ...props }, /* @__PURE__ */ React345.createElement("path", { d: "M8 16a7.7 7.7 0 0 1-3.1-.63 8.1 8.1 0 0 1-2.55-1.72A8.1 8.1 0 0 1 .63 11.1 7.7 7.7 0 0 1 0 8q0-1.66.63-3.11a8.2 8.2 0 0 1 1.72-2.54A8.1 8.1 0 0 1 4.9.63 7.7 7.7 0 0 1 8 0q.34 0 .57.23T8.8.8a.77.77 0 0 1-.23.57.77.77 0 0 1-.57.23q-2.66 0-4.53 1.87T1.6 8t1.87 4.53T8 14.4t4.53-1.87T14.4 8q0-.34.23-.57a.77.77 0 0 1 .57-.23q.34 0 .57.23T16 8a7.7 7.7 0 0 1-.63 3.1 8.1 8.1 0 0 1-1.72 2.55 8.2 8.2 0 0 1-2.54 1.72A7.7 7.7 0 0 1 8 16" }));
|
|
6384
|
+
return /* @__PURE__ */ React345.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", ...props, role: "progressbar", "aria-busy": "true" }, /* @__PURE__ */ React345.createElement("path", { d: "M8 16a7.7 7.7 0 0 1-3.1-.63 8.1 8.1 0 0 1-2.55-1.72A8.1 8.1 0 0 1 .63 11.1 7.7 7.7 0 0 1 0 8q0-1.66.63-3.11a8.2 8.2 0 0 1 1.72-2.54A8.1 8.1 0 0 1 4.9.63 7.7 7.7 0 0 1 8 0q.34 0 .57.23T8.8.8a.77.77 0 0 1-.23.57.77.77 0 0 1-.57.23q-2.66 0-4.53 1.87T1.6 8t1.87 4.53T8 14.4t4.53-1.87T14.4 8q0-.34.23-.57a.77.77 0 0 1 .57-.23q.34 0 .57.23T16 8a7.7 7.7 0 0 1-.63 3.1 8.1 8.1 0 0 1-1.72 2.55 8.2 8.2 0 0 1-2.54 1.72A7.7 7.7 0 0 1 8 16" }));
|
|
6385
6385
|
}
|
|
6386
6386
|
var Spinner_default = SvgSpinner;
|
|
6387
6387
|
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import React__default, { SVGAttributes, ComponentType, ReactElement, SVGProps } from 'react';
|
|
2
3
|
|
|
3
4
|
interface IconProps extends SVGAttributes<SVGSVGElement> {
|
|
4
5
|
icon: string | ComponentType<SVGAttributes<SVGSVGElement>> | ReactElement;
|
|
@@ -12,7 +13,7 @@ interface IconProps extends SVGAttributes<SVGSVGElement> {
|
|
|
12
13
|
}
|
|
13
14
|
declare function Icon(props: IconProps): ReactElement | null;
|
|
14
15
|
|
|
15
|
-
declare function Sprite():
|
|
16
|
+
declare function Sprite(): React__default.ReactElement | null;
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
* Returns the appropriate icon component for a given attachment
|
|
@@ -245,7 +246,9 @@ declare function SvgCrossSmall(props: SVGProps<SVGSVGElement>): JSX.Element;
|
|
|
245
246
|
|
|
246
247
|
declare function SvgCrossWhite(props: SVGProps<SVGSVGElement>): JSX.Element;
|
|
247
248
|
|
|
248
|
-
declare function SvgCube(props: SVGProps<SVGSVGElement>
|
|
249
|
+
declare function SvgCube({ iconRef, ...props }: SVGProps<SVGSVGElement> & {
|
|
250
|
+
iconRef?: React.Ref<SVGSVGElement>;
|
|
251
|
+
}): JSX.Element;
|
|
249
252
|
|
|
250
253
|
declare function SvgDash(props: SVGProps<SVGSVGElement>): JSX.Element;
|
|
251
254
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import React__default, { SVGAttributes, ComponentType, ReactElement, SVGProps } from 'react';
|
|
2
3
|
|
|
3
4
|
interface IconProps extends SVGAttributes<SVGSVGElement> {
|
|
4
5
|
icon: string | ComponentType<SVGAttributes<SVGSVGElement>> | ReactElement;
|
|
@@ -12,7 +13,7 @@ interface IconProps extends SVGAttributes<SVGSVGElement> {
|
|
|
12
13
|
}
|
|
13
14
|
declare function Icon(props: IconProps): ReactElement | null;
|
|
14
15
|
|
|
15
|
-
declare function Sprite():
|
|
16
|
+
declare function Sprite(): React__default.ReactElement | null;
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
* Returns the appropriate icon component for a given attachment
|
|
@@ -245,7 +246,9 @@ declare function SvgCrossSmall(props: SVGProps<SVGSVGElement>): JSX.Element;
|
|
|
245
246
|
|
|
246
247
|
declare function SvgCrossWhite(props: SVGProps<SVGSVGElement>): JSX.Element;
|
|
247
248
|
|
|
248
|
-
declare function SvgCube(props: SVGProps<SVGSVGElement>
|
|
249
|
+
declare function SvgCube({ iconRef, ...props }: SVGProps<SVGSVGElement> & {
|
|
250
|
+
iconRef?: React.Ref<SVGSVGElement>;
|
|
251
|
+
}): JSX.Element;
|
|
249
252
|
|
|
250
253
|
declare function SvgDash(props: SVGProps<SVGSVGElement>): JSX.Element;
|
|
251
254
|
|
package/dist/index.js
CHANGED
|
@@ -2781,8 +2781,8 @@ var CrossWhite_default = SvgCrossWhite;
|
|
|
2781
2781
|
|
|
2782
2782
|
// src/Icons/Cube.tsx
|
|
2783
2783
|
import * as React114 from "react";
|
|
2784
|
-
function SvgCube(props) {
|
|
2785
|
-
return /* @__PURE__ */ React114.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 15 16", ...props }, /* @__PURE__ */ React114.createElement("path", { d: "M14.4 4 7.2 0 0 4v8l7.2 4 7.2-4zM7.2 1.832l4.728 2.624L9.52 5.792a3.213 3.213 0 0 0-4.64 0L2.472 4.456zm-.8 11.896-4.8-2.664V5.808L4.104 7.2A3.193 3.193 0 0 0 6.4 11.096zM5.6 8c0-.88.72-1.6 1.6-1.6s1.6.72 1.6 1.6-.72 1.6-1.6 1.6S5.6 8.88 5.6 8M8 13.728v-2.624a3.19 3.19 0 0 0 2.4-3.096q.002-.422-.104-.808L12.8 5.808v5.256z" }));
|
|
2784
|
+
function SvgCube({ iconRef, ...props }) {
|
|
2785
|
+
return /* @__PURE__ */ React114.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 15 16", ...props, ref: iconRef }, /* @__PURE__ */ React114.createElement("path", { d: "M14.4 4 7.2 0 0 4v8l7.2 4 7.2-4zM7.2 1.832l4.728 2.624L9.52 5.792a3.213 3.213 0 0 0-4.64 0L2.472 4.456zm-.8 11.896-4.8-2.664V5.808L4.104 7.2A3.193 3.193 0 0 0 6.4 11.096zM5.6 8c0-.88.72-1.6 1.6-1.6s1.6.72 1.6 1.6-.72 1.6-1.6 1.6S5.6 8.88 5.6 8M8 13.728v-2.624a3.19 3.19 0 0 0 2.4-3.096q.002-.422-.104-.808L12.8 5.808v5.256z" }));
|
|
2786
2786
|
}
|
|
2787
2787
|
var Cube_default = SvgCube;
|
|
2788
2788
|
|
|
@@ -5947,7 +5947,7 @@ var Sound_default = SvgSound;
|
|
|
5947
5947
|
// src/Icons/Spinner.tsx
|
|
5948
5948
|
import * as React345 from "react";
|
|
5949
5949
|
function SvgSpinner(props) {
|
|
5950
|
-
return /* @__PURE__ */ React345.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", ...props }, /* @__PURE__ */ React345.createElement("path", { d: "M8 16a7.7 7.7 0 0 1-3.1-.63 8.1 8.1 0 0 1-2.55-1.72A8.1 8.1 0 0 1 .63 11.1 7.7 7.7 0 0 1 0 8q0-1.66.63-3.11a8.2 8.2 0 0 1 1.72-2.54A8.1 8.1 0 0 1 4.9.63 7.7 7.7 0 0 1 8 0q.34 0 .57.23T8.8.8a.77.77 0 0 1-.23.57.77.77 0 0 1-.57.23q-2.66 0-4.53 1.87T1.6 8t1.87 4.53T8 14.4t4.53-1.87T14.4 8q0-.34.23-.57a.77.77 0 0 1 .57-.23q.34 0 .57.23T16 8a7.7 7.7 0 0 1-.63 3.1 8.1 8.1 0 0 1-1.72 2.55 8.2 8.2 0 0 1-2.54 1.72A7.7 7.7 0 0 1 8 16" }));
|
|
5950
|
+
return /* @__PURE__ */ React345.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", ...props, role: "progressbar", "aria-busy": "true" }, /* @__PURE__ */ React345.createElement("path", { d: "M8 16a7.7 7.7 0 0 1-3.1-.63 8.1 8.1 0 0 1-2.55-1.72A8.1 8.1 0 0 1 .63 11.1 7.7 7.7 0 0 1 0 8q0-1.66.63-3.11a8.2 8.2 0 0 1 1.72-2.54A8.1 8.1 0 0 1 4.9.63 7.7 7.7 0 0 1 8 0q.34 0 .57.23T8.8.8a.77.77 0 0 1-.23.57.77.77 0 0 1-.57.23q-2.66 0-4.53 1.87T1.6 8t1.87 4.53T8 14.4t4.53-1.87T14.4 8q0-.34.23-.57a.77.77 0 0 1 .57-.23q.34 0 .57.23T16 8a7.7 7.7 0 0 1-.63 3.1 8.1 8.1 0 0 1-1.72 2.55 8.2 8.2 0 0 1-2.54 1.72A7.7 7.7 0 0 1 8 16" }));
|
|
5951
5951
|
}
|
|
5952
5952
|
var Spinner_default = SvgSpinner;
|
|
5953
5953
|
|