@alfalab/core-components-tabs 7.2.6 → 7.2.7
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/Component.responsive-0d7ca9a7.d.ts +29 -0
- package/components/primary-tablist/Component.desktop.js +7 -3
- package/components/primary-tablist/Component.js +13 -8
- package/components/primary-tablist/Component.mobile.js +9 -4
- package/components/primary-tablist/Component.responsive.js +7 -3
- package/components/primary-tablist/index.css +29 -29
- package/components/primary-tablist/mobile.css +32 -32
- package/components/scrollable-container/Component.js +9 -3
- package/components/scrollable-container/index.css +5 -5
- package/components/secondary-tablist/Component.desktop.js +7 -3
- package/components/secondary-tablist/Component.js +9 -4
- package/components/secondary-tablist/Component.mobile.js +9 -4
- package/components/secondary-tablist/Component.responsive.js +7 -3
- package/components/secondary-tablist/index.css +11 -11
- package/components/secondary-tablist/mobile.css +13 -13
- package/components/tab/Component.js +7 -2
- package/components/tab/index.css +3 -3
- package/components/tabs/Component.desktop.js +8 -4
- package/components/tabs/Component.js +7 -3
- package/components/tabs/Component.mobile.js +8 -4
- package/components/tabs/Component.responsive.js +8 -4
- package/components/title/Component.js +9 -4
- package/components/title/index.js +1 -1
- package/cssm/Component.responsive-0d7ca9a7.d.ts +29 -0
- package/cssm/components/primary-tablist/Component.desktop.js +6 -1
- package/cssm/components/primary-tablist/Component.js +12 -7
- package/cssm/components/primary-tablist/Component.mobile.js +9 -2
- package/cssm/components/primary-tablist/Component.responsive.js +5 -1
- package/cssm/components/scrollable-container/Component.js +10 -3
- package/cssm/components/secondary-tablist/Component.desktop.js +6 -1
- package/cssm/components/secondary-tablist/Component.js +8 -3
- package/cssm/components/secondary-tablist/Component.mobile.js +9 -2
- package/cssm/components/secondary-tablist/Component.responsive.js +5 -1
- package/cssm/components/tab/Component.js +8 -2
- package/cssm/components/tabs/Component.desktop.js +5 -1
- package/cssm/components/tabs/Component.js +7 -3
- package/cssm/components/tabs/Component.mobile.js +5 -1
- package/cssm/components/tabs/Component.responsive.js +5 -1
- package/cssm/components/title/Component.js +8 -3
- package/cssm/index-0d7ca9a7.d.ts +3 -27
- package/desktop.js +3 -3
- package/esm/Component.responsive-0d7ca9a7.d.ts +29 -0
- package/esm/components/primary-tablist/Component.desktop.js +2 -2
- package/esm/components/primary-tablist/Component.js +1 -1
- package/esm/components/primary-tablist/Component.mobile.js +3 -3
- package/esm/components/primary-tablist/Component.responsive.js +2 -2
- package/esm/components/primary-tablist/index.css +29 -29
- package/esm/components/primary-tablist/mobile.css +32 -32
- package/esm/components/scrollable-container/Component.js +1 -1
- package/esm/components/scrollable-container/index.css +5 -5
- package/esm/components/secondary-tablist/Component.desktop.js +2 -2
- package/esm/components/secondary-tablist/Component.js +1 -1
- package/esm/components/secondary-tablist/Component.mobile.js +3 -3
- package/esm/components/secondary-tablist/Component.responsive.js +2 -2
- package/esm/components/secondary-tablist/index.css +11 -11
- package/esm/components/secondary-tablist/mobile.css +13 -13
- package/esm/components/tab/Component.js +1 -1
- package/esm/components/tab/index.css +3 -3
- package/esm/components/tabs/Component.desktop.js +3 -3
- package/esm/components/tabs/Component.mobile.js +3 -3
- package/esm/components/tabs/Component.responsive.js +3 -3
- package/esm/components/title/Component.js +1 -1
- package/esm/components/title/index.js +1 -1
- package/esm/desktop.js +3 -3
- package/esm/hooks/use-collapsible-elements.js +1 -1
- package/esm/hooks/use-tablist-titles.js +1 -1
- package/esm/index-0d7ca9a7.d.ts +3 -27
- package/esm/index.js +3 -3
- package/esm/index.module-87e28b8e.js +4 -0
- package/esm/index.module-d597f34c.js +4 -0
- package/esm/mobile.js +3 -3
- package/esm/responsive.js +3 -3
- package/esm/synthetic-events.js +1 -1
- package/esm/{tslib.es6-fd2adbbc.d.ts → tslib.es6-6282fefa.d.ts} +0 -0
- package/esm/{tslib.es6-fd2adbbc.js → tslib.es6-6282fefa.js} +0 -0
- package/hooks/use-collapsible-elements.js +1 -1
- package/hooks/use-tablist-titles.js +1 -1
- package/index-0d7ca9a7.d.ts +3 -27
- package/index.js +3 -3
- package/index.module-383903ec.js +6 -0
- package/index.module-d82ed5a5.js +6 -0
- package/mobile.js +3 -3
- package/modern/Component.responsive-0d7ca9a7.d.ts +29 -0
- package/modern/components/primary-tablist/Component.desktop.js +1 -1
- package/modern/components/primary-tablist/Component.mobile.js +2 -2
- package/modern/components/primary-tablist/Component.responsive.js +1 -1
- package/modern/components/primary-tablist/index.css +29 -29
- package/modern/components/primary-tablist/mobile.css +32 -32
- package/modern/components/scrollable-container/Component.js +1 -1
- package/modern/components/scrollable-container/index.css +5 -5
- package/modern/components/secondary-tablist/Component.desktop.js +1 -1
- package/modern/components/secondary-tablist/Component.mobile.js +2 -2
- package/modern/components/secondary-tablist/Component.responsive.js +1 -1
- package/modern/components/secondary-tablist/index.css +11 -11
- package/modern/components/secondary-tablist/mobile.css +13 -13
- package/modern/components/tab/Component.js +1 -1
- package/modern/components/tab/index.css +3 -3
- package/modern/components/tabs/Component.desktop.js +2 -2
- package/modern/components/tabs/Component.mobile.js +2 -2
- package/modern/components/tabs/Component.responsive.js +2 -2
- package/modern/desktop.js +2 -2
- package/modern/index-0d7ca9a7.d.ts +3 -27
- package/modern/index.js +2 -2
- package/modern/index.module-5ae8c071.js +4 -0
- package/modern/index.module-89b0354c.js +4 -0
- package/modern/mobile.js +2 -2
- package/modern/responsive.js +2 -2
- package/package.json +5 -5
- package/responsive.js +3 -3
- package/synthetic-events.js +1 -1
- package/{tslib.es6-b58bcb17.d.ts → tslib.es6-97b09e77.d.ts} +0 -0
- package/{tslib.es6-b58bcb17.js → tslib.es6-97b09e77.js} +0 -0
- package/esm/index.module-2661cbbc.js +0 -4
- package/esm/index.module-8fe5adc6.js +0 -4
- package/index.module-401dd07b.js +0 -6
- package/index.module-b800d019.js +0 -6
- package/modern/index.module-7e5746f2.js +0 -4
- package/modern/index.module-b659d358.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: ejpz7 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -36,19 +36,19 @@
|
|
|
36
36
|
|
|
37
37
|
/* size xl */
|
|
38
38
|
}
|
|
39
|
-
.
|
|
39
|
+
.tabs__container_1enjq {
|
|
40
40
|
position: relative;
|
|
41
41
|
overflow-x: auto;
|
|
42
42
|
overflow-y: hidden;
|
|
43
43
|
scroll-behavior: smooth;
|
|
44
44
|
scrollbar-width: none
|
|
45
45
|
}
|
|
46
|
-
.
|
|
46
|
+
.tabs__container_1enjq::-webkit-scrollbar {
|
|
47
47
|
display: none;
|
|
48
48
|
}
|
|
49
|
-
.
|
|
49
|
+
.tabs__container_1enjq > * {
|
|
50
50
|
flex-shrink: 0;
|
|
51
51
|
}
|
|
52
|
-
.
|
|
52
|
+
.tabs__fullWidthScroll_1enjq {
|
|
53
53
|
margin: 0 var(--gap-m-neg);
|
|
54
54
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-6282fefa.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { SecondaryTabList } from './Component.js';
|
|
4
|
-
import { c as commonStyles } from '../../index.module-
|
|
4
|
+
import { c as commonStyles } from '../../index.module-d597f34c.js';
|
|
5
5
|
import 'classnames';
|
|
6
6
|
import '@alfalab/core-components-tag/esm';
|
|
7
7
|
import '../../hooks/use-tabs.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { a as __assign, _ as __rest } from '../../tslib.es6-
|
|
1
|
+
import { a as __assign, _ as __rest } from '../../tslib.es6-6282fefa.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { SecondaryTabList } from './Component.js';
|
|
5
|
-
import { c as commonStyles } from '../../index.module-
|
|
5
|
+
import { c as commonStyles } from '../../index.module-d597f34c.js';
|
|
6
6
|
import '@alfalab/core-components-tag/esm';
|
|
7
7
|
import '../../hooks/use-tabs.js';
|
|
8
8
|
import '../scrollable-container/Component.js';
|
|
9
9
|
import 'compute-scroll-into-view';
|
|
10
10
|
|
|
11
|
-
var mobileStyles = {"title":"
|
|
11
|
+
var mobileStyles = {"title":"tabs__title_180nt tabs__title_1hare","mobile":"tabs__mobile_180nt"};
|
|
12
12
|
require('./mobile.css')
|
|
13
13
|
|
|
14
14
|
var styles = __assign(__assign({}, commonStyles), mobileStyles);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-6282fefa.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { useMedia } from '@alfalab/hooks';
|
|
4
4
|
import { SecondaryTabListDesktop } from './Component.desktop.js';
|
|
@@ -9,7 +9,7 @@ import '@alfalab/core-components-tag/esm';
|
|
|
9
9
|
import '../../hooks/use-tabs.js';
|
|
10
10
|
import '../scrollable-container/Component.js';
|
|
11
11
|
import 'compute-scroll-into-view';
|
|
12
|
-
import '../../index.module-
|
|
12
|
+
import '../../index.module-d597f34c.js';
|
|
13
13
|
|
|
14
14
|
var SecondaryTabListResponsive = function (_a) {
|
|
15
15
|
var size = _a.size, _b = _a.defaultMatch, defaultMatch = _b === void 0 ? 'desktop' : _b, fullWidthScroll = _a.fullWidthScroll, restProps = __rest(_a, ["size", "defaultMatch", "fullWidthScroll"]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1oe7a */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -44,35 +44,35 @@
|
|
|
44
44
|
/* size xl */
|
|
45
45
|
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
.tabs__component_1hare {
|
|
48
48
|
position: relative;
|
|
49
49
|
display: inline-flex;
|
|
50
50
|
}
|
|
51
|
-
.
|
|
51
|
+
.tabs__fullWidthScroll_1hare {
|
|
52
52
|
margin: 0 var(--gap-m);
|
|
53
53
|
}
|
|
54
|
-
.
|
|
54
|
+
.tabs__container_1hare {
|
|
55
55
|
overflow: hidden;
|
|
56
56
|
}
|
|
57
|
-
.
|
|
57
|
+
.tabs__title_1hare {
|
|
58
58
|
white-space: nowrap;
|
|
59
59
|
}
|
|
60
60
|
/* sizes */
|
|
61
|
-
.
|
|
61
|
+
.tabs__xxs_1hare .tabs__title_1hare + .tabs__title_1hare {
|
|
62
62
|
margin-left: var(--secondary-tablist-xxs-gaps);
|
|
63
63
|
}
|
|
64
|
-
.
|
|
64
|
+
.tabs__xs_1hare .tabs__title_1hare + .tabs__title_1hare {
|
|
65
65
|
margin-left: var(--secondary-tablist-xs-gaps);
|
|
66
66
|
}
|
|
67
|
-
.
|
|
67
|
+
.tabs__s_1hare .tabs__title_1hare + .tabs__title_1hare {
|
|
68
68
|
margin-left: var(--secondary-tablist-s-gaps);
|
|
69
69
|
}
|
|
70
|
-
.
|
|
70
|
+
.tabs__m_1hare .tabs__title_1hare + .tabs__title_1hare {
|
|
71
71
|
margin-left: var(--secondary-tablist-m-gaps);
|
|
72
72
|
}
|
|
73
|
-
.
|
|
73
|
+
.tabs__l_1hare .tabs__title_1hare + .tabs__title_1hare {
|
|
74
74
|
margin-left: var(--secondary-tablist-l-gaps);
|
|
75
75
|
}
|
|
76
|
-
.
|
|
76
|
+
.tabs__xl_1hare .tabs__title_1hare + .tabs__title_1hare {
|
|
77
77
|
margin-left: var(--secondary-tablist-xl-gaps);
|
|
78
78
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1o6ti */
|
|
2
2
|
:root {
|
|
3
3
|
}:root {
|
|
4
4
|
}:root {
|
|
@@ -49,26 +49,26 @@
|
|
|
49
49
|
|
|
50
50
|
/* size xl */
|
|
51
51
|
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
52
|
-
}.
|
|
52
|
+
}.tabs__component_1hare {
|
|
53
53
|
position: relative;
|
|
54
54
|
display: inline-flex;
|
|
55
|
-
}.
|
|
55
|
+
}.tabs__fullWidthScroll_1hare {
|
|
56
56
|
margin: 0 var(--gap-m);
|
|
57
|
-
}.
|
|
57
|
+
}.tabs__container_1hare {
|
|
58
58
|
overflow: hidden;
|
|
59
|
-
}.
|
|
59
|
+
}.tabs__title_1hare {
|
|
60
60
|
white-space: nowrap;
|
|
61
|
-
}/* sizes */.
|
|
61
|
+
}/* sizes */.tabs__xxs_1hare .tabs__title_1hare + .tabs__title_1hare {
|
|
62
62
|
margin-left: var(--secondary-tablist-xxs-gaps);
|
|
63
|
-
}.
|
|
63
|
+
}.tabs__xs_1hare .tabs__title_1hare + .tabs__title_1hare {
|
|
64
64
|
margin-left: var(--secondary-tablist-xs-gaps);
|
|
65
|
-
}.
|
|
65
|
+
}.tabs__s_1hare .tabs__title_1hare + .tabs__title_1hare {
|
|
66
66
|
margin-left: var(--secondary-tablist-s-gaps);
|
|
67
|
-
}.
|
|
67
|
+
}.tabs__m_1hare .tabs__title_1hare + .tabs__title_1hare {
|
|
68
68
|
margin-left: var(--secondary-tablist-m-gaps);
|
|
69
|
-
}.
|
|
69
|
+
}.tabs__l_1hare .tabs__title_1hare + .tabs__title_1hare {
|
|
70
70
|
margin-left: var(--secondary-tablist-l-gaps);
|
|
71
|
-
}.
|
|
71
|
+
}.tabs__xl_1hare .tabs__title_1hare + .tabs__title_1hare {
|
|
72
72
|
margin-left: var(--secondary-tablist-xl-gaps);
|
|
73
73
|
}
|
|
74
74
|
:root {
|
|
@@ -885,8 +885,8 @@
|
|
|
885
885
|
/* size xl */
|
|
886
886
|
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
887
887
|
}
|
|
888
|
-
.
|
|
888
|
+
.tabs__title_180nt {
|
|
889
889
|
}
|
|
890
|
-
.
|
|
890
|
+
.tabs__mobile_180nt .tabs__title_180nt + .tabs__title_180nt {
|
|
891
891
|
margin-left: var(--secondary-tablist-mobile-gaps);
|
|
892
892
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
|
|
4
|
-
var styles = {"component":"
|
|
4
|
+
var styles = {"component":"tabs__component_16cu8","hidden":"tabs__hidden_16cu8"};
|
|
5
5
|
require('./index.css')
|
|
6
6
|
|
|
7
7
|
var Tab = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-6282fefa.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { PrimaryTabListDesktop } from '../primary-tablist/Component.desktop.js';
|
|
4
4
|
import { SecondaryTabListDesktop } from '../secondary-tablist/Component.desktop.js';
|
|
@@ -17,10 +17,10 @@ import '../../synthetic-events.js';
|
|
|
17
17
|
import '../scrollable-container/Component.js';
|
|
18
18
|
import 'compute-scroll-into-view';
|
|
19
19
|
import '../title/Component.js';
|
|
20
|
-
import '../../index.module-
|
|
20
|
+
import '../../index.module-87e28b8e.js';
|
|
21
21
|
import '../secondary-tablist/Component.js';
|
|
22
22
|
import '@alfalab/core-components-tag/esm';
|
|
23
|
-
import '../../index.module-
|
|
23
|
+
import '../../index.module-d597f34c.js';
|
|
24
24
|
|
|
25
25
|
var views = {
|
|
26
26
|
primary: PrimaryTabListDesktop,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-6282fefa.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { PrimaryTabListMobile } from '../primary-tablist/Component.mobile.js';
|
|
4
4
|
import { SecondaryTabListMobile } from '../secondary-tablist/Component.mobile.js';
|
|
@@ -17,10 +17,10 @@ import '../../synthetic-events.js';
|
|
|
17
17
|
import '../scrollable-container/Component.js';
|
|
18
18
|
import 'compute-scroll-into-view';
|
|
19
19
|
import '../title/Component.js';
|
|
20
|
-
import '../../index.module-
|
|
20
|
+
import '../../index.module-87e28b8e.js';
|
|
21
21
|
import '../secondary-tablist/Component.js';
|
|
22
22
|
import '@alfalab/core-components-tag/esm';
|
|
23
|
-
import '../../index.module-
|
|
23
|
+
import '../../index.module-d597f34c.js';
|
|
24
24
|
|
|
25
25
|
var views = {
|
|
26
26
|
primary: PrimaryTabListMobile,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-6282fefa.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { PrimaryTabListResponsive } from '../primary-tablist/Component.responsive.js';
|
|
4
4
|
import { SecondaryTabListResponsive } from '../secondary-tablist/Component.responsive.js';
|
|
@@ -18,12 +18,12 @@ import '../../synthetic-events.js';
|
|
|
18
18
|
import '../scrollable-container/Component.js';
|
|
19
19
|
import 'compute-scroll-into-view';
|
|
20
20
|
import '../title/Component.js';
|
|
21
|
-
import '../../index.module-
|
|
21
|
+
import '../../index.module-87e28b8e.js';
|
|
22
22
|
import '../primary-tablist/Component.mobile.js';
|
|
23
23
|
import '../secondary-tablist/Component.desktop.js';
|
|
24
24
|
import '../secondary-tablist/Component.js';
|
|
25
25
|
import '@alfalab/core-components-tag/esm';
|
|
26
|
-
import '../../index.module-
|
|
26
|
+
import '../../index.module-d597f34c.js';
|
|
27
27
|
import '../secondary-tablist/Component.mobile.js';
|
|
28
28
|
|
|
29
29
|
var views = {
|
package/esm/desktop.js
CHANGED
|
@@ -5,7 +5,7 @@ export { Tab } from './components/tab/Component.js';
|
|
|
5
5
|
export { TabsDesktop } from './components/tabs/Component.desktop.js';
|
|
6
6
|
export { useTabs } from './hooks/use-tabs.js';
|
|
7
7
|
export { useCollapsibleElements } from './hooks/use-collapsible-elements.js';
|
|
8
|
-
import './tslib.es6-
|
|
8
|
+
import './tslib.es6-6282fefa.js';
|
|
9
9
|
import 'react';
|
|
10
10
|
import './components/primary-tablist/Component.js';
|
|
11
11
|
import 'classnames';
|
|
@@ -16,10 +16,10 @@ import './hooks/use-tablist-titles.js';
|
|
|
16
16
|
import '@alfalab/hooks';
|
|
17
17
|
import './synthetic-events.js';
|
|
18
18
|
import './components/title/Component.js';
|
|
19
|
-
import './index.module-
|
|
19
|
+
import './index.module-87e28b8e.js';
|
|
20
20
|
import 'compute-scroll-into-view';
|
|
21
21
|
import './components/secondary-tablist/Component.js';
|
|
22
22
|
import '@alfalab/core-components-tag/esm';
|
|
23
|
-
import './index.module-
|
|
23
|
+
import './index.module-d597f34c.js';
|
|
24
24
|
import './components/tabs/Component.js';
|
|
25
25
|
import '@juggle/resize-observer';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as __spreadArray } from '../tslib.es6-
|
|
1
|
+
import { b as __spreadArray } from '../tslib.es6-6282fefa.js';
|
|
2
2
|
import { useState, useRef } from 'react';
|
|
3
3
|
import { ResizeObserver } from '@juggle/resize-observer';
|
|
4
4
|
import { useLayoutEffect_SAFE_FOR_SSR } from '@alfalab/hooks';
|
package/esm/index-0d7ca9a7.d.ts
CHANGED
|
@@ -1,27 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { ButtonProps } from "./index-ebda875c";
|
|
5
|
-
import { AdditionalMobileProps } from "./index-3e68f8db";
|
|
6
|
-
import { PickerButtonDesktopProps } from "./Component-0d7ca9a7";
|
|
7
|
-
type PickerButtonMatchMedia = "desktop" | "mobile";
|
|
8
|
-
type PickerButtonProps = PickerButtonDesktopProps & AdditionalMobileProps & {
|
|
9
|
-
/**
|
|
10
|
-
* Контрольная точка, с нее начинается desktop версия
|
|
11
|
-
* @default 1024
|
|
12
|
-
*/
|
|
13
|
-
breakpoint?: number;
|
|
14
|
-
};
|
|
15
|
-
declare const PickerButton: React.ForwardRefExoticComponent<Omit<import("./index-3e68f8db").BaseSelectProps, "placeholder" | "onFocus" | "size" | "selected" | "multiple" | "hint" | "options" | "autocomplete" | "allowUnselect" | "closeOnSelect" | "fieldProps" | "Arrow" | "Field"> & Pick<ButtonProps, "rightAddons" | "leftAddons" | "view" | "loading"> & {
|
|
16
|
-
options: ((import("./index-3e68f8db").OptionShape | import("./index-3e68f8db").GroupShape) & {
|
|
17
|
-
icon?: React.FC<React.SVGProps<SVGSVGElement>> | undefined;
|
|
18
|
-
})[];
|
|
19
|
-
size?: import("./Component-0d7ca9a7").PickerButtonSize | undefined;
|
|
20
|
-
variant?: import("./Component-0d7ca9a7").PickerButtonVariant | undefined;
|
|
21
|
-
} & AdditionalMobileProps & {
|
|
22
|
-
breakpoint?: number | undefined;
|
|
23
|
-
} & React.RefAttributes<HTMLInputElement>>;
|
|
24
|
-
type PickerButtonMobileProps = Omit<PickerButtonDesktopProps, "OptionsList" | "Checkmark" | "onScroll"> & AdditionalMobileProps;
|
|
25
|
-
declare const PickerButtonMobile: React.ForwardRefExoticComponent<Omit<PickerButtonDesktopProps, "onScroll" | "OptionsList" | "Checkmark"> & AdditionalMobileProps & React.RefAttributes<HTMLInputElement>>;
|
|
26
|
-
export { PickerButtonMatchMedia, PickerButtonProps, PickerButton, PickerButtonMobileProps, PickerButtonMobile };
|
|
27
|
-
export type { PickerButtonDesktopProps, PickerButtonSize, PickerButtonVariant } from "./Component-0d7ca9a7";
|
|
1
|
+
export * from "./Component.responsive-0d7ca9a7";
|
|
2
|
+
export { PickerButtonResponsive as PickerButton, PickerButtonResponsiveProps as PickerButtonProps };
|
|
3
|
+
export { PickerButtonDesktopProps, PickerButtonSize, PickerButtonVariant } from "./Component-0d7ca9a7";
|
package/esm/index.js
CHANGED
|
@@ -4,7 +4,7 @@ export { SecondaryTabListResponsive } from './components/secondary-tablist/Compo
|
|
|
4
4
|
export { Tab } from './components/tab/Component.js';
|
|
5
5
|
export { TabsResponsive } from './components/tabs/Component.responsive.js';
|
|
6
6
|
export { useTabs } from './hooks/use-tabs.js';
|
|
7
|
-
import './tslib.es6-
|
|
7
|
+
import './tslib.es6-6282fefa.js';
|
|
8
8
|
import 'react';
|
|
9
9
|
import '@alfalab/hooks';
|
|
10
10
|
import './components/primary-tablist/Component.desktop.js';
|
|
@@ -19,11 +19,11 @@ import '@juggle/resize-observer';
|
|
|
19
19
|
import './synthetic-events.js';
|
|
20
20
|
import './components/title/Component.js';
|
|
21
21
|
import 'compute-scroll-into-view';
|
|
22
|
-
import './index.module-
|
|
22
|
+
import './index.module-87e28b8e.js';
|
|
23
23
|
import './components/primary-tablist/Component.mobile.js';
|
|
24
24
|
import './components/secondary-tablist/Component.desktop.js';
|
|
25
25
|
import './components/secondary-tablist/Component.js';
|
|
26
26
|
import '@alfalab/core-components-tag/esm';
|
|
27
|
-
import './index.module-
|
|
27
|
+
import './index.module-d597f34c.js';
|
|
28
28
|
import './components/secondary-tablist/Component.mobile.js';
|
|
29
29
|
import './components/tabs/Component.js';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var commonStyles = {"component":"tabs__component_8ensr","fullWidthScroll":"tabs__fullWidthScroll_8ensr","container":"tabs__container_8ensr","title":"tabs__title_8ensr","disabled":"tabs__disabled_8ensr","focused":"tabs__focused_8ensr","collapsed":"tabs__collapsed_8ensr","selected":"tabs__selected_8ensr","line":"tabs__line_8ensr","s":"tabs__s_8ensr","xs":"tabs__xs_8ensr","xxs":"tabs__xxs_8ensr","pickerWrapper":"tabs__pickerWrapper_8ensr","option":"tabs__option_8ensr","m":"tabs__m_8ensr","l":"tabs__l_8ensr","xl":"tabs__xl_8ensr","rightAddons":"tabs__rightAddons_8ensr"};
|
|
2
|
+
require('./components/primary-tablist/index.css')
|
|
3
|
+
|
|
4
|
+
export { commonStyles as c };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var commonStyles = {"component":"tabs__component_1hare","fullWidthScroll":"tabs__fullWidthScroll_1hare","container":"tabs__container_1hare","title":"tabs__title_1hare","xxs":"tabs__xxs_1hare","xs":"tabs__xs_1hare","s":"tabs__s_1hare","m":"tabs__m_1hare","l":"tabs__l_1hare","xl":"tabs__xl_1hare"};
|
|
2
|
+
require('./components/secondary-tablist/index.css')
|
|
3
|
+
|
|
4
|
+
export { commonStyles as c };
|
package/esm/mobile.js
CHANGED
|
@@ -4,7 +4,7 @@ export { SecondaryTabListMobile } from './components/secondary-tablist/Component
|
|
|
4
4
|
export { Tab } from './components/tab/Component.js';
|
|
5
5
|
export { TabsMobile } from './components/tabs/Component.mobile.js';
|
|
6
6
|
export { useTabs } from './hooks/use-tabs.js';
|
|
7
|
-
import './tslib.es6-
|
|
7
|
+
import './tslib.es6-6282fefa.js';
|
|
8
8
|
import 'react';
|
|
9
9
|
import 'classnames';
|
|
10
10
|
import './components/primary-tablist/Component.js';
|
|
@@ -18,8 +18,8 @@ import '@juggle/resize-observer';
|
|
|
18
18
|
import './synthetic-events.js';
|
|
19
19
|
import './components/title/Component.js';
|
|
20
20
|
import 'compute-scroll-into-view';
|
|
21
|
-
import './index.module-
|
|
21
|
+
import './index.module-87e28b8e.js';
|
|
22
22
|
import './components/secondary-tablist/Component.js';
|
|
23
23
|
import '@alfalab/core-components-tag/esm';
|
|
24
|
-
import './index.module-
|
|
24
|
+
import './index.module-d597f34c.js';
|
|
25
25
|
import './components/tabs/Component.js';
|
package/esm/responsive.js
CHANGED
|
@@ -5,7 +5,7 @@ export { Tab } from './components/tab/Component.js';
|
|
|
5
5
|
export { TabsResponsive } from './components/tabs/Component.responsive.js';
|
|
6
6
|
export { useTabs } from './hooks/use-tabs.js';
|
|
7
7
|
export { useCollapsibleElements } from './hooks/use-collapsible-elements.js';
|
|
8
|
-
import './tslib.es6-
|
|
8
|
+
import './tslib.es6-6282fefa.js';
|
|
9
9
|
import 'react';
|
|
10
10
|
import '@alfalab/hooks';
|
|
11
11
|
import './components/primary-tablist/Component.desktop.js';
|
|
@@ -19,11 +19,11 @@ import '@juggle/resize-observer';
|
|
|
19
19
|
import './synthetic-events.js';
|
|
20
20
|
import './components/title/Component.js';
|
|
21
21
|
import 'compute-scroll-into-view';
|
|
22
|
-
import './index.module-
|
|
22
|
+
import './index.module-87e28b8e.js';
|
|
23
23
|
import './components/primary-tablist/Component.mobile.js';
|
|
24
24
|
import './components/secondary-tablist/Component.desktop.js';
|
|
25
25
|
import './components/secondary-tablist/Component.js';
|
|
26
26
|
import '@alfalab/core-components-tag/esm';
|
|
27
|
-
import './index.module-
|
|
27
|
+
import './index.module-d597f34c.js';
|
|
28
28
|
import './components/secondary-tablist/Component.mobile.js';
|
|
29
29
|
import './components/tabs/Component.js';
|
package/esm/synthetic-events.js
CHANGED
|
File without changes
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('../tslib.es6-
|
|
3
|
+
var tslib_es6 = require('../tslib.es6-97b09e77.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var hooks = require('@alfalab/hooks');
|
|
6
6
|
var hooks_useCollapsibleElements = require('./use-collapsible-elements.js');
|
package/index-0d7ca9a7.d.ts
CHANGED
|
@@ -1,27 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { ButtonProps } from "./index-ebda875c";
|
|
5
|
-
import { AdditionalMobileProps } from "./index-3e68f8db";
|
|
6
|
-
import { PickerButtonDesktopProps } from "./Component-0d7ca9a7";
|
|
7
|
-
type PickerButtonMatchMedia = "desktop" | "mobile";
|
|
8
|
-
type PickerButtonProps = PickerButtonDesktopProps & AdditionalMobileProps & {
|
|
9
|
-
/**
|
|
10
|
-
* Контрольная точка, с нее начинается desktop версия
|
|
11
|
-
* @default 1024
|
|
12
|
-
*/
|
|
13
|
-
breakpoint?: number;
|
|
14
|
-
};
|
|
15
|
-
declare const PickerButton: React.ForwardRefExoticComponent<Omit<import("./index-3e68f8db").BaseSelectProps, "placeholder" | "onFocus" | "size" | "selected" | "multiple" | "hint" | "options" | "autocomplete" | "allowUnselect" | "closeOnSelect" | "fieldProps" | "Arrow" | "Field"> & Pick<ButtonProps, "rightAddons" | "leftAddons" | "view" | "loading"> & {
|
|
16
|
-
options: ((import("./index-3e68f8db").OptionShape | import("./index-3e68f8db").GroupShape) & {
|
|
17
|
-
icon?: React.FC<React.SVGProps<SVGSVGElement>> | undefined;
|
|
18
|
-
})[];
|
|
19
|
-
size?: import("./Component-0d7ca9a7").PickerButtonSize | undefined;
|
|
20
|
-
variant?: import("./Component-0d7ca9a7").PickerButtonVariant | undefined;
|
|
21
|
-
} & AdditionalMobileProps & {
|
|
22
|
-
breakpoint?: number | undefined;
|
|
23
|
-
} & React.RefAttributes<HTMLInputElement>>;
|
|
24
|
-
type PickerButtonMobileProps = Omit<PickerButtonDesktopProps, "OptionsList" | "Checkmark" | "onScroll"> & AdditionalMobileProps;
|
|
25
|
-
declare const PickerButtonMobile: React.ForwardRefExoticComponent<Omit<PickerButtonDesktopProps, "onScroll" | "OptionsList" | "Checkmark"> & AdditionalMobileProps & React.RefAttributes<HTMLInputElement>>;
|
|
26
|
-
export { PickerButtonMatchMedia, PickerButtonProps, PickerButton, PickerButtonMobileProps, PickerButtonMobile };
|
|
27
|
-
export type { PickerButtonDesktopProps, PickerButtonSize, PickerButtonVariant } from "./Component-0d7ca9a7";
|
|
1
|
+
export * from "./Component.responsive-0d7ca9a7";
|
|
2
|
+
export { PickerButtonResponsive as PickerButton, PickerButtonResponsiveProps as PickerButtonProps };
|
|
3
|
+
export { PickerButtonDesktopProps, PickerButtonSize, PickerButtonVariant } from "./Component-0d7ca9a7";
|
package/index.js
CHANGED
|
@@ -6,7 +6,7 @@ var components_secondaryTablist_Component_responsive = require('./components/sec
|
|
|
6
6
|
var components_tab_Component = require('./components/tab/Component.js');
|
|
7
7
|
var components_tabs_Component_responsive = require('./components/tabs/Component.responsive.js');
|
|
8
8
|
var hooks_useTabs = require('./hooks/use-tabs.js');
|
|
9
|
-
require('./tslib.es6-
|
|
9
|
+
require('./tslib.es6-97b09e77.js');
|
|
10
10
|
require('react');
|
|
11
11
|
require('@alfalab/hooks');
|
|
12
12
|
require('./components/primary-tablist/Component.desktop.js');
|
|
@@ -21,12 +21,12 @@ require('@juggle/resize-observer');
|
|
|
21
21
|
require('./synthetic-events.js');
|
|
22
22
|
require('./components/title/Component.js');
|
|
23
23
|
require('compute-scroll-into-view');
|
|
24
|
-
require('./index.module-
|
|
24
|
+
require('./index.module-d82ed5a5.js');
|
|
25
25
|
require('./components/primary-tablist/Component.mobile.js');
|
|
26
26
|
require('./components/secondary-tablist/Component.desktop.js');
|
|
27
27
|
require('./components/secondary-tablist/Component.js');
|
|
28
28
|
require('@alfalab/core-components-tag');
|
|
29
|
-
require('./index.module-
|
|
29
|
+
require('./index.module-383903ec.js');
|
|
30
30
|
require('./components/secondary-tablist/Component.mobile.js');
|
|
31
31
|
require('./components/tabs/Component.js');
|
|
32
32
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var commonStyles = {"component":"tabs__component_1hare","fullWidthScroll":"tabs__fullWidthScroll_1hare","container":"tabs__container_1hare","title":"tabs__title_1hare","xxs":"tabs__xxs_1hare","xs":"tabs__xs_1hare","s":"tabs__s_1hare","m":"tabs__m_1hare","l":"tabs__l_1hare","xl":"tabs__xl_1hare"};
|
|
4
|
+
require('./components/secondary-tablist/index.css')
|
|
5
|
+
|
|
6
|
+
exports.commonStyles = commonStyles;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var commonStyles = {"component":"tabs__component_8ensr","fullWidthScroll":"tabs__fullWidthScroll_8ensr","container":"tabs__container_8ensr","title":"tabs__title_8ensr","disabled":"tabs__disabled_8ensr","focused":"tabs__focused_8ensr","collapsed":"tabs__collapsed_8ensr","selected":"tabs__selected_8ensr","line":"tabs__line_8ensr","s":"tabs__s_8ensr","xs":"tabs__xs_8ensr","xxs":"tabs__xxs_8ensr","pickerWrapper":"tabs__pickerWrapper_8ensr","option":"tabs__option_8ensr","m":"tabs__m_8ensr","l":"tabs__l_8ensr","xl":"tabs__xl_8ensr","rightAddons":"tabs__rightAddons_8ensr"};
|
|
4
|
+
require('./components/primary-tablist/index.css')
|
|
5
|
+
|
|
6
|
+
exports.commonStyles = commonStyles;
|
package/mobile.js
CHANGED
|
@@ -6,7 +6,7 @@ var components_secondaryTablist_Component_mobile = require('./components/seconda
|
|
|
6
6
|
var components_tab_Component = require('./components/tab/Component.js');
|
|
7
7
|
var components_tabs_Component_mobile = require('./components/tabs/Component.mobile.js');
|
|
8
8
|
var hooks_useTabs = require('./hooks/use-tabs.js');
|
|
9
|
-
require('./tslib.es6-
|
|
9
|
+
require('./tslib.es6-97b09e77.js');
|
|
10
10
|
require('react');
|
|
11
11
|
require('classnames');
|
|
12
12
|
require('./components/primary-tablist/Component.js');
|
|
@@ -20,10 +20,10 @@ require('@juggle/resize-observer');
|
|
|
20
20
|
require('./synthetic-events.js');
|
|
21
21
|
require('./components/title/Component.js');
|
|
22
22
|
require('compute-scroll-into-view');
|
|
23
|
-
require('./index.module-
|
|
23
|
+
require('./index.module-d82ed5a5.js');
|
|
24
24
|
require('./components/secondary-tablist/Component.js');
|
|
25
25
|
require('@alfalab/core-components-tag');
|
|
26
|
-
require('./index.module-
|
|
26
|
+
require('./index.module-383903ec.js');
|
|
27
27
|
require('./components/tabs/Component.js');
|
|
28
28
|
|
|
29
29
|
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { AdditionalMobileProps } from "./index-3e68f8db";
|
|
4
|
+
import { PickerButtonDesktopProps } from "./Component-0d7ca9a7";
|
|
5
|
+
import { ButtonProps } from "./index-ebda875c";
|
|
6
|
+
type PickerButtonMobileProps = Omit<PickerButtonDesktopProps, "OptionsList" | "Checkmark" | "onScroll"> & AdditionalMobileProps;
|
|
7
|
+
declare const PickerButtonMobile: React.ForwardRefExoticComponent<Omit<PickerButtonDesktopProps, "onScroll" | "OptionsList" | "Checkmark"> & AdditionalMobileProps & React.RefAttributes<HTMLInputElement>>;
|
|
8
|
+
type PickerButtonMatchMedia = 'desktop' | 'mobile';
|
|
9
|
+
type PickerButtonResponsiveProps = PickerButtonDesktopProps & AdditionalMobileProps & {
|
|
10
|
+
/**
|
|
11
|
+
* Контрольная точка, с нее начинается desktop версия
|
|
12
|
+
* @default 1024
|
|
13
|
+
*/
|
|
14
|
+
breakpoint?: number;
|
|
15
|
+
};
|
|
16
|
+
declare const PickerButtonResponsive: React.ForwardRefExoticComponent<Omit<import("./index-3e68f8db").BaseSelectProps, "placeholder" | "onFocus" | "size" | "selected" | "multiple" | "hint" | "options" | "autocomplete" | "allowUnselect" | "closeOnSelect" | "fieldProps" | "Arrow" | "Field"> & Pick<ButtonProps, "rightAddons" | "leftAddons" | "view" | "loading"> & {
|
|
17
|
+
options: ((import("./index-3e68f8db").OptionShape | import("./index-3e68f8db").GroupShape) & {
|
|
18
|
+
icon?: React.FC<React.SVGProps<SVGSVGElement>> | undefined;
|
|
19
|
+
})[];
|
|
20
|
+
size?: import("./Component-0d7ca9a7").PickerButtonSize | undefined;
|
|
21
|
+
variant?: import("./Component-0d7ca9a7").PickerButtonVariant | undefined;
|
|
22
|
+
} & AdditionalMobileProps & {
|
|
23
|
+
/**
|
|
24
|
+
* Контрольная точка, с нее начинается desktop версия
|
|
25
|
+
* @default 1024
|
|
26
|
+
*/
|
|
27
|
+
breakpoint?: number | undefined;
|
|
28
|
+
} & React.RefAttributes<HTMLInputElement>>;
|
|
29
|
+
export { PickerButtonMobileProps, PickerButtonMobile, PickerButtonMatchMedia, PickerButtonResponsiveProps, PickerButtonResponsive };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PrimaryTabList } from './Component.js';
|
|
3
|
-
import { c as commonStyles } from '../../index.module-
|
|
3
|
+
import { c as commonStyles } from '../../index.module-89b0354c.js';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '@alfalab/core-components-badge/modern';
|
|
6
6
|
import '@alfalab/core-components-keyboard-focusable/modern';
|