@astral/ui 4.33.0 → 4.34.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.
@@ -25,7 +25,7 @@ export const PaginationWrapper = styled.div `
25
25
  padding-top: ${({ theme }) => theme.spacing(4)};
26
26
 
27
27
  ${({ theme }) => theme.breakpoints.down('laptop')} {
28
- padding-top: ${({ theme }) => theme.spacing(2)};
28
+ padding-top: ${({ theme }) => theme.spacing(3)};
29
29
  }
30
30
 
31
31
  ${({ theme }) => theme.breakpoints.down('sm')} {
@@ -1,24 +1,118 @@
1
1
  import { faker } from '@ui/dev/faker';
2
2
  export const makeOrganizationList = (props) => {
3
3
  const { length = 16 } = props || {};
4
- const generateKpp = () => {
5
- return faker.datatype.boolean()
6
- ? String(faker.number.int({
7
- min: 100000000,
8
- max: 999999999,
9
- }))
10
- : undefined;
11
- };
12
- return Array.from({ length }).map(() => ({
13
- id: faker.string.uuid(),
14
- name: faker.company.name(),
15
- inn: String(faker.number.int({
16
- min: 100000000000,
17
- max: 999999999999,
18
- })),
19
- kpp: generateKpp(),
20
- active: faker.datatype.boolean(),
21
- }));
4
+ return [
5
+ {
6
+ id: '828223d7-648b-4021-b400-659b4e80296b',
7
+ // cSpell:disable
8
+ name: 'AO ШелеховЛимитед',
9
+ inn: '619550717901',
10
+ active: false,
11
+ },
12
+ {
13
+ id: '94519882-5ff1-4f66-9b0d-d0b6bfea80c7',
14
+ // cSpell:disable
15
+ name: 'МУП СнабТрейд',
16
+ inn: '842492530192',
17
+ active: false,
18
+ },
19
+ {
20
+ id: '9e48ce0b-472f-42a4-856f-dc57b44065b5',
21
+ // cSpell:disable
22
+ name: 'ИП ТулпанИнкорпорэйтед',
23
+ inn: '325992270803',
24
+ kpp: '456732438',
25
+ active: true,
26
+ },
27
+ {
28
+ id: 'c3acf619-27b7-4321-99ca-4b5ae8019b7d',
29
+ // cSpell:disable
30
+ name: 'ФГУП ТырныаузТоргСбытИнкорпорэйтед',
31
+ inn: '182622552754',
32
+ kpp: '719145463',
33
+ active: false,
34
+ },
35
+ {
36
+ id: 'c59164d5-c30a-4d7c-9b5a-1682ce5cfb07',
37
+ name: 'НКО Носков',
38
+ inn: '317246626786',
39
+ kpp: '483722344',
40
+ active: false,
41
+ },
42
+ {
43
+ id: 'a35d7def-5dbe-4c3f-9d8b-54deaba086c1',
44
+ name: 'ГУП Ангелина',
45
+ inn: '142270260749',
46
+ kpp: '811542051',
47
+ active: false,
48
+ },
49
+ {
50
+ id: '79b37721-4f0e-4c3a-8f0f-055d8250c9fa',
51
+ name: 'ОАО ГруппТорг',
52
+ inn: '686064143259',
53
+ active: false,
54
+ },
55
+ {
56
+ id: '22aa8422-ef4e-48f1-aaf1-9a29789bb54e',
57
+ name: 'ООО Жанна',
58
+ inn: '119507796528',
59
+ kpp: '972633982',
60
+ active: false,
61
+ },
62
+ {
63
+ id: '884114f2-287d-4246-bae7-ca818026211f',
64
+ name: 'ПАО Усть-ОрдынскийГрупп',
65
+ inn: '725534793751',
66
+ active: true,
67
+ },
68
+ {
69
+ id: '85a162f5-9c93-4016-b0b7-0e5ee60e5111',
70
+ name: 'ГУП Моисеев',
71
+ inn: '371420452084',
72
+ kpp: '400812565',
73
+ active: true,
74
+ },
75
+ {
76
+ id: 'cb9e9d67-c355-4742-93dd-c184756366f9',
77
+ name: 'ИП Дорофей',
78
+ inn: '382425812447',
79
+ active: false,
80
+ },
81
+ {
82
+ id: '7f274985-bdd6-4197-ba6d-1084db1ce55c',
83
+ name: 'ПАО Брагин',
84
+ inn: '287166176754',
85
+ active: true,
86
+ },
87
+ {
88
+ id: '7e22e1d2-2f09-4e65-adfb-86d354cc5270',
89
+ // cSpell:disable
90
+ name: 'ОП КулуЛимитедИнкорпорэйтедПром',
91
+ inn: '235350171066',
92
+ active: true,
93
+ },
94
+ {
95
+ id: '94f90867-8998-4614-a1c8-ec7822bbb2a1',
96
+ name: 'ТСЖ Роман',
97
+ inn: '372054729872',
98
+ kpp: '268816135',
99
+ active: false,
100
+ },
101
+ {
102
+ id: '51da8ba1-dec5-489d-ab02-824ba748181d',
103
+ // cSpell:disable
104
+ name: 'ФГУП Азарий',
105
+ inn: '213960194519',
106
+ active: false,
107
+ },
108
+ {
109
+ id: '830ce0f2-7398-44e2-90c8-746fa8b29322',
110
+ name: 'ООО Ксения',
111
+ inn: '338051726600',
112
+ kpp: '721606613',
113
+ active: false,
114
+ },
115
+ ].slice(0, length);
22
116
  };
23
117
  export const makeLongOrganizationNameList = (props) => {
24
118
  const { length = 16 } = props || {};
@@ -61,6 +61,7 @@ export const Content = styled.div `
61
61
 
