-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathsnapshot.spec.tsx.snap
More file actions
120 lines (113 loc) · 5.28 KB
/
snapshot.spec.tsx.snap
File metadata and controls
120 lines (113 loc) · 5.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`kol-link should render with _href="https://example.com" _icons="codicon codicon-home" _label="Label" _target="self" _tooltipAlign="bottom" 1`] = `
<kol-link class="kol-link">
<template shadowrootmode="open">
<kol-link-wc class="kol-link-wc">
<!---->
<a class="external-link normal" href="https://example.com" rel="noopener" target="self">
<kol-span-wc _label="Label">
<slot name="expert" slot="expert"></slot>
</kol-span-wc>
<kol-icon _icons="codicon codicon-link-external" _label="kol-open-link-in-tab" class="external-link-icon"></kol-icon>
</a>
<kol-tooltip-wc _align="bottom" _label="Label" aria-hidden="true" hidden=""></kol-tooltip-wc>
</kol-link-wc>
</template>
</kol-link>
`;
exports[`kol-link should render with _href="https://example.com" _icons="codicon codicon-home" _label="Label" _target="self" _tooltipAlign="left" 1`] = `
<kol-link class="kol-link">
<template shadowrootmode="open">
<kol-link-wc class="kol-link-wc">
<!---->
<a class="external-link normal" href="https://example.com" rel="noopener" target="self">
<kol-span-wc _label="Label">
<slot name="expert" slot="expert"></slot>
</kol-span-wc>
<kol-icon _icons="codicon codicon-link-external" _label="kol-open-link-in-tab" class="external-link-icon"></kol-icon>
</a>
<kol-tooltip-wc _align="left" _label="Label" aria-hidden="true" hidden=""></kol-tooltip-wc>
</kol-link-wc>
</template>
</kol-link>
`;
exports[`kol-link should render with _href="https://example.com" _icons="codicon codicon-home" _label="Label" _target="self" _tooltipAlign="right" 1`] = `
<kol-link class="kol-link">
<template shadowrootmode="open">
<kol-link-wc class="kol-link-wc">
<!---->
<a class="external-link normal" href="https://example.com" rel="noopener" target="self">
<kol-span-wc _label="Label">
<slot name="expert" slot="expert"></slot>
</kol-span-wc>
<kol-icon _icons="codicon codicon-link-external" _label="kol-open-link-in-tab" class="external-link-icon"></kol-icon>
</a>
<kol-tooltip-wc _align="right" _label="Label" aria-hidden="true" hidden=""></kol-tooltip-wc>
</kol-link-wc>
</template>
</kol-link>
`;
exports[`kol-link should render with _href="https://example.com" _icons="codicon codicon-home" _label="Label" _target="self" _tooltipAlign="top" _hideLabel=true 1`] = `
<kol-link class="kol-link">
<template shadowrootmode="open">
<kol-link-wc class="kol-link-wc">
<!---->
<a aria-label="Label (kol-open-link-in-tab)" class="external-link hide-label normal" href="https://example.com" rel="noopener" target="self">
<kol-span-wc _hidelabel="" _label="Label">
<slot name="expert" slot="expert"></slot>
</kol-span-wc>
<kol-icon _icons="codicon codicon-link-external" _label="" aria-hidden="" class="external-link-icon"></kol-icon>
</a>
<kol-tooltip-wc _align="top" _label="Label" aria-hidden="true"></kol-tooltip-wc>
</kol-link-wc>
</template>
</kol-link>
`;
exports[`kol-link should render with _href="https://example.com" _icons="codicon codicon-home" _label="Label" _target="self" _tooltipAlign="top" 1`] = `
<kol-link class="kol-link">
<template shadowrootmode="open">
<kol-link-wc class="kol-link-wc">
<!---->
<a class="external-link normal" href="https://example.com" rel="noopener" target="self">
<kol-span-wc _label="Label">
<slot name="expert" slot="expert"></slot>
</kol-span-wc>
<kol-icon _icons="codicon codicon-link-external" _label="kol-open-link-in-tab" class="external-link-icon"></kol-icon>
</a>
<kol-tooltip-wc _align="top" _label="Label" aria-hidden="true" hidden=""></kol-tooltip-wc>
</kol-link-wc>
</template>
</kol-link>
`;
exports[`kol-link should render with _href="https://example.com" _icons="codicon codicon-home" _label="Label" _target="self" 1`] = `
<kol-link class="kol-link">
<template shadowrootmode="open">
<kol-link-wc class="kol-link-wc">
<!---->
<a class="external-link normal" href="https://example.com" rel="noopener" target="self">
<kol-span-wc _label="Label">
<slot name="expert" slot="expert"></slot>
</kol-span-wc>
<kol-icon _icons="codicon codicon-link-external" _label="kol-open-link-in-tab" class="external-link-icon"></kol-icon>
</a>
<kol-tooltip-wc _align="right" _label="Label" aria-hidden="true" hidden=""></kol-tooltip-wc>
</kol-link-wc>
</template>
</kol-link>
`;
exports[`kol-link should render with _label="Label" _href="" _download="download-file.zip" _target="blank" 1`] = `
<kol-link class="kol-link">
<template shadowrootmode="open">
<kol-link-wc class="kol-link-wc">
<!---->
<a class="external-link normal" download="download-file.zip" href="javascript:void(0);" rel="noopener" target="blank">
<kol-span-wc _label="Label">
<slot name="expert" slot="expert"></slot>
</kol-span-wc>
<kol-icon _icons="codicon codicon-link-external" _label="kol-open-link-in-tab" class="external-link-icon"></kol-icon>
</a>
<kol-tooltip-wc _align="right" _label="Label" aria-hidden="true" hidden=""></kol-tooltip-wc>
</kol-link-wc>
</template>
</kol-link>
`;