@hh.ru/magritte-ui-input 9.1.24 → 9.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -20,12 +20,13 @@ import '@hh.ru/magritte-common-mouse';
20
20
  import '@hh.ru/magritte-common-text-selection';
21
21
  import '@hh.ru/magritte-common-use-disabled';
22
22
  import '@hh.ru/magritte-common-use-multiple-refs';
23
+ import '@hh.ru/magritte-common-use-translation';
23
24
  import '@hh.ru/magritte-ui-form-helper';
24
25
  import '@hh.ru/magritte-ui-icon/icon';
25
26
  import './useFocus.js';
26
27
  import '@hh.ru/magritte-ui-typography';
27
28
  import '@hh.ru/magritte-common-number-formatter';
28
29
  import './useDateTimeMask.js';
29
- import './index.esm-DONf4nws.js';
30
+ import './index.esm-3seeEWVQ.js';
30
31
  import './useUncontrolledInput.js';
31
32
  //# sourceMappingURL=index.js.map
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,4 +1,4 @@
1
1
  import './index.css';
2
- export { M as MASKITO_DEFAULT_OPTIONS, m as maskitoDateOptionsGenerator, a as maskitoDateRangeOptionsGenerator, b as maskitoDateTimeOptionsGenerator, c as maskitoTimeOptionsGenerator, u as useMaskito } from './index.esm-DONf4nws.js';
2
+ export { M as MASKITO_DEFAULT_OPTIONS, m as maskitoDateOptionsGenerator, a as maskitoDateRangeOptionsGenerator, b as maskitoDateTimeOptionsGenerator, c as maskitoTimeOptionsGenerator, u as useMaskito } from './index.esm-3seeEWVQ.js';
3
3
  import 'react';
4
4
  //# sourceMappingURL=maskito-exports.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hh.ru/magritte-ui-input",
3
- "version": "9.1.24",
3
+ "version": "9.2.1",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "sideEffects": [
@@ -29,10 +29,11 @@
29
29
  "@hh.ru/magritte-common-text-selection": "0.1.7",
30
30
  "@hh.ru/magritte-common-use-disabled": "1.0.14",
31
31
  "@hh.ru/magritte-common-use-multiple-refs": "1.1.10",
32
+ "@hh.ru/magritte-common-use-translation": "2.0.0",
32
33
  "@hh.ru/magritte-design-tokens": "24.3.0",
33
- "@hh.ru/magritte-ui-breakpoint": "6.0.5",
34
- "@hh.ru/magritte-ui-form-helper": "2.0.23",
35
- "@hh.ru/magritte-ui-icon": "13.7.6",
34
+ "@hh.ru/magritte-ui-breakpoint": "6.0.6",
35
+ "@hh.ru/magritte-ui-form-helper": "2.0.24",
36
+ "@hh.ru/magritte-ui-icon": "13.7.8",
36
37
  "@hh.ru/magritte-ui-mock-component": "1.1.6",
37
38
  "@hh.ru/magritte-ui-typography": "4.4.4"
38
39
  },
@@ -44,5 +45,5 @@
44
45
  "publishConfig": {
45
46
  "access": "public"
46
47
  },
47
- "gitHead": "5005e6a188b63f8f01cfe86783fa056cef562ab4"
48
+ "gitHead": "e786b993672ad1023ac0424de3e909cda38ee241"
48
49
  }
package/types.d.ts CHANGED
@@ -69,6 +69,8 @@ type InputWithRightButtonProps = {
69
69
  clearableOnFocus?: never;
70
70
  /** Иконка кнопки */
71
71
  buttonIcon: IconWrapperComponentSize16 | IconWrapperComponentSize24;
72
+ /** aria-label кнопки */
73
+ buttonIconAriaLabel?: string;
72
74
  /** Обработчик события клика по кнопке */
73
75
  onButtonClick: OnButtonClickType;
74
76
  };
@@ -76,18 +78,21 @@ export interface InputWithoutRightButtonProps extends InputBaseProps {
76
78
  clearable?: false;
77
79
  clearableOnFocus?: false;
78
80
  buttonIcon?: never;
81
+ buttonIconAriaLabel?: never;
79
82
  onButtonClick?: never;
80
83
  }
81
84
  export interface InputClearableProps extends InputBaseProps {
82
85
  clearable: true;
83
86
  clearableOnFocus?: never;
84
87
  buttonIcon?: never;
88
+ buttonIconAriaLabel?: never;
85
89
  onButtonClick?: OnButtonClickType;
86
90
  }
87
91
  export interface InputClearableOnFocusProps extends InputBaseProps {
88
92
  clearable?: never;
89
93
  clearableOnFocus: true;
90
94
  buttonIcon?: never;
95
+ buttonIconAriaLabel?: never;
91
96
  onButtonClick?: OnButtonClickType;
92
97
  }
93
98
  type InputWithRightButtonClearProps = InputClearableProps | InputClearableOnFocusProps;
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
  import { useMemo } from 'react';
3
- import { M as MASKITO_DEFAULT_OPTIONS, b as maskitoDateTimeOptionsGenerator, a as maskitoDateRangeOptionsGenerator, m as maskitoDateOptionsGenerator, c as maskitoTimeOptionsGenerator, u as useMaskito } from './index.esm-DONf4nws.js';
3
+ import { M as MASKITO_DEFAULT_OPTIONS, b as maskitoDateTimeOptionsGenerator, a as maskitoDateRangeOptionsGenerator, m as maskitoDateOptionsGenerator, c as maskitoTimeOptionsGenerator, u as useMaskito } from './index.esm-3seeEWVQ.js';
4
4
 
5
5
  /**
6
6
  * Округление времени (в формате 00:00) до ближайшего заданного шага