@salutejs/sdds-api-tests 0.27.0-next-sbcom.0 → 0.27.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salutejs/sdds-api-tests",
|
|
3
|
-
"version": "0.27.0
|
|
3
|
+
"version": "0.27.0",
|
|
4
4
|
"description": "API tests for components",
|
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -13,19 +13,19 @@
|
|
|
13
13
|
"test": "rm -rf tests && node script.mjs && NODE_OPTIONS=--max-old-space-size=8192 tsc --noEmit -p ./tsconfig.typecheck.json"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@salutejs/plasma-b2c": "1.638.0
|
|
17
|
-
"@salutejs/plasma-giga": "0.365.0
|
|
18
|
-
"@salutejs/plasma-icons": "1.252.0
|
|
19
|
-
"@salutejs/plasma-web": "1.640.0
|
|
20
|
-
"@salutejs/sdds-bizcom": "0.370.0
|
|
21
|
-
"@salutejs/sdds-cs": "0.374.0
|
|
22
|
-
"@salutejs/sdds-dfa": "0.368.0
|
|
23
|
-
"@salutejs/sdds-finai": "0.361.0
|
|
24
|
-
"@salutejs/sdds-insol": "0.365.0
|
|
25
|
-
"@salutejs/sdds-netology": "0.369.0
|
|
26
|
-
"@salutejs/sdds-platform-ai": "0.369.0
|
|
27
|
-
"@salutejs/sdds-scan": "0.368.0
|
|
28
|
-
"@salutejs/sdds-serv": "0.369.0
|
|
16
|
+
"@salutejs/plasma-b2c": "1.638.0",
|
|
17
|
+
"@salutejs/plasma-giga": "0.365.0",
|
|
18
|
+
"@salutejs/plasma-icons": "1.252.0",
|
|
19
|
+
"@salutejs/plasma-web": "1.640.0",
|
|
20
|
+
"@salutejs/sdds-bizcom": "0.370.0",
|
|
21
|
+
"@salutejs/sdds-cs": "0.374.0",
|
|
22
|
+
"@salutejs/sdds-dfa": "0.368.0",
|
|
23
|
+
"@salutejs/sdds-finai": "0.361.0",
|
|
24
|
+
"@salutejs/sdds-insol": "0.365.0",
|
|
25
|
+
"@salutejs/sdds-netology": "0.369.0",
|
|
26
|
+
"@salutejs/sdds-platform-ai": "0.369.0",
|
|
27
|
+
"@salutejs/sdds-scan": "0.368.0",
|
|
28
|
+
"@salutejs/sdds-serv": "0.369.0",
|
|
29
29
|
"@types/node": "^25.9.1",
|
|
30
30
|
"@types/react": "18.0.28",
|
|
31
31
|
"@types/react-dom": "18.0.11",
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"publishConfig": {
|
|
36
36
|
"access": "public"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "a419e9303c97682114c77f181eedcbf37b52adf3"
|
|
39
39
|
}
|
|
@@ -21,6 +21,9 @@ describe('Basics', () => {
|
|
|
21
21
|
expectTypeOf<ComboboxProps>({});
|
|
22
22
|
expectTypeOf<ComboboxProps>({ items: [] });
|
|
23
23
|
expectTypeOf<ComboboxProps>().toHaveProperty('items').toEqualTypeOf<ItemOption[]>();
|
|
24
|
+
expectTypeOf<ComboboxProps>()
|
|
25
|
+
.toHaveProperty('sortItems')
|
|
26
|
+
.toEqualTypeOf<((a: ItemOption, b: ItemOption) => number) | undefined>();
|
|
24
27
|
|
|
25
28
|
expectTypeOf<ComboboxProps>().toHaveProperty('treeView').toEqualTypeOf<boolean | undefined>();
|
|
26
29
|
expectTypeOf<ComboboxProps>().toHaveProperty('arrowPlacement').toEqualTypeOf<'left' | 'right' | undefined>();
|
|
@@ -339,6 +342,7 @@ describe('Generics', () => {
|
|
|
339
342
|
onChange={(_, item) => item?.customLabel}
|
|
340
343
|
renderItem={(item) => item?.customLabel}
|
|
341
344
|
filter={(item) => item.isAvailable}
|
|
345
|
+
sortItems={(a, b) => a.customLabel.localeCompare(b.customLabel)}
|
|
342
346
|
/>
|
|
343
347
|
);
|
|
344
348
|
|
|
@@ -350,6 +354,7 @@ describe('Generics', () => {
|
|
|
350
354
|
renderItem={(item) => item?.customLabel}
|
|
351
355
|
renderValue={(item) => item?.customLabel}
|
|
352
356
|
filter={(item) => item.isAvailable}
|
|
357
|
+
sortItems={(a, b) => a.customLabel.localeCompare(b.customLabel)}
|
|
353
358
|
/>
|
|
354
359
|
);
|
|
355
360
|
|
|
@@ -34,6 +34,9 @@ describe('Basics', () => {
|
|
|
34
34
|
expectTypeOf<SelectProps>({});
|
|
35
35
|
expectTypeOf<SelectProps>({ items: [] });
|
|
36
36
|
expectTypeOf<SelectProps>().toHaveProperty('items').toEqualTypeOf<ItemOption[]>();
|
|
37
|
+
expectTypeOf<SelectProps>()
|
|
38
|
+
.toHaveProperty('sortItems')
|
|
39
|
+
.toEqualTypeOf<((a: ItemOption, b: ItemOption) => number) | undefined>();
|
|
37
40
|
expectTypeOf<SelectProps>()
|
|
38
41
|
.toHaveProperty('placement')
|
|
39
42
|
.toEqualTypeOf<
|
|
@@ -279,6 +282,7 @@ describe('Generics', () => {
|
|
|
279
282
|
onChange={(_, item) => item?.customLabel}
|
|
280
283
|
renderItem={(item) => item?.customLabel}
|
|
281
284
|
renderValue={(item) => item?.customLabel}
|
|
285
|
+
sortItems={(a, b) => a.customLabel.localeCompare(b.customLabel)}
|
|
282
286
|
/>
|
|
283
287
|
);
|
|
284
288
|
|
|
@@ -289,6 +293,7 @@ describe('Generics', () => {
|
|
|
289
293
|
onChange={(_, item) => item?.customLabel}
|
|
290
294
|
renderItem={(item) => item?.customLabel}
|
|
291
295
|
renderValue={(item) => item?.customLabel}
|
|
296
|
+
sortItems={(a, b) => a.customLabel.localeCompare(b.customLabel)}
|
|
292
297
|
/>
|
|
293
298
|
);
|
|
294
299
|
|