@alfalab/core-components-custom-picker-button 2.1.8 → 2.1.10
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.responsive.js +0 -6
- package/cssm/Component.responsive.js +0 -7
- package/cssm/desktop/Component.desktop.js +0 -4
- package/cssm/desktop/index.js +0 -8
- package/cssm/field/index.js +0 -6
- package/cssm/index.js +0 -12
- package/cssm/mobile/Component.mobile.js +0 -4
- package/cssm/mobile/index.js +0 -8
- package/desktop/Component.desktop.js +0 -3
- package/desktop/index.js +0 -7
- package/esm/Component.responsive.js +0 -6
- package/esm/desktop/Component.desktop.js +0 -3
- package/esm/desktop/index.js +0 -7
- package/esm/field/Component.js +1 -1
- package/esm/field/index.css +5 -5
- package/esm/field/index.js +0 -5
- package/esm/index.js +0 -11
- package/esm/mobile/Component.mobile.js +0 -3
- package/esm/mobile/index.js +0 -7
- package/field/Component.js +1 -1
- package/field/index.css +5 -5
- package/field/index.js +0 -5
- package/index.js +0 -11
- package/mobile/Component.mobile.js +0 -3
- package/mobile/index.js +0 -7
- package/modern/Component.responsive.js +0 -6
- package/modern/desktop/Component.desktop.js +0 -3
- package/modern/desktop/index.js +0 -6
- package/modern/field/Component.js +1 -1
- package/modern/field/index.css +5 -5
- package/modern/field/index.js +0 -4
- package/modern/index.js +0 -10
- package/modern/mobile/Component.mobile.js +0 -3
- package/modern/mobile/index.js +0 -6
- package/package.json +4 -4
package/Component.responsive.js
CHANGED
|
@@ -7,12 +7,6 @@ var React = require('react');
|
|
|
7
7
|
var coreComponentsMq = require('@alfalab/core-components-mq');
|
|
8
8
|
var desktop_Component_desktop = require('./desktop/Component.desktop.js');
|
|
9
9
|
var mobile_Component_mobile = require('./mobile/Component.mobile.js');
|
|
10
|
-
require('@alfalab/core-components-picker-button/desktop');
|
|
11
|
-
require('./field/Component.js');
|
|
12
|
-
require('classnames');
|
|
13
|
-
require('@alfalab/core-components-custom-button');
|
|
14
|
-
require('@alfalab/core-components-picker-button/shared');
|
|
15
|
-
require('@alfalab/core-components-picker-button/mobile');
|
|
16
10
|
|
|
17
11
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
18
12
|
|
|
@@ -7,13 +7,6 @@ var React = require('react');
|
|
|
7
7
|
var coreComponentsMq = require('@alfalab/core-components-mq/cssm');
|
|
8
8
|
var desktop_Component_desktop = require('./desktop/Component.desktop.js');
|
|
9
9
|
var mobile_Component_mobile = require('./mobile/Component.mobile.js');
|
|
10
|
-
require('@alfalab/core-components-picker-button/cssm/desktop');
|
|
11
|
-
require('./field/Component.js');
|
|
12
|
-
require('classnames');
|
|
13
|
-
require('@alfalab/core-components-custom-button/cssm');
|
|
14
|
-
require('@alfalab/core-components-picker-button/cssm/shared');
|
|
15
|
-
require('./field/index.module.css');
|
|
16
|
-
require('@alfalab/core-components-picker-button/cssm/mobile');
|
|
17
10
|
|
|
18
11
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
19
12
|
|
|
@@ -6,10 +6,6 @@ var tslib = require('tslib');
|
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var desktop = require('@alfalab/core-components-picker-button/cssm/desktop');
|
|
8
8
|
var field_Component = require('../field/Component.js');
|
|
9
|
-
require('classnames');
|
|
10
|
-
require('@alfalab/core-components-custom-button/cssm');
|
|
11
|
-
require('@alfalab/core-components-picker-button/cssm/shared');
|
|
12
|
-
require('../field/index.module.css');
|
|
13
9
|
|
|
14
10
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
15
11
|
|
package/cssm/desktop/index.js
CHANGED
|
@@ -3,14 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var desktop_Component_desktop = require('./Component.desktop.js');
|
|
6
|
-
require('tslib');
|
|
7
|
-
require('react');
|
|
8
|
-
require('@alfalab/core-components-picker-button/cssm/desktop');
|
|
9
|
-
require('../field/Component.js');
|
|
10
|
-
require('classnames');
|
|
11
|
-
require('@alfalab/core-components-custom-button/cssm');
|
|
12
|
-
require('@alfalab/core-components-picker-button/cssm/shared');
|
|
13
|
-
require('../field/index.module.css');
|
|
14
6
|
|
|
15
7
|
|
|
16
8
|
|
package/cssm/field/index.js
CHANGED
|
@@ -3,12 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var field_Component = require('./Component.js');
|
|
6
|
-
require('tslib');
|
|
7
|
-
require('react');
|
|
8
|
-
require('classnames');
|
|
9
|
-
require('@alfalab/core-components-custom-button/cssm');
|
|
10
|
-
require('@alfalab/core-components-picker-button/cssm/shared');
|
|
11
|
-
require('./index.module.css');
|
|
12
6
|
|
|
13
7
|
|
|
14
8
|
|
package/cssm/index.js
CHANGED
|
@@ -3,18 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var Component_responsive = require('./Component.responsive.js');
|
|
6
|
-
require('tslib');
|
|
7
|
-
require('react');
|
|
8
|
-
require('@alfalab/core-components-mq/cssm');
|
|
9
|
-
require('./desktop/Component.desktop.js');
|
|
10
|
-
require('@alfalab/core-components-picker-button/cssm/desktop');
|
|
11
|
-
require('./field/Component.js');
|
|
12
|
-
require('classnames');
|
|
13
|
-
require('@alfalab/core-components-custom-button/cssm');
|
|
14
|
-
require('@alfalab/core-components-picker-button/cssm/shared');
|
|
15
|
-
require('./field/index.module.css');
|
|
16
|
-
require('./mobile/Component.mobile.js');
|
|
17
|
-
require('@alfalab/core-components-picker-button/cssm/mobile');
|
|
18
6
|
|
|
19
7
|
|
|
20
8
|
|
|
@@ -6,10 +6,6 @@ var tslib = require('tslib');
|
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var mobile = require('@alfalab/core-components-picker-button/cssm/mobile');
|
|
8
8
|
var field_Component = require('../field/Component.js');
|
|
9
|
-
require('classnames');
|
|
10
|
-
require('@alfalab/core-components-custom-button/cssm');
|
|
11
|
-
require('@alfalab/core-components-picker-button/cssm/shared');
|
|
12
|
-
require('../field/index.module.css');
|
|
13
9
|
|
|
14
10
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
15
11
|
|
package/cssm/mobile/index.js
CHANGED
|
@@ -3,14 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var mobile_Component_mobile = require('./Component.mobile.js');
|
|
6
|
-
require('tslib');
|
|
7
|
-
require('react');
|
|
8
|
-
require('@alfalab/core-components-picker-button/cssm/mobile');
|
|
9
|
-
require('../field/Component.js');
|
|
10
|
-
require('classnames');
|
|
11
|
-
require('@alfalab/core-components-custom-button/cssm');
|
|
12
|
-
require('@alfalab/core-components-picker-button/cssm/shared');
|
|
13
|
-
require('../field/index.module.css');
|
|
14
6
|
|
|
15
7
|
|
|
16
8
|
|
|
@@ -6,9 +6,6 @@ var tslib = require('tslib');
|
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var desktop = require('@alfalab/core-components-picker-button/desktop');
|
|
8
8
|
var field_Component = require('../field/Component.js');
|
|
9
|
-
require('classnames');
|
|
10
|
-
require('@alfalab/core-components-custom-button');
|
|
11
|
-
require('@alfalab/core-components-picker-button/shared');
|
|
12
9
|
|
|
13
10
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
14
11
|
|
package/desktop/index.js
CHANGED
|
@@ -3,13 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var desktop_Component_desktop = require('./Component.desktop.js');
|
|
6
|
-
require('tslib');
|
|
7
|
-
require('react');
|
|
8
|
-
require('@alfalab/core-components-picker-button/desktop');
|
|
9
|
-
require('../field/Component.js');
|
|
10
|
-
require('classnames');
|
|
11
|
-
require('@alfalab/core-components-custom-button');
|
|
12
|
-
require('@alfalab/core-components-picker-button/shared');
|
|
13
6
|
|
|
14
7
|
|
|
15
8
|
|
|
@@ -3,12 +3,6 @@ import React, { forwardRef } from 'react';
|
|
|
3
3
|
import { useMatchMedia } from '@alfalab/core-components-mq/esm';
|
|
4
4
|
import { CustomPickerButtonDesktop } from './desktop/Component.desktop.js';
|
|
5
5
|
import { CustomPickerButtonMobile } from './mobile/Component.mobile.js';
|
|
6
|
-
import '@alfalab/core-components-picker-button/esm/desktop';
|
|
7
|
-
import './field/Component.js';
|
|
8
|
-
import 'classnames';
|
|
9
|
-
import '@alfalab/core-components-custom-button/esm';
|
|
10
|
-
import '@alfalab/core-components-picker-button/esm/shared';
|
|
11
|
-
import '@alfalab/core-components-picker-button/esm/mobile';
|
|
12
6
|
|
|
13
7
|
var CustomPickerButtonResponsive = forwardRef(function (_a, ref) {
|
|
14
8
|
var OptionsList = _a.OptionsList, onScroll = _a.onScroll, footer = _a.footer, swipeable = _a.swipeable, bottomSheetProps = _a.bottomSheetProps, _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, restProps = __rest(_a, ["OptionsList", "onScroll", "footer", "swipeable", "bottomSheetProps", "breakpoint"]);
|
|
@@ -2,9 +2,6 @@ import { __rest, __assign } from 'tslib';
|
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
3
|
import { PickerButtonDesktop } from '@alfalab/core-components-picker-button/esm/desktop';
|
|
4
4
|
import { Field } from '../field/Component.js';
|
|
5
|
-
import 'classnames';
|
|
6
|
-
import '@alfalab/core-components-custom-button/esm';
|
|
7
|
-
import '@alfalab/core-components-picker-button/esm/shared';
|
|
8
5
|
|
|
9
6
|
var DEFAULT_BUTTON_COLOR = '#FF45C3';
|
|
10
7
|
var DEFAULT_CONTENT_COLOR = 'white';
|
package/esm/desktop/index.js
CHANGED
|
@@ -1,8 +1 @@
|
|
|
1
1
|
export { CustomPickerButtonDesktop } from './Component.desktop.js';
|
|
2
|
-
import 'tslib';
|
|
3
|
-
import 'react';
|
|
4
|
-
import '@alfalab/core-components-picker-button/esm/desktop';
|
|
5
|
-
import '../field/Component.js';
|
|
6
|
-
import 'classnames';
|
|
7
|
-
import '@alfalab/core-components-custom-button/esm';
|
|
8
|
-
import '@alfalab/core-components-picker-button/esm/shared';
|
package/esm/field/Component.js
CHANGED
|
@@ -4,7 +4,7 @@ import cn from 'classnames';
|
|
|
4
4
|
import { CustomButton } from '@alfalab/core-components-custom-button/esm';
|
|
5
5
|
import { getIcon } from '@alfalab/core-components-picker-button/esm/shared';
|
|
6
6
|
|
|
7
|
-
var styles = {"iconContainer":"custom-picker-
|
|
7
|
+
var styles = {"iconContainer":"custom-picker-button__iconContainer_197c7","addonsContainer":"custom-picker-button__addonsContainer_197c7","showControlIcon":"custom-picker-button__showControlIcon_197c7","open":"custom-picker-button__open_197c7"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
var Field = function (_a) {
|
package/esm/field/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: wz08e */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
} :root {
|
|
17
17
|
} :root {
|
|
18
18
|
--arrow-transform: rotate(180deg);
|
|
19
|
-
} .custom-picker-
|
|
19
|
+
} .custom-picker-button__iconContainer_197c7 {
|
|
20
20
|
display: flex;
|
|
21
21
|
transition: transform 0.15s ease-in-out;
|
|
22
|
-
} .custom-picker-
|
|
22
|
+
} .custom-picker-button__addonsContainer_197c7 {
|
|
23
23
|
display: flex
|
|
24
|
-
} .custom-picker-
|
|
24
|
+
} .custom-picker-button__addonsContainer_197c7.custom-picker-button__showControlIcon_197c7 {
|
|
25
25
|
margin-right: var(--gap-2xs);
|
|
26
|
-
} .custom-picker-
|
|
26
|
+
} .custom-picker-button__open_197c7 {
|
|
27
27
|
transform: var(--arrow-transform);
|
|
28
28
|
}
|
package/esm/field/index.js
CHANGED
package/esm/index.js
CHANGED
|
@@ -1,12 +1 @@
|
|
|
1
1
|
export { CustomPickerButtonResponsive as CustomPickerButton } from './Component.responsive.js';
|
|
2
|
-
import 'tslib';
|
|
3
|
-
import 'react';
|
|
4
|
-
import '@alfalab/core-components-mq/esm';
|
|
5
|
-
import './desktop/Component.desktop.js';
|
|
6
|
-
import '@alfalab/core-components-picker-button/esm/desktop';
|
|
7
|
-
import './field/Component.js';
|
|
8
|
-
import 'classnames';
|
|
9
|
-
import '@alfalab/core-components-custom-button/esm';
|
|
10
|
-
import '@alfalab/core-components-picker-button/esm/shared';
|
|
11
|
-
import './mobile/Component.mobile.js';
|
|
12
|
-
import '@alfalab/core-components-picker-button/esm/mobile';
|
|
@@ -2,9 +2,6 @@ import { __rest, __assign } from 'tslib';
|
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
3
|
import { PickerButtonMobile } from '@alfalab/core-components-picker-button/esm/mobile';
|
|
4
4
|
import { Field } from '../field/Component.js';
|
|
5
|
-
import 'classnames';
|
|
6
|
-
import '@alfalab/core-components-custom-button/esm';
|
|
7
|
-
import '@alfalab/core-components-picker-button/esm/shared';
|
|
8
5
|
|
|
9
6
|
var DEFAULT_BUTTON_COLOR = '#FF45C3';
|
|
10
7
|
var DEFAULT_CONTENT_COLOR = 'white';
|
package/esm/mobile/index.js
CHANGED
|
@@ -1,8 +1 @@
|
|
|
1
1
|
export { CustomPickerButtonMobile } from './Component.mobile.js';
|
|
2
|
-
import 'tslib';
|
|
3
|
-
import 'react';
|
|
4
|
-
import '@alfalab/core-components-picker-button/esm/mobile';
|
|
5
|
-
import '../field/Component.js';
|
|
6
|
-
import 'classnames';
|
|
7
|
-
import '@alfalab/core-components-custom-button/esm';
|
|
8
|
-
import '@alfalab/core-components-picker-button/esm/shared';
|
package/field/Component.js
CHANGED
|
@@ -13,7 +13,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
13
13
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
14
14
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
15
15
|
|
|
16
|
-
var styles = {"iconContainer":"custom-picker-
|
|
16
|
+
var styles = {"iconContainer":"custom-picker-button__iconContainer_197c7","addonsContainer":"custom-picker-button__addonsContainer_197c7","showControlIcon":"custom-picker-button__showControlIcon_197c7","open":"custom-picker-button__open_197c7"};
|
|
17
17
|
require('./index.css')
|
|
18
18
|
|
|
19
19
|
var Field = function (_a) {
|
package/field/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: wz08e */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
} :root {
|
|
17
17
|
} :root {
|
|
18
18
|
--arrow-transform: rotate(180deg);
|
|
19
|
-
} .custom-picker-
|
|
19
|
+
} .custom-picker-button__iconContainer_197c7 {
|
|
20
20
|
display: flex;
|
|
21
21
|
transition: transform 0.15s ease-in-out;
|
|
22
|
-
} .custom-picker-
|
|
22
|
+
} .custom-picker-button__addonsContainer_197c7 {
|
|
23
23
|
display: flex
|
|
24
|
-
} .custom-picker-
|
|
24
|
+
} .custom-picker-button__addonsContainer_197c7.custom-picker-button__showControlIcon_197c7 {
|
|
25
25
|
margin-right: var(--gap-2xs);
|
|
26
|
-
} .custom-picker-
|
|
26
|
+
} .custom-picker-button__open_197c7 {
|
|
27
27
|
transform: var(--arrow-transform);
|
|
28
28
|
}
|
package/field/index.js
CHANGED
|
@@ -3,11 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var field_Component = require('./Component.js');
|
|
6
|
-
require('tslib');
|
|
7
|
-
require('react');
|
|
8
|
-
require('classnames');
|
|
9
|
-
require('@alfalab/core-components-custom-button');
|
|
10
|
-
require('@alfalab/core-components-picker-button/shared');
|
|
11
6
|
|
|
12
7
|
|
|
13
8
|
|
package/index.js
CHANGED
|
@@ -3,17 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var Component_responsive = require('./Component.responsive.js');
|
|
6
|
-
require('tslib');
|
|
7
|
-
require('react');
|
|
8
|
-
require('@alfalab/core-components-mq');
|
|
9
|
-
require('./desktop/Component.desktop.js');
|
|
10
|
-
require('@alfalab/core-components-picker-button/desktop');
|
|
11
|
-
require('./field/Component.js');
|
|
12
|
-
require('classnames');
|
|
13
|
-
require('@alfalab/core-components-custom-button');
|
|
14
|
-
require('@alfalab/core-components-picker-button/shared');
|
|
15
|
-
require('./mobile/Component.mobile.js');
|
|
16
|
-
require('@alfalab/core-components-picker-button/mobile');
|
|
17
6
|
|
|
18
7
|
|
|
19
8
|
|
|
@@ -6,9 +6,6 @@ var tslib = require('tslib');
|
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var mobile = require('@alfalab/core-components-picker-button/mobile');
|
|
8
8
|
var field_Component = require('../field/Component.js');
|
|
9
|
-
require('classnames');
|
|
10
|
-
require('@alfalab/core-components-custom-button');
|
|
11
|
-
require('@alfalab/core-components-picker-button/shared');
|
|
12
9
|
|
|
13
10
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
14
11
|
|
package/mobile/index.js
CHANGED
|
@@ -3,13 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var mobile_Component_mobile = require('./Component.mobile.js');
|
|
6
|
-
require('tslib');
|
|
7
|
-
require('react');
|
|
8
|
-
require('@alfalab/core-components-picker-button/mobile');
|
|
9
|
-
require('../field/Component.js');
|
|
10
|
-
require('classnames');
|
|
11
|
-
require('@alfalab/core-components-custom-button');
|
|
12
|
-
require('@alfalab/core-components-picker-button/shared');
|
|
13
6
|
|
|
14
7
|
|
|
15
8
|
|
|
@@ -2,12 +2,6 @@ import React, { forwardRef } from 'react';
|
|
|
2
2
|
import { useMatchMedia } from '@alfalab/core-components-mq/modern';
|
|
3
3
|
import { CustomPickerButtonDesktop } from './desktop/Component.desktop.js';
|
|
4
4
|
import { CustomPickerButtonMobile } from './mobile/Component.mobile.js';
|
|
5
|
-
import '@alfalab/core-components-picker-button/modern/desktop';
|
|
6
|
-
import './field/Component.js';
|
|
7
|
-
import 'classnames';
|
|
8
|
-
import '@alfalab/core-components-custom-button/modern';
|
|
9
|
-
import '@alfalab/core-components-picker-button/modern/shared';
|
|
10
|
-
import '@alfalab/core-components-picker-button/modern/mobile';
|
|
11
5
|
|
|
12
6
|
const CustomPickerButtonResponsive = forwardRef(({ OptionsList, onScroll, footer, swipeable, bottomSheetProps, breakpoint = 1024, ...restProps }, ref) => {
|
|
13
7
|
const query = `(min-width: ${breakpoint}px)`;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
import { PickerButtonDesktop } from '@alfalab/core-components-picker-button/modern/desktop';
|
|
3
3
|
import { Field } from '../field/Component.js';
|
|
4
|
-
import 'classnames';
|
|
5
|
-
import '@alfalab/core-components-custom-button/modern';
|
|
6
|
-
import '@alfalab/core-components-picker-button/modern/shared';
|
|
7
4
|
|
|
8
5
|
const DEFAULT_BUTTON_COLOR = '#FF45C3';
|
|
9
6
|
const DEFAULT_CONTENT_COLOR = 'white';
|
package/modern/desktop/index.js
CHANGED
|
@@ -1,7 +1 @@
|
|
|
1
1
|
export { CustomPickerButtonDesktop } from './Component.desktop.js';
|
|
2
|
-
import 'react';
|
|
3
|
-
import '@alfalab/core-components-picker-button/modern/desktop';
|
|
4
|
-
import '../field/Component.js';
|
|
5
|
-
import 'classnames';
|
|
6
|
-
import '@alfalab/core-components-custom-button/modern';
|
|
7
|
-
import '@alfalab/core-components-picker-button/modern/shared';
|
|
@@ -3,7 +3,7 @@ import cn from 'classnames';
|
|
|
3
3
|
import { CustomButton } from '@alfalab/core-components-custom-button/modern';
|
|
4
4
|
import { getIcon } from '@alfalab/core-components-picker-button/modern/shared';
|
|
5
5
|
|
|
6
|
-
const styles = {"iconContainer":"custom-picker-
|
|
6
|
+
const styles = {"iconContainer":"custom-picker-button__iconContainer_197c7","addonsContainer":"custom-picker-button__addonsContainer_197c7","showControlIcon":"custom-picker-button__showControlIcon_197c7","open":"custom-picker-button__open_197c7"};
|
|
7
7
|
require('./index.css')
|
|
8
8
|
|
|
9
9
|
const Field = ({ buttonSize = 'm', buttonVariant = 'default', backgroundColor, contentColor, stateType, label, open, rightAddons, innerProps, className, showArrow = true, ...restProps }) => {
|
package/modern/field/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: wz08e */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
} :root {
|
|
17
17
|
} :root {
|
|
18
18
|
--arrow-transform: rotate(180deg);
|
|
19
|
-
} .custom-picker-
|
|
19
|
+
} .custom-picker-button__iconContainer_197c7 {
|
|
20
20
|
display: flex;
|
|
21
21
|
transition: transform 0.15s ease-in-out;
|
|
22
|
-
} .custom-picker-
|
|
22
|
+
} .custom-picker-button__addonsContainer_197c7 {
|
|
23
23
|
display: flex
|
|
24
|
-
} .custom-picker-
|
|
24
|
+
} .custom-picker-button__addonsContainer_197c7.custom-picker-button__showControlIcon_197c7 {
|
|
25
25
|
margin-right: var(--gap-2xs);
|
|
26
|
-
} .custom-picker-
|
|
26
|
+
} .custom-picker-button__open_197c7 {
|
|
27
27
|
transform: var(--arrow-transform);
|
|
28
28
|
}
|
package/modern/field/index.js
CHANGED
package/modern/index.js
CHANGED
|
@@ -1,11 +1 @@
|
|
|
1
1
|
export { CustomPickerButtonResponsive as CustomPickerButton } from './Component.responsive.js';
|
|
2
|
-
import 'react';
|
|
3
|
-
import '@alfalab/core-components-mq/modern';
|
|
4
|
-
import './desktop/Component.desktop.js';
|
|
5
|
-
import '@alfalab/core-components-picker-button/modern/desktop';
|
|
6
|
-
import './field/Component.js';
|
|
7
|
-
import 'classnames';
|
|
8
|
-
import '@alfalab/core-components-custom-button/modern';
|
|
9
|
-
import '@alfalab/core-components-picker-button/modern/shared';
|
|
10
|
-
import './mobile/Component.mobile.js';
|
|
11
|
-
import '@alfalab/core-components-picker-button/modern/mobile';
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
import { PickerButtonMobile } from '@alfalab/core-components-picker-button/modern/mobile';
|
|
3
3
|
import { Field } from '../field/Component.js';
|
|
4
|
-
import 'classnames';
|
|
5
|
-
import '@alfalab/core-components-custom-button/modern';
|
|
6
|
-
import '@alfalab/core-components-picker-button/modern/shared';
|
|
7
4
|
|
|
8
5
|
const DEFAULT_BUTTON_COLOR = '#FF45C3';
|
|
9
6
|
const DEFAULT_CONTENT_COLOR = 'white';
|
package/modern/mobile/index.js
CHANGED
|
@@ -1,7 +1 @@
|
|
|
1
1
|
export { CustomPickerButtonMobile } from './Component.mobile.js';
|
|
2
|
-
import 'react';
|
|
3
|
-
import '@alfalab/core-components-picker-button/modern/mobile';
|
|
4
|
-
import '../field/Component.js';
|
|
5
|
-
import 'classnames';
|
|
6
|
-
import '@alfalab/core-components-custom-button/modern';
|
|
7
|
-
import '@alfalab/core-components-picker-button/modern/shared';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-custom-picker-button",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.10",
|
|
4
4
|
"description": "Custom picker button component",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
"react-dom": "^16.9.0 || ^17.0.1 || ^18.0.0"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@alfalab/core-components-picker-button": "^11.5.
|
|
19
|
-
"@alfalab/core-components-custom-button": "^3.4.
|
|
18
|
+
"@alfalab/core-components-picker-button": "^11.5.3",
|
|
19
|
+
"@alfalab/core-components-custom-button": "^3.4.3",
|
|
20
20
|
"@alfalab/core-components-mq": "^4.2.0",
|
|
21
|
-
"@alfalab/core-components-select": "^17.
|
|
21
|
+
"@alfalab/core-components-select": "^17.2.0",
|
|
22
22
|
"classnames": "^2.3.1",
|
|
23
23
|
"tslib": "^2.4.0"
|
|
24
24
|
}
|