62
62
  ${({ theme }) => theme.breakpoints.down('laptop')} {
63
63
  padding-right: ${({ theme }) => theme.spacing(4)};
64
+ padding-bottom: ${({ theme }) => theme.spacing(3)};
64
65
  padding-left: ${({ theme }) => theme.spacing(4)};
65
66
  }
66
67
 
@@ -13,6 +13,12 @@ export const Wrapper = styled.div `
13
13
 
14
14
  background-color: ${({ theme }) => theme.palette.common.white};
15
15
 
16
+ ${({ theme }) => theme.breakpoints.down('laptop')} {
17
+ grid-row-gap: ${({ theme }) => theme.spacing(2)};
18
+
19
+ padding-top: ${({ theme }) => theme.spacing(3)};
20
+ }
21
+
16
22
  ${({ theme }) => theme.breakpoints.down('sm')} {
17
23
  scroll-behavior: smooth;
18
24
 
@@ -10,7 +10,7 @@ export const Divider = styled.div `
10
10
  bottom: 2px;
11
11
 
12
12
  width: 100%;
13
- height: 2px;
13
+ height: 1px;
14
14
 
15
15
  background-color: ${({ theme }) => theme.palette.grey[200]};
16
16
  `;
@@ -28,7 +28,7 @@ exports.PaginationWrapper = styled_1.styled.div `
28
28
  padding-top: ${({ theme }) => theme.spacing(4)};
29
29
 
30
30
  ${({ theme }) => theme.breakpoints.down('laptop')} {
31
- padding-top: ${({ theme }) => theme.spacing(2)};
31
+ padding-top: ${({ theme }) => theme.spacing(3)};
32
32
  }
33
33
 
