@alfalab/core-components-tabs 7.7.0 → 7.7.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.
- package/components/primary-tablist/Component.desktop.js +1 -1
- package/components/primary-tablist/Component.mobile.js +2 -2
- package/components/primary-tablist/Component.responsive.js +1 -1
- package/components/primary-tablist/index.css +29 -29
- package/components/primary-tablist/mobile.css +32 -32
- package/components/scrollable-container/Component.js +1 -1
- package/components/scrollable-container/index.css +5 -5
- package/components/secondary-tablist/Component.desktop.js +1 -1
- package/components/secondary-tablist/Component.mobile.js +2 -2
- package/components/secondary-tablist/Component.responsive.js +1 -1
- package/components/secondary-tablist/index.css +11 -11
- package/components/secondary-tablist/mobile.css +13 -13
- package/components/tab/Component.js +1 -1
- package/components/tab/index.css +3 -3
- package/components/tabs/Component.desktop.js +2 -2
- package/components/tabs/Component.mobile.js +2 -2
- package/components/tabs/Component.responsive.js +2 -2
- package/desktop.js +2 -2
- package/esm/components/primary-tablist/Component.desktop.js +1 -1
- package/esm/components/primary-tablist/Component.mobile.js +2 -2
- package/esm/components/primary-tablist/Component.responsive.js +1 -1
- 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 +1 -1
- package/esm/components/secondary-tablist/Component.mobile.js +2 -2
- package/esm/components/secondary-tablist/Component.responsive.js +1 -1
- 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 +2 -2
- package/esm/components/tabs/Component.mobile.js +2 -2
- package/esm/components/tabs/Component.responsive.js +2 -2
- package/esm/desktop.js +2 -2
- package/esm/index.js +2 -2
- package/esm/index.module-09cc006f.js +4 -0
- package/esm/index.module-a8ec81ea.js +4 -0
- package/esm/mobile.js +2 -2
- package/esm/responsive.js +2 -2
- package/index.js +2 -2
- package/index.module-489cc8bc.js +6 -0
- package/index.module-728b55ca.js +6 -0
- package/mobile.js +2 -2
- 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.js +2 -2
- package/modern/index.module-75cf2354.js +4 -0
- package/modern/index.module-77d8ef59.js +4 -0
- package/modern/mobile.js +2 -2
- package/modern/responsive.js +2 -2
- package/package.json +5 -8
- package/responsive.js +2 -2
- package/esm/index.module-4cd1e213.js +0 -4
- package/esm/index.module-624eec4d.js +0 -4
- package/index.module-276f636f.js +0 -6
- package/index.module-c9ae6c01.js +0 -6
- package/modern/index.module-06f630bb.js +0 -4
- package/modern/index.module-8f1e7aaa.js +0 -4
- package/send-stats.js +0 -82
|
@@ -16,10 +16,10 @@ import '../../synthetic-events.js';
|
|
|
16
16
|
import '../scrollable-container/Component.js';
|
|
17
17
|
import 'compute-scroll-into-view';
|
|
18
18
|
import '../title/Component.js';
|
|
19
|
-
import '../../index.module-
|
|
19
|
+
import '../../index.module-75cf2354.js';
|
|
20
20
|
import '../secondary-tablist/Component.js';
|
|
21
21
|
import '@alfalab/core-components-tag/modern';
|
|
22
|
-
import '../../index.module-
|
|
22
|
+
import '../../index.module-77d8ef59.js';
|
|
23
23
|
|
|
24
24
|
const views = {
|
|
25
25
|
primary: PrimaryTabListDesktop,
|
|
@@ -16,10 +16,10 @@ import '../../synthetic-events.js';
|
|
|
16
16
|
import '../scrollable-container/Component.js';
|
|
17
17
|
import 'compute-scroll-into-view';
|
|
18
18
|
import '../title/Component.js';
|
|
19
|
-
import '../../index.module-
|
|
19
|
+
import '../../index.module-75cf2354.js';
|
|
20
20
|
import '../secondary-tablist/Component.js';
|
|
21
21
|
import '@alfalab/core-components-tag/modern';
|
|
22
|
-
import '../../index.module-
|
|
22
|
+
import '../../index.module-77d8ef59.js';
|
|
23
23
|
|
|
24
24
|
const views = {
|
|
25
25
|
primary: PrimaryTabListMobile,
|
|
@@ -17,12 +17,12 @@ 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-75cf2354.js';
|
|
21
21
|
import '../primary-tablist/Component.mobile.js';
|
|
22
22
|
import '../secondary-tablist/Component.desktop.js';
|
|
23
23
|
import '../secondary-tablist/Component.js';
|
|
24
24
|
import '@alfalab/core-components-tag/modern';
|
|
25
|
-
import '../../index.module-
|
|
25
|
+
import '../../index.module-77d8ef59.js';
|
|
26
26
|
import '../secondary-tablist/Component.mobile.js';
|
|
27
27
|
|
|
28
28
|
const views = {
|
package/modern/desktop.js
CHANGED
|
@@ -15,10 +15,10 @@ import './hooks/use-tablist-titles.js';
|
|
|
15
15
|
import '@alfalab/hooks';
|
|
16
16
|
import './synthetic-events.js';
|
|
17
17
|
import './components/title/Component.js';
|
|
18
|
-
import './index.module-
|
|
18
|
+
import './index.module-75cf2354.js';
|
|
19
19
|
import 'compute-scroll-into-view';
|
|
20
20
|
import './components/secondary-tablist/Component.js';
|
|
21
21
|
import '@alfalab/core-components-tag/modern';
|
|
22
|
-
import './index.module-
|
|
22
|
+
import './index.module-77d8ef59.js';
|
|
23
23
|
import './components/tabs/Component.js';
|
|
24
24
|
import '@juggle/resize-observer';
|
package/modern/index.js
CHANGED
|
@@ -17,12 +17,12 @@ import './hooks/use-collapsible-elements.js';
|
|
|
17
17
|
import '@juggle/resize-observer';
|
|
18
18
|
import './synthetic-events.js';
|
|
19
19
|
import './components/title/Component.js';
|
|
20
|
-
import './index.module-
|
|
20
|
+
import './index.module-75cf2354.js';
|
|
21
21
|
import './components/primary-tablist/Component.mobile.js';
|
|
22
22
|
import 'compute-scroll-into-view';
|
|
23
23
|
import './components/secondary-tablist/Component.desktop.js';
|
|
24
24
|
import './components/secondary-tablist/Component.js';
|
|
25
25
|
import '@alfalab/core-components-tag/modern';
|
|
26
|
-
import './index.module-
|
|
26
|
+
import './index.module-77d8ef59.js';
|
|
27
27
|
import './components/secondary-tablist/Component.mobile.js';
|
|
28
28
|
import './components/tabs/Component.js';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const commonStyles = {"component":"tabs__component_ibntg","fullWidthScroll":"tabs__fullWidthScroll_ibntg","container":"tabs__container_ibntg","title":"tabs__title_ibntg","disabled":"tabs__disabled_ibntg","focused":"tabs__focused_ibntg","collapsed":"tabs__collapsed_ibntg","selected":"tabs__selected_ibntg","line":"tabs__line_ibntg","s":"tabs__s_ibntg","xs":"tabs__xs_ibntg","xxs":"tabs__xxs_ibntg","pickerWrapper":"tabs__pickerWrapper_ibntg","option":"tabs__option_ibntg","m":"tabs__m_ibntg","l":"tabs__l_ibntg","xl":"tabs__xl_ibntg","rightAddons":"tabs__rightAddons_ibntg"};
|
|
2
|
+
require('./components/primary-tablist/index.css')
|
|
3
|
+
|
|
4
|
+
export { commonStyles as c };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const commonStyles = {"component":"tabs__component_ot1u0","fullWidthScroll":"tabs__fullWidthScroll_ot1u0","container":"tabs__container_ot1u0","title":"tabs__title_ot1u0","xxs":"tabs__xxs_ot1u0","xs":"tabs__xs_ot1u0","s":"tabs__s_ot1u0","m":"tabs__m_ot1u0","l":"tabs__l_ot1u0","xl":"tabs__xl_ot1u0"};
|
|
2
|
+
require('./components/secondary-tablist/index.css')
|
|
3
|
+
|
|
4
|
+
export { commonStyles as c };
|
package/modern/mobile.js
CHANGED
|
@@ -16,9 +16,9 @@ import './hooks/use-collapsible-elements.js';
|
|
|
16
16
|
import '@juggle/resize-observer';
|
|
17
17
|
import './synthetic-events.js';
|
|
18
18
|
import './components/title/Component.js';
|
|
19
|
-
import './index.module-
|
|
19
|
+
import './index.module-75cf2354.js';
|
|
20
20
|
import 'compute-scroll-into-view';
|
|
21
21
|
import './components/secondary-tablist/Component.js';
|
|
22
22
|
import '@alfalab/core-components-tag/modern';
|
|
23
|
-
import './index.module-
|
|
23
|
+
import './index.module-77d8ef59.js';
|
|
24
24
|
import './components/tabs/Component.js';
|
package/modern/responsive.js
CHANGED
|
@@ -16,13 +16,13 @@ import '@alfalab/core-components-picker-button/modern/desktop';
|
|
|
16
16
|
import './hooks/use-tablist-titles.js';
|
|
17
17
|
import './synthetic-events.js';
|
|
18
18
|
import './components/title/Component.js';
|
|
19
|
-
import './index.module-
|
|
19
|
+
import './index.module-75cf2354.js';
|
|
20
20
|
import './components/primary-tablist/Component.mobile.js';
|
|
21
21
|
import 'compute-scroll-into-view';
|
|
22
22
|
import './components/secondary-tablist/Component.desktop.js';
|
|
23
23
|
import './components/secondary-tablist/Component.js';
|
|
24
24
|
import '@alfalab/core-components-tag/modern';
|
|
25
|
-
import './index.module-
|
|
25
|
+
import './index.module-77d8ef59.js';
|
|
26
26
|
import './components/secondary-tablist/Component.mobile.js';
|
|
27
27
|
import './components/tabs/Component.js';
|
|
28
28
|
import '@juggle/resize-observer';
|
package/package.json
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-tabs",
|
|
3
|
-
"version": "7.7.
|
|
3
|
+
"version": "7.7.1",
|
|
4
4
|
"description": "Tabs components",
|
|
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,10 +14,10 @@
|
|
|
17
14
|
"@types/lodash.debounce": "^4.0.6"
|
|
18
15
|
},
|
|
19
16
|
"dependencies": {
|
|
20
|
-
"@alfalab/core-components-keyboard-focusable": "^4.0.
|
|
21
|
-
"@alfalab/core-components-tag": "^5.4.
|
|
22
|
-
"@alfalab/core-components-picker-button": "^10.3.
|
|
23
|
-
"@alfalab/core-components-badge": "^5.1.
|
|
17
|
+
"@alfalab/core-components-keyboard-focusable": "^4.0.7",
|
|
18
|
+
"@alfalab/core-components-tag": "^5.4.1",
|
|
19
|
+
"@alfalab/core-components-picker-button": "^10.3.29",
|
|
20
|
+
"@alfalab/core-components-badge": "^5.1.1",
|
|
24
21
|
"classnames": "^2.3.1",
|
|
25
22
|
"compute-scroll-into-view": "^1.0.20",
|
|
26
23
|
"@juggle/resize-observer": "^3.3.1",
|
package/responsive.js
CHANGED
|
@@ -21,13 +21,13 @@ require('@alfalab/core-components-picker-button/desktop');
|
|
|
21
21
|
require('./hooks/use-tablist-titles.js');
|
|
22
22
|
require('./synthetic-events.js');
|
|
23
23
|
require('./components/title/Component.js');
|
|
24
|
-
require('./index.module-
|
|
24
|
+
require('./index.module-489cc8bc.js');
|
|
25
25
|
require('./components/primary-tablist/Component.mobile.js');
|
|
26
26
|
require('compute-scroll-into-view');
|
|
27
27
|
require('./components/secondary-tablist/Component.desktop.js');
|
|
28
28
|
require('./components/secondary-tablist/Component.js');
|
|
29
29
|
require('@alfalab/core-components-tag');
|
|
30
|
-
require('./index.module-
|
|
30
|
+
require('./index.module-728b55ca.js');
|
|
31
31
|
require('./components/secondary-tablist/Component.mobile.js');
|
|
32
32
|
require('./components/tabs/Component.js');
|
|
33
33
|
require('@juggle/resize-observer');
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var commonStyles = {"component":"tabs__component_17vtv","fullWidthScroll":"tabs__fullWidthScroll_17vtv","container":"tabs__container_17vtv","title":"tabs__title_17vtv","xxs":"tabs__xxs_17vtv","xs":"tabs__xs_17vtv","s":"tabs__s_17vtv","m":"tabs__m_17vtv","l":"tabs__l_17vtv","xl":"tabs__xl_17vtv"};
|
|
2
|
-
require('./components/secondary-tablist/index.css')
|
|
3
|
-
|
|
4
|
-
export { commonStyles as c };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var commonStyles = {"component":"tabs__component_wok73","fullWidthScroll":"tabs__fullWidthScroll_wok73","container":"tabs__container_wok73","title":"tabs__title_wok73","disabled":"tabs__disabled_wok73","focused":"tabs__focused_wok73","collapsed":"tabs__collapsed_wok73","selected":"tabs__selected_wok73","line":"tabs__line_wok73","s":"tabs__s_wok73","xs":"tabs__xs_wok73","xxs":"tabs__xxs_wok73","pickerWrapper":"tabs__pickerWrapper_wok73","option":"tabs__option_wok73","m":"tabs__m_wok73","l":"tabs__l_wok73","xl":"tabs__xl_wok73","rightAddons":"tabs__rightAddons_wok73"};
|
|
2
|
-
require('./components/primary-tablist/index.css')
|
|
3
|
-
|
|
4
|
-
export { commonStyles as c };
|
package/index.module-276f636f.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var commonStyles = {"component":"tabs__component_17vtv","fullWidthScroll":"tabs__fullWidthScroll_17vtv","container":"tabs__container_17vtv","title":"tabs__title_17vtv","xxs":"tabs__xxs_17vtv","xs":"tabs__xs_17vtv","s":"tabs__s_17vtv","m":"tabs__m_17vtv","l":"tabs__l_17vtv","xl":"tabs__xl_17vtv"};
|
|
4
|
-
require('./components/secondary-tablist/index.css')
|
|
5
|
-
|
|
6
|
-
exports.commonStyles = commonStyles;
|
package/index.module-c9ae6c01.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var commonStyles = {"component":"tabs__component_wok73","fullWidthScroll":"tabs__fullWidthScroll_wok73","container":"tabs__container_wok73","title":"tabs__title_wok73","disabled":"tabs__disabled_wok73","focused":"tabs__focused_wok73","collapsed":"tabs__collapsed_wok73","selected":"tabs__selected_wok73","line":"tabs__line_wok73","s":"tabs__s_wok73","xs":"tabs__xs_wok73","xxs":"tabs__xxs_wok73","pickerWrapper":"tabs__pickerWrapper_wok73","option":"tabs__option_wok73","m":"tabs__m_wok73","l":"tabs__l_wok73","xl":"tabs__xl_wok73","rightAddons":"tabs__rightAddons_wok73"};
|
|
4
|
-
require('./components/primary-tablist/index.css')
|
|
5
|
-
|
|
6
|
-
exports.commonStyles = commonStyles;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
const commonStyles = {"component":"tabs__component_wok73","fullWidthScroll":"tabs__fullWidthScroll_wok73","container":"tabs__container_wok73","title":"tabs__title_wok73","disabled":"tabs__disabled_wok73","focused":"tabs__focused_wok73","collapsed":"tabs__collapsed_wok73","selected":"tabs__selected_wok73","line":"tabs__line_wok73","s":"tabs__s_wok73","xs":"tabs__xs_wok73","xxs":"tabs__xxs_wok73","pickerWrapper":"tabs__pickerWrapper_wok73","option":"tabs__option_wok73","m":"tabs__m_wok73","l":"tabs__l_wok73","xl":"tabs__xl_wok73","rightAddons":"tabs__rightAddons_wok73"};
|
|
2
|
-
require('./components/primary-tablist/index.css')
|
|
3
|
-
|
|
4
|
-
export { commonStyles as c };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
const commonStyles = {"component":"tabs__component_17vtv","fullWidthScroll":"tabs__fullWidthScroll_17vtv","container":"tabs__container_17vtv","title":"tabs__title_17vtv","xxs":"tabs__xxs_17vtv","xs":"tabs__xs_17vtv","s":"tabs__s_17vtv","m":"tabs__m_17vtv","l":"tabs__l_17vtv","xl":"tabs__xl_17vtv"};
|
|
2
|
-
require('./components/secondary-tablist/index.css')
|
|
3
|
-
|
|
4
|
-
export { commonStyles as c };
|
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
|
-
});
|