@alfalab/core-components-list 3.2.0 → 3.2.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.
Files changed (39) hide show
  1. package/{Component-71bc37e9.js → Component-ff50db60.js} +2 -2
  2. package/Component.js +3 -1
  3. package/components/item/Component.js +3 -1
  4. package/components/item/index.css +11 -11
  5. package/components/item/index.d.ts +1 -1
  6. package/components/item/index.js +3 -1
  7. package/cssm/Component.js +2 -0
  8. package/cssm/components/item/Component.js +2 -0
  9. package/cssm/components/item/index.js +2 -0
  10. package/cssm/components/item/index.module.css +1 -1
  11. package/cssm/index.js +2 -0
  12. package/cssm/index.module.css +1 -1
  13. package/cssm/presets.js +2 -0
  14. package/cssm/utils.js +2 -0
  15. package/esm/{Component-5084b3b8.js → Component-9d7b71bc.js} +2 -2
  16. package/esm/Component.js +1 -1
  17. package/esm/components/item/Component.js +1 -1
  18. package/esm/components/item/index.css +11 -11
  19. package/esm/components/item/index.d.ts +1 -1
  20. package/esm/components/item/index.js +1 -1
  21. package/esm/index.css +7 -7
  22. package/esm/index.js +1 -1
  23. package/index.css +7 -7
  24. package/index.js +3 -1
  25. package/modern/{Component-368bf140.js → Component-9fb6bcfc.js} +2 -2
  26. package/modern/Component.js +1 -1
  27. package/modern/components/item/Component.js +1 -1
  28. package/modern/components/item/index.css +11 -11
  29. package/modern/components/item/index.d.ts +1 -1
  30. package/modern/components/item/index.js +1 -1
  31. package/modern/index.css +7 -7
  32. package/modern/index.js +1 -1
  33. package/package.json +2 -5
  34. package/presets.js +2 -0
  35. package/utils.js +2 -0
  36. package/send-stats.js +0 -82
  37. /package/{Component-71bc37e9.d.ts → Component-ff50db60.d.ts} +0 -0
  38. /package/esm/{Component-5084b3b8.d.ts → Component-9d7b71bc.d.ts} +0 -0
  39. /package/modern/{Component-368bf140.d.ts → Component-9fb6bcfc.d.ts} +0 -0
@@ -11,7 +11,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
11
11
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
12
12
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
13
13
 
14
- var styles$1 = {"item":"list__item_opye0","reversed":"list__reversed_opye0","unorderedItem":"list__unorderedItem_opye0","slot":"list__slot_opye0","defaultColor":"list__defaultColor_opye0","disc":"list__disc_opye0","caption":"list__caption_opye0"};
14
+ var styles$1 = {"item":"list__item_aqlzc","reversed":"list__reversed_aqlzc","unorderedItem":"list__unorderedItem_aqlzc","slot":"list__slot_aqlzc","defaultColor":"list__defaultColor_aqlzc","disc":"list__disc_aqlzc","caption":"list__caption_aqlzc"};
15
15
  require('./components/item/index.css')
16
16
 