34
34
  ${({ theme }) => theme.breakpoints.down('sm')} {
@@ -4,24 +4,118 @@ exports.makeLongOrganizationNameList = exports.makeOrganizationList = void 0;
4
4
  const faker_1 = require("@ui/dev/faker");
5
5
  const makeOrganizationList = (props) => {
6
6
  const { length = 16 } = props || {};
7
- const generateKpp = () => {
8
- return faker_1.faker.datatype.boolean()
9
- ? String(faker_1.faker.number.int({
10
- min: 100000000,
11
- max: 999999999,
12
- }))
13
- : undefined;
14
- };
15
- return Array.from({ length }).map(() => ({
16
- id: faker_1.faker.string.uuid(),
17
- name: faker_1.faker.company.name(),
18
- inn: String(faker_1.faker.number.int({
19
- min: 100000000000,
20
- max: 999999999999,
21
- })),
22
- kpp: generateKpp(),
23
- active: faker_1.faker.datatype.boolean(),
24
- }));
7
+ return [
8
+ {
9
+ id: '828223d7-648b-4021-b400-659b4e80296b',
10
+ // cSpell:disable
11
+ name: 'AO ШелеховЛимитед',
12
+ inn: '619550717901',
13
+ active: false,
14
+ },
15
+ {
16
+ id: '94519882-5ff1-4f66-9b0d-d0b6bfea80c7',
17
+ // cSpell:disable
18
+ name: 'МУП СнабТрейд',
19
+ inn: '842492530192',
20
+ active: false,
21
+ },
22
+ {
23
+ id: '9e48ce0b-472f-42a4-856f-dc57b44065b5',
24
+ // cSpell:disable
25
+ name: 'ИП ТулпанИнкорпорэйтед',
26
+ inn: '325992270803',
27
+ kpp: '456732438',
28
+ active: true,
29
+ },
30
+ {
31
+ id: 'c3acf619-27b7-4321-99ca-4b5ae8019b7d',
32
+ // cSpell:disable
33
+ name: 'ФГУП ТырныаузТоргСбытИнкорпорэйтед',
34
+ inn: '182622552754',
35
+ kpp: '719145463',
36
+ active: false,
37
+ },
38
+ {
39
+ id: 'c59164d5-c30a-4d7c-9b5a-1682ce5cfb07',
40
+ name: 'НКО Носков',
41
+ inn: '317246626786',
42
+ kpp: '483722344',
43
+ active: false,
44
+ },
45
+ {
46
+ id: 'a35d7def-5dbe-4c3f-9d8b-54deaba086c1',
47
+ name: 'ГУП Ангелина',
48
+ inn: '142270260749',
49
+ kpp: '811542051',
50
+ active: false,
51
+ },
52
+ {
53
+ id: '79b37721-4f0e-4c3a-8f0f-055d8250c9fa',
54
+ name: 'ОАО ГруппТорг',
55
+ inn: '686064143259',
56
+ active: false,
57
+ },
58
+ {
59
+ id: '22aa8422-ef4e-48f1-aaf1-9a29789bb54e',
60
+ name: 'ООО Жанна',
61
+ inn: '119507796528',
62
+ kpp: '972633982',
63
+ active: false,
64
+ },
65
+ {
66
+ id: '884114f2-287d-4246-bae7-ca818026211f',
67
+ name: 'ПАО Усть-ОрдынскийГрупп',
68
+ inn: '725534793751',
69
+ active: true,
70
+ },
71
+ {
72
+ id: '85a162f5-9c93-4016-b0b7-0e5ee60e5111',
73
+ name: 'ГУП Моисеев',
74
+ inn: '371420452084',
75
+ kpp: '400812565',
76
+ active: true,
77
+ },
78
+ {
79
+ id: 'cb9e9d67-c355-4742-93dd-c184756366f9',
80
+ name: 'ИП Дорофей',
81
+ inn: '382425812447',
82
+ active: false,
83
+ },
84
+ {
85
+ id: '7f274985-bdd6-4197-ba6d-1084db1ce55c',
86
+ name: 'ПАО Брагин',
87
+ inn: '287166176754',
88
+ active: true,
89
+ },
90
+ {
91
+ id: '7e22e1d2-2f09-4e65-adfb-86d354cc5270',
92
+ // cSpell:disable
93
+ name: 'ОП КулуЛимитедИнкорпорэйтедПром',
94
+ inn: '235350171066',
95
+ active: true,
96
+ },
97
+ {
98
+ id: '94f90867-8998-4614-a1c8-ec7822bbb2a1',
99
+ name: 'ТСЖ Роман',
100
+ inn: '372054729872',
101
+ kpp: '268816135',
102
+ active: false,
103
+ },
104
+ {
105
+ id: '51da8ba1-dec5-489d-ab02-824ba748181d',
106
+ // cSpell:disable
107
+ name: 'ФГУП Азарий',
108
+ inn: '213960194519',
109
+ active: false,
110
+ },
111
+ {
112
+ id: '830ce0f2-7398-44e2-90c8-746fa8b29322',
113
+ name: 'ООО Ксения',
114
+ inn: '338051726600',
115
+ kpp: '721606613',
116
+ active: false,
117
+ },
118
+ ].slice(0, length);
25
119
  };
26
120
  exports.makeOrganizationList = makeOrganizationList;
27
121
  const makeLongOrganizationNameList = (props) => {
@@ -64,6 +64,7 @@ exports.Content = styled_1.styled.div `
64
64
 
65
65
  ${({ theme }) => theme.breakpoints.down('laptop')} {
66
66
  padding-right: ${({ theme }) => theme.spacing(4)};
67
+ padding-bottom: ${({ theme }) => theme.spacing(3)};
67
68
  padding-left: ${({ theme }) => theme.spacing(4)};
68
69
  }
69
70
 
@@ -16,6 +16,12 @@ exports.Wrapper = styled_1.styled.div `
16
16
 
17
17
  background-color: ${({ theme }) => theme.palette.common.white};
18
18
 
19
+ ${({ theme }) => theme.breakpoints.down('laptop')} {
20
+ grid-row-gap: ${({ theme }) => theme.spacing(2)};
21
+
22
+ padding-top: ${({ theme }) => theme.spacing(3)};
23
+ }
24
+
19
25
  ${({ theme }) => theme.breakpoints.down('sm')} {
20
26
  scroll-behavior: smooth;
21
27
 
@@ -36,7 +36,7 @@ exports.Divider = styled_1.styled.div `
36
36
  bottom: 2px;
37
37
 
38
38
  width: 100%;
39
- height: 2px;
39
+ height: 1px;
40
40
 
41
41
  background-color: ${({ theme }) => theme.palette.grey[200]};
42
42
  `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astral/ui",
3
- "version": "4.33.0",
3
+ "version": "4.34.1",
4
4
  "browser": "./index.js",
5
5
  "main": "./node/index.js",
6
6
  "dependencies": {