@alfalab/core-components-picker-button 7.1.0 → 7.1.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 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.1.1](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-picker-button@7.1.0...@alfalab/core-components-picker-button@7.1.1) (2021-12-08)
7
+
8
+ **Note:** Version bump only for package @alfalab/core-components-picker-button
9
+
10
+
11
+
12
+
13
+
6
14
  # [7.1.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-picker-button@7.0.0...@alfalab/core-components-picker-button@7.1.0) (2021-12-01)
7
15
 
8
16
 
@@ -50,7 +50,7 @@ function __rest(s, e) {
50
50
  return t;
51
51
  }
52
52
 
53
- var styles = {"iconContainer":"picker-button__iconContainer_i8apw","open":"picker-button__open_i8apw"};
53
+ var styles = {"iconContainer":"picker-button__iconContainer_19ca1","open":"picker-button__open_19ca1"};
54
54
  require('./field/index.css')
55
55
 
56
56
  var Field = function (_a) {
@@ -9,7 +9,7 @@ type PickerButtonProps = Omit<BaseSelectProps, 'Field' | 'placeholder' | 'Arrow'
9
9
  */
10
10
  size?: PickerButtonSize;
11
11
  };
12
- declare const PickerButton: React.ForwardRefExoticComponent<Pick<BaseSelectProps, "className" | "dataTestId" | "label" | "block" | "id" | "onBlur" | "onChange" | "onScroll" | "disabled" | "name" | "fieldClassName" | "error" | "preventFlip" | "open" | "options" | "valueRenderer" | "Optgroup" | "visibleOptions" | "Option" | "optionsListClassName" | "optionClassName" | "circularNavigation" | "nativeSelect" | "defaultOpen" | "popoverPosition" | "optionsListWidth" | "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" | "loading"> & {
12
+ declare const PickerButton: React.ForwardRefExoticComponent<Pick<BaseSelectProps, "className" | "dataTestId" | "label" | "block" | "id" | "onBlur" | "onChange" | "onScroll" | "disabled" | "name" | "preventFlip" | "open" | "options" | "fieldClassName" | "error" | "valueRenderer" | "Optgroup" | "visibleOptions" | "Option" | "optionsListClassName" | "optionClassName" | "circularNavigation" | "nativeSelect" | "defaultOpen" | "popoverPosition" | "optionsListWidth" | "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" | "loading"> & {
13
13
  /**
14
14
  * Размер кнопки
15
15
  */
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-229467cd.js');
5
+ var field_Component = require('./Component-9a3d00b9.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-button__container_1j8h9"};
18
+ var styles = {"container":"picker-button__container_1im51"};
19
19
  require('./index.css')
20
20
 
21
21
  var PickerButton = React.forwardRef(function (_a, ref) {
@@ -43,7 +43,7 @@ function __rest(s, e) {
43
43
  return t;
44
44
  }
45
45
 
46
- var styles = {"iconContainer":"picker-button__iconContainer_i8apw","open":"picker-button__open_i8apw"};
46
+ var styles = {"iconContainer":"picker-button__iconContainer_19ca1","open":"picker-button__open_19ca1"};
47
47
  require('./field/index.css')
48
48
 
49
49
  var Field = function (_a) {
@@ -1,4 +1,4 @@
1
- import { _ as __rest, a as __assign, F as Field } from './Component-47d7d9e9.js';
1
+ import { _ as __rest, a as __assign, F as Field } from './Component-472f5680.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-button__container_1j8h9"};
9
+ var styles = {"container":"picker-button__container_1im51"};
10
10
  require('./index.css')
11
11
 
12
12
  var PickerButton = forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- export { F as Field } from '../Component-47d7d9e9.js';
1
+ export { F as Field } from '../Component-472f5680.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/core-components-button/dist/esm';
@@ -1,4 +1,4 @@
1
- /* hash: s1xlr */
1
+ /* hash: 10pv6 */
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-button__iconContainer_i8apw {
13
+ .picker-button__iconContainer_19ca1 {
14
14
  display: flex;
15
15
  transition: transform 0.15s ease-in-out;
16
16
  }
17
- .picker-button__open_i8apw {
17
+ .picker-button__open_19ca1 {
18
18
  transform: var(--arrow-transform);
19
19
  }
@@ -1 +1 @@
1
- export * from "../Component-47d7d9e9";
1
+ export * from "../Component-472f5680";
@@ -1,4 +1,4 @@
1
- export { F as Field } from '../Component-47d7d9e9.js';
1
+ export { F as Field } from '../Component-472f5680.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/core-components-button/dist/esm';
@@ -1,4 +1,4 @@
1
- /* hash: qs9eo */
2
- .picker-button__container_1j8h9 {
1
+ /* hash: 1gnob */
2
+ .picker-button__container_1im51 {
3
3
  min-width: auto;
4
4
  }
package/dist/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import './Component-47d7d9e9.js';
1
+ import './Component-472f5680.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/core-components-select/dist/esm';
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var field_Component = require('../Component-229467cd.js');
5
+ var field_Component = require('../Component-9a3d00b9.js');
6
6
  require('react');
7
7
  require('classnames');
8
8
  require('@alfalab/core-components-button');
@@ -1,4 +1,4 @@
1
- /* hash: s1xlr */
1
+ /* hash: 10pv6 */
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-button__iconContainer_i8apw {
13
+ .picker-button__iconContainer_19ca1 {
14
14
  display: flex;
15
15
  transition: transform 0.15s ease-in-out;
16
16
  }
17
- .picker-button__open_i8apw {
17
+ .picker-button__open_19ca1 {
18
18
  transform: var(--arrow-transform);
19
19
  }
@@ -1 +1 @@
1
- export * from "../Component-229467cd";
1
+ export * from "../Component-9a3d00b9";
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var field_Component = require('../Component-229467cd.js');
5
+ var field_Component = require('../Component-9a3d00b9.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: qs9eo */
2
- .picker-button__container_1j8h9 {
1
+ /* hash: 1gnob */
2
+ .picker-button__container_1im51 {
3
3
  min-width: auto;
4
4
  }
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./Component-229467cd.js');
5
+ require('./Component-9a3d00b9.js');
6
6
  require('react');
7
7
  require('classnames');
8
8
  require('@alfalab/core-components-select');
@@ -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-button__container_1j8h9"};
9
+ var styles = {"container":"picker-button__container_1im51"};
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-button__iconContainer_i8apw","open":"picker-button__open_i8apw"};
7
+ var styles = {"iconContainer":"picker-button__iconContainer_19ca1","open":"picker-button__open_19ca1"};
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: s1xlr */
1
+ /* hash: 10pv6 */
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-button__iconContainer_i8apw {
13
+ .picker-button__iconContainer_19ca1 {
14
14
  display: flex;
15
15
  transition: transform 0.15s ease-in-out;
16
16
  }
17
- .picker-button__open_i8apw {
17
+ .picker-button__open_19ca1 {
18
18
  transform: var(--arrow-transform);
19
19
  }
@@ -1,4 +1,4 @@
1
- /* hash: qs9eo */
2
- .picker-button__container_1j8h9 {
1
+ /* hash: 1gnob */
2
+ .picker-button__container_1im51 {
3
3
  min-width: auto;
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-picker-button",
3
- "version": "7.1.0",
3
+ "version": "7.1.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.0",
23
- "@alfalab/core-components-select": "^10.2.0",
22
+ "@alfalab/core-components-button": "^5.0.1",
23
+ "@alfalab/core-components-select": "^10.2.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": "43754f9b8715fe0bd1c0829be9304d78dd923481"
28
+ "gitHead": "19a2d088b6c18a127940199cfd6e6fc4e8639ec5"
29
29
  }