@alfalab/core-components-picker-button 10.3.2 → 10.3.3
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/Component.js +2 -2
- package/Component.mobile.js +1 -1
- package/Component.responsive.js +1 -1
- package/desktop.js +1 -1
- package/esm/Component.js +2 -2
- package/esm/Component.mobile.js +1 -1
- package/esm/Component.responsive.js +1 -1
- package/esm/desktop.js +1 -1
- package/esm/field/Component.js +2 -2
- package/esm/field/index.css +5 -5
- package/esm/field/index.js +1 -1
- package/esm/index.css +7 -7
- package/esm/index.js +1 -1
- package/esm/mobile.js +1 -1
- package/esm/option/Component.js +2 -2
- package/esm/option/index.css +4 -4
- package/esm/option/index.js +1 -1
- package/esm/responsive.js +1 -1
- package/esm/{tslib.es6-59f92104.d.ts → tslib.es6-ebff0dba.d.ts} +0 -0
- package/esm/{tslib.es6-59f92104.js → tslib.es6-ebff0dba.js} +0 -0
- package/field/Component.js +2 -2
- package/field/index.css +5 -5
- package/field/index.js +1 -1
- package/index.css +7 -7
- package/index.js +1 -1
- package/mobile.js +1 -1
- package/modern/Component.js +1 -1
- package/modern/field/Component.js +1 -1
- package/modern/field/index.css +5 -5
- package/modern/index.css +7 -7
- package/modern/option/Component.js +1 -1
- package/modern/option/index.css +4 -4
- package/option/Component.js +2 -2
- package/option/index.css +4 -4
- package/option/index.js +1 -1
- package/package.json +2 -2
- package/responsive.js +1 -1
- /package/{tslib.es6-e13a9b15.d.ts → tslib.es6-59eeb8c3.d.ts} +0 -0
- /package/{tslib.es6-e13a9b15.js → tslib.es6-59eeb8c3.js} +0 -0
package/Component.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-59eeb8c3.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var cn = require('classnames');
|
|
6
6
|
var coreComponentsSelect = require('@alfalab/core-components-select');
|
|
@@ -18,7 +18,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
18
18
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
19
19
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
20
20
|
|
|
21
|
-
var styles = {"container":"picker-
|
|
21
|
+
var styles = {"container":"picker-button__container_1haon","optionsPopover":"picker-button__optionsPopover_1haon","sideGap":"picker-button__sideGap_1haon","optionsListContainer":"picker-button__optionsListContainer_1haon","option":"picker-button__option_1haon"};
|
|
22
22
|
require('./index.css')
|
|
23
23
|
|
|
24
24
|
var SIDE_POSITIONS = ['right', 'right-start', 'right-end', 'left', 'left-start', 'left-end'];
|
package/Component.mobile.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-59eeb8c3.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var coreComponentsSelect = require('@alfalab/core-components-select');
|
|
6
6
|
var field_Component = require('./field/Component.js');
|
package/Component.responsive.js
CHANGED
package/desktop.js
CHANGED
package/esm/Component.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from './tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from './tslib.es6-ebff0dba.js';
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { BaseSelect, OptionsList, Optgroup } from '@alfalab/core-components-select/esm';
|
|
@@ -11,7 +11,7 @@ import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
|
11
11
|
import '@alfalab/icons-glyph/MoreMIcon';
|
|
12
12
|
import '@alfalab/icons-glyph/MoreSIcon';
|
|
13
13
|
|
|
14
|
-
var styles = {"container":"picker-
|
|
14
|
+
var styles = {"container":"picker-button__container_1haon","optionsPopover":"picker-button__optionsPopover_1haon","sideGap":"picker-button__sideGap_1haon","optionsListContainer":"picker-button__optionsListContainer_1haon","option":"picker-button__option_1haon"};
|
|
15
15
|
require('./index.css')
|
|
16
16
|
|
|
17
17
|
var SIDE_POSITIONS = ['right', 'right-start', 'right-end', 'left', 'left-start', 'left-end'];
|
package/esm/Component.mobile.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from './tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from './tslib.es6-ebff0dba.js';
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
3
|
import { SelectMobile, Optgroup } from '@alfalab/core-components-select/esm';
|
|
4
4
|
import { Field } from './field/Component.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from './tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from './tslib.es6-ebff0dba.js';
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
3
|
import { useMedia } from '@alfalab/hooks';
|
|
4
4
|
import { PickerButtonDesktop } from './Component.js';
|
package/esm/desktop.js
CHANGED
package/esm/field/Component.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../tslib.es6-ebff0dba.js';
|
|
2
2
|
import React, { Fragment } from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { Button } from '@alfalab/core-components-button/esm';
|
|
@@ -8,7 +8,7 @@ import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
|
8
8
|
import '@alfalab/icons-glyph/MoreMIcon';
|
|
9
9
|
import '@alfalab/icons-glyph/MoreSIcon';
|
|
10
10
|
|
|
11
|
-
var styles = {"iconContainer":"picker-
|
|
11
|
+
var styles = {"iconContainer":"picker-button__iconContainer_1043d","addonsContainer":"picker-button__addonsContainer_1043d","showControlIcon":"picker-button__showControlIcon_1043d","open":"picker-button__open_1043d"};
|
|
12
12
|
require('./index.css')
|
|
13
13
|
|
|
14
14
|
var Field = function (_a) {
|
package/esm/field/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1oqny */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
:root {
|
|
14
14
|
--arrow-transform: rotate(180deg);
|
|
15
15
|
}
|
|
16
|
-
.picker-
|
|
16
|
+
.picker-button__iconContainer_1043d {
|
|
17
17
|
display: flex;
|
|
18
18
|
transition: transform 0.15s ease-in-out;
|
|
19
19
|
}
|
|
20
|
-
.picker-
|
|
20
|
+
.picker-button__addonsContainer_1043d {
|
|
21
21
|
display: flex
|
|
22
22
|
}
|
|
23
|
-
.picker-
|
|
23
|
+
.picker-button__addonsContainer_1043d.picker-button__showControlIcon_1043d {
|
|
24
24
|
margin-right: var(--gap-2xs);
|
|
25
25
|
}
|
|
26
|
-
.picker-
|
|
26
|
+
.picker-button__open_1043d {
|
|
27
27
|
transform: var(--arrow-transform);
|
|
28
28
|
}
|
package/esm/field/index.js
CHANGED
package/esm/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1b2r3 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -15,22 +15,22 @@
|
|
|
15
15
|
:root {
|
|
16
16
|
--border-radius-m: 8px;
|
|
17
17
|
}
|
|
18
|
-
.picker-
|
|
18
|
+
.picker-button__container_1haon {
|
|
19
19
|
min-width: auto;
|
|
20
20
|
}
|
|
21
|
-
.cc-picker-button.picker-
|
|
21
|
+
.cc-picker-button.picker-button__optionsPopover_1haon {
|
|
22
22
|
padding: var(--gap-2xs) 0
|
|
23
23
|
}
|
|
24
|
-
.cc-picker-button.picker-
|
|
24
|
+
.cc-picker-button.picker-button__optionsPopover_1haon.picker-button__sideGap_1haon {
|
|
25
25
|
padding: 0 var(--gap-xs);
|
|
26
26
|
}
|
|
27
|
-
.cc-picker-button .picker-
|
|
27
|
+
.cc-picker-button .picker-button__optionsListContainer_1haon {
|
|
28
28
|
border-radius: var(--border-radius-m);
|
|
29
29
|
}
|
|
30
|
-
.cc-picker-button .picker-
|
|
30
|
+
.cc-picker-button .picker-button__option_1haon {
|
|
31
31
|
padding: 0 var(--gap-m)
|
|
32
32
|
}
|
|
33
|
-
.cc-picker-button .picker-
|
|
33
|
+
.cc-picker-button .picker-button__option_1haon:before {
|
|
34
34
|
/* Удаляем разделители у опций выпадающего списка. */
|
|
35
35
|
display: none;
|
|
36
36
|
}
|
package/esm/index.js
CHANGED
package/esm/mobile.js
CHANGED
package/esm/option/Component.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../tslib.es6-ebff0dba.js';
|
|
2
2
|
import React from 'react';
|
|
3
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_9x8t0","icon":"picker-button__icon_9x8t0","content":"picker-button__content_9x8t0"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
var Option = function (_a) {
|
package/esm/option/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: p8ifb */
|
|
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_9x8t0 {
|
|
14
14
|
display: flex;
|
|
15
15
|
align-items: center;
|
|
16
16
|
}
|
|
17
|
-
.picker-
|
|
17
|
+
.picker-button__icon_9x8t0 {
|
|
18
18
|
display: flex;
|
|
19
19
|
margin-right: var(--gap-s);
|
|
20
20
|
}
|
|
21
|
-
.picker-
|
|
21
|
+
.picker-button__content_9x8t0 {
|
|
22
22
|
overflow: hidden;
|
|
23
23
|
flex: 1;
|
|
24
24
|
text-overflow: ellipsis;
|
package/esm/option/index.js
CHANGED
package/esm/responsive.js
CHANGED
|
File without changes
|
|
File without changes
|
package/field/Component.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('../tslib.es6-
|
|
3
|
+
var tslib_es6 = require('../tslib.es6-59eeb8c3.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var cn = require('classnames');
|
|
6
6
|
var coreComponentsButton = require('@alfalab/core-components-button');
|
|
@@ -15,7 +15,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
15
15
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
16
16
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
17
17
|
|
|
18
|
-
var styles = {"iconContainer":"picker-
|
|
18
|
+
var styles = {"iconContainer":"picker-button__iconContainer_1043d","addonsContainer":"picker-button__addonsContainer_1043d","showControlIcon":"picker-button__showControlIcon_1043d","open":"picker-button__open_1043d"};
|
|
19
19
|
require('./index.css')
|
|
20
20
|
|
|
21
21
|
var Field = function (_a) {
|
package/field/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1oqny */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
:root {
|
|
14
14
|
--arrow-transform: rotate(180deg);
|
|
15
15
|
}
|
|
16
|
-
.picker-
|
|
16
|
+
.picker-button__iconContainer_1043d {
|
|
17
17
|
display: flex;
|
|
18
18
|
transition: transform 0.15s ease-in-out;
|
|
19
19
|
}
|
|
20
|
-
.picker-
|
|
20
|
+
.picker-button__addonsContainer_1043d {
|
|
21
21
|
display: flex
|
|
22
22
|
}
|
|
23
|
-
.picker-
|
|
23
|
+
.picker-button__addonsContainer_1043d.picker-button__showControlIcon_1043d {
|
|
24
24
|
margin-right: var(--gap-2xs);
|
|
25
25
|
}
|
|
26
|
-
.picker-
|
|
26
|
+
.picker-button__open_1043d {
|
|
27
27
|
transform: var(--arrow-transform);
|
|
28
28
|
}
|
package/field/index.js
CHANGED
package/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1b2r3 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -15,22 +15,22 @@
|
|
|
15
15
|
:root {
|
|
16
16
|
--border-radius-m: 8px;
|
|
17
17
|
}
|
|
18
|
-
.picker-
|
|
18
|
+
.picker-button__container_1haon {
|
|
19
19
|
min-width: auto;
|
|
20
20
|
}
|
|
21
|
-
.cc-picker-button.picker-
|
|
21
|
+
.cc-picker-button.picker-button__optionsPopover_1haon {
|
|
22
22
|
padding: var(--gap-2xs) 0
|
|
23
23
|
}
|
|
24
|
-
.cc-picker-button.picker-
|
|
24
|
+
.cc-picker-button.picker-button__optionsPopover_1haon.picker-button__sideGap_1haon {
|
|
25
25
|
padding: 0 var(--gap-xs);
|
|
26
26
|
}
|
|
27
|
-
.cc-picker-button .picker-
|
|
27
|
+
.cc-picker-button .picker-button__optionsListContainer_1haon {
|
|
28
28
|
border-radius: var(--border-radius-m);
|
|
29
29
|
}
|
|
30
|
-
.cc-picker-button .picker-
|
|
30
|
+
.cc-picker-button .picker-button__option_1haon {
|
|
31
31
|
padding: 0 var(--gap-m)
|
|
32
32
|
}
|
|
33
|
-
.cc-picker-button .picker-
|
|
33
|
+
.cc-picker-button .picker-button__option_1haon:before {
|
|
34
34
|
/* Удаляем разделители у опций выпадающего списка. */
|
|
35
35
|
display: none;
|
|
36
36
|
}
|
package/index.js
CHANGED
package/mobile.js
CHANGED
package/modern/Component.js
CHANGED
|
@@ -10,7 +10,7 @@ import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
|
10
10
|
import '@alfalab/icons-glyph/MoreMIcon';
|
|
11
11
|
import '@alfalab/icons-glyph/MoreSIcon';
|
|
12
12
|
|
|
13
|
-
const styles = {"container":"picker-
|
|
13
|
+
const styles = {"container":"picker-button__container_1haon","optionsPopover":"picker-button__optionsPopover_1haon","sideGap":"picker-button__sideGap_1haon","optionsListContainer":"picker-button__optionsListContainer_1haon","option":"picker-button__option_1haon"};
|
|
14
14
|
require('./index.css')
|
|
15
15
|
|
|
16
16
|
const SIDE_POSITIONS = ['right', 'right-start', 'right-end', 'left', 'left-start', 'left-end'];
|
|
@@ -7,7 +7,7 @@ import '@alfalab/icons-glyph/ChevronDownMIcon';
|
|
|
7
7
|
import '@alfalab/icons-glyph/MoreMIcon';
|
|
8
8
|
import '@alfalab/icons-glyph/MoreSIcon';
|
|
9
9
|
|
|
10
|
-
const styles = {"iconContainer":"picker-
|
|
10
|
+
const styles = {"iconContainer":"picker-button__iconContainer_1043d","addonsContainer":"picker-button__addonsContainer_1043d","showControlIcon":"picker-button__showControlIcon_1043d","open":"picker-button__open_1043d"};
|
|
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, setSelectedItems, toggleMenu, valueRenderer, showArrow = true, ...restProps }) => {
|
package/modern/field/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1oqny */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
:root {
|
|
14
14
|
--arrow-transform: rotate(180deg);
|
|
15
15
|
}
|
|
16
|
-
.picker-
|
|
16
|
+
.picker-button__iconContainer_1043d {
|
|
17
17
|
display: flex;
|
|
18
18
|
transition: transform 0.15s ease-in-out;
|
|
19
19
|
}
|
|
20
|
-
.picker-
|
|
20
|
+
.picker-button__addonsContainer_1043d {
|
|
21
21
|
display: flex
|
|
22
22
|
}
|
|
23
|
-
.picker-
|
|
23
|
+
.picker-button__addonsContainer_1043d.picker-button__showControlIcon_1043d {
|
|
24
24
|
margin-right: var(--gap-2xs);
|
|
25
25
|
}
|
|
26
|
-
.picker-
|
|
26
|
+
.picker-button__open_1043d {
|
|
27
27
|
transform: var(--arrow-transform);
|
|
28
28
|
}
|
package/modern/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1b2r3 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -15,22 +15,22 @@
|
|
|
15
15
|
:root {
|
|
16
16
|
--border-radius-m: 8px;
|
|
17
17
|
}
|
|
18
|
-
.picker-
|
|
18
|
+
.picker-button__container_1haon {
|
|
19
19
|
min-width: auto;
|
|
20
20
|
}
|
|
21
|
-
.cc-picker-button.picker-
|
|
21
|
+
.cc-picker-button.picker-button__optionsPopover_1haon {
|
|
22
22
|
padding: var(--gap-2xs) 0
|
|
23
23
|
}
|
|
24
|
-
.cc-picker-button.picker-
|
|
24
|
+
.cc-picker-button.picker-button__optionsPopover_1haon.picker-button__sideGap_1haon {
|
|
25
25
|
padding: 0 var(--gap-xs);
|
|
26
26
|
}
|
|
27
|
-
.cc-picker-button .picker-
|
|
27
|
+
.cc-picker-button .picker-button__optionsListContainer_1haon {
|
|
28
28
|
border-radius: var(--border-radius-m);
|
|
29
29
|
}
|
|
30
|
-
.cc-picker-button .picker-
|
|
30
|
+
.cc-picker-button .picker-button__option_1haon {
|
|
31
31
|
padding: 0 var(--gap-m)
|
|
32
32
|
}
|
|
33
|
-
.cc-picker-button .picker-
|
|
33
|
+
.cc-picker-button .picker-button__option_1haon:before {
|
|
34
34
|
/* Удаляем разделители у опций выпадающего списка. */
|
|
35
35
|
display: none;
|
|
36
36
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Option as Option$1 } from '@alfalab/core-components-select/modern';
|
|
3
3
|
|
|
4
|
-
const styles = {"container":"picker-
|
|
4
|
+
const styles = {"container":"picker-button__container_9x8t0","icon":"picker-button__icon_9x8t0","content":"picker-button__content_9x8t0"};
|
|
5
5
|
require('./index.css')
|
|
6
6
|
|
|
7
7
|
const Option = ({ option, children, ...restProps }) => {
|
package/modern/option/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: p8ifb */
|
|
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_9x8t0 {
|
|
14
14
|
display: flex;
|
|
15
15
|
align-items: center;
|
|
16
16
|
}
|
|
17
|
-
.picker-
|
|
17
|
+
.picker-button__icon_9x8t0 {
|
|
18
18
|
display: flex;
|
|
19
19
|
margin-right: var(--gap-s);
|
|
20
20
|
}
|
|
21
|
-
.picker-
|
|
21
|
+
.picker-button__content_9x8t0 {
|
|
22
22
|
overflow: hidden;
|
|
23
23
|
flex: 1;
|
|
24
24
|
text-overflow: ellipsis;
|
package/option/Component.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('../tslib.es6-
|
|
3
|
+
var tslib_es6 = require('../tslib.es6-59eeb8c3.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var coreComponentsSelect = require('@alfalab/core-components-select');
|
|
6
6
|
|
|
@@ -8,7 +8,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
8
8
|
|
|
9
9
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
10
10
|
|
|
11
|
-
var styles = {"container":"picker-
|
|
11
|
+
var styles = {"container":"picker-button__container_9x8t0","icon":"picker-button__icon_9x8t0","content":"picker-button__content_9x8t0"};
|
|
12
12
|
require('./index.css')
|
|
13
13
|
|
|
14
14
|
var Option = function (_a) {
|
package/option/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: p8ifb */
|
|
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_9x8t0 {
|
|
14
14
|
display: flex;
|
|
15
15
|
align-items: center;
|
|
16
16
|
}
|
|
17
|
-
.picker-
|
|
17
|
+
.picker-button__icon_9x8t0 {
|
|
18
18
|
display: flex;
|
|
19
19
|
margin-right: var(--gap-s);
|
|
20
20
|
}
|
|
21
|
-
.picker-
|
|
21
|
+
.picker-button__content_9x8t0 {
|
|
22
22
|
overflow: hidden;
|
|
23
23
|
flex: 1;
|
|
24
24
|
text-overflow: ellipsis;
|
package/option/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-picker-button",
|
|
3
|
-
"version": "10.3.
|
|
3
|
+
"version": "10.3.3",
|
|
4
4
|
"description": "Picker button component",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@alfalab/core-components-button": "^7.0.3",
|
|
22
|
-
"@alfalab/core-components-select": "^13.2.
|
|
22
|
+
"@alfalab/core-components-select": "^13.2.8",
|
|
23
23
|
"@alfalab/icons-classic": "^2.3.0",
|
|
24
24
|
"@alfalab/icons-glyph": "^2.89.0",
|
|
25
25
|
"classnames": "^2.3.1"
|
package/responsive.js
CHANGED
|
File without changes
|
|
File without changes
|