@wireapp/react-ui-kit 9.71.0 → 9.72.1
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,6 +1,7 @@
|
|
|
1
1
|
import { SVGIconProps } from '../../DataDisplay/Icon/SVGIcon';
|
|
2
2
|
export interface LogoProps<T = SVGSVGElement> extends SVGIconProps<T> {
|
|
3
3
|
hover?: boolean;
|
|
4
|
+
ariaLabel?: string;
|
|
4
5
|
}
|
|
5
|
-
export declare const Logo: ({ hover, ...props }: LogoProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare const Logo: ({ hover, ariaLabel, ...props }: LogoProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
6
7
|
//# sourceMappingURL=Logo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Logo.d.ts","sourceRoot":"","sources":["../../../src/Identity/Logo/Logo.tsx"],"names":[],"mappings":"AAqBA,OAAO,EAAU,YAAY,EAAC,MAAM,gCAAgC,CAAC;AAKrE,MAAM,WAAW,SAAS,CAAC,CAAC,GAAG,aAAa,CAAE,SAAQ,YAAY,CAAC,CAAC,CAAC;IACnE,KAAK,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Logo.d.ts","sourceRoot":"","sources":["../../../src/Identity/Logo/Logo.tsx"],"names":[],"mappings":"AAqBA,OAAO,EAAU,YAAY,EAAC,MAAM,gCAAgC,CAAC;AAKrE,MAAM,WAAW,SAAS,CAAC,CAAC,GAAG,aAAa,CAAE,SAAQ,YAAY,CAAC,CAAC,CAAC;IACnE,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAeD,eAAO,MAAM,IAAI,mCAAkC,SAAS,qDAW3D,CAAC"}
|
|
@@ -14,5 +14,5 @@ const logoStyle = (theme, { hover, color = theme.general.color }) => ({
|
|
|
14
14
|
transition: motions_1.defaultTransition,
|
|
15
15
|
},
|
|
16
16
|
});
|
|
17
|
-
const Logo = ({ hover, ...props }) => ((0, jsx_runtime_1.jsx)(SVGIcon_1.SVGIcon, { realWidth: 57, realHeight: 18, css: (theme) => logoStyle(theme, { hover, ...props }), ...props, children: (0, jsx_runtime_1.jsx)("path", { d: "M10.857 14.767a5.45 5.45 0 0 1-1.277-3.51l.002-8.688c0-.708.573-1.284 1.277-1.284s1.277.576 1.277 1.284l-.002 8.687a5.45 5.45 0 0 1-1.277 3.51zm9.58-3.51c0 3.01-2.409 5.458-5.402 5.458a5.413 5.413 0 0 1-3.233-1.073 6.72 6.72 0 0 0 1.61-4.386l.002-8.687A2.565 2.565 0 0 0 10.859 0a2.565 2.565 0 0 0-2.555 2.569l-.002 8.687c0 1.675.64 3.206 1.65 4.386a5.413 5.413 0 0 1-3.233 1.073c-2.993 0-5.442-2.449-5.442-5.459V.66H0v10.597C0 14.975 3.035 18 6.733 18a6.681 6.681 0 0 0 4.164-1.458A6.587 6.587 0 0 0 15.028 18c3.698 0 6.686-3.025 6.686-6.744V.66h-1.278v10.597zm5.11 6.403h1.278V.624h-1.277V17.66zM38.008.327a7.337 7.337 0 0 0-6.073 3.233V.624h-1.278V17.66h1.278V7.72c0-3.367 2.725-6.106 6.073-6.106V.327zm2.394 13.705c-2.485-2.965-2.342-7.416.432-10.208a7.478 7.478 0 0 1 10.141-.436L40.401 14.032zM52.784 3.386a8.75 8.75 0 0 0-12.854-.471c-3.424 3.446-3.424 9.054 0 12.5a8.75 8.75 0 0 0 12.417.002l-.903-.91a7.478 7.478 0 0 1-10.14.434l5.285-5.32 6.195-6.235zM53.964.77h.447v1.16h.136V.77h.45V.643h-1.033V.77zM56.34.643l-.445 1.116L55.45.643h-.21v1.286h.131V.779l.457 1.15h.124l.455-1.145v1.145h.132V.643h-.201z" }) }));
|
|
17
|
+
const Logo = ({ hover, ariaLabel, ...props }) => ((0, jsx_runtime_1.jsx)(SVGIcon_1.SVGIcon, { realWidth: 57, realHeight: 18, css: (theme) => logoStyle(theme, { hover, ...props }), ...props, role: "img", "aria-label": ariaLabel, children: (0, jsx_runtime_1.jsx)("path", { d: "M10.857 14.767a5.45 5.45 0 0 1-1.277-3.51l.002-8.688c0-.708.573-1.284 1.277-1.284s1.277.576 1.277 1.284l-.002 8.687a5.45 5.45 0 0 1-1.277 3.51zm9.58-3.51c0 3.01-2.409 5.458-5.402 5.458a5.413 5.413 0 0 1-3.233-1.073 6.72 6.72 0 0 0 1.61-4.386l.002-8.687A2.565 2.565 0 0 0 10.859 0a2.565 2.565 0 0 0-2.555 2.569l-.002 8.687c0 1.675.64 3.206 1.65 4.386a5.413 5.413 0 0 1-3.233 1.073c-2.993 0-5.442-2.449-5.442-5.459V.66H0v10.597C0 14.975 3.035 18 6.733 18a6.681 6.681 0 0 0 4.164-1.458A6.587 6.587 0 0 0 15.028 18c3.698 0 6.686-3.025 6.686-6.744V.66h-1.278v10.597zm5.11 6.403h1.278V.624h-1.277V17.66zM38.008.327a7.337 7.337 0 0 0-6.073 3.233V.624h-1.278V17.66h1.278V7.72c0-3.367 2.725-6.106 6.073-6.106V.327zm2.394 13.705c-2.485-2.965-2.342-7.416.432-10.208a7.478 7.478 0 0 1 10.141-.436L40.401 14.032zM52.784 3.386a8.75 8.75 0 0 0-12.854-.471c-3.424 3.446-3.424 9.054 0 12.5a8.75 8.75 0 0 0 12.417.002l-.903-.91a7.478 7.478 0 0 1-10.14.434l5.285-5.32 6.195-6.235zM53.964.77h.447v1.16h.136V.77h.45V.643h-1.033V.77zM56.34.643l-.445 1.116L55.45.643h-.21v1.286h.131V.779l.457 1.15h.124l.455-1.145v1.145h.132V.643h-.201z" }) }));
|
|
18
18
|
exports.Logo = Logo;
|
package/package.json
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@swc/core": "^1.3.10",
|
|
39
39
|
"@swc/jest": "^0.2.23",
|
|
40
40
|
"@testing-library/jest-dom": "6.9.1",
|
|
41
|
-
"@testing-library/react": "16.3.
|
|
41
|
+
"@testing-library/react": "16.3.1",
|
|
42
42
|
"@testing-library/user-event": "14.6.1",
|
|
43
43
|
"@types/jest": "^29.2.0",
|
|
44
44
|
"@types/node": "^22.0.0",
|
|
@@ -79,6 +79,6 @@
|
|
|
79
79
|
"test:watch": "jest --watch",
|
|
80
80
|
"test:update": "jest --updateSnapshot"
|
|
81
81
|
},
|
|
82
|
-
"version": "9.
|
|
83
|
-
"gitHead": "
|
|
82
|
+
"version": "9.72.1",
|
|
83
|
+
"gitHead": "d715a4c06a4715c23d3766bb9726419f5e93a840"
|
|
84
84
|
}
|