@alfalab/core-components-picker-button 7.11.4 → 8.1.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.
Files changed (118) hide show
  1. package/{dist/esm/Component.d.ts → Component.d.ts} +3 -3
  2. package/{dist/Component.js → Component.js} +6 -6
  3. package/Component.mobile.d.ts +7 -0
  4. package/Component.mobile.js +35 -0
  5. package/Component.responsive.d.ts +26 -0
  6. package/Component.responsive.js +34 -0
  7. package/{dist → cssm}/Component.d.ts +3 -3
  8. package/{dist/cssm → cssm}/Component.js +5 -5
  9. package/cssm/Component.mobile.d.ts +7 -0
  10. package/cssm/Component.mobile.js +37 -0
  11. package/cssm/Component.responsive.d.ts +26 -0
  12. package/cssm/Component.responsive.js +37 -0
  13. package/{dist/cssm/field/index.d.ts → cssm/desktop.d.ts} +0 -0
  14. package/{dist/cssm/index.js → cssm/desktop.js} +3 -3
  15. package/{dist/cssm → cssm}/field/Component.d.ts +0 -0
  16. package/{dist/cssm → cssm}/field/Component.js +1 -1
  17. package/{dist/cssm → cssm/field}/index.d.ts +0 -0
  18. package/{dist/cssm → cssm}/field/index.js +1 -1
  19. package/{dist/cssm → cssm}/field/index.module.css +0 -0
  20. package/cssm/index.d.ts +2 -0
  21. package/cssm/index.js +27 -0
  22. package/cssm/index.module.css +30 -0
  23. package/cssm/mobile.d.ts +1 -0
  24. package/cssm/mobile.js +23 -0
  25. package/{dist/cssm → cssm}/option/Component.d.ts +0 -0
  26. package/{dist/cssm → cssm}/option/Component.js +1 -1
  27. package/{dist/cssm → cssm}/option/index.d.ts +0 -0
  28. package/{dist/cssm → cssm}/option/index.js +1 -1
  29. package/{dist/cssm → cssm}/option/index.module.css +0 -0
  30. package/{dist/cssm → cssm}/tslib.es6-ce870b46.d.ts +0 -0
  31. package/{dist/cssm → cssm}/tslib.es6-ce870b46.js +0 -0
  32. package/{dist → cssm}/typings-177c0b55.d.ts +2 -2
  33. package/{dist/cssm → cssm}/utils/index.d.ts +1 -1
  34. package/{dist/cssm → cssm}/utils/index.js +0 -0
  35. package/{dist/esm/field/index.d.ts → desktop.d.ts} +0 -0
  36. package/{dist/index.js → desktop.js} +3 -3
  37. package/{dist/modern → esm}/Component.d.ts +3 -3
  38. package/{dist/esm → esm}/Component.js +7 -7
  39. package/esm/Component.mobile.d.ts +7 -0
  40. package/esm/Component.mobile.js +27 -0
  41. package/esm/Component.responsive.d.ts +26 -0
  42. package/esm/Component.responsive.js +26 -0
  43. package/{dist/esm/index.d.ts → esm/desktop.d.ts} +0 -0
  44. package/{dist/esm/index.js → esm/desktop.js} +4 -4
  45. package/{dist/esm → esm}/field/Component.d.ts +0 -0
  46. package/{dist/esm → esm}/field/Component.js +3 -3
  47. package/{dist/modern → esm}/field/index.css +3 -3
  48. package/{dist/esm/option → esm/field}/index.d.ts +0 -0
  49. package/{dist/esm → esm}/field/index.js +2 -2
  50. package/esm/index.css +31 -0
  51. package/esm/index.d.ts +2 -0
  52. package/esm/index.js +16 -0
  53. package/esm/mobile.d.ts +1 -0
  54. package/esm/mobile.js +13 -0
  55. package/{dist/esm → esm}/option/Component.d.ts +0 -0
  56. package/{dist/esm → esm}/option/Component.js +3 -3
  57. package/{dist/modern → esm}/option/index.css +4 -4
  58. package/{dist/field → esm/option}/index.d.ts +0 -0
  59. package/esm/option/index.js +4 -0
  60. package/{dist/esm/tslib.es6-bb92272d.d.ts → esm/tslib.es6-957acb9b.d.ts} +0 -0
  61. package/{dist/esm/tslib.es6-bb92272d.js → esm/tslib.es6-957acb9b.js} +0 -0
  62. package/{dist/cssm → esm}/typings-177c0b55.d.ts +2 -2
  63. package/{dist/modern → esm}/utils/index.d.ts +1 -1
  64. package/{dist/esm → esm}/utils/index.js +0 -0
  65. package/{dist/field → field}/Component.d.ts +0 -0
  66. package/{dist/field → field}/Component.js +2 -2
  67. package/{dist/field → field}/index.css +3 -3
  68. package/{dist → field}/index.d.ts +0 -0
  69. package/{dist/field → field}/index.js +1 -1
  70. package/index.css +31 -0
  71. package/index.d.ts +2 -0
  72. package/index.js +24 -0
  73. package/mobile.d.ts +1 -0
  74. package/mobile.js +21 -0
  75. package/{dist/cssm → modern}/Component.d.ts +3 -3
  76. package/{dist/modern → modern}/Component.js +6 -6
  77. package/modern/Component.mobile.d.ts +7 -0
  78. package/modern/Component.mobile.js +29 -0
  79. package/modern/Component.responsive.d.ts +26 -0
  80. package/modern/Component.responsive.js +24 -0
  81. package/{dist/modern/field/index.d.ts → modern/desktop.d.ts} +0 -0
  82. package/{dist/modern/index.js → modern/desktop.js} +3 -3
  83. package/{dist/modern → modern}/field/Component.d.ts +0 -0
  84. package/{dist/modern → modern}/field/Component.js +2 -2
  85. package/{dist/esm → modern}/field/index.css +3 -3
  86. package/{dist/modern → modern/field}/index.d.ts +0 -0
  87. package/{dist/modern → modern}/field/index.js +1 -1
  88. package/modern/index.css +31 -0
  89. package/modern/index.d.ts +2 -0
  90. package/modern/index.js +15 -0
  91. package/modern/mobile.d.ts +1 -0
  92. package/modern/mobile.js +12 -0
  93. package/{dist/modern → modern}/option/Component.d.ts +0 -0
  94. package/{dist/modern → modern}/option/Component.js +2 -2
  95. package/{dist/esm → modern}/option/index.css +4 -4
  96. package/{dist/modern → modern}/option/index.d.ts +0 -0
  97. package/{dist/modern → modern}/option/index.js +1 -1
  98. package/{dist/esm → modern}/typings-177c0b55.d.ts +2 -2
  99. package/{dist → modern}/utils/index.d.ts +1 -1
  100. package/{dist/modern → modern}/utils/index.js +0 -0
  101. package/{dist/option → option}/Component.d.ts +0 -0
  102. package/{dist/option → option}/Component.js +2 -2
  103. package/{dist/option → option}/index.css +4 -4
  104. package/{dist/option → option}/index.d.ts +0 -0
  105. package/{dist/option → option}/index.js +1 -1
  106. package/package.json +9 -11
  107. package/{dist/send-stats.js → send-stats.js} +0 -0
  108. package/{dist/tslib.es6-3795a7a3.d.ts → tslib.es6-0e59ec11.d.ts} +0 -0
  109. package/{dist/tslib.es6-3795a7a3.js → tslib.es6-0e59ec11.js} +0 -0
  110. package/{dist/modern/typings-177c0b55.d.ts → typings-177c0b55.d.ts} +2 -2
  111. package/{dist/esm/utils → utils}/index.d.ts +1 -1
  112. package/{dist/utils → utils}/index.js +0 -0
  113. package/CHANGELOG.md +0 -984
  114. package/dist/cssm/index.module.css +0 -30
  115. package/dist/esm/index.css +0 -31
  116. package/dist/esm/option/index.js +0 -4
  117. package/dist/index.css +0 -31
  118. package/dist/modern/index.css +0 -31
