@wireapp/react-ui-kit 9.70.0 → 9.72.0
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;
|
|
@@ -41,10 +41,10 @@ interface AccordionComponent extends ForwardRefExoticComponent<AccordionProps &
|
|
|
41
41
|
* ```tsx
|
|
42
42
|
* <Accordion type="multiple">
|
|
43
43
|
* <Accordion.Item title="What is Wire?" value="item-1">
|
|
44
|
-
* <Text>Wire is a secure messaging platform
|
|
44
|
+
* <Text>Wire is a secure messaging platform</Text>
|
|
45
45
|
* </Accordion.Item>
|
|
46
46
|
* <Accordion.Item title="Is Wire secure?" value="item-2">
|
|
47
|
-
* <Text>Yes, Wire uses end-to-end encryption
|
|
47
|
+
* <Text>Yes, Wire uses end-to-end encryption</Text>
|
|
48
48
|
* </Accordion.Item>
|
|
49
49
|
* </Accordion>
|
|
50
50
|
* ```
|
|
@@ -69,10 +69,10 @@ const AccordionItem_styles_1 = require("./AccordionItem/AccordionItem.styles");
|
|
|
69
69
|
* ```tsx
|
|
70
70
|
* <Accordion type="multiple">
|
|
71
71
|
* <Accordion.Item title="What is Wire?" value="item-1">
|
|
72
|
-
* <Text>Wire is a secure messaging platform
|
|
72
|
+
* <Text>Wire is a secure messaging platform</Text>
|
|
73
73
|
* </Accordion.Item>
|
|
74
74
|
* <Accordion.Item title="Is Wire secure?" value="item-2">
|
|
75
|
-
* <Text>Yes, Wire uses end-to-end encryption
|
|
75
|
+
* <Text>Yes, Wire uses end-to-end encryption</Text>
|
|
76
76
|
* </Accordion.Item>
|
|
77
77
|
* </Accordion>
|
|
78
78
|
* ```
|
package/package.json
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@babel/preset-typescript": "7.26.0",
|
|
25
25
|
"@chromatic-com/storybook": "^3.2.4",
|
|
26
26
|
"@emotion/babel-preset-css-prop": "^11.12.0",
|
|
27
|
-
"@emotion/jest": "11.
|
|
27
|
+
"@emotion/jest": "11.14.2",
|
|
28
28
|
"@emotion/react": "^11.10.4",
|
|
29
29
|
"@storybook/addon-essentials": "^8.5.2",
|
|
30
30
|
"@storybook/addon-interactions": "^8.5.2",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"react-dom": "18.3.1",
|
|
53
53
|
"react-helmet": "6.1.0",
|
|
54
54
|
"react-test-renderer": "18.3.1",
|
|
55
|
-
"rimraf": "6.
|
|
55
|
+
"rimraf": "6.1.2",
|
|
56
56
|
"storybook": "^8.5.2",
|
|
57
57
|
"typescript": "^5.0.4",
|
|
58
58
|
"webpack": "^5.74.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.0",
|
|
83
|
+
"gitHead": "5685fa9926da53ba8e0b61cdd31095ee72d59ee5"
|
|
84
84
|
}
|