@alfalab/core-components-list 3.2.0 → 3.2.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.
Files changed (38) hide show
  1. package/{Component-71bc37e9.js → Component-6858e395.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-bb93aa74.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-cfeaa92e.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 -2
  34. package/presets.js +2 -0
  35. package/utils.js +2 -0
  36. /package/{Component-71bc37e9.d.ts → Component-6858e395.d.ts} +0 -0
  37. /package/esm/{Component-5084b3b8.d.ts → Component-bb93aa74.d.ts} +0 -0
  38. /package/modern/{Component-368bf140.d.ts → Component-cfeaa92e.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_1hiip","reversed":"list__reversed_1hiip","unorderedItem":"list__unorderedItem_1hiip","slot":"list__slot_1hiip","defaultColor":"list__defaultColor_1hiip","disc":"list__disc_1hiip","caption":"list__caption_1hiip"};
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_1o0md","lowerAlpha":"list__lowerAlpha_1o0md","decimal":"list__decimal_1o0md","reversed":"list__reversed_1o0md"};
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-6858e395.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-6858e395.js');
7
9
  require('tslib');
8
10
  require('../../utils.js');
9
11
 
@@ -1,7 +1,7 @@
1
- /* hash: vfky2 */
1
+ /* hash: 128f6 */
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_1hiip {
25
25
  margin-top: var(--list-item-margin);
26
26
  display: flex
27
- } .list__item_opye0:first-child {
27
+ } .list__item_1hiip:first-child {
28
28
  margin-top: 0;
29
- } .list__item_opye0.list__reversed_opye0:first-child {
29
+ } .list__item_1hiip.list__reversed_1hiip:first-child {
30
30
  margin-top: var(--list-item-margin);
31
- } .list__item_opye0.list__reversed_opye0:last-child {
31
+ } .list__item_1hiip.list__reversed_1hiip:last-child {
32
32
  margin-top: 0;
33
- } .list__item_opye0.list__unorderedItem_opye0 {
33
+ } .list__item_1hiip.list__unorderedItem_1hiip {
34
34
  display: list-item;
35
- } .list__slot_opye0 {
35
+ } .list__slot_1hiip {
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_1hiip.list__defaultColor_1hiip {
43
43
  color: var(--list-marker-color);
44
- } .list__slot_opye0.list__disc_opye0 {
44
+ } .list__slot_1hiip.list__disc_1hiip {
45
45
  justify-content: center;
46
46
  padding: 0 var(--gap-2xs);
47
- } .list__caption_opye0 {
47
+ } .list__caption_1hiip {
48
48
  margin-top: var(--gap-3xs);
49
49
  }
@@ -1 +1 @@
1
- export * from "../../Component-71bc37e9";
1
+ export * from "../../Component-6858e395";
@@ -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-6858e395.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_1hiip","reversed":"list__reversed_1hiip","unorderedItem":"list__unorderedItem_1hiip","slot":"list__slot_1hiip","defaultColor":"list__defaultColor_1hiip","disc":"list__disc_1hiip","caption":"list__caption_1hiip"};
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_1o0md","lowerAlpha":"list__lowerAlpha_1o0md","decimal":"list__decimal_1o0md","reversed":"list__reversed_1o0md"};
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-bb93aa74.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-bb93aa74.js';
5
5
  import 'tslib';
6
6
  import '../../utils.js';
@@ -1,7 +1,7 @@
1
- /* hash: vfky2 */
1
+ /* hash: 128f6 */
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_1hiip {
25
25
  margin-top: var(--list-item-margin);
26
26
  display: flex
27
- } .list__item_opye0:first-child {
27
+ } .list__item_1hiip:first-child {
28
28
  margin-top: 0;
29
- } .list__item_opye0.list__reversed_opye0:first-child {
29
+ } .list__item_1hiip.list__reversed_1hiip:first-child {
30
30
  margin-top: var(--list-item-margin);
31
- } .list__item_opye0.list__reversed_opye0:last-child {
31
+ } .list__item_1hiip.list__reversed_1hiip:last-child {
32
32
  margin-top: 0;
33
- } .list__item_opye0.list__unorderedItem_opye0 {
33
+ } .list__item_1hiip.list__unorderedItem_1hiip {
34
34
  display: list-item;
35
- } .list__slot_opye0 {
35
+ } .list__slot_1hiip {
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_1hiip.list__defaultColor_1hiip {
43
43
  color: var(--list-marker-color);
44
- } .list__slot_opye0.list__disc_opye0 {
44
+ } .list__slot_1hiip.list__disc_1hiip {
45
45
  justify-content: center;
46
46
  padding: 0 var(--gap-2xs);
47
- } .list__caption_opye0 {
47
+ } .list__caption_1hiip {
48
48
  margin-top: var(--gap-3xs);
49
49
  }
@@ -1 +1 @@
1
- export * from "../../Component-5084b3b8";
1
+ export * from "../../Component-bb93aa74";
@@ -1,4 +1,4 @@
1
- export { I as Item } from '../../Component-5084b3b8.js';
1
+ export { I as Item } from '../../Component-bb93aa74.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: 1fkvi */
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_1o0md {
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_1o0md {
30
30
  list-style-type: lower-alpha;
31
31
  padding-left: var(--gap-l);
32
- } .list__decimal_1ngae {
32
+ } .list__decimal_1o0md {
33
33
  list-style-type: decimal;
34
- } ol.list__list_1ngae {
34
+ } ol.list__list_1o0md {
35
35
  display: flex;
36
36
  flex-direction: column
37
- } ol.list__list_1ngae.list__reversed_1ngae {
37
+ } ol.list__list_1o0md.list__reversed_1o0md {
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-bb93aa74.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: 1fkvi */
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_1o0md {
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_1o0md {
30
30
  list-style-type: lower-alpha;
31
31
  padding-left: var(--gap-l);
32
- } .list__decimal_1ngae {
32
+ } .list__decimal_1o0md {
33
33
  list-style-type: decimal;
34
- } ol.list__list_1ngae {
34
+ } ol.list__list_1o0md {
35
35
  display: flex;
36
36
  flex-direction: column
37
- } ol.list__list_1ngae.list__reversed_1ngae {
37
+ } ol.list__list_1o0md.list__reversed_1o0md {
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-6858e395.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_1hiip","reversed":"list__reversed_1hiip","unorderedItem":"list__unorderedItem_1hiip","slot":"list__slot_1hiip","defaultColor":"list__defaultColor_1hiip","disc":"list__disc_1hiip","caption":"list__caption_1hiip"};
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_1o0md","lowerAlpha":"list__lowerAlpha_1o0md","decimal":"list__decimal_1o0md","reversed":"list__reversed_1o0md"};
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-cfeaa92e.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-cfeaa92e.js';
5
5
  import '../../utils.js';
@@ -1,7 +1,7 @@
1
- /* hash: vfky2 */
1
+ /* hash: 128f6 */
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_1hiip {
25
25
  margin-top: var(--list-item-margin);
26
26
  display: flex
27
- } .list__item_opye0:first-child {
27
+ } .list__item_1hiip:first-child {
28
28
  margin-top: 0;
29
- } .list__item_opye0.list__reversed_opye0:first-child {
29
+ } .list__item_1hiip.list__reversed_1hiip:first-child {
30
30
  margin-top: var(--list-item-margin);
31
- } .list__item_opye0.list__reversed_opye0:last-child {
31
+ } .list__item_1hiip.list__reversed_1hiip:last-child {
32
32
  margin-top: 0;
33
- } .list__item_opye0.list__unorderedItem_opye0 {
33
+ } .list__item_1hiip.list__unorderedItem_1hiip {
34
34
  display: list-item;
35
- } .list__slot_opye0 {
35
+ } .list__slot_1hiip {
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_1hiip.list__defaultColor_1hiip {
43
43
  color: var(--list-marker-color);
44
- } .list__slot_opye0.list__disc_opye0 {
44
+ } .list__slot_1hiip.list__disc_1hiip {
45
45
  justify-content: center;
46
46
  padding: 0 var(--gap-2xs);
47
- } .list__caption_opye0 {
47
+ } .list__caption_1hiip {
48
48
  margin-top: var(--gap-3xs);
49
49
  }
@@ -1 +1 @@
1
- export * from "../../Component-368bf140";
1
+ export * from "../../Component-cfeaa92e";
@@ -1,4 +1,4 @@
1
- export { I as Item } from '../../Component-368bf140.js';
1
+ export { I as Item } from '../../Component-cfeaa92e.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: 1fkvi */
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_1o0md {
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_1o0md {
30
30
  list-style-type: lower-alpha;
31
31
  padding-left: var(--gap-l);
32
- } .list__decimal_1ngae {
32
+ } .list__decimal_1o0md {
33
33
  list-style-type: decimal;
34
- } ol.list__list_1ngae {
34
+ } ol.list__list_1o0md {
35
35
  display: flex;
36
36
  flex-direction: column
37
- } ol.list__list_1ngae.list__reversed_1ngae {
37
+ } ol.list__list_1o0md.list__reversed_1o0md {
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-cfeaa92e.js';
2
2
  export { listPresets } from './presets.js';
3
3
  import 'react';
4
4
  import 'classnames';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-list",
3
- "version": "3.2.0",
3
+ "version": "3.2.1",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -17,7 +17,7 @@
17
17
  "react": "^16.9.0 || ^17.0.1 || ^18.0.0"
18
18
  },
19
19
  "dependencies": {
20
- "@alfalab/core-components-typography": "^3.1.1",
20
+ "@alfalab/core-components-typography": "^3.2.1",
21
21
  "classnames": "^2.3.1",
22
22
  "tslib": "^2.4.0"
23
23
  }
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) {