@alfalab/core-components-tabs 6.2.5 → 6.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/dist/components/primary-tablist/Component.desktop.js +2 -2
- package/dist/components/primary-tablist/Component.js +1 -1
- package/dist/components/primary-tablist/Component.mobile.js +3 -3
- package/dist/components/primary-tablist/Component.responsive.js +2 -2
- package/dist/components/primary-tablist/index.css +19 -19
- package/dist/components/primary-tablist/mobile.css +221 -96
- package/dist/components/scrollable-container/Component.js +1 -1
- package/dist/components/scrollable-container/index.css +4 -4
- package/dist/components/secondary-tablist/Component.desktop.js +2 -2
- package/dist/components/secondary-tablist/Component.js +1 -1
- package/dist/components/secondary-tablist/Component.mobile.js +3 -3
- package/dist/components/secondary-tablist/Component.responsive.js +2 -2
- package/dist/components/secondary-tablist/index.css +10 -10
- package/dist/components/secondary-tablist/mobile.css +204 -80
- package/dist/components/tab/Component.js +1 -1
- package/dist/components/tab/index.css +3 -3
- package/dist/components/tabs/Component.desktop.js +3 -3
- package/dist/components/tabs/Component.mobile.js +3 -3
- package/dist/components/tabs/Component.responsive.js +3 -3
- package/dist/cssm/components/primary-tablist/mobile.module.css +9 -8
- package/dist/cssm/components/secondary-tablist/mobile.module.css +2 -2
- package/dist/desktop.js +3 -3
- package/dist/esm/components/primary-tablist/Component.desktop.js +2 -2
- package/dist/esm/components/primary-tablist/Component.js +1 -1
- package/dist/esm/components/primary-tablist/Component.mobile.js +3 -3
- package/dist/esm/components/primary-tablist/Component.responsive.js +2 -2
- package/dist/esm/components/primary-tablist/index.css +19 -19
- package/dist/esm/components/primary-tablist/mobile.css +221 -96
- package/dist/esm/components/scrollable-container/Component.js +1 -1
- package/dist/esm/components/scrollable-container/index.css +4 -4
- package/dist/esm/components/secondary-tablist/Component.desktop.js +2 -2
- package/dist/esm/components/secondary-tablist/Component.js +1 -1
- package/dist/esm/components/secondary-tablist/Component.mobile.js +3 -3
- package/dist/esm/components/secondary-tablist/Component.responsive.js +2 -2
- package/dist/esm/components/secondary-tablist/index.css +10 -10
- package/dist/esm/components/secondary-tablist/mobile.css +204 -80
- package/dist/esm/components/tab/Component.js +1 -1
- package/dist/esm/components/tab/index.css +3 -3
- package/dist/esm/components/tabs/Component.desktop.js +3 -3
- package/dist/esm/components/tabs/Component.mobile.js +3 -3
- package/dist/esm/components/tabs/Component.responsive.js +3 -3
- package/dist/esm/desktop.js +3 -3
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.module-4687a3b6.js +4 -0
- package/dist/esm/index.module-4cd5c08a.js +4 -0
- package/dist/esm/mobile.js +3 -3
- package/dist/esm/responsive.js +3 -3
- package/dist/esm/{tslib.es6-99e48a82.d.ts → tslib.es6-8a4b035c.d.ts} +0 -0
- package/dist/esm/{tslib.es6-99e48a82.js → tslib.es6-8a4b035c.js} +0 -0
- package/dist/index.js +3 -3
- package/dist/index.module-a61e7b44.js +6 -0
- package/dist/index.module-b9c824d3.js +6 -0
- package/dist/mobile.js +3 -3
- package/dist/modern/components/primary-tablist/Component.desktop.js +1 -1
- package/dist/modern/components/primary-tablist/Component.mobile.js +2 -2
- package/dist/modern/components/primary-tablist/Component.responsive.js +1 -1
- package/dist/modern/components/primary-tablist/index.css +19 -19
- package/dist/modern/components/primary-tablist/mobile.css +221 -96
- package/dist/modern/components/scrollable-container/Component.js +1 -1
- package/dist/modern/components/scrollable-container/index.css +4 -4
- package/dist/modern/components/secondary-tablist/Component.desktop.js +1 -1
- package/dist/modern/components/secondary-tablist/Component.mobile.js +2 -2
- package/dist/modern/components/secondary-tablist/Component.responsive.js +1 -1
- package/dist/modern/components/secondary-tablist/index.css +10 -10
- package/dist/modern/components/secondary-tablist/mobile.css +204 -80
- package/dist/modern/components/tab/Component.js +1 -1
- package/dist/modern/components/tab/index.css +3 -3
- package/dist/modern/components/tabs/Component.desktop.js +2 -2
- package/dist/modern/components/tabs/Component.mobile.js +2 -2
- package/dist/modern/components/tabs/Component.responsive.js +2 -2
- package/dist/modern/desktop.js +2 -2
- package/dist/modern/index.js +2 -2
- package/dist/modern/index.module-4687a3b6.js +4 -0
- package/dist/modern/index.module-4cd5c08a.js +4 -0
- package/dist/modern/mobile.js +2 -2
- package/dist/modern/responsive.js +2 -2
- package/dist/responsive.js +3 -3
- package/dist/{tslib.es6-28db86de.d.ts → tslib.es6-394cebb0.d.ts} +0 -0
- package/dist/{tslib.es6-28db86de.js → tslib.es6-394cebb0.js} +0 -0
- package/package.json +7 -7
- package/dist/esm/index.module-4f872dce.js +0 -4
- package/dist/esm/index.module-cb2d5475.js +0 -4
- package/dist/index.module-46c31e55.js +0 -6
- package/dist/index.module-676d379f.js +0 -6
- package/dist/modern/index.module-4f872dce.js +0 -4
- package/dist/modern/index.module-cb2d5475.js +0 -4
package/dist/desktop.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
require('./tslib.es6-
|
|
5
|
+
require('./tslib.es6-394cebb0.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('@alfalab/core-components-keyboard-focusable');
|
|
8
8
|
require('classnames');
|
|
@@ -10,11 +10,11 @@ require('compute-scroll-into-view');
|
|
|
10
10
|
var components_scrollableContainer_Component = require('./components/scrollable-container/Component.js');
|
|
11
11
|
var useTabs = require('./useTabs.js');
|
|
12
12
|
require('./components/primary-tablist/Component.js');
|
|
13
|
-
require('./index.module-
|
|
13
|
+
require('./index.module-b9c824d3.js');
|
|
14
14
|
var components_primaryTablist_Component_desktop = require('./components/primary-tablist/Component.desktop.js');
|
|
15
15
|
require('@alfalab/core-components-tag');
|
|
16
16
|
require('./components/secondary-tablist/Component.js');
|
|
17
|
-
require('./index.module-
|
|
17
|
+
require('./index.module-a61e7b44.js');
|
|
18
18
|
var components_secondaryTablist_Component_desktop = require('./components/secondary-tablist/Component.desktop.js');
|
|
19
19
|
var components_tab_Component = require('./components/tab/Component.js');
|
|
20
20
|
require('./components/tabs/Component.js');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-8a4b035c.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import '@alfalab/core-components-keyboard-focusable/dist/esm';
|
|
4
4
|
import 'classnames';
|
|
@@ -6,7 +6,7 @@ import 'compute-scroll-into-view';
|
|
|
6
6
|
import '../scrollable-container/Component.js';
|
|
7
7
|
import '../../useTabs.js';
|
|
8
8
|
import { PrimaryTabList } from './Component.js';
|
|
9
|
-
import { c as commonStyles } from '../../index.module-
|
|
9
|
+
import { c as commonStyles } from '../../index.module-4cd5c08a.js';
|
|
10
10
|
|
|
11
11
|
var PrimaryTabListDesktop = function (_a) {
|
|
12
12
|
var _b = _a.size, size = _b === void 0 ? 'm' : _b, restProps = __rest(_a, ["size"]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { a as __assign } from '../../tslib.es6-8a4b035c.js';
|
|
2
2
|
import React, { useRef, useEffect } from 'react';
|
|
3
3
|
import { KeyboardFocusable } from '@alfalab/core-components-keyboard-focusable/dist/esm';
|
|
4
4
|
import cn from 'classnames';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __assign, _ as __rest } from '../../tslib.es6-
|
|
1
|
+
import { a as __assign, _ as __rest } from '../../tslib.es6-8a4b035c.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import '@alfalab/core-components-keyboard-focusable/dist/esm';
|
|
4
4
|
import cn from 'classnames';
|
|
@@ -6,9 +6,9 @@ import 'compute-scroll-into-view';
|
|
|
6
6
|
import '../scrollable-container/Component.js';
|
|
7
7
|
import '../../useTabs.js';
|
|
8
8
|
import { PrimaryTabList } from './Component.js';
|
|
9
|
-
import { c as commonStyles } from '../../index.module-
|
|
9
|
+
import { c as commonStyles } from '../../index.module-4cd5c08a.js';
|
|
10
10
|
|
|
11
|
-
var mobileStyles = {"title":"
|
|
11
|
+
var mobileStyles = {"title":"tabs__title_1o8np tabs__title_1c7rr","mobile":"tabs__mobile_1o8np"};
|
|
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-8a4b035c.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import '@alfalab/core-components-keyboard-focusable/dist/esm';
|
|
4
4
|
import 'classnames';
|
|
@@ -6,7 +6,7 @@ import 'compute-scroll-into-view';
|
|
|
6
6
|
import '../scrollable-container/Component.js';
|
|
7
7
|
import '../../useTabs.js';
|
|
8
8
|
import './Component.js';
|
|
9
|
-
import '../../index.module-
|
|
9
|
+
import '../../index.module-4cd5c08a.js';
|
|
10
10
|
import { PrimaryTabListDesktop } from './Component.desktop.js';
|
|
11
11
|
import { useMedia } from '@alfalab/hooks';
|
|
12
12
|
import { PrimaryTabListMobile } from './Component.mobile.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1w086 */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-border-accent: #ef3124;
|
|
4
4
|
--color-light-border-link: #007aff;
|
|
@@ -82,10 +82,10 @@
|
|
|
82
82
|
|
|
83
83
|
/* size xl */
|
|
84
84
|
}
|
|
85
|
-
.
|
|
85
|
+
.tabs__component_1c7rr {
|
|
86
86
|
position: relative
|
|
87
87
|
}
|
|
88
|
-
.
|
|
88
|
+
.tabs__component_1c7rr:before {
|
|
89
89
|
content: '';
|
|
90
90
|
display: block;
|
|
91
91
|
position: absolute;
|
|
@@ -94,11 +94,11 @@
|
|
|
94
94
|
width: 100%;
|
|
95
95
|
background-color: var(--primary-tablist-bottom-border-color);
|
|
96
96
|
}
|
|
97
|
-
.
|
|
97
|
+
.tabs__container_1c7rr {
|
|
98
98
|
position: relative;
|
|
99
99
|
display: flex;
|
|
100
100
|
}
|
|
101
|
-
.
|
|
101
|
+
.tabs__title_1c7rr {
|
|
102
102
|
display: flex;
|
|
103
103
|
align-items: center;
|
|
104
104
|
height: 100%;
|
|
@@ -116,22 +116,22 @@
|
|
|
116
116
|
cursor: pointer;
|
|
117
117
|
outline: none
|
|
118
118
|
}
|
|
119
|
-
.
|
|
119
|
+
.tabs__title_1c7rr:not(.tabs__disabled_1c7rr):hover {
|
|
120
120
|
color: var(--primary-tablist-hover-color);
|
|
121
121
|
}
|
|
122
|
-
.
|
|
122
|
+
.tabs__focused_1c7rr {
|
|
123
123
|
outline: 2px solid var(--focus-color);
|
|
124
124
|
outline-offset: 2px;
|
|
125
125
|
}
|
|
126
|
-
.
|
|
126
|
+
.tabs__selected_1c7rr {
|
|
127
127
|
cursor: default;
|
|
128
128
|
color: var(--primary-tablist-selected-color);
|
|
129
129
|
}
|
|
130
|
-
.
|
|
130
|
+
.tabs__disabled_1c7rr {
|
|
131
131
|
cursor: var(--disabled-cursor);
|
|
132
132
|
color: var(--primary-tablist-disabled-color);
|
|
133
133
|
}
|
|
134
|
-
.
|
|
134
|
+
.tabs__line_1c7rr {
|
|
135
135
|
position: absolute;
|
|
136
136
|
height: 3px;
|
|
137
137
|
bottom: 0;
|
|
@@ -140,46 +140,46 @@
|
|
|
140
140
|
transition: transform 0.2s ease, width 0.2s ease;
|
|
141
141
|
}
|
|
142
142
|
/* sizes */
|
|
143
|
-
.
|
|
143
|
+
.tabs__s_1c7rr .tabs__title_1c7rr, .tabs__xs_1c7rr .tabs__title_1c7rr, .tabs__xxs_1c7rr .tabs__title_1c7rr {
|
|
144
144
|
padding: var(--primary-tablist-s-padding);
|
|
145
145
|
font-size: var(--primary-tablist-s-font-size);
|
|
146
146
|
font-weight: var(--primary-tablist-s-font-weight);
|
|
147
147
|
font-family: var(--primary-tablist-s-font-family);
|
|
148
148
|
line-height: 24px;
|
|
149
149
|
}
|
|
150
|
-
.
|
|
150
|
+
.tabs__s_1c7rr .tabs__title_1c7rr + .tabs__title_1c7rr, .tabs__xs_1c7rr .tabs__title_1c7rr + .tabs__title_1c7rr, .tabs__xxs_1c7rr .tabs__title_1c7rr + .tabs__title_1c7rr {
|
|
151
151
|
margin-left: var(--primary-tablist-s-gaps);
|
|
152
152
|
}
|
|
153
|
-
.
|
|
153
|
+
.tabs__m_1c7rr .tabs__title_1c7rr {
|
|
154
154
|
padding: var(--primary-tablist-m-padding);
|
|
155
155
|
font-size: var(--primary-tablist-m-font-size);
|
|
156
156
|
font-weight: var(--primary-tablist-m-font-weight);
|
|
157
157
|
font-family: var(--primary-tablist-m-font-family);
|
|
158
158
|
line-height: 24px;
|
|
159
159
|
}
|
|
160
|
-
.
|
|
160
|
+
.tabs__m_1c7rr .tabs__title_1c7rr + .tabs__title_1c7rr {
|
|
161
161
|
margin-left: var(--primary-tablist-m-gaps);
|
|
162
162
|
}
|
|
163
|
-
.
|
|
163
|
+
.tabs__l_1c7rr .tabs__title_1c7rr {
|
|
164
164
|
padding: var(--primary-tablist-l-padding);
|
|
165
165
|
font-size: var(--primary-tablist-l-font-size);
|
|
166
166
|
font-weight: var(--primary-tablist-l-font-weight);
|
|
167
167
|
font-family: var(--primary-tablist-l-font-family);
|
|
168
168
|
line-height: 24px;
|
|
169
169
|
}
|
|
170
|
-
.
|
|
170
|
+
.tabs__l_1c7rr .tabs__title_1c7rr + .tabs__title_1c7rr {
|
|
171
171
|
margin-left: var(--primary-tablist-l-gaps);
|
|
172
172
|
}
|
|
173
|
-
.
|
|
173
|
+
.tabs__xl_1c7rr .tabs__title_1c7rr {
|
|
174
174
|
padding: var(--primary-tablist-xl-padding);
|
|
175
175
|
font-size: var(--primary-tablist-xl-font-size);
|
|
176
176
|
font-weight: var(--primary-tablist-xl-font-weight);
|
|
177
177
|
font-family: var(--primary-tablist-xl-font-family);
|
|
178
178
|
line-height: 32px;
|
|
179
179
|
}
|
|
180
|
-
.
|
|
180
|
+
.tabs__xl_1c7rr .tabs__title_1c7rr + .tabs__title_1c7rr {
|
|
181
181
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
182
182
|
}
|
|
183
|
-
.
|
|
183
|
+
.tabs__rightAddons_1c7rr {
|
|
184
184
|
margin-left: var(--gap-xs);
|
|
185
185
|
}
|