@alfalab/core-components-picker-button 6.2.5 → 7.0.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 +40 -0
- package/dist/{Component-c4a4b732.d.ts → Component-4138fa44.d.ts} +0 -0
- package/dist/{Component-c4a4b732.js → Component-4138fa44.js} +1 -1
- package/dist/Component.js +2 -2
- package/dist/esm/{Component-792ebb1c.d.ts → Component-f6f3d8f0.d.ts} +0 -0
- package/dist/esm/{Component-792ebb1c.js → Component-f6f3d8f0.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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,46 @@
|
|
|
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.0.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-picker-button@6.2.5...@alfalab/core-components-picker-button@7.0.0) (2021-11-26)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **button:** добавлена кнопка размера 40px, изменены скругления ([#886](https://github.com/alfa-laboratory/core-components/issues/886)) ([88e657a](https://github.com/alfa-laboratory/core-components/commit/88e657a9f0f68b8b58f6e9437053954ee984f83c)), closes [#890](https://github.com/alfa-laboratory/core-components/issues/890)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### BREAKING CHANGES
|
|
15
|
+
|
|
16
|
+
* **button:** Кнопка размера xs теперь имеет размер 40px. Тем, кто использовал размер xs, надо
|
|
17
|
+
заменить размер на xxs. Можно воспользоваться codemod.
|
|
18
|
+
|
|
19
|
+
* feat(codemod): add button xs to xxs transformer
|
|
20
|
+
|
|
21
|
+
* feat(tag): добавлен тэг размера 40px, изменены отступы
|
|
22
|
+
|
|
23
|
+
Добавлен тэг размером 40px, изменены отступы. Тем, кто использовал размер xs, надо заменить размер
|
|
24
|
+
на xxs.
|
|
25
|
+
* **button:** Тэг размера xs теперь имеет размер 40px. Тем, кто использовал размер xs, надо
|
|
26
|
+
заменить размер на xxs. Можно воспользоваться codemod.
|
|
27
|
+
|
|
28
|
+
* test: update screenshots
|
|
29
|
+
|
|
30
|
+
* test: update screenshots
|
|
31
|
+
|
|
32
|
+
* feat(button): linter fix
|
|
33
|
+
|
|
34
|
+
* feat(button): fix min-width
|
|
35
|
+
|
|
36
|
+
* feat(tag): remove vertical paddings
|
|
37
|
+
|
|
38
|
+
* feat(tag): remove vertical paddings
|
|
39
|
+
|
|
40
|
+
* feat(button): updates
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
6
46
|
## [6.2.5](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-picker-button@6.2.4...@alfalab/core-components-picker-button@6.2.5) (2021-11-16)
|
|
7
47
|
|
|
8
48
|
**Note:** Version bump only for package @alfalab/core-components-picker-button
|
|
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_kbt4m","open":"picker-button__open_kbt4m"};
|
|
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-4138fa44.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_1o57d"};
|
|
19
19
|
require('./index.css')
|
|
20
20
|
|
|
21
21
|
var PickerButton = React.forwardRef(function (_a, ref) {
|
|
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_kbt4m","open":"picker-button__open_kbt4m"};
|
|
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-f6f3d8f0.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_1o57d"};
|
|
10
10
|
require('./index.css')
|
|
11
11
|
|
|
12
12
|
var PickerButton = forwardRef(function (_a, ref) {
|
package/dist/esm/field/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1c7yf */
|
|
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_kbt4m {
|
|
14
14
|
display: flex;
|
|
15
15
|
transition: transform 0.15s ease-in-out;
|
|
16
16
|
}
|
|
17
|
-
.picker-
|
|
17
|
+
.picker-button__open_kbt4m {
|
|
18
18
|
transform: var(--arrow-transform);
|
|
19
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../Component-
|
|
1
|
+
export * from "../Component-f6f3d8f0";
|
package/dist/esm/field/index.js
CHANGED
package/dist/esm/index.css
CHANGED
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-4138fa44.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: 1c7yf */
|
|
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_kbt4m {
|
|
14
14
|
display: flex;
|
|
15
15
|
transition: transform 0.15s ease-in-out;
|
|
16
16
|
}
|
|
17
|
-
.picker-
|
|
17
|
+
.picker-button__open_kbt4m {
|
|
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-4138fa44";
|
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-4138fa44.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('@alfalab/core-components-button');
|
package/dist/index.css
CHANGED
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_1o57d"};
|
|
10
10
|
require('./index.css')
|
|
11
11
|
|
|
12
12
|
const PickerButton = forwardRef(({ OptionsList: OptionsList$1 = OptionsList, Optgroup: Optgroup$1 = Optgroup, Option: Option$1 = Option, view, loading, size = 'm', className, leftAddons, ...restProps }, ref) => (React.createElement(BaseSelect, Object.assign({}, restProps, { ref: ref, Option: Option$1, Field: Field, size: size === 'm' ? 'm' : 's', fieldProps: {
|
|
@@ -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_kbt4m","open":"picker-button__open_kbt4m"};
|
|
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: 1c7yf */
|
|
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_kbt4m {
|
|
14
14
|
display: flex;
|
|
15
15
|
transition: transform 0.15s ease-in-out;
|
|
16
16
|
}
|
|
17
|
-
.picker-
|
|
17
|
+
.picker-button__open_kbt4m {
|
|
18
18
|
transform: var(--arrow-transform);
|
|
19
19
|
}
|
package/dist/modern/index.css
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-picker-button",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
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": "^
|
|
23
|
-
"@alfalab/core-components-select": "^10.1.
|
|
22
|
+
"@alfalab/core-components-button": "^5.0.0",
|
|
23
|
+
"@alfalab/core-components-select": "^10.1.2",
|
|
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": "10c9fd1caacf98a5c15f84529889ddf41e9e1b54"
|
|
29
29
|
}
|