@alfalab/core-components-picker-button 7.10.2 → 7.10.8
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 +52 -0
- package/{dist/esm/Component.d.ts → Component.d.ts} +1 -1
- package/{dist/Component.js → Component.js} +2 -2
- package/{dist/modern → cssm}/Component.d.ts +1 -1
- package/{dist/cssm → cssm}/Component.js +2 -2
- package/{dist/cssm → cssm}/field/Component.d.ts +0 -0
- package/{dist/cssm → cssm}/field/Component.js +1 -1
- package/{dist/cssm → cssm}/field/index.d.ts +0 -0
- package/{dist/cssm → cssm}/field/index.js +1 -1
- package/{dist/cssm → cssm}/field/index.module.css +0 -0
- package/{dist/cssm → cssm}/index.d.ts +0 -0
- package/{dist/cssm → cssm}/index.js +2 -2
- package/{dist/cssm → cssm}/index.module.css +0 -0
- package/{dist/cssm → cssm}/option/Component.d.ts +0 -0
- package/{dist/cssm → cssm}/option/Component.js +1 -1
- package/{dist/cssm → cssm}/option/index.d.ts +0 -0
- package/{dist/cssm → cssm}/option/index.js +1 -1
- package/{dist/cssm → cssm}/option/index.module.css +0 -0
- package/{dist/cssm → cssm}/tslib.es6-ce870b46.d.ts +0 -0
- package/{dist/cssm → cssm}/tslib.es6-ce870b46.js +0 -0
- package/{dist/cssm → cssm}/typings-b192df8b.d.ts +0 -0
- package/{dist/cssm → cssm}/utils/index.d.ts +0 -0
- package/{dist/cssm → cssm}/utils/index.js +0 -0
- package/{dist → esm}/Component.d.ts +0 -0
- package/{dist/esm → esm}/Component.js +4 -4
- package/{dist/esm → esm}/field/Component.d.ts +0 -0
- package/{dist/esm → esm}/field/Component.js +3 -3
- package/{dist/modern → esm}/field/index.css +3 -3
- package/{dist/esm → esm}/field/index.d.ts +0 -0
- package/{dist/esm → esm}/field/index.js +2 -2
- package/{dist/esm → esm}/index.css +6 -6
- package/{dist/esm → esm}/index.d.ts +0 -0
- package/{dist/esm → esm}/index.js +3 -3
- package/{dist/esm → esm}/option/Component.d.ts +0 -0
- package/{dist/esm → esm}/option/Component.js +3 -3
- package/{dist/modern → esm}/option/index.css +4 -4
- package/{dist/esm → esm}/option/index.d.ts +0 -0
- package/esm/option/index.js +4 -0
- package/{dist/esm/tslib.es6-a4c45164.d.ts → esm/tslib.es6-f75f4546.d.ts} +0 -0
- package/{dist/esm/tslib.es6-a4c45164.js → esm/tslib.es6-f75f4546.js} +0 -0
- package/{dist/esm → esm}/typings-b192df8b.d.ts +0 -0
- package/{dist/esm → esm}/utils/index.d.ts +0 -0
- package/{dist/esm → esm}/utils/index.js +0 -0
- package/{dist/field → field}/Component.d.ts +0 -0
- package/{dist/field → field}/Component.js +2 -2
- package/{dist/field → field}/index.css +3 -3
- package/{dist/field → field}/index.d.ts +0 -0
- package/{dist/field → field}/index.js +1 -1
- package/{dist/index.css → index.css} +6 -6
- package/{dist/index.d.ts → index.d.ts} +0 -0
- package/{dist/index.js → index.js} +1 -1
- package/{dist/cssm → modern}/Component.d.ts +0 -0
- package/{dist/modern → modern}/Component.js +3 -3
- package/{dist/modern → modern}/field/Component.d.ts +0 -0
- package/{dist/modern → modern}/field/Component.js +2 -2
- package/{dist/esm → modern}/field/index.css +3 -3
- package/{dist/modern → modern}/field/index.d.ts +0 -0
- package/{dist/modern → modern}/field/index.js +1 -1
- package/{dist/modern → modern}/index.css +6 -6
- package/{dist/modern → modern}/index.d.ts +0 -0
- package/{dist/modern → modern}/index.js +2 -2
- package/{dist/modern → modern}/option/Component.d.ts +0 -0
- package/{dist/modern → modern}/option/Component.js +2 -2
- package/{dist/esm → modern}/option/index.css +4 -4
- package/{dist/modern → modern}/option/index.d.ts +0 -0
- package/{dist/modern → modern}/option/index.js +1 -1
- package/{dist/modern → modern}/typings-b192df8b.d.ts +0 -0
- package/{dist/modern → modern}/utils/index.d.ts +0 -0
- package/{dist/modern → modern}/utils/index.js +0 -0
- package/{dist/option → option}/Component.d.ts +0 -0
- package/{dist/option → option}/Component.js +2 -2
- package/{dist/option → option}/index.css +4 -4
- package/{dist/option → option}/index.d.ts +0 -0
- package/{dist/option → option}/index.js +1 -1
- package/package.json +8 -11
- package/{dist/send-stats.js → send-stats.js} +0 -0
- package/{dist/tslib.es6-389e5b6a.d.ts → tslib.es6-b40c407e.d.ts} +0 -0
- package/{dist/tslib.es6-389e5b6a.js → tslib.es6-b40c407e.js} +0 -0
- package/{dist/typings-b192df8b.d.ts → typings-b192df8b.d.ts} +0 -0
- package/{dist/utils → utils}/index.d.ts +0 -0
- package/{dist/utils → utils}/index.js +0 -0
- package/dist/esm/option/index.js +0 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,57 @@
|
|
|
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.10.8](https://github.com/core-ds/core-components/compare/@alfalab/core-components-picker-button@7.10.7...@alfalab/core-components-picker-button@7.10.8) (2022-07-25)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @alfalab/core-components-picker-button
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [7.10.7](https://github.com/core-ds/core-components/compare/@alfalab/core-components-picker-button@7.10.6...@alfalab/core-components-picker-button@7.10.7) (2022-07-18)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @alfalab/core-components-picker-button
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [7.10.6](https://github.com/core-ds/core-components/compare/@alfalab/core-components-picker-button@7.10.5...@alfalab/core-components-picker-button@7.10.6) (2022-07-18)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @alfalab/core-components-picker-button
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## [7.10.5](https://github.com/core-ds/core-components/compare/@alfalab/core-components-picker-button@7.10.4...@alfalab/core-components-picker-button@7.10.5) (2022-07-15)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @alfalab/core-components-picker-button
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
## [7.10.4](https://github.com/core-ds/core-components/compare/@alfalab/core-components-picker-button@7.10.3...@alfalab/core-components-picker-button@7.10.4) (2022-07-15)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Bug Fixes
|
|
42
|
+
|
|
43
|
+
* bump packages version ([#153](https://github.com/core-ds/core-components/issues/153)) ([fd3e082](https://github.com/core-ds/core-components/commit/fd3e08205672129cdce04e1000c673f2cd9c10da))
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
## [7.10.3](https://github.com/core-ds/core-components/compare/@alfalab/core-components-picker-button@7.10.2...@alfalab/core-components-picker-button@7.10.3) (2022-07-14)
|
|
50
|
+
|
|
51
|
+
**Note:** Version bump only for package @alfalab/core-components-picker-button
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
6
57
|
## [7.10.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-picker-button@7.10.1...@alfalab/core-components-picker-button@7.10.2) (2022-07-14)
|
|
7
58
|
|
|
8
59
|
**Note:** Version bump only for package @alfalab/core-components-picker-button
|
|
@@ -875,4 +926,5 @@ remove z-index, add stack component
|
|
|
875
926
|
|
|
876
927
|
## [3.1.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-picker-button@3.1.0...@alfalab/core-components-picker-button@3.1.1) (2021-02-18)
|
|
877
928
|
|
|
929
|
+
|
|
878
930
|
**Note:** Version bump only for package @alfalab/core-components-picker-button
|
|
@@ -21,7 +21,7 @@ type PickerButtonProps = Omit<BaseSelectProps, 'Field' | 'placeholder' | 'Arrow'
|
|
|
21
21
|
*/
|
|
22
22
|
variant?: PickerButtonVariant;
|
|
23
23
|
};
|
|
24
|
-
declare const PickerButton: React.ForwardRefExoticComponent<Pick<BaseSelectProps, "className" | "dataTestId" | "label" | "block" | "id" | "onBlur" | "onChange" | "onScroll" | "disabled" | "name" | "
|
|
24
|
+
declare const PickerButton: React.ForwardRefExoticComponent<Pick<BaseSelectProps, "className" | "dataTestId" | "label" | "block" | "id" | "onBlur" | "onChange" | "onScroll" | "disabled" | "name" | "preventFlip" | "popperClassName" | "open" | "fieldClassName" | "error" | "valueRenderer" | "Optgroup" | "optionsListWidth" | "visibleOptions" | "optionGroupClassName" | "Option" | "optionsListClassName" | "optionClassName" | "circularNavigation" | "nativeSelect" | "defaultOpen" | "popoverPosition" | "optionsSize" | "optionsListProps" | "optionProps" | "onOpen" | "OptionsList" | "updatePopover" | "zIndexPopover" | "showEmptyOptionsList"> & Pick<Partial<import("@alfalab/core-components-button").ComponentProps & React.AnchorHTMLAttributes<HTMLAnchorElement>> | Partial<import("@alfalab/core-components-button").ComponentProps & React.ButtonHTMLAttributes<HTMLButtonElement>>, "view" | "leftAddons" | "rightAddons" | "loading"> & {
|
|
25
25
|
options: (OptionShape & {
|
|
26
26
|
/**
|
|
27
27
|
* Иконка, отображающаяся слева от текстового представления пункта
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('./tslib.es6-
|
|
5
|
+
var tslib_es6 = require('./tslib.es6-b40c407e.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
8
|
var coreComponentsSelect = require('@alfalab/core-components-select');
|
|
@@ -20,7 +20,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
20
20
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
21
21
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
22
22
|
|
|
23
|
-
var styles = {"container":"picker-
|
|
23
|
+
var styles = {"container":"picker-button__container_ajxe0","optionsPopover":"picker-button__optionsPopover_ajxe0","sideGap":"picker-button__sideGap_ajxe0","optionsListContainer":"picker-button__optionsListContainer_ajxe0","option":"picker-button__option_ajxe0"};
|
|
24
24
|
require('./index.css')
|
|
25
25
|
|
|
26
26
|
var SIDE_POSITIONS = ['right', 'right-start', 'right-end', 'left', 'left-start', 'left-end'];
|
|
@@ -21,7 +21,7 @@ type PickerButtonProps = Omit<BaseSelectProps, 'Field' | 'placeholder' | 'Arrow'
|
|
|
21
21
|
*/
|
|
22
22
|
variant?: PickerButtonVariant;
|
|
23
23
|
};
|
|
24
|
-
declare const PickerButton: React.ForwardRefExoticComponent<Pick<BaseSelectProps, "className" | "dataTestId" | "label" | "block" | "id" | "onBlur" | "onChange" | "onScroll" | "disabled" | "name" | "
|
|
24
|
+
declare const PickerButton: React.ForwardRefExoticComponent<Pick<BaseSelectProps, "className" | "dataTestId" | "label" | "block" | "id" | "onBlur" | "onChange" | "onScroll" | "disabled" | "name" | "preventFlip" | "popperClassName" | "open" | "fieldClassName" | "error" | "valueRenderer" | "Optgroup" | "optionsListWidth" | "visibleOptions" | "optionGroupClassName" | "Option" | "optionsListClassName" | "optionClassName" | "circularNavigation" | "nativeSelect" | "defaultOpen" | "popoverPosition" | "optionsSize" | "optionsListProps" | "optionProps" | "onOpen" | "OptionsList" | "updatePopover" | "zIndexPopover" | "showEmptyOptionsList"> & Pick<Partial<import("@alfalab/core-components-button").ComponentProps & React.AnchorHTMLAttributes<HTMLAnchorElement>> | Partial<import("@alfalab/core-components-button").ComponentProps & React.ButtonHTMLAttributes<HTMLButtonElement>>, "view" | "leftAddons" | "rightAddons" | "loading"> & {
|
|
25
25
|
options: (OptionShape & {
|
|
26
26
|
/**
|
|
27
27
|
* Иконка, отображающаяся слева от текстового представления пункта
|
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var tslib_es6 = require('./tslib.es6-ce870b46.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
|
-
var coreComponentsSelect = require('@alfalab/core-components-select/
|
|
9
|
-
require('@alfalab/core-components-button/
|
|
8
|
+
var coreComponentsSelect = require('@alfalab/core-components-select/cssm');
|
|
9
|
+
require('@alfalab/core-components-button/cssm');
|
|
10
10
|
require('@alfalab/icons-glyph/ChevronDownMIcon');
|
|
11
11
|
require('@alfalab/icons-glyph/ChevronDownCompactSIcon');
|
|
12
12
|
require('@alfalab/icons-glyph/MoreMIcon');
|
|
File without changes
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var tslib_es6 = require('../tslib.es6-ce870b46.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
|
-
var coreComponentsButton = require('@alfalab/core-components-button/
|
|
8
|
+
var coreComponentsButton = require('@alfalab/core-components-button/cssm');
|
|
9
9
|
require('@alfalab/icons-glyph/ChevronDownMIcon');
|
|
10
10
|
require('@alfalab/icons-glyph/ChevronDownCompactSIcon');
|
|
11
11
|
require('@alfalab/icons-glyph/MoreMIcon');
|
|
File without changes
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
require('../tslib.es6-ce870b46.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
|
-
require('@alfalab/core-components-button/
|
|
8
|
+
require('@alfalab/core-components-button/cssm');
|
|
9
9
|
require('@alfalab/icons-glyph/ChevronDownMIcon');
|
|
10
10
|
require('@alfalab/icons-glyph/ChevronDownCompactSIcon');
|
|
11
11
|
require('@alfalab/icons-glyph/MoreMIcon');
|
|
File without changes
|
|
File without changes
|
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
require('./tslib.es6-ce870b46.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
|
-
require('@alfalab/core-components-select/
|
|
9
|
-
require('@alfalab/core-components-button/
|
|
8
|
+
require('@alfalab/core-components-select/cssm');
|
|
9
|
+
require('@alfalab/core-components-button/cssm');
|
|
10
10
|
require('@alfalab/icons-glyph/ChevronDownMIcon');
|
|
11
11
|
require('@alfalab/icons-glyph/ChevronDownCompactSIcon');
|
|
12
12
|
require('@alfalab/icons-glyph/MoreMIcon');
|
|
File without changes
|
|
File without changes
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var tslib_es6 = require('../tslib.es6-ce870b46.js');
|
|
6
6
|
var React = require('react');
|
|
7
|
-
var coreComponentsSelect = require('@alfalab/core-components-select/
|
|
7
|
+
var coreComponentsSelect = require('@alfalab/core-components-select/cssm');
|
|
8
8
|
var styles = require('./index.module.css');
|
|
9
9
|
|
|
10
10
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
File without changes
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
require('../tslib.es6-ce870b46.js');
|
|
6
6
|
require('react');
|
|
7
|
-
require('@alfalab/core-components-select/
|
|
7
|
+
require('@alfalab/core-components-select/cssm');
|
|
8
8
|
require('./index.module.css');
|
|
9
9
|
var option_Component = require('./Component.js');
|
|
10
10
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from './tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from './tslib.es6-f75f4546.js';
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
|
-
import { BaseSelect, OptionsList, Optgroup } from '@alfalab/core-components-select/
|
|
5
|
-
import '@alfalab/core-components-button/
|
|
4
|
+
import { BaseSelect, OptionsList, Optgroup } from '@alfalab/core-components-select/esm';
|
|
5
|
+
import '@alfalab/core-components-button/esm';
|
|
6
6
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
7
7
|
import '@alfalab/icons-glyph/ChevronDownCompactSIcon';
|
|
8
8
|
import '@alfalab/icons-glyph/MoreMIcon';
|
|
@@ -11,7 +11,7 @@ import './utils/index.js';
|
|
|
11
11
|
import { Field } from './field/Component.js';
|
|
12
12
|
import { Option } from './option/Component.js';
|
|
13
13
|
|
|
14
|
-
var styles = {"container":"picker-
|
|
14
|
+
var styles = {"container":"picker-button__container_ajxe0","optionsPopover":"picker-button__optionsPopover_ajxe0","sideGap":"picker-button__sideGap_ajxe0","optionsListContainer":"picker-button__optionsListContainer_ajxe0","option":"picker-button__option_ajxe0"};
|
|
15
15
|
require('./index.css')
|
|
16
16
|
|
|
17
17
|
var SIDE_POSITIONS = ['right', 'right-start', 'right-end', 'left', 'left-start', 'left-end'];
|
|
File without changes
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../tslib.es6-f75f4546.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
|
-
import { Button } from '@alfalab/core-components-button/
|
|
4
|
+
import { Button } from '@alfalab/core-components-button/esm';
|
|
5
5
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
6
6
|
import '@alfalab/icons-glyph/ChevronDownCompactSIcon';
|
|
7
7
|
import '@alfalab/icons-glyph/MoreMIcon';
|
|
8
8
|
import '@alfalab/icons-glyph/MoreSIcon';
|
|
9
9
|
import { getIcon } from '../utils/index.js';
|
|
10
10
|
|
|
11
|
-
var styles = {"iconContainer":"picker-
|
|
11
|
+
var styles = {"iconContainer":"picker-button__iconContainer_sbdsx","open":"picker-button__open_sbdsx"};
|
|
12
12
|
require('./index.css')
|
|
13
13
|
|
|
14
14
|
var Field = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: e2u20 */
|
|
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_sbdsx {
|
|
14
14
|
display: flex;
|
|
15
15
|
transition: transform 0.15s ease-in-out;
|
|
16
16
|
}
|
|
17
|
-
.picker-
|
|
17
|
+
.picker-button__open_sbdsx {
|
|
18
18
|
transform: var(--arrow-transform);
|
|
19
19
|
}
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import '../tslib.es6-
|
|
1
|
+
import '../tslib.es6-f75f4546.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
|
-
import '@alfalab/core-components-button/
|
|
4
|
+
import '@alfalab/core-components-button/esm';
|
|
5
5
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
6
6
|
import '@alfalab/icons-glyph/ChevronDownCompactSIcon';
|
|
7
7
|
import '@alfalab/icons-glyph/MoreMIcon';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: srrup */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -14,18 +14,18 @@
|
|
|
14
14
|
:root {
|
|
15
15
|
--border-radius-s: 4px;
|
|
16
16
|
}
|
|
17
|
-
.picker-
|
|
17
|
+
.picker-button__container_ajxe0 {
|
|
18
18
|
min-width: auto;
|
|
19
19
|
}
|
|
20
|
-
.picker-
|
|
20
|
+
.picker-button__optionsPopover_ajxe0 {
|
|
21
21
|
padding: var(--gap-xs) 0
|
|
22
22
|
}
|
|
23
|
-
.picker-
|
|
23
|
+
.picker-button__optionsPopover_ajxe0.picker-button__sideGap_ajxe0 {
|
|
24
24
|
padding: 0 var(--gap-xs);
|
|
25
25
|
}
|
|
26
|
-
.picker-
|
|
26
|
+
.picker-button__optionsListContainer_ajxe0 {
|
|
27
27
|
border-radius: var(--border-radius-s);
|
|
28
28
|
}
|
|
29
|
-
.picker-
|
|
29
|
+
.picker-button__option_ajxe0 {
|
|
30
30
|
padding: 0 var(--gap-m);
|
|
31
31
|
}
|
|
File without changes
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import './tslib.es6-
|
|
1
|
+
import './tslib.es6-f75f4546.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
|
-
import '@alfalab/core-components-select/
|
|
5
|
-
import '@alfalab/core-components-button/
|
|
4
|
+
import '@alfalab/core-components-select/esm';
|
|
5
|
+
import '@alfalab/core-components-button/esm';
|
|
6
6
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
7
7
|
import '@alfalab/icons-glyph/ChevronDownCompactSIcon';
|
|
8
8
|
import '@alfalab/icons-glyph/MoreMIcon';
|
|
File without changes
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../tslib.es6-f75f4546.js';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { Option as Option$1 } from '@alfalab/core-components-select/
|
|
3
|
+
import { Option as Option$1 } from '@alfalab/core-components-select/esm';
|
|
4
4
|
|
|
5
|
-
var styles = {"container":"picker-
|
|
5
|
+
var styles = {"container":"picker-button__container_17hbn","icon":"picker-button__icon_17hbn","content":"picker-button__content_17hbn"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
var Option = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: t2c14 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
:root {
|
|
11
11
|
--gap-s: 12px;
|
|
12
12
|
}
|
|
13
|
-
.picker-
|
|
13
|
+
.picker-button__container_17hbn {
|
|
14
14
|
display: flex;
|
|
15
15
|
align-items: center;
|
|
16
16
|
}
|
|
17
|
-
.picker-
|
|
17
|
+
.picker-button__icon_17hbn {
|
|
18
18
|
display: flex;
|
|
19
19
|
margin-right: var(--gap-s);
|
|
20
20
|
}
|
|
21
|
-
.picker-
|
|
21
|
+
.picker-button__content_17hbn {
|
|
22
22
|
overflow: hidden;
|
|
23
23
|
flex: 1;
|
|
24
24
|
text-overflow: ellipsis;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../tslib.es6-b40c407e.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
8
|
var coreComponentsButton = require('@alfalab/core-components-button');
|
|
@@ -17,7 +17,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
17
17
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
18
18
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
19
19
|
|
|
20
|
-
var styles = {"iconContainer":"picker-
|
|
20
|
+
var styles = {"iconContainer":"picker-button__iconContainer_sbdsx","open":"picker-button__open_sbdsx"};
|
|
21
21
|
require('./index.css')
|
|
22
22
|
|
|
23
23
|
var Field = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: e2u20 */
|
|
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_sbdsx {
|
|
14
14
|
display: flex;
|
|
15
15
|
transition: transform 0.15s ease-in-out;
|
|
16
16
|
}
|
|
17
|
-
.picker-
|
|
17
|
+
.picker-button__open_sbdsx {
|
|
18
18
|
transform: var(--arrow-transform);
|
|
19
19
|
}
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: srrup */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -14,18 +14,18 @@
|
|
|
14
14
|
:root {
|
|
15
15
|
--border-radius-s: 4px;
|
|
16
16
|
}
|
|
17
|
-
.picker-
|
|
17
|
+
.picker-button__container_ajxe0 {
|
|
18
18
|
min-width: auto;
|
|
19
19
|
}
|
|
20
|
-
.picker-
|
|
20
|
+
.picker-button__optionsPopover_ajxe0 {
|
|
21
21
|
padding: var(--gap-xs) 0
|
|
22
22
|
}
|
|
23
|
-
.picker-
|
|
23
|
+
.picker-button__optionsPopover_ajxe0.picker-button__sideGap_ajxe0 {
|
|
24
24
|
padding: 0 var(--gap-xs);
|
|
25
25
|
}
|
|
26
|
-
.picker-
|
|
26
|
+
.picker-button__optionsListContainer_ajxe0 {
|
|
27
27
|
border-radius: var(--border-radius-s);
|
|
28
28
|
}
|
|
29
|
-
.picker-
|
|
29
|
+
.picker-button__option_ajxe0 {
|
|
30
30
|
padding: 0 var(--gap-m);
|
|
31
31
|
}
|
|
File without changes
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
|
-
import { OptionsList, Optgroup, BaseSelect } from '@alfalab/core-components-select/
|
|
4
|
-
import '@alfalab/core-components-button/
|
|
3
|
+
import { OptionsList, Optgroup, BaseSelect } from '@alfalab/core-components-select/modern';
|
|
4
|
+
import '@alfalab/core-components-button/modern';
|
|
5
5
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
6
6
|
import '@alfalab/icons-glyph/ChevronDownCompactSIcon';
|
|
7
7
|
import '@alfalab/icons-glyph/MoreMIcon';
|
|
@@ -10,7 +10,7 @@ import './utils/index.js';
|
|
|
10
10
|
import { Field } from './field/Component.js';
|
|
11
11
|
import { Option } from './option/Component.js';
|
|
12
12
|
|
|
13
|
-
var styles = {"container":"picker-
|
|
13
|
+
var styles = {"container":"picker-button__container_ajxe0","optionsPopover":"picker-button__optionsPopover_ajxe0","sideGap":"picker-button__sideGap_ajxe0","optionsListContainer":"picker-button__optionsListContainer_ajxe0","option":"picker-button__option_ajxe0"};
|
|
14
14
|
require('./index.css')
|
|
15
15
|
|
|
16
16
|
const SIDE_POSITIONS = ['right', 'right-start', 'right-end', 'left', 'left-start', 'left-end'];
|
|
File without changes
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
|
-
import { Button } from '@alfalab/core-components-button/
|
|
3
|
+
import { Button } from '@alfalab/core-components-button/modern';
|
|
4
4
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
5
5
|
import '@alfalab/icons-glyph/ChevronDownCompactSIcon';
|
|
6
6
|
import '@alfalab/icons-glyph/MoreMIcon';
|
|
7
7
|
import '@alfalab/icons-glyph/MoreSIcon';
|
|
8
8
|
import { getIcon } from '../utils/index.js';
|
|
9
9
|
|
|
10
|
-
var styles = {"iconContainer":"picker-
|
|
10
|
+
var styles = {"iconContainer":"picker-button__iconContainer_sbdsx","open":"picker-button__open_sbdsx"};
|
|
11
11
|
require('./index.css')
|
|
12
12
|
|
|
13
13
|
const Field = ({ buttonSize = 'm', buttonVariant = 'default', view, label, open, multiple, rightAddons, Arrow, innerProps, className, selected, selectedMultiple, valueRenderer, ...restProps }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: e2u20 */
|
|
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_sbdsx {
|
|
14
14
|
display: flex;
|
|
15
15
|
transition: transform 0.15s ease-in-out;
|
|
16
16
|
}
|
|
17
|
-
.picker-
|
|
17
|
+
.picker-button__open_sbdsx {
|
|
18
18
|
transform: var(--arrow-transform);
|
|
19
19
|
}
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import 'classnames';
|
|
3
|
-
import '@alfalab/core-components-button/
|
|
3
|
+
import '@alfalab/core-components-button/modern';
|
|
4
4
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
5
5
|
import '@alfalab/icons-glyph/ChevronDownCompactSIcon';
|
|
6
6
|
import '@alfalab/icons-glyph/MoreMIcon';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: srrup */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -14,18 +14,18 @@
|
|
|
14
14
|
:root {
|
|
15
15
|
--border-radius-s: 4px;
|
|
16
16
|
}
|
|
17
|
-
.picker-
|
|
17
|
+
.picker-button__container_ajxe0 {
|
|
18
18
|
min-width: auto;
|
|
19
19
|
}
|
|
20
|
-
.picker-
|
|
20
|
+
.picker-button__optionsPopover_ajxe0 {
|
|
21
21
|
padding: var(--gap-xs) 0
|
|
22
22
|
}
|
|
23
|
-
.picker-
|
|
23
|
+
.picker-button__optionsPopover_ajxe0.picker-button__sideGap_ajxe0 {
|
|
24
24
|
padding: 0 var(--gap-xs);
|
|
25
25
|
}
|
|
26
|
-
.picker-
|
|
26
|
+
.picker-button__optionsListContainer_ajxe0 {
|
|
27
27
|
border-radius: var(--border-radius-s);
|
|
28
28
|
}
|
|
29
|
-
.picker-
|
|
29
|
+
.picker-button__option_ajxe0 {
|
|
30
30
|
padding: 0 var(--gap-m);
|
|
31
31
|
}
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import 'classnames';
|
|
3
|
-
import '@alfalab/core-components-select/
|
|
4
|
-
import '@alfalab/core-components-button/
|
|
3
|
+
import '@alfalab/core-components-select/modern';
|
|
4
|
+
import '@alfalab/core-components-button/modern';
|
|
5
5
|
import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
6
6
|
import '@alfalab/icons-glyph/ChevronDownCompactSIcon';
|
|
7
7
|
import '@alfalab/icons-glyph/MoreMIcon';
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Option as Option$1 } from '@alfalab/core-components-select/
|
|
2
|
+
import { Option as Option$1 } from '@alfalab/core-components-select/modern';
|
|
3
3
|
|
|
4
|
-
var styles = {"container":"picker-
|
|
4
|
+
var styles = {"container":"picker-button__container_17hbn","icon":"picker-button__icon_17hbn","content":"picker-button__content_17hbn"};
|
|
5
5
|
require('./index.css')
|
|
6
6
|
|
|
7
7
|
const Option = ({ option, children, ...restProps }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: t2c14 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
:root {
|
|
11
11
|
--gap-s: 12px;
|
|
12
12
|
}
|
|
13
|
-
.picker-
|
|
13
|
+
.picker-button__container_17hbn {
|
|
14
14
|
display: flex;
|
|
15
15
|
align-items: center;
|
|
16
16
|
}
|
|
17
|
-
.picker-
|
|
17
|
+
.picker-button__icon_17hbn {
|
|
18
18
|
display: flex;
|
|
19
19
|
margin-right: var(--gap-s);
|
|
20
20
|
}
|
|
21
|
-
.picker-
|
|
21
|
+
.picker-button__content_17hbn {
|
|
22
22
|
overflow: hidden;
|
|
23
23
|
flex: 1;
|
|
24
24
|
text-overflow: ellipsis;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../tslib.es6-b40c407e.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var coreComponentsSelect = require('@alfalab/core-components-select');
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
10
10
|
|
|
11
11
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
12
12
|
|
|
13
|
-
var styles = {"container":"picker-
|
|
13
|
+
var styles = {"container":"picker-button__container_17hbn","icon":"picker-button__icon_17hbn","content":"picker-button__content_17hbn"};
|
|
14
14
|
require('./index.css')
|
|
15
15
|
|
|
16
16
|
var Option = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: t2c14 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
:root {
|
|
11
11
|
--gap-s: 12px;
|
|
12
12
|
}
|
|
13
|
-
.picker-
|
|
13
|
+
.picker-button__container_17hbn {
|
|
14
14
|
display: flex;
|
|
15
15
|
align-items: center;
|
|
16
16
|
}
|
|
17
|
-
.picker-
|
|
17
|
+
.picker-button__icon_17hbn {
|
|
18
18
|
display: flex;
|
|
19
19
|
margin-right: var(--gap-s);
|
|
20
20
|
}
|
|
21
|
-
.picker-
|
|
21
|
+
.picker-button__content_17hbn {
|
|
22
22
|
overflow: hidden;
|
|
23
23
|
flex: 1;
|
|
24
24
|
text-overflow: ellipsis;
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,29 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-picker-button",
|
|
3
|
-
"version": "7.10.
|
|
3
|
+
"version": "7.10.8",
|
|
4
4
|
"description": "Picker button component",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
7
|
-
"main": "
|
|
8
|
-
"files": [
|
|
9
|
-
"dist"
|
|
10
|
-
],
|
|
7
|
+
"main": "index.js",
|
|
11
8
|
"scripts": {
|
|
12
|
-
"postinstall": "node ./
|
|
9
|
+
"postinstall": "node -e \"if (require('fs').existsSync('./send-stats.js')){require('./send-stats.js')} \""
|
|
13
10
|
},
|
|
14
11
|
"publishConfig": {
|
|
15
|
-
"access": "public"
|
|
12
|
+
"access": "public",
|
|
13
|
+
"directory": "dist"
|
|
16
14
|
},
|
|
17
15
|
"peerDependencies": {
|
|
18
16
|
"react": "^16.9.0 || ^17.0.1",
|
|
19
17
|
"react-dom": "^16.9.0 || ^17.0.1"
|
|
20
18
|
},
|
|
21
19
|
"dependencies": {
|
|
22
|
-
"@alfalab/core-components-button": "^5.2.
|
|
23
|
-
"@alfalab/core-components-select": "^10.12.
|
|
20
|
+
"@alfalab/core-components-button": "^5.2.3",
|
|
21
|
+
"@alfalab/core-components-select": "^10.12.8",
|
|
24
22
|
"@alfalab/icons-classic": "^1.76.0",
|
|
25
23
|
"@alfalab/icons-glyph": "^2.16.0",
|
|
26
24
|
"classnames": "^2.2.6"
|
|
27
|
-
}
|
|
28
|
-
"gitHead": "5e9a6d31c954aeb2548cecfebc88c1bcab1313a0"
|
|
25
|
+
}
|
|
29
26
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/esm/option/index.js
DELETED