@alfalab/core-components-picker-button 7.3.0 → 7.3.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/CHANGELOG.md +8 -0
- package/dist/{Component-26c8edad.d.ts → Component-a7bfcc44.d.ts} +0 -0
- package/dist/{Component-26c8edad.js → Component-a7bfcc44.js} +1 -1
- package/dist/Component.js +2 -2
- package/dist/esm/{Component-4b7a00ac.d.ts → Component-44f528b4.d.ts} +0 -0
- package/dist/esm/{Component-4b7a00ac.js → Component-44f528b4.js} +1 -1
- package/dist/esm/Component.js +2 -2
- package/dist/esm/field/Component.js +1 -1
- package/dist/esm/field/index.css +3 -3
- package/dist/esm/field/index.d.ts +1 -1
- package/dist/esm/field/index.js +1 -1
- package/dist/esm/index.css +5 -5
- package/dist/esm/index.js +1 -1
- package/dist/field/Component.js +1 -1
- package/dist/field/index.css +3 -3
- package/dist/field/index.d.ts +1 -1
- package/dist/field/index.js +1 -1
- package/dist/index.css +5 -5
- package/dist/index.js +1 -1
- package/dist/modern/Component.js +1 -1
- package/dist/modern/field/Component.js +1 -1
- package/dist/modern/field/index.css +3 -3
- package/dist/modern/index.css +5 -5
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [7.3.1](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-picker-button@7.3.0...@alfalab/core-components-picker-button@7.3.1) (2022-02-02)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @alfalab/core-components-picker-button
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [7.3.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-picker-button@7.2.0...@alfalab/core-components-picker-button@7.3.0) (2022-01-27)
|
|
7
15
|
|
|
8
16
|
|
|
File without changes
|
|
@@ -50,7 +50,7 @@ function __rest(s, e) {
|
|
|
50
50
|
return t;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
var styles = {"iconContainer":"picker-
|
|
53
|
+
var styles = {"iconContainer":"picker-button__iconContainer_ijgnu","open":"picker-button__open_ijgnu"};
|
|
54
54
|
require('./field/index.css')
|
|
55
55
|
|
|
56
56
|
var Field = function (_a) {
|
package/dist/Component.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var field_Component = require('./Component-
|
|
5
|
+
var field_Component = require('./Component-a7bfcc44.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
8
|
var coreComponentsSelect = require('@alfalab/core-components-select');
|
|
@@ -15,7 +15,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
15
15
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
16
16
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
17
17
|
|
|
18
|
-
var styles = {"container":"picker-
|
|
18
|
+
var styles = {"container":"picker-button__container_1ixbb","optionsPopover":"picker-button__optionsPopover_1ixbb","sideGap":"picker-button__sideGap_1ixbb","optionsListContainer":"picker-button__optionsListContainer_1ixbb"};
|
|
19
19
|
require('./index.css')
|
|
20
20
|
|
|
21
21
|
var SIDE_POSITIONS = ['right', 'right-start', 'right-end', 'left', 'left-start', 'left-end'];
|
|
File without changes
|
|
@@ -43,7 +43,7 @@ function __rest(s, e) {
|
|
|
43
43
|
return t;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
var styles = {"iconContainer":"picker-
|
|
46
|
+
var styles = {"iconContainer":"picker-button__iconContainer_ijgnu","open":"picker-button__open_ijgnu"};
|
|
47
47
|
require('./field/index.css')
|
|
48
48
|
|
|
49
49
|
var Field = function (_a) {
|
package/dist/esm/Component.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign, F as Field } from './Component-
|
|
1
|
+
import { _ as __rest, a as __assign, F as Field } from './Component-44f528b4.js';
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { BaseSelect, OptionsList, Optgroup, Option } from '@alfalab/core-components-select/dist/esm';
|
|
@@ -6,7 +6,7 @@ import '@alfalab/core-components-button/dist/esm';
|
|
|
6
6
|
import '@alfalab/icons-classic/ArrowDownMIcon';
|
|
7
7
|
import '@alfalab/icons-classic/ArrowDownSIcon';
|
|
8
8
|
|
|
9
|
-
var styles = {"container":"picker-
|
|
9
|
+
var styles = {"container":"picker-button__container_1ixbb","optionsPopover":"picker-button__optionsPopover_1ixbb","sideGap":"picker-button__sideGap_1ixbb","optionsListContainer":"picker-button__optionsListContainer_1ixbb"};
|
|
10
10
|
require('./index.css')
|
|
11
11
|
|
|
12
12
|
var SIDE_POSITIONS = ['right', 'right-start', 'right-end', 'left', 'left-start', 'left-end'];
|
package/dist/esm/field/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 13ul9 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
:root {
|
|
11
11
|
--arrow-transform: rotate(180deg);
|
|
12
12
|
}
|
|
13
|
-
.picker-
|
|
13
|
+
.picker-button__iconContainer_ijgnu {
|
|
14
14
|
display: flex;
|
|
15
15
|
transition: transform 0.15s ease-in-out;
|
|
16
16
|
}
|
|
17
|
-
.picker-
|
|
17
|
+
.picker-button__open_ijgnu {
|
|
18
18
|
transform: var(--arrow-transform);
|
|
19
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../Component-
|
|
1
|
+
export * from "../Component-44f528b4";
|
package/dist/esm/field/index.js
CHANGED
package/dist/esm/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: yels6 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
:root {
|
|
14
14
|
--border-radius-s: 4px;
|
|
15
15
|
}
|
|
16
|
-
.picker-
|
|
16
|
+
.picker-button__container_1ixbb {
|
|
17
17
|
min-width: auto;
|
|
18
18
|
}
|
|
19
|
-
.picker-
|
|
19
|
+
.picker-button__optionsPopover_1ixbb {
|
|
20
20
|
padding: var(--gap-xs) 0
|
|
21
21
|
}
|
|
22
|
-
.picker-
|
|
22
|
+
.picker-button__optionsPopover_1ixbb.picker-button__sideGap_1ixbb {
|
|
23
23
|
padding: 0 var(--gap-xs);
|
|
24
24
|
}
|
|
25
|
-
.picker-
|
|
25
|
+
.picker-button__optionsListContainer_1ixbb {
|
|
26
26
|
border-radius: var(--border-radius-s);
|
|
27
27
|
}
|
package/dist/esm/index.js
CHANGED
package/dist/field/Component.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var field_Component = require('../Component-
|
|
5
|
+
var field_Component = require('../Component-a7bfcc44.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('@alfalab/core-components-button');
|
package/dist/field/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 13ul9 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
:root {
|
|
11
11
|
--arrow-transform: rotate(180deg);
|
|
12
12
|
}
|
|
13
|
-
.picker-
|
|
13
|
+
.picker-button__iconContainer_ijgnu {
|
|
14
14
|
display: flex;
|
|
15
15
|
transition: transform 0.15s ease-in-out;
|
|
16
16
|
}
|
|
17
|
-
.picker-
|
|
17
|
+
.picker-button__open_ijgnu {
|
|
18
18
|
transform: var(--arrow-transform);
|
|
19
19
|
}
|
package/dist/field/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../Component-
|
|
1
|
+
export * from "../Component-a7bfcc44";
|
package/dist/field/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var field_Component = require('../Component-
|
|
5
|
+
var field_Component = require('../Component-a7bfcc44.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('@alfalab/core-components-button');
|
package/dist/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: yels6 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
:root {
|
|
14
14
|
--border-radius-s: 4px;
|
|
15
15
|
}
|
|
16
|
-
.picker-
|
|
16
|
+
.picker-button__container_1ixbb {
|
|
17
17
|
min-width: auto;
|
|
18
18
|
}
|
|
19
|
-
.picker-
|
|
19
|
+
.picker-button__optionsPopover_1ixbb {
|
|
20
20
|
padding: var(--gap-xs) 0
|
|
21
21
|
}
|
|
22
|
-
.picker-
|
|
22
|
+
.picker-button__optionsPopover_1ixbb.picker-button__sideGap_1ixbb {
|
|
23
23
|
padding: 0 var(--gap-xs);
|
|
24
24
|
}
|
|
25
|
-
.picker-
|
|
25
|
+
.picker-button__optionsListContainer_1ixbb {
|
|
26
26
|
border-radius: var(--border-radius-s);
|
|
27
27
|
}
|
package/dist/index.js
CHANGED
package/dist/modern/Component.js
CHANGED
|
@@ -6,7 +6,7 @@ import '@alfalab/icons-classic/ArrowDownMIcon';
|
|
|
6
6
|
import '@alfalab/icons-classic/ArrowDownSIcon';
|
|
7
7
|
import { Field } from './field/Component.js';
|
|
8
8
|
|
|
9
|
-
var styles = {"container":"picker-
|
|
9
|
+
var styles = {"container":"picker-button__container_1ixbb","optionsPopover":"picker-button__optionsPopover_1ixbb","sideGap":"picker-button__sideGap_1ixbb","optionsListContainer":"picker-button__optionsListContainer_1ixbb"};
|
|
10
10
|
require('./index.css')
|
|
11
11
|
|
|
12
12
|
const SIDE_POSITIONS = ['right', 'right-start', 'right-end', 'left', 'left-start', 'left-end'];
|
|
@@ -4,7 +4,7 @@ import { Button } from '@alfalab/core-components-button/dist/modern';
|
|
|
4
4
|
import { ArrowDownMIcon } from '@alfalab/icons-classic/ArrowDownMIcon';
|
|
5
5
|
import { ArrowDownSIcon } from '@alfalab/icons-classic/ArrowDownSIcon';
|
|
6
6
|
|
|
7
|
-
var styles = {"iconContainer":"picker-
|
|
7
|
+
var styles = {"iconContainer":"picker-button__iconContainer_ijgnu","open":"picker-button__open_ijgnu"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
const Field = ({ buttonSize = 'm', view, label, open, multiple, rightAddons, Arrow, innerProps, className, selected, selectedMultiple, valueRenderer, ...restProps }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 13ul9 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
:root {
|
|
11
11
|
--arrow-transform: rotate(180deg);
|
|
12
12
|
}
|
|
13
|
-
.picker-
|
|
13
|
+
.picker-button__iconContainer_ijgnu {
|
|
14
14
|
display: flex;
|
|
15
15
|
transition: transform 0.15s ease-in-out;
|
|
16
16
|
}
|
|
17
|
-
.picker-
|
|
17
|
+
.picker-button__open_ijgnu {
|
|
18
18
|
transform: var(--arrow-transform);
|
|
19
19
|
}
|
package/dist/modern/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: yels6 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
:root {
|
|
14
14
|
--border-radius-s: 4px;
|
|
15
15
|
}
|
|
16
|
-
.picker-
|
|
16
|
+
.picker-button__container_1ixbb {
|
|
17
17
|
min-width: auto;
|
|
18
18
|
}
|
|
19
|
-
.picker-
|
|
19
|
+
.picker-button__optionsPopover_1ixbb {
|
|
20
20
|
padding: var(--gap-xs) 0
|
|
21
21
|
}
|
|
22
|
-
.picker-
|
|
22
|
+
.picker-button__optionsPopover_1ixbb.picker-button__sideGap_1ixbb {
|
|
23
23
|
padding: 0 var(--gap-xs);
|
|
24
24
|
}
|
|
25
|
-
.picker-
|
|
25
|
+
.picker-button__optionsListContainer_1ixbb {
|
|
26
26
|
border-radius: var(--border-radius-s);
|
|
27
27
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-picker-button",
|
|
3
|
-
"version": "7.3.
|
|
3
|
+
"version": "7.3.1",
|
|
4
4
|
"description": "Picker button component",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"react-dom": "^16.9.0 || ^17.0.1"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@alfalab/core-components-button": "^5.0.
|
|
23
|
-
"@alfalab/core-components-select": "^10.4.
|
|
22
|
+
"@alfalab/core-components-button": "^5.0.4",
|
|
23
|
+
"@alfalab/core-components-select": "^10.4.1",
|
|
24
24
|
"@alfalab/icons-classic": "^1.76.0",
|
|
25
25
|
"@alfalab/icons-glyph": "^1.190.0",
|
|
26
26
|
"classnames": "^2.2.6"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "86f898b81b12d809e5e43e3dbb557a7e9629a2e5"
|
|
29
29
|
}
|