@capillarytech/blaze-ui 1.2.8-beta.2 → 2.0.2
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/README.md +27 -192
- package/dist/CapAlert/CapAlert.d.ts +7 -0
- package/dist/CapAlert/CapAlert.d.ts.map +1 -1
- package/dist/CapAlert/__snapshots__/CapAlert.test.tsx.snap +217 -0
- package/dist/CapAlert/index.js +8 -3
- package/dist/CapAlert/index.js.map +1 -1
- package/dist/CapButton/CapButton.d.ts +1 -1
- package/dist/CapButton/CapButton.d.ts.map +1 -1
- package/dist/CapButton/__snapshots__/CapButton.test.tsx.snap +199 -0
- package/dist/CapButton/index.js +25 -25
- package/dist/CapButton/index.js.map +1 -1
- package/dist/CapCard/__snapshots__/CapCard.test.tsx.snap +122 -0
- package/dist/CapCheckbox/__snapshots__/CapCheckbox.test.tsx.snap +275 -0
- package/dist/CapColumn/__snapshots__/CapColumn.test.tsx.snap +83 -0
- package/dist/CapDivider/CapDivider.d.ts +8 -1
- package/dist/CapDivider/CapDivider.d.ts.map +1 -1
- package/dist/CapDivider/__snapshots__/CapDivider.test.tsx.snap +109 -0
- package/dist/CapDivider/index.js +14 -488
- package/dist/CapDivider/index.js.map +1 -1
- package/dist/CapDropdown/CapDropdown.d.ts +31 -6
- package/dist/CapDropdown/CapDropdown.d.ts.map +1 -1
- package/dist/CapDropdown/__snapshots__/CapDropdown.test.tsx.snap +52 -0
- package/dist/CapDropdown/index.js +77 -19
- package/dist/CapDropdown/index.js.map +1 -1
- package/dist/CapForm/__snapshots__/CapForm.test.tsx.snap +103 -0
- package/dist/CapFormItem/__snapshots__/CapFormItem.test.tsx.snap +368 -0
- package/dist/CapHeading/CapHeading.d.ts +37 -0
- package/dist/CapHeading/CapHeading.d.ts.map +1 -0
- package/dist/CapHeading/CapHeading.test.d.ts +2 -0
- package/dist/CapHeading/CapHeading.test.d.ts.map +1 -0
- package/dist/CapHeading/README.md +220 -0
- package/dist/CapHeading/__snapshots__/CapHeading.test.tsx.snap +263 -0
- package/dist/CapHeading/index.d.ts +3 -0
- package/dist/CapHeading/index.d.ts.map +1 -0
- package/dist/CapHeading/index.js +740 -0
- package/dist/CapHeading/index.js.map +1 -0
- package/dist/CapIcon/__snapshots__/CapIcon.test.tsx.snap +366 -0
- package/dist/CapInput/__snapshots__/CapInput.test.tsx.snap +156 -0
- package/dist/CapInput/__snapshots__/Number.test.tsx.snap +557 -0
- package/dist/CapInput/__snapshots__/Search.test.tsx.snap +284 -0
- package/dist/CapInput/__snapshots__/TextArea.test.tsx.snap +100 -0
- package/dist/CapInput/index.js +1 -1
- package/dist/CapInput/index.js.map +1 -1
- package/dist/CapLabel/__snapshots__/CapLabel.test.tsx.snap +135 -0
- package/dist/CapMenu/__snapshots__/CapMenu.test.tsx.snap +653 -0
- package/dist/CapRadio/__snapshots__/CapRadio.test.tsx.snap +387 -0
- package/dist/CapRow/__snapshots__/CapRow.test.tsx.snap +149 -0
- package/dist/CapSkeleton/__snapshots__/CapSkeleton.test.tsx.snap +212 -0
- package/dist/CapSpin/__snapshots__/CapSpin.test.tsx.snap +245 -0
- package/dist/CapSwitch/CapSwitch.d.ts.map +1 -1
- package/dist/CapSwitch/__snapshots__/CapSwitch.test.tsx.snap +178 -0
- package/dist/CapSwitch/index.js +7 -489
- package/dist/CapSwitch/index.js.map +1 -1
- package/dist/CapTab/CapTab.d.ts +11 -1
- package/dist/CapTab/CapTab.d.ts.map +1 -1
- package/dist/CapTab/__snapshots__/CapTab.test.tsx.snap +1508 -0
- package/dist/CapTab/index.js +29 -19
- package/dist/CapTab/index.js.map +1 -1
- package/dist/CapTable/__snapshots__/CapTable.test.tsx.snap +993 -0
- package/dist/CapTooltip/CapTooltip.d.ts +32 -1
- package/dist/CapTooltip/CapTooltip.d.ts.map +1 -1
- package/dist/CapTooltip/__snapshots__/CapTooltip.test.tsx.snap +121 -0
- package/dist/CapTooltip/index.js +25 -7
- package/dist/CapTooltip/index.js.map +1 -1
- package/dist/CapTooltipWithInfo/__snapshots__/CapTooltipWithInfo.test.tsx.snap +388 -0
- package/dist/CapTooltipWithInfo/index.js +25 -7
- package/dist/CapTooltipWithInfo/index.js.map +1 -1
- package/dist/CapUnifiedSelect/__snapshots__/CapUnifiedSelect.test.tsx.snap +898 -0
- package/dist/CapUnifiedSelect/index.js +28 -8
- package/dist/CapUnifiedSelect/index.js.map +1 -1
- package/dist/index.js +187 -232
- package/dist/index.js.map +1 -1
- package/package.json +7 -2
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
2
|
+
|
|
3
|
+
exports[`CapHeading Snapshots should match snapshot with custom className 1`] = `
|
|
4
|
+
<div>
|
|
5
|
+
<div
|
|
6
|
+
class="cap-heading h5 custom-heading"
|
|
7
|
+
>
|
|
8
|
+
Custom Heading
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
11
|
+
`;
|
|
12
|
+
|
|
13
|
+
exports[`CapHeading Snapshots should match snapshot with custom style 1`] = `
|
|
14
|
+
<div>
|
|
15
|
+
<div
|
|
16
|
+
class="cap-heading h5"
|
|
17
|
+
style="text-decoration: underline;"
|
|
18
|
+
>
|
|
19
|
+
Styled Heading
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
`;
|
|
23
|
+
|
|
24
|
+
exports[`CapHeading Snapshots should match snapshot with default props 1`] = `
|
|
25
|
+
<div>
|
|
26
|
+
<div
|
|
27
|
+
class="cap-heading h5"
|
|
28
|
+
>
|
|
29
|
+
Default Heading
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
`;
|
|
33
|
+
|
|
34
|
+
exports[`CapHeading Snapshots should match snapshot with h0 type 1`] = `
|
|
35
|
+
<div>
|
|
36
|
+
<div
|
|
37
|
+
class="cap-heading h0"
|
|
38
|
+
>
|
|
39
|
+
Heading H0
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
`;
|
|
43
|
+
|
|
44
|
+
exports[`CapHeading Snapshots should match snapshot with h1 type 1`] = `
|
|
45
|
+
<div>
|
|
46
|
+
<div
|
|
47
|
+
class="cap-heading h1"
|
|
48
|
+
>
|
|
49
|
+
Heading H1
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
`;
|
|
53
|
+
|
|
54
|
+
exports[`CapHeading Snapshots should match snapshot with h2 type 1`] = `
|
|
55
|
+
<div>
|
|
56
|
+
<div
|
|
57
|
+
class="cap-heading h2"
|
|
58
|
+
>
|
|
59
|
+
Heading H2
|
|
60
|
+
</div>
|
|
61
|
+
</div>
|
|
62
|
+
`;
|
|
63
|
+
|
|
64
|
+
exports[`CapHeading Snapshots should match snapshot with h3 type 1`] = `
|
|
65
|
+
<div>
|
|
66
|
+
<div
|
|
67
|
+
class="cap-heading h3"
|
|
68
|
+
>
|
|
69
|
+
Heading H3
|
|
70
|
+
</div>
|
|
71
|
+
</div>
|
|
72
|
+
`;
|
|
73
|
+
|
|
74
|
+
exports[`CapHeading Snapshots should match snapshot with h4 type 1`] = `
|
|
75
|
+
<div>
|
|
76
|
+
<div
|
|
77
|
+
class="cap-heading h4"
|
|
78
|
+
>
|
|
79
|
+
Heading H4
|
|
80
|
+
</div>
|
|
81
|
+
</div>
|
|
82
|
+
`;
|
|
83
|
+
|
|
84
|
+
exports[`CapHeading Snapshots should match snapshot with h5 type 1`] = `
|
|
85
|
+
<div>
|
|
86
|
+
<div
|
|
87
|
+
class="cap-heading h5"
|
|
88
|
+
>
|
|
89
|
+
Heading H5
|
|
90
|
+
</div>
|
|
91
|
+
</div>
|
|
92
|
+
`;
|
|
93
|
+
|
|
94
|
+
exports[`CapHeading Snapshots should match snapshot with h6 type 1`] = `
|
|
95
|
+
<div>
|
|
96
|
+
<div
|
|
97
|
+
class="cap-heading h6"
|
|
98
|
+
>
|
|
99
|
+
Heading H6
|
|
100
|
+
</div>
|
|
101
|
+
</div>
|
|
102
|
+
`;
|
|
103
|
+
|
|
104
|
+
exports[`CapHeading Snapshots should match snapshot with h7 type 1`] = `
|
|
105
|
+
<div>
|
|
106
|
+
<div
|
|
107
|
+
class="cap-heading h7"
|
|
108
|
+
>
|
|
109
|
+
Heading H7
|
|
110
|
+
</div>
|
|
111
|
+
</div>
|
|
112
|
+
`;
|
|
113
|
+
|
|
114
|
+
exports[`CapHeading Snapshots should match snapshot with h8 type 1`] = `
|
|
115
|
+
<div>
|
|
116
|
+
<div
|
|
117
|
+
class="cap-heading h8"
|
|
118
|
+
>
|
|
119
|
+
Heading H8
|
|
120
|
+
</div>
|
|
121
|
+
</div>
|
|
122
|
+
`;
|
|
123
|
+
|
|
124
|
+
exports[`CapHeading Snapshots should match snapshot with h9 type 1`] = `
|
|
125
|
+
<div>
|
|
126
|
+
<div
|
|
127
|
+
class="cap-heading h9"
|
|
128
|
+
>
|
|
129
|
+
Heading H9
|
|
130
|
+
</div>
|
|
131
|
+
</div>
|
|
132
|
+
`;
|
|
133
|
+
|
|
134
|
+
exports[`CapHeading Snapshots should match snapshot with h10 type 1`] = `
|
|
135
|
+
<div>
|
|
136
|
+
<div
|
|
137
|
+
class="cap-heading h10"
|
|
138
|
+
>
|
|
139
|
+
Heading H10
|
|
140
|
+
</div>
|
|
141
|
+
</div>
|
|
142
|
+
`;
|
|
143
|
+
|
|
144
|
+
exports[`CapHeading Snapshots should match snapshot with label1 type 1`] = `
|
|
145
|
+
<div>
|
|
146
|
+
<div
|
|
147
|
+
class="cap-heading label1"
|
|
148
|
+
>
|
|
149
|
+
Label 1
|
|
150
|
+
</div>
|
|
151
|
+
</div>
|
|
152
|
+
`;
|
|
153
|
+
|
|
154
|
+
exports[`CapHeading Snapshots should match snapshot with label2 type 1`] = `
|
|
155
|
+
<div>
|
|
156
|
+
<div
|
|
157
|
+
class="cap-heading label2"
|
|
158
|
+
>
|
|
159
|
+
Label 2
|
|
160
|
+
</div>
|
|
161
|
+
</div>
|
|
162
|
+
`;
|
|
163
|
+
|
|
164
|
+
exports[`CapHeading Snapshots should match snapshot with label3 type 1`] = `
|
|
165
|
+
<div>
|
|
166
|
+
<div
|
|
167
|
+
class="cap-heading label3"
|
|
168
|
+
>
|
|
169
|
+
Label 3
|
|
170
|
+
</div>
|
|
171
|
+
</div>
|
|
172
|
+
`;
|
|
173
|
+
|
|
174
|
+
exports[`CapHeading Snapshots should match snapshot with label4 type 1`] = `
|
|
175
|
+
<div>
|
|
176
|
+
<div
|
|
177
|
+
class="cap-heading label4"
|
|
178
|
+
>
|
|
179
|
+
Label 4
|
|
180
|
+
</div>
|
|
181
|
+
</div>
|
|
182
|
+
`;
|
|
183
|
+
|
|
184
|
+
exports[`CapHeading Snapshots should match snapshot with label5 type 1`] = `
|
|
185
|
+
<div>
|
|
186
|
+
<div
|
|
187
|
+
class="cap-heading label5"
|
|
188
|
+
>
|
|
189
|
+
Label 5
|
|
190
|
+
</div>
|
|
191
|
+
</div>
|
|
192
|
+
`;
|
|
193
|
+
|
|
194
|
+
exports[`CapHeading Snapshots should match snapshot with label6 type 1`] = `
|
|
195
|
+
<div>
|
|
196
|
+
<div
|
|
197
|
+
class="cap-heading label6"
|
|
198
|
+
>
|
|
199
|
+
Label 6
|
|
200
|
+
</div>
|
|
201
|
+
</div>
|
|
202
|
+
`;
|
|
203
|
+
|
|
204
|
+
exports[`CapHeadingSpan Snapshots should match snapshot with custom className 1`] = `
|
|
205
|
+
<div>
|
|
206
|
+
<span
|
|
207
|
+
class="cap-heading cap-heading-span h5 custom-span"
|
|
208
|
+
>
|
|
209
|
+
Custom Span
|
|
210
|
+
</span>
|
|
211
|
+
</div>
|
|
212
|
+
`;
|
|
213
|
+
|
|
214
|
+
exports[`CapHeadingSpan Snapshots should match snapshot with custom style 1`] = `
|
|
215
|
+
<div>
|
|
216
|
+
<span
|
|
217
|
+
class="cap-heading cap-heading-span h5"
|
|
218
|
+
style="color: blue;"
|
|
219
|
+
>
|
|
220
|
+
Styled Span
|
|
221
|
+
</span>
|
|
222
|
+
</div>
|
|
223
|
+
`;
|
|
224
|
+
|
|
225
|
+
exports[`CapHeadingSpan Snapshots should match snapshot with default props 1`] = `
|
|
226
|
+
<div>
|
|
227
|
+
<span
|
|
228
|
+
class="cap-heading cap-heading-span h5"
|
|
229
|
+
>
|
|
230
|
+
Default Span
|
|
231
|
+
</span>
|
|
232
|
+
</div>
|
|
233
|
+
`;
|
|
234
|
+
|
|
235
|
+
exports[`CapHeadingSpan Snapshots should match snapshot with h1 type 1`] = `
|
|
236
|
+
<div>
|
|
237
|
+
<span
|
|
238
|
+
class="cap-heading cap-heading-span h1"
|
|
239
|
+
>
|
|
240
|
+
H1 Span
|
|
241
|
+
</span>
|
|
242
|
+
</div>
|
|
243
|
+
`;
|
|
244
|
+
|
|
245
|
+
exports[`CapHeadingSpan Snapshots should match snapshot with h2 type 1`] = `
|
|
246
|
+
<div>
|
|
247
|
+
<span
|
|
248
|
+
class="cap-heading cap-heading-span h2"
|
|
249
|
+
>
|
|
250
|
+
H2 Span
|
|
251
|
+
</span>
|
|
252
|
+
</div>
|
|
253
|
+
`;
|
|
254
|
+
|
|
255
|
+
exports[`CapHeadingSpan Snapshots should match snapshot with label1 type 1`] = `
|
|
256
|
+
<div>
|
|
257
|
+
<span
|
|
258
|
+
class="cap-heading cap-heading-span label1"
|
|
259
|
+
>
|
|
260
|
+
Label 1 Span
|
|
261
|
+
</span>
|
|
262
|
+
</div>
|
|
263
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../components/CapHeading/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,YAAY,EAAE,eAAe,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC"}
|