17
17
  var Item = function (_a) {
@@ -37,7 +37,7 @@ var Item = function (_a) {
37
37
  };
38
38
  Item.displayName = 'ListItem';
39
39
 
40
- var styles = {"list":"list__list_1ngae","lowerAlpha":"list__lowerAlpha_1ngae","decimal":"list__decimal_1ngae","reversed":"list__reversed_1ngae"};
40
+ var styles = {"list":"list__list_kdv9p","lowerAlpha":"list__lowerAlpha_kdv9p","decimal":"list__decimal_kdv9p","reversed":"list__reversed_kdv9p"};
41
41
  require('./index.css')
42
42
 
43
43
  var ListContext = React__default.default.createContext({});
package/Component.js CHANGED
@@ -1,9 +1,11 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  require('tslib');
4
6
  require('react');
5
7
  require('classnames');
6
- var components_item_Component = require('./Component-71bc37e9.js');
8
+ var components_item_Component = require('./Component-ff50db60.js');
7
9
  require('./utils.js');
8
10
  require('@alfalab/core-components-typography');
9
11
 
@@ -1,9 +1,11 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  require('react');
4
6
  require('classnames');
5
7
  require('@alfalab/core-components-typography');
6
- var components_item_Component = require('../../Component-71bc37e9.js');
8
+ var components_item_Component = require('../../Component-ff50db60.js');
7
9
  require('tslib');
8
10
  require('../../utils.js');
9
11
 
@@ -1,7 +1,7 @@
1
- /* hash: vfky2 */
1
+ /* hash: szmy2 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
- --color-light-text-primary: #0b1f35; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
+ --color-light-text-primary: #0e0e0e; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
5
5
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
6
6
  } :root {
7
7
  } :root {
@@ -21,29 +21,29 @@
21
21
  } :root {
22
22
  --list-marker-color: var(--color-light-text-primary);
23
23
  --list-item-margin: var(--gap-s);
24
- } .list__item_opye0 {
24
+ } .list__item_aqlzc {
25
25
  margin-top: var(--list-item-margin);
26
26
  display: flex
27
- } .list__item_opye0:first-child {
27
+ } .list__item_aqlzc:first-child {
28
28
  margin-top: 0;
29
- } .list__item_opye0.list__reversed_opye0:first-child {
29
+ } .list__item_aqlzc.list__reversed_aqlzc:first-child {
30
30
  margin-top: var(--list-item-margin);
31
- } .list__item_opye0.list__reversed_opye0:last-child {
31
+ } .list__item_aqlzc.list__reversed_aqlzc:last-child {
32
32
  margin-top: 0;
33
- } .list__item_opye0.list__unorderedItem_opye0 {
33
+ } .list__item_aqlzc.list__unorderedItem_aqlzc {
34
34
  display: list-item;
35
- } .list__slot_opye0 {
35
+ } .list__slot_aqlzc {
36
36
  min-width: 20px;
37
37
  display: flex;
38
38
  box-sizing: border-box;
39
39
  justify-content: start;
40
40
  padding-right: var(--gap-2xs);
41
41
  flex-shrink: 0
42
- } .list__slot_opye0.list__defaultColor_opye0 {
42
+ } .list__slot_aqlzc.list__defaultColor_aqlzc {
43
43
  color: var(--list-marker-color);
44
- } .list__slot_opye0.list__disc_opye0 {
44
+ } .list__slot_aqlzc.list__disc_aqlzc {
45
45
  justify-content: center;
46
46
  padding: 0 var(--gap-2xs);
47
- } .list__caption_opye0 {
47
+ } .list__caption_aqlzc {
48
48
  margin-top: var(--gap-3xs);
49
49
  }
@@ -1 +1 @@
1
- export * from "../../Component-71bc37e9";
1
+ export * from "../../Component-ff50db60";
@@ -1,6 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var components_item_Component = require('../../Component-71bc37e9.js');
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var components_item_Component = require('../../Component-ff50db60.js');
4
6
  require('tslib');
5
7
  require('react');
6
8
  require('classnames');
package/cssm/Component.js CHANGED
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  require('tslib');
4
6
  require('react');
5
7
  require('classnames');
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  require('react');
4
6
  require('classnames');
5
7
  require('@alfalab/core-components-typography/cssm');
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var components_item_Component = require('../../Component-7cc47e0b.js');
4
6
  require('tslib');
5
7
  require('react');
@@ -1,6 +1,6 @@
1
1
  :root {
2
2
  } /* deprecated */ :root {
3
- --color-light-text-primary: #0b1f35; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
+ --color-light-text-primary: #0e0e0e; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
5
5
  } :root {
6
6
  } :root {
package/cssm/index.js CHANGED
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var components_item_Component = require('./Component-7cc47e0b.js');
4
6
  var presets = require('./presets.js');
5
7
  require('tslib');
@@ -1,6 +1,6 @@
1
1
  :root {
2
2
  } /* deprecated */ :root {
3
- --color-light-text-primary: #0b1f35; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
+ --color-light-text-primary: #0e0e0e; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
5
5
  } :root {
6
6
  } :root {
package/cssm/presets.js CHANGED
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var listPresets = {
4
6
  mobile: {
5
7
  tag: 'ul',
package/cssm/utils.js CHANGED
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var React = require('react');
4
6
 
5
7
  var isItemElement = function (obj, name) {
@@ -4,7 +4,7 @@ import cn from 'classnames';
4
4
  import { Typography } from '@alfalab/core-components-typography/esm';
5
5
  import { isItem } from './utils.js';
6
6
 
7
- var styles$1 = {"item":"list__item_opye0","reversed":"list__reversed_opye0","unorderedItem":"list__unorderedItem_opye0","slot":"list__slot_opye0","defaultColor":"list__defaultColor_opye0","disc":"list__disc_opye0","caption":"list__caption_opye0"};
7
+ var styles$1 = {"item":"list__item_aqlzc","reversed":"list__reversed_aqlzc","unorderedItem":"list__unorderedItem_aqlzc","slot":"list__slot_aqlzc","defaultColor":"list__defaultColor_aqlzc","disc":"list__disc_aqlzc","caption":"list__caption_aqlzc"};
8
8
  require('./components/item/index.css')
9
9
 
10
10
  var Item = function (_a) {
@@ -30,7 +30,7 @@ var Item = function (_a) {
30
30
  };
31
31
  Item.displayName = 'ListItem';
32
32
 
33
- var styles = {"list":"list__list_1ngae","lowerAlpha":"list__lowerAlpha_1ngae","decimal":"list__decimal_1ngae","reversed":"list__reversed_1ngae"};
33
+ var styles = {"list":"list__list_kdv9p","lowerAlpha":"list__lowerAlpha_kdv9p","decimal":"list__decimal_kdv9p","reversed":"list__reversed_kdv9p"};
34
34
  require('./index.css')
35
35
 
36
36
  var ListContext = React.createContext({});
package/esm/Component.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import 'tslib';
2
2
  import 'react';
3
3
  import 'classnames';
4
- export { a as List, L as ListContext } from './Component-5084b3b8.js';
4
+ export { a as List, L as ListContext } from './Component-9d7b71bc.js';
5
5
  import './utils.js';
6
6
  import '@alfalab/core-components-typography/esm';
@@ -1,6 +1,6 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
3
  import '@alfalab/core-components-typography/esm';
4
- export { I as Item } from '../../Component-5084b3b8.js';
4
+ export { I as Item } from '../../Component-9d7b71bc.js';
5
5
  import 'tslib';
6
6
  import '../../utils.js';
@@ -1,7 +1,7 @@
1
- /* hash: vfky2 */
1
+ /* hash: szmy2 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
- --color-light-text-primary: #0b1f35; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
+ --color-light-text-primary: #0e0e0e; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
5
5
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
6
6
  } :root {
7
7
  } :root {
@@ -21,29 +21,29 @@
21
21
  } :root {
22
22
  --list-marker-color: var(--color-light-text-primary);
23
23
  --list-item-margin: var(--gap-s);
24
- } .list__item_opye0 {
24
+ } .list__item_aqlzc {
25
25
  margin-top: var(--list-item-margin);
26
26
  display: flex
27
- } .list__item_opye0:first-child {
27
+ } .list__item_aqlzc:first-child {
28
28
  margin-top: 0;
29
- } .list__item_opye0.list__reversed_opye0:first-child {
29
+ } .list__item_aqlzc.list__reversed_aqlzc:first-child {
30
30
  margin-top: var(--list-item-margin);
31
- } .list__item_opye0.list__reversed_opye0:last-child {
31
+ } .list__item_aqlzc.list__reversed_aqlzc:last-child {
32
32
  margin-top: 0;
33
- } .list__item_opye0.list__unorderedItem_opye0 {
33
+ } .list__item_aqlzc.list__unorderedItem_aqlzc {
34
34
  display: list-item;
35
- } .list__slot_opye0 {
35
+ } .list__slot_aqlzc {
36
36
  min-width: 20px;
37
37
  display: flex;
38
38
  box-sizing: border-box;
39
39
  justify-content: start;
40
40
  padding-right: var(--gap-2xs);
41
41
  flex-shrink: 0
42
- } .list__slot_opye0.list__defaultColor_opye0 {
42
+ } .list__slot_aqlzc.list__defaultColor_aqlzc {
43
43
  color: var(--list-marker-color);
44
- } .list__slot_opye0.list__disc_opye0 {
44
+ } .list__slot_aqlzc.list__disc_aqlzc {
45
45
  justify-content: center;
46
46
  padding: 0 var(--gap-2xs);
47
- } .list__caption_opye0 {
47
+ } .list__caption_aqlzc {
48
48
  margin-top: var(--gap-3xs);
49
49
  }
@@ -1 +1 @@
1
- export * from "../../Component-5084b3b8";
1
+ export * from "../../Component-9d7b71bc";
@@ -1,4 +1,4 @@
1
- export { I as Item } from '../../Component-5084b3b8.js';
1
+ export { I as Item } from '../../Component-9d7b71bc.js';
2
2
  import 'tslib';
3
3
  import 'react';
4
4
  import 'classnames';
package/esm/index.css CHANGED
@@ -1,7 +1,7 @@
1
- /* hash: 19no9 */
1
+ /* hash: 18vre */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
- --color-light-text-primary: #0b1f35; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
+ --color-light-text-primary: #0e0e0e; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
5
5
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
6
6
  } :root {
7
7
  } :root {
@@ -16,7 +16,7 @@
16
16
  --gap-l: 20px;
17
17
  } :root {
18
18
  } :root {
19
- } .list__list_1ngae {
19
+ } .list__list_kdv9p {
20
20
  margin: 0;
21
21
  padding: 0;
22
22
  color: var(--color-light-text-primary);
@@ -26,14 +26,14 @@
26
26
  line-height: 24px;
27
27
 
28
28
  font-weight: 400;
29
- } .list__lowerAlpha_1ngae {
29
+ } .list__lowerAlpha_kdv9p {
30
30
  list-style-type: lower-alpha;
31
31
  padding-left: var(--gap-l);
32
- } .list__decimal_1ngae {
32
+ } .list__decimal_kdv9p {
33
33
  list-style-type: decimal;
34
- } ol.list__list_1ngae {
34
+ } ol.list__list_kdv9p {
35
35
  display: flex;
36
36
  flex-direction: column
37
- } ol.list__list_1ngae.list__reversed_1ngae {
37
+ } ol.list__list_kdv9p.list__reversed_kdv9p {
38
38
  flex-direction: column-reverse;
39
39
  }
package/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { a as List, L as ListContext } from './Component-5084b3b8.js';
1
+ export { a as List, L as ListContext } from './Component-9d7b71bc.js';
2
2
  export { listPresets } from './presets.js';
3
3
  import 'tslib';
4
4
  import 'react';
package/index.css CHANGED
@@ -1,7 +1,7 @@
1
- /* hash: 19no9 */
1
+ /* hash: 18vre */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
- --color-light-text-primary: #0b1f35; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
+ --color-light-text-primary: #0e0e0e; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
5
5
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
6
6
  } :root {
7
7
  } :root {
@@ -16,7 +16,7 @@
16
16
  --gap-l: 20px;
17
17
  } :root {
18
18
  } :root {
19
- } .list__list_1ngae {
19
+ } .list__list_kdv9p {
20
20
  margin: 0;
21
21
  padding: 0;
22
22
  color: var(--color-light-text-primary);
@@ -26,14 +26,14 @@
26
26
  line-height: 24px;
27
27
 
28
28
  font-weight: 400;
29
- } .list__lowerAlpha_1ngae {
29
+ } .list__lowerAlpha_kdv9p {
30
30
  list-style-type: lower-alpha;
31
31
  padding-left: var(--gap-l);
32
- } .list__decimal_1ngae {
32
+ } .list__decimal_kdv9p {
33
33
  list-style-type: decimal;
34
- } ol.list__list_1ngae {
34
+ } ol.list__list_kdv9p {
35
35
  display: flex;
36
36
  flex-direction: column
37
- } ol.list__list_1ngae.list__reversed_1ngae {
37
+ } ol.list__list_kdv9p.list__reversed_kdv9p {
38
38
  flex-direction: column-reverse;
39
39
  }
package/index.js CHANGED
@@ -1,6 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var components_item_Component = require('./Component-71bc37e9.js');
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var components_item_Component = require('./Component-ff50db60.js');
4
6
  var presets = require('./presets.js');
5
7
  require('tslib');
6
8
  require('react');
@@ -3,7 +3,7 @@ import cn from 'classnames';
3
3
  import { Typography } from '@alfalab/core-components-typography/modern';
4
4
  import { isItem } from './utils.js';
5
5
 
6
- const styles$1 = {"item":"list__item_opye0","reversed":"list__reversed_opye0","unorderedItem":"list__unorderedItem_opye0","slot":"list__slot_opye0","defaultColor":"list__defaultColor_opye0","disc":"list__disc_opye0","caption":"list__caption_opye0"};
6
+ const styles$1 = {"item":"list__item_aqlzc","reversed":"list__reversed_aqlzc","unorderedItem":"list__unorderedItem_aqlzc","slot":"list__slot_aqlzc","defaultColor":"list__defaultColor_aqlzc","disc":"list__disc_aqlzc","caption":"list__caption_aqlzc"};
7
7
  require('./components/item/index.css')
8
8
 
9
9
  const Item = ({ caption, children }) => {
@@ -27,7 +27,7 @@ const Item = ({ caption, children }) => {
27
27
  };
28
28
  Item.displayName = 'ListItem';
29
29
 
30
- const styles = {"list":"list__list_1ngae","lowerAlpha":"list__lowerAlpha_1ngae","decimal":"list__decimal_1ngae","reversed":"list__reversed_1ngae"};
30
+ const styles = {"list":"list__list_kdv9p","lowerAlpha":"list__lowerAlpha_kdv9p","decimal":"list__decimal_kdv9p","reversed":"list__reversed_kdv9p"};
31
31
  require('./index.css')
32
32
 
33
33
  const ListContext = React.createContext({});
@@ -1,5 +1,5 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- export { a as List, L as ListContext } from './Component-368bf140.js';
3
+ export { a as List, L as ListContext } from './Component-9fb6bcfc.js';
4
4
  import './utils.js';
5
5
  import '@alfalab/core-components-typography/modern';
@@ -1,5 +1,5 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
3
  import '@alfalab/core-components-typography/modern';
4
- export { I as Item } from '../../Component-368bf140.js';
4
+ export { I as Item } from '../../Component-9fb6bcfc.js';
5
5
  import '../../utils.js';
@@ -1,7 +1,7 @@
1
- /* hash: vfky2 */
1
+ /* hash: szmy2 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
- --color-light-text-primary: #0b1f35; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
+ --color-light-text-primary: #0e0e0e; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
5
5
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
6
6
  } :root {
7
7
  } :root {
@@ -21,29 +21,29 @@
21
21
  } :root {
22
22
  --list-marker-color: var(--color-light-text-primary);
23
23
  --list-item-margin: var(--gap-s);
24
- } .list__item_opye0 {
24
+ } .list__item_aqlzc {
25
25
  margin-top: var(--list-item-margin);
26
26
  display: flex
27
- } .list__item_opye0:first-child {
27
+ } .list__item_aqlzc:first-child {
28
28
  margin-top: 0;
29
- } .list__item_opye0.list__reversed_opye0:first-child {
29
+ } .list__item_aqlzc.list__reversed_aqlzc:first-child {
30
30
  margin-top: var(--list-item-margin);
31
- } .list__item_opye0.list__reversed_opye0:last-child {
31
+ } .list__item_aqlzc.list__reversed_aqlzc:last-child {
32
32
  margin-top: 0;
33
- } .list__item_opye0.list__unorderedItem_opye0 {
33
+ } .list__item_aqlzc.list__unorderedItem_aqlzc {
34
34
  display: list-item;
35
- } .list__slot_opye0 {
35
+ } .list__slot_aqlzc {
36
36
  min-width: 20px;
37
37
  display: flex;
38
38
  box-sizing: border-box;
39
39
  justify-content: start;
40
40
  padding-right: var(--gap-2xs);
41
41
  flex-shrink: 0
42
- } .list__slot_opye0.list__defaultColor_opye0 {
42
+ } .list__slot_aqlzc.list__defaultColor_aqlzc {
43
43
  color: var(--list-marker-color);
44
- } .list__slot_opye0.list__disc_opye0 {
44
+ } .list__slot_aqlzc.list__disc_aqlzc {
45
45
  justify-content: center;
46
46
  padding: 0 var(--gap-2xs);
47
- } .list__caption_opye0 {
47
+ } .list__caption_aqlzc {
48
48
  margin-top: var(--gap-3xs);
49
49
  }
@@ -1 +1 @@
1
- export * from "../../Component-368bf140";
1
+ export * from "../../Component-9fb6bcfc";
@@ -1,4 +1,4 @@
1
- export { I as Item } from '../../Component-368bf140.js';
1
+ export { I as Item } from '../../Component-9fb6bcfc.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/core-components-typography/modern';
package/modern/index.css CHANGED
@@ -1,7 +1,7 @@
1
- /* hash: 19no9 */
1
+ /* hash: 18vre */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
- --color-light-text-primary: #0b1f35; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
+ --color-light-text-primary: #0e0e0e; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
5
5
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
6
6
  } :root {
7
7
  } :root {
@@ -16,7 +16,7 @@
16
16
  --gap-l: 20px;
17
17
  } :root {
18
18
  } :root {
19
- } .list__list_1ngae {
19
+ } .list__list_kdv9p {
20
20
  margin: 0;
21
21
  padding: 0;
22
22
  color: var(--color-light-text-primary);
@@ -26,14 +26,14 @@
26
26
  line-height: 24px;
27
27
 
28
28
  font-weight: 400;
29
- } .list__lowerAlpha_1ngae {
29
+ } .list__lowerAlpha_kdv9p {
30
30
  list-style-type: lower-alpha;
31
31
  padding-left: var(--gap-l);
32
- } .list__decimal_1ngae {
32
+ } .list__decimal_kdv9p {
33
33
  list-style-type: decimal;
34
- } ol.list__list_1ngae {
34
+ } ol.list__list_kdv9p {
35
35
  display: flex;
36
36
  flex-direction: column
37
- } ol.list__list_1ngae.list__reversed_1ngae {
37
+ } ol.list__list_kdv9p.list__reversed_kdv9p {
38
38
  flex-direction: column-reverse;
39
39
  }
package/modern/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { a as List, L as ListContext } from './Component-368bf140.js';
1
+ export { a as List, L as ListContext } from './Component-9fb6bcfc.js';
2
2
  export { listPresets } from './presets.js';
3
3
  import 'react';
4
4
  import 'classnames';
package/package.json CHANGED
@@ -1,14 +1,11 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-list",
3
- "version": "3.2.0",
3
+ "version": "3.2.2",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
7
7
  "main": "index.js",
8
8
  "module": "./esm/index.js",
9
- "scripts": {
10
- "postinstall": "node -e \"if (require('fs').existsSync('./send-stats.js')){require('./send-stats.js')} \""
11
- },
12
9
  "publishConfig": {
13
10
  "access": "public",
14
11
  "directory": "dist"
@@ -17,7 +14,7 @@
17
14
  "react": "^16.9.0 || ^17.0.1 || ^18.0.0"
18
15
  },
19
16
  "dependencies": {
20
- "@alfalab/core-components-typography": "^3.1.1",
17
+ "@alfalab/core-components-typography": "^3.2.2",
21
18
  "classnames": "^2.3.1",
22
19
  "tslib": "^2.4.0"
23
20
  }
package/presets.js CHANGED
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var listPresets = {
4
6
  mobile: {
5
7
  tag: 'ul',
package/utils.js CHANGED
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var React = require('react');
4
6
 
5
7
  var isItemElement = function (obj, name) {
package/send-stats.js DELETED
@@ -1,82 +0,0 @@
1
- const http = require('http');
2
- const fs = require('fs');
3
- const { promisify } = require('util');
4
- const path = require('path');
5
-
6
- const readFile = promisify(fs.readFile);
7
-
8
- async function main() {
9
- const remoteHost = process.env.NIS_HOST || 'digital';
10
- const remotePort = process.env.NIS_PORT || 80;
11
- const remotePath = process.env.NIS_PATH || '/npm-install-stats/api/install-stats';
12
-
13
- try {
14
- const [_, node, os, arch] =
15
- /node\/v(\d+\.\d+\.\d+) (\w+) (\w+)/.exec(process.env.npm_config_user_agent) || [];
16
- const [__, npm] = /npm\/(\d+\.\d+\.\d+)/.exec(process.env.npm_config_user_agent) || [];
17
- const [___, yarn] = /yarn\/(\d+\.\d+\.\d+)/.exec(process.env.npm_config_user_agent) || [];
18
-
19
- let ownPackageJson, packageJson;
20
-
21
- try {
22
- const result = await Promise.all([
23
- readFile(path.join(process.cwd(), 'package.json'), 'utf-8'),
24
- readFile(path.join(process.cwd(), '../../../package.json'), 'utf-8'),
25
- ]);
26
-
27
- ownPackageJson = JSON.parse(result[0]);
28
- packageJson = JSON.parse(result[1]);
29
- } catch (err) {
30
- ownPackageJson = '';
31
- packageJson = '';
32
- }
33
-
34
- const data = {
35
- node,
36
- npm,
37
- yarn,
38
- os,
39
- arch,
40
- ownPackageJson: JSON.stringify(ownPackageJson),
41
- packageJson: JSON.stringify(packageJson),
42
- };
43
-
44
- const body = JSON.stringify(data);
45
-
46
- const options = {
47
- host: remoteHost,
48
- port: remotePort,
49
- path: remotePath,
50
- method: 'POST',
51
- headers: {
52
- 'Content-Type': 'application/json',
53
- 'Content-Length': body.length,
54
- },
55
- };
56
-
57
- return new Promise((resolve, reject) => {
58
- const req = http.request(options, (res) => {
59
- res.on('end', () => {
60
- resolve();
61
- });
62
- });
63
-
64
- req.on('error', () => {
65
- reject();
66
- });
67
-
68
- req.write(body);
69
- req.end();
70
- });
71
- } catch (error) {
72
- throw error;
73
- }
74
- }
75
-
76
- main()
77
- .then(() => {
78
- process.exit(0);
79
- })
80
- .catch(() => {
81
- process.exit(0);
82
- });