@@ -1,7 +1,7 @@
1
1
  import React, { forwardRef } from 'react';
2
+ import { OptionsList, Optgroup, BaseSelect } from '@alfalab/core-components-select/modern';
2
3
  import cn from 'classnames';
3
- import { OptionsList, Optgroup, BaseSelect } from '@alfalab/core-components-select/dist/modern';
4
- import '@alfalab/core-components-button/dist/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,11 +10,11 @@ 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-button__container_1p16k","optionsPopover":"picker-button__optionsPopover_1p16k","sideGap":"picker-button__sideGap_1p16k","optionsListContainer":"picker-button__optionsListContainer_1p16k","option":"picker-button__option_1p16k"};
13
+ var styles = {"container":"picker-button__container_tajsv","optionsPopover":"picker-button__optionsPopover_tajsv","sideGap":"picker-button__sideGap_tajsv","optionsListContainer":"picker-button__optionsListContainer_tajsv","option":"picker-button__option_tajsv"};
14
14
  require('./index.css')
15
15
 
16
16
  const SIDE_POSITIONS = ['right', 'right-start', 'right-end', 'left', 'left-start', 'left-end'];
17
- const PickerButton = forwardRef(({ OptionsList: OptionsList$1 = OptionsList, Optgroup: Optgroup$1 = Optgroup, Option: Option$1 = Option, view, loading, size = 'm', variant = 'default', className, leftAddons, rightAddons, popperClassName, optionsListClassName, optionClassName, ...restProps }, ref) => {
17
+ const PickerButtonDesktop = forwardRef(({ OptionsList: OptionsList$1 = OptionsList, Optgroup: Optgroup$1 = Optgroup, Option: Option$1 = Option, view, loading, size = 'm', variant = 'default', className, leftAddons, rightAddons, popperClassName, optionsListClassName, optionClassName, ...restProps }, ref) => {
18
18
  const isSideGap = !!restProps.popoverPosition && SIDE_POSITIONS.includes(restProps.popoverPosition);
19
19
  return (React.createElement(BaseSelect, Object.assign({}, restProps, { optionProps: { Checkmark: null }, ref: ref, Option: Option$1, Field: Field, size: size === 'm' ? 'm' : 's', fieldProps: {
20
20
  view,
@@ -24,9 +24,9 @@ const PickerButton = forwardRef(({ OptionsList: OptionsList$1 = OptionsList, Opt
24
24
  buttonVariant: variant,
25
25
  leftAddons,
26
26
  rightAddons,
27
- }, Optgroup: Optgroup$1, OptionsList: OptionsList$1, className: cn(styles.container, className), popperClassName: cn(styles.optionsPopover, popperClassName, {
27
+ }, Optgroup: Optgroup$1, OptionsList: OptionsList$1, className: cn(styles.container, className), popperClassName: cn('cc-picker-button', styles.optionsPopover, popperClassName, {
28
28
  [styles.sideGap]: isSideGap,
29
29
  }), optionsListClassName: cn(styles.optionsListContainer, optionsListClassName), optionClassName: cn(styles.option, optionClassName), selected: [], closeOnSelect: true })));
30
30
  });
31
31
 
32
- export { PickerButton };
32
+ export { PickerButtonDesktop };
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ import { AdditionalMobileProps } from "@alfalab/core-components-select";
4
+ import { PickerButtonProps } from "./Component";
5
+ type PickerButtonMobileProps = Omit<PickerButtonProps, 'OptionsList' | 'Checkmark' | 'onScroll'> & AdditionalMobileProps;
6
+ declare const PickerButtonMobile: React.ForwardRefExoticComponent<Pick<PickerButtonProps, "block" | "size" | "className" | "fieldClassName" | "disabled" | "error" | "label" | "leftAddons" | "rightAddons" | "dataTestId" | "id" | "onBlur" | "onChange" | "view" | "preventFlip" | "popperClassName" | "open" | "name" | "options" | "loading" | "valueRenderer" | "Optgroup" | "optionsListWidth" | "visibleOptions" | "optionGroupClassName" | "Option" | "optionsListClassName" | "optionClassName" | "circularNavigation" | "nativeSelect" | "defaultOpen" | "popoverPosition" | "optionsSize" | "optionsListProps" | "optionProps" | "onOpen" | "updatePopover" | "zIndexPopover" | "showEmptyOptionsList" | "variant"> & AdditionalMobileProps & React.RefAttributes<HTMLInputElement>>;
7
+ export { PickerButtonMobileProps, PickerButtonMobile };
@@ -0,0 +1,29 @@
1
+ import React, { forwardRef } from 'react';
2
+ import { Optgroup, SelectMobile } from '@alfalab/core-components-select/modern';
3
+ import 'classnames';
4
+ import '@alfalab/core-components-button/modern';
5
+ import '@alfalab/icons-glyph/ChevronDownMIcon';
6
+ import '@alfalab/icons-glyph/ChevronDownCompactSIcon';
7
+ import '@alfalab/icons-glyph/MoreMIcon';
8
+ import '@alfalab/icons-glyph/MoreSIcon';
9
+ import './utils/index.js';
10
+ import { Field } from './field/Component.js';
11
+ import { Option } from './option/Component.js';
12
+
13
+ const PickerButtonMobile = forwardRef(({ options, label, Option: Option$1 = Option, Optgroup: Optgroup$1 = Optgroup, view, loading, variant = 'default', leftAddons, rightAddons, size, bottomSheetProps, ...restProps }, ref) => {
14
+ return (React.createElement(SelectMobile, Object.assign({}, restProps, { label: label, Option: Option$1, bottomSheetProps: {
15
+ title: label,
16
+ stickyHeader: true,
17
+ ...bottomSheetProps,
18
+ }, Field: Field, Optgroup: Optgroup$1, size: size === 'm' ? 'm' : 's', closeOnSelect: true, fieldProps: {
19
+ view,
20
+ loading,
21
+ /** size у select, button несовместимы */
22
+ buttonSize: size,
23
+ buttonVariant: variant,
24
+ leftAddons,
25
+ rightAddons,
26
+ }, ref: ref, options: options, selected: [] })));
27
+ });
28
+
29
+ export { PickerButtonMobile };
@@ -0,0 +1,26 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ import { AdditionalMobileProps } from "@alfalab/core-components-select";
4
+ import { PickerButtonProps as PickerButtonDesktopProps } from "./Component";
5
+ type PickerButtonMatchMedia = 'desktop' | 'mobile';
6
+ type PickerButtonProps = PickerButtonDesktopProps & AdditionalMobileProps & {
7
+ /**
8
+ * Контрольная точка, с нее начинается desktop версия
9
+ * @default 1024
10
+ */
11
+ breakpoint?: number;
12
+ };
13
+ declare const PickerButton: React.ForwardRefExoticComponent<Pick<import("@alfalab/core-components-select").BaseSelectProps, "block" | "className" | "fieldClassName" | "disabled" | "error" | "label" | "dataTestId" | "id" | "onBlur" | "onChange" | "onScroll" | "preventFlip" | "popperClassName" | "open" | "name" | "valueRenderer" | "Optgroup" | "optionsListWidth" | "visibleOptions" | "optionGroupClassName" | "Option" | "optionsListClassName" | "optionClassName" | "circularNavigation" | "nativeSelect" | "defaultOpen" | "popoverPosition" | "optionsSize" | "optionsListProps" | "optionProps" | "onOpen" | "OptionsList" | "updatePopover" | "zIndexPopover" | "showEmptyOptionsList"> & Pick<Partial<import("packages/button/src").ComponentProps & React.AnchorHTMLAttributes<HTMLAnchorElement>> | Partial<import("packages/button/src").ComponentProps & React.ButtonHTMLAttributes<HTMLButtonElement>>, "leftAddons" | "rightAddons" | "view" | "loading"> & {
14
+ options: (import("@alfalab/core-components-select").OptionShape & {
15
+ icon?: React.FC<React.SVGProps<SVGSVGElement>> | undefined;
16
+ })[];
17
+ size?: "s" | "m" | "l" | "xl" | "xxs" | "xs" | undefined;
18
+ variant?: "default" | "compact" | undefined;
19
+ } & AdditionalMobileProps & {
20
+ /**
21
+ * Контрольная точка, с нее начинается desktop версия
22
+ * @default 1024
23
+ */
24
+ breakpoint?: number | undefined;
25
+ } & React.RefAttributes<HTMLInputElement>>;
26
+ export { PickerButtonMatchMedia, PickerButtonProps, PickerButton };
@@ -0,0 +1,24 @@
1
+ import React, { forwardRef } from 'react';
2
+ import '@alfalab/core-components-select/modern';
3
+ import 'classnames';
4
+ import '@alfalab/core-components-button/modern';
5
+ import '@alfalab/icons-glyph/ChevronDownMIcon';
6
+ import '@alfalab/icons-glyph/ChevronDownCompactSIcon';
7
+ import '@alfalab/icons-glyph/MoreMIcon';
8
+ import '@alfalab/icons-glyph/MoreSIcon';
9
+ import './utils/index.js';
10
+ import './field/Component.js';
11
+ import './option/Component.js';
12
+ import { PickerButtonMobile } from './Component.mobile.js';
13
+ import { useMedia } from '@alfalab/hooks';
14
+ import { PickerButtonDesktop } from './Component.js';
15
+
16
+ const PickerButton = forwardRef(({ OptionsList, onScroll, footer, swipeable, bottomSheetProps, breakpoint = 1024, ...restProps }, ref) => {
17
+ const [view] = useMedia([
18
+ ['mobile', `(max-width: ${breakpoint - 1}px)`],
19
+ ['desktop', `(min-width: ${breakpoint}px)`],
20
+ ], 'desktop');
21
+ return view === 'desktop' ? (React.createElement(PickerButtonDesktop, Object.assign({ ref: ref, OptionsList: OptionsList, onScroll: onScroll }, restProps))) : (React.createElement(PickerButtonMobile, Object.assign({ ref: ref, footer: footer, swipeable: swipeable, bottomSheetProps: bottomSheetProps }, restProps)));
22
+ });
23
+
24
+ export { PickerButton };
@@ -1,7 +1,7 @@
1
1
  import 'react';
2
+ import '@alfalab/core-components-select/modern';
2
3
  import 'classnames';
3
- import '@alfalab/core-components-select/dist/modern';
4
- import '@alfalab/core-components-button/dist/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';
@@ -9,4 +9,4 @@ import '@alfalab/icons-glyph/MoreSIcon';
9
9
  import './utils/index.js';
10
10
  import './field/Component.js';
11
11
  import './option/Component.js';
12
- export { PickerButton } from './Component.js';
12
+ export { PickerButtonDesktop } from './Component.js';
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/dist/modern';
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-button__iconContainer_1phwl","open":"picker-button__open_1phwl"};
10
+ var styles = {"iconContainer":"picker-button__iconContainer_14az3","open":"picker-button__open_14az3"};
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: 1hokc */
1
+ /* hash: qwilr */
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_1phwl {
13
+ .picker-button__iconContainer_14az3 {
14
14
  display: flex;
15
15
  transition: transform 0.15s ease-in-out;
16
16
  }
17
- .picker-button__open_1phwl {
17
+ .picker-button__open_14az3 {
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/dist/modern';
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';
@@ -0,0 +1,31 @@
1
+ /* hash: 1p7td */
2
+ :root {
3
+
4
+ /* Hard */
5
+
6
+ /* Up */
7
+
8
+ /* Hard up */
9
+ }
10
+ :root {
11
+ --gap-xs: 8px;
12
+ --gap-m: 16px;
13
+ }
14
+ :root {
15
+ --border-radius-s: 4px;
16
+ }
17
+ .picker-button__container_tajsv {
18
+ min-width: auto;
19
+ }
20
+ .cc-picker-button.picker-button__optionsPopover_tajsv {
21
+ padding: var(--gap-xs) 0
22
+ }
23
+ .cc-picker-button.picker-button__optionsPopover_tajsv.picker-button__sideGap_tajsv {
24
+ padding: 0 var(--gap-xs);
25
+ }
26
+ .cc-picker-button .picker-button__optionsListContainer_tajsv {
27
+ border-radius: var(--border-radius-s);
28
+ }
29
+ .cc-picker-button .picker-button__option_tajsv {
30
+ padding: 0 var(--gap-m);
31
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./Component.responsive";
2
+ export { PickerButtonProps, PickerButtonSize, PickerButtonVariant } from "./Component";
@@ -0,0 +1,15 @@
1
+ import 'react';
2
+ import '@alfalab/core-components-select/modern';
3
+ import 'classnames';
4
+ import '@alfalab/core-components-button/modern';
5
+ import '@alfalab/icons-glyph/ChevronDownMIcon';
6
+ import '@alfalab/icons-glyph/ChevronDownCompactSIcon';
7
+ import '@alfalab/icons-glyph/MoreMIcon';
8
+ import '@alfalab/icons-glyph/MoreSIcon';
9
+ import './utils/index.js';
10
+ import './field/Component.js';
11
+ import './option/Component.js';
12
+ import './Component.mobile.js';
13
+ import '@alfalab/hooks';
14
+ import './Component.js';
15
+ export { PickerButton } from './Component.responsive.js';
@@ -0,0 +1 @@
1
+ export * from "./Component.mobile";
@@ -0,0 +1,12 @@
1
+ import 'react';
2
+ import '@alfalab/core-components-select/modern';
3
+ import 'classnames';
4
+ import '@alfalab/core-components-button/modern';
5
+ import '@alfalab/icons-glyph/ChevronDownMIcon';
6
+ import '@alfalab/icons-glyph/ChevronDownCompactSIcon';
7
+ import '@alfalab/icons-glyph/MoreMIcon';
8
+ import '@alfalab/icons-glyph/MoreSIcon';
9
+ import './utils/index.js';
10
+ import './field/Component.js';
11
+ import './option/Component.js';
12
+ export { PickerButtonMobile } from './Component.mobile.js';
File without changes
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { Option as Option$1 } from '@alfalab/core-components-select/dist/modern';
2
+ import { Option as Option$1 } from '@alfalab/core-components-select/modern';
3
3
 
4
- var styles = {"container":"picker-button__container_mxgs7","icon":"picker-button__icon_mxgs7","content":"picker-button__content_mxgs7"};
4
+ var styles = {"container":"picker-button__container_7gb49","icon":"picker-button__icon_7gb49","content":"picker-button__content_7gb49"};
5
5
  require('./index.css')
6
6
 
7
7
  const Option = ({ option, children, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1i6jn */
1
+ /* hash: s563t */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -10,15 +10,15 @@
10
10
  :root {
11
11
  --gap-s: 12px;
12
12
  }
13
- .picker-button__container_mxgs7 {
13
+ .picker-button__container_7gb49 {
14
14
  display: flex;
15
15
  align-items: center;
16
16
  }
17
- .picker-button__icon_mxgs7 {
17
+ .picker-button__icon_7gb49 {
18
18
  display: flex;
19
19
  margin-right: var(--gap-s);
20
20
  }
21
- .picker-button__content_mxgs7 {
21
+ .picker-button__content_7gb49 {
22
22
  overflow: hidden;
23
23
  flex: 1;
24
24
  text-overflow: ellipsis;
File without changes
@@ -1,3 +1,3 @@
1
1
  import 'react';
2
- import '@alfalab/core-components-select/dist/modern';
2
+ import '@alfalab/core-components-select/modern';
3
3
  export { Option } from './Component.js';
@@ -98,7 +98,7 @@ type PopoverProps = {
98
98
  children?: ReactNode;
99
99
  };
100
100
  declare const Popover: React.ForwardRefExoticComponent<PopoverProps & React.RefAttributes<HTMLDivElement>>;
101
- type InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "type" | "value" | "defaultValue" | "onChange" | "onClick" | "onMouseDown"> & {
101
+ type InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "type" | "value" | "defaultValue" | "onChange" | "onClick" | "onMouseDown" | "enterKeyHint"> & {
102
102
  /**
103
103
  * Значение поля ввода
104
104
  */
@@ -214,7 +214,7 @@ type InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "type" |
214
214
  */
215
215
  dataTestId?: string;
216
216
  };
217
- declare const Input: React.ForwardRefExoticComponent<Pick<React.InputHTMLAttributes<HTMLInputElement>, "className" | "form" | "slot" | "style" | "title" | "pattern" | "children" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "list" | "step" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "height" | "width" | "multiple" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "crossOrigin" | "enterKeyHint" | "max" | "maxLength" | "min" | "minLength" | "readOnly" | "required" | "src"> & {
217
+ declare const Input: React.ForwardRefExoticComponent<Pick<React.InputHTMLAttributes<HTMLInputElement>, "className" | "disabled" | "children" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "form" | "pattern" | "list" | "step" | "height" | "name" | "width" | "multiple" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "crossOrigin" | "max" | "maxLength" | "min" | "minLength" | "readOnly" | "required" | "src"> & {
218
218
  value?: string | undefined;
219
219
  defaultValue?: string | undefined;
220
220
  block?: boolean | undefined;
@@ -1,4 +1,4 @@
1
1
  import { FC, SVGProps } from 'react';
2
2
  import { PickerButtonVariant } from "../index";
3
- declare const getIcon: (variant: PickerButtonVariant, size: "s" | "xxs" | "xs" | "m" | "l" | "xl") => FC<SVGProps<SVGSVGElement>>;
3
+ declare const getIcon: (variant: PickerButtonVariant, size: "s" | "m" | "l" | "xl" | "xxs" | "xs") => FC<SVGProps<SVGSVGElement>>;
4
4
  export { getIcon };
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-3795a7a3.js');
5
+ var tslib_es6 = require('../tslib.es6-0e59ec11.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-button__container_mxgs7","icon":"picker-button__icon_mxgs7","content":"picker-button__content_mxgs7"};
13
+ var styles = {"container":"picker-button__container_7gb49","icon":"picker-button__icon_7gb49","content":"picker-button__content_7gb49"};
14
14
  require('./index.css')
15
15
 
16
16
  var Option = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1i6jn */
1
+ /* hash: s563t */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -10,15 +10,15 @@
10
10
  :root {
11
11
  --gap-s: 12px;
12
12
  }
13
- .picker-button__container_mxgs7 {
13
+ .picker-button__container_7gb49 {
14
14
  display: flex;
15
15
  align-items: center;
16
16
  }
17
- .picker-button__icon_mxgs7 {
17
+ .picker-button__icon_7gb49 {
18
18
  display: flex;
19
19
  margin-right: var(--gap-s);
20
20
  }
21
- .picker-button__content_mxgs7 {
21
+ .picker-button__content_7gb49 {
22
22
  overflow: hidden;
23
23
  flex: 1;
24
24
  text-overflow: ellipsis;
File without changes
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('../tslib.es6-3795a7a3.js');
5
+ require('../tslib.es6-0e59ec11.js');
6
6
  require('react');
7
7
  require('@alfalab/core-components-select');
8
8
  var option_Component = require('./Component.js');
package/package.json CHANGED
@@ -1,29 +1,27 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-picker-button",
3
- "version": "7.11.4",
3
+ "version": "8.1.0",
4
4
  "description": "Picker button component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
7
- "main": "dist/index.js",
8
- "files": [
9
- "dist"
10
- ],
7
+ "main": "index.js",
8
+ "module": "./esm/index.js",
11
9
  "scripts": {
12
- "postinstall": "node -e \"if (require('fs').existsSync('./dist/send-stats.js')){require('./dist/send-stats.js')} \""
10
+ "postinstall": "node -e \"if (require('fs').existsSync('./send-stats.js')){require('./send-stats.js')} \""
13
11
  },
14
12
  "publishConfig": {
15
- "access": "public"
13
+ "access": "public",
14
+ "directory": "dist"
16
15
  },
17
16
  "peerDependencies": {
18
17
  "react": "^16.9.0 || ^17.0.1 || ^18.0.0",
19
18
  "react-dom": "^16.9.0 || ^17.0.1 || ^18.0.0"
20
19
  },
21
20
  "dependencies": {
22
- "@alfalab/core-components-button": "^5.3.2",
23
- "@alfalab/core-components-select": "^11.1.4",
21
+ "@alfalab/core-components-button": "^6.0.1",
22
+ "@alfalab/core-components-select": "^12.1.0",
24
23
  "@alfalab/icons-classic": "^1.76.0",
25
24
  "@alfalab/icons-glyph": "^2.16.0",
26
25
  "classnames": "^2.3.1"
27
- },
28
- "gitHead": "4d6c8965d07839e339b370bb7c92bd7f9e24b1f3"
26
+ }
29
27
  }
File without changes
@@ -98,7 +98,7 @@ type PopoverProps = {
98
98
  children?: ReactNode;
99
99
  };
100
100
  declare const Popover: React.ForwardRefExoticComponent<PopoverProps & React.RefAttributes<HTMLDivElement>>;
101
- type InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "type" | "value" | "defaultValue" | "onChange" | "onClick" | "onMouseDown"> & {
101
+ type InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "type" | "value" | "defaultValue" | "onChange" | "onClick" | "onMouseDown" | "enterKeyHint"> & {
102
102
  /**
103
103
  * Значение поля ввода
104
104
  */
@@ -214,7 +214,7 @@ type InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "type" |
214
214
  */
215
215
  dataTestId?: string;
216
216
  };
217
- declare const Input: React.ForwardRefExoticComponent<Pick<React.InputHTMLAttributes<HTMLInputElement>, "className" | "form" | "slot" | "style" | "title" | "pattern" | "children" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "list" | "step" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "height" | "width" | "multiple" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "crossOrigin" | "enterKeyHint" | "max" | "maxLength" | "min" | "minLength" | "readOnly" | "required" | "src"> & {
217
+ declare const Input: React.ForwardRefExoticComponent<Pick<React.InputHTMLAttributes<HTMLInputElement>, "className" | "disabled" | "children" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "form" | "pattern" | "list" | "step" | "height" | "name" | "width" | "multiple" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "crossOrigin" | "max" | "maxLength" | "min" | "minLength" | "readOnly" | "required" | "src"> & {
218
218
  value?: string | undefined;
219
219
  defaultValue?: string | undefined;
220
220
  block?: boolean | undefined;
@@ -1,4 +1,4 @@
1
1
  import { FC, SVGProps } from 'react';
2
2
  import { PickerButtonVariant } from "../index";
3
- declare const getIcon: (variant: PickerButtonVariant, size: "s" | "xxs" | "xs" | "m" | "l" | "xl") => FC<SVGProps<SVGSVGElement>>;
3
+ declare const getIcon: (variant: PickerButtonVariant, size: "s" | "m" | "l" | "xl" | "xxs" | "xs") => FC<SVGProps<SVGSVGElement>>;
4
4
  export { getIcon };
File without changes